/* Paul Whiteley: site styles
   Layout/top bar: Direction A. Palette/footer strip: Direction B.
   Every text/background pair used here meets WCAG AA (see LAUNCH-CHECKLIST.md). */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-italic-latin.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin.woff2") format("woff2");
  font-weight: 400 600; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #1E2B27;            /* fieldstone: text, top bar, dark sections */
  --ground: #ECE9E1;         /* stone: page background */
  --surface: #F6F4EF;        /* cards, forms */
  --accent: #2E6E68;         /* river teal: CTAs, one phrase per headline */
  --accent-hover: #245853;   /* white on this: 7.9:1 */
  --accent-on-dark: #7FB8B0; /* on ink: 6.6:1 */
  --muted: #4A5752;          /* on stone: 6.1:1 */
  --on-dark: #DCE3DF;        /* on ink: 11.1:1 */
  --on-dark-muted: #B4C0BB;  /* on ink: 7.6:1 */
  --rule: rgba(30, 43, 39, 0.16);
  --rule-dark: rgba(220, 227, 223, 0.18);
  --error: #9B2C1F;          /* on surface: 6.9:1 */

  --serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* fluid type scale */
  --step--1: clamp(0.875rem, 0.85rem + 0.12vw, 0.9375rem);
  --step-0: clamp(1.0625rem, 1.03rem + 0.16vw, 1.125rem);
  --step-1: clamp(1.1875rem, 1.1rem + 0.4vw, 1.4375rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2.125rem);
  --step-3: clamp(1.875rem, 1.5rem + 1.7vw, 2.875rem);
  --step-4: clamp(2.25rem, 1.55rem + 3vw, 4rem);

  /* 8px spacing scale */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px;
  --s6: 48px; --s8: 64px; --s10: 80px; --s12: 96px; --s16: 128px;
  --section: clamp(64px, 5vw + 40px, 128px);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --measure: 68ch;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p, ul, ol, dl, blockquote, figure { margin: 0; }
p + p { margin-top: 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); line-height: 1.2; }
h4 { font-size: var(--step-1); line-height: 1.3; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--accent); }
/* One teal phrase per view (REVIEW R1): inside section headings the italic stays, in ink */
main h2 em, main h3 em { color: inherit; }
strong { font-weight: 600; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: var(--radius); }
.on-dark :focus-visible, .topbar :focus-visible, .site-footer :focus-visible, .band :focus-visible { outline-color: var(--accent-on-dark); }

.skip-link {
  position: absolute; left: var(--s2); top: -100px; z-index: 100;
  background: var(--surface); color: var(--ink); padding: var(--s1) var(--s2);
  font-weight: 600; text-decoration: none; border-radius: var(--radius);
}
.skip-link:focus { top: var(--s2); }

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.prose { max-width: var(--measure); }
.prose p, .prose li { max-width: var(--measure); }
.prose h2 { font-size: var(--step-2); margin-top: var(--s6); margin-bottom: var(--s2); }
.prose h3 { font-size: var(--step-1); margin-top: var(--s4); margin-bottom: var(--s1); }
.prose ul, .prose ol { padding-left: 1.2em; margin-top: 1em; }
.prose li + li { margin-top: 0.5em; }
.prose ul + p, .prose ol + p { margin-top: 1em; }
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--ink); }
.muted { color: var(--muted); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; background: var(--ground); padding: 1px 5px; border-radius: var(--radius); }

.eyebrow {
  display: block; font-family: var(--sans); font-size: var(--step--1); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s2);
}
.on-dark .eyebrow { color: var(--on-dark-muted); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s1);
  min-height: 48px; padding: 12px 24px;
  font: 600 1rem/1.2 var(--sans); letter-spacing: 0.01em;
  color: #fff; background: var(--accent); border: 2px solid var(--accent);
  border-radius: var(--radius); text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.on-dark .btn--ghost { color: var(--on-dark); border-color: var(--on-dark); }
.on-dark .btn--ghost:hover { background: var(--on-dark); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }

.link-quiet {
  font-weight: 500; color: var(--ink); text-decoration: underline;
  text-decoration-color: var(--accent); text-underline-offset: 0.25em;
}
.link-quiet:hover { color: var(--accent); }
.on-dark .link-quiet { color: var(--on-dark); text-decoration-color: var(--accent-on-dark); }
.link-quiet .arrow { display: inline-block; transition: transform .2s var(--ease); }
.link-quiet:hover .arrow { transform: translateX(3px); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4); margin-top: var(--s4); }

/* ---------- Top bar (Direction A) ---------- */
.topbar { background: var(--ink); color: var(--on-dark); position: relative; z-index: 20; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 72px; }
.wordmark {
  font-family: var(--serif); font-size: 1.5rem; line-height: 1; color: #fff;
  text-decoration: none; letter-spacing: -0.01em; white-space: nowrap;
}
.wordmark:hover { color: var(--accent-on-dark); }
.nav { display: flex; align-items: center; gap: var(--s4); }
.nav__list { display: flex; gap: var(--s3); list-style: none; margin: 0; padding: 0; }
.nav__list a {
  display: inline-block; padding: 6px 0; color: var(--on-dark); text-decoration: none;
  font-size: 0.975rem; font-weight: 500; border-bottom: 2px solid transparent;
}
.nav__list a:hover { color: #fff; border-bottom-color: var(--rule-dark); }
.nav__list a[aria-current] { color: #fff; border-bottom-color: var(--accent-on-dark); }
.nav .btn { min-height: 44px; padding: 10px 20px; }
.nav .btn:hover { background: var(--accent-hover); }

.menu-toggle {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px;
  background: transparent; color: #fff; border: 1px solid var(--rule-dark); border-radius: var(--radius);
  font: 600 0.95rem/1 var(--sans); cursor: pointer;
}
.menu-toggle__bars { position: relative; width: 18px; height: 12px; }
.menu-toggle__bars::before, .menu-toggle__bars::after, .menu-toggle__bars span {
  content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.menu-toggle__bars::before { top: 0; }
.menu-toggle__bars span { top: 5px; }
.menu-toggle__bars::after { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

/* Mobile: keep the booking action visible in the bar (REVIEW U1) */
.topbar__book { display: none; }
@media (max-width: 899.98px) {
  .topbar__inner { gap: var(--s1); }
  .topbar__book { display: inline-flex; margin-left: auto; min-height: 44px; padding: 10px 14px; font-size: 0.9375rem; }
  .topbar__book:hover { background: var(--accent-hover); }
  .nav .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: var(--s3);
    background: var(--ink); padding: var(--s2) var(--gutter) var(--s4);
    border-top: 1px solid var(--rule-dark);
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 14px 0; font-size: 1.125rem; border-bottom: 1px solid var(--rule-dark); }
  .nav__list a[aria-current] { border-bottom-color: var(--rule-dark); box-shadow: inset 3px 0 0 var(--accent-on-dark); padding-left: 12px; }
}
@media (max-width: 439.98px) {
  .menu-toggle { padding: 8px 12px; }
  .menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 359.98px) { .wordmark { font-size: 1.3rem; } }

/* ---------- Hero (Direction A) ---------- */
.hero { padding-block: clamp(40px, 6vw, 96px) var(--section); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero h1 { max-width: 16ch; }
.hero__sub { margin-top: var(--s3); font-size: var(--step-1); line-height: 1.5; max-width: 38ch; color: var(--ink); }
.hero__media { position: relative; }
.hero__media img, .portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); background: var(--surface); }
.hero__media::after {
  content: ""; position: absolute; inset: auto -12px -12px auto; width: 45%; height: 45%;
  border-right: 1px solid var(--accent); border-bottom: 1px solid var(--accent); z-index: -1;
}
.hero--page { padding-bottom: var(--s10); }
.hero--page h1 { max-width: 20ch; }
.hero--text h1 { max-width: 22ch; }
.hero--text .hero__sub { max-width: 52ch; }
@media (max-width: 859.98px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 460px; }
  /* Art direction for phones (REVIEW I1): head-and-shoulders square instead of a full-screen 4:5 */
  .hero__media img { aspect-ratio: 1 / 1; object-position: 50% 12%; }
  .hero__media::after { inset: auto -8px -8px auto; }
}

/* ---------- Home hero: photograph-led split (approved proposal B, 28 Sept 2026) ----------
   Ink hero continues from the top bar; portrait bleeds to the right edge at full height on
   desktop. On phones the text comes first (brief), then a full-width head-and-shoulders crop. */
.hero-split { background: var(--ink); color: var(--on-dark); overflow: hidden; }
.hero-split__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(760px, calc(100dvh - 72px)); }
.hero-split__text {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(48px, 7vw, 112px) clamp(24px, 5vw, 80px) clamp(48px, 7vw, 112px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.hero-split h1 { color: #fff; font-size: clamp(2.375rem, 1.3rem + 3vw, 4.25rem); line-height: 1.04; max-width: 13ch; }
.hero-split h1 em { color: var(--accent-on-dark); }
.hero-split .hero__sub { color: var(--on-dark); margin-top: var(--s3); max-width: 36ch; }
.hero-split .btn:hover { background: var(--accent-hover); }
.hero-split__media { position: relative; margin: 0; min-height: 320px; }
.hero-split__media picture, .hero-split__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-split__media img { object-fit: cover; object-position: 45% 22%; }
@media (prefers-reduced-motion: no-preference) {
  /* one quiet motion moment: the photo settles; it is fully visible throughout */
  .hero-split__media img { animation: settle 1.6s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes settle { from { transform: scale(1.04); } to { transform: scale(1); } }
}
.band--after-hero { border-top: 1px solid var(--rule-dark); }
@media (max-width: 859.98px) {
  .hero-split__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-split__text { padding: var(--s6) var(--gutter) var(--s6); }
  .hero-split__media { min-height: 0; aspect-ratio: 4 / 3; }
  .hero-split__media img { object-position: 50% 16%; }
}

/* ---------- Method strip (Direction B band) ---------- */
.band { background: var(--ink); color: var(--on-dark); padding-block: var(--s4); }
.band__list {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-start;
  gap: var(--s1) 0; font-size: var(--step-0); font-weight: 500; letter-spacing: 0.01em;
}
.band__list li { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px); padding-right: clamp(16px, 2.4vw, 40px); }
.band__list li + li::before { content: "·"; color: var(--accent-on-dark); font-weight: 600; }
@media (max-width: 719.98px) {
  .band__list { flex-direction: column; justify-content: flex-start; }
  .band__list li { gap: var(--s2); }
  .band__list li::before, .band__list li + li::before {
    content: ""; display: inline-block; flex: none; width: 12px; height: 1px; background: var(--accent-on-dark);
  }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section + .section:not(.section--dark):not(.statement) { border-top: 1px solid var(--rule); }
.section--surface { background: var(--surface); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark h2 em { color: var(--accent-on-dark); }
.section--dark a:not(.btn) { color: var(--accent-on-dark); }
.section__head { max-width: 40ch; margin-bottom: var(--s6); }
.section__head p { margin-top: var(--s2); color: var(--muted); }
.section--dark .section__head p { color: var(--on-dark-muted); }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
.split--media { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; }
.split__aside h2 { position: sticky; top: var(--s4); }
@media (max-width: 859.98px) {
  .split, .split--even, .split--media { grid-template-columns: 1fr; }
  .split__aside h2 { position: static; }
}

.figure img { width: 100%; border-radius: var(--radius); }
.figure--wide img { aspect-ratio: 3 / 2; object-fit: cover; }
.split--portrait { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.portrait-sm { max-width: 420px; }
.portrait-sm img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
@media (max-width: 859.98px) { .split--portrait { grid-template-columns: 1fr; } }
.figure figcaption { margin-top: var(--s1); font-size: var(--step--1); color: var(--muted); }

/* Full-width statement over a background photo (ink overlay keeps text at AA) */
.statement { position: relative; color: #fff; background: var(--ink); isolation: isolate; overflow: hidden; }
.statement__bg { position: absolute; inset: 0; z-index: -2; }
.statement__bg picture, .statement__bg img { width: 100%; height: 100%; object-fit: cover; }
.statement::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(30, 43, 39, 0.78); }
.statement__inner { padding-block: clamp(96px, 12vw, 176px); }
.statement blockquote, .statement p.statement__text {
  font-family: var(--serif); font-size: var(--step-3); line-height: 1.2; max-width: 22ch; text-wrap: balance;
}
.statement em { color: #9CCAC3; } /* worst case over a white pixel under the 78% overlay: 3.96:1, large text */
.statement__cite { display: block; margin-top: var(--s3); font: 500 var(--step--1)/1.4 var(--sans); color: var(--on-dark); letter-spacing: 0.02em; }

/* ---------- Steps (sequence is real, so numbered) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); counter-reset: step; }
.steps li { counter-increment: step; padding-top: var(--s3); border-top: 1px solid var(--ink); }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block; font-family: var(--serif);
  font-style: italic; font-size: var(--step-2); color: var(--accent); line-height: 1; margin-bottom: var(--s2);
}
.steps h3 { font-size: var(--step-1); margin-bottom: var(--s1); }
.steps p { color: var(--muted); }
.steps--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 959.98px) { .steps--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 759.98px) { .steps, .steps--four { grid-template-columns: 1fr; } }

/* Situations list (not an icon grid: ruled rows) */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.rows li { padding: var(--s3) 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s1); }
.rows strong { font-family: var(--serif); font-weight: 400; font-size: var(--step-1); line-height: 1.3; }
.rows span { color: var(--muted); }
.section--dark .rows { border-color: var(--rule-dark); }
.section--dark .rows li { border-color: var(--rule-dark); }
.section--dark .rows span { color: var(--on-dark-muted); }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding-left: 28px; }
.checklist li + li { margin-top: var(--s2); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 14px; height: 1px; background: var(--accent); }
.section--dark .checklist li::before { background: var(--accent-on-dark); }

/* Framework entries */
.frameworks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s8); }
.framework h3 { font-size: var(--step-2); margin-bottom: var(--s2); }
.framework p { color: var(--ink); }
.framework .example { margin-top: var(--s2); padding-left: var(--s2); border-left: 2px solid var(--accent); color: var(--muted); }
.framework .example strong { color: var(--ink); font-weight: 600; }
@media (max-width: 859.98px) { .frameworks { grid-template-columns: 1fr; } }

/* Price rows */
.prices { border-top: 1px solid var(--ink); }
.prices div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); padding: var(--s2) 0; border-bottom: 1px solid var(--rule); }
.prices dt { font-weight: 500; }
.prices dd { margin: 0; font-family: var(--serif); font-size: var(--step-1); white-space: nowrap; }
.small { font-size: var(--step--1); color: var(--muted); }

/* ---------- Founding clients / proof block ----------
   Built so real testimonials can replace or sit beside it:
   <div class="proof__grid"> accepts <figure class="testimonial"> cards
   and a <div class="testimonial testimonial--video"> for a video later. */
.founding {
  background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--accent);
  border-radius: var(--radius); padding: clamp(24px, 4vw, 56px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px);
}
.founding h2 { font-size: var(--step-3); }
.founding h3 { font-family: var(--sans); font-size: var(--step--1); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: var(--s4) 0 var(--s1); }
.founding h3:first-child { margin-top: 0; }
.founding__price { margin-top: var(--s3); font-family: var(--serif); font-size: var(--step-2); line-height: 1.2; }
.founding__price s { color: var(--muted); font-size: 0.7em; }
.founding__places { margin-top: var(--s2); font-weight: 600; }
@media (max-width: 859.98px) { .founding { grid-template-columns: 1fr; } }

.proof__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--s4); margin-top: var(--s4); }
.testimonial { background: var(--surface); border: 1px solid var(--rule); padding: var(--s4); border-radius: var(--radius); }
.testimonial blockquote { font-family: var(--serif); font-size: var(--step-1); line-height: 1.4; }
.testimonial figcaption { margin-top: var(--s2); font-size: var(--step--1); color: var(--muted); }
.testimonial--video video, .testimonial--video iframe { width: 100%; aspect-ratio: 9 / 16; max-height: 560px; border: 0; background: var(--ink); }

/* ---------- Closing CTA ---------- */
.cta-end { padding-block: var(--section); background: var(--ink); color: var(--on-dark); }
.cta-end h2 { color: #fff; max-width: 18ch; }
.cta-end h2 em { color: var(--accent-on-dark); }
.cta-end p { margin-top: var(--s3); max-width: 52ch; font-size: var(--step-1); line-height: 1.5; }
.cta-end .btn:hover { background: var(--accent-hover); }

/* ---------- Insights ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
@media (max-width: 959.98px) { .cards { grid-template-columns: 1fr; max-width: 640px; } }
.card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--rule);
  border-radius: var(--radius); text-decoration: none; color: var(--ink); overflow: hidden;
  transition: border-color .2s var(--ease), transform .25s var(--ease);
}
.card:hover { border-color: var(--ink); transform: translateY(-2px); text-decoration: none; }
.card:focus-visible { outline-offset: 4px; }
.card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
/* insight-3 is a 3:2 photo of Paul speaking: frame from the top so his head is never cut */
img[src*="insight-3"] { object-position: 50% 12%; }
.card__body { padding: var(--s3); display: flex; flex-direction: column; gap: var(--s1); flex: 1; }
.card h2, .card h3 { font-size: var(--step-2); }
.card p { color: var(--muted); }
.card .link-quiet { margin-top: auto; padding-top: var(--s2); }
.draft-flag {
  display: inline-block; align-self: flex-start; padding: 2px 8px; font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.04em; color: var(--ink); background: #F3E3A6; border: 1px solid #C9A93A; border-radius: var(--radius);
}

.article-head { padding-block: clamp(40px, 6vw, 96px) var(--s6); }
.article-head h1 { max-width: 22ch; font-size: var(--step-4); }
.byline { margin-top: var(--s3); display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); align-items: center; color: var(--muted); font-size: var(--step--1); }
.article-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.article-body { padding-block: var(--s8) var(--section); }
.article-body .prose { margin-inline: auto; font-size: clamp(1.0625rem, 1.02rem + 0.25vw, 1.1875rem); line-height: 1.7; }
.article-body .prose > p:first-child { font-size: var(--step-1); line-height: 1.55; }
.pullquote { margin: var(--s6) 0; padding-left: var(--s3); border-left: 2px solid var(--accent); font-family: var(--serif); font-size: var(--step-2); line-height: 1.25; }
.signup {
  margin-top: var(--s8); padding: var(--s4); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
}
.signup h2 { font-size: var(--step-2); margin: 0 0 var(--s1); }
.signup .actions { margin-top: var(--s3); }
.article-next { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--rule); }

/* ---------- Contact ---------- */
.booking {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px);
}
@media (max-width: 859.98px) { .split--book .booking { order: -1; } }
.booking__embed { margin-top: var(--s3); min-height: 0; }
.booking__embed.is-loading { min-height: 480px; display: grid; place-items: center; color: var(--muted); }
.booking__embed iframe { width: 100%; }

.form { display: grid; gap: var(--s3); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; }
.field .hint { font-size: var(--step--1); color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid #7C8883; border-radius: var(--radius); padding: 12px 14px; min-height: 48px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 180px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(46, 110, 104, .35); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { color: var(--error); font-size: var(--step--1); font-weight: 600; }
.field__error:empty { display: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.notice { display: none; padding: var(--s3); border-radius: var(--radius); border: 1px solid var(--rule); background: var(--surface); margin-bottom: var(--s3); }
.notice:target, .notice.is-visible { display: block; }
.notice--ok { border-left: 3px solid var(--accent); }
.notice--error { border-left: 3px solid var(--error); }
.notice h2 { font-size: var(--step-1); margin-bottom: var(--s1); }

.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: var(--s3) 40px var(--s3) 0; position: relative;
  font-family: var(--serif); font-size: var(--step-1); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--accent); }
.faq .faq__a { padding-bottom: var(--s3); max-width: var(--measure); }

/* Placeholder tag for [CONFIRM] / [X] values */
.placeholder { background: #F3E3A6; color: var(--ink); padding: 0 4px; border-radius: var(--radius); font-weight: 600; }

/* ---------- Legal ---------- */
.legal .prose h2 { font-size: var(--step-2); }
.legal-note { margin-bottom: var(--s4); padding: var(--s2) var(--s3); border-left: 3px solid #C9A93A; background: var(--surface); font-size: var(--step--1); }

/* ---------- Footer (Direction B strip) ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); border-top: 1px solid var(--rule-dark); }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--accent-on-dark); }
.footer__main { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: var(--s5); padding-block: var(--s10) var(--s8); }
.footer__main h2 { font-family: var(--sans); font-size: var(--step--1); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: var(--s2); }
.footer__main ul { list-style: none; margin: 0; padding: 0; }
.footer__main li + li { margin-top: 10px; }
.footer__brand .wordmark { font-size: 1.75rem; }
.footer__brand p { margin-top: var(--s2); color: var(--on-dark-muted); max-width: 32ch; }
.footer__signup p { color: var(--on-dark-muted); margin-bottom: var(--s2); }
.footer__signup .link-quiet { color: #fff; }
.footer__signup .link-quiet, .footer__strip button, .footer__strip a, .article-head .eyebrow .link-quiet { display: inline-block; min-height: 24px; padding-block: 3px; }
.footer__strip { border-top: 1px solid var(--rule-dark); padding-block: var(--s3); font-size: var(--step--1); color: var(--on-dark-muted); }
.footer__strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2) var(--s4); }
.footer__strip ul { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); list-style: none; margin: 0; padding: 0; }
.footer__strip button { background: none; border: 0; padding: 0; font: inherit; color: var(--on-dark); cursor: pointer; }
.footer__strip button:hover { color: #fff; text-decoration: underline; }
@media (max-width: 959.98px) { .footer__main { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 519.98px) { .footer__main { grid-template-columns: 1fr; } }

/* ---------- Cookie banner ---------- */
.consent {
  position: fixed; left: var(--s2); right: var(--s2); bottom: var(--s2); z-index: 50;
  max-width: 560px; margin-left: auto; background: var(--surface); color: var(--ink);
  border: 1px solid var(--ink); border-radius: var(--radius); padding: var(--s3);
  box-shadow: 0 8px 24px rgba(30, 43, 39, .18);
}
.consent[hidden] { display: none; }
html.consent-open { scroll-padding-bottom: 240px; }
@media (max-width: 599.98px) { html.consent-open { scroll-padding-bottom: 340px; } }
.consent h2 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.consent p { font-size: var(--step--1); color: var(--ink); }
.consent .actions { margin-top: var(--s2); gap: var(--s1) var(--s2); }
.consent .btn { min-height: 44px; padding: 8px 18px; font-size: 0.95rem; }

/* ---------- 404 ---------- */
.notfound { padding-block: clamp(64px, 10vw, 160px); }

/* ---------- Motion (progressive enhancement) ---------- */
.reveal.is-pending { opacity: 0; transform: translateY(16px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal.is-pending { opacity: 1; transform: none; }
  .card:hover { transform: none; }
}

/* Spacing utilities last, so they win over component resets (finish-gate fix) */
.mt-1 { margin-top: var(--s1) !important; } .mt-2 { margin-top: var(--s2) !important; } .mt-3 { margin-top: var(--s3) !important; } .mt-4 { margin-top: var(--s4) !important; }

@media print {
  .topbar, .site-footer, .consent, .cta-end, .band { display: none; }
  body { background: #fff; }
}
