/* ============================================================================
   ASCEND A-CRE GROUP — design system
   Hand-written from the Tailwind Plus "Studio" template's compiled token set
   (PURCHASE_SHORTLIST_2026-09-09.md, integration step 5 fallback: no Tailwind
   CLI, no npm, no node_modules — plain CSS custom properties only).

   Harvested:
     Studio   — type scale + line-heights, spacing rhythm, neutral palette,
                Container / PageIntro / SectionIntro / StatList / TagList /
                GridList / List / Border / Button / ContactSection patterns.
     Primer   — numbered section headings, email opt-in block.
     Radiant  — dense institutional comparison-table rules.
     Spotlight— long-form article (prose) settings.

   Fonts: Source Serif 4 600 (display) + Inter 400-600 variable (body/UI/figures),
   both SIL OFL, self-hosted woff2 latin subsets in /assets/fonts/.
   Mobile-first. Works at 400px with no horizontal scroll.
   ========================================================================= */

/* ------------------------------------------------------------------ fonts */

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/SourceSerif4-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Inter ships from Google Fonts as a single variable latin file (fvar axis
   100-900); one @font-face covers 400/500/600. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/Inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ----------------------------------------------------------------- tokens */

:root {
  /* Studio type scale (--text-* / --text-*--line-height) */
  --text-xs: 0.75rem;      --lh-xs: 1rem;
  --text-sm: 0.875rem;     --lh-sm: 1.5rem;
  --text-base: 1rem;       --lh-base: 1.75rem;
  --text-lg: 1.125rem;     --lh-lg: 1.75rem;
  --text-xl: 1.25rem;      --lh-xl: 2rem;
  --text-2xl: 1.5rem;      --lh-2xl: 2.25rem;
  --text-3xl: 1.75rem;     --lh-3xl: 2.25rem;
  --text-4xl: 2rem;        --lh-4xl: 2.5rem;
  --text-5xl: 2.5rem;      --lh-5xl: 3rem;
  --text-6xl: 3rem;        --lh-6xl: 3.5rem;
  --text-7xl: 4rem;        --lh-7xl: 4.5rem;

  /* Studio spacing rhythm (mt-24 / sm:mt-32 / lg:mt-40 between sections) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --section: 3.5rem;          /* raised at sm / lg breakpoints below */

  /* neutral palette — near-black ink on white, no gradients anywhere */
  --ink: #0a0a0a;             /* Studio neutral-950 — owner default 2026-10-03; source _SHARED/brand_tokens.json */
  --ink-700: #404040;
  --body: #4b5563;            /* Studio neutral-600 role: body copy */
  --subtle: #6b7280;          /* Studio neutral-500 role: meta, captions */
  --line: rgba(10, 10, 10, 0.10);   /* Studio neutral-950/10 hairline */
  --line-mid: rgba(10, 10, 10, 0.18);
  --line-ink: var(--ink);           /* Studio Border "tick" */
  --surface: #f4f4f5;         /* Studio neutral-100 */
  --surface-soft: #fafafa;    /* Studio neutral-50 */
  --white: #ffffff;
  --invert-body: #d4d4d8;     /* Studio neutral-300 on dark */
  --invert-line: rgba(255, 255, 255, 0.10);
  --err: #9f1239;

  /* borders + radii (Studio: rounded-2xl / 3xl / 4xl / full) */
  --radius-md: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --radius-4xl: 2.5rem;
  --radius-full: 9999px;

  --font-display: 'Source Serif 4', 'Source Serif Pro', 'Iowan Old Style',
    'Palatino Linotype', Palatino, Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI',
    Roboto, 'Helvetica Neue', Arial, sans-serif;

  --container: 80rem;         /* Studio Container: max-w-7xl */
  --measure: 48rem;           /* Studio max-w-3xl lede measure */
}

@media (min-width: 640px) { :root { --section: 5rem; } }
@media (min-width: 1024px) { :root { --section: 6.5rem; } }

/* ------------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--lh-base);
  font-feature-settings: 'cv05' 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--ink-700); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: var(--text-4xl); line-height: var(--lh-4xl); }
h2 { font-size: var(--text-2xl); line-height: var(--lh-2xl); margin-top: var(--space-16); }
h3 { font-size: var(--text-xl); line-height: var(--lh-xl); }
h4 { font-size: var(--text-base); line-height: var(--lh-base); }

@media (min-width: 640px) {
  h1 { font-size: var(--text-5xl); line-height: var(--lh-5xl); }
  h2 { font-size: var(--text-3xl); line-height: var(--lh-3xl); }
}

p { margin: var(--space-6) 0; }
strong { font-weight: 600; color: var(--ink); }
em { font-style: italic; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--space-16) 0; }

::selection { background: var(--ink); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* Every class that carries figures gets tabular lining numerals (Inter tnum). */
.indicator-table,
.stat, .stats, .stat-value, .stat-label,
.snapshot, .snapshot dd,
.highlights, .verified-list,
.updated-line, .val, .src,
time, .figure-set {
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: 'tnum' 1, 'lnum' 1;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* -------------------------------------------- Container (Studio Container) */

.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 1024px) { .wrap { padding-inline: 2rem; } }

.narrow { max-width: var(--measure); }
.mt0 { margin-top: 0; }
.muted { color: var(--subtle); }
.small { font-size: var(--text-sm); line-height: var(--lh-sm); }

main { display: block; padding-bottom: var(--section); }

.section { margin-top: var(--section); }

/* ---------------------------------------------- Border (Studio Border.jsx)
   Studio draws a 24px ink tick plus a 10%-opacity hairline that continues the
   rule. Reproduced with ::before / ::after instead of Tailwind utilities.     */

.border-top { position: relative; }
.border-top::before,
.border-top::after { content: ""; position: absolute; top: 0; height: 1px; }
.border-top::before { left: 0; width: 1.5rem; background: var(--line-ink); }
.border-top::after { left: 2rem; right: 0; background: var(--line); }

.border-left { position: relative; padding-left: var(--space-8); }
.border-left::before,
.border-left::after { content: ""; position: absolute; left: 0; width: 1px; }
.border-left::before { top: 0; height: 1.5rem; background: var(--line-ink); }
.border-left::after { top: 2rem; bottom: 0; background: var(--line); }

.invert .border-top::before,
.invert .border-left::before { background: var(--white); }
.invert .border-top::after,
.invert .border-left::after { background: var(--invert-line); }

/* -------------------------------------- PageIntro / SectionIntro (Studio) */

.page-intro { margin-top: var(--space-16); }

.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-base);
  line-height: var(--lh-base);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: var(--space-6);
}

.page-intro h1 {
  max-width: 62rem;
  font-size: var(--text-4xl);
  line-height: var(--lh-4xl);
  letter-spacing: -0.02em;
}
@media (min-width: 640px) {
  .page-intro h1 { font-size: var(--text-5xl); line-height: var(--lh-5xl); }
}
@media (min-width: 1024px) {
  .page-intro h1 { font-size: var(--text-6xl); line-height: var(--lh-6xl); }
}

.lede {
  max-width: var(--measure);
  margin-top: var(--space-6);
  font-size: var(--text-lg);
  line-height: var(--lh-lg);
  color: var(--body);
}
@media (min-width: 640px) {
  .lede { font-size: var(--text-xl); line-height: var(--lh-xl); }
}

.section-intro { max-width: 42rem; margin-top: var(--section); }
.section-intro h2 {
  margin-top: 0;
  font-size: var(--text-3xl);
  line-height: var(--lh-3xl);
  letter-spacing: -0.02em;
}
@media (min-width: 640px) {
  .section-intro h2 { font-size: var(--text-4xl); line-height: var(--lh-4xl); }
}
.section-intro .lede { margin-top: var(--space-4); }

/* --------------------------------------------- Buttons (Studio Button.jsx) */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: var(--radius-full);
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: 1.5rem;
  font-weight: 600;
  padding: 0.4rem 1.1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.btn:hover { background: var(--ink-700); border-color: var(--ink-700); color: var(--white); }
.btn:disabled { opacity: 0.5; cursor: progress; }

.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-mid); }
.btn-secondary:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

.btn-invert { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-invert:hover { background: var(--invert-body); color: var(--ink); border-color: var(--invert-body); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-8); }

/* ------------------------------------------------- Grids + cards (Studio) */

.grid { display: grid; gap: var(--space-8); grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Studio home case-study card: rounded-3xl, 5%-ink ring, hover lifts to neutral-50 */
.card {
  position: relative;
  display: block;
  background: var(--white);
  border-radius: var(--radius-3xl);
  box-shadow: inset 0 0 0 1px rgba(10, 10, 10, 0.07);
  padding: var(--space-6);
  margin-top: var(--space-8);
  transition: background-color 150ms ease;
}
@media (min-width: 640px) { .card { padding: var(--space-8); } }
.card:hover { background: var(--surface-soft); }
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.card h2, .card h3 { margin-top: 0; }
.card h2 + p, .card h3 + p { margin-top: var(--space-4); }
.card .btn { margin-top: var(--space-6); }
.card img { border-radius: var(--radius-2xl); }
.card h2 a, .card h3 a { text-decoration: none; }
.card h2 a:hover, .card h3 a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
.grid > .card { margin-top: 0; }

/* ------------------------------------------------ TagList / status pills */

.taglist { display: flex; flex-wrap: wrap; gap: var(--space-4); list-style: none; margin: var(--space-6) 0; padding: 0; }
.tag,
.status-pill {
  display: inline-block;
  border-radius: var(--radius-full);
  background: var(--surface);
  color: var(--ink);
  font-size: var(--text-sm);
  line-height: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.25rem 1rem;
}
.status-pill { color: var(--ink); }

/* --------------------------------------------- GridList (Studio GridList) */

.gridlist {
  list-style: none;
  margin: var(--space-10) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-10);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .gridlist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .gridlist-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gridlist > li {
  position: relative;
  padding-left: var(--space-8);
  font-size: var(--text-base);
  line-height: var(--lh-base);
  color: var(--body);
}
.gridlist > li::before,
.gridlist > li::after { content: ""; position: absolute; left: 0; width: 1px; }
.gridlist > li::before { top: 0; height: 1.5rem; background: var(--line-ink); }
.gridlist > li::after { top: 2rem; bottom: 0; background: var(--line); }
.gridlist > li h3 { margin: 0 0 var(--space-4); font-size: var(--text-xl); line-height: var(--lh-xl); }
.gridlist > li p { margin: 0; }
.gridlist > li p + p { margin-top: var(--space-4); }

.gridlist-invert > li { color: var(--invert-body); }
.gridlist-invert > li::before { background: var(--white); }
.gridlist-invert > li::after { background: var(--invert-line); }
.gridlist-invert > li h3 { color: var(--white); }

/* ------------------------------------------------------ List (Studio List) */

.list { list-style: none; margin: var(--space-10) 0 0; padding: 0; color: var(--body); }
.list > li { position: relative; margin-top: var(--space-10); padding-top: var(--space-10); }
.list > li::before,
.list > li::after { content: ""; position: absolute; top: 0; height: 1px; }
.list > li::before { left: 0; width: 1.5rem; background: var(--line-ink); }
.list > li::after { left: 2rem; right: 0; background: var(--line); }
.list > li:first-child { margin-top: 0; padding-top: 0; }
.list > li:first-child::before,
.list > li:first-child::after { display: none; }

/* Highlights are the Studio List pattern applied to a bulleted fact set. */
.highlights { list-style: none; margin: var(--space-8) 0 0; padding: 0; max-width: 56rem; }
.highlights > li {
  position: relative;
  padding: var(--space-4) 0 var(--space-4) var(--space-8);
  border-top: 1px solid var(--line);
  font-size: var(--text-base);
  line-height: var(--lh-base);
  color: var(--body);
}
.highlights > li:last-child { border-bottom: 1px solid var(--line); }
.highlights > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.5rem;
  width: 1rem;
  height: 1px;
  background: var(--ink);
}
.highlights > li strong { color: var(--ink); }
.highlights > li a { color: var(--ink); }

/* -------------------------------- Verified scorecard = Studio GridListItem */

.verified-list {
  list-style: none;
  margin: var(--space-10) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-10);
  grid-template-columns: 1fr;
  max-width: 68rem;
}
@media (min-width: 640px) { .verified-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.verified-list > li {
  position: relative;
  padding-left: var(--space-8);
  font-size: var(--text-base);
  line-height: var(--lh-base);
  color: var(--body);
}
.verified-list > li::before,
.verified-list > li::after { content: ""; position: absolute; left: 0; width: 1px; }
.verified-list > li::before { top: 0; height: 1.5rem; background: var(--line-ink); }
.verified-list > li::after { top: 2rem; bottom: 0; background: var(--line); }
.verified-list .topic { font-weight: 600; color: var(--ink); }

/* ------------------------------------------ StatList (Studio StatList.jsx) */

.stats {
  display: grid;
  gap: var(--space-10);
  grid-template-columns: 1fr;
  margin: var(--space-10) 0 0;
  padding: 0;
}
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .stats { grid-auto-columns: 1fr; grid-auto-flow: column; grid-template-columns: none; } }
.stat {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  padding-left: var(--space-8);
}
.stat::before,
.stat::after { content: ""; position: absolute; left: 0; width: 1px; }
.stat::before { top: 0; height: 1.5rem; background: var(--line-ink); }
.stat::after { top: 2rem; bottom: 0; background: var(--line); }
.stat-label { margin-top: var(--space-2); font-size: var(--text-base); line-height: var(--lh-base); color: var(--body); }
.stat-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-3xl);
  line-height: var(--lh-3xl);
  color: var(--ink);
  letter-spacing: -0.02em;
}
@media (min-width: 640px) { .stat-value { font-size: var(--text-4xl); line-height: var(--lh-4xl); } }

/* ------------------- Property snapshot = Studio work/[slug] Client/Year/Service */

.snapshot-band {
  margin-top: var(--section);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}
.snapshot {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
  font-size: var(--text-sm);
  line-height: var(--lh-sm);
  color: var(--ink);
}
@media (min-width: 768px) { .snapshot { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.snapshot > div {
  padding: var(--space-4) 0;
  border-top: 1px solid var(--line);
}
.snapshot > div:first-child { border-top: 0; }
@media (min-width: 768px) {
  .snapshot > div { border-top: 0; border-left: 1px solid var(--line); padding-inline: var(--space-6); }
  .snapshot > div:first-child { padding-left: 0; border-left: 0; }
}
.snapshot dt { font-weight: 600; color: var(--ink); }
.snapshot dd { margin: var(--space-1) 0 0; color: var(--body); }

/* --------------------------------- Primer: numbered long-form section heads */

.numbered { counter-reset: section; }
.numbered-section { counter-increment: section; margin-top: var(--section); }
.numbered-section > h2 {
  margin-top: var(--space-2);
  font-size: var(--text-3xl);
  line-height: var(--lh-3xl);
  letter-spacing: -0.02em;
}
@media (min-width: 640px) {
  .numbered-section > h2 { font-size: var(--text-4xl); line-height: var(--lh-4xl); }
}
.numbered-section::before {
  content: "/ " counter(section, decimal-leading-zero);
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: var(--lh-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--subtle);
  font-variant-numeric: tabular-nums;
}
.numbered-section .body { max-width: var(--measure); }
.numbered-section .body p { color: var(--body); }

/* ------------------------------------ Radiant: institutional data table */

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: var(--space-8);
}
.indicator-table {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
  text-align: left;
  font-size: var(--text-sm);
  line-height: var(--lh-sm);
  color: var(--body);
}
.indicator-table thead th {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  line-height: var(--lh-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0 var(--space-6) var(--space-4) 0;
  border-bottom: 1px solid var(--ink);
  white-space: nowrap;
}
.indicator-table tbody td {
  vertical-align: top;
  padding: var(--space-4) var(--space-6) var(--space-4) 0;
  border-bottom: 1px solid var(--line);
}
.indicator-table thead th:last-child,
.indicator-table tbody td:last-child { padding-right: 0; }
.indicator-table tbody tr:hover { background: var(--surface-soft); }
.indicator-table .val {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  line-height: var(--lh-lg);
  color: var(--ink);
  white-space: nowrap;
}
.indicator-table .src { color: var(--subtle); font-size: var(--text-xs); line-height: var(--lh-sm); }

.updated-line {
  margin-top: var(--space-4);
  color: var(--subtle);
  font-size: var(--text-sm);
  line-height: var(--lh-sm);
}

/* ----------------------------------------------- Primer: email opt-in block */

.optin {
  margin-top: var(--space-8);
  border-radius: var(--radius-3xl);
  background: var(--surface);
  padding: var(--space-8);
}
.optin h3 { margin-top: 0; }
.optin p { color: var(--body); }
.optin > :last-child { margin-bottom: 0; }

/* ------------------------------- ContactSection (Studio ContactSection.jsx) */

.contact-cta {
  margin-top: var(--section);
  border-radius: var(--radius-4xl);
  background: var(--ink);
  color: var(--invert-body);
  padding: var(--space-12) var(--space-6);
}
@media (min-width: 768px) { .contact-cta { padding: var(--space-16) var(--space-12); } }
.contact-cta .inner { max-width: 56rem; margin-inline: auto; }
.contact-cta h2 {
  margin-top: 0;
  color: var(--white);
  font-size: var(--text-3xl);
  line-height: var(--lh-3xl);
}
@media (min-width: 640px) { .contact-cta h2 { font-size: var(--text-4xl); line-height: var(--lh-4xl); } }
.contact-cta p { color: var(--invert-body); }
.contact-cta a { color: var(--white); }
.contact-cta a.btn-invert,
.panel-dark a.btn-invert { color: var(--ink); }
.contact-cta a.btn-invert:hover,
.panel-dark a.btn-invert:hover { color: var(--ink); }
.contact-cta .rule { margin-top: var(--space-10); padding-top: var(--space-10); border-top: 1px solid var(--invert-line); }

/* Dark panel (Studio home "clients" strip) */
.panel-dark {
  margin-top: var(--section);
  border-radius: var(--radius-4xl);
  background: var(--ink);
  color: var(--invert-body);
  padding: var(--space-12) var(--space-6);
}
@media (min-width: 768px) { .panel-dark { padding: var(--space-16) var(--space-12); } }
.panel-dark .strip-head {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.panel-dark .strip-head h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: var(--lh-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex: none;
}
.panel-dark .strip-head .rule { flex: auto; height: 1px; background: var(--invert-line); }

/* ----------------------------------------------------------------- gallery */

.gallery { margin-top: var(--space-8); }
.gallery figure { margin: 0; }
.gallery img { border-radius: var(--radius-2xl); background: var(--surface); }
.gallery figcaption {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  line-height: var(--lh-sm);
  color: var(--subtle);
}
.hero-figure { margin: var(--space-10) 0 0; }
.hero-figure img { border-radius: var(--radius-3xl); background: var(--surface); width: 100%; }

/* -------------------------------------------- Forms (Studio contact/page) */

form.lead-form { margin-top: var(--space-8); max-width: 38rem; }
.lead-form .field { position: relative; }
.lead-form label {
  display: block;
  font-size: var(--text-sm);
  line-height: var(--lh-sm);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-2);
}
.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form input[type="tel"],
.lead-form select,
.lead-form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-mid);
  border-radius: var(--radius-2xl);
  padding: 0.75rem 1.25rem;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(10, 10, 10, 0.05);
}
.lead-form textarea { min-height: 9rem; resize: vertical; }
.lead-form .field + .field { margin-top: var(--space-6); }
.consent-row {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  line-height: var(--lh-sm);
  color: var(--body);
}
.consent-row label { font-weight: 400; color: var(--body); margin-bottom: 0; }
.consent-row input { margin-top: 0.4rem; width: 1rem; height: 1rem; accent-color: var(--ink); flex: none; }
.cf-turnstile { margin-top: var(--space-6); }
.form-actions { margin-top: var(--space-8); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }
.form-status { margin: 0; font-size: var(--text-sm); line-height: var(--lh-sm); font-weight: 600; }
.form-status.ok { color: var(--ink); }
.form-status.err { color: var(--err); }

/* ----------------------------------------------------------------- notices */

.notice {
  margin-top: var(--section);
  padding-top: var(--space-6);
  border-top: 1px solid var(--line);
  font-size: var(--text-sm);
  line-height: var(--lh-sm);
  color: var(--subtle);
}
.notice a { color: var(--ink); }

.fineprint {
  margin-top: var(--space-10);
  max-width: var(--measure);
  font-size: var(--text-xs);
  line-height: var(--lh-sm);
  color: var(--subtle);
}
.fineprint a { color: var(--ink); }

/* ------------------------------------- Spotlight: long-form prose settings */

.prose { max-width: var(--measure); color: var(--body); }
.prose h2 { margin-top: var(--space-16); font-size: var(--text-2xl); line-height: var(--lh-2xl); }
.prose > :first-child { margin-top: 0; }
.prose .btn { text-decoration: none; }
.prose h3 { margin-top: var(--space-10); }
.prose p { margin: var(--space-6) 0; }
.prose ul, .prose ol { padding-left: 1.5rem; margin: var(--space-6) 0; }
.prose li { padding-left: var(--space-3); margin-top: var(--space-4); }
.prose li::marker { color: var(--subtle); }
.prose a { color: var(--ink); font-weight: 600; }
.prose code { font-size: 0.9em; background: var(--surface); padding: 0.1em 0.35em; border-radius: var(--radius-md); }

/* ------------------------------------------------------------------ header */

.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-4);
}
.brand { display: block; text-decoration: none; color: var(--ink); max-width: 100%; }
.brand img { width: auto; height: 26px; }
@media (min-width: 640px) { .brand img { height: 30px; } }
.brand small {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  line-height: var(--lh-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--subtle);
}
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-6); }
.site-nav a {
  font-size: var(--text-sm);
  line-height: var(--lh-sm);
  font-weight: 500;
  color: var(--body);
  text-decoration: none;
  padding-block: 0.15rem;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--line-mid); }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }

/* ------------------------------------------------------------------ footer */

.site-footer {
  margin-top: var(--section);
  border-top: 1px solid var(--line);
  padding-block: var(--space-12) var(--space-16);
  background: var(--white);
  color: var(--body);
  font-size: var(--text-sm);
  line-height: var(--lh-sm);
}
.site-footer p { margin: var(--space-4) 0; }
.site-footer a { color: var(--ink); }
.site-footer .broker-line { color: var(--ink); font-size: var(--text-base); line-height: var(--lh-base); }
.site-footer .broker-line strong { font-family: var(--font-display); font-weight: 600; }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.site-footer .small { color: var(--subtle); font-size: var(--text-xs); line-height: var(--lh-sm); max-width: 62rem; }

/* --------------------------------------------------------------- a11y prefs */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
