/* Joanne Fernandes — site.css (Stage 2, October 2026)
   One stylesheet. Sections: fonts → tokens → base → typography → layout → components →
   header/nav/menu/quick-nav/callbar → footer → page-specific → motion → print.
   Light mode only (every page sets data-theme="light"). One small script, /assets/site.js, shows the cookie notice and closes the phone menu on Escape. */

/* ===== Fonts ===== */
@font-face{font-family:"Outfit";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/fonts/outfit-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Outfit";font-style:normal;font-weight:500;font-display:swap;src:url("/assets/fonts/outfit-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:"Newsreader";font-style:normal;font-weight:200 800;font-display:swap;src:url("/assets/fonts/newsreader-latin-wght-normal.woff2") format("woff2")}

/* ===== Tokens ===== */
:root {
  color-scheme: light;
  --ground: #FBF9F5;
  --surface: #F3EFE7;
  --tint: #E7F0EC;
  --white: #FFFFFF;
  --ink: #1B1F1E;
  --muted: #5A6360;
  --brand: #143A33;
  --forest: #1F5A4E;
  --accent: #B98A3C;
  --accent-text: #8A6420; /* numerals: meets contrast on ground, surface and tint */
  --line: #D9D3C7;
  --line-strong: #7F918C;
  --focus: #1F5A4E;
  --error: #9B2C2C;

  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-sans: "Outfit", system-ui, sans-serif;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --radius: 4px;
  --radius-img: 8px;
  --container-max: 1200px;
  --gutter: 40px;
  --section-y: 88px;
  --section-y-tight: 56px;
  --header-h: 76px;
  --measure: 62ch;

  --ease: cubic-bezier(.2,.7,.2,1);
  --dur: 200ms;
}
@media (max-width: 600px) {
  :root { --gutter: 20px; --section-y: 56px; --section-y-tight: 40px; }
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; display: flex; flex-direction: column;
  background: var(--ground); color: var(--ink);
  font: 400 17px/1.6 var(--font-sans); -webkit-font-smoothing: antialiased;
}
main { flex: 1 0 auto; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
figure { margin: 0; }
p, ul, ol, dl, blockquote { margin: 0; }
a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }
a[href^="tel:"] { white-space: nowrap; }
strong { font-weight: 500; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
p, li, dd { text-wrap: pretty; }

.skip { position: absolute; left: -9999px; top: var(--s3); z-index: 60; background: var(--brand); color: var(--ground); padding: 10px 16px; border-radius: var(--radius); font-weight: 500; text-decoration: none; }
.skip:focus { left: var(--s4); outline-color: var(--brand); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.print-only { display: none; }
.nowrap { white-space: nowrap; }

/* ===== Typography ===== */
h1, h2, h3 { margin: 0; font-family: var(--font-serif); font-weight: 500; color: var(--brand); letter-spacing: -0.01em; text-wrap: balance; }
h1, .page-title { font-size: clamp(38px, 2rem + 1.4vw, 56px); line-height: 1.08; }
h2, .h2 { font-size: clamp(28px, 1.5rem + .7vw, 36px); line-height: 1.12; }
h3 { font-size: clamp(20px, 1.2rem + .15vw, 22px); line-height: 1.25; }
.h2-sm { font-size: clamp(26px, 1.4rem + .5vw, 32px); }
.lead { font-size: clamp(17px, 1rem + .2vw, 19px); line-height: 1.55; color: var(--muted); max-width: var(--measure); }
.meta, .note, .muted, .small-print, .faq-note, .hint, .reply-line, .after-stages, .privacy-note, .quote-alt, .free-call, .intro-map-text, .img-credit, .form-privacy { font-size: 14px; line-height: 1.5; color: var(--muted); }
.note, .small-print, .faq-note, .privacy-note, .after-stages { max-width: var(--measure); }
.img-credit, .intro-figure figcaption, .map-credit { font-size: 12px; line-height: 1.45; }

.jo-eyebrow, .label-sm {
  display: inline-flex; align-items: center; gap: var(--s3);
  font: 500 12px/1.4 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  margin: 0; max-width: none; white-space: normal;
}
.jo-eyebrow::before { content: ""; flex: none; width: 28px; height: 1px; background: var(--accent); }
.label-sm { margin-bottom: var(--s4); }
.label-sm svg { width: 14px; height: 14px; color: var(--forest); flex: none; }
.prose .label-sm { margin: 0; }

/* ===== Layout ===== */
.wrap { max-width: calc(var(--container-max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: var(--section-y); }
.band-tight { padding-block: var(--section-y-tight); }
.band + .band-tight, .band-tight + .band-tight { padding-top: 0; }
.band-surface, .band-mint { background: var(--surface); }
.band-tint { background: var(--tint); }
.intro { background: var(--surface); padding-block: clamp(40px, 2rem + 2vw, 64px) clamp(56px, 2.5rem + 3vw, 88px); }
.intro .stack { max-width: 780px; }
.head { display: grid; justify-items: start; gap: var(--s4); margin-bottom: clamp(32px, 1.5rem + 2vw, 48px); }
.stack { display: grid; justify-items: start; align-content: start; gap: var(--s5); }
.stack-center { display: grid; justify-items: center; text-align: center; gap: var(--s5); max-width: 720px; margin-inline: auto; }
.stack-center .lead { text-align: center; }
.row-split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--s5) var(--s7); }
.row-split > .stack { flex: 1 1 520px; max-width: 760px; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s8); align-items: start; }
.cta-pair { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s4); align-items: center; }
.jo-hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s3); }
.more-link { margin-top: var(--s6); }

/* Breadcrumbs */
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--muted); display: inline-block; padding-block: 8px; text-decoration: none; }
.crumbs a:hover { color: var(--forest); text-decoration: underline; }

/* ===== Components ===== */
/* Buttons */
.jo-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius); border: 1.5px solid transparent;
  font: 500 16px/1.2 var(--font-sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur), color var(--dur), border-color var(--dur);
}
.jo-btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.jo-btn-primary { background: var(--brand); color: var(--white); border-color: var(--brand); }
.jo-btn-primary:hover { background: var(--forest); border-color: var(--forest); color: var(--white); }
.jo-btn-primary:focus-visible { outline-color: var(--brand); }
.jo-btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.jo-btn-outline:hover { background: var(--surface); color: var(--brand); }
.jo-btn-ghost { min-height: 44px; padding: 0; border: 0; color: var(--forest); white-space: normal; text-align: left; justify-content: flex-start; }
.jo-btn-ghost > span:first-child { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.jo-btn-ghost:hover { color: var(--brand); }
.jo-btn-chip { display: inline-flex; align-items: center; flex: none; background: none; }
.jo-btn-chip svg { width: 16px; height: 16px; }
.jo-btn-ghost .jo-btn-chip svg { width: 14px; height: 14px; }
.jo-disc { display: none; }
@media (max-width: 360px) { .jo-btn { white-space: normal; text-align: left; } }

/* Tick lists */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.ticks li { display: flex; gap: var(--s3); align-items: flex-start; font-size: 16px; line-height: 1.5; }
.tick { flex: none; display: inline-grid; place-items: center; width: 22px; height: 24px; color: var(--forest); }
.tick svg { width: 16px; height: 16px; }

/* Verify (SRA register) text link */
.verify { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; font: 500 14px/1.3 var(--font-sans); color: var(--forest); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.verify svg { width: 16px; height: 16px; flex: none; }
.verify:hover { color: var(--brand); }

/* Hairline blocks (what used to be cards) */
.refer, .instructing, .jo-contact, .panel { border-top: 1px solid var(--line); padding-top: var(--s6); }
.refer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s6); align-items: center; }
.refer > div:first-child { display: grid; gap: var(--s4); justify-items: start; }
.refer h2 { font-size: clamp(26px, 1.4rem + .5vw, 32px); max-width: 640px; }
.refer p { max-width: var(--measure); }
.instructing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--s7); }
.instructing h2 { font-size: clamp(24px, 1.3rem + .4vw, 30px); }
.instructing p { max-width: var(--measure); }
.privacy-note { margin-top: var(--s5); }
.panel { display: grid; gap: var(--s5); align-content: start; }
.panel h2 { font-size: 24px; }
.panel-sage { border: 0; background: var(--tint); border-radius: var(--radius-img); padding: var(--s5); }
.panel-sage h2 { font-size: 22px; }

/* Contact block (end of inner pages) */
.jo-contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: var(--s6); align-items: center; }
.jo-contact > div:first-child { display: grid; gap: var(--s3); }
.jo-contact h2 { font-size: clamp(26px, 1.4rem + .5vw, 32px); }
.jo-contact p { color: var(--muted); max-width: 46ch; }
.jo-contact-lines { display: grid; gap: var(--s4); }
.jo-contact-lines dt { display: flex; align-items: center; gap: 6px; font: 500 12px/1.4 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.jo-contact-lines dt svg { width: 14px; height: 14px; color: var(--forest); }
.jo-contact-lines dd { margin: 4px 0 0; font: 500 19px/1.4 var(--font-sans); overflow-wrap: anywhere; }
.jo-contact-lines dd.email { font-size: 16px; }
.jo-contact-lines a { color: var(--brand); text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.jo-contact .cta-pair { flex-direction: column; align-items: flex-start; }
.cta-free { font: 500 14px/1.4 var(--font-sans); color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.cta-free:hover { color: var(--forest); }
.email { overflow-wrap: anywhere; }

/* FAQ */
.faq { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s4); min-height: 56px; padding: var(--s4) 0; font: 500 20px/1.3 var(--font-serif); color: var(--brand); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--forest), var(--forest)) center / 14px 1.5px no-repeat, linear-gradient(var(--forest), var(--forest)) center / 1.5px 14px no-repeat; transition: transform var(--dur) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--forest); }
.faq summary:focus-visible { outline-offset: 2px; }
.faq-a { padding: 0 0 var(--s5); max-width: var(--measure); }
.faq-a p { color: var(--ink); }
.faq-a p + p { margin-top: var(--s3); }
.faq-note { margin-top: var(--s4); }

/* Forms */
.quote-form { max-width: 760px; display: grid; gap: var(--s6); }
.quote-form fieldset { border: 0; border-top: 1px solid var(--line); margin: 0; padding: var(--s5) 0 0; display: grid; gap: var(--s5); min-width: 0; }
.quote-form legend { font: 500 24px/1.2 var(--font-serif); color: var(--brand); padding: 0; margin-bottom: var(--s1); float: left; width: 100%; }
.quote-form legend + * { clear: both; }
.field { display: grid; gap: var(--s2); min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); }
.field label, .field-label { font: 500 15px/1.4 var(--font-sans); color: var(--ink); }
.req-mark { font-weight: 400; color: var(--muted); }
.hint { margin: 0; }
.fs-hint { margin-top: calc(-1 * var(--s3)); }
.quote-form input[type="text"], .quote-form input[type="email"], .quote-form input[type="tel"], .quote-form textarea, .quote-form select {
  width: 100%; font: 400 16px/1.4 var(--font-sans); color: var(--ink); background: var(--white);
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 11px 14px; min-height: 48px;
}
.quote-form textarea { resize: vertical; }
.quote-form input:focus-visible, .quote-form textarea:focus-visible, .quote-form select:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.quote-form input:user-invalid, .quote-form textarea:user-invalid { border-color: var(--error); }
.field:has(:user-invalid) .hint, .field:has(:user-invalid) .req-mark { color: var(--error); }
.choices { display: flex; flex-wrap: wrap; gap: var(--s2); }
.choices-stack { flex-direction: column; align-items: flex-start; }
.choice { position: relative; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); font: 500 15px/1.3 var(--font-sans); color: var(--ink); background: var(--white); cursor: pointer; }
.choices-stack .choice span { padding: 10px 16px; }
.choice input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--white); }
.choice input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.choice span:hover { border-color: var(--brand); }
.check { display: inline-flex; align-items: center; gap: var(--s3); cursor: pointer; min-height: 44px; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--brand); }
.quote-form button { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Figures and images */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--s8); align-items: center; }
.intro-grid .stack { max-width: 640px; }
.intro-figure { justify-self: end; width: 100%; max-width: 480px; }
.intro-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-img); background: var(--tint); }
.intro-figure figcaption, .img-credit { color: var(--muted); margin-top: var(--s2); }
.img-credit { margin-top: var(--s6); }

/* Portrait (home hero figure and About) */
.hero-fig, .jo-portrait { position: relative; margin: 0; background: var(--tint); border-radius: var(--radius-img); overflow: hidden; aspect-ratio: 4 / 5; width: 100%; max-width: 480px; justify-self: end; }
.hero-fig picture, .jo-portrait picture { display: block; height: 100%; }
.hero-fig img, .jo-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
.jo-portrait .ast { display: none; }

/* Map */
.map-card { container-type: inline-size; position: relative; width: 100%; background: var(--tint); border-radius: var(--radius-img); overflow: hidden; }
.map-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.area-map { width: 100%; height: auto; display: block; overflow: hidden; font-family: var(--font-sans); }
.area-map-c { display: none; }
.map-compact .area-map-d { display: none; }
.map-compact .area-map-c { display: block; }
@container (max-width: 640px) { .area-map-d { display: none; } .area-map-c { display: block; } }
.map-geo .m-sea, .map-geo .m-out { fill: #EEF2EE; }
.map-geo .m-out { stroke: #DCE3DE; stroke-width: .8; }
.map-geo .m-ldn { fill: #FBF9F5; stroke: #DCD6CB; stroke-width: 1; stroke-linejoin: round; }
.map-geo .m-focus { fill: #E3ECE6; stroke: #B9CBC2; stroke-width: 1.2; stroke-linejoin: round; }
.map-geo .m-edge { fill: none; stroke: #A3B6AE; stroke-width: 1.4; stroke-dasharray: 5 4; }
.map-geo .m-brook { fill: none; stroke: #BFD6D7; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.map-geo .m-canal { fill: none; stroke: #B3CFD1; stroke-width: 1.5; stroke-dasharray: 1 3; stroke-linecap: round; }
.map-geo .m-thames-line { fill: none; stroke: #A7C7C9; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.map-geo .m-thames { fill: #A7C7C9; }
.area-map .m-water-label { font: 500 16px var(--font-sans); fill: #2F6B70; letter-spacing: .06em; }
.area-map .m-boro text { font: 500 13px var(--font-sans); fill: #5A6360; letter-spacing: .2em; text-transform: uppercase; }
.area-map .m-place text { paint-order: stroke; stroke: #FBF9F5; stroke-width: 5px; stroke-linejoin: round; }
.area-map .m-p circle { fill: var(--forest); stroke: #FBF9F5; stroke-width: 2.5; }
.area-map .m-p text { font: 500 21px var(--font-sans); fill: var(--ink); letter-spacing: -.01em; }
.area-map .m-s circle { fill: #5F8A7D; stroke: #FBF9F5; stroke-width: 1.5; }
.area-map .m-s text { font: 400 16.5px var(--font-sans); fill: #4C5855; }
.area-map .m-airport path { fill: #5A6360; }
.area-map .m-airport text { font: 500 15px var(--font-sans); fill: #5A6360; paint-order: stroke; stroke: #FBF9F5; stroke-width: 4px; }
.area-map .m-pointer text { font: 500 13px var(--font-sans); fill: #8A6420; letter-spacing: .12em; text-transform: uppercase; }
.area-map .m-pointer path { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.area-map .m-scale path { fill: none; stroke: #5A6360; stroke-width: 1.4; }
.area-map .m-scale text, .area-map .m-north text { font: 500 13px var(--font-sans); fill: #5A6360; }
.area-map .m-north path { fill: #5A6360; }
.area-map-c .m-p text { font-size: 33px; stroke-width: 7px; }
.area-map-c .m-p circle { stroke-width: 3.5; }
.area-map-c .m-water-label { font-size: 25px; }
.area-map-c .m-airport text { font-size: 25px; stroke-width: 6px; }
.area-map-c .m-pointer text { font-size: 21px; }
.area-map-c .m-scale text, .area-map-c .m-north text { font-size: 22px; }
.map-credit { color: var(--muted); padding: 10px 16px 12px; background: var(--surface); }

/* ===== Header, nav, menu ===== */
.site-header { position: relative; z-index: 40; background: var(--ground); border-bottom: 1px solid var(--line); }
.jo-nav { max-width: calc(var(--container-max) + 2 * var(--gutter)); margin-inline: auto; padding: 0 var(--gutter); min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: var(--s6); }
.jo-logo { display: inline-flex; align-items: center; color: var(--brand); text-decoration: none; }
.jo-logo > span { display: flex; flex-direction: column; gap: 5px; }
.jo-logo-name { display: block; font: 500 24px/1 var(--font-serif); letter-spacing: -0.01em; color: var(--brand); }
.jo-logo-sub { display: block; font: 500 11px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.jo-nav-links { display: flex; gap: var(--s5); list-style: none; margin: 0; padding: 0; }
.jo-nav-links a { display: inline-block; padding: 10px 0; font: 500 15px/1.3 var(--font-sans); color: var(--ink); text-decoration: none; white-space: nowrap; border-bottom: 1.5px solid transparent; }
.jo-nav-links a:hover, .jo-nav-links a[aria-current="page"] { border-bottom-color: var(--accent); color: var(--brand); }
.nav-end { display: flex; align-items: center; gap: var(--s4); }
.nav-tel { font: 500 15px/1.3 var(--font-sans); color: var(--ink); text-decoration: none; padding: 10px 0; border-bottom: 1.5px solid transparent; }
.nav-tel:hover { color: var(--brand); border-bottom-color: var(--accent); }

.menu { display: none; position: relative; }
.menu summary { list-style: none; display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 44px; min-width: 44px; padding: 0 14px; border: 1.5px solid var(--brand); border-radius: var(--radius); font: 500 15px/1 var(--font-sans); color: var(--brand); cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary .bars { width: 16px; height: 10px; border-block: 1.5px solid currentColor; position: relative; }
.menu summary .bars::after { content: ""; position: absolute; inset: 50% 0 auto; border-top: 1.5px solid currentColor; transform: translateY(-50%); }
.menu[open] summary { background: var(--brand); color: var(--ground); }
.menu[open] > summary::before { content: ""; position: fixed; inset: 0; background: rgb(27 31 30 / .28); z-index: 1; cursor: default; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 2; width: min(340px, calc(100vw - 2 * var(--gutter))); background: var(--ground); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s2) var(--s5) var(--s5); }
.menu-panel ul { list-style: none; margin: 0; padding: 0; }
.menu-pages li a { display: flex; align-items: center; min-height: 48px; padding: 0; border-bottom: 1px solid var(--line); font: 500 17px/1.3 var(--font-sans); color: var(--ink); text-decoration: none; }
.menu-pages li a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -1.5px 0 var(--accent); }
.menu-contact { margin-top: var(--s3); padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.menu-contact li a { display: flex; align-items: center; gap: var(--s3); min-height: 44px; font: 400 16px/1.3 var(--font-sans); color: var(--forest); text-decoration: none; }
.menu-contact li a:hover { color: var(--brand); text-decoration: underline; text-decoration-color: var(--accent); }
.menu-contact svg { width: 18px; height: 18px; flex: none; }
.menu-panel > .jo-btn { display: flex; width: 100%; margin-top: var(--s4); }

/* Quick-nav strip: tablet only */
.quick-nav { display: none; border-top: 1px solid var(--line); }
.quick-nav ul { list-style: none; margin: 0 auto; max-width: calc(var(--container-max) + 2 * var(--gutter)); padding: var(--s3) var(--gutter); display: flex; flex-wrap: wrap; gap: var(--s2); }
.quick-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ground); font: 500 15px/1 var(--font-sans); color: var(--ink); text-decoration: none; white-space: nowrap; }
.quick-nav a:hover { border-color: var(--brand); color: var(--brand); }
.quick-nav a[aria-current="page"] { background: var(--brand); border-color: var(--brand); color: var(--white); }

/* Sticky in-page jump bar */
.jump { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--ground) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.jump ul { list-style: none; margin: 0 auto; max-width: calc(var(--container-max) + 2 * var(--gutter)); padding: 10px var(--gutter); display: flex; gap: var(--s2); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); }
.jump ul::-webkit-scrollbar { display: none; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); font: 500 14px/1 var(--font-sans); color: var(--ink); text-decoration: none; white-space: nowrap; scroll-snap-align: start; }
.jump a:hover { border-color: var(--brand); color: var(--brand); }
.svc, .stage, [id^="stage-"] { scroll-margin-top: 80px; }
/* pages with a sticky jump bar: every anchor and focused control lands clear of it */
html:has(.jump) { scroll-padding-top: 80px; }
html:has(.jump) :is(.svc, .stage, [id^="stage-"]) { scroll-margin-top: 0; }

/* Call bar: phone and tablet */
.callbar { display: none; }
@media (max-width: 900px) {
  .callbar { display: flex; gap: var(--s3); position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: var(--s2) var(--gutter) calc(var(--s2) + env(safe-area-inset-bottom)); background: var(--ground); border-top: 1px solid var(--line); }
  .callbar .jo-btn { flex: 1; min-height: 48px; padding: 0 12px; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: 80px; }
  body.p-quote .callbar, body.p-thanks .callbar { display: none; }
  body.p-quote, body.p-thanks { padding-bottom: 0; }
}

/* Breakpoint visibility */
@media (max-width: 600px) {
  .jo-nav-links, .nav-tel, .nav-cta, .quick-nav { display: none; }
  .menu { display: block; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .jo-nav-links, .menu { display: none; }
  .quick-nav { display: block; }
}
@media (min-width: 901px) and (max-width: 1130px) {
  .jo-nav { gap: var(--s4); }
  .jo-nav-links { gap: 12px; }
  .jo-nav-links a { font-size: 14px; }
  .nav-tel { display: none; }
}
@media (max-width: 400px) { .jo-logo-name { font-size: 22px; } .jo-logo-sub { font-size: 10px; letter-spacing: .08em; } }
@media (max-width: 345px) { .jo-logo-sub { font-size: 9.5px; letter-spacing: .04em; } }

/* Cookie notice: built by /assets/site.js, shown until it is closed */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--brand); color: var(--ground); box-shadow: 0 -6px 24px rgb(27 31 30 / .16); }
.cookie-bar-in { display: flex; align-items: center; justify-content: space-between; gap: var(--s3) var(--s6); padding-block: var(--s4); }
.cookie-bar p { margin: 0; font-size: 15px; line-height: 1.5; }
.cookie-bar a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.cookie-bar .jo-btn { flex: none; min-width: 112px; background: var(--ground); color: var(--brand); border-color: var(--ground); }
.cookie-bar .jo-btn:hover { background: var(--white); border-color: var(--white); }
.cookie-bar :focus-visible { outline-color: var(--white); }
@media (max-width: 900px) {
  .cookie-bar { bottom: calc(66px + env(safe-area-inset-bottom)); }
  body.p-quote .cookie-bar, body.p-thanks .cookie-bar { bottom: 0; padding-bottom: env(safe-area-inset-bottom); }
}
@media (max-width: 640px) {
  .cookie-bar-in { flex-direction: column; align-items: stretch; padding-block: var(--s3); }
  .cookie-bar p { font-size: 14px; }
}

/* ===== Footer ===== */
.jo-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: var(--s8) var(--s6); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--s7); align-items: start; }
.foot-brand { display: grid; gap: var(--s4); justify-items: start; }
.foot-contact { font: 400 16px/1.8 var(--font-sans); }
.foot-contact a { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.foot-contact a:hover { color: var(--brand); text-decoration: underline; text-decoration-color: var(--accent); }
.foot-fraud { display: flex; gap: var(--s2); align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 46ch; }
.foot-fraud svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--forest); }
.foot-fraud strong { color: var(--ink); }
.foot-nav ul, .jo-footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.foot-nav a, .jo-footer-links a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; }
.foot-nav a { font: 500 15px/1.3 var(--font-sans); color: var(--ink); }
.jo-footer-links a { font: 500 14px/1.3 var(--font-sans); color: var(--muted); }
.foot-nav a:hover, .jo-footer-links a:hover { color: var(--brand); text-decoration: underline; text-decoration-color: var(--accent); }
.foot-nav a[aria-current="page"] { color: var(--brand); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; }
.to-top { margin-top: var(--s3); }
.jo-footer .wrap + .wrap::before { content: ""; display: block; border-top: 1px solid var(--line); margin-block: var(--s7) var(--s5); }
.jo-footer-reg { font-size: 13px; line-height: 1.55; color: var(--muted); max-width: 80ch; }
.jo-footer-reg a { color: var(--muted); text-decoration-color: var(--accent); }
.jo-footer-reg a:hover { color: var(--brand); }

/* ===== Page: home ===== */
.hero { padding-block: clamp(32px, 2rem + 2vw, 64px) 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--s8); align-items: center; padding-bottom: clamp(40px, 2rem + 2vw, 64px); }
.hero-copy { display: grid; justify-items: start; gap: var(--s5); }
.hero-copy h1 { max-width: 16ch; }
.hero-copy .lead { max-width: 52ch; }
.reply-line { margin-top: calc(-1 * var(--s2)); }
.cred-strip { list-style: none; margin: 0; padding: var(--s5) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4) var(--s6); font-size: 15px; line-height: 1.5; color: var(--muted); }
.cred-strip strong { color: var(--ink); }
.cred-strip .verify { min-height: 0; font-weight: 400; font-size: 15px; }
.cred-strip .verify strong { font-weight: 500; }

.as-h2 { margin-bottom: var(--s7); }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s7); counter-reset: none; }
.facts li { border-top: 1px solid var(--line); padding-top: var(--s5); display: grid; gap: var(--s3); align-content: start; }
.facts .num, .steps5 .num { font: 500 30px/1 var(--font-serif); color: var(--accent-text); font-variant-numeric: tabular-nums; }
.facts h3 { margin-top: var(--s2); }
.facts p { color: var(--muted); font-size: 16px; }

.head-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: var(--s6); }
.head-split > div { display: grid; gap: var(--s4); justify-items: start; }
.head-split .lead { max-width: 48ch; }
.svc-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.svc-list li { border-top: 1px solid var(--line); }
.svc-list a { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.5fr) 32px; align-items: center; gap: var(--s5); padding: var(--s5) 0; color: var(--ink); text-decoration: none; }
.svc-list .num { font: 500 18px/1 var(--font-serif); color: var(--accent-text); font-variant-numeric: tabular-nums; }
.svc-t { font: 500 22px/1.25 var(--font-serif); color: var(--brand); letter-spacing: -0.01em; text-decoration: underline transparent; text-decoration-thickness: 1.5px; text-underline-offset: 5px; transition: color var(--dur), text-decoration-color var(--dur); }
.svc-d { font-size: 16px; line-height: 1.5; color: var(--muted); }
.svc-arrow { justify-self: end; font-size: 20px; color: var(--forest); }
.svc-list a:hover .svc-t { color: var(--forest); text-decoration-color: var(--accent); }
.svc-list + .note { margin-top: var(--s5); }

.areas-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--s8); align-items: center; }
.area-line { font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 40ch; }

.steps5 { list-style: none; margin: 0 0 var(--s7); padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s5); }
.steps5 li { border-top: 1px solid var(--line); padding-top: var(--s4); display: grid; gap: var(--s2); align-content: start; }
.steps5 h3 { font-size: 20px; margin-top: var(--s2); }
.steps5 p { font-size: 15px; line-height: 1.5; color: var(--muted); }

.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--s8); align-items: start; }
.about-text { display: grid; gap: var(--s5); justify-items: start; }
.about-text > p:not(.jo-eyebrow) { max-width: var(--measure); }
.pull { font: 500 clamp(22px, 1.2rem + .6vw, 27px)/1.35 var(--font-serif); color: var(--brand); letter-spacing: -0.01em; border-left: 2px solid var(--accent); padding-left: var(--s5); max-width: 32ch; margin-block: var(--s2); }
.verify-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.verify-list li { padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.verify-list li:first-child { padding-block: var(--s4); border-bottom: 0; }
.verify-list a { color: var(--brand); text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.verify-list a:hover { color: var(--forest); }

.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--s8); align-items: start; }
.faq-grid .stack { gap: var(--s4); }
.faq-grid .more-link { margin-top: var(--s4); }
.band-tint .row-split { align-items: center; }
.cta-final .cta-pair { justify-content: center; }
.cta-final .note { margin-top: var(--s2); }

/* ===== Page: services ===== */
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); padding-block: var(--s7); border-top: 1px solid var(--line); }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc-head { display: grid; justify-items: start; gap: var(--s4); align-content: start; }
.svc-head h2 { font-size: clamp(26px, 1.4rem + .5vw, 32px); }
.svc-head p { color: var(--muted); max-width: 50ch; }
.intro-map { max-width: 500px; }
.intro-map-text { margin-top: var(--s3); }
.svc-map-m { display: none; }
.svc-map-m .stack::before { content: ""; width: 100%; border-top: 1px solid var(--line); margin-bottom: var(--s2); }
.svc-map-m .map-card { align-self: stretch; }

/* ===== Page: what to expect ===== */
.stages { list-style: none; margin: 0; padding: 0; display: grid; max-width: 980px; position: relative; }
.stage { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--s5); position: relative; padding-bottom: var(--s7); }
.stage::before { content: ""; position: absolute; left: 11px; top: 44px; bottom: var(--s3); width: 1px; background: var(--line); }
.stage:last-child::before { display: none; }
.stage-num { position: relative; z-index: 1; display: grid; place-items: center; width: 24px; height: 36px; font: 500 28px/1 var(--font-serif); color: var(--accent-text); font-variant-numeric: tabular-nums; background: var(--ground); }
.stage-done .stage-num svg { width: 20px; height: 20px; color: var(--forest); }
.stage-title { font-size: clamp(22px, 1.3rem + .3vw, 26px); margin: 4px 0 var(--s4); }
.stage-key .stage-title { font-size: clamp(26px, 1.4rem + .5vw, 30px); }
.stage-tag { color: var(--forest); margin: calc(-1 * var(--s2)) 0 var(--s4); }
.stage-tag::before { background: var(--forest); }
.stage-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); }
.who { padding-left: var(--s4); border-left: 2px solid var(--line); }
.who-me { border-left-color: var(--forest); }
.who .label-sm { margin-bottom: var(--s2); }
.who-me .label-sm { color: var(--forest); }
.who p:not(.label-sm) { font-size: 16px; line-height: 1.55; }
.after-stages { margin-top: var(--s6); }

/* ===== Page: brokers and contact (shared steps) ===== */
.pillars-band { padding-top: var(--s7); }
.pillars { list-style: none; margin: 0 0 var(--s7); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4) var(--s6); }
.pillars li { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) 0; border-top: 1px solid var(--line); font: 500 16px/1.4 var(--font-sans); }
.pillars svg { width: 18px; height: 18px; color: var(--forest); flex: none; }
.free-call { margin-top: calc(-1 * var(--s2)); }
.free-call a { font-weight: 500; }

.jo-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: var(--s6); }
.jo-step { display: grid; align-content: start; gap: var(--s3); position: relative; border-top: 1px solid var(--line); padding-top: var(--s4); }
.jo-step-dot { font: 500 28px/1 var(--font-serif); color: var(--accent-text); font-variant-numeric: tabular-nums; }
.step-body { display: grid; gap: var(--s2); }
.step-body .jo-step-label { font: 500 20px/1.25 var(--font-serif); color: var(--brand); letter-spacing: -0.01em; }
.step-body p { font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 26ch; }

/* ===== Page: contact ===== */
.quote-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s5); padding: var(--s5) 0; margin-bottom: var(--s7); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.quote-cta-text { display: grid; gap: 4px; }
.quote-cta-text strong { font: 500 24px/1.25 var(--font-serif); color: var(--brand); letter-spacing: -0.01em; text-decoration: underline transparent; text-decoration-thickness: 1.5px; text-underline-offset: 5px; transition: color var(--dur), text-decoration-color var(--dur); }
.quote-cta-text span { color: var(--muted); font-size: 15px; line-height: 1.5; }
.quote-cta-go { display: grid; place-items: center; width: 32px; height: 32px; color: var(--forest); }
.quote-cta-go svg { width: 22px; height: 22px; }
.quote-cta:hover strong { color: var(--forest); text-decoration-color: var(--accent); }
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s7); margin-bottom: var(--s8); }
.way { display: grid; gap: var(--s2); align-content: start; border-top: 1px solid var(--line); padding-top: var(--s5); }
.way .label-sm, .way h2, .way h3 { margin: 0; }
.way h2, .way h3 { font: 500 12px/1.4 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.way p:not(.label-sm) { color: var(--muted); font-size: 15px; }
.way-big { display: inline-block; font: 500 clamp(24px, 1.3rem + .6vw, 30px)/1.2 var(--font-serif); letter-spacing: -0.01em; color: var(--brand); overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 6px; margin-block: var(--s1); }
.way-email { font-size: clamp(19px, 1rem + .5vw, 22px); line-height: 1.35; }
.way-big:hover { color: var(--forest); }
.contact-more { align-items: start; }
.contact-more .stack { gap: var(--s2); }
.contact-more .panel h2 { font-size: 24px; }
.fraud { display: grid; gap: var(--s4); border: 1px solid var(--line); border-radius: var(--radius-img); padding: var(--s6); }
.fraud h2 { font-size: 24px; }
.fraud .stack { gap: var(--s3); }
.fraud p { max-width: var(--measure); }

/* ===== Page: guides index ===== */
.guide-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s7); }
.guide-card { position: relative; display: grid; justify-items: start; gap: var(--s3); align-content: start; border-top: 1px solid var(--line); padding-top: var(--s5); }
.guide-thumb { display: block; width: 100%; margin-bottom: var(--s2); }
.guide-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-img); background: var(--tint); }
.guide-card h2 { font-size: clamp(24px, 1.3rem + .4vw, 28px); }
.guide-card h2 a { color: var(--brand); text-decoration: underline transparent; text-decoration-thickness: 1.5px; text-underline-offset: 5px; transition: color var(--dur), text-decoration-color var(--dur); }
.guide-card h2 a::after { content: ""; position: absolute; inset: 0; }
.guide-card:hover h2 a, .guide-card:focus-within h2 a { color: var(--forest); text-decoration-color: var(--accent); }
.guide-card h2 a:focus-visible { outline: none; }
.guide-card:focus-within { outline: 2px solid var(--focus); outline-offset: 6px; }
.guide-card > p:not(.meta) { color: var(--muted); max-width: 52ch; }
.coming { margin-top: var(--s8); }
.upcoming { list-style: none; margin: 0; padding: 0; max-width: 780px; width: 100%; }
.upcoming li { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.4; color: var(--muted); }
.upcoming li:last-child { border-bottom: 1px solid var(--line); }
.upcoming svg { width: 16px; height: 16px; flex: none; color: var(--forest); }

/* ===== Page: guide article ===== */
.article { display: grid; grid-template-columns: minmax(0, 680px) minmax(0, 300px); gap: var(--s8); justify-content: space-between; align-items: start; }
.prose > * + * { margin-top: var(--s4); }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(26px, 1.4rem + .5vw, 32px); margin-top: var(--s8); scroll-margin-top: var(--s5); }
.prose h3 { font-size: 21px; margin-top: var(--s6); }
.prose p, .prose li { font-size: 17px; line-height: 1.65; }
.prose ul, .prose ol { padding-left: 1.25em; display: grid; gap: var(--s2); }
.prose li::marker { color: var(--accent); }
.prose a { text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; }
.prose > p, .prose > ul, .prose > ol { max-width: var(--measure); }
.answer { background: var(--surface); border-radius: var(--radius-img); padding: var(--s5) var(--s6); max-width: none; }
.answer p + p { margin-top: var(--s3); }
.prose .small-print { font-size: 15px; border-top: 1px solid var(--line); padding-top: var(--s5); margin-top: var(--s8); }
.prose .career { padding-left: 0; }
.toc { position: sticky; top: var(--s5); display: grid; gap: var(--s5); }
.toc nav { border-top: 1px solid var(--line); padding-top: var(--s4); }
.toc nav ol { list-style: none; margin: 0; padding: 0; display: grid; }
.toc nav a { display: block; padding: 8px 0; font-size: 15px; line-height: 1.4; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.toc nav li:last-child a { border-bottom: 0; }
.toc nav a:hover { color: var(--forest); text-decoration: underline; text-decoration-color: var(--accent); }
.toc .label-sm { margin-bottom: var(--s2); }
.author { display: flex; gap: var(--s4); align-items: center; margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid var(--line); }
.author picture, .author-pic { flex: none; display: block; width: 64px; height: 64px; }
.author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--tint); }
.author p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.author strong { color: var(--ink); }
.h-sources { font-size: 22px; margin-top: var(--s7); }
.sources li { font-size: 15px; line-height: 1.55; }
.lease-ruler { margin-top: var(--s6); }
.lr-track { display: grid; grid-template-columns: 1.4fr auto 1fr; align-items: stretch; border-radius: var(--radius); overflow: hidden; font: 500 14px/1.4 var(--font-sans); }
.lr-safe { background: var(--tint); color: var(--forest); padding: var(--s4); }
.lr-short { background: var(--surface); color: var(--ink); padding: var(--s4); }
.lr-mark { display: grid; place-items: center; padding: 0 var(--s4); background: var(--brand); color: var(--white); font: 500 20px/1 var(--font-serif); }
.lease-ruler figcaption { font-size: 14px; line-height: 1.5; color: var(--muted); margin-top: var(--s2); }
.read-progress { display: none; }

/* ===== Page: checklist ===== */
.cl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s7); }
.cl-group { border-top: 1px solid var(--line); padding-top: var(--s5); break-inside: avoid; }
.cl-group h2 { font-size: 24px; margin-bottom: var(--s4); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.checklist li { display: flex; gap: var(--s3); align-items: flex-start; }
.checklist input { flex: none; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--brand); }
.checklist label { font-size: 16px; line-height: 1.55; cursor: pointer; }
.checklist input:checked + label { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-strong); }

/* ===== Page: about ===== */
.about { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: var(--s8); align-items: start; }
.about .jo-portrait { position: sticky; top: var(--s5); justify-self: start; max-width: 360px; }
.about .prose { max-width: 68ch; }
.career { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; max-width: 640px; }
.career li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: var(--s4); padding: var(--s3) 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.career li:last-child { border-bottom: 1px solid var(--line); }
.career-yr { font: 500 15px/1.6 var(--font-sans); color: var(--muted); font-variant-numeric: tabular-nums; }
.career-key .career-yr { color: var(--forest); }
.prose .career li::marker { content: none; }

/* ===== Page: 404 ===== */
.lost-links { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s7); width: 100%; max-width: 720px; }
.lost-links a { display: grid; gap: 2px; padding: var(--s4) 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.lost-links li:nth-last-child(-n+2) a { border-bottom: 1px solid var(--line); }
.lost-links strong { font: 500 20px/1.3 var(--font-serif); color: var(--brand); }
.lost-links span { font-size: 14px; color: var(--muted); }
.lost-links a:hover strong { color: var(--forest); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }

/* Reviews (markup is commented out until genuine reviews exist) */
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s7); }
.review { display: grid; gap: var(--s4); align-content: start; border-top: 1px solid var(--line); padding-top: var(--s5); }
.review blockquote { font: 400 17px/1.6 var(--font-sans); }
.review figcaption { font: 500 14px/1.4 var(--font-sans); color: var(--muted); }

/* ===== Responsive: tablet (601–900) ===== */
@media (max-width: 1100px) {
  .article { grid-template-columns: minmax(0, 1fr); max-width: calc(680px + 2 * var(--gutter)); margin-inline: 0; }
  .toc { position: static; order: -1; min-width: 0; max-width: 100%; }
  .toc nav, .toc nav ol { min-width: 0; max-width: 100%; }
  .toc .panel-sage { display: none; }
  .toc nav { border-top: 0; padding-top: 0; }
  .toc nav ol { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: var(--s2); scrollbar-width: none; }
  .toc nav li { flex: none; }
  .toc nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; white-space: nowrap; }
  .steps5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s6); align-items: start; }
  .hero-fig { max-width: none; }
  .cred-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .facts li { grid-template-columns: 48px minmax(0, 1fr); gap: var(--s2) var(--s4); }
  .facts .num { grid-row: span 2; }
  .facts h3 { margin-top: 2px; }
  .head-split { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .areas-grid, .about-grid, .faq-grid, .two-col, .svc, .instructing, .refer, .intro-grid, .about { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .about .jo-portrait { position: static; max-width: 360px; }
  .intro-figure { justify-self: stretch; max-width: none; }
  .intro-figure img { aspect-ratio: 16 / 9; }
  .jo-contact { grid-template-columns: minmax(0, 1fr); }
  .jo-steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .jo-step { grid-template-columns: 40px minmax(0, 1fr); gap: var(--s4); padding-block: var(--s4); align-items: start; }
  .step-body p { max-width: 52ch; }
  .pillars { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ways, .guide-list, .cl-grid, .stage-cols, .review-grid { grid-template-columns: minmax(0, 1fr); }
  .ways { gap: var(--s5); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}

/* ===== Responsive: phone (≤600) ===== */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding-top: var(--s5); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s5); padding-bottom: var(--s7); }
  .hero-fig { order: -1; aspect-ratio: 16 / 11; justify-self: stretch; }
  .hero-fig img { object-fit: cover; object-position: 50% 16%; }
  .hero-copy { gap: var(--s4); }
  .hero-copy .cta-pair { width: 100%; }
  .hero-copy .cta-pair .jo-btn { flex: 1 1 100%; }
  .reply-line { margin-top: 0; }
  .cred-strip { padding-block: var(--s4); gap: var(--s3) var(--s4); font-size: 14px; }
  .cred-strip .verify { font-size: 14px; }
  .as-h2 { margin-bottom: var(--s6); }
  .svc-list a { grid-template-columns: 36px minmax(0, 1fr) 24px; gap: var(--s1) var(--s3); padding: var(--s4) 0; }
  .svc-list .num { align-self: start; margin-top: 4px; }
  .svc-t { font-size: 20px; }
  .svc-d { grid-column: 2; font-size: 15px; }
  .svc-arrow { grid-column: 3; grid-row: 1 / span 2; }
  .steps5 { grid-template-columns: minmax(0, 1fr); gap: 0; margin-bottom: var(--s6); }
  .steps5 li { grid-template-columns: 36px minmax(0, 1fr); gap: var(--s1) var(--s4); padding-block: var(--s4); }
  .steps5 .num { grid-row: span 2; font-size: 26px; }
  .steps5 h3 { margin-top: 0; }
  .pull { max-width: none; }
  .row-split > .stack { flex-basis: 100%; }
  .cta-final .cta-pair { width: 100%; }
  .cta-final .cta-pair .jo-btn { flex: 1 1 100%; }
  .stage { grid-template-columns: 36px minmax(0, 1fr); gap: var(--s4); padding-bottom: var(--s6); }
  .stage::before { left: 9px; top: 40px; }
  .stage-num { width: 20px; height: 32px; font-size: 24px; }
  .stage-cols { gap: var(--s4); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .quote-form button { justify-self: stretch; }
  .lr-track { grid-template-columns: minmax(0, 1fr); }
  .lr-mark { padding: 6px; }
  .lost-links { grid-template-columns: minmax(0, 1fr); }
  .lost-links li:nth-last-child(2) a { border-bottom: 0; }
  .career li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .foot-nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro-map .area-map, .intro-map .map-credit, .intro-map-text { display: none; }
  .svc-map-m { display: block; }
  .jo-contact .cta-pair { width: 100%; }
  .jo-contact .cta-pair .jo-btn { width: 100%; }
  /* Phone: shorter home page. The call bar already offers "Call", so the hero keeps one button;
     service rows show title only (the Services page has the detail); the verify list waits for the About page. */
  .hero-copy .cta-pair .jo-btn-outline { display: none; }
  .p-home .svc-d { display: none; }
  .p-home .svc-list a { grid-template-columns: 36px minmax(0, 1fr) 24px; align-items: center; }
  .p-home .svc-list .num { margin-top: 0; }
  .p-home .svc-arrow { grid-row: auto; }
  .p-home .verify-list { display: none; }
  .p-home .facts p { font-size: 15px; }
}

body.p-quote .nav-cta, body.p-thanks .nav-cta { display: none; }
.jo-logo { min-height: 24px; }

/* ===== Motion (all gated on reduced-motion: no-preference) ===== */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: 120ms ease-out both jo-fade-out; }
  ::view-transition-new(root) { animation: 200ms ease-out both jo-fade-in; }
  @keyframes jo-fade-out { to { opacity: 0; } }
  @keyframes jo-fade-in { from { opacity: 0; } }
  .site-header { view-transition-name: site-header; }
  .callbar { view-transition-name: callbar; }

  @keyframes jo-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  .hero-fig, .jo-portrait { animation: jo-rise 240ms var(--ease) both; }
  .menu[open] > summary::before { animation: jo-fade-in 160ms ease-out both; }

  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow: clip; transition: block-size var(--dur) var(--ease), content-visibility var(--dur) allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }

  @supports (animation-timeline: view()) {
    .area-map .m-place circle { transform-box: fill-box; transform-origin: center; animation: jo-pin linear both; animation-timeline: view(); animation-range: entry 20% cover 30%; }
    .area-map .m-place:nth-of-type(3n+2) circle { animation-range: entry 24% cover 33%; }
    .area-map .m-place:nth-of-type(3n) circle { animation-range: entry 28% cover 36%; }
    @keyframes jo-pin { from { transform: scale(0); } to { transform: scale(1); } }
    .stages::after { content: ""; position: absolute; left: 11px; top: 22px; bottom: 80px; width: 1px; background: var(--forest); transform-origin: top; animation: jo-fill linear both; animation-timeline: view(); animation-range: entry 40% exit 60%; }
    @keyframes jo-fill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
  }
  @supports (animation-timeline: scroll()) {
    .read-progress { display: block; position: fixed; inset: 0 0 auto; height: 2px; z-index: 50; background: var(--accent); transform-origin: 0 50%; animation: jo-grow linear both; animation-timeline: scroll(root); }
    @keyframes jo-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 600px) { .stages::after { left: 9px; } }

/* ===== Print ===== */
@media print {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .site-header, .skip, .menu, .callbar, .cookie-bar, .quick-nav, .jump, .toc, .read-progress, .intro-figure, .guide-thumb, .to-top,
  .jo-contact, .jo-hero-ctas, .cta-pair, .refer .jo-btn, .foot-fraud svg, .foot-nav, .jo-footer-links, .free-call, .more-link, .nav-cta { display: none !important; }
  body { background: #fff; color: #000; padding: 0; font-size: 12pt; }
  .band, .band-tight, .intro { padding-block: 16px; background: none; }
  .wrap { max-width: none; padding-inline: 0; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; }
  .cl-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cl-group { padding-top: 12px; border-color: #999; }
  .checklist input { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .jo-footer { background: none; border-top: 1px solid #999; padding-block: 16px; }
  .print-only { display: block; font-size: 10pt; margin-top: 8px; }
}

.jo-footer-reg + .jo-footer-reg { margin-top: 8px; }

/* ===== UI/UX review, October 2026 ===== */

/* -- Desktop: the header stays in view, so the quote button and phone number are always one click away */
@media (min-width: 901px) {
  .site-header { position: sticky; top: 0; }
  html { scroll-padding-top: 96px; }
  html:has(.jump) { scroll-padding-top: 158px; }
  .jump { top: 77px; }
  .toc { top: calc(77px + var(--s5)); }
}

/* -- Reading width: about 80 characters a line on wide screens */
@media (min-width: 1100px) {
  :root { --measure: 54ch; }
  .prose p, .prose li { font-size: 18px; }
  .career li { font-size: 16px; }
  .sources li { font-size: 15px; }
}
.author p { max-width: var(--measure); }
.svc-d { max-width: 60ch; }
.wrap > .faq { max-width: 820px; }

/* -- Very large screens: a slightly wider column and larger base text */
@media (min-width: 1800px) {
  :root { --container-max: 1320px; }
  body { font-size: 18px; }
}

/* -- Intro buttons (Services, About) and the home services list */
.svc-list + .row-split { margin-top: var(--s5); align-items: center; }
.svc-foot .note { margin: 0; }

/* -- About page */
@media (min-width: 901px) {
  .about-intro { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .about-intro .jo-portrait { max-width: 400px; justify-self: end; }
}
.about-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s8); align-items: start; }
.about-cols .prose > p, .about-cols .prose > ul { max-width: none; }

/* -- Home: About band */
.about-side { display: grid; gap: var(--s6); align-content: start; }
.about-side .pull { margin-block: 0; max-width: none; }
@media (min-width: 601px) { .about-text .cta-pair .verify { display: none; } }

/* -- Contact: the quote option reads as the main action */
.quote-cta { background: var(--tint); border: 0; border-radius: var(--radius-img); padding: var(--s5) var(--s6); }
.quote-cta:hover strong { color: var(--brand); text-decoration-color: transparent; }

/* -- End-of-page contact block: equal-width buttons */
.jo-contact .cta-pair { align-items: stretch; }
.jo-contact .cta-pair .cta-free { align-self: flex-start; }

/* -- Legal pages: "On this page" beside the text */
.legal .toc nav { border-top: 1px solid var(--line); }

/* -- Quote page */
.quote-aside { display: none; }
.field-error, .form-error { display: none; margin: 0; font: 500 14px/1.5 var(--font-sans); color: var(--error); }
.field:has(:user-invalid) .field-error { display: block; }
.field:has(input:user-invalid) .choice span { border-color: var(--error); }
.quote-form:has(:user-invalid) .form-error { display: block; }
.form-req { margin: 0; }
/* a field with an error message under it must not stretch its neighbour in the same row */
.field { align-content: start; }
#q-lease-years { max-width: 10em; }
#q-price { max-width: 22em; }
/* only the questions that apply */
.quote-form:has(input[name="need"]:is([value="Selling"], [value="Remortgage"], [value="Transfer of equity"]):checked) .buy-only,
.quote-form:has(input[name="need"]:is([value="Buying"], [value="Remortgage"], [value="Transfer of equity"]):checked) .sell-only,
.quote-form:has(input[name="tenure"][value="Freehold"]:checked) .lease-only { display: none; }
@media (min-width: 1100px) {
  .quote-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 320px); justify-content: space-between; gap: var(--s8); align-items: start; }
  .quote-aside { display: grid; gap: var(--s6); position: sticky; top: calc(77px + var(--s5)); }
  .quote-aside .panel-sage p { font-size: 16px; }
  .quote-aside .reply-line { margin-top: 0; font-size: 14px; }
  .p-quote .quote-alt { display: none; }
  .mini-steps { list-style: none; margin: 0; padding: 0; counter-reset: mini; display: grid; }
  .mini-steps li { counter-increment: mini; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px var(--s3); padding: var(--s3) 0; border-top: 1px solid var(--line); }
  .mini-steps li::before { content: counter(mini); grid-row: span 2; font: 500 22px/1.2 var(--font-serif); color: var(--accent-text); }
  .mini-steps strong { font: 500 17px/1.3 var(--font-serif); color: var(--brand); }
  .mini-steps span { font-size: 14px; line-height: 1.5; color: var(--muted); }
}

/* -- Checklist: groups flow down two columns, so none is left on its own */
@media screen and (min-width: 901px) {
  .cl-grid { display: block; columns: 2; column-gap: var(--s7); }
  .cl-group { margin-bottom: var(--s7); }
}

/* -- Tablet (601-900): the bottom bar already has Call and Get a quote */
@media (min-width: 601px) and (max-width: 900px) {
  .nav-tel, .nav-cta { display: none; }
  .quick-nav ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .quick-nav ul::-webkit-scrollbar { display: none; }
  .intro-figure:not(.intro-map) { max-width: 420px; justify-self: start; }
  .intro-figure:not(.intro-map) img { aspect-ratio: 4 / 3; }
}

/* -- Tablet and phone */
@media (max-width: 900px) {
  .about-cols { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .about-intro .jo-portrait { justify-self: start; max-width: 360px; }
  /* home questions: the "more questions" link follows the questions */
  .faq-grid { gap: var(--s4); }
  .faq-grid .stack { display: contents; }
  .faq-grid .faq { order: 1; margin-top: var(--s3); }
  .faq-grid .more-link { order: 2; margin-top: 0; }
  /* comfortable tap targets */
  .cta-free, .jo-contact-lines a { display: inline-flex; align-items: center; min-height: 44px; }
  .foot-contact { line-height: 1.3; }
  .foot-contact br { display: none; }
  .foot-contact a { display: flex; align-items: center; min-height: 44px; }
  .way-big { padding-block: 8px; margin-block: 0; }
  .cred-strip { align-items: center; }
  .cred-strip .verify { min-height: 44px; }
  .crumbs a { padding-block: 12px; }
  .foot-nav a, .jo-footer-links a { min-height: 44px; }
  .checklist li { padding-block: 6px; }
  /* the open phone menu stays put and scrolls inside itself */
  html:has(.menu[open]) { overflow: hidden; }
  .menu-panel { max-height: calc(100dvh - 96px); overflow-y: auto; overscroll-behavior: contain; }
}

/* -- Phone */
@media (max-width: 640px) {
  /* cookie notice: a slim strip at the top of the page, so it never covers a button */
  .cookie-bar { position: static; box-shadow: none; }
  .cookie-bar-in { flex-direction: row; align-items: center; gap: var(--s3); padding-block: 10px; }
  .cookie-bar p { font-size: 13px; line-height: 1.4; }
  .cookie-bar .jo-btn { min-width: 56px; padding: 0 14px; }
}
@media (max-width: 600px) {
  .intro .cta-pair, .intro .jo-hero-ctas { width: 100%; }
  .intro .cta-pair .jo-btn, .intro .jo-hero-ctas .jo-btn { flex: 1 1 100%; }
  .intro .cta-pair .jo-btn-outline { display: none; }
  .svc-foot .jo-btn, .refer .jo-btn, .quote-cta .jo-btn { width: 100%; }
  .quote-cta { grid-template-columns: minmax(0, 1fr); padding: var(--s5); }
}

/* -- Smallest phones: the Menu button stays inside the page margin */
@media (max-width: 345px) { .jo-nav { gap: var(--s3); } }

/* -- Short screens (landscape phones, heavy zoom): nothing is pinned */
@media (max-height: 480px) {
  .site-header, .jump, .callbar, .cookie-bar { position: static; }
  body { padding-bottom: 0; }
  html, html:has(.jump) { scroll-padding-top: 16px; }
}
