/* ============================================================
   Dapsim Compliance Solutions — design system
   Aesthetic: precise & premium. Warm "bone" paper, deep teal
   ink, an emerald signal accent and a sparing amber highlight.
   Display: Fraunces (soft serif). Body: Hanken Grotesk.
   Technical labels set in IBM Plex Mono to echo the compliance
   subject matter.
   ============================================================ */

:root {
  /* Surfaces */
  --paper:      #f4f0e7;   /* page background — warm bone */
  --paper-2:    #efe8db;   /* alternate section tint */
  --card:       #fbf9f3;   /* raised surfaces */
  --ink:        #0a1b1d;   /* near-black teal */
  --ink-2:      #0f2a2a;   /* dark panels */
  --ink-3:      #16383a;

  /* Brand */
  --brand:      #0c6e60;   /* deep teal */
  --brand-2:    #16b894;   /* emerald signal */
  --amber:      #e3a03a;   /* warm highlight, used sparingly */

  /* Text */
  --text:       #0a1b1d;
  --muted:      #586862;   /* greenish slate */
  --on-dark:    #eaf2ee;
  --on-dark-mut:#9fbcb4;

  /* Lines */
  --line:       rgba(10,27,29,.12);
  --line-soft:  rgba(10,27,29,.07);

  /* Shadows */
  --sh-sm: 0 2px 10px rgba(10,27,29,.05);
  --sh:    0 22px 48px -22px rgba(10,27,29,.30);
  --sh-lg: 0 46px 96px -34px rgba(10,27,29,.42);

  /* Radii */
  --r-1: 14px;
  --r-2: 22px;
  --r-3: 30px;
  --r-pill: 999px;

  /* Type */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Hanken Grotesk', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(.16,.84,.44,1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 450;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Fine grain overlay for paper texture — fixed so it never repaints on scroll */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }

::selection { background: var(--brand-2); color: #04130f; }

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

.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

/* ------------------------------------------------------------
   Typography
   ------------------------------------------------------------ */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; }

h1 {
  margin: 20px 0 0;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -.025em;
  font-weight: 540;
}
h2 {
  margin: 12px 0 0;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: -.02em;
}
h3 {
  font-size: 20px;
  letter-spacing: -.01em;
  margin: 0 0 8px;
}

.lead, .section p { color: var(--muted); font-size: 18px; line-height: 1.65; }
.lead { font-size: clamp(17px, 1.5vw, 20px); max-width: 56ch; }

.eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  color: var(--brand) !important;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: 12px !important;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1.5px;
  background: var(--brand);
  display: inline-block;
}

/* ------------------------------------------------------------
   Header / nav
   ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  transition: border-color .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px -20px rgba(10,27,29,.5);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
}
.nav {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: min-height .35s var(--ease);
}
.scrolled .nav { min-height: 66px; }

.brand { display: inline-flex; align-items: center; gap: 13px; }
.logo-mark {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid; place-items: center;
  position: relative;
  flex: none;
}
.logo-mark img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.brand strong {
  font-family: var(--font-display);
  display: block;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.02em;
}
.brand small {
  display: block;
  margin-top: 5px;
  font-family: var(--font-mono);
  color: var(--brand);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
}

.main-nav { display: flex; gap: 6px; font-weight: 600; }
.main-nav a {
  position: relative;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  color: #2c3a36;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.main-nav a:hover { color: var(--ink); background: rgba(10,27,29,.05); }

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 18px;
  cursor: pointer;
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.nav-call, .btn {
  --pad-y: 13px;
  border-radius: var(--r-pill);
  padding: var(--pad-y) 22px;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  will-change: transform;
}
.btn.primary, .nav-call {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #03130f;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: .01em;
  box-shadow: 0 14px 30px -12px rgba(22,184,148,.6);
}
.btn.primary:hover, .nav-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -12px rgba(22,184,148,.7);
}
.btn.primary:active, .nav-call:active { transform: translateY(0); }

.nav-call { padding: 11px 18px; font-size: 13.5px; }

/* Adaptive ghost button — works on both light and dark surfaces via currentColor */
.btn.secondary {
  background: color-mix(in srgb, currentColor 7%, transparent);
  border: 1.5px solid color-mix(in srgb, currentColor 32%, transparent);
  color: inherit;
}
.btn.secondary:hover {
  transform: translateY(-2px);
  background: color-mix(in srgb, currentColor 13%, transparent);
  box-shadow: var(--sh-sm);
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero, .page-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 90px;
}
.hero {
  background:
    radial-gradient(60% 55% at 78% 8%, rgba(22,184,148,.16), transparent 70%),
    radial-gradient(48% 50% at 4% 92%, rgba(12,110,96,.14), transparent 70%),
    radial-gradient(40% 40% at 90% 95%, rgba(227,160,58,.10), transparent 70%);
}
.page-hero {
  padding: 88px 0 76px;
  background:
    radial-gradient(55% 60% at 88% 0%, rgba(22,184,148,.15), transparent 68%),
    radial-gradient(45% 55% at 0% 100%, rgba(12,110,96,.12), transparent 68%),
    var(--paper);
}
/* faint precision grid */
.hero::before, .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(10,27,29,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,27,29,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 35%, #000, transparent 85%);
  mask-image: radial-gradient(80% 70% at 50% 35%, #000, transparent 85%);
}

.blob {
  position: absolute;
  width: 460px; height: 460px;
  border-radius: 999px;
  filter: blur(70px);
  opacity: .5;
  pointer-events: none;
}
.blob-one { background: radial-gradient(circle, rgba(22,184,148,.55), transparent 65%); right: -180px; top: -180px; }
.blob-two { background: radial-gradient(circle, rgba(12,110,96,.5), transparent 65%); left: -200px; bottom: -200px; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 60px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 14px;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--card) 80%, transparent);
  border: 1px solid var(--line);
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  box-shadow: var(--sh-sm);
  backdrop-filter: blur(6px);
}
.pill::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 0 0 rgba(22,184,148,.5);
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(22,184,148,.5); }
  70%  { box-shadow: 0 0 0 7px rgba(22,184,148,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,184,148,0); }
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
}
.trust-row span { color: var(--ink); display: inline-flex; align-items: center; }
.trust-row span::first-letter { color: var(--brand); }

/* Hero aside card */
.hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 16px;
  box-shadow: var(--sh-lg);
  position: relative;
  z-index: 1;
}
.dark-card {
  background: linear-gradient(165deg, var(--ink-2), var(--ink));
  color: var(--on-dark);
  border-radius: var(--r-2);
  padding: 30px;
  position: relative;
  overflow: hidden;
}
.dark-card::before {
  content: "";
  position: absolute;
  width: 280px; height: 280px;
  right: -100px; top: -120px;
  background: radial-gradient(circle, rgba(22,184,148,.30), transparent 65%);
  pointer-events: none;
}
.dark-card > * { position: relative; }
.dark-card p { color: var(--on-dark-mut); }
.card-brand small, .footer-brand small { color: var(--brand-2); }
.card-brand strong { color: var(--on-dark); }

.service-card {
  margin-top: 30px;
  padding: 24px;
  border-radius: var(--r-2);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}
.service-card p { color: var(--on-dark-mut); }
.service-card h2 { font-size: 25px; letter-spacing: -.02em; }

.contact-strip {
  margin-top: 12px;
  padding: 15px 18px;
  border-radius: var(--r-1);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: var(--on-dark);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
}

/* ------------------------------------------------------------
   Sections
   ------------------------------------------------------------ */
.section { padding: 88px 0; position: relative; }
.section.white { background: var(--paper-2); }

/* Card grids */
.feature-grid, .cards, .faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cards { margin-top: 38px; }

.feature-grid article,
.cards article,
.faq-grid article {
  position: relative;
  padding: 28px 26px;
  border-radius: var(--r-2);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
/* animated accent edge on hover */
.feature-grid article::after,
.cards article::after,
.faq-grid article::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(var(--brand), var(--brand-2));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s var(--ease);
}
.feature-grid article:hover,
.cards article:hover,
.faq-grid article:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh);
  border-color: color-mix(in srgb, var(--brand) 30%, var(--line));
}
.feature-grid article:hover::after,
.cards article:hover::after,
.faq-grid article:hover::after { transform: scaleY(1); }

.feature-grid article p,
.cards article p,
.faq-grid article p {
  color: var(--muted);
  font-size: 15.5px;
  margin: 0;
}

/* Numbered index on the rich card grids */
.feature-grid, .cards { counter-reset: idx; }
.feature-grid article, .cards article { counter-increment: idx; padding-top: 30px; }
.feature-grid article::before,
.cards article::before {
  content: counter(idx, decimal-leading-zero);
  position: absolute;
  top: 22px; right: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  opacity: .55;
  letter-spacing: .05em;
}

/* Homepage feature grid: subtle zig-zag for an intentional, non-generic rhythm */
@media (min-width: 901px) {
  .feature-grid article:nth-child(2) { transform: translateY(26px); }
  .feature-grid article:nth-child(2):hover { transform: translateY(20px); }
}

/* FAQ grid: question mark marker instead of numbers */
.faq-grid article { padding-top: 30px; }
.faq-grid article::before {
  content: "?";
  position: absolute;
  top: 20px; right: 24px;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--brand-2);
  opacity: .5;
}

/* Split layout */
.split {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 58px;
  align-items: start;
}

/* Industry tags */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.industry-grid article {
  min-height: 96px;
  padding: 20px 22px;
  border-radius: var(--r-1);
  background: var(--card);
  border: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 540;
  letter-spacing: -.01em;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.industry-grid article:hover {
  transform: translateY(-4px);
  background: var(--ink-2);
  color: var(--on-dark);
}
.wide { margin-top: 30px; }

/* City cards */
.city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.city-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  border-radius: var(--r-2);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.city-card span { font-size: 20px; filter: grayscale(.15); }
.city-card strong { font-family: var(--font-display); font-size: 22px; font-weight: 560; letter-spacing: -.015em; }
.city-card small { color: var(--muted); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .02em; }
.city-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh);
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
}

/* Callout band */
.callout {
  display: grid;
  grid-template-columns: 1.1fr .8fr;
  gap: 38px;
  align-items: center;
  padding: 50px;
  border-radius: var(--r-3);
  background: linear-gradient(155deg, var(--ink-2), var(--ink));
  color: var(--on-dark);
  box-shadow: var(--sh-lg);
  position: relative;
  overflow: hidden;
}
.callout::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 60% at 95% 10%, rgba(22,184,148,.22), transparent 60%),
    radial-gradient(40% 60% at 0% 100%, rgba(227,160,58,.12), transparent 60%);
  pointer-events: none;
}
.callout > * { position: relative; }
.callout p { color: var(--on-dark-mut); }
.callout .eyebrow { color: var(--brand-2) !important; }
.callout .eyebrow::before { background: var(--brand-2); }

.mini-card {
  padding: 28px;
  border-radius: var(--r-2);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
}
.mini-card h3 {
  font-family: var(--font-mono);
  font-size: 23px;
  font-weight: 600;
  margin: 0 0 4px;
  letter-spacing: -.01em;
}
.mini-card p { color: var(--on-dark-mut); margin: 0 0 18px; font-family: var(--font-mono); font-size: 14px; }

/* Step list */
.step-list { display: grid; gap: 12px; }
.step-list div {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  padding: 17px 20px;
  font-weight: 600;
  box-shadow: var(--sh-sm);
  position: relative;
  padding-left: 22px;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.step-list div::before {
  content: "";
  position: absolute;
  left: 0; top: 14px; bottom: 14px;
  width: 3px; border-radius: 3px;
  background: linear-gradient(var(--brand), var(--brand-2));
}
.step-list div:hover { transform: translateX(4px); border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); }

/* Contact card */
.contact-card {
  background: var(--card);
  color: var(--text);
  border-radius: var(--r-3);
  padding: 22px;
  box-shadow: var(--sh);
  border: 1px solid var(--line);
}
.contact-card a, .contact-card div {
  display: block;
  padding: 20px;
  border-radius: var(--r-2);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  margin-bottom: 12px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.contact-card a:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-sm);
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
}
.contact-card span {
  display: block;
  color: var(--muted);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.contact-card strong { display: block; margin-top: 6px; font-size: 19px; font-weight: 700; }
.contact-card a:last-child, .contact-card div:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------
   Imagery — card icons & illustrations
   ------------------------------------------------------------ */
/* Tinted icon badge that sits above a card heading */
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background:
    radial-gradient(120% 120% at 30% 20%, color-mix(in srgb, var(--brand-2) 22%, var(--card)), var(--card));
  border: 1px solid color-mix(in srgb, var(--brand) 26%, var(--line));
  box-shadow: var(--sh-sm);
  transition: transform .35s var(--ease);
}
.card-icon img { width: 27px; height: 27px; display: block; }
.feature-grid article:hover .card-icon,
.cards article:hover .card-icon { transform: translateY(-2px) scale(1.04); }

/* Framed scene illustration on light surfaces */
.illus {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-2);
  border: 1px solid var(--line);
  background:
    radial-gradient(80% 90% at 80% 0%, rgba(22,184,148,.10), transparent 60%),
    var(--card);
  box-shadow: var(--sh-sm);
}
/* Banner variant: sits above a card grid */
.illus.banner { margin-bottom: 36px; max-height: 320px; object-fit: contain; padding: 14px; }

/* Captioned scene: a scene illustration with an overlaid message label */
.illus-figure { position: relative; margin: 0; display: block; }
.illus-figure.banner { margin-bottom: 36px; }
.illus-figure .illus { margin: 0; }
.illus-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 17px;
  border-radius: var(--r-pill);
  background: var(--ink-2);
  color: var(--on-dark);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  box-shadow: var(--sh);
}
.illus-caption::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-2) 30%, transparent);
}

/* Industries — icon cards (icon badge + heading + supporting line) */
.industry-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.industry-cards article {
  padding: 28px 26px;
  border-radius: var(--r-2);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.industry-cards article:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh);
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
}
.industry-cards article:hover .card-icon { transform: translateY(-2px) scale(1.04); }
.industry-cards h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 560;
  letter-spacing: -.015em;
  margin: 0 0 6px;
}
.industry-cards p { color: var(--muted); margin: 0; font-size: 15px; }

/* Illustration that lives inside a dark panel (transparent art) */
.illus-dark {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 26px;
  border-radius: var(--r-1);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  padding: 10px 12px;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
footer {
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  color: var(--on-dark);
  padding: 44px 0;
  position: relative;
}
footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(22,184,148,.5), transparent);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-brand strong { color: var(--on-dark); }
footer p { color: var(--on-dark-mut); font-family: var(--font-mono); font-size: 12.5px; margin: 0; }

/* ------------------------------------------------------------
   Motion — scroll reveal (only when JS is active)
   ------------------------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Above-the-fold load choreography */
.js .hero-copy > *, .js .hero-card { opacity: 0; animation: rise .85s var(--ease) forwards; }
.js .hero-copy > *:nth-child(1) { animation-delay: .05s; }
.js .hero-copy > *:nth-child(2) { animation-delay: .14s; }
.js .hero-copy > *:nth-child(3) { animation-delay: .23s; }
.js .hero-copy > *:nth-child(4) { animation-delay: .32s; }
.js .hero-copy > *:nth-child(5) { animation-delay: .41s; }
.js .hero-card { animation-delay: .30s; }
.js .page-hero .container > * { opacity: 0; animation: rise .8s var(--ease) forwards; }
.js .page-hero .container > *:nth-child(1) { animation-delay: .05s; }
.js .page-hero .container > *:nth-child(2) { animation-delay: .15s; }
.js .page-hero .container > *:nth-child(3) { animation-delay: .25s; }

@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 900px) {
  .nav-call { display: none; }
  .menu-toggle { display: inline-block; }
  .main-nav {
    display: none;
    position: absolute;
    left: 24px; right: 24px;
    top: 74px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-2);
    padding: 14px;
    box-shadow: var(--sh);
    flex-direction: column;
    gap: 4px;
  }
  .main-nav.open { display: flex; animation: rise .3s var(--ease) forwards; }
  .main-nav a { padding: 13px 16px; }
  .hero-grid, .split, .callout { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid, .cards, .industry-grid, .industry-cards, .city-grid, .faq-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid article:nth-child(2) { transform: none; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 36px, 1160px); }
  .hero, .page-hero { padding: 60px 0; }
  .section { padding: 60px 0; }
  .feature-grid, .cards, .industry-grid, .industry-cards, .city-grid, .faq-grid { grid-template-columns: 1fr; }
  .dark-card, .callout { padding: 26px; }
  .callout { padding: 30px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

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