/* Layout: one fixed three.js canvas behind everything; HTML sections scroll
   over it inside a 1280px wrap with safe-area gutters. Deliberately dark-only:
   warm black, cream type, signal red, mono labels. */
:root {
  --ink: #0b0a0a;
  --ink-2: #131110;
  --ink-3: #1c1a18;
  --line: rgba(233, 221, 191, 0.1);
  --line-2: rgba(233, 221, 191, 0.18);
  --cream: #ecdfc2;
  --sand: #c9bea6;
  --mute: #8d8574;
  --code-c: #756d5c;
  --red: #e00a0a;
  --red-ink: #ff4b3e;
  --red-deep: #3b0606;
  --on-red: #fff7f2;
  --card-a: rgba(30, 28, 26, 0.82);
  --card-b: rgba(17, 16, 15, 0.88);
  --font-display: "Inter Tight", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --gutter-l: max(16px, 4vw, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, 4vw, env(safe-area-inset-right, 0px));
  --radius: 22px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  color-scheme: dark;
}

[hidden] { display: none !important; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--sand);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: var(--ink);
}
img { max-width: 100%; }
a { color: inherit; }
::selection { background: var(--red); color: var(--on-red); }
:focus-visible { outline: 2px solid var(--red-ink); outline-offset: 3px; border-radius: 6px; }

.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;
}
.skip {
  position: fixed; left: 12px; top: -80px; z-index: 60;
  background: var(--cream); color: var(--ink); padding: 10px 14px; border-radius: 8px;
  font-family: var(--font-mono); font-size: 0.8rem; text-decoration: none;
}
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

/* ---------------------------------------------------------------- stage */
.stage-canvas {
  position: fixed; inset: 0; z-index: 0; display: block;
  width: 100%; height: 100vh; height: 100lvh;
  opacity: 0; transition: opacity 1.4s ease;
}
.stage-canvas.is-ready { opacity: 1; }
.no-webgl .stage-canvas { display: none; }

.atmos {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(233, 221, 191, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(233, 221, 191, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 25%, transparent 80%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 25%, transparent 80%);
}
.no-webgl .atmos::after {
  content: ""; position: fixed; inset: 0;
  background: radial-gradient(50% 45% at 72% 30%, rgba(150, 10, 6, 0.32), transparent 70%);
}

.callouts { position: fixed; inset: 0; z-index: 2; pointer-events: none; }
.callout-lines, .callout-labels { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.callout-lines { overflow: visible; }
.callout-lines path { fill: none; stroke: rgba(233, 221, 191, 0.42); stroke-width: 1; stroke-dasharray: 3 4; }
.callout-lines circle { fill: var(--red-ink); }
.callout {
  position: absolute; left: 0; top: 0;
  display: flex; flex-direction: column; gap: 5px;
  font-family: var(--font-mono); white-space: nowrap; will-change: transform;
}
.callout.is-left { align-items: flex-end; text-align: right; }
.callout-head { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8); }
.callout-num { color: var(--red-ink); }
.callout-sub { font-family: var(--font-body); font-size: 0.9rem; color: var(--sand); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8); }
@media (max-width: 760px) {
  .callout-head { font-size: 0.62rem; letter-spacing: 0.1em; }
  .callout-sub { font-size: 0.72rem; }
}
/* Phones: numbered tags on the parts and a two-column legend underneath. */
.callout-tag {
  display: none; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  fill: var(--red-ink); paint-order: stroke; stroke: rgba(11, 10, 10, 0.85); stroke-width: 3px; stroke-linejoin: round;
}
.callout-lines.is-legend path { display: none; }
.callout-lines.is-legend .callout-tag { display: inline; }
.callout-labels.is-legend .callout { white-space: normal; align-items: flex-start; text-align: left; gap: 4px; }
.callout-labels.is-legend .callout-head { font-size: 0.64rem; line-height: 1.5; letter-spacing: 0.12em; }
.callout-labels.is-legend .callout-sub { font-size: 0.8rem; line-height: 1.35; }

/* ---------------------------------------------------------------- topbar */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease;
}
.topbar.is-scrolled, .topbar.menu-open {
  background: rgba(11, 10, 10, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}
.topbar-in {
  height: 68px; max-width: 1480px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-left: var(--gutter-l); padding-right: var(--gutter-r);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; white-space: nowrap; color: var(--cream); }
/* Wordmark: the C of Cronos is a watch dial; its red hand ticks once a second. */
.wordmark {
  display: inline-flex; align-items: baseline; color: var(--cream);
  font-family: var(--font-display); font-weight: 700; font-size: 1.36rem; line-height: 1; letter-spacing: -0.025em;
}
.wm-c { width: 0.94em; height: 0.94em; margin-right: 0.01em; margin-bottom: -0.09em; overflow: visible; flex: none; }
.wm-arc { fill: none; stroke: currentColor; stroke-width: 3.1; stroke-linecap: round; }
.wm-ticks { fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linecap: round; opacity: 0.45; }
.wm-hand { stroke: var(--red-ink); stroke-width: 1.9; stroke-linecap: round; transform-origin: 12px 12px; animation: tick 60s steps(60) infinite; }
.wm-core { fill: var(--red); }
.wordmark-lg { font-size: 2.3rem; }
.brand-sub {
  font-family: var(--font-mono); font-size: 0.64rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--mute); padding-left: 12px; border-left: 1px solid var(--line-2); line-height: 1.7;
}
@media (max-width: 560px) { .brand-sub { display: none; } }
.cal-dial { width: 18px; height: 18px; flex: none; overflow: visible; }
.cal-dial circle { fill: none; stroke: rgba(233, 221, 191, 0.45); stroke-width: 1.4; }
.cal-dial line { stroke: var(--red-ink); stroke-width: 1.7; stroke-linecap: round; transform-origin: 10px 10px; animation: tick 60s steps(60) infinite; }
@keyframes tick { to { transform: rotate(360deg); } }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico {
  width: 16px; height: 16px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.nav { display: none; gap: 28px; }
.nav a, .slate {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--mute); text-decoration: none;
}
.nav a { padding: 10px 0; transition: color 0.2s; }
.nav a:hover { color: var(--cream); }
.slate { display: none; white-space: nowrap; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.lang button {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  min-height: 34px; min-width: 40px; padding: 0 10px; border-radius: 999px;
  color: var(--mute); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em;
}
.lang button[aria-pressed="true"] { background: var(--cream); color: var(--ink); }
.topbar .topbar-cta { display: none; }
.brand-name { white-space: nowrap; }
.menu-btn {
  appearance: none; display: inline-grid; place-items: center; cursor: pointer;
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(11, 10, 10, 0.5);
}
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s; }
.menu-icon { position: relative; background: transparent; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -4px; }
.menu-icon::after { top: 4px; }
.menu-btn[aria-expanded="true"] .menu-icon::before { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::after { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav {
  display: grid; gap: 2px;
  padding: 6px var(--gutter-r) 22px var(--gutter-l);
}
.mobile-nav a {
  font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; letter-spacing: -0.02em;
  color: var(--cream); text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) { .topbar .topbar-cta { display: inline-flex; } }
@media (min-width: 1080px) {
  .nav { display: flex; }
  .menu-btn, .mobile-nav { display: none !important; }
}
@media (min-width: 1320px) { .slate { display: inline; } }

/* ---------------------------------------------------------------- layout */
.page { position: relative; z-index: 5; overflow-x: clip; }
.wrap {
  width: 100%; max-width: 1320px; margin-inline: auto;
  padding-left: var(--gutter-l); padding-right: var(--gutter-r);
}
.section { position: relative; padding-block: clamp(96px, 15vh, 180px); scroll-margin-top: 64px; }
.hero { scroll-margin-top: 0; }

/* ---------------------------------------------------------------- type */
.eyebrow {
  display: flex; align-items: center; gap: 16px; margin: 0 0 22px;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--sand);
}
.eyebrow::before { content: ""; width: 44px; height: 2px; background: var(--red); flex: none; }
.display, .h2, .h3 { font-family: var(--font-display); color: var(--cream); text-wrap: balance; }
/* Two-line headlines: line-height stays above 1 so descenders (q, p, g)
   never touch the next line's capitals, even when a line wraps. */
.display {
  font-weight: 800; font-size: clamp(2.7rem, 6vw, 6.2rem); line-height: 1.04; letter-spacing: -0.042em;
  margin: 0 0 28px; text-shadow: 0 2px 40px rgba(0, 0, 0, 0.45);
}
.h2 {
  font-weight: 800; font-size: clamp(2.3rem, 5.4vw, 5.1rem); line-height: 1.06; letter-spacing: -0.038em;
  margin: 0 0 24px; text-shadow: 0 2px 40px rgba(0, 0, 0, 0.45);
}
.h3 { font-weight: 700; font-size: clamp(1.28rem, 1.9vw, 1.7rem); line-height: 1.18; letter-spacing: -0.02em; margin: 0 0 12px; }
.line { display: block; }
.line + .line { margin-top: 0.04em; }
.red { color: var(--red); }
.lede { font-size: clamp(1.12rem, 1.5vw, 1.42rem); line-height: 1.5; color: var(--sand); max-width: 44ch; margin: 0; }
.body-lg { font-size: clamp(1.06rem, 1.3vw, 1.26rem); line-height: 1.6; color: var(--sand); max-width: 56ch; margin: 0; }
.kicker { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--red-ink); margin: 0 0 16px; }
.card-text { color: var(--sand); margin: 0; font-size: 1.02rem; line-height: 1.62; }
.card-text strong { color: var(--cream); font-weight: 600; }
.mono-red, .mono-cream, .mono-mute { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.74rem; }
.mono-red { color: var(--red-ink); }
.mono-cream { color: var(--cream); }
.mono-mute { color: var(--mute); text-transform: none; letter-spacing: 0.04em; font-size: 0.82rem; }

/* ---------------------------------------------------------------- controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 12px; border: 1px solid transparent; cursor: pointer;
  font-family: var(--font-mono); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; text-align: center; line-height: 1.2;
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.3s, border-color 0.2s, color 0.2s;
}
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn-red { background: var(--red); color: var(--on-red); box-shadow: 0 14px 44px -14px rgba(224, 10, 10, 0.75); }
.btn-red:hover { background: #f21313; transform: translateY(-1px); box-shadow: 0 18px 54px -12px rgba(224, 10, 10, 0.9); }
.btn-ghost { background: rgba(20, 18, 17, 0.55); border-color: var(--line-2); color: var(--cream); }
.btn-ghost:hover { border-color: rgba(233, 221, 191, 0.42); background: rgba(40, 36, 33, 0.6); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.68rem; }
.btn-block { width: 100%; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 30px 0 0; }
.chip {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cream); padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(20, 18, 17, 0.62);
}
.chip-red { background: var(--red); border-color: var(--red); color: var(--on-red); }
.chips.small { margin-top: 20px; gap: 8px; }
.chips.small .chip { font-size: 0.64rem; padding: 8px 11px; color: var(--sand); }
.chips.small .chip-red { color: var(--on-red); }
.platform { display: inline-flex; align-items: center; gap: 8px; transition: border-color 0.2s, color 0.2s; }
.platform:not(.chip-red):hover { border-color: rgba(255, 75, 62, 0.6); color: var(--cream); }
.platform:not(.chip-red):hover .ico { color: var(--red-ink); }

.card {
  position: relative; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card-a), var(--card-b));
  border: 1px solid rgba(233, 221, 191, 0.09);
  padding: clamp(22px, 2.6vw, 36px);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.85);
}
.grid-2 { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.rule { margin-top: 48px; border-left: 3px solid var(--red); padding: 4px 0 4px 24px; max-width: 780px; }
.rule .kicker { margin-bottom: 10px; }
.rule-text {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  line-height: 1.25; letter-spacing: -0.02em; color: var(--cream); margin: 0; text-wrap: balance;
}

.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: var(--sand); font-size: 0.98rem; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 12px; height: 2px; background: var(--red); }

/* ---------------------------------------------------------------- reveals */
.js [data-reveal] { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js [data-reveal]:not(.in) { opacity: 0.35; transform: translateY(18px); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding-top: clamp(120px, 17vh, 200px); padding-bottom: clamp(48px, 8vh, 100px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 70% at 18% 55%, rgba(11, 10, 10, 0.62), transparent 70%);
}
.hero-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: end; }
.hero-copy { max-width: 860px; min-width: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 56px 0 0;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mute);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 10px; }
.hero-meta span + span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
/* On wide screens the hold control sits right under the object (which the
   hero cue places at 74% of the width). */
@media (min-width: 1080px) and (min-aspect-ratio: 145/100) {
  .hero { min-height: calc(48vh + 12vw + 150px); }
  .hold-wrap { position: absolute; left: 74%; top: calc(48vh + 12vw + 20px); transform: translateX(-50%); }
  .hold-wrap.in { transform: translateX(-50%); }
  .js .hold-wrap[data-reveal]:not(.in) { transform: translate(-50%, 18px); }
}
@media (max-aspect-ratio: 82/100) {
  .js:not(.no-webgl) .hero { padding-top: max(46vh, 300px); }
}

.hold-wrap { display: flex; align-items: center; gap: 18px; }
.js:not(.has-3d) .hold-wrap { opacity: 0.35; pointer-events: none; }
.no-webgl .hold-wrap, .no-js .hold-wrap { display: none; }
.hold {
  position: relative; flex: none; width: 76px; height: 76px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; cursor: pointer; touch-action: none;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent;
}
.hold svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.hold-track { fill: rgba(20, 18, 17, 0.72); stroke: var(--line-2); stroke-width: 1.5; }
.hold-ring {
  fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 201.06; stroke-dashoffset: 201.06;
  filter: drop-shadow(0 0 6px rgba(224, 10, 10, 0.75));
}
.hold-core {
  position: absolute; inset: 25px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff6a58, var(--red) 55%, #5a0303);
  box-shadow: 0 0 22px rgba(224, 10, 10, 0.55);
  transition: transform 0.25s var(--ease), box-shadow 0.3s;
}
.hold:hover .hold-core { transform: scale(1.06); }
.hold.is-holding .hold-core { transform: scale(0.86); }
.hold.is-on .hold-core { box-shadow: 0 0 36px 8px rgba(255, 40, 20, 0.8); }
.hold-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hold-label { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--cream); }
.hold-hint { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; color: var(--mute); }

/* ---------------------------------------------------------------- idea */
.col-right, .col-left { max-width: 640px; }
@media (min-width: 1080px) {
  .col-right { margin-left: auto; }
}
.stack { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 22px; align-items: center; margin: 44px 0; }
.stack-art { width: 132px; height: auto; overflow: visible; }
.stack-art polygon { fill: rgba(233, 221, 191, 0.03); stroke: rgba(233, 221, 191, 0.4); stroke-width: 1.4; }
.stack-art .top polygon { fill: rgba(224, 10, 10, 0.2); stroke: var(--red); }
.stack-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.stack-list li {
  display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: baseline;
  padding: 10px 0; border-bottom: 1px dashed rgba(233, 221, 191, 0.14); min-width: 0;
}
.stack-num { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; color: var(--sand); }
.stack-num.is-top { color: var(--red-ink); }
.stack-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.stack-title { font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; line-height: 1.25; letter-spacing: -0.01em; color: var(--cream); }
.stack-sub { font-size: 0.94rem; line-height: 1.4; color: var(--sand); }
/* Phones: the close-up of the watch sits right behind this list, so it gets
   its own dark panel and the full width for the text. */
@media (max-width: 640px) {
  .stack {
    grid-template-columns: 54px minmax(0, 1fr); gap: 14px; margin: 34px 0; padding: 12px 16px 4px 12px;
    border-radius: 18px; border: 1px solid var(--line); background: rgba(11, 10, 10, 0.82);
  }
  .stack-art { width: 54px; }
  .stack-list li { grid-template-columns: 26px minmax(0, 1fr); gap: 8px; padding: 10px 0; }
  .stack-list li:last-child { border-bottom: 0; }
  .stack-title { font-size: 1rem; }
  .stack-sub { font-size: 0.88rem; }
}

/* ---------------------------------------------------------------- services */
.section-head { max-width: 880px; margin-bottom: clamp(36px, 6vh, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .body-lg { margin-inline: auto; }
.section-head.end { margin-left: auto; text-align: right; }
.section-head.end .eyebrow { justify-content: flex-end; }
.stage { position: relative; height: 118vh; }
.no-webgl .stage, .no-js .stage { display: none; }
.service-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 920px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.service { display: flex; flex-direction: column; min-width: 0; }
.service-top { display: flex; align-items: flex-end; gap: 18px; margin-bottom: 18px; }
.service-top .kicker { margin: 0 0 8px; }
.num, .step-num {
  font-family: var(--font-display); font-weight: 800; line-height: 0.85; letter-spacing: -0.05em;
  color: var(--red); text-shadow: 0 0 40px rgba(224, 10, 10, 0.35);
}
.num { font-size: clamp(3.2rem, 5.6vw, 4.8rem); }
.code {
  margin: 22px 0 0; border-radius: 16px; border: 1px solid rgba(233, 221, 191, 0.08);
  background: rgba(8, 8, 8, 0.6); padding: 18px 20px; overflow-x: auto; min-width: 0;
}
.code figcaption { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--red-ink); margin-bottom: 12px; }
.code pre { margin: 0; font-family: var(--font-mono); font-size: 0.8rem; line-height: 1.75; color: var(--cream); white-space: pre; }
.code .k { color: var(--red-ink); }
.code .s { color: #f4e3c1; }
.code .n { color: #ffd0c6; }
.code .c { color: var(--code-c); }
.code .f { color: var(--sand); }

/* ---------------------------------------------------------------- process */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 14px; }
.step {
  display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: start;
  padding: 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card-a), var(--card-b)); border: 1px solid rgba(233, 221, 191, 0.09);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.step-num { font-size: 3rem; }
.step .h3 { margin-bottom: 8px; }
@media (max-width: 560px) {
  .step { grid-template-columns: 52px minmax(0, 1fr); padding: 20px; }
  .step-num { font-size: 2.2rem; }
}

/* ---------------------------------------------------------------- work */
.cases { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.case { display: flex; flex-direction: column; min-width: 0; }
.case-media { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 24px; }
.case-media img { display: block; width: 100%; height: auto; transition: transform 0.6s var(--ease); }
.case-media:hover img { transform: scale(1.03); }
.case-body { min-width: 0; }
@media (min-width: 980px) {
  .case-feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px; align-items: center; }
  .case-feature.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .case-feature .case-media, .case-feature .case-mock { margin-bottom: 0; }
}
.case-mock {
  border-radius: 14px; border: 1px solid var(--line); background: rgba(8, 8, 8, 0.55);
  padding: 18px; margin-bottom: 24px; font-family: var(--font-mono); font-size: 0.74rem;
}

@media (max-width: 979px) {
  .case-feature.flip .case-mock { margin: 26px 0 0; }
}

/* Memory game, light and quick: dark cards with the Cronos mark on the back,
   network icons on the front; a found pair keeps a soft red glow. The
   stopwatch starts with the first card. */
.game { position: relative; padding: 20px 20px 16px; overflow: hidden; }
.no-js .game { display: none; }
.game-top { display: flex; align-items: center; justify-content: space-between; gap: 10px 12px; flex-wrap: wrap; margin-bottom: 16px; }
.game-clock { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); letter-spacing: 0.14em; font-variant-numeric: tabular-nums; }
.game .cal-dial line { animation-play-state: paused; }
.game.is-running .cal-dial line { animation-play-state: running; animation-duration: 6s; }
.game-stats { color: var(--mute); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.game-stats b { color: var(--red-ink); font-weight: 600; }
.game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 420px; margin-inline: auto; perspective: 900px; }
.mem {
  appearance: none; position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; margin: 0;
  border: 0; border-radius: 10px; background: transparent; cursor: pointer; color: inherit;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.mem-in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 0.5s var(--ease); }
.mem.is-up .mem-in, .mem.is-done .mem-in { transform: rotateY(180deg); }
.mem-face {
  position: absolute; inset: 0; display: grid; place-items: center; border-radius: 10px;
  border: 1px solid rgba(233, 221, 191, 0.08);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.mem-back { background: rgba(255, 255, 255, 0.015); color: rgba(233, 221, 191, 0.26); transition: border-color 0.25s, background 0.25s, color 0.25s; }
.mem-back svg { width: 38%; height: 38%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.mem-back .hand { stroke: rgba(255, 75, 62, 0.6); }
.mem:hover .mem-back { border-color: rgba(233, 221, 191, 0.24); background: rgba(255, 255, 255, 0.03); color: rgba(233, 221, 191, 0.5); }
.mem-front { transform: rotateY(180deg); background: rgba(233, 221, 191, 0.05); border-color: rgba(233, 221, 191, 0.24); color: var(--cream); }
.mem-front .ico { width: 42%; height: 42%; }
.mem.is-done { cursor: default; }
.mem.is-done .mem-front {
  background: rgba(224, 10, 10, 0.09); border-color: rgba(255, 75, 62, 0.42); color: var(--red-ink);
  box-shadow: 0 0 18px -6px rgba(255, 75, 62, 0.6); animation: mem-pop 0.5s 0.2s var(--ease) both;
}
.mem.is-miss .mem-front { border-color: rgba(255, 75, 62, 0.32); animation: mem-miss 0.42s 0.42s var(--ease); }
@keyframes mem-pop { 45% { transform: rotateY(180deg) scale(1.07); } }
@keyframes mem-miss { 30% { transform: rotateY(180deg) translateX(-3px); } 70% { transform: rotateY(180deg) translateX(3px); } }
.mem:focus-visible { outline: 2px solid var(--red-ink); outline-offset: 2px; }
.game-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.game-hint { margin: 0; font-size: 0.66rem; line-height: 1.6; letter-spacing: 0.06em; color: var(--mute); }
.game-again {
  appearance: none; flex: none; min-height: 32px; padding: 0 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-2); background: transparent; color: var(--sand);
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.game-again:hover { color: var(--cream); border-color: rgba(233, 221, 191, 0.42); }
.game-win {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 24px; text-align: center;
  background: radial-gradient(120% 90% at 50% 45%, rgba(38, 8, 6, 0.93), rgba(8, 8, 8, 0.96));
  animation: win-in 0.6s var(--ease) both;
}
@keyframes win-in { from { opacity: 0; transform: scale(0.98); } }
.game-win-k { margin: 0; font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--red-ink); }
.game-win-t {
  margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.2; letter-spacing: -0.02em; color: var(--cream); text-wrap: balance;
}
.game-win-best { margin: 0 0 14px; font-size: 0.72rem; letter-spacing: 0.08em; color: var(--mute); }
.game-win-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.link-arrow {
  display: inline-flex; gap: 8px; margin-top: 24px; padding-bottom: 4px; border-bottom: 1px solid var(--red);
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream); text-decoration: none;
}
.link-arrow:hover { color: #fff; }
.stats { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; text-align: center; }
.stat-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 4.4rem); letter-spacing: -0.045em; line-height: 1; color: var(--cream); }
.stat-num.red { color: var(--red); }
.stat-label { display: block; margin-top: 12px; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--mute); }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- plans */
.plan-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan { display: flex; flex-direction: column; min-width: 0; }
.plan .ticks { flex: 1; margin-bottom: 28px; }
.plan-mid { border-color: rgba(255, 75, 62, 0.35); background: linear-gradient(180deg, rgba(64, 8, 8, 0.6), var(--card-b)); }

/* ---------------------------------------------------------------- faq */
.faq-wrap { display: grid; gap: 24px; }
@media (min-width: 1080px) { .faq-wrap { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; gap: 48px; } }
.faq-list { display: grid; gap: 12px; }
.qa {
  border-radius: 18px; border: 1px solid rgba(233, 221, 191, 0.1); background: rgba(19, 17, 16, 0.84);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.qa summary {
  cursor: pointer; list-style: none; position: relative; padding: 20px 56px 20px 22px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; color: var(--cream);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-family: var(--font-mono); font-size: 1.3rem; color: var(--red-ink); }
.qa[open] summary::after { content: "−"; }
.qa p { margin: 0; padding: 0 22px 22px; color: var(--sand); }

/* ---------------------------------------------------------------- contact */
.contact-head { margin-bottom: 56px; }
.contact-head .display { font-size: clamp(2.6rem, 6.4vw, 6.2rem); }
.contact-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .contact-grid { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); align-items: start; } }
.direct { display: grid; gap: 14px; min-width: 0; }
.direct-item .kicker { margin-bottom: 10px; }
.direct-value { font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; color: var(--cream); margin: 0 0 16px; overflow-wrap: anywhere; }
.direct-value.small { font-size: 1.08rem; margin-bottom: 8px; }
.select { -webkit-user-select: all; user-select: all; }
.direct-actions { display: grid; gap: 10px; }

.form { display: grid; gap: 18px; min-width: 0; }
.form-row { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend {
  padding: 0; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--sand);
}
.field legend { margin-bottom: 10px; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 14px 16px; border-radius: 12px;
  background: rgba(8, 8, 8, 0.62); border: 1px solid rgba(233, 221, 191, 0.15);
  color: var(--cream); font: inherit; font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red-ink); box-shadow: 0 0 0 3px rgba(255, 75, 62, 0.22); }
.field input::placeholder, .field textarea::placeholder { color: var(--code-c); }
.field-error { display: none; margin: 0; color: var(--red-ink); font-size: 0.88rem; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--red-ink); }
.field.is-invalid .field-error { display: block; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.check { position: relative; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 10px;
  border: 1px solid rgba(233, 221, 191, 0.16); background: rgba(8, 8, 8, 0.55);
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sand);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.check:hover span { border-color: rgba(233, 221, 191, 0.4); }
.check input:checked + span { background: var(--red); border-color: var(--red); color: var(--on-red); }
.check input:focus-visible + span { outline: 2px solid var(--red-ink); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-note { margin: 0; font-size: 0.88rem; color: var(--mute); }
.form-status:empty { display: none; }
.form-status { border-radius: 14px; padding: 18px; border: 1px solid var(--line-2); background: rgba(8, 8, 8, 0.62); }
.form-status.ok { border-color: rgba(255, 75, 62, 0.55); }
.status-text { margin: 0; color: var(--cream); }
.status-msg {
  margin: 14px 0 0; padding: 14px; border-radius: 10px; background: rgba(255, 255, 255, 0.03); border: 1px dashed var(--line-2);
  font-family: var(--font-mono); font-size: 0.8rem; line-height: 1.6; color: var(--sand); white-space: pre-wrap; overflow-wrap: anywhere;
}
.fb-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.status-mail { margin: 14px 0 0; font-family: var(--font-mono); font-size: 0.86rem; color: var(--cream); -webkit-user-select: all; user-select: all; }

/* ---------------------------------------------------------------- footer */
.footer {
  position: relative; z-index: 5; border-top: 1px solid var(--line);
  padding-block: 56px calc(104px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(11, 10, 10, 0.5), rgba(11, 10, 10, 0.94));
}
.footer-in { display: grid; gap: 22px; }
.footer-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.mark { display: inline-grid; gap: 4px; width: 56px; }
.mark i { display: block; height: 2px; background: var(--red); }
.mark i + i { background: var(--mute); }
.footer-name { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.34em; color: var(--sand); }
.footer-tag { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); }
.footer-note { margin: 0; color: var(--mute); font-size: 0.92rem; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--mute); }
.footer-meta a { color: var(--cream); text-decoration: none; }

/* Instagram in the footer: a story-style ring whose red sweep ticks once a
   second, like the second hand. On hover a fast arc runs, as "Hold to grow" does. */
.ig-link {
  justify-self: start; display: inline-flex; align-items: center; gap: 14px; max-width: 100%;
  padding: 8px 20px 8px 8px; border: 1px solid var(--line-2); border-radius: 999px;
  background: linear-gradient(180deg, var(--card-a), var(--card-b));
  color: var(--cream); text-decoration: none;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.ig-link:hover, .ig-link:focus-visible {
  border-color: rgba(255, 75, 62, 0.55); transform: translateY(-2px);
  box-shadow: 0 14px 34px -16px rgba(224, 10, 10, 0.7);
}
.ig-ring {
  position: relative; flex: none; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%; background: var(--ink-2);
}
.ig-ring::before, .ig-ring::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
}
.ig-ring::before {
  /* Bright head at 12 o'clock with the tail behind it, so the sweep leads clockwise. */
  background: conic-gradient(from 0deg, rgba(236, 223, 194, 0.16) 0deg 230deg, rgba(224, 10, 10, 0.35) 300deg, var(--red) 360deg);
  animation: tick 60s steps(60) infinite;
}
.ig-ring::after {
  background: conic-gradient(from 0deg, var(--red-ink) 0deg 50deg, transparent 50deg);
  opacity: 0; transition: opacity 0.3s var(--ease);
  animation: tick 1.1s linear infinite paused;
}
.ig-link:hover .ig-ring::after, .ig-link:focus-visible .ig-ring::after { opacity: 1; animation-play-state: running; }
.ig-ring .ico { width: 22px; height: 22px; transition: color 0.3s; }
.ig-link:hover .ig-ring .ico, .ig-link:focus-visible .ig-ring .ico { color: var(--red-ink); }
.ig-text { display: grid; gap: 2px; min-width: 0; line-height: 1.3; }
.ig-handle { font-family: var(--font-mono); font-size: 0.84rem; letter-spacing: 0.03em; color: var(--cream); overflow-wrap: anywhere; }
.ig-cta { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--mute); }
.ig-live { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: ig-pulse 2.4s var(--ease) infinite; }
@keyframes ig-pulse {
  0% { box-shadow: 0 0 0 0 rgba(224, 10, 10, 0.55); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(224, 10, 10, 0); }
}
.ig-arrow { font-family: var(--font-mono); color: var(--sand); transition: transform 0.35s var(--ease), color 0.35s; }
.ig-link:hover .ig-arrow, .ig-link:focus-visible .ig-arrow { transform: translate(3px, -3px); color: var(--red-ink); }

/* ---------------------------------------------------------------- hud */
/* Everything sits bottom-left: hosts such as Netlify add their own badge in
   the bottom-right corner. */
.hud {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; pointer-events: none;
  display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 12px 16px;
  padding: 0 var(--gutter-r) calc(14px + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
}
.hud > * { pointer-events: auto; }
.hud-left {
  display: flex; align-items: center; gap: 14px; min-width: 0;
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--mute);
}
.hud-lines { position: relative; display: block; width: 64px; height: 7px; flex: none; }
.hud-lines::before, .hud-lines::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; }
.hud-lines::before { top: 0; background: rgba(224, 10, 10, 0.25); }
.hud-lines::after { bottom: 0; background: rgba(233, 221, 191, 0.2); }
.hud-fill { position: absolute; left: 0; top: 0; z-index: 1; width: 100%; height: 2px; background: var(--red); transform-origin: left; transform: scaleX(0); }
.hud-beat { white-space: nowrap; }
.boot { color: var(--sand); white-space: nowrap; }
.js:not(.has-3d) .hud-beat { display: none; }
.hud-right { display: flex; gap: 8px; }
.hud-btn {
  appearance: none; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; cursor: pointer;
  border-radius: 999px; border: 1px solid var(--line-2); background: rgba(11, 10, 10, 0.7);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--mute); font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
}
.hud-btn:hover { color: var(--cream); }
.hud-btn[aria-pressed="true"] { color: var(--cream); border-color: rgba(255, 75, 62, 0.55); }
.hud-state { color: var(--mute); }
.hud-btn[aria-pressed="true"] .hud-state { color: var(--red-ink); }
.hud-led { width: 6px; height: 6px; border-radius: 50%; background: #3a3631; }
.hud-btn[aria-pressed="true"] .hud-led { background: var(--red-ink); box-shadow: 0 0 10px var(--red-ink); }
.js:not(.has-3d) .hud-right { display: none; }
.hud-ico { display: none; }
/* Phones: two small round icon buttons in the bottom-left corner, clear of
   the host badge that Netlify's free plan pins to the bottom-right. */
@media (max-width: 560px) {
  .hud { flex-direction: column-reverse; align-items: flex-start; gap: 8px; padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  .hud-lines, .hud-beat { display: none; }
  .has-3d .hud-left { display: none; }
  .hud-right { gap: 8px; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
  html:not(.past-hero) .hud .hud-right { opacity: 0; transform: translateY(10px); pointer-events: none; }
  .hud-btn {
    position: relative; justify-content: center; width: 38px; height: 38px; min-height: 0; padding: 0; border-radius: 50%;
    color: var(--sand); background: rgba(11, 10, 10, 0.86);
  }
  .hud-ico { display: block; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  .hud-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hud-btn .hud-led { position: absolute; top: 7px; right: 7px; width: 5px; height: 5px; }
  .hud-btn[aria-pressed="true"] { color: var(--red-ink); }
  #btn-sound .hud-wave { transition: opacity 0.25s; }
  #btn-sound[aria-pressed="false"] .hud-wave { opacity: 0.25; }
}
/* Very narrow phones: the badge reaches further left, so only sound stays. */
@media (max-width: 349px) { #btn-blueprint { display: none; } }

/* ---------------------------------------------------------------- quote, consent */
.form-plan {
  display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 12px;
  border: 1px solid rgba(255, 75, 62, 0.45); background: rgba(224, 10, 10, 0.08);
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.form-plan.is-new { animation: plan-in 0.55s var(--ease) both; }
@keyframes plan-in { from { opacity: 0; transform: translateY(-8px); } }
.form-plan-k { color: var(--red-ink); }
.form-plan-name { flex: 1; min-width: 0; color: var(--cream); }
.form-plan-x {
  appearance: none; flex: none; width: 34px; height: 34px; border: 0; border-radius: 8px; cursor: pointer;
  background: transparent; color: var(--sand); font-size: 1.2rem; line-height: 1;
}
.form-plan-x:hover { background: rgba(255, 255, 255, 0.06); color: var(--cream); }
.form.is-called { animation: called 1.8s var(--ease); }
@keyframes called {
  0% { box-shadow: 0 0 0 0 rgba(255, 75, 62, 0), 0 30px 80px -40px rgba(0, 0, 0, 0.85); }
  22% { box-shadow: 0 0 0 2px rgba(255, 75, 62, 0.6), 0 0 70px -12px rgba(224, 10, 10, 0.55); }
  100% { box-shadow: 0 0 0 0 rgba(255, 75, 62, 0), 0 30px 80px -40px rgba(0, 0, 0, 0.85); }
}
.field .consent {
  position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; cursor: pointer;
  font-family: var(--font-body); font-size: 0.92rem; line-height: 1.5; letter-spacing: 0; text-transform: none; color: var(--sand);
}
.consent input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; }
.consent-box {
  display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px;
  border: 1px solid rgba(233, 221, 191, 0.3); background: rgba(8, 8, 8, 0.6); transition: background 0.2s, border-color 0.2s;
}
.consent-box::after {
  content: ""; width: 10px; height: 5px; margin-top: -2px; border-left: 2px solid var(--on-red); border-bottom: 2px solid var(--on-red);
  transform: rotate(-45deg) scale(0); transition: transform 0.2s var(--ease);
}
.consent input:checked + .consent-box { background: var(--red); border-color: var(--red); }
.consent input:checked + .consent-box::after { transform: rotate(-45deg) scale(1); }
.consent input:focus-visible + .consent-box { outline: 2px solid var(--red-ink); outline-offset: 2px; }
.field.is-invalid .consent-box { border-color: var(--red-ink); }
.consent a { color: var(--cream); text-decoration: underline; text-decoration-color: rgba(255, 75, 62, 0.6); text-underline-offset: 3px; }

/* ---------------------------------------------------------------- touch of light */
/* Cards catch a soft light where the cursor is; buttons give a little on press. */
.step, .qa { position: relative; }
.card::before, .step::before, .qa::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(233, 221, 191, 0.065), transparent 62%);
  transition: opacity 0.35s ease;
}
.card:hover::before, .step:hover::before, .qa:hover::before { opacity: 1; }
.btn:active { transform: translateY(0) scale(0.98); }
.qa[open] p { animation: qa-in 0.45s var(--ease) both; }
@keyframes qa-in { from { opacity: 0; transform: translateY(-6px); } }
.footer-links { display: inline-flex; flex-wrap: wrap; gap: 18px; }

/* ---------------------------------------------------------------- small phones */
@media (max-width: 420px) {
  .wordmark { font-size: 1.22rem; }
  .wordmark-lg { font-size: 2rem; }
  .eyebrow { letter-spacing: 0.13em; gap: 10px; font-size: 0.62rem; }
  .eyebrow::before { width: 24px; }
  .chip { font-size: 0.64rem; padding: 9px 12px; letter-spacing: 0.12em; }
  .btn { padding: 0 18px; letter-spacing: 0.14em; }
  .hero-meta { letter-spacing: 0.16em; gap: 8px 18px; }
}

/* ---------------------------------------------------------------- motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wm-hand, .cal-dial line { animation: none; }
  .mem-in { transition: none; }
  .mem.is-done .mem-front, .mem.is-miss .mem-front, .game-win { animation: none; }
  .form.is-called, .form-plan.is-new, .qa[open] p { animation: none; }
  .ig-ring::before, .ig-ring::after, .ig-live { animation: none; }
  .js [data-reveal]:not(.in) { opacity: 1; transform: none; }
  .js [data-reveal] { transition: none; }
}
