/* ==========================================================================
   AlBaSh — design system
   Charcoal / paper / brass · Archivo + Inter + IBM Plex Mono
   ========================================================================== */

:root {
  --ink: #0e1319;
  --ink-2: #131a23;
  --ink-3: #1b242f;
  --paper: #f6f3ed;
  --paper-2: #efe9df;
  --paper-3: #e7dfd1;
  --brass: #c0913f;
  --brass-bright: #d9ac5c;
  --brass-deep: #7d5a1c;
  --steel: #97a1ad;
  --steel-d: #6d7887;
  --ok: #4a8f5c;
  --line-d: rgba(246, 243, 237, 0.14);
  --line-l: rgba(14, 19, 25, 0.14);
  --shadow: 0 18px 50px -18px rgba(14, 19, 25, 0.35);
  --shadow-lg: 0 30px 80px -30px rgba(14, 19, 25, 0.5);
  --font-display: "Archivo", "Archivo Expanded", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;
  --wrap: 1180px;
  --radius: 14px;
  --header-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

::selection { background: var(--brass); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 10px 18px; z-index: 200; font-size: 14px;
}
.skip-link:focus { left: 12px; top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 44px); }

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.015em;
  font-variation-settings: "wdth" 110;
  text-wrap: balance;
}

.display {
  font-size: clamp(2.5rem, 6.2vw, 4.6rem);
}

.h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  margin-bottom: 18px;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: #424c58;
  max-width: 62ch;
}

.dark .lead, section.dark .lead { color: #b7c0cb; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass-deep);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--brass);
  flex: none;
}

.dark .eyebrow, section.dark .eyebrow { color: var(--brass-bright); }

.mono-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel-d);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--brass);
  color: #14100a;
  box-shadow: 0 12px 30px -12px rgba(192, 145, 63, 0.8);
}
.btn-primary:hover {
  background: var(--brass-bright);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -14px rgba(192, 145, 63, 0.9);
}

.btn-ghost {
  border-color: var(--line-l);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--brass);
  color: var(--brass-deep);
  transform: translateY(-2px);
}

.dark .btn-ghost, section.dark .btn-ghost {
  border-color: var(--line-d);
  color: var(--paper);
}
.dark .btn-ghost:hover, section.dark .btn-ghost:hover {
  border-color: var(--brass-bright);
  color: var(--brass-bright);
}

.btn .arr { transition: transform 0.18s ease; }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.25s ease, height 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
  color: var(--paper);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
}

.site-header.scrolled {
  background: rgba(14, 19, 25, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-d);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.6);
}

.brand-link { display: inline-flex; flex: none; }
.brand-link img { height: 34px; width: auto; }

.main-nav { margin-left: auto; }

.main-nav ul {
  display: flex;
  gap: clamp(16px, 2.4vw, 30px);
  list-style: none;
}

.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #cfd6de;
  padding: 8px 2px;
  position: relative;
  transition: color 0.15s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 2px;
  height: 2px;
  background: var(--brass);
  transition: right 0.22s ease;
}

.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--paper); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }

.header-portal {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-bright);
  text-decoration: none;
  border: 1px solid rgba(217, 172, 92, 0.45);
  padding: 10px 18px;
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.header-portal:hover {
  background: var(--brass);
  border-color: var(--brass);
  color: #14100a;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-d);
  border-radius: 8px;
  width: 44px; height: 44px;
  cursor: pointer;
  color: var(--paper);
  position: relative;
  z-index: 130;
}

.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  position: absolute; left: 11px;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before { content: ""; top: -6px; }
.nav-toggle span::after { content: ""; top: 6px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; margin-left: auto; }
  .header-portal { display: none; }
  .main-nav {
    position: fixed;
    inset: 0;
    background: rgba(14, 19, 25, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 120;
  }
  .main-nav.open { opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 26px; text-align: center; }
  .main-nav a { font-size: 22px; }
  .main-nav .header-portal { display: inline-flex; margin-top: 18px; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 78% -10%, rgba(192, 145, 63, 0.16), transparent 60%),
    linear-gradient(160deg, #10151b 0%, #0e1319 55%, #0b0f14 100%);
  color: var(--paper);
  min-height: 92svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 90px;
}

.hero .bg-contour {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.5;
  pointer-events: none;
}

.hero .bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-d) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-d) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(900px 600px at 30% 40%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 600px at 30% 40%, black, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
}

.hero .wrap { position: relative; z-index: 2; }

.hero .eyebrow { color: var(--brass-bright); }

.hero h1 {
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  max-width: 15ch;
  margin-bottom: 26px;
}

.hero h1 .accent {
  color: var(--brass-bright);
  font-style: italic;
  font-weight: 700;
}

.hero .lead {
  color: #b7c0cb;
  max-width: 54ch;
  margin-bottom: 38px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 60px; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--line-d);
  padding-top: 26px;
  max-width: 760px;
}

.hero-facts li {
  list-style: none;
  flex: 1 1 200px;
  padding: 8px 26px 8px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #97a1ad;
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.hero-facts li::before { content: "◆"; color: var(--brass); font-size: 9px; }

.scroll-cue {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  color: #6d7887;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  z-index: 3;
}

.scroll-cue::after {
  content: "";
  width: 1px; height: 34px;
  background: linear-gradient(var(--brass), transparent);
  animation: cue 2.2s ease-in-out infinite;
}

@keyframes cue {
  0%, 100% { opacity: 0.25; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---------- Ticker ---------- */

.ticker {
  background: var(--ink);
  color: var(--brass-bright);
  border-block: 1px solid var(--line-d);
  overflow: hidden;
  padding: 14px 0;
}

.ticker-track {
  display: flex;
  gap: 54px;
  width: max-content;
  animation: ticker 36s linear infinite;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-track span { display: inline-flex; align-items: center; gap: 54px; }
.ticker-track span::after { content: "◆"; font-size: 8px; color: var(--brass); }

@keyframes ticker { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ---------- Sections ---------- */

section { padding: clamp(70px, 9vw, 120px) 0; }

.section-head { margin-bottom: clamp(36px, 5vw, 56px); }

.section-head.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: end;
}

@media (max-width: 820px) {
  .section-head.split { grid-template-columns: 1fr; }
}

.dark { background: var(--ink); color: var(--paper); }
.dark .h2 { color: var(--paper); }
.paper-2 { background: var(--paper-2); }

/* ---------- Service cards ---------- */

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

@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3 { grid-template-columns: 1fr; } }

.svc-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-l);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.svc-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brass-deep), var(--brass), var(--brass-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(192, 145, 63, 0.55);
}

.svc-card:hover::before { transform: scaleX(1); }

.svc-card .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--brass-deep);
  letter-spacing: 0.2em;
}

.svc-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
}

.svc-card p {
  color: #424c58;
  font-size: 15.5px;
  flex: 1;
}

.svc-card .go {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-deep);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.svc-card .go::after { content: "→"; transition: transform 0.18s ease; }
.svc-card:hover .go::after { transform: translateX(5px); }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}

@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.step {
  border: 1px solid var(--line-d);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--brass-bright);
  display: block;
  margin-bottom: 16px;
}

.step h3 { font-size: 1.12rem; margin-bottom: 10px; color: var(--paper); }
.step p { color: #97a1ad; font-size: 14.8px; }

/* ---------- Quote cards ---------- */

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

@media (max-width: 980px) { .quotes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .quotes { grid-template-columns: 1fr; } }

.quote-card {
  background: #fff;
  border: 1px solid var(--line-l);
  border-radius: var(--radius);
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.quote-card::before {
  content: "“";
  font-family: var(--font-display);
  font-size: 54px;
  line-height: 0.6;
  color: var(--brass);
  margin-top: 12px;
}

.quote-card blockquote {
  font-size: 15.5px;
  line-height: 1.6;
  color: #2c3540;
  flex: 1;
  font-style: italic;
}

.quote-card figcaption {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--steel-d);
  border-top: 1px solid var(--line-l);
  padding-top: 14px;
}

.quote-card figcaption strong {
  color: var(--ink);
  font-weight: 600;
  display: block;
  letter-spacing: 0.02em;
}

/* ---------- Evidence / project cards ---------- */

.ev-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

@media (max-width: 820px) { .ev-grid { grid-template-columns: 1fr; } }

.ev-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.ev-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.ev-card:hover img { transform: scale(1.05); }

.ev-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 19, 25, 0) 30%, rgba(14, 19, 25, 0.92) 100%);
}

.ev-card .ev-body {
  position: relative;
  z-index: 2;
  padding: 30px;
}

.ev-card .mono-label { color: var(--brass-bright); margin-bottom: 10px; display: block; }

.ev-card h3 { font-size: 1.5rem; margin-bottom: 8px; }

.ev-card p { color: #c3cbd4; font-size: 15px; max-width: 46ch; }

/* ---------- Portal band ---------- */

.portal-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 400px at 15% 0%, rgba(192, 145, 63, 0.14), transparent 60%),
    var(--ink-2);
  color: var(--paper);
}

.portal-band .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

@media (max-width: 900px) { .portal-band .wrap { grid-template-columns: 1fr; } }

.portal-points { list-style: none; display: grid; gap: 16px; margin-top: 30px; }

.portal-points li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: #b7c0cb;
  font-size: 15.5px;
}

.portal-points li::before {
  content: "◆";
  color: var(--brass);
  font-size: 10px;
  margin-top: 7px;
  flex: none;
}

.portal-mock {
  border: 1px solid var(--line-d);
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.portal-mock .pm-bar {
  display: flex;
  gap: 6px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-d);
  align-items: center;
}

.portal-mock .pm-bar i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ink-3);
}
.portal-mock .pm-bar i:first-child { background: var(--brass); }

.portal-mock .pm-bar .mono-label { margin-left: auto; color: #6d7887; }

.portal-mock .pm-body { padding: 26px 26px 30px; display: grid; gap: 14px; }

.pm-step {
  display: flex;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line-d);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 14px;
  color: #c3cbd4;
}

.pm-step .dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--brass);
  color: var(--brass-bright);
  font-family: var(--font-mono);
  font-size: 11px;
  display: grid;
  place-items: center;
  flex: none;
}

.pm-step.done .dot { background: var(--brass); color: #14100a; }
.pm-step.done { color: #97a1ad; text-decoration: line-through; text-decoration-color: rgba(192, 145, 63, 0.5); }
.pm-step.now { border-color: var(--brass); color: var(--paper); }

.pm-ref {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--brass-bright);
  border: 1px dashed rgba(217, 172, 92, 0.4);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
}

.pm-ref span:last-child { color: var(--ok); }

/* ---------- Coverage strip ---------- */

.coverage {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.coverage span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--line-l);
  padding: 12px 22px;
  border-radius: 999px;
  color: #424c58;
}

/* ---------- CTA band ---------- */

.cta-band {
  background:
    radial-gradient(700px 300px at 85% 20%, rgba(192, 145, 63, 0.2), transparent 65%),
    linear-gradient(150deg, #10151b, #0b0f14);
  color: var(--paper);
  text-align: center;
}

.cta-band .h2 { max-width: 22ch; margin-inline: auto; }

.cta-band .lead { margin: 0 auto 34px; }

.cta-band .hero-ctas { justify-content: center; margin-bottom: 0; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  position: relative;
  background:
    radial-gradient(900px 400px at 80% -20%, rgba(192, 145, 63, 0.15), transparent 60%),
    linear-gradient(160deg, #10151b, #0b0f14);
  color: var(--paper);
  padding: calc(var(--header-h) + clamp(60px, 9vw, 110px)) 0 clamp(56px, 7vw, 90px);
  overflow: hidden;
}

.page-hero .bg-contour {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.3;
  pointer-events: none;
}

.page-hero .wrap { position: relative; z-index: 2; }

.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.9rem);
  max-width: 18ch;
  margin-bottom: 20px;
}

.page-hero .lead { color: #b7c0cb; }

.crumbs {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6d7887;
  margin-bottom: 26px;
  display: flex;
  gap: 12px;
}

.crumbs a { color: var(--brass-bright); text-decoration: none; }

/* ---------- Service detail sections ---------- */

.svc-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
  padding: clamp(48px, 6vw, 80px) 0;
  border-top: 1px solid var(--line-l);
}

.svc-detail:first-of-type { border-top: 0; padding-top: 0; }

.svc-detail.flip .svc-media { order: 2; }

@media (max-width: 860px) {
  .svc-detail { grid-template-columns: 1fr; }
  .svc-detail.flip .svc-media { order: 0; }
}

.svc-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.svc-media img { width: 100%; height: 100%; object-fit: cover; }

.svc-media .tag {
  position: absolute;
  left: 18px; bottom: 18px;
  background: rgba(14, 19, 25, 0.85);
  backdrop-filter: blur(8px);
  color: var(--brass-bright);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  padding: 9px 16px;
  border-radius: 6px;
  border: 1px solid var(--line-d);
}

.svc-detail .num {
  font-family: var(--font-mono);
  font-size: clamp(3rem, 6vw, 4.6rem);
  color: transparent;
  -webkit-text-stroke: 1px var(--brass);
  line-height: 1;
  display: block;
  margin-bottom: 18px;
}

.svc-detail h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 16px; }

.svc-detail p { color: #424c58; margin-bottom: 14px; }

.svc-detail ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 22px 0 28px;
}

.svc-detail ul li {
  display: flex;
  gap: 12px;
  color: #2c3540;
  font-size: 15.5px;
}

.svc-detail ul li::before {
  content: "—";
  color: var(--brass);
  flex: none;
}

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-d);
  border: 1px solid var(--line-d);
  border-radius: var(--radius);
  overflow: hidden;
}

@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.stat {
  background: var(--ink-2);
  padding: 30px 26px;
}

.stat .v {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  color: var(--brass-bright);
  display: block;
  margin-bottom: 6px;
  font-variation-settings: "wdth" 110;
}

.stat .k {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #97a1ad;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 6vw, 80px);
}

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-cards { display: grid; gap: 16px; align-content: start; }

.contact-card {
  border: 1px solid var(--line-l);
  border-radius: var(--radius);
  background: #fff;
  padding: 24px 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.contact-card:hover { border-color: var(--brass); transform: translateY(-2px); }

.contact-card .ico {
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(192, 145, 63, 0.4);
  display: grid;
  place-items: center;
  color: var(--brass-deep);
  flex: none;
  background: rgba(192, 145, 63, 0.08);
}

.contact-card .mono-label { margin-bottom: 4px; }

.contact-card .val { font-weight: 600; font-size: 16.5px; }
.contact-card small { color: var(--steel-d); font-size: 13px; }

/* ---------- Forms ---------- */

.form-card {
  background: #fff;
  border: 1px solid var(--line-l);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }

.field { display: grid; gap: 7px; margin-bottom: 18px; }

.field label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #424c58;
}

.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 15.5px;
  padding: 13px 16px;
  border: 1px solid var(--line-l);
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(192, 145, 63, 0.18);
}

.field textarea { resize: vertical; min-height: 130px; }

.form-note {
  font-size: 13px;
  color: var(--steel-d);
  margin-top: 14px;
  line-height: 1.55;
}

.form-note a { color: var(--brass-deep); }

/* ---------- Values ---------- */

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

@media (max-width: 980px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

.value {
  border-top: 2px solid var(--brass);
  padding-top: 18px;
}

.value h3 { font-size: 1.05rem; margin-bottom: 8px; letter-spacing: 0.02em; }
.value p { font-size: 14.5px; color: #424c58; }

/* ---------- Careers ---------- */

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

@media (max-width: 980px) { .perk-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .perk-grid { grid-template-columns: 1fr; } }

.perk {
  background: #fff;
  border: 1px solid var(--line-l);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.perk h3 { font-size: 1.02rem; margin-bottom: 8px; }
.perk p { font-size: 14.5px; color: #424c58; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #97a1ad;
  border-top: 1px solid var(--line-d);
  padding: clamp(56px, 7vw, 84px) 0 0;
  font-size: 14.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: 48px;
}

@media (max-width: 940px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer .f-brand img { height: 30px; margin-bottom: 18px; }

.site-footer .f-blurb { max-width: 34ch; line-height: 1.7; }

.site-footer h4 {
  color: var(--paper);
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 500;
}

.site-footer ul { list-style: none; display: grid; gap: 10px; }

.site-footer a { color: #97a1ad; text-decoration: none; transition: color 0.15s ease; }
.site-footer a:hover { color: var(--brass-bright); }

.f-contact li { display: flex; gap: 10px; }
.f-contact li::before { content: "—"; color: var(--brass); flex: none; }

.footer-legal {
  border-top: 1px solid var(--line-d);
  padding: 22px 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #6d7887;
}

/* ---------- Mobile bottom bar ---------- */

.mobile-cta {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 90;
  display: none;
  gap: 1px;
  background: var(--line-d);
  border-top: 1px solid var(--line-d);
}

.mobile-cta a {
  flex: 1;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  padding: 16px 8px calc(16px + env(safe-area-inset-bottom, 0px));
  text-decoration: none;
}

.mobile-cta a.call { color: var(--brass-bright); }

@media (max-width: 700px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 54px; }
  .hero { min-height: 88svh; }
  .scroll-cue { display: none; }
}

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
  transition-delay: var(--d, 0s);
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

.no-js .reveal { opacity: 1; transform: none; }

/* ---------- 404 ---------- */

.nf {
  min-height: 76svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 40px) 20px 60px;
}

.nf .code {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(5rem, 16vw, 10rem);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--brass);
  line-height: 1;
}
