/* ==========================================================================
   T&Y WEBSITE ENGINEERS — Design System
   Matte black · Austin Yellow · white gloss
   Apple-minimal with an engineered, automotive edge.
   ========================================================================== */

/* ---- Fonts ---------------------------------------------------------------
   Clash Display (display) + General Sans (text/UI) via Fontshare.            */
@import url('https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&f[]=general-sans@300,400,500,600,700&display=swap');

/* ---- Tokens -------------------------------------------------------------- */
:root {
  /* Surfaces — matte black ramp, faint warm graphite */
  --bg:         oklch(0.145 0.004 95);
  --bg-deep:    oklch(0.112 0.004 95);
  --surface:    oklch(0.185 0.005 95);
  --surface-2:  oklch(0.228 0.006 95);
  --surface-3:  oklch(0.275 0.007 95);

  /* Hairlines */
  --line:       oklch(1 0 0 / 0.085);
  --line-2:     oklch(1 0 0 / 0.14);
  --line-3:     oklch(1 0 0 / 0.22);

  /* Ink — white gloss ramp */
  --ink:        oklch(0.975 0 0);
  --ink-soft:   oklch(0.885 0.003 95);
  --muted:      oklch(0.70 0.008 95);
  --faint:      oklch(0.64 0.012 95);   /* ≥4.5:1 on every surface in the ramp */

  /* Austin Yellow */
  --yellow:        oklch(0.83 0.168 84);
  --yellow-bright: oklch(0.885 0.17 90);
  --yellow-deep:   oklch(0.72 0.145 78);
  --yellow-ink:    oklch(0.22 0.05 80);     /* text on yellow */
  --yellow-glow:   oklch(0.83 0.168 84 / 0.35);
  --yellow-wash:   oklch(0.83 0.168 84 / 0.10);
  --yellow-line:   oklch(0.83 0.168 84 / 0.30);

  /* Type */
  --font-display: 'Clash Display', 'Space Grotesk', system-ui, sans-serif;
  --font-sans: 'General Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'JetBrains Mono', 'Cascadia Code', monospace;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Rhythm */
  --pad-x: clamp(1.25rem, 5vw, 5rem);
  --maxw: 1240px;
  --section-y: clamp(4.5rem, 10vw, 9rem);

  /* Shadows / glow */
  --shadow-lg: 0 40px 80px -30px oklch(0 0 0 / 0.75);
  --shadow-md: 0 20px 45px -25px oklch(0 0 0 / 0.7);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);

  /* Z-scale */
  --z-nav: 100;
  --z-overlay: 200;
  --z-menu: 210;
  --z-toast: 300;
}

/* ---- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--yellow); color: var(--yellow-ink); }

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

/* ---- Layout helpers ------------------------------------------------------ */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: var(--section-y); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -60px; left: 1rem; z-index: var(--z-toast);
  background: var(--yellow); color: var(--yellow-ink); padding: 0.6rem 1rem;
  border-radius: var(--r-sm); font-weight: 600; transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* ---- Type scale ---------------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}
h1.display { font-size: clamp(2.75rem, 7.5vw, 5.75rem); }
h2.display { font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -0.028em; }
h3.display { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.02em; line-height: 1.05; }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--muted);
  font-weight: 400;
  line-height: 1.6;
  max-width: 58ch;
  text-wrap: pretty;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--yellow); opacity: 0.9;
}
.eyebrow--plain::before { display: none; }

.hl { color: var(--yellow); }
.gloss { color: var(--ink); }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  --bh: 3.25rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  height: var(--bh); padding-inline: 1.5rem;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: 0.98rem; letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.5s var(--ease-out), background 0.3s var(--ease-out),
              color 0.3s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s;
  will-change: transform;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: linear-gradient(180deg, var(--yellow-bright), var(--yellow));
  color: var(--yellow-ink);
  box-shadow: 0 1px 0 oklch(1 0 0 / 0.4) inset, 0 10px 30px -12px var(--yellow-glow);
}
.btn--primary:hover {
  box-shadow: 0 1px 0 oklch(1 0 0 / 0.5) inset, 0 16px 40px -12px var(--yellow-glow);
  transform: translateY(-2px);
}
.btn--ghost {
  background: oklch(1 0 0 / 0.03);
  color: var(--ink);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: oklch(1 0 0 / 0.08); border-color: var(--line-3); transform: translateY(-2px); }

.btn--dark {
  background: var(--ink); color: var(--bg-deep);
}
.btn--dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--sm { --bh: 2.65rem; padding-inline: 1.1rem; font-size: 0.9rem; }
.btn--lg { --bh: 3.6rem; padding-inline: 1.9rem; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }

.textlink {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--ink); font-weight: 500;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 2px; transition: border-color 0.3s, gap 0.3s var(--ease-out), color 0.3s;
}
.textlink:hover { border-color: var(--yellow); gap: 0.65rem; color: var(--yellow-bright); }
.textlink svg { width: 1em; height: 1em; transition: transform 0.4s var(--ease-out); }
.textlink:hover svg { transform: translateX(3px); }

/* ---- Navigation ---------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
  transition: background 0.4s var(--ease-out), border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: oklch(0.145 0.004 95 / 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 4.75rem;
}
.brand {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--ink);
  display: inline-flex; align-items: center; gap: 0.1rem;
}
.brand span { color: var(--yellow); }
.brand small {
  font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.22em;
  color: var(--faint); text-transform: uppercase; margin-left: 0.55rem;
  font-weight: 500; padding-left: 0.55rem; border-left: 1px solid var(--line-2);
  align-self: center;
}
.nav__links { display: flex; align-items: center; gap: 2.1rem; list-style: none; }
.nav__links a {
  font-size: 0.92rem; color: var(--muted); font-weight: 500;
  transition: color 0.25s; position: relative;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--yellow); border-radius: 2px;
}
.nav__actions { display: flex; align-items: center; gap: 0.8rem; }

.nav__toggle { display: none; width: 2.75rem; height: 2.75rem; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); align-items: center; justify-content: center; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 18px; height: 1.5px; background: var(--ink);
  transition: transform 0.35s var(--ease-out), opacity 0.2s;
}
.nav__toggle span::before { position: absolute; transform: translateY(-6px); }
.nav__toggle span::after  { position: absolute; transform: translateY(6px); }
body.menu-open .nav__toggle span { background: transparent; }
body.menu-open .nav__toggle span::before { transform: rotate(45deg); }
body.menu-open .nav__toggle span::after  { transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--bg-deep); padding: 6rem var(--pad-x) 3rem;
  display: flex; flex-direction: column; gap: 0.25rem;
  transform: translateY(-100%); transition: transform 0.5s var(--ease-out);
  visibility: hidden;
}
body.menu-open .mobile-menu { transform: translateY(0); visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display); font-size: 2rem; font-weight: 500; color: var(--ink);
  padding: 0.6rem 0; border-bottom: 1px solid var(--line);
}
.mobile-menu a span { color: var(--faint); font-family: var(--font-mono); font-size: 0.8rem; float: right; margin-top: 0.9rem; }
.mobile-menu .btn { margin-top: 1.5rem; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; padding-top: 8.5rem; overflow: hidden; }
.hero__glow {
  position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: min(1100px, 120%); height: 700px;
  background: radial-gradient(ellipse at center, var(--yellow-glow), transparent 62%);
  filter: blur(30px); opacity: 0.5; pointer-events: none; z-index: 0;
}
.hero__inner { position: relative; z-index: 1; }
.hero__spec {
  display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: center;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 2rem;
}
.hero__spec b { color: var(--yellow); font-weight: 500; }
.hero__spec i { width: 4px; height: 4px; border-radius: 50%; background: var(--line-3); font-style: normal; }

.hero h1 { margin-bottom: 1.6rem; max-width: 15ch; }
.hero .lead { margin-bottom: 2.4rem; }
.hero__cta { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; }

.hero__media {
  position: relative; margin-top: clamp(3rem, 6vw, 5rem);
  border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 8.2;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, oklch(0.112 0.004 95 / 0.55));
}
.hero__badge {
  position: absolute; z-index: 2; left: 1.4rem; bottom: 1.4rem;
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.6rem 1rem; border-radius: var(--r-pill);
  background: oklch(0.112 0.004 95 / 0.6); backdrop-filter: blur(14px);
  border: 1px solid var(--line-2); font-size: 0.82rem; color: var(--ink-soft);
}
.hero__badge b { color: var(--yellow); }

/* Marquee of capabilities */
.marquee {
  border-block: 1px solid var(--line); overflow: hidden; padding-block: 1.3rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 34s linear infinite; }
.marquee__track span {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--muted); display: inline-flex; align-items: center; gap: 3.5rem; white-space: nowrap;
}
.marquee__track span::after { content: "◆"; color: var(--yellow); font-size: 0.6em; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head__text { max-width: 44ch; }
.sec-head .eyebrow { margin-bottom: 1.1rem; }
.sec-head p { color: var(--muted); margin-top: 1rem; }

/* ==========================================================================
   SERVICES — asymmetric feature rows (not identical cards)
   ========================================================================== */
.services-list { border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 5rem 1fr auto; gap: clamp(1rem, 4vw, 3rem);
  align-items: center; padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
  border-bottom: 1px solid var(--line); position: relative;
  transition: background 0.4s var(--ease-out);
}
.svc:hover { background: linear-gradient(90deg, var(--yellow-wash), transparent 70%); }
.svc__no { font-family: var(--font-mono); font-size: 0.82rem; color: var(--faint); letter-spacing: 0.1em; padding-top: 0.35rem; align-self: start; }
.svc__body h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 3.5vw, 2.4rem); font-weight: 500; letter-spacing: -0.02em; color: var(--ink); line-height: 1.05; }
.svc__body p { color: var(--muted); margin-top: 0.7rem; max-width: 52ch; }
.svc__tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.1rem; }
.tag {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em;
  color: var(--muted); padding: 0.3rem 0.7rem; border: 1px solid var(--line-2);
  border-radius: var(--r-pill); background: oklch(1 0 0 / 0.02);
}
.svc__arrow {
  width: 3.4rem; height: 3.4rem; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; color: var(--ink); flex-shrink: 0;
  transition: transform 0.5s var(--ease-out), background 0.3s, color 0.3s, border-color 0.3s;
}
.svc:hover .svc__arrow { background: var(--yellow); color: var(--yellow-ink); border-color: var(--yellow); transform: rotate(-45deg); }
.svc__arrow svg { width: 1.3rem; height: 1.3rem; }

/* ==========================================================================
   MEDIA / DIFFERENTIATOR band
   ========================================================================== */
.media-band { background: var(--bg-deep); border-block: 1px solid var(--line); }
.media-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.media-figure { position: relative; }
.media-figure__main {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2);
  aspect-ratio: 4/3.4; box-shadow: var(--shadow-lg);
}
.media-figure__main img { width: 100%; height: 100%; object-fit: cover; }
.media-figure__pip {
  position: absolute; right: -1.2rem; bottom: -1.6rem; width: 46%;
  border-radius: var(--r-md); overflow: hidden; border: 3px solid var(--bg-deep);
  box-shadow: var(--shadow-md); aspect-ratio: 4/3;
}
.media-figure__pip img { width: 100%; height: 100%; object-fit: cover; }
.media-figure__note {
  position: absolute; left: -1rem; top: -1rem; background: var(--yellow); color: var(--yellow-ink);
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em;
  padding: 0.45rem 0.8rem; border-radius: var(--r-sm); text-transform: uppercase; z-index: 2;
  box-shadow: var(--shadow-md);
}
.media-copy h2 { margin-bottom: 1.4rem; }
.media-copy .lead { margin-bottom: 2rem; }
.incl {
  display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 2.2rem;
}
.incl li { display: flex; gap: 0.8rem; align-items: flex-start; color: var(--ink-soft); list-style: none; }
.incl svg { width: 1.35rem; height: 1.35rem; color: var(--yellow); flex-shrink: 0; margin-top: 0.15rem; }
.incl b { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   HOW IT WORKS — genuine ordered sequence (numbers earn their place)
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.step { background: var(--bg); padding: clamp(1.6rem, 3vw, 2.3rem); position: relative; transition: background 0.4s; }
.step:hover { background: var(--surface); }
.step__no { font-family: var(--font-mono); font-size: 0.8rem; color: var(--yellow); letter-spacing: 0.1em; margin-bottom: 2.2rem; display: block; }
.step__icon { width: 2.6rem; height: 2.6rem; margin-bottom: 1.1rem; color: var(--ink); }
.step h3 { font-size: 1.2rem; font-weight: 600; color: var(--ink); margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ==========================================================================
   PRICING  (Pricing-Inspo inspired: dark tiers + feature matrix)
   ========================================================================== */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.1rem; }
.tier {
  position: relative; background: var(--surface); border: 1px solid var(--line-2);
  border-radius: var(--r-lg); padding: 2rem 1.7rem; display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}
.tier:hover { transform: translateY(-4px); border-color: var(--line-3); }
.tier--featured {
  background: linear-gradient(180deg, oklch(0.2 0.02 84), var(--surface));
  border-color: var(--yellow-line); box-shadow: 0 0 0 1px var(--yellow-line), 0 30px 60px -30px var(--yellow-glow);
}
.tier--featured:hover { border-color: var(--yellow); }
.tier__flag {
  position: absolute; top: -0.75rem; right: 1.4rem;
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 600; padding: 0.35rem 0.75rem; border-radius: var(--r-pill);
}
.tier__flag--rec { background: var(--yellow); color: var(--yellow-ink); }
.tier__flag--pop { background: var(--ink); color: var(--bg-deep); }
.tier__name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.tier__desc { color: var(--muted); font-size: 0.92rem; margin-top: 0.5rem; min-height: 2.8em; }
.tier__price { margin-top: 1.5rem; display: flex; align-items: baseline; gap: 0.3rem; flex-wrap: wrap; }
.tier__price .amt { font-family: var(--font-display); font-size: 2.15rem; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.tier__price .cur { font-size: 1.1rem; color: var(--muted); font-weight: 500; }
.tier__price .to { color: var(--faint); font-size: 0.9rem; }
.tier__price--quote .amt { font-size: 1.5rem; }
.tier__meta { font-family: var(--font-mono); font-size: 0.72rem; color: var(--faint); letter-spacing: 0.04em; margin-top: 0.4rem; text-transform: uppercase; }
.tier__cta { margin-top: 1.6rem; }
.tier__list { list-style: none; margin-top: 1.6rem; display: flex; flex-direction: column; gap: 0.75rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.tier__list li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.92rem; color: var(--ink-soft); }
.tier__list svg { width: 1.1rem; height: 1.1rem; color: var(--yellow); flex-shrink: 0; margin-top: 0.2rem; }
.tier__list li.muted { color: var(--faint); }
.tier__list li.muted svg { color: var(--faint); }

.pricing-note { margin-top: 2rem; text-align: center; color: var(--faint); font-size: 0.9rem; }
.pricing-note b { color: var(--yellow); font-weight: 500; }

/* Included banner across all tiers */
.included-banner {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: center;
  text-align: center; background: var(--yellow-wash); border: 1px solid var(--yellow-line);
  border-radius: var(--r-md); padding: 1rem 1.5rem; margin-bottom: 2rem; color: var(--ink-soft);
}
.included-banner svg { width: 1.3rem; height: 1.3rem; color: var(--yellow); }
.included-banner b { color: var(--ink); }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 2rem 3rem; }
.stat__n { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 600; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.stat__n span { color: var(--yellow); }
.stat__l { color: var(--muted); font-size: 0.92rem; margin-top: 0.6rem; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl); border: 1px solid var(--line-2);
  background: var(--bg-deep); padding: clamp(2.5rem, 6vw, 5rem);
  text-align: center;
}
.cta__glow {
  position: absolute; inset: auto 50% -60% 50%; transform: translateX(-50%);
  width: 700px; height: 500px; background: radial-gradient(ellipse, var(--yellow-glow), transparent 60%);
  filter: blur(30px); pointer-events: none;
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { margin-bottom: 1.2rem; }
.cta .lead { margin-inline: auto; margin-bottom: 2.2rem; }
.cta__actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   FORMS (Quote / Contact)
   ========================================================================== */
.form-shell { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.form-aside { position: sticky; top: 6.5rem; }
.form-aside h1 { margin-bottom: 1.3rem; }
.form-aside .lead { margin-bottom: 2rem; }
.aside-list { list-style: none; display: flex; flex-direction: column; gap: 1.2rem; margin-top: 2rem; }
.aside-list li { display: flex; gap: 0.9rem; }
.aside-list .num { font-family: var(--font-mono); color: var(--yellow); font-size: 0.85rem; padding-top: 0.15rem; }
.aside-list b { color: var(--ink); display: block; font-weight: 600; }
.aside-list p { color: var(--muted); font-size: 0.92rem; }

.card {
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-md);
}
.form-row { display: grid; gap: 1.2rem; margin-bottom: 1.2rem; }
.form-row.two { grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label { font-size: 0.85rem; font-weight: 500; color: var(--ink-soft); }
.field label .req { color: var(--yellow); }
.field .hint { font-size: 0.78rem; color: var(--faint); }
.field input, .field textarea, .field select {
  background: var(--bg-deep); border: 1px solid var(--line-2); border-radius: var(--r-md);
  padding: 0.85rem 1rem; color: var(--ink); font-size: 0.98rem; width: 100%;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--yellow); background: var(--bg);
  box-shadow: 0 0 0 4px var(--yellow-wash);
}
.field select { appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23999' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem; }

/* Chip / choice buttons (fast selection) */
.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.6rem 1rem; border-radius: var(--r-pill); border: 1px solid var(--line-2);
  font-size: 0.9rem; color: var(--muted); background: var(--bg-deep);
  transition: all 0.25s var(--ease-out); user-select: none;
}
.chip input:checked + span { border-color: var(--yellow); background: var(--yellow-wash); color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 2px; }
.chip:hover span { border-color: var(--line-3); color: var(--ink-soft); }

.form-status { font-size: 0.9rem; line-height: 1.5; margin-top: 0.4rem; }
.form-status:empty { display: none; }
.form-status[data-state="error"] {
  color: oklch(0.82 0.14 35); background: oklch(0.82 0.14 35 / 0.1);
  border: 1px solid oklch(0.82 0.14 35 / 0.3); border-radius: var(--r-md);
  padding: 0.8rem 1rem;
}
.form-status[data-state="success"] { color: var(--yellow); }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }
.form-footer .assurance { font-size: 0.82rem; color: var(--faint); display: flex; align-items: center; gap: 0.5rem; }
.form-footer .assurance svg { width: 1rem; height: 1rem; color: var(--yellow); }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.1rem; }
.contact-card {
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 2rem; display: flex; flex-direction: column; gap: 0.6rem;
  transition: transform 0.5s var(--ease-out), border-color 0.4s, background 0.4s;
}
.contact-card:hover { transform: translateY(-4px); border-color: var(--line-3); }
.contact-card__ico { width: 3rem; height: 3rem; border-radius: var(--r-md); display: grid; place-items: center; margin-bottom: 0.8rem; }
.contact-card__ico svg { width: 1.5rem; height: 1.5rem; }
.contact-card--wa .contact-card__ico { background: var(--yellow); color: var(--yellow-ink); }
.contact-card--mail .contact-card__ico { background: var(--surface-3); color: var(--ink); }
.contact-card h3 { font-size: 1.15rem; color: var(--ink); font-weight: 600; }
.contact-card p { color: var(--muted); font-size: 0.93rem; }
.contact-card .val { color: var(--ink); font-weight: 500; font-size: 1.05rem; word-break: break-word; }
.contact-card .btn { margin-top: auto; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-hero-img { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 21/9; box-shadow: var(--shadow-lg); margin-top: 3rem; position: relative; }
.about-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.about-hero-img::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 55%, oklch(0.112 0.004 95 / 0.6)); }
.prose { max-width: 62ch; }
.prose p { color: var(--ink-soft); margin-bottom: 1.3rem; }
.prose p:first-of-type { font-size: 1.2rem; color: var(--ink); }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.1rem; }
.value { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.6rem; background: var(--surface); }
.value h3 { color: var(--ink); font-size: 1.1rem; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.6rem; }
.value h3 svg { width: 1.25rem; height: 1.25rem; color: var(--yellow); }
.value p { color: var(--muted); font-size: 0.93rem; }

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal { max-width: 760px; }
.legal h1 { margin-bottom: 0.8rem; }
.legal .updated { font-family: var(--font-mono); font-size: 0.8rem; color: var(--faint); margin-bottom: 3rem; letter-spacing: 0.05em; }
.legal h2 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--ink); margin: 2.5rem 0 0.9rem; letter-spacing: -0.01em; }
.legal h2 .idx { font-family: var(--font-mono); color: var(--yellow); font-size: 0.85rem; margin-right: 0.6rem; }
.legal p, .legal li { color: var(--muted); margin-bottom: 1rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: 0.5rem; }
.legal a { color: var(--yellow); border-bottom: 1px solid var(--yellow-line); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { border-top: 1px solid var(--line); background: var(--bg-deep); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3.5rem; }
.footer__brand .brand { font-size: 1.6rem; margin-bottom: 1rem; }
.footer__brand p { color: var(--muted); max-width: 32ch; font-size: 0.93rem; }
.footer__brand .wa { margin-top: 1.4rem; }
.footer__col h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--faint); margin-bottom: 1.1rem; font-weight: 500; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer__col a { color: var(--muted); font-size: 0.93rem; transition: color 0.25s; }
.footer__col a:hover { color: var(--yellow); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 2rem; border-top: 1px solid var(--line); }
.footer__bottom p { color: var(--faint); font-size: 0.85rem; }
.footer__bottom .made { font-family: var(--font-mono); letter-spacing: 0.03em; }
.footer__bottom .made b { color: var(--yellow); font-weight: 500; }

/* ==========================================================================
   Reveal-on-scroll (enhances already-visible content)
   ========================================================================== */
/* Content is visible by default. Only when JS is present (html.js) do we hide
   it to play the entrance; a failsafe in app.js always reveals it even if the
   IntersectionObserver never fires (background/headless tabs). */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal[data-d="1"] { transition-delay: 0.08s; }
html.js .reveal[data-d="2"] { transition-delay: 0.16s; }
html.js .reveal[data-d="3"] { transition-delay: 0.24s; }
html.js .reveal[data-d="4"] { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 960px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand { grid-column: 1 / -1; }
  .form-shell { grid-template-columns: 1fr; }
  .form-aside { position: static; }
  .media-grid { grid-template-columns: 1fr; }
  .media-figure { max-width: 520px; }
  .media-figure__pip { width: 40%; }
}
@media (max-width: 760px) {
  .nav__links, .nav__actions .btn { display: none; }
  .nav__toggle { display: flex; }
  .svc { grid-template-columns: 1fr; gap: 0.8rem; }
  .svc__no { padding-top: 0; }
  .svc__arrow { display: none; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .form-row.two { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .footer__top { grid-template-columns: 1fr; }
  .hero__spec { gap: 0.9rem; }
}
