/* ============================================================
   KOVA TECH INDUSTRIES — main.css
   Dark, cinematic, Stark-grade. Motion via GSAP; CSS owns layout.
   ============================================================ */

/* ---------- fonts ---------- */
@font-face {
  font-family: 'Orbitron'; font-weight: 700; font-style: normal; font-display: swap;
  src: url('/assets/fonts/orbitron-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Orbitron'; font-weight: 500; font-style: normal; font-display: swap;
  src: url('/assets/fonts/orbitron-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap;
  src: url('/assets/fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter'; font-weight: 500; font-style: normal; font-display: swap;
  src: url('/assets/fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap;
  src: url('/assets/fonts/inter-600.woff2') format('woff2');
}

/* ---------- tokens ---------- */
:root {
  --bg: #e3e5e9;
  --bg-2: #d8dbe1;
  --panel: #ffffff;
  --line: rgba(20, 30, 55, .14);
  --text: #12161f;
  --muted: #5b6472;
  --c1: #4cc9ff;            /* plasma cyan */
  --c2: #8b5cf6;            /* ion violet  */
  --glow: rgba(76, 201, 255, .35);
  --font-d: 'Orbitron', 'Segoe UI', sans-serif;
  --font-b: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --max: 1240px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html.lenis { scroll-behavior: auto; }             /* Lenis takes over */
.lenis.lenis-smooth { scroll-behavior: auto; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--font-b);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--c1); color: #02131c; }

h1, h2, h3 { font-family: var(--font-d); letter-spacing: .02em; }
h2 { font-size: clamp(26px, 4.2vw, 46px); line-height: 1.12; text-transform: uppercase; }
h3 { font-size: clamp(16px, 1.6vw, 19px); }

section { position: relative; padding: clamp(84px, 11vw, 150px) var(--pad); }
section > .section-head, .tiers, .work-grid, .steps, .contact-wrap, .tiers-note, .work-note {
  max-width: var(--max); margin-left: auto; margin-right: auto;
}

/* ---------- reveal defaults (JS-gated so no-JS users see everything) ---------- */
html.js-anim [data-reveal] { opacity: 0; transform: translateY(34px); }
html.js-anim [data-hero-fade] { opacity: 0; }

/* ---------- boot ---------- */
#boot { display: none; }
html.js:not(.no-boot) #boot {
  display: flex; position: fixed; inset: 0; z-index: 200;
  background: var(--bg); align-items: center; justify-content: center;
  /* failsafe: if main.js never runs finishBoot(), dissolve anyway */
  animation: boot-failsafe .5s ease 5s forwards;
}
@keyframes boot-failsafe { to { opacity: 0; visibility: hidden; } }
.boot-inner { text-align: center; width: min(420px, 80vw); }
.boot-logo {
  font-family: var(--font-d); font-weight: 700; font-size: clamp(20px, 4vw, 30px);
  letter-spacing: .18em; color: var(--text);
}
.boot-logo span { color: var(--c1); }
.boot-bar {
  height: 2px; background: rgba(115, 165, 255, .15); margin: 26px 0 14px;
  border-radius: 2px; overflow: hidden;
}
#bootFill { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.boot-status {
  font-family: var(--font-d); font-weight: 500; font-size: 10px;
  letter-spacing: .34em; color: var(--muted);
}
#boot.done { opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s .5s; }

/* ---------- cursor ---------- */
/* Custom blue Windows-style arrow pointer — desktop only. body.has-cursor is
   added by JS on the first REAL mouse move (never on touch, so iPhone keeps its
   native touch behavior). Painted as a native CSS cursor image, NOT a JS follower:
   zero lag and the arrow tip (hotspot 0 0) is exactly the click point, so it's
   precise/usable. 26px art = 75% of the old 34px circle, under Chrome's ~32px cap.
   The trailing fallback keyword (default/pointer) keeps a usable arrow on any
   browser that ignores SVG cursors. */
:root {
  --ki-cursor-arrow: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2226%22%20height%3D%2226%22%20viewBox%3D%220%200%2026%2026%22%3E%3Cpath%20fill%3D%22%232b6bff%22%20d%3D%22M0%200v23.4l6.7-6.4%203.7%208.6%204.3-1.9-3.7-8.4h9.6L0%200z%22%2F%3E%3C%2Fsvg%3E") 0 0, default;
  --ki-cursor-arrow-hot: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2226%22%20height%3D%2226%22%20viewBox%3D%220%200%2026%2026%22%3E%3Cpath%20fill%3D%22%230b46d9%22%20d%3D%22M0%200v23.4l6.7-6.4%203.7%208.6%204.3-1.9-3.7-8.4h9.6L0%200z%22%2F%3E%3C%2Fsvg%3E") 0 0, pointer;
}
#cursor { display: none !important; }              /* legacy follower div — retired */
body.has-cursor { cursor: var(--ki-cursor-arrow); }
body.has-cursor a:hover,
body.has-cursor button:hover,
body.has-cursor [role="button"]:hover,
body.has-cursor [data-tilt]:hover { cursor: var(--ki-cursor-arrow-hot); }
body.has-cursor input,
body.has-cursor textarea,
body.has-cursor select,
body.has-cursor [contenteditable="true"] { cursor: auto; }

/* ---------- nav ---------- */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: clamp(16px, 3vw, 42px);
  padding: 16px var(--pad);
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
#nav.scrolled {
  background: rgba(238, 240, 243, .82); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line); padding-top: 10px; padding-bottom: 10px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; color: var(--c1); }
.ki-mark { width: 30px; height: 30px; flex: 0 0 auto; }
.nav-word {
  font-family: var(--font-d); font-weight: 700; font-size: 13px; letter-spacing: .16em;
  color: var(--text);
}
.nav-word b { color: var(--c1); font-weight: 500; margin-left: 4px; }
.nav-links { display: flex; gap: clamp(14px, 2.4vw, 30px); margin-left: auto; }
.nav-links a {
  font: 500 13px/1 var(--font-b); letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); padding: 8px 2px; transition: color .25s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--text); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font: 600 13px/1 var(--font-b); letter-spacing: .1em;
  text-transform: uppercase; padding: 14px 26px; border-radius: 4px;
  border: 1px solid transparent; transition: transform .25s ease, box-shadow .25s ease,
    background .25s ease, color .25s ease, border-color .25s ease;
  will-change: transform;
}
.btn-lg { padding: 17px 34px; font-size: 14px; }
.btn-solid {
  background: linear-gradient(120deg, var(--c1), #37a8ff 55%, var(--c2));
  color: #02131c; box-shadow: 0 0 24px rgba(76, 201, 255, .25);
}
.btn-solid:hover, .btn-solid:focus-visible { box-shadow: 0 0 42px rgba(76, 201, 255, .5); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(115, 165, 255, .35); color: var(--text); }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--c1); box-shadow: inset 0 0 22px rgba(76, 201, 255, .12); transform: translateY(-2px); }

/* ---------- burger / mobile menu ---------- */
#burger {
  display: none; margin-left: auto; width: 44px; height: 44px;
  background: none; border: 1px solid var(--line); border-radius: 6px;
  flex-direction: column; align-items: center; justify-content: center; gap: 7px;
}
#burger span { display: block; width: 20px; height: 2px; background: var(--text); transition: transform .3s ease; }
#burger.open span:first-child { transform: translateY(4.5px) rotate(45deg); }
#burger.open span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
#menu {
  position: fixed; inset: 0; z-index: 95; background: rgba(238, 240, 243, .96);
  backdrop-filter: blur(18px); display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s .35s;
}
#menu.open { opacity: 1; visibility: visible; transition: opacity .35s ease; }
#menu nav { display: flex; flex-direction: column; gap: 26px; text-align: center; }
#menu nav > a:not(.btn) {
  font-family: var(--font-d); font-weight: 500; font-size: 24px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text);
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  #burger { display: flex; }
}

/* ---------- hero ---------- */
#hero {
  min-height: 100svh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding-top: 120px; overflow: clip;
}
#core { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(115, 165, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(115, 165, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 62% at 50% 46%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 62% at 50% 46%, black 30%, transparent 75%);
}
.hud { position: absolute; z-index: 2; width: 34px; height: 34px; border: 1px solid rgba(76, 201, 255, .4); pointer-events: none; }
.hud-tl { top: 92px; left: 26px; border-right: 0; border-bottom: 0; }
.hud-tr { top: 92px; right: 26px; border-left: 0; border-bottom: 0; }
.hud-bl { bottom: 26px; left: 26px; border-right: 0; border-top: 0; }
.hud-br { bottom: 26px; right: 26px; border-left: 0; border-top: 0; }

.hero-content { position: relative; z-index: 3; max-width: 900px; padding: 0 var(--pad); }
.kicker {
  font-family: var(--font-d); font-weight: 500; font-size: clamp(10px, 1.2vw, 12px);
  letter-spacing: .4em; color: var(--muted); margin-bottom: 26px;
}
.sep { color: var(--c1); }
#heroTitle {
  font-size: clamp(30px, 10.5vw, 108px); font-weight: 700; line-height: 1.02;
  text-transform: uppercase; letter-spacing: .01em;
}
#heroTitle .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
#heroTitle .line-sm {
  font-family: var(--font-d); font-weight: 500;
  font-size: clamp(13px, 2.2vw, 23px); letter-spacing: .34em;
  color: #2b3648; margin-bottom: 16px;
}
#heroTitle .line-xl { font-size: clamp(52px, 13vw, 140px); }
#heroTitle .char { display: inline-block; }
#heroTitle .accent {
  background: linear-gradient(100deg, var(--c1) 10%, #9decff 45%, var(--c2) 95%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  /* NO filter and NO transform here, ever — iOS Safari stops painting
     background-clip:text when the clipped element carries either.
     The glow lives on .accent-wrap (added by JS around this span). */
}
#heroTitle .accent-wrap { filter: drop-shadow(0 0 26px rgba(76, 201, 255, .35)); }
.hero-sub {
  color: var(--muted); font-size: clamp(15px, 1.8vw, 18px);
  margin: 30px auto 40px; max-width: 640px;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.cue-label { font-family: var(--font-d); font-size: 9px; letter-spacing: .4em; color: var(--muted); }
.cue-line { width: 1px; height: 44px; background: linear-gradient(var(--c1), transparent); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: scaleY(.4); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }
@media (max-width: 640px) {
  .bp { display: none; }
  .kicker { font-size: 9px; letter-spacing: .22em; }
  .hud { display: none; }
  /* longer "KOVA TECH INDUSTRIES" wordmark needs a smaller boot logo on phones
     so it fits one line instead of clipping (the old shorter name fit at 20px) */
  .boot-logo { font-size: clamp(16px, 4.4vw, 24px); letter-spacing: .1em; }
  /* keep the nav wordmark on ONE line on narrow phones (it wrapped at ≤375px
     with the longer name); slightly tighter so it fits down to ~320px */
  .nav-word { white-space: nowrap; font-size: 12px; letter-spacing: .06em; }
}

/* ---------- marquee ---------- */
.marquee {
  overflow: clip; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-2); padding: 18px 0; white-space: nowrap;
}
.marquee-track { display: inline-flex; animation: marquee 26s linear infinite; }
.marquee-track span {
  font-family: var(--font-d); font-weight: 500; font-size: 13px; letter-spacing: .34em;
  color: var(--muted); padding-right: 8px;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } .cue-line { animation: none; } }

/* ---------- manifesto ---------- */
#manifesto { padding: 0; }
.manifesto-pin {
  min-height: 100svh; display: flex; align-items: center; justify-content: center;
  padding: 0 var(--pad);
}
#manifestoText {
  max-width: 900px; font-family: var(--font-d); font-weight: 500;
  font-size: clamp(22px, 4vw, 44px); line-height: 1.35; text-transform: uppercase;
  letter-spacing: .02em;
}
#manifestoText .w { opacity: .13; transition: none; }

/* ---------- section heads ---------- */
.section-head { margin-bottom: clamp(40px, 6vw, 70px); }
.section-tag {
  font-family: var(--font-d); font-weight: 500; font-size: 11px; letter-spacing: .38em;
  color: var(--c1); margin-bottom: 18px;
}
.section-sub { color: var(--muted); max-width: 560px; margin-top: 16px; }

/* ---------- services / tiers ---------- */
#services { background: linear-gradient(var(--bg), var(--bg-2) 55%, var(--bg)); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tier {
  position: relative; background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; padding: 34px 28px 30px;
  display: flex; flex-direction: column; gap: 18px;
  transition: border-color .3s ease, box-shadow .3s ease;
  transform-style: preserve-3d;
}
.tier:hover { border-color: rgba(76, 201, 255, .45); box-shadow: 0 18px 60px rgba(0, 0, 0, .45), 0 0 34px rgba(76, 201, 255, .07); }
.tier-featured { border-color: rgba(76, 201, 255, .5); box-shadow: 0 0 44px rgba(76, 201, 255, .1); }
.tier-badge {
  position: absolute; top: -11px; left: 28px;
  font-family: var(--font-d); font-weight: 500; font-size: 9px; letter-spacing: .3em;
  background: linear-gradient(90deg, var(--c1), var(--c2)); color: #02131c;
  padding: 5px 12px; border-radius: 3px;
}
.tier-name { font-weight: 700; letter-spacing: .22em; color: var(--c1); }
.tier-featured .tier-name { color: var(--text); }
.tier-price { font-family: var(--font-d); font-weight: 700; font-size: clamp(30px, 3vw, 38px); }
.tier-price .from { font-family: var(--font-b); font-weight: 400; font-size: 13px; color: var(--muted); margin-right: 8px; letter-spacing: 0; }
.tier ul { list-style: none; display: grid; gap: 10px; }
.tier li { padding-left: 22px; position: relative; color: #2b3648; font-size: 14.5px; }
.tier li::before { content: '◆'; position: absolute; left: 0; top: 1px; font-size: 9px; color: var(--c1); }
.tier-for { font-size: 13px; color: var(--muted); margin-top: auto; }
.tier .btn { text-align: center; }
.tiers-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 34px; }
@media (max-width: 960px) { .tiers { grid-template-columns: 1fr; max-width: 480px; } .tier-featured { order: -1; } }

/* ---------- automation & ai ---------- */
#ai { background: linear-gradient(var(--bg), var(--bg-2) 55%, var(--bg)); }
.tier-desc { font-size: 14.5px; color: #2b3648; line-height: 1.6; }
.ai-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }
.ai-trust-item { border-top: 1px solid var(--line); padding-top: 18px; }
.ai-trust-item span {
  display: block; font-family: var(--font-d); font-weight: 500; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin-bottom: 9px;
}
.ai-trust-item p { font-size: 14px; color: var(--muted); }
.ai-cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 46px; }
@media (max-width: 960px) {
  .ai-trust { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}

/* ---------- cursor spotlight border (tiers + work cards) ---------- */
.tier, .work-card { --mx: 50%; --my: 50%; }
.tier::after, .work-card::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit;
  pointer-events: none; opacity: 0; z-index: 4;
  background: radial-gradient(200px circle at var(--mx) var(--my),
    rgba(76, 201, 255, .5), rgba(139, 92, 246, .18) 40%, transparent 70%);
  padding: 1px;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  transition: opacity .3s ease;
}
@media (pointer: fine) {
  .tier:hover::after, .work-card:hover::after { opacity: 1; }
}

/* ---------- work ---------- */
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.work-card {
  position: relative; display: block; background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
  transform-style: preserve-3d;
}
.work-card:hover { border-color: rgba(76, 201, 255, .45); box-shadow: 0 24px 70px rgba(0, 0, 0, .5), 0 0 34px rgba(76, 201, 255, .08); }
.shot { position: relative; overflow: hidden; aspect-ratio: 1200 / 710; background: #0d1526; }
.shot::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 26px; z-index: 2;
  background: #101a2e; border-bottom: 1px solid var(--line);
}
.shot::after {
  content: '● ● ●'; position: absolute; top: 4px; left: 12px; z-index: 3;
  font-size: 8px; letter-spacing: 2px; color: rgba(143, 163, 196, .6);
}
.shot img {
  position: absolute; top: 26px; left: 0; width: 100%; height: calc(100% - 26px);
  object-fit: cover; object-position: top;
  transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}
.work-card:hover .shot img { transform: scale(1.04); }
.work-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; }
.work-meta p { color: var(--muted); font-size: 13.5px; margin-top: 3px; }
.work-badge {
  flex: 0 0 auto; font-family: var(--font-d); font-weight: 500; font-size: 9px; letter-spacing: .26em;
  color: var(--muted); border: 1px solid var(--line); border-radius: 3px; padding: 6px 10px;
}
.work-badge.live { color: #46f2b1; border-color: rgba(70, 242, 177, .35); }
.work-note { text-align: center; color: var(--muted); margin-top: 38px; }
.work-note a { color: var(--c1); font-weight: 500; }
.work-note a:hover { text-shadow: 0 0 18px var(--glow); }
@media (max-width: 800px) { .work-grid { grid-template-columns: 1fr; } }

/* ---------- process ---------- */
#process { background: linear-gradient(var(--bg), var(--bg-2) 55%, var(--bg)); }
.steps { position: relative; display: grid; gap: clamp(34px, 5vw, 56px); padding-left: 38px; }
.steps-line {
  position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px;
  background: rgba(115, 165, 255, .12); border-radius: 2px; overflow: hidden;
}
#stepsFill {
  display: block; width: 100%; height: 100%;
  background: linear-gradient(var(--c1), var(--c2));
  transform: scaleY(0); transform-origin: top;
}
.step { position: relative; display: flex; gap: 22px; align-items: flex-start; max-width: 640px; }
.step::before {
  content: ''; position: absolute; left: -33px; top: 7px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--bg); border: 2px solid var(--c1);
  box-shadow: 0 0 14px var(--glow);
}
.step-num {
  font-family: var(--font-d); font-weight: 700; font-size: clamp(22px, 3vw, 30px);
  color: rgba(76, 201, 255, .55); line-height: 1.2; flex: 0 0 auto;
}
.step h3 { text-transform: uppercase; letter-spacing: .14em; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(30px, 5vw, 70px); }
form { display: grid; gap: 20px; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--font-d); font-weight: 500; font-size: 10px; letter-spacing: .3em;
  color: var(--muted); text-transform: uppercase;
}
.field input, .field select, .field textarea {
  width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: 6px;
  color: var(--text); font: 400 15px/1.5 var(--font-b); padding: 13px 15px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--c1); box-shadow: 0 0 0 3px rgba(76, 201, 255, .12);
}
form .btn { justify-self: start; }
.contact-side { display: grid; gap: 30px; align-content: start; }
.side-label {
  font-family: var(--font-d); font-weight: 500; font-size: 10px; letter-spacing: .34em;
  color: var(--c1); margin-bottom: 8px;
}
.side-mail { font-family: var(--font-d); font-weight: 500; font-size: clamp(15px, 1.8vw, 18px); color: var(--text); word-break: break-all; }
.side-mail:hover { color: var(--c1); text-shadow: 0 0 20px var(--glow); }
.side-block p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .contact-wrap { grid-template-columns: 1fr; } .field-row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
footer {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 34px var(--pad); border-top: 1px solid var(--line); background: var(--bg-2);
}
.foot-left { display: flex; align-items: center; gap: 14px; color: var(--c1); }
.foot-left p { color: var(--muted); font-size: 13.5px; }
.foot-tag { color: var(--muted); font-size: 13.5px; font-style: italic; opacity: .8; }

/* ---------- thanks page ---------- */
.thanks-page { min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; padding: var(--pad); }
.thanks-page .inner { max-width: 560px; }
.thanks-page h1 { font-size: clamp(30px, 5vw, 52px); text-transform: uppercase; margin: 22px 0 16px; }
.thanks-page p { color: var(--muted); margin-bottom: 34px; }
.thanks-note { font-size: 13.5px; margin-top: -20px; opacity: .85; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
