/* ============ South Bay Wired ============ */
:root {
  --bg: #07090d;
  --bg2: #0c1017;
  --panel: #10141d;
  --panel2: #131926;
  --ink: #e8eef6;
  --mut: #93a0b4;
  --line: rgba(255, 255, 255, 0.08);
  --acc: #22d3ee;
  --acc2: #818cf8;
  --grad: linear-gradient(120deg, #22d3ee, #818cf8);
  --r: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --font-d: "Space Grotesk", system-ui, sans-serif;
  --font-b: "Inter", system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-d); line-height: 1.08; letter-spacing: -0.02em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-d); font-weight: 600; font-size: 15.5px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-grad { background: var(--grad); color: #051018; box-shadow: 0 8px 30px rgba(34, 211, 238, 0.28); }
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(34, 211, 238, 0.38); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { border-color: rgba(34, 211, 238, 0.5); background: rgba(34, 211, 238, 0.06); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-xs { padding: 8px 14px; font-size: 12.5px; }
.btn-full { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(7, 9, 13, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav-in { max-width: 1200px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-d); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand em { font-style: normal; color: var(--acc); }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 0 0 1px var(--line); }
.brand-mark.big { width: 56px; height: 56px; margin-bottom: 22px; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; color: var(--mut); }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-tel { font-family: var(--font-d); font-weight: 600; color: var(--ink) !important; white-space: nowrap; }
.nav-tel:hover { color: var(--acc) !important; }
.call-line { color: var(--mut); font-size: 15px; margin: -16px 0 28px; }
.call-line a, .inline-tel, .foot-tel { color: var(--acc); font-weight: 600; }
.call-line a:hover, .inline-tel:hover, .foot-tel:hover { text-decoration: underline; }
.foot-tel { display: inline-block; margin-top: 8px; font-family: var(--font-d); }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 168px 24px 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; will-change: transform; }
.orb-a { width: 520px; height: 520px; background: radial-gradient(circle, rgba(34, 211, 238, 0.5), transparent 65%); top: -140px; left: -120px; }
.orb-b { width: 640px; height: 640px; background: radial-gradient(circle, rgba(129, 140, 248, 0.42), transparent 65%); top: 60px; right: -220px; }
.gridlines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 30%, transparent 75%);
}
.hero-in { position: relative; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow { font-family: var(--font-d); font-size: 13.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--acc); margin-bottom: 18px; }
.hero h1 { font-size: clamp(52px, 7.2vw, 92px); font-weight: 700; margin-bottom: 22px; }
.lede { font-size: 19px; color: var(--mut); max-width: 54ch; margin-bottom: 32px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.trust-row { display: flex; gap: 22px; flex-wrap: wrap; list-style: none; color: var(--mut); font-size: 14px; }
.trust-row li { display: flex; align-items: center; gap: 8px; }
.trust-row li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); flex: none; }
.trust-col { flex-direction: column; gap: 12px; margin-top: 22px; }

.hero-chips { position: relative; height: 460px; }
.chip {
  position: absolute; width: 62%; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); background: var(--panel);
  box-shadow: var(--shadow); will-change: transform;
}
.chip img { aspect-ratio: 4 / 3; object-fit: cover; }
.chip figcaption { position: absolute; left: 12px; bottom: 10px; font-family: var(--font-d); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; background: rgba(7, 9, 13, 0.66); backdrop-filter: blur(6px); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); }
.chip-1 { top: 0; right: 4%; }
.chip-2 { top: 33%; left: 0; }
.chip-3 { bottom: 0; right: 0; width: 56%; }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--bg2); overflow: hidden; padding: 13px 0; }
.marquee-track { display: flex; gap: 34px; align-items: center; width: max-content; animation: marq 36s linear infinite; font-family: var(--font-d); font-weight: 500; font-size: 14.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mut); }
.marquee-track i { font-style: normal; color: var(--acc); font-size: 8px; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sect { max-width: 1200px; margin: 0 auto; padding: 110px 24px 30px; }
.sect-head { max-width: 720px; margin-bottom: 54px; }
.kicker { font-family: var(--font-d); font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--acc); margin-bottom: 14px; }
.kicker-biz { color: var(--acc2); }
.sect h2 { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 18px; }
.sub { color: var(--mut); font-size: 17.5px; }

.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* home service cards */
.svc {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 22px; position: relative; overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0));
}
.svc:hover { --ty: -5px; border-color: rgba(34, 211, 238, 0.4); background: var(--panel2); }
.svc-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(34, 211, 238, 0.1); color: var(--acc); margin-bottom: 18px; }
.svc-ico svg { width: 24px; height: 24px; }
.svc h3 { font-size: 18.5px; margin-bottom: 9px; }
.svc p { font-size: 14.5px; color: var(--mut); margin-bottom: 16px; }
.svc-price { font-size: 14px; color: var(--mut); }
.svc-price strong { font-family: var(--font-d); font-size: 19px; color: var(--ink); }

/* business cards */
.sect-biz { position: relative; }
.sect-biz::before { content: ""; position: absolute; inset: 40px -100vw 0; background: var(--bg2); z-index: -1; border-block: 1px solid var(--line); }
.biz { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform 0.22s ease, border-color 0.22s ease; }
.biz:hover { transform: translateY(-5px); border-color: rgba(129, 140, 248, 0.45); }
.biz-img { aspect-ratio: 16 / 9; overflow: hidden; }
.biz-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.biz:hover .biz-img img { transform: scale(1.06); }
.biz-body { padding: 22px; }
.biz h3 { font-size: 19px; margin-bottom: 9px; }
.biz p { font-size: 14.5px; color: var(--mut); margin-bottom: 15px; }

/* ---------- how / wire ---------- */
.how-wrap { position: relative; max-width: 780px; margin: 0 auto; }
.wire { position: absolute; left: -90px; top: 0; height: 100%; width: 100px; overflow: visible; }
.how-steps { list-style: none; display: grid; gap: 42px; }
.how-step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 30px 26px; position: relative; }
.how-n {
  position: absolute; top: -18px; left: 26px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--grad); color: #051018;
  font-family: var(--font-d); font-weight: 700; font-size: 17px; box-shadow: 0 6px 20px rgba(34, 211, 238, 0.35);
}
.how-step h3 { font-size: 21px; margin-bottom: 8px; }
.how-step p { color: var(--mut); font-size: 15.5px; }

/* ---------- pricing ---------- */
.price-table { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--panel); }
.pt-row { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 0.9fr; gap: 10px; align-items: center; padding: 17px 22px; border-top: 1px solid var(--line); font-size: 15px; }
.pt-row:first-child { border-top: 0; }
.pt-head { background: var(--panel2); font-family: var(--font-d); font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mut); }
.pt-them { color: var(--mut); text-decoration: line-through; text-decoration-color: rgba(255, 99, 99, 0.55); text-decoration-thickness: 1.5px; }
.pt-us { color: var(--ink); font-weight: 600; }
.pt-head .pt-us { color: var(--acc); }
.pt-row > div:last-child { text-align: right; }
.fine { color: var(--mut); font-size: 13px; margin-top: 16px; max-width: 78ch; }

/* ---------- faq ---------- */
.faq-list { max-width: 780px; display: grid; gap: 12px; }
.faq-list details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: border-color 0.2s ease; }
.faq-list details[open] { border-color: rgba(34, 211, 238, 0.35); }
.faq-list summary { cursor: pointer; list-style: none; padding: 19px 0; font-family: var(--font-d); font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 22px; color: var(--acc); transition: transform 0.2s ease; flex: none; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--mut); font-size: 15px; padding-bottom: 20px; }

/* ---------- booking ---------- */
.sect-book { padding-bottom: 110px; }
.book-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 54px; align-items: start; }
.book-form { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: grid; gap: 16px; }
.ff2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.book-form label { display: grid; gap: 7px; font-family: var(--font-d); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--mut); }
.book-form input, .book-form select, .book-form textarea {
  font-family: var(--font-b); font-size: 15.5px; color: var(--ink);
  background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease; width: 100%;
}
.book-form textarea { resize: vertical; }
.book-form :is(input, select, textarea):focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15); }
.form-msg { font-size: 14.5px; min-height: 22px; }
.form-msg.ok { color: #4ade80; }
.form-msg.err { color: #f87171; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); background: var(--bg2); margin-top: 40px; }
.foot-in { max-width: 1200px; margin: 0 auto; padding: 54px 24px 30px; display: grid; grid-template-columns: 1.2fr 2fr; gap: 44px; }
.foot-brand { display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px; color: var(--mut); }
.foot-brand strong { color: var(--ink); font-family: var(--font-d); font-size: 17px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot-cols h4 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mut); margin-bottom: 13px; }
.foot-cols a { display: block; color: var(--mut); font-size: 14.5px; padding: 4px 0; }
.foot-cols a:hover { color: var(--acc); }
.foot-cities { color: var(--mut); font-size: 14px; line-height: 1.9; }
.foot-base { max-width: 1200px; margin: 0 auto; padding: 20px 24px 30px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; color: var(--mut); font-size: 12.5px; }
.foot-base a { color: var(--acc); }

/* ---------- thanks page ---------- */
.thanks { min-height: 100vh; display: grid; place-content: center; justify-items: start; max-width: 620px; margin: 0 auto; padding: 40px 24px; }
.thanks h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 18px; }
.thanks p { color: var(--mut); margin-bottom: 16px; }
.thanks .btn { margin-top: 14px; }

/* ---------- reveal + motion ---------- */
.rev { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1); }
.rev.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rev { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .chip, .orb { transform: none !important; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-in { grid-template-columns: 1fr; }
  .hero-chips { height: 380px; max-width: 560px; }
  .wire { display: none; }
  .book-wrap { grid-template-columns: 1fr; gap: 34px; }
  .foot-in { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 700px) {
  .nav-links {
    position: fixed; inset: 62px 12px auto 12px; flex-direction: column; align-items: stretch;
    background: rgba(12, 16, 23, 0.97); border: 1px solid var(--line); border-radius: 18px;
    padding: 18px; gap: 6px; display: none; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 10px; border-radius: 10px; }
  .nav-links a:hover { background: rgba(255, 255, 255, 0.05); }
  .nav-burger { display: block; }
  .hero { padding-top: 128px; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .ff2 { grid-template-columns: 1fr; }
  .pt-row { grid-template-columns: 1fr 1fr; row-gap: 4px; padding: 15px 16px; }
  .pt-row > div:first-child { grid-column: 1 / -1; font-weight: 600; font-family: var(--font-d); }
  .pt-row > div:last-child { grid-column: 1 / -1; text-align: left; margin-top: 6px; }
  .pt-head { display: none; }
  .pt-them::before { content: "big-box: "; font-size: 12px; }
  .sect { padding-top: 80px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}

/* ============ PRO POLISH LAYER ============ */
:root { --mono: "IBM Plex Mono", ui-monospace, "Cascadia Code", monospace; }

::selection { background: rgba(34, 211, 238, 0.28); color: #fff; }
* { scrollbar-width: thin; scrollbar-color: #1d2735 transparent; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: #1d2735; border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }

/* film grain */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* scroll progress hairline */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70;
  background: var(--grad); transform-origin: 0 50%; transform: scaleX(0);
}

/* nav link affordance */
.nav-links a:not(.btn) { position: relative; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1.5px;
  background: var(--grad); transition: right 0.22s ease;
}
.nav-links a:not(.btn):hover::after { right: 0; }

/* editorial section numbers */
.kicker { display: flex; align-items: center; gap: 10px; }
.knum {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; color: var(--mut);
  border: 1px solid var(--line); border-radius: 6px; padding: 3px 7px; letter-spacing: 0.05em;
}

/* hero visual: terminal + photo chips */
.hero-visual { position: relative; height: 480px; }
.term {
  position: absolute; top: 42px; left: 0; right: 8%; z-index: 2;
  background: #0a0f16; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(34, 211, 238, 0.07);
  overflow: hidden; will-change: transform;
}
.term-bar {
  display: flex; align-items: center; gap: 7px; padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07); background: rgba(255, 255, 255, 0.02);
}
.td { width: 11px; height: 11px; border-radius: 50%; }
.td-r { background: #ff5f57; } .td-y { background: #febc2e; } .td-g { background: #28c840; }
.term-title { font-family: var(--mono); font-size: 11.5px; color: var(--mut); margin-left: 8px; letter-spacing: 0.04em; }
.term-body {
  font-family: var(--mono); font-size: 13px; line-height: 1.75; color: #c8d6e5;
  padding: 18px 20px 22px; min-height: 285px; margin: 0; white-space: pre-wrap; overflow: hidden;
}
.term-body .t-cmd { color: #e8eef6; font-weight: 600; }
.term-body .t-ok { color: #4ade80; }
.term-body .t-warn { color: #fbbf24; }
.term-body .t-dim { color: #64748b; }
.term-body .t-acc { color: var(--acc); }
.term-cursor { color: var(--acc); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.chip-back { top: 0; right: 0; width: 46%; z-index: 1; opacity: 0.85; }
.chip-front { bottom: 0; right: 2%; width: 44%; z-index: 3; }

/* brands strip */
.brands {
  margin-top: 44px; padding: 18px 24px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--bg2); display: flex; gap: 18px; align-items: baseline; flex-wrap: wrap;
}
.brands-label { font-family: var(--font-d); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mut); white-space: nowrap; }
.brands-list { font-family: var(--mono); font-size: 13.5px; color: #aebbcd; letter-spacing: 0.02em; }

/* why band */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why-card {
  position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 60%), var(--panel);
  border: 1px solid var(--line); border-radius: var(--r); padding: 34px 26px 28px; overflow: hidden;
}
.why-card::before {
  content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 2px;
  background: var(--grad); border-radius: 2px; opacity: 0.75;
}
.why-n {
  font-family: var(--mono); font-size: 12px; color: var(--acc);
  border: 1px solid rgba(34, 211, 238, 0.3); border-radius: 6px; padding: 3px 8px;
}
.why-card h3 { font-size: 20px; margin: 16px 0 10px; }
.why-card p { color: var(--mut); font-size: 15px; }

/* pricing refinements */
.price-table { border-color: rgba(34, 211, 238, 0.18); }
.pt-us { font-family: var(--mono); font-size: 14.5px; }
.pt-them { font-family: var(--mono); font-size: 13.5px; text-decoration-color: rgba(255, 255, 255, 0.25); }
.svc-price strong, .svc-price { font-variant-numeric: tabular-nums; }
.svc-price strong { font-family: var(--mono); font-size: 17px; }

/* staggered reveals inside grids */
.grid .rev:nth-child(2), .why-grid .rev:nth-child(2) { transition-delay: 70ms; }
.grid .rev:nth-child(3), .why-grid .rev:nth-child(3) { transition-delay: 140ms; }
.grid .rev:nth-child(4) { transition-delay: 210ms; }
.grid .rev:nth-child(5) { transition-delay: 90ms; }
.grid .rev:nth-child(6) { transition-delay: 160ms; }
.grid .rev:nth-child(7) { transition-delay: 230ms; }
.grid .rev:nth-child(8) { transition-delay: 300ms; }

/* trust row: mono ticks */
.trust-row li { font-family: var(--mono); font-size: 13px; letter-spacing: 0.01em; }

/* footer base: mono */
.foot-base { font-family: var(--mono); font-size: 11.5px; }

@media (max-width: 1060px) {
  .hero-visual { height: 430px; max-width: 620px; }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .hero-visual { height: auto; padding-bottom: 8px; }
  .term { position: relative; top: 0; right: 0; margin-bottom: 14px; }
  .term-body { min-height: 240px; font-size: 12px; }
  .chip-back { display: none; }
  .chip-front { position: relative; width: 70%; margin-left: auto; }
  .brands { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .term-cursor { animation: none; }
  .progress { display: none; }
}

/* ============ ELITE MOBILE LAYER ============ */
* { -webkit-tap-highlight-color: transparent; }

/* sticky thumb-zone action bar (mobile only) */
.mcta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; grid-template-columns: 1fr 1.4fr; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(7, 9, 13, 0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}
.mcta .btn { width: 100%; padding: 13px 10px; font-size: 15px; }
.mcta .btn svg { flex: none; }

@media (max-width: 700px) {
  .mcta { display: grid; }
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }

  /* animated slide-down menu (overrides earlier display toggle) */
  .nav-links {
    display: flex; visibility: hidden; opacity: 0; transform: translateY(-10px) scale(0.99);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }
  .nav-links.open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
  .nav-tel { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px !important; }

  /* burger -> X morph */
  .nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* hero rhythm */
  .hero { padding-top: 118px; padding-bottom: 56px; }
  .hero h1 { font-size: clamp(46px, 13.5vw, 60px); }
  .lede { font-size: 17px; }
  .call-line { margin-top: -14px; }
  .trust-row { gap: 12px 18px; }

  /* terminal owns the stage; photo tucks under its corner for depth */
  .term { box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(34, 211, 238, 0.06); }
  .term-body { min-height: 225px; font-size: 12.5px; line-height: 1.7; padding: 15px 16px 18px; }
  .chip-front { width: 62%; margin: -34px 4px 0 auto; position: relative; z-index: 3; }

  /* touch feedback replaces hover */
  .svc:active, .biz:active, .why-card:active { transform: scale(0.985); transition-duration: 0.08s; }
  .btn:active { transform: scale(0.96); }

  /* iOS: 16px inputs prevent focus zoom */
  .book-form input, .book-form select, .book-form textarea { font-size: 16px; padding: 14px 15px; }

  /* pricing rows: bigger prepay targets */
  .btn-xs { padding: 11px 16px; font-size: 13.5px; width: 100%; justify-content: center; }

  /* cards breathe a little tighter */
  .svc { padding: 22px 18px; }
  .sect-head { margin-bottom: 38px; }
  .brands { padding: 16px 18px; }
  .brands-list { font-size: 12.5px; line-height: 1.9; }

  /* footer above the sticky bar */
  .foot { margin-bottom: 0; }
  .foot-base { padding-bottom: 18px; }
}

/* very small phones */
@media (max-width: 380px) {
  .hero h1 { font-size: 44px; }
  .term-body { font-size: 11.5px; }
  .mcta { grid-template-columns: 1fr 1.2fr; }
}
