/* DOPR Groups website.
   Design tokens first, then base elements, components and sections.
   Type: Big Shoulders Display (display only: hero, headline figures, wordmark)
   and Schibsted Grotesk (everything else). Both SIL Open Font License. */

/* ---------- tokens ---------- */
:root {
  /* Colour roles */
  --night: #081B3A;        /* primary background */
  --deep: #050F22;         /* secondary dark background */
  --paper: #F4F6FA;        /* light background */
  --surface: #FFFFFF;      /* light raised surface */
  --field: #0C2249;        /* form fields on dark */
  --gold: #F7B500;         /* brand accent: primary actions, selection, focus */
  --gold-hover: #FFC83D;
  --on-gold: #081B3A;      /* text on gold */
  --gold-ink: #4A3600;     /* secondary text on gold */
  --text-on-dark: #FFFFFF;
  --text-2-on-dark: #A9B8D1;
  --text-3-on-dark: #8EA0BF;
  --ink: #0A2347;          /* text on light */
  --ink-2: #4A5C78;
  --ink-3: #5D6E88;
  --rule-dark: #1F3A66;    /* dividers on dark (decorative) */
  --control-dark: #5B76A6; /* control borders on dark, 3:1+ */
  --rule-light: #D7DEE9;   /* dividers on light (decorative) */
  --control-light: #8C9BB3;
  --bar-target: #6F82A3;
  --error-dark: #FFA197;
  --error-light: #B42318;
  --success-dark: #6FE3A6;

  /* Type */
  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-text: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-hero: clamp(3.5rem, 2rem + 5.6vw, 8rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.4vw, 3.5rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.45vw, 1.5rem);
  --fs-lead: clamp(1.125rem, 1.03rem + 0.4vw, 1.375rem);
  --fs-body: 1.0625rem;   /* 17px */
  --fs-small: 0.9375rem;  /* 15px */
  --fs-label: 0.875rem;   /* 14px, the smallest size used */
  --fs-figure: clamp(3.25rem, 2.2rem + 4.2vw, 6.5rem);

  /* Spacing: 4px base */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --section-y: clamp(80px, 5rem + 4vw, 144px);
  --gutter: clamp(20px, 4.5vw, 56px);
  --max: 1240px;

  /* Shape and motion */
  --r-pill: 999px;
  --r-control: 12px;
  --r-panel: 20px;
  --ease: cubic-bezier(.25, 1, .5, 1);
  --t-fast: 180ms;
  --t-med: 600ms;
  --head-h: 72px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--night); color: var(--text-on-dark); font: 400 var(--fs-body)/1.6 var(--font-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 3px; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.light :focus-visible { outline-color: var(--night); }
.gold :focus-visible { outline-color: var(--night); }
.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: absolute; left: var(--s-4); top: -100px; z-index: 100; background: var(--gold); color: var(--on-gold); padding: var(--s-3) var(--s-4); border-radius: var(--r-control); font-weight: 600; text-decoration: none; }
.skip:focus { top: var(--s-4); }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.display { font-family: var(--font-display); font-weight: 800; }

h2 { font-size: var(--fs-h2); font-weight: 600; line-height: 1.06; letter-spacing: -0.025em; text-wrap: balance; }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
p { text-wrap: pretty; }

/* ---------- section shells ---------- */
.section { padding: var(--section-y) 0; }
.light { background: var(--paper); color: var(--ink); }
.dark { background: var(--night); }
.deep { background: var(--deep); }
.gold { background: var(--gold); color: var(--on-gold); }
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-5) var(--s-8); align-items: end; margin-bottom: var(--s-8); }
.section-head p { max-width: 46ch; color: var(--text-2-on-dark); }
.light .section-head p { color: var(--ink-2); }

/* ---------- buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 48px; padding: 0 var(--s-5); border-radius: var(--r-pill); border: 1.5px solid transparent; font-size: 1rem; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 var(--s-4); font-size: var(--fs-small); }
.btn-primary { background: var(--gold); color: var(--on-gold); }
.btn-primary:hover { background: var(--gold-hover); }
.btn-ghost { border-color: var(--control-dark); color: var(--text-on-dark); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-dark { background: var(--night); color: #fff; }
.btn-dark:hover { background: var(--deep); }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ---------- header and navigation ---------- */
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(8, 27, 58, .92); -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid transparent; transition: border-color var(--t-fast) var(--ease); }
.site-head.is-scrolled { border-bottom-color: var(--rule-dark); }
.head-inner { display: flex; align-items: center; gap: var(--s-6); height: var(--head-h); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: var(--s-3); margin-right: auto; text-decoration: none; font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.01em; }
.brand img { width: 40px; height: 40px; border-radius: 50%; background: #fff; padding: 3px; }
.nav ul { display: flex; gap: var(--s-1); }
.nav a { display: block; padding: var(--s-2) var(--s-3); border-radius: var(--r-pill); font-size: var(--fs-small); font-weight: 500; color: var(--text-2-on-dark); text-decoration: none; transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
.nav a:hover, .nav a[aria-current="true"] { color: #fff; background: rgba(255, 255, 255, .07); }
.menu-btn { display: none; align-items: center; gap: var(--s-2); min-height: 44px; padding: 0 var(--s-3); border: 1.5px solid var(--control-dark); border-radius: var(--r-pill); background: none; font-weight: 600; font-size: var(--fs-small); cursor: pointer; }
.menu-icon { position: relative; width: 16px; height: 2px; background: currentColor; transition: background-color var(--t-fast); }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: currentColor; transition: transform var(--t-fast) var(--ease); }
.menu-icon::before { transform: translateY(-5px); }
.menu-icon::after { transform: translateY(5px); }
.menu-btn[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-icon::before { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::after { transform: rotate(-45deg); }
.menu { border-top: 1px solid var(--rule-dark); padding: var(--s-4) var(--gutter) var(--s-6); background: var(--night); }
.menu a:not(.btn) { display: flex; align-items: center; min-height: 52px; font-size: 1.25rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--rule-dark); }
.menu-cta { display: grid; gap: var(--s-3); margin-top: var(--s-5); }

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 2rem + 3vw, 104px) 0 var(--s-7); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--s-7) var(--s-8); align-items: end; }
.hero-title { font-size: var(--fs-hero); line-height: .88; letter-spacing: -0.005em; text-transform: uppercase; max-width: 14ch; margin-bottom: var(--s-6); }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--text-2-on-dark); max-width: 40ch; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero-stats { display: grid; gap: 0; border-top: 1px solid var(--rule-dark); }
.hero-stats div { display: flex; flex-direction: column-reverse; gap: var(--s-1); padding: var(--s-5) 0; border-bottom: 1px solid var(--rule-dark); }
.hero-stats dt { font-size: var(--fs-small); color: var(--text-2-on-dark); }
.hero-stats dd { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.75rem, 2rem + 2.2vw, 4.25rem); line-height: .95; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-4) var(--s-8); margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--rule-dark); font-size: var(--fs-small); color: var(--text-3-on-dark); }
.credit { color: #fff; font-weight: 600; }

/* ---------- results ---------- */
.result { display: grid; grid-template-columns: minmax(200px, 3fr) minmax(0, 9fr); gap: var(--s-6) var(--s-8); align-items: start; }
.result-tabs { display: grid; border-top: 1px solid var(--rule-light); }
.result-tabs button { position: relative; display: flex; align-items: center; min-height: 52px; padding: var(--s-3) var(--s-4); border: 0; border-bottom: 1px solid var(--rule-light); background: none; text-align: left; font-size: var(--fs-body); font-weight: 500; color: var(--ink-2); cursor: pointer; transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
.result-tabs button:hover { color: var(--ink); background: rgba(10, 35, 71, .04); }
.result-tabs button[aria-selected="true"] { color: var(--ink); font-weight: 700; background: var(--surface); }
.result-tabs button[aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 2px; background: var(--night); }
.result-panel { background: var(--surface); border: 1px solid var(--rule-light); border-radius: var(--r-panel); padding: clamp(24px, 3vw, 44px); }
.result-panel:focus-visible { outline-offset: 4px; }
.result-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: var(--s-4); margin-bottom: var(--s-6); }
.result-kind { font-size: var(--fs-small); color: var(--ink-3); }
.result-name { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); font-weight: 700; letter-spacing: -0.02em; margin-top: var(--s-1); }
.multiple { display: inline-flex; align-items: baseline; gap: var(--s-2); padding: var(--s-2) var(--s-4); border-radius: var(--r-pill); background: var(--gold); color: var(--on-gold); font-size: var(--fs-small); font-weight: 600; }
.multiple span { font-size: 1.375rem; font-weight: 700; }
.figures-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); margin-bottom: var(--s-6); }
.figures-2 > div { border-top: 2px solid var(--ink); padding-top: var(--s-3); }
.figures-2 > div:first-child { border-top-color: var(--bar-target); }
.fig-label { font-size: var(--fs-small); color: var(--ink-2); }
.fig { font-size: var(--fs-figure); line-height: .95; margin-top: var(--s-2); transition: opacity var(--t-fast) var(--ease); }
.fig.is-swapping, .result-name.is-swapping { opacity: .25; }
.bars { display: grid; gap: var(--s-3); }
.bar-row { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: var(--s-3); }
.bar-name { font-size: var(--fs-label); font-weight: 600; color: var(--ink-2); }
.bar { position: relative; height: 14px; border-radius: var(--r-pill); background: #E6EBF3; overflow: hidden; }
.bar-fill { position: absolute; inset: 0; border-radius: var(--r-pill); transform-origin: left center; transform: scaleX(var(--v, 0)); transition: transform var(--t-med) var(--ease); }
.bar-target { background: var(--bar-target); }
.bar-delivered { background: var(--night); }
.axis { display: flex; justify-content: space-between; margin-left: calc(84px + var(--s-3)); font-size: var(--fs-label); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.result-note { margin-top: var(--s-5); color: var(--ink-2); max-width: 60ch; }
.table-wrap { margin-top: var(--s-8); overflow-x: auto; }
.results-table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); font-variant-numeric: tabular-nums; }
.results-table caption { text-align: left; font-weight: 600; font-size: var(--fs-body); padding-bottom: var(--s-3); }
.results-table th, .results-table td { padding: var(--s-3) var(--s-4) var(--s-3) 0; border-bottom: 1px solid var(--rule-light); text-align: left; white-space: nowrap; }
.results-table thead th { font-weight: 600; color: var(--ink-2); border-bottom-color: var(--control-light); }
.results-table tbody th { font-weight: 600; }
.results-table td { color: var(--ink-2); }
.results-table .num { text-align: right; }
.results-table td.num:last-child { color: var(--ink); font-weight: 700; }
.footnote { margin-top: var(--s-4); font-size: var(--fs-label); color: var(--ink-3); max-width: 70ch; }

/* ---------- work ---------- */
.work-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "film tv games" "film music games"; grid-template-rows: auto 1fr; gap: var(--s-7) var(--s-7); align-items: start; }
.work-groups > :nth-child(1) { grid-area: film; }
.work-groups > :nth-child(2) { grid-area: tv; }
.work-groups > :nth-child(3) { grid-area: music; }
.work-groups > :nth-child(4) { grid-area: games; }
.work-groups h3 { font-size: var(--fs-small); font-weight: 600; color: var(--text-2-on-dark); padding-bottom: var(--s-3); border-bottom: 1px solid var(--control-dark); margin-bottom: var(--s-2); }
.work-list li { padding: var(--s-3) 0; border-bottom: 1px solid var(--rule-dark); }
.work-list span { display: block; font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem); font-weight: 600; letter-spacing: -0.01em; }
.work-list small { display: block; font-size: var(--fs-label); color: var(--text-3-on-dark); margin-top: 2px; }
.videos { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-5) var(--s-8); margin-top: var(--s-9); padding-top: var(--s-6); border-top: 1px solid var(--rule-dark); }
.videos p { color: var(--text-2-on-dark); margin-top: var(--s-2); max-width: 44ch; }
.video-links { display: grid; gap: var(--s-3); }
.video-links a { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--s-2) var(--s-4); min-height: 64px; padding: var(--s-4) var(--s-5); border: 1px solid var(--control-dark); border-radius: var(--r-control); text-decoration: none; transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
.video-links a:hover { border-color: var(--gold); background: rgba(247, 181, 0, .06); }
.v-title { font-weight: 600; }
.v-meta { font-size: var(--fs-small); color: var(--text-2-on-dark); }

/* ---------- services (accordion) ---------- */
.accordion { border-top: 1px solid var(--ink); }
.acc-item { border-bottom: 1px solid var(--rule-light); }
.acc-btn { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr) 40px; align-items: center; gap: var(--s-4); width: 100%; min-height: 88px; padding: var(--s-5) 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--ink); }
.acc-title { font-size: clamp(1.375rem, 1.15rem + .9vw, 2rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.acc-sum { color: var(--ink-2); font-size: var(--fs-body); }
.acc-icon { position: relative; width: 40px; height: 40px; border: 1.5px solid var(--control-light); border-radius: 50%; transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--ink); transition: transform var(--t-fast) var(--ease); }
.acc-icon::after { transform: rotate(90deg); }
.acc-btn:hover .acc-icon { border-color: var(--ink); }
.acc-btn[aria-expanded="true"] .acc-icon { background: var(--night); border-color: var(--night); }
.acc-btn[aria-expanded="true"] .acc-icon::before, .acc-btn[aria-expanded="true"] .acc-icon::after { background: #fff; }
.acc-btn[aria-expanded="true"] .acc-icon::after { transform: rotate(0); }
.acc-panel { padding: 0 0 var(--s-6); }
.acc-panel ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--s-7); max-width: 1000px; }
.acc-panel li { color: var(--ink-2); padding-left: var(--s-4); border-left: 2px solid var(--rule-light); }
.acc-panel strong { color: var(--ink); font-weight: 600; }

/* ---------- process ---------- */
.process-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7) var(--s-8); align-items: start; }
.process-intro { position: sticky; top: calc(var(--head-h) + var(--s-7)); }
.process-intro p { color: var(--text-2-on-dark); margin-top: var(--s-5); max-width: 40ch; }
.steps { counter-reset: step; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: var(--s-5); padding: var(--s-6) 0; border-top: 1px solid var(--rule-dark); transition: opacity var(--t-med) var(--ease); }
.steps li:last-child { border-bottom: 1px solid var(--rule-dark); }
.step-n { font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--gold); }
.steps p { color: var(--text-2-on-dark); margin-top: var(--s-2); max-width: 52ch; }
/* While scrolling, the step in the middle of the screen is marked; text stays at full contrast. */
.steps.is-tracking .step-n { color: var(--text-3-on-dark); transition: color var(--t-fast) var(--ease); }
.steps.is-tracking li { transition: border-color var(--t-fast) var(--ease); }
.steps.is-tracking li.is-active { border-top-color: var(--gold); }
.steps.is-tracking li.is-active .step-n { color: var(--gold); }
.options { margin-top: var(--s-9); }
.options-title { font-size: var(--fs-h3); margin-bottom: var(--s-5); }
.options-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); }
.options-list > div { padding-top: var(--s-4); border-top: 2px solid var(--control-dark); }
.options-list > div:first-child { border-top-color: var(--gold); }
.options-list dt { font-weight: 600; font-size: 1.125rem; }
.options-list dd { color: var(--text-2-on-dark); font-size: var(--fs-small); margin-top: var(--s-2); }
.options-note { margin-top: var(--s-6); color: var(--text-3-on-dark); font-size: var(--fs-small); }

/* ---------- why ---------- */
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-7) var(--s-6); }
.reasons li { padding-top: var(--s-4); border-top: 1px solid var(--ink); }
.reasons p { color: var(--ink-2); margin-top: var(--s-3); }

/* ---------- clippers ---------- */
.clippers-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--s-7) var(--s-9); align-items: start; }
.clippers-stat { display: flex; align-items: baseline; gap: var(--s-3); flex-wrap: wrap; font-weight: 600; font-size: var(--fs-small); color: var(--gold-ink); padding-bottom: var(--s-5); margin-bottom: var(--s-6); border-bottom: 1.5px solid var(--on-gold); }
.clippers-stat .display { font-size: clamp(3.5rem, 2.6rem + 3vw, 5.5rem); line-height: .9; color: var(--on-gold); }
.clippers-intro > p:not(.clippers-stat) { font-size: var(--fs-lead); line-height: 1.5; color: var(--gold-ink); margin: var(--s-5) 0 var(--s-6); max-width: 38ch; }
.offers li { padding: var(--s-5) 0; border-bottom: 1px solid rgba(8, 27, 58, .28); }
.offers li:first-child { border-top: 1.5px solid var(--on-gold); }
.offers p { color: var(--gold-ink); margin-top: var(--s-2); }

/* ---------- contact and form ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "intro form" "details form"; grid-template-rows: auto 1fr; gap: var(--s-7) var(--s-9); align-items: start; }
.contact-intro { grid-area: intro; }
.contact-grid > .form { grid-area: form; }
.contact-details { grid-area: details; }
.contact-intro p { color: var(--text-2-on-dark); margin-top: var(--s-5); max-width: 40ch; }
.contact-details { display: grid; gap: var(--s-4); }
.contact-details dt { font-size: var(--fs-label); color: var(--text-3-on-dark); }
.contact-details dd { font-size: 1.125rem; font-weight: 500; }
.contact-details a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-details a { text-decoration-color: var(--control-dark); }
.contact-details a:hover { text-decoration-color: var(--gold); }

.form { background: var(--deep); border: 1px solid var(--rule-dark); border-radius: var(--r-panel); padding: clamp(20px, 3vw, 40px); }
.switch { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-1); padding: var(--s-1); margin: 0 0 var(--s-6); border: 1px solid var(--rule-dark); border-radius: var(--r-pill); background: var(--field); min-width: 0; }
.switch legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.switch label { position: relative; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 var(--s-3); border-radius: var(--r-pill); font-weight: 600; font-size: var(--fs-small); color: var(--text-2-on-dark); text-align: center; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.switch input:checked + span { background: var(--gold); color: var(--on-gold); }
.switch input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.field-grid, .group { display: grid; gap: var(--s-5); }
.group[hidden] { display: none; }
.field { display: grid; gap: var(--s-2); min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-size: var(--fs-label); font-weight: 600; color: var(--text-on-dark); padding: 0; }
.req { font-weight: 400; color: var(--text-3-on-dark); }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
input:not([type="radio"]), textarea { width: 100%; min-height: 48px; padding: var(--s-3) var(--s-4); font-size: 1rem; background: var(--field); border: 1.5px solid var(--control-dark); border-radius: var(--r-control); color: #fff; transition: border-color var(--t-fast) var(--ease); }
textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #7D90B3; }
input:not([type="radio"]):hover, textarea:hover { border-color: #7C95C2; }
input:not([type="radio"]):focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(247, 181, 0, .25); }
input[aria-invalid="true"] { border-color: var(--error-dark); }
.field-err { font-size: var(--fs-label); color: var(--error-dark); }
.chip-row { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-1); }
.chip-row label { position: relative; }
.chip-row input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip-row span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--s-4); border: 1.5px solid var(--control-dark); border-radius: var(--r-pill); font-size: var(--fs-small); transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.chip-row label:hover span { border-color: #9DB1D6; }
.chip-row input:checked + span { background: #fff; border-color: #fff; color: var(--night); font-weight: 600; }
.chip-row input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.form-foot { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-3) var(--s-5); margin-top: var(--s-6); }
.form-note { font-size: var(--fs-small); color: var(--text-3-on-dark); }
.form-status:empty { display: none; }
.form-status { margin-top: var(--s-5); padding: var(--s-4) var(--s-5); border-radius: var(--r-control); font-size: var(--fs-body); }
.form-status.is-error { background: rgba(255, 161, 151, .1); border: 1px solid var(--error-dark); color: #FFD9D4; }
.form-status.is-error a { color: #fff; }
.form-status.is-success { background: rgba(111, 227, 166, .1); border: 1px solid var(--success-dark); color: #fff; }
.form-status strong { display: block; font-size: 1.25rem; margin-bottom: var(--s-1); }
.form.is-sent .field-grid, .form.is-sent .switch, .form.is-sent .form-foot { display: none; }
.form.is-sent .form-status { margin-top: 0; }

/* ---------- footer ---------- */
.site-foot { background: var(--deep); padding-top: var(--s-9); overflow: hidden; color: var(--text-2-on-dark); font-size: var(--fs-small); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: var(--s-7) var(--s-6); }
.foot-name { font-weight: 700; color: #fff; font-size: 1.125rem; margin-bottom: var(--s-2); }
.site-foot ul { display: grid; gap: var(--s-1); align-content: start; }
.site-foot a { text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-base { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--rule-dark); color: var(--text-3-on-dark); }
.wordmark { font-size: clamp(7rem, 2rem + 26vw, 26rem); line-height: .78; text-align: center; color: var(--night); margin-top: var(--s-7); margin-bottom: -0.06em; user-select: none; letter-spacing: -0.01em; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .js .menu-btn { display: inline-flex; }
  .work-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "film tv" "film music" "games games"; }
  .options-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1081px) { .menu { display: none !important; } }
@media (max-width: 900px) {
  .section-head, .hero-grid, .hero-foot, .result, .videos, .process-grid, .clippers-grid, .contact-grid, .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .section-head { margin-bottom: var(--s-7); }
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 0; gap: var(--s-4); }
  .hero-stats div { border-bottom: 0; border-top: 1px solid var(--rule-dark); padding: var(--s-3) 0 0; }
  .process-intro { position: static; }
  .contact-grid { grid-template-areas: "intro" "form" "details"; grid-template-rows: none; }
  .result-tabs { display: flex; flex-wrap: wrap; gap: var(--s-2); border-top: 0; }
  .result-tabs button { min-height: 44px; padding: 0 var(--s-4); border: 1.5px solid var(--control-light); border-radius: var(--r-pill); font-size: var(--fs-small); }
  .result-tabs button[aria-selected="true"] { background: var(--night); border-color: var(--night); color: #fff; }
  .result-tabs button[aria-selected="true"]::before { display: none; }
  .acc-btn { grid-template-columns: minmax(0, 1fr) 40px; }
  .acc-sum { grid-column: 1; grid-row: 2; font-size: var(--fs-small); }
  .acc-icon { grid-column: 2; grid-row: 1 / span 2; }
  .acc-panel ul { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  :root { --fs-body: 1rem; --head-h: 64px; }
  .head-cta { display: none; }
  .hero-stats { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero-stats div { flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: var(--s-4); padding: var(--s-3) 0; }
  .hero-stats dd { font-size: 2.5rem; min-width: 3.4ch; }
  .actions .btn, .clippers-intro .btn { flex: 1 1 100%; }
  .figures-2 { gap: var(--s-4); }
  .bar-row { grid-template-columns: 72px 1fr; }
  .axis { margin-left: calc(72px + var(--s-3)); }
  .options-list, .reasons { grid-template-columns: minmax(0, 1fr); }
  .work-groups { grid-template-columns: minmax(0, 1fr); grid-template-areas: "film" "tv" "music" "games"; }
  .field-pair { grid-template-columns: minmax(0, 1fr); }
  .form-foot .btn { flex: 1 1 100%; }
  .steps li { grid-template-columns: 44px 1fr; gap: var(--s-4); }
  .site-foot a { min-height: 44px; }
  .site-foot ul { gap: 0; }
  .step-n { font-size: 2.25rem; }
}
@media (max-width: 360px) {
  .switch span { font-size: var(--fs-label); padding: 0 var(--s-2); }
  .brand span { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
}
