:root {
  --ink: #161211;
  --paper: #f3eddf;
  --red: #eb0028;
  --muted: #b9b0a3;
  --gutter: clamp(24px, 5vw, 88px);
  --hero-progress: 0;
  --deck-progress: 0;
  --page-progress: 0;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 16px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
h1, h2, h3, p, figure { margin: 0; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
img, svg { display: block; }
em { font: inherit; }
button, summary, a { outline-offset: 6px; }
:focus-visible { outline: 2px solid currentColor; }
[hidden] { display: none !important; }
::selection { background: var(--red); color: white; }
.skip-link { position: fixed; inset: 12px auto auto 12px; z-index: 100; background: var(--paper); color: var(--ink); padding: 14px; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.reading-progress { position: fixed; inset: 0 0 auto; z-index: 60; height: 3px; background: var(--red); transform: scaleX(var(--page-progress)); transform-origin: left; }

/* Navigation stays outside the scroll choreography. */
.masthead { position: absolute; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 27px var(--gutter); }
.brand { display: inline-flex; flex-direction: column; font-size: 25px; line-height: 1.05; text-decoration: none; }
.brand-ted { color: var(--red); font-weight: 800; }
.brand-place { font-weight: 400; }
.masthead nav { display: flex; gap: 34px; align-items: center; font-size: 12px; }
.masthead nav a { text-decoration: none; padding-block: 12px; }
.masthead nav a span { display: inline-block; margin-left: 8px; transition: transform 200ms ease; }
.masthead nav a:hover span { transform: translate(3px, -3px); }
.motion-switch { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 80; display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 7px 12px; border: 1px solid #655c54; border-radius: 30px; background: var(--ink); color: var(--paper); font-size: 11px; box-shadow: 0 3px 20px #0003; }
.motion-indicator { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.motion-switch[aria-pressed="false"] .motion-indicator { background: var(--muted); }

/* Opening scene. The unenhanced page remains an ordinary document. */
.opening { position: relative; }
.opening-stage { position: relative; min-height: 800px; height: 100svh; overflow: hidden; isolation: isolate; }
.stage-lines { position: absolute; inset: -20%; z-index: -1; background: repeating-linear-gradient(112deg, transparent 0 14.5%, #f3eddf09 14.6% 14.7%, transparent 14.8% 29%); transform: rotate(-3deg); pointer-events: none; }
.edition { position: absolute; top: 20%; left: var(--gutter); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.edition span { margin-left: 28px; color: var(--muted); }
h1 { position: absolute; top: 26%; left: var(--gutter); font-weight: 400; line-height: .86; letter-spacing: -.07em; z-index: 2; }
.title-lead { font-weight: 550; display: block; font-size: clamp(52px, 6.3vw, 112px); letter-spacing: -.05em; }
.title-year { font-weight: 600; display: block; position: relative; margin-top: 22px; font-size: clamp(165px, 26vw, 450px); letter-spacing: -.045em; line-height: .9; }
.year-dot { color: var(--red); }
.harbour-frame { position: absolute; z-index: 1; right: 7%; top: 19%; width: 37%; max-width: 590px; transform: rotate(9deg); }
.harbour-paper { padding: 11px; background: var(--paper); box-shadow: 0 22px 55px #0005; }
.harbour-paper img { width: 100%; height: auto; }
.harbour-paper figcaption { color: var(--ink); padding: 12px 7px 5px; font: 400 10px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: .02em; }
.orbit-mark { position: absolute; width: 164px; height: 164px; bottom: 16%; right: 8%; z-index: 3; color: var(--paper); }
.orbit-mark text { fill: currentColor; font: 400 11px "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: 2px; }
.orbit-mark circle { fill: var(--red); }
.orbit-mark .orbit-background { fill: var(--ink); }
.orbit-arrow { fill: none; stroke: currentColor; stroke-width: 1.2; }
.floating-dot { position: absolute; border: 1px solid #b7a794; border-radius: 50%; pointer-events: none; }
.dot-one { width: 70px; height: 70px; left: 45%; top: 12%; }
.dot-two { width: 16px; height: 16px; right: 4%; top: 60%; background: var(--red); border: 0; }
.opening-bottom { position: absolute; inset: auto var(--gutter) 39px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.opening-bottom > p:first-child { font-size: 20px; line-height: 1.4; }
.opening-bottom em { font-size: 25px; }
.event-caption { text-align: right; font-size: 10px; color: var(--muted); letter-spacing: .025em; }
.scroll-cue { display: flex; align-items: center; gap: 30px; color: var(--paper); font-size: 11px; text-decoration: none; }
.scroll-arrow { display: grid; width: 50px; height: 50px; place-items: center; border: 1px solid #655c54; border-radius: 50%; font-size: 22px; transition: transform 250ms ease; }
.scroll-cue:hover .scroll-arrow { transform: translateY(5px); }

/* Scroll transformations never hide meaningful text. */
body.motion-enabled .opening { height: max(175svh, 800px); }
body.motion-enabled .opening-stage { position: sticky; top: 0; }
body.motion-enabled .title-year { transform: translate3d(calc(var(--hero-progress) * -35px), calc(var(--hero-progress) * -30px), 0); }
body.motion-enabled .title-lead { transform: translate3d(calc(var(--hero-progress) * 24px), calc(var(--hero-progress) * -35px), 0); }
body.motion-enabled .harbour-frame { transform: translate3d(calc(var(--hero-progress) * -52px), calc(var(--hero-progress) * 22px), 0) rotate(calc(9deg - var(--hero-progress) * 16deg)) scale(calc(1 + var(--hero-progress) * .09)); }
body.motion-enabled .orbit-mark { transform: rotate(calc(var(--hero-progress) * 230deg)); }
body.motion-enabled .dot-one { transform: translate3d(calc(var(--hero-progress) * 90px), calc(var(--hero-progress) * 48px), 0) scale(calc(1 + var(--hero-progress) * .6)); }
body.motion-enabled .dot-two { transform: translate3d(calc(var(--hero-progress) * -90px), calc(var(--hero-progress) * -90px), 0); }

/* Second scene uses readable cards with native disclosure controls. */
.questions { position: relative; padding: 150px var(--gutter) 95px; background: var(--paper); color: var(--ink); overflow: hidden; }
.ribbon { position: absolute; top: 18px; left: -8%; width: 116%; padding: 16px 0; background: var(--red); color: var(--paper); transform: rotate(-3deg); overflow: hidden; }
.ribbon-track { width: max-content; font-size: clamp(24px, 3vw, 44px); line-height: 1.05; letter-spacing: -.035em; white-space: nowrap; }
.ribbon-track span { font-family: inherit; font-weight: 600; margin-inline: 16px 40px; }
body.motion-enabled .ribbon-track { transform: translate3d(calc(var(--deck-progress) * -200px), 0, 0); }
.questions-heading { max-width: 1050px; margin: 20px auto 70px; display: grid; grid-template-columns: 1.6fr 1fr; align-items: end; gap: 24px 70px; }
.eyebrow { font-size: 10px; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; }
.questions-heading .eyebrow { grid-column: 1 / -1; }
h2 { font-size: clamp(46px, 6vw, 90px); font-weight: 550; letter-spacing: -.045em; line-height: 1.02; }
.questions-intro { max-width: 340px; font-size: 15px; line-height: 1.7; padding-bottom: 3px; }
.idea-deck { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1120px; margin: 0 auto; align-items: start; perspective: 1500px; padding: 30px 10px 50px; }
.idea-card { position: relative; min-width: 0; min-height: 420px; padding: 27px 26px 22px; border: 1px solid #28201b; transform-origin: center 80%; box-shadow: 0 12px 20px #1b141312; transition: box-shadow 200ms ease; }
.card-learn { background: var(--paper); transform: rotate(-7deg); z-index: 1; }
.card-live { background: var(--paper); transform: translateY(17px) rotate(3deg); z-index: 3; }
.card-belong { background: var(--paper); transform: rotate(7deg); z-index: 2; }
body.motion-enabled .card-learn { transform: rotate(calc(-10deg + var(--deck-progress) * 9deg)) translateY(calc((1 - var(--deck-progress)) * 20px)); }
body.motion-enabled .card-live { transform: rotate(calc(5deg - var(--deck-progress) * 5deg)) translateY(calc((1 - var(--deck-progress)) * 35px)); }
body.motion-enabled .card-belong { transform: rotate(calc(10deg - var(--deck-progress) * 9deg)) translateY(calc((1 - var(--deck-progress)) * 20px)); }
.idea-card:focus-within { z-index: 5; }
.idea-card:hover { box-shadow: 0 18px 35px #1b141325; }
.card-kicker { display: flex; justify-content: space-between; align-items: center; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.card-kicker > span:last-child { font-size: 22px; color: var(--red); }
.card-symbol { color: var(--red); width: 125px; height: 105px; margin: 25px auto 24px; position: relative; }
.symbol-learn span { position: absolute; width: 68px; height: 68px; border: 1px solid currentColor; inset: 18px auto auto 28px; }
.symbol-learn span:nth-child(2) { transform: rotate(30deg); }
.symbol-learn span:nth-child(3) { transform: rotate(60deg); }
.symbol-live span { position: absolute; border: 1px solid currentColor; border-radius: 50%; inset: 13px auto auto 10px; width: 82px; height: 82px; }
.symbol-live span:nth-child(2) { left: 32px; }
.symbol-live span:nth-child(3) { left: 54px; width: 38px; }
.symbol-belong span { position: absolute; width: 65px; height: 65px; border: 1px solid currentColor; border-radius: 50%; inset: 7px auto auto 30px; }
.symbol-belong span:nth-child(2) { top: 35px; left: 8px; }
.symbol-belong span:nth-child(3) { top: 35px; left: 53px; }
.idea-card h3 { font-size: clamp(24px, 2.6vw, 39px); line-height: 1.15; letter-spacing: -.035em; font-weight: 400; margin-bottom: 28px; }
.idea-card details { border-top: 1px solid #16121155; }
.idea-card summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 0 0; cursor: pointer; font-size: 11px; list-style: none; }
.idea-card summary::-webkit-details-marker { display: none; }
.idea-card summary span { font-size: 20px; transition: transform 200ms ease; }
.idea-card details[open] summary span { transform: rotate(45deg); }
.idea-card details p { font-size: 13px; line-height: 1.7; padding-top: 15px; }
.question-note { text-align: center; font-size: 11px; color: #625a53; margin-top: 18px; }

/* Arrival section keeps essential information in visible HTML. */
.take-part { padding: 95px var(--gutter) 65px; background: var(--ink); color: var(--paper); }
.take-part h2 { margin-top: 28px; }
.take-part .eyebrow::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--red); }
.participation-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 850px; margin: 40px 0 55px; font-size: 15px; line-height: 1.7; }
.event-strip { display: grid; grid-template-columns: 1fr 1.2fr 1.6fr .7fr; gap: 35px; padding: 25px 0; border-block: 1px solid #f3eddf55; }
.event-strip > div > span { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.event-strip p { margin-top: 10px; font-size: 14px; }
.event-strip small { font-size: 11px; opacity: .8; }
.visit-line { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-top: 26px; }
.visit-line > p { font-size: 12px; }
.visit-button { display: flex; align-items: center; justify-content: space-between; min-height: 50px; gap: 50px; border: 0; border-bottom: 1px solid var(--paper); padding: 10px 0; background: transparent; font-size: 14px; }
.visit-button span { font-size: 28px; transition: transform 200ms ease; }
.visit-button:hover span { transform: rotate(45deg); }
.site-footer { padding: 42px var(--gutter) 90px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; }
.footer-brand { display: flex; gap: 25px; align-items: start; text-decoration: none; font-size: 19px; }
.site-footer p { font-size: 11px; line-height: 1.7; color: var(--muted); max-width: 570px; }
.site-footer p + p { margin-top: 12px; }
.site-footer p a { text-underline-offset: 3px; }

/* Native dialog supports keyboard dismissal and focus management. */
dialog { max-width: 600px; width: calc(100% - 32px); max-height: calc(100svh - 32px); border: 0; padding: 0; color: var(--ink); background: var(--paper); overscroll-behavior: contain; }
dialog::backdrop { background: #000b; }
.dialog-content { padding: 32px; }
.dialog-top { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.dialog-top button { border: 0; background: none; font-size: 33px; min-width: 44px; min-height: 44px; }
.dialog-content h2 { font-size: clamp(36px, 5vw, 58px); margin: 24px 0; }
.dialog-content > p { font-size: 14px; line-height: 1.7; margin-top: 18px; }
.dialog-return { display: flex; justify-content: space-between; width: 100%; margin-top: 28px; padding: 15px; border: 0; background: var(--ink); color: var(--paper); font-size: 13px; }

@media (min-width: 1700px) {
  .harbour-frame { right: 12%; }
}

@media (max-width: 1050px) {
  .masthead nav { gap: 21px; }
  .harbour-frame { right: 5%; top: 24%; width: 43%; }
  .title-lead { font-size: 65px; }
  .title-year { font-size: 28vw; }
  .orbit-mark { width: 135px; height: 135px; right: 7%; }
  .questions-heading { gap: 24px 40px; }
  .idea-deck { gap: 10px; padding-inline: 0; }
  .idea-card { padding: 23px 19px; min-height: 400px; }
  .idea-card h3 { font-size: 30px; }
  .event-strip { gap: 22px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 24px; }
  .masthead { padding-top: 23px; gap: 20px; flex-wrap: wrap; }
  .brand { font-size: 23px; }
  .masthead nav { gap: 18px; font-size: 11px; }
  .masthead nav a { display: none; }
  .motion-switch { padding-inline: 11px; }
  .opening-stage { min-height: 980px; height: auto; padding-bottom: 26px; }
  .edition { top: 142px; font-size: 10px; }
  h1 { top: 189px; }
  .title-lead { font-size: clamp(44px, 9vw, 65px); }
  .title-year { font-size: clamp(128px, 31vw, 235px); margin-top: 12px; }
  .harbour-frame { top: 420px; width: min(65%, 370px); right: 12%; transform: rotate(6deg); }
  .orbit-mark { width: 112px; height: 112px; top: 415px; bottom: auto; left: 4%; right: auto; }
  .dot-one { top: 128px; left: auto; right: 12%; width: 35px; height: 35px; }
  .dot-two { right: 9%; top: 780px; }
  .opening-bottom { bottom: 30px; align-items: center; }
  .opening-bottom > p:first-child { font-size: 16px; }
  .opening-bottom em { font-size: 22px; }
  .event-caption { display: none; }
  .scroll-cue { gap: 12px; }
  .scroll-cue > span:first-child { max-width: 55px; }
  .scroll-arrow { width: 40px; height: 40px; }
  body.motion-enabled .opening { height: auto; }
  body.motion-enabled .opening-stage { position: relative; }
  body.motion-enabled .harbour-frame { transform: translate3d(0, calc(var(--hero-progress) * -20px), 0) rotate(calc(6deg - var(--hero-progress) * 10deg)); }
  body.motion-enabled .title-year { transform: translate3d(calc(var(--hero-progress) * -12px), 0, 0); }
  body.motion-enabled .title-lead { transform: none; }
  body.motion-enabled .orbit-mark { transform: rotate(calc(var(--hero-progress) * 120deg)); }
  .questions { padding-top: 130px; padding-bottom: 55px; }
  .questions-heading { grid-template-columns: 1fr; gap: 23px; margin-bottom: 40px; }
  .questions-intro { max-width: 480px; }
  h2 { font-size: clamp(43px, 9vw, 65px); }
  .idea-deck { grid-template-columns: 1fr; gap: 25px; max-width: 440px; padding: 12px 9px 30px; }
  .idea-card { min-height: 350px; padding: 26px; }
  .idea-card h3 { font-size: 36px; }
  .card-symbol { margin-top: 10px; margin-bottom: 16px; }
  .card-learn { transform: rotate(-3deg); }
  .card-live { transform: rotate(2deg); }
  .card-belong { transform: rotate(-2deg); }
  body.motion-enabled .card-learn { transform: rotate(calc(-3deg + var(--deck-progress) * 2deg)); }
  body.motion-enabled .card-live { transform: rotate(calc(2deg - var(--deck-progress) * 2deg)); }
  body.motion-enabled .card-belong { transform: rotate(calc(-2deg + var(--deck-progress) * 1deg)); }
  .question-note { text-align: left; }
  .take-part { padding-top: 60px; }
  .participation-copy { grid-template-columns: 1fr; gap: 20px; margin: 30px 0 35px; }
  .event-strip { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .visit-line { align-items: start; flex-direction: column; gap: 15px; }
  .visit-button { width: 100%; }
  .site-footer { grid-template-columns: 1fr; gap: 27px; }
}

@media (max-width: 370px) {
  :root { --gutter: 20px; }
  .brand { font-size: 21px; }
  .edition span { margin-left: 17px; }
  .opening-stage { min-height: 900px; }
  .harbour-frame { top: 395px; width: 72%; right: 8%; }
  .orbit-mark { top: 620px; left: 3%; width: 100px; height: 100px; }
  .opening-bottom > p:first-child { font-size: 14px; }
  .opening-bottom em { font-size: 18px; }
  .scroll-cue { gap: 7px; font-size: 10px; }
  .dot-two { top: 730px; }
  .idea-card { padding: 21px; }
}

body.motion-paused .opening { height: auto; }
body.motion-paused .opening-stage { position: relative; }
body.motion-paused .title-lead,
body.motion-paused .title-year,
body.motion-paused .orbit-mark,
body.motion-paused .floating-dot,
body.motion-paused .ribbon-track,
body.motion-paused .idea-card { transform: none; }
body.motion-paused .harbour-frame { transform: none; }
body.motion-paused *, body.motion-paused *::before, body.motion-paused *::after { transition: none !important; }
html:has(body.motion-paused) { scroll-behavior: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  body.motion-enabled .opening { height: auto; }
  body.motion-enabled .opening-stage { position: relative; }
  .title-lead, .title-year, .harbour-frame, .orbit-mark, .floating-dot, .ribbon-track, .idea-card { transform: none !important; }
}
