/* ==========================================================================
   DC Bespoke Financial Planning — locked template stylesheet
   Do not edit to change content. Content lives in content.json.
   Brand tokens are the only thing here a designer should need to touch.
   ========================================================================== */

/* Fonts are served from this site, not from Google. That keeps the page free of
   third-party requests (see the cookie note in content.json) and means the
   typography is identical for every visitor. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/sourcesans-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/sourcesans-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  color-scheme: light;

  /* Brand palette — supplied by the client */
  --navy:        #152946;
  --navy-deep:   #0E1C31;
  --navy-soft:   #2C4467;
  --gold:        #C5AD82;
  --gold-deep:   #A0855A;
  --sand:        #F4EFE6;
  --ink:         #333333;

  /* Neutrals, warmed very slightly toward the gold so they sit with the brand */
  --paper:       #FFFFFF;
  --paper-warm:  #FCFAF7;
  --ink-soft:    #6B6459;
  --rule:        #E4DCCC;
  --rule-faint:  #EFE9DD;
  --amber:       #8A6A1F;
  --amber-bg:    #FBF3DD;

  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Aptos", "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

  --measure: 64ch;
  --container: 1080px;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);

  /* Header monogram width — change this one number to scale the whole lock-up. */
  --brand-size: 92px;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--navy);
  margin: 0;
  text-wrap: balance;
  letter-spacing: 0.005em;
}

p { margin: 0; }
a { color: var(--navy); }

img { max-width: 100%; display: block; }

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

/* ---------- layout primitives ---------- */

.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--sand { background: var(--sand); }
.section--warm { background: var(--paper-warm); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.stack { display: flex; flex-direction: column; }
.stack > * { margin: 0; }

.measure { max-width: var(--measure); }

/* ---------- shared type ---------- */

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* ---------- strapline ----------
   Three promises, revealed one at a time on load. A single pass, ~1.3s, then
   it sits still — deliberately not a repeating blink, which is both an
   accessibility problem and at odds with an understated brand. */

.strapline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.95rem;
  font-size: clamp(0.88rem, 1.35vw, 1.02rem);
  letter-spacing: 0.13em;
  line-height: 1.5;
}

.strap-group {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
}

.strap-part,
.strap-sep {
  animation: strap-in 560ms cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
  animation-delay: calc(var(--i) * 120ms);
}

/* The diamond from the logo lock-up, reused as the separator. */
.strap-sep {
  width: 6px;
  height: 6px;
  background: currentColor;
  transform: rotate(45deg);
  opacity: 0.75;
  flex: none;
}

@keyframes strap-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* The separator keeps its rotation, so it needs its own keyframes. */
@keyframes strap-in-sep {
  from { opacity: 0; transform: rotate(45deg) scale(0.4); }
  to   { opacity: 0.75; transform: rotate(45deg) scale(1); }
}
.strap-sep { animation-name: strap-in-sep; }

/* ---------- hero reveal ----------
   Each line wipes in from the left, one after the other, on page load.
   Set the running order with --d (a delay in milliseconds) on the element. */

.reveal {
  animation: reveal-wipe 720ms cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
  animation-delay: var(--d, 0ms);
}

@keyframes reveal-wipe {
  from { opacity: 0; clip-path: inset(-0.35em 100% -0.35em 0); }
  to   { opacity: 1; clip-path: inset(-0.35em -0.5em -0.35em 0); }
}

/* Anyone who has asked for less motion gets the finished state immediately. */
@media (prefers-reduced-motion: reduce) {
  .strap-part, .strap-sep, .reveal { animation: none; }
}

/* Cormorant has a small x-height, so it needs setting larger than a grotesque
   would at the same optical weight. The jump from display to body is what
   creates hierarchy at a glance. */
.display-1 { font-size: clamp(2.6rem, 5.8vw, 4.4rem); line-height: 1.04; letter-spacing: -0.005em; }
.display-2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; }
.display-3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.22; }

/* No colour here on purpose: .lede must inherit, so it stays legible on the
   navy CTA band as well as on light grounds. */
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.6;
}

.muted { color: var(--ink-soft); }
.small { font-size: 0.92rem; }
.tiny { font-size: 0.82rem; line-height: 1.6; }

/* A hairline rule with the diamond taken from the logo lock-up. */
.ornament {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--gold);
}
.ornament::before, .ornament::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: 0.55;
}
.ornament span {
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}
.ornament--left::before { display: none; }
.ornament--left { justify-content: flex-start; }
.ornament--left::after { max-width: 3.5rem; flex: 0 0 3.5rem; }

.rule-gold {
  width: 3.5rem; height: 2px;
  background: var(--gold);
  border: 0;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.9rem;
  font-family: var(--body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); }

/* Secondary is deliberately quieter — the gold border gave it near-equal
   weight to the primary, which left the eye with no clear first move. */
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--rule);
}
.btn--ghost:hover { background: transparent; border-color: var(--gold); color: var(--gold-deep); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- draft markers ---------- */

.tbc {
  display: inline;
  background: var(--amber-bg);
  color: var(--amber);
  border-bottom: 1px dashed currentColor;
  padding: 0.1em 0.35em;
  font-family: var(--body);
  font-size: 0.88em;
  font-style: normal;
}
.tbc::before { content: "TO CONFIRM — "; font-weight: 700; letter-spacing: 0.04em; font-size: 0.85em; }

.draft-bar {
  background: var(--navy-deep);
  color: #E8E0CE;
  font-size: 0.84rem;
  line-height: 1.5;
  padding: 0.7rem 0;
}
.draft-bar strong { color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; }
.draft-bar .wrap { display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; align-items: baseline; }

/* ---------- header ---------- */

.site-header {
  border-bottom: 1px solid var(--rule-faint);
  background: var(--paper);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding-block: 1.35rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  text-decoration: none;
  color: var(--navy);
}
.brand img { width: var(--brand-size); height: auto; }
.brand-name {
  display: block;
  font-family: var(--display);
  font-size: 1.62rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.brand-sub {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 0.2rem;
}

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); }
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
  transition: color 140ms ease, border-color 140ms ease;
}
.site-nav a:hover { color: var(--navy); border-bottom-color: var(--gold); }
.site-nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--gold); }
.site-nav .nav-phone {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--navy);
  border-bottom: none;
}
.site-nav .nav-phone:hover { border-bottom: none; color: var(--gold-deep); }

/* ---------- hero ---------- */

.hero { background: var(--sand); }
.hero .wrap { padding-block: clamp(3.5rem, 9vw, 7rem); }
.hero-inner { max-width: 46rem; display: flex; flex-direction: column; gap: 1.5rem; }
.hero .lede { max-width: 38rem; }
.hero--compact .wrap { padding-block: clamp(2.75rem, 6vw, 4.5rem); }

/* The homepage opens dark. Inner pages stay on the light sand ground, so the
   dark band reads as an opening statement rather than a house style. */
.hero--dark {
  position: relative;
  background: var(--navy-deep) url("hero-texture.jpg") center right / cover no-repeat;
  color: #E4DCCB;
  isolation: isolate;
}
.hero--dark::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg,
    rgba(14, 28, 49, 0.97) 0%,
    rgba(14, 28, 49, 0.88) 38%,
    rgba(14, 28, 49, 0.34) 100%);
}
.hero--dark .wrap { padding-block: clamp(4rem, 10vw, 8rem); }
.hero--dark h1 { color: #FFFFFF; }
.hero--dark .strapline,
.hero--dark .eyebrow { color: var(--gold); }
.hero--dark .btn {
  background: var(--gold); border-color: var(--gold); color: var(--navy);
}
.hero--dark .btn:hover { background: #D8C49D; border-color: #D8C49D; }
.hero--dark .btn--ghost {
  background: transparent; color: #EFE9DC; border-color: rgba(197, 173, 130, 0.55);
}
.hero--dark .btn--ghost:hover { background: rgba(197, 173, 130, 0.14); color: #fff; }

/* ---------- credentials ----------
   A quiet band of genuine marks. Static: a carousel would both fight the
   "no movement" brief and imply there are more of them than there are. */

.cred-band {
  background: var(--paper);
  border-bottom: 1px solid var(--rule-faint);
}
.cred-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1.5rem 2.5rem;
  padding-block: 1.75rem;
}
.cred { border-left: 1px solid var(--rule); padding-left: 1.1rem; }
.cred-name {
  font-family: var(--display);
  font-size: 1.12rem;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

/* ---------- thesis line ----------
   One sentence, set large, that says what the practice is for. */

.thesis {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  line-height: 1.25;
  color: var(--navy);
  max-width: 24ch;
  text-wrap: balance;
}

/* ---------- testimonials ---------- */

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 2rem 2.5rem;
  margin-top: 0.5rem;
}
.quote { margin: 0; border-top: 2px solid var(--gold); padding-top: 1.15rem; }
/* Real testimonials vary a lot in length. Set a touch smaller than a pull
   quote so a long one stays comfortable to read rather than becoming a wall. */
.quote blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--navy);
}
.quote figcaption {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.quote--empty {
  border-top-style: dashed;
  border-top-color: var(--amber);
}
.quote--empty blockquote,
.quote--empty figcaption { color: var(--amber); opacity: 0.85; }

/* ---------- services list (deliberately not cards) ---------- */

.svc-list { border-top: 1px solid var(--rule); }
.svc-row {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 16.5rem) minmax(0, 1fr);
  align-items: start;
  gap: 0.4rem 1.6rem;
  padding: 1.5rem 1rem 1.5rem 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  transition: background 140ms ease, padding-left 140ms ease;
}
a.svc-row:hover { background: rgba(197, 173, 130, 0.1); padding-left: 0.75rem; }

.svc-icon {
  display: block;
  width: 2.3rem; height: 2.3rem;
  color: var(--gold-deep);
  margin-top: -0.1rem;
}
.svc-icon svg { width: 100%; height: 100%; display: block; }

.svc-row h3 { font-size: 1.32rem; }
.svc-row p { color: var(--ink-soft); }
.svc-row .svc-more {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  opacity: 0;
  transition: opacity 140ms ease;
}
a.svc-row:hover .svc-more { opacity: 1; }

/* ---------- service detail ---------- */

.svc-detail { border-top: 1px solid var(--rule); padding-block: clamp(2.25rem, 4vw, 3rem); scroll-margin-top: 2rem; }
.svc-detail:last-child { border-bottom: 1px solid var(--rule); }
.svc-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
  gap: 1rem 3rem;
}
.svc-detail h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.svc-detail .svc-body { display: flex; flex-direction: column; gap: 1rem; max-width: var(--measure); }

.warn {
  border-left: 2px solid var(--gold);
  padding: 0.55rem 0 0.55rem 1rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ---------- video ----------
   A facade, not the player. Nothing loads from Vimeo until it is clicked. */

.video { margin: 0.75rem 0 0; max-width: var(--measure); }

.video-facade,
.video-frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--rule);
  background: var(--navy);
}

a.video-facade { text-decoration: none; }

.video-escape {
  margin-top: 0.6rem;
  color: var(--ink-soft);
}
.video-escape a { color: var(--navy); border-bottom: 1px solid var(--gold); text-decoration: none; }

.video-facade {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.9rem;
  padding: 1.5rem;
  text-align: left;
  cursor: pointer;
  font-family: var(--body);
  color: #EDE6D8;
  transition: background 160ms ease;
}
.video-facade:hover { background: var(--navy-deep); }

.video-play {
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  transition: background 160ms ease;
}
.video-play::after {
  content: "";
  width: 0; height: 0;
  margin-left: 0.25rem;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 15px solid var(--gold);
}
.video-facade:hover .video-play { background: rgba(197, 173, 130, 0.16); }

.video-facade-text { display: flex; flex-direction: column; gap: 0.3rem; }
.video-facade-title {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.25;
  color: #fff;
}
.video-facade-note { font-size: 0.8rem; color: rgba(237, 230, 216, 0.75); line-height: 1.5; }

/* Shown in the review copy only: if the sandbox also blocks opening a new tab,
   the address is still there to copy. */
.video-facade-url {
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.02em;
  margin-top: 0.15rem;
  user-select: all;
}

.video figcaption { margin-top: 0.85rem; display: flex; flex-direction: column; gap: 0.4rem; }
.video figcaption a { color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--gold); }

/* ---------- process ---------- */

.process { display: grid; gap: 0; }
.process-step {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 0.25rem 1.5rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.process:first-of-type .process-step:first-child { border-top: 1px solid var(--rule); }
.process-num {
  font-family: var(--display);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--gold);
  grid-row: span 2;
  font-variant-numeric: tabular-nums;
}
.process-step h3 { font-size: 1.2rem; }
.process-step p { color: var(--ink-soft); max-width: var(--measure); }

/* ---------- values ---------- */

.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 2rem 3rem; }
.value h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.value p { color: var(--ink-soft); }
.value .rule-gold { margin-bottom: 1rem; }

/* ---------- qualifications ---------- */

.qual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.75rem 2.75rem;
  margin-top: 0.5rem;
}
.qual { border-top: 1px solid var(--rule); padding-top: 1rem; }
.qual h3 { font-size: 1.1rem; margin-bottom: 0.45rem; text-wrap: balance; }

/* ---------- adviser ---------- */

.adviser-grid {
  display: grid;
  grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
  gap: 2rem 3.5rem;
  align-items: start;
}
.adviser-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 2rem 1.75rem;
  text-align: center;
}
/* A studio cutout on white: no frame, so it sits on the card rather than in a
   box. A border round a white-background portrait just draws an empty square. */
.adviser-card img.adviser-photo {
  width: 190px; height: 190px;
  object-fit: cover;
  margin: 0 auto 0.5rem;
}
.adviser-card h3 { font-size: 1.4rem; }
.adviser-card .role {
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 0.4rem;
  line-height: 1.5;
}
.adviser-card .post-nominals {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 0.45rem;
  font-variant-numeric: tabular-nums;
}

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 2.5rem 4rem;
  align-items: start;
}
.detail-list { display: flex; flex-direction: column; gap: 1.4rem; }
.detail-item .label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 0.25rem;
}
.detail-item a { color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--gold); overflow-wrap: anywhere; }
.detail-item a:hover { color: var(--gold-deep); }
.detail-item .value-lg { font-family: var(--display); font-size: 1.5rem; color: var(--navy); }

form.enquiry { display: flex; flex-direction: column; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field textarea {
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 0.7rem 0.85rem;
  border-radius: 0;
  width: 100%;
}
.field input:focus, .field textarea:focus { border-color: var(--gold-deep); outline: none; }
.field textarea { min-height: 8rem; resize: vertical; }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.88rem; color: var(--ink-soft); }
.consent input { margin-top: 0.25rem; }

/* ---------- downloadable guides ----------
   The covers carry the visual weight, so the cards around them stay bare:
   no border, no shadow, no fill. */

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 2.5rem 2.5rem;
  margin-top: 0.75rem;
}
.guide { display: flex; flex-direction: column; gap: 1.1rem; }
.guide img {
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  transition: transform 220ms ease;
}
.guide:hover img { transform: translateY(-4px); }
.guide-body { display: flex; flex-direction: column; gap: 0.5rem; }
.guide-body h3 { font-size: 1.22rem; }

.guide-link {
  align-self: flex-start;
  margin-top: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.2rem;
}
.guide-link:hover { color: var(--gold-deep); }

.guide-pending {
  align-self: flex-start;
  margin-top: 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-bg);
  padding: 0.25rem 0.6rem;
}

/* ---------- VouchedFor rating ----------
   A quiet band, not a badge shouting on a card. The score sits left, framed by
   hairlines, with the explanation beside it. */

.vf-band { background: var(--sand); }

.vf-grid {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: 1.75rem 3.5rem;
  align-items: center;
}

.vf-score {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.5rem 1.75rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  text-align: center;
  align-items: center;
}

.vf-number {
  font-family: var(--display);
  color: var(--navy);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  font-variant-numeric: tabular-nums;
}
.vf-number strong { font-size: 3rem; font-weight: 400; }
.vf-number span { font-size: 1.1rem; color: var(--ink-soft); }

.vf-badge {
  margin-top: 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  border-top: 1px solid var(--rule);
  padding-top: 0.75rem;
  width: 100%;
}

.vf-link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.15rem;
}
.vf-link:hover { color: var(--gold-deep); }

/* Marks a link that leaves the site — required alongside the written warning. */
.ext {
  font-size: 0.85em;
  color: var(--gold-deep);
  margin-left: 0.15em;
}
.site-footer .ext { color: var(--gold); }

.vf-compact .vf-stars { margin-bottom: 0.4rem; }
.vf-compact a { color: var(--navy); border-bottom: 1px solid var(--gold); text-decoration: none; }

/* ---------- CTA band ---------- */

.cta-band { background: var(--navy); color: #EDE6D8; }
.cta-band h2 { color: #fff; }
.cta-band .ornament { color: var(--gold); }
.cta-band .btn { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.cta-band .btn:hover { background: #D7C39C; border-color: #D7C39C; }
.cta-band .btn--ghost { background: transparent; border-color: rgba(197,173,130,0.6); color: #EDE6D8; }
.cta-band .btn--ghost:hover { background: rgba(197,173,130,0.16); color: #fff; }
.cta-band a { color: var(--gold); }

/* ---------- footer ---------- */

.site-footer { background: var(--navy-deep); color: #C9C2B4; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.site-footer h2, .site-footer h3 { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem 3rem;
}
/* The full lock-up, recoloured for the navy ground. It already carries the
   strapline, so the footer does not repeat it as text. */
.site-footer img.footer-mark { width: 210px; margin-bottom: 1.25rem; }
.site-footer a { color: #E0D7C3; text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--gold); }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-heading {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.footer-legal {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(197,173,130,0.25);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  color: #9E9787;
  font-size: 0.8rem;
  line-height: 1.65;
}
.footer-legal .tbc { background: rgba(197,173,130,0.14); color: var(--gold); }

/* The approval stamp. Quilter require the approving firm and the date approved
   to be shown on the promotion, and the promotion must not be published until
   they are there — so this is set apart from the rest of the small print
   rather than being the first grey line of seven. Gold rule above and below,
   a labelled row, and a size and contrast step up from the legal text. */
.approval-stamp {
  margin-bottom: 0.4rem;
  padding: 0.85rem 0 0.95rem;
  border-top: 1px solid rgba(197,173,130,0.35);
  border-bottom: 1px solid rgba(197,173,130,0.35);
}
.approval-value {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #EDE6D7;
  overflow-wrap: anywhere;
}

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .svc-detail-grid, .adviser-grid, .contact-grid, .footer-grid, .vf-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .vf-score { max-width: 15rem; }

  /* Keep the icon beside the name; drop the description underneath, so the
     list still reads as a list rather than a run of paragraphs. */
  .svc-row {
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: 0.35rem 1rem;
  }
  .svc-row h3 { grid-column: 2; }
  .svc-row > div { grid-column: 2; }

  /* Two up rather than four stacked — the band was eating a whole screen. */
  .cred-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
  .cred { padding-left: 0.85rem; }
  .cred-name { font-size: 1rem; }
  .site-header .wrap { flex-wrap: wrap; gap: 0.9rem; }
  .site-nav { width: 100%; flex-wrap: wrap; gap: 0.9rem 1.25rem; }
  .adviser-card { max-width: 20rem; }
}

@media (max-width: 860px) {
  :root { --brand-size: 78px; }
  .brand-name { font-size: 1.42rem; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .site-nav a { font-size: 0.82rem; }
  :root { --brand-size: 64px; }
  .brand-name { font-size: 1.25rem; }
  .strapline { font-size: 0.76rem; letter-spacing: 0.1em; gap: 0.3rem 0.7rem; }
  .strap-group { gap: 0.7rem; }
  .brand-sub { font-size: 0.64rem; }
  .brand { gap: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .draft-bar, .cta-band { display: none; }
  body { font-size: 11pt; }
}

/* ---------------------------------------------------------------------------
   Cookie consent. A working opt-in rather than a notice: nothing third-party
   loads until the visitor says yes, and the choice can be changed from the
   footer. Sits above everything, but is dismissible and never blocks reading.
--------------------------------------------------------------------------- */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--navy); color: #EDE7DC;
  border-top: 2px solid var(--gold);
  box-shadow: 0 -8px 28px rgba(21, 41, 70, 0.22);
}
.cookie-bar[hidden] { display: none; }
.cookie-inner {
  max-width: 68rem; margin: 0 auto; padding: 1.15rem 1.5rem;
  display: flex; gap: 1.75rem; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
}
.cookie-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem; color: #fff; margin-bottom: 0.2rem;
}
.cookie-body { font-size: 0.86rem; line-height: 1.5; max-width: 52ch; color: #C9C2B6; }
.cookie-actions { display: flex; gap: 0.6rem; flex-shrink: 0; flex-wrap: wrap; }
.btn--small { padding: 0.5rem 1.05rem; font-size: 0.78rem; }
.cookie-bar .btn--ghost { color: #EDE7DC; border-color: rgba(197, 173, 130, 0.55); }
.cookie-bar .btn--ghost:hover { border-color: var(--gold); }
.video-blocked[hidden] { display: none; }
.video-blocked { color: var(--muted); }
@media (max-width: 44rem) {
  .cookie-inner { padding: 1rem 1.1rem; gap: 0.9rem; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1 1 auto; text-align: center; }
}

/* Honeypot field: a real input, kept off-screen and out of the tab order.
   Not display:none — some automated submitters skip hidden fields, and this
   one needs to look reachable to them. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
