/* =========================================================
   STAR K9 PROTECTIVE SERVICES LTD — site styles
   Black & gold. Night-watch theme. One stylesheet for all pages.
   ========================================================= */

:root {
  /* constant brand colours */
  --ink: #08090b;
  --gold: #d4a853;
  --gold-hi: #f3d58d;
  --gold-lo: #9c7330;
  --danger: #d4573a;
  --ok: #3fa266;

  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- themes ----------
   Dark is always the default. Light only comes from the toggle (data-theme on <html>).
   .on-dark keeps photo blocks dark in both themes so their white text stays readable. */
:root, .on-dark {
  --bg: #08090b;
  --bg-2: #0f1114;
  --bg-3: #16191e;
  --bg-rgb: 8, 9, 11;
  --line: rgba(236, 226, 205, 0.09);
  --line-strong: rgba(236, 226, 205, 0.18);
  --text: #ece7dc;
  --text-2: #cfc9bc;
  --text-3: #c2bcae;
  --muted: #9b968b;
  --muted-2: #6f6a61;
  --gold-ink: #d4a853;
  --gold-text: #d4a853;
  --gold-bright: #f3d58d;
  --star-rgb: 236, 231, 220;
  --star-gold-rgb: 243, 213, 141;
  --graded-fade: .92;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f4f0e6;
  --bg-2: #ebe5d6;
  --bg-3: #e1d9c6;
  --bg-rgb: 244, 240, 230;
  --line: rgba(21, 23, 27, 0.11);
  --line-strong: rgba(21, 23, 27, 0.22);
  --text: #15171b;
  --text-2: #2f2c27;
  --text-3: #47423a;
  --muted: #696459;
  --muted-2: #918b7e;
  --gold-ink: #a77a2a;
  --gold-text: #85601d;
  --gold-bright: #946a20;
  --star-rgb: 21, 23, 27;
  --star-gold-rgb: 167, 122, 42;
  --graded-fade: .3;
  color-scheme: light;
}
:root[data-theme="light"] .on-dark {
  --bg: #08090b;
  --bg-2: #0f1114;
  --bg-3: #16191e;
  --bg-rgb: 8, 9, 11;
  --line: rgba(236, 226, 205, 0.09);
  --line-strong: rgba(236, 226, 205, 0.18);
  --text: #ece7dc;
  --text-2: #cfc9bc;
  --text-3: #c2bcae;
  --muted: #9b968b;
  --muted-2: #6f6a61;
  --gold-ink: #d4a853;
  --gold-text: #d4a853;
  --gold-bright: #f3d58d;
  --star-rgb: 236, 231, 220;
  --star-gold-rgb: 243, 213, 141;
  --graded-fade: .92;
  color-scheme: dark;
}
.on-dark { color: var(--text); }

/* smooth colour change while switching theme */
html.theming, html.theming *, html.theming *::before, html.theming *::after {
  transition: background-color .45s ease, color .45s ease, border-color .45s ease, fill .45s ease, stroke .45s ease !important;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* film grain over everything — subtle texture that makes the black feel rich */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 100; pointer-events: none;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  opacity: .045; mix-blend-mode: overlay;
}

:root[data-theme="light"] body::after { opacity: .03; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 800; line-height: .95; letter-spacing: .005em; margin: 0; text-transform: uppercase; }
h1 { font-size: clamp(64px, 9.2vw, 132px); }
h2 { font-size: clamp(40px, 6vw, 84px); }
h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--text-2); max-width: 46ch; }
.gold { color: var(--gold-ink); }
.outline-text { color: transparent; -webkit-text-stroke: 1.5px var(--gold-ink); }

.tag {
  font: 500 12px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text);
  display: inline-flex; align-items: center; gap: 10px;
}
.tag::before { content: ""; width: 26px; height: 1px; background: currentColor; }

.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section-head { display: grid; grid-template-columns: 1fr; gap: 22px; margin-bottom: clamp(40px, 6vw, 72px); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1.3fr 1fr; align-items: end; }
  .section-head p { justify-self: end; }
  .section-head.wide { grid-template-columns: 1.9fr 1fr; }
}
.section-head p { color: var(--muted); max-width: 44ch; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--gold); --btn-fg: var(--ink);
  display: inline-flex; align-items: center; gap: 12px; padding: 17px 26px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bg); border-radius: var(--radius);
  font: 600 13px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold-hi);
  transform: translateY(101%); transition: transform .4s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--text); border-color: var(--line-strong); }
.btn-ghost::before { background: var(--text); }
.btn-ghost:hover { color: var(--bg); border-color: var(--text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s, border-color .4s, transform .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(var(--bg-rgb), .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.site-header.hide { transform: translateY(-100%); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 48px; }
.brand-name { font: 800 25px/1 var(--f-display); letter-spacing: .04em; text-transform: uppercase; }
.brand-name small { display: block; font: 500 9.5px/1.3 var(--f-mono); letter-spacing: .2em; color: var(--gold-text); margin-top: 3px; }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: 34px; }
.nav-links a {
  text-decoration: none; font: 500 12.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2);
  position: relative; padding: 6px 0; transition: color .25s;
}
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: right .35s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-cta { display: none; }
.nav-phone { font: 500 13px/1 var(--f-mono); letter-spacing: .06em; text-decoration: none; color: var(--gold-text); display: none; }
.menu-btn {
  width: 46px; height: 46px; border: 1px solid var(--line-strong); background: transparent; border-radius: var(--radius);
  display: grid; place-content: center; gap: 6px; cursor: pointer; color: var(--text);
}
.menu-btn span { display: block; width: 20px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.menu-open .menu-btn span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
@media (min-width: 980px) {
  .nav-links { display: flex; }
  .menu-btn { display: none; }
  .nav-cta { display: inline-flex; padding: 14px 20px; }
}
@media (min-width: 1180px) { .nav-phone { display: inline-block; } }
:root[data-theme="light"] .nav-phone { color: var(--text); font-weight: 600; }
.nav-right { display: flex; align-items: center; gap: 12px; }
@media (min-width: 980px) { .nav-right { gap: 18px; } }

/* theme toggle (sun shows in dark mode, moon in light mode) */
.theme-btn {
  width: 46px; height: 46px; flex: none; border: 1px solid var(--line-strong); background: transparent; border-radius: var(--radius);
  display: grid; place-items: center; cursor: pointer; color: var(--text); overflow: hidden; transition: border-color .3s, color .3s;
}
.theme-btn:hover { border-color: var(--gold); color: var(--gold-ink); }
.theme-btn svg { grid-area: 1 / 1; width: 20px; height: 20px; transition: transform .6s var(--ease), opacity .4s; }
.theme-btn .i-moon { transform: translateY(150%) rotate(-90deg); opacity: 0; }
:root[data-theme="light"] .theme-btn .i-sun { transform: translateY(-150%) rotate(90deg); opacity: 0; }
:root[data-theme="light"] .theme-btn .i-moon { transform: none; opacity: 1; }

/* small phones: keep logo, toggle and menu on one line */
@media (max-width: 420px) {
  .nav { gap: 10px; height: 72px; }
  .brand { gap: 9px; }
  .brand img { width: 34px; height: 41px; }
  .brand-name { font-size: 22px; }
  .brand-name small { font-size: 8.5px; letter-spacing: .1em; }
  .nav-right { gap: 8px; }
  .theme-btn, .menu-btn { width: 42px; height: 42px; }
}
@media (max-width: 350px) { .brand-name small { display: none; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--bg); padding: 120px var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0 at calc(100% - 40px) 42px); transition: clip-path .7s var(--ease); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 42px); visibility: visible; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a {
  display: flex; justify-content: space-between; align-items: baseline; text-decoration: none;
  font: 800 clamp(46px, 13vw, 76px)/1.05 var(--f-display); text-transform: uppercase; padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu li a span { font: 500 12px var(--f-mono); color: var(--gold-text); letter-spacing: .1em; }
.mobile-menu .meta { font: 500 13px/1.8 var(--f-mono); color: var(--muted); }
.mobile-menu .meta a { color: var(--gold-text); text-decoration: none; }
.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 70px; overflow: hidden; }
#starfield { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .9; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 60% at 78% 45%, rgba(212, 168, 83, .14), transparent 70%),
    radial-gradient(40% 50% at 10% 100%, rgba(212, 168, 83, .07), transparent 70%);
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 40px; } }
/* sized so the longest headline line ("Always on watch.") never wraps */
.hero h1 { margin: 22px 0 28px; font-size: min(12.8vw, 98px); }
@media (min-width: 1000px) { .hero h1 { font-size: clamp(64px, 7.1vw, 92px); } }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.hero .lead { margin-bottom: 36px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-proof li { list-style: none; display: flex; align-items: center; gap: 9px; font: 500 12px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.hero-proof svg { width: 16px; height: 16px; color: var(--gold-ink); flex: none; }
.hero-proof { padding-left: 0; margin-bottom: 0; }

/* the "viewfinder" photo with live HUD */
.scope { position: relative; aspect-ratio: 4 / 5; max-width: 520px; width: 100%; justify-self: center; }
.scope-img { position: absolute; inset: 0; overflow: hidden; border-radius: 2px; }
.scope-img img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; filter: grayscale(.85) contrast(1.15) brightness(.78); transform: scale(1.08); animation: slowzoom 18s ease-in-out infinite alternate; }
@keyframes slowzoom { to { transform: scale(1.18) translate(-2%, 1%); } }
.scope-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,9,11,.1) 40%, rgba(8,9,11,.85)), linear-gradient(120deg, rgba(212,168,83,.28), transparent 55%); mix-blend-mode: normal; }
.scope-img::before { /* scan line */
  content: ""; position: absolute; left: 0; right: 0; height: 120px; z-index: 2; top: -120px;
  background: linear-gradient(180deg, transparent, rgba(243, 213, 141, .16), transparent);
  animation: scan 5.5s linear infinite;
}
@keyframes scan { to { top: 100%; } }
.corner { position: absolute; width: 34px; height: 34px; border: 2px solid var(--gold); z-index: 3; }
.corner.tl { top: -10px; left: -10px; border-right: 0; border-bottom: 0; }
.corner.tr { top: -10px; right: -10px; border-left: 0; border-bottom: 0; }
.corner.bl { bottom: -10px; left: -10px; border-right: 0; border-top: 0; }
.corner.br { bottom: -10px; right: -10px; border-left: 0; border-top: 0; }
.hud { position: absolute; z-index: 3; font: 500 11px/1.5 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.hud-top { top: 18px; left: 18px; right: 18px; display: flex; justify-content: space-between; }
.hud-bottom { left: 18px; right: 18px; bottom: 18px; display: grid; gap: 10px; }
.live { display: inline-flex; align-items: center; gap: 8px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(127, 197, 154, .7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(127, 197, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 197, 154, 0); } }
.hud-clock { font: 700 46px/1 var(--f-display); letter-spacing: .02em; color: var(--gold-hi); }
.hud-row { display: flex; justify-content: space-between; border-top: 1px solid rgba(236,231,220,.2); padding-top: 10px; color: var(--text-2); }
.reticle { position: absolute; z-index: 3; left: 46%; top: 38%; width: 70px; height: 70px; transform: translate(-50%, -50%); opacity: .7; }
.reticle::before, .reticle::after { content: ""; position: absolute; background: var(--gold); }
.reticle::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.reticle::after { top: 50%; left: 0; right: 0; height: 1px; }
.reticle span { position: absolute; inset: 18px; border: 1px solid var(--gold); border-radius: 50%; }


/* ---------- ticker ---------- */
.ticker { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 20px 0; }
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { font: 800 30px/1 var(--f-display); text-transform: uppercase; letter-spacing: .03em; padding-right: 34px; display: inline-flex; align-items: center; gap: 34px; white-space: nowrap; }
.ticker-track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--muted-2); }
.ticker-track svg { width: 18px; height: 18px; color: var(--gold-ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- graded imagery ---------- */
.graded { position: relative; overflow: hidden; background: var(--bg-3); }
.graded img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12) brightness(.72); transition: filter .8s var(--ease), transform 1.2s var(--ease); }
.graded::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--bg-rgb), 0) 30%, rgba(var(--bg-rgb), var(--graded-fade))), linear-gradient(135deg, rgba(212,168,83,.25), rgba(212,168,83,0) 60%); pointer-events: none; }

/* ---------- services (home) ---------- */
.svc-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc-card { position: relative; min-height: 520px; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; border: 1px solid var(--line); isolation: isolate; }
.svc-card .graded { position: absolute; inset: 0; z-index: -1; }
.svc-card:hover .graded img { filter: grayscale(.25) contrast(1.1) brightness(.8); transform: scale(1.06); }
.svc-body { padding: 30px; }
.svc-num { position: absolute; top: 24px; left: 30px; font: 500 12px var(--f-mono); letter-spacing: .18em; color: var(--gold-text); }
.svc-arrow { position: absolute; top: 18px; right: 18px; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background .35s, border-color .35s, transform .5s var(--ease); }
.svc-arrow svg { width: 18px; height: 18px; transform: rotate(-45deg); }
.svc-card:hover .svc-arrow { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: rotate(45deg); }
.svc-card h3 { margin-bottom: 12px; }
.svc-card p { color: var(--text-3); font-size: 16px; margin: 0; }
.svc-list { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease), margin .5s var(--ease); }
.svc-list > ul { overflow: hidden; list-style: none; padding: 0; margin: 0; }
.svc-list li { font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-hi); padding: 10px 0; border-top: 1px solid var(--line); }
.svc-card:hover .svc-list, .svc-card:focus-visible .svc-list { grid-template-rows: 1fr; margin-top: 18px; }
@media (hover: none) { .svc-list { grid-template-rows: 1fr; margin-top: 18px; } }

/* ---------- night shift timeline ---------- */
.shift { background: var(--bg-2); border-block: 1px solid var(--line); overflow: hidden; }
.shift-sky { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(80% 60% at 50% 0%, rgba(212,168,83,.08), transparent 70%); }
.shift-rail { position: relative; margin-top: 10px; }
.shift-line { position: absolute; left: 0; right: 0; top: 33px; height: 1px; background: var(--line-strong); }
.shift-line i { position: absolute; left: 0; top: 0; height: 1px; width: 0; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); box-shadow: 0 0 12px var(--gold); transition: width .2s linear; }
.shift-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; position: relative; }
@media (min-width: 900px) { .shift-steps { grid-template-columns: repeat(6, 1fr); gap: 22px; } }
.shift-steps li { position: relative; padding-top: 64px; }
.shift-steps .t { position: absolute; top: 0; left: 0; font: 800 30px/1 var(--f-display); color: var(--muted); transition: color .4s; }
.shift-steps .dot { position: absolute; top: 27px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line-strong); transition: background .4s, border-color .4s, box-shadow .4s; }
.shift-steps li.on .t { color: var(--gold-bright); }
.shift-steps li.on .dot { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 5px rgba(212,168,83,.15); }
.shift-steps h4 { font-size: 22px; margin-bottom: 10px; }
.shift-steps p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 899px) {
  .shift-line { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .shift-line i { width: 1px !important; height: var(--fill, 0); }
  .shift-steps li { padding: 0 0 0 40px; }
  .shift-steps .dot { top: 8px; }
  .shift-steps .t { position: static; display: block; margin-bottom: 8px; }
}
/* highlighted call-out under the timeline */
.shift-note {
  margin-top: 48px; display: flex; align-items: center; gap: 18px; padding: 22px 26px;
  border: 1px solid var(--gold); border-left-width: 4px; background: rgba(212, 168, 83, .08);
}
.shift-note svg { width: 30px; height: 30px; flex: none; color: var(--gold-ink); }
.shift-note p { margin: 0; font: 500 clamp(15px, 1.5vw, 18px)/1.5 var(--f-body); color: var(--text-2); }
.shift-note strong { color: var(--gold-ink); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-family: var(--f-mono); font-size: .85em; margin-right: 4px; }
@media (max-width: 560px) { .shift-note { align-items: flex-start; padding: 18px; gap: 14px; } .shift-note svg { width: 24px; height: 24px; } }

/* ---------- split / why ---------- */
.split { display: grid; gap: 50px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; } }
.split-media { position: relative; aspect-ratio: 4 / 5; }
.split-media .graded { position: absolute; inset: 0; }
.split-media .badge {
  position: absolute; right: -14px; bottom: 40px; z-index: 2; background: var(--gold); color: var(--ink); padding: 20px 22px; max-width: 220px;
  font: 800 24px/1 var(--f-display); text-transform: uppercase;
}
.split-media .badge small { display: block; font: 500 10.5px/1.5 var(--f-mono); letter-spacing: .1em; margin-top: 8px; }
.points { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 0; }
.points li { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.points li:last-child { border-bottom: 1px solid var(--line); }
.points .ic { width: 54px; height: 54px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--gold-ink); }
.points .ic svg { width: 24px; height: 24px; }
.points h4 { font-size: 22px; margin-bottom: 6px; }
.points p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- sectors ---------- */
.sectors { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 640px) { .sectors { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .sectors { grid-template-columns: repeat(3, 1fr); } }
.sector { padding: 34px 30px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; transition: background .4s; }
.sector::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--gold); transition: width .5s var(--ease); }
.sector:hover { background: var(--bg-2); }
.sector:hover::before { width: 100%; }
.sector svg { width: 34px; height: 34px; color: var(--gold-ink); margin-bottom: 44px; }
.sector h4 { font-size: 26px; margin-bottom: 8px; }
.sector p { color: var(--muted); font-size: 15px; margin: 0; }
.sector .idx { position: absolute; top: 30px; right: 26px; font: 500 11px var(--f-mono); color: var(--muted-2); letter-spacing: .1em; }

/* ---------- coverage radar ---------- */
.coverage { display: grid; gap: 50px; align-items: center; }
@media (min-width: 960px) { .coverage { grid-template-columns: .9fr 1.1fr; gap: 70px; } }
.radar { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1; justify-self: center; }
.radar svg { width: 100%; height: 100%; overflow: visible; }
.radar .town circle.pt { fill: var(--gold-ink); }
.radar .town circle.halo { fill: none; stroke: var(--gold-ink); opacity: 0; transform-box: fill-box; transform-origin: center; }
.radar .town.blip circle.halo { animation: blip 1.6s var(--ease); }
@keyframes blip { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(2.6); } }
.radar text { font: 500 13px var(--f-mono); letter-spacing: .08em; fill: var(--text-2); text-transform: uppercase; }
.radar .hq text { fill: var(--gold-bright); font-weight: 700; }
.area-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 34px; padding: 0; list-style: none; }
.area-list li { font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; padding: 10px 13px; border: 1px solid var(--line-strong); color: var(--text-2); }
.area-list li.hq { border-color: var(--gold); color: var(--gold-ink); font-weight: 700; }
.area-list li.hq::after { content: " · Base"; }

/* ---------- standards strip ---------- */
.standards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 700px) { .standards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .standards { grid-template-columns: repeat(5, 1fr); } }
.standard { background: var(--bg); padding: 30px 26px; }
.standard .n { font: 800 54px/1 var(--f-display); color: transparent; -webkit-text-stroke: 1px var(--gold-ink); margin-bottom: 18px; display: block; }
.standard h4 { font-size: 21px; margin-bottom: 8px; }
.standard p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; padding: clamp(100px, 14vw, 180px) 0; text-align: center; isolation: isolate; }
.cta-band .graded { position: absolute; inset: 0; z-index: -1; }
.cta-band .graded img { filter: grayscale(.5) sepia(.25) contrast(1.1) brightness(.95); }
.cta-band .graded::after { background: radial-gradient(70% 80% at 50% 50%, rgba(8,9,11,.45), rgba(8,9,11,.9)), linear-gradient(0deg, var(--ink), transparent 30%, transparent 70%, var(--ink)); }
.cta-band h2 { font-size: clamp(50px, 9vw, 130px); margin: 20px 0 26px; }
.cta-band p { color: var(--text-2); max-width: 52ch; margin: 0 auto 36px; }
.cta-band .btn-row { justify-content: center; }
/* day / night / 24h chips in the CTA */
.round-clock { list-style: none; padding: 0; margin: 0 auto 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 720px; }
.round-clock li { display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border: 1px solid rgba(212, 168, 83, .55); background: rgba(8, 9, 11, .55); font: 600 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-hi); }
.round-clock svg { width: 17px; height: 17px; color: var(--gold); flex: none; }
@media (max-width: 420px) { .round-clock { display: grid; grid-template-columns: 1fr 1fr; } .round-clock li { justify-content: center; padding: 11px 8px; letter-spacing: .06em; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 180px 0 90px; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero .bg { position: absolute; inset: 0; z-index: 0; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(.42); }
.page-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 15%, rgba(var(--bg-rgb), .55) 70%, rgba(var(--bg-rgb), .8)), linear-gradient(0deg, var(--bg), transparent 50%); }
:root[data-theme="light"] .page-hero .bg img { filter: grayscale(1) contrast(1.05) brightness(1.05); opacity: .6; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(56px, 10vw, 140px); margin: 22px 0 24px; }
.crumbs { font: 500 11px var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.crumbs a { text-decoration: none; color: var(--gold-text); }

/* ---------- service detail blocks ---------- */
.detail { display: grid; gap: 40px; padding: clamp(60px, 8vw, 110px) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 960px) {
  .detail { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
  .detail.flip .detail-media { order: 2; }
}
.detail-media { aspect-ratio: 5 / 4; }
.detail-media .graded { height: 100%; }
.detail h2 { font-size: clamp(40px, 5vw, 70px); margin: 18px 0 22px; }
.detail p { color: var(--text-3); }
.check { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
@media (min-width: 600px) { .check { grid-template-columns: 1fr 1fr; } }
.check li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.check li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; background: var(--gold); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font: 800 clamp(22px, 2.4vw, 30px)/1.1 var(--f-display); text-transform: uppercase; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: 50%; position: relative; transition: transform .4s var(--ease), background .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--gold); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i { transform: rotate(45deg); background: var(--bg-3); }
.faq details p { color: var(--muted); max-width: 70ch; padding-bottom: 26px; margin: 0; }

/* ---------- about ---------- */
.big-quote { font: 800 clamp(34px, 5vw, 66px)/1.02 var(--f-display); text-transform: uppercase; max-width: 22ch; }
.big-quote em { font-style: normal; color: var(--gold-ink); }
.founders { display: grid; gap: 18px; }
@media (min-width: 800px) { .founders { grid-template-columns: 1fr 1fr; } }
.founder { border: 1px solid var(--line); padding: 34px; position: relative; overflow: hidden; background: linear-gradient(160deg, var(--bg-2), var(--bg)); }
.founder .role { font: 500 11px var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.founder h3 { font-size: clamp(32px, 3.4vw, 44px); margin: 14px 0 18px; }
.founder ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.founder li { font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; padding: 9px 11px; border: 1px solid var(--line-strong); color: var(--text-2); }
.founder .wm { position: absolute; right: -20px; bottom: -40px; width: 180px; opacity: .06; }
.values { display: grid; gap: 0; counter-reset: v; }
.values li { list-style: none; display: grid; gap: 10px; padding: 30px 0; border-top: 1px solid var(--line); counter-increment: v; }
@media (min-width: 800px) { .values li { grid-template-columns: 90px 1fr 1.2fr; gap: 30px; align-items: baseline; } }
.values li::before { content: "0" counter(v); font: 500 12px var(--f-mono); color: var(--gold-text); letter-spacing: .14em; }
.values h4 { font-size: 30px; }
.values p { margin: 0; color: var(--muted); }
.values { padding: 0; margin: 0; border-bottom: 1px solid var(--line); }

/* ---------- contact / quote builder ---------- */
.contact-grid { display: grid; gap: 40px; align-items: start; }
.contact-grid > * { min-width: 0; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1.35fr .65fr; gap: 50px; } }
.qform { border: 1px solid var(--line); background: var(--bg-2); }
.qsteps { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.qsteps button { all: unset; cursor: pointer; padding: 18px 14px; font: 500 11px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); border-right: 1px solid var(--line); position: relative; }
.qsteps button:last-child { border-right: 0; }
.qsteps button b { display: block; font: 800 22px/1 var(--f-display); margin-bottom: 4px; }
.qsteps button.done { color: var(--muted); }
.qsteps button.active { color: var(--gold-bright); background: var(--bg-3); }
.qsteps button.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); }
.qsteps button:disabled { cursor: not-allowed; }
@media (max-width: 560px) { .qsteps button span { display: none; } .qsteps button { text-align: center; } }
.qpanel { padding: clamp(24px, 4vw, 44px); display: none; min-width: 0; }  /* fieldsets otherwise refuse to shrink on small phones */
.qpanel.active { display: block; animation: fadein .5s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(10px); } }
.qpanel h3 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 8px; }
.qpanel > p { color: var(--muted); margin-bottom: 28px; }
.choice-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.choice label { display: block; height: 100%; padding: 20px; border: 1px solid var(--line-strong); cursor: pointer; transition: border-color .25s, background .25s; }
.choice label svg { width: 28px; height: 28px; color: var(--gold-ink); margin-bottom: 16px; display: block; }
.choice label strong { display: block; font: 800 22px/1.05 var(--f-display); text-transform: uppercase; margin-bottom: 6px; }
.choice label span { font-size: 14px; color: var(--muted); }
.choice input:checked + label { border-color: var(--gold); background: rgba(212,168,83,.08); }
.choice input:checked + label::after { content: ""; position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308090b' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }
.choice input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }
.choice.compact label { padding: 15px 16px; }
.choice.compact label strong { font-size: 19px; margin: 0; }
.field-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .field-grid { grid-template-columns: 1fr 1fr; } .field-grid .full { grid-column: 1 / -1; } }
.field label, .field .label { display: block; font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); margin-bottom: 10px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line-strong); color: var(--text); border-radius: var(--radius);
  padding: 15px 16px; font: 400 16px/1.4 var(--f-body); transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4a853' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,168,83,.15); }
.field .err { display: none; color: var(--danger); font-size: 13px; margin-top: 7px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field.invalid .err { display: block; }
.choice-err { color: var(--danger); font-size: 13px; margin-top: 12px; display: none; }
.choice-err.show { display: block; }
.field .opt { margin-left: 8px; padding: 3px 6px; border: 1px solid var(--line-strong); font-size: 9.5px; letter-spacing: .12em; color: var(--muted); vertical-align: 1px; }
.field .hint { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
/* consent box: roomy, easy to tap, readable on every screen */
.field .consent {
  display: flex; gap: 16px; align-items: flex-start; margin: 10px 0 0; padding: 20px 22px;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); cursor: pointer;
  font: 400 15px/1.7 var(--f-body); letter-spacing: normal; text-transform: none; color: var(--text-2);
  transition: border-color .25s;
}
.field .consent:hover, .field .consent:has(input:checked) { border-color: var(--gold); }
.consent input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--gold); flex: none; cursor: pointer; }
.consent span { max-width: 62ch; }
.consent a { color: var(--gold-text); text-underline-offset: 3px; }
@media (max-width: 560px) { .field .consent { padding: 16px; gap: 14px; font-size: 14.5px; line-height: 1.65; } }
.qnav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.qnav .btn[hidden] { display: none; }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 18px; font-size: 15px; }
.form-status.error { color: var(--danger); }
.qdone { text-align: center; padding: clamp(40px, 7vw, 80px) clamp(24px, 4vw, 44px); display: none; scroll-margin-top: 100px; }
.qdone.show { display: block; animation: fadein .6s var(--ease); }
.qdone .seal { width: 84px; margin: 0 auto 22px; }
.qdone .tag { justify-content: center; }
.qdone .tag::before { display: none; }
.qdone h3 { font-size: clamp(36px, 4.4vw, 58px); margin: 14px 0 8px; text-wrap: balance; overflow-wrap: anywhere; }
.qdone p { color: var(--text-3); max-width: 50ch; margin: 0 auto 18px; }
.qdone p strong { color: var(--text); }
.qdone .qdone-lead { font-size: 19px; color: var(--text-2); margin-bottom: 26px; }
.qdone-ref { display: inline-grid; gap: 6px; margin: 0 auto 26px; padding: 16px 26px; border: 1px dashed var(--gold); background: rgba(212, 168, 83, .07); }
.qdone-ref small { font: 500 11px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.qdone-ref strong { font: 700 clamp(22px, 3vw, 30px)/1 var(--f-mono); letter-spacing: .06em; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.qdone-confirm { font-size: 15px; }
.qdone-urgent { margin: 30px auto 0; max-width: 520px; padding: 22px; border-top: 1px solid var(--line); }
.qdone-urgent p { margin-bottom: 16px; font-size: 15px; }
.qdone-urgent .btn-row { justify-content: center; }
.qdone-home { display: inline-block; margin-top: 26px; font: 500 12px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
[data-turnstile] { min-height: 90px; }

.brief { border: 1px solid var(--line); padding: 30px; background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
/* the whole sidebar follows the form on tall desktop screens (never overlaps itself) */
@media (min-width: 1000px) and (min-height: 940px) { .contact-grid > aside { position: sticky; top: 100px; } }
.brief h4 { font-size: 26px; margin: 12px 0 20px; }
.brief dl { margin: 0; display: grid; gap: 0; }
.brief dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px dashed var(--line-strong); font-size: 14.5px; }
.brief dt { font: 500 11px/1.6 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.brief dd { margin: 0; text-align: right; color: var(--text); }
.brief dd.empty { color: var(--muted-2); }
.direct { margin-top: 18px; display: grid; gap: 10px; }
.direct > * { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); text-decoration: none; transition: border-color .3s, background .3s; }
.direct a:hover { border-color: var(--gold); background: var(--bg-2); }
.direct svg { width: 22px; height: 22px; color: var(--gold-ink); flex: none; }
.direct small { display: block; font: 500 10.5px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.direct strong { font-weight: 600; word-break: break-word; }

/* ---------- prose (privacy) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 34px; margin: 46px 0 14px; }
.prose p, .prose li { color: var(--text-3); }
.prose a { color: var(--gold-text); }
.prose ul { padding-left: 22px; margin: 0 0 1em; display: grid; gap: 10px; }
.prose li::marker { color: var(--gold-ink); }
.prose strong { color: var(--text); font-weight: 600; }
.updated { font: 500 12px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 10px; }
.toc a { font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding: 10px 12px; border: 1px solid var(--line-strong); color: var(--text-2); }
.toc a:hover { border-color: var(--gold); color: var(--gold-ink); }
.prose h2[id] { scroll-margin-top: 100px; }
.facts { margin: 0 0 22px; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 500 11px/1.9 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.facts div[hidden] { display: none; }
@media (max-width: 480px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 80px 0 120px; background: var(--bg); position: relative; overflow: hidden; }
@media (min-width: 980px) { .site-footer { padding-bottom: 40px; } }
.foot-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot-grid h5 { font: 500 11px var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 18px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-grid a { text-decoration: none; color: var(--text-2); transition: color .2s; }
.foot-grid a:hover { color: var(--gold-bright); }
.foot-brand p { color: var(--muted); font-size: 15px; max-width: 34ch; margin-top: 18px; }
.foot-mega { font: 800 clamp(70px, 17vw, 260px)/.8 var(--f-display); text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px var(--gold-ink); opacity: .28; white-space: nowrap; margin: 70px 0 30px; text-align: center; user-select: none; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font: 400 12.5px/1.7 var(--f-mono); color: var(--muted-2); border-top: 1px solid var(--line); padding-top: 26px; }
.legal a { color: var(--muted); }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* mobile sticky action bar */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.4fr; background: rgba(var(--bg-rgb), .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px; transform: translateY(110%); transition: transform .45s var(--ease); }
.action-bar.show { transform: none; }
.action-bar .btn { justify-content: center; padding: 15px 12px; }
@media (min-width: 980px) { .action-bar { display: none; } }

/* ---------- WhatsApp chat button ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 41;
  display: flex; align-items: center; height: 58px; min-width: 58px; padding: 0 17px; gap: 0;
  border-radius: 999px; background: #25d366; color: #fff; text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 0 0 0 rgba(37, 211, 102, .5);
  transition: transform .45s var(--ease), gap .4s var(--ease), opacity .3s;
  animation: wa-ping 3.2s 2s infinite;
}
.wa-float svg { width: 25px; height: 25px; flex: none; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; font: 600 13px/1 var(--f-mono); letter-spacing: .06em; transition: max-width .45s var(--ease); }
.wa-float:hover, .wa-float:focus-visible { gap: 10px; }
.wa-float:hover span, .wa-float:focus-visible span { max-width: 180px; }
.wa-float:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@keyframes wa-ping {
  0%, 70% { box-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 0 0 0 rgba(37, 211, 102, .5); }
  100% { box-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 0 0 16px rgba(37, 211, 102, 0); }
}
.menu-open .wa-float { opacity: 0; pointer-events: none; }
/* phones & tablets: smaller, and lifted above the Call / Quote bar when it appears */
@media (max-width: 979px) {
  .wa-float { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); height: 54px; min-width: 54px; padding: 0 15px; }
  .action-bar.show ~ .wa-float { transform: translateY(-72px); }
}

/* ---------- phone spacing tune-ups ---------- */
@media (max-width: 560px) {
  .tag { letter-spacing: .12em; line-height: 1.5; }
  .cta-band .tag { justify-content: center; }
  .scope { width: calc(100% - 16px); }                       /* keep the gold corners off the screen edge */
  .split-media .badge { right: 12px; bottom: 24px; max-width: 200px; padding: 16px 18px; font-size: 21px; }
  .sector { padding: 26px 22px 24px; }
  .sector svg { margin-bottom: 22px; }
  .sector .idx { top: 26px; right: 22px; }
  .standard { padding: 26px 22px; }
  .standard .n { font-size: 46px; margin-bottom: 12px; }
  .shift-steps .t { margin-bottom: 6px; }
  .shift-steps h4 { margin-bottom: 8px; }
  .founder { padding: 26px 22px; }
  .svc-body { padding: 26px 22px; }
  .svc-num { left: 22px; }
  .points li { grid-template-columns: 46px 1fr; gap: 14px; }
  .points .ic { width: 46px; height: 46px; }
  .faq summary { padding: 22px 0; }
  .direct > * { padding: 16px; }
  .brief { padding: 24px 20px; }
  .qpanel { padding: 22px 18px; }
  .choice-grid { grid-template-columns: 1fr; }
}

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero h1 .line > span { transform: none; }
  .reveal { opacity: 1; transform: none; }
}
