/* =========================================================
   Complete Conveyancing: main stylesheet
   One file, no framework. Sections:
   1 Tokens  2 Base  3 Layout  4 Header/nav  5 Buttons
   6 Hero  7 Components  8 Prose  9 Forms  10 Footer  11 Utilities
   ========================================================= */

/* ---------- 1. Tokens ---------- */
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/source-sans-3-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 900; font-style: italic; font-display: swap;
}

:root {
  /* brand (from the existing site palette) */
  --navy-950: #0f2238;
  --navy-900: #16324f;
  --navy-800: #215387;   /* old palette 2 */
  --blue-600: #2b6cb0;   /* old palette 1, primary brand blue */
  --blue-500: #3b82c4;
  --blue-100: #e3edf8;
  --blue-50:  #f2f7fc;
  --gold-500: #f5a524;   /* stars and primary CTA */
  --gold-600: #e0920f;
  --green-600: #1f7a45;

  --ink:   #1a202c;
  --text:  #3d4757;
  --muted: #667085;
  --line:  #e3e8ef;
  --bg:    #ffffff;
  --bg-soft: #f6f8fb;

  --font: "Bliss Pro", "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow:    0 4px 12px rgba(16, 24, 40, .08), 0 2px 4px rgba(16, 24, 40, .04);
  --shadow-lg: 0 18px 40px -12px rgba(15, 34, 56, .28);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue-600); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.18; letter-spacing: -.012em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--soft { background: var(--bg-soft); }
.section--blue { background: var(--blue-50); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 10px; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--text); }
.grid { display: grid; gap: clamp(16px, 2.4vw, 24px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.with-sidebar { display: grid; gap: clamp(32px, 5vw, 64px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .with-sidebar { grid-template-columns: minmax(0, 1fr) 340px; } }
.sidebar-sticky { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }

/* ---------- 4. Header / nav ---------- */
.topbar { background: var(--navy-950); color: #c9d6e6; font-size: .875rem; }
.topbar .container { display: flex; gap: 20px; align-items: center; justify-content: space-between; min-height: 38px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar__items { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; color: var(--gold-500); }
@media (max-width: 760px) { .topbar__hide-sm { display: none; } }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy-800); box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 6px 18px -10px rgba(0,0,0,.45); }
.site-header .container { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand img { width: auto; height: 46px; }
.brand__text { color: #fff; font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; line-height: 1.1; }
.brand__text small { display: block; font-weight: 500; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #b8cde6; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 8px;
  color: #fff; text-decoration: none; font-weight: 600; font-size: 1rem; background: none; border: 0; font: inherit; cursor: pointer;
}
.nav__link:hover, .nav__item:focus-within > .nav__link, .nav__link[aria-current="page"] { background: rgba(255,255,255,.1); color: #fff; }
.nav__link svg { width: 14px; height: 14px; transition: transform .2s; }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 24px 28px;
  display: grid; grid-template-columns: repeat(var(--cols, 2), max-content); column-gap: 44px; row-gap: 18px;
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.mega::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__item:hover .mega, .nav__item:focus-within .mega, .nav__item.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__item:hover .nav__link svg, .nav__item.is-open .nav__link svg { transform: rotate(180deg); }
.mega__heading { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: 0 0 10px; }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega a { display: block; padding: 7px 10px; margin-inline: -10px; border-radius: 7px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; white-space: nowrap; }
.mega a:hover { background: var(--blue-50); color: var(--blue-600); }
.mega__foot { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 14px; font-size: .95rem; }
.nav__cta { margin-left: 10px; }

.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: #fff; padding: 10px; border-radius: 8px; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; top: var(--nav-top, var(--header-h)); left: 0; right: 0; bottom: 0; background: var(--navy-900);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 32px; overflow-y: auto;
    transform: translateX(100%); transition: transform .25s ease; margin: 0;
  }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__link { width: 100%; justify-content: space-between; padding: 14px 6px; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; }
  .mega { position: static; transform: none; opacity: 1; visibility: visible; display: none; min-width: 0; box-shadow: none; background: transparent; padding: 6px 6px 14px; grid-template-columns: 1fr; gap: 14px; }
  .nav__item:hover .mega, .nav__item:focus-within .mega { transform: none; }
  .nav__item.is-open .mega { display: grid; }
  .mega a { color: #fff; white-space: normal; }
  .mega a:hover { background: rgba(255,255,255,.08); color: #fff; }
  .mega__heading { color: #9fb6d1; }
  .mega__foot { border-color: rgba(255,255,255,.12); }
  .mega__foot a { color: var(--gold-500); }
  .nav__cta { margin: 20px 0 0; }
  .nav__cta .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--gold-500); color: var(--navy-950); box-shadow: 0 6px 16px -8px rgba(224, 146, 15, .8); }
.btn--primary:hover { background: var(--gold-600); color: var(--navy-950); }
.btn--blue { background: var(--blue-600); color: #fff; }
.btn--blue:hover { background: var(--navy-800); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy-900); }
.btn--outline { border-color: var(--blue-600); color: var(--blue-600); background: #fff; }
.btn--outline:hover { background: var(--blue-600); color: #fff; }
.btn--sm { padding: 9px 16px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; color: #dbe7f5; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(59,130,196,.55), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(31,122,69,.28), transparent 60%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
}
.hero::after { /* fine grid texture */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 44px 44px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
/* photo hero: the image sits on the right and fades into the navy */
.hero--photo::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: min(64%, 1100px); z-index: -1;
  background: linear-gradient(rgba(22,50,79,.28), rgba(22,50,79,.28)), var(--hero-jpg) var(--hero-pos, center) / cover no-repeat;
  background: linear-gradient(rgba(22,50,79,.28), rgba(22,50,79,.28)),
              image-set(var(--hero-webp) type("image/webp"), var(--hero-jpg) type("image/jpeg")) var(--hero-pos, center) / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 22%, rgba(0,0,0,.85) 55%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 22%, rgba(0,0,0,.85) 55%, #000 100%);
  opacity: .72;
}
.hero--photo::after { opacity: .04; }
@media (max-width: 979px) {
  .hero--photo::before {
    width: 100%; opacity: .32;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 45%, transparent 90%);
            mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 45%, transparent 90%);
  }
}
.hero h1, .hero h2 { color: #fff; }
.hero a:not(.btn) { color: #fff; }
.hero .eyebrow { color: var(--gold-500); }
.hero__inner { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 7vw, 92px); }
@media (min-width: 980px) { .hero__inner--split { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
.hero__lede { font-size: clamp(1.1rem, 1.7vw, 1.3rem); max-width: 620px; color: #d3e0ef; }
.hero .btn-row { margin-top: 28px; }
.hero--page .hero__inner { padding-block: clamp(36px, 5vw, 64px); }
.hero--page h1 { font-size: clamp(2rem, 3.8vw, 2.9rem); max-width: 860px; }
.rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-weight: 600; color: #fff; }
.rating__stars { display: inline-flex; gap: 2px; color: var(--gold-500); }
.rating__stars svg { width: 20px; height: 20px; }
.rating small { color: #b8cde6; font-weight: 500; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--gold-500); margin-top: 2px; }
.hero .checks { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); color: #e6eef8; font-weight: 600; }

/* quote card in hero */
.quote-card { background: #fff; color: var(--text); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(22px, 3vw, 32px); }
.quote-card h2, .quote-card h3 { color: var(--ink); font-size: 1.35rem; margin-bottom: 6px; }
.quote-card__prices { list-style: none; padding: 0; margin: 18px 0 20px; display: grid; gap: 0; }
.quote-card__prices li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.quote-card__prices li:last-child { border-bottom: 0; }
.quote-card__prices span { color: var(--ink); font-weight: 600; }
.quote-card__prices strong { color: var(--navy-800); font-size: 1.2rem; white-space: nowrap; }
.quote-card__prices small { color: var(--muted); font-weight: 500; font-size: .8rem; }
.quote-card__note { font-size: .9rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.hero .quote-card a:not(.btn) { color: var(--blue-600); font-weight: 700; }

/* breadcrumbs */
.breadcrumbs { font-size: .9rem; margin-bottom: 18px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; color: #b8cde6; }
.breadcrumbs li + li::before { content: "/"; opacity: .5; }
.breadcrumbs a { color: #fff; text-decoration: none; font-weight: 600; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- 7. Components ---------- */
.trust-bar { background: #fff; border-bottom: 1px solid var(--line); }
.trust-bar ul { list-style: none; margin: 0; padding: 18px 0; display: grid; gap: 14px 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.trust-bar li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.trust-bar svg { width: 22px; height: 22px; color: var(--green-600); flex-shrink: 0; }

.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(20px, 2.4vw, 28px); box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.card--link:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #cfdcec; }
.card h3 { margin-bottom: 8px; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card p { margin-bottom: 0; }
.card__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; margin-bottom: 16px; }
.card__icon svg { width: 24px; height: 24px; }
.card__meta { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; color: var(--blue-600); }
.card__meta .price { color: var(--ink); }
.card__meta svg { width: 20px; height: 20px; }
.card__meta .price small { color: var(--muted); font-weight: 500; }

.fee-card { text-align: left; }
.fee-card__label { font-weight: 700; color: var(--ink); }
.fee-card__price { font-size: 2.4rem; font-weight: 800; color: var(--navy-800); letter-spacing: -.03em; line-height: 1; margin: 12px 0 4px; }
.fee-card__price small { font-size: .9rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.fee-card__from { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.steps li { position: relative; padding: 26px 24px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-weight: 800; font-size: 1rem; color: var(--gold-600); margin-bottom: 10px; letter-spacing: .04em;
}
.steps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.steps p { margin: 0; font-size: .98rem; }

.post-card { padding: 0; overflow: hidden; }
.post-card__img { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--blue-100), var(--blue-50)); overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card__body h3 { font-size: 1.15rem; line-height: 1.3; }
.post-card__date { font-size: .85rem; color: var(--muted); margin-top: auto; padding-top: 12px; }

.cta-band { background: var(--navy-800); color: #d3e0ef; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); display: grid; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(59,130,196,.6), transparent 70%); }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.cta-band p { margin: 0; }
.cta-band .btn-row { position: relative; z-index: 1; }

.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.side-card--blue { background: var(--navy-800); color: #d3e0ef; border-color: var(--navy-800); }
.side-card--blue h3, .side-card--blue .fee-card__price { color: #fff; }
.side-card--blue .fee-card__price small, .side-card--blue .fee-card__from { color: #b8cde6; }
.side-card h3 { font-size: 1.2rem; }
.side-card ul { list-style: none; padding: 0; margin: 0; }
.side-card li + li { border-top: 1px solid var(--line); }
.side-card li a { display: block; padding: 10px 0; text-decoration: none; font-weight: 600; color: var(--ink); }
.side-card li a:hover { color: var(--blue-600); }
.side-card .phone { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 700; color: #fff; text-decoration: none; margin-top: 14px; }
.side-card .phone svg { width: 20px; height: 20px; color: var(--gold-500); }

.toc { font-size: .95rem; }
.toc ol { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--blue-600); text-decoration: underline; }

.office { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
@media (min-width: 760px) { .office { grid-template-columns: 1fr 1.2fr; } }
.office__details { padding: 28px; }
.office__details address { font-style: normal; line-height: 1.6; margin-bottom: 14px; color: var(--ink); }
.office iframe { width: 100%; height: 100%; min-height: 280px; border: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.chips a:hover { border-color: var(--blue-600); color: var(--blue-600); }

.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue-600); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding-bottom: 18px; }

.author-box { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--radius-lg); background: var(--blue-50); margin-top: 40px; }
.author-box__avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--navy-800); color: #fff; display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }
.author-box p { margin: 0; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: #b8cde6; font-size: .95rem; margin-top: 14px; }

.todo-note { /* only rendered in preview builds */
  border: 2px dashed #e0920f; background: #fff8ea; color: #7a4d00; border-radius: var(--radius); padding: 14px 18px; font-size: .9rem; margin-bottom: 28px;
}
.todo-note strong { display: block; margin-bottom: 4px; }
.todo-note ul { margin: 0; padding-left: 1.1em; }

/* award strip (home) */
.award-strip { background: #fff; border-bottom: 1px solid var(--line); }
.award-strip__inner { display: grid; gap: 20px 40px; align-items: center; padding-block: clamp(32px, 4vw, 48px); grid-template-columns: 1fr; justify-items: center; text-align: center; }
@media (min-width: 860px) { .award-strip__inner { grid-template-columns: auto 1fr auto; justify-items: start; text-align: left; } }
.award-strip__badge { width: clamp(120px, 14vw, 150px); height: auto; mix-blend-mode: multiply; }
.award-strip__text h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin-bottom: 8px; }
.award-strip__text p { margin: 0; max-width: 620px; }
.award-strip__stat { display: grid; justify-items: center; gap: 4px; padding: 20px 28px; border-radius: var(--radius-lg); background: var(--blue-50); text-align: center; }
.award-strip__stat .rating__stars { color: var(--gold-500); }
.award-strip__stat .rating__stars svg { width: 18px; height: 18px; }
.award-strip__stat strong { font-size: 2.2rem; line-height: 1; color: var(--navy-800); letter-spacing: -.02em; }
.award-strip__stat span { font-size: .9rem; color: var(--muted); font-weight: 600; }

/* team */
.team-grid { display: grid; gap: clamp(20px, 2.6vw, 28px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; scroll-margin-top: calc(var(--header-h) + 20px); }
.team-card__photo { aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); display: grid; place-items: center; overflow: hidden; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.team-card__initials { font-size: 3.2rem; font-weight: 700; color: rgba(255,255,255,.85); letter-spacing: .04em; }
.team-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.team-card__name { font-size: 1.3rem; margin-bottom: 2px; }
.team-card__role { color: var(--blue-600); font-weight: 700; font-size: .95rem; margin-bottom: 12px; }
.team-card__bio { font-size: .98rem; margin-bottom: 14px; }
.team-card__creds { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.team-card__creds li { font-size: .8rem; font-weight: 600; color: var(--navy-800); background: var(--blue-50); border-radius: 999px; padding: 4px 10px; }
.team-card__links { display: flex; gap: 8px; margin-top: 16px; }
.team-card__links a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--navy-800); text-decoration: none; font-weight: 700; }
.team-card__links a:hover { border-color: var(--blue-600); color: var(--blue-600); }
.team-card__links svg { width: 18px; height: 18px; }
.team-card--placeholder { border: 2px dashed #e0920f; }
.checks li span { color: var(--text); }

/* ---------- 8. Prose (migrated content) ---------- */
.prose { font-size: 1.0625rem; color: var(--text); max-width: 760px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.45rem, 2.4vw, 1.85rem); }
.prose h3 { margin-top: 1.5em; }
.prose h4, .prose h5 { margin-top: 1.4em; font-size: 1.1rem; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--blue-600); }
.prose img { border-radius: var(--radius); margin: 1.6em 0; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--gold-500); color: var(--ink); font-size: 1.1rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .98rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--bg-soft); color: var(--ink); }
.prose strong { color: var(--ink); }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); margin: 1.6em 0; }
.prose .component { margin: 2.2em 0; max-width: none; }
.img-missing { display: grid; place-items: center; aspect-ratio: 16 / 7; background: repeating-linear-gradient(135deg, var(--blue-50), var(--blue-50) 12px, #e9f0f8 12px, #e9f0f8 24px); border-radius: var(--radius); color: var(--muted); font-size: .85rem; margin: 1.6em 0; text-align: center; padding: 12px; }

/* ---------- 9. Forms ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; color: var(--ink); font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid #cdd6e1; border-radius: 8px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(43,108,176,.15); }
.field--check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.field--check input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; }
.hp { position: absolute; left: -9999px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); }

/* ---------- 10. Footer ---------- */
.site-footer { background: var(--navy-950); color: #a9bbd0; font-size: .96rem; margin-top: 0; }
.site-footer a { color: #dbe6f3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; gap: 36px; padding-block: 64px 44px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
@media (min-width: 980px) { .footer-top { grid-template-columns: 1.5fr repeat(3, 1fr); } }
.footer-brand img { height: 42px; width: auto; margin-bottom: 18px; }
.footer-brand address { font-style: normal; margin: 14px 0; line-height: 1.6; }
.footer-col h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 22px 30px; display: grid; gap: 12px; font-size: .86rem; }
@media (min-width: 860px) { .footer-bottom { grid-template-columns: 1fr auto; align-items: start; } }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 0; padding: 0; }

/* ---------- 11. Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.stack > * + * { margin-top: 16px; }
.muted { color: var(--muted); }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "\2192"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }
.calc-frame { width: 100%; border: 0; min-height: 1700px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
