/* ============================================================
   THE STUDENT DEBT ARCATECH — styles.css  v2
   Architecture & Design Direction upgrade
   
   Language system: Every section is a layer in a construction
   document. Eyebrows are drawing labels. Dividers are section
   cuts. Cards carry registration marks and dimension lines.
   The grid is always visible — barely — like drafting paper.
   ============================================================ */

/* ─── TOKENS ──────────────────────────────────────────────── */
:root {
  /* Core palette */
  --navy:          #0D1B2A;
  --navy-mid:      #152236;
  --navy-light:    #1E3A5F;
  --navy-surface:  #0A1520;
  --blue:          #2563EB;
  --blue-mid:      #1D4ED8;
  --blue-light:    #DBEAFE;
  --blue-ghost:    rgba(37,99,235,0.07);
  --gold:          #C9A84C;
  --gold-warm:     #D4A843;
  --gold-light:    #F5E8C8;
  --gold-pale:     #FBF4E4;
  --cream:         #F4F1EB;   /* blueprint paper, not pure white */
  --cream-dark:    #EDE9E0;
  --white:         #FFFFFF;
  --ink:           #0D1B2A;
  --ink-mid:       #334155;
  --ink-light:     #64748B;
  --border:        #DDD8CE;   /* warm, papery border */
  --border-mid:    #C4BFB4;
  --border-dark:   #9E998F;

  /* Architectural drawing colors */
  --draw-line:     rgba(37,99,235,0.10);  /* grid lines */
  --draw-line-md:  rgba(37,99,235,0.18);  /* annotation lines */
  --draw-accent:   rgba(201,168,76,0.25); /* gold dimension lines */
  --draw-cut:      rgba(37,99,235,0.06);  /* section background */

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'Space Grotesk', system-ui, sans-serif;

  /* Spacing */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;
  --sp-4: 1rem;     --sp-6: 1.5rem;   --sp-8: 2rem;
  --sp-10: 2.5rem;  --sp-12: 3rem;    --sp-16: 4rem;
  --sp-20: 5rem;    --sp-24: 6rem;

  /* Geometry — no rounded cards, sharp architectural corners */
  --r-none: 0px;
  --r-sm:   2px;   /* barely there — precise */
  --r-md:   4px;
  --r-lg:   6px;

  /* Shadows — elevation like physical drawings */
  --shadow-sm: 0 1px 4px rgba(13,27,42,0.07), 0 1px 2px rgba(13,27,42,0.04);
  --shadow-md: 0 4px 20px rgba(13,27,42,0.10), 0 1px 4px rgba(13,27,42,0.05);
  --shadow-lg: 0 12px 48px rgba(13,27,42,0.14), 0 2px 8px rgba(13,27,42,0.06);
  --shadow-lift: 0 16px 56px rgba(13,27,42,0.18), 0 4px 12px rgba(13,27,42,0.08);

  --max-w: 1200px;
  --nav-h: 72px;
  --ease:  cubic-bezier(0.4, 0, 0.2, 1);
  --dur:   220ms;
}

/* ─── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
select, input, textarea { font: inherit; }

/* ─── LAYOUT UTILITIES ────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

.section { padding-block: var(--sp-20); }

/* Section backgrounds — like layered drawing sheets */
.section--light {
  background: var(--cream);
  background-image:
    linear-gradient(to right, var(--draw-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--draw-line) 1px, transparent 1px);
  background-size: 48px 48px;
}

.section--dark  { background: var(--navy); color: var(--white); }
.section--accent {
  background: var(--navy-light);
  color: var(--white);
  background-image:
    linear-gradient(to right, rgba(37,99,235,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37,99,235,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ─── ARCHITECTURAL EYEBROW SYSTEM ───────────────────────── */
/* Labels look like drawing callouts: [— SECTION LABEL —] */
.eyebrow,
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.eyebrow::before, .eyebrow::after,
.section-eyebrow::before, .section-eyebrow::after {
  content: '';
  flex: 0 0 24px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}
.eyebrow::after, .section-eyebrow::after { flex: 0 0 12px; }

.section-eyebrow.light { color: var(--gold-light); }
.section-eyebrow.light::before,
.section-eyebrow.light::after { background: var(--gold-light); }

/* ─── SECTION TITLES ──────────────────────────────────────── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--sp-6);
}
.section-title.light { color: var(--white); }

.section-intro {
  font-size: 1.1rem;
  color: var(--ink-mid);
  max-width: 54ch;
  margin-bottom: var(--sp-12);
  line-height: 1.72;
}

/* ─── ARCHITECTURAL SECTION DIVIDERS ─────────────────────── */
/* Chamfered top edge — like a section cut in a construction doc */
.section-cut-top {
  position: relative;
}
.section-cut-top::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 40px;
  background: inherit;
  clip-path: polygon(0 0, 100% 40px, 100% 40px, 0 40px);
  z-index: 1;
}

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.8125rem 1.75rem;
  border-radius: var(--r-sm);
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  position: relative;
}

/* Corner registration marks on primary CTA — architectural detail */
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary::before,
.btn-primary::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.btn-primary::before {
  top: 3px; left: 3px;
  border-top: 1.5px solid rgba(13,27,42,0.4);
  border-left: 1.5px solid rgba(13,27,42,0.4);
}
.btn-primary::after {
  bottom: 3px; right: 3px;
  border-bottom: 1.5px solid rgba(13,27,42,0.4);
  border-right: 1.5px solid rgba(13,27,42,0.4);
}
.btn-primary:hover::before,
.btn-primary:hover::after { opacity: 1; }
.btn-primary:hover, .btn-primary:focus-visible {
  background: #B8953F;
  border-color: #B8953F;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.65);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-outline-light:hover, .btn-outline-light:focus-visible {
  background: rgba(255,255,255,0.09);
  border-color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-light:hover, .btn-light:focus-visible {
  background: var(--gold-pale);
  border-color: var(--gold-light);
  transform: translateY(-1px);
}

.btn-large { padding: 1rem 2.25rem; font-size: 1rem; }

/* ─── NAVIGATION ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(10,21,32,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
/* Nav has a subtle blueprint grid — the whole site sits on this paper */
.nav::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(37,99,235,0.04) 1px, transparent 1px);
  background-size: 48px 100%;
  pointer-events: none;
}
.nav.scrolled {
  background: rgba(10,21,32,0.99);
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
  position: relative;
  z-index: 1;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--white);
  flex-shrink: 0;
}

.logo-mark {
  width: 34px;
  height: 34px;
  color: var(--gold);
  flex-shrink: 0;
}
.logo-mark.small { width: 26px; height: 26px; }

.logo-text {
  font-family: var(--font-body);
  font-size: 0.72rem;
  line-height: 1.3;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.02em;
}
.logo-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav-link {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  padding: var(--sp-2) var(--sp-4);
  transition: color var(--dur) var(--ease);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: var(--sp-4); right: var(--sp-4);
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--dur) var(--ease);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--gold); }
.nav-link.active::after { transform: scaleX(1); }

.nav-cta-link {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 700;
  padding: var(--sp-2) var(--sp-5) !important;
  margin-left: var(--sp-3);
  border-radius: var(--r-sm);
  letter-spacing: 0.04em;
}
.nav-cta-link::after { display: none !important; }
.nav-cta-link:hover { background: #B8953F !important; color: var(--navy) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--white);
  transition: all var(--dur) var(--ease);
}

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  background: var(--navy-surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

/* Multi-layer architectural drafting paper background */
.hero-blueprint-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
/* Primary grid */
.hero-blueprint-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(37,99,235,0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37,99,235,0.09) 1px, transparent 1px);
  background-size: 60px 60px;
}
/* Sub-grid — 4x subdivision like a real drafting sheet */
.hero-blueprint-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(37,99,235,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37,99,235,0.04) 1px, transparent 1px);
  background-size: 15px 15px;
}

/* Atmospheric radial gradients layered on top */
.hero-atmo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 25% 55%, rgba(37,99,235,0.08) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 80% 75%, rgba(201,168,76,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 30% 40% at 70% 20%, rgba(37,99,235,0.05) 0%, transparent 55%);
}

/* Title block in corner — like a real architectural drawing */
.hero-title-block {
  position: absolute;
  bottom: var(--sp-8);
  right: var(--sp-8);
  border: 1px solid rgba(37,99,235,0.2);
  padding: var(--sp-3) var(--sp-4);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(37,99,235,0.06);
  z-index: 1;
}
.htb-cell {
  padding: 4px 8px;
  border: 1px solid rgba(37,99,235,0.15);
}
.htb-label {
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  display: block;
}
.htb-value {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  display: block;
  margin-top: 1px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
  padding-block: var(--sp-20);
  position: relative;
  z-index: 2;
}

.hero-content { max-width: 580px; }

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.2vw, 3.6rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: var(--sp-6);
}
.hero-headline em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255,255,255,0.68);
  line-height: 1.75;
  margin-bottom: var(--sp-8);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-10);
}

/* Proof stats with architectural measurement notation */
.hero-proof {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,0.1);
  position: relative;
}
/* Dimension extension line */
.hero-proof::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 32px; height: 5px;
  border-top: 1px solid rgba(201,168,76,0.4);
  border-left: 1px solid rgba(201,168,76,0.4);
}

.proof-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat-num {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.12);
}

/* ─── BLUEPRINT CARD (Hero Visual) ───────────────────────── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Outer drafting frame */
.hero-visual::before {
  content: '';
  position: absolute;
  inset: -24px;
  border: 1px solid rgba(37,99,235,0.12);
  pointer-events: none;
}
.hero-visual::after {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1px dashed rgba(37,99,235,0.08);
  pointer-events: none;
}

.blueprint-card {
  background: rgba(12,24,42,0.85);
  border: 1px solid rgba(37,99,235,0.28);
  border-radius: var(--r-sm);
  padding: var(--sp-6);
  width: 100%;
  max-width: 390px;
  box-shadow: 0 0 0 1px rgba(37,99,235,0.08), var(--shadow-lift);
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 1;
}

/* Top gradient bar — like a drawing title block accent */
.blueprint-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--gold) 100%);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
}

/* Corner registration crosses */
.blueprint-card::after {
  content: '';
  position: absolute;
  bottom: 12px; right: 12px;
  width: 16px; height: 16px;
  border-right: 1px solid rgba(37,99,235,0.3);
  border-bottom: 1px solid rgba(37,99,235,0.3);
}

.bp-corner-tl {
  position: absolute;
  top: 12px; left: 12px;
  width: 16px; height: 16px;
  border-top: 1px solid rgba(37,99,235,0.3);
  border-left: 1px solid rgba(37,99,235,0.3);
}

.bp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid rgba(37,99,235,0.18);
}
.bp-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--blue);
  text-transform: uppercase;
}
.bp-tag {
  font-size: 0.62rem;
  font-weight: 700;
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  padding: 2px 8px;
  border: 1px solid rgba(201,168,76,0.3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
}

.bp-body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}

.bp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8375rem;
  position: relative;
  padding: var(--sp-1) 0;
}
/* Dotted leader line between key and value */
.bp-row::before {
  content: '';
  position: absolute;
  left: 30%;
  right: 30%;
  bottom: 4px;
  border-bottom: 1px dotted rgba(37,99,235,0.15);
}
.bp-key { color: rgba(255,255,255,0.5); position: relative; z-index: 1; background: rgba(12,24,42,0.85); padding-right: 4px; }
.bp-val { color: rgba(255,255,255,0.88); font-weight: 500; position: relative; z-index: 1; background: rgba(12,24,42,0.85); padding-left: 4px; }
.bp-val.accent { color: var(--gold); font-weight: 700; }
.bp-row--highlight {
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.15);
  padding: var(--sp-2) var(--sp-3);
  margin-inline: -12px;
  border-radius: var(--r-sm);
}
.bp-row--highlight::before { display: none; }
.bp-row--highlight .bp-key,
.bp-row--highlight .bp-val { background: transparent; }

.bp-divider {
  height: 1px;
  background: rgba(37,99,235,0.12);
  margin-block: var(--sp-2);
}

.bp-bar-wrap { margin-bottom: var(--sp-4); }
.bp-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--sp-2);
}
.bp-bar-track {
  height: 4px;
  background: rgba(255,255,255,0.06);
  position: relative;
}
/* Tick marks above bar — like a measurement scale */
.bp-bar-track::before {
  content: '';
  position: absolute;
  inset: -4px 0 0;
  background-image: repeating-linear-gradient(
    to right,
    rgba(37,99,235,0.2) 0px,
    rgba(37,99,235,0.2) 1px,
    transparent 1px,
    transparent 10%
  );
  background-size: 10% 4px;
}
.bp-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transition: width 1.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
/* Arrow indicator at progress point */
.bp-bar-fill::after {
  content: '';
  position: absolute;
  right: -1px;
  top: -4px;
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--gold);
  opacity: 0;
  transition: opacity 1s ease 1.5s;
}
.bp-bar-fill.animating::after { opacity: 1; }

.bp-footer {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.25);
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(37,99,235,0.1);
}

/* Measurement annotations beside the card */
.bp-annotation {
  position: absolute;
  right: -56px;
  top: 20%;
  bottom: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.bp-annotation-line {
  flex: 1;
  width: 1px;
  background: rgba(201,168,76,0.25);
  position: relative;
}
.bp-annotation-line::before,
.bp-annotation-line::after {
  content: '';
  position: absolute;
  left: -3px;
  width: 7px; height: 1px;
  background: rgba(201,168,76,0.4);
}
.bp-annotation-line::before { top: 0; }
.bp-annotation-line::after  { bottom: 0; }
.bp-annotation-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.5);
  padding: var(--sp-2) 0;
}

.hero-scroll-hint {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: rgba(255,255,255,0.25);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); transform-origin: top; }
  60%       { opacity: 1;   transform: scaleY(1);   transform-origin: top; }
}

/* ─── PAGE HERO (inner pages) ─────────────────────────────── */
.page-hero {
  background: var(--navy-surface);
  padding-top: calc(var(--nav-h) + var(--sp-16));
  padding-bottom: var(--sp-16);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(37,99,235,0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37,99,235,0.09) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(37,99,235,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37,99,235,0.04) 1px, transparent 1px);
  background-size: 15px 15px;
  pointer-events: none;
}

/* Page-specific atmospheric glow */
.page-hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 15% 50%, rgba(37,99,235,0.07) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* Section marker in corner — like a drawing sheet label */
.page-hero-sheet-id {
  position: absolute;
  top: calc(var(--nav-h) + var(--sp-4));
  right: var(--sp-6);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.page-hero-sheet-id::before {
  content: '';
  width: 16px; height: 1px;
  background: rgba(37,99,235,0.3);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.13;
  color: var(--white);
  margin-bottom: var(--sp-6);
}
.page-hero h1 em { font-style: italic; color: var(--gold); }

.page-hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  max-width: 52ch;
}

/* Angled bottom edge — chamfer cut between hero and body */
.page-hero-cut {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 48px;
  overflow: hidden;
  z-index: 3;
}
.page-hero-cut::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 48px;
  background: var(--white);
  clip-path: polygon(0 48px, 100% 0, 100% 48px);
}

/* ─── PROBLEM / PAIN CARDS ────────────────────────────────── */
.problem-section { position: relative; }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-4);
  margin-bottom: var(--sp-12);
}

/* Cards styled like drafted detail boxes */
.pain-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: var(--sp-6);
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
/* Top-left registration corner */
.pain-card::before {
  content: '';
  position: absolute;
  top: 6px; left: 6px;
  width: 10px; height: 10px;
  border-top: 1.5px solid var(--gold);
  border-left: 1.5px solid var(--gold);
  opacity: 0.5;
  transition: opacity var(--dur) var(--ease);
}
.pain-card:hover { box-shadow: var(--shadow-md); border-color: var(--border-mid); }
.pain-card:hover::before { opacity: 1; }

.pain-icon {
  font-size: 1rem;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 3px;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(37,99,235,0.3);
  border-radius: 50%;
}

.pain-card p {
  font-size: 0.9375rem;
  color: var(--ink-mid);
  line-height: 1.62;
}

.problem-cta-wrap {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
}
.problem-cta-text {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink-mid);
  margin-bottom: var(--sp-6);
  line-height: 1.68;
}

/* ─── ASHLEY INTRO ────────────────────────────────────────── */
.ashley-intro {
  position: relative;
  overflow: hidden;
}
/* Blueprint grid continues into dark sections */
.ashley-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(37,99,235,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37,99,235,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.ashley-inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: var(--sp-16);
  align-items: center;
  position: relative;
  z-index: 1;
}

.ashley-image-wrap { position: relative; }

/* Architectural image frame — like a drawing detail window */
.ashley-image-placeholder,
.about-image-placeholder {
  background: var(--navy-light);
  border-radius: var(--r-sm);
  aspect-ratio: 3/4;
  max-height: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.image-frame-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(37,99,235,0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37,99,235,0.12) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Registration cross at center — surveyor's mark */
.image-reg-mark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  z-index: 1;
}
.image-reg-mark::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: rgba(37,99,235,0.3);
}
.image-reg-mark::after {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: rgba(37,99,235,0.3);
}

/* Corner brackets on image frame */
.img-corner {
  position: absolute;
  width: 20px; height: 20px;
}
.img-corner--tl { top: 8px; left: 8px; border-top: 1.5px solid var(--gold); border-left: 1.5px solid var(--gold); }
.img-corner--tr { top: 8px; right: 8px; border-top: 1.5px solid var(--gold); border-right: 1.5px solid var(--gold); }
.img-corner--bl { bottom: 8px; left: 8px; border-bottom: 1.5px solid var(--gold); border-left: 1.5px solid var(--gold); }
.img-corner--br { bottom: 8px; right: 8px; border-bottom: 1.5px solid var(--gold); border-right: 1.5px solid var(--gold); }

.ashley-initials {
  font-family: var(--font-display);
  font-size: 8rem;
  color: rgba(255,255,255,0.05);
  font-style: italic;
  line-height: 1;
  position: relative;
  z-index: 2;
  user-select: none;
}
.ashley-initials.large { font-size: 11rem; }

/* Photo label below image — like a drawing figure caption */
.ashley-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--sp-3) var(--sp-4);
  background: rgba(10,21,32,0.7);
  border-top: 1px solid rgba(37,99,235,0.2);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-align: center;
  z-index: 3;
}

/* Dimension line beside image — shows this is a detail view */
.img-dimension {
  position: absolute;
  left: -28px; top: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 20px;
}
.img-dimension-line {
  flex: 1;
  width: 1px;
  background: rgba(201,168,76,0.2);
  position: relative;
}
.img-dimension-line::before,
.img-dimension-line::after {
  content: '';
  position: absolute;
  left: -3px;
  width: 7px; height: 1px;
  background: rgba(201,168,76,0.35);
}
.img-dimension-line::before { top: 0; }
.img-dimension-line::after  { bottom: 0; }

.ashley-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: var(--sp-6);
  line-height: 1.2;
}
.ashley-content p {
  color: rgba(255,255,255,0.68);
  line-height: 1.78;
  margin-bottom: var(--sp-4);
}

/* ─── SERVICES PREVIEW ────────────────────────────────────── */
.services-preview { position: relative; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  align-items: start;
}

/* Service cards as architectural drawing panels */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  position: relative;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
/* Bottom-right corner bracket */
.service-card::after {
  content: '';
  position: absolute;
  bottom: 8px; right: 8px;
  width: 14px; height: 14px;
  border-right: 1px solid var(--border-mid);
  border-bottom: 1px solid var(--border-mid);
  transition: border-color var(--dur) var(--ease);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.service-card:hover::after { border-color: var(--gold); }

.service-card--featured {
  border: 1px solid rgba(201,168,76,0.4);
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
/* Full corner bracket system on featured card */
.service-card--featured::before {
  content: '';
  position: absolute;
  top: 8px; left: 8px;
  width: 14px; height: 14px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
  opacity: 0.7;
}
.service-card--featured::after {
  border-color: rgba(201,168,76,0.4);
}
.service-card--featured:hover {
  box-shadow: var(--shadow-lift);
}
.service-card--featured:hover::after { border-color: var(--gold); }

/* Gold accent bar at top of featured card */
.service-card--featured .service-card-bar {
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(201,168,76,0.5));
  border-radius: var(--r-sm) var(--r-sm) 0 0;
}

.service-tag {
  display: inline-flex;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--navy);
  padding: 3px 10px;
  border-radius: var(--r-sm);
  width: fit-content;
}
.service-tag.secondary { background: var(--blue-light); color: var(--blue-mid); }
.service-tag.premium   { background: var(--gold-light); color: #7A5800; }

.service-price {
  font-family: var(--font-body);
  font-size: 2.125rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.service-price span { font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.45); margin-left: 2px; }
.service-card:not(.service-card--featured) .service-price { color: var(--navy); }
.service-card:not(.service-card--featured) .service-price span { color: var(--ink-light); }

.service-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
}
.service-card:not(.service-card--featured) .service-name { color: var(--navy); }

.service-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}
.service-card:not(.service-card--featured) .service-desc { color: var(--ink-mid); }

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex: 1;
}
.service-features li {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  padding-left: var(--sp-5);
  position: relative;
  line-height: 1.5;
}
/* Feature bullet — small architectural dot, not a circle */
.service-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.62em;
  width: 10px; height: 10px;
  border: 1px solid var(--gold);
  background: transparent;
  transform: rotate(45deg);
}
.service-card:not(.service-card--featured) .service-features li { color: var(--ink-mid); }
.service-card:not(.service-card--featured) .service-features li::before { border-color: var(--blue); }

/* ─── PROCESS SECTION ─────────────────────────────────────── */
.process-section {
  position: relative;
  overflow: hidden;
}

/* Large structural watermark — like a drawing background */
.process-section::after {
  content: 'ARCATECH';
  position: absolute;
  bottom: -20px; right: -20px;
  font-family: var(--font-body);
  font-size: 10rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(37,99,235,0.025);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: var(--sp-12);
  position: relative;
}

/* Full-width baseline — like a datum line in a drawing */
.process-steps::before {
  content: '';
  position: absolute;
  top: 52px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-mid) 10%, var(--border-mid) 90%, transparent);
}

.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: 0 var(--sp-6) 0 0;
  position: relative;
}

/* Step node — sits on the datum line */
.process-step::before {
  content: '';
  position: absolute;
  top: 44px; left: 0;
  width: 18px; height: 18px;
  background: var(--white);
  border: 2px solid var(--border-mid);
  transform: rotate(45deg);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
  z-index: 1;
}
.process-step:hover::before {
  border-color: var(--gold);
  background: var(--gold-pale);
}

.step-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--sp-10); /* space for datum line */
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin-top: var(--sp-8);
}

.process-step p {
  font-size: 0.9rem;
  color: var(--ink-mid);
  line-height: 1.65;
  max-width: 22ch;
}

.process-connector {
  flex-shrink: 0;
  width: var(--sp-8);
}

/* ─── TESTIMONIALS ────────────────────────────────────────── */
.testimonial-section {}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-10);
}

.testimonial-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  position: relative;
}
/* Open-quote as architectural mark, not decorative flourish */
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: var(--gold-light);
  position: absolute;
  top: 0; left: var(--sp-6);
  line-height: 1.1;
}
/* Top accent bar */
.testimonial-card::after {
  content: '';
  position: absolute;
  top: -1px; left: 20%; right: 20%;
  height: 2px;
  background: var(--gold-light);
}

.testimonial-quote {
  font-size: 0.9375rem;
  line-height: 1.78;
  color: var(--ink-mid);
  padding-top: var(--sp-8);
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  border-top: 1px solid var(--border);
  padding-top: var(--sp-4);
}

.testimonial-avatar {
  width: 38px; height: 38px;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  border: 1px solid rgba(201,168,76,0.2);
}

.testimonial-author div { display: flex; flex-direction: column; gap: 2px; }
.testimonial-author strong { font-size: 0.875rem; color: var(--ink); }
.testimonial-author span  { font-size: 0.75rem; color: var(--ink-light); }

/* ─── FINAL CTA ───────────────────────────────────────────── */
.final-cta {
  position: relative;
  overflow: hidden;
}

/* Diagonal structure lines in CTA — like a site plan overlay */
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -45deg,
      rgba(37,99,235,0.04) 0px,
      rgba(37,99,235,0.04) 1px,
      transparent 1px,
      transparent 40px
    );
  pointer-events: none;
}

.final-cta-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-16);
  min-height: 260px;
  position: relative;
  z-index: 1;
}

.final-cta-content { max-width: 580px; }
.final-cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  color: var(--white);
  margin-bottom: var(--sp-4);
  line-height: 1.2;
}
.final-cta-content p {
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--sp-8);
  font-size: 1.05rem;
  line-height: 1.68;
}

.final-cta-visual { flex: 1; display: flex; justify-content: flex-end; align-items: center; }

/* Architectural compass rose / site plan mark */
.cta-compass {
  width: 180px; height: 180px;
  position: relative;
  opacity: 0.35;
}
.cta-compass svg { width: 100%; height: 100%; }

/* ─── ABOUT PAGE ──────────────────────────────────────────── */
.about-story {}

.story-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: var(--sp-16);
  align-items: start;
}

.story-image-col { position: relative; }

.story-stats-block {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--sp-6);
  background: var(--navy);
  border-radius: var(--r-sm);
  color: var(--white);
  overflow: hidden;
  border: 1px solid rgba(37,99,235,0.2);
  position: relative;
}
/* Grid lines inside stats block */
.story-stats-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(37,99,235,0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37,99,235,0.08) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.story-stat {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 1;
}
.story-stat:last-child { border-bottom: none; }
/* Dimension tick on left */
.story-stat::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  opacity: 0.4;
}

.stat-big {
  font-family: var(--font-body);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  min-width: 90px;
}

.story-text-col h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.18;
  color: var(--navy);
  margin-bottom: var(--sp-6);
}
.story-text-col p {
  color: var(--ink-mid);
  line-height: 1.78;
  margin-bottom: var(--sp-4);
  font-size: 0.9375rem;
}

/* Values list as annotated specification list */
.about-values {
  background: var(--cream);
  border-radius: var(--r-sm);
  padding: var(--sp-8);
  margin-bottom: var(--sp-8);
  border-left: 3px solid var(--gold);
  position: relative;
  overflow: hidden;
}
.about-values::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--draw-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--draw-line) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.about-values h3 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--navy);
  margin-bottom: var(--sp-5);
  position: relative;
  z-index: 1;
}

.values-list { display: flex; flex-direction: column; gap: var(--sp-4); position: relative; z-index: 1; }
.values-list li {
  font-size: 0.9rem;
  color: var(--ink-mid);
  line-height: 1.65;
  padding: var(--sp-3) var(--sp-4);
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 2px solid var(--gold);
  border-radius: var(--r-sm);
}
.values-list li strong { color: var(--navy); display: block; margin-bottom: 2px; font-size: 0.875rem; }

/* ─── DIFF GRID ───────────────────────────────────────────── */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-5);
  margin-top: var(--sp-10);
}

.diff-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  position: relative;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.diff-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 20px; right: 20px;
  height: 2px;
  background: transparent;
  transition: background var(--dur) var(--ease);
}
.diff-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.diff-card:hover::before { background: var(--gold); }

/* Checkmark as architectural symbol */
.diff-icon {
  width: 36px; height: 36px;
  background: var(--navy);
  color: var(--gold);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center; justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  position: relative;
}
/* Bottom-right corner mark on icon */
.diff-icon::after {
  content: '';
  position: absolute;
  bottom: -3px; right: -3px;
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  opacity: 0.4;
}

.diff-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
}
.diff-card p { font-size: 0.9rem; color: var(--ink-mid); line-height: 1.65; }

/* ─── SERVICES PAGE ───────────────────────────────────────── */
.prerequisite-banner {
  background: var(--blue-light);
  border-top: 1px solid rgba(37,99,235,0.2);
  border-bottom: 1px solid rgba(37,99,235,0.2);
  padding-block: var(--sp-4);
}
.prereq-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}
.prereq-icon { width: 28px; height: 28px; flex-shrink: 0; color: var(--blue-mid); }
.prereq-text { font-size: 0.9rem; color: var(--blue-mid); line-height: 1.5; }
.prereq-text strong { color: var(--navy); }

.services-full { display: flex; flex-direction: column; gap: var(--sp-10); }

/* Service detail cards as full drawing sheets */
.service-detail {
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: relative;
}
/* Drawing number tag in corner */
.service-detail::before {
  content: attr(data-sheet);
  position: absolute;
  top: var(--sp-4); right: var(--sp-4);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
  z-index: 2;
}

.service-detail--secondary .service-detail-header {
  background: var(--cream);
}
.service-detail--secondary::before {
  color: rgba(13,27,42,0.15);
}

.service-detail-header {
  background: var(--navy);
  color: var(--white);
  padding: var(--sp-10);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-8);
  position: relative;
  overflow: hidden;
}
/* Grid in header */
.service-detail-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(37,99,235,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37,99,235,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.sdh-left { flex: 1; position: relative; z-index: 1; }

.service-detail-name {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-top: var(--sp-2); margin-bottom: var(--sp-2);
}
.service-detail--secondary .service-detail-name { color: var(--navy); }

.service-detail-sub { font-size: 1.05rem; opacity: 0.65; line-height: 1.5; }

.sdh-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--sp-2);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.service-detail-price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.service-detail--secondary .service-detail-price { color: var(--navy); }
.service-detail-freq { font-size: 0.875rem; opacity: 0.55; margin-bottom: var(--sp-4); }

.service-detail-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  padding: var(--sp-10);
  position: relative;
}
/* Vertical rule between description and features — like a drawing column */
.service-detail-body::before {
  content: '';
  position: absolute;
  left: 50%; top: var(--sp-10); bottom: var(--sp-10);
  width: 1px;
  background: var(--border);
}

.service-detail-desc p {
  font-size: 0.9375rem;
  color: var(--ink-mid);
  line-height: 1.78;
  margin-bottom: var(--sp-4);
}
.service-detail-desc p:last-child { margin-bottom: 0; }

.service-detail-features h3 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: var(--sp-5);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.service-detail-features h3::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.features-list { display: flex; flex-direction: column; gap: var(--sp-5); list-style: none; }
.features-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: var(--sp-3);
  align-items: start;
}

.feature-check {
  width: 18px; height: 18px;
  border-radius: var(--r-sm);
  background: var(--navy);
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
  transform: rotate(45deg);
}
.feature-check::after {
  content: '';
  position: absolute;
  left: 5px; top: 2px;
  width: 5px; height: 8px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(-35deg);
}

.features-list li div { display: flex; flex-direction: column; gap: 2px; }
.features-list li strong { font-size: 0.9rem; color: var(--navy); font-weight: 600; }
.features-list li span  { font-size: 0.825rem; color: var(--ink-mid); line-height: 1.5; }

.service-detail-cta {
  padding: var(--sp-6) var(--sp-10) var(--sp-10);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}
.cta-note { font-size: 0.8125rem; color: var(--ink-light); }

.ongoing-header {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  padding-top: var(--sp-8);
}
.ongoing-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--navy);
  margin-bottom: var(--sp-4);
}
.ongoing-header p { font-size: 1rem; color: var(--ink-mid); line-height: 1.7; }

/* ─── COMPARISON TABLE ────────────────────────────────────── */
/* Styled like a project specification matrix */
.comparison-section {}
.comparison-table-wrap { overflow-x: auto; margin-top: var(--sp-10); }

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  border: 1px solid var(--border);
}

.comparison-table th {
  background: var(--navy);
  color: var(--white);
  padding: var(--sp-4) var(--sp-5);
  text-align: left;
  font-weight: 600;
  font-size: 0.825rem;
  line-height: 1.4;
  border-right: 1px solid rgba(255,255,255,0.07);
  position: relative;
}
.comparison-table th.col-featured {
  background: var(--navy-light);
  border-top: 3px solid var(--gold);
  color: var(--gold);
}
.comparison-table th small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
}
.comparison-table th.col-featured small { color: rgba(255,255,255,0.5); }

.comparison-table td {
  padding: var(--sp-3) var(--sp-5);
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  color: var(--ink-mid);
  vertical-align: middle;
}
.comparison-table td.col-featured { background: var(--gold-pale); }
.comparison-table td.check { font-size: 1rem; color: var(--blue-mid); font-weight: 700; }
.comparison-table td.col-featured.check { color: var(--navy); }
.comparison-table tr:nth-child(even) td { background: var(--cream); }
.comparison-table tr:nth-child(even) td.col-featured { background: var(--gold-light); }
.comparison-table tr:hover td { background: var(--cream-dark); }
.comparison-table tr:hover td.col-featured { background: var(--gold-light); }

/* ─── FAQ PAGE ────────────────────────────────────────────── */
.faq-section {}
.faq-layout { max-width: 800px; margin-inline: auto; }

.faq-group { margin-bottom: var(--sp-12); }

/* Group title as a drawing section heading */
.faq-group-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: var(--navy);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.faq-group-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold-light);
}

.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--dur) var(--ease);
}
.faq-question:hover { color: var(--blue-mid); }
.faq-question[aria-expanded="true"] { color: var(--blue-mid); }

/* FAQ expand icon — diamond rotate, not a circle */
.faq-icon {
  width: 22px; height: 22px;
  border: 1px solid var(--border-mid);
  flex-shrink: 0;
  position: relative;
  transform: rotate(45deg);
  transition: all var(--dur) var(--ease);
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--ink-mid);
  transition: all var(--dur) var(--ease);
}
.faq-icon::before { width: 8px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-icon::after  { width: 1.5px; height: 8px; transform: translate(-50%, -50%); }
.faq-question[aria-expanded="true"] .faq-icon {
  background: var(--blue-light);
  border-color: var(--blue);
}
.faq-question[aria-expanded="true"] .faq-icon::before { background: var(--blue-mid); }
.faq-question[aria-expanded="true"] .faq-icon::after { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }

.faq-answer { display: none; padding-bottom: var(--sp-6); }
.faq-answer.open { display: block; }
.faq-answer p {
  font-size: 0.9375rem;
  color: var(--ink-mid);
  line-height: 1.78;
  margin-bottom: var(--sp-3);
}
.faq-answer p:last-child { margin-bottom: 0; }

.faq-still-here {
  text-align: center;
  padding-top: var(--sp-12);
  border-top: 1px solid var(--border);
}
.faq-still-here h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: var(--sp-4);
}
.faq-still-here p {
  font-size: 1rem;
  color: var(--ink-mid);
  margin-bottom: var(--sp-6);
  max-width: 44ch;
  margin-inline: auto;
}

/* ─── CONTACT PAGE ────────────────────────────────────────── */
.contact-section {}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--sp-12);
  align-items: start;
}

.contact-form-wrap {
  background: var(--cream);
  border-radius: var(--r-sm);
  padding: var(--sp-10);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
/* Subtle grid on form area */
.contact-form-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--draw-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--draw-line) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.contact-form-wrap h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: var(--sp-3);
  position: relative;
  z-index: 1;
}
.form-intro {
  font-size: 0.9rem;
  color: var(--ink-mid);
  margin-bottom: var(--sp-8);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.contact-form { display: flex; flex-direction: column; gap: var(--sp-5); position: relative; z-index: 1; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
.form-group { display: flex; flex-direction: column; gap: var(--sp-2); }

.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}
.required { color: var(--blue-mid); }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--white);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-sm);
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  color: var(--ink);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  width: 100%;
  appearance: none; -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: #DC2626; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ink-light); }
.form-group textarea { resize: vertical; min-height: 120px; }

.field-error { font-size: 0.78rem; color: #DC2626; display: none; }
.field-error.visible { display: block; }
.field-hint { font-size: 0.75rem; color: var(--ink-light); }

.form-consent {}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--ink-mid);
  line-height: 1.5;
}
.checkbox-label input[type="checkbox"] { display: none; }
.checkbox-custom {
  width: 18px; height: 18px;
  border: 1px solid var(--border-mid);
  border-radius: var(--r-sm);
  flex-shrink: 0;
  background: var(--white);
  margin-top: 2px;
  position: relative;
  transition: all var(--dur) var(--ease);
}
.checkbox-label input:checked + .checkbox-custom {
  background: var(--navy);
  border-color: var(--navy);
}
.checkbox-label input:checked + .checkbox-custom::after {
  content: '';
  position: absolute;
  left: 5px; top: 2px;
  width: 5px; height: 9px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(35deg);
}

.btn-submit { width: 100%; position: relative; }
.btn-loading {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(13,27,42,0.3);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.btn-submit.loading .btn-text { opacity: 0; }
.btn-submit.loading .btn-loading { display: block; position: absolute; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success {
  text-align: center;
  padding: var(--sp-12) var(--sp-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  position: relative;
  z-index: 1;
}
.success-icon { width: 52px; color: var(--blue-mid); }
.form-success h3 { font-family: var(--font-display); font-size: 1.75rem; color: var(--navy); }
.form-success p { color: var(--ink-mid); line-height: 1.65; }
.form-success a { color: var(--blue); text-decoration: underline; }

/* Contact sidebar */
.contact-info-col { display: flex; flex-direction: column; gap: var(--sp-5); }

.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r-sm);
  padding: var(--sp-8);
  position: relative;
  overflow: hidden;
}
/* Grid in card */
.contact-info-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(37,99,235,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37,99,235,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: var(--sp-5);
  color: var(--white);
  position: relative;
  z-index: 1;
}
.contact-info-card--quiet {
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--border);
}
.contact-info-card--quiet::before {
  background-image:
    linear-gradient(to right, var(--draw-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--draw-line) 1px, transparent 1px);
}
.contact-info-card--quiet h3 { color: var(--navy); }
.contact-info-card--stats {
  background: var(--gold);
  color: var(--navy);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
.contact-info-card--stats::before { display: none; }

.next-steps {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  position: relative;
  z-index: 1;
}
.next-steps li { display: flex; gap: var(--sp-4); align-items: flex-start; }
.ns-num {
  width: 26px; height: 26px;
  background: var(--gold);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.75rem;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  transform: rotate(45deg);
}
.ns-num span { transform: rotate(-45deg); display: block; }
.next-steps li div { flex: 1; }
.next-steps li strong { display: block; font-size: 0.9rem; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.next-steps li p { font-size: 0.8125rem; color: rgba(255,255,255,0.55); line-height: 1.5; }

blockquote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink-mid);
  line-height: 1.72;
  margin-bottom: var(--sp-5);
  position: relative;
  padding-left: var(--sp-5);
  border-left: 2px solid var(--gold-light);
  z-index: 1;
}

.ashley-sig {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  position: relative;
  z-index: 1;
}
.sig-avatar {
  width: 34px; height: 34px;
  background: var(--navy);
  color: var(--gold);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.875rem;
}
.ashley-sig span { font-size: 0.8125rem; font-weight: 600; color: var(--navy); }

.contact-stat {
  display: flex; flex-direction: column;
  align-items: center; gap: 4px;
  text-align: center;
}
.cs-num { font-size: 1.25rem; font-weight: 700; color: var(--navy); }
.cs-label { font-size: 0.65rem; color: rgba(13,27,42,0.65); line-height: 1.3; letter-spacing: 0.04em; }

/* ─── FOOTER — Construction Document Title Block ──────────── */
.footer {
  background: var(--navy-surface);
  color: var(--white);
  padding-block: var(--sp-12);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(37,99,235,0.15);
}
/* Footer grid — like a drawing sheet */
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(37,99,235,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37,99,235,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
/* Title block accent line at top of footer */
.footer::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--gold) 50%, transparent 100%);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--sp-10);
  align-items: start;
  position: relative;
  z-index: 1;
}

.footer-logo { margin-bottom: var(--sp-4); display: inline-flex; }
.footer-tagline {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-nav ul { display: flex; flex-direction: column; gap: var(--sp-2); list-style: none; }
.footer-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color var(--dur) var(--ease);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.footer-nav a::before {
  content: '';
  width: 12px; height: 1px;
  background: rgba(201,168,76,0.3);
  transition: width var(--dur) var(--ease), background var(--dur) var(--ease);
}
.footer-nav a:hover { color: var(--gold); }
.footer-nav a:hover::before { width: 20px; background: var(--gold); }

.footer-legal { text-align: right; }
.footer-legal p { font-size: 0.75rem; color: rgba(255,255,255,0.3); line-height: 1.7; }
.footer-disclaimer {
  margin-top: var(--sp-3);
  font-size: 0.7rem;
  opacity: 0.5;
  max-width: 34ch;
  margin-left: auto;
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--sp-12); }
  .hero-visual { display: none; }
  .ashley-inner { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .service-detail-body { grid-template-columns: 1fr; }
  .service-detail-body::before { display: none; }
  .service-detail-header { flex-direction: column; gap: var(--sp-4); }
  .sdh-right { align-items: flex-start; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-column: 1 / -1; text-align: left; }
  .footer-disclaimer { margin-left: 0; max-width: 100%; }
  .process-steps { flex-direction: column; gap: var(--sp-6); }
  .process-steps::before {
    top: 0; bottom: 0;
    left: 26px; right: auto;
    width: 1px; height: auto;
  }
  .process-step { padding: 0 0 0 var(--sp-12); }
  .process-step::before { top: 10px; left: 18px; }
  .process-connector { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .img-dimension { display: none; }
  .bp-annotation { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(10,21,32,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: var(--sp-6);
    gap: var(--sp-1);
    border-bottom: 1px solid rgba(37,99,235,0.15);
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
    pointer-events: none;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-link { padding: var(--sp-3) var(--sp-4); width: 100%; }
  .nav-link::after { display: none; }
  .nav-cta-link { text-align: center; margin-top: var(--sp-2); margin-left: 0; }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .section { padding-block: var(--sp-12); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-proof { flex-wrap: wrap; gap: var(--sp-4); }
  .proof-divider { display: none; }
  .hero-title-block { display: none; }

  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer-legal { text-align: left; }
  .service-detail-cta { flex-direction: column; align-items: flex-start; }
  .contact-info-card--stats { grid-template-columns: 1fr; }
  .final-cta-inner { flex-direction: column; }
  .final-cta-visual { display: none; }
  .hero-visual::before,
  .hero-visual::after { display: none; }
  .process-section::after { display: none; }
}

@media (max-width: 480px) {
  .container { padding-inline: var(--sp-4); }
  .hero-headline { font-size: 2rem; }
  .pain-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
}

/* ─── REDUCED MOTION ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .scroll-line { animation: none; }
  html { scroll-behavior: auto; }
}

/* ─── FOCUS STYLES ────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
