/* Property Prophet — site.css */

:root {
  --paper: #D9DEE6;
  --paper-2: #E9ECF2;
  --ink: #0E1014;
  --ink-soft: #5C5650;
  --brand: #0E2D52;
  --brand-2: #2E6FB8;
  --accent: #C9744A;
  --rule: #C8C2B4;
  --rule-soft: #E4DFD3;

  --font-display: "Fraunces", "Iowan Old Style", "Apple Garamond", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --container-narrow: 880px;
  --gutter: clamp(20px, 4vw, 40px);
  --rhythm: clamp(64px, 9vw, 128px);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 18px;

  --t-quick: 200ms cubic-bezier(0.22, 1, 0.36, 1);
  --t-base: 360ms cubic-bezier(0.22, 1, 0.36, 1);
  --t-slow: 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

html { background-color: var(--paper); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
}

img, svg, video { max-width: 100%; display: block; }
a { color: var(--brand-2); text-decoration: none; transition: color var(--t-quick); }
a:hover { color: var(--accent); }
::selection { background: var(--brand); color: var(--paper); }

.h-display, h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(40px, 6.4vw, 84px); font-weight: 400; }
h2 { font-size: clamp(30px, 4.4vw, 52px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; font-variation-settings: "opsz" 36; letter-spacing: -0.01em; }
h4 { font-size: 18px; font-weight: 600; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }

p { margin: 0 0 1em; }
p.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--ink); max-width: 64ch; }
.eyebrow { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand-2); margin: 0 0 18px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--brand-2); display: inline-block; }
.muted { color: var(--ink-soft); }
.numeral { font-family: var(--font-display); font-feature-settings: "lnum", "tnum"; font-variation-settings: "opsz" 144; font-weight: 300; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-top: var(--rhythm); padding-bottom: var(--rhythm); }
.section--tight { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.section--band { background: var(--paper-2); }
.section--ink { background: var(--brand); color: var(--paper); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--paper); }
.section--ink .eyebrow { color: var(--accent); }
.section--ink .eyebrow::before { background: var(--accent); }
.section--ink .muted { color: rgba(244, 246, 250, 0.7); }

.rule { height: 1px; background: var(--rule-soft); border: 0; margin: 0; }

.skip-link {
  position: absolute; top: -100px; left: 16px; padding: 12px 18px;
  background: var(--brand); color: var(--paper); border-radius: var(--radius);
  font-weight: 600; font-size: 14px; z-index: 1000;
  transition: top var(--t-quick);
}
.skip-link:focus { top: 16px; color: var(--paper); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 246, 250, 0.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--rule-soft);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-top: 16px; padding-bottom: 16px;
}
.brand-mark {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none; line-height: 1;
}
.brand-mark .glyph {
  width: 32px; height: 32px; flex: none;
  background: var(--brand); color: var(--paper);
  display: inline-grid; place-items: center; border-radius: 6px;
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
}

.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  color: var(--ink); font-weight: 500; font-size: 15px;
  position: relative; padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-base);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--ink); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: var(--radius);
  background: var(--brand); color: var(--paper); font-weight: 600; font-size: 14px;
  border: 1px solid var(--brand);
  transition: background var(--t-quick), border-color var(--t-quick), transform var(--t-quick);
}
.nav-cta:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); transform: translateY(-1px); }
.nav-cta svg { width: 16px; height: 16px; }

.nav-toggle {
  appearance: none; background: transparent; border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 9px 12px; cursor: pointer; color: var(--ink);
  font: inherit; font-weight: 500; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
}
.nav-toggle svg { width: 18px; height: 18px; }

.mobile-nav { display: none; }
.mobile-nav summary { list-style: none; cursor: pointer; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav[open] summary .nav-toggle-text-open { display: none; }
.mobile-nav summary .nav-toggle-text-close { display: none; }
.mobile-nav[open] summary .nav-toggle-text-close { display: inline; }
.mobile-nav-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--rule-soft);
  padding: 16px var(--gutter) 28px;
}
.mobile-nav-panel ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-panel a {
  display: block; padding: 14px 4px; font-family: var(--font-display); font-size: 22px;
  color: var(--ink); border-bottom: 1px solid var(--rule-soft);
}
.mobile-nav-panel .nav-cta { margin-top: 18px; width: 100%; justify-content: center; padding: 16px; font-size: 16px; }

@media (max-width: 900px) {
  .nav-links, .nav > .nav-cta { display: none; }
  .mobile-nav { display: block; position: relative; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 600; font-size: 16px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background var(--t-quick), color var(--t-quick), border-color var(--t-quick), transform var(--t-quick);
  line-height: 1; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--brand); color: var(--paper); border-color: var(--brand); }
.btn--primary:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-1px); }
.btn--ghost-light { background: transparent; color: var(--paper); border-color: rgba(244, 246, 250, 0.4); }
.btn--ghost-light:hover { background: var(--paper); color: var(--brand); border-color: var(--paper); }
.btn--lg { padding: 19px 32px; font-size: 17px; }

.hero {
  position: relative; overflow: hidden;
  padding-top: clamp(72px, 11vw, 132px);
  padding-bottom: clamp(72px, 11vw, 132px);
  background: transparent;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 80% 0%, rgba(46, 111, 184, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(201, 116, 74, 0.06), transparent 60%);
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 22px; }
.hero-eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2);
  box-shadow: 0 0 0 0 rgba(46, 111, 184, 0.5);
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(46, 111, 184, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(46, 111, 184, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 111, 184, 0); }
}
body.js-loaded .hero-eyebrow .pulse { animation: pulseDot 2.4s ease-out infinite; }
@media (prefers-reduced-motion: reduce) {
  body.js-loaded .hero-eyebrow .pulse { animation: none; }
}

.hero h1 { max-width: 18ch; }
.hero-sub { max-width: 60ch; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; color: var(--ink-soft); margin: 28px 0 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-meta {
  margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--rule-soft);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px;
}
.hero-meta .meta-item { display: flex; flex-direction: column; gap: 4px; }
.hero-meta .meta-num { font-family: var(--font-display); font-size: 36px; font-weight: 300; color: var(--brand); line-height: 1; font-variation-settings: "opsz" 96; font-feature-settings: "lnum"; letter-spacing: -0.02em; }
.hero-meta .meta-label { font-size: 13px; color: var(--ink-soft); letter-spacing: 0.02em; }

.reveal, .reveal-left, .reveal-right, .reveal-scale,
.stagger-children > *, .hero-word, .hero-sub, .hero-ctas, .hero-meta {
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
body.js-loaded .reveal              { opacity: 0; transform: translateY(30px); }
body.js-loaded .reveal-left         { opacity: 0; transform: translateX(-40px); }
body.js-loaded .reveal-right        { opacity: 0; transform: translateX(40px); }
body.js-loaded .reveal-scale        { opacity: 0; transform: scale(0.95); }
body.js-loaded .stagger-children > * { opacity: 0; transform: translateY(30px); }
body.js-loaded .hero-word           { display: inline-block; opacity: 0; transform: translateY(20px); }
body.js-loaded .hero-sub, body.js-loaded .hero-ctas, body.js-loaded .hero-meta { opacity: 0; transform: translateY(15px); }
body.js-loaded .reveal.is-in, body.js-loaded .reveal-left.is-in,
body.js-loaded .reveal-right.is-in, body.js-loaded .reveal-scale.is-in,
body.js-loaded .stagger-children.is-in > * { opacity: 1; transform: none; }
body.js-loaded .hero-word.is-in, body.js-loaded .hero-sub.is-in,
body.js-loaded .hero-ctas.is-in, body.js-loaded .hero-meta.is-in { opacity: 1; transform: none; }
body.js-loaded .stagger-children.is-in > *:nth-child(1) { transition-delay: 0ms; }
body.js-loaded .stagger-children.is-in > *:nth-child(2) { transition-delay: 80ms; }
body.js-loaded .stagger-children.is-in > *:nth-child(3) { transition-delay: 160ms; }
body.js-loaded .stagger-children.is-in > *:nth-child(4) { transition-delay: 240ms; }
body.js-loaded .stagger-children.is-in > *:nth-child(5) { transition-delay: 320ms; }
body.js-loaded .stagger-children.is-in > *:nth-child(n+6) { transition-delay: 400ms; }
@media (prefers-reduced-motion: reduce) {
  body.js-loaded .reveal, body.js-loaded .reveal-left, body.js-loaded .reveal-right,
  body.js-loaded .reveal-scale, body.js-loaded .stagger-children > *,
  body.js-loaded .hero-word, body.js-loaded .hero-sub, body.js-loaded .hero-ctas, body.js-loaded .hero-meta {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
}

.trust-strip {
  background: var(--paper-2);
  border-top: 1px solid var(--rule-soft); border-bottom: 1px solid var(--rule-soft);
  padding: 22px 0;
}
.trust-strip .container {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  align-items: center; gap: 18px 32px;
}
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 14px; font-weight: 500; }
.trust-item svg { width: 18px; height: 18px; color: var(--brand-2); flex: none; }

.one-number {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 880px) { .one-number { grid-template-columns: 1fr; } }
.one-number-diagram {
  position: relative; padding: 32px; background: var(--paper);
  border: 1px solid var(--rule-soft); border-radius: var(--radius-lg);
  aspect-ratio: 1 / 1; max-width: 520px; margin: 0 auto; width: 100%;
}
.one-number-diagram svg { width: 100%; height: 100%; }

.svc-grid {
  display: grid; gap: 1px; background: var(--rule-soft);
  grid-template-columns: repeat(3, 1fr); border: 1px solid var(--rule-soft);
  border-radius: var(--radius-lg); overflow: hidden;
}
@media (max-width: 880px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card {
  background: var(--paper); padding: 32px 28px 28px;
  display: flex; flex-direction: column; gap: 14px;
  color: var(--ink); text-decoration: none;
  transition: background var(--t-quick);
  position: relative; min-height: 240px;
}
.svc-card:hover { background: var(--paper-2); color: var(--ink); }
.svc-card .svc-icon {
  width: 40px; height: 40px; color: var(--brand-2);
  transition: color var(--t-quick), transform var(--t-base);
}
.svc-card:hover .svc-icon { color: var(--accent); transform: translateY(-2px); }
.svc-card h3 { margin: 0; font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.svc-card p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.55; }
.svc-card .svc-more {
  margin-top: auto; padding-top: 18px;
  font-size: 13px; font-weight: 600; color: var(--brand-2); letter-spacing: 0.02em;
  display: inline-flex; align-items: center; gap: 6px;
}
.svc-card:hover .svc-more { color: var(--accent); }

.quote-pull {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px);
  align-items: start; padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 56px);
  background: var(--paper); border: 1px solid var(--rule-soft);
  border-radius: var(--radius-lg); position: relative;
  border-left: 4px solid var(--accent);
}
@media (max-width: 720px) { .quote-pull { grid-template-columns: 1fr; } }
.quote-pull .qmark {
  font-family: var(--font-display); font-weight: 300; font-size: 120px;
  color: var(--accent); line-height: 0.7; font-variation-settings: "opsz" 144;
}
.quote-pull blockquote {
  margin: 0; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(24px, 3vw, 36px); line-height: 1.25; color: var(--ink);
  letter-spacing: -0.015em; font-variation-settings: "opsz" 72;
}
.quote-pull cite {
  display: block; margin-top: 24px; font-style: normal;
  font-size: 13px; color: var(--ink-soft); letter-spacing: 0.04em; text-transform: uppercase;
}

.steps { display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: 110px 1fr; gap: clamp(20px, 3vw, 40px);
  padding: clamp(36px, 5vw, 60px) 0;
  border-top: 1px solid var(--rule-soft);
}
.step:last-child { border-bottom: 1px solid var(--rule-soft); }
@media (max-width: 720px) { .step { grid-template-columns: 1fr; padding: 32px 0; } }
.step-num {
  font-family: var(--font-display); font-size: 88px; font-weight: 300;
  line-height: 0.9; color: var(--brand); font-feature-settings: "lnum";
  letter-spacing: -0.04em; font-variation-settings: "opsz" 144;
}
.step h3 { margin: 0 0 14px; font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 32px); }
.step p { color: var(--ink-soft); max-width: 65ch; }
.step .step-callout {
  margin-top: 22px; padding: 18px 22px;
  background: var(--paper-2); border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.step .step-callout strong { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 6px; }
.step .step-callout p { margin: 0; color: var(--ink); font-size: 15px; }

.why-grid { display: grid; gap: 32px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.why-card { padding: 0; }
.why-card .why-num {
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  color: var(--accent); letter-spacing: 0.16em; margin-bottom: 14px;
}
.why-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.why-card p { color: var(--ink-soft); margin: 0; }

.area-band { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (max-width: 880px) { .area-band { grid-template-columns: 1fr; } }
.area-list { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.area-list li { padding: 8px 14px; background: rgba(244, 246, 250, 0.08); border: 1px solid rgba(244, 246, 250, 0.18); border-radius: 999px; font-size: 14px; color: var(--paper); }
.section--ink .area-list li { background: rgba(244, 246, 250, 0.06); }
.area-map { position: relative; aspect-ratio: 4 / 3; background: rgba(244, 246, 250, 0.05); border: 1px solid rgba(244, 246, 250, 0.15); border-radius: var(--radius-lg); padding: 32px; }
.area-map svg { width: 100%; height: 100%; }

.cta-band {
  text-align: center; padding-top: clamp(72px, 9vw, 112px); padding-bottom: clamp(72px, 9vw, 112px);
}
.cta-band h2 { max-width: 22ch; margin: 0 auto 16px; }
.cta-band p { max-width: 56ch; margin: 0 auto 32px; font-size: 18px; color: var(--ink-soft); }
.cta-band .hero-ctas { justify-content: center; }

.site-footer {
  background: var(--ink); color: var(--paper); padding: clamp(56px, 7vw, 96px) 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: rgba(244, 246, 250, 0.55); margin-bottom: 18px; font-size: 11px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: rgba(244, 246, 250, 0.85); font-size: 14px; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand .brand-mark { color: var(--paper); }
.footer-brand .brand-mark .glyph { background: var(--accent); }
.footer-brand p { color: rgba(244, 246, 250, 0.65); margin: 16px 0 0; max-width: 38ch; font-size: 14px; }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid rgba(244, 246, 250, 0.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  font-size: 13px; color: rgba(244, 246, 250, 0.5);
}
.footer-bottom a { color: rgba(244, 246, 250, 0.7); }

.page-hero {
  padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--rule-soft);
}
.page-hero h1 { font-size: clamp(36px, 5.6vw, 68px); max-width: 22ch; }
.page-hero .lead { margin-top: 22px; color: var(--ink-soft); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--ink-soft); margin-bottom: 18px; list-style: none; padding: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; color: var(--rule); }
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs a:hover { color: var(--brand-2); }
.breadcrumbs [aria-current="page"] { color: var(--ink); }

.svc-detail { display: grid; grid-template-columns: 1fr 320px; gap: clamp(40px, 5vw, 80px); align-items: start; }
@media (max-width: 980px) { .svc-detail { grid-template-columns: 1fr; } }
.svc-detail .prose h2 { margin-top: 56px; font-size: clamp(26px, 3vw, 36px); }
.svc-detail .prose h2:first-child { margin-top: 0; }
.svc-detail .prose ul { padding-left: 22px; margin: 0 0 1.2em; }
.svc-detail .prose li { margin-bottom: 8px; color: var(--ink-soft); }
.svc-detail .prose li strong { color: var(--ink); }
.svc-aside {
  position: sticky; top: 92px;
  background: var(--paper-2); padding: 28px; border-radius: var(--radius-lg);
  border: 1px solid var(--rule-soft);
}
.svc-aside h3 { font-family: var(--font-display); font-size: 22px; margin-bottom: 14px; }
.svc-aside p { color: var(--ink-soft); font-size: 15px; margin-bottom: 18px; }
.svc-aside .btn { width: 100%; }
.svc-aside .aside-call {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--rule-soft);
  text-align: center; font-size: 14px; color: var(--ink-soft);
}
.svc-aside .aside-call a {
  display: block; font-family: var(--font-display); font-size: 24px; font-weight: 600;
  color: var(--ink); margin-top: 4px;
}
.svc-aside .aside-call a:hover { color: var(--accent); }

.faq-list { display: flex; flex-direction: column; gap: 0; max-width: 820px; margin: 0 auto; border-top: 1px solid var(--rule-soft); }
.faq-item { border-bottom: 1px solid var(--rule-soft); }
.faq-q {
  appearance: none; background: transparent; border: 0; padding: 24px 0; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-display); font-size: clamp(18px, 2vw, 22px); font-weight: 600;
  color: var(--ink); text-align: left; cursor: pointer; line-height: 1.3;
}
.faq-q:hover { color: var(--brand-2); }
.faq-icon { width: 28px; height: 28px; flex: none; position: relative; color: var(--brand-2); transition: transform var(--t-base), color var(--t-quick); }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: currentColor;
}
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; transition: transform var(--t-base); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-q[aria-expanded="true"] { color: var(--brand); }
.faq-a { padding: 0 0 24px; color: var(--ink-soft); max-width: 70ch; line-height: 1.6; }
.faq-a p { margin: 0; }
.faq-a[hidden] { display: none; }

.lead-form {
  background: var(--paper); padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg); border: 1px solid var(--rule-soft);
}
.lead-form fieldset { border: 0; margin: 0; padding: 0; }
.lead-form legend { padding: 0; margin: 0 0 8px; font-family: var(--font-display); font-size: 28px; font-weight: 600; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: 0.02em; }
.form-field input, .form-field select, .form-field textarea {
  font: inherit; font-size: 15px; color: var(--ink);
  padding: 12px 14px; background: var(--paper-2); border: 1px solid var(--rule-soft);
  border-radius: var(--radius-sm); transition: border-color var(--t-quick), background var(--t-quick);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--brand-2); background: var(--paper); outline: 2px solid rgba(46, 111, 184, 0.25); outline-offset: 0;
}
.form-field textarea { min-height: 110px; resize: vertical; }
.radio-group { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.radio-group label {
  display: inline-flex; align-items: center; gap: 8px; position: relative;
  padding: 10px 16px; background: var(--paper-2); border: 1px solid var(--rule-soft);
  border-radius: 999px; cursor: pointer; font-weight: 500; font-size: 14px;
  transition: background var(--t-quick), border-color var(--t-quick), color var(--t-quick);
}
.radio-group label:hover { border-color: var(--brand-2); }
.radio-group input { position: absolute; opacity: 0; pointer-events: none; }
.radio-group label:has(input:checked) { background: var(--brand); border-color: var(--brand); color: var(--paper); }
.form-status { margin-top: 16px; padding: 14px 18px; border-radius: var(--radius); font-size: 14px; }
.form-status:empty { display: none; padding: 0; margin: 0; }
.form-status.is-success { background: rgba(46, 111, 184, 0.08); color: var(--brand); border: 1px solid rgba(46, 111, 184, 0.25); }
.form-status.is-error { background: rgba(201, 116, 74, 0.1); color: #8a4825; border: 1px solid rgba(201, 116, 74, 0.3); }
.form-disclaimer { margin-top: 14px; font-size: 12px; color: var(--ink-soft); line-height: 1.5; }
.lead-form .btn { width: 100%; margin-top: 6px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: start; }
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; } }
.contact-block { padding: 0; }
.contact-block h3 { font-size: 20px; margin-bottom: 6px; }
.contact-block p { color: var(--ink-soft); margin-bottom: 24px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 22px; }
.contact-list li { display: flex; align-items: flex-start; gap: 16px; }
.contact-list svg { width: 22px; height: 22px; color: var(--brand-2); flex: none; margin-top: 2px; }
.contact-list .ci-label { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); display: block; margin-bottom: 2px; }
.contact-list .ci-value { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--ink); }
.contact-list a.ci-value:hover { color: var(--accent); }
.contact-list small { font-size: 13px; color: var(--ink-soft); display: block; margin-top: 2px; }

.gallery-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 880px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-card {
  aspect-ratio: 4 / 3; border-radius: var(--radius);
  background: var(--paper-2); border: 1px solid var(--rule-soft);
  position: relative; overflow: hidden;
  display: flex; align-items: end; padding: 22px;
  color: var(--ink); transition: transform var(--t-base);
}
.gallery-card svg.placeholder-art {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55;
}
.gallery-card .gc-meta {
  position: relative; z-index: 1;
  background: rgba(244, 246, 250, 0.92); padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 500;
}
.gallery-card:hover { transform: translateY(-4px); }

.story { max-width: 720px; margin: 0 auto; }
.story p { font-size: 18px; line-height: 1.7; color: var(--ink); margin-bottom: 1.2em; }
.story p:first-of-type::first-letter {
  font-family: var(--font-display); font-size: 64px; font-weight: 400; color: var(--accent);
  float: left; line-height: 0.9; margin: 6px 12px 0 0; font-variation-settings: "opsz" 144;
}

.center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 40px; }
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head h2 { margin-bottom: 18px; }
.section-head p { color: var(--ink-soft); font-size: 18px; margin: 0; }

.error-hero { padding: clamp(80px, 12vw, 160px) 0; text-align: center; }
.error-num { font-family: var(--font-display); font-size: clamp(120px, 22vw, 240px); font-weight: 300; line-height: 1; color: var(--brand); margin: 0; letter-spacing: -0.04em; font-variation-settings: "opsz" 144; }
.error-hero p { font-size: 18px; color: var(--ink-soft); max-width: 56ch; margin: 16px auto 32px; }


/* ── Background pattern + 30% parallax ────────────────────────────────────
   Single fixed pseudo-element on the document; subtle blueprint-dot pattern
   in deep navy at low opacity. JS drives --bg-pattern-y at 30% scroll rate.
   Reduced-motion + mobile = pattern stays static, no JS transform.
*/
html { position: relative; }

html::before {
  content: "";
  position: fixed;
  inset: -12vh -6vw;
  background-color: transparent;
  /* Blueprint grid + occasional thicker rules — clearly visible, clearly designed */
  background-image:
    /* major vertical rules every 96px */
    repeating-linear-gradient(90deg, transparent 0, transparent 95px, rgba(14, 45, 82, 0.10) 95px, rgba(14, 45, 82, 0.10) 96px),
    /* major horizontal rules every 96px */
    repeating-linear-gradient(0deg, transparent 0, transparent 95px, rgba(14, 45, 82, 0.10) 95px, rgba(14, 45, 82, 0.10) 96px),
    /* minor vertical lines every 24px */
    repeating-linear-gradient(90deg, transparent 0, transparent 23px, rgba(14, 45, 82, 0.045) 23px, rgba(14, 45, 82, 0.045) 24px),
    /* minor horizontal lines every 24px */
    repeating-linear-gradient(0deg, transparent 0, transparent 23px, rgba(14, 45, 82, 0.045) 23px, rgba(14, 45, 82, 0.045) 24px);
  pointer-events: none;
  z-index: 0;
  transform: translate3d(0, var(--bg-pattern-y, 0px), 0);
  will-change: transform;
}

/* Body content always rides above the pattern */
body > * { position: relative; z-index: 1; }

/* Solid surfaces that should hide the pattern entirely (e.g. dark ink sections, white cards) */
.section--ink, .cta-band, header.nav, footer.site-foot {
  position: relative;
  z-index: 1;
}
.section--ink::after, .cta-band::after, header.nav::after, footer.site-foot::after {
  /* keep these sections clean — content already sits on a solid bg */
}

@media (max-width: 767px) {
  html::before {
    transform: none;
    will-change: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  html::before {
    transform: none !important;
    will-change: auto;
  }
}
