/* ============================================================
   Ron's Drywall Ltd. — dark, bold, authoritative
   Concept: industrial blueprint / built to last
   ============================================================ */

:root {
  /* Color */
  --bg:        #0c0c0e;
  --bg-2:      #111114;
  --surface:   #16161b;
  --surface-2: #1c1c22;
  --text:      #f4f1ec;
  --muted:     rgba(244, 241, 236, 0.56);
  --faint:     rgba(244, 241, 236, 0.12);
  --line:      rgba(244, 241, 236, 0.10);
  --accent:    #fd0908;
  --accent-2:  #ff2a22;

  /* Type */
  --font-display: "Anton", "Oswald", sans-serif;
  --font-head:    "Oswald", sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;
  --font-mono:    "Space Mono", monospace;

  /* Layout */
  --pad-x: clamp(1.25rem, 5vw, 6rem);
  --section-y: clamp(5rem, 12vw, 11rem);
  --measure: 60ch;
  --radius: 4px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-md: 0 18px 50px rgba(0, 0, 0, 0.55);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.05vw, 1.0625rem);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--accent); }
::selection { background: var(--accent); color: #fff; }

/* Film-grain + blueprint atmosphere */
body::before {
  content: "";
  position: fixed; inset: 0;
  z-index: 1; pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typography helpers ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 7vw, 6rem);
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 0.7rem;
}
.eyebrow__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(253, 9, 8, 0.18);
}

.section-head {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 0 var(--pad-x);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  font-family: var(--font-mono);
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.78rem; color: var(--muted);
}
.section-head--center { justify-content: center; }
.section-head__index { color: var(--accent); }
.section-head::after,
.section-head::before { content: none; }
.section-head__label { position: relative; padding-left: 1.2rem; }
.section-head__label::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 0.7rem; height: 1px; background: var(--faint);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; font-size: 0.92rem;
  padding: 1rem 1.8rem;
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  will-change: transform;
}
.btn span { transition: transform 0.4s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn--primary {
  background: var(--accent); color: #fff;
}
.btn--primary:hover { background: var(--accent-2); }
.btn--ghost {
  border: 1px solid var(--line); color: var(--text);
}
.btn--ghost:hover { border-color: var(--text); background: rgba(255,255,255,0.04); }
.btn:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 4px; }

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 9000;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__inner { width: min(440px, 80vw); text-align: left; }
.preloader__mark {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  text-transform: uppercase; letter-spacing: 0.02em;
  margin-bottom: 1.2rem;
}
.preloader__bar {
  height: 3px; width: 100%;
  background: var(--faint); overflow: hidden;
}
.preloader__fill {
  display: block; height: 100%; width: 0%;
  background: var(--accent);
}
.preloader__meta {
  display: flex; justify-content: space-between;
  margin-top: 0.9rem;
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.14em; color: var(--muted);
}

/* ============================================================
   CURSOR
   ============================================================ */
.cursor-dot, .cursor-ring { display: none; }
@media (pointer: fine) {
  .cursor-dot, .cursor-ring {
    position: fixed; top: 0; left: 0; z-index: 9999;
    pointer-events: none; border-radius: 50%;
    transform: translate(-50%, -50%);
    display: block;
  }
  .cursor-dot { width: 7px; height: 7px; background: var(--accent); }
  .cursor-ring {
    width: 32px; height: 38px;
    border-radius: 0;
  }
  .cursor-ring svg {
    width: 100%; height: 100%; display: block;
    transform-origin: center;
    transition: transform 0.3s var(--ease);
  }
  .cursor-shield {
    fill: none;
    stroke: rgba(244, 241, 236, 0.45);
    stroke-width: 2;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    transition: stroke 0.3s, fill 0.3s;
  }
  .cursor-ring.is-active svg { transform: scale(1.45); }
  .cursor-ring.is-active .cursor-shield {
    stroke: var(--accent);
    fill: rgba(253, 9, 8, 0.10);
  }
  body.cursor-on { cursor: none; }
  body.cursor-on a, body.cursor-on button { cursor: none; }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem var(--pad-x);
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(12, 12, 14, 0.78);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding-top: 0.7rem; padding-bottom: 0.7rem;
}
.nav__logo {
  display: inline-flex; align-items: center;
  transition: transform 0.4s var(--ease);
}
.nav__logo:hover { transform: translateY(-2px); }
.nav__logo img { height: clamp(50px, 5.6vw, 68px); width: auto; }

.nav__links { display: flex; gap: clamp(1rem, 2.2vw, 2.4rem); }
.nav__links a {
  font-family: var(--font-head); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 0.86rem; color: var(--muted);
  position: relative; padding: 0.3rem 0;
  transition: color 0.3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__cta {
  display: inline-flex; flex-direction: column; align-items: flex-end;
  line-height: 1.1; padding: 0.45rem 1rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color 0.3s, background 0.3s, transform 0.4s var(--ease);
  will-change: transform;
}
.nav__cta:hover { border-color: var(--accent); background: rgba(253,9,8,0.06); }
.nav__cta-label {
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.2em; color: var(--accent);
}
.nav__cta-num { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; }

.nav__burger { display: none; }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.menu {
  position: fixed; inset: 0; z-index: 850;
  background: var(--bg-2);
  transform: translateX(100%);
  transition: transform 0.7s cubic-bezier(0.76, 0, 0.24, 1);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--pad-x);
  visibility: hidden;
}
.menu.open { transform: translateX(0); visibility: visible; }
.menu__links { display: flex; flex-direction: column; gap: 0.4rem; }
.menu__links a {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 12vw, 4rem);
  text-transform: uppercase; line-height: 1;
  display: flex; align-items: baseline; gap: 1rem;
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s;
}
.menu.open .menu__links a { opacity: 1; transform: translateY(0); }
.menu.open .menu__links a:nth-child(1) { transition-delay: 0.15s; }
.menu.open .menu__links a:nth-child(2) { transition-delay: 0.22s; }
.menu.open .menu__links a:nth-child(3) { transition-delay: 0.29s; }
.menu.open .menu__links a:nth-child(4) { transition-delay: 0.36s; }
.menu.open .menu__links a:nth-child(5) { transition-delay: 0.43s; }
.menu__links a span {
  font-family: var(--font-mono); font-size: 0.8rem;
  color: var(--accent); -webkit-text-fill-color: var(--accent);
}
.menu__links a:active { color: var(--accent); }
.menu__foot {
  margin-top: 3rem; display: flex; flex-direction: column; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.85rem; color: var(--muted);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 8rem var(--pad-x) 6rem;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img,
.hero__bg video {
  width: 100%; height: 120%; object-fit: cover;
  object-position: center;
  filter: grayscale(0.35) contrast(1.05) brightness(0.5);
  will-change: transform;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,12,14,0.65) 0%, rgba(12,12,14,0.35) 35%, rgba(12,12,14,0.92) 100%),
    radial-gradient(circle at 75% 30%, rgba(253,9,8,0.14), transparent 55%);
}
.hero__grid { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; }
.hero__grid .gline { stroke-dasharray: 2000; stroke-dashoffset: 2000; }

.hero__word {
  position: absolute;
  bottom: -4%; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 27vw; line-height: 1;
  color: rgba(244, 241, 236, 0.04);
  letter-spacing: -0.02em; white-space: nowrap;
  z-index: -1; pointer-events: none; user-select: none;
  will-change: transform;
}

.hero__content { position: relative; max-width: 1100px; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.8rem, 9vw, 8.5rem);
  line-height: 0.92; letter-spacing: -0.01em;
  margin: 1.4rem 0 1.6rem;
}
.line-mask { display: block; overflow: hidden; }
.line { display: block; transform: translateY(110%); }
.hero__sub {
  max-width: 56ch; color: rgba(244,241,236,0.78);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

.hero__corner {
  position: absolute; bottom: 2rem;
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase;
}
.hero__corner--bl { left: var(--pad-x); }
.hero__corner--br { right: var(--pad-x); }
.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.22em;
  color: var(--muted);
}
.hero__scroll i {
  width: 1px; height: 38px;
  background: linear-gradient(var(--accent), transparent);
  animation: scrollPulse 1.8s var(--ease) infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden; white-space: nowrap;
  background: var(--bg-2);
  padding: 1.4rem 0;
}
.marquee__track {
  display: inline-flex; gap: 0;
  animation: marq 38s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  text-transform: uppercase; letter-spacing: 0.01em;
  color: rgba(244,241,236,0.7);
  display: inline-flex; align-items: center; gap: 1.6rem;
  padding: 0 1.6rem;
}
.marquee__item i {
  color: var(--accent); font-style: normal; font-size: 0.6em;
}
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   ABOUT
   ============================================================ */
.about { padding: var(--section-y) 0; }
.about__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  padding: 0 var(--pad-x);
  align-items: end;
}
.about__lead .display { font-size: clamp(2.4rem, 6vw, 5rem); }
.about__body p { color: var(--muted); margin-bottom: 1.2rem; max-width: 48ch; }
.about__body p:last-child { margin-bottom: 0; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(3rem, 7vw, 6rem);
  border-top: 1px solid var(--line);
}
.stat {
  padding: clamp(1.8rem, 3vw, 2.6rem) var(--pad-x);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 0.5rem;
}
.stat:first-child { border-left: none; }
.stat:last-child { border-right: none; }
.stat__idx { font-family: var(--font-mono); font-size: 0.7rem; color: var(--accent); letter-spacing: 0.1em; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem); line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.stat__num--text { color: var(--accent); }
.stat__label { font-family: var(--font-mono); font-size: 0.74rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: var(--section-y) 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.services__title {
  text-align: center; max-width: 18ch; margin: 0 auto clamp(3rem, 6vw, 5rem);
  padding: 0 var(--pad-x);
}
.svc { display: flex; flex-direction: column; gap: clamp(4rem, 9vw, 8rem); padding: 0 var(--pad-x); }
.svc__card {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
}
.svc__card--flip .svc__media { order: 2; }
.svc__media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4 / 3; border: 1px solid var(--line);
}
.svc__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.4) brightness(0.78) contrast(1.05);
  transition: transform 0.9s var(--ease), filter 0.6s;
  will-change: transform;
}
.svc__card:hover .svc__media img { transform: scale(1.06); filter: grayscale(0) brightness(0.92); }
.svc__num {
  position: absolute; top: 1rem; left: 1rem;
  font-family: var(--font-mono); font-size: 0.8rem;
  color: var(--text); background: var(--accent);
  padding: 0.2rem 0.6rem; border-radius: 2px; letter-spacing: 0.1em;
}
.svc__info h3 {
  font-family: var(--font-head); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.01em;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1.05;
  margin-bottom: 1rem;
}
.svc__by { display: block; font-size: 0.9rem; color: var(--accent); font-weight: 500; letter-spacing: 0.04em; }
.svc__info p { color: var(--muted); max-width: 46ch; margin-bottom: 1.4rem; }
.svc__list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.svc__list li {
  font-family: var(--font-mono); font-size: 0.74rem;
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 0.4rem 0.8rem; border: 1px solid var(--line); border-radius: 2px;
  color: var(--muted);
}

/* ============================================================
   WHY
   ============================================================ */
.why { padding: var(--section-y) var(--pad-x); }
.why__wrap { max-width: 1100px; margin: 0 auto; text-align: center; }
.why__quote {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 4rem);
  text-transform: uppercase; line-height: 1; letter-spacing: -0.01em;
}
.why__row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1rem 2rem; margin-top: 2.6rem;
}
.why__item {
  font-family: var(--font-mono); font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.why__item span { color: var(--accent); font-weight: 700; }

/* ============================================================
   CLIENTS
   ============================================================ */
.clients { padding: var(--section-y) 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.clients__title { padding: 0 var(--pad-x); margin-bottom: clamp(2.5rem, 5vw, 4rem); font-size: clamp(2.2rem, 5vw, 4.5rem); }
.clients__list {
  list-style: none;
  margin: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.clients__list li {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(1rem, 1.8vw, 1.5rem) clamp(1rem, 1.5vw, 1.4rem);
  min-height: clamp(5.5rem, 8vw, 7rem);
  display: flex; align-items: flex-end;
  font-family: var(--font-head); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.1;
  font-size: clamp(0.82rem, 1.1vw, 1.02rem);
  color: var(--muted);
  position: relative; overflow: hidden;
  transition: color 0.35s, background 0.35s;
}
.clients__list li::before {
  content: ""; position: absolute; top: 0.9rem; left: 0.9rem;
  width: 6px; height: 6px; background: var(--faint);
  transition: background 0.35s, box-shadow 0.35s;
}
.clients__list li:hover {
  color: var(--text); background: rgba(255,255,255,0.025);
}
.clients__list li:hover::before {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(253, 9, 8, 0.16);
}
/* Orphan final item: span the full row, centered at the bottom */
.clients__list li:last-child {
  grid-column: 1 / -1;
  justify-content: center;
  text-align: center;
}
.clients__list li:last-child::before {
  left: 50%; top: 0.9rem; transform: translateX(-50%);
}

/* ============================================================
   TLC INSULATION
   ============================================================ */
.tlc { position: relative; padding: clamp(6rem, 14vw, 12rem) var(--pad-x); overflow: hidden; }
.tlc__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: grayscale(0.5) brightness(0.4);
  z-index: -2;
}
.tlc__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, rgba(12,12,14,0.95) 0%, rgba(12,12,14,0.7) 50%, rgba(12,12,14,0.4) 100%);
}
.tlc__inner { max-width: 640px; }
.tlc__inner .section-head__label { display: inline-block; font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 1rem; padding: 0; }
.tlc__inner .section-head__label::before { content: none; }
.tlc__inner .display { font-size: clamp(2.6rem, 7vw, 5.5rem); margin-bottom: 1.4rem; }
.tlc__inner p { color: rgba(244,241,236,0.8); margin-bottom: 2rem; max-width: 52ch; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: var(--section-y) 0; border-top: 1px solid var(--line); }
.contact__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem); padding: 0 var(--pad-x);
}
.contact__grid { align-items: start; }
.contact__lead--top {
  padding: 0 var(--pad-x);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.contact__lead .display { font-size: clamp(2.6rem, 6.5vw, 5rem); max-width: 18ch; }
.contact__note { color: var(--muted); margin-top: 1.6rem; max-width: 48ch; }

/* ---------- Contact form ---------- */
.form { display: flex; flex-direction: column; gap: 1.4rem; }
.form__intro {
  font-family: var(--font-mono); font-size: 0.74rem;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent);
  margin-bottom: 0.2rem;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.field { position: relative; }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body); font-size: 1rem;
  padding: 1.4rem 1rem 0.7rem;
  transition: border-color 0.3s, background 0.3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 7rem; padding-top: 1.6rem; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(244,241,236,0.25); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none; border-color: var(--accent);
  background: var(--surface-2);
}

/* Floating labels */
.field label {
  position: absolute; left: 1rem; top: 1.05rem;
  font-family: var(--font-mono); font-size: 0.82rem;
  color: var(--muted); pointer-events: none;
  transition: transform 0.25s var(--ease), color 0.25s, font-size 0.25s;
  transform-origin: left top;
}
.field label em { color: var(--muted); font-size: 0.9em; }
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field--select select:valid + label {
  transform: translateY(-0.85rem) scale(0.82);
  color: var(--accent);
}

/* Select chevron */
.field--select::after {
  content: ""; position: absolute; right: 1.1rem; top: 1.5rem;
  width: 0.5rem; height: 0.5rem;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg); pointer-events: none;
}
.field--select select { padding-top: 1.5rem; padding-bottom: 0.7rem; cursor: pointer; }
.field--select select:invalid { color: transparent; }
.field--select option { color: var(--text); background: var(--bg-2); }

/* Errors */
.field__error {
  display: none;
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.04em; color: var(--accent-2);
  margin-top: 0.45rem;
}
.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: var(--accent-2); }
.field.invalid .field__error { display: block; }

.form__submit { align-self: flex-start; margin-top: 0.4rem; }
.form__submit[disabled] { opacity: 0.6; pointer-events: none; }

.form__status {
  font-family: var(--font-mono); font-size: 0.8rem;
  letter-spacing: 0.03em; min-height: 1.2em;
}
.form__status.is-success { color: #46c98b; }
.form__status.is-error { color: var(--accent-2); }

.contact__details { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.contact__line {
  display: flex; align-items: baseline; gap: 1.5rem;
  padding: clamp(1rem, 2vw, 1.5rem) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.4s var(--ease), color 0.3s;
}
.contact__line:not(.contact__line--static):hover { padding-left: 1rem; }
.contact__k {
  flex: 0 0 6rem;
  font-family: var(--font-mono); font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent);
}
.contact__v {
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(1.1rem, 2.4vw, 1.7rem); line-height: 1.2;
}
.contact__line:not(.contact__line--static):hover .contact__v { color: var(--text); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { position: relative; padding: clamp(4rem, 8vw, 7rem) var(--pad-x) 2rem; overflow: hidden; background: var(--bg-2); border-top: 1px solid var(--line); }
.footer__watermark {
  position: absolute; bottom: -3vw; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 30vw; line-height: 1; white-space: nowrap;
  color: rgba(244,241,236,0.03); pointer-events: none; z-index: 0;
}
.footer__top, .footer__bottom { position: relative; z-index: 1; }
.footer__top {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem; border-bottom: 1px solid var(--line);
}
.footer__brand img {
  height: clamp(80px, 9vw, 104px); width: auto;
  margin-bottom: 1.4rem;
}
.footer__brand p { color: var(--muted); max-width: 38ch; font-size: 0.95rem; }
.footer__col { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__h {
  font-family: var(--font-mono); font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent);
  margin-bottom: 0.4rem;
}
.footer__col a, .footer__col span { color: var(--muted); transition: color 0.3s; font-size: 0.95rem; }
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding-top: 1.6rem;
  font-family: var(--font-mono); font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
}

/* ============================================================
   REVEAL (base state)
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(26px); }
.reveal-ready [data-reveal] {
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].in { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; background: none; border: 1px solid var(--line);
    border-radius: var(--radius); cursor: pointer; padding: 0 11px;
  }
  .nav__burger span { display: block; height: 2px; width: 100%; background: var(--text); transition: transform 0.4s var(--ease), opacity 0.3s; }
  .nav__burger.open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .nav__burger.open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

  .about__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }

  .svc__card, .svc__card--flip .svc__media { grid-template-columns: 1fr; }
  .svc__card { grid-template-columns: 1fr; }
  .svc__card--flip .svc__media { order: 0; }

  .contact__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__corner { display: none; }
  .clients__list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
  .contact__line { flex-direction: column; gap: 0.3rem; }
  .contact__k { flex-basis: auto; }
  .hero__scroll { display: none; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .marquee__track { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .line { transform: none !important; }
  .hero__grid .gline { stroke-dashoffset: 0; }
  .cursor-dot, .cursor-ring { display: none !important; }
}
