/* Hearth Hiring: site styles. White paper, black ink, one ember accent. */

@font-face {
  font-family: "Bitter";
  src: url("/assets/fonts/bitter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #000000;
  --paper: #ffffff;
  --graphite: #3b3b3b;
  --slate: #5e5e5e;
  --rule: #d9d9d6;
  --ember: #b4481f;        /* the one accent */
  --ember-deep: #8e3818;   /* ember text on tint, hover */
  --ember-tint: #f7ebe3;   /* light band */
  --ember-rule: #ebcdbc;
  --on-ember: #fff4ee;     /* body text on ember */

  --serif: "Bitter", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --gutter: 20px;
  --max: 1200px;
  --space-section: clamp(64px, 9vw, 120px);
  --header-h: 64px;
  --radius-photo: clamp(12px, 1.6vw, 20px);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
@media (min-width: 768px) {
  :root { --gutter: 40px; --header-h: 80px; }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  caret-color: var(--ember);
  accent-color: var(--ember);
}

::selection { background: var(--ember); color: var(--paper); }

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.625rem, 5.6vw, 4.5rem); letter-spacing: -0.025em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.1875rem, 1.6vw, 1.375rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }

p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 1em; }

a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.band-ember :focus-visible, .site-footer :focus-visible { outline-color: var(--paper); }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.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;
}

.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.lede { font-size: clamp(1.125rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--graphite); max-width: 34em; }
.small { font-size: 0.875rem; color: var(--slate); line-height: 1.55; }

.text-link { font-weight: 600; text-decoration-thickness: 2px; text-decoration-color: var(--ember); text-underline-offset: 0.25em; }
.text-link:hover { color: var(--ember-deep); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 26px;
  font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; border: 2px solid var(--ink); border-radius: 2px;
  cursor: pointer; touch-action: manipulation;
  transition: background-color 160ms ease-out, color 160ms ease-out;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-small { min-height: 44px; padding: 10px 18px; font-size: 0.9375rem; }
@media (hover: hover) {
  .btn-primary:hover { background: var(--paper); color: var(--ink); }
  .btn-outline:hover { background: var(--ink); color: var(--paper); }
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper); border-bottom: 1px solid var(--rule);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand img { height: 30px; width: auto; }
@media (min-width: 768px) { .brand img { height: 40px; } }

.site-nav { display: flex; align-items: center; gap: 32px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.nav-list a {
  font-weight: 500; font-size: 0.9375rem; color: var(--ink); text-decoration: none;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
@media (hover: hover) { .nav-list a:hover { border-bottom-color: var(--rule); } }
.nav-list a[aria-current="page"] { border-bottom-color: var(--ember); }

.nav-toggle {
  display: none; align-items: center; gap: 10px;
  background: none; border: 0; padding: 10px 0; font: 600 0.9375rem var(--sans); color: var(--ink); cursor: pointer;
}
.nav-toggle-bars { position: relative; width: 20px; height: 12px; }
.nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink);
  transition: transform 200ms var(--ease-out), top 200ms var(--ease-out);
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 5px; transform: rotate(-45deg); }

@media (max-width: 899px) {
  html:not(.js) .header-inner { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
  html:not(.js) .site-nav { flex-wrap: wrap; gap: 12px 20px; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 20px;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    padding: 8px var(--gutter) 24px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s linear 180ms;
  }
  .js .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .js .nav-list { flex-direction: column; gap: 0; }
  .js .nav-list li + li { border-top: 1px solid var(--rule); }
  .js .nav-list a { display: block; padding: 16px 0; font-size: 1.125rem; border-bottom: 0; }
  .js .site-nav .btn { width: 100%; min-height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .site-nav, .nav-toggle-bars::before, .nav-toggle-bars::after { transition: none; }
}

/* ---------- Sections ---------- */

.section { padding: var(--space-section) 0; }
.section-tight { padding-top: 0; }
.band-tint { background: var(--ember-tint); }
.band-ember { background: var(--ember); color: var(--on-ember); }
.band-ember h2 { color: var(--paper); }
.band-ember .lede { color: var(--paper); }
.section-lede { margin-top: 16px; }

.split { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 7fr; gap: clamp(48px, 7vw, 112px); align-items: start; }
}

/* ---------- Hero ---------- */

.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 7fr 5fr; gap: clamp(48px, 5vw, 88px); } }
.hero h1 { font-size: clamp(2.25rem, 4.2vw, 3.75rem); line-height: 1.04; max-width: 15em; }
/* On desktop the hero fills the first screen, so the next section starts below the fold. */
@media (min-width: 1000px) and (min-height: 600px) {
  .hero { display: flex; align-items: center; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); }
  .hero > .container { width: 100%; }
}
.hero-copy .lede { margin-top: 24px; }
.hero-copy .actions { margin-top: 32px; }
.price-line { margin-top: 20px; font-size: 0.9375rem; color: var(--graphite); }
.price-line strong { color: var(--ink); font-weight: 600; }
.hero-photo img, .side-photo img { width: 100%; border-radius: var(--radius-photo); background: var(--ember-rule); }
.hero-photo img { aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- What we handle ---------- */

.trio { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.trio li { padding: 28px 0; border-bottom: 1px solid var(--rule); }
.trio p { margin-top: 10px; max-width: 36em; }
@media (min-width: 900px) {
  .trio { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--rule); }
  .trio li { padding: 32px 32px 36px 0; border-bottom: 0; }
  .trio li + li { padding-left: 32px; border-left: 1px solid var(--rule); }
}

/* ---------- Facts ---------- */

.facts { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--ember-rule); }
.facts li { padding: 28px 0; border-bottom: 1px solid var(--ember-rule); }
.fact-num {
  font-family: var(--serif); font-weight: 800; color: var(--ember-deep);
  font-size: clamp(2.25rem, 4vw, 3rem); line-height: 1; letter-spacing: -0.02em;
  font-variant-numeric: lining-nums tabular-nums; margin-bottom: 14px;
}
.facts .source { margin-top: 12px; font-size: 0.8125rem; color: var(--slate); }
.facts .source a { color: var(--slate); }
.after-facts { margin-top: 32px; font-weight: 600; color: var(--ink); max-width: 40em; }
@media (min-width: 900px) {
  .facts { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--ember-rule); }
  .facts li { padding: 32px 32px 32px 0; border-bottom: 0; }
  .facts li + li { padding-left: 32px; border-left: 1px solid var(--ember-rule); }
}

/* ---------- Steps ---------- */

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; border-top: 1px solid var(--rule); }
.steps li {
  counter-increment: step; position: relative;
  padding: 24px 0 24px 64px; border-bottom: 1px solid var(--rule);
}
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 18px;
  font-family: var(--serif); font-weight: 800; font-size: 2.25rem; line-height: 1; color: var(--ember);
}
.steps p { margin-top: 6px; }
.split .text-link { display: inline-block; margin-top: 24px; }

/* ---------- Fee band ---------- */

.fee { display: grid; gap: 24px; }
@media (min-width: 900px) { .fee { grid-template-columns: 5fr 7fr; gap: clamp(48px, 7vw, 112px); align-items: start; } }
.fee h2 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
.fee-note { margin-top: 20px; font-size: 0.9375rem; color: var(--on-ember); }

/* ---------- Pricing ---------- */

.price-list { margin: 32px 0 24px; border-top: 1px solid var(--rule); }
.price-list > div { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 560px) { .price-list > div { grid-template-columns: 11em 1fr; gap: 16px; align-items: baseline; } }
.price-list dt { font-weight: 600; color: var(--ink); }
.price-list dd { margin: 0; }
.amount { font-family: var(--serif); font-weight: 800; font-size: 1.5rem; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; margin-right: 4px; }

/* ---------- Who it's for ---------- */

@media (min-width: 900px) { .split-photo { grid-template-columns: 5fr 7fr; align-items: center; } }
.side-photo img { aspect-ratio: 1 / 1; object-fit: cover; }
.who { list-style: none; margin: 32px 0 24px; padding: 0; border-top: 1px solid var(--ember-rule); }
.who li { padding: 20px 0; border-bottom: 1px solid var(--ember-rule); }
.who p { margin-top: 6px; }

/* ---------- Closing ---------- */

.closing { border-top: 1px solid var(--rule); }
.closing-inner { max-width: 820px; }
.closing h2 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
.closing .lede { margin-top: 20px; }
.closing .actions { margin-top: 32px; }
.coming-soon { font-size: 1.0625rem; color: var(--ink); padding: 20px 0; border-top: 2px solid var(--ember); border-bottom: 1px solid var(--rule); max-width: 40em; }
.coming-soon a { font-weight: 600; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: #bdbdbd; padding: clamp(56px, 8vw, 96px) 0 40px; font-size: 0.9375rem; }
.site-footer a { color: var(--paper); text-decoration: none; }
@media (hover: hover) { .site-footer a:hover { text-decoration: underline; } }
.footer-top { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid #333; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1fr 2fr; } }
.footer-logo img { height: 32px; width: auto; }
.footer-cols { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.footer-cols h2 { font-family: var(--sans); font-size: 0.8125rem; font-weight: 600; color: #8f8f8f; letter-spacing: 0; margin-bottom: 12px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-cols li a { display: inline-block; padding: 6px 0; }
.footer-note { padding-top: 8px; color: #bdbdbd; }
.footer-legal { padding-top: 24px; font-size: 0.8125rem; color: #8f8f8f; }

/* ---------- Inner pages ---------- */

.page-hero { padding: clamp(48px, 7vw, 104px) 0 clamp(48px, 6vw, 80px); }
.page-hero h1 { max-width: 14em; }
.page-hero .lede { margin-top: 20px; }
.page-hero .actions { margin-top: 32px; }
.page-hero-mission h1 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); max-width: 17em; line-height: 1.08; }

.section-ruled { padding-top: 0; }
.section-ruled::before {
  content: ""; display: block;
  width: calc(100% - var(--gutter) * 2); max-width: var(--max);
  margin: 0 auto var(--space-section);
  border-top: 1px solid var(--rule);
}

.h-small { font-size: clamp(1.375rem, 2.2vw, 1.75rem); }
.h-mid { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.table-note { margin-top: 8px; margin-bottom: 16px; }
.compare-table + .table-note, .table-wrap + .table-note { margin-top: 16px; }

.prose > * + * { margin-top: 1em; }
.prose p { max-width: 38em; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 38em; }
.ticks li { position: relative; padding-left: 24px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; background: var(--ember); }
.ticks-inline { display: flex; flex-wrap: wrap; gap: 10px 28px; }

.table-wrap { margin-top: 32px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.roles-table, .data-table, .compare-table { width: 100%; border-collapse: collapse; font-variant-numeric: lining-nums tabular-nums; }
.roles-table th, .compare-table thead th, .data-table th {
  text-align: left; font: 600 0.9375rem var(--sans); color: var(--ink); padding: 0 16px 14px 0; border-bottom: 2px solid var(--ink);
}
.roles-table td { padding: 16px 24px 16px 0; border-bottom: 1px solid var(--ember-rule); vertical-align: top; width: 50%; }
.data-table td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); }
.data-table .num { text-align: right; padding-right: 0; font-weight: 600; color: var(--ink); }
.compare-table { min-width: 640px; }
.compare-table th[scope="row"] { text-align: left; font-weight: 500; color: var(--ink); padding: 16px 16px 16px 0; border-bottom: 1px solid var(--rule); }
.compare-table td { padding: 16px; border-bottom: 1px solid var(--rule); }
.compare-table thead th { padding-left: 16px; }
.compare-table thead th:first-child { padding-left: 0; }
.compare-table .us { background: var(--ember-tint); color: var(--ink); font-weight: 600; }
.compare-table thead .us { color: var(--ember-deep); border-bottom-color: var(--ember); }

.btn-paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }
@media (hover: hover) { .btn-paper:hover { background: transparent; color: var(--paper); } }
.on-ember-actions { margin-top: 28px; }

.terms { margin: 0; border-top: 1px solid var(--rule); }
.terms > div { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.terms dt { font-weight: 600; color: var(--ink); }
.terms dd { margin: 4px 0 0; max-width: 40em; }

.faq { border-top: 1px solid var(--ember-rule); }
.faq details { border-bottom: 1px solid var(--ember-rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--serif); font-weight: 700; font-size: 1.1875rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg);
  transition: transform 200ms var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { padding: 0 0 20px; max-width: 40em; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

.start-list { list-style: none; margin: 40px 0 0; padding: 0; counter-reset: start; display: grid; gap: 0; border-top: 1px solid var(--ember-rule); }
.start-list li { counter-increment: start; position: relative; padding: 24px 0 24px 56px; border-bottom: 1px solid var(--ember-rule); }
.start-list li::before { content: counter(start); position: absolute; left: 0; top: 18px; font: 800 2.25rem/1 var(--serif); color: var(--ember); }
.start-list p { margin-top: 6px; }
@media (min-width: 900px) {
  .start-list { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--ember-rule); }
  .start-list li { border-bottom: 0; padding: 72px 32px 32px 0; }
  .start-list li + li { padding-left: 32px; border-left: 1px solid var(--ember-rule); }
  .start-list li::before { top: 24px; }
  .start-list li + li::before { left: 32px; }
}
.start-actions { margin-top: 40px; }

.founder-name { font-family: var(--serif); font-weight: 800; font-size: 1.75rem; color: var(--ink); line-height: 1.2; }
.prose .founder-name + .small { margin-top: 4px; }

.contact-grid { display: grid; gap: 56px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 7fr 5fr; gap: clamp(48px, 7vw, 112px); } }
.contact-actions { margin-top: 28px; }
.contact-list { margin: 24px 0 0; border-top: 1px solid var(--rule); }
.contact-list > div { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.contact-list dt { font-size: 0.875rem; font-weight: 600; color: var(--slate); }
.contact-list dd { margin: 4px 0 0; font-size: 1.125rem; }
.contact-list a { font-weight: 600; }

@media (max-width: 699px) {
  .compare-table { min-width: 0; }
  .compare-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare-table tr { display: block; padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .compare-table tbody tr:first-child { border-top: 2px solid var(--ink); }
  .compare-table th[scope="row"] { display: block; padding: 0 0 10px; border: 0; font-weight: 600; }
  .compare-table td { display: flex; justify-content: space-between; gap: 16px; padding: 8px 12px; border: 0; }
  .compare-table td::before { content: attr(data-label); color: var(--slate); font-weight: 500; }
  .compare-table td.us::before { color: var(--ember-deep); font-weight: 600; }
}

/* ---------- Legal and 404 ---------- */

.legal-hero { padding-bottom: clamp(24px, 4vw, 40px); }
.legal-hero .small { margin-top: 16px; }
.legal > * { max-width: 44rem; }
.legal h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin: 40px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal ul { margin: 0; padding-left: 1.25em; }
.legal li { padding: 4px 0; }
.legal li::marker { color: var(--ember); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal p + ul, .legal ul + p { margin-top: 12px; }

.page-404 { min-height: 50vh; padding-bottom: var(--space-section); }
.page-404 .actions { margin-top: 32px; }

@media (min-width: 900px) { .split > .bill-col { align-self: start; padding-top: 10px; } }
.bill-notes { margin-top: 20px; }
.bill-col .text-link { display: inline-block; margin-top: 16px; }

/* ---------- Motion ----------
   Everything is visible by default. The inline head script adds .motion only when the
   visitor hasn't asked for reduced motion, and site.js adds [data-reveal] / [data-steps]
   itself, so if JavaScript fails nothing stays hidden. Only opacity and transform animate. */

@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes settle { from { opacity: 0; transform: scale(1.03); } }

.motion .hero-copy > *,
.motion .page-hero .container > * { animation: rise 640ms var(--ease-out) both; }
.motion .hero-copy > :nth-child(2), .motion .page-hero .container > :nth-child(2) { animation-delay: 80ms; }
.motion .hero-copy > :nth-child(3), .motion .page-hero .container > :nth-child(3) { animation-delay: 160ms; }
.motion .hero-copy > :nth-child(4) { animation-delay: 240ms; }
.motion .hero-photo { overflow: hidden; border-radius: var(--radius-photo); }
.motion .hero-photo img { animation: settle 900ms var(--ease-out) 120ms both; }

.motion [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity 640ms var(--ease-out), transform 640ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.motion [data-reveal].is-in { opacity: 1; transform: none; }

/* Steps: each number turns ember and its rule fills as the reader reaches it. */
.motion [data-steps] li::before { color: var(--ember-rule); transition: color 400ms var(--ease-out); }
.motion [data-steps] li::after {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--ember);
  transform: scaleX(0); transform-origin: left center; transition: transform 700ms var(--ease-out);
}
.motion [data-steps] li.is-reached::before { color: var(--ember); }
.motion [data-steps] li.is-reached::after { transform: scaleX(1); }

/* Fact numbers keep their width while counting. */
[data-count] { font-variant-numeric: tabular-nums; }

/* FAQ answers slide open where the browser supports animating to auto height. */
@supports (interpolate-size: allow-keywords) {
  .motion .faq { interpolate-size: allow-keywords; }
  .motion .faq details::details-content {
    height: 0; overflow: clip;
    transition: height 320ms var(--ease-out), content-visibility 320ms allow-discrete;
  }
  .motion .faq details[open]::details-content { height: auto; }
}

/* Buttons give a small press. */
.btn:active { transform: scale(0.97); }
.btn { transition: background-color 160ms ease-out, color 160ms ease-out, transform 120ms ease-out; }

@media (prefers-reduced-motion: reduce) {
  .btn:active { transform: none; }
}

/* ---------- Marketing rewrite (Nov 2026) ---------- */

.trio-spaced { margin-top: 32px; }

.ember-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 244, 238, 0.35); }
.ember-list li { padding: 14px 0; border-bottom: 1px solid rgba(255, 244, 238, 0.35); color: var(--paper); font-size: 1.125rem; }
.ember-list strong { font-family: var(--serif); font-weight: 800; font-size: 1.5rem; margin-right: 6px; font-variant-numeric: lining-nums tabular-nums; }
.link-on-ember { color: var(--paper); font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 0.25em; display: inline-block; margin-top: 20px; }
.band-ember .fee-note { color: var(--on-ember); margin-top: 20px; font-size: 1rem; }

.value-line { color: var(--ink); font-weight: 600; }

.start-steps { list-style: none; margin: 32px 0 0; padding: 0; counter-reset: start; display: grid; border-top: 1px solid var(--ember-rule); }
.start-steps li { counter-increment: start; position: relative; padding: 22px 0 22px 56px; border-bottom: 1px solid var(--ember-rule); }
.start-steps li::before { content: counter(start); position: absolute; left: 0; top: 16px; font: 800 2.25rem/1 var(--serif); color: var(--ember); }
.start-steps p { margin-top: 6px; }
@media (min-width: 900px) {
  .start-steps { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--ember-rule); }
  .start-steps li { border-bottom: 0; padding: 68px 32px 28px 0; }
  .start-steps li + li { padding-left: 32px; border-left: 1px solid var(--ember-rule); }
  .start-steps li::before { top: 22px; }
  .start-steps li + li::before { left: 32px; }
}

.book-grid { display: grid; gap: 56px; }
@media (min-width: 900px) { .book-grid { grid-template-columns: 7fr 5fr; gap: clamp(48px, 7vw, 112px); align-items: start; } }
.booking-embed { margin-top: 24px; }
.booking-embed.has-calendar { border: 1px solid var(--rule); border-radius: 2px; }
.booking-embed iframe { display: block; width: 100%; min-height: 680px; border: 0; }

.book-form { margin-top: 24px; display: grid; gap: 14px; }
.book-form .field { margin-bottom: 0; }
.book-form input {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #8a8a86; border-radius: 2px;
  background: var(--paper); font: 500 1.0625rem var(--sans); color: var(--ink);
}
.book-form input:focus { outline: 3px solid var(--ink); outline-offset: 2px; }
.book-form .btn { justify-self: start; margin-top: 12px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-status { margin-top: 12px; color: var(--ink); }
.form-email { margin-top: 24px; }

.site-nav .btn[aria-current="page"] { background: var(--paper); color: var(--ink); }
.legal-note { margin-top: 8px; }
