:root {
  --navy: #12263a;
  --navy-deep: #0b1826;
  --brass: #b8863b;
  --brass-light: #d9a95a;
  --stone: #f4f1ea;
  --stone-dark: #e6e0d2;
  --ink: #1d2733;
  --muted: #5b6673;
  --line: #d8d2c4;
  --white: #ffffff;
  --ok: #2f7d4f;
  --warn: #b26a00;
  --hold: #8a3b3b;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(18, 38, 58, 0.12);
  --shell: 1180px;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--stone); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.shell { width: min(var(--shell), calc(100% - 2.5rem)); margin: 0 auto; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.75rem; font-weight: 700; color: var(--brass); margin-bottom: 0.6rem; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { background: var(--navy); color: var(--white); position: sticky; top: 0; z-index: 20; box-shadow: 0 2px 12px rgba(0,0,0,0.25); }
.site-header .shell { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 68px; }
.brand { text-decoration: none; font-family: var(--serif); font-size: 1.3rem; letter-spacing: 0.02em; display: flex; align-items: center; gap: 0.6rem; }
.brand-mark { width: 34px; height: 34px; border: 2px solid var(--brass); display: grid; place-items: center; font-weight: 700; color: var(--brass-light); border-radius: 6px; font-family: var(--font); font-size: 0.95rem; }
.brand span { color: var(--brass-light); }
.nav { display: flex; gap: 1.4rem; align-items: center; }
.nav a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brass-light); }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,0.4); color: var(--white); padding: 0.45rem 0.7rem; border-radius: 8px; font: inherit; cursor: pointer; }

.button { display: inline-block; background: var(--brass); color: var(--navy-deep); text-decoration: none; font-weight: 700; padding: 0.8rem 1.35rem; border-radius: 10px; border: 2px solid var(--brass); font: inherit; font-weight: 700; cursor: pointer; transition: background 0.15s, color 0.15s; }
.button:hover { background: var(--brass-light); border-color: var(--brass-light); }
.button.ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.button.ghost:hover { border-color: var(--brass-light); color: var(--brass-light); }
.button.outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.button.outline:hover { background: var(--navy); color: var(--white); }
.button.small { padding: 0.5rem 0.9rem; font-size: 0.9rem; }
.button:disabled { opacity: 0.5; cursor: not-allowed; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--navy-deep), var(--navy) 60%, #1e3a56); color: var(--white); padding: clamp(3rem, 8vw, 6rem) 0 4rem; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto -10% -40% auto; width: 60%; height: 120%; background: radial-gradient(circle at center, rgba(184,134,59,0.28), transparent 60%); pointer-events: none; }
.hero h1 { color: var(--white); }
.hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,0.85); max-width: 42rem; }
.hero .eyebrow { color: var(--brass-light); }
.hero-grid { display: grid; gap: 2.5rem; grid-template-columns: 1.1fr 0.9fr; align-items: end; position: relative; z-index: 1; }
.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero-stats strong { display: block; font-family: var(--serif); font-size: 1.8rem; color: var(--brass-light); }
.hero-stats span { font-size: 0.85rem; color: rgba(255,255,255,0.75); }

/* Search panel */
.search-panel { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.search-panel h2 { font-size: 1.2rem; }
.tabs { display: flex; gap: 0.4rem; margin-bottom: 1rem; }
.tabs label { flex: 1; text-align: center; padding: 0.55rem; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 0.95rem; }
.tabs input { position: absolute; opacity: 0; pointer-events: none; }
.tabs input:checked + span { display: block; margin: -0.55rem; padding: 0.55rem; background: var(--navy); color: var(--white); border-radius: 7px; }
.field { display: grid; gap: 0.35rem; font-size: 0.9rem; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; padding: 0.7rem 0.8rem; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brass); outline-offset: 1px; border-color: var(--brass); }
.field-row { display: grid; gap: 0.8rem; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.search-panel .button { width: 100%; margin-top: 1rem; }

/* Sections */
section.block { padding: clamp(3rem, 6vw, 5rem) 0; }
section.block.alt { background: var(--white); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.section-head p { max-width: 40rem; color: var(--muted); margin: 0; }

/* Listing cards */
.card-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.listing-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 18px rgba(18,38,58,0.08); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform 0.18s, box-shadow 0.18s; border: 1px solid var(--stone-dark); }
.listing-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.listing-media { position: relative; aspect-ratio: 4 / 3; background: var(--stone-dark); }
.listing-media img { width: 100%; height: 100%; object-fit: cover; }
.chip { position: absolute; top: 0.8rem; left: 0.8rem; background: var(--navy); color: var(--white); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.6rem; border-radius: 6px; }
.chip.status-under-offer, .chip.status-sold-stc, .chip.status-let-agreed { background: var(--warn); }
.chip.status-sold, .chip.status-let { background: var(--hold); }
.chip.progress { top: auto; bottom: 0.8rem; background: var(--brass); color: var(--navy-deep); }
.chip.staged { left: auto; right: 0.8rem; background: rgba(255,255,255,0.92); color: var(--navy); }
.listing-body { padding: 1.1rem 1.2rem 1.3rem; display: grid; gap: 0.4rem; }
.price { font-family: var(--serif); font-size: 1.45rem; color: var(--navy); }
.price small { font-family: var(--font); font-size: 0.8rem; color: var(--muted); margin-left: 0.3rem; }
.listing-body h3 { font-size: 1.05rem; font-family: var(--font); font-weight: 600; margin: 0; }
.listing-body .summary { color: var(--muted); font-size: 0.92rem; margin: 0; }
.specs { display: flex; gap: 1rem; font-size: 0.85rem; color: var(--muted); margin-top: 0.3rem; flex-wrap: wrap; }
.specs span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); margin-right: 0.4rem; vertical-align: middle; }

/* Feature strips */
.steps { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: step; }
.step { background: var(--white); border-radius: var(--radius); padding: 1.6rem; border-top: 4px solid var(--brass); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--serif); font-size: 2rem; color: var(--brass); display: block; margin-bottom: 0.4rem; }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

.split { display: grid; gap: 3rem; grid-template-columns: 1fr 1fr; align-items: center; }
.split img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.check-list { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: 0.6rem; }
.check-list li { padding-left: 1.7rem; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 0.9rem; height: 0.45rem; border-left: 2px solid var(--brass); border-bottom: 2px solid var(--brass); transform: rotate(-45deg); }

/* Portal */
.portal { display: grid; gap: 2rem; grid-template-columns: 300px 1fr; align-items: start; padding: 2.5rem 0 4rem; }
.filters { background: var(--white); border-radius: var(--radius); padding: 1.4rem; position: sticky; top: 84px; display: grid; gap: 1rem; border: 1px solid var(--stone-dark); }
.filters h2 { font-size: 1.15rem; margin: 0; }
.filters .checks { display: grid; gap: 0.4rem; font-weight: 400; font-size: 0.92rem; }
.filters .checks label { display: flex; align-items: center; gap: 0.5rem; }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.results-head h1 { font-size: 1.6rem; margin: 0; }
.results-head .field { grid-template-columns: auto 1fr; align-items: center; gap: 0.6rem; }
.empty { background: var(--white); border-radius: var(--radius); padding: 3rem; text-align: center; color: var(--muted); }

/* Detail page */
.gallery { display: grid; gap: 0.6rem; grid-template-columns: 2fr 1fr; grid-auto-rows: 240px; margin: 2rem 0; }
.gallery figure { margin: 0; position: relative; border-radius: 10px; overflow: hidden; background: var(--stone-dark); }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption, .staging-label { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(18,38,58,0.85); color: var(--white); font-size: 0.78rem; padding: 0.4rem 0.7rem; }
.staging-label { font-weight: 700; letter-spacing: 0.04em; }
.detail-grid { display: grid; gap: 2.5rem; grid-template-columns: 1.4fr 0.8fr; align-items: start; padding-bottom: 4rem; }
.detail-head { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: start; }
.detail-head .price { font-size: 2rem; }
.key-facts { display: grid; gap: 0.8rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 1.5rem 0; }
.key-facts div { background: var(--white); border-radius: 10px; padding: 0.8rem 1rem; border: 1px solid var(--stone-dark); }
.key-facts dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.key-facts dd { margin: 0.15rem 0 0; font-weight: 600; }
.description { white-space: pre-line; }
.side-card { background: var(--white); border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--stone-dark); box-shadow: 0 4px 18px rgba(18,38,58,0.06); display: grid; gap: 1rem; position: sticky; top: 84px; }
.side-card h2 { font-size: 1.2rem; margin: 0; }
.side-card .contact-line { display: grid; gap: 0.2rem; font-size: 0.95rem; }
.side-card .contact-line strong { color: var(--navy); }

/* Progress tracker */
.progress-card { background: var(--white); border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--stone-dark); margin: 2rem 0; }
.progress-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }
.progress-bar { height: 10px; background: var(--stone-dark); border-radius: 999px; overflow: hidden; margin: 0.6rem 0 1.4rem; }
.progress-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--brass), var(--brass-light)); }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 28px 1fr; gap: 0.9rem; padding: 0.7rem 0; border-bottom: 1px solid var(--stone-dark); align-items: start; }
.timeline li:last-child { border-bottom: 0; }
.dot { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line); background: var(--white); margin-top: 0.15rem; }
.stage-complete .dot { background: var(--ok); border-color: var(--ok); }
.stage-in-progress .dot { border-color: var(--brass); background: var(--brass-light); box-shadow: 0 0 0 4px rgba(184,134,59,0.2); }
.stage-on-hold .dot { border-color: var(--hold); }
.stage-title { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-weight: 600; }
.stage-title time { font-weight: 400; color: var(--muted); font-size: 0.88rem; }
.stage-side { display: flex; gap: 0.8rem; align-items: center; flex-wrap: wrap; }
.stage-link { font-size: 0.85rem; font-weight: 600; color: var(--brass); text-decoration: underline; white-space: nowrap; }
.stage-note { font-size: 0.9rem; color: var(--muted); margin: 0.15rem 0 0; }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.2rem 0.5rem; border-radius: 5px; background: var(--stone); color: var(--navy); border: 1px solid var(--line); }
.tag.open { background: #fff4e0; border-color: var(--brass-light); color: #7a4f10; }
.tag.complete { background: #e6f4ea; border-color: #9fd3b0; color: var(--ok); }
.tag.in-progress { background: #fff4e0; border-color: var(--brass-light); color: #7a4f10; }
.tag.planned { background: var(--stone); }
.tag.on-hold { background: #f8e8e8; border-color: #d9a3a3; color: var(--hold); }

/* Quotation tool */
.quote-tool { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 2rem; margin: 2rem 0; }
.quote-tool h2 { color: var(--white); }
.quote-tool .eyebrow { color: var(--brass-light); }
.quote-tool .field { color: var(--white); }
.quote-tool .field input, .quote-tool .field select { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.25); color: var(--white); }
.quote-tool .field select option { color: var(--ink); }
.quote-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr 1fr; }
.package-list { display: grid; gap: 0.6rem; }
.package-category { font-family: var(--font); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass-light); margin: 0.9rem 0 0; scroll-margin-top: 5rem; }
.package-category:first-child { margin-top: 0; }
.category-nav { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; margin: 0 0 0.8rem; font-size: 0.85rem; }
.category-nav span { color: rgba(255,255,255,0.7); margin-right: 0.2rem; }
.category-nav a { display: inline-block; padding: 0.3rem 0.7rem; border: 1px solid rgba(255,255,255,0.3); border-radius: 999px; color: var(--white); text-decoration: none; background: rgba(255,255,255,0.06); }
.category-nav a:hover, .category-nav a:focus-visible { border-color: var(--brass-light); color: var(--brass-light); }
.package { display: grid; grid-template-columns: auto 1fr auto; gap: 0.8rem; align-items: center; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); border-radius: 10px; padding: 0.75rem 0.9rem; cursor: pointer; }
.package:has(input:checked) { border-color: var(--brass-light); background: rgba(184,134,59,0.18); }
.package input { width: 18px; height: 18px; accent-color: var(--brass); }
.package strong { display: block; font-size: 0.98rem; }
.package small { color: rgba(255,255,255,0.7); font-size: 0.82rem; }
.package .pkg-price { font-family: var(--serif); font-size: 1.05rem; color: var(--brass-light); white-space: nowrap; }
.quote-summary { background: rgba(255,255,255,0.06); border-radius: 10px; padding: 1.2rem; display: grid; gap: 0.6rem; align-self: start; }
.quote-summary table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.quote-summary td { padding: 0.3rem 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.quote-summary td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.quote-summary tr.total td { border-bottom: 0; font-family: var(--serif); font-size: 1.35rem; color: var(--brass-light); padding-top: 0.8rem; }
.quote-summary .range { color: rgba(255,255,255,0.75); font-size: 0.85rem; }
.quote-summary .disclaimer { font-size: 0.78rem; color: rgba(255,255,255,0.65); margin: 0; }
.quote-actions { display: grid; gap: 0.6rem; margin-top: 0.5rem; }
.quote-actions .button.ghost { text-align: center; }
.quote-actions .button.busy { opacity: 0.6; pointer-events: none; }
.quote-actions .button.done { background: var(--ok); border-color: var(--ok); pointer-events: none; }
.contact-fields { display: grid; gap: 0.6rem; margin-top: 0.6rem; padding-top: 0.8rem; border-top: 1px solid rgba(255,255,255,0.15); }
.contact-fields h4 { margin: 0; font-family: var(--serif); font-size: 1.05rem; color: var(--brass-light); }
.quote-tool .field textarea { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.25); color: var(--white); resize: vertical; }
.quote-status { margin: 0; font-size: 0.9rem; color: var(--brass-light); min-height: 1.2em; }
.quote-status:empty { display: none; }
.muted.small { font-size: 0.8rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.panel-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.panel-form fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.panel-form legend { padding: 0; margin-bottom: 0.35rem; }
.check-grid { display: grid; gap: 0.4rem 1rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); font-weight: 400; }
.check-grid label { display: flex; gap: 0.5rem; align-items: center; font-size: 0.9rem; cursor: pointer; }
.check-grid input { width: 17px; height: 17px; accent-color: var(--brass); }
.panel-form .quote-status { color: var(--ok); }
.audience { display: flex; gap: 0.4rem; margin-bottom: 1rem; }
.audience label { flex: 1; text-align: center; padding: 0.5rem; border: 1px solid rgba(255,255,255,0.3); border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 0.9rem; }
.audience input { position: absolute; opacity: 0; pointer-events: none; }
.audience input:checked + span { display: block; margin: -0.5rem; padding: 0.5rem; background: var(--brass); color: var(--navy-deep); border-radius: 7px; }
.fitter-only { display: none; }
.quote-tool.mode-fitter .fitter-only { display: grid; }
.quote-tool.mode-fitter .customer-only { display: none; }
.package-block { display: grid; gap: 0.5rem; }
.package-block .materials { display: none; gap: 0.6rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); padding: 0 0.9rem 0.4rem 2.6rem; }
.package-block.selected .materials { display: grid; }
.package-block .materials .field { font-size: 0.8rem; color: rgba(255,255,255,0.8); }
.package-block .materials select { padding: 0.45rem 0.6rem; font-size: 0.85rem; }
.package-block .materials .qty input { padding: 0.45rem 0.6rem; font-size: 0.85rem; max-width: 120px; }
.quote-summary td small { display: block; color: rgba(255,255,255,0.65); font-size: 0.75rem; margin-top: 0.15rem; }
.stage-banner { background: rgba(184,134,59,0.2); border: 1px solid var(--brass-light); border-radius: 10px; padding: 0.8rem 1rem; font-size: 0.9rem; margin: 0 0 1rem; }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.88rem; color: rgba(255,255,255,0.85); margin-top: 1rem; cursor: pointer; }
.consent input { width: 18px; height: 18px; flex: none; margin-top: 0.1rem; accent-color: var(--brass); }

/* Homeowner remodel page */
.remodel-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 1.5rem 0; }
.styles-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.style-example { background: var(--white); border: 1px solid var(--stone-dark); border-radius: var(--radius); overflow: hidden; display: grid; gap: 0.5rem; padding-bottom: 1rem; }
.style-example img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.style-example h3 { margin: 0.4rem 1rem 0; font-size: 1.05rem; font-family: var(--font); }
.style-example p { margin: 0 1rem; font-size: 0.88rem; }
.style-example .button { margin: 0.3rem 1rem 0; justify-self: start; }
#remodel-quote[hidden] { display: none; }

/* Floor plans */
.plans-card { background: var(--white); border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--stone-dark); margin: 2rem 0; }
.plans-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.plan { margin: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fbf8f2; }
.plan img { width: 100%; height: auto; display: block; }
.plan figcaption { padding: 0.6rem 0.8rem; font-size: 0.88rem; border-top: 1px solid var(--line); background: var(--white); }

/* AI style visualiser */
.style-card { background: var(--stone); border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--stone-dark); margin: 2rem 0; }
.style-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.style-tab { font: inherit; font-weight: 600; font-size: 0.9rem; padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; }
.style-tab:hover { border-color: var(--brass); }
.style-tab.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.style-view { margin: 0; position: relative; border-radius: 10px; overflow: hidden; background: var(--stone-dark); aspect-ratio: 16 / 9; }
.style-view img { width: 100%; height: 100%; object-fit: cover; display: block; }
.style-view figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 0.15rem; padding: 0.8rem 1rem; background: linear-gradient(transparent, rgba(18,38,58,0.92)); color: var(--white); font-size: 0.9rem; }
.style-view figcaption strong { font-family: var(--serif); font-size: 1.15rem; }
.style-view .staging-label { position: static; background: none; padding: 0.3rem 0 0; font-size: 0.74rem; color: var(--brass-light); }
.style-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; margin-top: 1rem; }
.style-actions .muted { font-size: 0.85rem; }

/* Fitters page */
.open-stages { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.open-stage { background: var(--white); border-radius: var(--radius); padding: 1.3rem; border: 1px solid var(--stone-dark); display: grid; gap: 0.5rem; }
.open-stage h3 { font-size: 1.05rem; font-family: var(--font); margin: 0; }
.open-stage .meta { font-size: 0.88rem; color: var(--muted); }

/* Forms */
form.stack { display: grid; gap: 1rem; }
form.stack.compact { gap: 0.7rem; }
.enquiry-form .field { font-size: 0.85rem; }
.enquiry-form .field input { padding: 0.6rem 0.75rem; }
.enquiry-form .button { width: 100%; text-align: center; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.9rem; font-weight: 400; color: var(--ink); cursor: pointer; line-height: 1.45; }
.check input { width: 18px; height: 18px; flex: none; margin-top: 0.15rem; accent-color: var(--brass); }
.check a { color: var(--brass); }
.total-out { display: block; font: inherit; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; color: var(--navy); padding: 0.45rem 0; }
.note { background: #fff8e8; border: 1px solid var(--brass-light); border-radius: 10px; padding: 0.9rem 1.1rem; font-size: 0.92rem; color: #5a4310; }
.terms-box { background: var(--white); border: 1px solid var(--stone-dark); border-left: 4px solid var(--brass); border-radius: 10px; padding: 1.1rem 1.3rem; margin-top: 1.5rem; scroll-margin-top: 5.5rem; }
.terms-box h3 { font-size: 1.05rem; font-family: var(--font); margin: 0 0 0.4rem; }
.terms-box .check-list { margin: 0.4rem 0 0; font-size: 0.92rem; }
.value-adds { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 2.5rem; counter-reset: none; }
.value-adds .step { border: 1px solid var(--stone-dark); }
.value-adds .step::before { content: none; }
.value-adds .step h3 { margin-top: 0; }
.value-adds .step p { margin: 0; }

/* Services and pricing */
.service-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.service-card { display: flex; flex-direction: column; gap: 0.5rem; background: var(--stone); border: 1px solid var(--stone-dark); border-radius: var(--radius); padding: 1.5rem; text-decoration: none; color: inherit; transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s; }
.service-card:hover, .service-card:focus-visible { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(18,38,58,0.12); border-color: var(--brass); }
.service-card h3 { font-size: 1.15rem; margin: 0; }
.service-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.service-card .eyebrow { margin-bottom: 0; }
.service-card .link { margin-top: auto; padding-top: 0.6rem; font-weight: 700; color: var(--brass); }
.service-card .link::after { content: " \2192"; }
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: stretch; }
.price-card { background: var(--white); border: 1px solid var(--stone-dark); border-radius: var(--radius); padding: 1.8rem; display: flex; flex-direction: column; gap: 0.4rem; box-shadow: 0 4px 18px rgba(18,38,58,0.06); }
.price-card.featured { background: var(--navy); color: var(--white); border-color: var(--navy); box-shadow: var(--shadow); }
.price-card.featured h3, .price-card.featured .price, .price-card.featured .price small, .price-card.featured a { color: var(--white); }
.price-card.featured .eyebrow { color: var(--brass-light); }
.price-card.featured .muted { color: rgba(255,255,255,0.75); }
.price-card.featured .check-list li::before { border-color: var(--brass-light); }
.price-card h3 { font-size: 1.2rem; margin: 0; }
.price-card .price { font-size: 2rem; margin: 0.4rem 0 0; }
.price-card .price small { display: inline-block; font-size: 0.85rem; margin-left: 0.4rem; }
.price-card .check-list { margin: 0.8rem 0 1rem; font-size: 0.95rem; flex: 1; }
.price-card .muted.small { margin: 0; }
.price-card a { color: var(--brass); font-weight: 600; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.75); padding: 3rem 0 2rem; font-size: 0.9rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.site-footer h4 { color: var(--white); font-family: var(--font); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; }
.site-footer a { color: rgba(255,255,255,0.75); text-decoration: none; display: block; margin-bottom: 0.4rem; }
.site-footer a:hover { color: var(--brass-light); }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2rem; padding-top: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.8rem; }

/* Prose pages */
.prose { max-width: 46rem; padding: 3rem 0 5rem; }
.prose h2 { font-size: 1.4rem; margin-top: 2rem; }

@media (max-width: 960px) {
  .hero-grid, .split, .detail-grid, .quote-grid { grid-template-columns: 1fr; }
  .portal { grid-template-columns: 1fr; }
  .filters { position: static; }
  .side-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery figure:first-child { grid-row: span 1; }
}
@media (max-width: 720px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.5rem; gap: 0.9rem; }
  .nav.open { display: flex; }
  .nav-toggle { display: inline-block; }
  .footer-grid { grid-template-columns: 1fr; }
}
