/* Mission Booked, the general site (Nov 7 2026, JD picked "angle C": navy and ember, Big Shoulders Display over Barlow,
   the track record up front, plus angle B's "three things you can count on"). Built by hm_site.py. */
:root {
  --navy: oklch(23.5% 0.03 255); --navy-2: oklch(20.5% 0.028 255); --navy-3: oklch(29% 0.032 255);
  --hero-top: #1b2735; --hero-mid: #283341; --hero-low: #34404e; /* matched to the backdrop of JD's headshot */
  --paper: oklch(98.5% 0.004 250); --paper-2: oklch(95.5% 0.008 250); --paper-3: oklch(99.6% 0.002 250);
  --ink: oklch(22% 0.03 255); --ink-2: oklch(37% 0.025 255); --muted: oklch(47% 0.02 255); --rule: oklch(88% 0.01 250);
  --on-navy: oklch(94% 0.01 250); --on-navy-2: oklch(81% 0.02 250); --navy-rule: oklch(35% 0.03 255);
  --ember: oklch(58% 0.17 42); --ember-2: oklch(52% 0.17 42); --ember-light: oklch(77% 0.13 52); --ember-soft: oklch(94% 0.03 55);
  --error: oklch(52% 0.19 27); --focus: oklch(62% 0.17 45);
  --accent: #c2410c; /* ember as hex, read by apply.js for the Calendly widget's colour */
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif; --body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --wrap: 1240px; --gutter: clamp(16px, 4vw, 56px); --nav-h: 76px;
}
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.15rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 900; line-height: 0.98; letter-spacing: 0.005em; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
h2 { font-size: clamp(2.4rem, 4.4vw, 3.75rem); text-transform: uppercase; }
h3 { font-size: clamp(1.6rem, 2.2vw, 1.9rem); text-transform: uppercase; line-height: 1.02; }
p { margin: 0; text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.lead { font-size: clamp(1.2rem, 1.6vw, 1.4rem); color: var(--ink-2); max-width: 44ch; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 50; padding: 8px 16px; background: var(--ember); color: oklch(99% 0.003 250); }
.skip:focus-visible { top: 16px; }

/* nav */
.bar { position: relative; z-index: 20; }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 900; font-size: 1.75rem; letter-spacing: 0.01em; text-decoration: none; color: var(--on-navy); white-space: nowrap; }
.brand i { display: inline-flex; flex-shrink: 0; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 8px; background: var(--ember); color: oklch(99% 0.003 250); }
.bar nav { display: flex; align-items: center; gap: 24px; font-weight: 600; font-size: 1rem; }
.bar nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-navy); text-decoration: none; white-space: nowrap; }
.bar nav a:not(.btn):hover, .bar nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--ember-light); text-decoration-thickness: 2px; text-underline-offset: 7px; }
@media (max-width: 860px) { .bar nav a:not(.btn) { display: none; } }
@media (max-width: 420px) { .brand { font-size: 1.45rem; gap: 8px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 26px; border-radius: 8px; border: 2px solid var(--ink); background: transparent; color: var(--ink); font: 700 1.05rem/1 var(--body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out; }
.btn:hover { background: var(--paper-2); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn--primary { background: var(--ember); border-color: var(--ember); color: oklch(99% 0.003 250); }
.btn--primary:hover { background: var(--ember-2); border-color: var(--ember-2); }
.dark .btn:not(.btn--primary), .top .btn:not(.btn--primary) { border-color: var(--on-navy); color: var(--on-navy); }
.dark .btn:not(.btn--primary):hover, .top .btn:not(.btn--primary):hover { background: var(--navy-3); }
.bar .btn { min-height: 44px; padding: 0 18px; font-size: 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* dark surfaces */
.dark { background: var(--navy); color: var(--on-navy); }
.dark .lead, .dark p { color: var(--on-navy-2); }
.dark h2, .dark h3 { color: var(--on-navy); }

/* hero: JD large on the right, his photo's backdrop carried across the whole band */
.top { background: linear-gradient(180deg, var(--hero-top) 0%, var(--hero-mid) 55%, var(--hero-low) 100%); color: var(--on-navy); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 0 clamp(24px, 4vw, 56px); align-items: stretch;
  min-height: clamp(560px, calc(100svh - var(--nav-h)), 800px); }
.hero-copy { padding-block: clamp(32px, 5vw, 72px) clamp(48px, 6vw, 96px); align-self: center; }
.hero h1 { font-size: clamp(3rem, 5.4vw, 5.25rem); text-transform: uppercase; max-width: 15ch; }
.hero .lead { margin-top: 22px; color: var(--on-navy-2); max-width: 36ch; }
.hero .actions { margin-top: 32px; }
/* the headshot fills the hero top to bottom: his head just under the nav, zoomed so he holds his own beside the headline */
.hero-photo { position: relative; margin: 0 calc(-1 * var(--gutter)) 0 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 20%, #000 90%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 4%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0%, #000 20%, #000 90%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 4%); mask-composite: intersect; }
.hero-photo img { position: absolute; top: 0; left: 50%; height: 114%; width: auto; max-width: none; aspect-ratio: 1; transform: translateX(-50%); object-fit: cover; }
/* Stage (Halifax): JD by the water, a clean photo panel from the centre line to the right edge of the screen */
.hero--stage { position: relative; }
.stage-photo { position: absolute; top: 0; bottom: 0; left: calc(50% + clamp(12px, 2vw, 28px)); right: 0; margin: 0; overflow: hidden; border-top-left-radius: 18px; }
.stage-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }
.hero-photo figcaption { position: absolute; right: var(--gutter); bottom: 24px; text-align: right; font-weight: 600; font-size: 1rem; line-height: 1.35; color: var(--on-navy); text-shadow: 0 1px 12px oklch(15% 0.02 255 / 0.8); }
.hero-photo figcaption span { display: block; font-weight: 400; color: var(--on-navy-2); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-bottom: 16px; }
  .hero .wrap { min-height: 0; }
  .hero-photo { margin: 0 calc(-1 * var(--gutter)); -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10%); mask-image: linear-gradient(to bottom, transparent 0%, #000 10%); }
  .hero-photo img { position: static; transform: none; width: 100%; max-width: 520px; height: auto; margin-inline: auto; }
  .stage-photo { position: static; margin: 0 calc(-1 * var(--gutter)); border-radius: 0; }
  .stage-photo img { height: auto; aspect-ratio: 4 / 5; object-position: 50% 14%; }
}

/* the track record strip */
.record { background: var(--navy-2); color: var(--on-navy); border-top: 1px solid var(--navy-rule); }
.record dl { margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.record dl > div { padding: 30px 20px; border-left: 1px solid var(--navy-rule); }
.record dl > div:first-child { border-left: 0; padding-left: 0; }
.record dt { font-family: var(--display); font-weight: 900; font-size: clamp(2.2rem, 3.4vw, 3.25rem); line-height: 1; color: var(--ember-light); }
.record dd { margin: 8px 0 0; font-size: 1rem; line-height: 1.35; color: var(--on-navy); }
@media (max-width: 960px) {
  .record dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .record dl > div:nth-child(4) { border-left: 0; padding-left: 0; }
  .record dl > div:nth-child(n+4) { border-top: 1px solid var(--navy-rule); }
}
@media (max-width: 520px) {
  .record dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .record dl > div { padding: 22px 16px; }
  .record dl > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .record dl > div:nth-child(4) { border-left: 1px solid var(--navy-rule); padding-left: 16px; }
  .record dl > div:nth-child(n+3) { border-top: 1px solid var(--navy-rule); }
}

/* sections */
.sec { padding-block: clamp(72px, 9vw, 136px); }
.sec--tight { padding-block: clamp(56px, 7vw, 104px); }
.sec--alt { background: var(--paper-2); }
.head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); }
.head--split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 16px 48px; align-items: end; }
@media (max-width: 860px) { .head--split { grid-template-columns: minmax(0, 1fr); } }

/* "half the job is showing up": JD's line set large, then the three things */
.pull { margin: 0 0 clamp(48px, 6vw, 80px); }
.pull blockquote { margin: 0; }
.pull p { max-width: 24ch; font-family: var(--body); font-style: italic; font-weight: 600; font-size: clamp(2.1rem, 4.2vw, 3.6rem); line-height: 1.14; letter-spacing: -0.01em; color: var(--ink); }
@media (min-width: 861px) { .pull p { text-indent: -0.4em; } }
.pull-by { margin-top: 20px; font: 600 1.05rem/1.4 var(--body); color: var(--muted); }
.count { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.count li { padding: 30px; border-radius: 14px; background: var(--paper-3); border: 1px solid var(--rule); }
.count h3 { margin-bottom: 12px; }
.count p { color: var(--ink-2); }
.count-title { margin-bottom: 24px; font-weight: 700; font-size: 1.15rem; }
@media (max-width: 860px) { .count { grid-template-columns: minmax(0, 1fr); } }

/* background: military and emergency services */
.story .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.story h2 { max-width: 14ch; }
.story-head { display: grid; gap: 32px; }
.story-photo { margin: 0; }
.story-photo img { width: 100%; border-radius: 14px; }
.story-photo figcaption { margin-top: 10px; font-size: 1rem; color: var(--on-navy-2); }
.story-copy { display: grid; gap: 20px; }
.story-copy p { font-size: 1.25rem; line-height: 1.6; }
.facts { margin: 12px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--navy-rule); }
.facts li { display: flex; gap: 16px; justify-content: space-between; padding-block: 14px; border-bottom: 1px solid var(--navy-rule); font-size: 1.05rem; color: var(--on-navy); }
.facts b { font-weight: 600; color: var(--on-navy-2); }
@media (max-width: 860px) { .story .wrap { grid-template-columns: minmax(0, 1fr); } }

/* how I work */
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: s; }
.steps li { padding-top: 22px; border-top: 4px solid var(--ink); counter-increment: s; }
.steps li::before { content: counter(s); display: block; font-family: var(--display); font-weight: 900; font-size: 3.25rem; line-height: 1; color: var(--ember); }
.steps h3 { margin-top: 12px; }
.steps p { margin-top: 10px; color: var(--ink-2); }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* past results: real numbers from past clients, set big on navy */
.wins { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.wins li { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 4px solid var(--ember); }
.wins b { font-family: var(--display); font-weight: 900; font-size: clamp(3rem, 5vw, 4.5rem); line-height: 1; color: var(--ember-light); }
.wins span { font-size: 1.1rem; line-height: 1.45; color: var(--on-navy-2); }
.win-quote { margin: clamp(48px, 6vw, 72px) 0 0; }
.win-quote blockquote { margin: 0; }
.dark .win-quote p { max-width: 38ch; font-style: italic; font-weight: 600; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.3; color: var(--on-navy); }
.win-quote figcaption { margin-top: 14px; font-size: 1rem; color: var(--on-navy-2); }
@media (max-width: 860px) { .wins { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; } }

/* will ads work for your business: the generic math */
.math-copy { display: grid; gap: 18px; }
.math-copy p:not(.lead) { color: var(--ink-2); max-width: 46ch; }
.math-copy .more { font-size: 1.05rem; }
.math-copy .more a { font-weight: 600; text-decoration-color: var(--ember); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* reviews */
.score { display: flex; align-items: baseline; gap: 12px; }
.score b { font-family: var(--display); font-weight: 900; font-size: clamp(3rem, 5vw, 4.5rem); line-height: 1; color: var(--ember); }
.score span { font-weight: 600; color: var(--ink-2); }
.quotes { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.quotes li { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 30px; border-radius: 14px; background: var(--paper-3); border: 1px solid var(--rule); }
.quotes blockquote { margin: 0; font-size: 1.3rem; line-height: 1.5; color: var(--ink); }
.quotes cite { font-style: normal; font-size: 1rem; color: var(--muted); }
.quotes cite b { display: block; font-weight: 700; color: var(--ink); }
@media (max-width: 760px) { .quotes { grid-template-columns: minmax(0, 1fr); } }

/* field notes */
.notes { margin: 0; padding: 0; list-style: none; border-top: 4px solid var(--ink); }
.notes a { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr) auto; gap: 8px 40px; align-items: baseline; padding-block: 26px; border-bottom: 1px solid var(--rule); text-decoration: none; transition: background-color 150ms ease-out; }
.notes a:hover { background: var(--paper-3); }
.notes a:hover .n-title { text-decoration: underline; text-decoration-color: var(--ember); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.n-title { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 2.2vw, 1.85rem); line-height: 1.05; text-transform: uppercase; }
.n-sum { color: var(--ink-2); font-size: 1.05rem; }
.n-time { font-weight: 600; font-size: 1rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 860px) { .notes a { grid-template-columns: minmax(0, 1fr); } }

/* questions */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px clamp(32px, 5vw, 80px); align-items: start; }
.faq { border-top: 4px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding-block: 18px; font-weight: 700; font-size: 1.25rem; line-height: 1.3; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; font-family: var(--display); font-weight: 900; font-size: 2rem; line-height: 1; color: var(--ember); }
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--ember-2); }
.faq details p { max-width: 62ch; padding-bottom: 22px; color: var(--ink-2); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }

/* booking */
.book .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 5vw, 72px); align-items: start; }
.book-copy { display: grid; gap: 22px; }
.next { margin: 0; padding: 0; list-style: none; counter-reset: n; display: grid; gap: 16px; }
.next li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; counter-increment: n; color: var(--on-navy); }
.next li::before { content: counter(n); display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: var(--ember); color: oklch(99% 0.003 250); font-weight: 700; }
.one-area { padding: 14px 18px; border: 1px solid var(--navy-rule); border-radius: 10px; font-weight: 600; color: var(--on-navy); }
.form-card { padding: clamp(24px, 3vw, 40px); border-radius: 16px; background: var(--paper-3); color: var(--ink); }
.dark .form-card p, .dark .form-card h3 { color: var(--ink); }
.dark .form-card .form-note, .dark .form-card .book-fine { color: var(--muted); }
.dark .form-card .thanks p { color: var(--ink-2); }
.dark .form-card .form-nudge { color: var(--error); }
@media (max-width: 860px) { .book .wrap { grid-template-columns: minmax(0, 1fr); } }

/* the application form (apply.js: data-steps, data-next, .missing) */
.form { display: grid; gap: 24px; }
.form-steps { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 1rem; color: var(--muted); }
.form-steps .track { flex: 1; height: 8px; border-radius: 4px; background: var(--paper-2); overflow: hidden; }
.form-steps .track span { display: block; width: 50%; height: 100%; background: var(--ember); }
.form-step { display: grid; gap: 22px; }
.cells { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.cells legend { padding: 0 0 10px; font-weight: 700; font-size: 1.05rem; }
.cells-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cells input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cells label { display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 6px 10px; border: 1.5px solid oklch(78% 0.015 250); border-radius: 10px; background: var(--paper-3); font-weight: 600; font-size: 1rem; line-height: 1.25; text-align: center; cursor: pointer; transition: background-color 120ms ease-out, border-color 120ms ease-out, color 120ms ease-out; }
.cells label:hover { border-color: var(--ink); }
.cells input:checked + label { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.cells input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (max-width: 520px) { .cells-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 1.05rem; }
.opt-tag { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; min-height: 54px; padding: 0 16px; border: 1.5px solid oklch(70% 0.015 250); border-radius: 10px; background: var(--paper-3); color: var(--ink); font: 400 1.05rem/1.4 var(--body); }
.field textarea { padding-block: 14px; min-height: 108px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
@media (max-width: 560px) { .fields { grid-template-columns: minmax(0, 1fr); } }
.form .actions { align-items: center; }
.form-back { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--ink-2); font: 600 1rem/1 var(--body); text-decoration: underline; cursor: pointer; }
.form-back:hover { color: var(--ink); }
.form-note { font-size: 1rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error, .form-nudge { padding: 12px 16px; border-radius: 10px; border: 1.5px solid var(--error); color: var(--error); font-weight: 600; font-size: 1rem; }
.missing legend, .missing > label { color: var(--error); }
.missing [data-msg]::after { content: ": " attr(data-msg); }
.missing .cells-row label, .field.missing input, .field.missing textarea { border-color: var(--error); }
.thanks { display: grid; gap: 14px; justify-items: start; }
.thanks:focus { outline: 0; }
.ok-mark { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 50%; background: var(--ember); color: oklch(99% 0.003 250); }
.accepted { font-weight: 700; font-size: 1.2rem; }
.thanks h3 { font-size: 2rem; }
.thanks p { color: var(--ink-2); }
.thanks [data-thanks-default], .thanks [data-book-first] { display: grid; gap: 12px; width: 100%; }
.cal-embed { position: relative; width: 100%; min-height: 560px; border-radius: 12px; background: var(--paper-2); }
.cal-embed::before { content: "Loading open times"; position: absolute; top: 40px; left: 0; right: 0; text-align: center; color: var(--muted); }
.cal-embed iframe { position: relative; z-index: 1; display: block; min-height: 560px; }
.book-fine { font-size: 1rem; }

/* phones: the pinned booking button (apply.js toggles .show) */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: block; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: oklch(98.5% 0.004 250 / 0.97); border-top: 1px solid var(--rule); transition: transform 220ms ease-out, opacity 220ms ease-out; }
  .js .sticky-cta:not(.show) { opacity: 0; transform: translateY(100%); visibility: hidden; }
  .sticky-cta .btn { width: 100%; }
}

/* inner pages: a shorter navy top */
.top--page .page-hero { padding-block: clamp(32px, 5vw, 72px) clamp(48px, 6vw, 88px); }
.page-hero h1 { font-size: clamp(2.75rem, 5.6vw, 5rem); text-transform: uppercase; max-width: 18ch; }
.page-hero .lead { margin-top: 20px; color: var(--on-navy-2); max-width: 46ch; }
.page-hero .actions { margin-top: 28px; }
.crumb { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 8px; font-weight: 600; font-size: 1rem; color: var(--ember-light); }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.byline img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.byline p { display: grid; font-size: 1rem; line-height: 1.4; color: var(--on-navy-2); }
.byline b { font-weight: 700; color: var(--on-navy); }
.note-h1 { font-size: clamp(2.4rem, 4.6vw, 4rem) !important; max-width: 22ch !important; }

/* tables (Halifax click prices, which job goes where) */
.table-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 1.1rem; }
.tbl th { padding: 0 16px 14px 0; border-bottom: 4px solid currentColor; font-weight: 700; font-size: 1rem; text-align: left; white-space: nowrap; }
.tbl td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.dark .tbl td { border-bottom-color: var(--navy-rule); color: var(--on-navy); }
.tbl td:first-child { font-weight: 600; }
.tbl .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl th.num { text-align: right; }
.tbl .big { font-family: var(--display); font-weight: 900; font-size: 1.9rem; line-height: 1; color: var(--ember-2); }
.dark .tbl .big { color: var(--ember-light); }
.table-note { margin-top: 22px; max-width: 72ch; font-size: 1rem; }
@media (max-width: 560px) {
  .tbl thead { display: none; }
  .tbl tr { display: grid; gap: 4px; padding-block: 14px; border-bottom: 1px solid var(--rule); }
  .dark .tbl tr { border-bottom-color: var(--navy-rule); }
  .tbl td { padding: 0; border: 0; }
  .tbl .num { text-align: left; }
  .tbl td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; font-size: 1rem; }
}

/* the worked example: a navy card, figures in ember */
.calc { margin: 0; padding: clamp(24px, 3vw, 36px); border-radius: 16px; background: var(--navy); color: var(--on-navy); }
.calc-title { margin-bottom: 8px; font-family: var(--display); font-weight: 900; font-size: 1.7rem; line-height: 1.05; text-transform: uppercase; color: var(--on-navy); }
.calc dl { margin: 0; }
.calc dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--navy-rule); }
.calc dl > div:last-child { border-bottom: 0; border-top: 3px solid var(--on-navy); margin-top: 4px; padding-top: 16px; }
.calc dt { font-size: 1.05rem; color: var(--on-navy); }
.calc dd { margin: 0; flex-shrink: 0; font-family: var(--display); font-weight: 900; font-size: 1.75rem; line-height: 1; color: var(--ember-light); }
.calc dl > div:last-child dd { font-size: 2.4rem; }
.calc-note { margin-top: 16px; font-size: 1.05rem; color: var(--on-navy) !important; }
.calc-foot { margin-top: 8px; font-size: 1rem; color: var(--on-navy-2) !important; }
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* rows: a name on the left, its line on the right */
.rows { margin: 0; padding: 0; list-style: none; border-top: 4px solid var(--ink); }
.rows li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 40px; padding-block: 24px; border-bottom: 1px solid var(--rule); }
.rows b { font-family: var(--display); font-weight: 900; font-size: clamp(1.5rem, 2.2vw, 1.85rem); line-height: 1.05; text-transform: uppercase; }
.rows span { color: var(--ink-2); }
@media (max-width: 760px) { .rows li { grid-template-columns: minmax(0, 1fr); } }

/* service pages (Google Ads consultant, Bing Ads): the "in short" answer, worth it / wait, links in rows and FAQs */
.sec--tight[data-part="short"] .short { max-width: 76ch; }
.fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.fit > div { padding: 30px; border-radius: 14px; background: var(--paper-3); border: 1px solid var(--rule); }
.fit h3 { margin-bottom: 16px; }
.fit ul { display: grid; gap: 12px; margin: 0; padding-left: 1.2em; color: var(--ink-2); }
@media (max-width: 860px) { .fit { grid-template-columns: minmax(0, 1fr); } }
.tbl--compare td { vertical-align: top; }
.tbl--compare th:first-child { width: 26%; }
.sec-more { margin-top: 36px; max-width: 70ch; font-size: 1.15rem; color: var(--ink-2); }
.sec-more a, .rows span a, .faq p a { color: var(--ember-2); font-weight: 600; text-underline-offset: 4px; }
.sec-more a:hover, .rows span a:hover, .faq p a:hover { color: var(--ink); }

/* a field note */
.note-body { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px clamp(32px, 5vw, 72px); align-items: start; }
.prose { display: grid; gap: 18px; max-width: 70ch; font-size: 1.2rem; line-height: 1.7; }
.prose h2 { margin-top: 28px; font-size: clamp(1.9rem, 3vw, 2.5rem); }
.prose h3 { margin-top: 12px; font-size: 1.5rem; }
.prose p, .prose li { color: var(--ink); }
.prose ul, .prose ol { display: grid; gap: 10px; margin: 0; padding-left: 1.3em; }
.prose b { font-weight: 700; }
.prose a:not(.btn) { color: var(--ember-2); font-weight: 600; text-underline-offset: 4px; }
.prose a:not(.btn):hover { color: var(--ink); }
.prose .tbl { font-size: 1.05rem; }
.prose .calc { margin-block: 8px; }
.short { padding: 24px 28px; border-radius: 14px; background: var(--ember-soft); border-left: 6px solid var(--ember); }
.short p { font-size: 1.25rem; line-height: 1.55; color: var(--ink); }
.short .short-label { margin-bottom: 6px; font-weight: 700; font-size: 1rem; color: var(--ember-2); }
.note-faq { display: grid; gap: 12px; margin-top: 24px; padding-top: 28px; border-top: 4px solid var(--ink); }
.note-faq p { color: var(--ink-2); }
.author { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 24px; padding: 24px; border-radius: 14px; background: var(--paper-2); }
.author img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.author p { font-size: 1.05rem; color: var(--ink-2); }
.author .who { font-weight: 700; color: var(--ink); }
.side { position: sticky; top: 24px; display: grid; gap: 16px; padding: 28px; border-radius: 16px; background: var(--navy); color: var(--on-navy); }
.side .side-h { font-family: var(--display); font-weight: 900; font-size: 1.9rem; line-height: 1.02; text-transform: uppercase; color: var(--on-navy); }
.side p { font-size: 1.05rem; color: var(--on-navy-2); }
.side .btn { width: 100%; }
@media (max-width: 960px) { .note-body { grid-template-columns: minmax(0, 1fr); } .side { position: static; } }

/* footer */
.foot { padding-block: clamp(56px, 7vw, 96px) 40px; background: var(--navy-2); color: var(--on-navy); }
.foot .wrap { display: grid; gap: 28px; }
.foot-word { font-family: var(--display); font-weight: 900; font-size: clamp(3rem, 8vw, 7rem); line-height: 0.92; text-transform: uppercase; color: var(--on-navy); }
.foot-line { max-width: 56ch; font-size: 1.2rem; color: var(--on-navy-2); }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 28px; padding-top: 22px; border-top: 1px solid var(--navy-rule); }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; color: var(--on-navy); }
.foot-links a:hover { color: var(--ember-light); }
.foot-legal { max-width: 90ch; font-size: 1rem; color: var(--on-navy-2); }
