/* ==========================================================================
   Vellum & Stone: site styles
   Brand colours live in brand.css (copied verbatim from brandkit/palette/colors.css).
   Everything below only *uses* those tokens; the few extra tokens here are derived
   from them so small text and buttons meet WCAG AA contrast.
   Breakpoints: 1024px (tablet) · 880px (nav collapses) · 640px (large phone) · 420px (small phone)
   ========================================================================== */

:root {
  --maxw: 1180px;
  --gutter: 28px;

  /* derived from the brand palette; see notes */
  --text-soft: #4b463e;       /* body copy on vellum/paper (7.8:1) */
  --text-muted: #6a6558;      /* replaces --mist for small text (4.8:1; mist itself is 3:1) */
  --brass-text: #85602a;      /* brass darkened for small text/buttons on light bg (4.7:1+) */
  --brass-text-hover: #6f4f21;
  --night: #1d1b17;           /* footer / deepest dark */
  --night-line: #34302a;
  --on-dark-soft: #c9c4b8;    /* secondary text on charcoal */
  --on-dark-muted: #bdb8ab;
  --ink-tint: #bcd2e2;        /* secondary text on ink */

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--vellum);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  color: var(--charcoal);
  overflow-wrap: break-word;
}
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 2px; font-weight: 600;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

.eyebrow {
  font-family: var(--font-body); font-weight: 600; font-size: 12.5px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 13px 26px; border-radius: 2px;
  font-family: var(--font-body); font-weight: 600; font-size: 14.5px; letter-spacing: 0.02em;
  cursor: pointer; border: 1px solid transparent; text-align: center; line-height: 1.25;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--ink-dark); }
.btn-outline { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.btn-outline:hover { background: var(--charcoal); color: var(--paper); }
.btn-brass { background: var(--brass-text); color: var(--paper); }
.btn-brass:hover { background: var(--brass-text-hover); }
.btn-outline-light { border-color: var(--paper); color: var(--paper); background: transparent; }
.btn-outline-light:hover { background: var(--paper); color: var(--charcoal); }
.btn-block { width: 100%; }

/* ---------- header / nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(239, 234, 224, 0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px var(--gutter); max-width: var(--maxw); margin: 0 auto;
}
.logo {
  font-family: var(--font-display); font-weight: 600; font-size: 21px;
  letter-spacing: 0.01em; white-space: nowrap; color: var(--charcoal);
}
.logo span { color: var(--ink); }
.site-footer .logo, .on-dark .logo { color: var(--paper); }
.site-footer .logo span, .on-dark .logo span { color: var(--gold); }  /* brand guide: gold ampersand on dark */

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--charcoal); position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px;
  background: var(--ink); transition: width .2s ease;
}
.nav-links a:hover::after, .nav-links a[aria-current]::after { width: 100%; }
.nav-links a[aria-current] { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-phone { font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.menu-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 12px; margin: -12px -12px -12px 0; /* 44px touch target without changing layout */
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--charcoal); margin: 5px 0; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) { .nav-links { gap: 22px; } .nav-phone { display: none; } }
@media (max-width: 880px) {
  :root { --gutter: 22px; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: 8px var(--gutter) 18px;
    border-bottom: 1px solid var(--line); box-shadow: 0 14px 24px rgba(39, 36, 32, 0.08);
    display: none; max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a::after { display: none; }
  .menu-toggle { display: block; }
}

/* ---------- breadcrumbs ---------- */
.breadcrumbs { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--mist); }
.breadcrumbs a { text-decoration: underline; text-decoration-color: var(--mist-light); text-underline-offset: 3px; }
.breadcrumbs a:hover { color: var(--ink); }

/* ---------- hero (home) ---------- */
.dotgrid {
  background-image: radial-gradient(circle, rgba(28, 71, 104, 0.13) 1px, transparent 1.4px);
  background-size: 26px 26px;
}
.hero { position: relative; overflow: hidden; padding: 84px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); margin-top: 14px; letter-spacing: -0.01em; }
.hero h1 em { font-style: italic; color: var(--ink); font-weight: 500; }
.hero .lede { margin-top: 22px; max-width: 480px; font-size: 17.5px; color: var(--text-soft); }
.hero-ctas { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-art svg { width: 100%; height: auto; }
.draw-path {
  fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.6s ease forwards;
}
.draw-path.fill-stone { fill: transparent; animation: draw 2.6s ease forwards, fillin 1.2s ease 2.4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillin { to { fill: rgba(140, 135, 121, 0.16); } }
.hero-caption { margin-top: 14px; font-size: 12.5px; color: var(--text-muted); text-align: center; letter-spacing: 0.04em; }

@media (max-width: 1024px) { .hero { padding: 64px 0 48px; } .hero-grid { gap: 32px; } }
@media (max-width: 880px) {
  .hero { padding: 48px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero .lede { max-width: 100%; }
  .hero-art { max-width: 460px; margin: 0 auto; width: 100%; }
}
@media (max-width: 640px) {
  .hero-ctas .btn { flex: 1 1 100%; }
}

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: 56px 0 44px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); margin-top: 12px; letter-spacing: -0.01em; }
.page-hero .lede { margin-top: 16px; max-width: 640px; color: var(--text-soft); font-size: 17.5px; }
.page-hero .hero-ctas { margin-top: 28px; }
@media (max-width: 640px) { .page-hero { padding: 40px 0 32px; } .page-hero .hero-ctas .btn { flex: 1 1 100%; } }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-tight-top { padding-top: 0; }
.section-head { max-width: 620px; margin: 0 0 50px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); margin-top: 10px; }
.section-head p:not(.eyebrow) { margin-top: 14px; color: var(--text-soft); font-size: 16.5px; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 1024px) { .section { padding: 76px 0; } }
@media (max-width: 640px) { .section { padding: 56px 0; } .section-head { margin-bottom: 34px; } }

.philosophy { padding: 80px 0; }
.philosophy .container { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 50px; align-items: start; }
.philosophy .container > * { min-width: 0; }
.philosophy h2 { font-size: clamp(28px, 3.4vw, 38px); }
.philosophy .copy p { font-size: 16.5px; color: var(--text-soft); margin: 0 0 16px; }
.philosophy .copy p:last-child { margin-bottom: 0; }
@media (max-width: 880px) { .philosophy { padding: 56px 0; } .philosophy .container { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card { display: flex; flex-direction: column; background: var(--vellum); padding: 34px 30px; min-height: 200px; transition: background .2s ease; }
a.service-card:hover { background: var(--paper); }
.service-card .mark { font-family: var(--font-display); font-style: italic; color: var(--brass-text); font-size: 17px; }
.service-card h3 { font-size: 21px; }
.service-card p { margin-top: 10px; font-size: 15px; color: var(--text-soft); flex: 1; }
.service-card .more { margin-top: 16px; font-size: 13.5px; font-weight: 600; color: var(--ink); letter-spacing: 0.02em; }
a.service-card:hover .more { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } .service-card { padding: 26px 22px; min-height: 0; } }

/* ---------- process (dark) ---------- */
.on-dark { background: var(--charcoal); color: var(--paper); }
.on-dark h2, .on-dark h3 { color: var(--paper); }
.on-dark .eyebrow { color: var(--gold); }
.on-dark .section-head p:not(.eyebrow) { color: var(--on-dark-soft); }
.process-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.process-step .num {
  font-family: var(--font-display); font-size: 15px; color: var(--gold);
  border: 1px solid #564f3f; border-radius: 50%; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.process-step h3 { font-size: 19px; }
.process-step p { color: var(--on-dark-muted); margin-top: 8px; font-size: 14.5px; }
@media (max-width: 880px) { .process-row { grid-template-columns: 1fr 1fr; row-gap: 36px; } }
@media (max-width: 560px) { .process-row { grid-template-columns: 1fr; row-gap: 28px; } }

/* ---------- estimator ---------- */
.estimator-wrap { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: var(--paper); }
.estimator-wrap > * { min-width: 0; }
.estimator-form { padding: 46px 44px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.field .hint { font-size: 12.5px; color: var(--text-muted); margin-top: 6px; }
.field select, .field input, .field textarea {
  width: 100%; min-height: 46px; padding: 12px 14px; border: 1px solid var(--mist-light); background: var(--vellum);
  font-family: var(--font-body); font-size: 16px; /* 16px stops iOS zooming on focus */ color: var(--charcoal); border-radius: 2px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select:focus, .field input:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #a33a2a; }
.estimator-result { background: var(--ink); color: var(--paper); padding: 46px 44px; display: flex; flex-direction: column; justify-content: center; }
.estimator-result .eyebrow { color: var(--ink-tint); }
.result-figure { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 44px); margin-top: 14px; font-weight: 600; line-height: 1.15; overflow-wrap: anywhere; }
.result-figure small { font-family: var(--font-body); font-size: 17px; font-weight: 400; display: block; margin-top: 8px; color: var(--ink-tint); }
.result-note { margin-top: 22px; font-size: 13.5px; color: var(--ink-tint); line-height: 1.6; }
.estimator-result .btn { margin-top: 26px; align-self: flex-start; }
.estimator-result .btn-brass { background: var(--gold); color: var(--charcoal); }
.estimator-result .btn-brass:hover { background: var(--paper); }
@media (max-width: 880px) { .estimator-wrap { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .estimator-form, .estimator-result { padding: 30px 22px; }
  .estimator-result .btn { align-self: stretch; }
}

/* ---------- portfolio ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pf-card {
  position: relative; overflow: hidden; background: var(--charcoal); display: block; width: 100%;
  padding: 0; border: 0; text-align: left; cursor: pointer; font: inherit; color: inherit;
}
.pf-card[hidden] { display: none; }
.pf-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .5s ease; }
.pf-card:hover img { transform: scale(1.05); }
.pf-card .tag {
  position: absolute; top: 14px; left: 14px; background: rgba(250, 247, 240, 0.94);
  color: var(--charcoal); font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 10px;
}
.pf-caption { position: absolute; left: 0; bottom: 0; right: 0; padding: 40px 18px 18px; background: linear-gradient(to top, rgba(20, 18, 16, 0.88), transparent); color: var(--paper); }
.pf-title { display: block; color: var(--paper); font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.2; }
.pf-sub { display: block; font-size: 13px; margin-top: 3px; color: #d8d4c8; }
.center-link { text-align: center; margin-top: 42px; }
@media (max-width: 880px) { .portfolio-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (max-width: 560px) { .portfolio-grid { grid-template-columns: 1fr; } }

.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.filter-btn {
  min-height: 42px; padding: 9px 18px; border: 1px solid var(--charcoal); background: transparent; color: var(--charcoal);
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600; letter-spacing: 0.02em; border-radius: 30px; cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.filter-btn[aria-pressed="true"], .filter-btn:hover { background: var(--charcoal); color: var(--paper); }
.filters[hidden] { display: none; }

dialog.lightbox {
  padding: 0; border: 0; background: var(--paper); width: min(880px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow: auto; color: var(--charcoal);
}
dialog.lightbox::backdrop { background: rgba(20, 18, 16, 0.9); }
.lightbox-inner { display: grid; grid-template-columns: 1.1fr 1fr; }
.lightbox-inner img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.lightbox-text { padding: 38px; position: relative; }
.lightbox-text .tag2 { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink); }
.lightbox-text h2 { font-size: 26px; margin-top: 10px; }
.lightbox-text .meta { margin-top: 6px; font-size: 13.5px; color: var(--text-muted); }
.lightbox-text .desc { margin-top: 14px; color: var(--text-soft); font-size: 15px; }
.lightbox-text .btn { margin-top: 24px; }
.lightbox-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--charcoal); line-height: 1; }
@media (max-width: 700px) {
  .lightbox-inner { grid-template-columns: 1fr; }
  .lightbox-inner img { aspect-ratio: 4 / 3; min-height: 0; }
  .lightbox-text { padding: 26px 22px 28px; }
}

/* ---------- team ---------- */
.founders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.founder-card { background: var(--paper); border: 1px solid var(--line); }
.founder-body { padding: 30px 32px; }
.person-role { color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; }
.founder-body h3 { font-size: 24px; margin-top: 8px; }
.founder-body .bio { margin-top: 14px; color: var(--text-soft); font-size: 15px; }
.architects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; max-width: 760px; }
.arch-body { padding-top: 18px; }
.arch-body .person-role { color: var(--brass-text); font-size: 12.5px; }
.arch-body h3 { font-size: 20px; margin-top: 6px; }
.arch-body .bio { margin-top: 10px; color: var(--text-soft); font-size: 14.5px; }
.avatar { position: relative; width: 100%; background-color: var(--ink); overflow: hidden;
  background-image: radial-gradient(circle, rgba(250, 247, 240, 0.16) 1px, transparent 1.4px); background-size: 22px 22px;
  display: flex; align-items: center; justify-content: center; }
.avatar.ratio-founder { aspect-ratio: 5 / 4; }
.avatar.ratio-square { aspect-ratio: 1 / 1; }
.avatar span { font-family: var(--font-display); font-style: italic; font-weight: 400; color: var(--paper); font-size: clamp(56px, 9vw, 96px); letter-spacing: 0.02em; }
.avatar.ratio-square span { font-size: clamp(48px, 8vw, 80px); }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-section + .team-section { border-top: 1px solid var(--line); }
@media (max-width: 780px) { .founders-grid { grid-template-columns: 1fr; gap: 28px; } .founder-body { padding: 24px 22px; } }
@media (max-width: 560px) { .architects-grid { grid-template-columns: 1fr; } }

.team-teaser .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-top: 64px; padding-bottom: 64px; }
.team-teaser h2 { font-size: clamp(26px, 3vw, 34px); max-width: 520px; }
@media (max-width: 640px) { .team-teaser .container { padding-top: 44px; padding-bottom: 44px; } .team-teaser .btn { width: 100%; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--font-body); font-weight: 400; font-size: 26px; line-height: 1; color: var(--ink);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .answer { padding: 0 44px 24px 0; color: var(--text-soft); font-size: 16px; }
@media (max-width: 640px) { .faq-item summary { font-size: 17px; padding: 18px 36px 18px 0; } .faq-item summary::after { top: 14px; } }

/* ---------- prose / service page ---------- */
.two-col { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: start; }
.two-col > * { min-width: 0; }
.prose p { color: var(--text-soft); font-size: 16.5px; margin-bottom: 18px; max-width: 68ch; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin: 40px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.panel { background: var(--paper); border: 1px solid var(--line); padding: 30px 28px; }
.panel + .panel { margin-top: 22px; }
.panel h2, .panel h3 { font-size: 20px; margin-bottom: 14px; }
.checklist { list-style: none; }
.checklist li { position: relative; padding: 8px 0 8px 28px; font-size: 15px; color: var(--text-soft); border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 12px; height: 7px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg) translateY(-3px); }
.sticky-side { position: sticky; top: 100px; }
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; gap: 36px; } .sticky-side { position: static; } }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); background: var(--paper); }
.rate-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; }
.rate-table th, .rate-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.rate-table th { font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); background: var(--vellum); font-weight: 600; }
.rate-table tr:last-child td { border-bottom: 0; }
.rate-table td:first-child { font-weight: 600; }

/* ---------- CTA strip ---------- */
.cta-strip { text-align: center; padding: 70px 0; }
.cta-strip h2 { font-size: clamp(26px, 3vw, 34px); max-width: 620px; margin: 0 auto 12px; }
.cta-strip p { color: var(--on-dark-soft); max-width: 520px; margin: 0 auto 26px; }
.cta-strip .hero-ctas { justify-content: center; margin-top: 0; }
@media (max-width: 640px) { .cta-strip { padding: 52px 0; } .cta-strip .hero-ctas .btn { flex: 1 1 100%; } }

/* ---------- contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; }
.contact-wrap > * { min-width: 0; }
.contact-info a.bigline {
  display: block; font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--paper);
  border-bottom: 1px solid #4a4438; padding-bottom: 18px; margin-bottom: 18px; overflow-wrap: anywhere;
}
.contact-info a.bigline:hover { color: var(--gold); }
.contact-info .meta { color: var(--on-dark-muted); font-size: 14.5px; margin-top: 24px; line-height: 1.8; font-style: normal; }
.contact-form .field label { color: var(--on-dark-muted); }
.contact-form .field input, .contact-form .field textarea, .contact-form .field select { background: #332e27; border-color: #4a4438; color: var(--paper); }
.contact-form .field input::placeholder, .contact-form .field textarea::placeholder { color: #8f897b; }
.contact-form .field select:focus, .contact-form .field input:focus, .contact-form .field textarea:focus { outline-color: var(--gold); }
.contact-form .field input[aria-invalid="true"], .contact-form .field textarea[aria-invalid="true"] { border-color: #e38b7b; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-status { margin-top: 16px; font-size: 15px; padding: 14px 16px; border-left: 3px solid var(--gold); background: rgba(216, 185, 127, 0.1); }
.form-status[hidden] { display: none; }
.form-status.error { border-left-color: #e38b7b; background: rgba(227, 139, 123, 0.1); }
.form-sent { display: none; }
.form-sent:target { display: block; }
.form-fineprint { margin-top: 14px; font-size: 13px; color: var(--on-dark-muted); }
.form-fineprint a { text-decoration: underline; text-underline-offset: 3px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.section:not(.on-dark) .contact-form .field label { color: var(--text-muted); }
@media (max-width: 880px) { .contact-wrap { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } .contact-info a.bigline { font-size: 22px; } }

.steps-list { list-style: none; counter-reset: step; }
.steps-list li { counter-increment: step; position: relative; padding: 14px 0 14px 46px; border-bottom: 1px solid var(--line); color: var(--text-soft); font-size: 15px; }
.steps-list li:last-child { border-bottom: 0; }
.steps-list li::before { content: counter(step); position: absolute; left: 0; top: 12px; width: 30px; height: 30px; border: 1px solid var(--ink); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); color: var(--ink); font-size: 14px; }
.steps-list strong { color: var(--charcoal); display: block; }

/* ---------- project meta list (portfolio lightbox / lists) ---------- */
.meta-list { list-style: none; }
.meta-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.meta-list li:last-child { border-bottom: 0; }
.meta-list span:first-child { color: var(--text-muted); }
.meta-list span:last-child { font-weight: 600; text-align: right; }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: #9b9588; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid > * { min-width: 0; }
.footer-brand p { margin-top: 14px; font-size: 14px; max-width: 300px; }
.site-footer h2 { font-family: var(--font-body); font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 4px; }
.site-footer a:not(.logo) { font-size: 14px; display: inline-block; padding: 5px 0; }
.site-footer a:not(.logo):hover { color: var(--paper); }
.site-footer address { font-style: normal; font-size: 14px; line-height: 1.8; }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--night-line); font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 560px) { .site-footer { padding: 44px 0 90px; } .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- mobile call-to-action bar ---------- */
.mobile-cta { display: none; }
@media (max-width: 880px) {
  .mobile-cta {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--charcoal); border-top: 1px solid #4a4438; padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-cta a { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 8px 6px; color: var(--paper); font-size: 14px; font-weight: 600; text-align: center; }
  .mobile-cta a + a { border-left: 1px solid #4a4438; }
  .mobile-cta a.primary { background: var(--brass-text); }
  body { padding-bottom: 52px; }
}

/* ---------- 404 ---------- */
.notfound { padding: 110px 0; text-align: center; }
.notfound h1 { font-size: clamp(56px, 12vw, 120px); font-style: italic; font-weight: 400; color: var(--ink); }
.notfound p { margin: 16px auto 28px; max-width: 460px; color: var(--text-soft); }

/* ---------- motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .draw-path { animation: none; stroke-dashoffset: 0; }
  .draw-path.fill-stone { fill: rgba(140, 135, 121, 0.16); }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .pf-card img { transition: none; }
}
@media print {
  .site-nav, .mobile-cta, .hero-art { display: none; }
  body { background: #fff; }
}

/* ---------- small utilities (kept as classes because the CSP forbids inline style attributes) ---------- */
.map-link { text-decoration: underline; text-underline-offset: 3px; }
.left-link { text-align: left; }
.hero-ctas.center { justify-content: center; }
