/* =====================================================================
   NOVA EDGE SOLUTIONS — V2 2026
   Direction: cinematic minimal. Editorial type, deep-space dark scenes,
   one ember accent, motion that serves meaning.
   ===================================================================== */

:root {
  /* Core */
  --space-950: #04060b;
  --space-900: #07090f;
  --space-800: #0b0f18;
  --space-700: #111726;
  --space-600: #1a2236;
  --space-500: #263250;
  --line-dark: rgba(244, 247, 255, 0.12);

  --paper: #f7f8fa;
  --paper-alt: #eff1f5;
  --card: #ffffff;
  --line: #e3e6ec;

  --ink: #0b0f18;
  --ink-soft: #3a4358;
  --ink-muted: #6a7488;

  --w-100: #f4f7ff;
  --w-200: #c9d2e4;
  --w-300: #8e99b4;

  --ember: #ff7a1a;
  --ember-deep: #e85d00;
  --ember-soft: #ffb066;

  /* Functional (light default) */
  --bg: var(--paper);
  --bg-alt: var(--paper-alt);
  --surface: var(--card);
  --border: var(--line);
  --text: var(--ink);
  --text-soft: var(--ink-soft);
  --text-muted: var(--ink-muted);
  --accent: var(--ember-deep);

  /* Type */
  /* Proxima Nova first: if an Adobe Fonts embed (kit) is added later it takes
     over automatically. Montserrat/Mulish are the bundled free equivalents. */
  --font-display: "proxima-nova", "Proxima Nova", "Montserrat", system-ui, sans-serif;
  --font-body: "proxima-nova", "Proxima Nova", "Mulish", system-ui, sans-serif;

  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.15rem, 1rem + 0.6vw, 1.375rem);
  --fs-h3: clamp(1.3rem, 1.05rem + 1vw, 1.75rem);
  --fs-h2: clamp(2rem, 1.3rem + 3vw, 3.5rem);
  --fs-h1: clamp(2.75rem, 1.5rem + 6vw, 6.5rem);
  --fs-eyebrow: 0.78rem;

  --lh-tight: 1.02;
  --lh-body: 1.7;
  --track: 0.22em;

  /* Rhythm */
  --s1: 0.5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem;
  --s6: 3rem;   --s8: 4rem; --s12: 6rem;  --s16: 8rem; --s20: 10rem;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;

  --maxw: 1240px;
  --narrow: 780px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 70px rgba(11, 15, 24, 0.10);
  --shadow-dark: 0 30px 90px rgba(0, 0, 0, 0.55);
  --header-h: 76px;
}

/* Dark scenes (hero, cta, footer) re-map functional tokens */
.scene-dark {
  --bg: var(--space-900);
  --bg-alt: var(--space-800);
  --surface: var(--space-700);
  --border: var(--line-dark);
  --text: var(--w-100);
  --text-soft: var(--w-200);
  --text-muted: var(--w-300);
  --accent: var(--ember);
  background: var(--bg);
  color: var(--text-soft);
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 var(--s3);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 500; letter-spacing: -0.03em; }
h2 { font-size: var(--fs-h2); font-weight: 500; }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 var(--s3); }
p:last-child { margin-bottom: 0; }
.muted { color: var(--text-muted); }
.soft { color: var(--text-soft); }
.accent { color: var(--accent); }

::selection { background: var(--ember); color: #fff; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ember); color: #fff; padding: 0.6rem 1rem; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

/* Film grain */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  opacity: 0.028; mix-blend-mode: overlay;
}

/* ============ LAYOUT ============ */
.container { max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 3rem); }
.narrow { max-width: var(--narrow); }
.section { padding-block: clamp(4.5rem, 10vw, 9rem); }
.section--alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.center { text-align: center; margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow); font-weight: 500;
  letter-spacing: var(--track); text-transform: uppercase;
  color: var(--text-muted); margin-bottom: var(--s3);
}
.eyebrow::before {
  content: ""; width: 2rem; height: 1px; background: var(--accent); flex: none;
}
.center .eyebrow::after { content: ""; width: 2rem; height: 1px; background: var(--accent); flex: none; }

.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--text-soft); }

.rule { border: 0; border-top: 1px solid var(--border); margin: 0; }

/* ============ HEADER ============ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  transition: transform 0.5s var(--ease), background 0.4s, backdrop-filter 0.4s;
  color: var(--w-100);
}
.site-header.is-solid {
  background: rgba(7, 9, 15, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line-dark);
}
.site-header.is-hidden { transform: translateY(-100%); }

.brand { display: inline-flex; align-items: center; gap: 0.8rem; }
.brand-mark { height: 40px; width: auto; }
.brand-word { font-family: var(--font-display); line-height: 1.05; display: flex; flex-direction: column; }
.brand-word b { font-weight: 600; font-size: 1.05rem; letter-spacing: 0.01em; color: var(--w-100); }
.brand-word small { font-size: 0.68rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--w-300); }

.nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
.nav-links { display: flex; gap: clamp(1rem, 2.5vw, 2.2rem); list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 500;
  color: var(--w-200); position: relative; padding-block: 0.4rem;
  transition: color 0.3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--ember); transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--w-100); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle {
  display: none; background: none; border: 0; color: var(--w-100);
  font-family: var(--font-display); font-size: 0.9rem; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.5rem 0;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 500; font-size: 1rem;
  padding: 0.95rem 1.9rem; border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.4s;
  will-change: transform;
}
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn--primary { background: var(--ember); color: #fff; box-shadow: 0 12px 36px rgba(255, 122, 26, 0.32); }
.btn--primary:hover { background: var(--ember-deep); transform: translateY(-2px); box-shadow: 0 18px 44px rgba(255, 122, 26, 0.4); }
.btn--ghost { border-color: currentColor; color: var(--text); }
.scene-dark .btn--ghost { color: var(--w-100); }
.btn--ghost:hover { border-color: var(--ember); color: var(--accent); transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s6); }

.link-more {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 500; color: var(--text);
  border-bottom: 1px solid var(--accent); padding-bottom: 2px;
}
.link-more:hover { color: var(--accent); }

:where(a, button):focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 4px; }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-block: calc(var(--header-h) + 4rem) clamp(3rem, 8vh, 6rem);
  overflow: clip; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video {
  width: 100%; height: 100%; object-fit: cover;
  transform-origin: center;
}
.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(7,9,15,0.55) 0%, rgba(7,9,15,0.25) 40%, rgba(7,9,15,0.88) 100%),
    radial-gradient(120% 90% at 20% 100%, rgba(7,9,15,0.85) 0%, rgba(7,9,15,0.2) 60%);
}
.hero h1 { max-width: 15ch; margin-bottom: var(--s4); }
.hero .lead { max-width: 56ch; }
.hero-kicker {
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--font-display); font-size: var(--fs-eyebrow);
  letter-spacing: var(--track); text-transform: uppercase; color: var(--w-200);
  margin-bottom: var(--s4);
}
.hero-kicker::before { content: ""; width: 3rem; height: 1px; background: var(--ember); }

.hero-scroll {
  position: absolute; right: clamp(1.25rem, 4vw, 3rem); bottom: clamp(3rem, 8vh, 6rem);
  writing-mode: vertical-rl; font-family: var(--font-display);
  font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--w-300);
  display: flex; align-items: center; gap: 0.9rem;
}
.hero-scroll::after { content: ""; width: 1px; height: 3.5rem; background: linear-gradient(var(--ember), transparent); }

/* Split-line reveal scaffolding */
.line { display: block; overflow: clip; }
.line > span { display: block; will-change: transform; }

/* Page hero (inner pages) */
.page-hero {
  position: relative; padding-block: calc(var(--header-h) + clamp(4rem, 10vw, 8rem)) clamp(3.5rem, 8vw, 6rem);
  overflow: clip; isolation: isolate; min-height: 72svh;
  display: flex; align-items: flex-end;
}
.page-hero > .container { width: 100%; }
.page-hero .hero-veil {
  background:
    linear-gradient(180deg, rgba(7,9,15,0.6) 0%, rgba(7,9,15,0.35) 45%, rgba(7,9,15,0.9) 100%),
    radial-gradient(120% 90% at 18% 100%, rgba(7,9,15,0.85) 0%, rgba(7,9,15,0.25) 60%);
}
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { max-width: 58ch; }

/* ============ MARQUEE ============ */
.marquee {
  border-block: 1px solid var(--border);
  padding-block: 1.4rem; overflow: clip; white-space: nowrap;
  --marquee-dur: 36s;
}
.marquee-track { display: inline-flex; gap: 3.5rem; padding-right: 3.5rem; animation: marquee var(--marquee-dur) linear infinite; }
.marquee span {
  font-family: var(--font-display); font-size: clamp(1rem, 1.6vw, 1.3rem); font-weight: 500;
  color: var(--text-muted); display: inline-flex; align-items: center; gap: 3.5rem;
}
.marquee span::after { content: "✦"; color: var(--ember); font-size: 0.8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ MEDIA FRAMES / KEN BURNS / PARALLAX ============ */
.frame {
  position: relative; overflow: clip; border-radius: var(--r-lg);
  transform: translateZ(0);
}
.frame img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.frame--tall { aspect-ratio: 4 / 4.6; }
.frame--wide { aspect-ratio: 16 / 9; }
.frame--band { border-radius: 0; height: clamp(320px, 55vh, 560px); }
.frame .caption {
  position: absolute; left: 1.25rem; bottom: 1.25rem; z-index: 2;
  background: rgba(7, 9, 15, 0.62); color: var(--w-100);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.06em;
  padding: 0.5rem 0.95rem; border-radius: 999px;
}
.kenburns img { animation: kenburns 26s var(--ease) infinite alternate; }
@keyframes kenburns {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.12) translate(-1.5%, 1.5%); }
}

/* ============ GRIDS / SPLITS ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }

/* ============ CARDS ============ */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex; flex-direction: column; gap: var(--s2);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .num {
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.16em; color: var(--accent);
}
.card h3 { margin-bottom: 0.25rem; }
.card p { color: var(--text-muted); font-size: 1rem; }
.card .icon { width: 44px; height: 44px; color: var(--accent); margin-bottom: var(--s1); }
.card .icon svg { width: 100%; height: 100%; }
.card--invite {
  background: linear-gradient(165deg, var(--space-700), var(--space-950));
  border-color: var(--line-dark); justify-content: center; align-items: flex-start;
}
.card--invite h3, .card--invite b { color: var(--w-100); }
.card--invite p { color: var(--w-300); }

/* ============ STEPS (approach) ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); counter-reset: step; }
.step { border-top: 1px solid var(--border); padding-top: var(--s3); }
.step .marker {
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--s2);
}
.step h3 { font-size: 1.35rem; }
.step p { color: var(--text-muted); font-size: 1rem; }

/* ============ STATS ============ */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); text-align: center; }
.stat .figure {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(3rem, 2rem + 5vw, 5.5rem); line-height: 1; color: var(--text);
}
.stat .figure .sfx { color: var(--accent); }
.stat .label { color: var(--text-muted); margin-top: var(--s1); font-size: 1rem; }

/* ============ SERVICE ROWS (services page) ============ */
.svc {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center; padding-block: clamp(3.5rem, 7vw, 6rem);
  border-top: 1px solid var(--border);
}
.svc:nth-of-type(even) .svc-media { order: -1; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--s3); padding: 0; list-style: none; }
.svc-tags li {
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 500;
  border: 1px solid var(--border); border-radius: 999px; padding: 0.4rem 0.9rem;
  color: var(--text-soft); background: var(--surface);
}
.svc-index {
  font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: var(--s2); display: block;
}

/* Services index list */
.svc-list { list-style: none; margin: 0; padding: 0; }
.svc-list li { border-top: 1px solid var(--border); }
.svc-list li:last-child { border-bottom: 1px solid var(--border); }
.svc-list a {
  display: grid; grid-template-columns: 4rem 1fr auto auto; align-items: center; gap: 1.5rem;
  padding: 1.6rem 0.5rem; transition: background 0.3s, padding 0.4s var(--ease);
}
.svc-list a:hover { background: var(--bg-alt); padding-left: 1.25rem; }
.svc-list .idx { font-family: var(--font-display); color: var(--accent); font-size: 0.9rem; }
.svc-list .name { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--text); }
.svc-list .hint { color: var(--text-muted); font-size: 0.95rem; text-align: right; }
.svc-list .go { color: var(--accent); font-size: 1.3rem; }

/* ============ CTA BAND ============ */
.cta {
  position: relative; overflow: clip; border-radius: var(--r-lg);
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1.75rem, 5vw, 5rem);
  text-align: center;
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(80% 120% at 50% 120%, rgba(255, 122, 26, 0.28), transparent 60%),
    linear-gradient(165deg, var(--space-800), var(--space-950));
}
.cta h2 { max-width: 22ch; margin-inline: auto; }
.cta .lead { max-width: 52ch; margin-inline: auto; }
.cta .btn-row { justify-content: center; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }

.form-panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: clamp(1.75rem, 4vw, 3rem); box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-weight: 500; font-size: 0.92rem; }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 0.85rem 1rem; transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ember); box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.18);
}
.field .error-msg { color: #c72c0e; font-size: 0.85rem; display: none; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #c72c0e; }
.field.is-invalid .error-msg { display: block; }

.form-status { margin-top: var(--s3); font-family: var(--font-display); font-weight: 500; display: none; }
.form-status.ok { display: block; color: #0e7a3d; }
.form-status.err { display: block; color: #c72c0e; }

.form-success { text-align: center; padding: clamp(2rem, 5vw, 4rem) 1rem; display: none; }
.form-success .tick {
  width: 64px; height: 64px; margin: 0 auto var(--s3); border-radius: 50%;
  background: rgba(255, 122, 26, 0.12); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}

.contact-aside { display: flex; flex-direction: column; gap: var(--s3); }
.info-block { border-top: 1px solid var(--border); padding-top: var(--s3); }
.info-block h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.info-block p, .info-block a { color: var(--text-muted); font-size: 1rem; }
.info-block a:hover { color: var(--accent); }
.info-block .big { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; color: var(--text); }

/* ============ FOOTER ============ */
.site-footer { padding: clamp(4rem, 8vw, 6rem) 0 2.5rem; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem); margin-bottom: var(--s8);
}
.footer-brand p { color: var(--w-300); max-width: 30ch; margin-top: var(--s2); }
.site-footer h4 {
  font-size: 0.8rem; letter-spacing: var(--track); text-transform: uppercase;
  color: var(--w-300); margin-bottom: var(--s3); font-weight: 500;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.site-footer ul a { color: var(--w-200); transition: color 0.25s; }
.site-footer ul a:hover { color: var(--ember-soft); }
.footer-bottom {
  border-top: 1px solid var(--line-dark); padding-top: 1.75rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  color: var(--w-300); font-size: 0.92rem;
}

/* ============ REVEAL SCAFFOLDING (JS adds motion; no-JS stays visible) ============ */
.js .reveal, .js .reveal-img { visibility: hidden; }
html.js-ready .reveal, html.js-ready .reveal-img { visibility: visible; }

/* ============ COOKIE CONSENT ============ */
.consent {
  position: fixed; z-index: 120;
  left: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  max-width: 420px;
  background: rgba(11, 15, 24, 0.92);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  padding: 1.5rem;
  box-shadow: var(--shadow-dark);
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.consent.is-visible { opacity: 1; transform: translateY(0); }
.consent-text { color: var(--w-200); font-size: 0.95rem; line-height: 1.55; margin-bottom: 1rem; }
.consent-text strong { color: var(--w-100); }
.consent-text a { color: var(--ember-soft); text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; gap: 0.6rem; }
.consent-actions .btn { padding: 0.6rem 1.3rem; font-size: 0.92rem; }
.consent-actions .btn--ghost { color: var(--w-200); }
@media (max-width: 520px) { .consent { left: 0.75rem; right: 0.75rem; max-width: none; } }

/* ============ LEGAL PAGE ============ */
.legal { max-width: var(--narrow); }
.legal h2 { font-size: clamp(1.35rem, 2vw, 1.75rem); margin-top: var(--s8); }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--text-soft); }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: 0.5rem; }
.legal .updated { font-size: 0.9rem; color: var(--text-muted); }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .split, .contact-grid, .svc { grid-template-columns: 1fr; }
  .svc:nth-of-type(even) .svc-media { order: 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .svc-list a { grid-template-columns: 3rem 1fr auto; }
  .svc-list .go { display: none; }
  .svc-list .hint { display: none; }
}
@media (max-width: 680px) {
  .grid-3, .form-grid, .stats { grid-template-columns: 1fr; }
  .frame--tall { aspect-ratio: 4 / 3.4; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(7, 9, 15, 0.96); backdrop-filter: blur(20px);
    padding: 1rem clamp(1.25rem, 4vw, 3rem) 2rem;
    transform: translateY(-130%); transition: transform 0.5s var(--ease);
    border-bottom: 1px solid var(--line-dark);
  }
  .nav.is-open { transform: translateY(0); }
  .nav-links { flex-direction: column; gap: 0.25rem; margin-bottom: 1.25rem; }
  .nav-links a { display: block; padding: 0.85rem 0; font-size: 1.15rem; }
  .nav-toggle { display: block; }
  .hero-scroll { display: none; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .js .reveal, .js .reveal-img { visibility: visible; }
}
