/* Joel Arbuckle, Fractional CMO — site styles
   Brand: Libre Baskerville (headings) + Arial (body)
   Navy #242b40 · Gold #d4a73c · Bronze #897355 · Blue grey #97a1ac · Grey #e8e4d9
   Clay red #9c4a3a · Success green #4c7a6d */

@font-face {
  font-family: "Libre Baskerville";
  src: url("/assets/fonts/libre-baskerville-var.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Libre Baskerville";
  src: url("/assets/fonts/libre-baskerville-italic-var.woff2") format("woff2");
  font-weight: 400 700; font-style: italic; font-display: swap;
}

:root {
  --navy: #242b40;
  --navy-deep: #1b2132;
  --gold: #d4a73c;
  --gold-soft: #f3e7c6;
  --bronze: #897355;
  --bronze-text: #7a6549;   /* bronze darkened for small text on white (AA) */
  --bluegrey: #97a1ac;
  --grey: #e8e4d9;
  --paper: #f6f4ee;         /* light tint of brand grey for section grounds */
  --clay: #9c4a3a;
  --green: #4c7a6d;
  --ink: #000;
  --text: #1d2231;          /* body text: near-black with a navy cast */
  --muted: #4a5163;
  --white: #fff;
  --serif: "Libre Baskerville", Baskerville, "Baskerville Old Face", Georgia, serif;
  --sans: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;
  --shadow: 0 1px 2px rgba(36,43,64,.06), 0 8px 24px rgba(36,43,64,.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--ink); text-decoration-color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); font-weight: 400; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.005em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 5.2vw, 3.9rem); line-height: 1.1; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
li { margin-bottom: .4em; }
strong { color: var(--ink); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--paper { background: var(--paper); }
.section--grey { background: var(--grey); }
.section--navy { background: var(--navy); color: #e9ebf0; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--navy a:not(.btn) { color: #fff; text-decoration-color: var(--gold); }
.section--navy strong { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 700 .78rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--bronze-text); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--gold); flex: none; }
.section--navy .eyebrow { color: var(--gold); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--muted); max-width: 46rem; }
.section--navy .lede { color: #c9cdd6; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.rule { height: 1px; background: var(--grey); border: 0; margin: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: var(--radius);
  font: 700 .95rem/1.2 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  border: 2px solid var(--navy); background: var(--navy); color: #fff;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn--gold:hover { background: #e2b851; border-color: #e2b851; color: var(--navy-deep); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.section--navy .btn--ghost, .cta-band .btn--ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.section--navy .btn--ghost:hover, .cta-band .btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.textlink { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.textlink:hover { border-color: var(--navy); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--grey); backdrop-filter: saturate(1.2) blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); flex: none; }
.brand:hover { color: var(--navy); }
.brand__mark { width: 46px; height: 46px; }
.brand__text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; border-left: 1.5px solid var(--gold); padding-left: 14px; }
.brand__name { height: 27px; width: auto; display: block; margin-left: -4px; }
.brand__tag { font: 400 .6rem/1.3 var(--serif); letter-spacing: .38em; color: var(--bronze-text); text-transform: uppercase; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav__list li { margin: 0; }
.nav__list a { display: block; padding: 10px 12px; text-decoration: none; color: var(--text); font-size: .95rem; border-bottom: 2px solid transparent; }
.nav__list a:hover, .nav__list a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--gold); }
.nav .btn { margin-left: 12px; min-height: 44px; padding: 10px 18px; }
.nav-toggle { display: none; background: none; border: 0; width: 48px; height: 48px; padding: 12px; cursor: pointer; color: var(--navy); }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--grey); box-shadow: var(--shadow);
         flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 20px; display: none; }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; }
  .nav__list a { padding: 14px 4px; border-bottom: 1px solid var(--grey); font-size: 1.05rem; }
  .nav .btn { margin: 16px 0 0; }
}
@media (max-width: 420px) { .brand__tag { letter-spacing: .28em; font-size: .55rem; } .brand__name { height: 23px; } .brand__mark { width: 40px; height: 40px; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--grey); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--navy); background: linear-gradient(transparent 70%, var(--gold-soft) 70%); padding: 0 .06em; }
.hero__intro { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 38rem; margin-bottom: 32px; }
.hero__meta { margin-top: 28px; font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 20px; }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 16px; height: 16px; color: var(--bronze); flex: none; }
.portrait { position: relative; justify-self: end; width: 100%; max-width: 440px; }
.portrait::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); }
.portrait__frame { position: relative; background: var(--navy); overflow: hidden; aspect-ratio: 1148 / 1371; }
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait__badge { position: absolute; left: -24px; bottom: 32px; background: #fff; padding: 14px 18px; box-shadow: var(--shadow); max-width: 270px; border-top: 3px solid var(--gold); }
.portrait__badge strong { display: block; font-family: var(--serif); font-weight: 400; color: var(--navy); font-size: 1.05rem; line-height: 1.3; }
.portrait__badge span { display: block; margin-top: 6px; font: 700 .7rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-text); }

.page-hero { background: var(--paper); border-bottom: 1px solid var(--grey); padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lede { margin-top: 8px; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--muted); }
.crumbs span[aria-hidden] { margin: 0 8px; color: var(--bluegrey); }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .portrait { justify-self: start; max-width: 360px; margin: 8px 18px 18px 0; }
  .portrait__badge { left: auto; right: -8px; bottom: 16px; }
}

/* Proof strip */
.proof { background: var(--navy); color: #dfe2e9; }
.proof__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof__item { padding: 28px 24px; border-left: 1px solid rgba(255,255,255,.12); }
.proof__item:first-child { border-left: 0; padding-left: 0; }
.proof__num { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--gold); line-height: 1.1; display: block; margin-bottom: 6px; }
.proof__label { font-size: .9rem; line-height: 1.45; }
@media (max-width: 860px) {
  .proof__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof__item { padding: 22px 16px; border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .proof__item:nth-child(-n+2) { border-top: 0; }
  .proof__item:nth-child(odd) { padding-left: 0; }
}

/* Grids and cards */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--grey); padding: clamp(24px, 3vw, 36px); position: relative; }
.card h3 { margin-bottom: 12px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card--top { border-top: 3px solid var(--gold); }
.section--navy .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); color: #dfe2e9; }
.icon { width: 44px; height: 44px; color: var(--bronze); margin-bottom: 18px; }
.section--navy .icon { color: var(--gold); }
.num { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--gold); display: block; margin-bottom: 14px; }
.card .kicker { font: 700 .75rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-text); margin-bottom: 10px; display: block; }
.section--navy .card .kicker { color: var(--gold); }

/* Problem list */
.pain { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--grey); }
.pain__item { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--grey); display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.pain__item:nth-child(even) { padding-left: 28px; padding-right: 0; border-left: 1px solid var(--grey); }
.pain__item svg { width: 28px; height: 28px; color: var(--clay); margin-top: 4px; }
.pain__item h3 { font-size: 1.2rem; margin-bottom: 8px; }
.pain__item p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .pain { grid-template-columns: 1fr; } .pain__item, .pain__item:nth-child(even) { padding: 24px 0; border-left: 0; } }

/* Principles */
.principles { counter-reset: p; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.18); }
.principle { padding: 28px 22px 8px 0; }
.principle + .principle { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.12); }
.principle h3 { font-size: 1.15rem; margin-bottom: 10px; }
.principle p { font-size: .95rem; color: #c9cdd6; margin: 0; }
.principle .num { font-size: 1.1rem; font-family: var(--sans); font-weight: 700; letter-spacing: .1em; color: var(--gold); margin-bottom: 14px; }
@media (max-width: 1000px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .principle, .principle + .principle { padding: 24px 20px 16px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.12); } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }

/* Engagement models */
.offer { display: flex; flex-direction: column; }
.offer .tag { position: absolute; top: -13px; left: 24px; background: var(--gold); color: var(--navy); font: 700 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 7px 10px; }
.offer__meta { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--grey); border-bottom: 1px solid var(--grey); padding: 12px 0; margin: 16px 0 18px; display: grid; gap: 4px; }
.offer__meta b { color: var(--navy); }
.offer ul { list-style: none; padding: 0; margin: 0 0 24px; }
.offer li { padding-left: 28px; position: relative; }
.offer li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.offer .btn { margin-top: auto; align-self: flex-start; }
.offer--featured { border-color: var(--navy); box-shadow: var(--shadow); }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; position: relative; }
.phase { padding: 0 28px 0 0; position: relative; }
.phase + .phase { padding-left: 28px; border-left: 1px solid var(--grey); }
.phase__month { font: 700 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-text); }
.phase h3 { margin: 10px 0 14px; }
.phase ul { padding-left: 1.1em; color: var(--muted); font-size: .98rem; }
.phase__out { background: #fff; border-top: 2px solid var(--gold); padding: 14px 16px; font-size: .92rem; }
.phase__out b { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-text); margin-bottom: 4px; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr; gap: 32px; } .phase, .phase + .phase { padding: 0; border-left: 0; } }

/* Scorecard table */
.scorecard { width: 100%; border-collapse: collapse; font-size: .97rem; }
.scorecard th, .scorecard td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid var(--grey); }
.scorecard th { font-family: var(--serif); font-weight: 400; color: var(--navy); width: 30%; }
.scorecard thead th { font: 700 .75rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-text); background: var(--paper); }
.scorecard .tier { font: 700 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--bronze-text); display: block; margin-bottom: 6px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--grey); background: #fff; }

/* Awards */
.award { display: grid; grid-template-columns: 92px 1fr; gap: 24px; align-items: start; }
.medal { width: 92px; height: 92px; border-radius: 50%; border: 2px solid var(--gold); display: grid; place-items: center; text-align: center; color: var(--navy); background: #fff; position: relative; }
.medal::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1px solid var(--gold); }
.medal b { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; display: block; line-height: 1; }
.medal small { font: 700 .58rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-text); }
.section--navy .medal { background: transparent; color: #fff; }
.section--navy .medal small { color: var(--gold); }
@media (max-width: 480px) { .award { grid-template-columns: 1fr; } }

/* Split + about */
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
@media (max-width: 860px) { .split, .split--even { grid-template-columns: 1fr; } }
.photo { position: relative; max-width: 420px; }
.photo img { width: 100%; background: var(--navy); }
.photo::after { content: ""; position: absolute; left: -14px; top: -14px; width: 96px; height: 96px; border-left: 2px solid var(--gold); border-top: 2px solid var(--gold); }

.checks { list-style: none; padding: 0; }
.checks li { padding-left: 30px; position: relative; margin-bottom: .7em; }
.checks li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.section--navy .checks li::before { border-color: var(--gold); }

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pill-list li { margin: 0; border: 1px solid var(--grey); background: #fff; padding: 8px 14px; font-size: .9rem; }

/* Insights */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--grey); text-decoration: none; color: var(--text); height: 100%; transition: border-color .15s ease, box-shadow .15s ease; }
.post-card:hover { border-color: var(--navy); box-shadow: var(--shadow); color: var(--text); }
.post-card__band { height: 6px; background: var(--navy); }
.post-card__band--gold { background: var(--gold); }
.post-card__band--bronze { background: var(--bronze); }
.post-card__body { padding: 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card h3 { font-size: 1.25rem; margin: 0; }
.post-card p { margin: 0; color: var(--muted); font-size: .97rem; }
.post-card .more { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--navy); font-size: .92rem; }
.meta { font: 700 .72rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--bronze-text); }

/* Article */
.article { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 112px); }
.article .wrap { max-width: 760px; }
.prose { font-size: 1.1rem; line-height: 1.75; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--gold); font-family: var(--serif); font-size: 1.2rem; color: var(--navy); }
.prose .callout { background: var(--paper); border-top: 3px solid var(--gold); padding: 22px 24px; margin: 1.8em 0; font-size: 1rem; }
.byline { display: flex; align-items: center; gap: 14px; margin: 24px 0 0; font-size: .92rem; color: var(--muted); }
.byline img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--navy); }
.byline a { color: var(--navy); font-weight: 700; }
.author-box { margin-top: 56px; padding: 28px; background: var(--paper); display: grid; grid-template-columns: 88px 1fr; gap: 20px; align-items: start; }
.author-box img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: var(--navy); }
.author-box h2 { font-size: 1.2rem; margin: 0 0 6px; }
.author-box p { margin: 0 0 10px; font-size: .97rem; }
@media (max-width: 520px) { .author-box { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--grey); }
.faq details { border-bottom: 1px solid var(--grey); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-family: var(--serif); font-size: 1.15rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--bronze); border-bottom: 2px solid var(--bronze); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 0 22px; color: var(--muted); max-width: 52rem; }
.faq .answer p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band { background: var(--navy); color: #dfe2e9; padding: clamp(56px, 8vw, 96px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border: 1px solid rgba(212,167,60,.35); transform: rotate(45deg); }
.cta-band .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { margin: 0; color: #c9cdd6; font-size: 1.1rem; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* Forms */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .92rem; color: var(--navy); margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: #fff;
  border: 1px solid #b9b4a7; border-radius: var(--radius); padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--gold); outline-offset: 0; border-color: var(--navy); }
.field .hint { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.hp { position: absolute; left: -5000px; }
.form-status { padding: 14px 16px; font-size: .97rem; display: none; }
.form-status.is-ok { display: block; background: #e6efec; color: #2f5148; border-top: 3px solid var(--green); }
.form-status.is-err { display: block; background: #f5e8e5; color: #7a3427; border-top: 3px solid var(--clay); }
.contact-aside { background: var(--paper); padding: clamp(24px, 3vw, 36px); border-top: 3px solid var(--gold); }
.contact-aside ol { padding-left: 1.2em; }
.contact-line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.contact-line svg { width: 20px; height: 20px; color: var(--bronze); margin-top: 3px; flex: none; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #c3c8d2; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding: 64px 0 48px; }
.footer__brand .brand { color: #fff; }
.footer__brand .brand__tag { color: var(--gold); }
.footer__brand p { margin-top: 18px; max-width: 30rem; }
.footer__h { font: 700 .74rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin-bottom: 10px; }
.footer__base { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: .85rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* Utilities */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-l { margin-top: clamp(32px, 4vw, 48px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.note { font-size: .88rem; color: var(--muted); }
.contact-aside h2 { font-size: 1.5rem; }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); }

.brand__logo { height: 52px; width: auto; display: block; }
.footer__brand .brand__logo { height: 64px; }
@media (max-width: 420px) { .brand__logo { height: 42px; } }

/* Mobile: the header stays pinned and "Book a call" stays visible beside the menu button */
.header-actions { display: none; align-items: center; gap: 4px; }
.header-cta { min-height: 44px; padding: 10px 16px; font-size: .9rem; }
@media (max-width: 1040px) {
  .header-actions { display: flex; }
  .nav .nav-cta { display: none; }
  .site-header .wrap { min-height: 68px; gap: 12px; }
}
@media (max-width: 400px) { .header-cta { padding: 10px 12px; font-size: .85rem; } .brand__logo { height: 36px; } }

/* Idle bell nudge on primary buttons (from courtneycribb.ca) */
@keyframes btn-ring {
  0%, 100% { transform: rotate(0); }
  10% { transform: rotate(-3deg); }
  20% { transform: rotate(3deg); }
  30% { transform: rotate(-2deg); }
  40% { transform: rotate(2deg); }
  50% { transform: rotate(-1deg); }
  60% { transform: rotate(0); }
}
.btn-ring { animation: btn-ring 0.9s ease-in-out 1; transform-origin: 50% 50%; }
@media (prefers-reduced-motion: reduce) { .btn-ring { animation: none; } }
.header-cta { white-space: nowrap; flex: none; }
.nav-toggle { flex: none; }
@media (max-width: 480px) { .brand__logo { height: 34px; } .site-header .wrap { gap: 8px; } .header-cta { padding: 9px 12px; font-size: .82rem; min-height: 44px; } .nav-toggle { width: 44px; padding: 10px; } }
@media (max-width: 360px) { .brand__logo { height: 30px; } }
@media (max-width: 340px) { .brand__logo { height: 25px; } .header-cta { padding: 8px 10px; } }

/* Availability badge (hero): calendar with a gold check that redraws, plus a gold halo */
.avail { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 7px 16px 7px 8px; min-height: 44px;
  background: #fff; border: 1px solid var(--grey); border-radius: 999px; box-shadow: 0 1px 2px rgba(36,43,64,.05);
  font: 700 .86rem/1.3 var(--sans); color: var(--navy); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.avail:hover { color: var(--navy); border-color: var(--gold); box-shadow: 0 4px 14px rgba(36,43,64,.10); }
.avail-icon { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; }
.avail-icon svg { width: 17px; height: 17px; position: relative; }
.avail-icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); animation: avail-halo 2.8s ease-out infinite; }
.avail-check { stroke-dasharray: 12; stroke-dashoffset: 0; animation: avail-check 2.8s ease-in-out infinite; }
.avail-arrow { width: 15px; height: 15px; flex: none; color: var(--bronze); transition: transform .15s; }
.avail:hover .avail-arrow { transform: translateX(3px); }
@keyframes avail-halo { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(1.75); opacity: 0; } }
@keyframes avail-check { 0%, 12% { stroke-dashoffset: 12; } 35%, 100% { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .avail-icon::after { animation: none; opacity: 0; } .avail-check { animation: none; } }
@media (max-width: 420px) { .avail { font-size: .8rem; padding-right: 12px; } }

/* Contact form: start-path choice, Turnstile, confirmation panel */
.choice { border: 0; padding: 0; margin: 0 0 4px; display: grid; gap: 10px; }
.choice legend { font-family: var(--serif); font-size: 1.2rem; color: var(--navy); margin-bottom: 12px; padding: 0; }
.choice__opt { display: flex; gap: 14px; align-items: flex-start; border: 1px solid #b9b4a7; background: #fff; padding: 14px 16px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.choice__opt:hover { border-color: var(--navy); }
.choice__opt:has(input:checked) { border-color: var(--navy); box-shadow: inset 3px 0 0 var(--gold); }
.choice__opt input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--navy); flex: none; }
.choice__opt b { display: block; color: var(--navy); }
.choice__opt small { display: block; color: var(--muted); font-size: .9rem; margin-top: 2px; }
.ts:empty { display: none; }
.field-error { margin: 6px 0 0; font-size: .9rem; color: var(--clay); font-weight: 700; }
[aria-invalid="true"] { border-color: var(--clay) !important; }
.form-status[hidden] { display: none !important; }
.done { background: var(--paper); border-top: 3px solid var(--gold); padding: clamp(24px, 4vw, 40px); }
.done h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.done:focus { outline: none; }
[hidden] { display: none !important; }

/* All button labels in title case */
.btn, button.btn { text-transform: capitalize; }
