@font-face {
  font-family: "Barlow Condensed"; src: url("fonts/display.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed"; src: url("fonts/display-italic.woff2") format("woff2");
  font-weight: 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "DM Sans"; src: url("fonts/body.woff2") format("woff2");
  font-weight: 400 750; font-style: normal; font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #181c19; --muted: #515852; --line: #d6d9d1; --paper: #fafbf7;
  --mist: #f0f2eb; --accent: #f4d75b; --accent-dark: #1d5c44;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --gutter: clamp(1.2rem, 5.6vw, 6rem);
  --nav-height: 4.75rem; --button-height: 3rem;
  font: 100%/1.55 var(--body);
  background: var(--paper); color: var(--ink);
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after {box-sizing: border-box}
html {scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 1rem)}
body {margin: 0}
h1, h2, h3, p, figure, ol {margin: 0}
button, input, select, textarea {font: inherit; color: inherit}
button, summary {cursor: pointer}
a {color: inherit; text-decoration: none}
button {touch-action: manipulation}
img {max-width: 100%; display: block}
[hidden] {display: none !important}
:focus-visible {outline: 3px solid var(--green); outline-offset: 4px}
.hero:focus-visible, .footer :focus-visible, .gallery-section :focus-visible {outline-color: var(--accent)}
.symbols {position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none}
.icon {width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto}
.wrap {width: min(calc(100% - 2 * var(--gutter)), 86rem); margin-inline: auto}
.section {padding-block: clamp(3.8rem, 6.3vw, 6.25rem)}
.skip {position: fixed; z-index: 40; top: .5rem; left: .5rem; padding: .7rem 1rem; background: white; transform: translateY(-160%)}
.skip:focus {transform: none}
.masthead {height: var(--nav-height); position: sticky; z-index: 20; top: 0; background: rgb(251 252 248 / 94%); border-bottom: 1px solid rgb(46 56 41 / 12%); backdrop-filter: blur(16px) saturate(125%); -webkit-backdrop-filter: blur(16px) saturate(125%)}
.masthead-inner, .header-actions, .main-nav, .brand, .languages, .hero-actions, .kicker, .locator, .insta-link {display: flex; align-items: center}
.masthead-inner {height: 100%; justify-content: space-between; gap: 2rem}
.brand {gap: .68rem; min-height: 2.8rem; flex-shrink: 0}
.brand img {width: 2.75rem; height: 2.75rem}
.wordmark {display: grid; align-content: center; text-align: left}
.wordmark b {font: 700 1.85rem/.84 var(--display); letter-spacing: -.02em}
.wordmark > span {font-size: .65rem; letter-spacing: .19em; line-height: 1; margin-top: .34rem; font-weight: 750}
.main-nav {gap: clamp(1.2rem, 3vw, 2.8rem)}
.main-nav a, .footer-links a {display: inline-flex; align-items: center; min-height: var(--button-height); font-size: .92rem; font-weight: 650}
.main-nav a:hover, .footer-links a:hover {text-decoration: underline; text-underline-offset: .35em}
.header-actions {gap: 1rem}
.languages {border: 1px solid var(--line); border-radius: 4rem; background: linear-gradient(145deg,var(--surface),var(--surface)); box-shadow: inset 0 1px 0 #fff; padding-inline: .12rem}
.languages button {padding: 0; min-width: 2.8rem; height: calc(var(--button-height) - 2px); border: 0; border-radius: 3rem; background: transparent; color: #60655f; font-size: .85rem; font-weight: 550}
.languages button[aria-pressed=true] {color: var(--ink); font-weight: 750; text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: .35em}
.languages span {width: 1px; height: .85rem; background: var(--surface)}
.button {height: var(--button-height); padding: 0 1.35rem; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; border: 1px solid transparent; border-radius: 3rem; font-size: .93rem; font-weight: 700; line-height: 1.15; text-align: center; transition: background-color .16s, border-color .16s, box-shadow .16s, transform .16s}
.button:active {transform: translateY(1px)}
.black-button {color: #fff; background: linear-gradient(160deg, #353c34, #181d18 64%, #232923); box-shadow: inset 0 1px 0 #ffffff21; border-color: #222821}
.black-button:hover {background: #333b32; box-shadow: inset 0 1px 0 #ffffff28, 0 2px 10px #19211816}
.header-apply {min-width: 5.35rem}
.hero {isolation: isolate; position: relative; overflow: hidden; color: #fff; background: #101512}
.hero-image, .hero::after {position: absolute; inset: 0; z-index: -1}
.hero-image {left: 23.5%}
.hero-image img {width: 100%; height: 100%; object-fit: cover; object-position: 56% 6%; filter: saturate(.88) contrast(1.03)}
.hero::after {content: ""; background: linear-gradient(90deg,#111612 0%,#111612 20%,rgba(17,22,18,.91) 30%,rgba(17,22,18,.64) 42%,rgba(17,22,18,.15) 57%,rgba(17,22,18,.03) 77%),linear-gradient(0deg,rgba(13,20,15,.46),transparent 25%)}
.hero-inner {min-height: clamp(35rem, 43vw, 41rem); padding-block: clamp(2.7rem,4vw,4.2rem) 3rem; display: flex; align-items: center; position: relative}
.hero-copy {width: min(100%, 33rem)}
.locator, .kicker, .hero-credit, .step-count {font-size: .76rem; font-weight: 750; text-transform: uppercase; letter-spacing: .115em}
.locator {gap: .48rem; color: #f1f3ea; margin-bottom: 1.25rem}
.locator .icon {width: 1rem; height: 1rem; color: var(--accent); stroke-width: 1.9}
h1, h2, .panel-copy h3, #confirmation h3 {font-family: var(--display); font-weight: 700; letter-spacing: -.028em}
h1 {font-size: clamp(5rem, 7.05vw, 7.4rem); text-transform: uppercase; line-height: .86}
h1 span, h1 em {display: block}
h1 em {font-weight: 700; color: var(--accent); padding-right: .1em}
.hero-copy > p {max-width: 28.8rem; margin-top: 1.4rem; font-size: 1.02rem; line-height: 1.56; color: #f0f2ec; text-wrap: pretty}
.hero-actions {gap: .68rem; margin-top: 1.45rem; flex-wrap: wrap}
.accent-button {color: var(--ink); border-color: var(--line); background: linear-gradient(155deg,var(--surface),var(--accent) 65%,var(--surface)); box-shadow: inset 0 1px 1px #ffffff9c}
.accent-button:hover {background: var(--surface); box-shadow: 0 0 0 3px #f0ce591f, inset 0 1px 1px #fff9}
.film-button {color: white; border-color: #ffffff69; background: linear-gradient(160deg,#ffffff16,#ffffff08); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px)}
.film-button:hover {background-color: #ffffff20; border-color: #ffffffa1}
.film-button .icon {width: 1.1rem; height: 1.1rem}
.hero-credit {position: absolute; right: 0; bottom: 1rem; display: flex; align-items: center; gap: .44rem; min-height: 2.75rem; color: #fafbf8; font-size: .73rem; letter-spacing: .05em; text-transform: none; text-shadow: 0 1px 3px #000}
.hero-credit .icon {width: 1rem}
.section-head {display: flex; align-items: flex-end; justify-content: space-between; column-gap: 2.5rem; row-gap: 1.2rem; margin-bottom: 1.75rem}
.kicker {gap: .64rem; color: var(--muted); margin-bottom: .5rem}
.kicker i {height: 3px; width: 1.55rem; background: var(--green); transform: skewX(-18deg)}
h2 {font-size: clamp(3.2rem, 5vw, 5.1rem); line-height: .98; text-transform: uppercase}
.tabs {display: flex; flex: 0 0 auto; padding: .29rem; gap: .2rem; border: 1px solid var(--line); background: var(--surface); border-radius: 4rem}
.tabs button {display: flex; justify-content: center; align-items: center; gap: .48rem; min-height: 2.8rem; padding: .45rem 1.1rem; border: 1px solid transparent; border-radius: 3rem; font-size: .91rem; font-weight: 650; white-space: nowrap; background: transparent}
.tabs button:hover {background: var(--surface)}
.tabs button[aria-selected=true] {color: #fff; background: linear-gradient(150deg,#343c33,#1b201b); border-color: #242b23; box-shadow: inset 0 1px 0 #ffffff30}
.tabs button[aria-selected=true] .icon {color: var(--accent)}
.tabs .icon {width: 1.05rem; height: 1.05rem}
.life-panel {display: grid; grid-template-columns: 1.05fr 1fr; background: var(--mist); border: 1px solid var(--line); border-radius: .55rem; overflow: hidden}
.life-panel figure {overflow: hidden; min-height: 21rem; position: relative}
.life-panel figure img {position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.75)}
#panel-education figure img {object-position: 50% 42%}
#panel-daily figure img {object-position: 50% 39%}
.panel-copy {display: flex; flex-direction: column; justify-content: center; padding: clamp(1.65rem,3.8vw,4.25rem)}
.panel-copy h3, #confirmation h3 {font-size: clamp(2.2rem, 3vw, 3.1rem); line-height: 1.02; margin-bottom: .8rem}
.panel-copy > p, .section-intro > p, #confirmation > p {color: var(--muted); line-height: 1.65; text-wrap: pretty}
.parent-prompt {display: flex; align-items: flex-start; gap: .75rem; padding-top: 1.15rem; margin-top: 1.35rem; border-top: 1px solid var(--line)}
.parent-prompt .icon {margin-top: .12rem; color: var(--green)}
.parent-prompt b {font-size: .88rem}
.parent-prompt p {margin-top: .23rem; font-size: 1rem; line-height: 1.45}
.gallery-section {background: #1a1e1a; color: #f7f9f1}
.kicker.light {color: #d2d9cb}
.kicker.light i {background: var(--accent)}
.insta-link {gap: .56rem; font-weight: 600; min-height: 2.8rem; text-decoration: underline; text-underline-offset: .3rem; text-decoration-color: #7e877c}
.insta-link:hover {text-decoration-color: var(--accent)}
.photo-grid {display: grid; grid-template-columns: 1.16fr 1fr; gap: clamp(1rem,2.4vw,2.5rem)}
.album-grid {display: grid; grid-template-columns: repeat(auto-fill,minmax(min(9rem,42%),1fr)); gap: .8rem; padding: .5rem 0 1.5rem}
.album-grid a {display: block; overflow: hidden; border-radius: .25rem}
.album-grid img {width: 100%; aspect-ratio: 4/3; height: auto; object-fit: cover}
.photo-grid figure {min-width: 0}
.photo-grid img {width: 100%; height: clamp(17rem,29vw,28rem); object-fit: cover; border-radius: .25rem; filter: saturate(.78)}
.photo-grid figure:first-child img {object-position: center 55%}
.photo-grid figure:last-child img {object-position: center 30%}
.photo-grid figcaption {display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; flex-wrap: wrap; margin-top: .55rem}
.photo-grid figcaption span {font-size: 1.04rem; font-weight: 650}
.photo-grid figcaption a {font-size: .84rem; color: #cad0c5; text-decoration: underline; text-underline-offset: .2em; padding-block: .6rem}
.embed-details {margin-top: 1.2rem; border-block: 1px solid #444b43}
summary {list-style: none}
summary::-webkit-details-marker {display: none}
.embed-details summary, .questions summary {display: flex; align-items: center; min-height: 3.65rem; gap: .8rem; font-weight: 650}
.plus {position: relative; width: 1rem; height: 1rem; flex: 0 0 auto; margin-left: auto}
.plus::before, .plus::after {content: ""; width: .82rem; height: 1.5px; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: currentColor}
.plus::after {transform: translate(-50%,-50%) rotate(90deg)}
details[open] > summary .plus::after {display: none}
.embed-body {padding: 0 0 1.3rem; color: #d7ddd2}
.embed-body a {text-decoration: underline; text-underline-offset: .2rem}
#instagram-frame {max-width: 31rem}
#instagram-frame iframe {display: block; background: var(--surface); width: 100%; height: min(34rem,70vh); margin-top: 1rem; border: 0; border-radius: .4rem}
.family-layout, .application-layout {display: grid; align-items: start; grid-template-columns: minmax(0,.85fr) minmax(0,1.45fr); gap: clamp(2rem,7.5vw,8rem)}
.section-intro > p {max-width: 29rem; margin-top: 1.2rem}
.qa-card {display: flex; gap: .85rem; align-items: center; margin-top: 1.8rem; border-block: 1px solid var(--line); padding-block: 1rem}
.qa-card > .icon {width: 2.7rem; height: 2.7rem; stroke-width: 1.1; color: var(--ink)}
.qa-card:hover strong {text-decoration: underline; text-underline-offset: .2rem}
.qa-card strong, .qa-card small, .demo-note strong {display: block}
.qa-card small {font-size: .9rem; color: var(--muted); line-height: 1.45; margin-top: .16rem}
.questions {border-top: 1px solid var(--line)}
.questions details {border-bottom: 1px solid var(--line)}
.questions summary {font-size: 1.04rem; line-height: 1.4; padding-block: .9rem; justify-content: space-between}
.questions summary:hover, .questions details[open] summary {color: var(--green)}
.questions details > p {padding: 0 1.8rem 1.25rem 0; color: var(--muted)}
.application-section {background: var(--surface); border-top: 1px solid var(--line)}
.demo-note {display: flex; gap: .7rem; align-items: flex-start; max-width: 26rem; border-top: 1px solid var(--line); margin-top: 1.6rem; padding-top: 1.2rem}
.demo-note .icon {margin-top: .12rem}
.demo-note strong {font-size: .92rem}
.demo-note p {font-size: .92rem; line-height: 1.5; color: var(--muted); margin-top: .16rem}
.form-card {background: var(--surface); border: 1px solid var(--line); border-radius: .55rem; padding: clamp(1.3rem,3vw,2.75rem)}
.form-top, .progress, .form-actions, .footer-inner, .footer-links {display: flex; align-items: center}
.form-top {justify-content: space-between; gap: 1rem}
.form-top > span {font-size: .87rem; color: var(--muted)}
.step-count {color: var(--green)}
.progress {list-style: none; padding: 0; gap: .45rem; margin-block: .75rem 1.55rem; align-items: flex-start}
.progress li {flex: 1; color: var(--muted); font-size: .84rem; border-top: .23rem solid var(--line); padding-top: .29rem}
.progress li[data-done], .progress li[aria-current=step] {border-color: var(--green)}
.progress li[aria-current=step] {font-weight: 750; color: var(--ink)}
fieldset {min-width: 0; margin: 0; padding: 0; border: 0}
legend {display: block; margin: 0 0 1.2rem; padding: 0; font: 700 clamp(1.9rem,2.5vw,2.4rem)/1.02 var(--display); letter-spacing: -.02em; color: var(--ink)}
.fields {display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem}
.fields label {display: flex; flex-direction: column; gap: .37rem; min-width: 0; font-size: .9rem; font-weight: 650}
.wide {grid-column: 1 / -1}
input:not([type=checkbox]), select, textarea {display: block; width: 100%; min-height: 3rem; margin: 0; border: 1px solid var(--line); border-radius: .32rem; padding: .65rem .75rem; font-size: 1rem; font-weight: 450; background-color: var(--surface)}
input::placeholder, textarea::placeholder {color: #6a716b; opacity: 1}
select {appearance: none; -webkit-appearance: none; padding-right: 2rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23d9d6c8' stroke-width='1.5' d='m3.5 6 4.5 4.5L12.5 6'/%3E%3C/svg%3E"); background-position: right .65rem center; background-repeat: no-repeat; background-size: 1rem}
textarea {resize: vertical}
.fields label.consent {display: grid; grid-template-columns: 1.3rem minmax(0,1fr); align-items: start; gap: .7rem; font-weight: 450; min-height: 2.8rem; padding-top: .3rem; cursor: pointer}
.consent input {width: 1.25rem; height: 1.25rem; margin: .12rem 0 0; accent-color: var(--green)}
[aria-invalid=true] {border-color: #a23d32 !important}
.field-error, .form-error {color: var(--ink); font-size: .9rem; font-weight: 550}
.field-error {grid-column: 1 / -1}
.form-error {margin-top: 1rem}
.form-actions {justify-content: flex-end; gap: 1rem; padding-top: 1.15rem; border-top: 1px solid var(--line); margin-top: 1.45rem}
.form-actions #advance {min-width: 7.8rem}
.back-button {background: var(--surface); border-color: var(--line); margin-right: auto}
.button:disabled {opacity: .65; pointer-events: none}
#confirmation {padding-block: .6rem}
.confirm-icon {width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--accent); display: grid; place-items: center; margin-bottom: 1.2rem}
.confirm-icon .icon {width: 1.9rem; height: 1.9rem}
#confirmation .button {margin-top: 1.4rem}
.footer {background: #171b17; color: #f4f6ef}
.footer-inner {padding-block: 1.6rem; gap: 2rem}
.footer .brand img {width: 2.45rem; height: 2.45rem}
.footer .wordmark b {font-size: 1.6rem}
.footer-location {color: #c8cec4; font-size: .9rem}
.footer-links {margin-left: auto; gap: 1.3rem}
.footer-links a {color: #e1e6dc}
@media (min-width: 1650px) {.hero-image {left: calc((100vw - 86rem) / 2 + 15rem)}}
@media (max-width: 935px) {
  .masthead-inner {gap: .8rem}
  .main-nav {gap: 1.05rem}
  .main-nav a {font-size: .85rem}
  .header-actions {gap: .65rem}
  .hero-image {left: 15%}
  .hero-copy {max-width: 27rem}
  .family-layout, .application-layout {gap: 2rem; grid-template-columns: .8fr 1.25fr}
  .tabs button {padding-inline: .85rem}
}
@media (max-width: 760px) {
  :root {--nav-height: 4.1rem; --button-height: 2.85rem}
  .masthead-inner {gap: .6rem}
  .masthead .brand img {width: 2.35rem; height: 2.35rem}
  .masthead .wordmark b {font-size: 1.58rem}
  .masthead .wordmark > span {font-size: .61rem}
  .main-nav {display: none}
  .header-apply {min-width: 4.4rem; padding-inline: 1rem}
  .header-actions {gap: .55rem}
  .languages button {min-width: 2.75rem}
  .section-head {align-items: flex-start; flex-direction: column}
  .life-panel {grid-template-columns: 1fr}
  .life-panel figure {min-height: 0; height: clamp(13rem,52vw,20rem)}
  .family-layout, .application-layout {grid-template-columns: 1fr; gap: 1.8rem}
  .section-intro > p {max-width: 40rem}
  .qa-card {max-width: 30rem}
  .footer-inner {flex-wrap: wrap; gap: .65rem 1.4rem}
  .footer-links {flex-wrap: wrap; margin-left: 0; gap: 1rem}
}
@media (max-width: 700px) {
  .hero-inner {min-height: 0; padding-block: clamp(9.6rem,35vw,14rem) 2.1rem}
  .hero-image {left: 0; height: 86%}
  .hero-image img {object-position: 58% 12%; filter: saturate(.92)}
  .hero::after {background: linear-gradient(0deg,#111612 1%,#111612 14%,rgba(14,20,15,.96) 28%,rgba(14,20,15,.66) 54%,rgba(14,20,15,.04) 85%),linear-gradient(90deg,rgba(12,19,13,.55),transparent 78%)}
  .hero-copy {width: 100%; max-width: 34rem}
  .locator {margin-bottom: .8rem; font-size: .72rem}
  h1 {font-size: clamp(4.15rem,14.5vw,6.5rem); line-height: .86}
  .hero-copy > p {max-width: 30rem; margin-top: 1rem; font-size: 1rem; line-height: 1.48}
  .hero-actions {gap: .45rem; margin-top: 1.15rem}
  .hero-actions .button {padding-inline: 1.04rem; font-size: .88rem}
  .hero-credit {top: .35rem; bottom: auto; right: 0; font-size: .67rem; text-shadow: 0 1px 4px #000,0 0 7px #000}
  .hero-credit .icon {width: .86rem}
  .kicker {font-size: .73rem; margin-bottom: .43rem}
  .tabs {max-width: 100%; width: max-content}
  .photo-grid {gap: 1.5rem; grid-template-columns: 1fr}
  .photo-grid img {height: clamp(15rem,60vw,22rem)}
  .gallery-section .section-head {gap: .35rem}
  .photo-grid figcaption a {min-height: 2.75rem; display: inline-flex; align-items: center}
  .section {padding-block: 3.25rem}
}
@media (max-width: 515px) {
  .tabs {width: 100%; padding: .22rem; gap: 0}
  .tabs button {flex: 1; padding-inline: .35rem; gap: .35rem; font-size: .87rem}
  .life .section-head {gap: 1.1rem; margin-bottom: 1.1rem}
  .panel-copy {padding: 1.35rem}
  .fields {grid-template-columns: 1fr; gap: .85rem}
  .form-card {padding: 1.2rem}
  .footer-location {margin-left: auto}
  .footer-links {width: 100%; border-top: 1px solid #42493f; justify-content: space-between; margin-top: .45rem; padding-top: .35rem}
  .footer-links a {font-size: .85rem}
}
@media (max-width: 361px) {
  :root {--gutter: .9rem}
  .brand {gap: .4rem}
  .masthead .brand img {width: 1.95rem; height: 1.95rem}
  .header-apply {min-width: 3.3rem; padding-inline: .74rem}
  .hero-actions .button {font-size: .83rem; padding-inline: .78rem}
  .tabs button {font-size: .82rem}
  .tabs .icon {width: .9rem}
}
@media (prefers-reduced-motion: reduce) {
  html {scroll-behavior: auto}
  *, *::before, *::after {transition-duration: 0s !important; animation-duration: 0s !important}
}

/* Academy editorial layout */
:root {
  --ink: #142d27;
  --paper: #faf8f0;
  --muted: #485b50;
  --mist: #f0efe4;
  --line: #d3d6c8;
  --accent: #ffdc59;
  --gutter: clamp(1.1rem, 5vw, 5rem);
}
.masthead {background: #faf8f6f7}
.main-nav a[aria-current="page"] {text-decoration: underline; text-underline-offset: .42rem}
.black-button {background: var(--green-deep); border-color: var(--green-deep)}
.accent-button {background: var(--accent); border-color: var(--accent); box-shadow: none}
.cover, .story-opening, .directory-grid, .story-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: center;
}
.cover, .story-opening {padding-block: clamp(2.25rem, 5vw, 5rem)}
.story-label {font: 700 .75rem/1.4 var(--body); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.1rem; color: var(--green)}
.cover h1, .story-intro h1, .directory h2, .story-body h2, .section h2 {
  text-transform: none; text-wrap: balance; letter-spacing: -.035em; line-height: .93;
}
.cover h1 {font-size: clamp(4.9rem, 8.6vw, 8.8rem)}
.cover h1 em {color: var(--green)}
.story-deck {font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.6; color: var(--muted); max-width: 43ch; margin-top: 1.3rem}
.cover .film-button {background: transparent; color: var(--ink); border-color: var(--line)}
.cover-photo.hero-image {position: relative; inset: auto; height: auto; z-index: auto; overflow: hidden; border-radius: .4rem}
.cover-photo.hero-image img {width: 100%; aspect-ratio: 1.23; height: auto; object-fit: cover; object-position: 50% 39%; filter: none}
.cover-photo figcaption {position: absolute; bottom: 1rem; left: 1rem; font-size: .83rem; padding: .28rem .68rem; color: white; background: #10291ee6; border-radius: .2rem}
.directory {background: var(--green-deep); color: #fffdf0}
.directory-grid, .story-grid {padding-block: clamp(3rem, 6vw, 6rem); align-items: start}
.directory .story-label {color: #ffe588}
.directory .story-deck {color: #e1e6db}
.chapter {border-top: 1px solid #6b8578; display: grid; grid-template-columns: 4.8rem 1fr auto; gap: 1.15rem; align-items: center; padding-block: .85rem}
.chapter:last-child {border-bottom: 1px solid #6b8578}
.chapter img {width: 100%; aspect-ratio: 1.24; object-fit: cover; border-radius: .2rem}
.chapter h3, .story-points h3 {font: 700 clamp(1.6rem, 2.4vw, 2.65rem)/1.05 var(--display)}
.chapter p {font-size: .94rem; margin-top: .2rem; color: #e1e6db}
.chapter > span {font-size: 1.6rem; color: #ffe588}
.chapter:hover h3, .next-story:hover {text-decoration: underline; text-underline-offset: .16em}
.story-intro h1 {font-size: clamp(3.55rem, 6vw, 6.8rem)}
.back-home {display: inline-block; margin-bottom: 2.3rem; font-size: .9rem; text-decoration: underline; text-underline-offset: .25em}
.back-home::before {content: '← '; }
.story-photo img {width: 100%; aspect-ratio: 1.45; object-fit: cover; border-radius: .3rem}
.story-photo figcaption {font-size: .86rem; color: var(--muted); padding: .55rem 0; border-bottom: 1px solid var(--line)}
.story-body {background: var(--surface)}
.story-body h2 {font-size: clamp(2.8rem, 4vw, 4.5rem)}
.story-grid .story-photo {margin-top: 1.75rem}
.story-points > div {border-top: 1px solid var(--line); padding-block: 1.4rem}
.story-points p {max-width: 52ch; margin-top: .55rem; color: var(--muted)}
.story-points .button {margin-top: .8rem}
.story-end {padding-block: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem}
.next-story {font-weight: 700}
.next-story::after {content: ' →'}
.family-layout {border-top: 1px solid var(--line)}
.family-layout, .application-layout {grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem)}
.questions summary {align-items: center; padding-block: 1rem}
.application-section {background: var(--green-deep); color: var(--paper)}
.application-layout .section-intro > p, .application-layout .demo-note p, .application-layout .kicker {color: #e0e7dc}
.application-layout .form-card {color: var(--ink); background: var(--paper); border-radius: .5rem; padding: clamp(1.1rem, 3vw, 3rem)}
.form-card .progress li {border-color: var(--line)}
.form-card .progress li[aria-current=step], .form-card .progress li[data-done] {border-color: var(--green)}
.fields label {display: grid; grid-template-rows: 1fr auto; align-content: end}
.fields label:has(.field-error) {grid-template-rows: 1fr auto auto}
.fields label.consent {grid-template-rows: auto; align-content: start}
.form-actions {border-top: 1px solid var(--line); padding-top: 1rem}
@media (max-width: 850px) {
  :root {--nav-height: 6.7rem}
  .masthead-inner {display: grid; grid-template-columns: auto 1fr; grid-template-rows: 3.6rem 2.65rem; gap: 0}
  .header-actions {grid-column: 2; grid-row: 1; justify-self: end}
  .masthead .main-nav {display: flex; justify-content: space-between; gap: .4rem; grid-column: 1/-1; grid-row: 2; border-top: 1px solid var(--line)}
  .main-nav a {min-height: 2.65rem; font-size: .86rem}
}
@media (max-width: 760px) {
  .cover, .story-opening, .directory-grid, .story-grid, .family-layout, .application-layout {grid-template-columns: 1fr; gap: 1.6rem}
  .cover, .story-opening {padding-block: 2rem}
  .cover h1 {font-size: clamp(4.2rem, 14vw, 6rem)}
  .cover-photo.hero-image img {aspect-ratio: 1.55}
  .back-home {margin-bottom: 1.15rem}
  .chapter {grid-template-columns: 3.7rem 1fr auto; gap: .8rem}
}
.chapter-arrow {width: .7rem; height: .7rem; margin-right: .3rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(-45deg)}
.fee-question legend {font: 650 .94rem/1.5 var(--body); letter-spacing: normal; margin-bottom: .5rem}
.fee-choices {display: grid; gap: .4rem}
.fee-choices label {
  grid-template: auto / 1.1rem 1fr; align-items: center; gap: .65rem;
  border: 1px solid var(--line); border-radius: .3rem; padding: .65rem .8rem;
  min-height: 2.8rem; font-weight: 500; cursor: pointer; background: var(--surface);
}
.fee-choices label:has(:checked) {background: var(--surface); border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green)}
.fee-choices input[type="radio"] {appearance: auto; width: 1rem; height: 1rem; min-height: 0; margin: 0; padding: 0; accent-color: var(--green)}

/* ---------- Programme pages v2: shared palette and interactive sections ---------- */
:root { --green: #1d5c44; --green-deep: #123b30; --green-soft: #e4eee6; --radius: .6rem; }
.page-hero { position: relative; isolation: isolate; color: #fffdf0; background: var(--green-deep); overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 30%); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgb(18 59 48 / 94%) 0%, rgb(18 59 48 / 78%) 38%, rgb(18 59 48 / 12%) 75%), linear-gradient(0deg, rgb(18 59 48 / 60%), transparent 45%); }
.page-hero .wrap { min-height: clamp(26rem, 46vw, 34rem); display: flex; flex-direction: column; justify-content: flex-end; padding-block: 3rem clamp(2.5rem, 5vw, 4.5rem); }
.page-hero .back-home { color: #e6ede4; }
.page-hero .story-label { color: var(--accent); }
.page-hero h1 { font-size: clamp(3.4rem, 7vw, 6.6rem); text-transform: none; letter-spacing: -.035em; line-height: .92; max-width: 13ch; text-wrap: balance; }
.page-hero .story-deck { color: #e6ede4; max-width: 46ch; }
.fact-strip { background: var(--green-deep); color: #fffdf0; border-top: 1px solid rgb(255 255 255 / 12%); }
.fact-strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
.fact-strip li { padding: 1.3rem clamp(.8rem, 2vw, 1.6rem); border-left: 1px solid rgb(255 255 255 / 12%); }
.fact-strip li:first-child { border-left: 0; padding-left: 0; }
.fact-strip b { display: block; font: 700 clamp(2rem, 3.4vw, 3rem)/1 var(--display); color: var(--accent); }
.fact-strip span { display: block; margin-top: .35rem; font-size: .9rem; color: #d7e2d8; }
.block { padding-block: clamp(3.2rem, 6vw, 5.5rem); }
.block.tint { background: var(--mist); }
.block-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.block-head h2 { font-size: clamp(2.6rem, 4.6vw, 4.2rem); text-transform: none; letter-spacing: -.03em; line-height: .95; }
.block-head p { max-width: 46ch; color: var(--muted); }
.pill-tabs { display: flex; gap: .4rem; flex-wrap: wrap; }
.pill-tabs button, .chip { min-height: 2.75rem; padding: .5rem 1.05rem; border-radius: 3rem; border: 1px solid var(--line); background: var(--surface); font-weight: 650; font-size: .92rem; transition: background-color .15s, color .15s, border-color .15s; }
.pill-tabs button:hover, .chip:hover { border-color: var(--green); }
.pill-tabs button[aria-selected="true"], .chip[aria-pressed="true"] { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.split-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.split-panel > figure { position: relative; min-height: 22rem; background: var(--green-soft); }
.split-panel > figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 30%); }
.split-panel .panel-text { padding: clamp(1.5rem, 4vw, 3.2rem); display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.split-panel h3 { font: 700 clamp(2rem, 3vw, 2.8rem)/1 var(--display); letter-spacing: -.02em; }
.split-panel p { color: var(--muted); line-height: 1.65; }
.icon-figure { display: grid; place-items: center; }
.meal-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.meal-row div { border: 1px solid var(--line); border-radius: .5rem; padding: .8rem; text-align: center; background: var(--paper); }
.meal-row b { display: block; font: 700 1.5rem/1 var(--display); color: var(--green); }
.meal-row span { font-size: .85rem; color: var(--muted); }
.ask { border-left: 3px solid var(--accent); padding: .3rem 0 .3rem .9rem; font-size: .95rem; }
.ask b { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--green); margin-bottom: .2rem; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr)); gap: 1rem; }
.person-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; display: grid; gap: .6rem; align-content: start; transition: transform .2s, box-shadow .2s; }
.person-card:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgb(18 59 48 / 10%); }
.person-card .avatar { width: 3.4rem; height: 3.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green); font: 700 1.4rem/1 var(--display); overflow: hidden; }
.person-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.person-card h3 { font: 700 1.55rem/1.05 var(--display); }
.person-card .role { font-size: .88rem; font-weight: 650; color: var(--green); }
.person-card p { font-size: .92rem; color: var(--muted); line-height: 1.55; }
.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.founder { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.founder .portrait { background: linear-gradient(160deg, var(--green), var(--green-deep)); display: grid; place-items: center; min-height: 16rem; color: var(--accent); font: 700 4.4rem/1 var(--display); position: relative; overflow: hidden; }
.founder .portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.founder .bio { padding: 1.4rem; display: grid; gap: .7rem; align-content: start; }
.founder h3 { font: 700 2.1rem/1 var(--display); }
.founder p { color: var(--muted); font-size: .95rem; line-height: 1.6; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.tags li { font-size: .8rem; font-weight: 650; padding: .3rem .65rem; border-radius: 2rem; background: var(--green-soft); color: var(--green-deep); }
.quote-band { background: var(--green-deep); color: #fffdf0; }
.quote-band blockquote { margin: 0; padding-block: clamp(3rem, 6vw, 5rem); max-width: 50rem; }
.quote-band blockquote p { font: 700 clamp(2.2rem, 4.4vw, 3.9rem)/1.02 var(--display); letter-spacing: -.02em; }
.quote-band cite { display: block; margin-top: 1rem; font-style: normal; color: var(--accent); font-weight: 650; }
.answer-card { margin-top: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; display: grid; gap: .4rem; }
.answer-card b { font: 700 1.7rem/1.05 var(--display); }
.answer-card p { color: var(--muted); }
.stepper { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(1.2rem, 4vw, 3rem); align-items: start; }
.stepper [role="tablist"] { display: grid; gap: .4rem; counter-reset: step; }
.stepper [role="tab"] { counter-increment: step; display: grid; grid-template-columns: 2.4rem 1fr; align-items: center; gap: .8rem; text-align: left; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-weight: 650; }
.stepper [role="tab"]::before { content: counter(step); width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green); font: 700 1.2rem/1 var(--display); }
.stepper [role="tab"][aria-selected="true"] { border-color: var(--green-deep); box-shadow: inset 0 0 0 1px var(--green-deep); }
.stepper [role="tab"][aria-selected="true"]::before { background: var(--accent); color: var(--green-deep); }
.step-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step-panel img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: var(--pos, 50% 30%); }
.step-panel div { padding: 1.4rem; display: grid; gap: .6rem; }
.step-panel h3 { font: 700 2rem/1 var(--display); }
.step-panel p { color: var(--muted); line-height: 1.6; }
.programmes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.programme { text-align: left; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 1.3rem; display: grid; gap: .45rem; align-content: start; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.programme[aria-selected="true"] { border-color: var(--green-deep); box-shadow: inset 0 0 0 2px var(--green-deep); background: var(--green-soft); }
.programme small { font-size: .78rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.programme b { font: 700 2.2rem/1 var(--display); }
.programme span { color: var(--muted); font-size: .95rem; }
.programme-detail { margin-top: 1rem; display: flex; gap: 1rem 2rem; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 1.1rem 1.3rem; border-radius: var(--radius); background: var(--green-deep); color: #fffdf0; }
.programme-detail p { max-width: 60ch; }
.club-cloud { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.club-cloud li { padding: .55rem 1rem; border-radius: 3rem; border: 1px solid #ffffff38; font-weight: 650; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.timeline li { border-top: 3px solid var(--accent); padding-top: .9rem; }
.timeline time { font-size: .82rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: #cfe0d3; }
.timeline b { display: block; font: 700 1.9rem/1.05 var(--display); margin-top: .3rem; }
.timeline span { color: #d7e2d8; font-size: .92rem; }
.dark-block { background: var(--green-deep); color: #fffdf0; }
.dark-block .block-head p { color: #d7e2d8; }
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
.mosaic img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: var(--pos, 50% 25%); border-radius: .4rem; }
.checklist { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.checklist-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .8rem; }
.checklist-top b { font: 700 1.6rem/1 var(--display); }
.checklist-meter { height: .45rem; border-radius: 1rem; background: var(--green-soft); overflow: hidden; margin-bottom: .8rem; }
.checklist-meter i { display: block; height: 100%; width: 0; background: var(--green); border-radius: 1rem; transition: width .25s; }
.checklist label { display: grid; grid-template-columns: 1.3rem 1fr; gap: .75rem; align-items: start; padding: .65rem 0; border-top: 1px solid var(--line); cursor: pointer; }
.checklist input { width: 1.2rem; height: 1.2rem; margin: .15rem 0 0; accent-color: var(--green); }
.checklist label:has(:checked) span { color: var(--muted); text-decoration: line-through; }
.track-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin-bottom: 1rem; }
.track-switch button { text-align: left; padding: 1rem 1.1rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); display: grid; gap: .2rem; }
.track-switch button b { font: 700 1.7rem/1 var(--display); }
.track-switch button span { color: var(--muted); font-size: .9rem; }
.track-switch button[aria-selected="true"] { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.track-switch button[aria-selected="true"] span { color: #d7e2d8; }
.detail-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.detail-list li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .6rem; }
.detail-list li::before { content: ""; width: .7rem; height: .7rem; margin-top: .45rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--green-soft); }
.cta-band { background: var(--accent); color: var(--green-deep); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-block: clamp(2rem, 4vw, 3rem); }
.cta-band h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); text-transform: none; letter-spacing: -.03em; line-height: 1; }
.cta-band .black-button { background: var(--green-deep); border-color: var(--green-deep); }
.reveal { transition: opacity .5s ease, transform .5s ease; }
.js .reveal:not(.in) { opacity: 0; transform: translateY(14px); }
.footer-address { color: #c8cec4; font-size: .85rem; }
@media (max-width: 900px) {
  .stepper, .split-panel, .founder { grid-template-columns: 1fr; }
  .split-panel > figure { min-height: 15rem; }
  .founder .portrait { min-height: 11rem; }
  .founders, .programmes { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact-strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact-strip li:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact-strip li:nth-child(n+3) { border-top: 1px solid rgb(255 255 255 / 12%); }
  .timeline { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .page-hero .wrap { min-height: 30rem; }
  .page-hero::after { background: linear-gradient(0deg, rgb(18 59 48 / 97%) 0%, rgb(18 59 48 / 85%) 45%, rgb(18 59 48 / 20%) 80%); }
  .track-switch { grid-template-columns: 1fr; }
  .pill-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: .2rem; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .pill-tabs button, .chip { flex: 0 0 auto; }
  .meal-row b { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { .js .reveal:not(.in) { opacity: 1; transform: none; } }
.footer { background: var(--green-deep); }
@media (max-width: 900px) {
  .founder .portrait { min-height: 7.5rem; font-size: 3.2rem; }
}
@media (max-width: 560px) {
  .person-card { grid-template-columns: 3rem 1fr; column-gap: .85rem; padding: 1rem; }
  .person-card .avatar { width: 3rem; height: 3rem; font-size: 1.2rem; }
  .person-card > p { grid-column: 1 / -1; }
}

/* ---------- Professional refinement: calmer type, line icons, restrained colour, subtle motion ---------- */
.ico { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-badge { width: 2.6rem; height: 2.6rem; border-radius: .6rem; display: grid; place-items: center; background: var(--green-soft); color: var(--green); flex: none; }
.ico-badge .ico { width: 1.3rem; height: 1.3rem; }
.dark-block .ico-badge, .fact-strip .ico-badge, .page-hero .ico-badge { background: rgb(255 255 255 / 8%); color: var(--accent); }
/* Type: smaller, tighter, less poster-like. */
.cover h1 { font-size: clamp(3.6rem, 6vw, 6rem); line-height: .95; }
.page-hero h1 { font-size: clamp(2.9rem, 5vw, 4.6rem); line-height: .98; max-width: 15ch; }
.block-head h2, .section h2, .directory h2, .story-body h2 { font-size: clamp(2.1rem, 3.4vw, 3.1rem); line-height: 1; letter-spacing: -.02em; }
.block-head { align-items: end; border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
.dark-block .block-head { border-color: rgb(255 255 255 / 14%); }
.story-label { letter-spacing: .14em; font-size: .72rem; }
.quote-band blockquote p { font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: 1.12; }
/* Fact strip with icons. */
.fact-strip li { display: grid; grid-template-columns: auto 1fr; gap: .2rem .9rem; align-items: center; }
.fact-strip li .ico-badge { grid-row: span 2; }
.fact-strip b { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.fact-strip span { margin-top: 0; }
/* Closing band: deep green instead of bright yellow. */
.cta-band { background: var(--green-deep); color: #fffdf0; border-top: 1px solid rgb(255 255 255 / 10%); }
.cta-band h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.cta-band .black-button { background: var(--accent); border-color: var(--accent); color: var(--green-deep); }
.cta-band .button:not(.black-button) { color: #fffdf0; border-color: rgb(255 255 255 / 35%) !important; }
/* Founders: quiet monogram until photos are added. */
.founder { grid-template-columns: 9rem minmax(0, 1fr); }
.founder .portrait { min-height: 0; font-size: 2.4rem; background: var(--green-soft); color: var(--green); }
.founder h3 { font-size: 1.8rem; }
.person-card .avatar { background: var(--paper); border: 1px solid var(--line); font-size: 1.15rem; }
.person-card .avatar .ico { width: 1.4rem; height: 1.4rem; }
.pill-tabs button, .chip { border-radius: .5rem; display: inline-flex; align-items: center; gap: .45rem; }
.pill-tabs button .ico, .chip .ico { width: 1.05rem; height: 1.05rem; }
/* Programmes */
.programme-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.programme-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: .9rem; align-content: start; transition: transform .25s, box-shadow .25s, border-color .25s; }
.programme-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgb(18 59 48 / 10%); border-color: var(--line); }
.programme-card.featured { background: var(--green-deep); color: #fffdf0; border-color: var(--green-deep); }
.programme-card.featured .muted, .programme-card.featured li { color: #d7e2d8; }
.programme-card .flag { position: absolute; top: 1.2rem; right: 1.2rem; font-size: .72rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--green-deep); background: var(--accent); padding: .25rem .55rem; border-radius: .3rem; }
.programme-card h3 { font: 700 1.9rem/1 var(--display); }
.programme-card .meta { display: grid; gap: .45rem; font-size: .92rem; }
.programme-card .meta span { display: flex; align-items: center; gap: .55rem; }
.programme-card ul { list-style: none; margin: 0; padding: .9rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .45rem; font-size: .92rem; color: var(--muted); }
.programme-card.featured ul { border-color: rgb(255 255 255 / 16%); }
.programme-card li { display: flex; gap: .55rem; align-items: flex-start; }
.programme-card li .ico { width: 1.05rem; height: 1.05rem; margin-top: .2rem; color: var(--green); }
.programme-card.featured li .ico { color: var(--accent); }
.programme-card .button { justify-self: start; }
.included { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 1.4rem; }
.included div { background: var(--surface); padding: 1.1rem; display: grid; gap: .6rem; align-content: start; transition: background-color .2s; }
.included div:hover { background: var(--green-soft); }
.included b { font-size: .95rem; }
.included span { font-size: .85rem; color: var(--muted); line-height: 1.45; }
.compare { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .93rem; }
.compare th, .compare td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { background: var(--green-deep); color: #fffdf0; font-weight: 650; }
.compare td:first-child { display: flex; align-items: center; gap: .65rem; }
.compare td:first-child .ico { color: var(--green); }
.compare .yes .ico { color: var(--green); width: 1.2rem; height: 1.2rem; }
.compare .ask-us { border: 0; padding: 0; font-size: .82rem; color: var(--muted); }
.compare-wrap { overflow-x: auto; margin-top: 1.4rem; }
/* Hero trust row */
.trust { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.6rem; font-size: .88rem; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: .45rem; }
.trust .ico { color: var(--green); }
.page-hero .trust { color: #d7e2d8; }
.page-hero .trust .ico { color: var(--accent); }
/* Motion */
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.page-hero > img, .cover-photo img { animation: hero-zoom 14s cubic-bezier(.2, .6, .2, 1) both; }
.page-hero .wrap > *, .cover-copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.page-hero .wrap > *:nth-child(2), .cover-copy > *:nth-child(2) { animation-delay: .08s; }
.page-hero .wrap > *:nth-child(3), .cover-copy > *:nth-child(3) { animation-delay: .16s; }
.page-hero .wrap > *:nth-child(4), .cover-copy > *:nth-child(4) { animation-delay: .24s; }
.page-hero .wrap > *:nth-child(5), .cover-copy > *:nth-child(5) { animation-delay: .32s; }
.js [data-stagger] > * { transition: opacity .6s ease, transform .6s ease; transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-stagger]:not(.in) > * { opacity: 0; transform: translateY(16px); }
[role="tabpanel"]:not([hidden]) { animation: rise .45s cubic-bezier(.2, .7, .2, 1); }
.cover-photo { overflow: hidden; }
.button .ico { width: 1.05rem; height: 1.05rem; transition: transform .2s; }
.button:hover .ico-arrow { transform: translateX(3px); }
@media (max-width: 1000px) { .included { grid-template-columns: repeat(2, minmax(0, 1fr)); } .programme-cards { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .founder { grid-template-columns: 1fr; } .founder .portrait { min-height: 5rem; } .included { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .page-hero > img, .cover-photo img, .page-hero .wrap > *, .cover-copy > *, [role="tabpanel"]:not([hidden]) { animation: none !important; }
  .js [data-stagger]:not(.in) > * { opacity: 1; transform: none; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.note-small { margin-top: .8rem; font-size: .85rem; color: var(--muted); }
.programme-more { margin-top: 1.2rem; }
.stepper [role="tab"] { grid-template-columns: 2.4rem 1fr auto; }
.stepper [role="tab"] .ico { color: var(--green); }
.compare .short { display: none; }
@media (max-width: 560px) {
  .compare { font-size: .84rem; }
  .compare th, .compare td { padding: .7rem .45rem; }
  .compare td:first-child { min-width: 11rem; gap: .5rem; }
  .compare .long { display: none; }
  .compare .short { display: inline; }
}

/* ================= Dark theme: black base, warm white text, yellow accents and light ================= */
:root {
  color-scheme: dark;
  --paper: #0b0b0a; --surface: #151513; --surface-2: #1c1c19; --mist: #121210;
  --ink: #f5f2e8; --muted: #a9a698; --line: #2b2a25;
  --accent: #ffd23f; --accent-2: #f2a900; --gold: linear-gradient(135deg, #fff1a8 0%, #ffd23f 42%, #f2a900 100%);
  --green: #ffd23f; --green-deep: #0f0f0d; --green-soft: rgb(255 210 63 / 10%);
  --glow: radial-gradient(60rem 30rem at 85% -10%, rgb(255 210 63 / 11%), transparent 60%);
  background: var(--paper); color: var(--ink);
}
body { background: var(--glow), var(--paper); color: var(--ink); }
::selection { background: var(--accent); color: #0b0b0a; }
:focus-visible { outline-color: var(--accent); }
.masthead { background: rgb(11 11 10 / 82%); border-bottom: 1px solid var(--line); }
.main-nav a { color: #e9e5d6; }
.main-nav a[aria-current="page"] { color: var(--accent); text-decoration-color: var(--accent); }
.languages { background: var(--surface); border-color: var(--line); box-shadow: none; }
.languages button { color: var(--muted); }
.languages button[aria-pressed=true] { color: var(--ink); text-decoration-color: var(--accent); }
.languages span { background: var(--line); }
/* Buttons: gold for the main action, light for secondary, outline for tertiary. */
.button { border-radius: .55rem; }
.accent-button, .cta-band .black-button { background: var(--gold); border-color: transparent; color: #141008; box-shadow: 0 6px 22px rgb(242 169 0 / 22%); }
.accent-button:hover, .cta-band .black-button:hover { filter: brightness(1.06); box-shadow: 0 8px 28px rgb(242 169 0 / 32%); background: var(--gold); }
.black-button { background: #f5f2e8; border-color: #f5f2e8; color: #0b0b0a; box-shadow: none; }
.black-button:hover { background: #fff; }
.film-button, .cover .film-button, .cta-band .button:not(.black-button) { background: transparent; color: var(--ink); border-color: #4a483f !important; }
.back-button { background: var(--surface-2); border-color: var(--line); color: var(--ink); }
/* Sections */
.block.tint, .story-body, .application-section, .directory, .dark-block, .quote-band, .cta-band, .fact-strip, .footer, .gallery-section { background: var(--surface); color: var(--ink); }
.block.tint { background: var(--mist); border-block: 1px solid var(--line); }
.directory, .dark-block, .quote-band { background: radial-gradient(50rem 22rem at 90% 0%, rgb(255 210 63 / 9%), transparent 65%), var(--surface); border-block: 1px solid var(--line); }
.application-section { background: radial-gradient(45rem 25rem at 10% 0%, rgb(255 210 63 / 8%), transparent 60%), var(--surface); }
.cta-band { background: radial-gradient(40rem 14rem at 50% 120%, rgb(255 210 63 / 16%), transparent 70%), #0f0f0d; border-top: 1px solid var(--line); }
.footer { background: #080807; border-top: 1px solid var(--line); }
.directory .story-deck, .dark-block .block-head p, .application-layout .section-intro > p, .application-layout .demo-note p, .application-layout .kicker,
.chapter p, .timeline span, .page-hero .story-deck, .page-hero .back-home, .footer-address, .story-deck, .block-head p, .panel-copy > p { color: var(--muted); }
.directory .story-label, .chapter > span, .chapter-arrow { color: var(--accent); }
.chapter { border-color: var(--line) !important; }
.timeline li { border-top: 2px solid transparent; border-image: var(--gold) 1; }
.timeline time { color: var(--muted); }
.club-cloud li { border-color: var(--line); background: var(--surface-2); }
.kicker i { background: var(--gold); }
.story-label, .kicker { color: var(--accent); }
.cover h1 em { color: transparent; background: var(--gold); -webkit-background-clip: text; background-clip: text; }
/* Hero overlays: black, with a warm edge of light. */
.page-hero { background: #0b0b0a; }
.page-hero::after { background: linear-gradient(90deg, rgb(11 11 10 / 94%) 0%, rgb(11 11 10 / 78%) 38%, rgb(11 11 10 / 15%) 75%), linear-gradient(0deg, rgb(11 11 10 / 75%), transparent 45%), radial-gradient(40rem 20rem at 0% 100%, rgb(255 210 63 / 14%), transparent 70%); }
.cover-photo figcaption { background: rgb(11 11 10 / 80%); }
/* Fact strip: icon centred above number and label (fixes the off-centre icons). */
.fact-strip { background: var(--surface); border-block: 1px solid var(--line); }
.fact-strip ul { gap: 0; }
.fact-strip li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .55rem; padding: 1.6rem 1rem; border-left: 1px solid var(--line); border-top: 0; }
.fact-strip li:first-child { border-left: 0; padding-left: 1rem; }
.fact-strip li > .ico-badge { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin: 0; border-radius: 50%; background: var(--green-soft); color: var(--accent); }
.fact-strip li > .ico-badge .ico { width: 1.3rem; height: 1.3rem; }
.fact-strip b { color: transparent; background: var(--gold); -webkit-background-clip: text; background-clip: text; font-size: clamp(1.9rem, 2.8vw, 2.5rem); line-height: 1; }
.fact-strip li > span:not(.ico-badge) { display: block; margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.35; max-width: 14rem; }
/* Cards and panels */
.split-panel, .person-card, .founder, .answer-card, .programme-card, .compare, .checklist, .track-switch button, .life-panel, .form-card, .application-layout .form-card, .included div, .pill-tabs button, .chip, .tabs, .meal-row div, .step-panel {
  background: var(--surface-2); border-color: var(--line); color: var(--ink); }
.split-panel > figure, .life-panel figure { background: #0f0f0d; }
.split-panel p, .person-card p, .founder p, .answer-card p { color: var(--muted); }
.person-card .avatar, .founder .portrait { background: var(--green-soft); color: var(--accent); border-color: rgb(255 210 63 / 22%); }
.person-card:hover, .programme-card:hover { box-shadow: 0 14px 40px rgb(0 0 0 / 45%), 0 0 0 1px rgb(255 210 63 / 25%); border-color: rgb(255 210 63 / 30%); }
.tags li { background: var(--green-soft); color: #ffe48a; }
.pill-tabs button[aria-selected="true"], .chip[aria-pressed="true"], .tabs button[aria-selected=true], .track-switch button[aria-selected="true"] { background: var(--gold); border-color: transparent; color: #141008; }
.track-switch button[aria-selected="true"] span, .tabs button[aria-selected=true] .icon { color: #3a2c00; }
.tabs button:hover { background: var(--surface); }
.programme-card.featured { background: linear-gradient(160deg, #22201a, #161512); border-color: rgb(255 210 63 / 45%); color: var(--ink); box-shadow: 0 0 0 1px rgb(255 210 63 / 15%), 0 20px 50px rgb(242 169 0 / 10%); }
.programme-card ul, .programme-card.featured ul { border-color: var(--line); color: var(--muted); }
.programme-card.featured li, .programme-card.featured .muted { color: var(--muted); }
.programme-card li .ico, .programme-card .meta .ico, .compare td:first-child .ico, .compare .yes .ico, .included .ico, .trust .ico, .page-hero .trust .ico { color: var(--accent); }
.compare thead th { background: #0f0f0d; color: var(--accent); border-bottom: 1px solid rgb(255 210 63 / 30%); }
.compare th, .compare td { border-color: var(--line); }
.compare .ask-us, .note-small { color: var(--muted); }
.included { background: var(--line); border-color: var(--line); }
.included div:hover { background: #22211c; }
.quote-band blockquote p { color: var(--ink); }
.quote-band cite { color: var(--accent); }
.ico-badge { background: var(--green-soft); color: var(--accent); }
/* Form on dark */
input:not([type=checkbox]):not([type=radio]), select, textarea { background-color: #0f0f0d; border-color: #3a3933; color: var(--ink); }
input::placeholder, textarea::placeholder { color: #807d72; }
.fee-choices label { background: #0f0f0d; border-color: #3a3933; }
.fee-choices label:has(:checked) { background: rgb(255 210 63 / 10%); border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.fee-choices input[type="radio"], .consent input { accent-color: var(--accent); }
.progress li, .form-card .progress li { border-color: var(--line); }
.form-card .progress li[aria-current=step], .form-card .progress li[data-done] { border-color: var(--accent); }
.step-count { color: var(--accent); }
.confirm-icon { background: var(--gold); color: #141008; }
[aria-invalid=true] { border-color: #ff7a66 !important; }
.field-error, .form-error { color: #ff9a8a; }
.demo-note .icon, .qa-card > .icon { color: var(--accent); }
.questions summary:hover, .questions details[open] summary { color: var(--accent); }
.questions, .questions details { border-color: var(--line); }
.qa-card { border-color: var(--line); }
.photo-grid figcaption a, .insta-link { color: var(--muted); }
@media (max-width: 900px) {
  .fact-strip li:nth-child(odd) { border-left: 0; }
  .fact-strip li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fact-strip li:first-child { padding-left: 1rem; }
}
@media (max-width: 900px) {
  .fact-strip ul[style*="--n:3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fact-strip ul[style*="--n:3"] li { border-top: 0; border-left: 1px solid var(--line); padding-inline: .4rem; }
  .fact-strip ul[style*="--n:3"] li:first-child { border-left: 0; }
  .fact-strip ul[style*="--n:3"] li > span:not(.ico-badge) { font-size: .8rem; }
}
/* Staff photos: larger portraits; round founder photos on phones. */
.person-card { grid-template-columns: 4.6rem 1fr; column-gap: 1rem; align-items: center; }
.person-card .avatar { width: 4.6rem; height: 4.6rem; font-size: 1.4rem; }
.person-card > p { grid-column: 1 / -1; }
.person-card .avatar img { object-position: 50% 30%; }
@media (max-width: 560px) {
  .person-card { grid-template-columns: 4rem 1fr; }
  .person-card .avatar { width: 4rem; height: 4rem; }
  .founder .portrait { position: relative; width: 6.5rem; height: 6.5rem; min-height: 0; margin: 1.2rem 1.2rem 0; border-radius: 50%; overflow: hidden; }
  .founder .portrait img { object-position: 50% 30%; }
}

/* ---------- Hero headline: keep the italic "g" and full stop inside the gradient box ---------- */
.cover h1 { line-height: 1.02; overflow: visible; }
.cover h1 em { display: inline-block; padding: 0 .14em .16em 0; margin-bottom: -.12em; line-height: 1.05; }

/* ---------- Photos with depth and glare ---------- */
.depth { position: relative; overflow: hidden; border-radius: .7rem; isolation: isolate; background: #0f0f0d;
  box-shadow: 0 30px 60px -28px rgb(0 0 0 / 85%), 0 0 0 1px rgb(255 255 255 / 7%);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.depth img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.depth::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(circle at var(--mx, 25%) var(--my, 15%), rgb(255 255 255 / 26%), transparent 42%), linear-gradient(150deg, rgb(255 255 255 / 10%), transparent 38%, rgb(0 0 0 / 22%));
  mix-blend-mode: soft-light; opacity: .85; transition: opacity .3s; }
.depth:hover { box-shadow: 0 40px 70px -26px rgb(0 0 0 / 90%), 0 0 0 1px rgb(255 210 63 / 28%); }
.depth:hover img { transform: scale(1.04); }
.depth figcaption { position: absolute; left: .7rem; bottom: .7rem; z-index: 3; font-size: .8rem; font-weight: 650; padding: .3rem .6rem; border-radius: .35rem;
  background: rgb(11 11 10 / 72%); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #f5f2e8; }
.split-panel > figure.depth { border-radius: 0; box-shadow: none; transform: none; }
.cover-photo.depth figcaption { left: 1rem; bottom: 1rem; }

/* ---------- Residence ---------- */
.residence { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.section-title { font-size: clamp(2.1rem, 3.4vw, 3.1rem); line-height: 1; letter-spacing: -.02em; text-transform: none; }
.residence-text .story-deck { max-width: 52ch; }
.house-card { margin-top: 1.6rem; padding: 1.2rem 1.3rem; border-radius: .8rem; background: linear-gradient(160deg, #22201a, #161512); border: 1px solid rgb(255 210 63 / 30%); box-shadow: 0 20px 50px rgb(242 169 0 / 8%); }
.house-top { display: flex; gap: .85rem; align-items: center; margin-bottom: .9rem; }
.house-top b { display: block; font: 700 1.5rem/1 var(--display); }
.house-top small { color: var(--muted); }
.house-card .detail-list li { color: var(--muted); }
.residence-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.residence-gallery .depth { aspect-ratio: 3 / 4; }
.residence-gallery .depth:nth-child(2), .residence-gallery .depth:nth-child(5) { transform: perspective(1000px) translateY(1.6rem) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.residence-strip, .school-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.residence-strip .depth { aspect-ratio: 4 / 5; }
.school-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 46rem; }
.school-photos .depth { aspect-ratio: 4 / 3; }
.meal-row span { display: block; margin-top: .25rem; font-size: .85rem; color: var(--muted); }

/* ---------- Walking map ---------- */
.walkmap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); border-radius: 1rem; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(40rem 20rem at 100% 0%, rgb(255 210 63 / 7%), transparent 60%), var(--surface); }
.walk-panel { padding: clamp(1.3rem, 3vw, 2rem); display: flex; flex-direction: column; gap: .9rem; border-right: 1px solid var(--line); }
.walk-panel h3 { font: 700 1.9rem/1 var(--display); }
.walk-choices { display: grid; gap: .55rem; }
.walk-choice { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; text-align: left; padding: .85rem 1rem; border-radius: .7rem;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); transition: border-color .2s, background .2s, transform .2s; }
.walk-choice:hover { transform: translateY(-1px); border-color: rgb(255 210 63 / 35%); }
.walk-choice .ico { color: var(--accent); width: 1.4rem; height: 1.4rem; }
.walk-choice .walk-text b { display: block; }
.walk-choice small { color: var(--muted); font-size: .82rem; }
.walk-figures { text-align: right; }
.walk-figures b { display: block; font: 700 1.5rem/1 var(--display); color: transparent; background: var(--gold); -webkit-background-clip: text; background-clip: text; }
.walk-choice[aria-pressed="true"] { border-color: var(--accent); background: rgb(255 210 63 / 8%); box-shadow: inset 0 0 0 1px var(--accent); }
.walk-clock { margin-top: auto; font: 700 clamp(2.6rem, 5vw, 3.6rem)/1 var(--display); }
.walk-clock span:first-child { color: transparent; background: var(--gold); -webkit-background-clip: text; background-clip: text; font-variant-numeric: tabular-nums; }
.walk-clock span:last-child { font: 600 .95rem var(--body); color: var(--muted); }
.walk-note { font-size: .75rem; color: #7d7a6f; }
.walk-stage { position: relative; min-height: 18rem; }
.walk-stage svg { display: block; width: 100%; height: 100%; }
.walk-stage .grid line { stroke: rgb(255 255 255 / 4.5%); stroke-width: 1; }
.route-base { fill: none; stroke: rgb(255 255 255 / 16%); stroke-width: 3; stroke-dasharray: 2 7; stroke-linecap: round; stroke-linejoin: round; }
.route-live { fill: none; stroke: url(#walk-gold); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgb(255 210 63 / 55%)); opacity: 0; }
.route-live.on { opacity: 1; }
.walker { fill: #fff; stroke: var(--accent); stroke-width: 3; filter: drop-shadow(0 0 8px rgb(255 210 63 / 90%)); }
.place .dot { fill: #1c1c19; stroke: var(--accent); stroke-width: 2; }
.place .halo { fill: rgb(255 210 63 / 12%); animation: halo 2.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.place use { color: var(--accent); fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.place text { fill: #f5f2e8; font: 700 15px var(--body); paint-order: stroke; stroke: #0b0b0a; stroke-width: 4px; }
.landmark circle { fill: #6d6a60; }
.landmark text { fill: #a9a698; font: 600 12.5px var(--body); paint-order: stroke; stroke: #0b0b0a; stroke-width: 4px; }
@keyframes halo { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }

/* ---------- Daily routine ---------- */
.routine { border: 1px solid var(--line); border-radius: 1rem; padding: clamp(1.1rem, 3vw, 1.8rem); background: var(--surface); }
.routine-now { display: flex; align-items: center; gap: .6rem; font-weight: 650; margin-bottom: 1.2rem; min-height: 1.5em; }
.pulse { width: .6rem; height: .6rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgb(255 210 63 / 60%); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 .7rem rgb(255 210 63 / 0%); } 100% { box-shadow: 0 0 0 0 rgb(255 210 63 / 0%); } }
.routine-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: .5rem; position: relative; }
.routine-list::before { content: ""; position: absolute; left: 0; right: 0; top: 3.35rem; height: 2px; background: var(--line); }
.routine-list li { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; font-size: .88rem; color: var(--muted); padding-right: .3rem; }
.routine-list time { font: 700 1.25rem/1 var(--display); color: var(--ink); }
.routine-list .ico-badge { width: 2.3rem; height: 2.3rem; border-radius: 50%; position: relative; z-index: 1; background: #22211c; border: 1px solid var(--line); }
.routine-list li.now .ico-badge { background: var(--gold); color: #141008; border-color: transparent; box-shadow: 0 0 0 5px rgb(255 210 63 / 15%); }
.routine-list li.now { color: var(--ink); }
.routine-list li.now time { color: var(--accent); }
.routine-list li.done { opacity: .55; }

/* ---------- Development pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem; }
.pillar { background: var(--surface-2); border: 1px solid var(--line); border-radius: .8rem; padding: 1.2rem; display: grid; gap: .7rem; align-content: start; transition: transform .25s, border-color .25s; }
.pillar:hover { transform: translateY(-3px); border-color: rgb(255 210 63 / 35%); }
.pillar h3 { font: 700 1.6rem/1 var(--display); }
.pillar p { color: var(--muted); font-size: .92rem; line-height: 1.5; }

@media (max-width: 1000px) {
  .residence, .walkmap { grid-template-columns: 1fr; }
  .walk-panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .walk-clock { margin-top: 0; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .routine-list { grid-template-columns: 1fr; gap: 0; }
  .routine-list::before { left: 4.9rem; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .routine-list li { flex-direction: row; align-items: center; gap: .9rem; padding: .45rem 0; }
  .routine-list time { width: 3.6rem; flex: none; }
  .residence-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .residence-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .residence-gallery .depth:nth-child(2), .residence-gallery .depth:nth-child(5) { transform: none; }
  .pillars { grid-template-columns: 1fr; }
  .place text { font-size: 19px; }
  .landmark text { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .place .halo, .pulse { animation: none; } .depth, .depth img { transition: none; } }
/* Walking map: fill the stage; on phones show a taller, centred crop so streets stay readable. */
.walk-stage { min-height: 0; aspect-ratio: 760 / 470; }
.walk-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 1000px) { .walk-stage { aspect-ratio: auto; height: min(26rem, 86vw); } }
@media (max-width: 560px) { .landmark-square { display: none; } }
/* Walking map: a little less glow; four destinations in a 2×2 grid on wide panels. */
.route-live { filter: drop-shadow(0 0 3px rgb(255 210 63 / 35%)); stroke-width: 4.5; }
.walker { filter: drop-shadow(0 0 4px rgb(255 210 63 / 55%)); }
.place .halo { fill: rgb(255 210 63 / 7%); }
.walkmap { background: radial-gradient(40rem 20rem at 100% 0%, rgb(255 210 63 / 4%), transparent 60%), var(--surface); }
.walk-choice { padding: .7rem .85rem; }
.walk-figures b { font-size: 1.3rem; }
@media (min-width: 1001px) { .walk-stage { aspect-ratio: auto; min-height: 30rem; height: 100%; } }
/* Walking map animation pieces */
.route-live { opacity: 0; transition: none; }
.comet { fill: #ffd23f; opacity: 0; pointer-events: none; }
.place .ring { fill: none; stroke: var(--accent); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.place.arrive .ring { animation: arrive 1.1s cubic-bezier(.2,.7,.2,1) 2; }
.place.arrive .dot { animation: arrive-dot .6s cubic-bezier(.2,.7,.2,1); transform-box: fill-box; transform-origin: center; }
@keyframes arrive { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
@keyframes arrive-dot { 0% { transform: scale(1); } 40% { transform: scale(1.25); } 100% { transform: scale(1); } }
.walk-stage svg { transition: none; }
@media (prefers-reduced-motion: reduce) { .place.arrive .ring, .place.arrive .dot { animation: none; } }

/* ---------- Tabs and chips: the selected state always wins (iPhones keep :hover after a tap) ---------- */
.tabs button:hover, .pill-tabs button:hover, .chip:hover, .track-switch button:hover { background: var(--surface-2); }
@media (hover: none) { .tabs button:hover, .pill-tabs button:hover, .chip:hover, .track-switch button:hover { background: transparent; } .pill-tabs button:hover, .chip:hover, .track-switch button:hover { background: var(--surface-2); } }
.tabs button[aria-selected="true"], .tabs button[aria-selected="true"]:hover,
.pill-tabs button[aria-selected="true"], .pill-tabs button[aria-selected="true"]:hover,
.chip[aria-pressed="true"], .chip[aria-pressed="true"]:hover,
.track-switch button[aria-selected="true"], .track-switch button[aria-selected="true"]:hover {
  background: var(--gold); border-color: transparent; color: #141008; }
.tabs button[aria-selected="true"] .icon, .tabs button[aria-selected="true"] .ico, .pill-tabs button[aria-selected="true"] .ico { color: #141008; }
.tabs button .icon, .pill-tabs button .ico { color: var(--accent); }
.walk-choice:hover { transform: none; }
@media (hover: hover) { .walk-choice:hover { transform: translateY(-1px); } }

/* ---------- Explore cards: photo tiles for moving between pages ---------- */
.directory-stack { display: grid; gap: clamp(1.5rem, 3vw, 2.2rem); padding-block: clamp(3rem, 6vw, 5rem); }
.directory-stack .story-deck { max-width: 52ch; }
.explore-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: 1rem; }
.explore-card { position: relative; display: block; aspect-ratio: 4 / 5; min-height: 20rem; color: #fff; text-decoration: none; }
.explore-card img { position: absolute; inset: 0; }
.explore-card::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgb(11 11 10 / 10%) 20%, rgb(11 11 10 / 55%) 55%, rgb(11 11 10 / 94%) 100%); }
.explore-body { position: absolute; inset: auto 0 0 0; z-index: 3; display: grid; gap: .5rem; padding: 1.2rem; }
.explore-top { display: flex; align-items: center; gap: .6rem; }
.explore-top .ico-badge { width: 2.3rem; height: 2.3rem; border-radius: 50%; background: rgb(255 210 63 / 16%); color: var(--accent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.explore-top small { font-size: .74rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.explore-body > b { font: 700 clamp(1.7rem, 2.4vw, 2.1rem)/1 var(--display); }
.explore-body > span:not(.explore-top):not(.explore-go) { font-size: .92rem; color: #d9d5c8; line-height: 1.45; }
.explore-go { display: inline-flex; align-items: center; gap: .4rem; margin-top: .3rem; font-weight: 700; font-size: .9rem; color: var(--accent); }
.explore-go .ico { width: 1rem; height: 1rem; transition: transform .25s; }
@media (hover: hover) { .explore-card:hover .explore-go .ico { transform: translateX(4px); } }
.explore-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.block.explore { border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  /* Phones: swipe through the cards. */
  .explore-cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter)); padding: .3rem var(--gutter) 1rem; scrollbar-width: none; }
  .explore-cards::-webkit-scrollbar { display: none; }
  .explore-card { scroll-snap-align: start; min-height: 0; aspect-ratio: 4 / 5; }
}

/* Menu links: underline on hover only with a mouse (iPhones keep hover after a tap). */
.main-nav a:hover, .footer-links a:hover { text-decoration: none; }
.main-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .42rem; }
@media (hover: hover) { .main-nav a:hover, .footer-links a:hover { text-decoration: underline; text-underline-offset: .35em; } }

/* Walking map on phones: compact 2×2 destination buttons so the map stays on screen. */
@media (max-width: 760px) {
  .walk-panel { padding: 1rem; gap: .6rem; }
  .walk-panel .story-label { margin-bottom: 0; }
  .walk-panel h3 { font-size: 1.45rem; }
  .walk-choices { grid-template-columns: 1fr 1fr; gap: .45rem; }
  .walk-choice { grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: .1rem .5rem; padding: .55rem .65rem; }
  .walk-choice .ico { grid-row: span 2; width: 1.2rem; height: 1.2rem; }
  .walk-choice .walk-text b { font-size: .88rem; line-height: 1.2; }
  .walk-choice .walk-text small { display: none; }
  .walk-figures { text-align: left; display: flex; align-items: baseline; gap: .35rem; }
  .walk-figures b { font-size: 1.05rem; }
  .walk-figures small { font-size: .72rem; }
  .walk-clock { font-size: 2rem; }
  .walk-note { font-size: .68rem; }
  .walk-stage { height: min(24rem, 80vw); }
}
.drone-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.drone-pair .depth { aspect-ratio: 4 / 3; }
@media (max-width: 760px) { .drone-pair { grid-template-columns: 1fr; } }
.residence-gallery .depth img, .residence-strip .depth img { object-position: 50% 60%; }

/* ---------- Home opening: full-screen photo ---------- */
.cover-full { position: relative; isolation: isolate; min-height: min(92vh, 52rem); display: flex; align-items: flex-end; overflow: hidden; background: #0b0b0a; }
.cover-full .cover-bg { position: absolute; inset: 0; z-index: -2; margin: 0; }
.cover-full .cover-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: hero-zoom 18s cubic-bezier(.2,.6,.2,1) both; }
.cover-full::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, #0b0b0a 0%, rgb(11 11 10 / 88%) 28%, rgb(11 11 10 / 35%) 62%, rgb(11 11 10 / 15%) 100%),
              linear-gradient(90deg, rgb(11 11 10 / 75%) 0%, transparent 65%),
              radial-gradient(40rem 22rem at 10% 90%, rgb(255 210 63 / 12%), transparent 70%); }
.cover-inner { width: min(calc(100% - 2 * var(--gutter)), 86rem); padding-block: clamp(6rem, 18vh, 10rem) clamp(1.8rem, 4vw, 3rem); }
.cover-full .cover-copy { max-width: 42rem; }
.cover-full h1 { font-size: clamp(3.6rem, 8vw, 7.4rem); line-height: .95; text-transform: none; letter-spacing: -.035em; }
.cover-full .story-deck { color: #e6e2d4; font-size: clamp(1.02rem, 1.4vw, 1.25rem); max-width: 40ch; }
.cover-full .trust { color: #d9d5c8; }
.cover-stats { list-style: none; margin: clamp(1.8rem, 4vw, 3rem) 0 0; padding: 1.1rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem;
  border-top: 1px solid rgb(255 255 255 / 16%); }
.cover-stats li { display: grid; gap: .2rem; }
.cover-stats b { font: 700 clamp(1.8rem, 3.2vw, 2.7rem)/1 var(--display); color: transparent; background: var(--gold); -webkit-background-clip: text; background-clip: text; }
.cover-stats span { font-size: .88rem; color: #cfcab9; }
@media (max-width: 700px) {
  .cover-full { min-height: 88vh; }
  .cover-full .cover-bg img { object-position: 60% 40%; }
  .cover-full::after { background: linear-gradient(0deg, #0b0b0a 0%, rgb(11 11 10 / 92%) 40%, rgb(11 11 10 / 40%) 72%, rgb(11 11 10 / 20%) 100%); }
  .cover-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .cover-full .cover-bg img { animation: none; } }

/* ---------- Walking map: every destination button the same size ---------- */
.walk-choices { grid-auto-rows: 1fr; }
.walk-choice { height: 100%; align-content: center; }
.walk-choice .walk-text b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) { .walk-choice { min-height: 4.2rem; } }
.cover-full { min-height: calc(100svh - var(--nav-height)); }
.cover-inner { padding-block: 2.5rem clamp(1.5rem, 3vw, 2.4rem); }
.cover-full h1 { font-size: clamp(3.4rem, min(8vw, 11vh), 7.4rem); }
/* Explore cards: icon, label and title start at the same height on every card. */
.explore-body { grid-template-rows: auto auto minmax(calc(1.45em * 3), auto) auto; align-content: end; }
.explore-top { min-height: 2.3rem; }
.explore-body > span:not(.explore-top):not(.explore-go) { align-self: start; }
.explore-body > span:not(.explore-top):not(.explore-go) { height: calc(1.45em * 3); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.explore-body > b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.email-field input { border-color: var(--accent) !important; box-shadow: 0 0 0 1px rgb(255 210 63 / 35%); }
.field-hint { font-size: .82rem; font-weight: 450; color: var(--muted); line-height: 1.4; }
