/* ==========================================================================
   Opigystix: site styles
   Deep red (Grant's shirt), near-black circuit boards, white pages.
   ========================================================================== */

@property --a {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

:root {
  --red: #a3101c;
  --red-deep: #6b0a12;
  --red-hot: #e3192a;
  --red-bright: #ff3d4c;
  --red-tint: #fbeced;
  --ink: #151012;
  --ink-2: #2b2426;
  --muted: #625a5c;
  --line: #e9e1e0;
  --paper: #f7f3f2;
  --bg: #ffffff;
  --night: #0c0809;
  --night-2: #170e10;
  --night-line: rgba(255, 255, 255, 0.1);

  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;
  --font-logo: "Orbitron", "Unbounded", sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 16px;
  --header-h: 78px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 70px); overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, canvas, iframe { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red-hot); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.small { font-size: 0.88rem; }
.muted { color: var(--muted); }

.ico { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico .fill { fill: currentColor; stroke: none; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--red-hot); box-shadow: 0 0 10px var(--red-hot); }
.eyebrow.red { color: var(--red); }
.eyebrow .ico { font-size: 1.1em; stroke-width: 2.4; }
.eyebrow:has(.ico)::before { display: none; }

.display, .h2 {
  font-family: var(--font-display); font-weight: 800;
  letter-spacing: -0.02em; text-wrap: balance;
}
.display { font-size: clamp(2.4rem, 6.2vw, 5rem); line-height: 1; }
.h2 { font-size: clamp(1.9rem, 4.2vw, 3.4rem); line-height: 1.05; margin-bottom: 20px; }
.h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.7rem); letter-spacing: -0.01em; margin-bottom: 8px; }
.hot { color: var(--red); }
.dark .hot { color: var(--red-bright); text-shadow: 0 0 24px rgba(255, 40, 60, 0.45); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.6; max-width: 46ch; color: rgba(255, 255, 255, 0.78); }
.lede.dark-text { color: var(--muted); }
.prose .big { font-size: 1.25rem; font-weight: 600; color: var(--ink); line-height: 1.5; }
.prose p { color: var(--muted); max-width: 60ch; }
.prose b { color: var(--ink); }

/* Split headings: words rise in */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%) skewY(6deg); transition: transform 0.8s var(--ease-out); transition-delay: calc(var(--wi) * 45ms); }
[data-split].in .w > span { transform: none; }

/* ---------- Buttons ---------- */
.btn {
  --bh: 50px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--bh); padding: 0 24px;
  border: 2px solid transparent; border-radius: 999px; background: transparent;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease-back), background 0.2s, color 0.2s, box-shadow 0.25s, border-color 0.2s;
}
.btn .ico { font-size: 1.15em; stroke-width: 2.4; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-lg { --bh: 60px; padding: 0 30px; font-size: 1rem; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 24px -8px rgba(163, 16, 28, 0.7); }
.btn-red:hover { background: var(--red-hot); box-shadow: 0 12px 34px -8px rgba(227, 25, 42, 0.85), 0 0 0 4px rgba(227, 25, 42, 0.18); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5); }
.btn-outline-white { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.btn-outline-white:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); }
.btn .arrow, .text-link .arrow { transition: transform 0.25s var(--ease-back); }
.btn:hover .arrow, .text-link:hover .arrow { transform: translateX(4px); }

/* Electric shimmer across a button */
.btn-zap { overflow: hidden; isolation: isolate; }
.btn-zap::after {
  content: ""; position: absolute; inset: -2px; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.55) 48%, transparent 60%);
  transform: translateX(-120%);
  animation: shimmer 3.6s 2.2s infinite;
}
@keyframes shimmer { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  color: var(--red); text-decoration: none; white-space: nowrap;
  border-bottom: 2px solid currentColor; padding-bottom: 2px;
}
.text-link:hover { color: var(--red-hot); }

/* Electric current running around a card border on hover */
.zap { position: relative; isolation: isolate; }
.zap::before {
  content: ""; position: absolute; inset: -1px; z-index: 2; pointer-events: none;
  border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--a), transparent 0 62%, rgba(227, 25, 42, 0.3) 74%, var(--red-hot) 86%, #fff 89%, transparent 91%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0; transition: opacity 0.3s;
}
.zap:hover::before, .zap:focus-visible::before { opacity: 1; animation: spin 1.4s linear infinite; }
@keyframes spin { to { --a: 360deg; } }

/* ---------- Logo ---------- */
.logo { display: block; flex: none; line-height: 0; transition: filter 0.25s; }
/* Same widths as the earlier text logo: 156px, 130px on tablets. */
.logo img { width: 156px; max-width: 100%; height: auto; }
.logo:hover { filter: drop-shadow(0 0 10px rgba(227, 25, 42, 0.45)); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.35); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  position: relative; padding: 10px 14px;
  font-weight: 700; font-size: 0.95rem; text-decoration: none; color: var(--ink-2);
  border-radius: 8px;
}
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px;
  background: var(--red-hot); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease-out);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--red); }
.nav-mail {
  display: inline-flex; align-items: center; gap: 8px; margin-left: 12px; padding: 10px 4px;
  font-weight: 600; font-size: 0.92rem; color: var(--muted); text-decoration: none;
}
.nav-mail .ico { font-size: 1.15rem; color: var(--red); }
.nav-mail:hover { color: var(--red); }

.header-cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 20px 8px 8px; border-radius: 999px;
  background: var(--red); color: #fff; text-decoration: none;
  box-shadow: 0 10px 26px -12px rgba(163, 16, 28, 0.9);
  transition: background 0.2s, transform 0.25s var(--ease-back), box-shadow 0.25s;
}
.header-cta:hover { background: var(--red-hot); transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(227, 25, 42, 0.9); }
.header-cta .ring {
  position: relative; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--red);
}
.header-cta .ring .ico { font-size: 1.2rem; stroke-width: 2.3; animation: ring 4s 1s infinite; }
.header-cta .ring::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid #fff; opacity: 0; animation: ping 4s 1s infinite; }
.header-cta .label { display: flex; flex-direction: column; line-height: 1.15; }
.header-cta small { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.header-cta b { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; letter-spacing: 0.01em; }
@keyframes ring {
  0%, 12%, 100% { transform: rotate(0); }
  2%, 6%, 10% { transform: rotate(-16deg); }
  4%, 8% { transform: rotate(16deg); }
}
@keyframes ping { 0% { opacity: 0.8; transform: scale(1); } 20%, 100% { opacity: 0; transform: scale(1.6); } }

.menu-toggle { display: none; }

@media (max-width: 1180px) {
  .nav-mail span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav-mail { margin-left: 4px; padding: 10px; }
  .header-inner { gap: 16px; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .logo img { width: 130px; }
  .header-inner { gap: 10px; }
  .header-cta { margin-left: auto; padding: 5px 14px 5px 5px; gap: 8px; }
  .header-cta .ring { width: 36px; height: 36px; }
  .header-cta small { font-size: 0.6rem; }
  .header-cta b { font-size: 0.9rem; }
  .menu-toggle {
    display: grid; place-items: center; width: 46px; height: 46px; flex: none;
    border: 0; border-radius: 12px; background: var(--paper); cursor: pointer;
  }
  .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
    display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--ink); position: relative; transition: transform 0.3s var(--ease-out), background 0.2s;
  }
  .menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
  .menu-toggle span::before { top: -6px; }
  .menu-toggle span::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] span { background: transparent; }
  .menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: 10px var(--gutter) 22px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(0, 0, 0, 0.35);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.3s var(--ease-out), visibility 0.2s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav-link { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-link::after { left: 4px; right: auto; width: 30px; bottom: 8px; }
  .nav-mail { margin: 10px 0 0; padding: 12px 4px; }
  .nav-mail span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}
/* Phones: the call button moves to its own row under the logo. */
@media (max-width: 440px) {
  :root { --header-h: 112px; }
  .header-inner { flex-wrap: wrap; gap: 8px 10px; min-height: 0; padding-block: 8px 10px; }
  .logo img { width: 170px; }
  .menu-toggle { order: 2; margin-left: auto; width: 42px; height: 42px; }
  .header-cta { order: 3; width: 100%; margin: 0; justify-content: center; padding: 4px 16px 4px 4px; }
  .header-cta .ring { width: 34px; height: 34px; }
  .header-cta .label { flex-direction: row; align-items: baseline; gap: 10px; }
  .header-cta small { font-size: 0.62rem; letter-spacing: 0.05em; white-space: nowrap; }
  .header-cta b { font-size: 0.92rem; white-space: nowrap; }
}
@media (max-width: 360px) {
  .header-cta small { display: none; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 136px); position: relative; }
.section.tight { padding-block: clamp(48px, 6vw, 80px); }
.paper { background: var(--paper); }
.dark { background: var(--night); color: #fff; }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); max-width: 820px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.section-head.row .h2 { margin-bottom: 0; }

/* Reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal-group] > * { opacity: 0; }
.js [data-reveal-group].in > * { opacity: 1; animation: groupIn 0.8s var(--ease-back) backwards; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes groupIn { from { opacity: 0; transform: translateY(40px) scale(0.97); } }

/* ---------- Circuit canvas ---------- */
.circuit { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.dark > .container { position: relative; z-index: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(calc(100svh - var(--header-h)), 900px);
  display: flex; align-items: center;
  padding: clamp(64px, 9vw, 110px) 0 clamp(96px, 11vw, 140px);
  background:
    radial-gradient(ellipse 60% 70% at 78% 45%, rgba(120, 10, 22, 0.55), transparent 70%),
    radial-gradient(ellipse 90% 80% at 20% 100%, rgba(80, 6, 14, 0.5), transparent 70%),
    var(--night);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(12, 8, 9, 0.9) 0%, rgba(12, 8, 9, 0.62) 38%, rgba(12, 8, 9, 0) 68%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: #fff; opacity: 0;
}
.hero.flash::after { animation: flash 0.5s ease-out; }
@keyframes flash { 0% { opacity: 0.22; } 100% { opacity: 0; } }
.hero-inner { position: relative; z-index: 2; pointer-events: none; }
.hero-inner a, .hero-inner button { pointer-events: auto; }
.hero .eyebrow { color: rgba(255, 255, 255, 0.85); }

.hero-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.015em; margin-bottom: 26px; }
.hero-title .line { display: block; overflow: hidden; font-size: clamp(1.45rem, 3.9vw, 3.3rem); line-height: 1.08; padding-bottom: 0.04em; }
.hero-title .line > span { display: inline-block; }
.ever {
  position: relative; display: inline-block;
  margin-top: 0.04em; margin-left: -0.04em;
  font-size: clamp(5.2rem, 19vw, 14rem); font-weight: 900; line-height: 0.86; letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.5), 0 0 26px rgba(255, 40, 60, 0.85), 0 0 80px rgba(227, 25, 42, 0.55);
  animation: slam 0.9s 0.95s var(--ease-back) both, hum 7s 2.6s infinite;
}
.ever::before, .ever::after {
  content: attr(data-text); position: absolute; inset: 0;
  pointer-events: none; opacity: 0;
}
.ever::before { color: var(--red-bright); transform: translate(-0.035em, 0.01em); mix-blend-mode: screen; }
.ever::after { color: #8af; transform: translate(0.03em, -0.01em); mix-blend-mode: screen; }
.ever { transition: filter 0.12s; }
.ever.surge { filter: brightness(1.45) drop-shadow(0 0 24px rgba(255, 60, 80, 0.8)); }
.ever.surge::before, .ever.surge::after { animation: glitch 0.6s steps(3, end); }
@keyframes slam {
  0% { opacity: 0; transform: scale(2.6) translateY(-6%); filter: blur(14px); }
  55% { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: none; }
}
@keyframes hum {
  0%, 91%, 100% { opacity: 1; }
  92% { opacity: 0.55; }
  93% { opacity: 1; }
  95% { opacity: 0.7; }
  96% { opacity: 1; }
}
@keyframes glitch {
  0% { opacity: 0.9; clip-path: inset(10% 0 60% 0); }
  33% { opacity: 0.9; clip-path: inset(55% 0 12% 0); }
  66% { opacity: 0.7; clip-path: inset(30% 0 40% 0); }
  100% { opacity: 0; clip-path: inset(0); }
}

.hero-in { opacity: 0; transform: translateY(28px); animation: rise 0.9s var(--ease-out) both; animation-delay: calc(var(--d) * 110ms + 150ms); }
.hero-title .line > .hero-in { transform: translateY(105%); }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero-inner { animation: shake 0.45s 1.45s both; }
@keyframes shake {
  0%, 100% { transform: none; }
  15% { transform: translate(-6px, 3px); }
  30% { transform: translate(5px, -3px); }
  45% { transform: translate(-3px, 2px); }
  60% { transform: translate(2px, -1px); }
  80% { transform: translate(-1px, 0); }
}

.hero .lede { margin-bottom: 34px; }
.hero .lede b { color: #fff; text-transform: uppercase; font-weight: 800; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 40px 0 0; padding: 0; list-style: none; }
.hero-proof li { display: inline-flex; align-items: center; gap: 10px; font-size: 0.95rem; color: rgba(255, 255, 255, 0.72); }
.hero-proof .ico { font-size: 1.25rem; color: var(--red-bright); stroke-width: 2.2; }
.hero-proof b { color: #fff; font-weight: 800; }
.hero-hint {
  position: absolute; right: var(--gutter); top: 26px; z-index: 2; margin: 0;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  animation: rise 1s 2.6s both;
}
.hero-hint::after { content: "_"; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 700px) {
  .hero { align-items: flex-end; min-height: 0; }
  .hero::before { background: linear-gradient(180deg, rgba(12, 8, 9, 0.35) 0%, rgba(12, 8, 9, 0.75) 45%, rgba(12, 8, 9, 0.92) 100%); }
  .hero-hint { display: none; }
  .hero .btn-lg { width: 100%; }
}

/* ---------- Ticker ---------- */
.ticker {
  position: relative; z-index: 5;
  width: calc(100% + 60px); margin: -34px 0 0 -30px;
  transform: rotate(-1.6deg);
  background: var(--red); color: #fff;
  box-shadow: 0 18px 40px -20px rgba(107, 10, 18, 0.9);
  overflow: hidden;
}
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-set { display: flex; align-items: center; flex: none; }
.ticker-set span {
  display: inline-flex; align-items: center; gap: 16px; padding: 18px 0 18px 16px;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  text-transform: uppercase; letter-spacing: 0.01em; white-space: nowrap;
}
.ticker-set span .ico { color: #ffd2d6; stroke-width: 2.4; fill: rgba(255, 255, 255, 0.15); }
.ticker-set .ticker-lead {
  background: var(--ink); padding: 18px 26px; margin-left: 16px;
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Why ---------- */
.why { padding-top: clamp(96px, 12vw, 160px); }
.why-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.stat-card {
  position: relative; overflow: hidden;
  padding: clamp(30px, 4vw, 48px); border-radius: 24px;
  background: var(--night); color: #fff;
  box-shadow: 0 40px 80px -40px rgba(107, 10, 18, 0.8);
}
.stat-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(227, 25, 42, 0.45), transparent 60%);
}
.stat-card > * { position: relative; }
.stat { display: flex; align-items: baseline; gap: 14px; margin: 0 0 8px; font-family: var(--font-display); font-weight: 900; line-height: 0.9; }
.stat span { font-size: clamp(4.5rem, 9vw, 7rem); color: var(--red-bright); text-shadow: 0 0 30px rgba(255, 40, 60, 0.5); }
.stat small { font-size: 1.2rem; font-weight: 700; color: rgba(255, 255, 255, 0.7); text-transform: uppercase; }
.stat-label { font-size: 1.2rem; font-weight: 700; margin-bottom: 18px; }
.stat-q { color: rgba(255, 255, 255, 0.7); margin-bottom: 26px; }
.stat-bars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.stat-bars i { height: 12px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); }
.stat-bars i.on { background: var(--red-hot); box-shadow: 0 0 16px rgba(227, 25, 42, 0.8); }
.stat-card.in .stat-bars i.on { animation: barOn 1.2s steps(6) both; }
.stat-card.in .stat-bars i.on + i.on { animation-delay: 0.25s; }
@keyframes barOn { 0% { background: rgba(255, 255, 255, 0.12); box-shadow: none; } 30% { background: var(--red-hot); } 45% { background: rgba(255, 255, 255, 0.12); } 100% { background: var(--red-hot); } }

/* ---------- Benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit {
  padding: 32px 30px 30px; border-radius: 20px;
  background: #fff; border: 1px solid var(--line);
  transition: transform 0.35s var(--ease-back), box-shadow 0.35s, opacity 0.6s var(--ease-out);
}
.benefit:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(107, 10, 18, 0.45); }
.benefit-icon {
  display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 22px;
  border-radius: 18px; background: var(--red); color: #fff;
  box-shadow: 0 12px 24px -12px rgba(163, 16, 28, 0.9);
  transition: transform 0.4s var(--ease-back), background 0.2s;
}
.benefit-icon .ico { font-size: 2rem; stroke-width: 2.2; }
.benefit:hover .benefit-icon { transform: rotate(-8deg) scale(1.08); background: var(--ink); }
.benefit:hover .benefit-icon .ico { animation: fizz 0.5s steps(2) 2; color: var(--red-bright); }
.benefit h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; margin-bottom: 10px; }
.benefit p { margin: 0; color: var(--muted); }
@keyframes fizz { 0% { opacity: 1; } 50% { opacity: 0.35; } 100% { opacity: 1; } }

/* ---------- Values ---------- */
.values { overflow: hidden; }
.values .circuit { opacity: 0.6; }
.values-top { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px, 5vw, 70px); align-items: center; margin-bottom: 56px; }
.grant {
  position: relative; overflow: hidden;
  padding: clamp(30px, 4vw, 44px); border-radius: 24px;
  background: linear-gradient(140deg, var(--red-hot), var(--red) 45%, var(--red-deep));
  box-shadow: 0 40px 80px -30px rgba(227, 25, 42, 0.55);
}
.grant::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 14px);
}
.grant > * { position: relative; z-index: 1; }
.grant-kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.grant-kicker .ico { font-size: 1.3rem; }
.grant h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.1; margin-bottom: 14px; max-width: 16ch; }
.grant p { color: rgba(255, 255, 255, 0.88); max-width: 34ch; }
.grant .btn-red { background: #fff; color: var(--red); box-shadow: none; }
.grant .btn-red:hover { background: var(--ink); color: #fff; }
.stamp {
  position: absolute !important; right: 22px; bottom: 26px; z-index: 2;
  padding: 10px 14px; border: 3px solid rgba(255, 255, 255, 0.9); border-radius: 8px;
  font-family: var(--font-display); font-weight: 900; font-size: 0.85rem; line-height: 1.1; text-transform: uppercase; text-align: center;
  color: #fff; transform: rotate(-12deg); opacity: 0;
}
.grant.in .stamp { animation: stamp 0.5s 0.9s var(--ease-back) both; }
@keyframes stamp { 0% { opacity: 0; transform: rotate(-12deg) scale(3); } 100% { opacity: 0.92; transform: rotate(-12deg) scale(1); } }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value {
  padding: 28px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.035); border: 1px solid var(--night-line);
  backdrop-filter: blur(3px);
  transition: background 0.3s, transform 0.35s var(--ease-back), opacity 0.6s var(--ease-out);
}
.value:hover { background: rgba(255, 255, 255, 0.07); transform: translateY(-4px); }
.value-no { position: absolute; top: 24px; right: 26px; font-family: var(--font-mono); font-size: 0.8rem; color: rgba(255, 255, 255, 0.35); }
.value-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 14px; background: rgba(227, 25, 42, 0.14); color: var(--red-bright); border: 1px solid rgba(255, 61, 76, 0.35); }
.value-icon .ico { font-size: 1.6rem; stroke-width: 2.2; }
.value h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: 8px; }
.value p { margin: 0; color: rgba(255, 255, 255, 0.66); font-size: 0.98rem; }

/* ---------- Service tiles (home) ---------- */
.svc-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc-tile {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 22px 18px 18px; border-radius: 18px;
  border: 1px solid var(--line); background: #fff;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, transform 0.35s var(--ease-back), opacity 0.6s var(--ease-out);
}
.svc-tile-icon { display: grid; place-items: center; width: 60px; height: 60px; flex: none; border-radius: 16px; background: var(--red); color: #fff; transition: background 0.25s, box-shadow 0.25s; }
.svc-tile-icon .ico { font-size: 1.85rem; stroke-width: 2.2; }
.svc-tile-text { display: flex; flex-direction: column; flex: 1; line-height: 1.25; }
.svc-tile-text b { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; }
.svc-tile-text small { color: var(--muted); font-size: 0.85rem; margin-top: 4px; }
.svc-tile .arrow { font-size: 1.3rem; color: var(--red); transition: transform 0.3s var(--ease-back); }
.svc-tile:hover { background: var(--night); color: #fff; transform: translateY(-3px); }
.svc-tile:hover small { color: rgba(255, 255, 255, 0.6); }
.svc-tile:hover .svc-tile-icon { background: var(--red-hot); box-shadow: 0 0 28px rgba(227, 25, 42, 0.7); }
.svc-tile:hover .arrow { transform: translateX(5px); color: var(--red-bright); }

/* ---------- Have you considered? ---------- */
.questions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; }
.questions a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line);
  font-weight: 700; text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.3s var(--ease-back), border-color 0.2s;
}
.q-to { flex: none; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red); white-space: nowrap; }
.questions a:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateX(6px); }
.questions a:hover .q-to { color: #ffd2d6; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 2px, transparent 2px 16px),
    linear-gradient(120deg, var(--red-hot), var(--red) 40%, var(--red-deep));
  color: #fff;
  padding-block: clamp(56px, 7vw, 92px);
}
.cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta .kicker { margin: 0 0 6px; font-family: var(--font-mono); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.85; }
.cta .h2 { margin: 0; font-size: clamp(2.2rem, 5.4vw, 4.2rem); text-transform: uppercase; }
.cta .hot { color: #fff; text-shadow: 0 0 30px rgba(255, 255, 255, 0.55); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--night); color: rgba(255, 255, 255, 0.72); padding: 72px 0 28px; font-size: 0.95rem; }
.footer-wire { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: rgba(227, 25, 42, 0.35); overflow: hidden; }
.footer-wire span { position: absolute; top: -1px; left: 0; width: 180px; height: 4px; background: linear-gradient(90deg, transparent, var(--red-hot), #fff); box-shadow: 0 0 14px var(--red-hot); animation: wire 4.5s linear infinite; }
@keyframes wire { from { transform: translateX(-200px); } to { transform: translateX(100vw); } }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 0.6fr 1.25fr; gap: 40px; }
.site-footer h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: #fff; }
.site-footer h2 .ico { color: var(--red-bright); font-size: 1.3rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-brand .logo { display: inline-block; margin-bottom: 20px; }
.payoff { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; line-height: 1.3; color: #fff; text-transform: uppercase; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--night-line); transition: background 0.2s, border-color 0.2s, transform 0.25s var(--ease-back); }
.social a:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }
.social .ico { font-size: 1.25rem; }
.contact-list a, .contact-list .static { display: flex; align-items: center; gap: 12px; }
.contact-list .ico { font-size: 1.15rem; flex: none; color: var(--red-bright); }
.contact-list a > span, .contact-list .static > span { display: flex; flex-direction: column; line-height: 1.3; color: #fff; font-weight: 600; }
.contact-list small { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.offers p { margin-bottom: 16px; }
.offers-row { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--night-line); }
.offers-row:focus-within { border-color: var(--red-hot); }
.offers-row input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; padding: 0 14px; font: inherit; outline: none; }
.offers-row input::placeholder { color: rgba(255, 255, 255, 0.4); }
.offers-row .btn { --bh: 44px; padding: 0 18px; font-size: 0.85rem; }
.offers .form-note { margin: 8px 0 0; font-size: 0.85rem; color: #ffb3ba; min-height: 1em; }
.offers .form-success { display: none; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 14px; background: rgba(227, 25, 42, 0.15); color: #fff; font-weight: 600; }
.offers .form-success.show { display: flex; }
.offers .form-success .ico { color: var(--red-bright); font-size: 1.3rem; stroke-width: 3; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 30px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--night-line); font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Forms ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 0.88rem; color: var(--ink-2); }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border: 1.5px solid #dcd2d1; border-radius: 12px; background: #fff;
  font: inherit; font-size: 1rem; color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select {
  appearance: none; padding-right: 44px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3101c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(163, 16, 28, 0.14); }
.field .err { display: none; font-size: 0.82rem; font-weight: 600; color: var(--red-hot); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red-hot); }
.field.invalid .err { display: block; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; margin-top: 22px; }
.form-actions .btn { min-width: 240px; }
.form-note { margin: 0; font-weight: 600; color: var(--red-hot); }
.privacy { margin: 16px 0 0; font-size: 0.82rem; color: var(--muted); }
.form button[disabled] { opacity: 0.7; cursor: progress; }
.form button[disabled] .ico { animation: fizz 0.4s steps(2) infinite; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; animation: zapIn 0.6s var(--ease-back); }
.form-success h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; margin-bottom: 8px; }
.form-success p { color: var(--muted); }
.form-success a { color: var(--red); font-weight: 700; }
.tick { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 0 0 10px var(--red-tint), 0 16px 40px -10px rgba(163, 16, 28, 0.8); }
.tick .ico { font-size: 2.2rem; stroke-width: 3; }

/* ---------- WhatsApp button (every page; above the callback button on the home page) ---------- */
.wa-fab {
  --wa-bottom: 20px;
  position: fixed; right: 20px; bottom: var(--wa-bottom); z-index: 50;
  display: flex; align-items: center; justify-content: flex-end;
  height: 58px; min-width: 58px; border-radius: 999px;
  background: #25d366; color: #fff; text-decoration: none;
  box-shadow: 0 14px 30px -10px rgba(18, 140, 70, 0.75);
  transform: translateY(calc(var(--wa-bottom) + 90px));
  transition: transform 0.6s var(--ease-back), background 0.2s;
}
.page-home .wa-fab { --wa-bottom: 88px; }
.wa-fab.show { transform: none; }
.at-footer .wa-fab.show { transform: translateY(calc(var(--wa-bottom) + 90px)); }
.wa-fab:hover { background: #1ebe5a; }
.wa-fab .ico { order: 2; width: 58px; height: 58px; padding: 13px; flex: none; stroke-width: 1.8; }
/* Desktop: a "Chat with us" pill. Phones and tablets (up to 1024px, iPad landscape): the round button only. */
.wa-label { order: 1; overflow: hidden; white-space: nowrap; padding-left: 20px; font-weight: 800; font-size: 0.92rem; }
@media (max-width: 1024px) {
  .wa-label { display: none; }
}
@media (max-width: 520px) {
  .wa-fab { right: 12px; --wa-bottom: 12px; height: 52px; min-width: 52px; }
  .page-home .wa-fab { --wa-bottom: 74px; }
  .wa-fab .ico { width: 52px; height: 52px; padding: 12px; }
}

/* ---------- Emergency popup ---------- */
.sos-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px 14px 16px; border: 0; border-radius: 999px;
  background: var(--red); color: #fff; cursor: pointer;
  font-weight: 700; font-size: 0.95rem;
  box-shadow: 0 18px 40px -12px rgba(163, 16, 28, 0.9);
  transform: translateY(140%); transition: transform 0.6s var(--ease-back), background 0.2s;
}
.sos-fab.show { transform: none; }
.at-footer .sos-fab.show { transform: translateY(160%); }
.sos-fab:hover { background: var(--red-hot); }
.sos-fab > .ico { position: relative; font-size: 1.4rem; fill: #fff; stroke: #fff; stroke-width: 1.5; animation: fizz 2.4s steps(2) infinite; }
.sos-fab b { font-weight: 800; }
.sos-pulse { position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--red-hot); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { opacity: 0.9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35, 1.7); } }
@media (max-width: 520px) {
  .sos-fab { right: 12px; bottom: 12px; padding: 12px 18px 12px 14px; font-size: 0.88rem; }
}

.sos {
  width: min(960px, calc(100% - 24px)); max-width: none; max-height: calc(100% - 24px);
  padding: 0; border: 0; border-radius: 26px; background: transparent; color: var(--ink);
  overflow: visible;
}
.sos::backdrop { background: rgba(12, 8, 9, 0.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sos[open] { animation: zapIn 0.55s var(--ease-back); }
.sos[open]::backdrop { animation: fade 0.3s ease-out; }
@keyframes zapIn { 0% { opacity: 0; transform: scale(0.86) translateY(20px); filter: brightness(2.2); } 60% { opacity: 1; filter: brightness(1.2); } 100% { transform: none; filter: none; } }
@keyframes fade { from { opacity: 0; } }
.sos-panel {
  position: relative; display: grid; grid-template-columns: 0.85fr 1.15fr;
  max-height: calc(100dvh - 24px); overflow: auto;
  border-radius: 26px; background: #fff;
  box-shadow: 0 0 0 2px var(--red-hot), 0 0 60px rgba(227, 25, 42, 0.5), 0 40px 100px -20px rgba(0, 0, 0, 0.8);
}
.sos-side {
  position: relative; overflow: hidden;
  padding: 44px 36px; color: #fff;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, var(--red-hot), var(--red) 45%, var(--red-deep));
  display: flex; flex-direction: column;
}
.sos-side > * { position: relative; z-index: 1; }
.sos-side .eyebrow { color: rgba(255, 255, 255, 0.9); }
.sos-side .eyebrow::before { background: #fff; box-shadow: 0 0 10px #fff; }
.sos-side h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 0.98; text-transform: uppercase; margin-bottom: 14px; }
.sos-side h2 span { display: block; font-size: 1.35em; text-shadow: 0 0 26px rgba(255, 255, 255, 0.6); }
.sos-sub { font-size: 1.15rem; font-weight: 700; opacity: 0.92; }
.sos-bolt {
  position: absolute !important; z-index: 0 !important; right: -70px; top: 34%; width: 240px; height: 240px;
  fill: rgba(255, 255, 255, 0.05); stroke: rgba(255, 255, 255, 0.4); stroke-width: 0.5; stroke-linejoin: round;
  stroke-dasharray: 80; stroke-dashoffset: 80;
}
.sos[open] .sos-bolt { animation: draw 1.2s 0.3s ease-out forwards, fizz 3s 1.6s steps(2) infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.sos-call { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 30px; color: #fff; text-decoration: none; }
.sos-call > .ico { display: grid; width: 52px; height: 52px; padding: 13px; border-radius: 50%; background: #fff; color: var(--red); stroke-width: 2.3; animation: ring 4s 1s infinite; }
.sos-call span { display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; line-height: 1.2; }
.sos-call small { font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.85; }
.sos-form { padding: 40px 40px 34px; }
.sos-close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer;
  transition: background 0.2s, transform 0.3s var(--ease-back);
}
.sos-close:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }
.sos-close .ico { font-size: 1.3rem; stroke-width: 2.5; }
@media (max-width: 760px) {
  .sos-panel { grid-template-columns: 1fr; }
  .sos-side { padding: 28px 24px 24px; }
  .sos-side h2 { font-size: 1.7rem; margin-bottom: 6px; }
  .sos-sub { margin-bottom: 0; }
  .sos-call { padding-top: 16px; }
  .sos-call > .ico { width: 44px; height: 44px; padding: 11px; }
  .sos-call span { font-size: 1.15rem; }
  .sos-bolt { width: 170px; height: 170px; right: -30px; bottom: -40px; }
  .sos-form { padding: 24px 20px 26px; }
  .sos-close { background: rgba(255, 255, 255, 0.92); }
  .form-grid { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
}
body.sos-open { overflow: hidden; }

/* ---------- Page head ---------- */
.page-head { position: relative; overflow: hidden; padding: clamp(76px, 10vw, 130px) 0 clamp(60px, 8vw, 100px); background: radial-gradient(ellipse 60% 90% at 85% 30%, rgba(120, 10, 22, 0.55), transparent 70%), var(--night); }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, rgba(12, 8, 9, 0.85) 0%, rgba(12, 8, 9, 0.45) 50%, transparent 80%); }
.page-head .container { pointer-events: none; }
.page-head .display { text-transform: uppercase; margin-bottom: 22px; max-width: 16ch; }
.page-head .lede { max-width: 56ch; margin: 0; }

/* ---------- Services page ---------- */
.svc-jump { position: sticky; top: var(--header-h); z-index: 40; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.svc-jump ul { display: flex; gap: 6px; margin: 0; padding: 12px 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.svc-jump ul::-webkit-scrollbar { display: none; }
.svc-jump a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--line); font-weight: 700; font-size: 0.86rem; white-space: nowrap; text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.svc-jump a .ico { color: var(--red); font-size: 1.1rem; stroke-width: 2.3; }
.svc-jump a:hover, .svc-jump a.active { background: var(--red); border-color: var(--red); color: #fff; }
.svc-jump a:hover .ico, .svc-jump a.active .ico { color: #fff; }

.acc-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.acc-tools p { margin: 0; font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.acc-tools b { color: var(--red); }
.accordion { display: grid; gap: 14px; }
.acc { border: 1px solid var(--line); border-radius: 22px; background: #fff; overflow: hidden; transition: border-color 0.3s, box-shadow 0.3s; }
.acc:hover { border-color: #d9cdcc; box-shadow: 0 24px 40px -32px rgba(107, 10, 18, 0.6); }
.acc[open] { border-color: var(--night); box-shadow: 0 40px 70px -40px rgba(107, 10, 18, 0.7); }
.acc summary {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 24px;
  padding: 22px 28px 22px 22px; cursor: pointer; list-style: none;
  transition: background 0.3s, color 0.3s;
}
.acc summary::-webkit-details-marker { display: none; }
.acc[open] summary { background: var(--night); color: #fff; }
.acc-icon {
  position: relative; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 22px;
  background: var(--red); color: #fff;
  box-shadow: 0 14px 28px -14px rgba(163, 16, 28, 0.9);
  transition: transform 0.45s var(--ease-back), background 0.3s, box-shadow 0.3s;
}
.acc-icon .ico { font-size: 2.6rem; stroke-width: 2; }
.acc summary:hover .acc-icon { transform: rotate(-6deg) scale(1.05); }
.acc[open] .acc-icon { background: var(--red-hot); box-shadow: 0 0 0 6px rgba(227, 25, 42, 0.2), 0 0 44px rgba(227, 25, 42, 0.75); }
.acc[open] .acc-icon .ico { animation: charge 0.8s steps(1); }
@keyframes charge { 0% { opacity: 0.2; } 15% { opacity: 1; } 30% { opacity: 0.3; } 45% { opacity: 1; } 60% { opacity: 0.6; } 75% { opacity: 1; } }
.acc-title { display: flex; flex-direction: column; min-width: 0; }
.acc-no { font-family: var(--font-mono); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; color: var(--red); }
.acc[open] .acc-no { color: var(--red-bright); }
.acc h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.2rem, 2.4vw, 1.75rem); letter-spacing: -0.01em; margin: 2px 0 6px; }
.acc-blurb { color: var(--muted); font-size: 0.98rem; line-height: 1.5; max-width: 70ch; }
.acc[open] .acc-blurb { color: rgba(255, 255, 255, 0.7); }
.acc-count {
  display: grid; place-items: center; min-width: 54px; height: 54px; padding: 0 10px; border-radius: 16px;
  border: 1px solid var(--line); font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
  position: relative;
}
.acc-count::after { content: "services"; position: absolute; top: 100%; margin-top: 4px; font-family: var(--font-mono); font-size: 0.6rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.acc[open] .acc-count { border-color: var(--night-line); }
.acc[open] .acc-count::after { color: rgba(255, 255, 255, 0.5); }
.acc-toggle { position: relative; width: 48px; height: 48px; border-radius: 50%; background: var(--paper); transition: background 0.3s, transform 0.5s var(--ease-back); }
.acc-toggle::before, .acc-toggle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 18px; height: 3px; margin: -1.5px 0 0 -9px; border-radius: 2px; background: var(--red); transition: transform 0.4s var(--ease-back), background 0.3s; }
.acc-toggle::after { transform: rotate(90deg); }
.acc summary:hover .acc-toggle { background: var(--red-tint); }
.acc[open] .acc-toggle { background: var(--red-hot); transform: rotate(180deg); }
.acc[open] .acc-toggle::before, .acc[open] .acc-toggle::after { background: #fff; }
.acc[open] .acc-toggle::after { transform: rotate(0deg); }

.acc::details-content { block-size: 0; overflow: hidden; transition: block-size 0.5s var(--ease-out), content-visibility 0.5s allow-discrete; }
.acc[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

.acc-body { padding: 28px; border-top: 3px solid var(--red-hot); background: linear-gradient(180deg, #fff, var(--paper)); }
.acc-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line);
  transition: transform 0.3s var(--ease-back), box-shadow 0.3s, border-color 0.3s;
}
.acc[open] .item { animation: itemIn 0.6s var(--ease-back) backwards; animation-delay: calc(var(--i) * 55ms + 120ms); }
@keyframes itemIn { from { opacity: 0; transform: translateY(24px) scale(0.96); } }
.item:hover { transform: translateY(-3px); border-color: rgba(163, 16, 28, 0.35); box-shadow: 0 20px 34px -24px rgba(107, 10, 18, 0.55); }
.item-icon { display: grid; place-items: center; width: 58px; height: 58px; flex: none; border-radius: 16px; background: var(--ink); color: var(--red-bright); transition: background 0.25s, color 0.25s, transform 0.35s var(--ease-back); }
.item-icon .ico { font-size: 1.85rem; stroke-width: 2.3; }
.item:hover .item-icon { background: var(--red); color: #fff; box-shadow: 0 0 24px rgba(227, 25, 42, 0.55); transform: scale(1.06) rotate(-5deg); }
.item h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin: 4px 0 8px; line-height: 1.25; }
.item p { margin: 0; color: var(--muted); font-size: 0.96rem; line-height: 1.6; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.form-card { position: relative; padding: clamp(26px, 4vw, 44px); border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgba(107, 10, 18, 0.6); margin-top: clamp(-90px, -6vw, -50px); z-index: 2; }
.form-card .h3 { margin-bottom: 26px; }
.contact-side { display: grid; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); text-decoration: none; background: #fff; transition: transform 0.3s var(--ease-back), border-color 0.2s, box-shadow 0.3s; }
a.contact-card:hover { transform: translateY(-3px); border-color: var(--red); box-shadow: 0 20px 34px -24px rgba(107, 10, 18, 0.55); }
.contact-card > span:last-child { display: flex; flex-direction: column; line-height: 1.4; color: var(--muted); }
.contact-card small { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.contact-card b { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); word-break: break-word; }
.cc-icon { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 14px; background: var(--red-tint); color: var(--red); }
.cc-icon .ico { font-size: 1.5rem; stroke-width: 2.2; }
.contact-card.big { background: var(--red); border-color: var(--red); color: #fff; padding: 22px; }
.contact-card.big small { color: rgba(255, 255, 255, 0.8); }
.contact-card.big b { color: #fff; font-size: 1.6rem; font-weight: 800; }
.contact-card.big .cc-icon { background: #fff; color: var(--red); width: 60px; height: 60px; border-radius: 50%; }
.contact-card.big .cc-icon .ico { animation: ring 4s 1s infinite; }
.contact-card.big:hover { background: var(--red-hot); border-color: var(--red-hot); }
.map { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--paper); }
.map iframe { width: 100%; height: 100%; border: 0; }
.contact-side > .text-link { justify-self: start; margin-top: 4px; }

/* ---------- Downloads ---------- */
.downloads { display: grid; gap: 12px; }
.dl { display: flex; align-items: center; gap: 22px; min-width: 0; padding: 18px 22px 18px 18px; border-radius: 20px; border: 1px solid var(--line); background: #fff; transition: transform 0.3s var(--ease-back), box-shadow 0.3s, opacity 0.6s var(--ease-out); }
.dl:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -30px rgba(107, 10, 18, 0.6); }
.dl-icon { display: grid; place-items: center; width: 62px; height: 62px; flex: none; border-radius: 16px; background: var(--paper); color: var(--ink); }
.dl-icon .ico { font-size: 1.7rem; stroke-width: 2.2; }
.dl.own .dl-icon { background: var(--night); }
.dl-icon .logo-o { font-family: var(--font-logo); font-weight: 900; font-size: 2rem; color: var(--red-bright); text-shadow: 0 0 16px rgba(255, 61, 76, 0.6); }
.dl-text { flex: 1; min-width: 0; }
.dl h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dl p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.badge { font-family: var(--font-mono); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: var(--red); color: #fff; }
.dl-meta { display: inline-block; margin-top: 8px; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.dl-actions { display: flex; gap: 10px; flex: none; }
.dl-actions .btn { --bh: 46px; padding: 0 20px; font-size: 0.85rem; }
.dl-note { margin-top: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .svc-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .why-grid, .values-top, .contact-grid { grid-template-columns: 1fr; }
  .benefits, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .acc-items { grid-template-columns: 1fr; }
  .form-card { margin-top: -40px; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .benefits, .values-grid, .svc-tiles, .questions { grid-template-columns: 1fr; }
  .section-head.row { flex-direction: column; align-items: flex-start; }
  .acc summary { grid-template-columns: auto 1fr auto; gap: 14px; padding: 16px; }
  .acc-icon { width: 60px; height: 60px; border-radius: 16px; }
  .acc-icon .ico { font-size: 1.9rem; }
  .acc-count { display: none; }
  .acc-blurb { display: none; }
  .acc-toggle { width: 40px; height: 40px; }
  .acc-body { padding: 16px; }
  .item { padding: 18px; gap: 14px; flex-direction: column; }
  .item h3 { margin-top: 0; }
  .item-icon { width: 50px; height: 50px; }
  .dl { flex-wrap: wrap; }
  .dl-actions { width: 100%; }
  .dl-actions .btn { flex: 1 1 0; min-width: 0; padding: 0 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .questions a { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (max-width: 480px) {
  .dl-actions { flex-direction: column; }
  .dl-actions .btn { flex: none; width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .ticker-track { animation: none; }
  .footer-wire span { display: none; }
}
