/* =================================================================
   RED EYE MEDIA — Core stylesheet
   Brand operated by Verde Global Consulting FZ-LLC (RAK, UAE)
   Art direction: near-black field, warm off-white type, signal red focus.
   "If the logo were removed, the page should still feel like Red Eye Media."
   ================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Colour system */
  --ink:        #0B0B0C;   /* primary background — near black, not pure */
  --ink-2:      #101012;   /* raised surfaces */
  --graphite:   #17171A;   /* cards / panels */
  --smoke:      #26262B;   /* borders / dividers (raised) */
  --line:       rgba(236, 233, 227, 0.12); /* hairline dividers */
  --line-soft:  rgba(236, 233, 227, 0.06);
  --silver:     #8C8C92;   /* muted text */
  --silver-2:   #B6B6BC;   /* secondary text */
  --paper:      #ECE9E3;   /* warm off-white — primary text */
  --paper-dim:  rgba(236, 233, 227, 0.66);
  --light-bg:   #ECE9E3;   /* editorial light section */
  --light-ink:  #0B0B0C;   /* text on light section */

  --red:        #E10600;   /* deep signal red — focus only */
  --red-bright: #FF2A1A;   /* glow moments */
  --red-deep:   #9E0500;

  /* Type */
  --display: "Archivo", "Archivo Expanded", system-ui, sans-serif;
  --sans:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Fluid type scale (clamp: min, vw, max) */
  --fs-mega:  clamp(3.2rem, 11vw, 11rem);
  --fs-h1:    clamp(2.6rem, 7vw, 6.5rem);
  --fs-h2:    clamp(2rem, 4.6vw, 4rem);
  --fs-h3:    clamp(1.45rem, 2.4vw, 2.1rem);
  --fs-h4:    clamp(1.15rem, 1.6vw, 1.4rem);
  --fs-lead:  clamp(1.1rem, 1.5vw, 1.45rem);
  --fs-body:  clamp(1rem, 1.05vw, 1.1rem);
  --fs-small: 0.85rem;
  --fs-micro: 0.72rem;

  /* Spacing scale */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-5: 3rem;
  --s-6: 4.5rem;
  --s-7: 7rem;
  --s-8: 10rem;

  --maxw: 1380px;
  --gutter: clamp(1.25rem, 5vw, 5rem);

  --radius: 2px;        /* minimal — avoid excessive rounding */
  --radius-pill: 100px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 0.25s;
  --t-med: 0.55s;
  --t-slow: 0.9s;

  --nav-h: 90px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.005em;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; padding: 0; }
input, textarea, select, button { font: inherit; }
::selection { background: var(--red); color: #fff; }

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--red); color: #fff; padding: 0.75rem 1.25rem;
  font-family: var(--display); font-weight: 700; letter-spacing: 0.04em;
}
.skip-link:focus { left: var(--gutter); top: 0.75rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
}

/* Content deterrents (toggled by protect.js). Form fields + contact links stay selectable. */
.no-select, .no-select * { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
.no-select input, .no-select textarea, .no-select select,
.no-select [contenteditable], .no-select [data-selectable],
.no-select a[href^="mailto"], .no-select a[href^="tel"] {
  -webkit-user-select: text; -moz-user-select: text; -ms-user-select: text; user-select: text;
}
.no-select img { -webkit-user-drag: none; user-drag: none; }

/* ---------- Typography primitives ---------- */
.display, h1, h2, h3, .num, .nav__brand {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.02em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; }
h4 { font-family: var(--display); font-weight: 700; font-size: var(--fs-h4); letter-spacing: -0.01em; }
p  { max-width: 64ch; }
strong { font-weight: 600; color: var(--paper); }
em { font-style: italic; }

.mega {
  font-family: var(--display);
  font-weight: 800;
  font-size: var(--fs-mega);
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.lead { font-size: var(--fs-lead); line-height: 1.45; color: var(--silver-2); max-width: 56ch; }
.muted { color: var(--silver); }
.paper-dim { color: var(--paper-dim); }

/* Eyebrow / kicker label */
.kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--fs-micro);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--silver-2);
}
.kicker::before {
  content: ""; width: 22px; height: 2px; background: var(--red); display: inline-block;
}
.kicker--center { justify-content: center; }

.red { color: var(--red); }
.red-bright { color: var(--red-bright); }
.text-balance { text-wrap: balance; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: 1600px; }
.section { padding-block: var(--s-7); position: relative; }
.section--tight { padding-block: var(--s-6); }
.section--flush-top { padding-top: 0; }
.section-head { max-width: 70ch; margin-bottom: var(--s-5); }
.section-head .lead { margin-top: var(--s-3); }

.divider { height: 1px; background: var(--line); border: 0; }

.grid { display: grid; gap: var(--s-4); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.split--lopsided { grid-template-columns: 1.1fr 0.9fr; }

/* Light editorial section */
.section--light { background: var(--light-bg); color: var(--light-ink); }
.section--light .lead, .section--light .muted { color: #4a4a48; }
.section--light .kicker { color: #6a6a66; }
.section--light .divider { background: rgba(11,11,12,0.12); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--display); font-weight: 700;
  font-size: 0.92rem; letter-spacing: 0.02em;
  padding: 1rem 1.6rem;
  border-radius: var(--radius);
  transition: transform var(--t-fast) var(--ease), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  will-change: transform;
}
.btn__label { position: relative; z-index: 2; }
.btn .arrow { transition: transform var(--t-fast) var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-bright); }
.btn--ghost { border: 1px solid var(--line); color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); background: rgba(236,233,227,0.04); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--block { width: 100%; justify-content: center; }
.btn--lg { padding: 1.15rem 2rem; font-size: 1rem; }

/* Text link with red focus underline */
.tlink {
  position: relative; display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--display); font-weight: 600; letter-spacing: 0.01em;
  padding-bottom: 3px;
}
.tlink::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease);
}
.tlink:hover::after, .tlink:focus-visible::after { transform: scaleX(1); }

/* ---------- Header / nav ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background var(--t-med) var(--ease), height var(--t-med) var(--ease), border-color var(--t-med);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(11,11,12,0.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  height: 70px;
  border-bottom: 1px solid var(--line-soft);
}
.header__inner { width: 100%; max-width: 1600px; margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

/* Logo placeholder — REPLACE with supplied logo (see README) */
.brand { display: inline-flex; align-items: center; gap: 0.6rem; z-index: 2; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--paper);
  position: relative; flex: none;
  display: grid; place-items: center;
}
.brand__mark::after {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 10px rgba(225,6,0,0.7);
}
.brand__word {
  font-family: var(--display); font-weight: 800; letter-spacing: 0.02em;
  font-size: 1.02rem; line-height: 1; text-transform: uppercase;
}
.brand__word .red { color: var(--red); }
.brand__logo-img { height: 56px; width: auto; display: block; } /* header full lockup */
.brand--lg .brand__logo-img { height: clamp(72px, 9vw, 104px); } /* footer full lockup */
.header.is-scrolled .brand__logo-img { height: 44px; }

.nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.4rem); }
.nav__list { display: flex; align-items: center; gap: clamp(1.2rem, 2.2vw, 2.2rem); }
.nav__link {
  position: relative; font-family: var(--display); font-weight: 600;
  font-size: 0.92rem; letter-spacing: 0.01em; color: var(--silver-2);
  padding: 0.4rem 0; transition: color var(--t-fast);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--paper); }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: center;
  transition: transform var(--t-med) var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__cta { display: inline-flex; }

/* Mobile nav toggle */
.nav-toggle { display: none; width: 44px; height: 44px; position: relative; z-index: 130; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--paper);
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast); }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { bottom: 17px; }
.nav-toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { bottom: 21px; transform: rotate(-45deg); }

/* ---------- Mobile menu overlay ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 120; background: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter); gap: 0.2rem;
  transform: translateY(-100%); transition: transform var(--t-med) var(--ease);
  visibility: hidden;
}
.mobile-menu.is-open { transform: translateY(0); visibility: visible; }
.mobile-menu a {
  font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 9vw, 3.4rem);
  letter-spacing: -0.02em; line-height: 1.15; color: var(--paper);
  border-bottom: 1px solid var(--line-soft); padding: 0.5rem 0;
  display: flex; align-items: baseline; gap: 1rem;
}
.mobile-menu a .mm-num { font-size: 0.8rem; color: var(--red); font-weight: 600; letter-spacing: 0.1em; }
.mobile-menu a:active { color: var(--red); }
.mobile-menu__foot { margin-top: var(--s-4); color: var(--silver); font-family: var(--sans); }

/* ---------- Announcement bar ---------- */
.announce {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  background: var(--ink-2); border-bottom: 1px solid var(--line-soft);
  font-size: var(--fs-micro); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--silver-2); font-family: var(--display); font-weight: 600;
}
.announce__inner { max-width: 1600px; margin-inline: auto; min-height: 36px; padding: 0.55rem var(--gutter);
  display: flex; align-items: center; justify-content: center; gap: 0.8rem; text-align: center;
  white-space: nowrap; overflow: hidden; }
.announce__close { margin-left: auto; color: var(--silver); font-size: 1rem; line-height: 1; padding: 0 0.3rem; }
.announce__close:hover { color: var(--paper); }
.announce__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 8px var(--red); flex: none; }
.announce a { color: var(--paper); }
.announce a:hover { color: var(--red-bright); }
/* When announcement present, push header below it */
body.has-announce .header { top: 36px; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding-bottom: clamp(3rem, 8vh, 7rem); overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; z-index: 0; }
#hero-canvas { width: 100%; height: 100%; display: block; }
/* CSS poster fallback — visible instantly, replaced/overlaid by WebGL when ready */
.hero__poster {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(closest-side at 68% 42%, rgba(225,6,0,0.30), rgba(225,6,0,0.06) 45%, transparent 72%),
    radial-gradient(closest-side at 68% 42%, rgba(255,255,255,0.04), transparent 60%),
    radial-gradient(120% 90% at 60% 30%, #161618 0%, var(--ink) 60%);
  transition: opacity 0.8s var(--ease);
}
.hero__poster::after { /* aperture ring hint */
  content: ""; position: absolute; top: 42%; left: 68%; width: min(46vw, 520px); aspect-ratio: 1;
  transform: translate(-50%,-50%); border-radius: 50%;
  border: 1px solid rgba(236,233,227,0.10);
  box-shadow: inset 0 0 80px rgba(225,6,0,0.18), 0 0 60px rgba(0,0,0,0.6);
}
.hero.webgl-ready .hero__poster { opacity: 0; }
.hero__vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,11,12,0.55) 0%, transparent 22%, transparent 55%, rgba(11,11,12,0.85) 100%); }

.hero__content { position: relative; z-index: 2; width: 100%; }
.hero__title { font-size: var(--fs-mega); line-height: 0.88; text-transform: uppercase;
  letter-spacing: -0.035em; max-width: 16ch; }
.hero__title .ln { display: block; overflow: hidden; }
.hero__title .ln > span { display: block; }
.hero__lead { margin-top: var(--s-3); max-width: 46ch; font-size: var(--fs-lead); color: var(--silver-2); }
.hero__actions { margin-top: var(--s-4); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero__descriptor { margin-top: var(--s-4); font-family: var(--display); font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--silver); }
.hero__descriptor .sep { color: var(--red); margin-inline: 0.5rem; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: clamp(3rem, 8vh, 7rem); z-index: 2;
  display: flex; align-items: center; gap: 0.7rem; writing-mode: vertical-rl;
  font-family: var(--display); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--silver); }
.hero__scroll .bar { writing-mode: horizontal-tb; width: 1px; height: 46px; background: linear-gradient(var(--silver), transparent); }

/* ---------- PERSPECTIVE scroll sequence ---------- */
.perspective { background: var(--ink); min-height: 340vh; position: relative; }
.perspective__sticky { position: sticky; top: 0; min-height: 100svh; display: grid; place-items: center;
  text-align: center; padding: var(--gutter); }
.perspective__track { position: relative; }
.perspective__line {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2rem, 6.5vw, 5.5rem); line-height: 1; letter-spacing: -0.03em;
  position: absolute; inset: 0; display: grid; place-items: center;
  opacity: 0; transform: translateY(28px) scale(0.96); filter: blur(6px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease);
  color: var(--silver);
}
.perspective__line.is-active { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); color: var(--paper); }
.perspective__line.is-final { color: var(--paper); }
.perspective__line .red { color: var(--red); }
.perspective__progress { position: absolute; left: 50%; bottom: -3.5rem; transform: translateX(-50%);
  width: 1px; height: 60px; background: var(--line); overflow: hidden; }
.perspective__progress span { position: absolute; inset: 0 0 auto 0; width: 100%; height: 0; background: var(--red); }
.perspective__spacer { height: 60vh; } /* drives the sticky scroll */

/* ---------- Interactive Service index ---------- */
.svc-index { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.svc-list { border-top: 1px solid var(--line); }
.svc-row {
  display: flex; align-items: baseline; gap: 1.2rem; width: 100%; text-align: left;
  padding: clamp(1rem, 2vw, 1.6rem) 0; border-bottom: 1px solid var(--line);
  color: var(--silver-2); transition: color var(--t-fast), padding-left var(--t-med) var(--ease);
  position: relative;
}
.svc-row::before {
  content: ""; position: absolute; left: -1.4rem; top: 50%; transform: translateY(-50%) scaleY(0);
  width: 3px; height: 60%; background: var(--red); transition: transform var(--t-med) var(--ease); transform-origin: center;
}
.svc-row .svc-num { font-family: var(--display); font-weight: 600; font-size: 0.78rem; color: var(--silver);
  letter-spacing: 0.1em; min-width: 2.4rem; }
.svc-row .svc-name { font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 2.6vw, 2.3rem);
  letter-spacing: -0.02em; line-height: 1.05; transition: transform var(--t-med) var(--ease); }
.svc-row .svc-arrow { margin-left: auto; opacity: 0; transform: translateX(-8px); transition: opacity var(--t-fast), transform var(--t-fast) var(--ease); color: var(--red); }
.svc-row.is-active, .svc-row:hover, .svc-row:focus-visible {
  color: var(--paper); padding-left: 1.4rem;
}
.svc-row.is-active::before, .svc-row:hover::before { transform: translateY(-50%) scaleY(1); }
.svc-row.is-active .svc-arrow, .svc-row:hover .svc-arrow { opacity: 1; transform: translateX(0); }

.svc-detail { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.svc-detail__panel { position: relative; }
.svc-detail__media {
  aspect-ratio: 4/3; background: var(--graphite); border: 1px solid var(--line);
  position: relative; overflow: hidden; display: grid; place-items: center;
}
.svc-detail__media::after { /* red focus treatment */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(closest-side at 75% 25%, rgba(225,6,0,0.22), transparent 60%);
  mix-blend-mode: screen; opacity: 0.9;
}
.svc-detail__bignum { font-family: var(--display); font-weight: 800; font-size: clamp(5rem, 14vw, 11rem);
  color: rgba(236,233,227,0.06); line-height: 0.8; letter-spacing: -0.04em; }
.svc-detail__body { margin-top: var(--s-3); }
.svc-detail__kw { display: inline-block; margin-top: var(--s-2); font-family: var(--display); font-weight: 600;
  font-size: var(--fs-micro); letter-spacing: 0.16em; text-transform: uppercase; color: var(--red);
  border: 1px solid rgba(225,6,0,0.4); padding: 0.35rem 0.7rem; border-radius: var(--radius-pill); }
.svc-detail .fade-swap { transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.svc-detail.is-swapping .fade-swap { opacity: 0; transform: translateY(6px); }

/* ---------- Capabilities editorial (oversized numbering) ---------- */
.cap-list { display: grid; gap: 0; }
.cap-item { display: grid; grid-template-columns: minmax(140px, 0.5fr) 1.5fr; gap: clamp(1rem,4vw,4rem);
  padding-block: clamp(1.6rem, 4vw, 3rem); border-top: 1px solid var(--line); align-items: start; }
.cap-item:nth-child(even) { direction: rtl; } /* alternating alignment */
.cap-item:nth-child(even) > * { direction: ltr; }
.cap-item__num { font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 8vw, 7rem);
  color: transparent; -webkit-text-stroke: 1px var(--smoke); line-height: 0.8; letter-spacing: -0.04em; }
.cap-item__title { font-size: var(--fs-h3); }
.cap-item__body { margin-top: 0.8rem; color: var(--silver-2); }

/* ---------- Selected Capabilities (horizontal showcase) ---------- */
.showcase { position: relative; }
.showcase__viewport { position: relative; }
/* Default + native fallback: horizontal swipe/scroll */
.showcase__viewport { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity; padding-block: 0.5rem; scrollbar-width: none; }
.showcase__viewport::-webkit-scrollbar { display: none; }
.showcase__track { display: flex; gap: clamp(1.2rem, 2.5vw, 2.4rem); will-change: transform; padding-inline: var(--gutter); }
.showcase__card { scroll-snap-align: start; }
/* JS-upgraded pinned mode (desktop, motion-ok) */
.showcase.is-pinned { /* height set inline by JS */ }
.showcase.is-pinned .showcase__viewport { position: sticky; top: 0; height: 100svh; overflow: visible;
  display: flex; align-items: center; scroll-snap-type: none; }
.showcase.is-pinned .showcase__card { scroll-snap-align: none; }
.showcase__card {
  flex: 0 0 clamp(280px, 34vw, 460px); border: 1px solid var(--line); background: var(--ink-2);
  padding: clamp(1.4rem, 2.4vw, 2.2rem); display: flex; flex-direction: column; min-height: 56vh;
  transition: border-color var(--t-med), transform var(--t-med) var(--ease);
}
.showcase__card:hover { border-color: rgba(236,233,227,0.28); }
.showcase__cardnum { font-family: var(--display); font-weight: 600; color: var(--red); letter-spacing: 0.1em; font-size: 0.8rem; }
.showcase__cardtag { margin-top: auto; font-family: var(--display); font-weight: 600; font-size: var(--fs-micro);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--silver); }
.showcase__cardtitle { font-size: var(--fs-h3); margin-top: 1rem; }
.showcase__cardbody { margin-top: 1rem; color: var(--silver-2); }
.showcase__hint { margin-top: var(--s-3); font-family: var(--display); font-weight: 600; font-size: 0.75rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--silver); display: flex; gap: 0.8rem; align-items: center; }
.showcase__hint .rail { width: 60px; height: 1px; background: var(--line); position: relative; }
.showcase__hint .rail span { position: absolute; left: 0; top: 0; height: 100%; width: 30%; background: var(--red); }

/* ---------- Industries dynamic field ---------- */
.industries { position: relative; }
.ind-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.ind-list { display: flex; flex-direction: column; }
.ind-item {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em;
  font-size: clamp(1.6rem, 4.5vw, 3.4rem); line-height: 1.06; color: var(--smoke);
  padding: 0.18em 0; transition: color var(--t-fast) var(--ease), transform var(--t-med) var(--ease); width: 100%; text-align: left;
  display: flex; align-items: baseline; gap: 1rem;
}
.ind-item .ind-i { font-size: 0.7rem; font-weight: 600; color: var(--silver); letter-spacing: 0.1em; }
.ind-item.is-active, .ind-item:hover, .ind-item:focus-visible { color: var(--paper); transform: translateX(10px); }
.ind-item.is-active .ind-i { color: var(--red); }
.ind-panel { position: relative; min-height: 320px; }
.ind-panel__statement { font-size: var(--fs-h3); color: var(--paper); max-width: 40ch; }
.ind-panel__statement .red { color: var(--red); }
.ind-panel__meta { margin-top: var(--s-3); color: var(--silver); font-family: var(--display);
  font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: var(--fs-micro); }

/* ---------- Process sequence ---------- */
.process { position: relative; }
.process__rail { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; margin-top: var(--s-5); }
.process__line { position: absolute; top: 14px; left: 0; right: 0; height: 1px; background: var(--line); }
.process__line span { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--red);
  box-shadow: 0 0 12px rgba(225,6,0,0.6); transition: width 0.2s linear; }
.process__step { position: relative; padding-top: 2.4rem; }
.process__dot { position: absolute; top: 8px; left: 0; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--smoke); background: var(--ink); transition: border-color var(--t-med), background var(--t-med); }
.process__step.is-on .process__dot { border-color: var(--red); background: var(--red); box-shadow: 0 0 12px rgba(225,6,0,0.6); }
.process__num { font-family: var(--display); font-weight: 600; color: var(--silver); font-size: 0.75rem; letter-spacing: 0.1em; }
.process__name { font-family: var(--display); font-weight: 800; font-size: var(--fs-h4); margin-top: 0.3rem; text-transform: uppercase; letter-spacing: -0.01em; }
.process__desc { margin-top: 0.6rem; color: var(--silver-2); font-size: 0.96rem; }

/* ---------- Stat / value strip ---------- */
.valuestrip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.valuestrip__cell { background: var(--ink); padding: clamp(1.4rem, 3vw, 2.4rem); }
.valuestrip__k { font-family: var(--display); font-weight: 800; font-size: var(--fs-h3); letter-spacing: -0.02em; }
.valuestrip__v { margin-top: 0.5rem; color: var(--silver-2); }

/* ---------- Pull quote / philosophy ---------- */
.pullquote { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 3.6vw, 3rem);
  line-height: 1.12; letter-spacing: -0.02em; max-width: 22ch; }
.pullquote .red { color: var(--red); }

/* ---------- Insights cards ---------- */
.insight-card { border-top: 1px solid var(--line); padding-block: var(--s-3); display: grid;
  grid-template-columns: 0.3fr 1.7fr 0.3fr; gap: 1.5rem; align-items: baseline;
  transition: background var(--t-fast); }
.insight-card:hover { background: rgba(236,233,227,0.02); }
.insight-card__cat { font-family: var(--display); font-weight: 600; font-size: var(--fs-micro);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.insight-card__title { font-family: var(--display); font-weight: 700; font-size: var(--fs-h4); letter-spacing: -0.01em; }
.insight-card__title a { background-image: linear-gradient(var(--red), var(--red)); background-size: 0% 2px;
  background-repeat: no-repeat; background-position: 0 100%; transition: background-size var(--t-med) var(--ease); padding-bottom: 2px; }
.insight-card:hover .insight-card__title a { background-size: 100% 2px; }
.insight-card__meta { font-size: 0.8rem; color: var(--silver); text-align: right; }

/* ---------- Testimonial placeholder ---------- */
.tplaceholder { border: 1px dashed var(--smoke); padding: clamp(2rem,5vw,4rem); text-align: center;
  display: grid; place-items: center; gap: 1rem; }
.tplaceholder .kicker { justify-content: center; }

/* ---------- Final conversion / CTA band ---------- */
.cta-band { position: relative; padding-block: var(--s-8); text-align: center; overflow: hidden; }
.cta-band__glow { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side at 50% 60%, rgba(225,6,0,0.18), transparent 65%); }
.cta-band__inner { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(2.4rem, 7vw, 6rem); text-transform: uppercase; letter-spacing: -0.03em; max-width: 18ch; margin-inline: auto; }
.cta-band__actions { margin-top: var(--s-4); display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: var(--s-6) var(--s-4); background: var(--ink-2); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer__brandcol .brand { margin-bottom: 1rem; }
.footer__statement { font-family: var(--display); font-weight: 700; font-size: var(--fs-h4); max-width: 24ch; letter-spacing: -0.01em; }
.footer__col h5 { font-family: var(--display); font-weight: 600; font-size: var(--fs-micro);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--silver); margin-bottom: 1rem; }
.footer__col a { display: block; color: var(--silver-2); padding: 0.3rem 0; transition: color var(--t-fast); }
.footer__col a:hover { color: var(--paper); }
.footer__bottom { margin-top: var(--s-5); padding-top: var(--s-3); border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: var(--silver); }
.footer__legal { max-width: 70ch; }
.footer__bottom a:hover { color: var(--paper); }

/* ---------- Page hero (inner pages) ---------- */
/* Breadcrumb above already clears the fixed header, so this only adds editorial space. */
.pagehero { padding-top: clamp(1.25rem, 3vh, 2.5rem); padding-bottom: var(--s-5); position: relative; }
.pagehero__title { font-size: var(--fs-h1); text-transform: uppercase; letter-spacing: -0.03em; max-width: 18ch; }
.pagehero__lead { margin-top: var(--s-3); }
.pagehero--accent::before { content: ""; position: absolute; top: var(--nav-h); right: var(--gutter);
  width: clamp(120px, 22vw, 280px); height: 1px; background: var(--red); }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--s-3); }
.form__row { display: grid; gap: var(--s-3); }
.form__row.cols-2 { grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 0.5rem; }
.field label { font-family: var(--display); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--silver-2); }
.field label .req { color: var(--red); }
.field input, .field textarea, .field select {
  background: var(--ink-2); border: 1px solid var(--line); color: var(--paper);
  padding: 0.95rem 1rem; border-radius: var(--radius); transition: border-color var(--t-fast), background var(--t-fast);
  width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #5a5a60; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--red); background: var(--graphite); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--silver) 50%), linear-gradient(135deg, var(--silver) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(1.2em), calc(100% - 14px) calc(1.2em); background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.chip-group { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; border: 1px solid var(--line); padding: 0.6rem 1rem; border-radius: var(--radius-pill);
  font-family: var(--display); font-weight: 600; font-size: 0.85rem; color: var(--silver-2); transition: all var(--t-fast); }
.chip input:checked + span { border-color: var(--red); color: var(--paper); background: rgba(225,6,0,0.12); }
.chip input:focus-visible + span { outline: 2px solid var(--red-bright); outline-offset: 2px; }
.form__hint { font-size: 0.8rem; color: var(--silver); }
.form__success { display: none; border: 1px solid rgba(225,6,0,0.4); padding: 1.2rem 1.4rem; background: rgba(225,6,0,0.06); }
.form__success.is-shown { display: block; }
.form__error { display: none; border: 1px solid var(--red); padding: 0.9rem 1.1rem; background: rgba(225,6,0,0.10); color: var(--paper); border-radius: var(--radius); font-size: 0.92rem; }
.form__error.is-shown { display: block; }
.section--light .form__error { color: var(--light-ink); }
/* Honeypot anti-spam field — hidden from humans, tempting to bots */
.hp-field { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Contact split */
.contact-grid { display: grid; grid-template-columns: 1fr 0.8fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-aside { border-left: 1px solid var(--line); padding-left: clamp(1.5rem, 3vw, 3rem); }
.contact-aside dt { font-family: var(--display); font-weight: 600; font-size: var(--fs-micro);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver); margin-top: var(--s-3); }
.contact-aside dd { margin: 0.3rem 0 0; font-size: 1.05rem; }
.contact-aside dd a:hover { color: var(--red-bright); }

/* ---------- Reveal animations (entering from depth, varied) ---------- */
[data-reveal] { opacity: 0; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); will-change: transform, opacity; }
[data-reveal="up"]    { transform: translateY(40px); }
[data-reveal="depth"] { transform: translateZ(0) scale(0.92) translateY(30px); filter: blur(4px); }
[data-reveal="left"]  { transform: translateX(-48px); }
[data-reveal="right"] { transform: translateX(48px); }
[data-reveal="mask"]  { clip-path: inset(0 100% 0 0); transform: none; opacity: 1; }
[data-reveal].is-in   { opacity: 1; transform: none; filter: none; clip-path: inset(0 0 0 0); }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }

/* Line-by-line headline reveal */
.reveal-lines .ln > span { display: block; transform: translateY(110%); transition: transform 0.9s var(--ease); }
.reveal-lines.is-in .ln > span { transform: translateY(0); }
.reveal-lines.is-in .ln:nth-child(2) > span { transition-delay: 0.08s; }
.reveal-lines.is-in .ln:nth-child(3) > span { transition-delay: 0.16s; }

/* Custom cursor dot (desktop, fine pointer only) */
.cursor-dot { position: fixed; top: 0; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--red);
  pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); mix-blend-mode: screen;
  transition: width 0.2s var(--ease), height 0.2s var(--ease), opacity 0.3s; opacity: 0; }
.cursor-ring { position: fixed; top: 0; left: 0; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(236,233,227,0.4); pointer-events: none; z-index: 9998; transform: translate(-50%,-50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s, opacity 0.3s; opacity: 0; }
body.cursor-active .cursor-dot, body.cursor-active .cursor-ring { opacity: 1; }
body.cursor-hot .cursor-ring { width: 56px; height: 56px; border-color: var(--red); }

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: 0.8rem; color: var(--silver); display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.crumbs a:hover { color: var(--paper); }
.crumbs .sep { color: var(--smoke); }

/* ---------- Service page specifics ---------- */
.svc-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); margin-top: var(--s-4); }
.svc-meta__cell { background: var(--ink); padding: clamp(1.2rem,2.4vw,1.8rem); }
.svc-meta__k { font-family: var(--display); font-weight: 600; font-size: var(--fs-micro); letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--silver); }
.svc-meta__v { margin-top: 0.5rem; color: var(--paper); }
.deliverables { columns: 2; column-gap: 2.5rem; }
.deliverables li { break-inside: avoid; padding: 0.5rem 0 0.5rem 1.4rem; position: relative; color: var(--silver-2); border-bottom: 1px solid var(--line-soft); }
.deliverables li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 7px; height: 7px; background: var(--red); }
.svc-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: var(--s-5); border-top: 1px solid var(--line); padding-top: var(--s-3); }

/* FAQ / accordion */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; justify-content: space-between; gap: 1rem; width: 100%; text-align: left;
  padding: 1.3rem 0; font-family: var(--display); font-weight: 700; font-size: var(--fs-h4); letter-spacing: -0.01em; }
.faq__q .ic { flex: none; color: var(--red); transition: transform var(--t-fast); }
.faq__item.is-open .faq__q .ic { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height var(--t-med) var(--ease); }
.faq__a > div { padding-bottom: 1.3rem; color: var(--silver-2); }

/* ---------- Utilities ---------- */
.mt-2{margin-top:var(--s-2)} .mt-3{margin-top:var(--s-3)} .mt-4{margin-top:var(--s-4)} .mt-5{margin-top:var(--s-5)} .mt-6{margin-top:var(--s-6)}
.mb-3{margin-bottom:var(--s-3)} .mb-4{margin-bottom:var(--s-4)} .mb-5{margin-bottom:var(--s-5)}
.maxw-sm{max-width:48ch} .maxw-md{max-width:60ch}
.center{text-align:center} .center-x{margin-inline:auto}
.flex{display:flex} .between{justify-content:space-between} .items-center{align-items:center} .gap-2{gap:var(--s-2)} .gap-3{gap:var(--s-3)} .wrapf{flex-wrap:wrap}

/* =================================================================
   RESPONSIVE — deliberate compositions, not shrunk desktop
   ================================================================= */
@media (max-width: 1080px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; }
  .footer__brandcol { grid-column: 1 / -1; }
  .ind-grid { grid-template-columns: 1fr; gap: 2rem; }
  .ind-panel { min-height: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: var(--s-3); }
}

@media (max-width: 900px) {
  :root { --nav-h: 74px; }
  .brand__logo-img, .header.is-scrolled .brand__logo-img { height: 46px; }
  .nav__list, .nav__cta { display: none; }
  .nav-toggle { display: block; }
  .svc-index { grid-template-columns: 1fr; gap: 2rem; }
  .svc-detail { position: static; order: -1; } /* show media first on mobile */
  .split, .split--lopsided { grid-template-columns: 1fr; gap: 2rem; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .process__rail { grid-template-columns: 1fr; gap: 0; margin-top: var(--s-4); }
  .process__line { display: none; }
  .process__step { padding-top: 1rem; padding-left: 2rem; padding-bottom: 1.6rem; border-left: 1px solid var(--line); }
  .process__dot { left: -7px; top: 1.2rem; }
  .valuestrip, .svc-meta { grid-template-columns: 1fr; }
  .cap-item { grid-template-columns: 1fr; gap: 0.6rem; }
  .cap-item:nth-child(even) { direction: ltr; }
  .deliverables { columns: 1; }
  .insight-card { grid-template-columns: 1fr; gap: 0.4rem; }
  .insight-card__meta { text-align: left; }
  .hero { align-items: center; padding-top: calc(var(--nav-h) + 2rem); }
  .hero__scroll { display: none; }
  .perspective__sticky { min-height: 90svh; }
}

@media (max-width: 560px) {
  :root { --gutter: 1.25rem; }
  .form__row.cols-2 { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .hero__actions .btn { width: 100%; }
}

/* =================================================================
   MOTION & DEVICE PREFERENCES
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
  .reveal-lines .ln > span { transform: none !important; }
  .perspective { min-height: 0 !important; }
  .perspective__line { opacity: 1; position: static; transform: none; filter: none; color: var(--paper); margin-block: 0.5rem; }
  .perspective__sticky { position: static; min-height: auto; display: block; padding-block: var(--s-6); }
  .perspective__track { display: grid; gap: 1rem; }
  .perspective__spacer { display: none; }
  .hero__poster { opacity: 1 !important; }
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* Honour OS light scheme only for form controls — keep brand dark elsewhere */
@media print {
  .header, .hero__canvas, .hero__poster, .footer, .cursor-dot, .cursor-ring { display: none; }
  body { background: #fff; color: #000; }
}
