/* ==========================================================================
   Zilvafable - mythic dark sanctuary / cinematic action-RPG guide
   Handwritten CSS. Dark theme locked. Single violet ink, teal atmosphere only.
   ========================================================================== */

:root {
  /* canvas + surfaces */
  --canvas: #070a14;
  --canvas-2: #0a0f1f;
  --panel: #0f1528;
  --panel-2: #121a31;
  --line: rgba(120, 140, 195, 0.14);
  --line-strong: rgba(120, 140, 195, 0.26);

  /* violet structural ink */
  --ink: #1b2978;
  --ink-2: #19366c;
  --violet-line: rgba(91, 106, 197, 0.42);
  --violet-bright: #9db0f5;
  --violet-mid: #5566c5;

  /* teal is atmosphere ONLY - never a UI surface / text / button */
  --teal: #75cdd6;
  --teal-glow: #84cdee;

  /* text */
  --white: #f5f7fc;
  --soft: #c3ccdf;
  --mute: #93a0bd;
  --faint: #6b789a;

  /* type */
  --display: "Marcellus", "Times New Roman", serif;
  --body: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1240px;
  --pad: clamp(20px, 5.2vw, 96px);
  --radius: 20px;
  --radius-lg: 26px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--white);
  font-family: var(--body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ---- fluid type helpers ---- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; margin: 0; }

.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.01em;
  font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4.6rem);
}
.headline {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.006em;
  font-size: clamp(1.85rem, 1.2rem + 2.6vw, 3rem);
}
.title {
  font-family: var(--display);
  font-size: clamp(1.35rem, 1rem + 1.4vw, 1.9rem);
  line-height: 1.12;
}

.eyebrow {
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--violet-bright);
  margin: 0 0 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--violet-mid), transparent);
}

.lead {
  font-size: clamp(1.02rem, 0.96rem + 0.4vw, 1.22rem);
  color: var(--soft);
  font-weight: 300;
  max-width: 62ch;
  line-height: 1.7;
}
p { max-width: 68ch; }
.measure { max-width: 66ch; }

/* ---- layout ---- */
.section { padding-inline: var(--pad); }
.section-pad { padding-block: clamp(56px, 8vw, 116px); }
.wrap { max-width: var(--wrap); margin-inline: auto; }
.divide { border-top: 1px solid var(--line); }

/* =========================================================================
   Header / nav
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-inline: var(--pad);
  background: rgba(7, 10, 20, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(7, 10, 20, 0.9); }
.nav {
  max-width: var(--wrap);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-size: 0.74rem;
  color: var(--white);
}
.brand svg { width: 26px; height: 26px; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav-links a {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--mute);
  font-weight: 400;
  transition: color 0.3s var(--ease), letter-spacing 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a[aria-current="page"] { letter-spacing: 0.24em; }

.nav-cta {
  border: 1px solid var(--violet-line);
  border-radius: var(--radius);
  padding: 9px 20px;
  color: var(--white) !important;
  letter-spacing: 0.18em !important;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav-cta:hover { border-color: var(--violet-bright); background: rgba(91, 106, 197, 0.12); }

.burger {
  display: none;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 6px;
  padding: 0;
}
.burger span { display: block; width: 24px; height: 1.5px; background: var(--white); margin-inline: auto; transition: transform 0.35s var(--ease), opacity 0.25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 880px) {
  .burger { display: flex; }
  .nav-links {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--canvas-2);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--pad) 28px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 15px 0; width: 100%; border-bottom: 1px solid var(--line); font-size: 0.82rem; letter-spacing: 0.14em; }
  .nav-cta { margin-top: 18px; border-radius: var(--radius); width: fit-content; }
}

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius);
  padding: 14px 26px;
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-solid:hover { background: #24338c; border-color: var(--violet-mid); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--violet-line); }
.btn-outline:hover { border-color: var(--violet-bright); background: rgba(91, 106, 197, 0.1); }
.btn svg { width: 16px; height: 16px; }
.btn-sm { padding: 11px 18px; font-size: 0.66rem; }

.textlink {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--violet-bright);
  font-size: 0.74rem; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.14em;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.textlink:hover { gap: 13px; color: #c3cffb; }
.textlink svg { width: 15px; height: 15px; }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative;
  min-height: 90vh;
  min-height: 90dvh;
  display: flex;
  align-items: center;
  padding-block: clamp(90px, 14vh, 170px) clamp(48px, 8vh, 90px);
  overflow: hidden;
}
.hero-atmos { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-atmos::before {
  content: "";
  position: absolute;
  width: 120vw; height: 120vh;
  top: -30%; left: -18%;
  background: radial-gradient(circle at 32% 34%, rgba(117, 205, 214, 0.22), rgba(27, 41, 120, 0.12) 34%, transparent 60%);
  filter: blur(6px);
}
.hero-atmos::after {
  content: "";
  position: absolute;
  right: -8%; bottom: -22%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(25, 54, 108, 0.4), transparent 65%);
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: 0; opacity: 0.5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px);
  background-size: 100% clamp(80px, 12vh, 130px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--wrap); margin-inline: auto; width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
/* smaller than the global display scale: this headline shares the row with the
   screenshot wall, and at 4.6rem it broke onto four lines */
.hero h1 {
  margin: 0.4rem 0 1.6rem;
  max-width: 15ch;
  font-size: clamp(2.3rem, 1.3rem + 3.2vw, 3.8rem);
}
.hero .lead { margin-bottom: 2.4rem; max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* screenshot wall: two columns, offset against each other, masked so it reads
   as a slice of a bigger shelf rather than a boxed-in gallery */
.hero-wall {
  display: grid;
  grid-auto-flow: column;
  /* minmax(0,...) or the images' intrinsic height blows the rows past the mask box */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.3vw, 18px);
  height: min(74vh, 560px);
  align-content: center;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 80%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 80%, transparent);
}
.hero-wall img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 44px rgba(3, 6, 14, 0.6);
  filter: saturate(0.9) brightness(0.82);
}
.hero-wall img:nth-child(-n+3) { transform: translateY(-26px); }
.hero-wall img:nth-child(n+4) { transform: translateY(26px); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: clamp(28px, 6vw, 44px); }
  .hero h1, .hero .lead { max-width: 100%; }
  /* one row of three, the rest of the shelf lives in the catalog below */
  .hero-wall {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    height: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero-wall img:nth-child(n+4) { display: none; }
  .hero-wall img:nth-child(-n+3) { transform: none; height: auto; aspect-ratio: 4 / 3; }
}

/* =========================================================================
   Curator
   ========================================================================= */
.curator {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 70px);
}
@media (min-width: 900px) { .curator { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }
.curator-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 40px);
  background: linear-gradient(160deg, var(--panel), var(--canvas-2));
}
.curator-sigil { width: 58px; height: 58px; margin-bottom: 22px; }
.curator-card .name { font-family: var(--display); font-size: 1.5rem; margin-bottom: 4px; }
.curator-card .where { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--violet-bright); margin-bottom: 20px; }
.curator-rules { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 0; }
.curator-rules li {
  display: flex; gap: 14px; align-items: baseline;
  padding: 15px 0; border-top: 1px solid var(--line);
  font-size: 0.92rem; color: var(--soft);
}
.curator-rules li span { color: var(--violet-bright); font-size: 0.72rem; letter-spacing: 0.14em; flex: none; width: 28px; }

/* =========================================================================
   Category filter
   ========================================================================= */
.filters { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.chip {
  border: 1px solid var(--violet-line);
  background: transparent;
  color: var(--soft);
  border-radius: var(--radius);
  padding: 10px 20px;
  font-size: 0.68rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}
.chip:hover { border-color: var(--violet-bright); color: var(--white); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filter-count { font-size: 0.74rem; color: var(--faint); letter-spacing: 0.1em; margin-top: 20px; }

/* =========================================================================
   Index list
   ========================================================================= */
.index-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.index-list li { border-bottom: 1px solid var(--line); }
.index-list a {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 18px;
  align-items: baseline;
  padding: 18px 4px;
  transition: padding-left 0.35s var(--ease), color 0.3s var(--ease);
}
.index-list a:hover { padding-left: 16px; }
.index-list .num { font-size: 0.72rem; color: var(--violet-mid); letter-spacing: 0.1em; }
.index-list .game { font-family: var(--display); font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.5rem); color: var(--white); }
.index-list .kind { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--mute); }
.index-list a:hover .kind { color: var(--violet-bright); }

/* =========================================================================
   Game cards
   ========================================================================= */
.catalog { display: grid; gap: clamp(24px, 3.4vw, 46px); }

.game {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, var(--panel) 0%, var(--canvas-2) 100%);
  overflow: hidden;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
  display: grid;
  grid-template-columns: 1fr;
}
.game:hover { border-color: var(--violet-line); transform: translateY(-3px); }
@media (min-width: 860px) {
  .game { grid-template-columns: 0.9fr 1.1fr; }
  .game.flip .game-art { order: 2; }
  .game.wide { grid-template-columns: 1fr; }
}

.game-art {
  position: relative;
  min-height: 260px;
  background: radial-gradient(circle at 50% 40%, rgba(25, 54, 108, 0.5), var(--canvas) 70%);
  border-right: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.game.flip .game-art { border-right: none; border-left: 1px solid var(--line); }
.game-art svg { width: 78%; max-width: 340px; }
/* screenshot panels: image rides at the top of the tall column, not lost in its middle */
.game-art:has(img) { align-items: flex-start; padding: 56px 26px 26px; }
.game-art img {
  position: sticky; top: 96px;
  width: 100%; max-width: 380px;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(3, 6, 14, 0.55);
  filter: saturate(0.94) brightness(0.9);
}
.art-tag {
  position: absolute; left: 20px; top: 18px; z-index: 2;
  font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--mute);
}
.game.wide .game-art { min-height: 320px; border-right: none; border-bottom: 1px solid var(--line); }

.game-body { padding: clamp(24px, 2.6vw, 40px); }
.game-genre {
  font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--violet-bright); margin-bottom: 12px;
}
.game h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin-bottom: 8px; }
.game .hook { color: var(--soft); font-size: 1rem; margin: 0 0 20px; }

.meta {
  display: flex; flex-wrap: wrap; gap: 8px 8px;
  margin: 0 0 22px; padding: 0; list-style: none;
}
.meta li {
  font-size: 0.66rem; letter-spacing: 0.06em;
  color: var(--mute);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 12px;
}
.meta li b { color: var(--soft); font-weight: 500; }

.review { color: var(--soft); font-size: 0.96rem; margin: 0 0 18px; }
.caveat {
  display: flex; gap: 12px; align-items: flex-start;
  border-left: 2px solid var(--violet-mid);
  padding: 4px 0 4px 16px;
  margin: 0 0 22px;
  font-size: 0.9rem; color: var(--mute);
}
.caveat b { color: var(--violet-bright); font-weight: 500; }

.flag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--teal);
  border: 1px solid rgba(117, 205, 214, 0.3);
  border-radius: 20px; padding: 5px 12px;
  margin: 0 0 20px;
}
.flag svg { width: 13px; height: 13px; }

.why { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.why li { display: flex; gap: 12px; font-size: 0.92rem; color: var(--soft); align-items: baseline; }
.why li::before { content: ""; width: 6px; height: 6px; margin-top: 8px; flex: none; background: var(--violet-mid); transform: rotate(45deg); }

.game-history {
  border-top: 1px solid var(--line);
  padding-top: 20px; margin-top: 4px;
}
.game-history .lbl { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--faint); margin-bottom: 10px; }
.game-history p { font-size: 0.9rem; color: var(--mute); margin: 0; }

.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.ios-note { font-size: 0.68rem; color: var(--faint); letter-spacing: 0.1em; align-self: center; }

/* =========================================================================
   By the numbers (dataviz)
   ========================================================================= */
.stats-grid {
  display: grid; gap: 1px;
  grid-template-columns: repeat(2, 1fr);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 780px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--canvas-2); padding: clamp(24px, 3vw, 38px) clamp(20px, 2.4vw, 30px); }
.stat .val { font-family: var(--display); font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); line-height: 1; color: var(--white); }
.stat .val small { font-size: 0.42em; color: var(--violet-bright); letter-spacing: 0.04em; }
.stat .cap { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--mute); margin-top: 12px; }

.chart {
  margin-top: clamp(36px, 5vw, 60px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
  background: linear-gradient(160deg, var(--panel), var(--canvas-2));
}
.chart-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 26px; }
.chart-head h3 { font-size: 1.5rem; }
.chart-head .scale { font-size: 0.68rem; color: var(--faint); letter-spacing: 0.12em; }
.bars { display: grid; gap: 16px; }
.bar-row { display: grid; grid-template-columns: 1fr; gap: 6px; }
@media (min-width: 620px) { .bar-row { grid-template-columns: 190px 1fr; align-items: center; gap: 18px; } }
.bar-label { font-size: 0.82rem; color: var(--soft); }
.bar-label span { color: var(--faint); font-size: 0.72rem; display: block; }
.bar-track { position: relative; height: 30px; background: rgba(120,140,195,0.08); border-radius: 8px; overflow: hidden; }
.bar-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0;
  background: linear-gradient(90deg, var(--ink), var(--violet-mid));
  border-radius: 8px;
  transition: width 1.1s var(--ease);
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 10px;
}
.bar-fill b { font-size: 0.72rem; font-weight: 500; color: var(--white); }
.chart-note { font-size: 0.78rem; color: var(--faint); margin-top: 22px; }

/* =========================================================================
   How it works / steps
   ========================================================================= */
.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 820px) { .steps.three { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--canvas-2); padding: clamp(26px, 3vw, 42px); }
.step .n { font-family: var(--display); font-size: 2.4rem; color: var(--violet-mid); line-height: 1; margin-bottom: 20px; }
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { font-size: 0.92rem; color: var(--mute); margin: 0; }

/* =========================================================================
   Pick of the week
   ========================================================================= */
.pick {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(150deg, var(--panel-2), var(--canvas));
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) { .pick { grid-template-columns: 1.1fr 0.9fr; } }
.pick-atmos { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.pick-atmos::before { content: ""; position: absolute; top: -20%; left: -10%; width: 70%; height: 90%; background: radial-gradient(circle, rgba(117,205,214,0.16), transparent 66%); }
.pick-body { position: relative; z-index: 1; padding: clamp(28px, 4vw, 60px); }
.pick .kicker { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.28em; color: var(--teal); margin-bottom: 18px; }
.pick h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); margin-bottom: 14px; }
.pick p { color: var(--soft); margin-bottom: 20px; }
.pick-art { position: relative; z-index: 1; min-height: 280px; display: flex; align-items: center; justify-content: center; border-left: 1px solid var(--line); }
.pick-art svg { width: 82%; max-width: 380px; }
.pick-art img {
  width: 82%; max-width: 380px;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(3, 6, 14, 0.55);
  filter: saturate(0.94) brightness(0.9);
}
@media (max-width: 880px) { .pick-art { border-left: none; border-top: 1px solid var(--line); } }
.maple { display: inline-flex; align-items: center; gap: 9px; font-size: 0.72rem; letter-spacing: 0.12em; color: var(--mute); margin-bottom: 22px; }
.maple svg { width: 16px; height: 16px; }

/* =========================================================================
   Studio note band
   ========================================================================= */
.band {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 52px);
  background:
    radial-gradient(circle at 88% 10%, rgba(25,54,108,0.4), transparent 55%),
    var(--canvas-2);
}
.band .headline { margin-bottom: 16px; max-width: 20ch; }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 4px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--display);
  font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.4rem);
  color: var(--white);
  transition: color 0.3s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--violet-bright); }
.faq summary .ic { flex: none; width: 22px; height: 22px; position: relative; }
.faq summary .ic::before, .faq summary .ic::after { content: ""; position: absolute; background: var(--violet-mid); transition: transform 0.3s var(--ease), opacity 0.3s; }
.faq summary .ic::before { top: 10px; left: 3px; width: 16px; height: 1.5px; }
.faq summary .ic::after { top: 3px; left: 10px; width: 1.5px; height: 16px; }
.faq details[open] summary .ic::after { transform: rotate(90deg); opacity: 0; }
.faq details[open] summary { color: var(--violet-bright); }
.faq-answer { padding: 0 4px 28px; color: var(--mute); font-size: 0.96rem; max-width: 76ch; }
.faq-answer p { margin: 0; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(48px, 7vw, 90px) var(--pad) 40px;
  background: var(--canvas-2);
}
.footer-grid {
  max-width: var(--wrap); margin-inline: auto;
  display: grid; gap: clamp(30px, 4vw, 60px);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { font-size: 0.9rem; color: var(--mute); max-width: 40ch; }
.footer-brand .email { display: inline-block; margin-top: 16px; color: var(--violet-bright); font-size: 0.9rem; letter-spacing: 0.02em; }
.footer-col h4 { font-family: var(--body); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--faint); margin-bottom: 18px; font-weight: 500; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col a { font-size: 0.9rem; color: var(--soft); transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-base {
  max-width: var(--wrap); margin: clamp(40px, 5vw, 64px) auto 0;
  padding-top: 28px; border-top: 1px solid var(--line);
}
.disclaimer { font-size: 0.74rem; line-height: 1.7; color: var(--faint); max-width: 100%; margin: 0 0 18px; }
.copyright { font-size: 0.74rem; color: var(--faint); letter-spacing: 0.04em; }

/* =========================================================================
   Interior page header (non-home)
   ========================================================================= */
.page-hero {
  position: relative;
  padding-block: clamp(90px, 13vh, 150px) clamp(40px, 6vw, 72px);
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; top: -30%; right: -10%;
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, rgba(117,205,214,0.12), transparent 62%);
  z-index: 0; pointer-events: none;
}
.page-hero .inner { position: relative; z-index: 1; max-width: var(--wrap); margin-inline: auto; }
.crumb { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--faint); margin-bottom: 20px; }
.crumb a { color: var(--violet-bright); }
.page-hero h1 { margin: 8px 0 22px; }

/* =========================================================================
   Prose (legal + about text)
   ========================================================================= */
.prose { max-width: 74ch; }
.prose h2 { font-family: var(--display); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin: 44px 0 14px; }
.prose h3 { font-family: var(--display); font-size: 1.2rem; margin: 30px 0 10px; }
.prose p { color: var(--soft); margin: 0 0 16px; font-size: 0.98rem; }
.prose ul { color: var(--soft); padding-left: 20px; margin: 0 0 18px; }
.prose li { margin-bottom: 8px; font-size: 0.96rem; }
.prose a { color: var(--violet-bright); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--white); font-weight: 500; }
.legal-meta { font-size: 0.8rem; color: var(--faint); margin-bottom: 34px; letter-spacing: 0.04em; }

/* =========================================================================
   Contact form
   ========================================================================= */
.contact-grid { display: grid; gap: clamp(32px, 5vw, 64px); grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--mute); }
.field input, .field textarea {
  background: var(--canvas);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--white);
  font-family: var(--body);
  font-size: 0.96rem;
  font-weight: 300;
  transition: border-color 0.3s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--violet-bright); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field textarea { resize: vertical; min-height: 130px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.86rem; color: var(--mute); }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.consent a { color: var(--violet-bright); text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================================
   Thank you / 404
   ========================================================================= */
.center-stage {
  min-height: 74vh; min-height: 74dvh;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  position: relative; overflow: hidden;
  padding-block: 80px;
}
.center-stage::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 30% 40%, rgba(117,205,214,0.14), transparent 58%);
}
.center-stage > * { position: relative; z-index: 1; }
.big-code { font-family: var(--display); font-size: clamp(4rem, 3rem + 8vw, 9rem); line-height: 0.9; color: var(--white); letter-spacing: -0.02em; }

/* =========================================================================
   Scroll reveal
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .bar-fill { transition: none !important; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* utilities */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mt-sm { margin-top: 20px; }
.mt-md { margin-top: 40px; }
.section-label-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-label-row .headline { max-width: 22ch; }
.section-intro { max-width: 60ch; margin-bottom: clamp(30px, 4vw, 50px); }
