/* ==========================================================================
   Waymakers Legal Services
   One stylesheet. Tokens, chrome, components, pages, responsive.

   Brand: logo blue #577b8c, logo black #1f2122, wordmark set in Quicksand.
   Headings use Quicksand to match the wordmark; body is Barlow for reading.
   ========================================================================== */

/* --- Fonts (self-hosted) ------------------------------------------------ */
@font-face { font-family: "Quicksand"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/quicksand-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Quicksand"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/quicksand-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Quicksand"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/quicksand-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Quicksand"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/quicksand-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); }

/* --- Tokens ------------------------------------------------------------- */
:root {
  --color-bg: #f7f8f9;          /* matches the white logo artwork */
  --color-surface: #eef0f2;
  --color-text: #1f2122;        /* logo black */
  --color-divider: rgba(31, 33, 34, .14);

  /* Brand blue ramp. Base is the logo blue; 700 and 800 are the
     contrast-safe steps for links and small text on the light ground. */
  --brand-300: #b3c4cb;
  --brand-400: #8da5b1;
  --brand-500: #708f9d;
  --brand-600: #577b8c;   /* brand base — buttons, rules, large text */
  --brand-700: #466270;   /* links, small accent text (5.8:1) */
  --brand-800: #364c57;   /* hover / pressed */
  --brand-900: #27373f;

  /* Gold — a sparing accent, at the client's request. #b8923a is decorative
     only (2.7:1 on the light ground); --gold-deep is the text-safe step at
     4.7:1, and the brighter gold is used on the dark footer where it reads. */
  --gold: #b8923a;
  --gold-deep: #8a6a22;

  --color-accent: var(--brand-600);
  --color-accent-700: var(--brand-700);
  --color-accent-800: var(--brand-800);

  --color-neutral-100: #f5f6f7;
  --color-neutral-200: #e9ebed;
  --color-neutral-300: #d6d9dc;
  --color-neutral-400: #b9bec2;
  --color-neutral-500: #9aa0a5;
  --color-neutral-600: #7c8288;
  --color-neutral-700: #5f656a;
  --color-neutral-800: #43484c;

  --font-heading: "Quicksand", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;

  --container: 1240px;
  --gutter: 24px;

  --size-display: clamp(32px, 4.6vw, 54px);
  --size-h2: clamp(26px, 3.2vw, 38px);
  --size-h3: clamp(20px, 2.2vw, 26px);
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin: 0;
}

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
ul { margin: 0; padding-left: 1.2em; }

a { color: var(--brand-700); text-underline-offset: 3px; }
a:hover { color: var(--brand-800); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 2px; }
::selection { background: rgba(87, 123, 140, .25); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 30;
  padding: 10px 16px; background: var(--color-text); color: var(--color-bg);
  font-family: var(--font-heading); font-weight: 600; font-size: 15px;
  text-decoration: none; transition: top .12s ease;
}
.skip-link:focus { top: 8px; color: var(--color-bg); }

/* --- Layout ------------------------------------------------------------- */
.container {
  width: 100%; max-width: var(--container);
  margin: 0 auto; padding: 0 var(--gutter);
}

.section { padding: 72px 0; border-bottom: 1px solid var(--color-divider); }
.section--hero { padding: 88px 0 72px; }
.section--tint { background: var(--color-surface); }
.section:last-of-type { border-bottom: 0; }

.grid { display: grid; gap: 48px; }
.grid--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.grid--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.grid--6-6 { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }

.stack { display: flex; flex-direction: column; gap: 18px; }

/* --- Type --------------------------------------------------------------- */
.display { font-size: var(--size-display); line-height: 1.14; font-weight: 600; }
.h2 { font-size: var(--size-h2); line-height: 1.18; }
.h3 { font-size: var(--size-h3); line-height: 1.25; }
.h4 { font-size: 20px; line-height: 1.3; }

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 13px; line-height: 1.2;
  letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 16px;
}

.rule { height: 1px; border: 0; margin: 0 0 28px; background: var(--color-divider); }

/* Short gold rule — used under page headings and section headings. */
.rule-gold {
  width: 56px; height: 2px; border: 0; margin: 20px 0 0;
  background: var(--gold);
}
.rule-gold--tight { margin-top: 16px; }

.lede { font-size: 20px; line-height: 1.55; color: var(--color-neutral-800); }
.body { color: var(--color-neutral-800); }
.small { font-size: 15px; line-height: 1.5; color: var(--color-neutral-700); }
.mt-8 { margin-top: 8px; }
.affiliation { color: var(--gold-deep); font-family: var(--font-heading); font-weight: 500; letter-spacing: .01em; }

.measure { max-width: 62ch; }
.measure-narrow { max-width: 46ch; }

.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: 600;
  font-size: 16px; line-height: 1.2; color: var(--color-text);
  background: transparent;
  border: 1px solid var(--color-divider); border-radius: 2px;
  padding: 12px 22px;
  transition: background-color .12s ease, border-color .12s ease, color .12s ease;
}
.btn:hover { color: var(--color-text); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }

.btn-primary { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.btn-primary:hover { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.btn-primary:active { background: var(--brand-800); border-color: var(--brand-800); }

.btn-secondary { border-color: var(--brand-600); color: var(--brand-700); }
.btn-secondary:hover { background: rgba(87, 123, 140, .09); color: var(--brand-800); }

.btn-ghost { border-color: transparent; color: var(--brand-700); padding-inline: 8px; }
.btn-ghost:hover { background: rgba(87, 123, 140, .09); color: var(--brand-800); }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.link-arrow {
  display: inline-block; font-family: var(--font-heading);
  font-weight: 600; font-size: 16px; text-decoration: none; color: var(--brand-700);
}
.link-arrow:hover { text-decoration: underline; }

/* --- Header ------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 20;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-divider);
}
.header__inner {
  display: flex; align-items: center; gap: 32px;
  padding-top: 16px; padding-bottom: 16px;
}
.header__brand { display: block; flex: none; }
.header__brand img { width: 210px; height: auto; }

.header__nav { display: flex; align-items: center; gap: 28px; }
.header__nav a {
  font-family: var(--font-heading); font-weight: 500; font-size: 16px;
  color: var(--color-text); text-decoration: none; white-space: nowrap;
  padding-block: 4px; border-bottom: 2px solid transparent;
}
.header__nav a:hover { color: var(--brand-700); }
.header__nav a[aria-current="page"] { color: var(--brand-700); border-bottom-color: var(--brand-600); }

.header__actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.header__actions .btn { white-space: nowrap; padding-inline: 18px; }
.header__phone {
  font-family: var(--font-heading); font-weight: 600; font-size: 17px;
  white-space: nowrap; color: var(--color-text); text-decoration: none;
}
.header__phone:hover { color: var(--brand-700); }

.header__toggle {
  display: none; align-items: center; gap: 10px;
  background: transparent; border: 1px solid var(--color-divider); border-radius: 2px;
  font-family: var(--font-heading); font-weight: 600; font-size: 15px;
  color: var(--color-text); padding: 10px 14px; cursor: pointer;
}
.header__toggle-bars { display: inline-block; width: 16px; height: 10px; position: relative; }
.header__toggle-bars::before,
.header__toggle-bars::after,
.header__toggle-bars span {
  content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor;
}
.header__toggle-bars::before { top: 0; }
.header__toggle-bars span { top: 4.25px; }
.header__toggle-bars::after { bottom: 0; }

.mobile-nav { display: none; border-top: 1px solid var(--color-divider); }
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav__list { display: flex; flex-direction: column; padding: 8px 0 20px; }
.mobile-nav__list a {
  padding: 14px 0; border-bottom: 1px solid var(--color-divider);
  font-family: var(--font-heading); font-weight: 600; font-size: 19px;
  color: var(--color-text); text-decoration: none;
}
.mobile-nav__list a[aria-current="page"] { color: var(--brand-700); }
.mobile-nav__foot { display: flex; flex-direction: column; gap: 14px; padding-bottom: 24px; }
.mobile-nav__foot .btn { width: 100%; }
.mobile-nav__foot .header__phone { text-align: center; }

/* --- Footer ------------------------------------------------------------- */
.footer {
  background: var(--color-text);
  color: var(--color-neutral-300);
  font-size: 15px; line-height: 1.6;
}
.footer__inner { padding-block: 56px; }
.footer a { color: var(--color-neutral-200); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }

.footer__top {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px; align-items: start;
  padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.footer__logo { width: 210px; margin-bottom: 20px; }
.footer__blurb { max-width: 40ch; color: var(--color-neutral-400); }
.footer__contact { display: flex; flex-direction: column; gap: 6px; margin-top: 20px; }

.footer__links {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  font-family: var(--font-heading); font-weight: 500;
}
.footer__legal { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.footer__top { position: relative; }
.footer__top::after {
  content: ""; position: absolute; bottom: -1px; left: 0;
  width: 56px; height: 1px; background: var(--gold);
}
.footer__legal p { margin: 0; max-width: 88ch; color: var(--color-neutral-400); font-size: 14px; line-height: 1.65; }

/* --- Cards -------------------------------------------------------------- */
.card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px; background: #fff;
  border: 1px solid var(--color-divider); border-radius: 2px;
  text-decoration: none; color: inherit;
  transition: border-color .12s ease, transform .12s ease;
}
a.card { border-top: 2px solid transparent; }
a.card:hover { color: inherit; border-color: var(--color-divider); border-top-color: var(--gold); transform: translateY(-2px); }
a.card:hover .card__title { color: var(--brand-700); }
.card__title { font-family: var(--font-heading); font-weight: 600; font-size: 21px; line-height: 1.3; }
.card__body { font-size: 16px; line-height: 1.55; color: var(--color-neutral-800); margin: 0; flex: 1; }
.card__link { margin-top: 4px; font-family: var(--font-heading); font-weight: 600; font-size: 15px; color: var(--brand-700); }

.panel {
  padding: 32px; background: #fff;
  border: 1px solid var(--color-divider); border-left: 3px solid var(--gold);
  border-radius: 2px;
}

/* A block within a service page. */
.detail { padding-top: 28px; border-top: 1px solid var(--color-divider); position: relative; }
.detail::before {
  content: ""; position: absolute; top: -1px; left: 0;
  width: 40px; height: 1px; background: var(--gold);
}
.detail + .detail { margin-top: 28px; }
.detail__title { font-family: var(--font-heading); font-weight: 600; font-size: 22px; margin-bottom: 12px; }
.detail__columns {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px;
  margin-top: 24px; padding: 24px 0 8px; border-top: 1px solid var(--color-divider);
}
.detail__col-heading {
  font-family: var(--font-body); font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 600; color: var(--gold-deep); margin-bottom: 12px;
}
.detail__list { margin: 0; padding: 0; list-style: none; font-size: 16px; line-height: 1.5; color: var(--color-neutral-800); }
.detail__list li { padding: 7px 0 7px 16px; position: relative; border-bottom: 1px solid var(--color-divider); }
.detail__list li:last-child { border-bottom: 0; }
.detail__list li::before { content: ""; position: absolute; left: 0; top: 16px; width: 6px; height: 1px; background: var(--gold); }
@media (max-width: 900px) { .detail__columns { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .detail__columns { grid-template-columns: minmax(0, 1fr); } }

/* --- Figures ------------------------------------------------------------ */
.figure { position: relative; }
.figure img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.figure--4x5 { aspect-ratio: 4 / 5; }
.figure--4x3 { aspect-ratio: 4 / 3; }
.figure--3x2 { aspect-ratio: 3 / 2; }
.figure--16x9 { aspect-ratio: 16 / 9; }

.figure__slot {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; text-align: center;
  background: var(--color-neutral-200);
  border: 1px solid var(--color-divider); border-radius: 2px;
  color: var(--color-neutral-600);
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
}

/* --- Forms -------------------------------------------------------------- */
.field { display: block; }
.field + .field { margin-top: 24px; }
.field > label, .field__label {
  display: block; font-family: var(--font-heading); font-weight: 600;
  font-size: 16px; color: var(--color-text); margin-bottom: 8px;
}
.field__help { display: block; font-size: 15px; line-height: 1.5; color: var(--color-neutral-700); margin-bottom: 10px; }
.field__optional { font-weight: 400; color: var(--color-neutral-600); }

.input {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; font-size: 17px; color: var(--color-text);
  caret-color: var(--brand-600);
  background: #fff;
  border: 1px solid var(--color-neutral-400); border-radius: 2px;
}
.input:hover { border-color: var(--color-neutral-600); }
.input:focus-visible { border-color: var(--brand-600); outline-offset: 0; }
textarea.input { min-height: 150px; resize: vertical; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--color-neutral-700) 50%), linear-gradient(135deg, var(--color-neutral-700) 50%, transparent 50%); background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 14px) calc(50% + 2px); background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.input[aria-invalid="true"] { border-color: #9c3535; }

.field__error { display: none; margin-top: 8px; font-size: 15px; color: #9c3535; }
.field__error[data-visible="true"] { display: block; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--color-neutral-400); border-radius: 2px;
  background: #fff; padding: 11px 16px; cursor: pointer; font-size: 16px;
}
.choice:hover { border-color: var(--brand-500); }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice__dot { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 1.5px solid var(--color-neutral-500); }
.choice input:checked ~ .choice__dot {
  border-color: var(--brand-600); background: var(--brand-600);
  box-shadow: inset 0 0 0 3.5px #fff;
}
.choice:has(input:checked) { border-color: var(--brand-600); background: rgba(87, 123, 140, .07); }
.choice:has(input:focus-visible) { outline: 2px solid var(--brand-600); outline-offset: 2px; }

.form-status { margin-top: 18px; font-size: 16px; line-height: 1.5; }
.form-status[data-state="error"] { color: #9c3535; }
.form-status[data-state="success"] { color: var(--brand-800); }

.enquiry { max-width: 640px; }
.enquiry__done { padding: 36px; background: #fff; border: 1px solid var(--color-divider); border-left: 3px solid var(--gold); border-radius: 2px; }

.notice-banner {
  border: 1px solid var(--brand-400); border-left-width: 3px; border-radius: 2px;
  background: rgba(87, 123, 140, .06);
  padding: 16px 20px; margin-bottom: 32px;
  font-size: 15px; line-height: 1.6; color: var(--color-neutral-800);
}

/* --- Contact blocks ------------------------------------------------------ */
.contact-line { font-family: var(--font-heading); font-weight: 600; font-size: 19px; }
.contact-line a { text-decoration: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .header__inner { gap: 20px; }
  .header__nav { gap: 18px; }
}

/* About: "Meet the Team" heading above the first profile. */
.team-head { margin-bottom: 48px; }
@media (max-width: 760px) { .team-head { margin-bottom: 32px; } }

/* About: portrait first in the markup (so it leads on mobile), moved to the
   right-hand column on desktop for every other person. */
@media (min-width: 901px) {
  .person--flip > .person__figure { grid-column: 2; grid-row: 1; }
  .person--flip > .person__text { grid-column: 1; grid-row: 1; }
}

@media (max-width: 1000px) {
  .header__nav { display: none; }
  .header__actions .header__phone { display: none; }
  .header__toggle { display: inline-flex; }
  .grid--7-5, .grid--5-7, .grid--6-6 { gap: 40px; }
}

@media (max-width: 900px) {
  .grid--7-5, .grid--5-7, .grid--6-6 { grid-template-columns: minmax(0, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--7-5 > .figure, .grid--6-6 > .figure,
  .grid--7-5 > div > .figure, .grid--5-7 > div > .figure { max-width: 420px; }
  .footer__top { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

@media (max-width: 760px) {
  .header__actions > .btn-primary { display: none; }
  .header__brand img { width: 170px; }
}

@media (max-width: 700px) {
  .section { padding: 48px 0; }
  .section--hero { padding: 48px 0; }
  .grid, .grid--2, .grid--3 { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .panel, .card { padding: 22px; }
  .enquiry__done { padding: 24px; }
  .footer__inner { padding-block: 40px; }
}

@media (max-width: 480px) {
  :root { --gutter: 18px; }
  body { font-size: 16px; }
  .btn-row .btn { flex: 1 1 100%; }
  .choices { flex-direction: column; }
  .choice { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

[id] { scroll-margin-top: 100px; }

@media print {
  .header, .footer__links, .btn { display: none; }
  body { background: #fff; font-size: 12pt; }
}

/* ==========================================================================
   Added September 2026 — testimonials, insights, the stepped enquiry form
   ========================================================================== */

/* --- Testimonials -------------------------------------------------------- */
.quote {
  display: flex; flex-direction: column; gap: 18px;
  margin: 0;                       /* blockquote's default 1em 40px was shrinking the card inside its column */
  padding: 32px 28px 28px; background: #fff;
  border: 1px solid var(--color-divider); border-radius: 2px;
  position: relative;
}
.quote::before {
  content: "\201C";
  position: absolute; top: 6px; left: 22px;
  font-family: var(--font-heading); font-weight: 700; font-size: 56px;
  line-height: 1; color: var(--gold); opacity: .55;
}
.quote__text {
  margin: 0; padding-top: 14px;
  font-family: var(--font-heading); font-weight: 500;
  font-size: 19px; line-height: 1.5; color: var(--color-text);
}
.quote__who {
  margin: auto 0 0; font-size: 15px; color: var(--color-neutral-700);
  padding-top: 4px; border-top: 1px solid var(--color-divider);
}
.quote--flagged { border-style: dashed; }

.figure-caption { color: var(--color-neutral-700); }
.section--hero .grid--7-5 { align-items: center; }

/* --- Cookie consent --------------------------------------------------- */
.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: #fff; border-top: 3px solid var(--gold);
  box-shadow: 0 -8px 30px rgba(31, 33, 34, .12);
}
.consent[hidden] { display: none; }
.consent__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 20px; }
.consent__text p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--color-neutral-700); max-width: 62ch; }
.consent__title { font-family: var(--font-heading); font-weight: 600; font-size: 16px; color: var(--color-text) !important; margin-bottom: 4px !important; }
.consent__text a { color: var(--brand-700); }
.consent__actions { display: flex; gap: 10px; flex-shrink: 0; }
.footer__legal a[data-consent-open] { color: var(--color-neutral-400); text-decoration: underline; }
@media (max-width: 700px) {
  .consent__inner { flex-direction: column; align-items: stretch; gap: 16px; }
  .consent__actions .btn { flex: 1; justify-content: center; }
}

.panel--wide { padding: 40px 44px; }
.panel--wide__grid {
  display: grid; column-gap: 56px; row-gap: 24px; align-items: start;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas: "head text" "link text";
  grid-template-rows: auto 1fr;
}
.panel--wide__head { grid-area: head; }
.panel--wide__text { grid-area: text; }
.panel--wide__link { grid-area: link; margin: 0; align-self: start; }
@media (max-width: 900px) {
  .panel--wide { padding: 32px 28px; }
  .panel--wide__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "text" "link"; grid-template-rows: auto; row-gap: 20px; }
}

.quotes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }   /* same gap as the service cards (.grid--3) */

/* --- Insights / blog ------------------------------------------------------ */
.post-card { gap: 10px; }
.post-card__date {
  font-size: 14px; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 600; color: var(--gold-deep);
}
.post-meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline;
  font-size: 15px; color: var(--color-neutral-700);
}

.prose { max-width: 68ch; }
.prose h2 {
  font-size: 24px; line-height: 1.3; margin: 40px 0 14px;
  padding-top: 20px; border-top: 1px solid var(--color-divider);
  position: relative;
}
.prose h2::before {
  content: ""; position: absolute; top: -1px; left: 0;
  width: 40px; height: 1px; background: var(--gold);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h2:first-child::before { display: none; }
.prose p { margin: 0 0 18px; color: var(--color-neutral-800); }
.prose ul { margin: 0 0 18px; padding-left: 1.2em; color: var(--color-neutral-800); }
.prose li { margin-bottom: 8px; }

.draft-flag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  color: var(--gold-deep); border: 1px solid var(--gold); border-radius: 2px;
  padding: 4px 10px; margin-bottom: 20px;
}

/* --- Stepped enquiry form ------------------------------------------------ */
.enquiry__progress { margin-bottom: 36px; }
.enquiry__progress-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 14px; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 600; color: var(--color-neutral-700); margin-bottom: 10px;
}
.enquiry__bar { height: 3px; background: var(--color-neutral-300); }
.enquiry__bar-fill { height: 100%; width: 0; background: var(--gold); transition: width .2s ease; }

.enquiry__step { border: 0; padding: 0; margin: 0; min-width: 0; }
.enquiry__legend {
  font-family: var(--font-heading); font-weight: 600;
  font-size: clamp(23px, 2.8vw, 30px); line-height: 1.25;
  padding: 0; margin-bottom: 10px;
}
.enquiry__actions {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--color-divider);
}
.enquiry__actions .btn-secondary { margin-right: auto; }
.enquiry__reveal { margin-top: 18px; }

/* One choice per line inside the stepped flow — easier to scan and to tap. */
.enquiry__step .choices { flex-direction: column; }
.enquiry__step .choice { width: 100%; }
.enquiry__step .choice + .choice { margin-top: -1px; }
.enquiry__step .choice:has(input:checked) { position: relative; z-index: 1; }

.enquiry__review { border: 1px solid var(--color-divider); background: #fff; border-radius: 2px; }
.enquiry__review-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 18px; padding: 14px 20px; align-items: baseline;
  border-bottom: 1px solid var(--color-divider); font-size: 15px;
}
.enquiry__review-row:last-child { border-bottom: 0; }
.enquiry__review-q { color: var(--color-neutral-700); }
.enquiry__review-a { font-weight: 600; }
.enquiry__review-a--empty { font-weight: 400; color: var(--color-neutral-600); }

@media (max-width: 900px) {
  .quotes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .quotes-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .enquiry__review-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .enquiry__actions .btn { flex: 1 1 auto; }
}

/* Six nav items plus a phone number and a button is a lot of header. */
@media (max-width: 1240px) {
  .header__inner { gap: 24px; }
  .header__nav { gap: 18px; }
  .header__nav a { font-size: 15px; }
}
@media (max-width: 1140px) {
  .header__actions .header__phone { display: none; }
  .header__brand img { width: 185px; }
}
@media (max-width: 1080px) {
  .header__nav { display: none; }
  .header__toggle { display: inline-flex; }
}

/* --- Testimonials page: an editorial list, not a grid ------------------- */
.reviews__group + .reviews__group { margin-top: 40px; }
.reviews .detail__title { margin-bottom: 4px; }
/* Section headings keep their hairline but not the gold accent —
   the gold is reserved for the separators between reviews. */
.reviews__group::before { display: none; }

.review {
  margin: 0; padding: 22px 0 22px 40px; position: relative;
}
/* A short gold line between one piece of feedback and the next, aligned with
   the indented text. */
.review:not(:last-of-type)::after {
  content: ""; position: absolute; left: 40px; bottom: 0;
  width: 40px; height: 2px; background: var(--gold);
}
.review__text {
  margin: 0; max-width: 62ch;
  font-family: var(--font-body); font-weight: 400;
  font-size: 17px; line-height: 1.6; color: var(--color-neutral-800);
}
.review__who {
  margin-top: 10px; font-size: 15px; letter-spacing: .04em;
  color: var(--color-neutral-700);
}
.review__who::before { content: "— "; color: var(--gold-deep); }

@media (max-width: 700px) {
  .review { padding: 18px 0 18px 24px; }
  .review:not(:last-of-type)::after { left: 24px; }
}
