/* Land to Freedom — base, shell and components. Tokens only; no raw hex below this line. */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--border-strong) transparent;
  caret-color: var(--brand);
  -webkit-tap-highlight-color: color-mix(in srgb, var(--brand) 18%, transparent);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  background: var(--page-bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--selection-bg); color: var(--selection-fg); }

/* Full bleed: one surface, edge to edge. */
.shell { background: var(--canvas); }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg-subtle); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: var(--radius-pill); border: 3px solid var(--bg-subtle); }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-sm); }
:focus:not(:focus-visible) { outline: none; }

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  text-wrap: balance;
}
/* Emphasis inside a heading switches to the serif italic — the reference's signature. */
h1 em, h2 em, h3 em, .serif-em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}
/* Section headings lead with the serif; their emphasis stays italic. */
.section__title, .page-head__title { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.01em; }
.section__title em, .page-head__title em { font-style: italic; }
p, li { text-wrap: pretty; }

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

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter, 1.1rem), var(--container)); margin-inline: auto; }
@media (min-width: 640px) { :root { --gutter: 1.6rem; } }
.container--narrow { width: min(100% - 2 * var(--gutter, 1.1rem), var(--container-narrow)); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: var(--section-y-tight); }
.section--subtle { background: var(--bg-subtle); }
.section--inverse { background: var(--surface-dark); color: var(--ltf-white); }
.section--inverse h1, .section--inverse h2, .section--inverse h3 { color: var(--ltf-white); }
.section--inverse .section__lede, .section--inverse p { color: var(--on-dark-muted); }
.section__head { max-width: 60ch; margin-bottom: var(--space-xl); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title { font-size: var(--step-3); }
.section__lede { margin-top: var(--space-xs); font-size: var(--step-0); color: var(--text-muted); line-height: var(--leading-snug); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text);
}
.eyebrow::before {
  content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%;
  background: var(--accent); flex: none;
}
.section--inverse .eyebrow, .hero .eyebrow { color: var(--on-dark); }
.section--inverse .eyebrow { color: var(--accent); }

.grid { display: grid; gap: var(--space-lg); }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 640px) and (max-width: 899px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }

.skip-link {
  position: absolute; left: var(--space-md); top: -100px; z-index: 200;
  background: var(--brand); color: var(--text-on-brand); padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { top: var(--space-md); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs);
  padding: 0.42rem 0.5rem 0.42rem 1.1rem; border-radius: var(--radius-pill); border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: 0.9rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.btn:active { transform: translateY(1px); }
/* The trailing disc holds the arrow glyph. */
.btn__arrow {
  display: inline-grid; place-items: center; flex: none;
  width: 1.85rem; height: 1.85rem; border-radius: 50%;
  background: var(--canvas); color: var(--text); font-size: 0.8rem;
}
.btn--accent .btn__arrow { background: var(--surface-dark); color: var(--accent); }
.btn--ghost .btn__arrow { background: var(--bg-sunken); }
.btn--text {
  padding: 0.42rem 0; border: 0; background: none; color: var(--text);
  text-decoration: underline; text-underline-offset: 0.3em;
}
.btn--text:hover { color: var(--brand); }
.hero .btn--text, .section--inverse .btn--text { color: var(--on-dark); }

.btn--primary { background: var(--brand); color: var(--text-on-brand); }
.btn--primary:hover { background: var(--brand-hover); color: var(--text-on-brand); }
.btn--accent { background: var(--accent); color: var(--text-on-accent); }
.btn--accent:hover { background: var(--accent-hover); color: var(--text-on-accent); }
.btn--ghost { border-color: var(--border-strong); color: var(--text); background: var(--bg); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.section--inverse .btn--ghost,
.hero .btn--ghost { background: transparent; border-color: var(--on-dark-outline); color: var(--ltf-white); }
.section--inverse .btn--ghost:hover,
.hero .btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.form__submit { justify-self: start; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-md); }
.btn-row--center { justify-content: center; }

/* ---------- Header: a white pill floating over the hero ---------- */
.site-header { position: relative; z-index: 100; padding-block: clamp(0.6rem, 1.4vw, 1.1rem); }
body:has(#main > .hero:first-child) .site-header {
  position: absolute; inset: 0 0 auto 0; padding-bottom: 0;
}
.site-header__inner {
  display: flex; align-items: center; gap: var(--space-md);
  background: var(--canvas); border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  padding: 0.5rem 0.5rem 0.5rem 1.1rem; min-height: var(--header-h);
  box-shadow: var(--shadow-md);
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand__img { height: 26px; width: auto; }
@media (min-width: 640px) { .brand__img { height: 30px; } }
.site-footer .brand__img { height: 38px; }

.nav { margin-inline: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(0.8rem, 1.6vw, 1.5rem); list-style: none; padding: 0; margin: 0; }
.nav__list a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.87rem; }
.nav__list a:hover, .nav__list .current-menu-item > a { color: var(--brand); }
.nav__list .current-menu-item > a,
.nav__list a[aria-current="page"] {
  background: var(--brand-soft); border-radius: var(--radius-pill); padding: 0.4rem 0.8rem;
}

.header__meta { display: none; align-items: center; gap: 0.55rem; flex: none; }
@media (min-width: 1080px) { .header__meta { display: flex; } }
.header__meta-icon {
  display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--accent-soft); color: var(--brand); flex: none;
}
.header__meta-text { display: grid; line-height: 1.15; }
.header__meta-text span { font-size: 0.66rem; color: var(--text-muted); }
.header__meta-text strong { font-size: 0.82rem; }
.header__cta { flex: none; }

.nav-toggle {
  display: none; margin-left: auto; width: 40px; height: 40px; padding: 0;
  background: transparent; border: 1px solid var(--border); border-radius: var(--radius-pill);
  color: var(--text); cursor: pointer;
}
.nav-toggle span { display: block; width: 17px; height: 2px; margin: 4px auto; background: currentColor; transition: transform var(--transition), opacity var(--transition); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .header__cta { display: none; }
  .nav {
    position: absolute; inset: calc(100% + 0.5rem) 0 auto 0; margin: 0;
    background: var(--canvas); border-radius: var(--radius-lg);
    padding: var(--space-md); box-shadow: var(--shadow-lg);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  }
  .nav[data-open="true"] { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--border); }
  .nav__list li:last-child { border-bottom: 0; }
  .nav__list a { display: block; padding: var(--space-sm) 0; font-size: 1rem; }
  .nav__list .btn { margin-top: var(--space-sm); }
}

/* ---------- Hero: a rounded photo panel inside the canvas ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background-color: var(--surface-dark);
  background-image: var(--hero-gradient);
  color: var(--ltf-white);
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(1.8rem, 3.5vw, 2.8rem);
}
.hero--photo { background-image: var(--hero-photo-overlay), var(--hero-photo); background-size: cover; background-position: center; }
/* Clear the floating header only where it actually floats. */
body:has(#main > .hero:first-child) #main > .hero:first-child {
  padding-top: calc(var(--header-h) + clamp(2.6rem, 6vw, 4.5rem));
}
.hero__inner { position: relative; z-index: 1; }
.hero__grid { display: grid; gap: var(--space-xl); align-items: end; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
.hero__title { font-size: var(--step-5); margin-top: var(--space-sm); max-width: 16ch; }
.hero__lede { margin-top: var(--space-md); font-size: 0.98rem; color: var(--on-dark-muted); line-height: 1.6; max-width: 42ch; }
.hero .btn-row { margin-top: var(--space-lg); align-items: center; }
.hero__note { margin-top: var(--space-md); font-size: var(--step--1); color: var(--on-dark-muted); }

/* Social-proof row */
.proof { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-bottom: var(--space-md); }
.proof__marks { display: flex; }
.proof__mark {
  width: 1.7rem; height: 1.7rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--text-on-accent); box-shadow: var(--shadow-sm);
  margin-left: -0.45rem; font-size: 0.72rem; font-weight: 800;
  border: 2px solid var(--surface-dark);
}
.proof__mark:first-child { margin-left: 0; }
.proof__stars { color: var(--accent); font-size: 0.85rem; letter-spacing: 0.08em; }
.proof__text { font-size: 0.78rem; color: var(--on-dark-muted); }
.proof__text strong { color: var(--ltf-white); }

/* Outlined capability tags */
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 0 0 var(--space-md); }
.tags li {
  font-size: 0.72rem; font-weight: 600; padding: 0.3rem 0.7rem;
  border: 1px solid var(--on-dark-outline); border-radius: var(--radius-pill); color: var(--on-dark-muted);
}

/* Assurance block, top-right of the hero */
.assurance {
  display: grid; gap: 0.15rem; justify-items: start; margin-bottom: var(--space-md);
  background: rgb(4 31 15 / 78%); backdrop-filter: blur(8px);
  border-radius: var(--radius-sm); padding: 0.6rem 0.8rem; width: fit-content;
}
@media (min-width: 900px) { .assurance { margin-left: auto; } }
@media (min-width: 900px) { .assurance { justify-items: end; text-align: right; } }
.assurance strong { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.8rem; color: var(--ltf-white); }
.assurance span { font-size: 0.72rem; color: var(--on-dark); opacity: 0.85; }

/* Glass stat card */
.statcard {
  display: flex; align-items: center; gap: var(--space-md);
  width: fit-content; max-width: 100%; margin-left: auto;
  background: rgb(4 31 15 / 74%); backdrop-filter: blur(10px);
  border: 1px solid rgb(255 255 255 / 18%); border-radius: var(--radius-md);
  padding: var(--space-sm);
}
.statcard > div { min-width: 6.5rem; }
.statcard__value { font-size: var(--step-2); font-weight: 800; line-height: 1; }
.statcard__label { font-size: 0.72rem; color: var(--on-dark-muted); }
.statcard__faces { display: flex; margin-top: 0.4rem; }
.statcard__face {
  width: 1.35rem; height: 1.35rem; border-radius: 50%; margin-left: -0.4rem;
  border: 2px solid var(--surface-dark); background: var(--accent);
  display: grid; place-items: center; font-size: 0.55rem; font-weight: 800; color: var(--text-on-accent);
}
.statcard__face:first-child { margin-left: 0; }
.statcard__media { position: relative; flex: none; width: 7.5rem; margin: 0; border-radius: var(--radius-xs); overflow: hidden; }
.statcard__media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.statcard__play {
  position: absolute; inset: 0; margin: auto; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--accent); color: var(--text-on-accent); border: 0; cursor: pointer;
  display: grid; place-items: center; font-size: 0.7rem;
}

/* ---------- Journey / steps ---------- */
.journey { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); list-style: none; padding: 0; margin: 0; }
.journey li {
  display: inline-flex; align-items: center; gap: var(--space-sm);
  font-weight: 800; font-size: var(--step-1); letter-spacing: var(--tracking-tight);
}
.journey li::after { content: "→"; color: var(--accent); font-weight: 700; }
.journey li:last-child::after { content: ""; }
.journey--muted li { font-size: var(--step-0); color: var(--text-muted); font-weight: 700; }

.steps { counter-reset: step; list-style: none; padding: 0; }
.step { position: relative; padding-left: 4.25rem; padding-bottom: var(--space-xl); }
.step:last-child { padding-bottom: 0; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 3rem; height: 3rem;
  background: var(--brand-soft); color: var(--brand); border-radius: var(--radius-md);
  font-weight: 800; font-size: 0.95rem;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; left: 1.5rem; top: 3.4rem; bottom: 0.4rem;
  width: 2px; background: var(--border);
}
.step__title { font-size: var(--step-1); }
.step__body { margin-top: var(--space-xs); color: var(--text-muted); }

/* ---------- Cards ---------- */
.card {
  display: flex; flex-direction: column; gap: var(--space-sm);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: var(--space-md); box-shadow: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.card--link:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.card__media { margin: calc(-1 * var(--space-md)) calc(-1 * var(--space-md)) 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; aspect-ratio: 16 / 9; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media + .badge, .card__media ~ .card__title { margin-top: var(--space-xs); }
.card__icon { width: 2.1rem; height: 2.1rem; display: grid; place-items: center; border-radius: var(--radius-md); background: var(--accent-soft); color: var(--brand); }
.card__title { font-size: var(--step-0); font-weight: 700; }
.card__title a { color: inherit; text-decoration: none; }
.card--link .card__title a::after { content: ""; position: absolute; inset: 0; }
.card--link { position: relative; }
.card__body { color: var(--text-muted); font-size: 0.86rem; }
.card__meta { margin-top: auto; padding-top: var(--space-sm); display: flex; flex-wrap: wrap; gap: var(--space-sm); font-size: var(--step--1); color: var(--text-faint); }
.card__cta { margin-top: auto; padding-top: var(--space-sm); font-weight: 700; color: var(--brand); font-size: 0.95rem; }

.badge {
  display: inline-block; padding: 0.22rem 0.5rem; border-radius: var(--radius-sm);
  background: var(--brand-soft); color: var(--brand);
  font-size: 0.66rem; font-weight: 700; letter-spacing: var(--tracking-wide); text-transform: uppercase;
}
.badge--accent { background: var(--accent-soft); color: var(--accent-hover); }
.badge--open { background: var(--accent); color: var(--text-on-accent); }

/* ---------- Prose ---------- */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: var(--space-md); }
.prose h2 { font-size: var(--step-2); margin-top: var(--space-2xl); }
.prose h3 { font-size: var(--step-1); margin-top: var(--space-xl); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: var(--space-xs); }
.prose blockquote {
  border-left: 3px solid var(--accent); padding-left: var(--space-lg);
  font-size: var(--step-1); font-weight: 600; line-height: var(--leading-snug); color: var(--text);
}
.prose img { border-radius: var(--radius-md); }
.prose a { font-weight: 600; }

.pull {
  font-size: var(--step-2); font-weight: 800; line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight); text-wrap: balance;
}
.pull em { font-style: normal; color: var(--brand); }
.section--inverse .pull em { color: var(--accent); }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--space-md); }
.field { display: grid; gap: var(--space-2xs); }
.field__label { font-weight: 700; font-size: 0.92rem; }
.field__hint { font-size: var(--step--1); color: var(--text-muted); }
.field__error { font-size: var(--step--1); color: var(--danger); font-weight: 600; }

.input, .select, .textarea {
  width: 100%; padding: 0.58rem 0.7rem; font: inherit; font-size: 0.92rem;
  color: var(--text); background: var(--surface);
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.input::placeholder, .textarea::placeholder { color: var(--text-faint); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--border-strong); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent);
}
.textarea { min-height: 7.5rem; resize: vertical; }

.select {
  appearance: none; padding-right: 2.75rem; cursor: pointer;
  background-image: var(--select-chevron);
  background-repeat: no-repeat; background-position: right 1rem center;
}
:root[data-theme="dark"] .select { background-image: var(--select-chevron-dark); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .select { background-image: var(--select-chevron-dark); }
}
/* Native option list can't be fully styled; set both so no default blue shows. */
.select option { background: var(--surface); color: var(--text); }

input[type="checkbox"], input[type="radio"], input[type="range"], progress { accent-color: var(--brand); }
.check { display: grid; grid-template-columns: auto 1fr; gap: var(--space-sm); align-items: start; font-size: 0.95rem; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; }

input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, textarea:-webkit-autofill, select:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 1000px var(--surface) inset;
  caret-color: var(--brand);
  transition: background-color 9999s ease-in-out 0s;
}

.form-note { font-size: var(--step--1); color: var(--text-muted); }
.form-status { padding: var(--space-md); border-radius: var(--radius-md); font-weight: 600; }
.form-status--ok { background: var(--accent-soft); color: var(--text); border: 1px solid var(--accent); }
.form-status--error { background: var(--danger-soft); color: var(--text); border: 1px solid var(--danger); }

/* Honeypot — hidden from people, visible to bots. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface-dark); color: var(--on-dark-muted); padding-block: var(--space-3xl) var(--space-xl); }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer__grid { display: grid; gap: var(--space-xl); }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer__brand .brand { color: var(--ltf-white); }
.footer__brand .brand__name span { color: var(--accent); }
.footer__tagline { margin-top: var(--space-md); max-width: 30ch; font-size: 0.95rem; }
.footer__title { color: var(--ltf-white); font-size: 0.78rem; font-weight: 800; letter-spacing: var(--tracking-wide); text-transform: uppercase; margin-bottom: var(--space-md); }
.footer__list { list-style: none; padding: 0; display: grid; gap: var(--space-xs); font-size: 0.95rem; }
.footer__bottom {
  margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: 1px solid var(--on-dark-border);
  display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: space-between;
  font-size: var(--step--1); color: var(--on-dark-faint);
}


/* ---------- 771 Experience ---------- */
.fact-pills { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-lg); padding: 0; list-style: none; }
.fact-pill {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.42rem 0.7rem; border-radius: var(--radius-sm);
  background: rgb(255 255 255 / 10%); border: 1px solid var(--on-dark-outline);
  color: var(--ltf-white); font-size: 0.88rem; font-weight: 600; line-height: 1;
  backdrop-filter: blur(4px);
}
.fact-pill svg { flex: none; color: var(--accent); }
.fact-pill--accent { background: var(--accent); border-color: var(--accent); color: var(--text-on-accent); font-weight: 700; }
.fact-pill--accent svg { color: currentColor; }

.day-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.day { display: grid; gap: var(--space-sm); background: var(--surface); padding: var(--space-md); }
@media (min-width: 720px) { .day { grid-template-columns: 7.5rem 1fr; gap: var(--space-lg); align-items: start; } }
.day__head { display: flex; align-items: baseline; gap: var(--space-xs); }
@media (min-width: 720px) { .day__head { flex-direction: column; gap: 0.15rem; } }
.day__number { font-size: 0.72rem; font-weight: 700; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--brand); }
.day__date { font-size: 0.72rem; color: var(--text-faint); font-weight: 600; }
.day__body { display: grid; gap: var(--space-2xs); }
.day__title { font-size: var(--step-1); font-weight: 700; }
.day__text { font-size: 0.86rem; color: var(--text-muted); }
.day__shift { font-size: 0.86rem; color: var(--text); display: flex; gap: 0.4rem; flex-wrap: wrap; }
.day__shift span { flex: none; font-size: 0.64rem; font-weight: 700; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--accent-hover); background: var(--accent-soft); padding: 0.1rem 0.35rem; border-radius: var(--radius-sm); align-self: center; }

.launch { display: grid; gap: var(--space-xl); align-items: center; }
@media (min-width: 800px) { .launch { grid-template-columns: 1.3fr 1fr; } }
.launch__facts { list-style: none; padding: var(--space-lg); margin: 0; display: grid; gap: var(--space-md); background: var(--surface-veil); border-radius: var(--radius-lg); }
.launch__facts li { display: grid; gap: 0.15rem; }
.launch__facts strong { font-size: 0.72rem; font-weight: 800; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--accent); }

.form-wrap { max-width: 34rem; margin-inline: auto; }

/* ---------- Home ---------- */
.split { display: grid; gap: var(--space-xl); }
@media (min-width: 840px) { .split { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); } }
.split--center { align-items: center; }
.split > div > p + p { margin-top: var(--space-md); }
.split p:not(.eyebrow):not(.pull) { color: var(--text-muted); }
.section--inverse .split p:not(.eyebrow):not(.pull) { color: var(--on-dark-muted); }

.journey--center { justify-content: center; text-align: center; }
.journey--stack {
  flex-direction: column; align-items: flex-start; gap: var(--space-md);
  background: var(--surface-veil); border-radius: var(--radius-lg); padding: var(--space-xl);
}
.journey--stack li::after { content: ""; }
.journey--stack li { counter-increment: j; }
.journey--stack li::before {
  content: "→"; color: var(--accent); font-weight: 700; margin-right: var(--space-xs);
}

.quote {
  background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg); padding: var(--space-xl); box-shadow: var(--shadow-sm);
}
.quote p { font-size: var(--step-2); font-weight: 800; line-height: var(--leading-snug); letter-spacing: var(--tracking-tight); color: var(--text); }
.quote cite { display: block; margin-top: var(--space-md); font-style: normal; font-size: var(--step--1); font-weight: 700; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text-muted); }

.text-center { text-align: center; }
.mt-xl { margin-top: var(--space-xl); }

/* ---------- Page banner ---------- */
.page-head {
  background: var(--bg-subtle); border-bottom: 1px solid var(--border);
  padding-block: var(--space-xl);
}
.page-head__title { font-size: var(--step-4); margin-top: var(--space-sm); max-width: 24ch; }
.page-head__lede { margin-top: var(--space-xs); font-size: var(--step-0); color: var(--text-muted); line-height: var(--leading-snug); max-width: 58ch; }

.feature-image { margin: 0 0 var(--space-xl); border-radius: var(--radius-lg); overflow: hidden; }
.feature-image img { width: 100%; }

.empty { font-size: var(--step-1); color: var(--text-muted); max-width: 52ch; margin-bottom: var(--space-lg); }

.callout { background: var(--bg-subtle); border-left: 4px solid var(--accent); border-radius: var(--radius-lg); padding: var(--space-xl); }

/* ---------- Lists ---------- */
.ticks { list-style: none; padding: 0; margin-top: var(--space-lg); display: grid; gap: var(--space-sm); }
.ticks li { position: relative; padding-left: 2rem; color: var(--text-muted); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.45em;
  width: 1.15rem; height: 0.6rem; border-left: 2.5px solid var(--accent-hover); border-bottom: 2.5px solid var(--accent-hover);
  transform: rotate(-45deg);
}

.facts { list-style: none; padding: var(--space-lg); margin: 0; display: grid; gap: var(--space-md); background: var(--bg-subtle); border-radius: var(--radius-lg); border: 1px solid var(--border); }
.facts li { display: grid; gap: 0.15rem; }
.facts strong { font-size: 0.72rem; font-weight: 800; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--brand); }

/* ---------- Opportunity decision page ---------- */
.decision { display: grid; gap: var(--space-2xl); align-items: start; }
@media (min-width: 960px) { .decision { grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); } }
@media (min-width: 960px) { .decision__aside { position: sticky; top: calc(var(--header-h) + var(--space-lg)); } }

.decision__block { padding-top: var(--space-xl); margin-top: var(--space-xl); border-top: 1px solid var(--border); }
.decision__heading { font-size: var(--step-1); margin-bottom: var(--space-md); }
.decision__list { list-style: none; padding: 0; display: grid; gap: var(--space-sm); }
.decision__list li { position: relative; padding-left: 1.5rem; color: var(--text-muted); }
.decision__list li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

.decision__block--risk { background: var(--bg-subtle); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: var(--space-xl); }
.decision__block--risk .decision__list li::before { background: var(--danger); }
.decision__block--ask .decision__list li::before { background: var(--accent-hover); }

.decision__card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-lg); box-shadow: var(--shadow-md); }
.decision__card .form-wrap { max-width: none; margin: 0; }
.decision__note { font-size: 0.9rem; color: var(--text-muted); margin-bottom: var(--space-lg); }
.decision__disclaimer { margin-top: var(--space-lg); font-size: 0.8rem; color: var(--text-faint); line-height: 1.55; }

/* ---------- Calculator ---------- */
.calc { display: grid; gap: var(--space-xl); align-items: start; }
@media (min-width: 900px) { .calc { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); } }
.calc__results { background: var(--bg-subtle); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-xl); }
@media (min-width: 900px) { .calc__results { position: sticky; top: calc(var(--header-h) + var(--space-lg)); } }
.calc__list { margin: 0; display: grid; gap: var(--space-sm); }
.calc__row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-md); padding-block: var(--space-sm); border-bottom: 1px solid var(--border); }
.calc__row:last-child { border-bottom: 0; }
.calc__row dt { color: var(--text-muted); font-size: 0.95rem; }
.calc__row dd { margin: 0; font-weight: 800; font-size: var(--step-1); font-variant-numeric: tabular-nums; letter-spacing: var(--tracking-tight); }
.calc__disclaimer { margin-top: var(--space-lg); padding-top: var(--space-lg); border-top: 1px solid var(--border); font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

/* ---------- Pagination ---------- */
.pagination { margin-top: var(--space-2xl); display: flex; justify-content: center; }
.nav-links { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.page-numbers {
  display: grid; place-items: center; min-width: 2.75rem; height: 2.75rem; padding-inline: var(--space-sm);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  text-decoration: none; color: var(--text); font-weight: 700;
}
.page-numbers:hover { border-color: var(--brand); color: var(--brand); }
.page-numbers.current { background: var(--brand); border-color: var(--brand); color: var(--text-on-brand); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Accordion (progressive disclosure; native <details>, no JavaScript) ---------- */
.accordion { display: grid; gap: var(--space-sm); }
.accordion__item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: border-color var(--transition);
}
.accordion__item[open] { border-color: var(--brand); }
.accordion__summary {
  display: flex; align-items: center; gap: var(--space-md); cursor: pointer;
  padding: var(--space-lg); font-weight: 800; font-size: var(--step-1);
  letter-spacing: var(--tracking-tight); list-style: none;
}
.accordion__summary::-webkit-details-marker { display: none; }
.accordion__summary:hover { color: var(--brand); }
.accordion__summary:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.accordion__count {
  margin-left: auto; flex: none; font-size: var(--step--1); font-weight: 700;
  color: var(--text-muted); letter-spacing: 0;
}
.accordion__chevron { flex: none; color: var(--brand); transition: transform var(--transition); }
.accordion__item[open] .accordion__chevron { transform: rotate(180deg); }
.accordion__body { padding: 0 var(--space-lg) var(--space-lg); }

/* ---------- Stat tiles ---------- */
.stats { display: grid; gap: var(--space-md); }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); } }
.stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--space-lg); border-top: 3px solid var(--accent);
}
.stat__value { font-size: var(--step-3); font-weight: 800; letter-spacing: var(--tracking-tight); font-variant-numeric: tabular-nums; }
.stat__label { margin-top: var(--space-2xs); font-size: var(--step--1); color: var(--text-muted); }
.section--inverse .stat { background: var(--surface-veil); border-color: var(--on-dark-border); }
.section--inverse .stat__label { color: var(--on-dark-muted); }

/* ---------- Notice ---------- */
.notice {
  display: grid; gap: var(--space-2xs);
  padding: var(--space-md) var(--space-lg); border-radius: var(--radius-md);
  border: 1px solid var(--border); background: var(--bg-subtle); font-size: 0.95rem;
}
.notice--info { border-color: var(--brand); background: var(--brand-soft); }
.notice--accent { border-color: var(--accent); background: var(--accent-soft); }
.notice--warn { border-color: var(--danger); background: var(--danger-soft); }
.notice__title { font-weight: 800; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: var(--space-xs); list-style: none; padding: 0; margin-bottom: var(--space-md); font-size: var(--step--1); }
.breadcrumb li::after { content: "/"; margin-left: var(--space-xs); color: var(--text-faint); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }


/* ---------- Photography ---------- */
.media-figure { margin: 0 0 var(--space-lg); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); }
.media-figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; display: block; }
/* Keeps a photograph from out-weighing the copy it sits beside. */
.media-figure--short img { aspect-ratio: 21 / 9; max-height: 210px; }
.media-figure figcaption { padding: var(--space-xs) var(--space-sm); font-size: var(--step--1); color: var(--text-muted); background: var(--bg-subtle); }
.section--inverse .media-figure { border-color: var(--on-dark-border); }

/* Phones: short cards pair up so the page is not an endless single column. */
@media (min-width: 430px) and (max-width: 639px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 .card { padding: var(--space-md); }
  .grid--4 .card__title { font-size: var(--step-0); }
  .grid--4 .card__body { font-size: 0.85rem; }
    .day { padding: var(--space-md); }
  .day__title { font-size: var(--step-0); }
}


/* ---------- Broadcast platforms ---------- */
.platforms { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs); list-style: none; padding: 0; margin: var(--space-lg) 0 0; }
.platforms__label { font-size: 0.7rem; font-weight: 700; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--on-dark-faint); }
.platforms li { font-size: 0.82rem; font-weight: 600; color: var(--on-dark-muted); padding: 0.28rem 0.55rem; border: 1px solid var(--on-dark-outline); border-radius: var(--radius-sm); }

/* Two plain sections in a row would otherwise stack their padding into a large gap. */
.section:not(.section--subtle):not(.section--inverse) + .section:not(.section--subtle):not(.section--inverse) {
  padding-top: 0;
}

/* ---------- Section head: heading left, supporting note right ---------- */
.section__bar { display: grid; gap: var(--space-md); align-items: end; margin-bottom: var(--space-xl); }
@media (min-width: 820px) { .section__bar { grid-template-columns: minmax(0, 1fr) auto; } }
.section__bar .section__title { max-width: 14ch; }
.section__aside { display: flex; align-items: center; gap: var(--space-md); }
.section__note { font-size: 0.85rem; color: var(--text-muted); max-width: 30ch; text-align: right; }
.round-btn {
  display: grid; place-items: center; flex: none; width: 2.4rem; height: 2.4rem;
  border-radius: 50%; border: 1px solid var(--border-strong); background: var(--canvas);
  color: var(--text); cursor: pointer; font-size: 0.9rem;
}
.round-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--text-on-accent); }
.round-btn--solid { background: var(--surface-dark); border-color: var(--surface-dark); color: var(--accent); }

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid var(--border); padding-block: var(--space-lg); }
.trust__list {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: var(--space-lg); list-style: none; padding: 0; margin: 0;
}
.trust__list li {
  font-family: var(--font-serif); font-size: 0.95rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 0.45rem;
}
.trust__list svg { color: var(--text-faint); flex: none; }

/* ---------- Intro: small image card beside body copy ---------- */
.intro { display: grid; gap: var(--space-xl); align-items: start; }
@media (min-width: 820px) { .intro { grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: var(--space-2xl); } }
.intro__media { border-radius: var(--radius-md); overflow: hidden; }
.intro__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.intro__links { display: flex; gap: 0.6rem; margin-top: var(--space-sm); color: var(--text-muted); }
.intro__body p { font-size: 1.02rem; line-height: 1.65; }
.intro__body p + p { margin-top: var(--space-md); }

/* ---------- Service carousel: photo cards that bleed past the container ---------- */
.rail { display: flex; gap: var(--space-md); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-xs); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail--bleed { margin-inline: calc(-1 * var(--gutter, 1.1rem)); padding-inline: var(--gutter, 1.1rem); }
.tile {
  position: relative; flex: 0 0 min(78vw, 17rem); scroll-snap-align: start;
  border-radius: var(--radius-md); overflow: hidden; isolation: isolate;
  aspect-ratio: 3 / 4; display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--space-md); color: var(--ltf-white);
}
.tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgb(4 31 15 / 88%) 8%, rgb(4 31 15 / 30%) 52%, rgb(4 31 15 / 10%) 100%);
}
.tile__tag {
  position: absolute; top: var(--space-md); left: var(--space-md);
  font-size: 0.66rem; font-weight: 600; padding: 0.25rem 0.55rem;
  background: rgb(255 255 255 / 16%); backdrop-filter: blur(6px);
  border-radius: var(--radius-pill); color: var(--ltf-white);
}
.tile__icon {
  position: absolute; top: var(--space-md); right: var(--space-md);
  width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--canvas); color: var(--text);
}
.tile__title { font-size: 1.05rem; font-weight: 700; }
.tile__text { font-size: 0.8rem; color: rgb(255 255 255 / 80%); margin-top: 0.2rem; }
.tile .btn { margin-top: var(--space-sm); align-self: flex-start; background: var(--canvas); color: var(--text); }
.tile .btn__arrow { background: var(--surface-dark); color: var(--accent); }

/* ---------- Process bento ---------- */
.bento { display: grid; gap: var(--space-md); }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(3, 1fr); } }
.stepcard {
  background: var(--canvas); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-xs);
}
.stepcard__n { font-size: 0.72rem; font-weight: 700; color: var(--text-muted); }
.stepcard__title { font-size: 1.05rem; font-weight: 700; }
.stepcard__text { font-size: 0.85rem; color: var(--text-muted); }
.stepcard__media { margin-top: auto; border-radius: var(--radius-xs); overflow: hidden; }
.stepcard__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.stepcard--tall { grid-row: span 2; }
.stepcard--wide { grid-column: 1 / -1; background: var(--surface-dark); border-color: var(--surface-dark); color: var(--ltf-white); }
.stepcard--wide .stepcard__n { color: var(--accent); }
.stepcard--wide .stepcard__title { font-size: var(--step-2); font-family: var(--font-serif); font-weight: 400; }
.stepcard--wide .stepcard__text { color: var(--on-dark-muted); }
.stepcard__grid { display: grid; gap: var(--space-lg); align-items: center; }
@media (min-width: 760px) { .stepcard__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.checks li { display: flex; gap: 0.5rem; align-items: center; font-size: 0.85rem; color: var(--on-dark-muted); }
.checks svg { color: var(--accent); flex: none; }


.footer__wordmark { margin-top: var(--space-sm); font-weight: 700; color: var(--ltf-white); font-size: 0.95rem; letter-spacing: var(--tracking-tight); }
.footer__wordmark span { display: block; font-size: 0.62rem; font-weight: 700; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--accent); }

/* The header pill follows the scheme, so the logo artwork must too. */
.brand img[src*="logo-full-white"] { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand img[src*="logo-full-dark"] { display: none; }
  :root:not([data-theme="light"]) .brand img[src*="logo-full-white"] { display: block; }
}
:root[data-theme="dark"] .brand img[src*="logo-full-dark"] { display: none; }
:root[data-theme="dark"] .brand img[src*="logo-full-white"] { display: block; }
/* The footer is always dark, so it always takes the white lockup. */
.site-footer .brand img[src*="logo-full-dark"] { display: none; }
.site-footer .brand img[src*="logo-full-white"] { display: block; }

/* On inner pages the header is in flow, so it needs no drop shadow. */
body:not(:has(#main > .hero:first-child)) .site-header__inner { box-shadow: none; }
