/* ==========================================================================
   Stack3 Digital — v2 "Type Study A" design system
   Tokens: Parchment / Ink / Gold · Fraunces (headings) + DM Sans (body)
   ========================================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Color tokens */
  --ink: #1C1917;
  --parchment: #F2EFE6;
  --gold: #CA8A04;
  --muted: #79716B;
  --sub: #57534E;
  --white: #FFFFFF;
  --rule: rgba(28, 25, 23, 0.12);
  --rule-strong: rgba(28, 25, 23, 0.18);

  /* Type */
  --font-head: 'Fraunces', serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, Consolas, monospace;

  /* Layout */
  --container: 1120px;
  --section-pad: 6rem;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--parchment);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

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

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--parchment);
  padding: 0.75rem 1.25rem; z-index: 10000; font-family: var(--font-mono); font-size: 0.85rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Headings ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

h1 { font-size: clamp(2.4rem, 7.5vw, 5.8rem); line-height: 1.08; }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.12; }
h3 { font-size: 1.05rem; font-weight: 700; }

.accent { color: var(--gold); font-style: italic; }

/* ==========================================================================
   Opening splash (Home only)
   ========================================================================== */
.splash {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink); color: var(--parchment);
  display: grid; place-items: center;
  transition: transform 0.7s cubic-bezier(.65,0,.35,1);
}
.splash.hide { transform: translateY(-100%); pointer-events: none; }
.splash-mark {
  font-family: var(--font-head); font-weight: 600; font-optical-sizing: auto;
  font-size: clamp(2.4rem, 8vw, 5rem); letter-spacing: -0.02em;
  padding: 0.15em 0.25em;
  opacity: 0; transform: scale(0.94);
  animation: splash-in 0.7s ease-out 0.2s forwards;
}
.splash-mark .accent { color: var(--gold); }
@keyframes splash-in { to { opacity: 1; transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .splash { display: none; }
}

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--parchment);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.nav.scrolled {
  border-bottom-color: var(--rule);
  box-shadow: 0 2px 12px rgba(28,25,23,0.04);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 0;
}
.nav-logo {
  font-family: var(--font-head); font-weight: 600; font-size: 1.4rem;
  text-decoration: none; color: var(--ink);
  display: flex; align-items: center; gap: 0.5rem; letter-spacing: -0.01em;
}
.logo-three { color: var(--gold); }

.nav-links {
  display: flex; align-items: center; gap: 2rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.95rem;
  position: relative; padding: 0.25rem 0;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }
.nav-links a.btn-nav {
  background: var(--gold); color: var(--ink); padding: 0.6rem 1.25rem;
  border-radius: 2px; font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.nav-links a.btn-nav:hover {
  color: var(--ink); transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(28,25,23,0.18); opacity: 0.95;
}

.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 0;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px; background: var(--ink); margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-mobile {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink); color: var(--parchment);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.75rem;
  transform: translateY(-100%);
  transition: transform 0.3s cubic-bezier(.65,0,.35,1);
}
.nav-mobile.open { transform: translateY(0); }
.nav-mobile a {
  font-family: var(--font-head); font-size: 1.6rem; font-weight: 600;
  text-decoration: none; color: var(--parchment);
}
.nav-mobile a.btn-primary {
  font-family: var(--font-body); font-size: 1rem;
  background: var(--gold); color: var(--ink); padding: 0.85rem 1.75rem; border-radius: 2px;
}
.nav-mobile-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none; color: var(--parchment); font-size: 1.5rem; cursor: pointer;
}

@media (max-width: 800px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.cta, .btn-primary {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  background: var(--gold); color: var(--ink);
  font-weight: 700; text-decoration: none; font-size: 0.95rem;
  border: none; border-radius: 2px; cursor: pointer;
  font-family: var(--font-body);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.cta:hover, .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(28,25,23,0.18);
  opacity: 0.95;
}

.btn-outline {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  background: transparent; color: var(--ink);
  font-weight: 700; text-decoration: none; font-size: 0.95rem;
  border: 1.5px solid var(--ink); border-radius: 2px;
  font-family: var(--font-body);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(28,25,23,0.12);
  background: var(--white);
}

.btn-white {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  background: var(--parchment); color: var(--ink);
  font-weight: 700; text-decoration: none; font-size: 0.95rem;
  border-radius: 2px; font-family: var(--font-body);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  opacity: 0.95;
}

/* ==========================================================================
   Reveal / motion
   ========================================================================== */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Hero (Home)
   ========================================================================== */
.hero {
  padding: 4.5rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(ellipse 60% 50% at 22% 30%, rgba(202, 138, 4, 0.32) 0%, transparent 55%),
    radial-gradient(ellipse 45% 45% at 82% 65%, rgba(217, 119, 6, 0.24) 0%, transparent 55%),
    radial-gradient(ellipse 55% 65% at 60% 10%, rgba(202, 138, 4, 0.20) 0%, transparent 55%);
  animation: mesh-drift 14s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
@keyframes mesh-drift {
  0%   { transform: translate(0%, 0%) rotate(0deg); }
  33%  { transform: translate(2%, -2%) rotate(0.8deg); }
  66%  { transform: translate(-2%, 2%) rotate(-0.6deg); }
  100% { transform: translate(1.5%, -1%) rotate(0.4deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; }
}
.hero-graphic {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 2.5rem; align-items: center;
  position: relative; z-index: 1;
}
.hero-copy h1 {
  max-width: 14ch;
}
.hero-copy .sub {
  margin-top: 1.5rem; font-size: 1.1rem; color: var(--sub); max-width: 38ch; line-height: 1.6;
}
.hero-copy .cta { margin-top: 2.25rem; }
.hero-footnote {
  display: block; margin-top: 1rem; font-family: var(--font-mono);
  font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}

/* ---- Triple Stack scene ---- */
.scene {
  height: 480px; display: grid; place-items: center; position: relative;
}
.iso {
  position: relative; width: 320px; height: 320px;
  transform-style: preserve-3d; transform: rotateX(57deg) rotateZ(-42deg);
}
.plate {
  position: absolute; inset: 0;
  border: 2.5px solid var(--ink); background: var(--white);
  transform-style: preserve-3d;
}
@keyframes rise1 { from { transform: translateZ(0);   opacity: 0; } to { transform: translateZ(0);     opacity: 1; } }
@keyframes rise2 { from { transform: translateZ(0);   opacity: 0; } to { transform: translateZ(85px);  opacity: 1; } }
@keyframes rise3 { from { transform: translateZ(0);   opacity: 0; } to { transform: translateZ(170px); opacity: 1; } }
@keyframes bob2  { from { transform: translateZ(85px); } to { transform: translateZ(95px); } }
@keyframes bob3  { from { transform: translateZ(170px);} to { transform: translateZ(186px);} }

.plate.foundation {
  animation: rise1 700ms 200ms ease-out both;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 30px, rgba(28,25,23,0.08) 31px),
    repeating-linear-gradient(90deg, transparent, transparent 30px, rgba(28,25,23,0.08) 31px);
}
.plate.structure {
  animation: rise2 700ms 480ms ease-out both, bob2 3.2s 1400ms ease-in-out infinite alternate;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 22px;
}
.plate.structure .blk { border: 2px solid var(--ink); background: rgba(242,239,230,0.65); }
.plate.structure .blk.wide { grid-column: span 2; height: 56px; }
.plate.growth {
  animation: rise3 700ms 760ms ease-out both, bob3 3.2s 1700ms ease-in-out infinite alternate;
  padding: 22px;
}
.plate.growth .bar { height: 16px; border: 2px solid var(--ink); margin-bottom: 12px; background: rgba(242,239,230,0.65); }
.plate.growth .bar.b1 { width: 88%; }
.plate.growth .bar.b2 { width: 64%; background: var(--gold); border-color: var(--ink); }
.plate.growth .bar.b3 { width: 76%; }
.plate.growth .pin {
  position: absolute; right: 20px; bottom: 18px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 2.5px solid var(--ink); background: var(--gold);
  display: grid; place-items: center;
  color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 19px;
}

@media (prefers-reduced-motion: reduce) {
  .plate { animation: none !important; opacity: 1; }
}

.legend {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 0.5rem 1.4rem; margin-top: 1rem; position: relative; z-index: 2;
}
.legend span {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.legend b { color: var(--gold); font-weight: 700; margin-right: 0.35rem; }

@media (max-width: 900px) {
  .hero-graphic { grid-template-columns: 1fr; }
  .scene { height: 380px; margin-top: 3rem; }
}

@media (max-width: 480px) {
  .scene { height: 300px; }
  .iso { width: 240px; height: 240px; }
  .plate.structure, .plate.growth { padding: 16px; }
}

/* ==========================================================================
   Badges (ink-outline mono labels)
   ========================================================================== */
.badge-outline {
  display: inline-block; border: 1px solid var(--ink); color: var(--ink);
  background: transparent; font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.6rem;
  border-radius: 2px;
}

/* ==========================================================================
   Sections / generic layout
   ========================================================================== */
.section { padding: var(--section-pad) 0; }
.section-alt { background: var(--white); }
.section-no-top-pad { padding-top: 0; padding-bottom: var(--section-pad); }

.label, .kicker {
  display: block; font-family: var(--font-mono); font-size: 0.75rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 0.75rem;
}

.section-sub { color: var(--sub); font-size: 1.05rem; max-width: 56ch; line-height: 1.6; }

.mt-8 { margin-top: 0.5rem; }
.mt-20 { margin-top: 1.25rem; }
.mt-24 { margin-top: 1.5rem; }
.mt-40 { margin-top: 2.5rem; }
.mt-48 { margin-top: 3rem; }

/* ---------- Page header ---------- */
.page-header {
  padding: 5rem 0 2.5rem; max-width: 48rem;
}
.page-header h1 { max-width: 16ch; }
.page-header h1.h1-long { max-width: 26ch; font-size: clamp(2rem, 4.5vw, 3.6rem); }
.page-header p {
  margin-top: 1.25rem; font-size: 1.1rem; color: var(--sub); max-width: 42ch; line-height: 1.6;
}

/* ==========================================================================
   Pillar-detail grid (Services page, full 4-up with why/what always visible)
   ========================================================================== */
/* ==========================================================================
   Care plans (Services pricing)
   ========================================================================== */
.plans {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem;
}
.plan-card {
  background: var(--white); border: 1px solid var(--rule); border-radius: 4px;
  padding: 2.25rem 2rem; display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(28,25,23,0.12); }
.plan-card.featured { border-color: var(--ink); position: relative; }
.plan-name {
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 700;
  display: flex; align-items: center; gap: 0.6rem;
}
.plan-price {
  margin-top: 0.75rem; font-family: var(--font-mono); font-size: 2.4rem; font-weight: 700;
}
.plan-price .mo { font-size: 1rem; font-weight: 400; color: var(--muted); }
.plan-why {
  margin-top: 1rem; font-size: 0.88rem; color: var(--sub); font-style: italic; line-height: 1.55;
}
.plan-what {
  margin-top: 0.85rem; font-size: 0.95rem; color: var(--ink); line-height: 1.6; font-weight: 500;
}
.plan-chips {
  margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.4rem; flex: 1;
  align-content: flex-start;
}
.plan-chip {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--sub); border: 1px solid var(--rule-strong);
  border-radius: 2px; padding: 0.3rem 0.55rem;
}
.plan-card .cta { margin-top: 1.75rem; text-align: center; }

@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Process steps (About)
   ========================================================================== */
.process {
  margin-top: 3rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--rule);
  position: relative;
}
.process-step {
  background: var(--parchment); padding: 2rem 1.5rem;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.process-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px -16px rgba(0, 0, 0, 0.18);
  z-index: 1;
}
.process-step::after {
  content: "";
  position: absolute;
  top: 2.6rem; right: -1px;
  width: 1px; height: 1.4rem;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s ease 0.2s;
}
.process-step.visible::after { transform: scaleY(1); }
.process-step:last-child::after { display: none; }
.process-step .step-num {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.85rem; font-weight: 700;
  color: var(--gold);
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  border: 1px solid var(--gold);
  transform: scale(0.4); opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}
.process-step.visible .step-num { transform: scale(1); opacity: 1; }
.process-step h3 { margin-top: 0.9rem; font-size: 1rem; }
.process-step p { margin-top: 0.5rem; font-size: 0.88rem; color: var(--muted); line-height: 1.5; }

@media (max-width: 800px) {
  .process { grid-template-columns: 1fr; }
  .process-step::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .process-step, .process-step .step-num, .process-step::after { transition: none; }
}

/* ==========================================================================
   Cards grid (generic — About values, etc.)
   ========================================================================== */
.cards-grid {
  margin-top: 2.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem;
}
.card {
  background: var(--white); border: 1px solid var(--rule); border-radius: 4px; padding: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(28,25,23,0.1); }
.card-icon { font-size: 1.5rem; color: var(--gold); }
.card h3 { margin-top: 0.85rem; }
.card p { margin-top: 0.6rem; color: var(--sub); font-size: 0.95rem; line-height: 1.6; }

/* ==========================================================================
   About — story grid
   ========================================================================== */
.about-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 3.5rem; align-items: start;
}
.about-copy p { margin-bottom: 1.25rem; color: var(--sub); font-size: 1.05rem; line-height: 1.7; max-width: 46ch; }
.about-quote {
  font-family: var(--font-head); font-style: italic; font-size: 1.3rem; color: var(--ink);
  border-left: 3px solid var(--gold); padding-left: 1.25rem; margin-top: 1.5rem; max-width: 36ch;
}
.about-photo-wrap {
  border: 2px solid var(--ink); border-radius: 4px; overflow: hidden; aspect-ratio: 4/5;
}
.about-photo { width: 100%; height: 100%; object-fit: cover; }
.about-photo-name {
  margin-top: 0.85rem; text-align: center; font-family: var(--font-head);
  font-size: 1.1rem; color: var(--ink);
}

.bio-card { max-width: 64ch; }
.bio-tag {
  display: inline-block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold); border: 1px solid var(--ink); border-radius: 2px;
  padding: 0.3rem 0.6rem; margin-bottom: 1rem;
}
.bio-card p { margin-top: 1rem; color: var(--sub); font-size: 1.02rem; line-height: 1.7; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo-wrap { max-width: 360px; }
}

/* ==========================================================================
   Work / Portfolio cards
   ========================================================================== */
.work-grid {
  margin-top: 2.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem;
}
.work-card {
  background: var(--white); border: 1px solid var(--rule); border-radius: 4px; overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.work-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(28,25,23,0.12); }
.work-chrome {
  background: var(--ink); padding: 0.6rem 0.9rem; display: flex; align-items: center; gap: 0.5rem;
}
.work-chrome .dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(242,239,230,0.25); }
.work-chrome .url {
  margin-left: 0.5rem; font-family: var(--font-mono); font-size: 0.7rem; color: rgba(242,239,230,0.6);
}
.work-img { aspect-ratio: 16/10; overflow: hidden; background: var(--parchment); }
.work-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work-img.placeholder {
  display: grid; place-items: center; text-align: center; padding: 2rem;
  font-family: var(--font-mono); font-size: 0.85rem; color: var(--muted); gap: 0.5rem;
}
.work-body { padding: 1.5rem 1.75rem; }
.work-caption {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.work-body h3 { margin-top: 0.5rem; }
.work-body p { margin-top: 0.5rem; color: var(--sub); font-size: 0.95rem; line-height: 1.6; }
.work-body .site-link {
  margin-top: 0.85rem; display: inline-block; font-weight: 700; text-decoration: none;
  color: var(--ink); border-bottom: 1px solid var(--gold);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial {
  margin-top: 2.5rem; max-width: 56ch; padding: 2rem 0;
}
.testimonial .quote-mark { font-family: var(--font-head); font-size: 3rem; color: var(--gold); line-height: 1; }
.testimonial p {
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 400; line-height: 1.5; color: var(--ink);
  margin-top: 0.5rem;
}
.testimonial .author {
  margin-top: 1.25rem; font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted);
  letter-spacing: 0.04em;
}
.testimonial .author strong { color: var(--ink); }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-list { margin-top: 2.5rem; max-width: 64ch; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: none; border: none; text-align: left; cursor: pointer;
  padding: 1.25rem 0; font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; color: var(--ink);
}
.faq-icon {
  font-family: var(--font-mono); color: var(--gold); font-size: 1.1rem; flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-answer { max-height: 20rem; }
.faq-answer p { padding-bottom: 1.25rem; color: var(--sub); line-height: 1.65; max-width: 56ch; }

/* ==========================================================================
   Forms (Contact)
   ========================================================================== */
.contact-layout { max-width: 640px; margin: 0 auto; padding: 4rem 0 6rem; }
.contact-form { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
}
.form-group .optional { text-transform: none; letter-spacing: 0; color: var(--muted); font-family: var(--font-body); }
.form-group input, .form-group select, .form-group textarea {
  font-family: var(--font-body); font-size: 1rem; padding: 0.75rem 0.9rem;
  border: 1px solid var(--rule-strong); border-radius: 2px; background: var(--white); color: var(--ink);
  transition: border-color 0.2s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold);
}
.contact-form .btn-primary { align-self: flex-start; margin-top: 0.5rem; }
.form-alt { font-size: 0.9rem; color: var(--muted); }
.form-alt a { color: var(--gold); font-weight: 700; text-decoration: none; }
.form-success {
  display: none; margin-top: 2.5rem; padding: 2.5rem; text-align: center;
  background: var(--white); border: 1px solid var(--rule); border-radius: 4px;
}
.form-success p { margin-top: 0.5rem; color: var(--sub); }

.contact-info {
  margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--rule);
  font-size: 0.95rem; color: var(--sub); line-height: 1.8;
}
.contact-info a { color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--gold); }

/* ==========================================================================
   Closing CTA
   ========================================================================== */
.section-final-cta {
  padding: 5rem 0; text-align: center;
}
.section-final-cta h2 { max-width: 26ch; margin: 0 auto; }
.section-final-cta .cta-sub { margin-top: 0.75rem; color: var(--sub); font-size: 1.05rem; }
.section-final-cta .cta, .section-final-cta .btn-primary, .section-final-cta .btn-white { margin-top: 2rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--ink); color: var(--parchment); padding: 3.5rem 0 2rem; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 2rem;
}
.footer-logo {
  font-family: var(--font-head); font-weight: 600; font-size: 1.4rem; color: var(--parchment);
}
.footer-tagline { display: block; margin-top: 0.6rem; color: rgba(242,239,230,0.6); font-size: 0.9rem; max-width: 28ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-links a { color: var(--parchment); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 1rem; align-items: center; }
.footer-social a { display: inline-flex; color: var(--parchment); opacity: 0.75; transition: opacity 0.2s ease, color 0.2s ease; }
.footer-social a:hover { color: var(--gold); opacity: 1; }
.footer-bar {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(242,239,230,0.12);
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; color: rgba(242,239,230,0.5);
}
.footer-bar a { color: rgba(242,239,230,0.5); text-decoration: none; }
.footer-bar a:hover { color: var(--gold); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 700px) {
  :root { --section-pad: 4rem; }
  .about-grid { gap: 2rem; }
  .estimate-banner { text-align: center; flex-direction: column; }
  .section-final-cta .cta, .section-final-cta .btn-primary, .section-final-cta .btn-white { margin-top: 1.5rem; }
}
