/* ==========================================================================
   GLOAM — "Born of dusk" theme  ·  standalone flagship game micro-site
   Cinematic monochrome silhouette: near-black ground, a breathing grey sky,
   drifting fog, a shaft of light and film grain. One warm accent — the
   child's lantern ember — plus the Watchers' cold cyan eye. Cinzel (engraved
   serif display, matches the wordmark) + EB Garamond (literary body).
   Distinct from every colour-saturated GKS game site. Respects
   prefers-reduced-motion and the <16384px animated-layer GPU limit.
   ========================================================================== */

.gloam *, .gloam *::before, .gloam *::after { box-sizing: border-box; }

.gloam {
  --bg: #0a0a0c;
  --bg-2: #101014;
  --ink: #e9e7e1;
  --muted: #9b988f;
  --faint: #6f6c66;
  --line: rgba(233, 231, 225, .10);
  --panel: rgba(22, 21, 26, .55);

  --ember: #e6a35a;          /* the lantern — the one warm thing */
  --ember-2: #d6b27a;
  --ember-deep: #b8763a;
  --cold: #62cbd8;           /* the Watchers' eye */
  --red: #e2564f;

  --font-display: "Cinzel", "Times New Roman", serif;
  --font-body: "EB Garamond", Georgia, serif;

  --shell: min(1140px, calc(100% - 2.4rem));

  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  scroll-padding-top: 86px;
}
html.gloam { scroll-behavior: smooth; }
.gloam body { margin: 0; overflow-x: hidden; background: transparent; }

.shell { width: var(--shell); margin-inline: auto; }

.gloam h1, .gloam h2, .gloam h3 {
  font-family: var(--font-display); font-weight: 600; line-height: 1.1; margin: 0;
  letter-spacing: .02em;
}
.gloam p { margin: 0; }
.gloam a { color: inherit; text-decoration: none; }
.gloam kbd {
  font-family: var(--font-body); font-size: .92em; font-weight: 500;
  background: rgba(233,231,225,.07); border: 1px solid var(--line);
  border-bottom-width: 2px; border-radius: 5px; padding: .02em .42em; color: #d9d6cf;
}
.ember-text { color: var(--ember); font-style: italic; }

/* ── The gloom — fixed cinematic backdrop ─────────────────────────────── */
.gloom { position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% -10%, #1c1c22 0%, #101015 38%, #0a0a0c 72%),
    #08080a;
}
.shaft {
  position: absolute; top: -10%; left: 50%; width: 46vw; height: 120vh;
  transform: translateX(-50%) rotate(4deg);
  background: linear-gradient(180deg, rgba(230,230,235,.10), rgba(230,230,235,.03) 38%, transparent 72%);
  filter: blur(28px); opacity: .7;
  animation: shaftBreathe 14s ease-in-out infinite;
}
@keyframes shaftBreathe { 50% { opacity: .42; } }
.fog { position: absolute; border-radius: 50%; filter: blur(60px); }
.fog-1 { width: 90vw; height: 40vh; left: -10vw; bottom: -12vh;
  background: radial-gradient(ellipse, rgba(180,182,190,.16), transparent 70%);
  animation: fogDrift 30s ease-in-out infinite; }
.fog-2 { width: 70vw; height: 34vh; right: -8vw; bottom: -8vh;
  background: radial-gradient(ellipse, rgba(150,152,165,.12), transparent 70%);
  animation: fogDrift 38s ease-in-out infinite reverse; }
@keyframes fogDrift { 50% { transform: translateX(6%) scale(1.08); } }
.vignette { position: absolute; inset: 0;
  box-shadow: inset 0 0 220px 60px rgba(0,0,0,.85); pointer-events: none; }
.grain { position: absolute; inset: 0; opacity: .05; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: .05em;
  padding: .95rem 1.75rem; border-radius: 10px; cursor: pointer; border: 0; white-space: nowrap;
  overflow: hidden; transition: transform .25s, box-shadow .3s, filter .25s, background .25s, color .25s, border-color .25s;
}
.btn svg { width: 17px; height: 17px; }
.btn-play {
  color: #231404;
  background: linear-gradient(178deg, #f6cd8e 0%, #e8a35a 48%, #c98341 100%);
  box-shadow: inset 0 1px 0 rgba(255,240,220,.7), inset 0 0 0 1px rgba(255,205,150,.35),
    0 8px 26px rgba(200,120,55,.4), 0 0 34px rgba(230,163,90,.18);
}
.btn-play::before {                       /* glossy top sheen */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 48%;
  background: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0)); pointer-events: none;
}
.btn-play::after {                        /* sweeping shine on hover */
  content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-18deg); transition: left .55s ease; pointer-events: none;
}
.btn-play:hover { transform: translateY(-3px); filter: brightness(1.05);
  box-shadow: inset 0 1px 0 rgba(255,240,220,.8), 0 12px 34px rgba(200,120,55,.5), 0 0 46px rgba(230,163,90,.42); }
.btn-play:hover::after { left: 130%; }
.btn-quiet {
  color: var(--muted); background: rgba(233,231,225,.03); border: 1px solid var(--line);
  font-family: var(--font-body); font-size: 1rem; letter-spacing: 0; border-radius: 10px;
}
.btn-quiet:hover { color: var(--ink); border-color: rgba(230,163,90,.45); background: rgba(230,163,90,.06); }
.play-row { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.play-row .btn-quiet { padding: .8rem 1.1rem; }

/* ── Header ───────────────────────────────────────────────────────────── */
.gl-header { position: sticky; top: 0; z-index: 40; transition: background .3s, border-color .3s, backdrop-filter .3s; }
.gl-header.is-scrolled { background: rgba(8,8,10,.72); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.gl-header-inner { display: flex; align-items: center; gap: 1rem; padding: .85rem 0; }
.gl-brand { display: inline-flex; flex-direction: column; line-height: 1; margin-right: auto; }
.gl-brand .wm { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: .34em; color: var(--ink); }
.gl-brand .tag { font-family: var(--font-body); font-style: italic; font-size: .76rem; letter-spacing: .12em; color: var(--faint); margin-top: 3px; }
.gl-nav { display: flex; gap: 1.7rem; margin: 0 1.6rem; }
.gl-nav a { font-family: var(--font-display); font-size: .82rem; letter-spacing: .08em; color: var(--muted); transition: color .2s; }
.gl-nav a:hover { color: var(--ember); }
.header-cta { display: flex; align-items: center; gap: .7rem; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); cursor: pointer; padding: .3rem; }

/* ── Layout primitives ────────────────────────────────────────────────── */
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.eyebrow {
  display: inline-block; font-family: var(--font-display); font-size: .7rem; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase; color: var(--ember);
  padding-bottom: .7rem; margin-bottom: .4rem;
}
.kicker { font-style: italic; font-size: 1.15rem; color: var(--muted); margin-bottom: 1rem; letter-spacing: .01em; }
.section-head { max-width: 640px; margin: 0 auto clamp(2.4rem, 5vw, 3.6rem); text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 600; }
.section-head > p { color: var(--muted); font-size: 1.12rem; line-height: 1.62; margin-top: 1rem; }

/* ── Hero — live footage ──────────────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; text-align: center;
  overflow: hidden; padding: 6rem 0 4rem; }
.hero-video { position: absolute; inset: 0; z-index: 0; }
.bg-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.06) brightness(.72) saturate(1.05); }
.hero-scrim { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 42%, transparent 30%, rgba(8,8,10,.5) 78%),
    linear-gradient(180deg, rgba(8,8,10,.55) 0%, rgba(8,8,10,.15) 26%, rgba(8,8,10,.5) 72%, var(--bg) 100%); }
.hero-embers { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    radial-gradient(2px 2px at 20% 70%, rgba(230,163,90,.9), transparent),
    radial-gradient(1.5px 1.5px at 66% 40%, rgba(230,163,90,.7), transparent),
    radial-gradient(2px 2px at 82% 62%, rgba(255,180,110,.8), transparent),
    radial-gradient(1.5px 1.5px at 40% 84%, rgba(230,163,90,.6), transparent);
  animation: emberRise 9s linear infinite; }
@keyframes emberRise { from { transform: translateY(10px); opacity: .5; } to { transform: translateY(-40px); opacity: 0; } }
.hero-inner { position: relative; z-index: 2; }
.hero-block { max-width: 720px; margin: 0 auto; }
.hero-block .eyebrow { color: var(--ember); }
.hero-title { font-family: var(--font-display); font-weight: 600;
  font-size: clamp(3.6rem, 13vw, 9.5rem); line-height: .95; letter-spacing: .3em; text-indent: .3em;
  color: #f2ede4; margin: .3rem 0 .2rem;
  text-shadow: 0 0 50px rgba(230,163,90,.28), 0 6px 40px rgba(0,0,0,.6); }
.hero-sub { font-family: var(--font-body); font-style: italic; font-size: clamp(1.1rem, 2.6vw, 1.6rem);
  letter-spacing: .12em; color: var(--ember-2); margin-bottom: 1.4rem; }
.hero-line { font-size: clamp(1.05rem, 2.2vw, 1.35rem); line-height: 1.6; color: #ddd9d1;
  max-width: 30ch; margin: 0 auto 1.9rem; }
.hero-line b { color: var(--ember); font-weight: 500; font-style: italic; }
.hero-block .play-row { justify-content: center; }
.hero-pills { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .8rem;
  margin-top: 1.9rem; font-family: var(--font-display); font-size: .76rem; letter-spacing: .14em;
  text-transform: uppercase; color: #a49f95; }
.hero-pills i { width: 3px; height: 3px; border-radius: 50%; background: var(--ember); opacity: .7; }
.hero-scroll { position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%);
  color: var(--faint); font-size: 1.1rem; animation: nudge 2.4s ease-in-out infinite; z-index: 2; }
@keyframes nudge { 50% { transform: translate(-50%, 6px); opacity: .5; } }

/* ── Section video backgrounds — live throughout ──────────────────────── */
.has-vid { position: relative; overflow: hidden; }
.sec-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  opacity: .32; filter: brightness(.7) contrast(1.05); pointer-events: none; }
.has-vid::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 45%, rgba(8,8,10,.55) 40%, rgba(8,8,10,.86) 100%); }
.has-vid > .shell, .has-vid > .cta-card { position: relative; z-index: 2; }

/* ── Live trailer ─────────────────────────────────────────────────────── */
.trailer { margin: 0 0 1.1rem; position: relative; border: 1px solid var(--line); border-radius: 4px;
  overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.6); }
.trailer-vid { width: 100%; display: block; aspect-ratio: 16/7; object-fit: cover;
  filter: contrast(1.05) brightness(.9); }
.trailer figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1.6rem .9rem;
  display: flex; align-items: center; gap: .6rem; font-style: italic; color: #d7d4cd; font-size: 1rem;
  background: linear-gradient(transparent, rgba(8,8,10,.85)); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); flex: none;
  box-shadow: 0 0 0 0 rgba(230,163,90,.6); animation: livePulse 2s ease-out infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(230,163,90,.55); } 100% { box-shadow: 0 0 0 10px rgba(230,163,90,0); } }

/* ── Pillars ──────────────────────────────────────────────────────────── */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); }
.pillar { background: rgba(12,12,14,.6); padding: 2rem 1.8rem; transition: background .3s; }
.pillar:hover { background: rgba(22,20,18,.7); }
.pillar-ico { font-size: 1.5rem; color: var(--ember); margin-bottom: 1rem; opacity: .9; }
.pillar h3 { font-size: 1.18rem; font-weight: 600; margin-bottom: .55rem; letter-spacing: .04em; }
.pillar p { color: var(--muted); font-size: 1rem; line-height: 1.6; }

/* ── The Hush — interactive ───────────────────────────────────────────── */
.hush-section { }
.hush-demo { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hush-stage { position: relative; aspect-ratio: 16/11; border: 1px solid var(--line); border-radius: 3px;
  overflow: hidden; background: radial-gradient(120% 90% at 50% 120%, #16161b, #0a0a0c 70%);
  transition: filter .6s ease; }
.hush-pool { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%);
  width: 56%; height: 30%; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(200,200,210,.22), transparent 70%); filter: blur(10px); }
.hush-child { position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%);
  height: 64%; width: auto; filter: drop-shadow(0 6px 14px rgba(0,0,0,.6)); z-index: 2; }
.hush-child::after { content: ""; }
.hush-mote { position: absolute; width: 5px; height: 5px; border-radius: 50%;
  background: radial-gradient(circle, var(--ember), transparent 70%); opacity: .8;
  filter: drop-shadow(0 0 5px var(--ember)); }
.hush-mote.m1 { left: 24%; top: 30%; animation: moteFall 6s linear infinite; }
.hush-mote.m2 { left: 62%; top: 18%; animation: moteFall 7.5s linear infinite 1s; }
.hush-mote.m3 { left: 78%; top: 40%; animation: moteFall 6.8s linear infinite 2.4s; }
.hush-mote.m4 { left: 40%; top: 12%; animation: moteFall 8s linear infinite 3.1s; }
@keyframes moteFall { 0% { transform: translateY(-10px); opacity: 0; } 12% { opacity: .85; }
  88% { opacity: .7; } 100% { transform: translateY(150px); opacity: 0; } }
.hush-rate { position: absolute; top: 8%; left: 50%; transform: translateX(-50%) scale(.8);
  font-family: var(--font-display); font-size: 1.4rem; letter-spacing: .1em; color: var(--ember);
  opacity: 0; transition: opacity .5s, transform .5s; }
.hush-tighten { position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 0 rgba(0,0,0,0); transition: box-shadow .7s ease; }
/* the hushed state — world slows, vignette presses in, time dilates */
.hush-demo.is-hush .hush-stage { filter: saturate(.4) brightness(.82); }
.hush-demo.is-hush .hush-mote { animation-duration: 22s, 24s, 23s, 26s; }
.hush-demo.is-hush .hush-mote.m1 { animation-duration: 22s; }
.hush-demo.is-hush .hush-mote.m2 { animation-duration: 25s; }
.hush-demo.is-hush .hush-mote.m3 { animation-duration: 23s; }
.hush-demo.is-hush .hush-mote.m4 { animation-duration: 27s; }
.hush-demo.is-hush .hush-rate { opacity: 1; transform: translateX(-50%) scale(1); }
.hush-demo.is-hush .hush-tighten { box-shadow: inset 0 0 130px 70px rgba(0,0,0,.92); }

.hush-controls { text-align: center; }
.hush-btn { position: relative; width: 150px; height: 150px; border-radius: 50%; cursor: pointer;
  background: radial-gradient(circle at 50% 38%, rgba(230,163,90,.16), rgba(20,18,16,.6) 70%);
  border: 1px solid rgba(230,163,90,.35); color: var(--ember); font-family: var(--font-display);
  letter-spacing: .1em; font-size: .82rem; display: grid; place-items: center; margin: 0 auto;
  transition: transform .2s, box-shadow .3s, border-color .3s; touch-action: none; user-select: none; }
.hush-btn:hover { border-color: rgba(230,163,90,.6); }
.hush-ring { position: absolute; inset: 10px; border-radius: 50%; border: 1px dashed rgba(230,163,90,.3);
  animation: ringSpin 24s linear infinite; }
@keyframes ringSpin { to { transform: rotate(360deg); } }
.hush-demo.is-hush .hush-btn { transform: scale(.96); box-shadow: 0 0 40px rgba(230,163,90,.45); border-color: var(--ember); }
.hush-demo.is-hush .hush-ring { animation-duration: 120s; }
.hush-label { position: relative; z-index: 2; }
.hush-meter { width: 200px; height: 5px; border-radius: 99px; background: rgba(233,231,225,.1);
  margin: 1.6rem auto .9rem; overflow: hidden; }
.hush-meter span { display: block; height: 100%; width: 100%; transform-origin: left;
  background: linear-gradient(90deg, var(--ember), var(--ember-deep));
  transition: transform .25s ease; }
.hush-demo.is-hush .hush-meter span { transform: scaleX(.12); transition: transform 3.4s linear; }
.hush-note { color: var(--faint); font-size: .96rem; line-height: 1.5; max-width: 34ch; margin: 0 auto; font-style: italic; }

/* ── Controls ─────────────────────────────────────────────────────────── */
.ctrl-list { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.ctrl { display: flex; gap: 1.4rem; align-items: baseline; padding: 1.4rem .4rem;
  border-bottom: 1px solid var(--line); transition: background .3s, padding-left .3s; }
.ctrl:hover { background: rgba(20,18,16,.4); padding-left: 1rem; }
.ctrl-n { font-family: var(--font-display); font-size: 1.1rem; color: var(--ember); flex: none; width: 1.6rem; opacity: .8; }
.ctrl-body h3 { font-size: 1.16rem; font-weight: 600; margin-bottom: .35rem; letter-spacing: .03em; }
.ctrl-body p { color: var(--muted); font-size: 1rem; line-height: 1.55; }

/* ── The dark — cast ──────────────────────────────────────────────────── */
.cast-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.cast-card { position: relative; border: 1px solid var(--line); border-radius: 3px; overflow: hidden;
  background: rgba(10,10,12,.55); transition: transform .3s, border-color .3s, box-shadow .3s; }
.cast-card:hover { transform: translateY(-5px); border-color: rgba(233,231,225,.22); box-shadow: 0 22px 50px rgba(0,0,0,.55); }
.cast-card.cast-boss { grid-column: span 2; }
.cast-art { position: relative; aspect-ratio: 3/2; overflow: hidden; }
.cast-boss .cast-art { aspect-ratio: 3/1.5; }
.cast-boss .cast-art img { object-position: 50% 33%;
  -webkit-mask-image: radial-gradient(ellipse 88% 96% at 50% 38%, #000 56%, transparent 86%);
  mask-image: radial-gradient(ellipse 88% 96% at 50% 38%, #000 56%, transparent 86%); }
.cast-art::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(circle at 62% 46%, var(--glow, transparent), transparent 58%); opacity: .5; }
.cast-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: radial-gradient(ellipse 78% 82% at 50% 46%, #000 46%, transparent 78%);
  mask-image: radial-gradient(ellipse 78% 82% at 50% 46%, #000 46%, transparent 78%);
  transition: transform .5s ease; }
.cast-card:hover .cast-art img { transform: scale(1.05); }
.eye-red { --glow: rgba(226,86,79,.5); }
.eye-cold { --glow: rgba(98,203,216,.45); }
.cast-meta { padding: 1.1rem 1.3rem 1.3rem; position: relative; z-index: 2; }
.cast-meta h3 { font-size: 1.16rem; font-weight: 600; margin-bottom: .4rem; letter-spacing: .04em;
  display: flex; align-items: center; gap: .6rem; }
.boss-tag { font-family: var(--font-body); font-style: italic; font-size: .72rem; letter-spacing: .1em;
  color: var(--cold); border: 1px solid rgba(98,203,216,.4); border-radius: 99px; padding: .05em .6em; }
.cast-meta p { color: var(--muted); font-size: .96rem; line-height: 1.55; }

/* ── Chapters ─────────────────────────────────────────────────────────── */
.chapter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.chapter { position: relative; border: 1px solid var(--line); border-radius: 3px; padding: 2rem 1.8rem 1.9rem;
  background: linear-gradient(180deg, rgba(18,16,14,.5), rgba(10,10,12,.5)); overflow: hidden;
  transition: transform .3s, border-color .3s; }
.chapter:hover { transform: translateY(-5px); border-color: rgba(230,163,90,.4); }
.chapter::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--ember), transparent); opacity: .55; }
.chapter-roman { font-family: var(--font-display); font-size: 2.4rem; color: var(--ember); opacity: .85; display: block; margin-bottom: .8rem; }
.chapter-top { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; margin-bottom: .55rem; }
.chapter-top h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: .04em; }
.chapter-range { font-style: italic; color: var(--faint); font-size: .92rem; white-space: nowrap; }
.chapter-body p { color: var(--muted); font-size: 1rem; line-height: 1.58; }
.band-3:hover { border-color: rgba(98,203,216,.4); }
.band-3::after { background: linear-gradient(180deg, var(--cold), transparent); }
.band-3 .chapter-roman { color: var(--cold); }

/* ── Gallery ──────────────────────────────────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.frame { margin: 0; border: 1px solid var(--line); border-radius: 3px; overflow: hidden;
  background: #000; transition: transform .35s, border-color .35s; }
.frame.frame-wide { grid-column: span 2; }
.frame img { width: 100%; height: auto; display: block; transition: transform .6s ease; }
.frame:hover { transform: translateY(-3px); border-color: rgba(233,231,225,.2); }
.frame:hover img { transform: scale(1.03); }

/* ── Final CTA — into the dawn ────────────────────────────────────────── */
.cta-final { padding: clamp(5rem, 10vw, 8rem) 0 clamp(6rem, 11vw, 9rem); }
.cta-vid { opacity: .5; filter: brightness(.9) contrast(1.05) saturate(1.12); }
.cta-final.has-vid::after { background:
  radial-gradient(120% 110% at 50% 92%, rgba(40,26,10,.28) 26%, rgba(8,8,10,.8) 100%); }
.cta-card { position: relative; text-align: center; max-width: 680px; margin: 0 auto;
  padding: clamp(2.6rem, 5vw, 4rem) 1.6rem 3.2rem; }
.cta-pool { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%);
  width: 60%; height: 36%; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(230,163,90,.16), transparent 68%); filter: blur(22px); }
.cta-child { position: relative; height: 200px; width: auto; margin-bottom: 1.4rem;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.6)); animation: childBreathe 6s ease-in-out infinite; }
@keyframes childBreathe { 50% { transform: translateY(-5px); } }
.cta-card h2 { font-size: clamp(1.8rem, 4.4vw, 2.8rem); margin-bottom: .9rem; }
.cta-card > p { color: var(--muted); font-size: 1.1rem; line-height: 1.6; max-width: 44ch; margin: 0 auto 1.8rem; }
.cta-card .play-row { justify-content: center; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.gl-footer { border-top: 1px solid var(--line); padding: 2.6rem 0; background: rgba(6,6,8,.6); }
.gl-footer-top { display: flex; flex-wrap: wrap; gap: 1.4rem; justify-content: space-between; align-items: center; }
.gl-footer-links { display: flex; flex-wrap: wrap; gap: 1.3rem; }
.gl-footer-links a { font-family: var(--font-display); font-size: .8rem; letter-spacing: .06em; color: var(--muted); transition: color .2s; }
.gl-footer-links a:hover { color: var(--ember); }
.gl-footer-bottom { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between;
  margin-top: 1.8rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  color: var(--faint); font-size: .92rem; font-style: italic; }

/* ── Reveal ───────────────────────────────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 1s ease, transform 1s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .cast-grid { grid-template-columns: repeat(2, 1fr); }
  .cast-card.cast-boss { grid-column: span 2; }
  .chapter-grid { grid-template-columns: 1fr; }
  .hush-demo { grid-template-columns: 1fr; }
  .hush-stage { max-width: 520px; margin: 0 auto; width: 100%; }
}
@media (max-width: 760px) {
  .gl-nav, .header-cta .btn-quiet { display: none; }
  .nav-toggle { display: inline-flex; }
  .gl-nav.is-open { display: flex; position: absolute; inset: 100% 0 auto; flex-direction: column;
    gap: .2rem; margin: 0; padding: 1.1rem 1.3rem; background: rgba(8,8,10,.97);
    border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
  .gl-nav.is-open a { padding: .5rem 0; }
}
@media (max-width: 560px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .cast-grid { grid-template-columns: 1fr; }
  .cast-card.cast-boss { grid-column: span 1; }
  .gallery { grid-template-columns: 1fr; }
  .frame.frame-wide { grid-column: span 1; }
  .hero { min-height: 88vh; }
}

/* ── Reduced motion ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .gloam *, .gloam *::before, .gloam *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .15s !important; scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
