/* =========================================================
   TriSphere Studios — main stylesheet
   Brand colours live in :root. Change them here and the
   whole site updates.
   ========================================================= */

:root {
  --ink: #15122B;
  --ink-2: #2A2547;
  --paper: #FFF6EA;
  --peach: #FFEBD6;
  --white: #FFFFFF;
  --muted: #5B5675;
  --paper-dim: #CBC5DA;

  --violet: #6A4CFF;
  --coral: #FF5C7A;
  --teal: #14C8A8;
  --sun: #FFC53D;

  --line: 2.5px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --radius: 22px;

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.7rem); }
h3 { font-size: 1.45rem; letter-spacing: -0.015em; }

p { margin: 0; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.i {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.9em 1.5em;
  border: var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

.btn--ink { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--coral); }
.btn--ink:hover { box-shadow: 6px 6px 0 var(--coral); }
.btn--ink:active { box-shadow: 1px 1px 0 var(--coral); }

.btn--sun { background: var(--sun); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 246, 234, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 2.5px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--ink); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand img { width: 42px; height: 42px; }
.brand-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: -0.02em;
}
.brand-text small {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.nav-menu { display: flex; align-items: center; gap: 18px; }
.nav-links { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-links a {
  display: block;
  padding: 0.5em 0.9em;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.nav-links a:hover { background: var(--peach); }
.nav-links a.is-current { background: var(--peach); box-shadow: inset 0 0 0 2px var(--ink); }
.nav-cta { padding: 0.7em 1.2em; font-size: 0.98rem; }

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.5em 1.05em;
  border: var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dot { width: 0.7em; height: 0.7em; border-radius: 50%; border: 1.5px solid var(--ink); }
.dot--violet { background: var(--violet); }
.dot--coral { background: var(--coral); margin-left: -0.55em; }
.dot--teal { background: var(--teal); margin-left: -0.55em; margin-right: 0.25em; }

.hero h1 { margin: 24px 0 22px; }

.hl { position: relative; z-index: 0; white-space: nowrap; }
.hl::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.06em;
  right: -0.06em;
  bottom: 0.06em;
  height: 0.38em;
  border-radius: 0.08em;
  background: var(--hl);
  transform: skewX(-12deg) rotate(-1.2deg);
}
.hl--violet { --hl: var(--violet); }
.hl--coral { --hl: var(--coral); }
.hl--teal { --hl: var(--teal); }

.hero-lead {
  max-width: 38ch;
  font-size: clamp(1.1rem, 1.5vw, 1.28rem);
  color: var(--muted);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Orbiting spheres illustration */
.orbit-stage {
  --mx: 0;
  --my: 0;
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1;
  margin-inline: auto;
}

.orbit-ring {
  position: absolute;
  inset: 3%;
  border: 2.5px dashed rgba(21, 18, 43, 0.28);
  border-radius: 50%;
  animation: spin 70s linear infinite;
}
.orbit-ring--inner { inset: 20%; border-style: dotted; animation-direction: reverse; animation-duration: 50s; }

.orb {
  position: absolute;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow);
  translate: calc(var(--mx) * var(--depth) * 8px) calc(var(--my) * var(--depth) * 8px);
  transition: translate 0.4s ease-out;
  animation: float 7s ease-in-out infinite;
}
.orb::after {
  content: "";
  position: absolute;
  top: 13%;
  left: 21%;
  width: 24%;
  height: 13%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: rotate(-32deg);
}
.orb-icon {
  width: 34%;
  height: 34%;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.orb--design .orb-icon, .orb--web .orb-icon { stroke: var(--ink); }

.orb--games {
  z-index: 1;
  width: 46%;
  left: 27%;
  top: 5%;
  background: radial-gradient(circle at 32% 28%, #A796FF 0 8%, var(--violet) 48%, #4A2EDB 100%);
}
.orb--design {
  z-index: 2;
  width: 41%;
  left: 3%;
  top: 47%;
  background: radial-gradient(circle at 32% 28%, #FFAABA 0 8%, var(--coral) 48%, #E33A5B 100%);
  animation-delay: -2.3s;
}
.orb--web {
  z-index: 3;
  width: 39%;
  left: 57%;
  top: 50%;
  background: radial-gradient(circle at 32% 28%, #8DF2DF 0 8%, var(--teal) 48%, #0B9F86 100%);
  animation-delay: -4.6s;
}

.orb-label {
  position: absolute;
  z-index: 5;
  padding: 0.4em 0.95em;
  border: var(--line);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  white-space: nowrap;
}
.orb-label--games { top: 9%; left: 68%; transform: rotate(6deg); }
.orb-label--design { top: 88%; left: 4%; transform: rotate(-5deg); background: var(--sun); }
.orb-label--web { top: 91%; left: 60%; transform: rotate(4deg); }

.deco { position: absolute; z-index: 4; }
.deco--spark {
  top: 8%;
  left: 8%;
  width: 13%;
  fill: var(--sun);
  stroke: var(--ink);
  stroke-width: 1.2;
  animation: twinkle 4s ease-in-out infinite;
}
.deco--spark-sm { top: 40%; left: 86%; width: 7%; fill: var(--coral); animation-delay: -2s; }
.deco--dot {
  top: 34%;
  left: 12%;
  width: 4.5%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
}
.deco--ring {
  top: 2%;
  left: 76%;
  width: 9%;
  aspect-ratio: 1;
  border: var(--line);
  border-radius: 50%;
  background: var(--teal);
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(0.8) rotate(20deg); }
}

/* ---------- Marquee ---------- */
.marquee-wrap { overflow: clip; padding: 24px 0; }
.marquee {
  margin-inline: -20px;
  padding: 16px 0;
  border-block: var(--line);
  background: var(--sun);
  transform: rotate(-1.5deg);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  padding-right: 0.75em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
  white-space: nowrap;
}
.marquee-track span::after { content: "✦"; color: var(--coral); -webkit-text-stroke: 1px var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--ink { background: var(--ink); color: var(--paper); }
.section--peach { background: var(--peach); }
.section--white { background: var(--white); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head > p:not(.kicker) {
  margin-top: 18px;
  font-size: 1.15rem;
  color: var(--muted);
}
.section--ink .section-head > p:not(.kicker) { color: var(--paper-dim); }
.section-head a { font-weight: 700; color: var(--ink); text-decoration-color: var(--coral); text-decoration-thickness: 3px; text-underline-offset: 3px; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 16px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
}
.kicker::before {
  content: "";
  width: 0.75em;
  height: 0.75em;
  border-radius: 50%;
  background: currentColor;
}
.section--ink .kicker { color: var(--sun); }
.kicker--ink { color: var(--ink); }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 28px 34px;
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.service-card::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 230px;
  height: 230px;
  border: 2.5px solid currentColor;
  border-radius: 50%;
  opacity: 0.18;
  pointer-events: none;
}
.service-card--games { background: var(--violet); color: var(--white); }
.service-card--design { background: var(--coral); }
.service-card--web { background: var(--teal); }

.service-num {
  position: absolute;
  top: 26px;
  right: 28px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  opacity: 0.85;
}
.service-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.service-icon .i { width: 30px; height: 30px; }
.service-card h3 { font-size: clamp(1.55rem, 2.1vw, 1.9rem); margin-top: 6px; }
.service-card ul {
  display: grid;
  gap: 9px;
  margin: 6px 0 0;
  padding: 16px 0 0;
  border-top: 2px dashed currentColor;
  list-style: none;
  font-weight: 600;
}
.service-card li { display: flex; gap: 0.7em; }
.service-card li::before {
  content: "";
  flex: none;
  width: 0.62em;
  height: 0.62em;
  margin-top: 0.5em;
  border-radius: 50%;
  background: currentColor;
}

/* ---------- Overlap / Venn ---------- */
.overlap-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.overlap-copy .section-head { margin-bottom: 32px; }

.venn svg { width: 100%; max-width: 500px; margin-inline: auto; isolation: isolate; overflow: visible; }
.vc { mix-blend-mode: screen; }
.vc--games { fill: var(--violet); }
.vc--design { fill: var(--coral); }
.vc--web { fill: var(--teal); }

.vr {
  fill: var(--sun);
  fill-opacity: 0;
  cursor: pointer;
  transition: fill-opacity 0.25s ease;
}
.vr:hover { fill-opacity: 0.5; }
.vr.is-active { fill-opacity: 1; }

.venn-outlines { fill: none; stroke: var(--paper); stroke-width: 2.5; pointer-events: none; }
.venn-labels {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-anchor: middle;
  fill: var(--ink);
  pointer-events: none;
}
.venn-labels .vl--light { fill: var(--white); }
.venn-badges { pointer-events: none; }
.venn-badges circle { fill: var(--ink); stroke: var(--paper); stroke-width: 2; }
.venn-badges text {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  text-anchor: middle;
  fill: var(--paper);
}

.overlap-list { display: grid; gap: 12px; }
.overlap-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  width: 100%;
  padding: 18px 20px;
  border: 2.5px solid rgba(255, 246, 234, 0.25);
  border-radius: 18px;
  background: transparent;
  color: var(--paper);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.overlap-item:hover { border-color: var(--paper); }
.overlap-item[aria-pressed="true"] {
  background: var(--sun);
  border-color: var(--sun);
  color: var(--ink);
  transform: translateX(6px);
}
.overlap-num {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
}
.overlap-text { display: grid; gap: 2px; }
.overlap-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
}
.overlap-text strong { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.25; }
.overlap-text span:last-child { opacity: 0.88; }

/* ---------- Process ---------- */
.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.process-grid::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 42px;
  right: calc(25% - 16.5px - 34px);
  border-top: 2.5px dashed var(--ink);
}
.process-step {
  position: relative;
  padding: 0 4px;
}
.step-num {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 22px;
  border: var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
}
.step-num--violet { background: var(--violet); color: var(--white); }
.step-num--coral { background: var(--coral); }
.step-num--teal { background: var(--teal); }
.step-num--sun { background: var(--sun); }
.process-step h3 { margin-bottom: 10px; }
.process-step p { color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li {
  padding: 0.45em 1em;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.chips li:nth-child(4n + 1) { background: #E6E0FF; }
.chips li:nth-child(4n + 2) { background: #FFE0E6; }
.chips li:nth-child(4n + 3) { background: #D3F6EE; }
.chips li:nth-child(4n + 4) { background: #FFF0C7; }

/* ---------- Hero trust row ---------- */
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  row-gap: 18px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}
.trust-row li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 20px;
  border-left: 2px dashed rgba(21, 18, 43, 0.25);
}
.trust-row li:first-child { padding-left: 0; border-left: 0; }
.trust-row strong {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.trust-row span { max-width: 13ch; font-size: 0.85rem; line-height: 1.3; color: var(--muted); }

/* ---------- Our work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.work-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.work-card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.work-card--violet { --c: var(--violet); }
.work-card--coral { --c: var(--coral); }
.work-card--teal { --c: var(--teal); }
.work-card--sun { --c: var(--sun); }
.work-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: var(--line);
  background: var(--c, var(--violet));
}
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.work-card:hover .work-media img { transform: scale(1.04); }
.work-body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 24px 26px 28px; }
.work-body h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.work-body > p:not(.work-result) { color: var(--muted); }
.work-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.work-tags li {
  padding: 0.3em 0.8em;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.work-tags li:first-child { background: var(--c); }
.work-card--violet .work-tags li:first-child { color: var(--white); }
.work-result { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; }
.work-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }
.btn--sm { padding: 0.6em 1.1em; font-size: 0.92rem; box-shadow: 3px 3px 0 var(--ink); }

.work-card--featured { grid-column: 1 / -1; flex-direction: row; }
.work-card--featured .work-media { flex: 1.25; aspect-ratio: auto; min-height: 340px; border-bottom: 0; border-right: var(--line); }
.work-card--featured .work-body { flex: 1; justify-content: center; padding: 34px; }

.work-stats { display: flex; flex-wrap: wrap; gap: 10px; margin: -16px 0 36px; padding: 0; list-style: none; }
.work-stats li {
  padding: 0.5em 1.1em;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font-weight: 600;
}
.work-stats strong { font-family: var(--font-display); font-weight: 800; }

/* Game mock-ups shown until real screenshots are added */
.mock { display: grid; place-items: center; width: 100%; height: 100%; padding: clamp(16px, 3vw, 28px); }
.mock-screen {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: clamp(14px, 2vw, 22px);
  border: var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.mock-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.wb-row, .wb-keys { display: flex; align-items: center; gap: 5px; }
.wb-keys { margin-top: 4px; padding-top: 12px; border-top: 2px dashed rgba(21, 18, 43, 0.25); }
.wb-word {
  padding: 0.35em 0.6em;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 1.4vw, 1.1rem);
  font-weight: 800;
  letter-spacing: 0.06em;
}
.wb-tile {
  display: grid;
  place-items: center;
  width: clamp(28px, 3.2vw, 40px);
  aspect-ratio: 1;
  border: 2.5px solid var(--ink);
  border-radius: 9px;
  background: var(--white);
  box-shadow: 2px 2px 0 var(--ink);
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.7vw, 1.3rem);
  font-weight: 800;
}
.wb-tile--on { background: var(--sun); }
.wb-tile--empty { border-style: dashed; background: transparent; box-shadow: none; }
.wb-keys .wb-tile { background: var(--teal); }

.za-board { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; width: 230px; max-width: 100%; }
.za-cell {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
}
.za-cell.c1 { background: var(--violet); color: var(--white); }
.za-cell.c2 { background: var(--coral); }
.za-cell.c3 { background: var(--teal); }
.za-cell.c4 { background: var(--sun); }
.za-zombies { display: flex; gap: 10px; }
.zombie {
  position: relative;
  width: 34px;
  height: 36px;
  border: 2.5px solid var(--ink);
  border-radius: 48% 48% 38% 38%;
  background: var(--z);
}
.zombie::before, .zombie::after {
  content: "";
  position: absolute;
  top: 34%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
}
.zombie::before { left: 22%; }
.zombie::after { right: 22%; height: 5px; }

.pk-board {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  width: 220px;
  max-width: 100%;
  padding: 5px;
  border-radius: 12px;
  background: var(--ink);
}
.pk-cell { display: grid; place-items: center; aspect-ratio: 1; border-radius: 5px; }
.pk-a { background: #E6E0FF; }
.pk-b { background: #FFD3DC; }
.pk-c { background: #CFF3EA; }
.pk-d { background: #FFEBB5; }
.pk-e { background: #FFD9C2; }
.capy {
  position: relative;
  width: 60%;
  aspect-ratio: 1.15;
  border: 2px solid var(--ink);
  border-radius: 48% 48% 42% 42%;
  background: #B07A52;
}
.capy::before, .capy::after {
  content: "";
  position: absolute;
  top: -22%;
  width: 28%;
  height: 34%;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: #B07A52;
}
.capy::before { left: 6%; }
.capy::after { right: 6%; }

.more-games-title { margin: clamp(48px, 6vw, 64px) 0 20px; font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.games-grid li { display: flex; }
.game {
  display: flex;
  flex: 1;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  border: var(--line);
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
a.game:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.game-icon {
  display: grid;
  place-items: center;
  flex: none;
  overflow: hidden;
  width: 64px;
  height: 64px;
  border: var(--line);
  border-radius: 16px;
  background: var(--c);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
}
.game-icon svg { width: 34px; height: 34px; fill: var(--white); stroke: var(--ink); stroke-width: 1.6; }
.game-icon img { width: 100%; height: 100%; object-fit: cover; }
.game-text { display: grid; gap: 4px; }
.game-text strong { font-family: var(--font-display); font-size: 1.08rem; line-height: 1.25; }
.game-text > span:not(.game-meta) { font-size: 0.92rem; line-height: 1.45; color: var(--muted); }
.game-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.game-meta span {
  padding: 0.2em 0.7em;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.game--all { align-items: center; justify-content: space-between; background: var(--ink); color: var(--paper); }
.game--all:hover { box-shadow: 5px 5px 0 var(--coral); }
.game--all strong { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.25; }
.game--all .game-text > span:not(.game-meta) { display: block; margin-top: 4px; font-size: 0.92rem; color: var(--paper-dim); }
.game--all .i { width: 1.6em; height: 1.6em; }

/* ---------- Ways to work ---------- */
.engage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.engage-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 28px 26px;
  border: var(--line);
  border-top: 14px solid var(--c);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.engage-card--violet { --c: var(--violet); }
.engage-card--coral { --c: var(--coral); }
.engage-card--teal { --c: var(--teal); }
.engage-num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}
.engage-card h3 { font-size: clamp(1.5rem, 2vw, 1.8rem); }
.engage-card > p { color: var(--muted); }
.engage-card > p.engage-best {
  margin-top: auto;
  padding-top: 16px;
  border-top: 2px dashed rgba(21, 18, 43, 0.25);
  color: var(--ink);
  font-weight: 600;
}
.engage-best span {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.engage-best span::before { content: ""; width: 0.7em; height: 0.7em; border-radius: 50%; background: var(--c); }
.engage-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 36px;
  padding: 18px 18px 18px 30px;
  border: var(--line);
  border-radius: 999px;
  background: var(--sun);
  font-size: 1.1rem;
}

/* ---------- Platforms ---------- */
.section--violet { background: var(--violet); color: var(--white); }
.section--violet .kicker { color: var(--sun); }
.section--violet .section-head > p:not(.kicker) { color: var(--white); }
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.platform {
  padding: 28px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.platform h3 { margin-bottom: 8px; font-size: 1.6rem; }
.platform p { color: var(--muted); }
.platform-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  border: var(--line);
  border-radius: 50%;
}
.platform-icon .i { width: 28px; height: 28px; }
.platform-icon--coral { background: var(--coral); }
.platform-icon--teal { background: var(--teal); }
.platform-icon--sun { background: var(--sun); }
.engines { margin-top: clamp(40px, 5vw, 56px); }
.engines-title { margin-bottom: 16px; font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; }

/* ---------- After launch ---------- */
.growth-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.growth-grid .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.growth-grid .section-head .btn { margin-top: 28px; }
.levels { position: relative; display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.levels::before {
  content: "";
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 48px;
  border-left: 2.5px dashed var(--ink);
}
.level {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px 20px 20px;
  border: var(--line);
  border-radius: 18px;
  background: var(--white);
}
.level h3 { margin: 4px 0 6px; font-size: 1.3rem; }
.level p { color: var(--muted); }
.level-badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border: var(--line);
  border-radius: 16px;
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  transform: rotate(-4deg);
}
.level-badge--violet { background: var(--violet); color: var(--white); }
.level-badge--coral { background: var(--coral); }
.level-badge--teal { background: var(--teal); }
.level-badge--sun { background: var(--sun); }

/* ---------- Ownership & trust ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-card {
  padding: 26px 24px;
  border: 2.5px solid rgba(255, 246, 234, 0.25);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.trust-card:hover { border-color: var(--paper); transform: translateY(-4px); }
.trust-card h3 { margin-bottom: 8px; font-size: 1.3rem; }
.trust-card p { color: var(--paper-dim); }
.trust-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border: 2.5px solid var(--paper);
  border-radius: 50%;
  color: var(--ink);
}
.trust-icon .i { width: 24px; height: 24px; }
.trust-icon--violet { background: var(--violet); color: var(--white); }
.trust-icon--coral { background: var(--coral); }
.trust-icon--teal { background: var(--teal); }
.trust-icon--sun { background: var(--sun); }

/* ---------- Studio ---------- */
.studio-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.studio-grid .section-head { margin-bottom: 0; }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 22px;
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.stat:nth-child(even) { translate: 0 22px; }
.stat strong {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat span { font-weight: 600; line-height: 1.35; }
.stat--sun { background: var(--sun); }
.stat--violet { background: var(--violet); color: var(--white); }
.stat--coral { background: var(--coral); }
.stat--teal { background: var(--teal); }

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: clamp(64px, 8vw, 104px);
}
.value {
  padding: 26px 24px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.value h3 { margin: 18px 0 8px; font-size: 1.3rem; }
.value p { color: var(--muted); }
.value-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: var(--line);
  border-radius: 50%;
}
.value-icon .i { width: 24px; height: 24px; }
.value-icon--violet { background: var(--violet); color: var(--white); }
.value-icon--coral { background: var(--coral); }
.value-icon--teal { background: var(--teal); }
.value-icon--sun { background: var(--sun); }

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.faq-list { display: grid; gap: 14px; }
.faq-list details {
  border: var(--line);
  border-radius: 18px;
  background: var(--paper);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}
.faq-list details[open] { background: var(--white); box-shadow: var(--shadow-sm); }
.faq-list summary {
  position: relative;
  padding: 20px 64px 20px 22px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--sun);
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--coral); }
.faq-list details p { padding: 0 22px 22px; color: var(--muted); }
.faq-list details a, .work-support a {
  color: var(--ink);
  font-weight: 700;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.work-support { margin-top: 32px; text-align: center; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(28px, 5vw, 64px);
  border: var(--line);
  border-radius: 32px;
  background: var(--coral);
  box-shadow: 10px 10px 0 var(--ink);
}
.contact-lead { margin-top: 18px; font-size: 1.15rem; font-weight: 500; }

.contact-list { display: grid; gap: 14px; margin: 32px 0 0; padding: 0; list-style: none; font-weight: 600; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list a { text-decoration: none; overflow-wrap: anywhere; }
.contact-item { display: grid; gap: 1px; line-height: 1.35; }
.contact-item small { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.contact-list a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.contact-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: var(--line);
  border-radius: 50%;
  background: var(--paper);
}

.socials { display: flex; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.socials a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: var(--line);
  border-radius: 14px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 3px 3px 0 var(--paper);
  transition: transform 0.15s ease;
}
.socials a:hover { transform: translate(-2px, -2px); }

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
  border: var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: 0.95rem; padding: 0; }
.field legend { margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.85em 1em;
  border: var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: box-shadow 0.15s ease, background-color 0.15s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select {
  padding-right: 2.6em;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315122B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.9em center / 16px;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--violet);
}
.field input::placeholder, .field textarea::placeholder { color: #8C87A3; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #D11A45; box-shadow: 4px 4px 0 #D11A45; }

.choice-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-chips label { position: relative; cursor: pointer; }
.choice-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-chips span {
  display: inline-block;
  padding: 0.45em 0.95em;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.choice-chips span:hover { background: var(--peach); }
.choice-chips input:checked + span { background: var(--ink); color: var(--paper); }
.choice-chips input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.next-steps {
  margin-top: 36px;
  padding: 24px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.next-steps-title { margin-bottom: 16px; font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; }
.next-steps ol { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.next-steps li { position: relative; display: grid; gap: 2px; padding-left: 48px; counter-increment: step; }
.next-steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 800;
}
.next-steps span { color: var(--muted); line-height: 1.45; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.optional { font-size: 0.85em; font-weight: 500; color: var(--muted); }

.form-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.form-badges li::before { content: "✦ "; color: var(--coral); }

.form-note { font-size: 0.88rem; color: var(--muted); text-align: center; }
.form-note a { font-weight: 600; }
.form-status { font-weight: 700; text-align: center; min-height: 1.6em; }
.form-status.is-success { color: #0B7A65; }
.form-status.is-error { color: #C0143C; }

/* ---------- Footer ---------- */
.site-footer {
  padding: clamp(64px, 8vw, 104px) 0 32px;
  background: var(--ink);
  color: var(--paper);
}
.footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: clamp(48px, 6vw, 72px);
  border-bottom: 2px solid rgba(255, 246, 234, 0.18);
}
.footer-big {
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.footer-cta .btn { box-shadow: 4px 4px 0 var(--coral); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding: clamp(40px, 5vw, 56px) 0;
}
.brand--light { color: var(--paper); }
.brand--light img { padding: 3px; border-radius: 50%; background: var(--paper); }
.brand--light .brand-text small { color: var(--paper-dim); }
.footer-brand p { margin-top: 16px; max-width: 34ch; color: var(--paper-dim); }
.footer-title {
  margin-bottom: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sun);
}
.site-footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer ul a { color: var(--paper-dim); text-decoration: none; overflow-wrap: anywhere; }
.site-footer ul a:hover { color: var(--paper); text-decoration: underline; }
.footer-label { display: block; margin-bottom: 2px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 2px solid rgba(255, 246, 234, 0.18);
  font-size: 0.92rem;
  color: var(--paper-dim);
}
.to-top { font-weight: 600; text-decoration: none; }
.to-top:hover { color: var(--paper); }

/* ---------- Simple pages (privacy, 404) ---------- */
.page-simple { padding: clamp(48px, 8vw, 96px) 0; }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 12px; }
.prose h2 { font-size: 1.6rem; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 1.2em; }
.prose a { color: var(--ink); font-weight: 600; text-decoration-color: var(--coral); text-decoration-thickness: 2px; overflow-wrap: anywhere; }
.prose .updated { margin-bottom: 28px; font-weight: 600; color: var(--ink); }
.prose .kicker { color: var(--violet); }
.prose h3 { margin: 26px 0 10px; font-size: 1.2rem; }
.prose li { margin-bottom: 6px; }
.prose li strong { color: var(--ink); }
.notice-box, .contact-box {
  margin: 24px 0;
  padding: 18px 22px;
  border: var(--line);
  border-radius: 18px;
}
.notice-box { background: #FFF0C7; }
.contact-box { background: var(--white); box-shadow: var(--shadow-sm); }
.notice-box p, .contact-box p { color: var(--ink); }
.contact-box p + p { margin-top: 6px; }

.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.legal-nav a {
  padding: 0.45em 1em;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}
.legal-nav a:hover { background: var(--peach); }
.legal-nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  translate: 0 26px;
  transition: opacity 0.7s ease, translate 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal.is-visible { opacity: 1; translate: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .trust-row { grid-template-columns: repeat(2, auto); }
  .trust-row li:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 1080px) {
  .nav-links a { padding: 0.5em 0.7em; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }

  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 18px var(--gutter) 28px;
    border-bottom: var(--line);
    background: var(--paper);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav-menu.is-open { display: flex; }
  .nav-links { flex-direction: column; gap: 4px; }
  .nav-links a {
    padding: 0.7em 0.2em;
    border-bottom: 2px dashed rgba(21, 18, 43, 0.2);
    border-radius: 0;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
  }
  .nav-links a:hover { background: none; color: var(--violet); }
  .nav-links a.is-current { background: none; box-shadow: none; color: var(--violet); }
  .nav-cta { padding: 0.9em 1.5em; font-size: 1.05rem; }

  .hero-grid,
  .overlap-grid,
  .studio-grid,
  .faq-grid,
  .contact-card { grid-template-columns: 1fr; }

  .hero-visual { order: 2; }
  .orbit-stage { max-width: 440px; }

  .services-grid { grid-template-columns: 1fr; max-width: 620px; }
  .venn svg { max-width: 420px; }

  .work-grid,
  .engage-grid,
  .platform-grid,
  .growth-grid { grid-template-columns: 1fr; }
  .work-card--featured { flex-direction: column; }
  .work-card--featured .work-media { aspect-ratio: 16 / 10; min-height: 0; border-right: 0; border-bottom: var(--line); }
  .work-card--featured .work-body { padding: 24px 26px 28px; }
  .engage-grid, .platform-grid { max-width: 620px; }
  .growth-grid .section-head { position: static; }
  .overlap-item[aria-pressed="true"] { transform: none; }

  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .process-grid::before { display: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .orbit-stage { max-width: 300px; }
  .hero { padding-bottom: 40px; }
  .process-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .stat { padding: 20px 16px; }
  .stat:nth-child(even) { translate: none; }
  .contact-card { box-shadow: 6px 6px 0 var(--ink); border-radius: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-text { font-size: 1.2rem; }

  .trust-row li { padding: 0 14px; }
  .trust-row strong { font-size: 1.4rem; }
  .trust-grid,
  .form-row { grid-template-columns: 1fr; }
  .engage-note { padding: 20px; border-radius: 22px; }
  .engage-note .btn { flex: 1 1 100%; }
  .levels::before { left: 44px; }
  .level { gap: 16px; padding: 18px 18px 18px 16px; }
  .level-badge { width: 52px; height: 52px; font-size: 0.88rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { translate: none; }
}
