/* ─── RESET & ROOT ───────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ink: #1a1814;
  --ink-mid: #57534e;
  --ink-light: #a8a29e;
  --bg: #faf9f7;
  --bg-soft: #f2efe9;
  --bg-alt: #e8e3da;
  --accent: #3d4a5a;
  --accent-hover: #2d3847;
  --accent-soft: #eaecef;
  --dark: #1c1a17;
  --dark-2: #2a271f;
  --border: #ddd8d0;
  --radius: 6px;
  --radius-lg: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAVBAR ─────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(28, 26, 23, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-brand img { height: 28px; width: auto; display: block; }
.nav-brand span { color: #b8c4ce; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
}
.nav-links a, .nav-link {
  text-decoration: none;
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  font-weight: 600;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover, .nav-link:hover { color: #ffffff; background: rgba(255,255,255,0.08); }
.nav-links a.active, .nav-link.active { color: #c8bfb4; }
.nav-cta { border: 1px solid rgba(255,255,255,0.28) !important; color: rgba(255,255,255,0.88) !important; background: transparent !important; border-radius: 0 !important; padding: 0.4rem 1rem !important; }
.nav-cta:hover { background: rgba(255,255,255,0.06) !important; border-color: rgba(255,255,255,0.5) !important; color: #ffffff !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,0.7); border-radius: 2px; transition: 0.3s; }

/* ─── BUTTONS ────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--accent); color: #ffffff;
  text-decoration: none; font-weight: 600; font-size: 0.875rem;
  border-radius: var(--radius); transition: background 0.15s, transform 0.15s;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-primary svg { transition: transform 0.2s; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-outline, .btn-secondary {
  display: inline-flex; align-items: center;
  padding: 0.75rem 1.5rem;
  background: transparent; color: var(--ink);
  text-decoration: none; font-weight: 500; font-size: 0.875rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  transition: border-color 0.15s, background 0.15s;
}
.btn-outline:hover, .btn-secondary:hover { border-color: var(--ink-mid); background: var(--bg-soft); }

/* Hero-specific button overrides (dark background) */
.hero .btn-primary { background: #ffffff; color: var(--dark); }
.hero .btn-primary:hover { background: #f2efe9; }
.hero .btn-primary svg path { stroke: var(--dark); }
.hero .btn-outline, .hero .btn-secondary {
  border-color: rgba(255,255,255,0.25); color: rgba(255,255,255,0.85);
}
.hero .btn-outline:hover, .hero .btn-secondary:hover {
  background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.45);
  color: #ffffff;
}

.btn-white {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: #ffffff; color: var(--dark);
  text-decoration: none; font-weight: 700; font-size: 0.9rem;
  border-radius: var(--radius); transition: background 0.15s, transform 0.15s;
}
.btn-white:hover { background: var(--bg-alt); transform: translateY(-1px); }

/* ─── EYEBROW ────────────────────────────────── */
.eyebrow, .page-header-eyebrow, .hero-eyebrow, .section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.eyebrow::before,
.page-header-eyebrow::before,
.hero-eyebrow::before,
.section-eyebrow::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* Eyebrow on dark backgrounds */
.hero .eyebrow,
.hero .hero-eyebrow,
.hero .section-eyebrow {
  color: #b8c4ce;
}
.cta-section .eyebrow { color: #b8c4ce; }

/* ─── PAGE HEADER (inner pages) ──────────────── */
.page-header {
  background: var(--bg-soft);
  padding: 5rem 2rem;
  border-bottom: 1px solid var(--border);
}
.page-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.page-header-inner .eyebrow,
.page-header-inner .page-header-eyebrow { justify-content: center; }
.page-header h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1rem;
}
.page-header h1 em { font-style: italic; color: var(--accent); }
.page-header-inner > p {
  font-size: 1.05rem; color: var(--ink-mid); line-height: 1.7;
  max-width: 540px; margin-left: auto; margin-right: auto;
}

/* ─── HERO (dark) ────────────────────────────── */
.hero {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
/* subtle grid pattern */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
}
.hero h1 {
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}
.hero h1 em { font-style: italic; color: #b8c4ce; }
.hero-lead {
  font-size: 1.05rem; color: rgba(255,255,255,0.65);
  line-height: 1.75; margin-bottom: 2rem; max-width: 480px;
}
.hero-inner > div > p {
  font-size: 1.05rem; color: rgba(255,255,255,0.65);
  line-height: 1.75; margin-bottom: 2rem; max-width: 480px;
}
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-img {
  width: 100%; border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.12);
  display: block; object-fit: cover; max-height: 380px;
}
.hero-visual { display: flex; flex-direction: column; }

/* ─── HOMEPAGE STATS CARD ────────────────────── */
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.hero-card-label {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}
.stat-row { display: flex; flex-direction: column; gap: 0.625rem; }
.stat-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.125rem;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}
.stat-num {
  font-size: 1.875rem; font-weight: 800; line-height: 1;
  color: #ffffff; min-width: 3rem; letter-spacing: -0.03em;
}
.stat-desc { font-size: 0.8rem; color: rgba(255,255,255,0.55); line-height: 1.4; }
.hero-badge {
  display: flex; align-items: center; gap: 0.75rem;
  margin-top: 1rem;
  background: rgba(61, 74, 90, 0.4);
  border: 1px solid rgba(184, 196, 206, 0.25);
  color: rgba(255,255,255,0.7);
  border-radius: var(--radius);
  padding: 0.75rem 1rem; font-size: 0.78rem; font-weight: 500; line-height: 1.4;
}
.hero-badge strong { font-size: 0.85rem; font-weight: 700; white-space: nowrap; color: #ffffff; }

/* ─── TRUST BAR ──────────────────────────────── */
.trust-bar { background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 1rem 2rem; }
.trust-bar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 2.5rem; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 500; color: var(--ink-mid); white-space: nowrap;
}
.trust-item svg { color: var(--accent); flex-shrink: 0; }
.trust-divider { width: 1px; height: 18px; background: var(--border); }

/* ─── SECTION WRAPPERS ───────────────────────── */
.section { max-width: 1200px; margin: 0 auto; padding: 5.5rem 2rem; }
.section-narrow { max-width: 760px; margin: 0 auto; padding: 5.5rem 2rem; }
.section-header { margin-bottom: 3.5rem; }
.section-title {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; color: var(--ink);
}
.section-subtitle {
  margin-top: 0.875rem; font-size: 1.05rem;
  color: var(--ink-mid); max-width: 520px; line-height: 1.65;
}
.bg-sand { background: var(--bg-soft); }

/* ─── CONSIDERATIONS (ADU page) ─────────────── */
.considerations-bg { background: var(--bg-soft); padding: 5.5rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.considerations-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.considerations-inner > .eyebrow { margin-bottom: 0.5rem; }
.considerations-inner > h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.12; color: var(--ink); margin-bottom: 1rem;
}
.considerations-inner > p {
  color: var(--ink-mid); font-size: 1.05rem; line-height: 1.75;
  margin-bottom: 3rem; max-width: 640px;
}
.considerations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.consideration-card {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.consideration-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(61,74,90,0.12);
}
.consideration-icon {
  flex-shrink: 0; width: 42px; height: 42px;
  background: var(--accent-soft); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; color: var(--accent);
}
.consideration-card h4 { font-size: 0.95rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; line-height: 1.3; }
.consideration-card p { font-size: 0.875rem; color: var(--ink-mid); line-height: 1.65; margin: 0; }
@media (max-width: 640px) { .considerations-grid { grid-template-columns: 1fr; } }

/* ─── PROJECTS (Remodel page) ───────────────── */
.projects-bg { background: var(--bg-soft); padding: 5.5rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.projects-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.projects-inner > .eyebrow { margin-bottom: 0.5rem; }
.projects-inner > h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.12; color: var(--ink); margin-bottom: 1rem;
}
.projects-inner > p {
  color: var(--ink-mid); font-size: 1.05rem; line-height: 1.75;
  margin-bottom: 3rem; max-width: 640px;
}
.projects-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.project-card {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.project-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(61,74,90,0.12);
}
.project-icon {
  flex-shrink: 0; width: 42px; height: 42px;
  background: var(--accent-soft); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; color: var(--accent);
}
.project-card h4 { font-size: 0.95rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; line-height: 1.3; }
.project-card p { font-size: 0.875rem; color: var(--ink-mid); line-height: 1.65; margin: 0; }
@media (max-width: 640px) { .projects-grid { grid-template-columns: 1fr; } }

/* ─── SERVICES (homepage) ────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.25rem;
  display: flex; flex-direction: column;
  transition: box-shadow 0.25s, transform 0.2s, border-color 0.2s;
  position: relative; overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent); opacity: 0;
  transition: opacity 0.25s;
}
.service-card:hover {
  box-shadow: 0 12px 40px rgba(15,23,42,0.1);
  transform: translateY(-3px);
  border-color: var(--border);
}
.service-card:hover::after { opacity: 1; }
.service-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem; color: var(--accent);
}
.service-card h3 {
  font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 0.75rem; color: var(--ink);
}
.service-card p {
  font-size: 0.9rem; color: var(--ink-mid); line-height: 1.7;
  margin-bottom: 1.25rem; flex: 1;
}
.service-features { list-style: none; margin-bottom: 1.75rem; }
.service-features li {
  font-size: 0.82rem; color: var(--ink-mid); padding: 0.3rem 0;
  display: flex; align-items: baseline; gap: 0.5rem;
  border-bottom: 1px solid var(--bg-soft);
}
.service-features li:last-child { border-bottom: none; }
.service-features li::before { content: "→"; color: var(--accent); font-weight: 700; flex-shrink: 0; font-size: 0.75rem; }
.service-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem; font-weight: 600; color: var(--accent);
  text-decoration: none; margin-top: auto; transition: gap 0.2s;
}
.service-link:hover { gap: 0.65rem; }

/* ─── PROCESS (homepage) ─────────────────────── */
.process-wrap {
  background: var(--bg-soft);
  padding: 5.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.process-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.process-steps {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; position: relative; margin-top: 3.5rem;
}
.process-steps::before {
  content: ""; position: absolute;
  top: 22px; left: calc(10% + 16px); right: calc(10% + 16px);
  height: 1px; background: var(--border);
}
.step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 0.75rem; position: relative; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700; color: var(--ink-light);
  margin-bottom: 1.25rem; position: relative; z-index: 1;
}
.step:first-child .step-num { background: var(--accent); border-color: var(--accent); color: #ffffff; }
.step h4 { font-size: 0.88rem; font-weight: 600; color: var(--ink); margin-bottom: 0.5rem; line-height: 1.25; }
.step p { font-size: 0.77rem; color: var(--ink-light); line-height: 1.55; }

/* ─── CONTENT SECTIONS ──────────────────────── */
.content-section { max-width: 1200px; margin: 0 auto; padding: 5.5rem 2rem; }
.content-section h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.12; color: var(--ink); margin-bottom: 1.25rem;
}
.content-section h3 { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin: 1.75rem 0 0.5rem; }
.content-section h3:first-child { margin-top: 0; }
.content-section p { font-size: 0.95rem; color: var(--ink-mid); line-height: 1.8; margin-bottom: 0.75rem; }
.content-section p:last-child { margin-bottom: 0; }
.content-section ul, .content-section ol { padding-left: 1.25rem; color: var(--ink-mid); font-size: 0.95rem; line-height: 1.8; margin-top: 0.5rem; margin-bottom: 0.75rem; }
.content-section li { margin-bottom: 0.3rem; }
.two-col-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.two-col-wide figure { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.two-col-wide figure img { width: 100%; display: block; object-fit: cover; max-height: 320px; background: var(--bg); }
.two-col-wide figure figcaption { padding: 0.75rem 1rem; font-size: 0.78rem; color: var(--ink-light); border-top: 1px solid var(--border); line-height: 1.5; }
.img-pair { display: flex; flex-direction: column; gap: 1.25rem; }
.img-pair figure { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.img-pair figure img { width: 100%; display: block; object-fit: cover; max-height: 220px; background: var(--bg); }
.img-pair figure figcaption { padding: 0.75rem 1rem; font-size: 0.78rem; color: var(--ink-light); border-top: 1px solid var(--border); line-height: 1.5; }

/* ─── BLUEPRINT SECTION ──────────────────────── */
.blueprint-section { background: var(--bg-soft); padding: 5.5rem 2rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.blueprint-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.6fr; gap: 5rem; align-items: center; }
.blueprint-text h2 { font-size: clamp(1.6rem, 2.5vw, 2.25rem); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); margin: 0.75rem 0 1rem; line-height: 1.15; }
.blueprint-text p { font-size: 0.95rem; color: var(--ink-mid); line-height: 1.8; margin-bottom: 1.5rem; }
.blueprint-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.625rem; }
.blueprint-list li { font-size: 0.875rem; color: var(--ink-mid); display: flex; align-items: center; gap: 0.75rem; }
.blueprint-list li::before { content: ""; display: block; width: 18px; height: 1.5px; background: var(--ink-light); flex-shrink: 0; }
.blueprint-figure { border-radius: var(--radius-lg); overflow: hidden; background: var(--bg); border: 1px solid var(--border); box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
.blueprint-figure img { width: 100%; display: block; object-fit: contain; padding: 1.5rem; max-height: 520px; transition: transform 0.4s cubic-bezier(0.16,1,0.3,1); }
.blueprint-figure:hover img { transform: scale(1.03); }
.blueprint-figure figcaption { padding: 0.875rem 1.25rem; font-size: 0.75rem; color: var(--ink-light); border-top: 1px solid var(--border); letter-spacing: 0.02em; }
@media (max-width: 960px) { .blueprint-inner { grid-template-columns: 1fr; gap: 3rem; } }

/* ─── ABOUT CARDS ────────────────────────────── */
.about-section { max-width: 1200px; margin: 0 auto; padding: 5rem 2rem 5.5rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.about-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.25rem; }
.about-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--ink); margin-bottom: 1rem; letter-spacing: -0.02em; }
.about-card p { font-size: 0.95rem; color: var(--ink-mid); line-height: 1.8; margin-bottom: 0.75rem; }
.about-card p:last-child { margin-bottom: 0; }
.diff-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.diff-item { display: flex; gap: 1rem; align-items: flex-start; }
.diff-num {
  flex-shrink: 0; width: 28px; height: 28px;
  background: var(--accent); color: #ffffff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700;
}
.diff-text { font-size: 0.9rem; color: var(--ink-mid); line-height: 1.7; padding-top: 0.2rem; }
.diff-text strong { color: var(--ink); }
.about-closing {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.25rem 2.75rem;
  border-left: 4px solid var(--accent);
}
.about-closing p { font-size: 1rem; color: var(--ink-mid); line-height: 1.8; margin-bottom: 0.5rem; }
.about-closing p:last-child { margin-bottom: 0; }
.content-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.content-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 0.75rem; }
.content-card p { font-size: 0.95rem; color: var(--ink-mid); line-height: 1.8; margin-bottom: 0.75rem; }
.content-card p:last-child { margin-bottom: 0; }
.feature-list { list-style: none; padding: 0; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.625rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.9rem; color: var(--ink-mid); line-height: 1.5;
}
.feature-list li:last-child { border-bottom: none; }
.feature-num {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); color: #ffffff; font-size: 0.68rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}

/* ─── DIVIDER ────────────────────────────────── */
.divider { max-width: 1200px; margin: 0 auto; padding: 0 2rem; border: none; border-top: 1px solid var(--border); }

/* ─── PAGE SECTIONS (retrofit prose) ────────── */
.page-section { max-width: 1200px; margin: 0 auto; padding: 5.5rem 2rem; }
.page-section h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.12; color: var(--ink); margin-bottom: 1.25rem;
}
.page-section p { font-size: 1rem; color: var(--ink-mid); line-height: 1.8; max-width: 720px; margin-bottom: 1rem; }
.page-section p:last-of-type { margin-bottom: 0; }

/* ─── FAILURE MODES (retrofit) ───────────────── */
.failures-bg {
  background: var(--bg-soft); padding: 5.5rem 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.failures-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.failures-inner h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.12; color: var(--ink); margin-bottom: 0.75rem;
}
.failures-inner > p {
  font-size: 1rem; color: var(--ink-mid); line-height: 1.8;
  max-width: 640px; margin-bottom: 3rem;
}
.failure-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; }
.failure-grid .failure-card:nth-child(1) { grid-column: 1 / span 2; }
.failure-grid .failure-card:nth-child(2) { grid-column: 3 / span 2; }
.failure-grid .failure-card:nth-child(3) { grid-column: 5 / span 2; }
.failure-grid .failure-card:nth-child(4) { grid-column: 2 / span 2; }
.failure-grid .failure-card:nth-child(5) { grid-column: 4 / span 2; }
.failure-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column;
}
.failure-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--bg); padding: 1.5rem; }
.failure-card figcaption {
  padding: 1rem 1.25rem 1.25rem; font-size: 0.82rem; color: var(--ink-light);
  line-height: 1.55; border-top: 1px solid var(--border);
}
.failure-card.good { border-color: var(--accent); border-width: 2px; }
.failure-card.good figcaption { background: var(--accent-soft); border-color: var(--border); color: var(--ink-mid); }

/* ─── COMPONENTS (retrofit, adu) ─────────────── */
.components-inner {
  max-width: 1200px; margin: 0 auto; padding: 5.5rem 2rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start;
}
.components-inner h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.12; color: var(--ink); margin-bottom: 2.5rem;
}
.component-block { margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--border); }
.component-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.component-block h3 {
  font-size: 1.05rem; font-weight: 700; color: var(--ink);
  margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.6rem;
}
.component-block h3::before {
  content: ""; display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; background: var(--accent); flex-shrink: 0;
}
.component-block p { font-size: 0.95rem; color: var(--ink-mid); line-height: 1.8; margin-bottom: 0.75rem; }
.component-block p:last-child { margin-bottom: 0; }
.components-images { display: flex; flex-direction: column; gap: 1.25rem; position: sticky; top: 88px; }
.components-images figure {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.components-images img { width: 100%; display: block; object-fit: contain; background: var(--bg); padding: 1.5rem; max-height: 280px; }
.components-img-photo { object-fit: cover !important; padding: 0 !important; max-height: 320px; }
.components-images figcaption { padding: 0.75rem 1rem; font-size: 0.78rem; color: var(--ink-light); border-top: 1px solid var(--border); line-height: 1.5; }
.code-note {
  margin-top: 2rem; padding: 1.25rem 1.5rem;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9rem; color: var(--ink-mid); line-height: 1.7;
}

/* ─── PROCESS PAGE ───────────────────────────── */
.process-list { max-width: 680px; margin: 0 auto; }
.process-step-row { display: flex; gap: 1.5rem; align-items: flex-start; padding: 2rem 0; border-bottom: 1px solid var(--border); }
.process-step-row:last-child { border-bottom: none; }
.process-step-icon { width: 56px; height: 56px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.process-step-icon img { width: 32px; height: 32px; object-fit: contain; }
.process-step-num { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.35rem; }
.process-step-row h3 { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 0.5rem; }
.process-step-row p { font-size: 0.9rem; color: var(--ink-mid); line-height: 1.7; margin: 0; }

/* ─── FAQ ────────────────────────────────────── */
.faq-section { max-width: 1200px; margin: 0 auto; padding: 5.5rem 2rem; }
.faq-group { margin-bottom: 3.5rem; }
.faq-group-title {
  font-size: 1rem; font-weight: 700; color: var(--ink);
  margin-bottom: 1rem; padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent); display: inline-block;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.125rem 0; background: none; border: none; cursor: pointer; text-align: left;
  font-family: "Inter", sans-serif; font-size: 0.95rem; font-weight: 500; color: var(--ink);
  transition: color 0.15s;
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg-soft); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background 0.2s, transform 0.25s; color: var(--ink-mid);
}
.faq-item.open .faq-icon { background: var(--accent); color: #ffffff; border-color: var(--accent); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding-bottom: 1rem; font-size: 0.9rem; color: var(--ink-mid); line-height: 1.8; }
.faq-answer-inner ul, .faq-answer-inner ol { padding-left: 1.25rem; margin-top: 0.5rem; }
.faq-answer-inner li { margin-bottom: 0.25rem; }
.faq-answer-inner a { color: var(--accent); }
.faq-item.open .faq-answer { max-height: 800px; }

/* ─── CONTACT ────────────────────────────────── */
.contact-layout { max-width: 1200px; margin: 0 auto; padding: 5.5rem 2rem; display: grid; grid-template-columns: 1fr 2fr; gap: 5rem; align-items: start; }
.contact-sidebar { position: sticky; top: 88px; }
.sidebar-title { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 1.25rem; }
.sidebar-item { display: flex; align-items: flex-start; gap: 0.875rem; margin-bottom: 1.25rem; font-size: 0.875rem; color: var(--ink-mid); line-height: 1.6; }
.sidebar-item-icon {
  width: 34px; height: 34px; border-radius: var(--radius);
  background: var(--accent-soft); display: flex; align-items: center; justify-content: center;
  color: var(--accent); flex-shrink: 0; margin-top: 1px;
}
.sidebar-item strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 0.1rem; }
.sidebar-item a { color: var(--accent); text-decoration: none; }
.sidebar-item a:hover { text-decoration: underline; }
.sidebar-divider { border: none; border-top: 1px solid var(--border); margin: 1.75rem 0; }
.sidebar-note {
  font-size: 0.82rem; color: var(--ink-mid); line-height: 1.65;
  background: var(--bg-soft); border-radius: var(--radius);
  padding: 1rem 1.125rem; border: 1px solid var(--border);
}
.form-card { background: var(--bg); border-radius: 12px; padding: 2.75rem; box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 16px 40px rgba(0,0,0,0.05); }
.form-card-header { margin-bottom: 2.25rem; }
.form-card-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-light); display: block; margin-bottom: 0.35rem; }
.form-card-hint { font-size: 0.82rem; color: var(--ink-light); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.75rem; }
.form-divider { display: none; }
.form-label { display: block; font-size: 0.8rem; font-weight: 500; color: var(--ink-mid); letter-spacing: 0.01em; margin-bottom: 0.5rem; }
.form-label .required { color: #b94040; margin-left: 1px; font-weight: 400; }
.form-label-sub { font-weight: 400; color: var(--ink-light); font-size: 0.78rem; margin-left: 0.25rem; }
.form-control {
  width: 100%; padding: 0.875rem 1rem;
  font-family: "Inter", sans-serif; font-size: 0.9rem; color: var(--ink);
  background: #ffffff; border: 1px solid var(--border); border-radius: 8px;
  outline: none; transition: border-color 0.15s, box-shadow 0.15s; appearance: none;
}
.form-control:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(26,24,20,0.07); }
.form-control::placeholder { color: var(--ink-light); font-size: 0.875rem; }
textarea.form-control { resize: vertical; min-height: 130px; line-height: 1.65; }
.radio-pill-group { display: flex; gap: 0.625rem; margin-top: 0.4rem; flex-wrap: wrap; }
.radio-pill { position: relative; }
.radio-pill input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.radio-pill span {
  display: block; padding: 0.55rem 1.5rem;
  border: 1px solid var(--border); border-radius: 100px;
  font-size: 0.875rem; font-weight: 500; color: var(--ink-mid);
  cursor: pointer; transition: border-color 0.15s, background 0.15s, color 0.15s;
  background: #ffffff; user-select: none;
}
.radio-pill span:hover { border-color: var(--ink-mid); color: var(--ink); background: var(--bg-soft); }
.radio-pill input:checked + span { background: var(--dark); border-color: var(--dark); color: #ffffff; }
.file-upload-area {
  border: 1.5px dashed var(--border); border-radius: 8px;
  padding: 2rem 1.5rem; text-align: center; cursor: pointer; background: var(--bg-soft);
  transition: border-color 0.2s, background 0.2s; position: relative;
}
.file-upload-area:hover { border-color: var(--ink-mid); background: var(--bg-alt); }
.file-upload-area input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.file-upload-icon { color: var(--ink-light); margin-bottom: 0.625rem; }
.file-upload-text { font-size: 0.875rem; color: var(--ink-mid); }
.file-upload-text strong { color: var(--ink); font-weight: 600; }
.file-hint { font-size: 0.75rem; color: var(--ink-light); margin-top: 0.4rem; letter-spacing: 0.01em; }
#file-list { list-style: none; margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.35rem; padding: 0; }
#file-list .file-item {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8rem; color: var(--ink-mid); background: var(--bg-soft);
  border-radius: 6px; padding: 0.45rem 0.875rem; border: 1px solid var(--border);
}
#file-total { font-size: 0.78rem; color: var(--ink-light); text-align: right; margin-top: 0.35rem; }
.btn-close { background: none; border: none; cursor: pointer; font-size: 0.75rem; color: var(--ink-light); padding: 0 0.25rem; line-height: 1; opacity: 0.5; }
.btn-close:hover { opacity: 1; color: var(--ink); }
.btn-close::before { content: "✕"; }
.btn-submit {
  width: 100%; padding: 1rem; background: var(--dark); color: #ffffff;
  font-family: "Inter", sans-serif; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.02em;
  border: none; border-radius: 8px; cursor: pointer;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin-top: 0.5rem;
}
.btn-submit:hover { background: var(--dark-2); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,0.2); }
.btn-submit:hover svg { transform: translateX(3px); }
.btn-submit svg { transition: transform 0.2s; }
.btn-submit:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.recaptcha-wrap { display: flex; flex-direction: column; align-items: center; margin-bottom: 1.75rem; }
@media (max-width: 560px) {
  .form-card { padding: 1.75rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ─── CTA ────────────────────────────────────── */
.cta-section {
  background: var(--dark);
  padding: 6rem 2rem; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800;
  letter-spacing: -0.03em; color: #ffffff; margin-bottom: 1rem; position: relative;
}
.cta-section p {
  font-size: 1.05rem; color: rgba(255,255,255,0.55);
  max-width: 480px; margin: 0 auto 2.75rem; line-height: 1.7; position: relative;
}

/* ─── SCROLL ANIMATIONS ──────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(48px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.fade-up { opacity: 0; }
.fade-up.visible {
  animation: fadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.fade-in { opacity: 0; }
.fade-in.visible {
  animation: fadeIn 0.8s ease forwards;
}

/* Nav scroll shadow */
.nav.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

/* Interior page header entrance */
.ip-header-label,
.ip-header h1,
.ip-header-desc,
.ip-link { opacity: 0; }

.ip-header.entered .ip-header-label { animation: fadeUp 0.6s cubic-bezier(0.16,1,0.3,1) 0s    forwards; }
.ip-header.entered h1               { animation: fadeUp 0.6s cubic-bezier(0.16,1,0.3,1) 0.1s  forwards; }
.ip-header.entered .ip-header-desc  { animation: fadeUp 0.6s cubic-bezier(0.16,1,0.3,1) 0.2s  forwards; }
.ip-header.entered .ip-link         { animation: fadeUp 0.6s cubic-bezier(0.16,1,0.3,1) 0.28s forwards; }

/* Homepage hero entrance */
.hp-hero-label,
.hp-hero-text h1,
.hp-hero-rule,
.hp-hero-sub,
.hp-hero-cta,
.hp-hero-image { opacity: 0; }

@keyframes fadeRight {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hp-hero.entered .hp-hero-label  { animation: fadeUp    0.7s cubic-bezier(0.16,1,0.3,1) 0.05s forwards; }
.hp-hero.entered h1              { animation: fadeUp    0.7s cubic-bezier(0.16,1,0.3,1) 0.15s forwards; }
.hp-hero.entered .hp-hero-rule   { animation: fadeUp    0.7s cubic-bezier(0.16,1,0.3,1) 0.25s forwards; }
.hp-hero.entered .hp-hero-sub    { animation: fadeUp    0.7s cubic-bezier(0.16,1,0.3,1) 0.32s forwards; }
.hp-hero.entered .hp-hero-cta    { animation: fadeUp    0.7s cubic-bezier(0.16,1,0.3,1) 0.4s  forwards; }
.hp-hero.entered .hp-hero-image  { animation: fadeRight 0.7s cubic-bezier(0.16,1,0.3,1) 0.1s  forwards; }

/* ─── FOOTER ─────────────────────────────────── */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2rem;
}
.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.5rem;
}
.footer-brand-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.footer-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-nav-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-nav-links a:hover { color: rgba(255,255,255,0.8); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}
.footer-bottom p { margin: 0; }
.footer-bottom a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }

/* ─── ANIMATIONS ─────────────────────────────── */
@keyframes fadeSlideIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── JS UTILITY CLASSES ──────────────── */
.hidden { display: none; }
.field-error { font-size: 0.78rem; color: #dc2626; margin-top: 0.35rem; display: block; min-height: 1.1em; }
.form-message { margin-top: 1rem; padding: 0.875rem 1rem; border-radius: var(--radius); font-size: 0.88rem; text-align: center; }
.form-message.hidden { display: none; }
.form-message--success { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.form-message--error { background: #fef2f2; border: 1px solid #fca5a5; color: #dc2626; }
.btn-spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.4); border-top-color: #ffffff; border-radius: 50%; animation: spin 0.7s linear infinite; display: inline-block; }
.btn-spinner.hidden { display: none; }
.file-size { font-size: 0.85em; color: var(--ink-light); }
.file-total-label { font-size: 0.78rem; color: var(--ink-light); margin-top: 0.5rem; }

/* ─── MOBILE ─────────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 2rem; }
  .components-inner { grid-template-columns: 1fr; gap: 3rem; }
  .components-images { position: static; flex-direction: row; flex-wrap: wrap; }
  .components-images figure { flex: 1 1 260px; }
  .failure-grid { grid-template-columns: repeat(4, 1fr); }
  .failure-grid .failure-card:nth-child(1) { grid-column: 1 / span 2; }
  .failure-grid .failure-card:nth-child(2) { grid-column: 3 / span 2; }
  .failure-grid .failure-card:nth-child(3) { grid-column: 1 / span 2; }
  .failure-grid .failure-card:nth-child(4) { grid-column: 3 / span 2; }
  .failure-grid .failure-card:nth-child(5) { grid-column: 2 / span 2; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .two-col-wide { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .contact-sidebar { position: static; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process-steps::before { display: none; }
}
@media (max-width: 900px) {
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--dark); border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 2rem; gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 0.25rem 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a, .nav-link { padding: 0.65rem 0.75rem; border-radius: var(--radius); display: block; width: 100%; }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-links .nav-cta { margin-top: 0.25rem; text-align: center; display: block; }
  .nav { position: relative; }
  .nav-toggle { display: flex; }
  .trust-divider { display: none; }
  .trust-bar-inner { gap: 1rem; }
}
@media (max-width: 660px) {
  .components-images { flex-direction: column; }
  .components-images figure { flex: 1 1 auto; width: 100%; }
}
@media (max-width: 640px) {
  .hero-actions { flex-direction: column; }
  .process-steps { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .failure-grid { grid-template-columns: 1fr; }
  .failure-grid .failure-card:nth-child(1),
  .failure-grid .failure-card:nth-child(2),
  .failure-grid .failure-card:nth-child(3),
  .failure-grid .failure-card:nth-child(4),
  .failure-grid .failure-card:nth-child(5) { grid-column: 1 / -1; }
}

/* ─── INTERIOR PAGES ─────────────────────────── */

/* Shared interior page header */
.ip-header {
  padding: 6rem 2rem 5.5rem;
  border-bottom: 1px solid var(--border);
}
.ip-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: end;
}
.ip-header-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-light);
  display: block;
  margin-bottom: 1.75rem;
}
.ip-header h1 {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--ink);
}
.ip-header-desc {
  font-size: 1rem;
  color: var(--ink-mid);
  line-height: 1.8;
  max-width: 460px;
  margin-bottom: 2rem;
}
.ip-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 3px;
  display: inline-block;
  transition: color 0.15s, border-color 0.15s;
}
.ip-link:hover { color: var(--accent); border-color: var(--accent); }

/* Interior prose section */
.ip-prose {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 6rem;
  align-items: start;
}
.ip-prose-label { padding-top: 0.35rem; }
.ip-prose-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.ip-prose-content p {
  font-size: 0.975rem;
  color: var(--ink-mid);
  line-height: 1.85;
  max-width: 600px;
  margin-bottom: 1rem;
}
.ip-prose-content p:last-child { margin-bottom: 0; }

/* Numbered component rows */
.ip-components {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5.5rem 2rem;
}
.ip-components-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.ip-components-inner > .hp-label { display: block; margin-bottom: 1rem; }
.ip-components-inner > h2 {
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 0.875rem;
}
.ip-components-inner > p {
  font-size: 0.975rem;
  color: var(--ink-mid);
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 3.5rem;
}
.ip-components-grid { display: grid; grid-template-columns: 1fr 340px; gap: 4rem; align-items: start; }
@media (max-width: 960px) { .ip-components-grid { grid-template-columns: 1fr; } }
.ip-component-row {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.ip-component-row:last-child { border-bottom: 1px solid var(--border); }
.ip-component-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-light);
  padding-top: 0.2rem;
}
.ip-component-row h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}
.ip-component-row p {
  font-size: 0.9rem;
  color: var(--ink-mid);
  line-height: 1.8;
  margin: 0;
  max-width: 680px;
}
.ip-component-row p + p { margin-top: 0.6rem; }

/* Inline photo */
.ip-photo {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5.5rem 2rem;
}
.ip-photo figure {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.ip-photo img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 500px;
}
.ip-photo figcaption {
  padding: 0.875rem 1.25rem;
  font-size: 0.78rem;
  color: var(--ink-light);
  border-top: 1px solid var(--border);
  line-height: 1.5;
}

/* Code compliance note */
.ip-code-note {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 5.5rem;
  font-size: 0.9rem;
  color: var(--ink-mid);
  line-height: 1.75;
  border-left: 3px solid var(--accent);
  padding-left: calc(2rem + 1.5rem);
  background: linear-gradient(to right, var(--bg-soft) 0%, transparent 100%);
}

/* About page */
.ip-about {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}
.ip-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: start;
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 5rem;
}
.ip-about-bio > .hp-label { display: block; margin-bottom: 1.25rem; }
.ip-about-bio h2 {
  font-size: clamp(1.875rem, 2.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 2rem;
}
.ip-about-bio p {
  font-size: 0.975rem;
  color: var(--ink-mid);
  line-height: 1.85;
  margin-bottom: 0.875rem;
}
.ip-about-bio p:last-child { margin-bottom: 0; }
.ip-credentials { }
.ip-credentials > .hp-label { display: block; margin-bottom: 1.25rem; }
.ip-credential-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.ip-credential-row:last-child { border-bottom: 1px solid var(--border); }
.ip-credential-key {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light);
  padding-top: 0.15rem;
  line-height: 1.4;
}
.ip-credential-val {
  font-size: 0.9rem;
  color: var(--ink-mid);
  line-height: 1.65;
}
.ip-credential-val strong { color: var(--ink); font-weight: 600; }
.ip-about-note {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 2rem 2.5rem;
  font-size: 0.975rem;
  font-style: italic;
  color: var(--ink-mid);
  line-height: 1.8;
}


/* Responsive interior */
@media (max-width: 960px) {
  .ip-header-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .ip-prose { grid-template-columns: 1fr; gap: 2.5rem; }
  .ip-about-grid { grid-template-columns: 1fr; gap: 3.5rem; }
}
@media (max-width: 640px) {
  .ip-header { padding: 4rem 2rem 3.5rem; }
  .ip-header h1 { font-size: 2.5rem; }
  .ip-component-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .ip-component-num { display: none; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .footer-nav-links { gap: 1.25rem; }
  .footer-bottom { flex-direction: column; gap: 0.4rem; }
}

/* ─── HOMEPAGE ────────────────────────────────── */

/* HP label (eyebrow replacement) */
.hp-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-light);
}

/* Hero */
.hp-hero {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: calc(100vh - 64px);
  overflow: hidden;
}
.hp-hero-text {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 5rem 7rem 3rem;
  border-right: 1px solid var(--border);
}
.hp-hero-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 2.5rem;
}
.hp-hero-text h1 {
  font-size: clamp(3.25rem, 5.5vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--ink);
  margin-bottom: 2.5rem;
}
.hp-hero-rule {
  width: 40px;
  height: 1px;
  background: var(--border);
  margin-bottom: 1.75rem;
}
.hp-hero-sub {
  font-size: 1rem;
  color: var(--ink-mid);
  line-height: 1.75;
  max-width: 360px;
  margin-bottom: 3rem;
}
.hp-hero-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 3px;
  width: fit-content;
  transition: color 0.15s, border-color 0.15s;
}
.hp-hero-cta:hover { color: var(--accent); border-color: var(--accent); }
.hp-hero-image {
  position: relative;
  overflow: hidden;
}
.hp-hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Credentials strip */
.hp-credentials {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 2.25rem 2rem;
}
.hp-credentials-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hp-cred-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 3.5rem;
  gap: 0.3rem;
}
.hp-cred-num {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.hp-cred-label {
  font-size: 0.7rem;
  color: var(--ink-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.4;
}
.hp-cred-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
  flex-shrink: 0;
}

/* Services */
.hp-services {
  border-bottom: 1px solid var(--border);
}
.hp-services-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.hp-services-header {
  padding: 3.5rem 0 0;
  margin-bottom: 2rem;
}
.hp-service-row {
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  gap: 3rem;
  align-items: center;
  padding: 2.75rem 0;
  border-top: 1px solid var(--border);
  transition: background 0.15s;
}
.hp-service-row:last-child { border-bottom: 1px solid var(--border); }
.hp-service-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-light);
  font-variant-numeric: tabular-nums;
}
.hp-service-body h3 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.hp-service-body p {
  font-size: 0.875rem;
  color: var(--ink-mid);
  line-height: 1.7;
  max-width: 500px;
  margin: 0;
}
.hp-service-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-mid);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: color 0.15s;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
.hp-service-link:hover { color: var(--ink); border-color: var(--ink); }

/* Process */
.hp-process {
  padding: 7rem 2rem;
}
.hp-process-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 7rem;
  align-items: start;
}
.hp-process-header {
  position: sticky;
  top: 88px;
}
.hp-process-header .hp-label { display: block; margin-bottom: 1rem; }
.hp-process-header h2 {
  font-size: clamp(1.875rem, 2.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}
.hp-process-list { list-style: none; }
.hp-process-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}
.hp-process-item:last-child { border-bottom: 1px solid var(--border); }
.hp-process-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-light);
  padding-top: 0.2rem;
}
.hp-process-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.hp-process-item p {
  font-size: 0.875rem;
  color: var(--ink-mid);
  line-height: 1.75;
  margin: 0;
}

/* About */
.hp-about {
  padding: 7rem 2rem;
  border-bottom: 1px solid var(--border);
}
.hp-about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 7rem;
  align-items: start;
}
.hp-about-label { padding-top: 0.35rem; }
.hp-about-content h2 {
  font-size: clamp(1.875rem, 3vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1.75rem;
}
.hp-about-content p {
  font-size: 1rem;
  color: var(--ink-mid);
  line-height: 1.85;
  max-width: 580px;
  margin-bottom: 1rem;
}
.hp-about-content p:last-of-type { margin-bottom: 2rem; }
.hp-about-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 3px;
  transition: color 0.15s, border-color 0.15s;
}
.hp-about-link:hover { color: var(--accent); border-color: var(--accent); }

/* CTA */
.hp-cta {
  background: var(--dark);
  padding: 9rem 2rem;
  text-align: center;
}
.hp-cta-inner { max-width: 900px; margin: 0 auto; }
.hp-cta .hp-label {
  color: rgba(255,255,255,0.3);
  display: block;
  margin-bottom: 1.75rem;
}
.hp-cta h2 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: #ffffff;
  margin-bottom: 3rem;
}
.hp-cta-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 3px;
  transition: color 0.15s, border-color 0.15s;
}
.hp-cta-link:hover { color: #ffffff; border-color: rgba(255,255,255,0.55); }

/* Homepage responsive */
@media (max-width: 960px) {
  .hp-about-inner { grid-template-columns: 1fr; gap: 2.5rem; }

  .hp-hero { grid-template-columns: 1fr; min-height: auto; }
  .hp-hero-text { padding: 5rem 2rem; border-right: none; border-bottom: 1px solid var(--border); }
  .hp-hero-image { height: 55vw; }
  .hp-service-row { grid-template-columns: 1fr; gap: 0.75rem; }
  .hp-service-num { display: none; }
  .hp-service-link { padding-top: 0.5rem; }
  .hp-process-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hp-process-header { position: static; }
  .hp-cred-stat { padding: 0 1.5rem; }
}
@media (max-width: 640px) {
  .hp-hero-text h1 { font-size: 3rem; }
  .hp-credentials-inner { flex-wrap: wrap; gap: 2rem; }
  .hp-cred-divider { display: none; }
  .hp-cred-stat { width: 45%; }
  .hp-cta h2 { font-size: 2.75rem; }
}
