/* TC Fabrication & Installation — site styles v3
   Mobile-first. Cinematic dark editorial. Geist Variable.
   Brand isolated from Mode — uses TC palette only. */

/* ---------- font ---------- */
@font-face {
  font-family: "Geist";
  src: url("assets/fonts/Geist-Variable.woff2") format("woff2-variations"),
       url("assets/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

:root {
  /* palette */
  --black:     #000000;
  --bg:        #0a0a0a;
  --bg-elev:   #111111;
  --bg-card:   #141414;
  --line:      #1f1f1f;
  --line-2:    #2a2a2a;
  --line-3:    #3a3a3a;
  --ink:       #ffffff;
  --ink-2:     #d4d4d4;
  --ink-3:     #999999;
  --ink-4:     #666666;
  --ink-5:     #444444;
  --cyan:      #22D3EE;
  --cyan-2:    #00BCD4;
  --cyan-3:    #0891B2;
  --cyan-glow: rgba(34, 211, 238, 0.18);

  /* type */
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;

  /* spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;
  --s-11: 192px;

  /* radii */
  --r-s: 6px;
  --r-m: 12px;
  --r-l: 20px;
  --r-xl: 32px;

  /* easings */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-feature-settings: "ss01", "ss03", "cv11", "calt";
  font-optical-sizing: auto;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* ============ SITE-WIDE DRIFTING WAVE BG (card DNA) ============ */
.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
body > *:not(.site-bg) { position: relative; z-index: 1; }

.site-bg__layer {
  position: absolute;
  left: -10%;
  width: 220%;
  height: clamp(180px, 32vw, 380px);
  mix-blend-mode: screen;
  will-change: transform;
  /* Soft-fade top and bottom edges so each layer dissolves
     into the dark rather than cutting on the SVG bounding box. */
  -webkit-mask-image:
    linear-gradient(to bottom,
      transparent 0%,
      rgba(0,0,0,0.3) 12%,
      black 35%,
      black 65%,
      rgba(0,0,0,0.3) 88%,
      transparent 100%),
    linear-gradient(to right,
      transparent 0%,
      rgba(0,0,0,0.6) 8%,
      black 20%,
      black 80%,
      rgba(0,0,0,0.6) 92%,
      transparent 100%);
  mask-image:
    linear-gradient(to bottom,
      transparent 0%,
      rgba(0,0,0,0.3) 12%,
      black 35%,
      black 65%,
      rgba(0,0,0,0.3) 88%,
      transparent 100%),
    linear-gradient(to right,
      transparent 0%,
      rgba(0,0,0,0.6) 8%,
      black 20%,
      black 80%,
      rgba(0,0,0,0.6) 92%,
      transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.site-bg__layer--a {
  top: 2%;
  opacity: 0.42;
  animation: drift-a 28s ease-in-out infinite alternate;
}
.site-bg__layer--b {
  top: 38%;
  opacity: 0.30;
  animation: drift-b 36s ease-in-out infinite alternate;
}
.site-bg__layer--c {
  top: 70%;
  opacity: 0.36;
  animation: drift-c 32s ease-in-out infinite alternate;
}

/* Each layer has its own keyframe with translate + breathing scaleY */
@keyframes drift-a {
  0%   { transform: translateX(-22%) scaleY(0.85); }
  100% { transform: translateX( 22%) scaleY(0.95); }
}
@keyframes drift-b {
  0%   { transform: translateX( 18%) scaleY(-0.65); }
  100% { transform: translateX(-18%) scaleY(-0.75); }
}
@keyframes drift-c {
  0%   { transform: translateX(-20%) scaleY(0.75); }
  100% { transform: translateX( 20%) scaleY(0.85); }
}

@media (prefers-reduced-motion: reduce) {
  .site-bg__layer { animation: none !important; }
}
img, svg { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; transition: color 150ms var(--ease-out); }
a:hover { color: var(--ink); }
button { font-family: inherit; cursor: pointer; }

/* skip link */
.skip {
  position: absolute; left: -1000px; top: 8px;
  background: var(--cyan); color: var(--black);
  padding: 8px 14px; border-radius: var(--r-s);
  font-weight: 600; z-index: 100;
}
.skip:focus { left: 8px; }

::selection { background: var(--cyan); color: var(--black); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* container */
.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: clamp(20px, 5vw, 56px);
  padding-right: clamp(20px, 5vw, 56px);
}

/* ============ FADE-UP (motion) ============ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
  will-change: opacity, transform;
}
.fade-up.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============ TOP NAV ============ */
.topnav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease-out), background 200ms var(--ease-out);
}
.topnav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(10, 10, 10, 0.92);
}
.topnav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4);
  padding-top: 16px; padding-bottom: 16px;
}
.topnav__logo {
  display: flex; align-items: center; gap: 12px;
  color: var(--ink); font-weight: 600; font-size: 15px;
  letter-spacing: -0.01em;
}
.topnav__logo svg, .topnav__mark { height: 48px; width: auto; }
@media (max-width: 600px) { .topnav__mark { height: 40px; } }
@media (max-width: 420px) { .topnav__mark { height: 32px; } }
.topnav__cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500;
  color: var(--ink); padding: 10px 16px;
  border: 1px solid var(--line-2); border-radius: 999px;
  transition: border-color 150ms var(--ease-out), color 150ms var(--ease-out), background 150ms var(--ease-out);
  font-feature-settings: "tnum";
}
.topnav__cta:hover { border-color: var(--cyan); color: var(--cyan); }
.topnav__cta::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--cyan); border-radius: 50%;
  box-shadow: 0 0 12px var(--cyan-glow);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(0.85); }
}
@media (max-width: 480px) {
  .topnav__cta span.label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .topnav__cta::before { animation: none; }
}

/* ============ HERO — side-image grid ============ */
.hero {
  position: relative;
  padding-top: clamp(64px, 12vw, 120px);
  padding-bottom: clamp(64px, 10vw, 120px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 85% 25%, var(--cyan-glow), transparent 60%),
    radial-gradient(ellipse 65% 45% at 10% 90%, rgba(8, 145, 178, 0.12), transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: center;
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 7fr 6fr; gap: var(--s-9); }
}
.hero__image {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--r-l);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6),
              0 0 0 1px rgba(34, 211, 238, 0.05);
}
@media (max-width: 959px) {
  .hero__image { aspect-ratio: 16/10; max-height: 320px; }
}
.hero__image::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(34, 211, 238, 0.18), transparent 60%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero__image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.hero__tagline {
  font-family: var(--mono);
  font-size: clamp(13px, 1.4vw, 15px);
  letter-spacing: 0.06em;
  color: var(--cyan);
  font-style: italic;
  margin-top: calc(-1 * clamp(6px, 0.8vw, 12px));
  margin-bottom: clamp(20px, 3vw, 32px);
}

/* Hero benefit row — below CTAs, above the fold */
.hero__benefits {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: clamp(20px, 2.4vw, 28px);
  padding: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.hero__benefits li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero__benefits li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
  flex: 0 0 8px;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: var(--s-5);
  font-feature-settings: "ss01";
}
.hero__eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--cyan);
}
.hero h1 {
  font-size: clamp(40px, 7.5vw, 80px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.028em;
  margin-bottom: var(--s-3);
  max-width: 14ch;
  font-variation-settings: "wght" 600;
}
.hero h1 .accent {
  color: var(--cyan);
  font-style: italic;
  font-variation-settings: "wght" 500;
  font-weight: 500;
}
.hero__sub {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--ink-2);
  max-width: 56ch;
  margin-bottom: var(--s-7);
  line-height: 1.5;
  font-weight: 400;
}
.hero__ctas {
  display: flex; gap: var(--s-3); flex-wrap: wrap;
}

/* hero scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 28px;
  right: clamp(20px, 5vw, 56px);
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__scroll::before {
  content: "";
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, transparent, var(--cyan));
  animation: scrollHint 2.4s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { opacity: 0.4; transform: translateY(-8px); }
  50% { opacity: 1; transform: translateY(0); }
}
@media (max-width: 720px) { .hero__scroll { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero__scroll::before { animation: none; }
  .hero__bg img { filter: brightness(0.55); }
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 17px 28px; font-size: 15px; font-weight: 500;
  border-radius: 999px;
  font-family: inherit;
  transition: transform 150ms var(--ease-out), background 200ms var(--ease-out), color 200ms var(--ease-out), border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.btn--primary,
.btn--primary:visited {
  background: var(--cyan);
  color: var(--black) !important;
  border: 1px solid var(--cyan);
  box-shadow: 0 0 0 1px transparent, 0 8px 32px rgba(34, 211, 238, 0.28);
}
.btn--primary:hover,
.btn--primary:focus,
.btn--primary:active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--black) !important;
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px transparent, 0 12px 40px rgba(34, 211, 238, 0.45);
  filter: brightness(1.08);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink) !important;
  border: 1px solid var(--line-2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover,
.btn--ghost:focus,
.btn--ghost:active {
  border-color: var(--cyan);
  color: var(--cyan) !important;
  background: rgba(34, 211, 238, 0.06);
}
.btn__arrow { transition: transform 200ms var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ============ TRUST STRIP ============ */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
  padding: var(--s-7) 0;
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--s-5) var(--s-6);
}
.trust__item__label {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
  font-feature-settings: "ss01";
}
.trust__item__value {
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-feature-settings: "tnum", "ss01";
}
.trust__item__value .cyan { color: var(--cyan); }
.trust__item__value .small {
  font-size: 0.78em;
  color: var(--ink-3);
  font-weight: 400;
  margin-left: 4px;
}

/* ============ SECTION BASE ============ */
section.block {
  padding-top: clamp(48px, 6vw, 88px);
  padding-bottom: clamp(48px, 6vw, 88px);
}

/* Roman-numeral chapter marker on section eyebrows */
.numeral {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  padding: 0 8px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--bg);
  background: var(--cyan);
  border-radius: 4px;
  font-feature-settings: "tnum";
}
.materials__head .numeral { background: transparent; color: var(--cyan); border: 1px solid var(--cyan); padding: 2px 8px; }
.section-head {
  display: flex; flex-direction: column; gap: var(--s-2);
  margin-bottom: clamp(24px, 3.5vw, 48px);
  max-width: 60ch;
}
.section-head .eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--cyan);
  font-feature-settings: "ss01";
}
.section-head .eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--cyan);
}
.section-head h2 {
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.028em;
  font-variation-settings: "wght" 600;
}
.section-head h2 .accent {
  color: var(--cyan);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "wght" 500;
}
.section-head p {
  color: var(--ink-2);
  font-size: clamp(17px, 1.6vw, 19px);
  margin-top: var(--s-3);
  line-height: 1.55;
}

/* ============ MATERIALS — typographic showcase ============ */
.materials {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elev) 100%);
  border-bottom: 1px solid var(--line);
}
.materials__head {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: var(--s-5);
  display: flex;
  align-items: center;
  gap: 14px;
}
.materials__list {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 2.6vw, 40px) clamp(24px, 3.4vw, 52px);
  font-size: clamp(28px, 4.6vw, 60px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variation-settings: "wght" 500;
}
.materials__list span {
  display: inline-flex;
  align-items: baseline;
  gap: 16px;
}
.materials__list span:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  align-self: center;
  margin-left: 4px;
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.4);
}
.materials__list .muted {
  color: var(--ink-4);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "wght" 400;
}
.materials__note {
  margin-top: var(--s-3);
  font-size: clamp(14px, 1.3vw, 16px);
  color: var(--ink-4);
  font-style: italic;
  letter-spacing: 0;
  line-height: 1.4;
  font-weight: 400;
}
.materials__sub {
  margin-top: clamp(20px, 2.6vw, 36px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 2.2vw, 32px);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.materials__sub strong {
  color: var(--ink);
  font-weight: 500;
  margin-right: 8px;
}

/* ============ SERVICES ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-4);
}
.service {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  transition: border-color 200ms var(--ease-out), transform 300ms var(--ease-out), background 200ms var(--ease-out);
  overflow: hidden;
}
.service::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 300ms var(--ease-out);
}
.service:hover {
  transform: translateY(-3px);
  background: #161616;
  border-color: var(--line-2);
}
.service:hover::before { opacity: 1; }
.service__num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.service__num::before {
  content: ""; width: 8px; height: 1px; background: var(--cyan);
}
.service__title {
  font-size: clamp(19px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: var(--s-4) 0 var(--s-2);
  font-variation-settings: "wght" 600;
}
.service__desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: var(--s-4);
}
.service__list {
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: var(--s-4);
}
.service__list li {
  font-size: 14px; color: var(--ink-3);
  padding-left: 20px; position: relative;
}
.service__list li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 8px; height: 1px;
  background: var(--cyan);
}

/* ============ GALLERY (BENTO) ============ */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: auto;
  gap: 12px;
  align-items: stretch;
}
@media (max-width: 720px) {
  .gallery { grid-template-columns: 1fr 1fr; }
}
.gallery__item {
  position: relative;
  border-radius: var(--r-m);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line);
  aspect-ratio: 4/5;
}
/* Bento positioning — aspect ratios maths to keep each row uniform height.
   Row 1: lg (span 4) + tall (span 2) — heights match when 2×(lg-h/w) = (tall-h/w)
   Row 2: md (span 3) × 2 — same ratio = same height
   Row 3: sq (span 2) × 3 — same ratio = same height */
.gallery__item--lg     { grid-column: span 4; aspect-ratio: 16/10; }
.gallery__item--tall   { grid-column: span 2; aspect-ratio: 4/5; }
.gallery__item--md     { grid-column: span 3; aspect-ratio: 16/10; }
.gallery__item--sq     { grid-column: span 2; aspect-ratio: 1/1; }
@media (max-width: 720px) {
  .gallery__item, .gallery__item--lg, .gallery__item--tall, .gallery__item--md, .gallery__item--sq {
    grid-column: span 2;
    aspect-ratio: 4/5;
  }
  .gallery__item--lg, .gallery__item--md { aspect-ratio: 4/3; }
}
.gallery__item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 700ms var(--ease-out), filter 500ms var(--ease-out);
  filter: saturate(0.92) contrast(1.06);
}
.gallery__item:hover img { transform: scale(1.06); filter: saturate(1.1) contrast(1.1); }
.gallery__item__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.15) 50%, transparent 80%);
  pointer-events: none;
}
.gallery__caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: var(--s-5);
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: var(--s-3);
  z-index: 2;
}
.gallery__caption__title {
  font-size: 16px; font-weight: 500; color: var(--ink);
  letter-spacing: -0.01em;
}
.gallery__caption__meta {
  font-family: var(--mono);
  font-size: 10px; color: var(--cyan);
  letter-spacing: 0.18em; text-transform: uppercase;
  background: rgba(0,0,0,0.5);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.gallery__disclosure {
  margin-top: var(--s-6);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.06em;
}

/* ============ PROCESS ============ */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-3);
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: clamp(18px, 2.4vw, 26px);
  position: relative;
  transition: border-color 250ms var(--ease-out), transform 250ms var(--ease-out);
}
.step:hover { border-color: var(--line-2); transform: translateY(-2px); }
.step__num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--cyan);
  letter-spacing: 0.16em;
  margin-bottom: var(--s-3);
  display: flex; align-items: center; gap: 10px;
}
.step__num::before {
  content: ""; width: 22px; height: 1px; background: var(--cyan);
}
.step__title {
  font-size: 17px; font-weight: 600;
  margin-bottom: var(--s-1);
  letter-spacing: -0.01em;
}
.step__desc {
  font-size: 14px; color: var(--ink-3);
  line-height: 1.55;
}

/* ============ ABOUT ============ */
.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  align-items: center;
}
@media (min-width: 880px) {
  .about { grid-template-columns: 5fr 7fr; gap: var(--s-8); }
}
.about__photo {
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  position: relative;
  overflow: hidden;
}
@media (min-width: 880px) {
  .about__photo { aspect-ratio: 4/5; }
}
.about__photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  filter: saturate(0.85) contrast(1.05);
}
.about__photo::after {
  /* edge vignette to integrate with brand */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
}
.about__photo__tag {
  position: absolute; bottom: 14px; left: 14px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-2);
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--line-2);
}
.about__copy h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.028em;
  margin-bottom: var(--s-3);
  font-variation-settings: "wght" 600;
}
.about__copy h2 .accent {
  color: var(--cyan); font-style: italic; font-weight: 500;
  font-variation-settings: "wght" 500;
}
.about__copy p {
  font-size: 15px; color: var(--ink-2);
  line-height: 1.55; margin-bottom: var(--s-3);
}
.about__quote {
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.4;
  color: var(--ink);
  font-style: italic;
  font-weight: 400;
  margin: var(--s-4) 0;
  padding-left: var(--s-4);
  border-left: 1px solid var(--cyan);
}
.about__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--s-3);
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}
.about__fact__label {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 6px;
  font-feature-settings: "ss01";
}
.about__fact__value {
  font-size: 17px; color: var(--ink); font-weight: 500;
  font-feature-settings: "tnum", "ss01";
}
.about__fact__value.cyan { color: var(--cyan); }

/* ============ SOCIAL PROOF — own the gap ============ */
.proof {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  padding: clamp(36px, 5vw, 72px) 0;
}
.proof__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: center;
}
@media (min-width: 880px) {
  .proof__inner { grid-template-columns: 5fr 7fr; gap: var(--s-9); }
}
.proof__star {
  display: flex !important;
  flex-direction: row !important;
  gap: 6px;
  align-items: center;
  margin-bottom: var(--s-4);
  flex-wrap: nowrap;
}
.proof__star > svg {
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px !important;
  display: inline-block !important;
  fill: var(--cyan);
  max-width: 18px !important;
}
.proof__star > span {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.proof h3 {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-4);
}
.proof h3 .accent { color: var(--cyan); font-style: italic; font-weight: 500; }
.proof p {
  font-size: 16px;
  color: var(--ink-3);
  line-height: 1.6;
  max-width: 50ch;
}
.proof__cta {
  margin-top: var(--s-6);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-size: 14px; font-weight: 500;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--ink);
  transition: border-color 200ms var(--ease-out), color 200ms var(--ease-out);
}
.proof__cta:hover { border-color: var(--cyan); color: var(--cyan); }

/* ============ FORM ============ */
.quote {
  background: linear-gradient(135deg, var(--bg-elev), #0c0c0c);
  border-top: 1px solid var(--line);
}
.quote__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
}
@media (min-width: 960px) {
  .quote__grid { grid-template-columns: 1.6fr 1fr; gap: var(--s-9); align-items: start; }
}
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(20px, 3vw, 36px);
  position: relative;
  overflow: hidden;
}
/* Quote section compacted to fit a typical viewport without scrolling */
section.quote {
  padding-top: clamp(40px, 5vw, 72px);
  padding-bottom: clamp(40px, 5vw, 72px);
}
.quote .section-head { margin-bottom: var(--s-5); }
.quote .section-head h2 { font-size: clamp(28px, 3.6vw, 40px); }
.quote .section-head p { font-size: 15px; margin-top: var(--s-2); }

/* Contact aside */
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: clamp(20px, 3vw, 32px) clamp(18px, 2.4vw, 28px);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: rgba(20, 20, 20, 0.4);
}
.contact-aside__group { display: flex; flex-direction: column; gap: 8px; }
.contact-aside__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 4px;
}
.contact-aside__phone {
  font-size: clamp(22px, 2.2vw, 26px);
  font-weight: 600;
  color: var(--cyan) !important;
  letter-spacing: -0.01em;
  font-feature-settings: "tnum";
  line-height: 1.05;
}
.contact-aside__phone:hover { color: var(--ink) !important; }
.contact-aside__email {
  font-size: 14px;
  color: var(--ink-2);
  word-break: break-word;
  line-height: 1.4;
}
.contact-aside__email:hover { color: var(--cyan); }
.contact-aside__value {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
}
.contact-aside__line {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--ink-2);
  line-height: 1.4;
}
.contact-aside__dot {
  width: 8px; height: 8px;
  background: var(--cyan); border-radius: 50%;
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.5);
  flex: 0 0 8px;
  animation: pulse 2.4s ease-in-out infinite;
}
.contact-aside__divider {
  height: 1px;
  background: var(--line);
  margin: var(--s-2) 0;
}
.contact-aside__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-4);
  line-height: 1.7;
}
@media (prefers-reduced-motion: reduce) {
  .contact-aside__dot { animation: none; }
}
.form-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-glow), transparent);
}
.form-card__head { display: none; } /* heading lives in section-head now */
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--s-3);
  margin-bottom: var(--s-3);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
  font-feature-settings: "ss01";
}
.field input,
.field textarea,
.field select {
  font-family: inherit; font-size: 15px;
  color: var(--ink);
  background: #0c0c0c;
  border: 1px solid var(--line-2);
  border-radius: var(--r-m);
  padding: 11px 14px;
  transition: border-color 150ms var(--ease-out), background 150ms var(--ease-out), box-shadow 150ms var(--ease-out);
  width: 100%;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--cyan);
  background: #0e0e0e;
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.08);
}
.field textarea { resize: vertical; min-height: 80px; }
.field input:-webkit-autofill,
.field textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 30px #0c0c0c inset;
  caret-color: var(--ink);
}
.form-submit {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4); flex-wrap: wrap;
  margin-top: var(--s-4);
}
.form-submit .btn { padding: 12px 22px; font-size: 14px; }
.form-submit .small {
  font-size: 13px; color: var(--ink-4);
}
.form-status {
  margin-top: var(--s-4);
  padding: 14px 16px;
  border-radius: var(--r-m);
  font-size: 14px;
  display: none;
}
.form-status[data-status="ok"]    { display: block; background: rgba(34, 211, 238, 0.08); border: 1px solid var(--cyan); color: var(--cyan); }
.form-status[data-status="error"] { display: block; background: rgba(239, 68, 68, 0.08); border: 1px solid #ef4444; color: #fca5a5; }

/* ============ FOOTER ============ */
.foot {
  border-top: 1px solid var(--line);
  background: var(--black);
  padding: var(--s-8) 0 var(--s-6);
  margin-bottom: 64px;
}
@media (min-width: 720px) { .foot { margin-bottom: 0; } }
.foot__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
}
@media (min-width: 720px) {
  .foot__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.foot__brand svg, .foot__mark { height: 130px; width: auto; margin-bottom: var(--s-5); }
.foot__brand p { color: var(--ink-3); font-size: 14px; max-width: 36ch; line-height: 1.6; }
.foot__tagline {
  font-size: 13px !important;
  color: var(--cyan) !important;
  letter-spacing: 0.04em;
  font-style: italic;
  margin-bottom: var(--s-3) !important;
}
.foot__col h4 {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-4); margin-bottom: var(--s-4);
  font-feature-settings: "ss01";
}
.foot__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot__col li { font-size: 14px; color: var(--ink-2); }
.foot__col a { color: var(--ink-2); }
.foot__col a:hover { color: var(--cyan); }
.foot__bottom {
  border-top: 1px solid var(--line);
  margin-top: var(--s-8);
  padding-top: var(--s-5);
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: var(--s-3);
  font-size: 13px; color: var(--ink-4);
}
.foot__bottom a { color: var(--ink-3); }
.foot__bottom a:hover { color: var(--cyan); }

/* ============ STICKY MOBILE CALL BAR ============ */
.callbar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(17, 17, 17, 0.95);
  border-top: 1px solid var(--line);
  padding: 10px 16px;
  display: flex; gap: 10px; align-items: center;
  z-index: 60;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-bottom: max(10px, env(safe-area-inset-bottom));
}
@media (min-width: 720px) { .callbar { display: none; } }
.callbar__call {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--cyan); color: var(--black) !important;
  font-weight: 600; font-size: 15px;
  padding: 14px 18px; border-radius: 999px;
}
.callbar__call:hover,
.callbar__call:focus,
.callbar__call:active { color: var(--black) !important; }
.callbar__quote {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); color: var(--ink) !important;
  font-weight: 500; font-size: 14px;
  padding: 14px 18px; border-radius: 999px;
}
.callbar__quote:hover,
.callbar__quote:focus,
.callbar__quote:active { color: var(--ink) !important; }

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
