/* ==========================================================================
   Cottage Rose Capital — shared stylesheet
   System: flat, open, square-cornered. Five brand colors only.
   Type: 1.25 modular scale · Spacing: 4/8px grid · Layout: 12 columns, 24px gutter
   ========================================================================== */

:root {
  /* brand palette — no tints, gradients or shadows */
  --white: #FFFFFF;
  --ink: #1A1A1A;
  --brand: #14304A;
  --accent: #C9CED4; /* silver; no gold on this site */
  --surface: #F2F4F6;
  --brand-rgb: 20, 48, 74;

  --font-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1520px;
  --gutter: 1.5rem;
  --header-h: 80px;
  --silver: #C9CED4;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px; /* sticky header + breathing room */
  color-scheme: light;
  -webkit-tap-highlight-color: rgba(var(--brand-rgb), 0.15);
}
[id] { scroll-margin-top: 96px; }
a, button, input, select, textarea, label { touch-action: manipulation; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--brand);
  line-height: 1.2;
  margin: 0 0 1rem;
  font-weight: 700;
}
h1, h2, h3 { text-wrap: balance; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
h3, .as-h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.lede {
  font-size: 1.25rem;
  max-width: 68ch;
  text-wrap: pretty;
}

/* ---------- focus ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex="-1"]:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
.section-dark a:focus-visible,
.site-footer a:focus-visible,
.contact-info-card a:focus-visible,
.section-dark .btn:focus-visible { outline-color: var(--white); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 1000;
}
.skip-link:focus { left: 0; top: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
}

section { padding: clamp(4rem, 8vw, 6rem) 0; }

/* ---------- buttons: square brand-color blocks ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 2rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
  text-decoration: none;
  border: 2px solid var(--brand);
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn-primary, .btn-solid-dark { background: var(--silver); color: var(--brand); border-color: var(--brand); }
.btn-primary:hover, .btn-solid-dark:hover { background: var(--brand); color: var(--white); }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand); color: var(--white); }
.section-dark .btn-primary,
.btn-ghost-light { background: var(--silver); color: var(--brand); border-color: var(--silver); }
.section-dark .btn-primary:hover,
.btn-ghost-light:hover { background: transparent; color: var(--white); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--brand);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.brand, .footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
  color: var(--brand);
}
.brand img, .footer-brand img { height: 64px; width: auto; }
.wordmark { display: flex; flex-direction: column; align-items: flex-start; font-family: var(--font-head); line-height: 1.1; }
.wordmark span:first-child { font-weight: 800; font-size: 1.5rem; }
.wordmark span:last-child { font-weight: 600; font-size: 1rem; }
.footer-brand { color: var(--white); }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav ul { display: flex; gap: 2rem; }
.main-nav a:not(.btn) {
  text-decoration: none;
  font-weight: 500;
  color: var(--brand);
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease;
}
.main-nav a:not(.btn):hover,
.main-nav a[aria-current="page"] { border-bottom-color: var(--brand); }
.main-nav a.btn { padding: 0 1.5rem; }

.nav-toggle {
  font: inherit;
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  color: var(--brand);
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem var(--gutter);
    gap: 1.5rem;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .main-nav.is-open { transform: translateX(0); visibility: visible; transition-delay: 0s; }
  .main-nav ul { flex-direction: column; gap: 1rem; width: 100%; }
  .main-nav a:not(.btn) { font-size: 1.25rem; display: block; }
  .main-nav .btn { width: 100%; }
}

/* ---------- hero: full-bleed Austin skyline, text on a solid panel ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(36rem, 90vh, 56rem);
  padding: 0;
  background: var(--brand);
}
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide:nth-child(2) { object-position: center 72%; }
.hero-slide:nth-child(3) { object-position: center 42%; }
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } }

/* soft brand-color tint, strongest behind the text and fading out across the photo */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(var(--brand-rgb), 0.72) 0%, rgba(var(--brand-rgb), 0.64) 52%, rgba(var(--brand-rgb), 0.2) 68%, rgba(var(--brand-rgb), 0) 86%);
}
.hero .container { position: relative; width: 100%; padding-top: clamp(4rem, 8vw, 6rem); padding-bottom: clamp(11.25rem, 19vw, 18.25rem); }
.hero-copy { color: var(--white); }
.hero-copy h1, .hero-copy .lede { color: var(--white); }
.hero .btn-primary { background: var(--silver); color: var(--brand); border-color: var(--silver); }
.hero .btn-primary:hover { background: transparent; color: var(--white); }
.hero .btn-ghost { color: var(--white); border-color: var(--white); }
.hero .btn-ghost:hover { background: var(--white); color: var(--brand); }
.hero a:focus-visible { outline-color: var(--white); }
.hero-headline { max-width: 20em; margin-bottom: 1.5rem; }
.hero-copy h1, .hero-copy .lede { text-shadow: 0 1px 3px rgba(8, 22, 36, 0.55), 0 4px 28px rgba(8, 22, 36, 0.7); }
.hero-headline::after { content: ""; display: block; width: 96px; height: 6px; margin-top: 1rem; background: var(--accent); }
.hero-copy .lede { margin-bottom: 0; max-width: 52ch; font-size: 1.5rem; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
@media (max-width: 699px) {
  .hero-slide { object-position: 56% 30%; }
  .hero-slide:nth-child(2) { object-position: 30% 72%; }
  .hero-slide:nth-child(3) { object-position: 60% 42%; }
  .hero-copy .lede { font-size: 1.25rem; }
}
@media (min-width: 900px) {
  .hero .container { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); }
  .hero-copy { grid-column: 1 / span 10; }
}

/* slideshow controls */
.hero-controls { position: absolute; right: var(--gutter); bottom: 1.5rem; display: flex; align-items: center; gap: 0.5rem; }
.hero-dot { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; background: transparent; border: 0; color: var(--white); cursor: pointer; }
.hero-dots { display: flex; }
.hero-dot::before { content: ""; width: 32px; height: 3px; background: var(--white); opacity: 0.45; transition: opacity 0.2s ease, height 0.2s ease; }
.hero-dot:hover::before { opacity: 0.8; }
.hero-dot[aria-current="true"]::before { opacity: 1; height: 5px; }
.hero-controls button:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }

/* ---------- layout helpers ---------- */
.card { background: var(--surface); padding: 2rem; }
.grid { display: grid; gap: var(--gutter); }
@media (min-width: 700px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- section variants ---------- */
.section-white { background: var(--white); }
.section-gray { background: var(--surface); }
.section-dark, .cta-band-dark { background: var(--brand); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-head { max-width: 56rem; margin: 0 0 3rem; }
.section-head.align-left { margin-left: 0; }

/* ---------- audience ---------- */
.audience-section .container > div { max-width: 56rem; }

/* ---------- differentiator + reasons ---------- */
.differentiator { border-top: 1px solid var(--brand); padding: clamp(2rem, 4vw, 2.5rem) 0; margin-bottom: 3rem; }
.reason-list { border-top: 1px solid var(--brand); }
.reason-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--brand);
  align-items: start;
}
@media (min-width: 700px) { .reason-row { grid-template-columns: 96px 1fr; } }
.reason-number { font-family: var(--font-head); font-weight: 800; font-size: 1.563rem; color: var(--brand); line-height: 1; font-variant-numeric: tabular-nums; }
.reason-row h3 { margin-bottom: 0.5rem; }
.reason-row p { margin: 0; max-width: 72ch; text-wrap: pretty; }
.brand, .areas-item > *, .reason-row > * { min-width: 0; }

/* ---------- areas band (dark) ---------- */
.areas-grid { display: grid; gap: 3rem var(--gutter); }
@media (min-width: 860px) {
  .areas-grid { grid-template-columns: repeat(12, 1fr); }
  .areas-grid > :first-child { grid-column: span 5; }
  .areas-grid > :last-child { grid-column: span 7; }
}
.areas-list { border-top: 1px solid var(--white); }
.areas-item {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--white);
}
.areas-item .item-index { font-family: var(--font-head); font-weight: 700; font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.areas-item .item-name { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; }
.areas-item .item-tag { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 1rem; font-weight: 600; text-align: right; }
.item-star { flex: none; width: 24px; height: 24px; color: var(--accent); }

/* ---------- service columns: open, brand rule on top ---------- */
.svc-grid { display: grid; gap: 2rem var(--gutter); }
@media (min-width: 700px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } }
.svc-item { border-top: 2px solid var(--brand); padding-top: 1.5rem; }
.svc-item .svc-index {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.svc-item h3 { margin-bottom: 1rem; }
.svc-icon { display: block; width: 56px; height: 56px; margin-bottom: 1rem; color: var(--brand); }
.svc-item p { margin: 0; }

/* ---------- how it works: numbered rows ---------- */
.steps { border-top: 1px solid var(--brand); }
.step { display: grid; gap: 0.5rem var(--gutter); padding: 2rem 0; border-bottom: 1px solid var(--brand); }
.step h3, .step p { margin: 0; }
.step-index { font-family: var(--font-head); font-weight: 800; font-size: 2.441rem; line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; }
@media (min-width: 700px) {
  .step { grid-template-columns: repeat(12, 1fr); align-items: baseline; }
  .step-index { grid-column: span 2; }
  .step h3 { grid-column: span 4; }
  .step p { grid-column: span 6; }
}

/* ---------- closing CTA ---------- */
.cta-band { background: var(--brand); color: var(--white); }
.cta-band h2 { color: var(--white); }
.cta-band .btn-primary { background: var(--silver); color: var(--brand); border-color: var(--silver); }
.cta-band .btn-primary:hover { background: transparent; color: var(--white); }
.cta-band a:focus-visible { outline-color: var(--white); }
.cta-band .container > div { display: grid; gap: 1rem var(--gutter); align-items: end; }
.cta-band h2, .cta-band .lede { margin: 0; }
.cta-band .hero-actions { margin-top: 1rem; }
@media (min-width: 900px) {
  .cta-band .container > div { grid-template-columns: repeat(12, 1fr); }
  .cta-band h2, .cta-band .lede { grid-column: span 8; }
  .cta-band .hero-actions { grid-column: 9 / -1; grid-row: 1 / span 2; justify-content: flex-end; margin: 0; }
}

/* ---------- about ---------- */
.origin-story p { max-width: 72ch; font-size: 1.25rem; }
.callout { background: var(--surface); padding: clamp(2rem, 4vw, 2.5rem); }
.callout h3 { margin-bottom: 0.5rem; }
.callout p:last-child { margin: 0; }

/* ---------- services: stacked pillar rows ---------- */
.pillar { display: grid; gap: 1rem var(--gutter); border-top: 2px solid var(--brand); padding: 2rem 0 3rem; }
.pillar h2 { margin: 0; font-size: clamp(1.5rem, 2.5vw, 2rem); }
.pillar h2 { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 1rem; }
.pillar-icon { flex: none; width: 56px; height: 56px; color: var(--brand); }
.pillar-head .pillar-stat { margin-top: 2rem; }
.pillar p { margin: 0; }
.pillar ul { margin-top: 0.5rem; }
.pillar li { position: relative; padding-left: 1.75rem; margin-bottom: 0.75rem; }
.pillar li::before { content: ""; position: absolute; left: 0; top: 0.25rem; width: 1rem; height: 1rem; border: 2px solid var(--accent); }
@media (min-width: 860px) {
  .pillar { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .pillar-head { grid-column: 1 / span 4; grid-row: 1 / span 2; }
  .pillar > p { grid-column: 5 / span 8; grid-row: 1; }
  .pillar ul { grid-column: 5 / span 8; grid-row: 2; margin-top: 0; }
}
.services-stack { display: grid; gap: 0; }
.pillar-stat { display: flex; flex-direction: column; margin: 0; }
.pillar-stat .num { font-family: var(--font-head); font-weight: 800; font-size: 3rem; line-height: 1.1; color: var(--brand); }
.pillar-stat .label { font-family: var(--font-head); font-weight: 700; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--brand); }

.comparison { background: var(--brand); color: var(--white); padding: clamp(2rem, 4vw, 2.5rem); }
.comparison h2, .comparison h3 { color: var(--white); }
.comparison-grid { display: grid; gap: 2rem var(--gutter); margin-top: 2rem; }
@media (min-width: 700px) { .comparison-grid { grid-template-columns: 1fr 1fr; } }
.comparison-col { border-top: 2px solid var(--white); padding-top: 1.5rem; }
.comparison-col h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.comparison-col.us { border-top-color: var(--accent); }
.comparison-col li { position: relative; padding-left: 1.75rem; margin-bottom: 0.75rem; }
.comparison-col li::before { content: ""; position: absolute; left: 0; top: 0.25rem; width: 1rem; height: 1rem; border: 2px solid var(--white); }

/* hand-drawn, marker-weight check marks that run slightly past the box */
.pillar li::after,
.comparison-col.us li::after,
.comparison-col.them li::after {
  content: "";
  position: absolute;
  left: -3px;
  top: -1px;
  width: 24px;
  height: 24px;
  background-color: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 32 32%22 fill=%22none%22 stroke=%22%23000%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath stroke-width=%223.4%22 d=%22M5.2 16.6 C7.4 18.2 9.8 21.4 11.9 25.4 C15.4 17.4 21.8 9.4 29.6 4.4%22/%3E%3Cpath stroke-width=%221.7%22 d=%22M12.6 24.4 C16.2 18 20.8 12.2 27.4 6.6%22/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 32 32%22 fill=%22none%22 stroke=%22%23000%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath stroke-width=%223.4%22 d=%22M5.2 16.6 C7.4 18.2 9.8 21.4 11.9 25.4 C15.4 17.4 21.8 9.4 29.6 4.4%22/%3E%3Cpath stroke-width=%221.7%22 d=%22M12.6 24.4 C16.2 18 20.8 12.2 27.4 6.6%22/%3E%3C/svg%3E") center / contain no-repeat;
  transform: rotate(-3deg);
}
.comparison-col.us li::after,
.comparison-col.them li::after { background-color: var(--white); }
/* the typical-model column lists drawbacks, so it gets a hand-drawn X instead */
.comparison-col.them li::after {
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 32 32%22 fill=%22none%22 stroke=%22%23000%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath stroke-width=%223.2%22 d=%22M6 6.6 C11 11 17.6 18.4 26 25.8%22/%3E%3Cpath stroke-width=%223%22 d=%22M25.4 5.6 C19.6 11.4 12.6 18.6 6.6 26.4%22/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 32 32%22 fill=%22none%22 stroke=%22%23000%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath stroke-width=%223.2%22 d=%22M6 6.6 C11 11 17.6 18.4 26 25.8%22/%3E%3Cpath stroke-width=%223%22 d=%22M25.4 5.6 C19.6 11.4 12.6 18.6 6.6 26.4%22/%3E%3C/svg%3E");
}
/* no two marks quite alike */
.pillar li:nth-child(3n+2)::after, .comparison-col.us li:nth-child(3n+2)::after { transform: rotate(2deg) translate(1px, -1px); }
.pillar li:nth-child(3n)::after, .comparison-col.us li:nth-child(3n)::after { transform: rotate(-6deg) scale(1.08); }
.comparison-col.them li:nth-child(even)::after { transform: rotate(5deg); }

.property-types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem var(--gutter); }
@media (min-width: 700px) { .property-types { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .property-types { grid-template-columns: repeat(5, 1fr); } }
.ptype { display: flex; flex-direction: column; gap: 1.5rem; border-top: 2px solid var(--brand); padding-top: 1.5rem; }
.ptype-icon { width: 96px; height: 96px; color: var(--brand); }
.ptype-label { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; line-height: 1.2; color: var(--brand); }
.ptype-note { display: block; margin-top: 0.5rem; font-family: var(--font-sans); font-weight: 400; font-size: 1rem; color: var(--ink); }

/* ---------- contact ---------- */
.contact-layout { display: grid; gap: 3rem var(--gutter); }
@media (min-width: 900px) {
  .contact-layout { grid-template-columns: repeat(12, 1fr); }
  .contact-form { grid-column: span 7; }
  .contact-info-card { grid-column: span 5; align-self: start; }
}
.form-row { margin-bottom: 1.5rem; }
.form-row-group { display: grid; gap: 1.5rem var(--gutter); }
@media (min-width: 560px) { .form-row-group.cols-2 { grid-template-columns: 1fr 1fr; } }
label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--brand);
}
.hint { font-weight: 400; }
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 0;
  border-bottom: 2px solid var(--brand);
  border-radius: 0;
  background: var(--surface);
  color: var(--ink);
  transition: background-color 0.15s ease;
}
input:hover, select:hover, textarea:hover { background: var(--white); box-shadow: inset 0 0 0 1px var(--brand); }
select, select option { background-color: var(--surface); color: var(--ink); }
textarea { resize: vertical; min-height: 128px; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { display: none; margin-top: 1rem; padding: 1rem 1.5rem; border: 2px solid var(--brand); }
.form-status.is-visible { display: block; }
.form-success-panel { padding: 2rem 0; }

.contact-info-card { background: var(--brand); color: var(--white); padding: clamp(2rem, 4vw, 2.5rem); }
.contact-info-card h2, .contact-info-card h3 { color: var(--white); }
.contact-info-card a { display: inline-block; padding: 0.75rem 0; color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.contact-list { margin-top: 1.5rem; }
.contact-list li { margin-bottom: 1.5rem; }
.contact-list .label {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
}

/* ---------- footer ---------- */
.site-footer { background: var(--brand); color: var(--white); padding: 4rem 0 1.5rem; border-top: 3px solid var(--accent); }
.footer-grid { display: grid; gap: 2rem var(--gutter); margin-bottom: 3rem; }
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: repeat(12, 1fr); }
  .footer-grid > :nth-child(1) { grid-column: span 6; }
  .footer-grid > :nth-child(n+2) { grid-column: span 3; }
}
.footer-brand { color: var(--white); margin-bottom: 1rem; }
.footer-grid > :first-child p { max-width: 28rem; }
.site-footer h2 { font-size: 1rem; color: var(--white); margin-bottom: 1rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer li a { display: inline-block; padding: 0.75rem 0; margin: -0.75rem 0; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer li { margin-bottom: 0.75rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  border-top: 1px solid var(--white);
  padding-top: 1.5rem;
  font-size: 0.8rem;
}
.footer-bottom p { margin: 0; }

/* ---------- page heroes + two-col ---------- */
.page-hero { padding: clamp(4rem, 8vw, 6rem) 0 3rem; }
.page-hero h1 { max-width: 32ch; }
.page-hero .lede { margin-top: 1rem; }

.two-col { display: grid; gap: 3rem var(--gutter); }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; align-items: start; } }

/* ---------- Capital layout: skyline banner, gray intro, key numbers, definition rows ---------- */
.hero .intro-note { margin: 0.75rem 0 0; font-size: 1rem; font-weight: 600; color: var(--white); text-shadow: 0 1px 3px rgba(8, 22, 36, 0.55), 0 4px 28px rgba(8, 22, 36, 0.7); }
.keynums { display: grid; gap: 3rem var(--gutter); border-top: 1px solid var(--brand); padding-top: 3rem; }
@media (min-width: 700px) { .keynums { grid-template-columns: repeat(3, 1fr); } }
.keynum { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; margin-bottom: 1rem; }
.keynums h3 { margin-bottom: 0.5rem; text-transform: uppercase; font-size: 0.875rem; letter-spacing: 0.04em; }
.keynums p { margin: 0; max-width: 36ch; }
.defs { margin: 0; border-top: 1px solid var(--brand); }
.defs > div { display: grid; gap: 0.5rem var(--gutter); padding: 1.5rem 0; border-bottom: 1px solid var(--brand); }
@media (min-width: 700px) { .defs > div { grid-template-columns: repeat(12, 1fr); } .defs dt { grid-column: span 3; } .defs dd { grid-column: span 9; } }
.defs dt { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--brand); }
.defs dd { margin: 0; max-width: 64ch; }
