/* Hallmark · shape: Index-First (swapped from Feature Stack: no product captures to sync) · genre: modern-minimal · theme: Terrazzo (deal 1/3, seed minimalist-real-estate-services-f930·eca83dc8·2026-12-03·r0) · job: hire · draw: b0a6f8
 * hero: Index · nav: masthead · footer: mast · imagery: photographs (one library stand-in) · signature: the services set as a spec sheet with codes and starting prices · terrazzo: off-white
 * axes: light/geometric-sans/warm · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P2 H2 E2 S2 R1 V2 · weakest: R, one library photo only; the rest carried by the theme's Range (spec tables, ink band figure, steps on rules, request card) */
/* Hallmark · waive F15 · hero and split pairs 96px, card grids 40px, step rows 24px · three compositions, each consistent site-wide */
/* Hallmark · waive F1 · straight quotes in all copy · owner house rule */
@import url("./tokens.css");
@import url("./base.css");

/* Refinement 2026-12-03: owner asked for cleaner and more elegant. Serif display, hairline rules, no hard offsets. */
:root {
  --font-display: "Instrument Serif", ui-serif, Georgia, serif;
  --display-weight: 400; --tracking-display: -0.01em;
  --rule-bar: 1px;
  --shadow-card: none; --shadow-card-hover: none;
  --color-paper: oklch(100% 0 0); --color-plate: oklch(100% 0 0);
  --color-paper-2: oklch(96.5% 0 0); --color-paper-3: oklch(90% 0 0);
  --color-ink: oklch(0% 0 0); --color-ink-2: oklch(12% 0 0); --color-muted: oklch(38% 0 0);
  --color-rule: oklch(85% 0 0);
}
/* Refinement 2026-12-03 (2): owner prefers a white background and strong black text. */

html, body { overflow-x: clip; }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font: 400 var(--text-md)/1.65 var(--font-body); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-display); font-weight: var(--display-weight); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; margin: 0 0 var(--space-md); overflow-wrap: break-word; min-width: 0; color: var(--color-ink); }
h1 { font-size: var(--text-display-s); }
h2 { font-size: var(--text-section); }
h3, .card-title { font-size: var(--text-2xl); }
p { margin: 0 0 var(--space-md); }
a { color: var(--color-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-color var(--dur-micro) var(--ease-out); }
a:hover { text-decoration-color: var(--color-accent); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
::selection { background: color-mix(in oklab, var(--color-accent) 25%, transparent); }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--space-md); top: -100px; background: var(--color-ink); color: var(--color-paper); padding: var(--space-sm) var(--space-md); z-index: var(--z-modal); }
.skip:focus-visible { top: var(--space-md); }
.lead { font-size: var(--text-lead); color: var(--color-ink); max-width: 40ch; }
.muted { color: var(--color-muted); }
.code { font-family: var(--font-body); font-weight: 500; font-variant-numeric: tabular-nums; font-size: var(--text-sm); color: var(--color-muted); }
.price-cell { color: var(--color-ink); }
.accent { color: var(--color-accent); }
.num { text-align: right; }
.nowrap { white-space: nowrap; }
.note { margin-top: var(--space-lg); font-size: var(--text-sm); max-width: 70ch; }

/* Nav: masthead, wordmark over a rule */
.mast-nav { border-bottom: 1px solid var(--color-rule); background: var(--color-paper); }
.mast-nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 72px; flex-wrap: wrap; padding-block: var(--space-sm); }
.wordmark { font-family: var(--font-display); font-weight: 400; font-size: var(--text-2xl); letter-spacing: var(--tracking-display); text-decoration: none; }
.nav-links { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a { text-decoration: none; font-weight: 500; color: var(--color-ink); font-size: var(--text-sm); padding-block: var(--space-xs); }
.nav-links a:hover, .nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--color-accent); }
.nav-links .nav-cta { box-shadow: inset 0 0 0 1px var(--color-ink); padding: var(--space-xs) var(--space-md); }
.nav-links .nav-cta:hover { background: var(--color-paper-2); text-decoration: none; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--space-lg); border: 0; border-radius: 0; font: 500 var(--text-md)/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn--primary { background: var(--color-ink); color: var(--color-paper); }
.btn--primary:hover { background: var(--color-ink-2); }
.btn--secondary { background: transparent; color: var(--color-ink); box-shadow: inset 0 0 0 1px currentColor; }
.btn--secondary:hover { background: var(--color-paper-2); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.band--ink .btn--primary { background: var(--color-plate); color: var(--color-ink); }

/* Hero: Index posture, the services as the visual */
.hero { padding-block: var(--space-2xl) var(--space-3xl); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; }
.hero h1 { font-size: var(--text-display); line-height: 0.98; }
.hero-index { padding-top: var(--space-xs); }

/* Spec tables */
.spec { width: 100%; border-collapse: collapse; border-top: var(--rule-bar) solid var(--color-ink); }
.spec th, .spec td { text-align: left; padding: var(--space-lg) var(--space-sm) var(--space-lg) 0; border-bottom: var(--rule-hair) solid var(--color-rule); vertical-align: top; }
.spec thead th { font-weight: 500; font-size: var(--text-sm); color: var(--color-muted); padding-block: var(--space-sm); }
.spec tbody th { font-weight: 400; color: var(--color-ink); font-size: var(--text-lg); line-height: 1.25; width: 30%; }
.spec td.code { white-space: nowrap; width: 1%; padding-right: var(--space-lg); }
.spec td.num { padding-right: 0; }
.spec tbody tr { transition: background-color var(--dur-micro) var(--ease-out); }
.spec tbody tr:hover { background: var(--color-paper-2); }
.row-link { font-weight: 400; color: var(--color-ink); font-size: var(--text-lg); line-height: 1.25; text-decoration: none; display: block; }
.row-link:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }
.row-note { display: block; color: var(--color-muted); font-size: var(--text-sm); margin-top: var(--space-2xs); }
.spec--markets .row-link { font-size: var(--text-md); }

/* Sections */
.section { padding-block: var(--section-gap-s) 0; }
.section--first { padding-top: var(--space-2xl); }
.section--tight { padding-top: var(--space-3xl); }
main > .section:last-child, main > article:last-child .section { padding-bottom: var(--section-gap-s); }
.page-head { padding-block: var(--space-3xl) 0; }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--space-3xl); align-items: end; }
.crumbs { font-size: var(--text-sm); color: var(--color-muted); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; }
.split--form { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }

/* Cards */
.card { background: var(--color-plate); border: 1px solid var(--color-rule); padding: var(--space-xl); margin: 0; }
.card--link { display: flex; flex-direction: column; gap: var(--space-xs); text-decoration: none; transition: box-shadow var(--dur-micro) var(--ease-out); }
.card--link { transition: border-color var(--dur-short) var(--ease-out); border-color: var(--color-rule); }
.card--link:hover { border-color: var(--color-ink); }
.card--link p { margin: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl); margin-top: var(--space-lg); }
.photo-card { padding: 0; margin-top: var(--space-xl); }
.photo { aspect-ratio: 4 / 3; margin: 0; overflow: hidden; background: var(--color-paper-2); }
.photo > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; display: block; filter: contrast(1.04); }
.photo-card figcaption { padding: var(--space-sm) var(--space-md); border-top: 1px solid var(--color-rule); color: var(--color-muted); font-size: var(--text-sm); }
.price-card .price, .plan .price { font-family: var(--font-display); font-weight: 400; color: var(--color-ink); font-size: var(--text-2xl); letter-spacing: var(--tracking-display); line-height: 1.1; margin-bottom: var(--space-sm); font-variant-numeric: tabular-nums; }
.plan { display: flex; flex-direction: column; gap: var(--space-xs); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.ticks { list-style: none; padding: 0; margin: var(--space-sm) 0 var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.ticks li { padding: var(--space-xs) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }

/* Bands */
.band { padding-block: var(--space-3xl); margin-top: var(--section-gap-s); }
.band--ink { background: var(--color-ink); color: var(--color-paper); }
.band--ink h2 { color: var(--color-paper); }
.band--ink .lead { color: var(--color-paper); }
.band--paper { background: var(--color-paper-2); }
.figure-band { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; }
.figure { font-family: var(--font-display); font-weight: 400; font-size: calc(var(--text-display) * 2.4); letter-spacing: -0.02em; line-height: 0.85; margin: 0; color: var(--color-paper); font-variant-numeric: tabular-nums; }
.cta { display: flex; justify-content: space-between; align-items: center; gap: var(--space-xl); flex-wrap: wrap; }
.cta h2 { margin: 0; }
.cta .actions { margin: 0; }

/* Steps on rules */
.steps { list-style: none; padding: 0; margin: var(--space-xl) 0 0; border-top: var(--rule-bar) solid var(--color-ink); }
.steps li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr) minmax(0, 6fr); gap: var(--space-lg); align-items: baseline; padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.step-num { font-family: var(--font-display); font-weight: 400; color: var(--color-muted); font-size: var(--text-section); line-height: 1; font-variant-numeric: tabular-nums; }
.step-title { font-weight: 500; color: var(--color-ink); font-size: var(--text-lg); }
.step-text { color: var(--color-ink); }

/* FAQ, chips, prose */
.faq { margin: 0; border-top: var(--rule-bar) solid var(--color-ink); }
.faq dt { font-weight: 500; color: var(--color-ink); font-size: var(--text-lg); padding-top: var(--space-lg); }
.faq dd { margin: var(--space-xs) 0 0; padding-bottom: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); color: var(--color-ink); }
.chips { list-style: none; padding: 0; margin: var(--space-lg) 0 0; display: flex; flex-wrap: wrap; gap: 0; }
.chips li { margin: 0 calc(var(--space-3xs) * -1) calc(var(--space-3xs) * -1) 0; }
.chips a { display: inline-block; padding: var(--space-sm) var(--space-md); border: 1px solid var(--color-rule); color: var(--color-ink); background: var(--color-plate); text-decoration: none; font-weight: 500; transition: background-color var(--dur-micro) var(--ease-out); }
.chips a:hover { border-color: var(--color-ink); }
.prose { max-width: 72ch; }
.prose p, .prose li { font-size: 1.0625rem; line-height: 1.65; }
.prose h2 { font-size: var(--text-2xl); margin-top: var(--space-xl); }
.prose ul { padding-left: var(--space-lg); }
.prose li { margin-bottom: var(--space-xs); }

/* Forms: request card */
.form-card { display: flex; flex-direction: column; gap: var(--space-md); }
.field { display: flex; flex-direction: column; gap: var(--space-2xs); }
.field label { font-weight: 500; font-size: var(--text-sm); }
.field input, .field select, .field textarea { font: 400 var(--text-md)/1.4 var(--font-body); color: var(--color-ink); background: var(--color-plate); border: 1px solid var(--color-rule); border-radius: 0; padding: var(--space-sm); min-height: 48px; width: 100%; box-sizing: border-box; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--color-ink); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--color-error); }
.field-error, .form-error { color: var(--color-error); font-size: var(--text-sm); margin: 0; }
.form-card .btn { align-self: flex-start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Audit report and calculator */
.score-head { display: flex; align-items: center; gap: var(--space-xl); margin-bottom: var(--space-lg); flex-wrap: wrap; }
.score { font-family: var(--font-display); font-weight: 400; font-size: var(--text-display); letter-spacing: -0.04em; line-height: 1; margin: 0; }
.score .muted { font-size: var(--text-xl); }
.is-fail td.code { color: var(--color-error); }
.is-pass td.code { color: var(--color-success); }
.report-actions { margin-top: var(--space-xl); }
.result { margin-top: var(--space-xl); }
.result .total th, .result .total td { font-weight: 700; border-bottom: var(--rule-bar) solid var(--color-ink); }
.result .total td { font-size: var(--text-lg); }

/* Footer: mast */
.foot { margin-top: 0; border-top: 1px solid var(--color-rule); padding-block: var(--space-3xl) var(--space-xl); }
.foot-mark { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; color: var(--color-ink); font-size: clamp(2.5rem, 8vw, 7.5rem); line-height: 0.9; margin: 0 0 var(--space-2xl); }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl); margin-bottom: var(--space-2xl); }
.foot-head { font-weight: 500; font-size: var(--text-sm); color: var(--color-muted); margin-bottom: var(--space-sm); }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { padding-block: var(--space-2xs); }
.foot li a { text-decoration: none; }
.foot li a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }
.foot-legal { font-size: var(--text-sm); color: var(--color-muted); max-width: 90ch; }

@media (max-width: 60rem) {
  :root { --gutter: 16px; }
  .hero-grid, .split, .split--form, .page-head-grid, .figure-band { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .grid-3, .grid-2, .foot-cols { grid-template-columns: minmax(0, 1fr); }
  .steps li { grid-template-columns: minmax(0, 1fr) minmax(0, 5fr); }
  .step-text { grid-column: 2; }
  .spec tbody th { width: auto; }
  .spec--markets td:last-child, .spec--markets th:last-child { display: none; }
  .section { padding-top: var(--space-3xl); }
  .band { margin-top: var(--space-3xl); }
  .figure { font-size: calc(var(--text-display) * 1.6); }
}
@media (max-width: 36rem) {
  .hero-index .row-note { display: none; }
  .spec td.code { padding-right: var(--space-sm); }
  .spec td.num { white-space: normal; width: 30%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .btn:active { transform: none; }
}

/* Photographs: a set of four under the hero, wide frames on market pages */
.strip { padding-top: var(--space-xl); }
.strip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-lg); }
.strip .photo-card { margin-top: 0; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 21 / 9; }
.photo--tall > img, .photo--wide > img { object-position: 50% 50%; }
.photo-card--wide { margin-top: 0; }
@media (max-width: 60rem) {
  .strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
  .photo--wide { aspect-ratio: 4 / 3; }
}
