@font-face { font-family: "Lilita One"; src: url("/fonts/LilitaOne-Regular.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Varela Round"; src: url("/fonts/VarelaRound-Regular.woff2") format("woff2"); font-display: swap; }
/* adakimgames.com: one stylesheet for the studio home, game pages and support pages.
   Colors and fonts follow Echo Trails itself (Lilita One + Varela Round, twilight teal, gold, coral). */
:root {
  --night: #0b2428;
  --night-2: #0f3035;
  --panel: #163d43;
  --panel-2: #0c272b;
  --rim: rgba(233, 196, 106, .45);
  --cream: #fff6e3;
  --cream-dim: rgba(255, 246, 227, .74);
  --gold: #ffd45a;
  --gold-deep: #c98a16;
  --coral: #ff7a59;
  --blue: #4da8ff;
  --mint: #4fd98a;
  --ink: #2b1c12;
  --outline: #3d1e08;
  --mira: #ff7a59; --leo: #4da8ff; --nia: #f5b82e; --ari: #9b6fe8; --tess: #3fae5c; --juno: #e8578f;
  --radius: 22px;
  --wrap: 1180px;
  --display: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Varela Round", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--cream); font-family: var(--body); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
h1, h2, h3, .display { font-family: var(--display); font-weight: 400; letter-spacing: .01em; line-height: 1.05; margin: 0; }
h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1rem; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.eyebrow { font-family: var(--display); color: var(--gold); letter-spacing: .14em; font-size: .95rem; text-transform: uppercase; margin-bottom: .6rem; display: block; }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.35rem); color: var(--cream-dim); max-width: 44rem; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--gold); color: var(--ink); padding: .5rem 1rem; border-radius: 8px; }

/* Outlined game-style title text */
.title-text { color: var(--gold); text-shadow: 0 4px 0 var(--outline), 0 -2px 0 var(--outline), 3px 0 0 var(--outline), -3px 0 0 var(--outline), 3px 3px 0 var(--outline), -3px 3px 0 var(--outline), 0 10px 30px rgba(0,0,0,.45); }

/* ------------------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 36, 40, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(233, 196, 106, .18); }
.site-header .wrap { display: flex; align-items: center; gap: 1.25rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--cream); font-family: var(--display); font-size: 1.35rem; letter-spacing: .02em; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; }
.brand b { color: var(--gold); font-weight: 400; }
.nav { display: flex; gap: .25rem; margin-left: auto; align-items: center; }
.nav a { color: var(--cream-dim); text-decoration: none; padding: .5rem .8rem; border-radius: 10px; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--cream); background: rgba(255, 246, 227, .08); }
.nav .btn { margin-left: .5rem; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--rim); color: var(--cream); border-radius: 10px; padding: .45rem .7rem; font: inherit; cursor: pointer; }
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: .75rem 16px 1rem; background: var(--night); border-bottom: 1px solid var(--rim); }
  .nav.open { display: flex; }
  .nav .btn { margin: .5rem 0 0; text-align: center; }
}

/* ------------------------------------------------------------ buttons + store badges */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--display); font-size: 1.1rem; letter-spacing: .04em; text-decoration: none; color: #fff; padding: .75rem 1.4rem; border-radius: 14px; background: linear-gradient(#ff9e66, #f2603d); box-shadow: 0 5px 0 #a43a22, 0 12px 24px rgba(242, 96, 61, .3); border: 0; cursor: pointer; transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #a43a22, 0 16px 28px rgba(242, 96, 61, .38); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 #a43a22; }
.btn.small { font-size: .95rem; padding: .5rem 1rem; box-shadow: 0 4px 0 #a43a22; }
.btn.gold { background: linear-gradient(#ffe58a, #f6b530); color: #4a2a00; box-shadow: 0 5px 0 #b07512, 0 12px 24px rgba(246, 181, 48, .25); }
.btn.ghost { background: rgba(255, 246, 227, .08); box-shadow: inset 0 0 0 2px var(--rim); color: var(--cream); }

.stores { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1rem; }
.store { display: inline-flex; align-items: center; gap: .7rem; min-width: 200px; padding: .6rem 1.1rem .6rem .9rem; border-radius: 14px; background: #000; color: #fff; text-decoration: none; border: 1.5px solid rgba(255,255,255,.35); transition: transform .12s, border-color .12s; }
a.store:hover { transform: translateY(-2px); border-color: #fff; }
.store svg { width: 30px; height: 30px; flex: none; }
.store small { display: block; font-size: .72rem; line-height: 1.1; opacity: .85; letter-spacing: .02em; }
.store span { display: block; font-size: 1.25rem; line-height: 1.15; font-weight: 600; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.store.soon { cursor: default; position: relative; margin-top: .4rem; }
.store.soon::after { content: "Coming soon"; position: absolute; top: 0; left: 50%; transform: translate(-50%, -62%); white-space: nowrap; background: var(--gold); color: var(--ink); font-family: var(--display); font-size: .72rem; letter-spacing: .05em; padding: .15rem .55rem; border-radius: 99px; box-shadow: 0 2px 0 var(--gold-deep); }
.store-note { color: var(--cream-dim); font-size: .95rem; }
.store-note b { color: var(--mint); font-weight: 400; }

/* ------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); background: radial-gradient(900px 600px at 78% 40%, rgba(255, 212, 90, .18), transparent 60%), radial-gradient(800px 700px at 10% 100%, rgba(77, 168, 255, .14), transparent 60%), linear-gradient(180deg, #081b1e, var(--night) 70%); }
.hero-trails { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .55; }
.hero-trails path { fill: none; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 2 22; animation: march 1.6s linear infinite; }
@keyframes march { to { stroke-dashoffset: -24; } }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { font-size: clamp(3.6rem, 10vw, 7.2rem); margin: .2rem 0 1rem; }
.hero h1 span { display: block; }
.hero .tagline { font-family: var(--display); font-size: clamp(1.35rem, 3vw, 1.9rem); color: var(--cream); margin-bottom: 1rem; letter-spacing: .02em; }
.hero-art { position: relative; justify-self: center; width: min(100%, 520px); aspect-ratio: 1; }
.hero-art .key { position: absolute; inset: 6% 18% 18% 0; border-radius: 34px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 3px var(--rim); transform: rotate(-4deg); }
.hero-art .key img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .phone { position: absolute; right: 0; bottom: 0; width: 46%; }
.hero-art .wave { position: absolute; bottom: -4%; width: 30%; filter: drop-shadow(0 10px 12px rgba(0,0,0,.5)); }
.hero-art .wave.left { left: -10%; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero .stores { justify-content: center; }
  .hero-art { width: min(100%, 440px); }
}

/* phone frame around a screenshot */
.phone { border-radius: 30px; padding: 8px; background: linear-gradient(145deg, #2a4a4f, #0a1d20); box-shadow: 0 24px 60px rgba(0,0,0,.6), inset 0 0 0 2px rgba(255,255,255,.12); }
.phone img { border-radius: 23px; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--panel-2); }

/* ------------------------------------------------------------ fact strip */
.facts { background: linear-gradient(90deg, var(--panel), var(--panel-2)); border-block: 1px solid var(--rim); }
.facts ul { list-style: none; margin: 0 auto; padding: 1.4rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.facts b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--gold); line-height: 1.1; }
.facts span { color: var(--cream-dim); font-size: .95rem; }
@media (max-width: 640px) { .facts ul { grid-template-columns: repeat(2, 1fr); row-gap: 1.4rem; } }

/* ------------------------------------------------------------ sections */
section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { margin-bottom: .8rem; }
.alt { background: linear-gradient(180deg, var(--night-2), var(--night)); }
.card { background: linear-gradient(180deg, var(--panel), var(--panel-2)); border: 1.5px solid var(--rim); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,.35); }

/* how to play */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2rem); counter-reset: step; }
.step { padding: 1.4rem 1.4rem 1.6rem; text-align: center; }
.step .phone { width: min(100%, 250px); margin: 0 auto 1.4rem; }
.step h3 { margin-bottom: .5rem; }
.step h3::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 2rem; height: 2rem; margin-right: .5rem; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 1.1rem; vertical-align: .12em; box-shadow: 0 3px 0 var(--gold-deep); }
.step p { color: var(--cream-dim); margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

/* friends */
.friends { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.6rem); }
.friend { position: relative; overflow: hidden; padding: 1.3rem; display: grid; grid-template-columns: 120px 1fr; gap: 1rem; align-items: center; border-color: color-mix(in srgb, var(--c) 60%, transparent); background: radial-gradient(240px 200px at 15% 30%, color-mix(in srgb, var(--c) 30%, transparent), transparent 70%), linear-gradient(180deg, var(--panel), var(--panel-2)); }
.friend .sprite { height: 190px; display: grid; place-items: end center; }
.friend .sprite img { height: 210px; max-width: none; width: auto; filter: drop-shadow(0 8px 10px rgba(0,0,0,.45)); }
.friend h3 { color: var(--c); font-size: 1.7rem; text-shadow: 0 2px 0 rgba(0,0,0,.4); }
.friend .role { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-dim); margin-bottom: .5rem; display: block; }
.friend q { color: var(--cream); font-size: .98rem; quotes: "\201C" "\201D"; }
@media (max-width: 980px) { .friends { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .friends { grid-template-columns: 1fr; } .friend { grid-template-columns: 96px 1fr; } .friend .sprite, .friend .sprite img { height: 140px; } }

/* town features (tiles) */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tile { padding: 1.1rem; display: flex; gap: .9rem; align-items: center; }
.tile img { width: 72px; height: 72px; flex: none; object-fit: contain; border-radius: 14px; filter: drop-shadow(0 4px 6px rgba(0,0,0,.4)); }
.tile h3 { font-size: 1.15rem; margin-bottom: .15rem; }
.tile p { font-size: .9rem; color: var(--cream-dim); margin: 0; line-height: 1.45; }
@media (max-width: 1040px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr; } }

/* screenshot reel */
.reel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem 16px 1.5rem; scrollbar-width: thin; scrollbar-color: var(--gold-deep) transparent; }
.reel figure { margin: 0; scroll-snap-align: center; }
.reel figcaption { text-align: center; color: var(--cream-dim); font-size: .92rem; margin-top: .7rem; }
.reel-controls { display: flex; justify-content: center; gap: .75rem; margin-top: .5rem; }
.reel-controls button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--rim); background: var(--panel); color: var(--gold); font-size: 1.3rem; cursor: pointer; }
.reel-controls button:hover { background: var(--night-2); }

/* story */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.story-frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 3px solid var(--rim); box-shadow: 0 30px 70px rgba(0,0,0,.5); aspect-ratio: 1; background: var(--panel-2); }
.story-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.story-frame img.on { opacity: 1; }
.story-quote { min-height: 7.5rem; }
.story-quote blockquote { margin: 0 0 .4rem; font-family: var(--display); font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.3; color: var(--cream); }
.story-quote cite { font-style: normal; color: var(--gold); }
.story-dots { display: flex; gap: .45rem; flex-wrap: wrap; margin-top: 1rem; }
.story-dots button { width: 12px; height: 12px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 246, 227, .25); cursor: pointer; }
.story-dots button.on { background: var(--gold); transform: scale(1.25); }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }

/* victory dances */
.dance-floor { position: relative; padding: 2.5rem 1rem 0; border-radius: var(--radius); overflow: hidden; background: radial-gradient(500px 220px at 50% 100%, rgba(255, 212, 90, .35), transparent 70%), linear-gradient(180deg, #13353a, #0a1f22); border: 1.5px solid var(--rim); }
.dancers { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; align-items: end; }
.dancers figure { margin: 0; text-align: center; }
.dancers img { height: clamp(130px, 18vw, 230px); width: auto; margin: 0 auto; filter: drop-shadow(0 10px 8px rgba(0,0,0,.5)); }
.dancers figcaption { font-family: var(--display); color: var(--gold); padding: .6rem 0 1.2rem; font-size: 1rem; letter-spacing: .04em; }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i { position: absolute; top: -12px; width: 8px; height: 14px; border-radius: 2px; opacity: .85; animation: fall linear infinite; }
@keyframes fall { to { transform: translateY(420px) rotate(540deg); } }
@media (max-width: 720px) { .dancers { grid-template-columns: repeat(3, 1fr); } }

/* make it yours */
.yours { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.theme-card { overflow: hidden; }
.theme-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.theme-card div { padding: 1rem 1.2rem 1.2rem; }
.theme-card h3 { font-size: 1.3rem; margin-bottom: .25rem; }
.theme-card p { margin: 0; color: var(--cream-dim); font-size: .95rem; }
.houses { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; margin-top: 2rem; }
.houses img { filter: drop-shadow(0 8px 10px rgba(0,0,0,.45)); transition: transform .2s; }
.houses img:hover { transform: translateY(-6px) scale(1.04); }
@media (max-width: 760px) { .yours { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } .houses { grid-template-columns: repeat(3, 1fr); } }

/* split feature (daily / expert) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.feature { padding: clamp(1.5rem, 4vw, 2.4rem); display: grid; grid-template-columns: 1fr 160px; gap: 1.5rem; align-items: center; }
.feature h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: .6rem; color: var(--gold); }
.feature p { color: var(--cream-dim); margin: 0; }
.feature .phone { padding: 5px; border-radius: 20px; }
.feature .phone img { border-radius: 16px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .feature { grid-template-columns: 1fr; } .feature .phone { max-width: 200px; margin-inline: auto; } }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: .8rem; }
.faq details { padding: 0 1.4rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 0; font-family: var(--display); font-size: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--cream-dim); padding-bottom: 1.2rem; margin: 0; }

/* final call to action */
.cta { text-align: center; overflow: hidden; background: radial-gradient(700px 400px at 50% 0%, rgba(255, 212, 90, .2), transparent 70%), linear-gradient(180deg, var(--night), #081b1e); }
.cta .icon { width: 132px; height: 132px; border-radius: 30px; margin: 0 auto 1.5rem; box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 0 3px var(--rim); }
.cta .stores { justify-content: center; }
.cta-line { display: flex; justify-content: center; align-items: end; gap: .4rem; margin-top: 2.5rem; }
.cta-line img { height: clamp(90px, 14vw, 150px); width: auto; filter: drop-shadow(0 8px 8px rgba(0,0,0,.5)); }

/* ------------------------------------------------------------ studio home */
.studio-hero { padding: clamp(3rem, 7vw, 5rem) 0 2rem; text-align: center; background: radial-gradient(700px 360px at 50% 0%, rgba(255, 212, 90, .14), transparent 70%), #081b1e; }
.studio-hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); margin-bottom: .8rem; }
.studio-hero h1 b { color: var(--gold); font-weight: 400; }
.feature-game { position: relative; overflow: hidden; border-radius: 30px; border: 2px solid var(--rim); display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: linear-gradient(120deg, #0c272b, #163d43); box-shadow: 0 30px 80px rgba(0,0,0,.5); text-align: left; }
.feature-game .art { position: relative; min-height: 420px; }
.feature-game .art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-game .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, #0f3035); }
.feature-game .body { padding: clamp(1.75rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.feature-game h2 { font-size: clamp(2.6rem, 6vw, 4.2rem); margin-bottom: .6rem; }
.feature-game .tagline { font-family: var(--display); font-size: 1.35rem; margin-bottom: .8rem; }
.feature-game .stores { margin-top: 1.2rem; }
.badge-new { align-self: flex-start; background: var(--mint); color: #0b2a16; font-family: var(--display); letter-spacing: .08em; font-size: .85rem; padding: .25rem .7rem; border-radius: 99px; margin-bottom: .9rem; }
@media (max-width: 860px) { .feature-game { grid-template-columns: 1fr; } .feature-game .art { min-height: 300px; } .feature-game .art::after { background: linear-gradient(180deg, transparent 55%, #0f3035); } }
.games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.game-card { overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .15s; }
a.game-card:hover { transform: translateY(-4px); }
.game-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.game-card .body { padding: 1.2rem 1.3rem 1.4rem; }
.game-card h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.game-card p { margin: 0; color: var(--cream-dim); font-size: .95rem; }
.game-card.soon { border-style: dashed; justify-content: center; align-items: center; text-align: center; min-height: 300px; background: rgba(22, 61, 67, .4); }
.game-card.soon .mark { font-family: var(--display); font-size: 3.4rem; color: var(--rim); line-height: 1; margin-bottom: .6rem; }
@media (max-width: 900px) { .games { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .games { grid-template-columns: 1fr; } }
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about ul { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .9rem; }
.about li { display: flex; gap: .8rem; align-items: flex-start; color: var(--cream-dim); }
.about li b { color: var(--cream); font-weight: 400; font-family: var(--display); font-size: 1.1rem; display: block; }
.about li::before { content: "\2605"; color: var(--gold); font-size: 1.2rem; line-height: 1.5; }
.about .town { border-radius: var(--radius); overflow: hidden; border: 2px solid var(--rim); aspect-ratio: 4 / 5; }
.about .town img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about .town { max-width: 420px; margin-inline: auto; aspect-ratio: 1; } }

/* ------------------------------------------------------------ text pages (support, privacy) */
.page { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem); }
.page .doc { width: min(100% - 32px, 820px); margin-inline: auto; padding: clamp(1.5rem, 5vw, 3rem); }
.page h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); color: var(--gold); margin-bottom: 1rem; }
.page h2 { font-size: 1.45rem; margin: 2rem 0 .5rem; color: var(--cream); }
.page p, .page li { color: var(--cream-dim); }
.muted { color: var(--cream-dim); opacity: .85; }
.back { text-decoration: none; display: inline-block; margin-bottom: 1rem; }
.help-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.5rem 0; }
.help-grid .card { padding: 1.2rem 1.3rem; box-shadow: none; }
.help-grid h3 { font-size: 1.15rem; color: var(--gold); margin-bottom: .35rem; }
.help-grid p { margin: 0; font-size: .95rem; }
@media (max-width: 600px) { .help-grid { grid-template-columns: 1fr; } }
.mail { font-family: var(--display); font-size: clamp(1.25rem, 4vw, 1.6rem); letter-spacing: .02em; word-break: break-all; }

/* ------------------------------------------------------------ footer */
.site-footer { background: #071719; border-top: 1px solid rgba(233, 196, 106, .18); padding: 2.5rem 0 2rem; color: var(--cream-dim); font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; align-items: flex-start; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.site-footer a { color: var(--cream-dim); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .fine { flex-basis: 100%; font-size: .82rem; opacity: .7; margin: 0; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-trails path, .confetti i { animation: none; }
}
.about h2, .story h2 { margin-bottom: 1rem; }

/* cookie notice + settings */
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--cream-dim); cursor: pointer; }
.link-button:hover { color: var(--gold); }
.cookie-notice { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; display: flex; justify-content: center; }
.cookie-notice[hidden] { display: none; }
.cookie-inner { width: min(100%, 980px); display: flex; gap: 1rem 1.5rem; align-items: center; padding: 1.1rem 1.3rem; border-radius: 18px; background: linear-gradient(180deg, var(--panel), var(--panel-2)); border: 1.5px solid var(--rim); box-shadow: 0 20px 60px rgba(0,0,0,.6); animation: rise .35s ease; }
.cookie-inner p { margin: 0; font-size: .93rem; color: var(--cream-dim); }
.cookie-inner p b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.1rem; color: var(--gold); margin-bottom: .15rem; }
.cookie-actions { display: flex; gap: .6rem; flex: none; }
@keyframes rise { from { transform: translateY(20px); opacity: 0; } }
@media (max-width: 720px) { .cookie-inner { flex-direction: column; align-items: stretch; } .cookie-actions .btn { flex: 1; } }
.cookie-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .93rem; }
.cookie-table th, .cookie-table td { text-align: left; padding: .65rem .6rem; border-bottom: 1px solid rgba(233, 196, 106, .2); vertical-align: top; color: var(--cream-dim); }
.cookie-table th { color: var(--cream); font-weight: 400; font-family: var(--display); letter-spacing: .02em; }
.cookie-table code { color: var(--gold); font-size: .88rem; word-break: break-all; }
@media (max-width: 600px) { .cookie-table thead { display: none; } .cookie-table tr { display: block; padding: .6rem 0; border-bottom: 1px solid rgba(233, 196, 106, .2); } .cookie-table td { display: block; border: 0; padding: .15rem 0; } }
.consent-box { padding: 1.2rem 1.3rem; margin: 1.5rem 0; box-shadow: none; }
.consent-row { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid rgba(233, 196, 106, .2); }
.consent-row b { font-family: var(--display); font-weight: 400; color: var(--cream); display: block; }
.consent-row span { font-size: .9rem; color: var(--cream-dim); }
.consent-buttons { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.switch { position: relative; width: 52px; height: 30px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 99px; background: rgba(255, 246, 227, .2); transition: background .2s; }
.switch i::after { content: ""; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--cream); transition: transform .2s; }
.switch input:checked + i { background: var(--mint); }
.switch input:checked + i::after { transform: translateX(22px); }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + i { opacity: .6; }
.switch input:focus-visible + i { outline: 2px solid var(--gold); outline-offset: 2px; }
.consent-status { color: var(--mint); font-size: .92rem; min-height: 1.4em; margin: .8rem 0 0; }
