/* =============================================================================
   INNER PAGES. The homepage (site.css) owns the design system: tokens, nav,
   buttons, quote panel, FAQ, footer, reveal hooks. This file only adds the
   layouts inner pages need, built from the same tokens. No new colours, no
   second type scale, no second animation language.
   Components: .crumbs .phero .sintro .points .frow .feebox .pcta .acard
               .prose .pnote .cgrid .slist .tiles
   ============================================================================= */

/* ------------------------------------------------------------- breadcrumbs */
.crumbs { padding: calc(var(--nav-h) + clamp(18px, 2.4vw, 34px)) 0 0; }
.phero + .crumbs, .crumbs + .phero { padding-top: 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; list-style: none; margin: 0; padding: 0; font-size: 13px; letter-spacing: .04em; color: var(--faint); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), color .3s var(--ease); }
.crumbs a:hover { color: var(--ink); border-bottom-color: var(--line-2); }
.crumbs [aria-current] { color: var(--ink); }

/* -------------------------------------------------------------- page hero */
.phero { position: relative; padding: calc(var(--nav-h) + clamp(28px, 4.4vw, 76px)) 0 clamp(48px, 6vw, 96px); background: var(--bone); overflow: clip; }
.crumbs + .phero { padding-top: clamp(18px, 2.2vw, 30px); }
.phero--ink { background: var(--ink); color: var(--on-ink); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.phero--wide .phero__grid { grid-template-columns: minmax(0, 1fr); }
.phero--wide .phero__copy { max-width: 22ch; }
.phero--wide .phero__lead { max-width: 58ch; }
.phero__eyebrow { margin-bottom: clamp(16px, 1.8vw, 26px); }
.phero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.6vw, 66px); line-height: 1.02; letter-spacing: -.01em; margin: 0; color: var(--ink); }
.phero--ink .phero__title { color: var(--on-ink); }
.phero__title em { font-style: normal; }
.phero__lead { margin: clamp(18px, 2vw, 28px) 0 0; max-width: 46ch; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.6; color: var(--muted); }
.phero--ink .phero__lead { color: var(--on-ink-muted); }
.phero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(14px, 1.6vw, 26px); margin-top: clamp(24px, 2.8vw, 40px); }
.phero__fig { position: relative; margin: 0; border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 5; }
.phero__fig picture, .frow__fig picture, .acard__fig picture { display: block; width: 100%; height: 100%; }
.phero__fig img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }

/* --------------------------------------------------------- section intros */
.sintro { max-width: 62ch; margin-bottom: clamp(28px, 3.4vw, 56px); }
.sintro--wide { max-width: none; }
.sintro__title { margin: clamp(14px, 1.6vw, 22px) 0 0; max-width: 20ch; }
.sintro__lead { margin: clamp(16px, 1.8vw, 24px) 0 0; max-width: 58ch; color: var(--muted); font-size: clamp(16px, 1.1vw, 17px); line-height: 1.62; }
.on-ink .sintro__lead, [data-tone="dark"] .sintro__lead { color: var(--on-ink-muted); }

/* ------------------------------------------------------------ point lists */
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(20px, 2.4vw, 34px) clamp(24px, 3vw, 56px); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.points--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.points__i { position: relative; padding-top: 18px; border-top: 1px solid var(--line); }
[data-tone="dark"] .points__i, .on-ink .points__i { border-top-color: var(--line-ink); }
.points__n { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .14em; color: var(--terra); margin-bottom: 10px; }
.points__t { font-family: var(--serif); font-weight: 400; font-size: clamp(21px, 1.6vw, 25px); line-height: 1.15; margin: 0 0 8px; color: var(--ink); }
.points__d { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); max-width: 42ch; }
[data-tone="dark"] .points__t, .on-ink .points__t { color: var(--on-ink); }
[data-tone="dark"] .points__d, .on-ink .points__d { color: var(--on-ink-muted); }

/* ------------------------------------------------------- feature rows */
.frow { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 80px); align-items: center; }
.frow + .frow { margin-top: clamp(56px, 7vw, 120px); }
.frow--flip .frow__fig { order: 2; }
/* a smaller frame for a low-resolution photograph: never wider than 400px, so it stays sharp */
.frow--small .frow__fig { width: 100%; max-width: 320px; justify-self: center; }
.frow--small .frow__fig:hover img { transform: none; }
.frow__fig { margin: 0; border-radius: 4px; overflow: clip; aspect-ratio: 4 / 5; }
.frow__fig img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform 1.2s var(--ease); }
.frow__fig:hover img { transform: scale(1.03); }
.frow__title { margin: 14px 0 0; max-width: 16ch; }
.frow__body { margin-top: clamp(14px, 1.6vw, 22px); color: var(--muted); font-size: clamp(15.5px, 1.05vw, 17px); line-height: 1.64; max-width: 52ch; }
.frow__body p { margin: 0 0 14px; }
.frow__body p:last-child { margin-bottom: 0; }
.frow__body ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.frow__body li { position: relative; padding-left: 22px; }
.frow__body li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 1px; background: var(--terra); }
.frow__link { margin-top: clamp(20px, 2.2vw, 30px); }

/* --------------------------------------------------------------- fee box */
.feebox { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(20px, 2.6vw, 44px); align-items: center; padding: clamp(24px, 2.8vw, 40px); background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.feebox__amt { font-family: var(--serif); font-size: clamp(38px, 4.2vw, 58px); line-height: 1; margin: 10px 0 0; color: var(--ink); }
.feebox__gst { font-family: var(--sans); font-size: 13px; letter-spacing: .04em; color: var(--faint); }
.feebox__body p { margin: 0 0 16px; color: var(--muted); font-size: 15.5px; line-height: 1.6; max-width: 46ch; }

/* ------------------------------------------------------------- CTA band */
.pcta { background: var(--ink); color: var(--on-ink); padding: clamp(64px, 7.5vw, 120px) 0; }
.pcta__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 3vw, 64px); align-items: end; }
.pcta__title { color: var(--on-ink); max-width: 16ch; margin: 0; }
.pcta__lead { margin: 18px 0 0; color: var(--on-ink-muted); max-width: 46ch; font-size: 16px; line-height: 1.6; }
.pcta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(14px, 1.6vw, 24px); }

/* ----------------------------------------------------------------- cards */
.tiles { display: grid; gap: clamp(18px, 2.2vw, 32px); grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.tiles--feature { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.acard { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease); }
.acard:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 18px 40px -30px rgba(21, 41, 74, .5); }
.acard__fig { display: block; aspect-ratio: 3 / 2; overflow: clip; }
.acard--lg .acard__fig { aspect-ratio: 16 / 10; }
.acard__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.acard:hover .acard__fig img { transform: scale(1.04); }
.acard__body { display: flex; flex-direction: column; flex: 1; padding: clamp(20px, 2.1vw, 30px); }
.acard__cat { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--terra); margin: 0 0 12px; }
.acard__t { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 1.8vw, 28px); line-height: 1.12; margin: 0 0 10px; }
.acard--lg .acard__t { font-size: clamp(26px, 2.4vw, 36px); }
.acard__t a { color: var(--ink); text-decoration: none; }
.acard__t a::after { content: ""; position: absolute; inset: 0; }
.acard { position: relative; }
.acard__d { margin: 0 0 18px; color: var(--muted); font-size: 15px; line-height: 1.58; }
.acard__go { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); }
.acard__arrow { display: inline-flex; transition: transform .5s var(--ease); }
.acard:hover .acard__arrow { transform: translateX(5px); }
.acard__arrow .icon { width: 17px; height: 17px; }

/* --------------------------------------------------- simple service list */
.slist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.slist li { border-bottom: 1px solid var(--line); }
.slist a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(14px, 2vw, 34px); padding: clamp(18px, 2.1vw, 28px) 0; text-decoration: none; color: var(--ink); transition: color .4s var(--ease); }
.slist__n { font-size: 12px; letter-spacing: .14em; color: var(--faint); }
.slist__t { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 34px); line-height: 1.1; }
.slist__d { display: block; font-family: var(--sans); font-size: 14.5px; color: var(--muted); margin-top: 6px; max-width: 52ch; }
.slist__go { width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; transition: background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease); }
.slist__go .icon { width: 17px; height: 17px; }
.slist a:hover .slist__go { background: var(--ink); border-color: var(--ink); color: var(--bone); transform: translateX(4px); }
.slist a:hover .slist__t { color: var(--terra); }

/* ---------------------------------------------------------------- prose */
.prose { max-width: 68ch; font-size: clamp(16px, 1.1vw, 17.5px); line-height: 1.72; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(27px, 2.4vw, 36px); line-height: 1.12; margin-top: 1.9em; color: var(--ink); }
.prose h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(21px, 1.7vw, 26px); line-height: 1.18; margin-top: 1.6em; color: var(--ink); }
.prose p { margin-bottom: 0; color: var(--muted); }
.prose strong { color: var(--ink); font-weight: 500; }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: grid; gap: 12px; }
.prose ul li { position: relative; padding-left: 26px; color: var(--muted); }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 10px; height: 1px; background: var(--terra); }
.prose ol { counter-reset: p; }
.prose ol li { position: relative; padding-left: 34px; color: var(--muted); counter-increment: p; }
.prose ol li::before { content: counter(p, decimal-leading-zero); position: absolute; left: 0; top: .16em; font-size: 12px; letter-spacing: .1em; color: var(--terra); }
.prose a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-2); transition: border-color .3s var(--ease); }
.prose a:hover { border-bottom-color: var(--terra); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }
.prose--legal { max-width: 74ch; }
.prose--legal h2 { font-size: clamp(22px, 1.8vw, 27px); margin-top: 2.1em; }
.prose--legal h3 { font-size: clamp(18px, 1.35vw, 21px); }

/* ------------------------------------------------------------ pull note */
.pnote { margin: 2em 0; padding: clamp(20px, 2.2vw, 30px); background: var(--stone-2); border-radius: 6px; border-left: 2px solid var(--terra); }
.pnote__t { font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 1.6vw, 24px); margin: 0 0 10px; color: var(--ink); }
.pnote__b { font-size: 15.5px; line-height: 1.64; color: var(--muted); }
.pnote__b p { margin: 0 0 12px; }
.pnote__b p:last-child { margin-bottom: 0; }
.pnote .btn { margin-top: 16px; }

/* ------------------------------------------------------- contact layout */
.cgrid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(30px, 4vw, 80px); align-items: start; }
.cdetails { display: grid; gap: clamp(20px, 2.2vw, 30px); }
.cdetail { border-top: 1px solid var(--line); padding-top: 16px; }
.cdetail__k { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin: 0 0 8px; }
.cdetail__v { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink); }
.cdetail__v a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line-2); }
.cdetail__v a:hover { border-bottom-color: var(--terra); }
.cdetail__v--lg { font-family: var(--serif); font-size: clamp(26px, 2.2vw, 34px); line-height: 1.1; }
.cform { padding: clamp(24px, 2.8vw, 40px); background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.cform__title { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2vw, 30px); margin: 0 0 6px; }
.cform__sub { margin: 0 0 clamp(18px, 2vw, 26px); color: var(--muted); font-size: 15px; }
.cform .cfields { margin-bottom: 18px; }
.cform__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.cform__ok { display: none; }
.cform.is-sent .cform__ok { display: block; }
.cform.is-sent .cform__body { display: none; }

/* -------------------------------------------------------- generic bands */
.band { padding: clamp(64px, 7.5vw, 120px) 0; }
.band--tight { padding: clamp(44px, 5vw, 76px) 0; }
.band--bone { background: var(--bone); }
.band--bone2 { background: var(--bone-2); }
.band--stone { background: var(--stone-2); }
.band--white { background: var(--white); }
.band--ink { background: var(--ink); color: var(--on-ink); }
.band--ink .h2, .band--ink .sintro__title { color: var(--on-ink); }
.band--ink .label { color: var(--on-ink-muted); }

/* --------------------------------------------------------------- mobile */
@media (max-width: 900px) {
  .phero__grid, .frow, .feebox, .pcta__grid, .cgrid { grid-template-columns: minmax(0, 1fr); }
  .phero { padding-top: calc(var(--nav-h) + 22px); }
  .phero__fig { aspect-ratio: 4 / 3; margin-top: 28px; }
  /* Melinda's portrait stays a portrait, no wider than it can stay sharp */
  .phero__fig:has(img[src*="/melinda-"]) { aspect-ratio: 4 / 5; max-width: 440px; }
  .frow--flip .frow__fig { order: 0; }
  .frow__fig { aspect-ratio: 4 / 3; }
  .frow + .frow { margin-top: 48px; }
  .pcta__grid { gap: 26px; }
  .pcta__actions { width: 100%; }
  .slist a { grid-template-columns: auto minmax(0, 1fr); }
  .slist__go { display: none; }
  .feebox { text-align: left; }
}
@media (max-width: 600px) {
  .phero__title { font-size: clamp(34px, 9vw, 44px); }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .cform { padding: 20px; }
}

/* ------------------------------------------------- reduced motion safety */
@media (prefers-reduced-motion: reduce) {
  .acard, .acard__fig img, .frow__fig img, .slist__go, .acard__arrow { transition: none !important; }
  .acard:hover { transform: none; }
}

/* =============================================================================
   APPENDED 25 Sep 2026 — services hub, /services/buying-property,
   /services/selling-property. Gap fixes for shared helpers that are used on
   every inner page, plus three small additions. Tokens only, no new palette,
   no new motion. Append below this block; do not restructure it.
   ============================================================================= */

/* 1. .label__dot — emitted by nsc_hero(), nsc_intro(), nsc_feature() and
      nsc_feebox() but never styled. It is the eyebrow marker the homepage hero
      draws with .hero__eyebrow-in::before, so it matches that square. */
.label__dot { width: 8px; height: 8px; flex: none; align-self: center; background: var(--terra); }
.band--ink .label__n, [data-tone="dark"] .label__n { color: var(--on-ink-faint); }

/* 2. .btn--line is authored for dark bands (--fg: var(--bone)). nsc_feature(),
      nsc_feebox() and nsc_note() all place it on light panels, where cream on
      cream is invisible. Re-point the variables on light surfaces only. */
.band--white .btn--line, .band--bone .btn--line, .band--bone2 .btn--line,
.band--stone .btn--line, .feebox .btn--line, .pnote .btn--line, .prose .btn--line {
  --fg: var(--ink); --ifg: var(--ink); --fill: rgba(21, 41, 74, .05);
  border-color: var(--line-2);
}
.band--white .btn--line .btn__icon, .band--bone .btn--line .btn__icon, .band--bone2 .btn--line .btn__icon,
.band--stone .btn--line .btn__icon, .feebox .btn--line .btn__icon, .pnote .btn--line .btn__icon,
.prose .btn--line .btn__icon { border-color: var(--line-2); }

/* 3. Fixed fee line inside a feature row (services hub tiles). */
.ffee { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin: clamp(20px, 2.2vw, 30px) 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.ffee__amt { font-family: var(--serif); font-size: clamp(30px, 2.8vw, 42px); line-height: 1; letter-spacing: -.015em; color: var(--ink); }
.ffee__k { font-size: 13px; line-height: 1.45; color: var(--faint); max-width: 34ch; }

/* 4. A row of actions closing a band (same rhythm as .phero__actions). */
.bactions { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(14px, 1.6vw, 26px); margin-top: clamp(32px, 3.6vw, 56px); }

/* 5. nsc_faq() wraps the 12-column grid in .wrap, so the grid has to live on
      .faq__grid, not on the <section>. It also uses a <span> for the question
      and .faq-item__mark for the sign, neither of which site.css styles. */
section.faq { display: block; margin-top: 0; padding-top: 0; border-top: 0; }
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.faq__grid .faq__side { grid-column: 1 / span 4; }
.faq__grid .faq__list { grid-column: 6 / span 7; }
.faq__side .faq__title { margin: 0; }
.faq-item summary > span:first-child { font: 400 clamp(21px, 1.7vw, 25px)/1.25 var(--serif); letter-spacing: -.005em; text-wrap: balance; transition: transform .5s var(--ease); }
.faq-item summary:hover > span:first-child { transform: translateX(6px); }
.faq-item__mark { position: relative; width: 14px; height: 14px; flex: none; }
.faq-item__mark::before, .faq-item__mark::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .45s var(--ease); }
.faq-item__mark::after { transform: rotate(90deg); }
.faq-item[open] > summary .faq-item__mark::after { transform: rotate(0deg); }
.faq__aside { margin-top: clamp(24px, 3vw, 40px); padding-top: 20px; border-top: 1px solid var(--line); }
.faq__aside p { margin: 0 0 12px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.faq__aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.faq__aside a { display: inline-flex; align-items: baseline; gap: 8px; font-size: 15px; line-height: 1.4; color: var(--ink); text-decoration: none; }

/* 6. .slist__t is an inline <span> in the helper's markup; it needs its own line. */
.slist__t { display: block; }

/* 7. A pull note used outside .prose still needs its own breathing room. */
.band > .wrap > .pnote:first-child, .pnote--flush { margin-top: 0; }
.pnote:last-child { margin-bottom: 0; }

/* 8. Two readable columns of prose where a section has two short ideas. */
.pcols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(28px, 3.4vw, 64px); align-items: start; }
.pcols .prose { max-width: 54ch; }

@media (max-width: 900px) {
  .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .faq__grid .faq__side, .faq__grid .faq__list { grid-column: 1 / -1; }
  .faq__grid .faq__list { margin-top: 26px; }
  .bactions { margin-top: 30px; }
}

/* =============================================================================
   APPENDED 25 Sep 2026 — /contact and /404. The only genuinely new layout is
   the contact grid: the shared quote panel (includes/quote-section.php in
   enquiry mode) sits in the right column, so it has to drop its full-width
   section chrome and stack instead of splitting 7/5. Tokens only, no new
   palette, no new motion. Append below this block; do not restructure it.
   ============================================================================= */

/* 1. Contact grid: details left, the enquiry panel right. */
.cgrid--contact { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); align-items: start; }

/* 2. The shared quote section, un-sectioned so it reads as one panel in a column. */
.cpanel .quote { background: none; padding: 0; }
.cpanel .quote > .wrap { max-width: none; padding: 0; }
.cpanel .quote__head { display: block; margin-bottom: clamp(20px, 2.2vw, 30px); }
.cpanel .quote__head .label { margin-bottom: 14px; }
.cpanel .quote__title { max-width: 16ch; font-size: clamp(30px, 2.8vw, 42px); }
.cpanel .quote__sub { max-width: 46ch; margin-top: 12px; padding-bottom: 0; font-size: 15.5px; }
.cpanel .qpanel { grid-template-columns: minmax(0, 1fr); min-height: 0; box-shadow: 0 34px 70px -55px rgba(21, 41, 74, .55); }
.cpanel .qpanel__form, .cpanel .qresult { padding: clamp(24px, 2.6vw, 38px); }
/* Enquiry mode has no estimate to preview: keep the purchase fee out of the ink
   pane before site.js sets the tab (it hides the same block the moment it boots). */
.cpanel .qpanel[data-type="other"] .qresult__empty { display: none; }

/* 3. The quieter second line inside a contact detail (the Google listing link). */
.cdetail__v--sm { margin-top: 10px; font-size: 14.5px; color: var(--muted); }

/* 4. The line under the contact grid pointing price-first visitors at /quote. */
.cnote { margin-top: clamp(30px, 3.4vw, 52px); padding-top: 20px; border-top: 1px solid var(--line); }
.cnote p { max-width: 64ch; margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

@media (max-width: 900px) {
  .cgrid--contact { grid-template-columns: minmax(0, 1fr); }
  .cpanel { margin-top: 10px; }
}

/* Services pages (see the block above), 9: alignment fixes for .pcols. */
.prose > :first-child { margin-top: 0; }
.pcols > .pnote { margin: 0; }

/* =============================================================================
   APPENDED 25 Sep 2026 — /resources, the three guides and /privacy-policy.
   One genuinely new layout: an editorial article grid, a narrow rail of metadata
   and contents that stays in view beside the prose column, plus a lead card grid
   where the featured guide spans the row and reads across. Existing tokens only,
   no new palette, no new motion. Append below this block; do not restructure it.
   ============================================================================= */

/* 1. Article and legal layout: meta rail + prose column. */
.artl { display: grid; grid-template-columns: minmax(0, 14.5rem) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.artl__rail { position: sticky; top: calc(var(--nav-h) + 30px); display: grid; gap: clamp(18px, 2vw, 26px); }
.artl__blk { border-top: 1px solid var(--line); padding-top: 14px; }
.artl__k { margin: 0 0 8px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.artl__v { margin: 0 0 7px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.artl__v:last-child { margin-bottom: 0; }
.artl__toc { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.artl__toc a { color: var(--muted); font-size: 15px; line-height: 1.35; }
.artl__v a, .artl__toc a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), color .3s var(--ease); }
.artl__v a { color: inherit; border-bottom-color: var(--line-2); }
.artl__v a:hover, .artl__toc a:hover { color: var(--ink); border-bottom-color: var(--terra); }
.prose .artl__note { font-size: 14px; line-height: 1.6; color: var(--faint); }

/* 2. Card photographs. <picture> is a block, so height:100% on the image cannot
      resolve against it and the photograph's intrinsic height beats the figure's
      aspect-ratio: a portrait file makes the card several times too tall. Pinning
      the picture inside the figure restores the crop everywhere .acard is used. */
.acard__fig { position: relative; }
.acard__fig picture { position: absolute; inset: 0; display: block; }

/* 3. Resource hub: the featured guide spans the row and reads across. */
.tiles--lead { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles--lead > .acard--lg { grid-column: 1 / -1; }
@media (min-width: 761px) {
  .tiles--lead > .acard--lg { flex-direction: row; min-height: 400px; }
  /* The figure is a flex item here, so it takes its height from the card and the
     photograph is absolutely placed inside it: an aspect-ratio on a stretched
     flex item would drive the card's width instead. */
  .tiles--lead > .acard--lg .acard__fig { display: block; flex: 0 0 50%; aspect-ratio: auto; }
  .tiles--lead > .acard--lg .acard__body { justify-content: center; padding: clamp(28px, 3.2vw, 52px); }
  .tiles--lead > .acard--lg .acard__d { max-width: 42ch; font-size: 16px; }
}

/* 4. Resource hub: the short answers from the old knowledge base. */
.qa__side { max-width: 46ch; }
.qa__ask { margin-top: clamp(22px, 2.4vw, 32px); font-size: 15px; line-height: 1.6; color: var(--muted); }

@media (max-width: 900px) {
  .artl { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .artl__rail { position: static; }
}
@media (max-width: 760px) {
  .tiles--lead { grid-template-columns: minmax(0, 1fr); }
}

/* Services pages (see the block above), 10: inline links inside helper panels
   get the site's persistent underline, as paragraph links do on the homepage. */
.faq__aside a.u, .pnote__b a.u, .feebox__body a.u { background-size: 100% 1px; }
.faq__aside a.u:hover, .pnote__b a.u:hover, .feebox__body a.u:hover { background-size: 0 1px; background-position: 100% 100%; }

/* -----------------------------------------------------------------------------
   Same append, two gap fixes found while building /contact and /404.

   9. .phero--wide (nsc_hero() with no image) caps the whole copy block at 22ch,
      but 'ch' there is the inherited 17px sans, so the lead and the buttons get
      squeezed into about 190px. The measure belongs on the display line, where
      22ch is the serif's own width. Affects every image-less hero.
   ----------------------------------------------------------------------------- */
.phero--wide .phero__copy { max-width: none; }
.phero--wide .phero__title { max-width: 16ch; }
.phero--wide .phero__lead { max-width: 54ch; }

/* 10. Contact details stay with you while the tall enquiry panel scrolls past. */
@media (min-width: 901px) {
  .cgrid--contact .cdetails { position: sticky; top: calc(var(--nav-h) + 26px); }
}

/* =============================================================================
   APPENDED 25 Sep 2026 — /quote, /services/property-transfers,
   /services/strata-conveyancing, /services/other-conveyancing-services.
   Two gap fixes for shared helpers, nothing page-specific. Append below this
   block; do not restructure it.
   ============================================================================= */

/* .phero--wide (the hero nsc_hero() renders when a page has no photograph) caps
   .phero__copy at 22ch. `ch` resolves against that block's own 17px sans, about
   257px, not the 66px serif title, so the display heading is laid out in a
   257px column with the rest of the page empty beside it. Cap the title in its
   own type instead, and give the lead its own measure. */
.phero--wide .phero__copy { max-width: none; }
.phero--wide .phero__title { max-width: 18ch; }
.phero--wide .phero__lead { max-width: 54ch; }

/* A note or prose block closing a .points grid needs its own air: the grid has
   no bottom margin, so the panel edge otherwise lands on the last line of it. */
.points + .prose, .points + .pnote { margin-top: clamp(40px, 4.4vw, 72px); }

@media (max-width: 900px) {
  .phero--wide .phero__title { max-width: none; }
}

/* 11. .cgrid centred on the cross axis (the rating row on /about). */
.cgrid--center { align-items: center; }
.cgrid--center .sintro { margin-bottom: 0; }

/* =============================================================================
   APPENDED 25 Sep 2026 (QA pass) — /contact, /about, /resources and the three
   guides. One addition only: the contact details column now carries a
   photograph and a note so it fills the grid beside the enquiry panel, instead
   of running out halfway down it. Existing tokens, no new palette, no new
   motion. Append below this block; do not restructure it.
   ============================================================================= */

/* 1. A photograph inside the contact details column. nsc_img() returns a
      <picture>, which is a block, so the crop has to be pinned inside the
      figure exactly as .acard__fig does it. */
.cmedia { position: relative; margin: 0; border-radius: 4px; overflow: clip; aspect-ratio: 3 / 2; }
.cmedia picture { position: absolute; inset: 0; display: block; }
.cmedia img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }

/* 2. A note in that column is a grid item, so the grid gap is already its
      spacing; the 2em block margin nsc_note() carries inside prose is not. */
.cdetails > .pnote { margin: 0; }

/* 3. Item 10 of the /contact block above made .cdetails sticky while it was
      about half the height of the enquiry panel. It is now full height, and a
      sticky block taller than the viewport pins its top and hides its own foot,
      so the sticky is released here. */
@media (min-width: 901px) {
  .cgrid--contact .cdetails { position: static; }
}

/* =============================================================================
   APPENDED 25 Sep 2026 — QA fixes for /services, the five service child pages
   and /quote. Shared-helper gaps only: a two-column band head, a pair of fee
   boxes, the .slist row rhythm, the feature-row rhythm and the one control on
   the site without a focus ring. Existing tokens, no new palette, no new
   motion. Append below this block; do not restructure it.
   ============================================================================= */

/* 1. Band head: the heading on the left, its supporting line (and any action)
      opposite it, so a single-column band stops leaving its right half empty.
      Same two-column reading the homepage bands have. */
.bsplit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(20px, 3.4vw, 72px); align-items: start; margin-bottom: clamp(28px, 3.4vw, 56px); }
.bsplit:last-child { margin-bottom: 0; }
.bsplit .sintro { margin-bottom: 0; }
.bsplit__aside { padding-top: clamp(6px, 1.2vw, 18px); }
.bsplit__aside p { margin: 0; max-width: 52ch; color: var(--muted); font-size: clamp(16px, 1.1vw, 17px); line-height: 1.62; }
.band--ink .bsplit__aside p, [data-tone="dark"] .bsplit__aside p { color: var(--on-ink-muted); }
/* The action sits directly under the sentence it belongs to, not opposite it. */
.bsplit__actions { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(22px, 2.4vw, 32px); }

/* 2. A fee box for each side of a transaction, where a page covers both. The
      box's own two-column head is too tight in half the width, so it stacks. */
.feeboxes { display: grid; gap: clamp(18px, 2vw, 28px); grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); align-items: start; }
.feeboxes .feebox { grid-template-columns: minmax(0, 1fr); align-items: start; gap: clamp(16px, 1.8vw, 24px); }
.feeboxes .feebox__body p { max-width: 52ch; }

/* 3. .slist rows. The ordinal was centred on the whole row, so it floated beside
      the body copy well below the heading it numbers; sit it on the heading's
      first line instead. From 1000px the row also reads across in two columns
      rather than leaving most of its width empty. The second span is the row
      body (.slist__body where the page sets it). */
.slist__n { align-self: start; padding-top: clamp(4px, .55vw, 10px); }
@media (min-width: 1000px) {
  .slist a > span:nth-child(2) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(20px, 3vw, 56px); align-items: baseline; }
  .slist__d { margin-top: 0; max-width: 46ch; }
}

/* 4. Alternating feature rows sat far enough apart to read as separate blocks
      rather than one rhythm. */
.frow + .frow { margin-top: clamp(48px, 5.2vw, 88px); }

/* 5. The large price field in the quote panel is the only focusable control on
      the site with no focus ring: site.css gives it an animated underline only,
      which on a field that already has a rule under it is easy to miss. Keep the
      underline as the secondary cue and add the ring every other control uses.
      (The rule belongs in site.css, which is frozen.) */
.affix--xl:focus-within { outline: 2px solid var(--terra); outline-offset: 6px; border-radius: 4px; }

@media (max-width: 900px) {
  .bsplit { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .bsplit__aside { padding-top: 0; }
  .bsplit__actions { margin-top: 22px; }
}

/* 6. <picture> is a block with no height of its own, so `height: 100%` on the
      image inside a hero or feature figure has nothing to resolve against and a
      photograph that is not 4:5 is laid out at its own ratio instead of filling
      the frame: a landscape shot leaves bare background under it, and a tall one
      is cropped from the top rather than around --pos. Pinning the <picture>
      inside the figure restores the frame, the same fix the .acard__fig block
      above makes for cards. */
.phero__fig, .frow__fig { position: relative; }
.phero__fig picture, .frow__fig picture { position: absolute; inset: 0; display: block; }

/* ------------------------------------------------------------------ Privacy Policy (Melinda's document, 22 Nov 2026) */
.prose .ppol__org { margin-top: .1em; font: 500 13px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pcontact { margin-top: 3em; padding: clamp(22px, 3vw, 32px); background: var(--bone); border: 1px solid var(--line); border-radius: 16px; }
.prose .pcontact__t { margin: 0 0 .5em; }
.prose .pcontact__name { margin: 0 0 .6em; font-weight: 500; color: var(--ink); }
.prose .pcontact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.prose .pcontact__list li { margin: 0; padding: 0; display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; }
.prose .pcontact__list li::before { display: none; }
.pcontact__list span { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: .2em; }
@media (max-width: 560px) { .prose .pcontact__list li { grid-template-columns: 1fr; gap: 0; } }

/* ------------------------------------------------------------------ About: working alongside (Natalie Duong, 22 Nov 2026)
   Secondary to Melinda: a smaller portrait, quieter type, below all of her sections. */
.partner__grid { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; max-width: 1040px; }
.partner__fig { margin: 0; width: 100%; aspect-ratio: 4 / 5; border-radius: 4px; overflow: clip; }
.partner__fig picture { display: block; width: 100%; height: 100%; }
.partner__fig img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.partner__title { margin: 14px 0 0; }
.partner__role { margin-top: 6px; font: 500 14px/1.4 var(--sans); letter-spacing: .04em; color: var(--muted); }
.partner__body { margin-top: clamp(14px, 1.6vw, 20px); color: var(--muted); font-size: clamp(15px, 1vw, 16.5px); line-height: 1.62; max-width: 60ch; }
.partner__body p { margin: 0 0 12px; }
.partner__contact { list-style: none; margin: clamp(16px, 1.8vw, 22px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 8px 32px; font-size: 15px; }
.partner__contact li { display: grid; gap: 2px; }
.partner__contact span { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.partner__contact a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; overflow-wrap: anywhere; }
@media (max-width: 960px) { .partner__contact { grid-template-columns: minmax(0, 1fr); } }
.partner__contact a:hover { text-decoration-color: var(--terra); }
.partner__link { margin-top: clamp(18px, 2vw, 26px); }
@media (max-width: 700px) {
  .partner__grid { grid-template-columns: minmax(0, 1fr); }
  .partner__fig { max-width: 260px; }
  .partner__contact { grid-template-columns: minmax(0, 1fr); }
}

/* About: reviews block (same rail as the homepage) */
.arev .cgrid { align-items: end; }
.arev__side { display: grid; gap: 16px; justify-items: start; }

/* ------------------------------------------------------------------ Coastal imagery (Melinda's photos, 22 Nov 2026) */
.frow--wide .frow__fig { aspect-ratio: 3 / 2; }
.frow__fig--set { aspect-ratio: auto; overflow: visible; border-radius: 0; }
.frow__fig--set:hover img { transform: none; }
.ctrio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 16px); align-items: start; width: 100%; max-width: 632px; margin-inline: auto; }
.ctrio__t { position: relative; aspect-ratio: 4 / 5; border-radius: 4px; overflow: clip; background: var(--stone); }
.frow__fig .ctrio__t picture { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.ctrio__t img { width: 100%; height: 100%; object-fit: cover; }
.ctrio__t--2 { margin-top: clamp(28px, 5vw, 72px); }
.ctrio__t--3 { margin-top: clamp(12px, 2vw, 28px); }
.prose .pcontact__list a { justify-self: start; }

/* ------------------------------------------------------------------ Layout polish found in the 23 Nov live QA */
/* A paragraph after a list in a feature body (survivorship "Getting started") had no space above it. */
.frow__body ul + p { margin-top: 14px; }
/* Note boxes inside prose: the title kept the prose h3 top margin on top of the box padding. */
.prose .pnote__t { margin-top: 0; }
/* Long email addresses never run past their card on small phones. */
.prose .pcontact__list a, .cdetail__v a { overflow-wrap: break-word; }
/* Points grids: no single card left alone on a row. Four items: 4 across, then 2 x 2. Nine items: 3 x 3. */
@media (min-width: 701px) and (max-width: 1180px) {
  .points:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1181px) {
  .points:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 901px) {
  .points:has(> li:nth-child(9):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Side-by-side fee cards: equal heights, buttons on one line. */
.feeboxes { align-items: stretch; }
.feeboxes .feebox { grid-template-rows: auto 1fr; align-items: stretch; }
.feeboxes .feebox__body { display: flex; flex-direction: column; align-items: flex-start; }
.feeboxes .feebox__body > :last-child { margin-top: auto; }

/* Coastal theme (Melinda, 27 Nov 2026): rounded photo frames on the inner pages, and a landscape
   hero frame for photographs that carry words (the survivorship photo's Will and title). */
.phero__fig, .frow__fig:not(.frow__fig--set) { border-radius: var(--radius); }
.phero:not(.phero--ink) { background: linear-gradient(180deg, var(--sky) 0%, var(--bone) 78%); }
.phero__fig.phero__fig--wide { aspect-ratio: 1248 / 765; align-self: center; }
