:root {
  color-scheme: light;
  --ink: #1c3037; --muted: #5d6f73; --cream: #f1ede3; --blue: #a8c5cf; --green: #c2d1bd;
  --navy: #17313a; --accent: #b9684e; --accent-ink: #f7efe6; --purple: #240931;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Manrope", system-ui, sans-serif;
  --display: "Manrope", "DM Sans", system-ui, sans-serif;
  --gutter: clamp(22px, 6.1vw, 100px);
  --vh: 100vh;
}
@supports (height: 100svh) { :root { --vh: 100svh; } }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--sans); font-size: 15px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
button, a { color: inherit; font: inherit; }
a { text-decoration: none; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { color: var(--cream); background: var(--ink); }
.skip-link { position: fixed; z-index: 30; top: 10px; left: 10px; padding: 12px 16px; background: var(--cream); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.04em; }

/* Header */
.site-header { position: fixed; z-index: 15; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; height: 80px; padding: 0 var(--gutter); color: var(--ink); transition: color .4s ease, background .4s ease, height .35s ease; }
.site-header.is-dark { color: #f4f2e9; }
.wordmark { display: inline-flex; gap: 11px; align-items: center; font: 500 14px/1 var(--display); letter-spacing: .02em; }
.wordmark img { display: block; width: auto; height: 38px; object-fit: contain; }
.wordmark strong { font-weight: 700; }
.utility-nav { display: flex; align-items: center; gap: clamp(20px, 3.2vw, 46px); font-size: 14px; }
.utility-nav > a { transition: opacity .2s ease; } .utility-nav > a:hover { opacity: .6; }
.menu-toggle { display: flex; align-items: center; gap: 14px; border: 0; padding: 10px 0; background: transparent; color: inherit; font-size: 14px; }
.menu-icon { display: grid; gap: 5px; width: 22px; } .menu-icon i { display: block; height: 1px; background: currentColor; }

/* Menu */
.menu-panel { position: fixed; z-index: 18; inset: 0 0 0 auto; display: flex; flex-direction: column; width: min(610px, 100%); height: 100%; padding: 28px clamp(24px, 5vw, 70px) 32px; color: #f4f2e9; background: var(--purple); transform: translateX(102%); visibility: hidden; transition: transform .65s cubic-bezier(.77, 0, .18, 1), visibility 0s .65s; overflow-y: auto; }
.menu-panel.is-open { transform: translateX(0); visibility: visible; transition-delay: 0s; }
.menu-scrim { position: fixed; z-index: 17; inset: 0; visibility: hidden; background: #101f24a6; opacity: 0; transition: opacity .4s ease, visibility .4s; }
.menu-scrim.is-open { visibility: visible; opacity: 1; }
.menu-panel-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: auto; }
.menu-eyebrow, .eyebrow { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.menu-close { position: relative; width: 42px; height: 42px; border: 1px solid #ffffff50; border-radius: 50%; background: transparent; color: inherit; }
.menu-close span { position: absolute; top: 20px; left: 12px; width: 16px; height: 1px; background: currentColor; transform: rotate(45deg); } .menu-close span:last-child { transform: rotate(-45deg); }
.menu-panel nav { display: grid; margin: 30px 0; }
.menu-panel nav a { display: flex; align-items: baseline; gap: 20px; width: fit-content; padding: 7px 0; font: 400 clamp(30px, 4.4vw, 46px)/1.15 var(--display); letter-spacing: -.03em; transition: opacity .2s ease, transform .3s ease; }
.menu-panel nav a:hover { opacity: .65; transform: translateX(8px); }
.menu-panel nav a span { width: 20px; font: 10px var(--sans); letter-spacing: 0; opacity: .6; }
.menu-footer { margin: 0; color: #ffffffa6; font-size: 12px; }

/* Clouds: scroll-driven outer wrapper, self-drifting inner */
.clouds { position: fixed; z-index: 2; inset: 0; overflow: hidden; pointer-events: none; opacity: .85; }
.cloud { position: absolute; top: 0; left: 0; will-change: transform; }
.cloud img { display: block; width: 100%; height: auto; animation: drift var(--dur, 60s) ease-in-out infinite alternate; animation-delay: var(--delay, 0s); opacity: var(--o, .6); }
@keyframes drift { from { transform: translate3d(calc(var(--amp, 6vw) * -1), -5px, 0); } to { transform: translate3d(var(--amp, 6vw), 9px, 0); } }

/* Scrollytelling chapters */
main { position: relative; }
.chapter { position: relative; height: calc(var(--vh) * 2 + var(--beats, 1) * 85 * var(--vh) / 100); }
.chapter + .chapter, .chapter + .newsroom { margin-top: calc(var(--vh) * -1); }
.stage { position: sticky; z-index: 1; top: 0; height: var(--vh); overflow: hidden; background: var(--stage-bg, var(--cream)); }
.copy { position: sticky; z-index: 3; top: 0; height: var(--vh); margin-top: calc(var(--vh) * -1); overflow: hidden; color: var(--ink); pointer-events: none; }
.chapter[data-theme="dark"] .copy { color: #f6f3ea; }
.stage.tone-navy, .stage.tone-cream, .stage.tone-blue, .stage.tone-green, .stage.tone-accent { z-index: 3; }
.tone-navy { --stage-bg: var(--navy); } .tone-cream { --stage-bg: var(--cream); } .tone-blue { --stage-bg: var(--blue); }
.tone-green { --stage-bg: var(--green); } .tone-accent { --stage-bg: var(--accent); }
.copy.tone-accent { color: var(--accent-ink); }
.bg { position: absolute; inset: 0; }
.bg-img { inset: -9% 0; background: var(--img) center / cover; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.hero-portrait { position: absolute; z-index: 0; right: 0; bottom: 0; height: min(92vh, 58vw); width: auto; object-fit: contain; object-position: right bottom; transform: translate3d(var(--portrait-x, 0px), 0, 0); will-change: transform; pointer-events: none; }
.bg-img::after { content: ""; position: absolute; inset: 0; }
.veil-dark::after { background: linear-gradient(180deg, #0b1d24a8 0%, #0b1d2459 38%, #0b1d2480 100%); }
.veil-light::after { background: linear-gradient(90deg, #e7eeeee6 0%, #e7eeeeb3 40%, #e7eeee24 80%), linear-gradient(0deg, #e7eeee66, #e7eeee00 40%); }
.veil-light-mid::after { background: linear-gradient(90deg, #e7eeeecc 0%, #e7eeee80 40%, #e7eeee1a 80%), linear-gradient(0deg, #e7eeee4d, #e7eeee00 40%); }
.beat { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 90px var(--gutter) 70px; opacity: 0; will-change: opacity, transform; }
.copy .beat { z-index: 1; }
.beat.pos-left, .beat.pos-right { width: 50%; }
.beat.pos-right { left: auto; }
.beat.is-off { visibility: hidden; }
.beat > * { pointer-events: auto; }
.pos-left { align-items: flex-start; text-align: left; }
.pos-right { align-items: flex-end; text-align: right; }
.pos-center { align-items: center; text-align: center; }
.beat .eyebrow { margin: 0 0 clamp(18px, 3vh, 30px); opacity: .90; }
.display { margin: 0; font: 400 clamp(40px, min(6vw, 11vh), 100px)/.96 var(--serif); letter-spacing: -.015em; }
.display em { letter-spacing: -.015em; }
.lead { max-width: 17em; margin: 0; text-align: left; font: 400 clamp(26px, min(2.7vw, 5vh), 44px)/1.14 var(--serif); letter-spacing: -.02em; }
h3 { margin: .35em 0; font: 400 clamp(20px, min(2.4vw, 4.5vh), 36px)/1.15 var(--serif); }
.sub { max-width: 27em; margin: clamp(20px, 4vh, 38px) 0 0; font-size: clamp(14px, 1.15vw, 17px); line-height: 1.7;  font-weight:800;}
.cta { display: inline-flex; align-items: center; gap: 22px; margin-top: clamp(26px, 5vh, 46px); padding: 15px 26px; border: 1px solid currentColor; border-radius: 999px; font-size: 14px; transition: background .25s ease, color .25s ease; }
.cta span { transition: transform .25s ease; }
.cta:hover { background: var(--ink); color: var(--cream); }
.chapter[data-theme="dark"] .cta:hover { background: #f6f3ea; color: var(--navy); }
.tone-accent .cta:hover { background: var(--accent-ink); color: var(--accent); }
.cta:hover span { transform: translateX(5px); }
.scroll-cue { display: inline-flex; align-items: center; gap: 16px; margin-top: clamp(30px, 6vh, 60px); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.scroll-cue i { position: relative; display: block; width: 1px; height: 42px; background: #1c303740; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: currentColor; animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
.quote { margin: 0; font: 400 clamp(26px, min(3vw, 5.4vh), 48px)/1.16 var(--serif); letter-spacing: -.035em; }
.quote p { margin: 0 0 .4em; }
.quote cite { display: block; margin-top: 1.4em; font: 400 11px var(--sans); letter-spacing: .16em; text-transform: uppercase; opacity: .75; }

/* Newsroom */
.newsroom { position: relative; z-index: 4; padding: clamp(90px, 14vw, 190px) var(--gutter); background: var(--cream); }
.newsroom .eyebrow { margin: 0 0 24px; color: var(--muted); }
.newsroom .display { font-size: clamp(44px, 6vw, 88px); }
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 90px); margin-top: clamp(50px, 8vw, 100px); }
.news-image { aspect-ratio: 4 / 3; margin-bottom: 22px; background: var(--img) center / cover; }
.news-item .eyebrow { margin-bottom: 10px; font-size: 10px; }
.news-item h3 { max-width: 14em; margin: 0 0 22px; }
.news-item a { display: inline-flex; gap: 14px; border-bottom: 1px solid currentColor; padding-bottom: 6px; font-size: 13px; }
.news-item a span { transition: transform .2s ease; } .news-item a:hover span { transform: translateX(4px); }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform 1s cubic-bezier(.2, .65, .25, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Footer */
.site-footer { position: relative; z-index: 4; color: #e9ece5; background: #12282f; padding: clamp(50px, 6vw, 80px) var(--gutter) 24px; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; align-items: start; min-height: 210px; }
.footer-mark { width: max-content; }
.footer-tag { margin: 0; color: #c3cfcb; font: 400 clamp(18px, 1.6vw, 22px)/1.5 var(--serif); }
.footer-tag a { font: 400 13px var(--sans); border-bottom: 1px solid #ffffff55; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; font-size: 12px; color: #d3dcd7; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 30px; border-top: 1px solid #ffffff37; padding-top: 18px; color: #aab9b5; font-size: 11px; }

@media (min-width: 701px) {
  .beat.pos-left, .beat.pos-right { width: calc(50% + 2 * var(--gutter)); }
  .beat.pos-right { padding-top: 80px; padding-bottom: 80px; }
  main h2.display, main .newsroom h2.display { font-size: clamp(27px, min(3.4vw, 6.7vh), 56px); }
  main h2.lead { font-size: clamp(22px, min(2vw, 3.6vh), 32px); }
}
@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  :root { --gutter: 22px; }
  .site-header { height: 64px; }
  .wordmark { font-size: 12px; }
  .wordmark img { height: 34px; }
  .utility-nav { gap: 18px; }
  .contact-link, .menu-label { display: none; }
  .chapter { height: auto; display: grid; }
  .chapter + .chapter, .chapter + .newsroom { margin-top: 0; }
  .stage, .copy { grid-area: 1 / 1; position: relative; height: auto; margin: 0; }
  .stage { clip-path: inset(0); }
  .copy { display: flex; flex-direction: column; overflow: visible; }
  .bg-img { position: fixed; inset: 0 0 auto; height: 100vh; height: 100lvh; transform: none; will-change: auto; }
  .beat.pos-left, .beat.pos-right { width: 100%; }
  .hero-portrait { display: none; }
  .display { font-size: clamp(38px, min(11.2vw, 12.5vh), 76px); line-height: .98; letter-spacing: -.035em; }
  .lead { font-size: clamp(24px, min(7vw, 6.4vh), 40px); letter-spacing: -.02em; }
  main h2.display, main .newsroom h2.display { font-size: clamp(34px, min(10vw, 11vh), 68px); }
  main h2.lead { font-size: clamp(22px, min(6.3vw, 5.7vh), 36px); }
  h3 { font-size: clamp(20px, 6.8vw, 30px); }
  .beat { position: relative; inset: auto; min-height: var(--vh); padding: 84px var(--gutter) 56px; opacity: 1; transform: none; visibility: visible; }
  .beat:focus-within { opacity: 1 !important; }
  .sub { font-size: 14px; }
  .cta { padding: 14px 22px; }
  .quote { font-size: clamp(24px, 7vw, 36px); }
  .news-grid { grid-template-columns: 1fr; gap: 50px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-links { gap: 18px 20px; }
  .footer-bottom { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .clouds { display: none; }
  .chapter { height: auto; display: grid; }
  .chapter + .chapter, .chapter + .newsroom { margin-top: 0; }
  .stage, .copy { grid-area: 1 / 1; position: relative; height: auto; margin: 0; overflow: hidden; }
  .copy { display: flex; flex-direction: column; }
  .copy .beat.pos-right { align-self: flex-end; }
  .copy .hero-portrait { top: 0; bottom: auto; }
  .beat { position: relative; inset: auto; min-height: calc(var(--vh) * .75); opacity: 1 !important; transform: none !important; visibility: visible !important; }
  .bg-img { transform: none !important; inset: 0; }
  .reveal { opacity: 1; transform: none; }
}
