/* The Campbell-Maric Group. "Architectural Ledger": Carbon Ink framing, Parchment
   reading surfaces, Old Brass as index/rule/CTA. Mansfield display, Manrope text,
   Georgia italic for editorial contrast. */

@font-face { font-family: 'Mansfield'; src: url('/fonts/mansfield-medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Mansfield'; src: url('/fonts/mansfield-semibold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Mansfield'; src: url('/fonts/mansfield-bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/fonts/manrope-latin.woff2') format('woff2'); font-weight: 400 700; font-display: swap;
  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; }
@font-face { font-family: 'Manrope'; src: url('/fonts/manrope-latin-ext.woff2') format('woff2'); font-weight: 400 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --carbon: #121411;
  --carbon-soft: #1c1f1b;
  --ink: #171915;
  --parchment: #f1efe8;
  --paper: #e7e3d8;
  --brass: #c2a56a;
  --brass-l: #d8c08f;
  --brass-d: #725b2f;          /* brass text on light fields: 5.5:1 on parchment, 5:1 on paper */
  --moss: #59644d;
  --muted: #5a5b54;
  --white: #fffdf8;
  --line: #cfc9ba;
  --white-muted: rgba(255, 253, 248, 0.72);
  --white-line: rgba(255, 253, 248, 0.14);

  --display: 'Mansfield', 'Manrope', system-ui, sans-serif;
  --text: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: Georgia, 'Times New Roman', serif;

  --gutter: clamp(20px, 5.4vw, 88px);
  --max: 1560px;
  --section: clamp(76px, 10.5vw, 176px);
  --rail: 25%;
  --gap: clamp(28px, 5.5vw, 112px);
  --header-h: 78px;
  --footer-h: 640px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--carbon); color: var(--ink); font: 400 1.0625rem/1.65 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
picture { display: block; }
a { color: inherit; }
p, h1, h2, h3, ol, ul, dl, dd, figure, address { margin: 0; }
ol, ul { padding: 0; list-style: none; }
address { font-style: normal; }
button, input, textarea, select { font: inherit; color: inherit; }
main:focus { outline: none; }
::selection { background: var(--brass-l); color: var(--carbon); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
.section--parchment :focus-visible, .section--paper :focus-visible { outline-color: var(--brass-d); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: 12px; z-index: 100; padding: 12px 18px; background: var(--brass); color: var(--carbon); font-weight: 700; text-decoration: none; transform: translateY(-160%); transition: transform 0.2s; }
.skip:focus { transform: none; }
.nowrap { white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
[hidden] { display: none !important; }

/* ---------- Type ---------- */
.eyebrow { font: 600 0.72rem/1.4 var(--text); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.section--ink .eyebrow, .hero .eyebrow, .site-footer .eyebrow, .listings-band .eyebrow, .mp-hero .eyebrow, .pulse-strip .eyebrow, .facts .eyebrow, .mp-section .eyebrow, .region-bar .eyebrow { color: var(--white-muted); }
.listings-band .eyebrow--brass, .mp-subscribe .eyebrow, .mp-subscribe .eyebrow--brass { color: var(--white); }
.mp-subscribe .mp-fine { color: rgba(255, 253, 248, 0.92); }
.eyebrow--brass, .section--ink .eyebrow--brass, .hero .eyebrow--brass { color: var(--brass); }
.section--parchment .eyebrow--brass, .section--paper .eyebrow--brass { color: var(--brass-d); }

.display { font: 700 clamp(2.8rem, 7.4vw, 8.6rem)/0.95 var(--display); letter-spacing: -0.04em; color: var(--white); margin-top: 22px; text-wrap: balance; }
.display em, .h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.display em { color: var(--brass-l); }
.display__line { display: inline; }
.hero--home .display .display__line { display: block; }
.display--guide { font-size: clamp(3rem, 8.4vw, 9.4rem); }

.h2 { font: 700 clamp(1.9rem, 3.4vw, 3.2rem)/1.02 var(--display); letter-spacing: -0.03em; text-wrap: balance; }
.h2--lg { font-size: clamp(2.1rem, 4vw, 3.8rem); }
.h2--xl { font-size: clamp(2.3rem, 5vw, 5.1rem); }
.h2--xxl { font-size: clamp(2.7rem, 6.6vw, 7.2rem); line-height: 0.96; letter-spacing: -0.04em; }
.section--parchment .h2 em, .section--paper .h2 em { color: var(--brass-d); }
.section--ink .h2 em, .listings-band .h2 em { color: var(--brass-l); }
.h3 { font: 700 clamp(1.3rem, 1.8vw, 1.75rem)/1.12 var(--display); letter-spacing: -0.02em; }
.lead { font-size: clamp(1.1rem, 1.3vw, 1.3rem); line-height: 1.58; color: var(--white-muted); max-width: 46ch; }
.lead--ink { color: var(--muted); }
.split__body > .h2 + *, .split__body > .reveal + .lead { margin-top: clamp(24px, 3vw, 40px); }
.split__body > * + * { margin-top: 26px; }

/* ---------- Buttons & links ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.actions--end { justify-content: flex-end; }
.btn {
  --bg: var(--brass); --fg: var(--carbon); --bd: var(--brass);
  display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 13px 18px 13px 22px;
  border: 1px solid var(--bd); background: var(--bg); color: var(--fg);
  font: 700 0.78rem/1.2 var(--text); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn .ico { width: 17px; height: 17px; flex: none; transition: transform 0.35s var(--ease); }
.btn:hover .ico { transform: translate(2px, -2px); }
.btn--brass:hover { --bg: var(--brass-l); --bd: var(--brass-l); }
.btn--line { --bg: transparent; --fg: var(--white); --bd: rgba(255, 253, 248, 0.36); }
.btn--line:hover { --bd: var(--white); --bg: rgba(255, 253, 248, 0.06); }
.btn--ink { --bg: var(--carbon); --fg: var(--white); --bd: var(--carbon); }
.btn--ink:hover { --bg: var(--moss); --bd: var(--moss); }
.btn--small { min-height: 40px; padding: 8px 12px 8px 16px; font-size: 0.7rem; }
.btn--small .ico { width: 14px; height: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--white-muted); text-decoration: none; font: 700 0.78rem var(--text); letter-spacing: 0.12em; text-transform: uppercase; padding-bottom: 4px; border-bottom: 1px solid transparent; transition: color 0.3s, border-color 0.3s; }
.text-link .ico { width: 34px; height: 17px; transition: transform 0.35s var(--ease); }
.text-link:hover { color: var(--white); border-color: currentColor; }
.text-link:hover .ico { transform: translateX(4px); }
.text-link--ink { color: var(--ink); }
.text-link--ink:hover { color: var(--brass-d); }
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: var(--white); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.78em; width: 14px; height: 1px; background: var(--brass); }
.ticks--ink li { color: var(--ink); }
.ticks--ink li::before { background: var(--brass-d); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--white); border-bottom: 1px solid transparent; transition: background 0.4s var(--ease), border-color 0.4s; }
.site-header.is-scrolled { background: rgba(18, 20, 17, 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--white-line); }
.site-header__inner { display: flex; align-items: center; gap: 22px; height: var(--header-h); }
.brand { display: block; margin-right: auto; flex: none; }
.brand__lockup { height: 26px; width: auto; }
.brand__mark { display: none; height: 30px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav__list { display: flex; gap: 20px; }
.site-nav__list a { display: inline-flex; gap: 5px; align-items: baseline; font: 700 0.68rem var(--text); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--white-muted); padding-block: 6px; background: linear-gradient(var(--brass), var(--brass)) 0 100% / 0 1px no-repeat; transition: color 0.25s, background-size 0.35s var(--ease); }
.site-nav__list a:hover, .site-nav__list a[aria-current='page'] { color: var(--white); background-size: 100% 1px; }
.nav-n { display: none; color: var(--brass); font-size: 0.62rem; }
.site-nav__extra { display: flex; align-items: center; gap: 16px; }
.site-nav__phone { display: none; }
.lang { display: flex; align-items: center; gap: 6px; font: 700 0.72rem var(--text); letter-spacing: 0.1em; color: rgba(255, 253, 248, 0.35); }
.lang a { color: var(--white-muted); text-decoration: none; padding: 6px 2px; }
.lang a[aria-current] { color: var(--brass); }
.menu-btn { display: none; }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brass); transform-origin: left; transform: scaleX(var(--sp, 0)); pointer-events: none; }

/* ---------- Surface + reveal footer ---------- */
.surface { position: relative; z-index: 1; background: var(--parchment); margin-bottom: var(--footer-h); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6); }
.page-pulse .surface { margin-bottom: 0; box-shadow: none; background: var(--carbon); }
.site-footer { position: fixed; inset: auto 0 0; z-index: 0; min-height: var(--footer-h); background: var(--carbon); color: var(--white); display: flex; align-items: flex-end; overflow: hidden; }
.site-footer__inner { padding-top: clamp(60px, 7vw, 100px); padding-bottom: 26px; }
.footer-big { display: inline-block; margin-top: 16px; font: 700 clamp(2.4rem, 6.4vw, 7.2rem)/0.98 var(--display); letter-spacing: -0.04em; text-decoration: none; color: var(--white); transition: color 0.35s; }
.footer-big:hover { color: var(--brass-l); }
.footer-big__arrow { display: inline-block; width: 0.6em; height: 0.6em; margin-left: 0.12em; color: var(--brass); transition: transform 0.4s var(--ease); }
.footer-big:hover .footer-big__arrow { transform: translate(0.06em, -0.06em); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-top: clamp(44px, 5vw, 80px); padding-top: 34px; border-top: 1px solid var(--white-line); }
.site-footer__lockup { width: 220px; height: auto; margin-bottom: 22px; }
.site-footer address { display: grid; gap: 4px; color: var(--white-muted); font-size: 0.95rem; }
.site-footer address a { color: var(--white); text-decoration: none; }
.site-footer__grid .eyebrow { margin-bottom: 16px; }
.site-footer__grid ul { display: grid; gap: 9px; }
.site-footer__grid ul a { text-decoration: none; color: var(--white); font-size: 0.95rem; }
.site-footer__grid a:hover { color: var(--brass-l); }
.site-footer__base { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; margin-top: 40px; font-size: 0.78rem; color: rgba(255, 253, 248, 0.5); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); position: relative; }
.section--parchment { background: var(--parchment); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--carbon); color: var(--white); }
.split { display: grid; grid-template-columns: var(--rail) 1fr; column-gap: var(--gap); align-items: start; }
.split__label { padding-top: 1em; border-top: 1px solid var(--brass); padding-right: 12px; }
.section--ink .split__label { border-color: var(--brass); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--carbon); color: var(--white); overflow: hidden; min-height: clamp(600px, 88svh, 960px); display: flex; align-items: flex-end; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(56px, 9vh, 110px); }
.hero--home { min-height: 100svh; padding-bottom: 40px; }
.hero--short { min-height: clamp(420px, 56svh, 560px); }
.hero--article { min-height: clamp(560px, 80svh, 860px); }
.hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 72%; overflow: hidden; }
.hero--home .hero__media { width: 80%; }
.hero__media picture { position: absolute; inset: 0; animation: settle 2.8s var(--ease) both; }
.hero__media img, .valuation__media img, .service-row__media img, .pulse-cta__media img {
  position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover;
  transform: translate3d(0, var(--py, 0px), 0); will-change: transform;
}
.hero__media::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--carbon) 0%, rgba(18, 20, 17, 0.88) 16%, rgba(18, 20, 17, 0.3) 52%, rgba(18, 20, 17, 0.12) 100%),
    linear-gradient(0deg, var(--carbon) 0%, rgba(18, 20, 17, 0) 42%),
    linear-gradient(180deg, rgba(18, 20, 17, 0.65) 0%, rgba(18, 20, 17, 0) 26%); }
.hero__media--map { width: 64%; opacity: 0.5; mix-blend-mode: screen; }
.hero__media--map img { filter: invert(1) contrast(1.2); }
@keyframes settle { from { transform: scale(1.14); } to { transform: scale(1); } }
.hero__inner { position: relative; z-index: 2; }
.hero__copy { max-width: min(860px, 64%); }
.hero__copy .lead { margin-top: 26px; }
.hero__coords { position: absolute; right: var(--gutter); bottom: 0; font: 700 0.68rem var(--text); letter-spacing: 0.16em; color: var(--brass); writing-mode: vertical-rl; transform: rotate(180deg); }
.hero-strip { background: var(--carbon); color: var(--white); border-top: 1px solid var(--white-line); }
.hero-strip__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 20px 24px; }
.hero-strip ul { display: flex; flex-wrap: wrap; gap: 10px 40px; }
.hero-strip a { text-decoration: none; font: 700 0.82rem var(--text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); }
.hero-strip a span { color: var(--brass); margin-right: 10px; font-size: 0.7rem; }
.hero-strip a:hover { color: var(--brass-l); }
.hero__scroll { display: inline-flex; align-items: center; gap: 14px; font: 700 0.68rem var(--text); letter-spacing: 0.18em; text-transform: uppercase; color: var(--white-muted); }
.hero__scroll i { width: 1px; height: 34px; background: var(--white-line); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; inset: 0; background: var(--brass); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

.crumbs { margin-bottom: 30px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; font: 600 0.75rem var(--text); letter-spacing: 0.06em; color: var(--white-muted); }
.crumbs li + li::before { content: '/'; margin-right: 10px; color: var(--brass); }
.crumbs a { color: var(--white-muted); text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.crumbs [aria-current] { color: var(--white); display: inline-block; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }

/* Pictures inside fixed-ratio frames fill the frame. */
.portrait__img picture, .card-article__img picture, .member__img picture, .services__img picture, .city-index__map picture { height: 100%; }

/* ---------- Home: statement ---------- */
.statement__grid { display: grid; grid-template-columns: var(--rail) 1fr; column-gap: var(--gap); }
.statement__rail { position: relative; border-top: 1px solid var(--brass-d); padding-top: 1em; }
.statement__stamp { width: 110px; height: 110px; margin-top: 30px; border-radius: 50%; opacity: 0.9; }
.statement__text { font: 700 clamp(2.2rem, 5.2vw, 5.6rem)/1.04 var(--display); letter-spacing: -0.035em; text-wrap: balance; }
.statement__line { color: var(--ink); transition: color 0.6s var(--ease); }
.js-ready .statement__line { color: #8a8474; }   /* 3:1 on parchment for large text */
.js-ready .statement__line.is-past { color: var(--brass-d); }
.js-ready .statement__line.is-active { color: var(--ink); }
.statement__line[data-line='2'], .statement__line[data-line='3'] { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }

/* ---------- Band ---------- */
.band { background: var(--carbon-soft); color: var(--white); overflow: hidden; padding-block: 24px; border-block: 1px solid var(--white-line); }
.band__track { display: flex; width: max-content; animation: band 46s linear infinite; }
.band:hover .band__track { animation-play-state: paused; }
.band__set { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.band__set span { font: 700 clamp(1.3rem, 2.2vw, 2.1rem)/1 var(--display); letter-spacing: -0.02em; white-space: nowrap; }
.band__set span:nth-of-type(3n) { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--brass-l); }
.band__star { color: var(--brass); flex: none; }
@keyframes band { to { transform: translateX(-50%); } }

/* ---------- Home: services (sticky image) ---------- */
.services__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); column-gap: clamp(24px, 4vw, 72px); margin-top: clamp(50px, 6vw, 96px); }
.services__media { position: relative; margin-left: calc(-1 * var(--gutter)); }
.services__frame { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); min-height: 520px; overflow: hidden; }
.services__frame::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(18, 20, 17, 0) 50%, var(--carbon) 99%), linear-gradient(180deg, var(--carbon) 0%, rgba(18, 20, 17, 0) 14%, rgba(18, 20, 17, 0) 84%, var(--carbon) 100%); }
.services__img { position: absolute; inset: 0; opacity: 0; transform: scale(1.1); transition: opacity 1s var(--ease), transform 1.8s var(--ease); }
.services__img.is-active { opacity: 1; transform: none; }
.services__img img { width: 100%; height: 100%; object-fit: cover; }
.services__caption { position: absolute; left: var(--gutter); bottom: 12%; z-index: 1; background: rgba(18, 20, 17, 0.8); color: var(--brass); padding: 6px 12px; font: 700 0.7rem var(--text); letter-spacing: 0.16em; }
.service { display: grid; grid-template-columns: 52px 1fr; gap: 18px; border-top: 1px solid var(--white-line); padding-block: clamp(48px, 13vh, 140px); }
.service:last-child { border-bottom: 1px solid var(--white-line); }
.service__n { font: 700 0.75rem var(--text); color: var(--brass); letter-spacing: 0.14em; padding-top: 1.3em; }
.service__word { font: 700 clamp(3rem, 6.4vw, 6.6rem)/0.95 var(--display); letter-spacing: -0.045em; color: var(--white); transition: color 0.6s var(--ease); }
.service__word span { color: var(--brass); }
.js-ready .service .service__word { color: rgba(255, 253, 248, 0.42); }  /* ≥3:1 for large text */
.js-ready .service.is-active .service__word { color: var(--white); }
.service p { margin-top: 18px; color: var(--white-muted); max-width: 40ch; font-size: 1.1rem; }
.service .text-link { margin-top: 22px; }

/* ---------- Home: valuation ---------- */
.valuation { overflow: hidden; padding-block: clamp(120px, 16vw, 260px); }
.valuation__media { position: absolute; top: 0; left: 0; bottom: 0; width: 62%; overflow: hidden; }
.valuation__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(270deg, var(--carbon) 0%, rgba(18, 20, 17, 0.6) 30%, rgba(18, 20, 17, 0) 70%), linear-gradient(180deg, var(--carbon) 0%, transparent 22%, transparent 78%, var(--carbon) 100%); }
.valuation__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; padding-left: max(var(--gutter), 52%); }
.valuation .h2 { margin-top: 20px; }
.valuation .lead { margin-top: 30px; }

/* ---------- Home: team ---------- */
.team-home__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--gap); align-items: center; }
.team-home .h2 { margin-top: 22px; }
.team-home .lead { margin-top: 28px; }
.team-home__portraits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.portrait { text-decoration: none; display: block; }
.portrait:nth-child(2) { transform: translateY(48px); }
.portrait__img { aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper); }
.portrait__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.25); transition: transform 1.2s var(--ease), filter 0.6s; }
.portrait:hover .portrait__img img { transform: scale(1.05); filter: none; }
.portrait__name { margin-top: 14px; font: 700 1.1rem var(--display); }
.portrait__role { font: 600 0.72rem var(--text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-d); margin-top: 4px; }

/* ---------- Listings band ---------- */
.listings-band { background: var(--moss); color: var(--white); padding-block: clamp(56px, 7vw, 100px); }
.listings-band__inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: end; }
.listings-band .h2 { margin-top: 18px; }
.listings-band .lead { color: rgba(255, 253, 248, 0.86); }
.listings-band .btn { --bg: var(--white); --bd: var(--white); --fg: var(--carbon); }
.listings-band .btn:hover { --bg: var(--brass-l); --bd: var(--brass-l); }

/* ---------- City index ---------- */
.city-index { overflow: hidden; }
.city-index__map { position: absolute; right: -6%; top: 0; width: 58%; height: 100%; opacity: 0.35; pointer-events: none; -webkit-mask-image: radial-gradient(closest-side, #000 50%, transparent); mask-image: radial-gradient(closest-side, #000 50%, transparent); }
.city-index__map img { width: 100%; height: 100%; object-fit: cover; }
.city-index__inner { position: relative; }
.city-index__note { font: 600 0.9rem var(--text); color: var(--ink); }
.city-index__note span { display: block; color: var(--brass-d); font-size: 0.75rem; letter-spacing: 0.14em; margin-top: 4px; }
.city-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); margin-top: clamp(48px, 6vw, 90px); }
.city-list a { display: grid; grid-template-columns: 48px 1fr auto 24px; gap: 14px; align-items: baseline; padding-block: 20px; border-top: 1px solid var(--line); text-decoration: none; }
.city-list__n { font: 700 0.72rem var(--text); color: var(--brass-d); letter-spacing: 0.12em; }
.city-list__name { font: 700 clamp(1.4rem, 2.3vw, 2.2rem)/1.05 var(--display); letter-spacing: -0.03em; transition: color 0.3s, transform 0.4s var(--ease); }
.city-list__region { font: 600 0.72rem var(--text); color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.city-list .ico { width: 18px; height: 18px; color: var(--brass-d); opacity: 0; transition: opacity 0.3s; align-self: center; }
.city-list a:hover .city-list__name { color: var(--brass-d); transform: translateX(6px); }
.city-list a:hover .ico { opacity: 1; }

/* ---------- Articles ---------- */
.article-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: clamp(44px, 5vw, 80px); }
.article-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.article-grid--journal { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
.card-article a { display: block; text-decoration: none; }
.card-article__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.card-article__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card-article a:hover .card-article__img img { transform: scale(1.06); }
.card-article__meta { display: flex; gap: 14px; margin-top: 16px; font: 700 0.68rem var(--text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-d); }
.card-article__meta span + span { color: var(--muted); }
.card-article .h3 { margin-top: 10px; transition: color 0.3s; }
.card-article a:hover .h3 { color: var(--brass-d); }
.card-article__excerpt { margin-top: 12px; color: var(--muted); max-width: 56ch; }
.card-article--feature a { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.card-article--feature .card-article__img { aspect-ratio: 16 / 10; grid-row: span 4; }
.card-article--feature .h3 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.journal-feature { margin-bottom: clamp(48px, 6vw, 90px); padding-bottom: clamp(48px, 6vw, 90px); border-bottom: 1px solid var(--line); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.chip { border: 1px solid var(--line); background: transparent; padding: 9px 16px; font: 700 0.72rem var(--text); letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
.chip[aria-pressed='true'] { background: var(--carbon); color: var(--white); border-color: var(--carbon); }
.pulse-strip { background: var(--carbon-soft); color: var(--white); padding-block: 44px; }
.pulse-strip__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.pulse-strip__text { color: var(--white-muted); font-size: 1.05rem; }

/* ---------- Newsletter / forms ---------- */
.newsletter__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--gap); align-items: end; }
.newsletter .h2 { margin-top: 18px; }
.newsletter .lead { margin-top: 24px; }
.newsletter .text-link { margin-top: 26px; }
.field { display: grid; gap: 8px; }
.field > span:first-child, .field__label, .field legend { font: 700 0.72rem var(--text); letter-spacing: 0.12em; text-transform: uppercase; color: inherit; }
.field small { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; padding: 14px 14px; background: transparent; border: 1px solid var(--line); border-radius: 0; font-size: 1rem; }
.section--ink .field input { border-color: rgba(255, 253, 248, 0.3); color: var(--white); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(194, 165, 106, 0.25); }
.inline-field { display: flex; gap: 0; }
.inline-field input { flex: 1; min-width: 0; }
.inline-field .btn { flex: none; }
.mailto-form .ticks { margin-top: 26px; }
.form-note { margin-top: 14px; font-size: 0.82rem; color: var(--muted); }
.section--ink .form-note { color: var(--white-muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ---------- Services page ---------- */
.service-index { background: var(--carbon); color: var(--white); border-top: 1px solid var(--white-line); position: sticky; top: var(--header-h); z-index: 5; }
.service-index__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 16px; }
.service-index ul { display: flex; gap: 28px; }
.service-index a { text-decoration: none; font: 700 0.78rem var(--text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--white-muted); }
.service-index a span { color: var(--brass); margin-right: 8px; }
.service-index a:hover, .service-index a.is-current { color: var(--white); }
.service-row { overflow: hidden; scroll-margin-top: calc(var(--header-h) + 56px); }
.service-row__media { position: absolute; top: 0; bottom: 0; right: 0; width: 46%; overflow: hidden; }
.service-row__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--parchment) 0%, rgba(241, 239, 232, 0) 40%); }
.service-row--flip .service-row__media { right: auto; left: 0; }
.service-row--flip .service-row__media::after { background: linear-gradient(270deg, var(--paper) 0%, rgba(231, 227, 216, 0) 40%); }
.service-row__inner { position: relative; z-index: 1; }
.service-row__copy { max-width: 620px; }
.service-row--flip .service-row__copy { margin-left: auto; }
.service-row .h2 { margin-top: 20px; }
.service-row__word { display: block; font-size: 1.5em; color: var(--ink); }
.service-row .lead { margin-top: 26px; }
.service-row .ticks { margin-top: 26px; }
.ledger-note { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; font-size: 0.85rem; color: var(--muted); }
.ledger-note span { color: var(--brass-d); font-weight: 700; letter-spacing: 0.1em; }

/* ---------- Neighbourhoods ---------- */
.region-bar { position: sticky; top: var(--header-h); z-index: 5; background: var(--carbon); color: var(--white); border-top: 1px solid var(--white-line); }
.region-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 12px; }
.region-bar ul { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.region-bar a { text-decoration: none; font: 700 0.72rem var(--text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--white-muted); }
.region-bar a span { color: var(--brass); margin-left: 4px; }
.region-bar a:hover { color: var(--white); }
.search-field input { width: min(300px, 40vw); padding: 10px 14px; background: transparent; border: 1px solid rgba(255, 253, 248, 0.3); color: var(--white); font-size: 0.9rem; }
.search-field input::placeholder { color: rgba(255, 253, 248, 0.5); }
.region { scroll-margin-top: calc(var(--header-h) + 70px); }
.region + .region { margin-top: clamp(70px, 8vw, 130px); }
.region__head { display: grid; grid-template-columns: var(--rail) 1fr auto; column-gap: var(--gap); align-items: end; padding-bottom: 22px; border-bottom: 1px solid var(--ink); }
.region__count { font: 700 0.75rem var(--text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-d); }
.guide-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.guide-card { border-bottom: 1px solid var(--line); }
.guide-card:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
.guide-card a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 30px 26px 26px; text-decoration: none; transition: background 0.35s; }
.guide-card a:hover { background: var(--paper); }
.guide-card__coords { font: 700 0.66rem var(--text); letter-spacing: 0.14em; color: var(--brass-d); }
.guide-card .h3 { font-size: clamp(1.5rem, 2.2vw, 2.1rem); }
.guide-card p { color: var(--muted); font-size: 0.97rem; }
.guide-card__fact { display: flex; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 0.85rem !important; }
.guide-card__fact strong { color: var(--ink); font-family: var(--display); }
.guide-card__go { display: inline-flex; gap: 8px; align-items: center; font: 700 0.7rem var(--text); letter-spacing: 0.14em; text-transform: uppercase; }
.guide-card__go .ico { width: 14px; height: 14px; transition: transform 0.35s var(--ease); }
.guide-card a:hover .guide-card__go .ico { transform: translate(2px, -2px); }
.guide-cards--related { margin-top: 40px; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.guide-cards--related .guide-card:not(:nth-child(3n)) { border-right: 0; }
.guide-cards--related .guide-card:not(:last-child) { border-right: 1px solid var(--line); }
.empty-note { padding: 40px 0; font-size: 1.2rem; }

/* ---------- Guide ---------- */
.facts { background: var(--carbon-soft); color: var(--white); padding-block: 40px 36px; border-top: 1px solid var(--white-line); }
.facts__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 18px; border-left: 1px solid var(--white-line); }
.facts__grid div { padding: 16px 18px; border-right: 1px solid var(--white-line); }
.facts dt { font: 700 0.66rem var(--text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--white-muted); }
.facts dd { margin-top: 10px; font: 700 clamp(1.05rem, 1.4vw, 1.35rem)/1.2 var(--display); color: var(--brass-l); }
.facts__note { margin-top: 18px; font-size: 0.8rem; color: var(--white-muted); max-width: 90ch; }
.guide-body__grid { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); column-gap: var(--gap); }
.toc { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; border-top: 1px solid var(--brass-d); padding-top: 1em; }
.toc ol { margin-top: 18px; display: grid; gap: 4px; }
.toc a { display: grid; grid-template-columns: 30px 1fr; padding: 6px 0; text-decoration: none; font-size: 0.92rem; color: var(--muted); transition: color 0.3s; }
.toc a span { font: 700 0.68rem var(--text); color: var(--brass-d); letter-spacing: 0.1em; padding-top: 0.25em; }
.toc a:hover, .toc a.is-current { color: var(--ink); }
.toc a.is-current { font-weight: 700; }
.guide-article { max-width: 820px; }
.guide-section { scroll-margin-top: calc(var(--header-h) + 30px); }
.guide-section + .guide-section { margin-top: clamp(60px, 7vw, 110px); padding-top: clamp(40px, 5vw, 70px); border-top: 1px solid var(--line); }
.guide-section .h2 { margin-top: 16px; margin-bottom: 26px; }
.prose p + p, .prose > * + * { margin-top: 1.05em; }
.prose { color: #2c2e28; font-size: 1.08rem; line-height: 1.75; }
.prose a { color: var(--brass-d); text-underline-offset: 3px; }
.prose h2 { font: 700 clamp(1.5rem, 2.4vw, 2.2rem)/1.12 var(--display); letter-spacing: -0.025em; color: var(--ink); margin-top: 1.9em; }
.prose .prose__sub { font: 700 1.05rem/1.3 var(--text); letter-spacing: 0.02em; color: var(--ink); margin-top: 1.6em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose .callout { padding: 18px 22px; border-left: 3px solid var(--brass); background: var(--white); font-weight: 600; }
.prose .table-wrap { margin-block: 1.4em; }
.prose ul, .prose ol { display: grid; gap: 8px; padding-left: 0; }
.prose ul li, .prose ol li { position: relative; padding-left: 28px; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: 0.85em; width: 14px; height: 1px; background: var(--brass-d); }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; }
.prose ol li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; font: 700 0.75rem var(--text); color: var(--brass-d); top: 0.3em; }
.table-wrap { overflow-x: auto; margin-top: 28px; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 480px; }
.data-table th, .data-table td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { font: 700 0.68rem var(--text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink); }
.data-table tbody th { font-weight: 700; }
.data-table .num { text-align: right; }
.info-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.info-cards li { background: var(--white); border: 1px solid var(--line); padding: 22px; }
.info-cards h3, .info-list h3 { font: 700 1.1rem var(--display); }
.info-cards p, .info-list p { margin-top: 8px; color: var(--muted); font-size: 0.96rem; }
.info-list { margin-top: 30px; border-top: 1px solid var(--line); }
.info-list li { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 20px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.info-list p { margin-top: 0; }
.faq { border-bottom: 1px solid var(--line); }
.faq__item { border-top: 1px solid var(--line); }
.faq__item summary { display: grid; grid-template-columns: 1fr 30px; gap: 14px; align-items: center; padding-block: 22px; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { font: 700 clamp(1.08rem, 1.4vw, 1.3rem)/1.3 var(--display); letter-spacing: -0.01em; }
.faq__item summary:hover .faq__q { color: var(--brass-d); }
.faq__icon { position: relative; width: 30px; height: 30px; border: 1px solid var(--line); }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform 0.35s var(--ease); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--brass); border-color: var(--brass); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { padding: 0 44px 26px 0; color: #2c2e28; }
.guide-cta .lead { max-width: 52ch; }

/* ---------- Article ---------- */
.hero--article .display { font-size: clamp(2.2rem, 4.8vw, 5rem); line-height: 1; }
.hero--article .hero__copy { max-width: min(980px, 72%); }
.article-body__grid { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); column-gap: var(--gap); }
.article-meta { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; display: grid; gap: 6px; font-size: 0.88rem; color: var(--muted); border-top: 1px solid var(--brass-d); padding-top: 18px; }
.article-meta img { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 10px; background: var(--carbon); }
.prose--article { max-width: 760px; }
.prose--article > p:first-child { font-size: 1.28rem; line-height: 1.6; color: var(--ink); }

/* ---------- Team ---------- */
.team-list .eyebrow:first-child { margin-bottom: 40px; }
.member { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--gap); align-items: center; padding-block: clamp(50px, 6vw, 90px); border-top: 1px solid var(--white-line); scroll-margin-top: var(--header-h); }
.member--flip .member__img { order: 2; }
.member__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.member__img img { width: 100%; height: 100%; object-fit: cover; }
.member__tag { position: absolute; left: 0; bottom: 0; background: var(--brass); color: var(--carbon); padding: 8px 14px; font: 700 0.68rem var(--text); letter-spacing: 0.16em; }
.member .h2 { margin-top: 16px; }
.member .lead { margin-top: 24px; max-width: 52ch; }
.member__contact { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 30px; }
.member__contact a { display: inline-flex; gap: 10px; align-items: center; color: var(--white); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--white-line); padding-bottom: 4px; }
.member__contact a:hover { color: var(--brass-l); border-color: var(--brass); }
.member__contact .ico { width: 16px; height: 16px; color: var(--brass); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: var(--gap); align-items: start; }
.contact__form { display: grid; gap: 20px; background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 4vw, 56px); }
.contact__form .h2 { margin-bottom: 10px; }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-submit .form-note { margin-top: 0; max-width: 40ch; }
.contact__aside { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 30px); }
.contact__big { font: 700 clamp(2rem, 3.6vw, 3.4rem)/1 var(--display); letter-spacing: -0.03em; text-decoration: none; }
.contact__big:hover, .contact__mail:hover { color: var(--brass-d); }
.contact__mail { font-size: 1.15rem; font-weight: 600; text-decoration: none; }
.contact__aside address { color: var(--muted); padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.direct { border-top: 1px solid var(--line); }
.direct a { display: flex; justify-content: space-between; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.direct a span:last-child { color: var(--brass-d); }
.contact__coords { font: 700 0.7rem var(--text); letter-spacing: 0.16em; color: var(--brass-d); margin-top: 10px; }
.contact__alt { color: var(--muted); margin-top: 10px; display: grid; gap: 10px; }

/* ---------- Resources: calculator ---------- */
.calc { margin-top: clamp(40px, 5vw, 72px); background: var(--white); border: 1px solid var(--line); }
.calc__summary { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--carbon); color: var(--white); }
.calc__summary > div { padding: clamp(20px, 2.6vw, 34px); border-right: 1px solid var(--white-line); display: grid; gap: 6px; }
.calc__summary span { font: 700 0.68rem var(--text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--white-muted); }
.calc__summary strong { font: 700 clamp(1.8rem, 3.2vw, 3rem)/1 var(--display); letter-spacing: -0.03em; color: var(--brass-l); }
.calc__summary small { color: var(--white-muted); font-size: 0.82rem; }
.calc__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.calc__inputs { display: grid; gap: 22px; padding: clamp(22px, 3vw, 40px); border-right: 1px solid var(--line); align-content: start; }
.unit-field { display: flex; align-items: stretch; border: 1px solid var(--line); }
.unit-field i { display: grid; place-items: center; padding-inline: 14px; font-style: normal; font-weight: 700; color: var(--muted); background: var(--parchment); }
.unit-field input { border: 0 !important; font: 700 1.2rem var(--display); }
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line); width: fit-content; }
.seg button { background: transparent; border: 0; padding: 9px 14px; font: 700 0.7rem var(--text); letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button[aria-pressed='true'] { background: var(--carbon); color: var(--white); }
.field__hint { font-size: 0.82rem; color: var(--muted); }
.field__warn { color: #9a3b2c; font-weight: 700; font-size: 0.85rem; }
.checks { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks label { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.checks input { width: 18px; height: 18px; accent-color: var(--moss); margin-top: 3px; flex: none; }
.calc__ledger { padding: clamp(22px, 3vw, 40px); display: grid; gap: 30px; align-content: start; }
.calc__ledger h3 { font: 700 0.72rem var(--text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-d); margin-bottom: 10px; }
.calc__row { display: flex; justify-content: space-between; gap: 16px; padding-block: 9px; border-bottom: 1px dashed var(--line); }
.calc__ledger strong { font-family: var(--display); font-variant-numeric: tabular-nums; }
.calc__ledger .calc__total { border-bottom: 0; border-top: 1px solid var(--ink); margin-top: 4px; font-weight: 700; }
.calc__note { font-size: 0.82rem; color: var(--muted); margin-top: 10px; }
.calc__email { padding: 24px; background: var(--parchment); }
.calc__email h3 { font: 700 1.2rem var(--display); letter-spacing: -0.01em; color: var(--ink); text-transform: none; }
.calc__email p { margin: 8px 0 18px; color: var(--muted); }
.calc__disclaimer { padding: 18px clamp(22px, 3vw, 40px); border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); }
.calc:not(.is-live) .calc__inputs { opacity: 0.7; }

.pulse-cta { overflow: hidden; padding-block: clamp(120px, 15vw, 240px); }
.pulse-cta__media { position: absolute; inset: 0 0 0 auto; width: 60%; overflow: hidden; opacity: 0.85; }
.pulse-cta__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--carbon) 0%, rgba(18, 20, 17, 0.4) 50%, rgba(18, 20, 17, 0.2) 100%), linear-gradient(180deg, var(--carbon), transparent 25%, transparent 75%, var(--carbon)); }
.pulse-cta__inner { position: relative; z-index: 1; }
.pulse-cta .h2 { margin-top: 18px; max-width: 12ch; }
.pulse-cta .lead { margin-top: 26px; }
.offer-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 72px); }
.offer-card { display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 2.6vw, 38px); background: var(--parchment); border: 1px solid var(--line); min-height: 320px; transition: border-color 0.35s; }
.offer-card:hover { border-color: var(--brass-d); }
.offer-card__n { font: 700 0.7rem var(--text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-d); }
.offer-card p { color: var(--muted); }
.offer-card .text-link { margin-top: auto; }
.link-list { border-bottom: 1px solid var(--line); }
.link-list a { display: grid; grid-template-columns: 40px 160px 1fr 20px; gap: 16px; align-items: baseline; padding-block: 20px; border-top: 1px solid var(--line); text-decoration: none; }
.link-list a > span:first-child { font: 700 0.72rem var(--text); color: var(--brass-d); }
.link-list a > span:nth-child(2) { font: 700 0.68rem var(--text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.link-list strong { font: 700 clamp(1.1rem, 1.6vw, 1.45rem)/1.2 var(--display); transition: color 0.3s; }
.link-list a:hover strong { color: var(--brass-d); }
.link-list .ico { width: 16px; height: 16px; align-self: center; color: var(--brass-d); }
.partner-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(40px, 5vw, 70px); border-top: 1px solid var(--line); }
.partner-grid li { padding: 26px 22px 30px 0; border-bottom: 1px solid var(--line); }
.partner-grid li:not(:nth-child(4n)) { border-right: 1px solid var(--line); }
.partner-grid li:not(:nth-child(4n+1)) { padding-left: 22px; }
.partner-grid span { font: 700 0.7rem var(--text); color: var(--brass-d); letter-spacing: 0.12em; }
.partner-grid h3 { font: 700 1.15rem var(--display); margin-top: 12px; }
.partner-grid p { margin-top: 8px; color: var(--muted); font-size: 0.93rem; }

.legal { display: grid; gap: 32px; max-width: 66ch; margin-bottom: 40px; }
.legal section { border-top: 1px solid var(--line); padding-top: 20px; }
.legal p { margin-top: 10px; color: var(--muted); }

/* ---------- Market Pulse ---------- */
.page-pulse { background: var(--carbon); }
.mp-top { position: sticky; top: 0; z-index: 20; background: rgba(18, 20, 17, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--white-line); color: var(--white); }
.mp-top__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.mp-top__actions { display: flex; align-items: center; gap: 18px; }
.mp-top .brand__lockup { height: 22px; }
.mp-hero { color: var(--white); padding-block: clamp(60px, 8vw, 120px) clamp(40px, 5vw, 70px); background: radial-gradient(80% 120% at 85% 0%, rgba(194, 165, 106, 0.12), transparent 60%), var(--carbon); }
.mp-badge { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--white-line); font-size: 0.8rem; color: var(--white-muted); margin-bottom: 30px; }
.mp-badge a { color: var(--brass-l); }
.mp-badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 4px rgba(194, 165, 106, 0.2); }
.mp-hero .lead { margin-top: 26px; max-width: 58ch; }
.mp-signals { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); margin-top: clamp(40px, 5vw, 70px); border-top: 1px solid var(--brass); }
.mp-signals div { padding: 22px 22px 0 0; }
.mp-signals div + div { padding-left: 22px; border-left: 1px solid var(--white-line); }
.mp-signals dt { font: 700 0.68rem var(--text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--white-muted); }
.mp-signals dd { margin-top: 10px; font: 700 clamp(2rem, 4.4vw, 4.2rem)/1 var(--display); letter-spacing: -0.03em; color: var(--brass-l); }
.mp-signals .mp-signals__basis { font-size: 1.05rem; line-height: 1.4; color: var(--white); letter-spacing: 0; }
.mp-fine { font-size: 0.8rem; color: var(--white-muted); margin-top: 18px; }
.mp-section { color: var(--white); padding-block: clamp(64px, 8vw, 120px); border-top: 1px solid var(--white-line); background: var(--carbon); }
.mp-section--alt { background: var(--carbon-soft); }
.mp-section .h2 { margin-top: 16px; }
.mp-window { margin-top: 14px; color: var(--white-muted); font-size: 0.92rem; }
.release-tag { display: inline-block; margin-left: 10px; padding: 3px 9px; border: 1px solid var(--white-line); color: var(--white-muted); font-size: 0.62rem; letter-spacing: 0.14em; vertical-align: 1px; }
.release-tag--current { border-color: var(--brass); color: var(--brass-l); }
.mp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.mp-stats > div { padding: 22px; background: rgba(255, 253, 248, 0.04); border: 1px solid var(--white-line); display: flex; flex-direction: column; gap: 8px; }
.mp-stats dt { font: 700 0.68rem var(--text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--white-muted); }
.mp-stats dd { font: 700 clamp(1.7rem, 2.8vw, 2.6rem)/1.05 var(--display); letter-spacing: -0.02em; color: var(--white); }
.mp-stats dd small { font-size: 0.5em; color: var(--brass-l); letter-spacing: 0; }
.mp-stats .mp-stats__range { font-size: clamp(1.2rem, 1.8vw, 1.6rem); }
.mp-stats .mp-sub { color: var(--white-muted); font-size: 0.86rem; }
.delta { font: 700 0.85rem var(--text); white-space: nowrap; letter-spacing: 0; }
.delta--up { color: #9fc48a; }
.delta--down { color: #e3a48f; }
.delta--flat { color: var(--white-muted); }
.mp-panel { margin-top: 36px; padding: clamp(20px, 2.6vw, 34px); border: 1px solid var(--white-line); background: rgba(255, 253, 248, 0.02); }
.mp-panel__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: flex-end; margin-bottom: 22px; }
.mp-panel__head h3, .mp-read h3, .mp-cold h3, .mp-access h3 { font: 700 1.3rem var(--display); }
.mp-panel__head p { color: var(--white-muted); font-size: 0.85rem; margin-top: 4px; }
.mp-section .seg { border-color: var(--white-line); }
.mp-section .seg button { color: var(--white-muted); }
.mp-section .seg button + button { border-color: var(--white-line); }
.mp-section .seg button[aria-pressed='true'] { background: var(--brass); color: var(--carbon); }
.bars { display: grid; gap: 8px; }
.bars li { display: grid; grid-template-columns: minmax(130px, 210px) 1fr minmax(120px, auto); gap: 14px; align-items: center; font-size: 0.92rem; }
.bars__track { height: 10px; background: rgba(255, 253, 248, 0.06); position: relative; }
.bars__fill { position: absolute; inset: 0 auto 0 0; width: var(--w); background: linear-gradient(90deg, var(--brass-d), var(--brass-l)); transform-origin: left; }
.js-ready .bars__fill { transform: scaleX(0); transition: transform 1.1s var(--ease); }
.js-ready .is-in .bars__fill, .js-ready [data-pane]:not([hidden]) .is-in .bars__fill { transform: none; }
.bars__value { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.bars__value small { color: var(--white-muted); font-weight: 500; margin-left: 6px; }
.mp-source { margin-top: 20px; font-size: 0.76rem; color: rgba(255, 253, 248, 0.55); }
.mp-two { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 28px; margin-top: 28px; align-items: start; }
.mp-two--wide { grid-template-columns: 1.3fr 0.7fr; }
.mp-two--wide .mp-panel { margin-top: 0; }
.mp-read, .mp-cold { padding: 26px; border: 1px solid var(--white-line); }
.mp-read h3, .mp-cold h3 { margin-top: 10px; }
.mp-read p:last-child { margin-top: 12px; color: var(--white-muted); }
.data-table--dark { min-width: 520px; }
.data-table--dark caption { text-align: left; font: 700 0.72rem var(--text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--white-muted); padding-bottom: 12px; }
.data-table--dark th, .data-table--dark td { border-color: var(--white-line); }
.data-table--dark thead th { color: var(--white-muted); border-color: var(--brass); }
.mp-cold ul { margin-top: 16px; display: grid; gap: 0; }
.mp-cold li { display: flex; justify-content: space-between; gap: 12px; padding-block: 11px; border-top: 1px solid var(--white-line); font-size: 0.9rem; }
.mp-cold li span { color: var(--white-muted); }
.mp-access { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; margin-top: 30px; padding: 26px; border: 1px solid var(--brass); }
.mp-access p:last-child { color: var(--white-muted); margin-top: 8px; max-width: 60ch; }
.mp-suburbs { margin-top: 30px; }
.mp-suburbs__controls { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-bottom: 20px; }
.suburb-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.suburb-card { padding: 26px; border: 1px solid var(--white-line); background: rgba(255, 253, 248, 0.03); }
.suburb-card h3 { font: 700 1.5rem var(--display); }
.suburb-card__median { margin-top: 14px; color: var(--white-muted); font-size: 0.85rem; }
.suburb-card__median strong { display: block; font: 700 clamp(1.8rem, 2.8vw, 2.5rem)/1 var(--display); color: var(--brass-l); margin-bottom: 4px; letter-spacing: -0.02em; }
.suburb-card dl { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.suburb-card dt { font: 700 0.64rem var(--text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--white-muted); }
.suburb-card dd { font: 700 1.15rem var(--display); margin-top: 4px; }
.mp-same { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--white-line); }
.mp-same dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 14px; }
.mp-same dt { color: var(--white-muted); font-size: 0.82rem; }
.mp-same dd { font: 700 1.35rem var(--display); margin-top: 4px; }
.mp-releases { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; }
.mp-releases li { padding: 26px; border: 1px solid var(--white-line); }
.mp-releases li.is-current { border-color: var(--brass); }
.mp-releases .release-tag { margin-left: 0; }
.mp-releases h3 { font: 700 1.25rem var(--display); margin-top: 14px; }
.mp-releases p { color: var(--white-muted); margin-top: 8px; }
.mp-subscribe { background: var(--moss); }
.mp-subscribe__inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: var(--gap); align-items: end; }
.mp-subscribe .lead { margin-top: 20px; color: rgba(255, 253, 248, 0.86); }
.mp-subscribe .btn { --bg: var(--white); --bd: var(--white); --fg: var(--carbon); }
.mp-method { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); margin-top: 36px; }
.mp-method div { padding-block: 20px; border-top: 1px solid var(--white-line); }
.mp-method dt { font: 700 1.1rem var(--display); color: var(--brass-l); }
.mp-method dd { margin-top: 8px; color: var(--white-muted); }
.mp-foot { color: var(--white-muted); padding-block: 40px 60px; border-top: 1px solid var(--white-line); font-size: 0.85rem; }
.mp-foot img { width: 200px; height: auto; margin-bottom: 16px; }
.mp-foot a { color: var(--white); }

/* ---------- Next ---------- */
.next .actions { margin-top: 8px; }

/* ---------- Reveal + headline word rise (progressive enhancement) ---------- */
.js-ready .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.75s var(--ease) var(--d, 0ms), transform 0.75s var(--ease) var(--d, 0ms); }
.js-ready .reveal.is-in { opacity: 1; transform: none; }
.js-ready .reveal.is-split { opacity: 1; transform: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.w > span { display: inline-block; transform: translate3d(0, 110%, 0); transition: transform 1s var(--ease) calc(var(--i, 0) * 45ms); }
.is-in .w > span { transform: none; }

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.45s; }
  html { scroll-behavior: smooth; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .site-nav__list { gap: 14px; }
  .site-nav__list a { font-size: 0.62rem; letter-spacing: 0.1em; }
  .facts__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts__grid div { border-bottom: 1px solid var(--white-line); }
}
@media (max-width: 1100px) {
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-grid--journal, .article-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-grid li:not(:nth-child(4n)) { border-right: 0; }
  .partner-grid li:nth-child(odd) { border-right: 1px solid var(--line); }
  .partner-grid li:not(:nth-child(4n+1)) { padding-left: 0; }
  .partner-grid li:nth-child(even) { padding-left: 22px; }
  .guide-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-card:not(:nth-child(3n)) { border-right: 0; }
  .guide-card:nth-child(odd) { border-right: 1px solid var(--line); }
  .guide-cards--related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mp-two, .mp-two--wide { grid-template-columns: 1fr; }
  .calc__grid { grid-template-columns: 1fr; }
  .calc__inputs { border-right: 0; border-bottom: 1px solid var(--line); }
  .offer-cards { grid-template-columns: 1fr; }
  .offer-card { min-height: 0; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .team-home__grid { grid-template-columns: 1fr; }
}

@media (max-width: 1060px) {
  .menu-btn { display: inline-flex; align-items: center; gap: 12px; height: 42px; padding: 0 14px 0 18px; background: transparent; color: var(--white); border: 1px solid rgba(255, 253, 248, 0.3); cursor: pointer; font: 700 0.72rem var(--text); letter-spacing: 0.14em; text-transform: uppercase; position: relative; z-index: 2; }
  .menu-btn__bars { display: grid; gap: 5px; width: 16px; }
  .menu-btn__bars i { display: block; height: 1.5px; background: currentColor; transition: transform 0.35s var(--ease); }
  .menu-btn[aria-expanded='true'] .menu-btn__bars i:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menu-btn[aria-expanded='true'] .menu-btn__bars i:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .brand, .lang { position: relative; z-index: 2; }
  .js .site-nav { position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 30px; padding: calc(var(--header-h) + 30px) var(--gutter) 40px; background: var(--carbon); overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity 0.4s var(--ease), visibility 0s 0.4s; }
  .js .site-nav.is-open { visibility: visible; opacity: 1; transition: opacity 0.4s var(--ease); }
  .js .site-nav__list { flex-direction: column; gap: 2px; }
  .js .site-nav__list a { font: 700 clamp(1.9rem, 7.4vw, 3rem)/1.15 var(--display); letter-spacing: -0.03em; text-transform: none; color: var(--white); background: none; gap: 14px; }
  .js .nav-n { display: inline; font: 700 0.72rem var(--text); }
  .js .site-nav__list a[aria-current='page'] { color: var(--brass-l); }
  .js .site-nav__extra { flex-wrap: wrap; gap: 14px 22px; }
  .js .site-nav__phone { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 700; }
  .js .site-nav__phone .ico { width: 18px; height: 18px; color: var(--brass); }
  html:not(.js) .site-header { position: absolute; }
  html:not(.js) .menu-btn { display: none; }
  html:not(.js) .site-header__inner { flex-wrap: wrap; height: auto; padding-block: 14px; }
  html:not(.js) .site-nav { order: 3; width: 100%; flex-wrap: wrap; }
  html:not(.js) .site-nav__list { flex-wrap: wrap; }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 800px) {
  :root { --section: 76px; --header-h: 68px; }
  .brand__lockup { display: none; }
  .brand__mark { display: block; }
  .mp-top .brand__lockup { display: block; height: 18px; }
  .split, .statement__grid, .guide-body__grid, .article-body__grid, .contact__grid, .newsletter__grid, .listings-band__inner, .mp-subscribe__inner, .services__grid { grid-template-columns: 1fr; }
  .split__label { margin-bottom: 18px; }
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 34svh); padding-bottom: 56px; }
  .hero--home { padding-top: calc(var(--header-h) + 30svh); }
  .hero--short { padding-top: calc(var(--header-h) + 80px); }
  .hero--guide { padding-top: calc(var(--header-h) + 60px); }
  .hero__media, .hero--home .hero__media { width: 100%; bottom: auto; height: 70svh; }
  .hero__media::after { background: linear-gradient(0deg, var(--carbon) 4%, rgba(18, 20, 17, 0.6) 45%, rgba(18, 20, 17, 0.2) 75%, rgba(18, 20, 17, 0.6) 100%); }
  .hero__copy, .hero--article .hero__copy { max-width: none; }
  .hero__coords, .hero__scroll { display: none; }
  .display { font-size: clamp(2.4rem, 11.4vw, 4.4rem); }
  .display--guide { font-size: clamp(2.8rem, 14vw, 5rem); }
  .hero--article .display { font-size: clamp(1.9rem, 8.4vw, 3rem); }
  .statement__stamp { display: none; }
  .statement__text { margin-top: 26px; font-size: clamp(2rem, 9vw, 3.2rem); }
  .services__media { display: none; }
  .service { grid-template-columns: 1fr; gap: 4px; padding-block: 48px; }
  .service__n { padding-top: 0; }
  .valuation__media { width: 100%; opacity: 0.45; }
  .valuation__inner { padding-left: var(--gutter); }
  .team-home__portraits { gap: 8px; }
  .portrait:nth-child(2) { transform: none; }
  .portrait__name { font-size: 0.9rem; }
  .portrait__role { font-size: 0.6rem; }
  .city-list { grid-template-columns: 1fr; }
  .city-list a { grid-template-columns: 36px 1fr 20px; }
  .city-list__region { display: none; }
  .city-index__map { width: 100%; right: 0; opacity: 0.2; }
  .article-grid, .article-grid--journal, .article-grid--three { grid-template-columns: 1fr; }
  .card-article--feature a { grid-template-columns: 1fr; }
  .pulse-strip__inner { grid-template-columns: 1fr; gap: 16px; }
  .service-index ul { gap: 16px; }
  .service-index .eyebrow { display: none; }
  .service-row__media { position: relative; width: auto; height: 46vh; margin: calc(-1 * var(--section)) 0 40px; }
  .service-row__media::after, .service-row--flip .service-row__media::after { background: linear-gradient(0deg, var(--parchment), transparent 40%); }
  .service-row--flip .service-row__media::after { background: linear-gradient(0deg, var(--paper), transparent 40%); }
  .region-bar__inner { flex-direction: column; align-items: stretch; }
  .search-field input { width: 100%; }
  .region__head { grid-template-columns: 1fr; gap: 8px; }
  .guide-cards, .guide-cards--related { grid-template-columns: 1fr; }
  .guide-card:nth-child(odd), .guide-cards--related .guide-card:not(:last-child) { border-right: 0; }
  .guide-card a { padding-inline: 0; }
  .facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc { position: static; margin-bottom: 40px; }
  .info-cards { grid-template-columns: 1fr; }
  .info-list li { grid-template-columns: 1fr; gap: 4px; }
  .article-meta { position: static; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; margin-bottom: 30px; }
  .article-meta img { width: 40px; height: 40px; margin: 0; }
  .member { grid-template-columns: 1fr; }
  .member--flip .member__img { order: 0; }
  .member__img { aspect-ratio: 1; }
  .contact__aside { position: static; }
  .form-row { grid-template-columns: 1fr; }
  .calc__summary { grid-template-columns: 1fr; }
  .calc__summary > div { border-right: 0; border-bottom: 1px solid var(--white-line); }
  .link-list a { grid-template-columns: 32px 1fr 16px; }
  .link-list a > span:nth-child(2) { display: none; }
  .partner-grid { grid-template-columns: 1fr; }
  .partner-grid li:nth-child(odd) { border-right: 0; }
  .partner-grid li:nth-child(even) { padding-left: 0; }
  .mp-signals { grid-template-columns: 1fr 1fr; }
  .mp-signals div:nth-child(3) { border-left: 0; padding-left: 0; }
  .mp-stats { grid-template-columns: 1fr 1fr; }
  .bars li { grid-template-columns: 1fr auto; }
  .bars__track { grid-column: 1 / -1; order: 3; }
  .suburb-cards, .mp-releases, .mp-method, .mp-same dl { grid-template-columns: 1fr; }
  .mp-top__actions .text-link { display: none; }
  .surface { margin-bottom: 0; box-shadow: none; }
  .site-footer { position: relative; min-height: 0; }
}
@media (max-width: 520px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .mp-stats { grid-template-columns: 1fr; }
  .menu-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-btn { padding: 0 12px; }
  .inline-field { flex-direction: column; gap: 10px; }
  .actions .btn { width: 100%; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .js-ready .reveal { opacity: 1; transform: none; }
  .hero__media img, .valuation__media img, .service-row__media img, .pulse-cta__media img { transform: none !important; }
  .js-ready .bars__fill { transform: none; }
}

/* Grid children may shrink below their content (tables scroll inside .table-wrap). */
.split > *, .article-body__grid > *, .guide-body__grid > *, .calc__grid > *, .contact__grid > *, .newsletter__grid > *, .mp-two > * { min-width: 0; }
.unit-field input { min-width: 0; width: 100%; }
@media (max-width: 800px) {
  .service-index__inner { padding-block: 12px; }
  .service-index ul { flex-wrap: wrap; gap: 8px 18px; }
  .service-index a { font-size: 0.68rem; letter-spacing: 0.1em; }
}
.calc__ledger, .calc__inputs { grid-template-columns: minmax(0, 1fr); }
.calc__row > span { min-width: 0; }
@media (max-width: 520px) {
  .mp-top [data-copy-link] { display: none; }
  .calc__summary strong { font-size: 2rem; }
}

/* ---------- Downloadable guides (web + print/PDF from one template) ---------- */
.g-byline { margin-top: 22px; font-size: 0.85rem; color: var(--white-muted); }
.g-print-cover, .g-print-contact { display: none; }
.g-toc-pdf { display: inline-flex; gap: 8px; align-items: center; margin-top: 22px; font: 700 0.72rem var(--text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-d); text-decoration: none; }
.g-toc-pdf .ico { width: 15px; height: 15px; transform: rotate(135deg); }
.g-chapter { scroll-margin-top: calc(var(--header-h) + 30px); }
.g-chapter + .g-chapter { margin-top: clamp(64px, 7vw, 110px); padding-top: clamp(40px, 5vw, 70px); border-top: 1px solid var(--line); }
.g-chapter .h2 { margin: 14px 0 26px; }
.g-chapter > * + * { margin-top: 26px; }
.g-kicker { display: inline-block; padding: 6px 12px; background: var(--carbon); color: var(--brass-l); font: 700 0.72rem var(--text); letter-spacing: 0.12em; text-transform: uppercase; }
.g-sub { font: 700 0.75rem var(--text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-d); margin-bottom: 14px; }
.g-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.g-cards li { background: var(--white); border: 1px solid var(--line); padding: 22px 22px 24px; }
.g-cards h3 { font: 700 1.15rem/1.2 var(--display); }
.g-cards p { margin-top: 8px; color: var(--muted); font-size: 0.96rem; }
.g-cards .g-cards__s { margin-top: 4px; font: 700 0.7rem var(--text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-d); }
.g-cards--seasons { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-steps ol { border-top: 1px solid var(--line); }
.g-steps li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.g-steps li > span { font: 700 1.6rem/1 var(--display); color: var(--brass-d); letter-spacing: -0.03em; }
.g-steps h4 { font: 700 1.1rem var(--display); margin: 0; }
.g-steps p { margin-top: 6px; color: var(--muted); }
.g-terms { border-top: 1px solid var(--ink); }
.g-terms div { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 20px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.g-terms dt { font: 700 1.05rem var(--display); }
.g-terms dd { color: var(--muted); }
.g-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.g-pair div { padding: 22px; background: var(--carbon); color: var(--white); }
.g-pair h3 { font: 700 1.1rem var(--display); color: var(--brass-l); }
.g-pair p { margin-top: 8px; color: var(--white-muted); font-size: 0.96rem; }
.g-timeline { position: relative; display: grid; gap: 0; padding-left: 30px; border-left: 1px solid var(--brass-d); margin-left: 6px; }
.g-timeline li { position: relative; padding-bottom: 26px; }
.g-timeline li:last-child { padding-bottom: 0; }
.g-timeline__dot { position: absolute; left: -37px; top: 4px; width: 13px; height: 13px; border-radius: 50%; background: var(--parchment); border: 2px solid var(--brass-d); }
.g-timeline li:last-child .g-timeline__dot { background: var(--brass-d); }
.g-timeline__n { font: 700 0.7rem var(--text); letter-spacing: 0.14em; color: var(--brass-d); }
.g-timeline h3 { font: 700 1.15rem var(--display); margin-top: 4px; }
.g-timeline li > p:last-child { margin-top: 6px; color: var(--muted); }
.g-quote { margin: 0; padding: 26px 28px; border-left: 3px solid var(--brass); background: var(--white); }
.g-quote p { font: 400 italic clamp(1.25rem, 1.8vw, 1.6rem)/1.4 var(--serif); color: var(--ink); }
.g-note { padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.g-disclosure { font-size: 0.85rem; color: var(--muted); padding-top: 14px; border-top: 1px dashed var(--line); }
@media (max-width: 1100px) { .g-cards--seasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .g-cards, .g-cards--seasons, .g-pair { grid-template-columns: 1fr; }
  .g-terms div { grid-template-columns: 1fr; gap: 4px; }
}

/* Print / PDF: light pages, cover sheet, one chapter per page, no site chrome. */
@page { size: Letter; margin: 16mm 16mm 18mm; }
@page :first { margin: 0; }
@media print {
  :root { --section: 0px; }
  body, .surface, .section--parchment { background: #fff !important; }
  .site-header, .site-footer, .skip, .hero, .toc, .g-cta .actions, .g-toc-pdf, .progress { display: none !important; }
  .surface { margin: 0 !important; box-shadow: none !important; }
  .wrap { padding-inline: 0 !important; max-width: none; }
  .guide-body__grid { display: block; }
  .guide-article { max-width: none; }
  .js-ready .reveal, .reveal { opacity: 1 !important; transform: none !important; }
  .w > span { transform: none !important; }
  .g-print-cover { display: flex !important; flex-direction: column; justify-content: flex-end; gap: 18px; height: 279mm; padding: 22mm; background: #121411; color: #fffdf8; break-after: page; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .g-print-cover img { width: 70mm; height: auto; margin-bottom: auto; }
  .g-print-cover .g-print-cover__title { font: 700 46pt/0.95 'Mansfield', sans-serif; letter-spacing: -0.03em; color: #fffdf8 !important; max-width: none; }
  .g-print-cover .g-print-cover__title em { font-family: Georgia, serif; font-weight: 400; color: #d8c08f; }
  .g-print-cover__eyebrow { font: 700 9pt 'Manrope', sans-serif; letter-spacing: 0.18em; text-transform: uppercase; color: #c2a56a; }
  .g-print-cover p { font-size: 12pt; color: rgba(255, 253, 248, 0.8); max-width: 140mm; }
  .g-print-cover__by { font-size: 9pt !important; }
  .g-chapter { break-before: page; margin: 0 !important; padding: 0 !important; border: 0 !important; }
  .g-chapter:first-child { break-before: auto; }
  .g-chapter .h2 { font-size: 26pt; }
  .prose { font-size: 10.5pt; line-height: 1.55; }
  .g-cards p, .g-steps p, .g-terms dd, .g-pair p, .g-timeline li > p:last-child, .ticks li { font-size: 10pt; line-height: 1.45; }
  .g-cards li { padding: 14px 16px; }
  .g-steps li, .g-terms div { padding-block: 10px; }
  .g-timeline li { padding-bottom: 14px; }
  .g-chapter > * + * { margin-top: 16px; }
  .g-note, .g-quote { padding: 12px 16px; }
  .g-quote p { font-size: 14pt; }
  .g-cards li, .g-steps li, .g-terms div, .g-pair div, .g-timeline li, .g-quote, .g-note { break-inside: avoid; }
  .g-pair div, .g-kicker { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .g-cta { break-before: page; background: #fff !important; color: #171915 !important; }
  .g-cta .lead, .g-cta .eyebrow { color: #5a5b54 !important; }
  .g-cta .h2 em { color: #725b2f !important; }
  .g-print-contact { display: block !important; margin-top: 18px; padding-top: 12px; border-top: 1px solid #cfc9ba; font-size: 10pt; color: #171915; }
  a { color: inherit; text-decoration: none; }
}

/* Guide additions: tables, "ask exactly this", look-for / red-flag pairs, fill-in worksheets */
.g-table .data-table { min-width: 0; background: var(--white); }
.g-table .data-table th, .g-table .data-table td { padding-left: 16px; }
.g-table caption, .g-sheet caption { text-align: left; font: 700 0.75rem var(--text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-d); padding-bottom: 12px; }
.g-table__note { color: var(--muted); }
.g-ask { padding: 18px 22px; background: var(--carbon); color: var(--white); font: 400 italic clamp(1.1rem, 1.5vw, 1.3rem)/1.45 var(--serif); }
.g-ask strong { display: block; margin-bottom: 6px; font: 700 0.72rem var(--text); font-style: normal; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-l); }
.g-flags { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.g-flags > div { padding: 22px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--brass-d); }
.g-flags .g-flags__bad { border-top-color: #9b3b2a; }
.g-flags h3 { font: 700 0.75rem var(--text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-d); margin-bottom: 10px; }
.g-flags .g-flags__bad h3 { color: #9b3b2a; }
.g-flags li { position: relative; padding: 6px 0 6px 22px; color: var(--ink); font-size: 0.96rem; border-bottom: 1px solid var(--line); }
.g-flags li:last-child { border-bottom: 0; }
.g-flags li::before { content: ''; position: absolute; left: 2px; top: 0.95em; width: 9px; height: 9px; border-radius: 50%; background: var(--brass-d); }
.g-flags .g-flags__bad li::before { border-radius: 0; transform: rotate(45deg); background: #9b3b2a; }
.g-sheet .data-table { min-width: 0; table-layout: fixed; background: var(--white); }
.g-sheet .data-table th, .g-sheet .data-table td { padding: 10px 12px; border: 1px solid var(--line); }
.g-sheet tbody td { height: 64px; }
.g-sheet tbody th { font-size: 0.88rem; font-weight: 600; width: 34%; }
.g-sheet tbody th + td, .g-sheet tbody th ~ td { height: 40px; }
@media (max-width: 760px) { .g-flags { grid-template-columns: 1fr; } }
@media print {
  .g-ask, .g-flags > div { -webkit-print-color-adjust: exact; print-color-adjust: exact; break-inside: avoid; }
  .g-ask { padding: 10px 14px; font-size: 12pt; }
  .g-flags > div { padding: 12px 14px; }
  .g-flags li, .g-table td, .g-table th { font-size: 9.5pt; padding-block: 3px; }
  .g-table, .g-sheet { break-inside: avoid; overflow: visible; }
  .g-sheet tbody td { height: 18mm; }
  .g-sheet tbody th, .g-sheet tbody th ~ td { height: 7.5mm; padding-block: 2px; font-size: 9pt; }
  .g-sheet tbody th { width: 42%; }
  .g-sheet caption { padding-bottom: 6px; }
}
.toc--wide a { grid-template-columns: 58px 1fr; }

/* Fill-in notes (REALTOR checklist) */
.g-sheet--edit td { padding: 0 !important; vertical-align: top; }
.g-field { min-height: 64px; height: 100%; padding: 10px 12px; font-size: 0.92rem; line-height: 1.45; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; outline: none; cursor: text; }
.g-sheet--edit tbody th ~ td { vertical-align: middle; }
.g-sheet--edit tbody th ~ td .g-field { min-height: 40px; }
.g-field:focus { background: #fffbf0; box-shadow: inset 0 0 0 2px var(--brass-d); }
.g-sheet--edit td:hover .g-field:not(:focus) { background: var(--paper); }
.g-notes-tools { margin-top: 28px; padding: 18px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--brass-d); }
.g-notes-tools__t { font: 700 0.72rem var(--text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-d); }
.g-notes-tools__d { margin: 8px 0 14px; font-size: 0.86rem; color: var(--muted); }
.g-notes-tools__hint { margin-top: 8px; font-size: 0.78rem; color: var(--muted); }
.g-notes-tools__clear { margin-top: 12px; padding: 0; background: none; border: 0; font: 600 0.8rem var(--text); color: #9b3b2a; text-decoration: underline; cursor: pointer; }
.g-notes-tools__status { margin-top: 6px; font-size: 0.78rem; color: var(--moss, var(--muted)); min-height: 1.2em; }
@media (max-width: 760px) {
  .g-sheet--edit .data-table { min-width: 520px; }
}
@media print {
  .g-notes-tools { display: none !important; }
  .g-field { min-height: 0; padding: 4px 6px; font-size: 9.5pt; }
  .g-sheet--edit td { height: 18mm; }
  .g-sheet--edit tbody th ~ td { height: 7.5mm; vertical-align: middle; }
}

/* Guide link lists (e.g. school board locators) */
.g-links { display: grid; gap: 0; border-top: 1px solid var(--line); }
.g-links li { display: grid; gap: 2px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.g-links span { font-size: 0.86rem; color: var(--muted); }
@media print {
  .g-links a { display: block; }
  .g-links a .ico { display: none; }
  .g-links a::after { content: attr(href); display: block; margin-top: 2px; font: 400 8pt/1.3 'Manrope', sans-serif; letter-spacing: 0; text-transform: none; color: #5a5b54; word-break: break-all; }
  .g-links li { padding-block: 5px; break-inside: avoid; }
}

/* First-time buyer planner */
.pl-summary { grid-template-columns: repeat(4, 1fr); }
@media (min-width: 1101px) { .pl-summary { position: sticky; top: var(--header-h); z-index: 5; } }
.pl-summary .is-neg strong, .calc__row.is-neg strong { color: #c0533f; }
.pl-layout { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); column-gap: var(--gap); margin-top: clamp(28px, 4vw, 48px); }
.pl-nav { top: calc(var(--header-h) + 130px); }
.pl-steps { display: grid; gap: clamp(28px, 4vw, 48px); min-width: 0; }
.pl-step { margin-top: 0; scroll-margin-top: calc(var(--header-h) + 140px); }
.pl-step__head { padding: clamp(20px, 2.6vw, 32px) clamp(22px, 3vw, 40px) 0; }
.pl-step__head .h3 { margin-top: 8px; }
.pl-group { display: grid; gap: 14px; border: 0; padding: 0; margin: 0; }
.pl-group + .pl-group { padding-top: 18px; border-top: 1px dashed var(--line); }
.pl-group legend { padding: 0; margin-bottom: 4px; font: 700 0.72rem var(--text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-d); }
.pl-check { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.pl-muted span, .pl-muted strong { color: var(--muted); font-weight: 400; }
.pl-fit[data-fit="comfortable"] strong { color: #3f6b3a; }
.pl-fit[data-fit="stretched"] strong { color: #c0533f; }
.pl-warn { margin-top: 12px; }
.pl-dl { margin-top: 10px; font-size: 0.86rem; }
.pl-disclaimer { border: 0; padding: 0; }
@media (max-width: 1100px) { .pl-summary { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .pl-layout { grid-template-columns: 1fr; } .pl-nav { position: static; margin-bottom: 24px; } }
@media (max-width: 560px) { .pl-summary > div { padding: 14px 16px; } .pl-summary strong { font-size: 1.35rem; } }
@media print {
  .page-planner .site-header, .page-planner .site-footer, .page-planner .hero, .pl-nav, .g-cta .actions { display: none !important; }
  .pl-summary { position: static; break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .pl-layout { display: block; margin-top: 12px; }
  .pl-step { break-inside: avoid; break-before: page; }
  .pl-step:first-child { break-before: auto; }
  .pl, .pl-layout, .pl-steps, .pl-step, .pl-step .calc__grid { width: 100% !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; transform: none !important; opacity: 1 !important; }
  .pl-steps { display: block; }
  .pl-step { margin-top: 0 !important; }
  .pl-step .calc__grid { display: grid; grid-template-columns: 1.15fr 1fr; }
  .pl-group { grid-template-columns: 1fr 1fr; gap: 6px 12px; }
  .pl-group legend { grid-column: 1 / -1; }
  .pl-group + .pl-group { padding-top: 8px; }
  .page-planner .calc__note { font-size: 8.5pt; }
  .page-planner .unit-field input, .page-planner select { font-size: 9.5pt; min-height: 0; height: auto; }
  .pl-step input, .pl-step select { border: 0; padding: 0; background: none; }
  .page-planner .calc__inputs, .page-planner .calc__ledger { padding: 10px 14px; gap: 8px; }
  .page-planner .field { gap: 2px; font-size: 9pt; }
  .page-planner .field__hint { display: none; }
  .page-planner .calc__row { padding-block: 4px; font-size: 9.5pt; }
  .g-cta { break-before: page; }
}
