@import url('../fonts/font-face.css');

/* One cinematic room: charcoal, amber light and detailed gold and a closed jewel chest. */
:root {
  color-scheme: dark;
  --night: #141310;
  --night-soft: #211f1a;
  --ink: #f9f7f0;
  --muted: #cbc6bb;
  --gold: #ffac00;
  --gold-soft: #e5b65a;
  --line: #e6d9bd28;
  --font-display: 'Archivo Black', Impact, 'Arial Black', sans-serif;
  --font-body: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  font-family: var(--font-body);
  font-synthesis: none;
  color: var(--ink);
  background: var(--night);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; line-height: 1.65; }
a { color: inherit; text-underline-offset: .25em; }
button { font: inherit; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
::selection { color: #211c13; background: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 6px; }
.container { width: min(1500px, calc(100% - 104px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 40; top: 1rem; left: 1rem; padding: .8rem 1.2rem; color: var(--night); background: var(--gold); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.site-header { position: relative; z-index: 20; background: #141310f2; }
.vault-page .site-header { position: absolute; inset: 0 0 auto; background: linear-gradient(#141310ba, #14131000); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 100px; }
.brand, .footer-brand { position: relative; display: block; aspect-ratio: 4.25; min-height: 44px; text-decoration: none; }
.brand { width: 300px; flex: 0 1 300px; min-width: 0; color: var(--gold); font-family: var(--font-display); font-size: 1.8rem; line-height: 1.2; letter-spacing: -.04em; }
.brand:not(:has(img)) { display: flex; align-items: center; aspect-ratio: auto; }
.brand img, .footer-brand img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 14px; font-weight: 600; }
.site-nav a:hover { color: var(--gold); }
.menu-toggle { flex: 0 0 68px; width: 68px; min-height: 44px; padding: .45rem .5rem; color: var(--ink); border: 1px solid #e6d9bd3b; background: #211f1adb; cursor: pointer; }

/* The hall is stable; only the chest follows the visitor's native document scroll. */
[data-vault] { --vault-progress: 0; --vault-glow: .3; --chest-x: 0px; --chest-y: 0px; --chest-angle: 0deg; --chest-scale: 1; position: relative; isolation: isolate; }
.vault-story { position: relative; }
.vault-stage { position: sticky; top: 0; height: 100svh; overflow: clip; pointer-events: none; background: #211f1a; }
.vault-hall { position: absolute; inset: 0; }
.vault-hall img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.hall-shade { position: absolute; inset: 0; background: linear-gradient(#19171242, transparent 22%, #1917121a 54%, #141310d1), linear-gradient(90deg, #19171236, transparent 70%); }
.vault-floor-glow { position: absolute; z-index: 1; right: -1%; bottom: 3%; width: 63%; height: 32%; opacity: calc(.14 + var(--vault-glow) * .6); background: radial-gradient(ellipse, #ffb82e77, #ffac001f 46%, transparent 68%); transform: translate3d(0, var(--vault-shift, 0px), 0); }
.chest-scene { position: absolute; z-index: 2; right: -3%; top: 8%; width: 62%; height: 84%; transform: translate3d(var(--chest-x), var(--chest-y), 0) rotate(var(--chest-angle)) scale(var(--chest-scale)); transform-origin: 50% 58%; will-change: transform; }
.chest-art { position: absolute; z-index: 2; inset: 0; }
.chest-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; filter: drop-shadow(0 28px 22px #08080585) drop-shadow(0 0 16px #ffc15a14); }
.chest-sheen { position: absolute; inset: 0; opacity: .18; mix-blend-mode: screen; pointer-events: none; -webkit-mask: url('../images/vault-jewel-gold-1280.webp') center / contain no-repeat; mask: url('../images/vault-jewel-gold-1280.webp') center / contain no-repeat; background: linear-gradient(110deg, transparent 43%, #ffcf820a 46%, #fff8e67a 49%, #ffe4b224 52%, transparent 56%); background-size: 260% 100%; background-position: calc(140% - var(--vault-progress) * 200%) center; }
.treasure-aura { position: absolute; z-index: 1; inset: -10%; pointer-events: none; }
.treasure-aura__core { position: absolute; inset: 8% 4%; opacity: calc(.55 + var(--vault-glow) * .4); background: radial-gradient(ellipse at 51% 51%, #fff5da27, #ffac0020 30%, #ffac0012 43%, #ffac0019 55%, transparent 73%); filter: blur(22px); }
.treasure-aura__orbit { position: absolute; inset: 10% 7%; opacity: calc(.12 + var(--vault-glow) * .23); background: radial-gradient(ellipse, transparent 44%, #ffbd423b 51%, #ffd58b1c 59%, #ffcf821a 64%, transparent 73%); filter: blur(12px); }
.treasure-spark { position: absolute; width: 4px; height: 4px; border-radius: 50%; color: #fff1d0; background: currentColor; box-shadow: 0 0 9px 2px #ffbc426e; opacity: .55; animation: treasure-twinkle 6s ease-in-out infinite; }
.treasure-spark::before, .treasure-spark::after { content: ''; position: absolute; background: linear-gradient(transparent, currentColor, transparent); }
.treasure-spark::before { width: 1px; height: 22px; left: 1.5px; top: -9px; }
.treasure-spark::after { width: 22px; height: 1px; top: 1.5px; left: -9px; background: linear-gradient(90deg, transparent, currentColor, transparent); }
.treasure-spark--1 { left: 15%; top: 25%; animation-delay: -.8s; }
.treasure-spark--2 { right: 14%; top: 24%; animation-delay: -3.1s; }
.treasure-spark--3 { right: 7%; bottom: 30%; animation-delay: -4.5s; }
.treasure-spark--4 { left: 9%; bottom: 24%; animation-delay: -1.9s; }
.vault-stage[data-paused='true'] .treasure-spark { animation-play-state: paused; }
.vault-stage[data-paused='true'] .chest-scene { will-change: auto; }
@keyframes treasure-twinkle { 0%, 100% { opacity: .15; transform: scale(.7); } 45% { opacity: .85; transform: scale(1.05); } 62% { opacity: .35; transform: scale(.85); } }
@keyframes treasure-wave-a { 0% { opacity: .08; transform: scale(.86); } 35% { opacity: .62; } 100% { opacity: .12; transform: scale(1.19); } }
@keyframes treasure-wave-b { 0% { opacity: .08; transform: scale(.86); } 35% { opacity: .62; } 100% { opacity: .12; transform: scale(1.19); } }
@keyframes treasure-glint-a { 0% { opacity: 0; background-position: 150% center; } 38% { opacity: .33; } 100% { opacity: 0; background-position: -45% center; } }
@keyframes treasure-glint-b { 0% { opacity: 0; background-position: 150% center; } 38% { opacity: .33; } 100% { opacity: 0; background-position: -45% center; } }
@keyframes treasure-flare-a { 0%, 100% { opacity: .15; transform: scale(.65); } 45% { opacity: .95; transform: scale(1.22); } }
@keyframes treasure-flare-b { 0%, 100% { opacity: .15; transform: scale(.65); } 45% { opacity: .95; transform: scale(1.22); } }
.vault-reading-shade { position: absolute; z-index: 3; inset: 0; background: linear-gradient(90deg, #141310e6 0%, #191712bf 22%, #17161088 36%, #19171235 48%, transparent 67%); }
.vault-progress { position: absolute; z-index: 4; bottom: 33px; right: 52px; width: 144px; height: 2px; background: #f9f7f026; }
.vault-progress span { position: absolute; inset: 0; transform: scaleX(var(--vault-progress)); transform-origin: left; background: linear-gradient(90deg, #ffac00, #fff1d0); box-shadow: 0 0 12px #ffb82e8c; }
/* Keep the reading veil inside the viewport without changing native vertical scroll. */
.vault-flow { position: relative; z-index: 5; margin-top: -100svh; overflow-x: clip; pointer-events: none; }
.vault-panel { display: flex; position: relative; min-height: 100svh; scroll-margin-top: 0; }
.hero { min-height: 110svh; }
.panel-inner { display: flex; align-items: center; padding-block: 125px 115px; }
.panel-copy { position: relative; isolation: isolate; width: 48%; max-width: 680px; pointer-events: auto; }
.panel-copy::before { content: ''; position: absolute; z-index: -1; inset: -90px -130px; background: radial-gradient(ellipse, #1413106e 28%, #1413103d 50%, transparent 72%); pointer-events: none; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; color: #ffd58b; font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { content: ''; flex: 0 0 28px; width: 28px; height: 1px; background: var(--gold); box-shadow: 0 0 9px #ffac0070; }
.hero h1 { text-transform: uppercase; margin-bottom: 28px; font-size: clamp(3.2rem, 4.8vw, 5.7rem); line-height: 1.07; letter-spacing: -.042em; text-shadow: 0 2px 0 #918a7c, 0 5px 0 #3b362b, 0 7px 0 #242117, 0 13px 22px #060603a8; }
.hero h1 > span { display: block; }
.heading-gold { color: #ffb514; text-shadow: 0 2px 0 #bd790e, 0 5px 0 #734909, 0 7px 0 #332408, 0 13px 22px #060603a8; }
.lead, .panel-copy > p:not(.eyebrow) { max-width: 485px; color: #e8e3d8; font-size: 18px; line-height: 1.8; text-shadow: 0 2px 12px #141310c0; }
.lead { margin-bottom: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 13px 26px; color: #241b0b; background: linear-gradient(120deg, #ffcf69, #ffb514 55%, #f5a000); border: 1px solid #ffe0a2; border-radius: 5px; font-size: 15px; font-weight: 600; text-decoration: none; box-shadow: 0 3px 0 #9c620a, 0 10px 22px #1413107a, inset 0 1px 0 #fff6df8a; transition: transform .18s ease, filter .18s ease; }
.button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.button:active { transform: translateY(2px); }
.scroll-cue { display: flex; align-items: center; width: fit-content; min-height: 44px; gap: 11px; margin-top: 32px; color: #cbc6bb; font-size: 12px; text-decoration: none; letter-spacing: .03em; }
.scroll-line { display: block; height: 30px; width: 1px; background: linear-gradient(#ffbc42, #ffbc4200); }
.scroll-cue:hover { color: var(--gold); }
.panel-copy h2 { margin-bottom: 28px; font-size: clamp(2.6rem, 4.2vw, 4.7rem); line-height: 1.12; text-shadow: 0 2px 0 #847b68, 0 5px 0 #363022, 0 12px 25px #070703c4; }
.decision-copy h2 { max-width: 13ch; }
.moment-copy h2 { max-width: 14ch; color: #ffe2a3; text-shadow: 0 2px 0 #a56c12, 0 5px 0 #493511, 0 12px 25px #070703c4; }

/* The room dissolves into the quiet question and legal links after the story. */
.faq-section { position: relative; z-index: 6; padding-block: 100px 104px; background: linear-gradient(#14131000, #141310 75px); margin-top: -1px; }
.faq-inner { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 90px; }
.faq-inner h2 { max-width: 12ch; margin-bottom: 0; font-size: clamp(2rem, 3vw, 3.1rem); }
details { border-top: 1px solid #d7b46a4d; border-bottom: 1px solid #d7b46a4d; }
summary { position: relative; display: flex; align-items: center; min-height: 78px; padding: 19px 42px 19px 0; font-size: 19px; font-weight: 600; line-height: 1.5; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 27px; font-weight: 400; }
details[open] summary::after { content: '−'; }
details p { max-width: 620px; margin: 0; padding: 0 30px 25px 0; color: var(--muted); font-size: 17px; line-height: 1.8; }
summary:hover { color: var(--gold); }
.site-footer { position: relative; z-index: 6; border-top: 1px solid var(--line); background: #0e0e0b; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; padding-block: 42px 44px; color: #aaa496; font-size: 13px; }
.footer-copy { max-width: 570px; }
.footer-brand { width: min(320px, 100%); margin-bottom: 18px; }
.footer-inner p { margin: 0; }
.footer-inner > div > p:first-of-type { color: #d9d3c6; font-size: 14px; }
.audience-note { margin-top: 8px !important; max-width: 560px; font-size: 12px; line-height: 1.7; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 26px; padding-top: 12px; }
.legal-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; white-space: nowrap; }
.legal-nav a:hover { color: var(--gold); text-decoration: underline; }
.legal-nav a[aria-current='page'] { text-decoration: underline; text-decoration-thickness: 2px; }

/* Shared local type and palette also support the unchanged legal documents. */
.legal-page { width: min(800px, calc(100% - 104px)); padding-block: 40px 85px; }
.legal-page > p:first-child a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold); font-size: 15px; font-weight: 600; }
.legal-page h1 { max-width: 17ch; margin: 38px 0 27px; font-size: clamp(2.4rem, 4.5vw, 3.8rem); line-height: 1.1; }
.legal-page > p, .legal-section p { color: var(--muted); font-size: 17px; line-height: 1.8; }
.draft-notice { padding: 18px 21px; border: 1px solid var(--line); background: #242119; color: #e8e1d3 !important; font-size: 14px !important; }
.legal-section { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.legal-section h2 { font-family: var(--font-body); font-size: 26px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; margin-bottom: 16px; }
.legal-page a:hover { color: #ffe0a2; }

@media (min-width: 100rem) {
  .chest-scene { right: -1%; width: 59%; }
  .panel-copy { width: 48%; max-width: 720px; }
}
@media (max-width: 70rem) and (min-width: 48rem) {
  .container { width: calc(100% - 72px); }
  .brand { width: 260px; flex-basis: 260px; }
  .site-nav { gap: 24px; }
  .hero h1 { font-size: clamp(2.65rem, 5vw, 3.6rem); }
  .panel-copy h2 { font-size: clamp(2.35rem, 4.8vw, 3.4rem); }
  .panel-copy { width: 48%; }
  .lead, .panel-copy > p:not(.eyebrow) { font-size: 17px; }
  .chest-scene { right: -7%; width: 66%; }
  .faq-inner { gap: 46px; }
  .vault-progress { right: 36px; }
}
@media (max-width: 47.999rem) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 80px; gap: 12px; flex-wrap: wrap; padding-block: 10px; }
  .brand { width: min(240px, calc(100% - 80px)); flex: 0 1 min(240px, calc(100% - 80px)); }
  .site-nav { width: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 16px; border: 1px solid #d7b46a35; background: #211f1af5; }
  .site-nav a { min-height: 44px; }
  .menu-toggle { margin-left: auto; }
  .vault-hall img { object-position: 53% center; }
  .hall-shade { background: linear-gradient(#19171236, transparent 27%, #211f1a2e 48%, #141310c9 88%, #141310eb); }
  .chest-scene { left: -3%; right: auto; top: 86px; width: 106%; height: min(39svh, 340px); transform: none; will-change: auto; }
  .chest-sheen { opacity: 0; background-position: 150% center; }
  .treasure-aura { inset: -8%; }
  .treasure-aura__core { filter: blur(17px); }
  .treasure-spark { animation: none; opacity: .22; }
  .vault-stage[data-pulse='1'] .treasure-aura__orbit { animation: treasure-wave-a 650ms ease-out; }
  .vault-stage[data-pulse='2'] .treasure-aura__orbit { animation: treasure-wave-b 650ms ease-out; }
  .vault-stage[data-pulse='1'] .chest-sheen { animation: treasure-glint-a 650ms ease-out; }
  .vault-stage[data-pulse='2'] .chest-sheen { animation: treasure-glint-b 650ms ease-out; }
  .vault-stage[data-pulse='1'] .treasure-spark { animation: treasure-flare-a 650ms ease-out; }
  .vault-stage[data-pulse='2'] .treasure-spark { animation: treasure-flare-b 650ms ease-out; }
  .vault-stage[data-paused='true'] .treasure-aura__orbit, .vault-stage[data-paused='true'] .chest-sheen, .vault-stage[data-paused='true'] .treasure-spark { animation: none; }
  .vault-floor-glow { right: -15%; top: 30svh; bottom: auto; width: 130%; height: 24svh; }
  .vault-reading-shade { background: linear-gradient(transparent 24%, #19171212 36%, #1917125e 47%, #171610be 61%, #141310e5 80%, #141310ed); }
  .vault-progress { right: 20px; bottom: 20px; width: 100px; }
  .vault-panel, .hero { min-height: max(100svh, 64rem); }
  .panel-inner { display: block; padding-top: clamp(20rem, 51svh, 31rem); padding-bottom: 105px; }
  .panel-copy, .hero-copy { width: 100%; max-width: 570px; margin-inline: auto; }
  .panel-copy::before { inset: -70px -70px -95px; background: radial-gradient(ellipse, #14131080 24%, #14131045 51%, transparent 73%); }
  .eyebrow { margin-bottom: 22px; font-size: 10px; letter-spacing: .1em; }
  .hero h1 { margin-bottom: 24px; font-size: clamp(2.5rem, 10.3vw, 4.8rem); line-height: 1.12; letter-spacing: -.035em; text-shadow: 0 2px 0 #8b8374, 0 4px 0 #302b20, 0 10px 17px #060603bd; }
  .heading-gold { text-shadow: 0 2px 0 #b8750a, 0 4px 0 #3d2b0b, 0 10px 17px #060603bd; }
  .lead, .panel-copy > p:not(.eyebrow) { max-width: 36rem; font-size: 17px; line-height: 1.75; }
  .lead { margin-bottom: 26px; }
  .button { min-height: 52px; padding: 12px 23px; }
  .scroll-cue { margin-top: 24px; }
  .panel-copy h2 { margin-bottom: 25px; font-size: clamp(2.35rem, 9.4vw, 4.25rem); line-height: 1.15; }
  .decision-copy h2, .moment-copy h2 { max-width: 14ch; }
  .faq-section { padding-block: 68px 70px; }
  .faq-inner { grid-template-columns: 1fr; gap: 30px; }
  .faq-inner h2 { max-width: 15ch; font-size: clamp(1.85rem, 7.5vw, 3.2rem); }
  summary { min-height: 78px; font-size: 18px; padding-right: 28px; }
  details p { padding-right: 8px; font-size: 16px; }
  .footer-inner { flex-direction: column; gap: 22px; padding-block: 32px 36px; }
  .footer-brand { width: min(280px, 100%); }
  .legal-nav { padding-top: 0; column-gap: 22px; row-gap: 0; }
  .legal-page { width: calc(100% - 40px); padding-block: 25px 60px; }
  .legal-page h1 { font-size: clamp(2.1rem, 8.8vw, 3.6rem); }
  .legal-page > p, .legal-section p { font-size: 16px; }
  .legal-section h2 { font-size: 24px; }
}
@media (max-width: 359px) {
  .container, .legal-page { width: calc(100% - 32px); }
  .header-inner { gap: 8px; }
  .brand { width: calc(100% - 76px); flex-basis: calc(100% - 76px); }
  .eyebrow { gap: 9px; font-size: 9.5px; letter-spacing: .075em; }
  .eyebrow::before { flex-basis: 21px; width: 21px; }
  .hero h1 { font-size: 2.4rem; }
  .panel-copy h2 { font-size: 2.2rem; }
  .lead, .panel-copy > p:not(.eyebrow) { font-size: 16px; }
  .legal-nav { font-size: 12px; column-gap: 18px; }
}
@media (min-width: 48rem) and (max-width: 1100px) and (max-height: 540px) {
  .container { width: calc(100% - 64px); }
  .header-inner { min-height: 72px; }
  .brand { width: 225px; flex-basis: 225px; }
  .site-nav a { font-size: 13px; }
  .vault-panel, .hero { min-height: max(110svh, 37rem); }
  .panel-inner { padding-top: 105px; padding-bottom: 80px; }
  .panel-copy { width: 49%; }
  .hero h1 { font-size: 2.65rem; margin-bottom: 22px; }
  .panel-copy h2 { font-size: 2.5rem; }
  .eyebrow { margin-bottom: 17px; font-size: 10px; }
  .lead, .panel-copy > p:not(.eyebrow) { font-size: 16px; line-height: 1.65; }
  .lead { margin-bottom: 24px; }
  .chest-scene { right: -7%; top: 13%; width: 63%; height: 85%; }
  .scroll-cue { margin-top: 18px; }
  .vault-progress { bottom: 21px; }
}
@media (max-width: 47.999rem) and (max-height: 480px) and (orientation: landscape) {
  .header-inner { min-height: 66px; }
  .brand { max-width: 225px; }
  .chest-scene { top: 64px; height: 210px; width: 68%; left: 30%; }
  .panel-inner { padding-top: 295px; }
  .vault-panel, .hero { min-height: 56rem; }
  .vault-reading-shade { background: linear-gradient(transparent, #17161038 34%, #141310c9 76%, #141310ed); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .chest-scene { transform: none; will-change: auto; }
  .chest-sheen { opacity: 0; }
  .treasure-aura__core { opacity: .65; }
  .treasure-aura__orbit { opacity: .16; }
  .treasure-spark { opacity: .25; }
  .vault-floor-glow { opacity: .2; }
  .vault-progress { display: none; }
}
