/* Fonts served with the site (latin subset), so no third-party request blocks the first paint. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 300 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("fonts/archivo-latin.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("fonts/jetbrains-mono-latin.woff2") format("woff2");
}

:root {
  --ink: #0b0c22;
  --ink-2: #121434;
  --steel: #1b1e47;
  --steel-2: #282c60;
  --line-dark: rgb(255 255 255 / 0.09);
  --paper: #f3f1ec;
  --paper-2: #e8e4dc;
  --white: #fff;
  --text: #12151a;
  --muted: #5a626d;
  --muted-dark: #a4adb9;
  --amber: #ffc21a;
  --amber-2: #ffad0d;
  --amber-ink: #1b1400;
  --spark: #7fd8ff;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 30px 60px -30px rgb(11 12 34 / 0.45);
  --display: "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --wrap: min(1240px, 100% - 40px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--display);
  font-variation-settings: "wdth" 100;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.04; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.i { width: 1.15em; height: 1.15em; flex: none; fill: none; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--amber); color: var(--amber-ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  white-space: nowrap;
}
.btn-lg { min-height: 58px; padding: 0 28px; font-size: 16px; }
.btn .i { width: 20px; height: 20px; }
.btn-amber { background: var(--amber); color: var(--amber-ink); box-shadow: 0 14px 34px -14px rgb(255 194 26 / 0.75); }
.btn-amber::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 0.65) 48%, transparent 66%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn-amber:hover { background: var(--amber-2); transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgb(255 173 13 / 0.85); }
.btn-amber:hover::after { transform: translateX(120%); }
.btn-ghost { color: var(--white); border: 1px solid rgb(255 255 255 / 0.22); background: rgb(255 255 255 / 0.04); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-ghost .i { transition: transform 0.25s var(--ease); }
.btn-ghost:hover .i { transform: translateX(4px); }
.btn-dark { background: var(--ink); color: var(--amber); }
.btn-dark:hover { transform: translateY(-2px); background: #000; }
.btn-outline-dark { border: 2px solid var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--amber); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--amber); color: var(--amber-ink); font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.topbar p { display: flex; align-items: center; gap: 8px; }
.topbar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber-ink); animation: blink 1.8s steps(2, start) infinite; }
.topbar .i { width: 15px; height: 15px; }

.header { position: sticky; top: 0; z-index: 50; background: rgb(11 12 34 / 0.82); backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line-dark); color: var(--white); }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--amber);
  color: var(--amber-ink);
  box-shadow: inset 0 -3px 0 rgb(0 0 0 / 0.18), 0 8px 22px -10px rgb(255 194 26 / 0.8);
}
.brand-mark .i { width: 24px; height: 24px; }
.brand-logo { display: block; width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 10px 24px -12px rgb(48 48 192 / 0.9); }
.brand-footer .brand-logo { width: 56px; height: 56px; border-radius: 14px; }
.brand-text { display: grid; line-height: 1; }
.brand-text strong { font-size: 24px; font-weight: 900; font-variation-settings: "wdth" 125; letter-spacing: 0.02em; }
.brand-text small { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; color: rgb(255 255 255 / 0.82); transition: color 0.2s, background 0.2s; }
.nav a:not(.btn):hover { color: var(--white); background: rgb(255 255 255 / 0.07); }
.nav-cta { margin-left: 10px; min-height: 44px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-dark); background: rgb(255 255 255 / 0.05); color: var(--white); place-items: center; cursor: pointer; }
.menu-btn .i { width: 22px; height: 22px; }
.menu-btn .i-close { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 78% 30%, rgb(255 194 26 / 0.13), transparent 60%),
    radial-gradient(700px 500px at 10% 100%, rgb(127 216 255 / 0.08), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--white);
  padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 8vw, 112px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 40% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-circuit { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.trace path { fill: none; stroke: rgb(255 255 255 / 0.12); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.pulse path { fill: none; stroke: var(--amber); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-dasharray: 60 1400; stroke-dashoffset: 1460; filter: drop-shadow(0 0 6px rgb(255 194 26 / 0.9)); animation: current 5.5s linear infinite; }
.pulse path:nth-child(2) { animation-delay: -2s; animation-duration: 6.5s; stroke: var(--spark); filter: drop-shadow(0 0 6px rgb(127 216 255 / 0.9)); }
.pulse path:nth-child(3) { animation-delay: -3.5s; animation-duration: 4.5s; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); }
.tick { width: 28px; height: 2px; background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.hero-title { font-size: inherit; font-weight: inherit; line-height: inherit; }
.display {
  display: block;
  margin-top: 22px;
  font-size: clamp(42px, 5.1vw, 76px);
  font-weight: 850;
  font-variation-settings: "wdth" 106;
  max-width: 11.5em;
  letter-spacing: -0.025em;
  line-height: 0.96;
}
.display em, h2 em { font-style: normal; color: var(--amber); position: relative; }
.display em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.04em;
  height: 0.09em;
  background: var(--amber);
  transform-origin: left;
  animation: underline 1s 0.9s var(--ease) both;
}
.lead { margin-top: 26px; max-width: 34em; font-size: clamp(17px, 1.35vw, 19.5px); color: rgb(255 255 255 / 0.76); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line-dark); font-size: 14.5px; font-weight: 600; color: rgb(255 255 255 / 0.85); }
.hero-proof li { display: inline-flex; align-items: center; gap: 9px; }
.hero-proof .i { color: var(--amber); width: 19px; height: 19px; }

.hero-media { position: relative; margin: 0; border-radius: 26px; }
.hero-photo { border-radius: 26px; overflow: hidden; animation: reveal-media 1.2s 0.2s var(--ease) both; }
.hero-media img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; filter: saturate(0.9) contrast(1.05); animation: kenburns 18s ease-in-out infinite alternate; }
.hero-media::after { content: ""; position: absolute; inset: 0; border-radius: 26px; background: linear-gradient(200deg, transparent 45%, rgb(11 12 34 / 0.65)); pointer-events: none; }
.corner { position: absolute; z-index: 2; width: 26px; height: 26px; border: 2px solid var(--amber); }
.corner.tl { top: -10px; left: -10px; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.corner.tr { top: -10px; right: -10px; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.corner.bl { bottom: -10px; left: -10px; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.corner.br { bottom: -10px; right: -10px; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.hero-media figcaption { position: absolute; z-index: 2; right: 16px; top: 16px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; background: rgb(11 12 34 / 0.6); color: rgb(255 255 255 / 0.75); backdrop-filter: blur(6px); }
.inspect {
  position: absolute;
  z-index: 3;
  left: -28px;
  bottom: 30px;
  width: min(270px, 70%);
  padding: 18px 20px;
  border-radius: 18px;
  background: rgb(18 22 29 / 0.82);
  border: 1px solid rgb(255 255 255 / 0.12);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.inspect-title { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-dark); }
.led { width: 9px; height: 9px; border-radius: 50%; background: #3df28c; box-shadow: 0 0 10px #3df28c; animation: blink 2.4s ease-in-out infinite; }
.inspect ol { display: grid; gap: 10px; margin-top: 14px; }
.inspect li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; opacity: 0; animation: checkIn 0.5s var(--ease) forwards; animation-delay: calc(1.2s + var(--d) * 0.45s); }
.inspect li .i { width: 22px; height: 22px; padding: 4px; border-radius: 7px; background: var(--amber); color: var(--amber-ink); }

/* ---------- Tape marquee ---------- */
.tape { background: var(--amber); color: var(--amber-ink); overflow: hidden; border-block: 3px solid var(--ink); position: relative; }
.tape::before, .tape::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 1; }
.tape::before { left: 0; background: linear-gradient(90deg, var(--amber), transparent); }
.tape::after { right: 0; background: linear-gradient(270deg, var(--amber), transparent); }
.tape-track { display: flex; align-items: center; gap: 22px; width: max-content; padding: 16px 0; animation: marquee 38s linear infinite; }
.tape-track span { font-weight: 850; font-variation-settings: "wdth" 118; text-transform: uppercase; font-size: 17px; letter-spacing: 0.04em; white-space: nowrap; }
.tape-track .i { width: 18px; height: 18px; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 9vw, 128px) 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.kicker-amber { color: var(--amber); }
.section h2 { margin-top: 16px; font-size: clamp(34px, 4.4vw, 60px); font-weight: 850; font-variation-settings: "wdth" 108; letter-spacing: -0.02em; }
.services h2 em, .works h2 em, .why h2 em, .steps h2 em, .faq h2 em { color: var(--text); background: linear-gradient(transparent 62%, rgb(255 194 26 / 0.85) 62%, rgb(255 194 26 / 0.85) 90%, transparent 90%); }
.section-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-lead { font-size: 18px; color: var(--muted); max-width: 36em; }

/* ---------- Services bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(250px, auto); gap: 18px; }
.card { position: relative; border-radius: var(--radius); overflow: hidden; isolation: isolate; }
.card-photo { min-height: 300px; display: flex; align-items: flex-end; color: var(--white); background: var(--ink); box-shadow: var(--shadow); }
.card-photo img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), filter 0.5s; filter: saturate(0.92); }
.card-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(11 12 34 / 0.08) 12%, rgb(11 12 34 / 0.5) 48%, rgb(11 12 34 / 0.92) 82%); transition: background 0.4s; }
.card-photo:hover img { transform: scale(1.06); filter: saturate(1.05); }
.card-photo video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.card-photo::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 3px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.card-photo:hover::after { transform: scaleX(1); }
.card-body { padding: 24px; }
.card-body h3 { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; font-variation-settings: "wdth" 106; margin-top: 10px; }
.card-body h3 .i { color: var(--amber); width: 24px; height: 24px; }
.card-body p:last-child { margin-top: 8px; font-size: 15px; color: rgb(255 255 255 / 0.78); max-width: 32em; }
.tag { display: inline-block; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; background: rgb(255 194 26 / 0.16); color: var(--amber); border: 1px solid rgb(255 194 26 / 0.35); }
.card-photo .tag { background: rgb(11 12 34 / 0.78); }
.card-photo img.focus-right { object-position: 78% 50%; }
.card-xl { grid-column: span 2; grid-row: span 2; }
.card-xl .card-body { padding: 32px; }
.card-xl h3 { font-size: clamp(26px, 2.6vw, 34px); }
.card-tall { grid-row: span 2; }
.card-mini { padding: 26px; background: var(--white); border: 1px solid var(--paper-2); display: flex; flex-direction: column; gap: 10px; transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s; }
.card-mini:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--amber); }
.mini-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: var(--amber); margin-bottom: 8px; }
.mini-icon .i { width: 26px; height: 26px; }
.card-mini h3 { font-size: 21px; font-weight: 800; font-variation-settings: "wdth" 106; }
.card-mini p { font-size: 15px; color: var(--muted); }
.card-cta {
  grid-column: span 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding: 36px 40px;
  background:
    repeating-linear-gradient(135deg, transparent 0 22px, rgb(27 20 0 / 0.06) 22px 44px),
    var(--amber);
  color: var(--amber-ink);
  box-shadow: 0 24px 50px -28px rgb(255 173 13 / 0.9);
}
.card-cta h3 { margin-top: 10px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 850; font-variation-settings: "wdth" 108; letter-spacing: -0.015em; max-width: 20em; }
.cta-kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.cta-kicker .i { width: 18px; height: 18px; }
.card-cta .btn { flex: none; }

/* ---------- Alerts ---------- */
.alerts { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.alerts::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 28px, rgb(255 194 26 / 0.035) 28px 56px); pointer-events: none; }
.alerts-grid { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.alerts-head { position: sticky; top: 120px; display: grid; gap: 22px; justify-items: start; }
.alerts h2 em, .area h2 em { color: var(--amber); }
.alerts .section-lead, .area .section-lead { color: rgb(255 255 255 / 0.7); }
.safety { display: flex; gap: 14px; padding: 18px 20px; border-radius: 16px; background: rgb(255 194 26 / 0.08); border: 1px solid rgb(255 194 26 / 0.3); font-size: 15px; color: rgb(255 255 255 / 0.85); }
.safety .i { color: var(--amber); width: 26px; height: 26px; margin-top: 1px; }
.safety strong { color: var(--white); }
.alert-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.alert-list li { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--radius); background: var(--steel); border: 1px solid var(--line-dark); transition: border-color 0.3s, transform 0.35s var(--ease), background 0.3s; }
.alert-list li:hover { border-color: rgb(255 194 26 / 0.6); transform: translateY(-3px); background: var(--steel-2); }
.alert-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(145deg, var(--amber), var(--amber-2)); color: var(--amber-ink); box-shadow: 0 10px 26px -12px rgb(255 194 26 / 0.9); }
.alert-icon .i { width: 25px; height: 25px; }
.alert-list h3 { font-size: 20px; font-weight: 800; font-variation-settings: "wdth" 106; }
.alert-list p { margin-top: 6px; font-size: 15px; color: rgb(255 255 255 / 0.68); }

/* ---------- Steps ---------- */
.step-list { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step-list::before { content: ""; position: absolute; left: 12%; right: 12%; top: 56px; height: 2px; background: linear-gradient(90deg, var(--amber) var(--wire, 0%), var(--paper-2) var(--wire, 0%)); transition: --wire 1.6s; }
.step { position: relative; padding: 28px 24px 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--paper-2); display: flex; flex-direction: column; gap: 12px; }
.step-num { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: var(--muted); }
.step-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--ink); color: var(--amber); box-shadow: 0 0 0 8px var(--white); }
.step-icon .i { width: 28px; height: 28px; }
.step h3 { margin-top: 8px; font-size: 21px; font-weight: 800; font-variation-settings: "wdth" 106; }
.step p { font-size: 15px; color: var(--muted); }
.step-list.wired::before { --wire: 100%; }

/* ---------- Why ---------- */
.why { background: var(--white); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.why-media { position: relative; margin: 0; }
.why-media img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow); }
.why-media::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1; border-radius: 26px; border: 2px solid var(--amber); }
.why-media figcaption { position: absolute; left: 16px; bottom: 16px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; background: rgb(11 12 34 / 0.6); color: rgb(255 255 255 / 0.8); }
.why-copy { display: grid; gap: 18px; justify-items: start; }
.checks { display: grid; gap: 14px; margin-top: 10px; width: 100%; }
.checks li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; background: var(--paper); border: 1px solid var(--paper-2); transition: border-color 0.3s, transform 0.35s var(--ease); }
.checks li:hover { border-color: var(--amber); transform: translateX(6px); }
.checks .i { width: 28px; height: 28px; padding: 5px; border-radius: 9px; background: var(--amber); color: var(--amber-ink); margin-top: 1px; }
.checks strong { display: block; font-size: 18px; font-weight: 800; font-variation-settings: "wdth" 104; }
.checks span { display: block; margin-top: 2px; font-size: 15px; color: var(--muted); }

/* ---------- Area ---------- */
.area { background: linear-gradient(160deg, var(--ink-2), var(--ink)); color: var(--white); overflow: hidden; }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.area-copy { display: grid; gap: 22px; justify-items: start; }
.area-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.area-tags li { padding: 9px 14px; border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.16); font-size: 14px; font-weight: 600; color: rgb(255 255 255 / 0.85); }
.radar { position: relative; aspect-ratio: 1; width: min(460px, 100%); margin-inline: auto; border-radius: 50%; background: radial-gradient(circle, rgb(255 194 26 / 0.1), transparent 70%); }
.ring { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px dashed rgb(255 255 255 / 0.18); }
.r1 { width: 34%; height: 34%; }
.r2 { width: 64%; height: 64%; }
.r3 { width: 96%; height: 96%; border-style: solid; border-color: rgb(255 194 26 / 0.35); }
.sweep { position: absolute; inset: 2%; border-radius: 50%; background: conic-gradient(from 0deg, rgb(255 194 26 / 0.35), transparent 28%); animation: spin 6s linear infinite; mask-image: radial-gradient(circle, #000 69%, transparent 70%); }
.radar-pin { position: absolute; left: 50%; top: 50%; translate: -50% -78%; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50% 50% 50% 8px; rotate: -45deg; background: var(--amber); color: var(--amber-ink); box-shadow: 0 18px 40px -12px rgb(255 194 26 / 0.9); }
.radar-pin .i { rotate: 45deg; width: 30px; height: 30px; }
.radar-label { position: absolute; left: 50%; top: 58%; translate: -50% 0; font-family: var(--mono); font-weight: 600; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; padding: 7px 12px; border-radius: 8px; background: rgb(11 12 34 / 0.8); border: 1px solid rgb(255 255 255 / 0.15); white-space: nowrap; }
.radar-ping { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--spark); box-shadow: 0 0 0 0 rgb(127 216 255 / 0.6); animation: ping 2.6s ease-out infinite; }
.p1 { left: 24%; top: 30%; }
.p2 { left: 72%; top: 38%; animation-delay: 0.9s; }
.p3 { left: 62%; top: 76%; animation-delay: 1.7s; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.faq-grid > div:first-child { position: sticky; top: 120px; display: grid; gap: 4px; }
.faq-grid .section-lead { margin-top: 14px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border-radius: 16px; background: var(--white); border: 1px solid var(--paper-2); transition: border-color 0.3s, box-shadow 0.3s; }
.faq-list details[open] { border-color: var(--amber); box-shadow: 0 20px 40px -28px rgb(11 12 34 / 0.4); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; cursor: pointer; font-size: 18.5px; font-weight: 750; font-variation-settings: "wdth" 104; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .i { width: 32px; height: 32px; padding: 6px; border-radius: 10px; background: var(--paper); transition: rotate 0.3s var(--ease), background 0.3s; }
.faq-list details[open] summary .i { rotate: 45deg; background: var(--amber); }
.faq-list details p { padding: 0 24px 22px; color: var(--muted); font-size: 16px; max-width: 40em; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--amber); color: var(--amber-ink); padding: clamp(80px, 9vw, 120px) 0; }
.cta-circuit { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta .trace path { stroke: rgb(27 20 0 / 0.16); stroke-width: 2; }
.cta .pulse path { stroke: var(--ink); filter: none; stroke-width: 3; }
.cta .pulse path:nth-child(2) { stroke: var(--ink); filter: none; }
.cta-in { position: relative; display: grid; justify-items: center; text-align: center; gap: 20px; }
.cta h2 { font-size: clamp(38px, 5.6vw, 76px); font-weight: 900; font-variation-settings: "wdth" 114; letter-spacing: -0.025em; max-width: 14em; }
.cta p { font-size: 19px; max-width: 34em; color: rgb(27 20 0 / 0.78); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 10px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgb(255 255 255 / 0.78); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.brand-footer { color: var(--white); }
.footer-claim { margin-top: 18px; max-width: 26em; font-size: 15px; }
.footer-nav { display: grid; gap: 10px; align-content: start; }
.footer-nav a { text-decoration: none; font-weight: 600; width: fit-content; }
.footer-nav a:hover, .footer-wa:hover { color: var(--amber); }
.footer-contact { display: grid; gap: 12px; align-content: start; }
.footer-contact p, .footer-wa { display: flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.footer-contact .i { color: var(--amber); width: 20px; height: 20px; }
.footer-contact .kicker { margin-bottom: 4px; }
.footer-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; font-size: 13px; color: rgb(255 255 255 / 0.6); }
.footer-note a { color: rgb(255 255 255 / 0.85); font-weight: 600; }
.footer-note a:hover { color: var(--amber); }

/* ---------- Socorro noturno ---------- */
.night { position: relative; overflow: hidden; padding: clamp(40px, 5vw, 64px) 0; color: var(--white); background: radial-gradient(900px 320px at 88% 0%, rgb(48 48 192 / 0.5), transparent 70%), linear-gradient(160deg, var(--ink), #16184d); }
.night::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgb(255 255 255 / 0.55) 1px, transparent 1.6px); background-size: 46px 46px; opacity: 0.16; mask-image: linear-gradient(90deg, transparent 20%, #000 75%); pointer-events: none; }
.night-in { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 32px; align-items: center; }
.night-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: rgb(255 194 26 / 0.14); border: 1px solid rgb(255 194 26 / 0.4); color: var(--amber); }
.night-icon .i { width: 32px; height: 32px; }
.night h2 { font-size: clamp(28px, 3.2vw, 44px); font-weight: 900; font-variation-settings: "wdth" 112; letter-spacing: -0.02em; }
.night h2 em { font-style: normal; color: var(--amber); }
.night p { margin-top: 10px; max-width: 44em; color: rgb(255 255 255 / 0.8); }
.night-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Trabalhos realizados ---------- */
.works-more { display: flex; justify-content: center; margin-top: 36px; }
.works { background: var(--white); }
.works-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.works-grid figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--ink); box-shadow: var(--shadow); }
.works-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 0.9s var(--ease); }
.works-grid figure:hover img { transform: scale(1.05); }
.works-grid figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 8px 11px; border-radius: 10px; background: rgb(11 12 34 / 0.74); color: var(--white); font-size: 13.5px; font-weight: 600; line-height: 1.35; }

/* ---------- Floating WhatsApp ---------- */
.float-wa { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 0 20px 0 16px; min-height: 56px; border-radius: 999px; background: #25d366; color: #062b14; font-weight: 800; text-decoration: none; box-shadow: 0 18px 40px -14px rgb(37 211 102 / 0.8); transition: transform 0.3s var(--ease); }
.float-wa .i { width: 26px; height: 26px; }
.float-wa:hover { transform: translateY(-3px) scale(1.02); }
.float-wa::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgb(37 211 102 / 0.55); animation: ping-wa 2.4s ease-out infinite; }

/* ---------- Motion ---------- */
.enter { animation: rise 0.9s var(--ease) both; }
.hero-copy .display.enter { animation-delay: 0.1s; }
.hero-copy .lead.enter { animation-delay: 0.22s; }
.hero-copy .hero-actions.enter { animation-delay: 0.34s; }
.hero-copy .hero-proof.enter { animation-delay: 0.46s; }
.hero-media.enter { animation: rise 1s 0.15s var(--ease) both; }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i, 0) * 0.08s); }
.js .reveal.in { opacity: 1; transform: none; }
.bento .reveal:nth-child(2) { --i: 1; }
.bento .reveal:nth-child(3) { --i: 2; }
.bento .reveal:nth-child(4) { --i: 3; }
.alert-list .reveal:nth-child(even) { --i: 1; }
@property --wire { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes reveal-media { from { opacity: 0; clip-path: inset(0 0 100% 0 round 26px); } to { opacity: 1; clip-path: inset(0 0 0 0 round 26px); } }
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes current { to { stroke-dashoffset: 0; } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes blink { 50% { opacity: 0.35; } }
@keyframes checkIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes ping { 70% { box-shadow: 0 0 0 16px rgb(127 216 255 / 0); } 100% { box-shadow: 0 0 0 0 rgb(127 216 255 / 0); } }
@keyframes ping-wa { 70% { box-shadow: 0 0 0 16px rgb(37 211 102 / 0); } 100% { box-shadow: 0 0 0 0 rgb(37 211 102 / 0); } }

@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; }
  .js .reveal { opacity: 1; transform: none; }
  .inspect li { opacity: 1; }
  .pulse { display: none; }
}

/* ---------- Responsive ---------- */
/* ---------- Página de trabalhos ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(44px, 6vw, 88px) 0 clamp(40px, 5vw, 60px); color: var(--white); background: radial-gradient(900px 320px at 85% 0%, rgb(48 48 192 / 0.45), transparent 70%), linear-gradient(160deg, var(--ink), #16184d); }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: rgb(255 255 255 / 0.8); font-size: 15px; font-weight: 600; text-decoration: none; }
.back-link .i { transform: scaleX(-1); }
.back-link:hover { color: var(--amber); }
.page-hero h1 { margin-top: 18px; font-size: clamp(40px, 6vw, 76px); font-weight: 900; font-variation-settings: "wdth" 112; letter-spacing: -0.025em; }
.page-hero h1 em { font-style: normal; color: var(--amber); }
.page-hero .lead { margin-top: 16px; max-width: 40em; color: rgb(255 255 255 / 0.82); font-size: clamp(17px, 1.4vw, 19px); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.filters button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.24); background: rgb(255 255 255 / 0.05); color: var(--white); font: 600 15px/1 var(--display); cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.filters button:hover { border-color: rgb(255 255 255 / 0.55); }
.filters button[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.filters .n { font-family: var(--mono); font-size: 12.5px; opacity: 0.75; }
.gallery-section { padding: clamp(40px, 5vw, 72px) 0 clamp(72px, 8vw, 112px); }
.gallery { columns: 3 300px; column-gap: 16px; }
.gallery li { break-inside: avoid; margin-bottom: 18px; }
.gallery li[hidden] { display: none; }
.shot { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: var(--shadow); cursor: zoom-in; }
.shot img { width: 100%; height: auto; transition: transform 0.8s var(--ease); }
.shot:hover img { transform: scale(1.04); }
.clip { border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: var(--shadow); }
.clip video { display: block; width: 100%; height: auto; }
.shot-cap { margin-top: 10px; font-size: 15px; font-weight: 650; line-height: 1.35; color: var(--text); }
.shot-cap small { display: block; margin-top: 3px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.lightbox { width: min(1100px, 100vw - 32px); max-width: none; max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 20px; background: var(--ink); color: var(--white); overflow: visible; }
.lightbox::backdrop { background: rgb(6 7 20 / 0.88); }
.lightbox figure { display: grid; gap: 10px; margin: 0; padding: 14px; }
.lightbox img { width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 12px; }
.lightbox figcaption { padding-bottom: 4px; text-align: center; font-weight: 600; color: rgb(255 255 255 / 0.88); }
.lb-btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.28); background: rgb(11 12 34 / 0.85); color: var(--white); cursor: pointer; }
.lb-btn:hover { border-color: var(--amber); color: var(--amber); }
.lb-btn .i { width: 22px; height: 22px; }
.lb-close { top: -18px; right: -18px; }
.lb-prev { top: 50%; left: -24px; transform: translateY(-50%); }
.lb-prev .i { transform: scaleX(-1); }
.lb-next { top: 50%; right: -24px; transform: translateY(-50%); }

@media (max-width: 920px) {
  .night-in { grid-template-columns: auto minmax(0, 1fr); }
  .night-actions { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .gallery { columns: 2 150px; column-gap: 10px; }
  .gallery li { margin-bottom: 14px; }
  .shot-cap { font-size: 13.5px; }
  .lb-close { top: 8px; right: 8px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .filters button { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .night-in { grid-template-columns: 1fr; }
  .night-actions .btn { width: 100%; }
}
@media (max-width: 1080px) {
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card-xl { grid-column: span 2; grid-row: span 1; min-height: 420px; }
  .card-tall { grid-row: span 1; }
  .card-cta { grid-column: span 2; }
  .step-list { grid-template-columns: repeat(2, 1fr); }
  .step-list::before { display: none; }
}
@media (max-width: 920px) {
  .nav {
    position: fixed;
    inset: 112px 16px auto;
    display: grid;
    gap: 4px;
    padding: 14px;
    border-radius: 20px;
    background: var(--ink-2);
    border: 1px solid var(--line-dark);
    box-shadow: var(--shadow);
    transform-origin: top;
    transform: scaleY(0.96);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 16px; font-size: 17px; }
  .nav-cta { margin: 8px 0 0; min-height: 52px; }
  .menu-btn { display: grid; }
  .menu-btn[aria-expanded="true"] .i-open { display: none; }
  .menu-btn[aria-expanded="true"] .i-close { display: block; }
  .hero-grid, .alerts-grid, .why-grid, .area-grid, .faq-grid, .section-head { grid-template-columns: 1fr; }
  .alerts-head, .faq-grid > div:first-child { position: static; }
  .hero-media { max-width: 560px; }
  .inspect { left: 14px; bottom: 14px; }
  .why-media { max-width: 560px; }
  .topbar .topbar-right { display: none; }
}
@media (max-width: 620px) {
  :root { --wrap: min(1240px, 100% - 32px); }
  body { font-size: 16px; }
  .header-in { min-height: 68px; }
  .nav { inset: 104px 12px auto; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-text strong { font-size: 21px; }
  .display { font-size: clamp(40px, 11.5vw, 54px); }
  .hero-actions .btn { width: 100%; }
  .hero-media img { aspect-ratio: 4 / 4.2; }
  .inspect { width: auto; right: 14px; padding: 14px 16px; }
  .inspect ol { grid-template-columns: 1fr 1fr; gap: 8px; }
  .inspect li { font-size: 13.5px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .topbar-extra { display: none; }
  .card-xl { grid-column: auto; min-height: 380px; }
  .card-cta { grid-column: auto; flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .card-cta .btn { width: 100%; }
  .card-photo { min-height: 320px; }
  .alert-list, .step-list { grid-template-columns: 1fr; }
  .why-media::before { inset: 14px -10px -14px 14px; }
  .faq-list summary { font-size: 17px; padding: 18px 18px; }
  .faq-list details p { padding: 0 18px 18px; }
  .cta-actions .btn { width: 100%; }
  .cta-circuit { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-wa span { display: none; }
  .float-wa { padding: 0; width: 58px; justify-content: center; }
}
