/* Visual refresh only: original layout, cards, copy and interactions remain intact. */
:root{--ink:#142b43;--paper:#f8f7f2;--muted:#5e7081;--line:#d2dce0}
.hero,.hero-scenes{background:#0a192c}
.site-header{background:linear-gradient(180deg,#091a30e8,#091a3033,transparent)}
.wordmark{font-weight:600}.wordmark-360{font-weight:400}
.brand-symbol{display:block;position:relative;overflow:hidden;width:53px;height:51px;flex:none;mix-blend-mode:screen}
.brand-symbol img{position:absolute;width:122px;max-width:none;left:-35px;top:-6px}
.brand-subtitle{display:block;font-size:7px;font-weight:500;letter-spacing:1.65px;margin-top:6px}
.hero-shade{background:linear-gradient(180deg,#06152915,transparent 35%,#0a192c00 65%,#0a192c 100%),linear-gradient(90deg,#06152975,transparent 60%)}
.hero[data-scene="you"] .hero-shade{background:linear-gradient(180deg,#06152910,transparent 55%,#0a192c 100%)}
.hero-art-reading{background-image:url('assets/growth-window.png')}
.hero-art-counseling{background-image:url('assets/together-new.png')}
.hero-motion-control{background:#0b2539b3}
.hero[data-scene="together"] .hero-copy{width:40%;max-width:560px;margin-left:5.5%;margin-right:0;text-align:left;padding-top:clamp(154px,12vw,205px)}
.hero[data-scene="together"] .hero-description{margin-left:0;margin-right:0}
.hero[data-scene="together"] .hero-controls{justify-content:flex-start;margin-left:0;margin-right:0}
.hero[data-scene="together"] .hero-shade{background:linear-gradient(180deg,#06152910,transparent 60%,#0a192c 100%),linear-gradient(90deg,#06152990,transparent 65%)}
.hero[data-scene="together"] .hero-playback-actions{justify-content:flex-start}
.deck-academics{background:#e1ebeb;color:#19384b}.deck-exploration{background:#172d42;color:#f7f6f0}.deck-leadership{background:#c4dadd;color:#19384b}.deck-summer{background:#d2dbea;color:#23364a}.deck-college{background:#accdce;color:#173747}.deck-essays{background:#ddd5e5;color:#352b4e}
.programs{background:#e7eeee}.area-academics{background:#173e50;color:#f3f7f6}.area-exploration{background:#253550;color:#f3f4f8}.area-leadership{background:#c4dbde;color:#183a4b}.area-summer{background:#cbd9e8;color:#243d55}.area-college{background:#b4d2d2;color:#1b3c48}.area-essays{background:#ded5e7;color:#3b2e50}
.program-formats{border-color:#c1d1d6}.program-formats p{color:#526c7b}.program-tabs button.is-active{background:#173e50;color:white}.conversation{background:#e5eeef}.button-dark{background:#12364c;color:white}.tiny-compass{color:#247c8d}.brand-preview-note{padding:15px 20px;background:#e5edef;color:#35576a;font-size:10px;text-align:center}
button:focus-visible,a:focus-visible{outline-color:#35bad0}
@media(max-width:700px){.brand-symbol{width:35px;height:36px}.brand-symbol img{width:85px;left:-25px;top:-4px}.brand-subtitle{font-size:5px;letter-spacing:1px}.site-header{padding-left:14px;padding-right:14px}.wordmark{font-size:18px;gap:5px}.hero[data-scene="together"] .hero-copy{width:auto;max-width:none;margin:0 23px;padding-top:24px;text-align:center}.hero[data-scene="together"] .hero-description{margin-left:auto;margin-right:auto}.hero[data-scene="together"] .hero-controls,.hero[data-scene="together"] .hero-playback-actions{justify-content:center;margin-left:auto;margin-right:auto}.hero[data-scene="together"] .hero-shade{display:none}}
.hero-art-direction{background-image:url('assets/direction-navy-plate.png')}.footer-brand{display:flex;align-items:center;gap:8px}.site-footer{background:#0a192c;color:#f8f7f2}.site-footer .brand-symbol{width:35px;height:36px}.site-footer .brand-symbol img{width:85px;left:-25px;top:-4px}
.brand-symbol,.site-footer .brand-symbol{mix-blend-mode:normal;overflow:visible}.brand-symbol img,.site-footer .brand-symbol img{position:static;width:100%;height:100%;object-fit:contain}
.area-college .area-photo{background-color:#0a192c;background-size:cover;background-position:85% center}
.area-college .floating-caption{background:#f8f7f2;color:#1b3c48}
.program-tabs button{border-color:#b6c8ce}
.program-tabs button:hover,.intro-languages button:hover{background:#d4e4e7}
.program-tabs button[aria-pressed="true"]{background:#173e50;border-color:#173e50;color:#fff}
.flyer-jump-links a:hover{color:#247c8d}
.area-academics .area-photo,.area-exploration .area-photo{background-size:cover;background-position:center}

.area-leadership .area-photo{background-size:cover;background-position:center;border-radius:4px}
.area-academics .area-photo{border-radius:4px}

/* Bright garden Direction scene, with foreground rolling sphere. */
.hero-art-direction{background-image:url('assets/direction-garden-poster.png')!important;background-size:cover!important;background-position:center!important}
.hero-art-direction .hero-video{object-fit:cover;object-position:center}
.hero[data-scene="direction"] .hero-shade{background:linear-gradient(90deg,rgba(248,247,242,.93),rgba(248,247,242,.72) 29%,rgba(248,247,242,.15) 51%,transparent 64%),linear-gradient(0deg,#0a192c,transparent 22%)}
.hero[data-scene="direction"] .hero-copy{color:#153d48;text-shadow:none}
.hero[data-scene="direction"] .hero-eyebrow,.hero[data-scene="direction"] .hero-description{color:#244d55}
.hero[data-scene="direction"] .hero-scene-button,.hero[data-scene="direction"] .hero-arrow{color:#244d55;border-color:#244d5555}
.hero[data-scene="direction"] .scene-progress{background:#244d5533}
.hero[data-scene="direction"] .button-light{background:#173e50;color:#fff}
.hero[data-scene="direction"] .hero-motion-control{background:#f8f7f2dc;color:#173e50;border-color:#244d5544}
body:has(.hero[data-scene="direction"]) .site-header{color:#173e50;background:linear-gradient(180deg,#f8f7f2d9,transparent)}
body:has(.hero[data-scene="direction"]) .header-contact{background:#173e50;color:#fff}
@media(max-width:700px){.hero[data-scene="direction"] .hero-shade{display:none}.hero[data-scene="direction"] .hero-copy{color:#fff}.hero[data-scene="direction"] .hero-eyebrow,.hero[data-scene="direction"] .hero-description,.hero[data-scene="direction"] .hero-scene-button,.hero[data-scene="direction"] .hero-arrow{color:#f8f7f2}}

/* Header balance, quieter foundation card and smaller compass. */
body:has(.hero[data-scene="direction"]) .site-header{color:#f8f7f2;background:linear-gradient(180deg,#081b30f5 0%,#081b30dc 60%,#081b3060 88%,transparent 100%)}
body:has(.hero[data-scene="direction"]) .header-contact{background:#f8f7f2;color:#173e50}
.hero-art-you{background-image:url('assets/you-option-4.jpg')}
.hero[data-scene="you"] .hero-shade{background:linear-gradient(180deg,#06152920,transparent 50%,#0a192c 100%),linear-gradient(90deg,#06152955,transparent 62%)}
.deck-academics{background:#254b59;color:#f8f7f2}
.deck-academics .mini-header{border-bottom-color:#f8f7f240}
.area-academics .area-photo{background-size:76% auto;background-repeat:no-repeat;background-color:#f5f1e9;background-position:center;border-radius:4px}

/* Four photographic alternatives in the existing You scene. */
.hero[data-scene="you"] .hero-shade{background:linear-gradient(180deg,#06152966,transparent 40%,#0a192c 100%),linear-gradient(90deg,#061529c9,transparent 70%)}
html[data-you-photo="2"] .hero-scene .hero-art-you{background-size:auto 100%;background-position:90% center;background-color:#102d32}
html[data-you-photo="4"] .hero[data-scene="you"] .hero-copy{margin-left:52%;width:43%}
html[data-you-photo="4"] .hero[data-scene="you"] .hero-shade{background:linear-gradient(180deg,#06152977,transparent 45%,#0a192c 100%),linear-gradient(270deg,#061529bb,transparent 85%)}
.you-photo-picker{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:50;display:flex;gap:6px;align-items:center;padding:9px 12px;background:#102a3bef;border:1px solid #ffffff40;border-radius:12px;color:#fff;box-shadow:0 5px 30px #0004;font-size:12px}
.you-photo-picker a{padding:9px 12px;border-radius:6px;white-space:nowrap}
.you-photo-picker a[aria-current="page"]{background:#f8f6f1;color:#153d48}
@media(max-width:700px){html[data-you-photo="4"] .hero[data-scene="you"] .hero-copy{margin:0 23px;width:auto}.you-photo-picker{bottom:68px;max-width:96%;font-size:10px;gap:1px;padding:6px}.you-photo-picker a{padding:8px 6px}.you-photo-picker>span{display:none}html[data-you-photo="2"] .hero-scene .hero-art-you{background-position:center}.hero[data-scene="you"] .hero-shade{display:none}}

html:not([data-you-photo="2"]) .hero-scene .hero-art-you{background-size:cover;background-position:center}

.hero-art-you .hero-video{object-fit:cover;object-position:center}

.compass-compare{width:89%;max-width:1210px;margin:24px auto 22px;scroll-margin-top:24px;color:#173e50}
.compass-compare>p{font-size:13px;margin:0 0 12px}
.compass-choices{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.compass-choices button{background:#f8f7f2;border:2px solid transparent;padding:5px;border-radius:6px;text-align:left}
.compass-choices button[aria-pressed="true"]{border-color:#173e50;background:#d6e5e6}
.compass-choices img{width:100%;height:82px;object-fit:cover;border-radius:3px;display:block}
.compass-choices span{display:block;padding:8px 2px 3px;font-size:11px;line-height:1.4}
@media(max-width:700px){.compass-choices{grid-template-columns:repeat(3,1fr);gap:7px}.compass-choices img{height:60px}.compass-choices span{font-size:10px}}

/* Climbing photograph replaces the compass in Academic planning. */
.area-academics .area-photo{background-size:cover;background-position:center 65%;background-color:#173e50}

/* Remove decorative sequence numbering while keeping accessible carousel status. */
#journey-count,.carousel-count{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.carousel-controls{justify-content:flex-end}
.deck-academics .deck-photo{background-position:70% center}
.foundation-picker{position:fixed;z-index:50;bottom:20px;left:50%;transform:translateX(-50%);display:flex;gap:8px;padding:8px;background:#102a3bf5;border-radius:10px;border:1px solid #ffffff40;box-shadow:0 5px 24px #0004}
.foundation-picker button{padding:12px 18px;background:transparent;color:#fff;border-radius:6px;white-space:nowrap;font-size:12px}
.foundation-picker button[aria-pressed="true"]{background:#f8f6f1;color:#173e50}
@media(max-width:700px){.foundation-picker{bottom:64px;gap:3px;padding:5px}.foundation-picker button{font-size:11px;padding:10px}}

/* Foundation photograph fills the entire card, with rich contrast behind the copy. */
.journey-stage .deck-academics{background:#0b1d29;color:#fff}
.journey-stage .deck-academics .deck-photo{inset:0;width:100%;height:100%;opacity:1;mask-image:none;background-size:cover;background-position:70% center;z-index:0;filter:brightness(.82) saturate(1.1)}
.journey-stage .deck-academics::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,#061522b8, #06152255 43%,transparent 76%),linear-gradient(0deg,#06152270,transparent 45%)}
.journey-stage .deck-academics .mini-header,.journey-stage .deck-academics h2,.journey-stage .deck-academics>p{position:relative;z-index:2;text-shadow:0 2px 14px #0007}
.journey-stage .deck-academics .mini-header{border-bottom:0}
.journey-stage .deck-academics h2{width:59%}
.journey-stage .deck-academics>p{position:absolute}
/* Match the edge-to-edge photographs on the first two program cards. */
.area-leadership .area-photo,.area-college .area-photo{inset:0;border-radius:0;box-shadow:none;background-size:cover;background-position:center;background-repeat:no-repeat}


/* College planning: a considered shortlist, without photography. */
.college-list-art{position:absolute;inset:0;display:grid;place-items:center}
.list-back,.list-paper{width:66%;max-width:340px;height:380px;border-radius:3px}
.list-back{position:absolute;background:#618e91;transform:translate(20px,10px) rotate(10deg);box-shadow:0 22px 45px #173e501c}
.list-paper{position:relative;background:#f7f4eb;color:#204450;padding:35px;transform:rotate(-5deg);box-shadow:0 20px 50px #173e5025}
.list-paper>span{font-size:9px;letter-spacing:2px}.list-paper h4{font-size:36px;line-height:1.1;font-weight:450;margin:24px 0}.list-paper h4 em{font-size:42px}
.list-row{display:flex;align-items:center;gap:13px;font-size:12px;margin:15px 0}.list-row b{display:grid;place-items:center;width:20px;height:20px;border:1px solid #80a4a4;border-radius:50%;color:#527d7e;font-size:11px;font-weight:400}
.list-rule{height:1px;background:#b4c4bf;margin:22px 0 14px}.list-paper small{font-size:10px;color:#688081}
.area-college .caption-bottom{background:#244c59;color:#fff}
@media(max-width:700px){.area-college .program-visual{max-width:none}.list-back,.list-paper{height:290px;width:60%;max-width:260px}.list-paper{padding:23px}.list-paper h4{font-size:27px;margin:16px 0}.list-paper h4 em{font-size:32px}.list-row{font-size:10px;margin:10px 0}.list-rule{margin:13px 0 10px}}
/* Carry the three creative images across the complete Impact card. */
.journey-stage .deck-leadership{color:#fff;background:#10262b}
.journey-stage .deck-leadership .deck-photo{inset:0;width:100%;height:100%;aspect-ratio:auto;opacity:1;mask-image:none;display:grid;grid-template-columns:repeat(3,1fr);z-index:0}
.impact-triptych i{background-image:url('assets/card-creative-projects.png');background-size:auto 100%;background-repeat:no-repeat;background-position:10% center}
.impact-triptych i:nth-child(2){background-position:50% center}.impact-triptych i:nth-child(3){background-position:90% center}
.journey-stage .deck-leadership::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,#07151ec9,#07151e55 48%,transparent 75%,#07151eaa)}
.journey-stage .deck-leadership .mini-header,.journey-stage .deck-leadership h2,.journey-stage .deck-leadership>p{z-index:2;text-shadow:0 2px 18px #0008}
.journey-stage .deck-leadership h2{position:relative;margin-top:48px}
.journey-stage .deck-leadership>p{top:auto;bottom:28px}
@media(max-width:700px){.journey-stage .deck-leadership h2{margin-top:30px}.journey-stage .deck-leadership>p{bottom:20px}}

/* An abstract graphic family across all lower program cards. */
.program-abstract{display:block;width:100%;height:100%;object-fit:contain}
.area-academics .program-visual,.area-exploration .program-visual,.area-leadership .program-visual{max-width:none}
.journey-stage .deck-leadership .impact-single{display:block;background-size:cover;background-position:67% center}
.journey-stage .deck-leadership::after{background:linear-gradient(90deg,#061c2bc4,#061c2b55 45%,transparent 75%),linear-gradient(0deg,#061c2b88,transparent 35%)}

/* Cohesive navy / teal / warm ivory palette. */
.hero-art-direction{background-image:url('assets/direction-navy-plate.png')!important;background-color:#102b40}
.hero-art-direction.direction-ready{background-image:none!important}
.hero-art-direction::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#15364d66,transparent 65%),linear-gradient(0deg,#21495c15,#397b8615)}
#direction-ball-surface{filter:saturate(.65) brightness(1.08)}
.hero[data-scene="direction"] .hero-shade{background:linear-gradient(90deg,#10263b50,transparent 55%),linear-gradient(0deg,#0a192c,transparent 23%)}
.hero[data-scene="direction"] .hero-copy{color:#f8f7f2;text-shadow:0 2px 18px #06152933}
.hero[data-scene="direction"] .hero-eyebrow,.hero[data-scene="direction"] .hero-description{color:#e1eceb}
.hero[data-scene="direction"] .hero-scene-button,.hero[data-scene="direction"] .hero-arrow{color:#e1eceb;border-color:#c7dddd66}
.hero[data-scene="direction"] .scene-progress{background:#c7dddd44}
.hero[data-scene="direction"] .button-light{background:#f4f0e5;color:#173e50}
.hero[data-scene="direction"] .hero-motion-control{background:#16384bd9;color:#f4f0e5;border-color:#c7dddd55}
body:has(.hero[data-scene="direction"]) .site-header{background:linear-gradient(180deg,#10263bb0,transparent);color:#f8f7f2}
.area-leadership{background:#aac7cb;color:#173747}
.area-summer{background:#b2c3d4;color:#20384d}
.area-college{background:#a6c4c5;color:#173747}
.area-essays{background:#cec6da;color:#352b49}
.programs{background:#e6eeec}
.conversation{background:#163d4c;color:#f8f7f2}
.conversation .eyebrow,.conversation-note{color:#c5dbdb}
.conversation .button-dark{background:#f4f0e5;color:#173e50}
.conversation .button-dark:hover{background:#e0e9e6}
.site-footer{background:#0a192c;border-top-color:#355160}
.site-footer>p,.site-footer .preview-label{color:#bdcdcf}
@media(max-width:700px){.hero[data-scene="direction"] .hero-shade{display:block;background:linear-gradient(180deg,#10263b66,transparent 65%,#0a192c)}.direction-art{object-position:center}}
.site-footer .social-links a{color:#d5e3e3}.site-footer .social-arrow{color:#b8cdcf}.site-footer>.social-links{border-top-color:#355160}

/* Keep the old frame underneath while the next frame dissolves over it. */
.hero-scene{transition:opacity 2.1s cubic-bezier(.25,.1,.25,1)}
.hero-scene.is-leaving{opacity:1;z-index:1;transition:none}
.hero-scene.is-active{opacity:1;z-index:2}
.hero-copy{transition:opacity .7s ease}
.hero-copy.is-changing{opacity:0;pointer-events:none}
.hero .hero-shade{display:none!important}
.scene-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#06152915,transparent 35%,#0a192c00 65%,#0a192c 100%),linear-gradient(90deg,#06152975,transparent 60%)}
.scene-shade-direction{background:linear-gradient(90deg,#10263b50,transparent 55%),linear-gradient(0deg,#0a192c,transparent 23%)}
.scene-shade-together{background:linear-gradient(180deg,#06152910,transparent 60%,#0a192c 100%),linear-gradient(90deg,#06152990,transparent 65%)}
.scene-shade-you{background:linear-gradient(180deg,#06152977,transparent 45%,#0a192c 100%),linear-gradient(270deg,#061529bb,transparent 85%)}
.motion-paused .hero-copy{transition:none}
.motion-paused .hero-copy.is-changing{opacity:1;pointer-events:auto}
@media(max-width:700px){.scene-shade{display:none}.scene-shade-direction{display:block;background:linear-gradient(180deg,#10263b66,transparent 65%,#0a192c)}}
@media(prefers-reduced-motion:reduce){:root:not(.motion-enabled) .hero-copy{transition:none}}


/* The painted banner provides the site-wide company signature. */
.site-footer > .footer-brand {
  display: block;
  grid-column: 1 / -1;
  grid-row: 1;
}
.site-footer > .footer-brand img {
  display: block;
  width: 100%;
  height: clamp(90px, 16vw, 214px);
  object-fit: cover;
}
.site-footer > p { grid-column: 1 / 3; }
.site-footer > button:first-of-type { grid-column: 3; }
@media (max-width: 700px) {
  .site-footer > p { grid-column: 1; grid-row: 2; }
  .site-footer > button:first-of-type { grid-column: 2; grid-row: 2; }
}
