/* ============================================================
   Access Controls Hawaii — styles.css
   Editorial Heritage · Coastal palette · mobile-first
   Typography-led: Fraunces (display) + DM Sans (body) + DM Mono (eyebrow/marks)
   Single-file. No build step. Single-page home, three legal pages, contact.
   ============================================================ */

/* === Tokens === */
:root {
  /* Palette — Coastal, warmed for paper feel */
  --c-ink: #0a1f33;            /* deep ocean ink */
  --c-ink-soft: #2c4356;
  --c-muted: #4e6275;          /* WCAG-AA muted text */
  --c-bg: #f9f4e8;             /* warm paper-cream — replaces pure white */
  --c-bg-warm: #f1e9d4;        /* sand for alt sections */
  --c-bg-deep: #ece2c8;        /* deeper sand for selected surfaces */
  --c-surface: #fdfaf2;        /* slightly off-white surface (cards) */
  --c-text: #1c1810;           /* warm near-black text */
  --c-text-soft: #4e4434;
  --c-brand: #0e3a5c;          /* deep ocean blue */
  --c-brand-ink: #faf6ec;       /* paper-cream on brand */
  --c-brand-soft: #d8e4ee;
  --c-accent: #a0521d;         /* burnt-sienna — warm, earthy, AA-safe */
  --c-rule: #c9b890;           /* warm hairline rule */
  --c-rule-soft: #d9caa6;
  --c-rule-ink: #2c4356;       /* rule on dark bg */
  --c-success: #2c6e49;
  --c-danger: #b3261e;
  --c-border: #c9b890;
  --c-border-soft: #ddd0ad;

  /* Type stack — IBM Plex (architectural blueprint feel that matches the logo) */
  --f-display: "IBM Plex Sans Condensed", "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --f-sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --container-max: 1280px;
  --container-narrow: 760px;
  --container-px: 28px;

  --sec-py: 88px;             /* roomier section spacing — editorial breathing */
  --hero-py: 96px;

  --radius-sm: 2px;            /* sharper corners — more architectural */
  --radius-md: 4px;
  --radius-lg: 6px;

  --rule-w: 1px;
}

@media (max-width: 768px) {
  :root {
    --sec-py: 56px;
    --hero-py: 40px;
    --container-px: 22px;
  }
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "ss01", "kern";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  min-height: 100vh;
  overflow-x: hidden;
  /* subtle paper texture — embedded SVG noise, ultra-light */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='5'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.045 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-repeat: repeat;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-brand); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--c-ink); color: var(--c-bg); }

/* === Focus states === */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--c-ink);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.btn-primary:focus-visible {
  outline-color: var(--c-accent);
  outline-offset: 4px;
}
.site-footer a:focus-visible,
.bg-ink a:focus-visible,
.sticky-actions a:focus-visible {
  outline-color: var(--c-accent);
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--c-ink);
  outline-offset: 0;
}

/* === Skip link === */
.skip-link {
  position: absolute;
  top: -40px; left: 8px;
  background: var(--c-ink);
  color: var(--c-bg);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 200;
  transition: top .15s;
}
.skip-link:focus-visible { top: 8px; outline: 2px solid var(--c-accent); outline-offset: 2px; }

/* === Typography === */
.f-display { font-family: var(--f-display); }
.f-mono { font-family: var(--f-mono); }

h1, h2, h3, .h1, .h2, .h3 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.018em;
  color: var(--c-ink);
  margin: 0;
}
.h1 {
  font-size: clamp(44px, 7.4vw, 96px);
  font-weight: 500;
  letter-spacing: -0.015em;
}
.h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: -0.012em;
}
.h3 {
  font-family: var(--f-sans);
  font-size: clamp(18px, 1.8vw, 21px);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.serif {
  font-family: var(--f-display);
  font-weight: 400;
}
.italic { font-style: italic; }

p { margin: 0 0 1em; }
.lead {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--c-text);
  max-width: 56ch;
}

/* Mono eyebrow — small caps, letter-spaced, distinctive */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: currentColor;
}
.eyebrow.no-rule::before { display: none; }

.small { font-size: 13px; }
.muted { color: var(--c-text-soft); }

/* === Layout === */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-px); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--container-px); }
section { padding: var(--sec-py) 0; position: relative; }
.section-tight { padding: calc(var(--sec-py) * 0.65) 0; }
.bg-alt { background: var(--c-bg-warm); }
.bg-ink {
  background: var(--c-ink);
  color: var(--c-bg);
}
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: var(--c-bg); }
.bg-ink p { color: color-mix(in srgb, var(--c-bg) 86%, transparent); }
.bg-ink .eyebrow { color: var(--c-accent); }

/* Section head — title block */
.section-head {
  display: flex; flex-direction: column;
  gap: 18px;
  max-width: 760px;
  margin-bottom: 56px;
}
.section-head.center {
  margin-left: auto; margin-right: auto;
  text-align: center; align-items: center;
}
.section-head .lead { color: var(--c-text-soft); }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: color-mix(in srgb, var(--c-bg) 94%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: var(--rule-w) solid var(--c-rule);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  min-height: 68px;
  padding-top: 12px; padding-bottom: 12px;
}
.logo-lockup {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--c-ink);
}
.logo-lockup:hover { color: var(--c-ink); }
.logo-img { height: 38px; width: auto; }
.logo-tag {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-text-soft);
  padding-left: 14px;
  border-left: 1px solid var(--c-rule);
}
.nav {
  display: flex; gap: 4px; flex: 1;
  justify-content: center;
}
.nav a {
  font-size: 14px; font-weight: 500;
  padding: 10px 14px;
  position: relative;
  color: var(--c-text);
}
.nav a::after {
  content: ""; position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 1px;
  background: var(--c-ink);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform .25s ease;
}
.nav a:hover { color: var(--c-ink); }
.nav a:hover::after { transform: scaleX(1); }
.nav a.active::after { transform: scaleX(1); background: var(--c-accent); }

.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone {
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--c-text);
}

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  color: var(--c-ink);
  border: 1px solid var(--c-rule);
  border-radius: var(--radius-sm);
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  white-space: nowrap;
}
.btn-primary { background: var(--c-ink); color: var(--c-bg); border-color: var(--c-ink); }
.btn-primary:hover { background: var(--c-brand); color: var(--c-bg); border-color: var(--c-brand); }
.btn-secondary {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-ink);
}
.btn-secondary:hover { background: var(--c-ink); color: var(--c-bg); }
.btn-arrow::after { content: "→"; font-size: 16px; transition: transform .2s; line-height: 1; }
.btn-arrow:hover::after { transform: translateX(4px); }
.btn-quiet {
  background: transparent; color: var(--c-ink);
  padding: 14px 0; border: 0;
  font-weight: 600;
  border-bottom: 1px solid var(--c-ink);
  border-radius: 0;
}
.btn-quiet:hover { color: var(--c-brand); border-bottom-color: var(--c-brand); }

/* === Hero === */
.hero {
  position: relative;
  padding: var(--hero-py) 0;
  border-bottom: var(--rule-w) solid var(--c-rule);
}
.hero-split {
  display: grid; grid-template-columns: 1fr; gap: 32px;
  align-items: start;
}
.hero-text { display: flex; flex-direction: column; gap: 28px; }
.hero-text .h1 { max-width: 14ch; }
.hero-text .lead { max-width: 48ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.hero-image {
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 320px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  order: -1; /* image above text on mobile */
}
.hero-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, transparent 55%, color-mix(in srgb, var(--c-ink) 22%, transparent));
  border-radius: inherit;
  pointer-events: none;
}

/* Hero meta — typographic stat block with vertical rules */
.hero-meta {
  display: flex; gap: 0;
  flex-wrap: wrap;
  margin-top: 8px;
  border-top: 1px solid var(--c-rule);
  padding-top: 24px;
}
.hero-meta-item {
  flex: 1 1 auto;
  display: flex; flex-direction: column; gap: 4px;
  padding: 0 24px;
  border-left: 1px solid var(--c-rule);
  min-width: 110px;
}
.hero-meta-item:first-child { padding-left: 0; border-left: 0; }
.hero-meta-item .num {
  font-family: var(--f-display);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1;
  color: var(--c-ink);
}
.hero-meta-item .lbl {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-text-soft);
}

@media (min-width: 900px) {
  .hero-split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: center;
    min-height: 60vh;
  }
  .hero-text { padding-top: 16px; padding-bottom: 16px; }
  .hero-image { order: 0; min-height: 480px; }
}

/* === Value pillars (the "Why Us" three-card grid) ===
   No icons — top accent rule + mono index + serif headline + body. */
.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--c-rule);
}
.value-card {
  padding: 36px 0;
  border-bottom: 1px solid var(--c-rule);
  display: flex; flex-direction: column; gap: 14px;
}
.value-card .v-index {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent);
  display: inline-flex; gap: 12px; align-items: center;
}
.value-card .v-index::before {
  content: ""; width: 32px; height: 1px; background: currentColor;
}
.value-card .v-title {
  font-family: var(--f-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.1;
  color: var(--c-ink);
  max-width: 14ch;
}
.value-card p {
  color: var(--c-text-soft);
  max-width: 42ch;
  margin: 0;
}

@media (min-width: 900px) {
  .value-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 56px;
    border-top: 0;
    border-bottom: 0;
  }
  .value-card {
    padding: 0;
    border: 0;
    border-top: 1px solid var(--c-rule);
    padding-top: 28px;
  }
}

/* === Services list — huge serif numerals, no icons === */
.services-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--c-rule); }
.service-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 48px 0;
  border-bottom: 1px solid var(--c-rule);
}
.service-row:last-child { border-bottom: 0; }

.service-num {
  font-family: var(--f-display);
  font-size: clamp(64px, 9vw, 128px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--c-ink);
  display: block;
}
.service-meta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent);
  display: inline-flex; gap: 12px; align-items: center;
  margin-bottom: 8px;
}
.service-meta::before {
  content: ""; width: 24px; height: 1px; background: currentColor;
}
.service-row h3 {
  font-family: var(--f-display);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.08;
  color: var(--c-ink);
  margin: 0 0 14px;
}
.service-row .service-blurb {
  font-size: 16px;
  color: var(--c-text-soft);
  max-width: 56ch;
  margin: 0 0 20px;
}
.service-row ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
  grid-template-columns: 1fr;
}
.service-row li {
  font-size: 14.5px;
  color: var(--c-text);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.service-row li::before {
  content: "";
  position: absolute; left: 0; top: 0.65em;
  width: 8px; height: 1px;
  background: var(--c-accent);
}

@media (min-width: 900px) {
  .service-row {
    grid-template-columns: 220px 1fr;
    gap: 56px;
    padding: 64px 0;
  }
  .service-row ul {
    grid-template-columns: 1fr 1fr;
    gap: 10px 32px;
  }
}

/* === Process band — 4 numbered steps with a connecting rule === */
.process-strip {
  display: grid; grid-template-columns: 1fr;
  gap: 0;
  position: relative;
  border-top: 1px solid var(--c-rule);
}
.process-step {
  padding: 32px 0;
  border-bottom: 1px solid var(--c-rule);
  display: flex; flex-direction: column; gap: 10px;
}
.process-step:last-child { border-bottom: 0; }
.process-num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(40px, 4.5vw, 56px);
  font-weight: 500;
  line-height: 1;
  color: var(--c-accent);
  letter-spacing: -0.03em;
}
.process-step h3 {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--c-ink);
}
.process-step p { color: var(--c-text-soft); margin: 0; max-width: 32ch; font-size: 14.5px; }

@media (min-width: 900px) {
  .process-strip {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    border-bottom: 0;
  }
  .process-step {
    border-bottom: 0;
    padding: 32px 0 0;
  }
}

/* === About (dark ink) === */
.about-wrap {
  display: grid; grid-template-columns: 1fr; gap: 56px;
  align-items: start;
}
.about-left h2 { max-width: 18ch; margin-top: 20px; }
.about-left .lead { color: color-mix(in srgb, var(--c-bg) 86%, transparent); margin-top: 24px; max-width: 50ch; }
.about-left p:not(.lead):not(.about-tag) { color: color-mix(in srgb, var(--c-bg) 70%, transparent); max-width: 50ch; }

.about-tag {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--c-bg) 60%, transparent);
  margin: 20px 0 0;
}
.about-tag strong { color: var(--c-bg); font-weight: 500; }

.about-values {
  display: flex; flex-direction: column;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid color-mix(in srgb, var(--c-bg) 18%, transparent);
}
.about-values .value {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--c-bg) 18%, transparent);
  align-items: start;
}
.about-values .v-label {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent);
  padding-top: 3px;
}
.about-values .v-body {
  font-size: 15px;
  color: color-mix(in srgb, var(--c-bg) 88%, transparent);
  line-height: 1.5;
  max-width: 46ch;
}

/* About right — pull quote with rules above/below, then stats */
.about-right {
  border-top: 1px solid color-mix(in srgb, var(--c-bg) 18%, transparent);
  padding-top: 28px;
}
.about-quote {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--c-bg);
  margin: 0 0 16px;
  quotes: '"' '"';
  max-width: 26ch;
}
.about-quote-cite {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--c-bg) 60%, transparent);
  margin: 0 0 32px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid color-mix(in srgb, var(--c-bg) 18%, transparent);
}
.about-stats > div {
  padding: 18px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--c-bg) 18%, transparent);
  display: flex; flex-direction: column; gap: 4px;
}
.about-stats > div:nth-child(even) { padding-left: 16px; border-left: 1px solid color-mix(in srgb, var(--c-bg) 18%, transparent); }
.about-stats .num {
  font-family: var(--f-display);
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1;
  color: var(--c-bg);
}
.about-stats .lbl {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--c-bg) 60%, transparent);
}

@media (min-width: 900px) {
  .about-wrap {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
  }
  .about-right { padding-left: 48px; border-left: 1px solid color-mix(in srgb, var(--c-bg) 18%, transparent); border-top: 0; padding-top: 0; }
  .about-stats > div:nth-child(even) { padding-left: 24px; }
}

/* === Service area — typographic list, no pills === */
.service-area-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--c-rule);
  max-width: 720px;
  margin: 32px auto 0;
}
.service-area-list .place {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--c-ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--c-rule);
  display: flex; align-items: baseline; gap: 12px;
}
.service-area-list .place:nth-child(odd) { padding-right: 16px; }
.service-area-list .place:nth-child(even) {
  padding-left: 16px;
  border-left: 1px solid var(--c-rule);
}
.service-area-list .place .ix {
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-style: normal;
  letter-spacing: 0.16em;
  color: var(--c-accent);
  min-width: 24px;
}

@media (min-width: 700px) {
  .service-area-list { grid-template-columns: repeat(3, 1fr); }
  .service-area-list .place:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--c-rule); }
  .service-area-list .place:nth-child(3n+1) { padding-left: 0; border-left: 0; }
  .service-area-list .place:nth-child(3n) { padding-right: 0; }
}

/* === Final CTA === */
.cta-card {
  display: grid; grid-template-columns: 1fr; gap: 32px;
  padding: 48px 32px;
  background: var(--c-ink);
  color: var(--c-bg);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 90% 110%, color-mix(in srgb, var(--c-accent) 28%, transparent), transparent 50%);
  pointer-events: none;
}
.cta-card > * { position: relative; }
.cta-card h2 { color: var(--c-bg); max-width: 18ch; margin: 12px 0 16px; }
.cta-card .lead { color: color-mix(in srgb, var(--c-bg) 80%, transparent); max-width: 44ch; }
.cta-card .eyebrow { color: var(--c-accent); }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta-actions .btn-primary { background: var(--c-bg); color: var(--c-ink); border-color: var(--c-bg); }
.cta-actions .btn-primary:hover { background: var(--c-accent); color: var(--c-bg); border-color: var(--c-accent); }
.cta-actions .btn-secondary { border-color: color-mix(in srgb, var(--c-bg) 55%, transparent); color: var(--c-bg); }
.cta-actions .btn-secondary:hover { background: var(--c-bg); color: var(--c-ink); border-color: var(--c-bg); }
.cta-email {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--c-bg) 78%, transparent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cta-email:hover { color: var(--c-bg); }

@media (min-width: 900px) {
  .cta-card {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
    gap: 64px;
    padding: 72px 64px;
  }
}

/* === Footer === */
.site-footer {
  background: var(--c-ink);
  color: var(--c-bg);
  padding: 72px 0 32px;
  margin-top: 0;
  border-top: 1px solid var(--c-rule-ink);
}
.site-footer a { color: color-mix(in srgb, var(--c-bg) 78%, transparent); }
.site-footer a:hover { color: var(--c-bg); }
.footer-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 500;
  margin: 0 0 8px;
}
.footer-blurb {
  color: color-mix(in srgb, var(--c-bg) 75%, transparent);
  max-width: 32ch;
  margin: 16px 0 4px;
  font-size: 14px;
}
.footer-legal-note {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--c-bg) 60%, transparent);
  max-width: 36ch;
}
.footer-legal-note strong { color: var(--c-bg); font-weight: 500; }
.footer-col address {
  font-style: normal;
  font-size: 13px;
  color: color-mix(in srgb, var(--c-bg) 75%, transparent);
  line-height: 1.5;
}
.logo-lockup.inverted { color: var(--c-bg); }
.logo-lockup.inverted .logo-tag {
  color: color-mix(in srgb, var(--c-bg) 60%, transparent);
  border-left-color: color-mix(in srgb, var(--c-bg) 30%, transparent);
}
.footer-bottom {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 24px;
  border-top: 1px solid color-mix(in srgb, var(--c-bg) 15%, transparent);
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--c-bg) 60%, transparent);
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 40px;
  }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* === Sticky mobile action bar — phone + quote always reachable === */
.sticky-actions {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: color-mix(in srgb, var(--c-ink) 96%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  color: var(--c-bg);
  display: flex;
  gap: 0;
  padding: 0;
  border-top: 1px solid color-mix(in srgb, var(--c-bg) 18%, transparent);
  transform: translateY(100%);
  transition: transform .3s ease;
}
.sticky-actions.visible { transform: translateY(0); }
.sticky-actions a {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 12px;
  color: var(--c-bg);
  font-family: var(--f-sans);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.02em;
  min-height: 56px;
}
.sticky-actions a + a {
  border-left: 1px solid color-mix(in srgb, var(--c-bg) 18%, transparent);
}
.sticky-actions .sticky-cta { background: var(--c-accent); }
.sticky-actions .sticky-cta:hover { background: color-mix(in srgb, var(--c-accent) 88%, var(--c-bg)); }

@media (min-width: 900px) {
  .sticky-actions { display: none; }
}

/* === Mobile nav (hamburger menu) === */
@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--c-bg);
    flex-direction: column;
    gap: 0; padding: 8px 0;
    border-bottom: 1px solid var(--c-rule);
    transform: translateY(-8px);
    opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .nav.nav-open {
    transform: translateY(0);
    opacity: 1; pointer-events: auto;
  }
  .nav a { padding: 14px var(--container-px); }
  .nav a::after { display: none; }
  .nav a:hover { background: color-mix(in srgb, var(--c-ink) 5%, transparent); }
  .header-cta .header-phone { display: none; }
  .header-cta .btn { padding: 12px 16px; font-size: 13px; }
  /* Hide the "Hawaii Island · since 1989" lockup tag on mobile — header gets too cramped */
  .logo-lockup .logo-tag { display: none; }
  .header-inner { gap: 12px; min-height: 60px; }
  /* Hero meta: 3 stats fit on one row at 390+ */
  .hero-meta-item { padding: 0 14px; min-width: 0; flex: 1 1 0; }
  .hero-meta-item .num { font-size: clamp(26px, 7vw, 32px); }
  .hero-meta-item .lbl { font-size: 9.5px; letter-spacing: 0.12em; }
  /* Sticky bar accounts for safe-area on iOS */
  .sticky-actions { padding-bottom: env(safe-area-inset-bottom, 0); }
  /* Push footer up so sticky bar doesn't cover content */
  body { padding-bottom: 64px; }
}

/* === Contact form === */
.contact-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 48px;
}
.form { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-text-soft);
}
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 15px;
  background: var(--c-surface);
  border: 1px solid var(--c-rule);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--c-text);
  width: 100%;
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--c-ink);
}
.field textarea { resize: vertical; min-height: 120px; }
.field .hint { font-family: var(--f-mono); font-size: 10.5px; color: var(--c-text-soft); letter-spacing: 0.05em; margin-top: 4px; }
.req { color: var(--c-accent); margin-left: 3px; }
.consent {
  display: grid; grid-template-columns: 24px 1fr; gap: 14px;
  padding: 18px;
  background: var(--c-surface);
  border: 1px solid var(--c-rule);
  border-radius: var(--radius-sm);
  align-items: start;
}
.consent input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--c-ink);
  margin-top: 3px;
}
.consent label { font-size: 13.5px; line-height: 1.55; color: var(--c-text); }
.consent label a { color: var(--c-ink); text-decoration: underline; text-underline-offset: 3px; }
.consent label strong { color: var(--c-ink); font-weight: 600; }

.contact-info {
  display: flex; flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--c-rule);
}
.contact-info .row {
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-rule);
}
.contact-info .lbl {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-text-soft);
}
.contact-info .val {
  font-family: var(--f-display);
  font-size: 18px;
  color: var(--c-ink);
  font-weight: 400;
  line-height: 1.4;
}
.contact-info a.val { text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 80px; }
  .form-row { grid-template-columns: 1fr 1fr; }
}

/* === Legal pages === */
.legal-page { padding: var(--sec-py) 0; }
.legal-page h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin: 16px 0 4px;
}
.legal-page .updated {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-text-soft);
  margin-bottom: 32px;
}
.legal-page .callout {
  background: var(--c-bg-warm);
  border-left: 3px solid var(--c-accent);
  padding: 20px 24px;
  margin: 0 0 36px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14.5px;
  line-height: 1.6;
}
.legal-page .callout strong { color: var(--c-ink); }
.legal-page .toc {
  display: flex; flex-direction: column; gap: 4px;
  padding: 20px 24px;
  background: var(--c-bg-warm);
  border-radius: var(--radius-sm);
  margin: 0 0 48px;
  font-size: 14px;
}
.legal-page .toc strong {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}
.legal-page .toc a {
  padding: 4px 0;
  color: var(--c-ink);
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: var(--c-rule);
}
.legal-page .toc a:hover { text-decoration-color: var(--c-ink); }
.legal-page h2 {
  font-size: clamp(22px, 2.5vw, 28px);
  margin: 40px 0 14px;
  scroll-margin-top: 80px;
  font-weight: 420;
}
.legal-page p, .legal-page li {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--c-text);
  margin: 0 0 0.9em;
}
.legal-page strong { color: var(--c-ink); font-weight: 600; }
.legal-page ul { padding-left: 22px; margin-bottom: 1.2em; }
.legal-page li { margin-bottom: 0.4em; }
.legal-page a {
  color: var(--c-ink);
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: var(--c-rule);
}
.legal-page a:hover { text-decoration-color: var(--c-ink); }

/* === Reduced motion === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .sticky-actions { transform: translateY(0); }
}

/* === Utility === */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
