/* ==========================================================================
   Aerovation / ARES
   Design tokens, base styles, components and page sections.
   All colours live in the token blocks below: edit them to re-theme the site.
   ========================================================================== */

/* ---------- Tokens: light (default) ---------- */
:root {
  /* Brand, taken from the ARES logo */
  --orange-1: #ffb028;
  --orange-2: #ff6a00;
  --brand-grad: linear-gradient(135deg, var(--orange-1) 0%, var(--orange-2) 100%);
  --gunmetal: #1b1f25;
  --steel: #3b434e;
  --silver: #c9ced6;

  /* Surfaces and text */
  --bg: #f7f5f2;
  --bg-alt: #efebe5;
  --surface: #ffffff;
  --surface-2: #f2efea;
  --text: #15181d;
  --muted: #5d6470;
  --line: rgb(21 24 29 / 0.1);
  --line-strong: rgb(21 24 29 / 0.18);
  --accent: #e86f00;
  --accent-2: #0e96b2;
  --on-accent: #15181d;
  --shadow: 0 1px 2px rgb(21 24 29 / 0.04), 0 12px 32px -12px rgb(21 24 29 / 0.14);
  --shadow-lg: 0 2px 4px rgb(21 24 29 / 0.04), 0 30px 60px -20px rgb(21 24 29 / 0.25);
  --glass: rgb(255 255 255 / 0.72);

  /* Hero canvas colours (space separated RGB, read by hero.js) */
  --bg-rgb: 247 245 242;
  --dust-rgb: 196 112 30;
  --charge-rgb: 14 150 178;
  --engine-rgb: 59 67 78;
  --accent-rgb: 255 120 0;

  /* Type */
  --font-head: "Rajdhani", "Arial Narrow", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-xs: 0.78rem;
  --fs-sm: 0.9rem;
  --fs-base: clamp(0.95rem, 0.9rem + 0.2vw, 1.0625rem);
  --fs-lead: clamp(1.02rem, 0.95rem + 0.35vw, 1.25rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.6rem);
  --fs-h2: clamp(1.9rem, 1.5rem + 2vw, 3.2rem);
  --fs-h1: clamp(2.3rem, 1.6rem + 3.2vw, 4.4rem);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 7vw, 9rem);
  --header-h: 72px;
  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: light;
}

/* ---------- Tokens: dark ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0b0d;
    --bg-alt: #101216;
    --surface: #14171c;
    --surface-2: #1a1e24;
    --text: #f1f2f4;
    --muted: #9ba2ad;
    --line: rgb(255 255 255 / 0.08);
    --line-strong: rgb(255 255 255 / 0.16);
    --accent: #ff8a1a;
    --accent-2: #3fd6e8;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 12px 32px -12px rgb(0 0 0 / 0.6);
    --shadow-lg: 0 2px 4px rgb(0 0 0 / 0.3), 0 30px 60px -20px rgb(0 0 0 / 0.8);
    --glass: rgb(14 16 20 / 0.72);
    --bg-rgb: 10 11 13;
    --dust-rgb: 255 172 84;
    --charge-rgb: 63 214 232;
    --engine-rgb: 201 206 214;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0b0d;
  --bg-alt: #101216;
  --surface: #14171c;
  --surface-2: #1a1e24;
  --text: #f1f2f4;
  --muted: #9ba2ad;
  --line: rgb(255 255 255 / 0.08);
  --line-strong: rgb(255 255 255 / 0.16);
  --accent: #ff8a1a;
  --accent-2: #3fd6e8;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 12px 32px -12px rgb(0 0 0 / 0.6);
  --shadow-lg: 0 2px 4px rgb(0 0 0 / 0.3), 0 30px 60px -20px rgb(0 0 0 / 0.8);
  --glass: rgb(14 16 20 / 0.72);
  --bg-rgb: 10 11 13;
  --dust-rgb: 255 172 84;
  --charge-rgb: 63 214 232;
  --engine-rgb: 201 206 214;
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

body.menu-open { overflow: hidden; }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
ol.steps { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0 0 0.4em;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: 0.01em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.1; letter-spacing: 0.03em; }

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.7rem 1rem;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); position: relative; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-block: calc(var(--section) * 0.6); }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head p { color: var(--muted); font-size: var(--fs-lead); margin: 0; }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  font-family: var(--font-head);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--brand-grad);
  border-radius: 2px;
}
.section-head--center .eyebrow::before { display: none; }

.lead { font-size: var(--fs-lead); color: var(--muted); max-width: 60ch; }

.text-grad {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0.75rem 1.6rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--text);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
}
.btn:hover { color: var(--bg); border-color: var(--text); }
.btn:hover::before { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  background: var(--brand-grad);
  border-color: transparent;
  color: var(--on-accent);
  box-shadow: 0 10px 30px -10px rgb(255 106 0 / 0.55);
}
.btn--primary::before { background: var(--gunmetal); }
.btn--primary:hover { color: #fff; border-color: transparent; transform: translateY(-2px); }

.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.btn[aria-disabled="true"]:hover { color: inherit; border-color: var(--line-strong); }
.btn[aria-disabled="true"]:hover::before { transform: translateY(101%); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: var(--glass);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line);
}
body.menu-open .site-header {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 6px 16px -6px rgb(255 106 0 / 0.6);
  transition: transform 0.5s var(--ease);
}
.brand:hover img { transform: rotate(-8deg) scale(1.05); }

.header-actions { display: flex; align-items: center; gap: 0.5rem; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: border-color 0.3s, background-color 0.3s, transform 0.4s var(--ease);
}
.icon-btn:hover { border-color: var(--line-strong); background: var(--surface-2); }
.icon-btn svg { width: 20px; height: 20px; }

.theme-toggle .icon-sun { display: none; }
.theme-toggle:active { transform: rotate(30deg); }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  height: 44px;
  padding: 0 0.6rem 0 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.95rem;
  transition: border-color 0.3s, background-color 0.3s;
}
.menu-btn:hover { border-color: var(--line-strong); background: var(--surface-2); }
.menu-icon {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-grad);
}
.menu-icon span {
  position: absolute;
  left: 8px;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--gunmetal);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.menu-icon span:nth-child(1) { top: 11px; }
.menu-icon span:nth-child(2) { top: 15px; }
.menu-btn[aria-expanded="true"] .menu-icon span:nth-child(1) { top: 13px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon span:nth-child(2) { top: 13px; transform: rotate(-45deg); }

/* ---------- Full-screen dropdown menu ---------- */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  background: var(--bg);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.7s var(--ease), visibility 0s linear 0.7s;
  overflow-y: auto;
}
.nav-overlay::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 70vmax;
  height: 70vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(var(--accent-rgb) / 0.16), transparent 60%);
  pointer-events: none;
}
.nav-overlay.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path 0.7s var(--ease), visibility 0s;
}

.nav-inner {
  position: relative;
  display: grid;
  gap: 3rem;
  padding-block: 2rem 3rem;
}

.nav-list li {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.nav-list a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: 0.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.6rem, 1.6rem + 6vw, 5.8rem);
  line-height: 1;
  text-transform: uppercase;
  transform: translateY(105%);
  transition: transform 0.7s var(--ease), color 0.3s;
  transition-delay: calc(var(--i, 0) * 60ms);
}
.nav-overlay.is-open .nav-list a { transform: translateY(0); transition-delay: calc(150ms + var(--i, 0) * 70ms); }
.nav-list a:hover,
.nav-list a[aria-current="page"] { color: var(--accent); }
.nav-num {
  font-size: var(--fs-sm);
  letter-spacing: 0.2em;
  color: var(--muted);
  min-width: 2.2rem;
}
.nav-list a svg {
  width: clamp(24px, 3vw, 40px);
  height: auto;
  margin-left: auto;
  align-self: center;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.3s, transform 0.4s var(--ease);
}
.nav-list a:hover svg { opacity: 1; transform: translateX(0); }

.nav-aside {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.6s var(--ease);
}
.nav-overlay.is-open .nav-aside { opacity: 1; transform: none; transition-delay: 0.45s; }
.nav-aside img { width: 88px; height: 88px; border-radius: 20px; margin-bottom: 1.4rem; box-shadow: var(--shadow-lg); }
.nav-tagline {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 0.8rem;
}
.nav-meta { color: var(--muted); font-size: var(--fs-sm); }

@media (min-width: 1024px) {
  .nav-inner { grid-template-columns: 1.6fr 1fr; align-items: end; gap: 5rem; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
}
.hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgb(var(--bg-rgb) / 0.75), transparent 80%),
    linear-gradient(to bottom, rgb(var(--bg-rgb) / 0.5), transparent 18%);
}
.hero-content {
  box-sizing: border-box;
  width: min(100%, 1100px);
  max-width: 1100px;
  margin-inline: auto;
  justify-self: center;
  padding-block: calc(var(--header-h) + 1rem);
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 {
  max-width: 100%;
  margin: 0 auto 1.6rem;
  font-size: clamp(2.8rem, 1rem + 6.5vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero h1 .text-grad { display: block; }
.hero .lead {
  margin: 0 auto 2.2rem;
  color: var(--text);
  opacity: 0.85;
  max-width: 48ch;
}
.hero .btn-row { justify-content: center; }
.hero .eyebrow { justify-content: center; margin-bottom: 1.4rem; padding-left: 0.24em; }
.hero .eyebrow::before { display: none; }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: clamp(1.2rem, 3vh, 2rem);
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: var(--text);
  opacity: 0.28;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), color 0.35s var(--ease);
}
.scroll-hint:hover,
.scroll-hint:focus-visible {
  opacity: 0.72;
  color: var(--accent);
}
.scroll-hint.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
}
.scroll-hint-line {
  width: 1px;
  height: 26px;
  background: linear-gradient(to bottom, transparent, currentColor);
  animation: scroll-breathe 2.8s var(--ease) infinite;
}
.scroll-hint svg {
  width: 18px;
  height: 18px;
  animation: scroll-nudge 2.8s var(--ease) infinite;
}
@keyframes scroll-breathe {
  0%, 100% { opacity: 0.35; transform: scaleY(0.85); }
  50% { opacity: 1; transform: scaleY(1); }
}
@keyframes scroll-nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@media (max-width: 767px) {
  .hero-content { padding-block: calc(var(--header-h) + 1rem); }
}

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3.5rem, 8vw, 7rem));
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -30%;
  right: -15%;
  width: min(80vw, 820px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(var(--accent-rgb) / 0.2), transparent 62%);
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 20%, #000 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { margin-bottom: 1.2rem; }
.page-hero .subtitle {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-h3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
}
.chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-grad);
}

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
}
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--muted); margin: 0; }
.card--hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Stats ---------- */
.stat { display: flex; flex-direction: column; gap: 0.6rem; }
.stat-value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.4rem, 1.8rem + 2.6vw, 3.8rem);
  line-height: 1;
  text-transform: uppercase;
}
.stat-label { color: var(--muted); margin: 0; }

/* ---------- Highlight (page link) cards ---------- */
.feature-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}
.feature-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 25%, rgb(var(--accent-rgb) / 0.35), transparent 55%),
    linear-gradient(160deg, var(--surface-2), var(--bg-alt));
  border-bottom: 1px solid var(--line);
}
.feature-visual img,
.feature-visual svg {
  width: 42%;
  height: auto;
  transition: transform 0.8s var(--ease);
}
.feature-visual img { border-radius: 22%; box-shadow: var(--shadow-lg); }
.feature-visual svg { color: var(--text); opacity: 0.85; }
.feature-card:hover .feature-visual img,
.feature-card:hover .feature-visual svg { transform: scale(1.08) rotate(-4deg); }
.feature-body { padding: clamp(1.4rem, 2.5vw, 1.9rem); display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.feature-body .eyebrow { margin-bottom: 0.2rem; font-size: var(--fs-xs); }
.feature-body h3 { margin: 0; }
.feature-body p { margin-bottom: 1rem; }
.feature-body .link-arrow { margin-top: auto; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step {
  position: relative;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-strong);
}
.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-grad);
  transition: width 1.2s var(--ease);
}
.step.is-in::before { width: 100%; }
.step-num {
  display: block;
  margin-bottom: 1.2rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.24em;
  color: var(--muted);
}
.step-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1.2rem;
  border-radius: 14px;
  background: var(--brand-grad);
  color: var(--gunmetal);
  box-shadow: 0 10px 24px -10px rgb(255 106 0 / 0.6);
}
.step-icon svg { width: 26px; height: 26px; }
.step:nth-child(1) .step-icon,
.step:nth-child(2) .step-icon { background: linear-gradient(135deg, var(--accent-2), #1b6f8a); color: #fff; box-shadow: 0 10px 24px -10px rgb(var(--charge-rgb) / 0.6); }
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Instagram placeholder ---------- */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.4rem, 1vw, 0.9rem);
}
.ig-tile {
  position: relative;
  aspect-ratio: 1;
  border-radius: clamp(8px, 1.4vw, 16px);
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  color: var(--muted);
}
.ig-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgb(var(--accent-rgb) / 0.12) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shimmer 3.2s var(--ease) infinite;
  animation-delay: calc(var(--i, 0) * 180ms);
}
.ig-tile svg { width: clamp(22px, 4vw, 36px); height: auto; opacity: 0.45; }
@keyframes shimmer { to { transform: translateX(100%); } }
.ig-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.8rem;
}
.ig-foot p { margin: 0; color: var(--muted); }

/* ---------- Conrad strip (deliberately small) ---------- */
.conrad-strip {
  padding-block: 1.1rem;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.conrad-strip a {
  color: var(--text);
  font-weight: 700;
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.3s, border-color 0.3s;
}
.conrad-strip a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(2.5rem, 6vw, 5rem);
  background: var(--gunmetal);
  color: #f1f2f4;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -10%;
  top: -60%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(255 120 0 / 0.55), transparent 62%);
}
.cta-band h2 { max-width: 16ch; }
.cta-band p { color: #b9bfc8; max-width: 52ch; font-size: var(--fs-lead); margin-bottom: 2rem; }
.cta-band .btn:not(.btn--primary) { border-color: rgb(255 255 255 / 0.25); color: #fff; }
.cta-band .btn:not(.btn--primary)::before { background: #fff; }
.cta-band .btn:not(.btn--primary):hover { color: var(--gunmetal); }

/* ---------- Split layout + media placeholders ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}

.media-ph {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.9rem;
  aspect-ratio: 4 / 3;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1.5px dashed var(--line-strong);
  background:
    radial-gradient(circle at 70% 25%, rgb(var(--accent-rgb) / 0.14), transparent 55%),
    repeating-linear-gradient(45deg, transparent 0 14px, var(--line) 14px 15px),
    var(--surface);
  color: var(--muted);
  text-align: center;
  overflow: hidden;
}
.media-ph svg { width: 48px; height: 48px; color: var(--accent); }
.media-ph strong {
  font-family: var(--font-head);
  font-size: 1.15rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}
.media-ph span { font-size: var(--fs-sm); max-width: 34ch; }
.media-ph--wide { aspect-ratio: 16 / 9; }

/* ---------- Problem callout ---------- */
.callout {
  display: grid;
  gap: 1.2rem;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  border-radius: var(--radius);
  background: var(--gunmetal);
  color: #f1f2f4;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.callout::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgb(255 172 84 / 0.45) 1px, transparent 1.4px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(120deg, transparent 30%, #000);
  mask-image: linear-gradient(120deg, transparent 30%, #000);
}
.callout .stat-value { font-size: clamp(3.6rem, 2.4rem + 5vw, 6.5rem); }
.callout p { color: #b9bfc8; margin: 0; max-width: 40ch; }

/* ---------- Alternatives list ---------- */
.alt-list { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.alt-item {
  display: grid;
  gap: 0.4rem 2rem;
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--line);
  transition: padding 0.4s var(--ease), background-color 0.3s;
}
.alt-item h3 {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0;
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
}
.alt-item h3 svg { width: 20px; height: 20px; flex: none; color: var(--accent); }
.alt-item p { margin: 0; color: var(--muted); }
@media (min-width: 768px) {
  .alt-item { grid-template-columns: minmax(220px, 1fr) 2fr; align-items: center; }
  .alt-item:hover { padding-inline: 1rem; background: var(--surface); }
}

/* ---------- Segment cards ---------- */
.segment-card .badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--brand-grad);
  color: var(--gunmetal);
  font-family: var(--font-head);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.segment-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 1.4rem;
  color: var(--accent);
}

/* ---------- Metric chips ---------- */
.metrics { display: grid; gap: 0.8rem; }
@media (min-width: 640px) { .metrics { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .metrics { grid-template-columns: repeat(4, 1fr); } }
.metric {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 600;
  line-height: 1.35;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.metric:hover { border-color: var(--accent); transform: translateY(-3px); }
.metric span {
  flex: none;
  font-family: var(--font-head);
  font-size: var(--fs-sm);
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-top: 0.1rem;
}

/* ---------- Team list ---------- */
.team-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  max-width: 1100px;
  margin-inline: auto;
}

.team-photo-card {
  position: relative;
  margin: 0;
  padding: 0;
  min-height: 220px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 35%, rgb(var(--accent-rgb) / 0.16), transparent 70%),
    var(--surface-2);
  border: 1.5px dashed var(--line-strong);
}
.team-photo-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--brand-grad);
  z-index: 2;
}
.team-photo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.4rem;
  padding: 1.75rem;
  color: var(--muted);
}
.team-photo-placeholder svg {
  width: 34px;
  height: 34px;
  color: var(--accent);
  margin-bottom: 0.25rem;
}
.team-photo-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.05rem + 0.35vw, 1.35rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}
.team-photo-sub {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.team-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(1rem, 2.5vw, 1.8rem);
  padding: clamp(1.1rem, 2.2vw, 1.5rem);
}

.team-item {
  position: relative;
  overflow: hidden;
}
.team-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--brand-grad);
}
.team-item:has(.team-avatar)::before { display: none; }

.team-avatar {
  position: relative;
  flex: none;
  width: clamp(62px, 8vw, 76px);
  height: clamp(62px, 8vw, 76px);
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--brand-grad);
  box-shadow: 0 0 0 0 transparent, 0 4px 14px -3px rgb(255 106 0 / 0.45);
  border: 2px solid var(--surface);
  margin-top: 0.15rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.team-item:nth-child(2n) .team-avatar { background: linear-gradient(200deg, #ffb028, #f05a00); }
.team-item:nth-child(3n) .team-avatar { background: linear-gradient(160deg, #3b434e, #1b1f25); }

.team-item:hover .team-avatar {
  transform: scale(1.06);
  box-shadow: 0 0 0 3px var(--surface), 0 0 0 5.5px var(--accent), 0 10px 24px -4px rgb(255 106 0 / 0.55);
}

.team-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.team-avatar .team-initial {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
  line-height: 1;
  color: rgb(255 255 255 / 0.95);
  text-shadow: 0 3px 8px rgb(0 0 0 / 0.25);
  transition: transform 0.4s var(--ease);
}
.team-item:hover .team-initial { transform: scale(1.1); }

.team-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.team-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.team-header h3 {
  margin: 0;
  font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.6rem);
  line-height: 1.1;
}

.team-role {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: var(--fs-xs);
  color: var(--accent);
}

.team-body p {
  color: var(--muted);
  margin: 0 0 0.5rem;
  font-size: var(--fs-sm);
  line-height: 1.55;
}
.team-body p:last-child {
  margin-bottom: 0;
}
.team-body .is-placeholder {
  font-style: italic;
  opacity: 0.75;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.35rem;
}
.tag {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: var(--fs-xs);
  font-weight: 600;
}

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 0.8fr 1.2fr; align-items: start; } }

.contact-info { display: grid; gap: 1rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
}
.contact-item svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 0.15rem; }
.contact-item strong {
  display: block;
  font-family: var(--font-head);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: var(--fs-sm);
}
.contact-item span { color: var(--muted); font-size: var(--fs-sm); }

.contact-form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.45rem; }
.field label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.field label .opt { color: var(--muted); font-weight: 500; letter-spacing: 0.06em; text-transform: none; font-family: var(--font-body); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-strong);
  background: var(--bg);
  font-size: 1rem; /* 16px stops iOS zooming on focus */
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7a00' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
  padding-right: 2.8rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / 0.18);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: #d64545; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; justify-content: space-between; }
.form-foot small { color: var(--muted); }

.form-notice {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgb(var(--accent-rgb) / 0.4);
  background: rgb(var(--accent-rgb) / 0.08);
  animation: rise 0.5s var(--ease);
}
.form-notice[hidden] { display: none; }
.form-notice svg { width: 22px; height: 22px; flex: none; color: var(--accent); }
.form-notice p { margin: 0; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  background: var(--bg);
}
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { color: var(--muted); max-width: 34ch; }
.footer-title {
  margin-bottom: 1rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-links { display: grid; gap: 0.55rem; }
.footer-links a { position: relative; width: fit-content; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent); }
.footer-links .soon { color: var(--muted); font-size: var(--fs-sm); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--muted);
}
.footer-bottom p { margin: 0; }

/* ---------- 404 ---------- */
.not-found {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
}
.not-found .big {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(7rem, 30vw, 16rem);
  line-height: 0.85;
  margin-bottom: 1rem;
}
.not-found .btn-row { justify-content: center; }

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- Hide legacy switcher ---------- */
.hero-switcher, .scroll-cue { display: none !important; }
