/* style.css — Pinnacle Builders LI design system */

/* ---------- Fluid type scale ---------- */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.75rem);

  /* ---------- Spacing (4px system) ---------- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* ---------- Radius ---------- */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-full: 9999px;

  /* ---------- Motion ---------- */
  --transition-interactive: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  /* ---------- Content widths ---------- */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;

  /* ---------- Fonts ---------- */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Work Sans', 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- Color system: deep navy + warm gold Gold Coast luxury palette ---------- */
:root,
[data-theme='light'] {
  --color-navy-950: #0b1220;
  --color-navy-900: #0f1b2f;
  --color-navy-800: #152238;
  --color-navy-700: #1c2d47;
  --color-navy-600: #29405f;

  --color-gold-700: #a3792f;
  --color-gold-600: #b98d3e;
  --color-gold-500: #c9a24e;
  --color-gold-400: #d6b96f;
  --color-gold-300: #e5d3a0;
  --color-gold-highlight: #f3e8cf;

  /* Surfaces */
  --color-bg: #faf8f4;
  --color-surface: #ffffff;
  --color-surface-2: #f5f1e9;
  --color-surface-offset: #efe9db;
  --color-surface-offset-2: #e7dfcb;
  --color-surface-dynamic: #ddd2b3;
  --color-divider: #e3dcc9;
  --color-border: #d9cfb2;

  /* Text */
  --color-text: #16233a;
  --color-text-muted: #4c5c76;
  --color-text-faint: #8b96a8;
  --color-text-inverse: #f7f3e8;

  /* Primary accent = navy (structure), Gold = CTA / emphasis accent */
  --color-primary: var(--color-navy-900);
  --color-primary-hover: var(--color-navy-800);
  --color-primary-active: var(--color-navy-950);
  --color-primary-highlight: #dbe2ec;

  --color-accent: var(--color-gold-500);
  --color-accent-hover: var(--color-gold-600);
  --color-accent-active: var(--color-gold-700);
  --color-accent-highlight: var(--color-gold-highlight);

  --color-success: #3f6b3f;
  --color-error: #8a3b3b;

  --shadow-sm: 0 1px 2px oklch(0.15 0.03 250 / 0.08);
  --shadow-md: 0 6px 16px oklch(0.15 0.03 250 / 0.12);
  --shadow-lg: 0 16px 40px oklch(0.15 0.03 250 / 0.18);
}

[data-theme='dark'] {
  --color-bg: #0b1220;
  --color-surface: #0f1b2f;
  --color-surface-2: #132339;
  --color-surface-offset: #172a43;
  --color-surface-offset-2: #1b3049;
  --color-surface-dynamic: #213954;
  --color-divider: #223a56;
  --color-border: #2c4562;

  --color-text: #eef1f6;
  --color-text-muted: #aab8cc;
  --color-text-faint: #71829c;
  --color-text-inverse: #16233a;

  --color-primary: #d6b96f;
  --color-primary-hover: #e5d3a0;
  --color-primary-active: #c9a24e;
  --color-primary-highlight: #3a3322;

  --color-accent: var(--color-gold-400);
  --color-accent-hover: var(--color-gold-300);
  --color-accent-active: var(--color-gold-500);
  --color-accent-highlight: #3a3322;

  --color-success: #7fae7f;
  --color-error: #c98686;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.35);
  --shadow-md: 0 6px 16px oklch(0 0 0 / 0.4);
  --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0b1220;
    --color-surface: #0f1b2f;
    --color-surface-2: #132339;
    --color-surface-offset: #172a43;
    --color-surface-offset-2: #1b3049;
    --color-surface-dynamic: #213954;
    --color-divider: #223a56;
    --color-border: #2c4562;
    --color-text: #eef1f6;
    --color-text-muted: #aab8cc;
    --color-text-faint: #71829c;
    --color-text-inverse: #16233a;
    --color-primary: #d6b96f;
    --color-primary-hover: #e5d3a0;
    --color-primary-active: #c9a24e;
    --color-primary-highlight: #3a3322;
    --color-accent: #d6b96f;
    --color-accent-hover: #e5d3a0;
    --color-accent-active: #c9a24e;
    --color-accent-highlight: #3a3322;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.35);
    --shadow-md: 0 6px 16px oklch(0 0 0 / 0.4);
    --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.5);
  }
}

/* =====================================================
   LAYOUT PRIMITIVES
===================================================== */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 4vw, var(--space-12));
}

.container--narrow {
  max-width: var(--content-default);
}

section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}

section.section--tight {
  padding-block: clamp(var(--space-10), 5vw, var(--space-16));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-active);
}

[data-theme='dark'] .eyebrow {
  color: var(--color-accent);
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 1px;
  background: currentColor;
}

h1,
.h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-3xl);
  color: var(--color-text);
  letter-spacing: -0.01em;
}

h2,
.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-2xl);
  color: var(--color-text);
  letter-spacing: -0.01em;
}

h3,
.h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xl);
  color: var(--color-text);
}

h4,
.h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-text);
}

p {
  color: var(--color-text-muted);
}

.lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 60ch;
}

a {
  color: var(--color-accent-active);
  text-decoration: none;
}
[data-theme='dark'] a {
  color: var(--color-accent);
}
a:hover {
  text-decoration: underline;
}

/* =====================================================
   HEADER / NAV
===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-divider);
  transition:
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive);
}
/* Blur/tint lives on a pseudo-element rather than directly on .site-header.
   backdrop-filter (or transform/filter) on an element turns it into the
   containing block for any position:fixed descendant — which was trapping
   the mobile nav panel inside the header's own height instead of letting
   it cover the full screen. Keeping it off .site-header avoids that bug. */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in oklab, var(--color-bg) 92%, transparent);
  backdrop-filter: blur(14px);
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--color-navy-900);
  color: var(--color-text-inverse);
  padding: var(--space-3) var(--space-5);
  z-index: 200;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-4);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
  flex-shrink: 0;
}
.brand:hover {
  text-decoration: none;
}
.brand-logo {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name strong {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-text);
}
.brand-name span {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-accent-active);
}
[data-theme='dark'] .brand-name span {
  color: var(--color-accent);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.primary-nav a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.01em;
  text-decoration: none;
  position: relative;
  padding-block: var(--space-2);
}
.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--color-accent);
  transition: right var(--transition-interactive);
}
.primary-nav a:hover {
  text-decoration: none;
  color: var(--color-accent-active);
}
[data-theme='dark'] .primary-nav a:hover {
  color: var(--color-accent);
}
.primary-nav a:hover::after,
.primary-nav a[aria-current='page']::after {
  right: 0;
}
.primary-nav a[aria-current='page'] {
  color: var(--color-accent-active);
}
[data-theme='dark'] .primary-nav a[aria-current='page'] {
  color: var(--color-accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.phone-link {
  display: none;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text);
  white-space: nowrap;
}
@media (min-width: 900px) {
  .phone-link {
    display: inline-flex;
  }
}
.phone-link svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent-active);
}
[data-theme='dark'] .phone-link svg {
  color: var(--color-accent);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.theme-toggle:hover {
  background: var(--color-surface-offset);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  color: var(--color-text);
}
@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
}

@media (max-width: 899px) {
  .primary-nav {
    position: fixed;
    inset: 0;
    top: 73px;
    background: var(--color-bg);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-8) var(--space-6);
    transform: translateX(100%);
    transition: transform var(--transition-interactive);
    z-index: 90;
    overflow-y: auto;
  }
  .primary-nav.is-open {
    transform: translateX(0);
  }
  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
  }
  .primary-nav a {
    display: block;
    font-size: var(--text-lg);
    padding-block: var(--space-4);
    border-bottom: 1px solid var(--color-divider);
  }
  .primary-nav .btn {
    margin-top: var(--space-6);
    width: 100%;
    justify-content: center;
  }
}

/* =====================================================
   BUTTONS
===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-sm);
  min-height: 44px;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  max-width: 100%;
  text-align: center;
}
@media (max-width: 480px) {
  .btn {
    white-space: normal;
  }
}
.btn:hover {
  text-decoration: none;
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-navy-950);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}
.btn-outline:hover {
  border-color: var(--color-accent-active);
  color: var(--color-accent-active);
}
[data-theme='dark'] .btn-outline:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn-ghost-inverse {
  background: transparent;
  border-color: color-mix(in oklab, var(--color-text-inverse) 50%, transparent);
  color: var(--color-text-inverse);
}
.btn-ghost-inverse:hover {
  border-color: var(--color-gold-400);
  color: var(--color-gold-400);
}
.btn-lg {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-base);
}
.btn-block {
  width: 100%;
}

/* =====================================================
   HERO
===================================================== */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  color: var(--color-text-inverse);
  overflow: hidden;
  background: var(--color-navy-950);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      oklch(0.09 0.03 250 / 0.82) 0%,
      oklch(0.1 0.03 250 / 0.68) 32%,
      oklch(0.12 0.03 250 / 0.4) 55%,
      oklch(0.14 0.03 250 / 0.18) 75%,
      oklch(0.16 0.03 250 / 0.06) 100%
    ),
    linear-gradient(
      180deg,
      oklch(0.1 0.03 250 / 0.22) 0%,
      oklch(0.08 0.03 250 / 0.4) 55%,
      oklch(0.06 0.03 250 / 0.68) 100%
    );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-block: var(--space-24);
}
.hero .eyebrow {
  color: var(--color-gold-400);
}
.hero h1 {
  color: var(--color-text-inverse);
  margin-top: var(--space-5);
  text-shadow: 0 2px 22px oklch(0 0 0 / 0.6), 0 1px 4px oklch(0 0 0 / 0.65);
}
.hero .lede {
  color: color-mix(in oklab, var(--color-text-inverse) 90%, transparent);
  margin-top: var(--space-6);
  text-shadow: 0 1px 10px oklch(0 0 0 / 0.55), 0 1px 2px oklch(0 0 0 / 0.5);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-10);
}
.hero-nap {
  margin-top: var(--space-10);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  font-size: var(--text-sm);
  color: color-mix(in oklab, var(--color-text-inverse) 75%, transparent);
}
.hero-nap a {
  color: var(--color-gold-300);
}

.page-hero {
  position: relative;
  color: var(--color-text-inverse);
  background: var(--color-navy-950);
  overflow: hidden;
  padding-block: clamp(var(--space-24), 16vw, var(--space-32));
}
.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    140deg,
    oklch(0.08 0.03 250 / 0.9) 20%,
    oklch(0.1 0.03 250 / 0.6) 100%
  );
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.page-hero h1 {
  color: var(--color-text-inverse);
  margin-top: var(--space-4);
}
.page-hero .eyebrow {
  color: var(--color-gold-400);
}
.page-hero .lede {
  color: color-mix(in oklab, var(--color-text-inverse) 82%, transparent);
  margin-top: var(--space-5);
}
.breadcrumb {
  display: flex;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: color-mix(in oklab, var(--color-text-inverse) 70%, transparent);
  margin-bottom: var(--space-6);
}
.breadcrumb a {
  color: color-mix(in oklab, var(--color-text-inverse) 70%, transparent);
}
.breadcrumb a:hover {
  color: var(--color-gold-300);
}

/* =====================================================
   CARDS / GRID
===================================================== */
.grid {
  display: grid;
  gap: var(--space-8);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: box-shadow var(--transition-interactive), border-color var(--transition-interactive);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}
.service-card .index {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-accent-active);
  font-weight: 700;
}
[data-theme='dark'] .service-card .index {
  color: var(--color-accent);
}

.stat-card {
  text-align: left;
  border-top: 2px solid var(--color-accent);
  padding-top: var(--space-5);
}
.stat-card .stat-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  display: block;
}
.stat-card .stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}

/* =====================================================
   SECTIONS — alternating surface bands
===================================================== */
.band-navy {
  background: var(--color-navy-900);
  color: var(--color-text-inverse);
}
.band-navy h2,
.band-navy h3,
.band-navy p {
  color: var(--color-text-inverse);
}
.band-navy .eyebrow {
  color: var(--color-gold-400);
}
.band-offset {
  background: var(--color-surface-2);
}

.image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-showcase .section-head {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.video-frame {
  max-width: 1040px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--color-navy-950);
  aspect-ratio: 16 / 9;
}
.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 6vw, var(--space-16));
  align-items: center;
}
@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
}
.split.reverse .split-media {
  order: 2;
}
@media (max-width: 860px) {
  .split.reverse .split-media {
    order: 0;
  }
}

.pull-quote {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--color-text);
  border-left: none;
  position: relative;
  padding-left: var(--space-10);
  max-width: 44ch;
}
.pull-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -0.15em;
  font-size: 1.8em;
  color: var(--color-accent);
  font-family: var(--font-display);
}
.band-navy .pull-quote {
  color: var(--color-text-inverse);
}

/* Process steps */
.process-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.process-step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: var(--space-6);
  padding-block: var(--space-8);
  border-bottom: 1px solid var(--color-divider);
}
.process-step:first-child {
  padding-top: 0;
}
.process-step:last-child {
  border-bottom: none;
}
.process-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-accent-active);
  line-height: 1;
}
[data-theme='dark'] .process-num {
  color: var(--color-accent);
}
@media (max-width: 640px) {
  .process-step {
    grid-template-columns: 56px 1fr;
  }
  .process-num {
    font-size: var(--text-xl);
  }
}

/* Comparison table */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
@media (max-width: 720px) {
  .compare-grid {
    grid-template-columns: 1fr;
  }
}
.compare-card h3 {
  margin-bottom: var(--space-4);
}
.compare-card ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.compare-card li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  align-items: flex-start;
}
.compare-card li svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--color-accent-active);
}
[data-theme='dark'] .compare-card li svg {
  color: var(--color-accent);
}

/* Why-us checklist */
.check-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.check-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.check-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--color-accent-active);
  margin-top: 2px;
}
[data-theme='dark'] .check-item svg {
  color: var(--color-accent);
}
.check-item h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}
.check-item p {
  font-size: var(--text-sm);
  margin: 0;
}

/* Materials showcase */
.materials-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}
@media (max-width: 640px) {
  .materials-list {
    grid-template-columns: 1fr;
  }
}
.materials-list dt {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-text);
}
.materials-list dd {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* Testimonial */
.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-8), 6vw, var(--space-12));
  box-shadow: var(--shadow-sm);
}
.testimonial-card cite {
  display: block;
  margin-top: var(--space-6);
  font-style: normal;
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  font-weight: 600;
}

/* CTA band */
.cta-band {
  background: var(--color-navy-900);
  color: var(--color-text-inverse);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-10), 8vw, var(--space-20));
  text-align: left;
  position: relative;
  overflow: hidden;
}
.cta-band h2 {
  color: var(--color-text-inverse);
}
.cta-band p {
  color: color-mix(in oklab, var(--color-text-inverse) 80%, transparent);
}
.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

/* =====================================================
   FORMS
===================================================== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.form-group label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}
.form-group .required {
  color: var(--color-accent-active);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: var(--text-base);
  min-height: 48px;
}
.form-group textarea {
  min-height: 140px;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
  border-color: var(--color-accent);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.form-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-4);
}

/* =====================================================
   CONTACT INFO CARDS
===================================================== */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
@media (max-width: 860px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}
.contact-info-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  background: var(--color-surface);
}
.contact-info-card svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent-active);
  margin-bottom: var(--space-3);
}
[data-theme='dark'] .contact-info-card svg {
  color: var(--color-accent);
}
.contact-info-card h3 {
  font-size: var(--text-base);
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.contact-info-card a,
.contact-info-card p {
  font-size: var(--text-sm);
}

/* Service area tag list */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.tag-list li {
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

/* =====================================================
   FOOTER
===================================================== */
.site-footer {
  background: var(--color-navy-950);
  color: color-mix(in oklab, var(--color-text-inverse) 85%, transparent);
  padding-block: clamp(var(--space-16), 8vw, var(--space-24)) var(--space-8);
}
.site-footer a {
  color: color-mix(in oklab, var(--color-text-inverse) 85%, transparent);
}
.site-footer a:hover {
  color: var(--color-gold-400);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid color-mix(in oklab, var(--color-text-inverse) 15%, transparent);
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.footer-brand strong {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text-inverse);
}
.footer-col h4 {
  color: var(--color-gold-400);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: var(--space-4);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: var(--text-sm);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-8);
  font-size: var(--text-xs);
  color: color-mix(in oklab, var(--color-text-inverse) 55%, transparent);
}

/* =====================================================
   MISC / UTILITY
===================================================== */
.text-center {
  text-align: center;
}
.mx-auto {
  margin-inline: auto;
}
.section-head {
  max-width: 640px;
  margin-bottom: var(--space-12);
}
.section-head.text-center {
  margin-inline: auto;
}
.mt-2 {
  margin-top: var(--space-2);
}
.mt-4 {
  margin-top: var(--space-4);
}
.mt-6 {
  margin-top: var(--space-6);
}
.mt-8 {
  margin-top: var(--space-8);
}
.mt-10 {
  margin-top: var(--space-10);
}
.mt-12 {
  margin-top: var(--space-12);
}

.license-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* =====================================================
   SCHEDULE CONSULTATION MODAL
===================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  background: oklch(0.08 0.02 250 / 0.62);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.modal-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  max-width: 660px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(var(--space-8), 5vw, var(--space-12));
  position: relative;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s ease;
}
.modal-overlay.is-open .modal-card {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.modal-close:hover,
.modal-close:focus-visible {
  background: var(--color-accent);
  color: var(--color-navy-950);
  border-color: var(--color-accent);
}
.modal-header {
  margin-bottom: var(--space-6);
  padding-right: var(--space-10);
}
.modal-header h2 {
  font-family: var(--font-display);
  margin-top: var(--space-2);
}
body.modal-open {
  overflow: hidden;
}
@media (max-width: 640px) {
  .modal-card {
    padding: var(--space-6);
    max-height: 92vh;
  }
  .modal-header {
    padding-right: var(--space-8);
  }
}
