:root {
  --ink: #0c1210;
  --sand: #ebe3d3;
  --gold: #c9a15a;
  --ocean: #1c3d3a;
  --dusk: #ff7a4d;
  --muted: rgba(235, 227, 211, 0.64);
  --line: rgba(235, 227, 211, 0.24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; overflow-x: hidden; background: var(--ink); color: var(--sand); font-family: "DM Sans", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header { position: fixed; z-index: 20; display: flex; align-items: flex-start; justify-content: space-between; width: 100%; padding: 1.7rem clamp(1.25rem, 4vw, 4.5rem); mix-blend-mode: normal; pointer-events: none; }
.site-header > * { pointer-events: auto; }
.brand { display: grid; gap: .17rem; width: fit-content; color: var(--sand); }
.brand span { font-family: "DM Mono", monospace; font-size: .9rem; font-weight: 500; letter-spacing: .22em; }
.brand small { font-family: "DM Mono", monospace; font-size: .51rem; letter-spacing: .18em; opacity: .72; }
.header-cta { display: flex; gap: .7rem; align-items: center; border-bottom: 1px solid var(--gold); padding: .15rem 0 .45rem; font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.header-cta span { color: var(--gold); font-size: 1rem; }

.experience { height: 680vh; position: relative; }
.experience-sticky { position: sticky; top: 0; height: 100vh; min-height: 36rem; overflow: hidden; background: #0a1718; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.video-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 10, 9, .69) 0%, rgba(6, 10, 9, .15) 54%, rgba(6, 10, 9, .42) 100%), linear-gradient(0deg, rgba(6, 10, 9, .68), transparent 45%); transition: opacity .3s; }
.film-grain { position: absolute; inset: 0; pointer-events: none; opacity: .14; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }
.hero-copy { position: absolute; z-index: 2; top: 50%; left: clamp(1.25rem, 8vw, 9rem); transform: translateY(-48%); max-width: 42rem; transition: opacity .4s, transform .4s; }
.eyebrow, .section-kicker { margin: 0; color: var(--sand); font-family: "DM Mono", monospace; font-size: .66rem; letter-spacing: .15em; line-height: 1.5; text-transform: uppercase; }
.hero-copy .eyebrow { color: var(--gold); margin-bottom: 1.25rem; }
h1, h2, h3 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-weight: 500; line-height: .94; }
h1 { font-size: clamp(3.8rem, 8vw, 8.8rem); letter-spacing: -.055em; }
em { color: var(--gold); font-style: italic; }
.hero-subtitle { margin: 2rem 0 0; color: var(--muted); font-size: clamp(.84rem, 1.3vw, 1rem); }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 1.9rem; display: flex; gap: .55rem; align-items: center; color: var(--sand); font-family: "DM Mono", monospace; font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; transform: translateX(-50%); white-space: nowrap; }
.scroll-cue span { display: block; width: .4rem; height: .4rem; border: 1px solid var(--gold); border-radius: 50%; animation: pulse 1.7s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: .25; transform: scale(.75); } 50% { opacity: 1; transform: scale(1); } }

.story-cards { position: absolute; z-index: 4; inset: 0; pointer-events: none; }
.story-card { position: absolute; top: 50%; left: clamp(1.25rem, 10vw, 12rem); width: min(25rem, calc(100vw - 3rem)); min-height: 16.5rem; padding: 2.15rem; border: 1px solid rgba(201, 161, 90, .72); border-left-width: 3px; background: rgba(9, 16, 14, .69); box-shadow: 0 1.25rem 5rem rgba(0, 0, 0, .28); backdrop-filter: blur(14px); opacity: 0; transform: translateY(-44%) translateX(-1.7rem); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1); }
.story-card--right { left: auto; right: clamp(1.25rem, 10vw, 12rem); transform: translateY(-44%) translateX(1.7rem); }
.story-card.is-active { opacity: 1; transform: translateY(-50%) translateX(0); }
.story-number { position: absolute; top: 1.15rem; right: 1.25rem; color: var(--gold); font-family: "DM Mono", monospace; font-size: 3.2rem; line-height: 1; opacity: .2; }
.story-card .eyebrow { color: var(--gold); margin-bottom: 1.4rem; }
.story-card h2 { max-width: 16rem; font-size: clamp(2.25rem, 4vw, 4.3rem); }
.story-card > p:last-of-type { max-width: 18rem; margin: 1.45rem 0 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.text-link { display: inline-flex; gap: 1rem; margin-top: 2rem; border-bottom: 1px solid var(--gold); padding-bottom: .45rem; color: var(--sand); font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; pointer-events: auto; }
.text-link span { color: var(--gold); }
.chapter-index { position: absolute; z-index: 5; top: 50%; right: clamp(1.25rem, 4vw, 4.5rem); display: flex; flex-direction: column; gap: .6rem; align-items: center; transform: translateY(-50%); }
.index-line { display: block; width: 1px; height: 4rem; background: rgba(235, 227, 211, .4); }
.index-dot { width: .55rem; height: .55rem; border: 1px solid rgba(235, 227, 211, .72); border-radius: 50%; padding: 0; background: transparent; cursor: pointer; transition: background .2s, transform .2s; }
.index-dot.is-active { border-color: var(--gold); background: var(--gold); transform: scale(1.18); }

.section-shell { width: min(100%, 88rem); margin: auto; padding-inline: clamp(1.25rem, 7vw, 8rem); }
.event-intro { padding-top: clamp(6rem, 13vw, 12rem); padding-bottom: clamp(6rem, 13vw, 12rem); }
.section-kicker { color: var(--gold); }
.intro-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(2rem, 8vw, 11rem); align-items: end; margin-top: 2.1rem; }
.intro-layout h2, .open-bar h2, .choices h2, .closing h2 { font-size: clamp(3.5rem, 7vw, 7.6rem); letter-spacing: -.055em; }
.intro-layout p { margin: 0; color: var(--muted); font-size: 1.08rem; line-height: 1.65; }
.intro-address { margin-top: 2.2rem !important; border-left: 1px solid var(--gold); padding-left: 1rem; color: var(--sand) !important; font-family: "DM Mono", monospace; font-size: .69rem !important; line-height: 1.75 !important; letter-spacing: .08em; text-transform: uppercase; }

.open-bar { position: relative; overflow: hidden; border-block: 1px solid rgba(201, 161, 90, .32); padding: clamp(5rem, 10vw, 9rem) 0; background: linear-gradient(135deg, #122d2a 0%, #0c1210 65%); }
.open-bar::after { content: "27"; position: absolute; right: -1rem; bottom: -3.4rem; color: rgba(201, 161, 90, .08); font-family: "Playfair Display", serif; font-size: min(42vw, 38rem); font-style: italic; line-height: .8; pointer-events: none; }
.open-bar > .section-shell { position: relative; z-index: 1; }
.open-bar-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-top: 2rem; }
.open-bar-heading p { max-width: 18rem; margin: 0 0 .6rem; color: var(--muted); font-size: .96rem; line-height: 1.55; }
.bar-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: clamp(3.5rem, 7vw, 6rem) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.bar-list li { display: flex; gap: 1.15rem; align-items: baseline; border-bottom: 1px solid var(--line); padding: 1.3rem .2rem; color: var(--sand); font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.45rem, 2.3vw, 2.15rem); }
.bar-list li:nth-child(odd) { margin-right: 2rem; }
.bar-list li span { color: var(--gold); font-family: "DM Mono", monospace; font-size: .58rem; letter-spacing: .1em; }

.choices { padding-top: clamp(6rem, 12vw, 11rem); padding-bottom: clamp(6rem, 12vw, 11rem); }
.choices-heading { display: flex; justify-content: space-between; align-items: end; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 4rem; border-top: 1px solid var(--line); }
.choice-card { position: relative; display: flex; min-height: 25rem; flex-direction: column; justify-content: space-between; overflow: hidden; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.55rem; transition: background .35s ease, color .35s ease; }
.choice-card:first-child { border-left: 1px solid var(--line); }
.choice-card::after { content: "↗"; position: absolute; right: 1.5rem; top: 1.1rem; color: var(--gold); font-size: 1.25rem; opacity: 0; transform: translate(-.4rem, .4rem); transition: opacity .3s, transform .3s; }
.choice-card:hover { background: var(--sand); color: var(--ink); }
.choice-card:hover::after { opacity: 1; transform: translate(0); }
.choice-card .eyebrow { color: var(--gold); }
.choice-card h3 { font-size: clamp(2.5rem, 4.2vw, 4.5rem); letter-spacing: -.055em; }
.choice-action { display: flex; justify-content: space-between; border-bottom: 1px solid currentColor; padding-bottom: .65rem; font-size: .69rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.choice-action b { color: var(--gold); font-size: 1rem; line-height: .7; }

.closing { display: grid; min-height: 81vh; place-items: center; padding: 6rem 1.25rem; background: radial-gradient(circle at 50% 30%, rgba(194, 111, 51, .3), transparent 44%), #120e0b; text-align: center; }
.closing-inner { display: flex; align-items: center; flex-direction: column; }
.closing .eyebrow { color: var(--gold); }
.closing h2 { margin-top: 1.6rem; }
.primary-cta { margin-top: 3rem; border: 1px solid var(--gold); padding: 1rem 1.2rem 1rem 1.35rem; color: var(--sand); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; transition: background .25s, color .25s; }
.primary-cta span { margin-left: .8rem; color: var(--gold); font-size: 1rem; }
.primary-cta:hover { background: var(--gold); color: var(--ink); }
.primary-cta:hover span { color: var(--ink); }
footer { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding: 2.5rem clamp(1.25rem, 4vw, 4.5rem); background: #080d0b; color: var(--muted); font-family: "DM Mono", monospace; font-size: .58rem; letter-spacing: .09em; text-transform: uppercase; }
footer .brand { color: var(--sand); } footer p { margin: 0; } footer > a:last-child { border-bottom: 1px solid var(--gold); padding-bottom: .3rem; }

@media (max-width: 680px) {
  .site-header { padding: 1.25rem; }
  .header-cta { font-size: .59rem; }
  .brand span { font-size: .74rem; } .brand small { font-size: .45rem; }
  .experience { height: 640vh; }
  .experience-sticky { min-height: 38rem; }
  .video-shade { background: linear-gradient(180deg, rgba(5, 8, 7, .35), rgba(5, 8, 7, .12) 34%, rgba(5, 8, 7, .85) 100%); }
  .hero-copy { top: auto; bottom: 5.8rem; left: 1.25rem; right: 1.5rem; transform: none; }
  h1 { font-size: clamp(3.65rem, 17vw, 5.3rem); }
  .hero-copy .eyebrow { margin-bottom: .9rem; font-size: .56rem; } .hero-subtitle { margin-top: 1.1rem; font-size: .75rem; }
  .story-card, .story-card--right { top: auto; bottom: 5rem; left: 1.25rem; right: 1.25rem; width: auto; min-height: 14rem; padding: 1.45rem; transform: translateY(1.3rem); }
  .story-card.is-active { transform: translateY(0); }
  .story-card h2 { font-size: 2.8rem; } .story-card > p:last-of-type { margin-top: 1rem; font-size: .8rem; }
  .story-number { font-size: 2.5rem; }
  .chapter-index { top: auto; right: 1.25rem; bottom: 2rem; flex-direction: row; transform: none; }
  .index-line { width: 3rem; height: 1px; } .scroll-cue { display: none; }
  .intro-layout { grid-template-columns: 1fr; gap: 2rem; }
  .intro-layout h2, .open-bar h2, .choices h2, .closing h2 { font-size: clamp(3.15rem, 14vw, 4.6rem); }
  .open-bar-heading, .choices-heading { display: block; } .open-bar-heading p { margin-top: 1.5rem; }
  .bar-list { grid-template-columns: 1fr; margin-top: 3rem; } .bar-list li:nth-child(odd) { margin-right: 0; }
  .choice-grid { grid-template-columns: 1fr; margin-top: 2.5rem; } .choice-card, .choice-card:first-child { min-height: 16.5rem; border-left: 1px solid var(--line); }
  footer { align-items: flex-start; flex-direction: column; padding: 2rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .scroll-cue span { animation: none; } .story-card, .choice-card, .choice-card::after { transition: none; } }

/* Text belongs to the film; it never sits inside a card. */
.story-lines { position: absolute; z-index: 4; inset: 0; pointer-events: none; }
.story-line { position: absolute; top: 50%; left: clamp(1.25rem, 8vw, 9rem); width: min(43rem, calc(100vw - 12rem)); transform: translateY(-45%) translateX(-1.5rem); opacity: 0; transition: opacity .7s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.story-line--right { right: clamp(4.5rem, 10vw, 12rem); left: auto; text-align: right; transform: translateY(-45%) translateX(1.5rem); }
.story-line.is-active { transform: translateY(-50%) translateX(0); opacity: 1; }
.story-line .eyebrow { margin-bottom: 1.1rem; color: var(--gold); }
.story-line h2 { font-size: clamp(3.8rem, 7.4vw, 8.2rem); letter-spacing: -.06em; }
.story-line h2.open-bar-copy { font-size: clamp(3rem, 5.2vw, 5.85rem); line-height: .91; }
.story-line > p:last-child { max-width: 31rem; margin: 1.55rem 0 0; color: var(--sand); font-size: clamp(.82rem, 1.25vw, 1rem); line-height: 1.6; }
.story-line--right > p:last-child { margin-left: auto; }

@media (max-width: 680px) {
  .story-line, .story-line--right { top: auto; bottom: 5.1rem; left: 1.25rem; right: 1.25rem; width: auto; text-align: left; transform: translateY(1.25rem); }
  .story-line.is-active { transform: translateY(0); }
  .story-line h2 { font-size: clamp(3.15rem, 14vw, 4.5rem); }
  .story-line h2.open-bar-copy { font-size: clamp(2.4rem, 10.7vw, 3.6rem); }
  .story-line > p:last-child, .story-line--right > p:last-child { margin: 1.1rem 0 0; font-size: .75rem; }
}

/* Main-site navigation language: compact controls that unfold over the film. */
.utility-controls { position: fixed; z-index: 25; top: 5.1rem; right: clamp(1.25rem, 4vw, 4.5rem); display: flex; gap: .55rem; }
.utility-button { display: inline-flex; align-items: center; gap: .72rem; border: 1px solid rgba(235, 227, 211, .46); padding: .62rem .72rem; background: rgba(8, 13, 11, .45); color: var(--sand); cursor: pointer; font-family: "DM Mono", monospace; font-size: .57rem; letter-spacing: .11em; text-transform: uppercase; backdrop-filter: blur(10px); transition: border-color .2s, background .2s; }
.utility-button:hover, .utility-button[aria-expanded="true"] { border-color: var(--gold); background: rgba(8, 13, 11, .8); }
.utility-button b { color: var(--gold); font-size: .8rem; font-weight: 400; line-height: .5; }
.utility-panel { position: fixed; z-index: 24; top: 7.75rem; right: clamp(1.25rem, 4vw, 4.5rem); display: grid; width: min(18rem, calc(100vw - 2.5rem)); border: 1px solid rgba(201, 161, 90, .66); background: rgba(8, 13, 11, .91); box-shadow: 0 1.2rem 4rem rgba(0, 0, 0, .32); opacity: 0; pointer-events: none; transform: translateY(-.75rem); transition: opacity .2s ease, transform .2s ease; backdrop-filter: blur(18px); }
.utility-panel.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.panel-label { margin: 0; border-bottom: 1px solid var(--line); padding: .95rem 1rem .75rem; color: var(--gold); font-family: "DM Mono", monospace; font-size: .57rem; letter-spacing: .14em; text-transform: uppercase; }
.index-panel button, .index-panel a { display: flex; align-items: center; gap: .8rem; width: 100%; border: 0; border-bottom: 1px solid rgba(235, 227, 211, .12); padding: .82rem 1rem; background: none; color: var(--sand); cursor: pointer; text-align: left; transition: background .2s; }
.index-panel button:hover, .index-panel a:hover { background: rgba(201, 161, 90, .12); }
.index-panel span { color: var(--gold); font-family: "DM Mono", monospace; font-size: .58rem; }
.index-panel i { font-family: "DM Sans", sans-serif; font-size: .81rem; font-style: normal; }
.language-panel { right: clamp(1.25rem, 4vw, 4.5rem); }
.language-option { display: flex; gap: .7rem; align-items: center; border: 0; border-bottom: 1px solid rgba(235, 227, 211, .12); padding: .82rem 1rem; background: none; color: var(--sand); cursor: pointer; font-family: "DM Sans", sans-serif; font-size: .83rem; text-align: left; }
.language-option:hover, .language-option.is-active { background: rgba(201, 161, 90, .12); }
.language-option.is-active::after { content: "•"; margin-left: auto; color: var(--gold); }
.scroll-cue { gap: .45rem; }
.scroll-cue .scroll-arrow { width: auto; height: auto; border: 0; border-radius: 0; color: var(--gold); font-family: "DM Sans", sans-serif; font-size: 1.15rem; line-height: 1; animation: scrollBreathe 1.7s ease-in-out infinite; }
.scroll-cue b { font-weight: 500; }
@keyframes scrollBreathe { 0%, 100% { opacity: .3; transform: translateY(-.18rem); } 50% { opacity: 1; transform: translateY(.18rem); } }

@media (max-width: 680px) {
  .utility-controls { top: 4.55rem; right: 1.25rem; gap: .38rem; }
  .utility-button { padding: .5rem .55rem; font-size: .5rem; }
  .utility-panel { top: 6.65rem; right: 1.25rem; }
  .scroll-cue { bottom: 1.65rem; }
}
