/* =============================================================
   Bishopsgate Vector — Design System
   Aesthetic: restrained institutional, City of London professional
   Palette: warm paper, charcoal ink, deep navy, muted brass accent
   Type: Spectral (display serif) + Libre Franklin (humanist sans)
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Colour — Option 1: Deep Oxford Navy & Brass */
  --ink:        #1a2233;   /* primary text — slight navy cast */
  --ink-soft:   #3c4658;   /* secondary text */
  --ink-faint:  #6b7280;   /* muted/meta text */
  --navy:       #0a1b33;   /* dark sections — Oxford navy */
  --navy-deep:  #07152a;   /* footer / deepest */
  --paper:      #f4f1e9;   /* page background — warm cream */
  --paper-2:    #faf7f0;   /* raised cards on paper */
  --paper-3:    #ffffff;
  --stone:      #e8e2d4;   /* subtle panels */
  --stone-line: #e3ddcf;   /* hairline borders */
  --brass:      #9a7634;   /* accent — rules, marks, large display only */
  --brass-soft: #b08d57;   /* brand gold */
  --brass-on-dark: #caa869;/* brand gold, legible on navy */
  --paper-line-on-dark: rgba(246,243,236,0.16);

  /* Type */
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans:  "Libre Franklin", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display-caps: "Cinzel", "Spectral", Georgia, serif;  /* wordmark / engraved caps */

  /* Scale (fluid) */
  --step--1: clamp(0.83rem, 0.80rem + 0.15vw, 0.92rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.34rem + 0.8vw, 2rem);
  --step-3:  clamp(1.9rem, 1.6rem + 1.5vw, 2.9rem);
  --step-4:  clamp(2.4rem, 1.9rem + 2.6vw, 4rem);
  --step-5:  clamp(2.9rem, 2.1rem + 4vw, 5rem);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-s:  1rem;
  --space-m:  1.75rem;
  --space-l:  3rem;
  --space-xl: 5rem;
  --space-2xl: 7.5rem;

  --maxw: 1180px;
  --maxw-prose: 760px;
  --radius: 3px;

  --shadow-sm: 0 1px 2px rgba(20,24,31,0.04), 0 4px 14px rgba(20,24,31,0.05);
  --shadow-md: 0 2px 6px rgba(20,24,31,0.06), 0 18px 44px rgba(20,24,31,0.09);

  --ease: cubic-bezier(0.16, 0.84, 0.44, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 { font-size: var(--step-4); font-weight: 400; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.25; }
h4 { font-size: var(--step-0); font-family: var(--sans); font-weight: 600; letter-spacing: 0; }

p { color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 600; }

.eyebrow {
  font-family: var(--display-caps);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--brass);
  display: inline-block;
}
.eyebrow.center::before { display: none; }

.lead {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-soft);
  font-weight: 400;
}

.serif-quote {
  font-family: var(--serif);
  font-size: var(--step-2);
  line-height: 1.35;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 3rem); }
.section { padding-block: var(--space-2xl); }
.section--tight { padding-block: var(--space-xl); }
.section--note { padding-block: clamp(2rem, 4vw, 3rem); }
@media (max-width: 720px) {
  .section { padding-block: 3rem; }
  .section--tight { padding-block: 2.5rem; }
  .section--note { padding-block: 1.75rem; }
}
.prose-wrap { max-width: var(--maxw-prose); }

.section--paper2 { background: var(--paper-2); }
.section--stone  { background: linear-gradient(180deg, var(--stone) 0%, #e3dccd 100%); }
.section--navy {
  background: var(--navy);
  color: #e9e6df;
  position: relative;
}
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fdfcf9; }
.section--navy p { color: #c2c8d2; }
.section--navy .eyebrow { color: var(--brass-on-dark); }
.section--navy .eyebrow::before { background: var(--brass-on-dark); }

.divider { height: 1px; background: var(--stone-line); border: 0; }

/* hairline rule used to break sections */
.rule-brass { width: 48px; height: 2px; background: var(--brass); border: 0; }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary { background: var(--navy-deep); color: #f6f3ec; border-color: var(--navy-deep); }
.btn-primary:hover { background: var(--navy); border-color: var(--brass-soft); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--stone-line); }
.btn-ghost:hover { border-color: var(--brass); color: var(--navy-deep); background: rgba(156,116,48,0.05); }

.btn-on-dark { background: var(--brass-on-dark); color: var(--navy-deep); }
.btn-on-dark:hover { background: #d8b87a; }
.btn-ghost-dark { background: transparent; color: #efece5; border-color: var(--paper-line-on-dark); }
.btn-ghost-dark:hover { border-color: #efece5; background: rgba(255,255,255,0.05); }

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

/* text link with brass underline reveal */
.tlink {
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  background-image: linear-gradient(var(--brass), var(--brass));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .4s var(--ease);
  padding-bottom: 2px;
}
.tlink:hover { background-size: 100% 1px; }
.tlink svg { width: 15px; height: 15px; }
.section--navy .tlink { color: #fdfcf9; background-image: linear-gradient(var(--brass-on-dark), var(--brass-on-dark)); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy-deep);
  border-top: 3px solid var(--brass-soft);
  box-shadow: inset 0 4px 0 var(--navy-deep), inset 0 5px 0 var(--brass-on-dark);
  border-bottom: 1px solid rgba(202,168,105,0.20);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: inset 0 4px 0 var(--navy-deep), inset 0 5px 0 var(--brass-on-dark), 0 10px 30px rgba(0,0,0,0.28); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
  height: 78px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); }
.wm { display: flex; flex-direction: column; align-items: center; line-height: 1; gap: 6px; }
.wm__top {
  font-family: var(--display-caps); font-weight: 600; text-transform: uppercase;
  font-size: 1.18rem; letter-spacing: 0.14em; color: var(--ink); white-space: nowrap;
}
.wm__bot {
  display: flex; align-items: center; gap: 0.55rem;
  font-family: var(--display-caps); font-weight: 500; text-transform: uppercase;
  font-size: 0.62rem; letter-spacing: 0.40em; color: var(--brass-soft);
  padding-left: 0.40em; /* optical balance for tracking */ white-space: nowrap;
}
.wm__rule { display: block; width: 18px; height: 1px; background: currentColor; opacity: 0.9; }
.brand--dark .wm__top { color: #f3f1ea; }
.brand--dark .wm__bot { color: var(--brass-on-dark); }
@media (max-width: 520px) {
  .wm__top { font-size: 1.04rem; letter-spacing: 0.12em; }
  .wm__bot { font-size: 0.56rem; }
  .wm__rule { width: 14px; }
}

.nav-menu { display: flex; align-items: center; gap: 0.4rem; list-style: none; padding: 0; }
.nav-menu > li { position: relative; }
.nav-link {
  font-size: 0.88rem; font-weight: 500; text-decoration: none; color: #cdd3dd;
  padding: 0.55rem 0.9rem; border-radius: var(--radius);
  display: inline-flex; align-items: center; gap: 0.35rem;
  transition: color .25s ease;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: #fff; }
.nav-link[aria-current="page"] { font-weight: 600; }
.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.15rem; height: 1px; background: var(--brass-on-dark);
}
.nav-link .chev { width: 12px; height: 12px; transition: transform .3s var(--ease); }

/* dropdown */
.has-dropdown .dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 320px;
  background: var(--paper-2);
  border: 1px solid var(--stone-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 0.6rem;
  list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown:hover .nav-link .chev,
.has-dropdown:focus-within .nav-link .chev { transform: rotate(180deg); }
.dropdown a {
  display: block; text-decoration: none; padding: 0.7rem 0.85rem; border-radius: var(--radius);
  color: var(--ink); transition: background .2s ease;
}
.dropdown a small { display: block; color: var(--ink-faint); font-size: 0.78rem; margin-top: 2px; font-weight: 400; }
.dropdown a strong { font-weight: 600; font-size: 0.9rem; }
.dropdown a:hover { background: var(--stone); }
.dropdown--mega {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.15rem;
  min-width: 620px;
}
@media (max-width: 920px) {
  .dropdown--mega { display: block; min-width: 0; }
}

.nav-cta { display: inline-flex; align-items: center; gap: 1rem; }

/* mobile */
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  width: 44px; height: 44px;
}
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: #e9e6df; margin: 5px auto; transition: transform .3s var(--ease), opacity .3s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-collapse {
    position: fixed; inset: 78px 0 auto 0;
    background: var(--navy-deep);
    border-bottom: 1px solid rgba(201,160,74,0.22);
    padding: 1.25rem clamp(1.25rem,5vw,3rem) 2rem;
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100vh - 78px); overflow-y: auto;
    transform: translateY(-120%); transition: transform .4s var(--ease);
    box-shadow: var(--shadow-md);
  }
  .nav-collapse.open { transform: translateY(0); }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav-menu > li { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-link { padding: 1rem 0; font-size: 1rem; justify-content: space-between; }
  .nav-link[aria-current="page"]::after { display: none; }
  .has-dropdown .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; background: transparent; padding: 0 0 0.5rem 0.5rem;
    min-width: 0;
  }
  .has-dropdown .dropdown a { padding: 0.6rem 0.5rem; color: #d4d9e1; }
  .has-dropdown .dropdown a strong { color: #f3f1ea; }
  .has-dropdown .dropdown a small { color: #8d96a6; }
  .has-dropdown .dropdown a:hover { background: rgba(255,255,255,0.04); }
  .nav-cta { margin-top: 1.25rem; flex-direction: column; align-items: stretch; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius) 0; text-decoration: none; font-weight: 600; font-size: 0.85rem;
}
.skip-link:focus { left: 0; }

/* ---------- Focus visibility ---------- */
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
.section--navy :focus-visible { outline-color: var(--brass-on-dark); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(4.5rem, 9vw, 8.5rem) clamp(4rem, 7vw, 6.5rem); overflow: hidden; }
/* Option 1: dark Oxford-navy hero — the primary trust anchor */
.hero--dark { background: var(--navy); }
.hero--dark::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--brass-on-dark), transparent); opacity: 0.5; }
.hero--dark h1 { color: #f7f4ec; }
.hero--dark .lead { color: rgba(247,244,236,0.74); }
.hero--dark .eyebrow { color: var(--brass-on-dark); }
.hero--dark .eyebrow::before { background: var(--brass-on-dark); }
.hero--dark .hero__aside { border-left-color: var(--paper-line-on-dark); }
.hero--dark .hero__stat { border-bottom-color: var(--paper-line-on-dark); }
.hero--dark .hero__stat dt { color: #f1ede3; }
.hero--dark .hero__stat dd { color: rgba(247,244,236,0.55); }
.hero--dark .hero__motif { color: var(--brass-on-dark); opacity: 0.12; }
.hero--dark .btn-ghost { color: #f1ede3; border-color: var(--paper-line-on-dark); }
.hero--dark .btn-ghost:hover { border-color: var(--brass-on-dark); color: #fff; background: rgba(202,168,105,0.08); }
.hero--dark .btn-primary { background: var(--brass-on-dark); color: var(--navy-deep); border-color: var(--brass-on-dark); }
.hero--dark .btn-primary:hover { background: #d8b97e; border-color: #d8b97e; }
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 {
  margin-top: 1.5rem;
  max-width: 18ch;
  font-size: clamp(2.25rem, 1.7rem + 2.6vw, 3.4rem); /* ~36px mobile floor, scales up */
  line-height: 1.1;
  letter-spacing: 0.005em;
}
@media (max-width: 720px) {
  .hero h1 { font-size: clamp(2.5rem, 2rem + 4vw, 3.1rem); line-height: 1.12; max-width: 16ch; }
}
.hero .lead { margin-top: 1.6rem; max-width: 46ch; }
.hero .btn-row { margin-top: 2.4rem; }
.hero__aside {
  border-left: 1px solid var(--stone-line);
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
}
.hero__stat { padding-block: 1.1rem; border-bottom: 1px solid var(--stone-line); }
.hero__stat:first-child { padding-top: 0; }
.hero__stat:last-child { border-bottom: 0; }
.hero__stat dt { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); margin-bottom: 0.15rem; }
.hero__stat dd { font-size: 0.86rem; color: var(--ink-faint); }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__aside { border-left: 0; border-top: 1px solid var(--stone-line); padding-left: 0; padding-top: 1.5rem; }
}

/* atmospheric gate motif behind hero */
.hero__motif { position: absolute; top: 50%; right: -6%; transform: translateY(-50%); width: 540px; max-width: 50vw; color: var(--brass); opacity: 0.10; pointer-events: none; z-index: 0; }
.hero .container { position: relative; z-index: 1; }
@media (max-width: 860px) { .hero__motif { opacity: 0.06; right: -20%; } }

/* ---------- Section heading block ---------- */
.sec-head { max-width: 60ch; }
.sec-head h2 { margin-top: 1rem; }
.sec-head p { margin-top: 1.1rem; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.25rem; margin-top: 3rem; }
.svc-card {
  background: var(--paper-2);
  border: 1px solid var(--stone-line);
  border-radius: var(--radius);
  padding: 2rem 1.85rem 1.85rem;
  display: flex; flex-direction: column;
  text-decoration: none;
  position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  overflow: hidden;
}
.svc-card::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--brass); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--stone-line); }
.svc-card:hover::after { transform: scaleX(1); }
/* Semi-prominent entry-point service: persistent brass top accent + faint tint */
.svc-card--feature { background: var(--paper-3); border-color: var(--brass-soft); }
.svc-card--feature::after { transform: scaleX(1); }
.svc-card--feature .svc-card__num { color: var(--brass-soft); }
/* Homepage Regulatory Healthcheck entry-point CTA */
.healthcheck-cta { max-width: 60ch; }
.healthcheck-cta h2 { margin-top: 0.6rem; }
.healthcheck-cta p { margin-top: 1rem; }
.section--navy .btn-ghost { color: #f1ede3; border: 1px solid var(--paper-line-on-dark); }
.section--navy .btn-ghost:hover { border-color: var(--brass-on-dark); color: #fff; background: rgba(202,168,105,0.08); }
.section--navy .btn-primary { background: var(--brass-on-dark); color: var(--navy-deep); border-color: var(--brass-on-dark); }
.section--navy .btn-primary:hover { background: #d8b97e; border-color: #d8b97e; }

/* Who we support (homepage short form) */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.who-card { background: var(--paper-2); border: 1px solid var(--stone-line); border-radius: var(--radius); padding: 1.1rem 1.25rem; font-family: var(--serif); font-size: 0.98rem; line-height: 1.4; color: var(--ink); display: flex; align-items: center; }
@media (max-width: 820px) { .who-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .who-grid { grid-template-columns: 1fr; } }

/* How support is delivered */
.delivery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2.75rem; }
.delivery-card { background: var(--paper-2); border: 1px solid var(--stone-line); border-left: 3px solid var(--brass-soft); border-radius: var(--radius); padding: clamp(1.4rem, 2.4vw, 1.85rem); }
.delivery-card h3 { font-family: var(--sans); font-weight: 600; font-size: 1rem; color: var(--navy); }
.delivery-card p { font-size: 0.9rem; line-height: 1.6; color: var(--ink-soft); margin-top: 0.55rem; }
@media (max-width: 720px) { .delivery-grid { grid-template-columns: 1fr; gap: 1rem; } }

/* Launch / Grow / Protect lifecycle */
.lifecycle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.75rem; }
.lifecycle-card { background: var(--paper-2); border: 1px solid var(--stone-line); border-top: 3px solid var(--brass-soft); border-radius: var(--radius); padding: clamp(1.5rem, 2.5vw, 2rem); }
.lifecycle-card__tag { display: inline-block; font-family: var(--head); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); margin-bottom: 0.8rem; }
.lifecycle-card p { font-size: 0.93rem; line-height: 1.6; color: var(--ink-soft); }
@media (max-width: 820px) { .lifecycle-grid { grid-template-columns: 1fr; gap: 1rem; } }

/* Task-based "I'm looking to..." grid */
.task-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 2.5rem; border-top: 1px solid var(--stone-line); }
.task-link {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.25rem 1.15rem 0.25rem;
  border-bottom: 1px solid var(--stone-line);
  text-decoration: none; color: var(--ink);
  font-family: var(--serif); font-size: 1.02rem; line-height: 1.35;
  transition: color .25s var(--ease), padding-left .25s var(--ease), background .25s var(--ease);
}
.task-link:nth-child(odd) { border-right: 1px solid var(--stone-line); padding-right: 1.5rem; }
.task-link:nth-child(odd) { padding-left: 0.25rem; }
.task-link:nth-child(even) { padding-left: 1.5rem; }
.task-link svg, .task-link .arrow { color: var(--brass); flex-shrink: 0; width: 20px; height: 20px; transition: transform .25s var(--ease); }
.task-link:hover { color: var(--navy); background: rgba(154,118,52,0.05); padding-left: 1rem; }
.task-link:nth-child(even):hover { padding-left: 2rem; }
.task-link:hover svg, .task-link:hover .arrow { transform: translateX(4px); }
@media (max-width: 720px) {
  .task-grid { grid-template-columns: 1fr; }
  .task-link { font-size: 0.98rem; padding: 1rem 0.75rem 1rem 0.25rem !important; border-right: 0 !important; }
  .task-link:nth-child(even) { padding-left: 0.25rem !important; }
  .task-link:hover { padding-left: 0.75rem !important; }
}
/* Featured service detail (Regulatory Healthcheck) */
.svc-detail { display: grid; grid-template-columns: 1.5fr 0.9fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.svc-detail__main h2 { margin-top: 0.6rem; }
.svc-detail__main .lead { margin-top: 1rem; }
.svc-detail__main p { margin-top: 1rem; }
.svc-detail__aside { background: var(--paper-3); border: 1px solid var(--stone-line); border-top: 3px solid var(--brass-soft); border-radius: var(--radius); padding: clamp(1.5rem, 2.5vw, 2rem); }
.svc-detail__aside-title { font-family: var(--sans); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em; color: var(--ink); margin-bottom: 1rem; }
@media (max-width: 860px) { .svc-detail { grid-template-columns: 1fr; } }
.svc-card__num { font-family: var(--serif); font-size: 0.9rem; color: var(--brass); letter-spacing: 0.05em; }
.svc-card h3 { margin-top: 0.9rem; }
.svc-card p { margin-top: 0.7rem; font-size: 0.92rem; flex-grow: 1; }
.svc-card .tlink { margin-top: 1.4rem; }

/* ---------- Feature / two-col ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.split--text-first { }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 2.5rem; } }

/* numbered / ticked lists */
.feature-list { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 1.1rem; }
.feature-list li { position: relative; padding-left: 2rem; color: var(--ink-soft); }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 12px; height: 1px; background: var(--brass);
}
.feature-list li strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 0.15rem; }
.section--navy .feature-list li { color: #c8cdd6; }
.section--navy .feature-list li::before { background: var(--brass-on-dark); }
.section--navy .feature-list li strong { color: #fdfcf9; }

/* check list */
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.85rem; }
.check-list li { position: relative; padding-left: 1.9rem; color: var(--ink-soft); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.45em; width: 9px; height: 9px;
  border: 1px solid var(--brass); transform: rotate(45deg);
}

/* who-we-support grid */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1px; background: var(--stone-line); border: 1px solid var(--stone-line); border-radius: var(--radius); overflow: hidden; margin-top: 2.5rem; }
.tile { background: var(--paper-2); padding: 1.6rem 1.5rem; }
.tile h4 { color: var(--ink); margin-bottom: 0.3rem; }
.tile p { font-size: 0.88rem; }

/* approach numbered steps */
.steps { counter-reset: step; display: grid; gap: 0; margin-top: 2.5rem; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 1.5rem; padding: 1.75rem 0; border-top: 1px solid var(--stone-line); }
.step:last-child { border-bottom: 1px solid var(--stone-line); }
.step__n { counter-increment: step; font-family: var(--serif); font-size: 1.5rem; color: var(--brass); }
.step__n::before { content: "0" counter(step); }
.step h3 { font-size: var(--step-0); font-family: var(--sans); font-weight: 600; }
.step p { margin-top: 0.5rem; font-size: 0.93rem; }
.section--navy .step { border-color: var(--paper-line-on-dark); }
.section--navy .step__n { color: var(--brass-on-dark); }

/* compliance boundary box */
.notice-box {
  border: 1px solid var(--stone-line);
  border-left: 3px solid var(--brass);
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: clamp(1.1rem, 2vw, 1.5rem) clamp(1.1rem, 2.4vw, 1.75rem);
}
.notice-box h3 { font-family: var(--sans); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em; color: var(--ink); }
.notice-box p { margin-top: 0.6rem; font-size: 0.9rem; line-height: 1.6; color: var(--ink-soft); }
.notice-box p + p { margin-top: 0.55rem; }
@media (max-width: 720px) {
  .notice-box { padding: 1.1rem 1.15rem; }
  .notice-box h3 { font-size: 0.9rem; }
  .notice-box p { font-size: 0.86rem; line-height: 1.55; }
}
.section--navy .notice-box { background: rgba(255,255,255,0.04); border-color: var(--paper-line-on-dark); border-left-color: var(--brass-on-dark); }
.section--navy .notice-box h3 { color: #f1ede3; }
.section--navy .notice-box p { color: rgba(247,244,236,0.72); }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 22ch; margin-inline: auto; }
.cta-band p { max-width: 50ch; margin: 1.2rem auto 0; }
.cta-band .btn-row { justify-content: center; margin-top: 2.4rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.contact-detail { margin-top: 2rem; display: grid; gap: 1.4rem; }
.contact-detail dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-faint); font-weight: 600; }
.contact-detail dd { margin-top: 0.25rem; font-size: 1rem; }
.contact-detail a { text-decoration: none; border-bottom: 1px solid var(--stone-line); padding-bottom: 1px; }
.contact-detail a:hover { border-color: var(--brass); }

/* Form */
.form-card { background: var(--paper-2); border: 1px solid var(--stone-line); border-radius: var(--radius); padding: clamp(1.75rem, 4vw, 2.75rem); }
.field { margin-bottom: 1.35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink); margin-bottom: 0.45rem; }
.field label .req { color: var(--brass); }
.field .hint { font-weight: 400; color: var(--ink-faint); font-size: 0.78rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 0.95rem; color: var(--ink);
  background: var(--paper-3); border: 1px solid var(--stone-line); border-radius: var(--radius);
  padding: 0.8rem 0.9rem; transition: border-color .25s ease, box-shadow .25s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(154,123,67,0.12);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179,38,30,0.1);
}
.field .error-msg { color: #b3261e; font-size: 0.78rem; margin-top: 0.35rem; display: none; }
.field input[aria-invalid="true"] ~ .error-msg,
.field select[aria-invalid="true"] ~ .error-msg,
.field textarea[aria-invalid="true"] ~ .error-msg { display: block; }

.consent { display: flex; gap: 0.75rem; align-items: flex-start; }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--brass); }
.consent label { font-weight: 400; font-size: 0.85rem; color: var(--ink-soft); margin: 0; }

.form-status { margin-top: 1rem; padding: 0.9rem 1.1rem; border-radius: var(--radius); font-size: 0.9rem; display: none; }
.form-status.ok { display: block; background: #eef3ec; border: 1px solid #c6d9bf; color: #2f5026; }
.form-status.err { display: block; background: #fbecea; border: 1px solid #e6c3bf; color: #8a241c; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: var(--maxw-prose); }
.prose h2 { font-size: var(--step-2); margin-top: 2.75rem; margin-bottom: 1rem; }
.prose h3 { font-size: var(--step-1); margin-top: 2rem; margin-bottom: 0.7rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p { margin-bottom: 1.1rem; }
.prose ul, .prose ol { margin: 0 0 1.3rem; padding-left: 1.4rem; color: var(--ink-soft); }
.prose li { margin-bottom: 0.5rem; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; }
.prose .placeholder {
  background: #fdf6e6; border: 1px dashed var(--brass-soft); border-radius: var(--radius);
  padding: 0.1rem 0.45rem; font-size: 0.92em; color: #6e5a2c; font-style: italic;
}
.page-head { padding-block: clamp(3rem, 6vw, 5rem) clamp(1.5rem,3vw,2.5rem); }
.page-head h1 { max-width: 18ch; margin-top: 1.1rem; }
.page-head .lead { margin-top: 1.4rem; max-width: 56ch; }
.meta-line { font-size: 0.82rem; color: var(--ink-faint); margin-top: 1.5rem; }

/* breadcrumb */
.crumb { font-size: 0.78rem; color: var(--ink-faint); letter-spacing: 0.02em; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #c3c9d3; padding-block: var(--space-xl) var(--space-l); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .brand { margin-bottom: 0.2rem; }
.footer-brand p { margin-top: 1.2rem; font-size: 0.88rem; color: #97a0b0; max-width: 34ch; }
.footer-col h4 { color: #fdfcf9; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.footer-col a { text-decoration: none; color: #aab2c0; font-size: 0.9rem; transition: color .2s ease; }
.footer-col a:hover { color: #fdfcf9; }
.footer-disclaimer {
  margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem; color: #8d96a6; line-height: 1.6;
}
.footer-disclaimer a { color: #c9a86a; text-decoration: none; }
.footer-disclaimer a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: 0.8rem; color: #7e8799; }
.footer-bottom .footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-bottom a { color: #7e8799; text-decoration: none; }
.footer-bottom a:hover { color: #c9a86a; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; z-index: 150; left: 1rem; right: 1rem; bottom: 1rem;
  max-width: 620px; margin-inline: auto;
  background: var(--navy-deep); color: #d6dae2;
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 1.4rem 1.5rem;
  transform: translateY(150%); transition: transform .5s var(--ease);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { font-size: 0.85rem; color: #b9c0cc; margin-bottom: 1rem; }
.cookie-banner p a { color: #c9a86a; }
.cookie-actions { display: flex; gap: 0.75rem; }
.cookie-actions .btn { flex: 1 1 0; padding: 0.85rem 1.2rem; font-size: 0.82rem; text-align: center; justify-content: center; }
.btn-ghost-dark { background: transparent; color: #e4e7ec; border: 1px solid rgba(255,255,255,0.28); }
.btn-ghost-dark:hover { border-color: var(--brass-on-dark); color: #fff; background: rgba(202,168,105,0.08); }

/* ---------- Reveal animation (progressive enhancement) ----------
   Only hides content when JS is active; without JS everything is visible. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* utility */
.mt-s { margin-top: var(--space-s); }
.mt-m { margin-top: var(--space-m); }
.mt-l { margin-top: var(--space-l); }
.text-center { text-align: center; }
.measure { max-width: 60ch; }

/* ---------- Service menu (services overview) ---------- */
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.25rem; margin-top: 3rem; }
.menu-cat { background: var(--paper-2); border: 1px solid var(--stone-line); border-radius: var(--radius); padding: 1.9rem 1.75rem; display: flex; flex-direction: column; }
.menu-cat h3 { font-size: var(--step-1); }
.menu-cat .check-list { margin-top: 1.1rem; margin-bottom: 1.5rem; flex-grow: 1; }
.menu-cat .check-list li { font-size: 0.92rem; }
.menu-cat .tlink { margin-top: auto; }

/* ---------- Founder section (on navy) ---------- */
.founder { display: grid; grid-template-columns: 280px 1fr; gap: clamp(2rem, 5vw, 4rem); margin-top: 2.75rem; align-items: start; }
@media (max-width: 780px) { .founder { grid-template-columns: 1fr; gap: 2.25rem; } }
.founder__aside { position: sticky; top: 100px; }
@media (max-width: 780px) { .founder__aside { position: static; } }
.founder__monogram {
  width: 92px; height: 92px; border: 1px solid var(--brass-on-dark); color: var(--brass-on-dark);
  font-family: var(--display-caps); font-weight: 600; font-size: 2rem; letter-spacing: 0.06em;
  display: flex; align-items: center; justify-content: center; border-radius: 2px;
  background: rgba(255,255,255,0.02);
}
.founder__photo {
  width: 100%; height: auto; border-radius: 2px; display: block;
  border: 1px solid var(--paper-line-on-dark);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  outline: 1px solid var(--brass-on-dark); outline-offset: 6px;
}
.founder__facts { margin-top: 1.6rem; display: grid; gap: 1.05rem; }
.founder__facts dt { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--brass-on-dark); font-weight: 600; }
.founder__facts dd { color: #c2c8d2; font-size: 0.9rem; margin-top: 0.2rem; line-height: 1.45; }
.founder__facts a { color: #f3f1ea; text-decoration: none; border-bottom: 1px solid var(--paper-line-on-dark); padding-bottom: 1px; }
.founder__facts a:hover { border-color: var(--brass-on-dark); }
.founder__bio p + p { margin-top: 1rem; }
.founder__subhead { font-family: var(--sans); font-weight: 600; font-size: var(--step-0); color: #fdfcf9; margin-top: 2.25rem; margin-bottom: 1rem; }
.exp-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.exp-list li { color: #c2c8d2; font-size: 0.92rem; padding-left: 1.15rem; border-left: 1px solid var(--paper-line-on-dark); line-height: 1.6; }
.exp-list li strong { display: block; color: #fdfcf9; font-weight: 600; margin-bottom: 0.2rem; }
.exp-list li span { color: var(--brass-on-dark); font-weight: 600; margin-right: 0.35rem; }
.cred-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.65rem; }
.cred-list li { color: #c2c8d2; font-size: 0.9rem; position: relative; padding-left: 1.2rem; }
.cred-list li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; border: 1px solid var(--brass-on-dark); transform: rotate(45deg); }
.founder__note { margin-top: 1.6rem; font-size: 0.85rem; color: #9aa3b2; }
.founder__note a { color: var(--brass-on-dark); text-decoration: none; border-bottom: 1px solid var(--paper-line-on-dark); }

/* ---------- Fine print (footnotes) ---------- */
.fineprint { font-size: 0.82rem; line-height: 1.6; color: var(--ink-faint); }
.fineprint + .fineprint { margin-top: 0.7rem; }
.fineprint strong { color: var(--ink-soft); font-weight: 600; }
@media (max-width: 720px) { .fineprint { font-size: 0.84rem; } }

/* ---------- Old-money refinements ---------- */
/* Faint engraved vertical hairlines on dark areas (certificate/guilloché feel) */
.section--navy::before, .site-footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.6;
  background-image: repeating-linear-gradient(90deg, rgba(201,160,74,0.035) 0 1px, transparent 1px 72px);
}
.section--navy > .container, .site-footer > .container { position: relative; z-index: 1; }
.site-footer { position: relative; }

/* A finer, classic feel for the serif quote and leads */
.serif-quote { font-style: italic; }

/* ---------- Legal pages: sidebar nav + content ---------- */
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 820px) { .legal-layout { grid-template-columns: 1fr; gap: 2rem; } }
.legal-nav { position: sticky; top: 100px; }
@media (max-width: 820px) { .legal-nav { position: static; } }
.legal-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.15rem; border-left: 1px solid var(--stone-line); }
@media (max-width: 820px) {
  .legal-nav ul { display: flex; flex-wrap: wrap; gap: 0.4rem; border-left: 0; border-bottom: 1px solid var(--stone-line); padding-bottom: 1rem; }
}
.legal-nav a {
  display: block; text-decoration: none; color: var(--ink-soft); font-size: 0.88rem;
  padding: 0.5rem 0 0.5rem 1rem; margin-left: -1px; border-left: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.legal-nav a:hover { color: var(--ink); }
.legal-nav a.is-current { color: var(--navy-deep); font-weight: 600; border-left-color: var(--brass); }
@media (max-width: 820px) {
  .legal-nav a { padding: 0.4rem 0.7rem; border: 1px solid var(--stone-line); border-radius: 999px; margin: 0; }
  .legal-nav a.is-current { border-color: var(--brass); }
}
.prose code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.85em; background: var(--stone); padding: 0.1rem 0.4rem; border-radius: 3px; }

/* ---------- Credibility strip ---------- */
.credibility { background: var(--navy-deep); border-bottom: 1px solid rgba(201,160,74,0.18); }
.cred-strip {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.cred-strip--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1040px) { .cred-strip--5 { grid-template-columns: repeat(3, 1fr); } }
.cred-strip li {
  padding: 1.5rem clamp(1rem,2.5vw,2rem); text-align: center;
  border-left: 1px solid rgba(255,255,255,0.07);
}
.cred-strip li:first-child { border-left: 0; }
.cred-strip strong { display: block; font-family: var(--display-caps); font-weight: 600; color: var(--brass-on-dark); font-size: 1.05rem; letter-spacing: 0.01em; }
.cred-strip span { display: block; color: #aab2c0; font-size: 0.8rem; margin-top: 0.35rem; }
@media (max-width: 1040px) {
  .cred-strip--5 li { border-top: 1px solid rgba(255,255,255,0.07); }
  .cred-strip--5 li:nth-child(3n+1) { border-left: 0; }
  .cred-strip--5 li:nth-child(-n+3) { border-top: 0; }
}
@media (max-width: 760px) {
  .cred-strip, .cred-strip--5 { grid-template-columns: 1fr 1fr; }
  .cred-strip li:nth-child(odd) { border-left: 0; }
  .cred-strip li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.07); }
  .cred-strip--5 li:nth-child(3n+1) { border-left: 1px solid rgba(255,255,255,0.07); }
  .cred-strip--5 li:nth-child(odd) { border-left: 0; }
}

/* ---------- Lead-service callout (navy) ---------- */
.lead-callout { max-width: 760px; }
.lead-callout h2 { margin-top: 1rem; }
.lead-callout p { margin-top: 1.1rem; }
.lead-callout__note { font-size: 0.82rem; font-style: italic; line-height: 1.55; color: #9aa3b2 !important; border-left: 2px solid var(--brass-on-dark); padding-left: 0.9rem; margin-top: 1rem; }
@media (max-width: 720px) { .lead-callout__note { font-size: 0.8rem; } }

/* ---------- Engagement model grid ---------- */
.model-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 1px; background: var(--stone-line); border: 1px solid var(--stone-line); border-radius: var(--radius); overflow: hidden; margin-top: 2.75rem; }
.model { background: var(--paper-2); padding: 1.75rem 1.6rem; }
.model--feature { background: var(--paper-3); border-left: 3px solid var(--brass-soft); }
.model h3 { font-size: var(--step-0); font-family: var(--sans); font-weight: 600; color: var(--navy-deep); }
.model p { font-size: 0.9rem; margin-top: 0.6rem; }

/* ---------- Approach grid (how we work) ---------- */
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem 2.5rem; margin-top: 3rem; }
@media (max-width: 880px) { .approach-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; } }
@media (max-width: 560px) { .approach-grid { grid-template-columns: 1fr; } }
.approach { padding-top: 1.25rem; border-top: 2px solid var(--brass); }
.approach h3 { font-size: var(--step-0); font-family: var(--sans); font-weight: 600; }
.approach p { margin-top: 0.6rem; font-size: 0.92rem; }

/* ---------- Insight list ---------- */
.insight-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.insight-list li { border-top: 1px solid var(--stone-line); }
.insight-list li:last-child { border-bottom: 1px solid var(--stone-line); }
.insight-list a, .insight-list span {
  display: block; padding: 1.1rem 0; text-decoration: none; color: var(--ink);
  font-family: var(--serif); font-size: 1.08rem; line-height: 1.35;
  transition: color .2s ease, padding-left .25s var(--ease);
  position: relative;
}
.insight-list a:hover { color: var(--brass); padding-left: 0.5rem; }

/* ---------- Output list (services "what you receive") ---------- */
.output-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1.5rem; }
@media (max-width: 480px) { .output-list { grid-template-columns: 1fr; } }
.output-list li { position: relative; padding-left: 1.6rem; color: var(--ink-soft); font-size: 0.92rem; }
.output-list li::before {
  content: ""; position: absolute; left: 0; top: 0.15em; width: 14px; height: 14px;
  background: var(--brass); opacity: 0.85;
  -webkit-mask: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---------- Insights page ---------- */
.topic-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.topic-chips li {
  font-size: 0.78rem; color: var(--ink-soft); background: var(--paper-2);
  border: 1px solid var(--stone-line); border-radius: 999px; padding: 0.4rem 0.9rem;
}
.insight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 1.25rem; }
.insight-card {
  background: var(--paper-2); border: 1px solid var(--stone-line); border-radius: var(--radius);
  padding: 1.75rem 1.6rem; display: flex; flex-direction: column; position: relative;
}
.insight-card__cat { font-family: var(--display-caps); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.66rem; color: var(--brass); font-weight: 600; }
.insight-card h3 { margin-top: 0.7rem; font-size: var(--step-1); }
.insight-card__excerpt { margin-top: 0.8rem; font-size: 0.9rem; flex-grow: 1; }
.insight-card__soon {
  margin-top: 1.3rem; align-self: flex-start; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-faint); border: 1px solid var(--stone-line); border-radius: 999px; padding: 0.3rem 0.7rem; font-weight: 600;
}

/* ---------- Client situations grid ---------- */
.situation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
@media (max-width: 880px) { .situation-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .situation-grid { grid-template-columns: 1fr; } }
.situation { background: var(--paper-2); border: 1px solid var(--stone-line); border-left: 3px solid var(--brass); border-radius: var(--radius); padding: 1.6rem 1.5rem; }
.situation h3 { font-size: var(--step-0); font-family: var(--sans); font-weight: 600; color: var(--navy-deep); line-height: 1.3; }
.situation p { margin-top: 0.55rem; font-size: 0.9rem; }

/* ---------- Comparison table ---------- */
.compare-table { margin-top: 3rem; overflow-x: auto; border: 1px solid var(--stone-line); border-radius: var(--radius); }
.compare-table table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 640px; }
.compare-table thead th {
  background: var(--navy-deep); color: #f3f1ea; text-align: left; font-family: var(--sans);
  font-weight: 600; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 1rem 1.25rem;
}
.compare-table tbody td { padding: 1.1rem 1.25rem; border-top: 1px solid var(--stone-line); color: var(--ink-soft); vertical-align: top; }
.compare-table tbody tr:nth-child(even) { background: var(--paper-2); }
.compare-table tbody td strong { color: var(--navy-deep); }
.compare-table tbody td:first-child { white-space: nowrap; }
@media (max-width: 680px) {
  .compare-table { border: 0; overflow: visible; }
  .compare-table table, .compare-table thead, .compare-table tbody, .compare-table tr, .compare-table td { display: block; width: 100%; min-width: 0; }
  .compare-table thead { display: none; }
  .compare-table tbody tr { border: 1px solid var(--stone-line); border-radius: var(--radius); margin-bottom: 1rem; background: var(--paper-2); }
  .compare-table tbody td { border-top: 0; padding: 0.7rem 1.1rem; }
  .compare-table tbody td:first-child { white-space: normal; padding-top: 1.1rem; }
  .compare-table tbody td::before { content: attr(data-label); display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--brass); font-weight: 600; margin-bottom: 0.25rem; }
  .compare-table tbody td:first-child::before { display: none; }
}

/* ---------- Representative assignments ---------- */
.assignment-list { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
@media (max-width: 720px) { .assignment-list { grid-template-columns: 1fr; } }
.assignment-list li {
  position: relative; padding: 1.1rem 1.25rem 1.1rem 2.6rem;
  border-top: 1px solid var(--stone-line); color: var(--ink-soft); font-size: 0.93rem;
}
.assignment-list li::before {
  content: ""; position: absolute; left: 1rem; top: 1.45em; width: 9px; height: 9px;
  border: 1px solid var(--brass); transform: rotate(45deg);
}
@media (min-width: 721px) {
  .assignment-list li:nth-child(odd) { border-right: 1px solid var(--stone-line); }
  .assignment-list li:nth-child(1), .assignment-list li:nth-child(2) { border-top: 0; }
}

/* ---------- LinkedIn "latest thinking" box ---------- */
.linkedin-box {
  background: var(--navy-deep); border-radius: var(--radius);
  border: 1px solid rgba(201,160,74,0.22);
  padding: clamp(2rem, 5vw, 3.5rem);
  position: relative; overflow: hidden;
}
.linkedin-box::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: repeating-linear-gradient(90deg, rgba(201,160,74,0.04) 0 1px, transparent 1px 72px);
}
.linkedin-box__main { position: relative; z-index: 1; max-width: 60ch; }
.linkedin-box h2 { color: #f3f1ea; margin-top: 0.8rem; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem); line-height: 1.15; }
@media (max-width: 720px) { .linkedin-box h2 { font-size: 1.5rem; } }
.linkedin-box p { color: #c9ced8; }
.linkedin-box .eyebrow { color: var(--brass-on-dark); }

/* ---------- Honeypot (anti-spam) — visually & a11y hidden, still in DOM ---------- */
.hp-field { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
.hp-field input { width: 1px; height: 1px; }
