/* ============================================================
   All Hats — studio website
   Structure borrowed from the Event Assistant site: fixed side rail with
   scroll-spy, pinned scroll-driven hero stage, self-hosted fonts.

   THEMING: every colour on the page comes from the tokens below. A palette
   is one block of tokens. The page uses the one named in data-palette on
   <html> in index.html (blackout); change that attribute to switch.
   ============================================================ */

/* ============================================================
   PALETTES
   --bg / --bg-2      page background / alternate ("raised") sections
   --surface(-2)      cards / hover + inset surfaces
   --text / --muted   primary / secondary text
   --rule             hairlines and borders
   --accent(-2)       brand colour and a secondary colour
   --accent-ink       text on top of --accent
   --m-*              the same accents when they sit on dark artwork
   --scrim            R,G,B of the darkening laid over hero artwork
   --logo-filter      recolours the white logo files (needed on light)
   ============================================================ */

/* 1 · Blackout — the current brand */
:root, [data-palette-scope="blackout"] {
  --bg: #000000; --bg-2: #09090a; --surface: #131315; --surface-2: #1d1d20;
  --text: #ffffff; --muted: #a4a4ae; --rule: rgba(255, 255, 255, 0.14);
  --accent: #ffffff; --accent-2: #8f8f9b; --accent-ink: #000000;
  --m-accent: #ffffff; --m-accent-2: #b9b9c4; --m-accent-ink: #000000;
  --rail-bg: #050505; --scrim: 0, 0, 0; --logo-filter: none; --glow: 0.07;
  color-scheme: dark;
}
/* 2 · Neon Arcade */
:root[data-palette="arcade"], [data-palette-scope="arcade"] {
  --bg: #0d0620; --bg-2: #140a30; --surface: #1d1143; --surface-2: #291a5a;
  --text: #f7f1ff; --muted: #b6a8da; --rule: rgba(214, 190, 255, 0.18);
  --accent: #ff3ea5; --accent-2: #38e8ff; --accent-ink: #1c0420;
  --m-accent: #ff5cb3; --m-accent-2: #5cecff; --m-accent-ink: #1c0420;
  --rail-bg: #0a0419; --scrim: 13, 6, 32; --logo-filter: none; --glow: 0.2;
  color-scheme: dark;
}
/* 3 · Aurora */
:root[data-palette="aurora"], [data-palette-scope="aurora"] {
  --bg: #051a1f; --bg-2: #08242a; --surface: #0e3037; --surface-2: #164048;
  --text: #eafaf6; --muted: #95bab5; --rule: rgba(170, 240, 225, 0.16);
  --accent: #3dffb0; --accent-2: #6aa8ff; --accent-ink: #03241a;
  --m-accent: #3dffb0; --m-accent-2: #8dbcff; --m-accent-ink: #03241a;
  --rail-bg: #041417; --scrim: 3, 20, 24; --logo-filter: none; --glow: 0.16;
  color-scheme: dark;
}
/* 4 · Lava */
:root[data-palette="lava"], [data-palette-scope="lava"] {
  --bg: #160a07; --bg-2: #1f0f0a; --surface: #2c1710; --surface-2: #3c2117;
  --text: #fff4ea; --muted: #cba999; --rule: rgba(255, 200, 170, 0.17);
  --accent: #ff6a2b; --accent-2: #ffc93c; --accent-ink: #200900;
  --m-accent: #ff7d45; --m-accent-2: #ffd25e; --m-accent-ink: #200900;
  --rail-bg: #100705; --scrim: 20, 8, 5; --logo-filter: none; --glow: 0.2;
  color-scheme: dark;
}
/* 5 · Daylight — the light option */
:root[data-palette="daylight"], [data-palette-scope="daylight"] {
  --bg: #f6f2ea; --bg-2: #ebe5d8; --surface: #ffffff; --surface-2: #f0ebe1;
  --text: #15131a; --muted: #5c5766; --rule: rgba(21, 19, 26, 0.15);
  --accent: #4b2bff; --accent-2: #ff3d6e; --accent-ink: #ffffff;
  --m-accent: #a99bff; --m-accent-2: #ff8fab; --m-accent-ink: #120a3a;
  --rail-bg: #fbf8f2; --scrim: 16, 13, 28; --logo-filter: brightness(0); --glow: 0.12;
  color-scheme: light;
}

:root {
  --rail: 248px;
  --max: 1180px;
  --r: 20px;
  /* Montserrat (loaded from Google Fonts in index.html) for everything, with the
     device's own UI font as the fallback while it loads or if it is blocked. */
  --display: 'Montserrat', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Roboto, Arial, sans-serif;
  --mono-f: var(--display);
}

/* Anything sitting directly on artwork: light text + the on-dark accents. */
.on-media {
  --text: #ffffff; --muted: rgba(255, 255, 255, 0.82); --rule: rgba(255, 255, 255, 0.3);
  --accent: var(--m-accent); --accent-2: var(--m-accent-2); --accent-ink: var(--m-accent-ink);
  color: var(--text);
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* Keep html/body free of overflow:hidden — it would break the hero's sticky pin. */
html { scroll-behavior: smooth; }
body {
  font-family: var(--display); background: var(--bg); color: var(--text);
  overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  line-height: 1.5; transition: background-color 0.35s ease, color 0.35s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.mono { font-family: var(--mono-f); font-feature-settings: 'tnum' 1; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }
.brand-img { filter: var(--logo-filter); }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 400; background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; transition: top 0.15s;
}
.skip-link:focus { top: 12px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; padding: 15px 26px; font-size: 15px; font-weight: 700; line-height: 1;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.15s, background 0.15s, border-color 0.15s, box-shadow 0.15s, filter 0.15s;
}
.btn .arr { transition: transform 0.2s; }
.btn:hover .arr { transform: translateX(4px); }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--rule); }
.btn.ghost:hover { border-color: var(--text); background: color-mix(in srgb, var(--text) 8%, transparent); }
.btn.big { padding: 20px 34px; font-size: clamp(16px, 2vw, 20px); }
.btn.small { padding: 10px 16px; font-size: 13px; font-weight: 600; }

/* ============================================================
   SIDE RAIL
   ============================================================ */
.rail {
  position: fixed; top: 0; right: 0; z-index: 100; width: var(--rail); height: 100vh; height: 100dvh;
  background: var(--rail-bg); border-left: 1px solid var(--rule);
  display: flex; flex-direction: column; padding: 24px 20px;
  transition: background-color 0.35s ease;
}
.rail-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rail-brand { display: block; }
.rail-logo { width: 120px; height: auto; }
.rail-toggle { display: none; }
.rail-nav { display: flex; flex-direction: column; gap: 2px; margin-top: 28px; flex: 1; }
.rail-link {
  display: flex; align-items: baseline; gap: 14px; text-decoration: none; color: var(--muted);
  padding: 11px 12px; border-radius: 10px;
  transition: color 0.18s, background 0.18s;
}
.rail-n { font-size: 11px; letter-spacing: 0.08em; opacity: 0.6; }
.rail-t { font-size: 15px; font-weight: 600; }
.rail-link:hover { color: var(--text); background: color-mix(in srgb, var(--text) 6%, transparent); }
.rail-link.is-active { color: var(--text); background: color-mix(in srgb, var(--text) 10%, transparent); }
.rail-link.is-active .rail-n, .rail-link:hover .rail-n { color: var(--accent); opacity: 1; }
.rail-foot { display: flex; flex-direction: column; gap: 18px; }
.socials { display: flex; gap: 8px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--rule); color: var(--muted); transition: color 0.15s, border-color 0.15s, transform 0.15s;
}
.socials a:hover { color: var(--text); border-color: var(--text); transform: translateY(-2px); }
.socials svg { width: 16px; height: 16px; }

@media (min-width: 1100px) {
  body { padding-right: var(--rail); }
  .rail-bar { justify-content: center; }
  .socials { justify-content: center; }
}
@media (max-width: 1099px) {
  .rail {
    position: sticky; width: 100%; height: auto; padding: 10px clamp(16px, 5vw, 24px);
    border-left: 0; border-bottom: 1px solid var(--rule);
  }
  .rail-logo { width: 54px; }
  .rail-toggle {
    display: inline-flex; align-items: center; gap: 10px; cursor: pointer; background: transparent;
    border: 1px solid var(--rule); border-radius: 999px; padding: 9px 14px;
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  }
  .rail-burger { display: inline-flex; flex-direction: column; gap: 4px; }
  .rail-burger span { display: block; width: 15px; height: 1.5px; background: currentColor; transition: transform 0.2s; }
  .rail-nav, .rail-foot { display: none; }
  .rail-nav { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--rule); flex: none; }
  .rail-foot { margin-top: 10px; padding-bottom: 8px; }
  .rail.rail--open .rail-nav, .rail.rail--open .rail-foot { display: flex; }
  .rail.rail--open .rail-burger span:first-child { transform: translateY(2.75px) rotate(45deg); }
  .rail.rail--open .rail-burger span:last-child { transform: translateY(-2.75px) rotate(-45deg); }
}

/* ============================================================
   HERO STAGE
   Default = stacked and readable with no JS. app.js adds .stage--pinned
   on wide screens with motion allowed; scroll then crossfades the art.
   ============================================================ */
.stage { position: relative; background: var(--bg); }
.stage-track { position: relative; }
.eyebrow { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.eyebrow .tick { display: inline-block; width: 24px; height: 2px; background: var(--accent); vertical-align: middle; margin-right: 12px; }
.stage-title {
  font-size: clamp(40px, 7vw, 96px); font-weight: 700; line-height: 1.04; letter-spacing: -0.025em;
  margin-top: 22px; text-wrap: balance;
}
.stage-sub { font-size: clamp(16px, 1.7vw, 20px); line-height: 1.5; color: var(--muted); max-width: 520px; margin-top: 24px; }
.stage-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-stat { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 22px; }
.hero-stat-v { font-size: clamp(60px, 7vw, 104px); font-weight: 700; letter-spacing: -0.03em; line-height: 0.85; }
.hero-stat-l { font-size: clamp(15px, 1.4vw, 18px); font-weight: 600; max-width: 18ch; line-height: 1.3; }

/* Stacked: full panels, one after another, each with its own content. */
.beat { position: relative; overflow: hidden; min-height: clamp(520px, 86vh, 820px); display: flex; align-items: flex-end; }
.beat-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
/* Key art per beat. Set here rather than as inline styles so the Content Security Policy can forbid inline CSS. */
.beat[data-beat="0"] .beat-bg { background-image: url('../assets/img/splash-wide.webp'); }
.beat[data-beat="1"] .beat-bg { background-image: url('../assets/img/k-market-kiusaamisvapaa.jpg'); }
.beat[data-beat="2"] .beat-bg { background-image: url('../assets/img/linnan-juhlat-2024.webp'); }
.beat[data-beat="3"] .beat-bg { background-image: url('../assets/img/caskadia-keyart.jpg'); }
.beat-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(var(--scrim), 0.95) 0%, rgba(var(--scrim), 0.8) 34%, rgba(var(--scrim), 0.25) 68%, rgba(var(--scrim), 0.05) 100%);
}
.beat-content { position: relative; z-index: 3; padding: clamp(24px, 5vw, 64px); max-width: 980px; }

/* ── Pinned: the panels stack in one screen and scroll swaps which one is showing ── */
.stage--pinned { height: 440vh; background: #000; } /* roughly one screen of scroll per beat, plus one */
.stage--pinned .stage-track { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; }
.stage--pinned .stage-title { font-size: clamp(48px, 5.8vw, 104px); text-shadow: 0 2px 40px rgba(0, 0, 0, 0.45); }
.stage--pinned .stage-sub { text-shadow: 0 1px 16px rgba(0, 0, 0, 0.6); }

/* visibility (not just opacity) so hidden panels can't be clicked or tabbed into. */
.stage--pinned .beat {
  position: absolute; inset: 0; min-height: 0; display: block; opacity: 0; visibility: hidden;
  transition: opacity 0.8s ease, visibility 0s linear 0.8s;
}
.stage--pinned .beat.is-current { opacity: 1; visibility: visible; transition: opacity 0.8s ease, visibility 0s; }
.stage--pinned .beat-content {
  position: absolute; left: 0; bottom: 0; max-width: min(900px, 74%);
  padding: 0 clamp(32px, 4.5vw, 72px) clamp(56px, 9vh, 96px);
}
/* The content of the incoming panel rises into place, line by line. */
.stage--pinned .beat-content > * { opacity: 0; transform: translateY(40px); transition: opacity 0.35s ease, transform 0.35s ease; }
.stage--pinned .beat.is-current .beat-content > * {
  opacity: 1; transform: none;
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.stage--pinned .beat.is-current .beat-content > :nth-child(1) { transition-delay: 0.25s; }
.stage--pinned .beat.is-current .beat-content > :nth-child(2) { transition-delay: 0.33s; }
.stage--pinned .beat.is-current .beat-content > :nth-child(3) { transition-delay: 0.41s; }
.stage--pinned .beat.is-current .beat-content > :nth-child(4) { transition-delay: 0.49s; }
.stage--pinned .beat.is-current .beat-content > :nth-child(5) { transition-delay: 0.57s; }
.stage--pinned .beat-bg { transform: scale(1.1); transition: transform 7s ease-out; }
.stage--pinned .beat.is-current .beat-bg { transform: scale(1); }
.stage--pinned .beat-scrim {
  background:
    linear-gradient(90deg, rgba(var(--scrim), 0.94) 0%, rgba(var(--scrim), 0.8) 38%, rgba(var(--scrim), 0.3) 66%, rgba(var(--scrim), 0.1) 82%, rgba(var(--scrim), 0.3) 100%),
    linear-gradient(0deg, rgba(var(--scrim), 0.85) 0%, rgba(var(--scrim), 0) 44%);
}

/* ============================================================
   TICKER
   ============================================================ */
.ticker { overflow: hidden; background: var(--accent); color: var(--accent-ink); padding: 14px 0; }
.ticker-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: ticker 36s linear infinite; }
.ticker-track span { font-size: clamp(15px, 1.6vw, 19px); font-weight: 700; letter-spacing: -0.01em; text-transform: uppercase; white-space: nowrap; }
.ticker-track i { font-style: normal; opacity: 0.55; }
@keyframes ticker { to { transform: translateX(calc(-50% - 14px)); } }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { position: relative; padding: clamp(72px, 11vw, 132px) 0; overflow: clip; }
.section.raised { background: var(--bg-2); }
.section > .wrap { position: relative; }
.sect-head { margin-bottom: clamp(36px, 5vw, 60px); max-width: 880px; }
.sect-num { display: inline-block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.sect-h { font-size: clamp(34px, 5.4vw, 72px); font-weight: 700; line-height: 1.08; letter-spacing: -0.022em; text-wrap: balance; }
.sect-sub { margin-top: 22px; font-size: clamp(17px, 1.8vw, 21px); color: var(--muted); max-width: 640px; }

.link-arrow { align-self: flex-start; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 3px; }
.link-arrow span { display: inline-block; transition: transform 0.2s; }
.link-arrow:hover span { transform: translateX(4px); }

/* ── Logo row: a plain reference list of partners and the platform, no boxes ── */
.logo-row {
  list-style: none; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 28px clamp(36px, 6vw, 88px);
  padding: 28px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.logo-item { display: flex; flex-direction: column; gap: 12px; }
.logo-mark { height: 30px; width: auto; }
.logo-name { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; line-height: 30px; }
.logo-cap { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ── Games ──
   .game         image beside text (base)
   .game--case   branded case card: image above text, two side by side in .cases
   .game--minor  smaller row for our own title */
.game { display: grid; grid-template-columns: 1fr; gap: clamp(20px, 3vw, 44px); align-items: center; }
.game + .game { margin-top: clamp(48px, 7vw, 96px); }
@media (min-width: 900px) { .game { grid-template-columns: 1.5fr 1fr; } }

.cases { display: grid; grid-template-columns: 1fr; gap: clamp(48px, 7vw, 72px) clamp(24px, 3.4vw, 48px); margin-top: clamp(40px, 6vw, 72px); }
.cases .game + .game { margin-top: 0; }
.game--case { grid-template-columns: 1fr; gap: 22px; align-items: start; }
.game--case .game-h { font-size: clamp(28px, 3vw, 40px); }
.cases + .game { margin-top: clamp(48px, 7vw, 96px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--rule); }
.game--minor .game-h { font-size: clamp(26px, 2.8vw, 36px); }
@media (min-width: 900px) {
  .cases { grid-template-columns: 1.15fr 1fr; align-items: start; }
  /* The second case sits lower, so the pair reads as a rhythm, not a table. */
  .cases .game:nth-child(2) { margin-top: clamp(56px, 8vw, 112px); }
  .game--minor { grid-template-columns: 1fr 1.6fr; }
}

/* ── Call to action that closes the work section ── */
.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px;
  margin-top: clamp(56px, 8vw, 112px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--rule);
}
.cta-h { font-size: clamp(30px, 4vw, 52px); font-weight: 700; letter-spacing: -0.022em; line-height: 1.05; }
.cta-p { margin-top: 12px; font-size: 17px; color: var(--muted); max-width: 46ch; }
.game-media {
  position: relative; display: block; border-radius: calc(var(--r) + 4px); overflow: hidden; aspect-ratio: 16 / 9;
  border: 1px solid var(--rule);
  transition: transform 0.3s ease;
}
.game-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s ease; }
/* Only linked art lifts on hover; unlinked case art stays still. */
a.game-media:hover { transform: translateY(-4px) rotate(-0.4deg); }
a.game-media:hover img { transform: scale(1.05); }
.game-play {
  position: absolute; left: 14px; bottom: 14px; padding: 9px 14px; border-radius: 999px; font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; background: rgba(0, 0, 0, 0.72); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(6px); transition: opacity 0.25s, transform 0.25s;
}
.game-media:hover .game-play, .game-media:focus-visible .game-play { opacity: 1; transform: none; }
@media (hover: none) { .game-play { opacity: 1; transform: none; } }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-family: var(--mono-f); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; padding: 7px 12px; border: 1px solid color-mix(in srgb, var(--text) 38%, transparent); border-radius: 999px; color: color-mix(in srgb, var(--text) 88%, transparent); }
.game-h { font-size: clamp(30px, 4vw, 52px); font-weight: 700; letter-spacing: -0.022em; line-height: 1; margin-top: 18px; }
.game-p { margin-top: 16px; font-size: 17px; color: var(--muted); max-width: 46ch; }
.game-stat { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--rule); }
.game-stat-v { font-size: 56px; font-weight: 700; letter-spacing: -0.03em; line-height: 0.9; }
.game-stat-l { font-size: 14px; font-weight: 600; max-width: 22ch; line-height: 1.3; }
/* Several figures side by side: value above its label. */
.game-stats { display: flex; flex-wrap: wrap; gap: 20px 36px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--rule); }
.game-stats .game-stat { flex-direction: column; align-items: flex-start; gap: 8px; margin: 0; padding: 0; border: 0; }
.game-stats .game-stat-v { font-size: clamp(32px, 3.2vw, 42px); }

/* ── Offers + steps ──
   Offers are plain text on the section background: the first is the main offer, the second a quieter side note. */
.offers { display: grid; grid-template-columns: 1fr; gap: 40px clamp(32px, 5vw, 72px); }
@media (min-width: 760px) { .offers { grid-template-columns: 1.7fr 1fr; align-items: start; } }
.offer { display: flex; flex-direction: column; gap: 14px; }
.offer-label { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.offer-h { font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; letter-spacing: -0.018em; line-height: 1.05; }
.offer-p { font-size: 18px; color: var(--muted); max-width: 46ch; }
.offer .link-arrow { margin-top: 8px; }
.offer--aside .offer-label { color: var(--muted); }
.offer--aside .offer-h { font-size: 22px; }
.offer--aside .offer-p { font-size: 15px; }

.steps-label { margin-top: clamp(48px, 6vw, 80px); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.steps { list-style: none; display: grid; grid-template-columns: 1fr; margin-top: 16px; border-top: 1px solid var(--rule); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 26px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 760px) {
  .step { padding: 30px 28px; border-bottom: 0; border-right: 1px solid var(--rule); }
  .step:first-child { padding-left: 0; }
  .step:last-child { border-right: 0; padding-right: 0; }
}
.step-n { font-size: 12px; letter-spacing: 0.14em; color: var(--accent); }
.step-h { font-size: 24px; font-weight: 700; letter-spacing: -0.018em; margin-top: 10px; }
.step-p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* ── Contact ── */
.contact-block { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.contact-block .sect-num { margin: 0; }
.contact-h { font-size: clamp(44px, 7vw, 96px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; }
.contact-p { font-size: clamp(16px, 1.8vw, 20px); color: var(--muted); max-width: 46ch; }

/* ── Footer ── */
.foot { border-top: 1px solid var(--rule); padding: 28px 0; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; font-size: 11px; letter-spacing: 0.06em; color: var(--muted); }
.foot-logo { width: 56px; height: auto; }
.foot-in span:last-child { margin-left: auto; }

/* ── Scroll reveal (only when JS is running) ── */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}
