/* =========================================================
   Lansing Pavement Services — Version B (Trust & Authority)
   Modern · Bento · Premium dark/light · Geometric sans
   ========================================================= */

:root {
  /* Brand */
  --blue-deep:  #0F2A4A;
  --blue:       #1E66B0;
  --blue-mid:   #2C77C2;
  --blue-glow:  rgba(30, 102, 176, 0.35);

  --gold:       #F4B400;
  --gold-deep:  #C68A00;
  --gold-soft:  rgba(244, 180, 0, 0.12);

  /* Neutral system (warm stone) */
  --bg:         #FAFAF8;
  --bg-2:       #F2F0EB;
  --surface:    #FFFFFF;
  --surface-2:  #F7F5F0;
  --ink:        #0C0A09;
  --ink-soft:   #2A2724;
  --ink-mid:    #4A4540;
  --ink-mute:   #7A736A;
  --rule:       #E5E1D8;
  --rule-2:     #D6D0C2;

  /* Dark surface (for hero, contact, calc panel) */
  --dark:       #0F1115;
  --dark-2:     #16191F;
  --dark-3:     #1F232A;
  --dark-rule:  #2A2F38;
  --on-dark:    #F5F4EE;
  --on-dark-mute: #8B8F95;

  --max:         1240px;
  --gutter:      clamp(20px, 4vw, 56px);
  --section-gap: clamp(80px, 11vw, 144px);

  --display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(15, 17, 21, 0.04), 0 4px 8px -4px rgba(15, 17, 21, 0.06);
  --shadow-md: 0 4px 8px -2px rgba(15, 17, 21, 0.06), 0 12px 28px -12px rgba(15, 17, 21, 0.10);
  --shadow-lg: 0 10px 24px -8px rgba(15, 42, 74, 0.10), 0 40px 80px -32px rgba(15, 42, 74, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* =========================================================
   Typography
   ========================================================= */

.display {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 0.45em;
}
.display .accent { color: var(--blue); }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 7px 14px;
  border-radius: 999px;
  margin: 0 0 22px;
  letter-spacing: 0;
  text-transform: none;
}
.section-tag .dot {
  width: 7px; height: 7px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 0 var(--blue-glow);
  animation: status-pulse 2.4s ease-out infinite;
}
.section-tag.accent-tag .dot { background: var(--gold); box-shadow: 0 0 0 0 rgba(244,180,0,0.4); }
@keyframes status-pulse {
  0%   { box-shadow: 0 0 0 0 var(--blue-glow); }
  70%  { box-shadow: 0 0 0 8px rgba(30,102,176,0); }
  100% { box-shadow: 0 0 0 0 rgba(30,102,176,0); }
}

.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}
.section-lede {
  font-size: clamp(15px, 1.35vw, 17px);
  color: var(--ink-mid);
  line-height: 1.6;
  max-width: 60ch;
  margin: 16px 0 0;
}

.muted { color: var(--ink-mute); }

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition:
    background-color 200ms cubic-bezier(0.16, 1, 0.3, 1),
    color 200ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 240ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 220ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.btn svg {
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  box-shadow: 0 12px 24px -10px rgba(15, 42, 74, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-2);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.btn-accent {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn-accent:hover {
  background: var(--ink);
  color: var(--gold);
  border-color: var(--ink);
  box-shadow: 0 14px 28px -12px rgba(15, 17, 21, 0.5);
}

/* =========================================================
   Nav
   ========================================================= */

.nav {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 var(--gutter);
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 14px 10px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.30),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    0 8px 32px -16px rgba(0, 0, 0, 0.30);
  transition:
    background-color 240ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 240ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 240ms cubic-bezier(0.16, 1, 0.3, 1);
}
.nav.scrolled .nav-inner {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(214, 208, 194, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(15, 42, 74, 0.04),
    0 16px 36px -18px rgba(15, 42, 74, 0.24);
}

.nav-mark img {
  height: 30px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 4px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
  transition: color 200ms, background-color 200ms;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav.scrolled .nav-links a { color: var(--ink-soft); }
.nav.scrolled .nav-links a:hover { color: var(--ink); background: rgba(15, 17, 21, 0.05); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 200ms, background-color 200ms;
}
.nav-phone:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav-phone svg { color: var(--gold); transition: color 200ms; }
.nav.scrolled .nav-phone { color: var(--ink-soft); }
.nav.scrolled .nav-phone:hover { color: var(--ink); background: rgba(15, 17, 21, 0.05); }
.nav.scrolled .nav-phone svg { color: var(--blue); }

.nav-cta {
  padding: 10px 18px;
  font-size: 13.5px;
}

.nav-burger {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  width: 40px; height: 40px;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.6px;
  background: rgba(255, 255, 255, 0.9);
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), opacity 220ms, background-color 240ms;
}
.nav.scrolled .nav-burger span { background: var(--ink); }
.nav-burger.open span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  margin: 12px var(--gutter) 0;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  pointer-events: auto;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 280ms, transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-mobile a {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  padding: 12px 4px;
  border-bottom: 1px solid var(--rule);
}
.nav-mobile a:last-child { border-bottom: 0; }
.nav-mobile-cta {
  margin-top: 8px;
  padding: 14px !important;
  background: var(--gold);
  border-radius: 12px;
  text-align: center;
  border: 0 !important;
}
.nav-mobile.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  min-height: 100dvh;
  background: var(--dark);
  color: var(--on-dark);
  padding: clamp(140px, 18vh, 200px) 0 clamp(80px, 12vh, 120px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 100%);
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 30% 100%, rgba(30, 102, 176, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(244, 180, 0, 0.10) 0%, transparent 60%);
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  color: var(--on-dark);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 36px;
  backdrop-filter: blur(12px);
}
.hero-eyebrow .status-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(244, 180, 0, 0.5);
  animation: status-pulse 2.2s ease-out infinite;
}
.hero-eyebrow .dvdr {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.18);
}
.hero-eyebrow .muted { color: var(--on-dark-mute); }

.hero-h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(56px, 11vw, 156px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 0 0 28px;
  color: var(--on-dark);
  max-width: 12ch;
}
.hero-h1-accent {
  color: var(--gold);
  display: inline-block;
}

.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--on-dark-mute);
  line-height: 1.55;
  max-width: 54ch;
  margin: 0 0 40px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 64px;
}
.hero-ctas .btn-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.hero-ctas .btn-primary:hover {
  background: var(--on-dark);
  color: var(--ink);
  border-color: var(--on-dark);
  box-shadow: 0 16px 30px -14px rgba(244, 180, 0, 0.5);
}
.hero-ctas .btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--on-dark);
  border-color: rgba(255, 255, 255, 0.16);
  font-family: var(--mono);
  font-size: 13px;
}
.hero-ctas .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
  color: var(--gold);
}
.hero-ctas .btn-ghost svg { color: var(--gold); }

/* Hero meta strip — mini stats */
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: clamp(20px, 4vw, 56px);
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-meta-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  color: var(--on-dark);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
}
.hero-meta-num em {
  font-style: normal;
  font-size: 0.5em;
  color: var(--gold);
  margin-left: 2px;
}
.hero-meta-label {
  font-size: 12px;
  color: var(--on-dark-mute);
  letter-spacing: 0.02em;
}

/* Floating logo decoration on right */
.hero-logo-wrap {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 720px;
  height: 720px;
  pointer-events: none;
}
.hero-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.08;
  filter: brightness(2) saturate(0);
  animation: logo-float 12s ease-in-out infinite;
}
@keyframes logo-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-16px) scale(1.02); }
}
.hero-logo-glow {
  position: absolute;
  inset: 20%;
  background: radial-gradient(circle at center, var(--blue-glow) 0%, transparent 70%);
  filter: blur(60px);
  opacity: 0.6;
}

/* =========================================================
   Trust bento
   ========================================================= */

.trust {
  padding: var(--section-gap) 0;
}

.trust-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  margin-top: 40px;
}

.bento {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: border-color 240ms, transform 320ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.bento:hover {
  border-color: var(--rule-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.bento-tall {
  grid-column: span 2;
  grid-row: span 2;
  background: var(--ink);
  color: var(--on-dark);
  border-color: transparent;
  padding: 36px;
}
.bento-tall:hover { box-shadow: 0 24px 48px -16px rgba(15, 17, 21, 0.4); }

.bento-stat {
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.stat-eyebrow {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 6px;
}
.stat-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
}
.stat-num em {
  font-style: normal;
  font-size: 0.45em;
  color: var(--blue);
  margin-left: 2px;
}
.stat-cap {
  font-size: 13px;
  color: var(--ink-mute);
  margin: 6px 0 0;
  line-height: 1.4;
  max-width: 28ch;
}

.bento-quote {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 100%);
  color: var(--on-dark);
  border-color: transparent;
  padding: 36px;
  justify-content: center;
}
.bento-quote .quote-mark {
  color: var(--gold);
  margin-bottom: 8px;
}
.quote-body {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--on-dark);
  margin: 0 0 16px;
}
.quote-cite {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.bento-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.bento-num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--on-dark-mute);
  letter-spacing: 0.04em;
}
.bento:not(.bento-tall):not(.bento-quote) .bento-num { color: var(--ink-mute); }
.bento-tag {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 4px 10px;
  background: rgba(244, 180, 0, 0.12);
  border-radius: 999px;
}
.bento:not(.bento-tall):not(.bento-quote) .bento-tag {
  color: var(--blue);
  background: rgba(30, 102, 176, 0.10);
}

.bento-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.bento-tall .bento-title { color: var(--on-dark); }

.bento-body {
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.55;
  margin: 0;
  max-width: 36ch;
}
.bento-tall .bento-body { color: var(--on-dark-mute); }

.bento-checks {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-mid);
}
.bento-tall .bento-checks { color: var(--on-dark-mute); }
.bento-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chk {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1px solid rgba(244, 180, 0, 0.3);
  position: relative;
  flex-shrink: 0;
}
.chk::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 8px; height: 4px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: translate(-50%, -65%) rotate(-45deg);
}

.bento-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.badge {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 11px;
  background: var(--surface-2);
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  border-radius: 999px;
}

/* =========================================================
   About
   ========================================================= */

.about {
  padding: var(--section-gap) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.about-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.about-side {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--blue-deep) 0%, var(--blue) 100%);
}
.portrait-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portrait-initial {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(120px, 16vw, 180px);
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.06em;
  filter: drop-shadow(0 4px 16px rgba(244, 180, 0, 0.3));
}
.portrait-frame {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: calc(var(--r-lg) - 4px);
  pointer-events: none;
}

.about-name {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}
.about-name:last-of-type { border-bottom: 0; }
.about-name-key {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0;
}
.about-name-val {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.about-main { max-width: 720px; }
.about-body { margin: 28px 0 48px; }
.about-body p {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--ink-mid);
  line-height: 1.65;
  max-width: 60ch;
  margin: 0 0 1.2em;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.pillar {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  transition: border-color 240ms, transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.pillar:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}
.pillar-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 102, 176, 0.08);
  color: var(--blue);
  border-radius: 10px;
  margin-bottom: 16px;
}
.pillar h3 {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.pillar p {
  font-size: 13.5px;
  color: var(--ink-mute);
  line-height: 1.5;
  margin: 0;
}

/* =========================================================
   Services bento
   ========================================================= */

.services {
  padding: var(--section-gap) 0;
}

.svc-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.svc-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 240ms, transform 320ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 320ms cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.svc-card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.svc-feature {
  grid-column: span 3;
  grid-row: span 2;
  background: var(--ink);
  color: var(--on-dark);
  border-color: transparent;
  padding: 36px;
}
.svc-feature:hover { box-shadow: 0 24px 48px -16px rgba(15, 17, 21, 0.4); border-color: transparent; }
.svc-feature::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.6;
}

.svc-card:not(.svc-feature):not(.svc-coming) {
  grid-column: span 3;
}
.svc-coming {
  grid-column: span 6;
  background: var(--surface-2);
  border-style: dashed;
}
.svc-coming:hover { border-color: var(--rule-2); transform: none; box-shadow: none; }

.svc-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.svc-tag {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(30, 102, 176, 0.10);
  color: var(--blue);
  margin: 0;
}
.svc-feature .svc-tag {
  background: rgba(244, 180, 0, 0.15);
  color: var(--gold);
}
.svc-coming .svc-tag {
  background: rgba(122, 115, 106, 0.10);
  color: var(--ink-mute);
}

.svc-num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.svc-feature .svc-num { color: var(--on-dark-mute); }

.svc-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 102, 176, 0.08);
  color: var(--blue);
  border-radius: 10px;
  margin: 4px 0;
}

.svc-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.svc-feature .svc-title { color: var(--on-dark); font-size: clamp(28px, 3.2vw, 40px); }
.svc-title-mute { color: var(--ink-mute); font-size: 22px !important; }

.svc-body {
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.55;
  margin: 0;
  max-width: 50ch;
}
.svc-feature .svc-body { color: var(--on-dark-mute); }

.svc-checks {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 14px;
  color: var(--on-dark-mute);
}
.svc-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: gap 240ms;
}
.svc-link:hover { gap: 10px; }

.svc-coming-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
}
.svc-coming-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dash {
  width: 14px;
  height: 1px;
  background: var(--ink-mute);
  display: inline-block;
}
.svc-note {
  font-size: 13px;
  color: var(--ink-mute);
  font-style: italic;
  margin: 8px 0 0;
}

/* =========================================================
   Calculator
   ========================================================= */

.calc {
  padding: var(--section-gap) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.calc-shell {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.calc-form {
  padding: clamp(28px, 3.5vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.calc-field:last-child { border-bottom: 0; padding-bottom: 0; }

.calc-field-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.calc-field-head label {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.calc-field-tag {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--blue);
  background: rgba(30, 102, 176, 0.08);
  padding: 3px 8px;
  border-radius: 6px;
}
.calc-field-hint {
  font-size: 13px;
  color: var(--ink-mute);
  margin: 0 0 4px;
  line-height: 1.4;
}

.calc-input-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface-2);
  width: max-content;
}
.calc-input-row:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 102, 176, 0.12);
}
.calc-input-row .step {
  width: 40px;
  background: transparent;
  border: 0;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-mid);
  cursor: pointer;
  transition: color 200ms, background-color 200ms;
}
.calc-input-row .step:hover { background: rgba(30, 102, 176, 0.08); color: var(--blue); }
.calc-input-row input {
  width: 80px;
  padding: 12px 8px;
  border: 0;
  background: transparent;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 18px;
  color: var(--ink);
  outline: none;
  text-align: center;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
}
.calc-input-row input::-webkit-outer-spin-button,
.calc-input-row input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.calc-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--ink-soft);
  cursor: pointer;
  user-select: none;
}
.calc-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-pill {
  position: relative;
  width: 36px;
  height: 20px;
  background: var(--rule-2);
  border-radius: 999px;
  transition: background-color 240ms cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.toggle-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: var(--surface);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}
.calc-toggle input:checked ~ .toggle-pill { background: var(--blue); }
.calc-toggle input:checked ~ .toggle-pill .toggle-knob { transform: translateX(16px); }
.toggle-text em {
  font-style: normal;
  color: var(--ink-mute);
  font-size: 12px;
}

/* Calc summary panel */
.calc-summary {
  background: var(--ink);
  color: var(--on-dark);
  padding: clamp(28px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.calc-summary::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(30, 102, 176, 0.4) 0%, transparent 70%);
  pointer-events: none;
}

.summary-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 20px;
  position: relative;
}
.summary-eyebrow .dot {
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
}

.summary-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--on-dark);
  margin: 0;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  position: relative;
}
.summary-currency {
  font-size: 0.5em;
  color: var(--gold);
  margin-right: 6px;
  font-weight: 600;
}
.summary-cap {
  font-size: 13px;
  color: var(--on-dark-mute);
  margin: 12px 0 28px;
  position: relative;
}

.summary-breakdown {
  list-style: none;
  margin: 0 0 28px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.summary-breakdown li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 13.5px;
  color: var(--on-dark-mute);
}
.summary-breakdown li > span {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.summary-breakdown b {
  font-weight: 500;
  color: var(--on-dark);
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.bd-detail {
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.01em;
}

.calc-cta {
  width: 100%;
  position: relative;
}

.summary-fineprint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin: 14px 0 0;
  line-height: 1.5;
  position: relative;
}

/* =========================================================
   Gallery
   ========================================================= */

.gallery {
  padding: var(--section-gap) 0;
}

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

.ba-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 240ms, transform 320ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.ba-card:hover {
  border-color: var(--rule-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.ba-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--ink);
  user-select: none;
  cursor: ew-resize;
  overflow: hidden;
}
.ba-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-after { z-index: 1; }
.ba-before {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}
.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: var(--gold);
  z-index: 3;
  pointer-events: none;
}
.ba-handle svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: var(--ink);
  padding: 8px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
  margin: 0;
}
.ba-pill {
  position: absolute;
  top: 12px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 17, 21, 0.7);
  color: var(--on-dark);
  z-index: 3;
  backdrop-filter: blur(8px);
}
.ba-pill-before { left: 12px; }
.ba-pill-after { right: 12px; background: rgba(244, 180, 0, 0.95); color: var(--ink); }

.ba-meta {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ba-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0;
}
.ba-meta h3 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.ba-desc {
  font-size: 13.5px;
  color: var(--ink-mute);
  line-height: 1.5;
  margin: 0;
}

.recent { margin-top: 56px; }
.recent-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.recent-tag .dot { width: 6px; height: 6px; background: var(--ink-mute); border-radius: 50%; }
.recent-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 12px;
}
.recent-grid figure {
  margin: 0;
  aspect-ratio: 5 / 4;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--ink);
}
.recent-grid figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.recent-grid figure:hover img { transform: scale(1.05); }

/* =========================================================
   FAQ
   ========================================================= */

.faq {
  padding: var(--section-gap) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

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

.faq-item {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 240ms;
}
.faq-item[open] { border-color: var(--blue); box-shadow: 0 8px 24px -12px rgba(30, 102, 176, 0.16); }
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  cursor: pointer;
  transition: background-color 200ms;
}
.faq-item summary:hover { background: var(--surface-2); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  line-height: 1.3;
}

.faq-icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 1px solid var(--rule-2);
  border-radius: 50%;
  transition: border-color 220ms, background-color 220ms;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), background-color 220ms;
}
.faq-icon::before {
  top: 50%; left: 30%; right: 30%;
  height: 1.5px;
  transform: translateY(-50%);
}
.faq-icon::after {
  left: 50%; top: 30%; bottom: 30%;
  width: 1.5px;
  transform: translateX(-50%);
}
.faq-item[open] .faq-icon { border-color: var(--blue); background: var(--blue); }
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after { background: var(--on-dark); }
.faq-item[open] .faq-icon::after { transform: translateX(-50%) rotate(90deg); }

.faq-a {
  padding: 0 24px 22px;
}
.faq-a p {
  font-size: 14.5px;
  color: var(--ink-mid);
  line-height: 1.6;
  margin: 0;
  max-width: 56ch;
}

/* =========================================================
   Contact
   ========================================================= */

.contact {
  padding: var(--section-gap) 0;
  background: var(--ink);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 0%, transparent 100%);
  pointer-events: none;
}
.contact::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, var(--blue-glow) 0%, transparent 70%);
  pointer-events: none;
}

.contact .container { position: relative; z-index: 1; }

.contact .display { color: var(--on-dark); }
.contact .display .accent { color: var(--gold); }
.contact .section-tag {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--on-dark);
}
.contact .section-tag .dot { background: var(--gold); }
.contact .section-lede { color: var(--on-dark-mute); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}

.contact-meta {
  list-style: none;
  margin: 36px 0 32px;
  padding: 28px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.meta-key {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  margin: 0 0 8px;
}
.meta-val {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--on-dark);
  margin: 0;
  display: inline-block;
  transition: color 220ms;
}
a.meta-val:hover { color: var(--gold); }

.service-area { margin-top: 8px; }
.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.area-chips span {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 5px 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--on-dark-mute);
  border-radius: 999px;
  transition: border-color 220ms, color 220ms;
}
.area-chips span:hover { border-color: var(--gold); color: var(--gold); }

/* Form */
.contact-form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.cf-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cf-row label {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
}
.cf-row .opt {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.02em;
  text-transform: none;
  margin-left: 6px;
  font-style: italic;
}
.cf-row input,
.cf-row textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(15, 17, 21, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: var(--on-dark);
  font-family: var(--body);
  font-size: 15px;
  outline: none;
  transition: border-color 220ms, box-shadow 220ms, background 220ms;
}
.cf-row input::placeholder,
.cf-row textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.cf-row input:focus,
.cf-row textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(244, 180, 0, 0.18);
  background: rgba(15, 17, 21, 0.85);
}
.cf-row textarea { resize: vertical; min-height: 120px; }

.cf-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cf-include {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(244, 180, 0, 0.08);
  border: 1px solid rgba(244, 180, 0, 0.2);
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--on-dark);
  cursor: pointer;
}
.cf-include input { position: absolute; opacity: 0; pointer-events: none; }
.cf-include .toggle-pill { background: rgba(255, 255, 255, 0.16); }
.cf-include input:checked ~ .toggle-pill { background: var(--gold); }
.cf-include input:checked ~ .toggle-pill .toggle-knob { transform: translateX(16px); background: var(--ink); }
.cf-include-text b { color: var(--gold); font-weight: 600; font-family: var(--mono); }

.cf-submit {
  width: 100%;
  margin-top: 6px;
}

/* Netlify honeypot — must be in DOM but invisible to humans */
.cf-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}

.cf-consent {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  text-align: center;
  line-height: 1.5;
}
.cf-consent a {
  color: var(--gold);
  border-bottom: 1px solid rgba(244, 180, 0, 0.4);
  transition: border-color 220ms;
}
.cf-consent a:hover { border-color: var(--gold); }

.cf-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  text-align: center;
}

.cf-success {
  margin-top: 8px;
  padding: 16px 20px;
  border: 1px solid var(--gold);
  border-radius: 10px;
  background: rgba(244, 180, 0, 0.1);
  color: var(--on-dark);
  font-size: 14px;
}
.cf-success strong { color: var(--gold); }

/* =========================================================
   Footer
   ========================================================= */

.footer {
  padding: clamp(56px, 8vw, 96px) 0 clamp(32px, 4vw, 48px);
  background: var(--bg-2);
  border-top: 1px solid var(--rule);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: clamp(32px, 5vw, 80px);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
}
.footer-brand { max-width: 320px; }
.footer-logo {
  width: 200px;
  height: auto;
  margin-bottom: 16px;
}
.footer-tag {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.5;
  margin: 0;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-key {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 14px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}
.footer-col a {
  color: var(--ink-soft);
  transition: color 220ms;
}
.footer-col a:hover { color: var(--blue); }

.footer-tagline {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.01em;
  color: var(--blue);
  margin: 0;
}

.footer-base {
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--ink-mute);
}
.footer-base p { margin: 0; }
.footer-legal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-legal a {
  color: var(--ink-soft);
  transition: color 220ms;
}
.footer-legal a:hover { color: var(--blue); }
.footer-legal .sep {
  color: var(--rule-2);
  user-select: none;
}

/* Footer social (Facebook, etc.) */
.footer-social { margin-top: 16px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 999px;
  transition: color 220ms, border-color 220ms, background-color 220ms, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.footer-social a:hover {
  color: var(--blue);
  border-color: var(--blue);
  background: var(--surface-2);
  transform: translateY(-1px);
}
.footer-social svg { color: var(--blue); transition: transform 220ms; }
.footer-social a:hover svg { transform: scale(1.08); }

/* =========================================================
   Legal pages (Privacy Policy, Terms & Conditions)
   ========================================================= */

.legal-page {
  padding: clamp(120px, 16vh, 180px) 0 clamp(72px, 10vw, 120px);
  background: var(--bg);
}
.legal-page .container {
  max-width: 760px;
}

.legal-hero {
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}
.legal-hero .display {
  font-size: clamp(36px, 5vw, 60px);
  margin-bottom: 12px;
}
.legal-hero .legal-updated {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  margin: 16px 0 0;
  text-transform: uppercase;
}

.legal-toc {
  margin: 24px 0 48px;
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
}
.legal-toc-key {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 12px;
}
.legal-toc ol {
  margin: 0;
  padding: 0 0 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 20px;
  font-size: 14px;
}
.legal-toc ol li::marker { color: var(--blue); font-family: var(--mono); }
.legal-toc a {
  color: var(--ink-soft);
  transition: color 200ms;
}
.legal-toc a:hover { color: var(--blue); }

.legal-prose {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-mid);
}
.legal-prose section {
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: 110px;
}
.legal-prose section:last-of-type { border-bottom: 0; }

.legal-prose h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 16px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.legal-prose h2 .num {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  color: var(--blue);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.legal-prose h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  margin: 24px 0 8px;
}

.legal-prose p {
  margin: 0 0 14px;
  max-width: 65ch;
}
.legal-prose p:last-child { margin-bottom: 0; }

.legal-prose ul,
.legal-prose ol {
  margin: 0 0 14px;
  padding-left: 22px;
  max-width: 65ch;
}
.legal-prose li {
  margin-bottom: 6px;
}
.legal-prose li::marker { color: var(--blue); }

.legal-prose strong {
  color: var(--ink);
  font-weight: 600;
}

.legal-prose a {
  color: var(--blue);
  border-bottom: 1px solid rgba(30, 102, 176, 0.3);
  transition: border-color 200ms, color 200ms;
}
.legal-prose a:hover {
  color: var(--blue-deep);
  border-bottom-color: var(--blue);
}

.legal-prose .legal-contact {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 22px 26px;
  margin: 14px 0 0;
}
.legal-prose .legal-contact p { margin: 0 0 6px; }
.legal-prose .legal-contact p:last-child { margin: 0; }

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  transition: gap 220ms;
}
.legal-back:hover { gap: 12px; }
.legal-back svg { transition: transform 220ms; }
.legal-back:hover svg { transform: translateX(-2px); }

@media (max-width: 760px) {
  .legal-toc ol { grid-template-columns: 1fr; }
  .legal-prose h2 { flex-direction: column; gap: 4px; }
}

/* =========================================================
   Reveal animation utility
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1), transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   Reduced motion
   ========================================================= */

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

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-actions { gap: 8px; }
  .nav-phone span { display: none; }
  .nav-phone { padding: 8px; }

  .trust-bento { grid-template-columns: repeat(2, 1fr); }
  .bento-tall { grid-column: span 2; grid-row: auto; }
  .bento-quote { grid-column: span 2; }

  .about-grid { grid-template-columns: 280px 1fr; gap: 40px; }
  .about-pillars { grid-template-columns: 1fr; }

  .svc-bento { grid-template-columns: 1fr 1fr; }
  .svc-feature { grid-column: span 2; grid-row: auto; }
  .svc-card:not(.svc-feature):not(.svc-coming) { grid-column: span 1; }
  .svc-coming { grid-column: span 2; }
  .svc-checks { grid-template-columns: 1fr; }

  .calc-shell { grid-template-columns: 1fr; }

  .ba-grid { grid-template-columns: 1fr 1fr; }
  .recent-grid { grid-template-columns: 1fr 1fr; }

  .faq-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --section-gap: clamp(72px, 14vw, 110px); }

  .nav { top: 12px; }
  .nav-inner { grid-template-columns: 1fr auto; padding: 8px 8px 8px 16px; }
  .nav-actions { display: none; }
  .nav-burger { display: inline-flex; }

  .hero { padding-top: 130px; min-height: auto; }
  .hero-h1 { font-size: clamp(48px, 14vw, 88px); max-width: none; }
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero-meta-item:last-child { grid-column: 1 / -1; }
  .hero-logo-wrap { display: none; }

  .trust-bento { grid-template-columns: 1fr; }
  .bento-tall, .bento-quote { grid-column: span 1; }

  .about-grid { grid-template-columns: 1fr; }
  .about-side { position: static; }
  .about-portrait { aspect-ratio: 4 / 3; max-width: 280px; }
  .about-pillars { padding-top: 24px; }

  .svc-bento { grid-template-columns: 1fr; }
  .svc-feature, .svc-card, .svc-coming { grid-column: span 1; }

  .calc-form { padding: 24px; gap: 24px; }
  .calc-summary { padding: 24px; }
  .summary-num { font-size: 64px; }

  .ba-grid { grid-template-columns: 1fr; }
  .recent-grid { grid-template-columns: 1fr 1fr; }

  .cf-split { grid-template-columns: 1fr; }
  .contact-meta { grid-template-columns: 1fr; gap: 18px; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
  .footer-base { flex-direction: column; gap: 8px; align-items: flex-start; }
}
