/* Brand: Deep Navy #1B2B4B, Warm Gold #C9A84C, Warm White #F8F4EF, Charcoal #2C2C2C.
   Gold is used only on navy backgrounds or as decoration (it fails contrast on warm white). */
:root {
  --navy: #1B2B4B;
  --navy-deep: #14203a;
  --gold: #C9A84C;
  --white: #F8F4EF;
  --paper: #ffffff;
  --charcoal: #2C2C2C;
  --muted: #5a5f6b;
  --line: #e4ddd2;
  --radius: 6px;
  /* Colour roles. Text tints used on navy surfaces, one soft gold, control edges and focus rings. */
  --gold-soft: #d9bc66;          /* gold text on navy, and the gold button hover fill */
  --on-navy: #e9edf5;
  --on-navy-muted: #d3daea;
  --on-navy-subtle: #c9d1e2;
  --on-navy-faint: #aab4cb;
  --border-control: #8f877b;     /* form control edges: 3:1 or better on white and on warm white */
  --focus-ring: var(--navy);
  --focus-ring-on-dark: var(--gold);
  /* Type scale. Fluid display sizes (h1, h2, hero) stay as clamp() values below. */
  --text-caption: .8125rem;      /* 13px: labels, hints, legal */
  --text-small: .9375rem;        /* 15px: nav, form labels, secondary copy */
  --text-body: 1.0625rem;        /* 17px */
  --text-lead: 1.1875rem;        /* 19px */
  --text-h3: 1.5rem;
  --text-h3-lg: 1.75rem;
  --text-stat: 2rem;
  --measure: 38em;               /* about 65-70 characters of Inter at any font size */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --max: 1280px;
  /* Motion. Strong ease-out for anything entering or responding; never ease-in on UI. */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --dur-press: 160ms;
  --dur-hover: 180ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  margin: 0;
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: var(--text-body);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color var(--dur-hover) var(--ease-out), text-decoration-color var(--dur-hover) var(--ease-out); }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.site-header :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .section--navy :focus-visible, .site-footer :focus-visible, .card--feature :focus-visible, .contact-box :focus-visible, .skip-link:focus-visible { outline-color: var(--focus-ring-on-dark); }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }

h1, h2, h3 { text-wrap: balance; font-family: var(--serif); color: var(--navy); margin: 0 0 .6em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 3.9rem); line-height: 1.1; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: 1.2; }
h3 { font-size: var(--text-h3); line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lead { font-size: var(--text-lead); color: var(--muted); max-width: var(--measure); }
.eyebrow { font-size: var(--text-caption); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-block; padding: .85rem 1.5rem; border-radius: var(--radius);
  background: var(--navy); color: #fff; text-decoration: none; font-weight: 600; font-size: 1rem;
  border: 2px solid var(--navy); cursor: pointer; font-family: var(--sans); line-height: 1.2;
  transition: background-color var(--dur-hover) var(--ease-out), border-color var(--dur-hover) var(--ease-out), color var(--dur-hover) var(--ease-out), transform var(--dur-press) var(--ease-out), box-shadow var(--dur-hover) var(--ease-out);
}
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline { background: transparent; color: var(--navy); }
.btn--small { padding: .55rem 1.1rem; font-size: var(--text-small); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* Header */
.site-header { background: transparent; color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 3px solid var(--gold); view-transition-name: site-header; }
/* Glass: tinted navy with a blur, on its own layer. Kept at 88% so the small gold text stays above 4.5:1 over a white page. */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(27,43,75,.88);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); transition: opacity .25s var(--ease-out); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .site-header::before { background: var(--navy); } }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.brand { text-decoration: none; color: #fff; display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: var(--text-h3-lg); font-weight: 600; letter-spacing: -.01em; }
.brand-broker { font-size: var(--text-caption); color: #fff; margin-top: .2rem; }
.brand-sub { font-size: var(--text-caption); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); margin-top: .15rem; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 1.6rem; margin: 0; padding: 0; }
.site-nav a:not(.btn) { display: inline-block; padding-block: .5rem; white-space: nowrap; }
.site-nav a { color: #fff; text-decoration: none; font-weight: 500; font-size: var(--text-small); }
.site-nav a[aria-current]:not(.btn) { color: var(--gold); }
/* White and gold are only 2.3:1 apart, so the current page also gets an underline. */
.site-nav a[aria-current]:not(.btn) { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.site-nav .btn { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; transition: transform var(--dur-press) var(--ease-out); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 26px; height: 2px; background: #fff; position: relative; content: "";
}
.nav-toggle-bars::before { position: absolute; top: -8px; }
.nav-toggle-bars::after { position: absolute; top: 8px; }

@media (max-width: 1200px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: rgba(20,32,58,.92); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
    border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.12); padding: 1rem;
    opacity: 0; transform: translateY(-8px);
    transition: opacity 140ms var(--ease-out), transform 140ms var(--ease-out), display 140ms allow-discrete; }
  .site-nav.is-open { display: block; opacity: 1; transform: none; transition-duration: 220ms; }
  @starting-style { .site-nav.is-open { opacity: 0; transform: translateY(-8px); } }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .lead, .section--navy .eyebrow { color: var(--on-navy-subtle); }
.section--navy a:not(.btn) { color: var(--gold); }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }

.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--on-navy); padding: clamp(3.5rem, 9vw, 7rem) 0; position: relative; }
.hero::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--gold), transparent 60%); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .eyebrow { color: var(--gold); }
.hero .lead { color: var(--on-navy-muted); }

/* Hero with a family photo: dark fade on the left keeps the text readable */
.hero--photo { padding: 0; overflow: hidden; background: var(--navy-deep); }
.hero--photo .hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 68%; }
.hero--photo .hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; display: block;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
.hero--photo .hero__media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,32,58,.55) 0%, rgba(20,32,58,.15) 40%, rgba(20,32,58,0) 70%); }
.hero--photo .hero__inner { position: relative; z-index: 1; padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.hero--photo .hero__inner > * { max-width: 36rem; }
.hero--photo .hero__inner h1 { max-width: 15ch; }
.hero--photo .lead { color: #fff; }
.hero__serving { margin: 1.1rem 0 0; font-size: var(--text-small); letter-spacing: .02em; color: var(--gold-soft); }
@media (max-width: 860px) {
  .hero--photo .hero__media { position: relative; width: 100%; height: 280px; }
  .hero--photo .hero__media img { -webkit-mask-image: none; mask-image: none; object-position: 100% 60%; }
  .hero--photo .hero__media::after { background: linear-gradient(180deg, rgba(20,32,58,.05) 0%, rgba(20,32,58,.35) 55%, var(--navy-deep) 100%); }
  .hero--photo .hero__inner { padding-top: 1.25rem; padding-bottom: 3rem; }
  .hero--photo .hero__inner > * { max-width: none; }
  .hero--photo .hero__panel { padding: 0; }
}

.page-hero { background: var(--navy); color: var(--on-navy); padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.3rem); margin-bottom: .4em; }
.page-hero .lead { color: var(--on-navy-muted); margin-bottom: 0; }
.page-hero .eyebrow { color: var(--gold); }

/* Cards and grids */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; border-top: 3px solid var(--gold); }
.section--paper .card { background: var(--white); }
.card h3 { margin-bottom: .4em; }
.card p { max-width: var(--measure); }
.card p:last-child { margin-bottom: 0; }
.card-link { display: block; text-decoration: none; color: inherit; }
.card-link .more { color: var(--navy); font-weight: 600; margin-top: 1rem; display: inline-block; padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size var(--dur-hover) var(--ease-out); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.steps li { counter-increment: step; position: relative; padding-top: 3.4rem; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--gold); color: var(--navy); font-family: var(--serif); font-size: var(--text-h3); font-weight: 700;
  display: grid; place-items: center;
}
.section--navy .steps li { color: var(--on-navy-muted); }

.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checklist li { padding-left: 1.7rem; position: relative; margin-bottom: .6rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .6em; width: .7rem; height: .7rem; background: var(--gold); border-radius: 50%; }

.prose { max-width: 46rem; }
/* A reading column sits on the same left edge as the header and hero, not centred in the page. */
.container.prose { width: min(100% - 2rem, 46rem); margin-left: max(1rem, calc((100% - var(--max)) / 2)); margin-right: auto; }
.prose > p, .prose > ul, .prose > ol { max-width: var(--measure); }
.prose h2 { margin-top: 2.2rem; }
.prose ul { padding-left: 1.2rem; }

/* Profile card: portrait with a gold offset frame, details beside it */
.profile-card { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.portrait { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 4px; box-shadow: 14px 14px 0 var(--gold); }
.portrait--placeholder { display: grid; place-items: center; background: var(--navy); color: var(--gold); font-family: var(--serif); font-size: clamp(4rem, 12vw, 6rem); font-weight: 600; letter-spacing: .04em; }
.profile-name { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.7rem); line-height: 1.1; letter-spacing: -.01em; font-weight: 600; color: var(--navy); margin: 0; }
.profile-role { font-size: var(--text-caption); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin: .35rem 0 .2rem; }
.profile-brokerage { margin: 0 0 1.2rem; }
.profile-facts { margin: 0 0 .5rem; display: grid; gap: .5rem; }
.profile-facts div { display: grid; grid-template-columns: 5.5rem 1fr; gap: .5rem; border-top: 1px solid var(--line); padding-top: .5rem; }
.profile-facts dt { font-size: var(--text-caption); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding-top: .15rem; }
.profile-facts dd { margin: 0; overflow-wrap: anywhere; }
.profile-bio h2 { margin-bottom: .5rem; }
.profile-split { display: grid; gap: 3rem; }
@media (max-width: 720px) {
  .profile-card { grid-template-columns: 1fr; gap: 2rem; }
  .portrait { max-width: 260px; box-shadow: 10px 10px 0 var(--gold); margin-right: 10px; }
}

.card--feature { grid-column: 1 / -1; background: var(--navy); color: var(--on-navy); border-color: var(--navy); border-top-color: var(--gold); display: grid; gap: 1rem 2rem; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.section--paper .card--feature { background: var(--navy); }
.card--feature h3 { color: #fff; font-size: var(--text-stat); }
.card--feature p { margin: 0; }
.card--feature .btn { background: var(--gold); border-color: var(--gold); color: var(--navy); }
@media (max-width: 640px) { .card--feature { grid-template-columns: 1fr; } }
.faq details { border-top: 1px solid var(--line); padding: .9rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); padding-block: .2rem; }
.faq details p { margin: .7rem 0 0; }

.updated { font-size: var(--text-small); color: var(--muted); margin-bottom: 1.5rem; }
.table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 30rem; background: var(--paper); }
.table-wrap th, .table-wrap td { text-align: left; padding: .7rem .9rem; border: 1px solid var(--line); vertical-align: top; }
.table-wrap th { background: var(--navy); color: #fff; font-weight: 600; }
.note-box { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); padding: 1rem 1.2rem; margin: 1.5rem 0; font-size: var(--text-small); }
.sources { font-size: var(--text-small); color: var(--muted); margin-top: 2rem; }
.sources ul { padding-left: 1.2rem; }
.guide-list { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }

.area-list { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); margin-top: 1.5rem; }
.area-list h3 { font-size: var(--text-h3); margin-bottom: .2em; }
.area-list p { margin: 0; color: var(--muted); font-size: var(--text-small); }
.area-list > div { border-left: 3px solid var(--gold); padding-left: 1rem; }

/* Listings (IDX) slot. Style the myRealPage widget from here once the embed is live:
   it can be restyled with CSS, so scope every rule under .idx-embed. */
.idx-embed { min-height: 320px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.idx-embed a { color: var(--navy); }
.idx-pending { text-align: center; padding: 3rem 1rem; }
.idx-pending p { max-width: 34rem; margin-inline: auto; }
.idx-disclaimer { font-size: var(--text-caption); }

/* Forms */
.form { display: grid; gap: 1.1rem; max-width: 40rem; }
.form label { font-weight: 600; font-size: var(--text-small); display: block; margin-bottom: .3rem; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; padding: .8rem .9rem; border: 1px solid var(--border-control); border-radius: var(--radius);
  font: inherit; background: #fff; color: var(--charcoal);
}
.form textarea { min-height: 9rem; resize: vertical; }
.form .hint { display: block; margin-top: .3rem; font-size: var(--text-caption); color: var(--muted); }
.form .check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; font-size: var(--text-small); }
.form .check input { margin-top: .3rem; }
.form .hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
/* The status region stays in the layout so screen readers announce what is written into it. */
.form-status { border-radius: var(--radius); }
.form-status.is-ok, .form-status.is-error { padding: .9rem 1rem; }
.form-status.is-ok { background: #e7f2e8; color: #1d4a24; }
.form-status.is-error { background: #fbe9e7; color: #7a1f14; }
.contact-box { background: var(--navy); color: var(--on-navy); padding: 1.8rem; border-radius: var(--radius); border-top: 3px solid var(--gold); }
.contact-box h2 { color: #fff; font-size: var(--text-h3-lg); }
.contact-box a { color: var(--gold); }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--on-navy-subtle); padding: 3rem 0 2rem; font-size: var(--text-small); }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 2fr 1fr 1fr; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.15); }
.footer-name { font-family: var(--serif); font-size: var(--text-h3); letter-spacing: -.01em; color: #fff; margin-bottom: .3rem; }
.footer-heading { color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-size: var(--text-caption); font-weight: 600; margin-bottom: .6rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a { display: inline-block; padding-block: .2rem; }
.footer-links li { margin-bottom: .1rem; }
.footer-legal { padding-top: 1.5rem; font-size: var(--text-caption); color: var(--on-navy-faint); }
.footer-legal p { margin-bottom: .6rem; }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }


/* Facts strip: short true numbers under the hero */
.facts-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); border-block: 1px solid var(--line); margin: 0; padding: 0; list-style: none; }
.facts-strip li { padding: 1.25rem 1rem; text-align: center; border-left: 1px solid var(--line); }
.facts-strip li:first-child { border-left: 0; }
.facts-strip strong { display: block; font-family: var(--serif); font-size: var(--text-stat); line-height: 1.1; color: var(--navy); }
.facts-strip span { display: block; font-size: var(--text-small); color: var(--muted); margin-top: .25rem; }
@media (max-width: 520px) { .facts-strip li:nth-child(odd) { border-left: 0; } .facts-strip li:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* Intro strip (home) */
.intro { background: var(--paper); border-bottom: 1px solid var(--line); padding: 2.5rem 0; }
.intro__inner { display: flex; gap: 2.5rem; align-items: center; }
.intro__photo { width: 200px; height: 200px; object-fit: cover; object-position: 50% 0%; flex: none; border: 4px solid var(--gold); }
.intro h2 { margin: 0 0 .6rem; }
.intro p { margin: 0 0 .7rem; max-width: var(--measure); }
.intro__legal { font-size: var(--text-small); color: var(--muted); }
.link-strong { color: var(--navy); font-weight: 600; text-decoration: underline; }
@media (max-width: 640px) { .intro__inner { flex-direction: column; align-items: flex-start; gap: 1.2rem; } .intro__photo { width: 140px; height: 140px; } }

/* Calculator */
.calc__inputs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 1rem 1.5rem; }
.calc .field { display: flex; flex-direction: column; gap: .35rem; }
.calc label { font-weight: 600; font-size: var(--text-small); }
.calc input { font: inherit; font-size: var(--text-body); padding: .7rem .85rem; border: 1px solid var(--border-control); background: #fff; color: var(--charcoal); width: 100%; box-sizing: border-box; border-radius: var(--radius); }
.calc .hint { font-size: var(--text-caption); color: var(--muted); }
.calc__results { background: var(--navy); color: #fff; padding: 1.5rem; margin-top: 1.5rem; border-radius: var(--radius); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 1.2rem 2rem; }
.calc__results span, .calc__gaps span { display: block; font-size: var(--text-small); }
.calc__results span { color: var(--gold-soft); }
.calc__results strong { font-family: var(--serif); font-size: var(--text-stat); line-height: 1.1; }
.calc__gaps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 1rem; margin-top: 1rem; }
.calc__gaps > div { background: #fff; border: 1px solid var(--line); padding: 1rem 1.2rem; border-radius: var(--radius); }
.calc__gaps span { color: var(--muted); }
.calc__gaps strong { font-size: var(--text-h3); color: var(--navy); }
.calc__fine { font-size: var(--text-caption); color: var(--muted); margin: 1.2rem 0; max-width: var(--measure); }
.calc select { font: inherit; font-size: var(--text-body); padding: .7rem .85rem; border: 1px solid var(--border-control); background: #fff; color: var(--charcoal); width: 100%; box-sizing: border-box; border-radius: var(--radius); }
.btn--ghost-dark { background: transparent; color: var(--navy); border-color: var(--navy); }

.tool-box { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); padding: 1rem 1.2rem; margin: 1.5rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.tool-box p { margin: 0; }
.tool-box strong { color: var(--navy); }
.tool-box > div { max-width: var(--measure); }
.tool-box .btn { flex: none; }
.cta-box { margin: 1.5rem 0; }

/* Polish pass */
.nav-toggle { min-width: 44px; min-height: 44px; }
.calc input[type=number] { font-variant-numeric: tabular-nums; }
.calc__results strong, .calc__gaps strong, .facts-strip strong { font-variant-numeric: lining-nums tabular-nums; }
@media (max-width: 520px) { .brand-sub { letter-spacing: .06em; font-size: .75rem; } }

/* ---- Home redesign: full-screen hero, open layout (desktop) ---- */
@media (min-width: 861px) {
  body:has(.hero--photo) .site-header { position: fixed; left: 0; right: 0; border-bottom-color: transparent; transition: border-color .25s var(--ease-out); }
  body:has(.hero--photo) .site-header::before { opacity: 0; }
  body:has(.hero--photo) .site-header::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; transition: opacity .25s var(--ease-out);
    background: linear-gradient(180deg, rgba(20,32,58,.85) 0%, rgba(20,32,58,.55) 60%, rgba(20,32,58,0) 100%); }
  body:has(.hero--photo) .site-header.is-scrolled { border-bottom-color: var(--gold); }
  body:has(.hero--photo) .site-header.is-scrolled::before { opacity: 1; }
  body:has(.hero--photo) .site-header.is-scrolled::after { opacity: 0; }
  .hero--photo { min-height: 100svh; display: flex; align-items: flex-end; }
  .hero--photo .hero__media { width: 100%; }
  .hero--photo .hero__media img { -webkit-mask-image: none; mask-image: none; object-position: 50% 70%; }
  .hero--photo .hero__media::after { background: linear-gradient(90deg, rgba(20,32,58,.88) 0%, rgba(20,32,58,.66) 45%, rgba(20,32,58,.05) 80%), linear-gradient(0deg, rgba(20,32,58,.55) 0%, rgba(20,32,58,0) 35%); }
  .hero--photo .hero__inner { width: min(100% - 2rem, var(--max)); padding-top: 9rem; padding-bottom: clamp(3.5rem, 9vh, 6rem); }
  .hero--photo .hero__inner h1 { font-size: clamp(3.6rem, 6.6vw, 6rem); font-weight: 500; line-height: 1.1; letter-spacing: -.01em; max-width: 13ch; }
  .hero--photo .hero__inner > * { max-width: 40rem; }
  .hero--photo .hero__inner .hero__panel > * { max-width: 34rem; }
  .hero--photo .hero__inner .hero__panel > :last-child { margin-bottom: 0; }
  .hero--photo .hero__inner h1 { max-width: 13ch; }
  .hero--photo .lead { font-size: var(--text-lead); line-height: 1.6; }
  .hero--photo::after { display: none; }
}

/* Open sections on the home page: fewer boxes, more air */
body:has(.hero--photo) .section .grid--3 > .card:not(.card-link):not(.card--feature) { background: transparent; border: 0; border-top: 1px solid var(--navy); border-radius: 0; padding: 1.4rem 0 0; }
body:has(.hero--photo) .section .grid--3 > .card:not(.card-link):not(.card--feature) h3 { font-size: var(--text-h3-lg); }
body:has(.hero--photo) .section-head h2 { font-weight: 500; }

/* Intro strip */
.intro { padding: clamp(3rem, 7vw, 5.5rem) 0; border-bottom: 0; }
.intro__photo { width: 260px; height: 320px; object-position: 50% 0%; border: 0; box-shadow: 14px 14px 0 var(--gold); margin-right: 14px; }
.intro h2 { font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 500; }
.intro p { font-size: var(--text-lead); }
@media (max-width: 640px) { .intro__photo { width: 160px; height: 200px; box-shadow: 8px 8px 0 var(--gold); } }

/* ---- Interaction layer ----
   Hover only where a real pointer exists (touch screens latch :hover). Press feedback applies everywhere. */
.card-link { transition: transform var(--dur-hover) var(--ease-out), box-shadow var(--dur-hover) var(--ease-out), border-color var(--dur-hover) var(--ease-out); }
.btn:active { transform: scale(.97); }
.card-link:active { transform: scale(.985); }
.nav-toggle:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) {
  a:hover { color: var(--navy-deep); text-decoration-color: currentColor; }
  .brand:hover { color: #fff; }
  .site-nav a:not(.btn):hover { color: var(--gold); }
  /* Links on navy keep a light colour on hover (the default hover colour is dark navy, which vanishes on navy). */
  .site-footer a:hover, .section--navy a:not(.btn):hover, .contact-box a:hover, .page-hero a:not(.btn):hover, .hero a:not(.btn):hover, .card--feature a:not(.btn):hover { color: var(--gold-soft); }
  .btn:hover { background: var(--navy-deep); color: #fff; }
  .btn--gold:hover, .site-nav .btn:hover, .card--feature .btn:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--navy); }
  .btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
  .btn--outline:hover { background: var(--navy); color: #fff; }
  .btn--ghost-dark:hover { background: rgba(27,43,75,.08); color: var(--navy); }
  .card-link:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(27,43,75,.10); }
  .card-link:hover:active { transform: scale(.985); }
  /* Buttons rise 2px with a soft shadow on hover and press back down on click. */
  .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(20,32,58,.24); }
  .btn--ghost:hover, .site-nav .btn:hover, .card--feature .btn:hover, .btn--gold:hover { box-shadow: 0 8px 18px rgba(8,14,28,.32); }
  .btn:hover:active { transform: scale(.97); box-shadow: none; }
  .card-link:hover .more { background-size: 100% 2px; }
}

/* Touch screens have no hover, so the pop happens while a finger is down and settles on release. */
@media (hover: none) {
  .btn:active { transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 18px rgba(20,32,58,.28); }
  .btn--ghost:active, .site-nav .btn:active, .card--feature .btn:active, .btn--gold:active { box-shadow: 0 8px 18px rgba(8,14,28,.36); }
  .card-link:active { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(27,43,75,.14); }
}

/* Photos get a hairline edge so they hold their shape against the page ground. */
.portrait, .intro__photo { outline: 1px solid oklch(0 0 0 / .1); outline-offset: -1px; }

/* Entrance: each hero rises into place once on load. Nothing else moves on scroll. */
@keyframes enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes enter-fade { from { opacity: 0; } to { opacity: 1; } }
.hero__inner > *, .page-hero .container > * { animation: enter 560ms var(--ease-out) both; }
.hero__inner > :nth-child(2), .page-hero .container > :nth-child(2) { animation-delay: 70ms; }
.hero__inner > :nth-child(3), .page-hero .container > :nth-child(3) { animation-delay: 140ms; }
.hero__inner > :nth-child(4), .page-hero .container > :nth-child(4) { animation-delay: 210ms; }
.hero__inner > :nth-child(n+5), .page-hero .container > :nth-child(n+5) { animation-delay: 280ms; }

/* Reduced motion: no movement and no scaling; colour and opacity changes stay. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:active, .btn:hover, .btn:hover:active, .card-link:active, .nav-toggle:active { transform: none; box-shadow: none; }
  .card-link:hover, .card-link:hover:active { transform: none; }
  .hero__inner > *, .page-hero .container > * { animation-name: enter-fade; animation-duration: 240ms; }
}

/* Inputs and selects share one height so rows of fields line up. */
.calc input, .calc select, .form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select { min-height: 3.25rem; }

/* Linked cards: the "more" line sits on one baseline across a row. */
.card-link { display: flex; flex-direction: column; align-items: flex-start; }
.card-link .more { margin-top: auto; padding-top: 1rem; align-self: flex-start; }
.card-link p { margin-bottom: 0; }
.card-link h3 + p { margin-top: 0; }
.contact-box { align-self: start; }

/* ---- Glass ----
   The home hero text sits on one frosted panel (desktop only; on a phone the text already sits on solid navy). */
@media (min-width: 861px) {
  .hero--photo .hero__panel { padding: clamp(1.75rem, 3vw, 2.75rem); border-radius: 22px; border: 1px solid rgba(255,255,255,.2);
    background: linear-gradient(180deg, rgba(20,32,58,.50), rgba(20,32,58,.42));
    -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 24px 60px rgba(8,14,28,.35); }
  .hero--photo .hero__media::after { background: linear-gradient(90deg, rgba(20,32,58,.62) 0%, rgba(20,32,58,.4) 45%, rgba(20,32,58,.05) 80%), linear-gradient(0deg, rgba(20,32,58,.5) 0%, rgba(20,32,58,0) 35%); }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero--photo .hero__panel { background: rgba(20,32,58,.8); }
}

/* ---- Page transitions ----
   Pages crossfade in about 200ms. The header holds still while the page behind it changes.
   Browsers without support (Firefox today) just load the next page normally. */
@view-transition { navigation: auto; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
::view-transition-old(root) { animation: vt-out 120ms var(--ease-out) both; }
::view-transition-new(root) { animation: vt-in 220ms var(--ease-out) both; }
::view-transition-group(site-header) { animation-duration: 0s; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .site-nav, .site-nav.is-open { transition-duration: .01ms; transform: none; }
}

/* ---- Desktop layout (1000px and up). Phones and tablets are untouched. ----
   Wider wrap, long-form pages in two columns (reading column and an "On this page" rail),
   and section pages with the heading on the left and the body on the right. */
.doc-aside { display: none; }
@media (min-width: 1000px) {
  .container { width: min(100% - 4rem, var(--max)); }
  .hero--photo .hero__inner { width: min(100% - 4rem, var(--max)); }
  .page-hero .lead { max-width: 40em; }

  .doc { display: grid; grid-template-columns: minmax(0, 46rem) minmax(16rem, 21rem); justify-content: space-between; gap: 4rem; align-items: start; }
  .doc .prose { max-width: none; }
  .doc-aside { display: block; position: sticky; top: 7rem; padding: 1.4rem 1.5rem; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); font-size: var(--text-small); }
  .doc-aside__title { margin: 0 0 .6rem; font-size: var(--text-caption); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
  .doc-aside ol { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .1rem; }
  .doc-aside ol a { display: block; padding: .35rem 0 .35rem .8rem; border-left: 2px solid var(--line); color: var(--navy); text-decoration: none; line-height: 1.35; transition: border-color var(--dur-hover) var(--ease-out), color var(--dur-hover) var(--ease-out); }
  .doc-aside__contact { margin: 0; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); }

  .container.prose { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(0, 2.3fr); column-gap: 4rem; align-items: start; width: min(100% - 4rem, var(--max)); max-width: none; margin-inline: auto; }
  .container.prose > h2:first-child { grid-column: 1; grid-row: 1 / span 40; position: sticky; top: 7rem; margin: 0; }
  .container.prose > :not(h2:first-child) { grid-column: 2; }
  .container.prose > :nth-child(2) { margin-top: 0; }

  .guide-list, .area-list { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
}
@media (min-width: 1000px) and (hover: hover) and (pointer: fine) {
  .doc-aside ol a:hover { border-left-color: var(--gold); color: var(--navy-deep); }
}

/* Inner pages: the header is solid navy at the top (it sits against the hero) and turns to glass once the page scrolls under it. */
@media (min-width: 1000px) {
  body:not(:has(.hero--photo)) .site-header::before { background: var(--navy); }
  body:not(:has(.hero--photo)) .site-header.is-scrolled::before { background: rgba(27,43,75,.88); }
  body:not(:has(.hero--photo)) .site-header::before { transition: background-color .25s var(--ease-out); }
}

/* Social links: platform icons only, each with a text label for screen readers. */
.social { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 0; padding: 0; }
.social__link { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); color: #fff; text-decoration: none;
  transition: background-color var(--dur-hover) var(--ease-out), border-color var(--dur-hover) var(--ease-out), color var(--dur-hover) var(--ease-out), transform var(--dur-press) var(--ease-out); }
.social__link svg { width: 20px; height: 20px; fill: currentColor; }
.social__link:active { transform: scale(.94); }
.contact-box .social__link { color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .site-footer .social__link:hover, .contact-box .social__link:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--navy); transform: translateY(-2px); }
  .site-footer .social__link:hover:active, .contact-box .social__link:hover:active { transform: scale(.94); }
}
@media (prefers-reduced-motion: reduce) { .social__link:active, .social__link:hover, .social__link:hover:active { transform: none; } }

/* Social icons: Simple Icons (CC0); LinkedIn glyph from Font Awesome Free 7.1 (CC BY 4.0, fontawesome.com) */

/* Footer phone and email emoji */
.footer-contact .fc-ico{display:inline-block;width:1.4em;text-align:center;margin-right:.2em;text-decoration:none}

/* Footer lockup: name on one line, corporation on the next (matches the header) */
.footer-name .footer-sub { display: block; font-family: var(--sans, inherit); font-size: var(--text-caption); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); margin-top: .2rem; }
@media (max-width: 520px) { .footer-name .footer-sub { letter-spacing: .06em; font-size: .75rem; } }

/* ---- Homepage, Nov 2026 ----
   Hero: the h1 says what and where in a small label; the big serif line stays the display line. */
.hero--photo .hero__inner h1.hero__label { max-width: none; }
.hero .hero__label { font-family: var(--sans); font-size: var(--text-small); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; color: var(--gold-soft); margin: 0 0 1rem; max-width: none; }
.hero__display { font-family: var(--serif); color: #fff; font-size: clamp(2.4rem, 5.5vw, 3.9rem); line-height: 1.1; font-weight: 600; letter-spacing: -.01em; margin: 0 0 .6em; max-width: 15ch; text-wrap: balance; }
@media (min-width: 861px) {
  .hero--photo .hero__inner h1.hero__label { font-size: var(--text-small); font-weight: 600; line-height: 1.4; letter-spacing: .12em; max-width: none; }
  .hero--photo .hero__inner .hero__display { font-size: clamp(3.6rem, 6.6vw, 6rem); font-weight: 500; max-width: 13ch; }
}

/* Three across on desktop, one column below, so a row of three never leaves a hole. */
.grid--thirds { grid-template-columns: 1fr; }
@media (min-width: 900px) { .grid--thirds { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Area price cards: photo, benchmark price, five-year line, two links. */
body:has(.hero--photo) .section .grid--3 > .card.area-stat:not(.card-link):not(.card--feature),
.card.area-stat { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.area-stat__photo { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.area-stat[data-geo="3597700"] .area-stat__photo { object-position: 50% 30%; }
.area-stat__body { padding: 1.5rem 1.6rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.area-stat h3 { margin-bottom: .5rem; }
.area-stat__price { font-family: var(--serif); font-size: var(--text-stat); font-weight: 600; line-height: 1.1; color: var(--navy); margin: 0 0 .5rem; font-variant-numeric: lining-nums tabular-nums; }
.area-stat__trend { font-size: var(--text-small); color: var(--muted); margin: 0 0 1rem; }
.area-stat__spark { display: block; width: 100%; height: 48px; margin: 0 0 1rem; overflow: visible; }
.area-stat__spark path { fill: none; stroke: var(--navy); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.area-stat__links { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-direction: column; align-items: flex-start; }
.area-stat__links a { display: inline-block; padding-block: .6rem; font-weight: 600; }
.grid--thirds + .btn-row { margin-top: 2rem; }

/* Homepage: "How I can help" list beside the "How it works" steps panel */
.help-split { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 860px) { .help-split { grid-template-columns: 1fr; } }
.help-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.help-list li { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.help-list h3 { margin: 0 0 .3rem; }
.help-list p { margin: 0; color: var(--muted); max-width: var(--measure); }
.help-list a { font-weight: 600; color: var(--navy); }
.how-box { background: var(--navy); color: var(--on-navy-muted); border-radius: var(--radius); border-top: 3px solid var(--gold); padding: 2rem; }
.how-box h3 { color: #fff; }
.how-box .eyebrow { color: var(--on-navy-subtle); }
.how-box a.btn:focus-visible { outline-color: var(--focus-ring-on-dark); }
.v-steps { list-style: none; counter-reset: vstep; margin: 1rem 0 0; padding: 0; }
.v-steps li { counter-increment: vstep; position: relative; padding: 0 0 1.4rem 3.2rem; }
.v-steps li::before { content: counter(vstep); position: absolute; left: 0; top: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold-soft); display: grid; place-items: center; font-weight: 600; }
.v-steps h4 { color: #fff; margin: .2rem 0 .3rem; font-family: var(--sans); font-size: var(--text-body); }
.v-steps p { margin: 0; }

/* Moving Up: "Three numbers that decide the order" with the calculator, in one card */
.numcalc { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.5rem); }
.numcalc__head { margin-bottom: 2rem; }
.numcalc .calc__gaps > div { background: var(--white); }
.numcalc > .calc__fine { margin: 1.5rem 0 0; }
.numstep { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 1.2rem; position: relative; padding-bottom: 2.2rem; }
.numstep::before { content: ""; position: absolute; left: 1.25rem; top: 2.6rem; bottom: 0; width: 2px; background: var(--line); }
.numstep--last { padding-bottom: 0; }
.numstep--last::before { display: none; }
.numstep__n { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-weight: 700; font-family: var(--serif); font-size: 1.4rem; position: relative; }
.numstep__lead { font-size: var(--text-lead); margin: .35rem 0 1rem; max-width: 46rem; }
.numstep__text { max-width: var(--measure); }
.numstep__text--strong { font-weight: 600; color: var(--navy); }
.numstep__inputs { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.numstep__inputs--one { max-width: 22rem; }
.numstep .calc__results { margin-top: 1rem; }
.numstep .btn-row { margin-top: .5rem; }
.numstep__result { margin-top: 1rem; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 1rem 1.5rem; display: flex; flex-wrap: wrap; gap: .3rem 1.5rem; align-items: baseline; }
.numstep__result span { color: var(--gold-soft); font-size: var(--text-small); }
.numstep__result strong { font-family: var(--serif); font-size: var(--text-stat); line-height: 1.1; font-variant-numeric: lining-nums tabular-nums; }
@media (max-width: 560px) {
  .numstep { grid-template-columns: 2.1rem minmax(0, 1fr); gap: .8rem; }
  .numstep::before { left: 1rem; top: 2.1rem; }
  .numstep__n { width: 2.1rem; height: 2.1rem; font-size: 1.15rem; }
}

/* ===== Homepage refresh (Nov 2026) ===== */
/* Italic accent word in headlines */
h1 em, h2 em, .hero__display em { font-family: var(--serif); font-style: italic; font-weight: 500; }

/* Hero: full-bleed photo, tagline straight on the image (no frosted panel) */
@media (min-width: 861px) {
  .hero--bleed .hero__panel { padding: 0; border: 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
  .hero--bleed .hero__media::after { background: linear-gradient(90deg, rgba(20,32,58,.9) 0%, rgba(20,32,58,.7) 38%, rgba(20,32,58,.15) 75%), linear-gradient(0deg, rgba(20,32,58,.6) 0%, rgba(20,32,58,0) 40%); }
  .hero--bleed .hero__inner .hero__display { max-width: 11ch; }
}

/* Proof strip: big serif numbers */
.facts--proof { background: var(--paper); padding: 0 0 clamp(2.5rem, 5vw, 4rem); }
.facts--proof .facts-strip { border-block: 1px solid var(--line); }
.facts--proof .facts-strip li { padding: clamp(1.4rem, 3vw, 2.2rem) 1rem; }
.facts--proof .facts-strip strong { font-size: clamp(2.8rem, 5vw, 4.2rem); font-weight: 500; line-height: 1; letter-spacing: -.01em; }
.facts--proof .facts-strip span { margin-top: .6rem; font-size: var(--text-small); }

/* Centered section heads */
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .lead { margin-inline: auto; }

/* "How can I help?" three-way fork */
.fork { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.fork__item { padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.2rem, 3vw, 2.4rem); display: flex; flex-direction: column; align-items: flex-start; }
.fork__item + .fork__item { border-left: 1px solid var(--line); }
.fork__item h3 { font-size: var(--text-h3-lg); font-weight: 500; margin-bottom: .5rem; }
.fork__item p { color: var(--muted); margin: 0 0 1.2rem; }
.fork__link { margin-top: auto; color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.fork__link:hover { color: #000; }
@media (max-width: 860px) {
  .fork { grid-template-columns: 1fr; }
  .fork__item { padding-inline: 0; }
  .fork__item + .fork__item { border-left: 0; border-top: 1px solid var(--line); }
}
.how-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2rem; padding: 1.2rem 1.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.how-strip__title { margin: 0; font-size: var(--text-caption); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.how-strip ol { list-style: none; counter-reset: hs; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem 2rem; flex: 1; }
.how-strip li { counter-increment: hs; display: flex; gap: .6rem; align-items: flex-start; flex: 1 1 14rem; }
.how-strip li::before { content: counter(hs); flex: none; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: var(--text-caption); }
.how-strip strong { display: block; color: var(--navy); font-size: var(--text-small); }
.how-strip span { display: block; color: var(--muted); font-size: var(--text-caption); }

/* Typed search */
.home-search { display: flex; gap: .75rem; max-width: 46rem; margin: 0 auto; }
.home-search input[type=search] { flex: 1; min-width: 0; font: inherit; font-size: var(--text-lead); padding: .95rem 1.2rem; border: 1px solid var(--border-control); border-radius: 999px; background: #fff; color: var(--charcoal); min-height: 3.5rem; }
.home-search input[type=search]:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.home-search .btn { border-radius: 999px; white-space: nowrap; }
.home-search__note { text-align: center; color: var(--muted); font-size: var(--text-small); margin: 1rem auto 0; max-width: 40rem; }
@media (max-width: 600px) { .home-search { flex-direction: column; } }

/* City snapshot cards in the navy listings band */
.snap-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.snap { display: flex; flex-direction: column; gap: .35rem; padding: 1.4rem; border: 1px solid rgba(255,255,255,.18); border-top: 3px solid var(--gold); border-radius: var(--radius); background: rgba(255,255,255,.04); color: var(--on-navy-muted); text-decoration: none; transition: background-color var(--dur-hover) var(--ease-out), transform var(--dur-hover) var(--ease-out); }
.section--navy a.snap { color: var(--on-navy-muted); }
.snap:hover { background: rgba(255,255,255,.09); transform: translateY(-2px); }
.snap__city { font-family: var(--serif); font-size: var(--text-h3); color: #fff; font-weight: 600; }
.snap__price { font-family: var(--serif); font-size: var(--text-stat); color: #fff; line-height: 1.1; font-variant-numeric: lining-nums tabular-nums; }
.snap__meta { font-size: var(--text-small); }
.snap__go { margin-top: auto; padding-top: .6rem; color: var(--gold-soft); font-weight: 600; }
.snap--budget { background: var(--gold); border-color: var(--gold); }
.section--navy a.snap--budget, .snap--budget .snap__city { color: var(--navy); }
.snap--budget .snap__go { color: var(--navy); text-decoration: underline; }
.snap--budget:hover { background: var(--gold-soft); }
.snap-note { margin: 1.5rem 0 0; font-size: var(--text-small); color: var(--on-navy-subtle); max-width: 50rem; }

/* Floating call or text card */
.call-card { position: fixed; left: 1rem; bottom: 1rem; z-index: 60; width: min(18rem, calc(100vw - 2rem)); background: #fff; color: var(--charcoal); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 1rem 1.1rem .9rem; box-shadow: 0 14px 40px rgba(8,14,28,.22); }
.call-card[hidden] { display: none; }
.call-card__close { position: absolute; top: .35rem; right: .4rem; width: 2rem; height: 2rem; border: 0; background: none; font-size: 1.4rem; line-height: 1; color: var(--muted); cursor: pointer; border-radius: 50%; }
.call-card__close:hover { background: var(--white); color: var(--navy); }
.call-card__name { margin: 0 2rem .4rem 0; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--navy); line-height: 1.15; }
.call-card__name span { display: block; font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .2rem; }
.call-card__cta { margin: 0 0 .6rem; font-size: var(--text-small); }
.call-card__cta a { color: var(--navy); font-weight: 600; }
.call-card__btns { display: flex; gap: .5rem; }
.call-card__btns .btn { flex: 1; justify-content: center; text-align: center; }
.call-card__legal { margin: .7rem 0 0; font-size: .72rem; line-height: 1.4; color: var(--muted); }
@media (max-width: 600px) { .call-card { left: .75rem; bottom: .75rem; width: min(16rem, calc(100vw - 1.5rem)); padding: .8rem .9rem .7rem; } .call-card__name { font-size: 1.1rem; } }
.call-card { opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility 0s linear .3s; }
.call-card.is-shown { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); }
@media (prefers-reduced-motion: reduce) { .call-card, .call-card.is-shown { transition: none; transform: none; } }
@media (max-width: 700px) {
  .how-strip { flex-direction: column; align-items: stretch; }
  .how-strip ol { flex-direction: column; }
  .how-strip li { flex: none; }
  .how-strip .btn { align-self: flex-start; }
}
@media (max-width: 600px) {
  .call-card { left: .5rem; right: .5rem; bottom: .5rem; width: auto; display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem; align-items: center; padding: .65rem 2.4rem .6rem .8rem; }
  .call-card__name { margin: 0; font-size: 1rem; }
  .call-card__name span { font-size: .6rem; letter-spacing: .08em; }
  .call-card__cta { display: none; }
  .call-card__btns .btn { padding: .45rem .8rem; }
  .call-card__legal { grid-column: 1 / -1; margin: .2rem 0 0; font-size: .65rem; }
  .call-card__close { top: .3rem; right: .2rem; }
}
@media (max-width: 600px) { body:has(.call-card.is-shown:not([hidden])) .site-footer { padding-bottom: 6.5rem; } }

/* ---- Seller-first home, Nov 2026 ----
   Hero: Jashan's portrait on the right, fading into navy, headline and one clear action on the left. */
.hero--portrait { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); }
.hero--portrait .hero__display { max-width: 18ch; }
.hero__more { margin: 1.4rem 0 0; font-size: var(--text-body); }
.hero__more a { color: #fff; font-weight: 600; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.hero__more a:hover { color: var(--gold-soft); }
.hero--portrait .btn-row { margin-bottom: 0; }
@media (min-width: 861px) {
  .hero--portrait.hero--photo .hero__media { left: auto; width: min(54%, 820px); }
  .hero--portrait.hero--photo .hero__media img { object-fit: cover; object-position: 50% 6%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%); mask-image: linear-gradient(90deg, transparent 0, #000 38%); }
  .hero--portrait.hero--photo .hero__media::after { background: linear-gradient(0deg, rgba(20,32,58,.55) 0%, rgba(20,32,58,0) 30%), linear-gradient(90deg, rgba(27,43,75,.35) 0%, rgba(27,43,75,0) 60%); }
  .hero--portrait.hero--photo .hero__inner > * { max-width: 44rem; }
  .hero--portrait.hero--photo .hero__inner .hero__panel > * { max-width: 36rem; }
  .hero--portrait.hero--photo .hero__inner .hero__display { font-size: clamp(2.6rem, 4.6vw, 4.4rem); font-weight: 500; line-height: 1.08; max-width: 17ch; }
  .hero--portrait.hero--photo .hero__inner { padding-top: 8rem; padding-bottom: clamp(3.5rem, 11vh, 6.5rem); align-self: center; }
  .hero--portrait.hero--photo { align-items: center; }
}
@media (max-width: 860px) {
  .hero--portrait.hero--photo .hero__media { height: clamp(360px, 54vw, 450px); }
  .hero--portrait.hero--photo .hero__media img { object-position: 50% 0%; }
  .hero--portrait.hero--photo .hero__media::after { background: linear-gradient(180deg, rgba(20,32,58,0) 45%, var(--navy-deep) 100%); }
  .hero--portrait .hero__display { font-size: clamp(2.1rem, 8.4vw, 2.9rem); max-width: none; }
}

/* Intro: heading beside the story, no second photo (the portrait is in the hero). */
.intro--text .intro__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.intro--text h2 { margin: 0; }
.intro--text p { max-width: 40rem; }
@media (max-width: 760px) { .intro--text .intro__inner { grid-template-columns: 1fr; gap: 1rem; } }

/* Four ways in: four across on wide screens, two by two on tablets, one column on a phone. */
.fork--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fork--four .fork__item h3 { font-size: var(--text-h3); }
@media (max-width: 1100px) and (min-width: 641px) {
  .fork--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fork--four .fork__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fork--four .fork__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) { .fork--four { grid-template-columns: 1fr; } }
@media (min-width: 861px) and (max-width: 1100px) {
  .hero--portrait.hero--photo .hero__inner .hero__panel > * { max-width: 26rem; }
  .hero--portrait.hero--photo .hero__inner .hero__display { max-width: 15ch; font-size: clamp(2.4rem, 4.6vw, 3rem); }
}

/* Keep the portrait clear of the header bar and blend it into the navy on every side (no visible photo edge). */
@media (min-width: 861px) {
  .hero--portrait.hero--photo .hero__media { top: 6.5rem; }
  .hero--portrait.hero--photo .hero__media img { object-position: 50% 0%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40%, #000 82%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 78%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0, #000 40%, #000 82%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 78%, transparent 100%);
    mask-composite: intersect; }
  .hero--portrait.hero--photo .hero__media::after { background: none; }
  .hero--portrait.hero--photo .hero__media { background: none; }
}

/* Wide tables on a phone: tighter cells so more columns show before the sideways scroll. */
@media (max-width: 640px) {
  .table-wrap .sa-table.sv-table th, .table-wrap .sa-table.sv-table td { padding: .5rem .45rem; font-size: .84rem; }
  .table-wrap .sa-table.sv-table th:first-child, .table-wrap .sa-table.sv-table td:first-child { min-width: 7.5rem; }
  .table-wrap { scrollbar-width: thin; }
}

/* Tablet tidy-up on the home page: three guide cards across, and the budget card spans the row under the three city cards. */
@media (min-width: 600px) { .grid--guides { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 600px) and (max-width: 1099px) { .snap-grid .snap--budget { grid-column: 1 / -1; } }

/* Plain buttons inside navy sections: gold, so they don't disappear into the navy (Dec 2026 fix). */
.section--navy .btn:not([class*="btn--"]) { background: var(--gold); border-color: var(--gold); color: var(--navy); }
@media (hover: hover) { .section--navy .btn:not([class*="btn--"]):hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--navy); } }

/* ==== Motion layer (Dec 2026) ====
   Only opacity, transform/translate, clip-path and background-size move, so nothing re-lays out and nothing shifts.
   All of it switches off for visitors who ask their device for reduced motion. */

/* Smooth fade between pages (browsers without support simply change page as before). */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
}

/* Scroll reveal: main.js adds .reveal to sections below the fold; they fade and rise once as they come into view. */
.motion-ok .reveal { opacity: 0; translate: 0 22px; transition: opacity .7s var(--ease-out), translate .7s var(--ease-out); transition-delay: var(--rd, 0ms); }
.motion-ok .reveal.is-in { opacity: 1; translate: 0 0; }

/* Opening banner: the portrait settles in with a slow zoom; a gold underline draws under "I've been there." */
@keyframes settle { from { transform: scale(1.07); } to { transform: none; } }
@keyframes ul-draw { to { background-size: 100% .08em; } }
.hero__ul { background: linear-gradient(var(--gold), var(--gold)) 0 92% / 100% .08em no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-bottom: .04em; }
@media (prefers-reduced-motion: no-preference) {
  .hero--photo .hero__media img, .svc-hero .svc-hero__img { animation: settle 3.6s cubic-bezier(.45, 0, .25, 1) both; }
  .hero__ul { background-size: 0 .08em; animation: ul-draw 3.6s cubic-bezier(.45, 0, .25, 1) forwards; } /* same length and easing as the photo zoom, so both finish together */
}

/* Cards lift with a shadow; area photos zoom gently inside their frame. */
.card.area-stat, .snap, .svc-tile, .svc-card { transition: transform var(--dur-hover, .2s) var(--ease-out), box-shadow var(--dur-hover, .2s) var(--ease-out), border-color var(--dur-hover, .2s) var(--ease-out); }
.area-stat__photo { transition: transform .8s var(--ease-out); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .card.area-stat:hover, .svc-tile:hover, a.svc-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(20,32,58,.14); }
  .snap:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,.28); }
  .card.area-stat:hover .area-stat__photo { transform: scale(1.05); }
  .card-link:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(20,32,58,.14); }
  /* Gold buttons get a warm gold glow under the lift. */
  .btn--gold:hover { box-shadow: 0 10px 26px rgba(201,168,76,.42), 0 4px 10px rgba(8,14,28,.22); }
}

/* Price cards: the line draws itself from 2005 to today when the card comes into view (main.js counts the price up alongside). */
.motion-ok .area-stat__spark.is-drawing { clip-path: inset(0 100% 0 0); animation: spark-draw 3.6s cubic-bezier(.45, 0, .25, 1) var(--sd, 0s) forwards; }
@keyframes spark-draw { to { clip-path: inset(0 0 0 0); } }

/* Reviews: the five stars pop in one by one each time a review comes up. */
.rv__stars span { display: inline-block; }
@keyframes star-in { from { opacity: 0; transform: scale(.3) rotate(-25deg); } 60% { opacity: 1; transform: scale(1.25); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .rv.is-ready .rv__item.is-active .rv__stars span { animation: star-in .5s var(--ease-out) both; animation-delay: calc(.15s + var(--i) * .09s); }
}

/* Header: the name tucks in slightly once the page scrolls. */
.brand { transform-origin: left center; transition: transform .3s var(--ease-out); }
@media (prefers-reduced-motion: no-preference) { .site-header.is-scrolled .brand { transform: scale(.92); } }

/* Guides: a thin gold reading-progress bar along the top (browsers with scroll timelines; others just skip it). */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .has-progress .site-header::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold-soft); transform-origin: 0 50%; transform: scaleX(0); animation: read-progress linear both; animation-timeline: scroll(root); z-index: 2; pointer-events: none; }
  }
  @keyframes read-progress { to { transform: scaleX(1); } }
}

/* Opening zoom without gaps (Dec 2026): the fade sits on the photo's frame and the photo zooms inside it,
   so the soft edges stay put and no hard edge or gap shows while the photo settles. */
.hero--photo .hero__media { overflow: hidden; }
.hero--photo .hero__media img { backface-visibility: hidden; }
@media (min-width: 861px) {
  .hero--portrait.hero--photo .hero__media {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40%, #000 82%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 78%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0, #000 40%, #000 82%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 78%, transparent 100%);
    mask-composite: intersect; }
  .hero--portrait.hero--photo .hero__media img { -webkit-mask-image: none; mask-image: none; transform-origin: 50% 0; }
}

/* ---- Mobile polish, Dec 3 2026 (Jashan's 6-point list) ---- */
/* 1. Slim call bar on phones: name + Call/Text only (SMS notice moved to the footer); page keeps clear of the bar. */
.footer-sms { font-size: var(--text-caption); }
@media (max-width: 600px) {
  .call-card { min-height: 4rem; padding: .5rem 2.4rem .5rem .8rem; row-gap: 0; }
  .call-card__legal { display: none; }
  body:has(#call-card:not([hidden])) .site-footer { padding-bottom: 6rem; }
}
/* 2. Softer navy fade under the hero portrait on phones and tablets. */
@media (max-width: 860px) {
  .hero--portrait.hero--photo .hero__media::after { background: linear-gradient(180deg, rgba(20,32,58,0) 0%, rgba(20,32,58,0) 38%, rgba(20,32,58,.18) 52%, rgba(20,32,58,.45) 66%, rgba(20,32,58,.78) 82%, rgba(20,32,58,.94) 92%, var(--navy-deep) 100%); }
  .hero--portrait .btn-row { margin-top: 1.25rem; }
}
/* 5. "Hi, I'm Jashan" on the same warm cream as "How can I help?". */
.intro { background: var(--white); }
/* Desktop: each area price card fits in one laptop screen (Dec 3 2026). */
@media (min-width: 900px) {
  .area-stat__photo { aspect-ratio: 16 / 8; }
  .area-stat__body { padding: 1.2rem 1.4rem 1rem; }
  .area-stat__trend, .area-stat__spark { margin-bottom: .75rem; }
  .area-stat__links a { padding-block: .35rem; }
}

/* About page client quotes (Dec 3 2026) */
figure.card { margin: 0; }
.card blockquote { margin: 0; }
.card blockquote p { font-size: 1.05rem; line-height: 1.55; }
.card figcaption { margin-top: .9rem; font-size: .9rem; color: var(--charcoal, #2C2C2C); }
/* ===== luxe polish (Dec 3 2026): depth, hairlines and quieter motion. Appended last so it wins. ===== */
::selection{background:var(--gold);color:var(--navy)}
.eyebrow{letter-spacing:.2em;display:inline-flex;align-items:center;gap:.8rem}
.eyebrow::before{content:"";width:1.75rem;height:1px;background:var(--gold);flex:none}
.svc-head .eyebrow::after,.section-head--center .eyebrow::after{content:"";width:1.75rem;height:1px;background:var(--gold);flex:none}
.page-hero,.section--navy{background:radial-gradient(120% 150% at 88% -10%,#2a3f6b 0%,var(--navy) 58%)}
.site-footer{border-top:1px solid rgba(201,168,76,.55)}
.site-nav a:not(.btn){background:linear-gradient(var(--gold),var(--gold)) 0 100%/0 1px no-repeat;transition:background-size .3s var(--ease-out),color .2s var(--ease-out)}
@media (hover:hover){.site-nav a:not(.btn):hover{background-size:100% 1px}}
.btn--gold{background-image:linear-gradient(135deg,#d8ba63 0%,#C9A84C 55%,#b9973f 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 8px 20px rgba(201,168,76,.22)}
@media (hover:hover){.btn--gold:hover{box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 12px 26px rgba(201,168,76,.32)}}
.card,.svc-card,.svc-tile{box-shadow:0 1px 2px rgba(20,32,58,.04),0 14px 34px rgba(20,32,58,.05)}
.facts--proof .facts-strip li{padding:2rem 1rem}
.facts-strip span{letter-spacing:.1em;text-transform:uppercase;font-size:.72rem;margin-top:.6rem}
.facts-strip strong.is-word{font-size:clamp(1.9rem,3.3vw,3rem);line-height:1.38}
.area-stat{overflow:hidden}
.area-stat__photo{transition:transform .9s var(--ease-out)}
@media (hover:hover){.area-stat:hover .area-stat__photo{transform:scale(1.045)}}
.fc-ico svg{width:1em;height:1em;vertical-align:-.12em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.contact-box .fc-ico,.footer-contact .fc-ico{color:var(--gold)}
@media (prefers-reduced-motion:reduce){.area-stat__photo,.site-nav a:not(.btn){transition:none}.area-stat:hover .area-stat__photo{transform:none}}

/* Area hub guide cards and hero chips (Dec 4, 2026) */
.grid--guides{grid-template-columns:1fr;gap:1.25rem}
@media (min-width:640px){.grid--guides{grid-template-columns:repeat(2,minmax(0,1fr))}.grid--guides>.is-wide{grid-column:span 2}}
@media (min-width:1100px){.grid--guides{grid-template-columns:repeat(4,minmax(0,1fr))}.grid--guides.grid--guides-3{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:639px){.grid--guides{gap:.75rem}.grid--guides .card{padding:1.25rem}.motion-ok .grid--guides>.reveal{transition-delay:0ms}}
.svc-chips ul{display:contents;list-style:none;margin:0;padding:0}
.page-hero .svc-chips{margin-top:1.75rem}
.page-hero .svc-chips a{background:transparent;color:#fff;border-color:rgba(255,255,255,.4);transition:border-color var(--dur-hover) var(--ease-out),transform var(--dur-press) var(--ease-out)}
.page-hero .svc-chips a:hover{border-color:rgba(255,255,255,.4)}
@media (hover:hover) and (pointer:fine){.page-hero .svc-chips a:hover{border-color:var(--gold-soft)}}
.page-hero .svc-chips a:active{transform:scale(.97)}
.svc-chips a,.card-link{-webkit-tap-highlight-color:transparent}
@media (prefers-reduced-motion:reduce){.page-hero .svc-chips a{transition:none}.page-hero .svc-chips a:active{transform:none}}
