/* =============================
   Price Advisory
   Same look as hackney.fergusprice.me, fergusprice.me and priceproperty.ie: monochrome off-white and near-black,
   Inclusive Sans, square shapes, 2px rules, always-underlined links, no motion.
   Colours are named by role so the light and dark schemes stay consistent.
============================= */
/* Inclusive Sans, hosted on this site (SIL Open Font License, see fonts/OFL.txt).
   One variable file per character set covers every weight from 400 to 700. */
@font-face {
  font-family: 'Inclusive Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/inclusive-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inclusive Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/inclusive-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #f8f8f6;               /* off-white: less glare than pure white */
  --surface: #ffffff;
  --ink: #1b1b1b;              /* near-black: softer than pure black */
  --muted: #3d3d3d;
  --rule: #858585;             /* card borders (3:1) */
  --rule-strong: #1b1b1b;
  --band: #1b1b1b;             /* header, hero and call-to-action bands */
  --band-ink: #ffffff;
  --primary: #1b1b1b;
  --primary-ink: #ffffff;
  --soft: #e9e9e7;
  --note-bg: #efefed;
  --link: #1b1b1b;
  --focus: #1b1b1b;            /* focus outline, with an off-white gap around it */

  --max: 1040px;
  --font: 'Inclusive Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --surface: #1c1c1c;
    --ink: #f2f2f0;
    --muted: #cfcfcf;
    --rule: #6a6a6a;
    --rule-strong: #f2f2f0;
    --band: #000000;
    --band-ink: #ffffff;
    --primary: #f2f2f0;
    --primary-ink: #121212;
    --soft: #2a2a2a;
    --note-bg: #262626;
    --link: #f2f2f0;
    --focus: #f2f2f0;
    color-scheme: dark;
  }
}

/* =============================
   Base
============================= */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 20px/1.6 var(--font);
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--link); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 4px; }
p { margin: 0 0 16px; }
strong { font-weight: 700; }
img, svg { max-width: 100%; }
:focus-visible { outline: 4px solid var(--focus); outline-offset: 3px; box-shadow: 0 0 0 8px var(--bg); }
.site-header :focus-visible, .hero :focus-visible, .cta-band :focus-visible { outline-color: var(--band-ink); box-shadow: 0 0 0 8px var(--band); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow > * { max-width: 48em; }
.section { padding: 64px 0; scroll-margin-top: 0; }
.section + .section { border-top: 2px solid var(--rule); }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--band-ink); color: var(--band); padding: 14px 18px; }

h1, h2, h3 { font-family: var(--font); font-weight: 700; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(38px, 6.4vw, 60px); line-height: 1.1; }
h2 { font-size: clamp(30px, 4.2vw, 40px); line-height: 1.15; margin-bottom: 16px; }
h3 { font-size: 23px; line-height: 1.25; margin-bottom: 8px; }
.intro { font-size: 22px; max-width: 34em; }

/* Small uppercase label above a heading, as on fergusprice.me */
.eyebrow, .ref {
  margin: 0 0 10px;
  font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}

/* =============================
   Header
============================= */
.site-header { background: var(--band); color: var(--band-ink); border-bottom: 2px solid rgba(255, 255, 255, .18); }
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
}
.site-nav { display: flex; gap: 24px; margin-left: auto; }
.site-nav a { color: inherit; font-size: 18px; text-decoration-thickness: 1px; }
.site-nav a:hover { text-decoration-thickness: 3px; }
.header-call {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border: 2px solid var(--band-ink);
  color: inherit;
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  white-space: nowrap;
}
.header-call:hover { background: rgba(255, 255, 255, .12); }

/* =============================
   Hero
============================= */
.hero {
  background: var(--band);
  color: var(--band-ink);
  padding: 44px 0 80px;
  position: relative;
}
.hero::after {
  /* Boundary line motif: the dash-dot line used for land boundaries on maps */
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--band-ink) 0 48px, transparent 48px 60px, var(--band-ink) 60px 66px, transparent 66px 78px);
}
.hero h1 em { font-style: normal; }
.hero .intro { color: var(--band-ink); margin-top: 20px; }
.hero-call { margin: 22px 0 0; font-size: 22px; }
.hero-call a { color: var(--band-ink); font-weight: 700; white-space: nowrap; }
.hero.compact { padding: 36px 0 70px; }
.crumbs { margin: 0 0 18px; font-size: 17px; }
.crumbs a { color: var(--band-ink); text-decoration-thickness: 1px; }
.crumbs span[aria-hidden] { margin: 0 8px; }
@media (prefers-color-scheme: dark) {
  .hero { border-bottom: 2px solid rgba(255, 255, 255, .18); }
}

/* =============================
   Buttons
============================= */
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 62px;
  padding: 14px 26px;
  border: 3px solid transparent;
  font: 700 21px/1.1 var(--font);
  text-decoration: none;
  cursor: pointer;
}
.btn svg { flex: 0 0 auto; width: 24px; height: 24px; }
.btn-primary { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.btn-primary:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
/* On the black bands, buttons flip to white */
.hero .btn-primary, .cta-band .btn-primary { background: var(--band-ink); color: var(--band); border-color: var(--band-ink); }
.btn-outline { border-color: var(--rule-strong); color: var(--ink); background: var(--surface); }
.btn-outline:hover { background: var(--soft); }
.btn-outline-band { border-color: var(--band-ink); color: var(--band-ink); background: transparent; }
.btn-outline-band:hover { background: rgba(255, 255, 255, .12); }

/* =============================
   Panels and service cards
============================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.panel {
  background: var(--surface);
  border: 2px solid var(--rule);
  padding: 28px;
}

/* "Where can I help?": each family is one big link */
a.family { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; border-color: var(--rule-strong); }
a.family:hover { background: var(--band); color: var(--band-ink); }
a.family:hover .go { text-decoration-thickness: 4px; }
.family-ic { font-size: 36px; line-height: 1; margin-bottom: 14px; }
.asks { list-style: none; margin: 8px 0 20px; padding: 0; display: grid; gap: 10px; }
.asks li { padding-left: 26px; position: relative; }
.asks li::before { content: '“'; position: absolute; left: 0; font-weight: 700; font-size: 28px; line-height: 1; top: 2px; }
.go { margin-top: auto; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.go::after { content: '\00a0↓'; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.cards.two { grid-template-columns: 1fr 1fr; }
.card { display: flex; flex-direction: column; }
.card > p:not(.ref) { color: var(--muted); }
.card .more { margin-top: auto; padding-top: 16px; font-weight: 700; }
.card .more::after { content: '\00a0→'; }
.card .more[target="_blank"]::after { content: '\00a0↗'; }
.group-heading { margin-top: 40px; font-size: 26px; }

.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.ticks li::before {
  content: '✓';
  width: 28px; height: 28px; margin-top: 2px;
  display: grid; place-items: center;
  background: var(--primary); color: var(--primary-ink);
  font-weight: 700; font-size: 16px;
}

/* Links to the other service pages */
.related { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.related a {
  display: flex; align-items: center; min-height: 64px; padding: 12px 18px;
  background: var(--surface); color: var(--ink); border: 2px solid var(--rule-strong);
  font-weight: 700; text-decoration: none;
}
.related a::after { content: '\00a0→'; margin-left: auto; }
.related a:hover { background: var(--band); color: var(--band-ink); }
.note.urgent { margin: 0 0 32px; }
.note .btn { margin-top: 14px; }

/* =============================
   Steps
============================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; counter-reset: step; }
.step {
  background: var(--surface);
  border: 2px solid var(--rule);
  padding: 26px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: var(--primary);
  color: var(--primary-ink);
  font-weight: 700;
  font-size: 26px;
  margin-bottom: 16px;
}
.step p { margin: 0; }

/* =============================
   Ticked list
============================= */
.rules { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 18px; }
.rules li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.rules .ic {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: var(--primary-ink);
  font-weight: 700;
  font-size: 22px;
}
.rules strong { display: block; }
.rules span { color: var(--muted); }

/* =============================
   FAQ
============================= */
.faqs { margin-top: 24px; display: grid; gap: 12px; max-width: 48em; }
details.faq {
  background: var(--surface);
  border: 2px solid var(--rule);
  padding: 0 24px;
}
details.faq[open] { border-color: var(--rule-strong); }
details.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  min-height: 62px;
  font-weight: 700;
  font-size: 21px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: '+';
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: var(--primary-ink);
  font-size: 26px;
  line-height: 1;
}
details.faq[open] summary::after { content: '−'; }
details.faq p { padding-bottom: 8px; }

/* =============================
   CTA band
============================= */
.cta-band {
  background: var(--band);
  color: var(--band-ink);
  border: 2px solid var(--band);
  padding: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}
@media (prefers-color-scheme: dark) { .cta-band { border-color: var(--rule-strong); } }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; font-size: 22px; }
.cta-band a.tel { color: inherit; font-weight: 700; overflow-wrap: anywhere; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn { min-width: 200px; }

/* =============================
   Note
============================= */
.note {
  background: var(--note-bg);
  border-left: 8px solid var(--primary);
  padding: 18px 20px;
  margin: 32px 0 0;
  max-width: 48em;
}

/* =============================
   Footer
============================= */
.site-footer {
  border-top: 2px solid var(--rule);
  padding: 30px 0 48px;
  font-size: 18px;
  color: var(--muted);
}
.site-footer a { color: inherit; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }

/* =============================
   Sticky mobile bar
============================= */
.callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: none;
  gap: 6px;
  padding: 10px 8px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--surface);
  border-top: 3px solid var(--rule-strong);
}
/* Three equal buttons, icon above a short label */
.callbar .btn {
  flex: 1 1 0;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  min-height: 66px;
  padding: 8px 2px;
  font-size: 16px;
  border-width: 2px;
}
.callbar .btn svg { width: 24px; height: 24px; }

/* =============================
   Responsive
============================= */
@media (max-width: 960px) {
  .site-nav { display: none; }
}
@media (max-width: 880px) {
  .steps, .split, .cards, .cards.two { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 19px; }
  .hero { padding: 28px 0 64px; }
  .hero.compact { padding: 26px 0 60px; }
  .hero::after { bottom: 22px; }
  .hero-call { font-size: 20px; margin-top: 18px; }
  h1 { font-size: 34px; }
  h2 { font-size: 29px; }
  .intro, .hero .intro { font-size: 19px; margin-top: 14px; }
  .actions { margin-top: 20px; gap: 10px; }
  .hero .actions .btn { flex: 1 1 0; padding: 12px 10px; }
  .hero .actions .btn-lead { flex: 1 1 100%; }
  .header-call { display: none; }
  .callbar { display: flex; }
  body:has(.callbar) .site-footer { padding-bottom: 130px; }

  /* Steps: number beside the heading instead of above it */
  .steps { gap: 12px; }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 20px; }
  .step::before { grid-row: span 2; width: 48px; height: 48px; margin: 0; }
  .step h3, .step p { grid-column: 2; }

  .section { padding: 48px 0; }
  .panel { padding: 22px 20px; }
  .logo { font-size: 20px; }
  .cta-band { padding: 26px 22px; }
  .cta-actions { width: 100%; }
  .cta-band .btn { flex: 1 1 100%; }
}
.asks-page { max-width: 40em; font-size: 22px; margin-top: 16px; }
.asks-page li { padding-left: 32px; }
.asks-page li::before { font-size: 34px; }
