/* ==========================================================================
   Starling Oak — site stylesheet
   Palette, type and spacing follow "Brand guidelines.md" and "Colours.txt".
   Brass (#A8875A) is rules only — it fails contrast as text on stone (2.9:1).
   Where brass must carry words, brass-deep (#7A5E36) is used.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Manrope, served from this site rather than from Google Fonts.
   Nothing about a visit is sent to a third party as a result of loading type.

   Manrope is a variable font: one file carries every weight from 400 to 800,
   which is why there are two files here rather than ten.
   Licensed under the SIL Open Font License v1.1 — free to self-host.
   -------------------------------------------------------------------------- */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-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: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-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 {
  /* Brand palette */
  --navy:          #1B2A41;
  --navy-deep:     #14203A;
  --navy-line:     #2B3D5C;
  --stone:         #F2EFE9;
  --surface:       #FFFFFF;
  --brass:         #A8875A;
  --brass-deep:    #7A5E36;
  --brass-light:   #C4A574; /* brass legible on navy */
  --slate:         #8D99AE;
  --mist:          #E4E8EF;
  --negative:      #A3332A;

  /* Derived neutrals used across the design */
  --ink:           #1B2A41;
  --ink-muted:     #5C6577;
  --hairline:      #DCD7CD;
  --field-border:  #C9C3B6;
  --on-navy:       #F2EFE9;
  --on-navy-text:  #D6DBE4;
  --on-navy-muted: #A7B0C0;

  /* Shape */
  --radius-sm: 3px;
  --radius-md: 4px;

  /* Rhythm */
  --wrap: 1240px;
  --gutter: 24px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

/* The `hidden` attribute has to beat a display set by a class.
   The browser's own rule for it is [hidden] { display: none }, which any class
   selector outranks — so an element with `display: flex` on it stays stubbornly
   visible when JavaScript hides it. That is how the enquiry form came to sit
   there saying "Sending…" underneath its own success panel. */
[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--navy); }
a:hover { color: var(--brass-deep); }

img, svg { max-width: 100%; }
img { height: auto; }

/* Figures always in tabular numerals, per the brand guidelines */
.num, td.num, .deadline-value, .step-num, .rule-num { font-variant-numeric: tabular-nums; }

:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: var(--on-navy);
  padding: 12px 20px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 8px; top: 8px; color: var(--on-navy); }

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section        { padding-top: 112px; padding-bottom: 112px; }
.section--tight { padding-top: 88px;  padding-bottom: 64px; }
.section--flush-top    { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }

.band-navy  { background: var(--navy);   color: var(--on-navy); }
.band-white { background: var(--surface); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.band-mist  { background: var(--mist); }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

.display {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.display--sm {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.08;
}
.display--md {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.04;
}

h2.heading, .heading {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.heading--sm {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.15;
}

.lead {
  margin: 32px 0 0;
  max-width: 40rem;
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink-muted);
}
.lead--sm { font-size: 18px; margin-top: 20px; }

.measure { max-width: 42rem; }

/* Page title: one h1 carrying both the small keyword line and the display
   headline, so the visually dominant text is genuinely the heading. */
.page-title { margin: 0; font-weight: 700; }
.page-title .eyebrow { margin-bottom: 24px; }
.page-title .display,
.page-title .display--md,
.page-title .display--sm { display: block; }

/* Eyebrow: a 2px brass rule beside small caps, echoing the logo divider */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 2px;
  height: 26px;
  background: var(--brass);
}
.eyebrow > * , .eyebrow-text {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.band-navy .eyebrow > *, .band-navy .eyebrow-text { color: var(--on-navy-muted); }

.label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.band-navy .label, .card-navy .label { color: var(--on-navy-muted); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  text-align: center;
  padding: 17px 30px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  min-height: 52px;
}
.btn--primary { background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.btn--primary:hover { background: var(--navy-deep); color: var(--on-navy); }

.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--on-navy); }

.btn--light { background: var(--stone); color: var(--navy); border-color: var(--stone); }
.btn--light:hover { background: var(--surface); color: var(--navy); }

.btn--outline-light { background: transparent; color: var(--on-navy); border-color: var(--stone); }
.btn--outline-light:hover { background: var(--stone); color: var(--navy); }

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

.link-strong { font-weight: 700; font-size: 15px; }

/* --------------------------------------------------------------------------
   Header / nav
   -------------------------------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--hairline);
  background: var(--stone);
}
.site-header__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 22px var(--gutter);
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.site-header__logo { display: flex; align-items: center; flex: none; }
.site-header__logo img { height: 46px; width: auto; display: block; }

.nav-toggle {
  display: none;
  font-family: inherit;
  background: transparent;
  border: 1.5px solid var(--navy);
  border-radius: var(--radius-sm);
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  padding: 10px 16px;
  cursor: pointer;
  min-height: 44px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
}
.site-nav a { text-decoration: none; }
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: var(--brass);
  text-decoration-thickness: 2px;
}
.site-nav .btn { font-size: 15px; padding: 12px 22px; min-height: 0; }
.site-nav .btn[aria-current="page"] { text-decoration: none; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero { padding-top: 112px; padding-bottom: 120px; }
.hero__inner { max-width: 980px; }
.hero .eyebrow { margin-bottom: 28px; }
.hero .eyebrow::before { height: 28px; }

.tick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 44px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.tick {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tick svg { flex: none; }

/* --------------------------------------------------------------------------
   Promise / rule strip — bordered columns on white
   -------------------------------------------------------------------------- */

.rule-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.rule-strip__item {
  padding: 40px 28px;
  border-right: 1px solid var(--hairline);
}
.rule-strip__item:first-child { padding-left: 0; }
.rule-strip__item:last-child  { padding-right: 0; border-right: 0; }
.rule-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--brass-deep);
  letter-spacing: 0.1em;
}
.rule-strip__item h3, .rule-strip__item h2 {
  margin: 10px 0 8px;
  font-size: 19px;
  font-weight: 700;
}
.rule-strip__item p { margin: 0; color: var(--ink-muted); font-size: 15px; }

/* Larger variant with big brass numerals (fees page) */
.rule-strip--numbered .rule-strip__item { padding: 48px 32px; }
.rule-strip--numbered .rule-strip__item:first-child { padding-left: 0; }
.rule-strip--numbered .rule-strip__item:last-child { padding-right: 0; }
.rule-strip--numbered .big-num {
  font-size: 56px;
  font-weight: 300;
  line-height: 1;
  color: var(--brass);
  font-variant-numeric: tabular-nums;
}
.rule-strip--numbered h2 { margin: 18px 0 8px; font-size: 21px; font-weight: 700; }

/* --------------------------------------------------------------------------
   Section head (heading left, link right)
   -------------------------------------------------------------------------- */

.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}
.section-head__text { max-width: 640px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head .eyebrow::before { height: 22px; }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 230px;
  text-decoration: none;
  color: var(--ink);
}
.card:hover { border-color: var(--navy); color: var(--ink); }
.card h3 { margin: 6px 0 0; font-size: 21px; font-weight: 700; }
.card p  { margin: 0; color: var(--ink-muted); font-size: 15px; }
.card__more {
  margin-top: auto;
  font-weight: 700;
  font-size: 14px;
  color: var(--brass-deep);
}

.card-plain {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 32px;
}

.card-navy {
  background: var(--navy);
  color: var(--on-navy);
  border-radius: var(--radius-md);
  padding: 36px 32px;
}
.card-navy a { color: var(--on-navy); }

/* --------------------------------------------------------------------------
   Ledger rows — the services list, ruled like a set of accounts
   -------------------------------------------------------------------------- */

.ledger { border-top: 2px solid var(--navy); }
.ledger__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) auto;
  gap: 24px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--hairline);
}
.ledger__row h3 { margin: 0; font-size: 19px; font-weight: 700; }
.ledger__row p  { margin: 0; color: var(--ink-muted); font-size: 15px; }
.ledger__row a  { font-weight: 700; text-decoration: none; }

/* Stacked variant (fees page "what shapes your fee") */
.ruled-list { border-top: 2px solid var(--navy); }
.ruled-list__item { padding: 22px 0; border-bottom: 1px solid var(--hairline); }

/* "What we need from you" sits beside a ticked list of what is included, and
   without a marker of its own the right-hand column looks unfinished.
   A document rather than a tick, deliberately: a tick on "Mortgage interest
   statements" reads as though we already have it, which is the opposite of
   what the column is asking for. Decorative, so it is drawn in CSS and stays
   out of the text that a screen reader announces. */
.ruled-list--provide .ruled-list__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
/* "What shapes your fee" is a different kind of list again: four things that
   move the price up or down. A slider rather than a tick or a document,
   because neither of those is true of "Complexity". These items carry their
   own headings, so the marker is drawn small and quiet and sits against the
   heading line rather than competing with it. */
.ruled-list--factors .ruled-list__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ruled-list--factors .ruled-list__item > * { min-width: 0; }
.ruled-list--factors .ruled-list__item::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5E36' stroke-width='2.2' stroke-linecap='round'%3E%3Cline x1='3' y1='8' x2='21' y2='8'/%3E%3Cline x1='3' y1='16' x2='21' y2='16'/%3E%3Ccircle cx='9' cy='8' r='2.6'/%3E%3Ccircle cx='16' cy='16' r='2.6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* The heading and its line of description need to stack beside the marker. */
.ruled-list--factors .ruled-list__item {
  flex-wrap: wrap;
}
.ruled-list--factors .ruled-list__item h3 { flex: 1 1 calc(100% - 34px); }
.ruled-list--factors .ruled-list__item p { flex: 1 1 100%; padding-left: 34px; }

.ruled-list--provide .ruled-list__item::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5E36' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ruled-list__item h3 { margin: 0 0 6px; font-size: 19px; font-weight: 700; }
.ruled-list__item p  { margin: 0; color: var(--ink-muted); }

/* Tick list (fees page "always included") */
.tick-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--navy);
}
.tick-list li {
  display: flex;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
}
.tick-list svg { flex: none; margin-top: 3px; }

/* --------------------------------------------------------------------------
   Two-column split
   -------------------------------------------------------------------------- */

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
}
.split--wide { gap: 64px; }
.split__narrow { flex: 1 1 320px; min-width: 0; }
.split__wide   { flex: 2 1 560px; min-width: 0; }
.split__half   { flex: 1 1 380px; min-width: 0; }

/* Two halves whose internal rows line up.
   Side by side, each half is eyebrow / heading / ruled list. One heading
   often wraps to two lines while the other does not, which drops that
   column's navy rule — and the whole list under it — below its neighbour.
   Subgrid hands both halves the parent's row tracks, so the rules start at
   the same height whatever the headings do.
   Only applied where both halves are that three-part shape, and only side
   by side: stacked on a phone there is nothing to align. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 761px) {
    .split--rows {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      grid-template-rows: auto auto auto;
    }
    .split--rows > .split__half {
      display: grid;
      grid-template-rows: subgrid;
      grid-row: span 3;
    }
  }
}

/* --------------------------------------------------------------------------
   Chip pickers
   -------------------------------------------------------------------------- */

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.chip {
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  min-height: 46px;
  background: var(--surface);
  color: var(--navy);
  border: 1.5px solid var(--field-border);
}
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] {
  background: var(--navy);
  color: var(--on-navy);
  border-color: var(--navy);
}

/* Chip wrapping a real radio/checkbox, so the form works without JavaScript.
   The input is visually hidden but still focusable; focus is mirrored onto
   the label. */
label.chip { display: inline-flex; align-items: center; }
label.chip:has(input:checked) {
  background: var(--navy);
  color: var(--on-navy);
  border-color: var(--navy);
}
label.chip:has(input:focus-visible) {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

/* Jump-to pills (services page) */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.pill {
  text-decoration: none;
  border: 1.5px solid var(--field-border);
  background: var(--surface);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
}
.pill:hover { border-color: var(--navy); color: var(--navy); }

/* --------------------------------------------------------------------------
   Numbered steps
   -------------------------------------------------------------------------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  border-top: 2px solid var(--navy);
}
.steps li { padding: 32px 28px 8px 0; }
.steps li:last-child { padding-right: 0; }
.step-num {
  font-size: 56px;
  font-weight: 300;
  line-height: 1;
  color: var(--brass);
}
.steps h3 { margin: 18px 0 8px; font-size: 19px; font-weight: 700; }
.steps p  { margin: 0; color: var(--ink-muted); font-size: 15px; }

/* --------------------------------------------------------------------------
   Team diagram (about band)
   -------------------------------------------------------------------------- */

.org {
  background: var(--navy-deep);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-md);
  padding: 36px 32px;
}
.org__chart { display: flex; flex-direction: column; align-items: stretch; }
.org__node {
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  text-align: center;
}
.org__node--you strong, .org__node strong { font-weight: 700; font-size: 17px; display: block; }
.org__node span { font-size: 13px; color: var(--on-navy-muted); }
.org__node--lead {
  background: var(--stone);
  color: var(--navy);
  border: 0;
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  text-align: center;
}
.org__node--lead span { color: var(--ink-muted); }
.org__connector {
  width: 2px;
  height: 26px;
  background: var(--brass);
  align-self: center;
}
.org__specialists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.org__specialists .org__node { padding: 14px 16px; text-align: left; }
.org__specialists strong { font-size: 15px; }

/* --------------------------------------------------------------------------
   Deadlines panel
   -------------------------------------------------------------------------- */

.panel-navy {
  background: var(--navy);
  color: var(--on-navy);
  border-radius: var(--radius-md);
  padding: 48px clamp(24px, 4%, 56px);
}
.panel-navy__head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}
.panel-navy__head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}
.panel-navy__note { font-size: 14px; color: var(--on-navy-muted); }

.deadlines {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  column-gap: 56px;
  border-top: 1px solid var(--navy-line);
}
.deadline {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--navy-line);
}
.deadline__name { font-weight: 600; font-size: 16px; }
.deadline__when { text-align: right; white-space: nowrap; }
.deadline-value {
  color: var(--brass-light);
  font-weight: 700;
}
.deadline__qualifier {
  font-size: 12px;
  color: var(--on-navy-muted);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Service articles (services hub)
   -------------------------------------------------------------------------- */

.service-list { border-top: 2px solid var(--navy); }
.service {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 56px;
  padding: 48px 0;
  border-bottom: 1px solid var(--hairline);
}
.service__intro { flex: 1 1 300px; min-width: 0; }
.service__col   { flex: 1 1 280px; min-width: 0; }
.service h2 { margin: 8px 0 12px; font-size: 28px; font-weight: 700; letter-spacing: -0.01em; }
.service__intro > p { margin: 0; color: var(--ink-muted); }
.service__meta { margin: 16px 0 0 !important; font-size: 14px; font-weight: 600; color: var(--ink) !important; }
.service__meta span { color: var(--brass-deep); }
.service__col .label { display: block; margin-bottom: 12px; }
.service__col ul {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service__col--needs ul { color: var(--ink-muted); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq { border-top: 2px solid var(--navy); }
.faq details {
  border-bottom: 1px solid var(--hairline);
  padding: 24px 0;
}
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 19px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-plus {
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  flex: none;
  transition: transform .2s;
}
.faq details[open] .faq-plus { transform: rotate(45deg); }
.faq details > p {
  margin: 14px 0 0;
  color: var(--ink-muted);
  font-size: 16px;
  max-width: 46rem;
}

/* --------------------------------------------------------------------------
   CTA bands
   -------------------------------------------------------------------------- */

.cta {
  border-radius: var(--radius-md);
  padding: 64px 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}
.cta--white { background: var(--surface); border: 1px solid var(--hairline); }
.cta--navy  { background: var(--navy); color: var(--on-navy); }
.cta__text { max-width: 640px; }
.cta__text p { margin: 12px 0 0; font-size: 17px; color: var(--ink-muted); }
.cta--navy .cta__text p { color: var(--on-navy-text); }

.cta-band {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.quote-form {
  margin-top: 48px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 40px clamp(20px, 4%, 44px);
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.quote-form fieldset { border: 0; margin: 0; padding: 0; }
.quote-form legend {
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brass-deep);
  margin-bottom: 6px;
}
.quote-form__q { font-size: 21px; font-weight: 700; margin-bottom: 18px; }

.service-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
}
.service-opt {
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  min-height: 52px;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--hairline);
}
.service-opt:hover { border-color: var(--navy); }
.service-opt:has(input:checked) {
  background: var(--stone);
  border: 1.5px solid var(--navy);
}
.service-opt:has(input:focus-visible) {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}
.service-opt__box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 2px;
  font-size: 13px;
  line-height: 1;
  flex: none;
  background: var(--surface);
  border: 1.5px solid #9A9488;
  color: transparent;
}
.service-opt:has(input:checked) .service-opt__box {
  background: var(--brass);
  color: #FFFFFF;
  border-color: var(--brass);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.field--full { margin-top: 18px; }
/* Label text and its required marker share one line; the input and any error
   message are the other rows of the column. */
.field__label { display: block; }
.field .req { color: var(--brass-deep); }

.quote-form input,
.quote-form textarea,
.quote-form select {
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  padding: 14px;
  border: 1.5px solid var(--field-border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-weight: 500;
}
.quote-form textarea { resize: vertical; }
.quote-form input:focus,
.quote-form textarea:focus,
.quote-form select:focus { outline: 2px solid var(--navy); outline-offset: 1px; }

.quote-form select {
  padding-right: 40px;
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--navy) 50%),
    linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  min-height: 52px;
}

.quote-form__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
}
.quote-form__summary { font-size: 14px; color: var(--ink-muted); max-width: 26rem; }
.quote-form__privacy { margin: -16px 0 0; font-size: 13px; color: var(--ink-muted); }

.field-error {
  font-size: 13px;
  font-weight: 600;
  color: var(--negative);
}
.quote-form [aria-invalid="true"] { border-color: var(--negative); }

.form-alert {
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid var(--negative);
  color: var(--negative);
  background: #FBF4F3;
}

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

.form-success {
  margin-top: 48px;
  background: var(--navy);
  color: var(--on-navy);
  border-radius: var(--radius-md);
  padding: 56px 48px;
}
.form-success h1,
.form-success h2 {
  margin: 20px 0 10px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.form-success p { margin: 0; font-size: 17px; color: var(--on-navy-text); max-width: 34rem; }

/* Sidebar */
.aside-stack {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.next-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.next-steps li {
  display: flex;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--navy-line);
}
.next-steps li:last-child { border-bottom: 1px solid var(--navy-line); }
.next-steps__num { font-size: 22px; font-weight: 300; color: var(--brass-light); width: 18px; flex: none; }
.next-steps span.body { color: var(--on-navy-text); font-size: 15px; }

.contact-lines { display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.contact-lines a {
  font-weight: 700;
  text-decoration: none;
  display: flex;
  gap: 12px;
  align-items: center;
}
.contact-lines svg { flex: none; }
.contact-lines .hours { color: var(--ink-muted); font-size: 14px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { background: var(--navy-deep); color: var(--on-navy-text); }
.site-footer a { color: var(--stone); text-decoration: none; }
.site-footer a:hover { color: #FFFFFF; text-decoration: underline; }
.site-footer__inner { max-width: var(--wrap); margin: 0 auto; padding: 72px var(--gutter) 40px; }
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: space-between;
}
.site-footer__brand { flex: 1 1 280px; min-width: 0; }
.site-footer__brand img { height: 38px; width: auto; display: block; }
.site-footer__brand p {
  margin: 20px 0 0;
  font-size: 15px;
  color: var(--on-navy-muted);
  max-width: 22rem;
}
.site-footer__col { flex: 0 1 180px; }
.site-footer__col--wide { flex: 0 1 220px; }
.site-footer__col .label { margin-bottom: 16px; display: block; }
.site-footer__links { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.site-footer__links span:not(.todo) { color: var(--stone); }
.site-footer__legal {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--navy-line);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  font-size: 13px;
  color: var(--on-navy-muted);
}
.site-footer__legal p { margin: 0; max-width: 46rem; }
.site-footer__legal a { color: var(--on-navy-muted); }
.site-footer__legal-links { display: flex; gap: 24px; }

/* Compact footer (inner pages) */
.site-footer--compact .site-footer__inner {
  padding: 48px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--on-navy-muted);
}
.site-footer--compact img { height: 34px; width: auto; display: block; }
.site-footer--compact p { margin: 0; max-width: 46rem; }
.site-footer--compact .site-footer__legal-links { font-size: 13px; }

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */

.breadcrumb {
  font-size: 14px;
  color: var(--ink-muted);
  padding-top: 24px;
}
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--hairline); }
.breadcrumb a { font-weight: 600; text-decoration: none; }

/* --------------------------------------------------------------------------
   Prose (privacy policy, terms)
   -------------------------------------------------------------------------- */

.prose { max-width: 44rem; }
.prose h2 {
  margin: 56px 0 14px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.prose h3 { margin: 32px 0 10px; font-size: 19px; font-weight: 700; }
.prose p, .prose li { color: var(--ink-muted); font-size: 17px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose strong { color: var(--ink); }
.prose a { font-weight: 600; }
.prose__updated { font-size: 14px; color: var(--ink-muted); margin: 0; }
.prose hr { border: 0; border-top: 1px solid var(--hairline); margin: 48px 0; }

/* --------------------------------------------------------------------------
   Long legal pages

   Fifteen numbered sections is a lot to scroll through looking for the one
   that matters, so the policy opens with a contents list and every heading
   carries its number and an anchor. Brass-deep carries the numerals — brass
   itself fails contrast as text on stone.
   -------------------------------------------------------------------------- */

.prose h2 { scroll-margin-top: 24px; }

.policy-num {
  display: inline-block;
  min-width: 1.5em;
  font-weight: 400;
  color: var(--brass-deep);
  font-variant-numeric: tabular-nums;
}

.policy-toc {
  margin: 40px 0 8px;
  padding: 28px 32px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
}
.policy-toc .label { display: block; margin-bottom: 18px; }
.policy-toc ol {
  display: block;          /* overrides the flex column used by .prose ol */
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
  columns: 2;
  column-gap: 40px;
}
.policy-toc li {
  counter-increment: toc;
  break-inside: avoid;
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.4;
  display: flex;
  gap: 8px;
}
.policy-toc li::before {
  content: counter(toc) ".";
  flex: 0 0 1.4em;
  color: var(--brass-deep);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.policy-toc a { font-size: 15px; text-decoration: none; }
.policy-toc a:hover { text-decoration: underline; }

.policy-contact {
  margin: 24px 0 28px;
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
}
.policy-contact p { margin: 0 0 6px; font-size: 16px; }
.policy-contact p:last-child { margin-bottom: 0; }
.policy-contact__name { color: var(--ink); font-weight: 700; }
.policy-contact--end { margin-bottom: 0; }

@media (max-width: 620px) {
  .policy-toc { padding: 24px; }
  .policy-toc ol { columns: 1; }
}

@media print {
  .policy-toc { display: none; }
}

/* Placeholder marker — anything still to be filled in before launch */
.todo {
  background: #FFF6D8;
  border-bottom: 2px solid var(--brass);
  padding: 0 3px;
  font-weight: 600;
  color: #6B4E12;
}

/* --------------------------------------------------------------------------
   Image banners

   The supplied photography already carries navy shading down its left side,
   which is where the headline sits. No second overlay is added on top of it —
   doubling up turns the architecture to mud, and the point of the picture is
   that you can see it.

   On a phone the proportions stop working: a 2:1 crop is either all shading or
   all scene, and text over the scene fails contrast. So below 760px the banner
   stops being a background and becomes a band — headline on navy, picture
   underneath it. Nothing is overlaid, so nothing needs darkening.
   -------------------------------------------------------------------------- */

.banner {
  position: relative;
  isolation: isolate;
  background: var(--navy);
  overflow: hidden;
}
.banner__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

/* A horizontal scrim that continues the shading already in the artwork.
   This is not a darkening layer over the picture: it is opaque navy at the
   left edge and fully transparent by three-quarters across, so the
   architecture on the right is untouched. It exists because the shading baked
   into the skyline image only covers about a fifth of the width once the
   image is stretched across a desktop banner, which left the standfirst and
   the tick row sitting on lit buildings. */
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    var(--navy) 0%,
    rgba(27, 42, 65, 0.94) 26%,
    rgba(27, 42, 65, 0.72) 44%,
    rgba(27, 42, 65, 0.3) 62%,
    rgba(27, 42, 65, 0) 78%
  );
}
.banner__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
}
.banner__inner {
  position: relative;
  padding-top: 112px;
  padding-bottom: 120px;
}
.banner--short .banner__inner {
  padding-top: 72px;
  padding-bottom: 76px;
}

/* Type reversed out of the shading */
.banner .display,
.banner .display--sm,
.banner h1 { color: var(--on-navy); }
.banner .lead { color: var(--on-navy-text); }
.banner .eyebrow-text { color: var(--brass-light); }
.banner .eyebrow::before { background: var(--brass); }
.banner .tick-row { color: var(--on-navy-text); }
.banner .breadcrumb,
.banner .breadcrumb a { color: var(--on-navy-muted); }
.banner .breadcrumb a:hover { color: var(--on-navy); }
.banner .breadcrumb li + li::before { color: var(--navy-line); }

/* The site-wide focus ring is navy, which disappears against a navy banner.
   Anything focusable sitting on the artwork gets a cream ring instead. */
.banner a:focus-visible,
.banner button:focus-visible {
  outline: 2px solid var(--stone);
  outline-offset: 2px;
}

/* The mockup's pairing: solid cream primary, outlined secondary */
.banner .btn--primary {
  background: var(--stone);
  color: var(--navy);
  border-color: var(--stone);
}
.banner .btn--primary:hover { background: #FFFFFF; border-color: #FFFFFF; }
.banner .btn--ghost,
.banner .btn--outline-light {
  background: transparent;
  color: var(--on-navy);
  border: 1.5px solid rgba(242, 239, 233, 0.55);
}
.banner .btn--ghost:hover,
.banner .btn--outline-light:hover {
  border-color: var(--stone);
  background: rgba(242, 239, 233, 0.08);
}

@media (max-width: 760px) {
  /* The picture stops being a background and becomes a band above the words,
     so nothing is overlaid and the scrim is not needed. */
  .banner::before { display: none; }
  .banner__media {
    position: static;
    inset: auto;
    z-index: auto;
  }
  .banner__media img {
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .banner__inner {
    padding-top: 56px;
    padding-bottom: 48px;
  }
  .banner--short .banner__inner {
    padding-top: 44px;
    padding-bottom: 40px;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .section { padding-top: 72px; padding-bottom: 72px; }
  .section--tight { padding-top: 56px; padding-bottom: 48px; }
  .hero { padding-top: 64px; padding-bottom: 72px; }

  .cta { padding: 40px 28px; }
  .panel-navy { padding: 32px 24px; }
  .form-success { padding: 40px 28px; }

  .split, .split--wide { gap: 40px; }

  /* Ruled columns become stacked rows */
  .rule-strip__item,
  .rule-strip--numbered .rule-strip__item {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
  }
  .rule-strip__item:last-child { border-bottom: 0; }

  .steps li { padding: 28px 0 8px; border-bottom: 1px solid var(--hairline); }
  .steps li:last-child { border-bottom: 0; }

  .ledger__row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 20px;
  }
  .ledger__row p { grid-column: 1 / -1; }

  .deadlines { grid-template-columns: 1fr; column-gap: 0; }

  .site-footer__inner { padding-top: 56px; }
  .site-footer__legal { margin-top: 40px; }
}

@media (max-width: 760px) {
  /* Collapse the nav behind a toggle */
  .site-header__inner { flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
  .nav-toggle { display: inline-block; }
  /* Shrink the wordmark so it and the toggle share one row. The brand
     guidelines set a 140px minimum width for the horizontal logo; at 34px
     high this renders around 150px wide, so it stays within that. */
  .site-header__logo img { height: 34px; }
  .site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 8px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    padding: 14px 0;
    border-top: 1px solid var(--hairline);
    font-size: 17px;
  }
  .site-nav .btn {
    margin-top: 16px;
    padding: 15px 22px;
    border-top: 0;
    text-align: center;
    min-height: 52px;
  }
  .site-nav a[aria-current="page"] { text-decoration: none; color: var(--brass-deep); }

  .service { gap: 24px; padding: 36px 0; }
  .quote-form { padding: 28px 20px; gap: 32px; }
  .quote-form__footer .btn { width: 100%; }
  .tick-row { gap: 14px; flex-direction: column; }

  /* Thumb-sized tap targets in the footer.
     At desktop these lists are read, not tapped at speed; on a phone seven
     links 24px tall with a 10px gap are easy to mis-hit. Padding takes each
     to the recommended 44px minimum without changing how the footer looks. */
  .site-footer__links { gap: 0; }
  .site-footer__links a,
  .site-footer__links span { padding: 10px 0; }

  .site-footer__legal-links { gap: 0 24px; flex-wrap: wrap; }
  .site-footer__legal-links a { padding: 12px 0; }

  /* The home-page service rows and FAQ headers are primary navigation, so
     they get the full 44px even though they are already full-width. Inline
     links inside running prose are left alone — padding them out would break
     the line spacing of the sentence they sit in. */
  .ledger__row a { display: block; padding: 10px 0; }
  .faq summary { padding: 8px 0; }

  /* Same problem, smaller: the breadcrumb trail. The container loses the
     padding the links gain, so the row does not grow taller. */
  .breadcrumb { padding-top: 12px; }
  .breadcrumb ol { gap: 0 8px; }
  .breadcrumb a { display: inline-block; padding: 13px 0; }
  .breadcrumb li, .breadcrumb li + li::before { line-height: 2.9; }
}

@media (max-width: 420px) {
  .org__specialists { grid-template-columns: 1fr; }
  .cta { padding: 32px 20px; }
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */

@media print {
  .site-header, .site-footer, .btn, .nav-toggle, .cta { display: none !important; }
  body { background: #FFFFFF; }
}


/* --------------------------------------------------------------------------
   Photography

   The palette is navy, warm stone and brass. Full-colour photographs fight
   that, which is why a picture dropped into a box looks stuck on. Two rules
   fix it:

     1. Treat every image to a warm monochrome so it joins the palette.
     2. Never let an image end in a hard rectangle. It either bleeds off the
        page or dissolves into the background.

   The brand has no rounded cards and no shadows, so neither do the images.
   -------------------------------------------------------------------------- */

.photo {
  filter: grayscale(1) sepia(0.28) contrast(1.05) brightness(1.03);
}

/* ---- Hero: the image runs off the right edge and fades into the stone ---- */

.hero-wrap { position: relative; isolation: isolate; }

.hero-bleed {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(54%, 860px);
  z-index: -1;
  overflow: hidden;
}
.hero-bleed img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
/* Dissolve into the page on the left, top and bottom. No visible edge. */
.hero-bleed::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--stone) 0%, rgba(242, 239, 233, 0.86) 26%, rgba(242, 239, 233, 0.18) 72%, rgba(242, 239, 233, 0.06) 100%),
    linear-gradient(to bottom, var(--stone) 0%, rgba(242, 239, 233, 0) 20%, rgba(242, 239, 233, 0) 52%, var(--stone) 93%);
}
.hero .hero__inner { max-width: 40rem; }
.hero .lead { max-width: 33rem; }
.hero .tick-row { max-width: 34rem; }

@media (max-width: 1100px) {
  /* Below the width where a side image can breathe, it becomes a quiet band
     under the hero instead — still bleeding to both edges, never a card. */
  .hero-bleed {
    position: relative;
    inset: auto;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    height: 260px;
    margin-top: 48px;
    z-index: 0;
  }
  .hero-bleed::after {
    background:
      linear-gradient(to bottom, var(--stone) 0%, rgba(242, 239, 233, 0) 38%, rgba(242, 239, 233, 0) 62%, var(--stone) 100%);
  }
  .hero .hero__inner { max-width: none; }
}

/* ---- Full-bleed divider band, used between sections ---- */

.photo-band {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: clamp(200px, 26vw, 340px);
  overflow: hidden;
}
.photo-band img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--stone) 0%, rgba(242, 239, 233, 0) 32%, rgba(242, 239, 233, 0) 68%, var(--stone) 100%);
}

/* ---- Photograph behind a navy band ---- */

.band-navy--image { position: relative; background-color: var(--navy); }
.band-navy--image > .band-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.band-navy--image > .band-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Blending keeps the navy hue while letting the structure of the building
     through. A flat overlay just flattens a low-contrast photo to nothing. */
  filter: grayscale(1) contrast(1.4) brightness(1.1);
  mix-blend-mode: soft-light;
  opacity: 0.9;
}
/* Heavy on the left where the words are, lighter on the right where the
   diagram sits on its own panel. Body text stays well above 7:1. */
.band-navy--image > .band-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    rgba(27, 42, 65, 0.80) 0%,
    rgba(27, 42, 65, 0.52) 48%,
    rgba(27, 42, 65, 0.10) 100%);
}
.band-navy--image > .wrap { position: relative; z-index: 1; }

/* When a band sits directly above a navy section, its lower edge fades into
   navy so the two meet without a pale seam. */
.photo-band--to-navy::after {
  background: linear-gradient(to bottom,
    var(--stone) 0%,
    rgba(242, 239, 233, 0) 34%,
    rgba(27, 42, 65, 0) 62%,
    var(--navy) 100%);
}

/* --------------------------------------------------------------------------
   Client enquiry form
   Extends the existing form components rather than replacing them: the card,
   field, grid and service-picker rules above are reused as they are.
   -------------------------------------------------------------------------- */

/* Time-to-complete note under the lead */
.form-meta {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--ink-muted);
}
.form-meta .req { color: var(--brass-deep); font-weight: 700; }

/* Group headings inside the form. Small caps in brass-deep, echoing the
   section labels used elsewhere on the site. */
.quote-form legend {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
}

/* A nested group (the service checkboxes) needs no second border or inset */
.quote-form fieldset.subfield {
  border: 0;
  margin: 28px 0 0;
  padding: 0;
}
.quote-form fieldset.subfield > legend {
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

/* Helper text. Sits with the control it explains, not floating near it. */
.field-hint {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-muted);
}
.field > .field-hint { margin-top: -2px; }
fieldset > .field-hint { margin: -10px 0 16px; }

/* Privacy acknowledgement */
.consent {
  margin-top: -8px;
  padding: 22px 24px;
  background: var(--stone);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
}
.consent__row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.55;
  cursor: pointer;
}
.consent__row input[type="checkbox"] {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--navy);
  cursor: pointer;
}
.consent__row a { font-weight: 700; }
.consent .field-error { display: block; margin-top: 10px; }
.consent:has(input[aria-invalid="true"]) { border-color: var(--negative); }

/* Success panel additions */
.form-success p + p { margin-top: 14px; }
.form-success__ref {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--on-navy);
}
.form-success__note {
  font-size: 15px !important;
  color: var(--on-navy-muted) !important;
  padding-top: 18px;
  border-top: 1px solid var(--navy-line);
}

/* On a narrow screen the button should own its line rather than crowd the
   summary text beside it. */
@media (max-width: 620px) {
  .quote-form__footer { flex-direction: column; align-items: stretch; gap: 14px; }
  .quote-form__footer .btn { width: 100%; }
  .quote-form__summary { max-width: none; }
}
