/* Beyond The Grind Co landing page
   Palette is sampled from the page photography: deep field green, morning-mist cream,
   and one sunrise-orange accent reserved for calls to action. */

@font-face { font-family: "Zodiak"; src: url("assets/fonts/zodiak-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Zodiak"; src: url("assets/fonts/zodiak-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Zodiak"; src: url("assets/fonts/zodiak-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("assets/fonts/general-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("assets/fonts/general-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --ink: #14201a;
  --ink-2: #1d2c24;
  --ink-line: rgba(243, 238, 228, 0.18);
  --paper: #f3eee4;
  --paper-2: #e9e3d5;
  --paper-3: #fbf8f2;
  --sage: #dfe3d6;
  --text: #14201a;
  --text-muted: #4c584f;
  --text-on-ink: #f3eee4;
  --text-on-ink-muted: #b9c3b7;
  --line: rgba(20, 32, 26, 0.16);
  --accent: #e86a2c;
  --accent-hover: #f07d43;
  --error: #a3271b;
  --focus: #8e3718;
  --field-line: #6f7a71;
  --accent-on-ink: #f08a52;
  --text-on-ink-soft: #e2ddd2;

  --font-display: "Zodiak", "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "General Sans", "Helvetica Neue", Arial, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --h3: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  --h2: clamp(2.25rem, 1.5rem + 3.2vw, 4rem);
  --hero: clamp(2rem, 1.5rem + 2.1vw, 3.5rem);
  --closing: clamp(2.75rem, 1.4rem + 5.4vw, 5.75rem);

  --wrap: 76rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 9vw, 8rem);
  --radius: 6px;
  --radius-lg: 14px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 3.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure, ol, dl, dd, fieldset, legend { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ol { list-style: none; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--ink); }

.wrap { width: calc(100% - 2 * var(--gutter)); max-width: var(--wrap); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 100; padding: 0.75rem 1rem; background: var(--accent); color: var(--ink); font-weight: 600; border-radius: var(--radius); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

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

/* ---------- Type ---------- */
.display { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.015em; line-height: 1.08; text-wrap: balance; overflow-wrap: break-word; }
.display em { font-style: italic; letter-spacing: -0.02em; }
.h2 { font-size: var(--h2); }
.h3 { font-size: var(--h3); line-height: 1.12; }
.eyebrow { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.eyebrow span { margin-inline: 0.4em; opacity: 0.6; }
.eyebrow--light { color: var(--text-on-ink-muted); }
.section__lede { max-width: 34rem; margin-top: 1.25rem; font-size: var(--text-lg); color: var(--text-muted); }

/* ---------- Links & buttons ---------- */
.link { position: relative; text-decoration: none; font-size: var(--text-sm); font-weight: 600; padding-block: 0.35rem; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.link:hover::after, .link:focus-visible::after { transform: scaleX(1); }
.link--light { color: var(--text-on-ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.25rem; padding: 0.85rem 1.5rem;
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: var(--text-base); font-weight: 600; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn__arrow { display: inline-block; transition: transform 0.3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 2.75rem; padding: 0.6rem 1.1rem; font-size: var(--text-sm); white-space: nowrap; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--ink { background: var(--ink); color: var(--text-on-ink); }
.btn--ink:hover { background: var(--ink-2); }
.btn--ghost-light { background: transparent; color: var(--text-on-ink); border-color: rgba(243, 238, 228, 0.5); }
.btn--ghost-light:hover { background: rgba(243, 238, 228, 0.1); border-color: var(--text-on-ink); }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 50; background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; letter-spacing: -0.01em; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.wordmark span { font-weight: 400; font-style: italic; }
.site-header__cta { display: none; }
@media (min-width: 60rem) {
  .site-header { position: sticky; top: 0; background: rgba(243, 238, 228, 0.96); }
  .site-header__cta { display: inline-flex; }
  .wordmark { font-size: 1.25rem; }
}

/* ---------- Hero: offer + lead form ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--paper-3); }
.hero__visual { --focus: var(--paper); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; background: var(--ink); color: var(--text-on-ink); }
.hero__media { position: relative; height: 6.5rem; overflow: hidden; }
.hero__media picture { position: absolute; inset: 0; display: block; }
.hero__media img { display: block; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 62% 46%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ink) 0%, rgba(20, 32, 26, 0.35) 55%, rgba(20, 32, 26, 0.15) 100%); }
.hero__copy { padding: 0.25rem var(--gutter) 1.75rem; }
.hero__kicker { margin-bottom: 0.6rem; font-family: var(--font-display); font-style: italic; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.25rem); line-height: 1.3; color: var(--text-on-ink-muted); }
.hero__title { font-size: var(--hero); line-height: 1.08; max-width: 22ch; overflow-wrap: break-word; }
.hero__title em { color: var(--accent-on-ink); }
.hero__lede { max-width: 34rem; margin-top: 1rem; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem); line-height: 1.55; color: var(--text-on-ink-soft); }
.hero__points { display: none; margin: 0; padding: 0; list-style: none; }
.hero__form { padding: 1.5rem var(--gutter) 2.5rem; scroll-margin-top: 0.5rem; }
.hero__form:focus { outline: none; }

@media (max-width: 22.49rem) {
  .wordmark { white-space: normal; }
  .hero__media { height: 4.5rem; }
  .hero__kicker { display: none; }
  .hero__copy { padding-bottom: 1.25rem; }
  .hero__lede { margin-top: 0.75rem; font-size: 0.9375rem; line-height: 1.5; }
  .hero__form { padding-top: 1.1rem; }
}

@media (min-width: 40rem) {
  .hero__media { height: 11rem; }
  .hero__copy { padding-bottom: 2.5rem; }
  .hero__form { padding-block: 2.5rem 3.5rem; }
  .lead { max-width: 34rem; margin-inline: auto; }
  .hero__copy { width: min(100%, 34rem + 2 * var(--gutter)); margin-inline: auto; }
}

@media (min-width: 60rem) {
  .hero { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); }
  .hero__visual { grid-template-rows: minmax(10rem, 1fr) auto; }
  .hero__media { height: auto; min-height: 0; }
  .hero__media img { object-position: 82% 42%; }
  .hero__copy { width: auto; margin: 0; padding: 0.5rem clamp(2rem, 4vw, 4rem) clamp(2.5rem, 6vh, 4rem) max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
  .hero__kicker { margin-bottom: 1rem; }
  .hero__lede { margin-top: 1.4rem; }
  .hero__points { display: flex; flex-wrap: wrap; gap: 0.6rem 1.75rem; margin-top: 1.75rem; font-size: var(--text-sm); font-weight: 600; color: var(--text-on-ink); }
  .hero__points li { position: relative; padding-left: 1.5rem; }
  .hero__points li::before { content: ""; position: absolute; left: 0.2rem; top: 0.22em; width: 0.4rem; height: 0.72rem; border: solid var(--accent-on-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
  .hero__form { display: flex; align-items: flex-start; padding: clamp(1.25rem, 3.5vh, 3rem) max(var(--gutter), calc((100vw - var(--wrap)) / 2)) clamp(1.25rem, 3.5vh, 3rem) clamp(2rem, 4.5vw, 4.5rem); scroll-margin-top: var(--header-h); }
  .lead { width: 100%; max-width: 30rem; margin: 0; }
}

/* ---------- Lead form ---------- */
.lead__group + .lead__group { margin-top: 1.25rem; }
.lead__legend { padding: 0; font-size: clamp(1.625rem, 1.35rem + 1.1vw, 2.25rem); line-height: 1.12; }
.lead__asked { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 1rem; margin-top: 0.6rem; padding: 0.35rem 0.5rem 0.35rem 0.9rem; background: var(--sage); border-radius: var(--radius); font-size: var(--text-sm); line-height: 1.4; }
.lead__asked[hidden] { display: none; }
.lead__asked-clear { min-height: 2.25rem; padding: 0.25rem 0.5rem; background: none; border: 0; font: inherit; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--focus); text-underline-offset: 3px; cursor: pointer; }
.lead__sublegend { padding: 0; font-size: var(--text-lg); font-weight: 600; line-height: 1.3; }
.choices { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.45rem; margin-top: 0.85rem; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice__row { display: flex; align-items: center; gap: 0.8rem; min-height: 2.875rem; padding: 0.55rem 0.9rem; background: #fff; border: 1.5px solid var(--field-line); border-radius: var(--radius); transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease); }
.choice__title { min-width: 0; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.choice__mark { position: relative; flex: none; width: 1.35rem; height: 1.35rem; border: 1.5px solid var(--field-line); border-radius: 50%; background: #fff; }
.choice__mark::after { content: ""; position: absolute; left: 50%; top: 46%; width: 0.34rem; height: 0.62rem; border: solid var(--ink); border-width: 0 2px 2px 0; transform: translate(-50%, -50%) rotate(45deg); opacity: 0; }
.choice:hover .choice__row { border-color: var(--ink); }
.choice input:checked + .choice__row { background: var(--ink); border-color: var(--ink); color: var(--text-on-ink); }
.choice input:checked + .choice__row .choice__mark { background: var(--accent); border-color: var(--accent); }
.choice input:checked + .choice__row .choice__mark::after { opacity: 1; }
.choice input:focus + .choice__row { outline: 2px solid var(--focus); outline-offset: 2px; }
.choice input:focus:not(:focus-visible) + .choice__row { outline: none; }

.fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.7rem 0.75rem; margin-top: 0.7rem; }
.field { display: grid; gap: 0.3rem; align-content: start; min-width: 0; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 21.5rem) { .field { grid-column: 1 / -1; } }
.field label { font-size: var(--text-sm); font-weight: 600; }
.field input { width: 100%; min-height: 3rem; padding: 0.65rem 0.85rem; background: #fff; color: var(--ink); border: 1.5px solid var(--field-line); border-radius: var(--radius); font-size: 1rem; transition: border-color 0.2s var(--ease); }
.field input:hover { border-color: var(--ink); }
.field input:focus { outline: 2px solid var(--focus); outline-offset: 2px; border-color: var(--ink); }
.field input[aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field__hint { font-size: var(--text-xs); line-height: 1.4; color: var(--text-muted); }
.field__error { font-size: var(--text-sm); font-weight: 600; line-height: 1.4; color: var(--error); }
.field__error:empty { display: none; }
.form__consent { margin-top: 0.9rem; font-size: var(--text-xs); line-height: 1.55; color: var(--text-muted); }
.form__consent a, .faq__item a { color: var(--ink); font-weight: 600; text-decoration-color: var(--focus); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.form__status { margin-top: 0.85rem; padding: 0.75rem 0.9rem; background: #fff; border: 2px solid var(--error); border-radius: var(--radius); font-size: var(--text-sm); font-weight: 600; line-height: 1.45; color: var(--error); }
.form__status:empty { margin: 0; padding: 0; border: 0; }
.lead__submit { margin-top: 0.85rem; min-height: 3.5rem; font-size: 1.0625rem; }
.lead__note { margin-top: 0.7rem; font-size: var(--text-xs); text-align: center; color: var(--text-muted); }
.lead.is-nudged { animation: nudge 0.6s var(--ease); }

/* Short laptop screens: keep the whole form, button included, in the first screen */
@media (min-width: 60rem) and (max-height: 47.5rem) {
  .hero__form { padding-block: 0.9rem 1.25rem; }
  .choice__row { min-height: 2.625rem; padding-block: 0.4rem; }
  .choices { margin-top: 0.7rem; }
  .lead__group + .lead__group { margin-top: 1rem; }
  .field input { min-height: 2.75rem; padding-block: 0.5rem; }
  .fields { row-gap: 0.55rem; }
  .form__consent { margin-top: 0.7rem; }
  .lead__submit { margin-top: 0.7rem; min-height: 3.125rem; }
}
/* Keep the send button on the first screen of a laptop when the "Asking about" note is showing */
@media (min-width: 60rem) and (max-height: 50rem) {
  .lead__asked { flex-wrap: nowrap; margin-top: 0.4rem; padding: 0 0 0 0.1rem; background: none; font-size: var(--text-xs); }
  .lead__asked > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lead__asked-clear { flex: none; min-height: 1.5rem; padding-block: 0; }
  .lead:has(.lead__asked:not([hidden])) .lead__group + .lead__group { margin-top: 0.6rem; }
}
@keyframes nudge { 0% { transform: none; } 35% { transform: translateY(-6px); } 100% { transform: none; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }

/* ---------- How it works ---------- */
.how { background: var(--sage); }
.how__head .h2 { margin-top: 1rem; }
.steps { display: grid; gap: 2.5rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); } }
.step { position: relative; padding-top: 1.5rem; }
.step::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--ink); transform-origin: left; transition: transform 1s var(--ease) 0.15s; }
.reveal-ready .step[data-reveal]:not(.is-in)::before { transform: scaleX(0); }
.step__num { display: block; font-size: clamp(3.5rem, 2.5rem + 4vw, 5.5rem); font-style: italic; line-height: 1.1; color: var(--ink); }
.step__title { margin-top: 0.75rem; font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem); font-weight: 600; line-height: 1.3; }
.step p { max-width: 22rem; margin-top: 0.5rem; color: var(--text-muted); }

/* ---------- Products ---------- */
.products__head { max-width: 46rem; }
.products__head .h2 { margin-top: 1rem; }
.products__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; margin: clamp(2rem, 5vw, 3.5rem) 0 0; padding: 0; list-style: none; }
.product { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; align-items: start; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.product__media { overflow: hidden; border-radius: var(--radius); aspect-ratio: 1; background: var(--paper-2); }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.product:hover .product__media img { transform: scale(1.03); }
.product__body { display: grid; gap: 0.35rem; justify-items: start; min-width: 0; }
.product__tag { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; min-height: 1.5rem; font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.product__new { padding: 0.15rem 0.5rem; background: var(--ink); color: var(--paper); border-radius: 999px; font-size: 0.6875rem; letter-spacing: 0.08em; }
.product__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.3125rem, 1.15rem + 0.6vw, 1.625rem); letter-spacing: -0.01em; line-height: 1.15; overflow-wrap: break-word; }
.product__text { font-size: 0.9375rem; line-height: 1.55; color: var(--text-muted); }
.product__link { display: inline-block; padding-block: 0.75rem; font-size: var(--text-sm); font-weight: 600; line-height: 1.4; color: var(--ink); text-decoration: none; }
.product__link-text { text-decoration: underline; text-decoration-color: var(--focus); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.products__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2.5rem; margin-top: clamp(1.75rem, 4vw, 3rem); }
/* Inline arrow so it can never wrap onto a line by itself */
.product__link .btn__arrow { display: inline; transform: none; }
.product__disclaimer { padding: 0.5rem 0.65rem; border: 1px solid rgba(20, 32, 26, 0.4); border-radius: 0.375rem; font-size: var(--text-xs); font-weight: 600; line-height: 1.5; color: var(--ink); }
.products__note { flex: 1 1 22rem; max-width: 40rem; font-size: var(--text-xs); line-height: 1.55; color: var(--text-muted); }
@media (min-width: 40rem) {
  .products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 2rem; }
  .product { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; padding-bottom: 0; border-bottom: 0; align-content: start; }
  .product__media { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); }
  .products__foot { padding-top: clamp(1.75rem, 3vw, 2.5rem); border-top: 1px solid var(--line); }
}
@media (min-width: 68rem) { .products__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem; } }

/* ---------- Paths ---------- */
.path { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.75rem, 5vw, 5rem); align-items: center; margin-top: clamp(3rem, 7vw, 6rem); }
.paths .wrap > .path:first-child { margin-top: 0; }
@media (min-width: 52rem) { .path { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } .path--flip .path__media { order: 2; } .path--flip { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }
.path__media { overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; background: var(--paper-2); }
.path__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.path:hover .path__media img { transform: scale(1.03); }
.path__copy { display: grid; gap: 1.1rem; justify-items: start; }
.path__copy > p:not(.eyebrow) { max-width: 30rem; font-size: var(--text-lg); color: var(--text-muted); }
.path__copy > p:last-child { margin-top: 0.5rem; }
.both { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: clamp(3rem, 7vw, 6rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--ink); }
.both__text { font-size: var(--h3); }

/* ---------- Closing ---------- */
.closing { --focus: var(--paper); position: relative; display: flex; align-items: flex-end; min-height: min(78vh, 46rem); background: var(--ink); color: var(--text-on-ink); overflow: hidden; isolation: isolate; }
.closing__media { position: absolute; inset: 0; z-index: -1; }
.closing__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.closing__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 22, 18, 0.9) 0%, rgba(14, 22, 18, 0.45) 55%, rgba(14, 22, 18, 0.15) 100%); }
.closing__content { padding-block: clamp(6rem, 14vh, 9rem) clamp(3.5rem, 8vh, 6rem); }
.closing__title { font-size: var(--closing); line-height: 1.05; }
.closing__lede { margin-block: 1.25rem 2rem; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); color: rgba(243, 238, 228, 0.9); }

/* ---------- Footer ---------- */
.site-footer { --focus: var(--paper); background: #0e1612; color: var(--text-on-ink-muted); }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 2rem; }
.wordmark--footer { color: var(--text-on-ink); }
.site-footer__meta { font-size: var(--text-sm); }

/* ---------- Reveal on scroll (content stays visible without JS) ---------- */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }
.reveal-ready [data-reveal="image"] { opacity: 1; transform: none; }
.reveal-ready [data-reveal="image"] img { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease), transform 1.2s var(--ease); }
.reveal-ready [data-reveal="image"].is-in img { clip-path: inset(0 0 0 0); }
.reveal-ready [data-reveal]:focus-within { opacity: 1; transform: none; transition: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .reveal-ready [data-reveal="image"] img { clip-path: none; }
}


/* ---------- Questions ---------- */
.faq { background: var(--sage); }
.faq__grid { display: grid; gap: clamp(2rem, 5vw, 5rem); }
@media (min-width: 56rem) { .faq__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; } }
.faq__head .h2 { margin-top: 1rem; }
.faq__list { border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--ink); }
.faq__item summary { position: relative; display: block; padding: 1.15rem 2.75rem 1.15rem 0; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); font-weight: 600; line-height: 1.35; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before, .faq__item summary::after { content: ""; position: absolute; right: 0.35rem; top: 50%; width: 1rem; height: 2px; margin-top: -1px; background: var(--ink); transition: transform 0.3s var(--ease); }
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::after { transform: rotate(0deg); }
.faq__item p { max-width: 38rem; padding: 0 2.75rem 1.35rem 0; color: var(--text-muted); }

/* ---------- Footer links ---------- */
.site-footer__links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.site-footer .link { display: inline-flex; align-items: center; min-height: 2.75rem; }

/* ---------- Mobile call-to-action dock ---------- */
.dock { --focus: var(--paper); position: fixed; inset: auto 0 0 0; z-index: 60; padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom, 0px)); background: rgba(20, 32, 26, 0.96); box-shadow: 0 -1px 0 var(--ink-line); transform: translateY(110%); visibility: hidden; transition: transform 0.35s var(--ease), visibility 0s linear 0.35s; }
.dock.is-visible { transform: none; visibility: visible; transition: transform 0.35s var(--ease), visibility 0s; }
.dock .btn { min-height: 3rem; }
@media (min-width: 60rem) { .dock { display: none; } }
@media (max-width: 59.99rem) { .has-dock .site-footer { padding-bottom: calc(4.2rem + env(safe-area-inset-bottom, 0px)); } }
.btn.is-busy { opacity: 0.75; cursor: progress; }
