/* ==========================================================================
   THE RESET — A Wiregrass Wellness Social
   Design system: warm cream, sage, olive, clay, taupe, charcoal
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(2.75rem, 0.5rem + 6.5vw, 7rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-pill: 999px;

  /* Fonts */
  --font-display: 'Zodiak', Georgia, serif;
  --font-body: 'Switzer', 'Inter', system-ui, sans-serif;

  /* Layout */
  --max-w: 1240px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(4rem, 9vw, 8rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 68px;
}

/* ---------- Light theme (default) ---------- */
:root,
[data-theme='light'] {
  --c-bg: #f6f2e9;
  --c-surface: #fbf8f1;
  --c-surface-2: #efe9dc;
  --c-surface-3: #e5ddcd;
  --c-border: #ddd3c0;
  --c-divider: #e7dfd0;

  --c-text: #26241f;
  --c-text-muted: #6b665c;
  --c-text-faint: #9b9488;
  --c-text-inverse: #fbf8f1;

  --c-olive: #4d5a3a;
  --c-olive-hover: #3c472c;
  --c-sage: #8b9a76;
  --c-sage-soft: #dfe4d4;
  --c-clay: #b0603c;
  --c-clay-hover: #954c2d;
  --c-clay-soft: #f0dfd4;
  --c-taupe: #a8998a;
  --c-charcoal: #26241f;

  --c-accent: var(--c-olive);
  --c-accent-hover: var(--c-olive-hover);

  --shadow-sm: 0 1px 2px rgba(38, 36, 31, 0.06), 0 2px 8px rgba(38, 36, 31, 0.04);
  --shadow-md: 0 4px 12px rgba(38, 36, 31, 0.07), 0 12px 32px rgba(38, 36, 31, 0.06);
  --shadow-lg: 0 12px 28px rgba(38, 36, 31, 0.1), 0 32px 64px rgba(38, 36, 31, 0.08);
  --img-tint: 0;
}

/* ---------- Dark theme ---------- */
[data-theme='dark'] {
  --c-bg: #1a1916;
  --c-surface: #22211c;
  --c-surface-2: #2b2924;
  --c-surface-3: #35322b;
  --c-border: #403c34;
  --c-divider: #34312a;

  --c-text: #f2ede2;
  --c-text-muted: #b0a89a;
  --c-text-faint: #857e72;
  --c-text-inverse: #1a1916;

  --c-olive: #a9b992;
  --c-olive-hover: #becdaa;
  --c-sage: #9aab84;
  --c-sage-soft: #313528;
  --c-clay: #d9855e;
  --c-clay-hover: #e79c78;
  --c-clay-soft: #3a2a20;
  --c-taupe: #b3a495;
  --c-charcoal: #f2ede2;

  --c-accent: var(--c-olive);
  --c-accent-hover: var(--c-olive-hover);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.45);
  --img-tint: 0.08;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--c-clay);
  outline-offset: 3px;
  border-radius: 3px;
}
::selection {
  background: var(--c-sage-soft);
  color: var(--c-text);
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h3,
h4 {
  line-height: 1.2;
}
p {
  text-wrap: pretty;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-clay);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  flex: none;
  opacity: 0.6;
}
.eyebrow--center {
  justify-content: center;
}

.h-display {
  font-size: var(--text-2xl);
}
.h-section {
  font-size: var(--text-xl);
}
.lede {
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--c-text-muted);
  max-width: 40ch;
}
.muted {
  color: var(--c-text-muted);
}
.prose {
  max-width: 62ch;
}
.prose p + p {
  margin-top: var(--space-4);
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow {
  max-width: 900px;
}
.section {
  padding-block: var(--section-y);
}
.section--tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}
.section--alt {
  background: var(--c-surface-2);
}
.section--dark {
  background: var(--c-charcoal);
  color: var(--c-bg);
}
[data-theme='dark'] .section--dark {
  background: var(--c-surface);
  color: var(--c-text);
}
/* On the charcoal band the light-mode muted greys fall to roughly the same
   value as the background, so body copy and outline buttons disappear.
   Re-light them against the dark surface. */
.section--dark .lede,
.section--dark p {
  color: rgba(247, 244, 237, 0.76);
}
.section--dark .lede strong,
.section--dark p strong,
.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--c-bg);
}
.section--dark .btn--ghost {
  color: var(--c-bg);
  border-color: rgba(247, 244, 237, 0.4);
}
.section--dark .btn--ghost:hover {
  color: var(--c-bg);
  border-color: var(--c-bg);
  background: rgba(247, 244, 237, 0.08);
}
[data-theme='dark'] .section--dark .lede,
[data-theme='dark'] .section--dark p {
  color: var(--c-text-muted);
}
[data-theme='dark'] .section--dark .lede strong,
[data-theme='dark'] .section--dark p strong,
[data-theme='dark'] .section--dark h1,
[data-theme='dark'] .section--dark h2,
[data-theme='dark'] .section--dark h3 {
  color: var(--c-text);
}
[data-theme='dark'] .section--dark .btn--ghost {
  color: var(--c-text);
  border-color: var(--c-border);
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
  max-width: 58ch;
}
.section-head--center {
  align-items: center;
  text-align: center;
  margin-inline: auto;
}
.section-head--split {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-8);
  max-width: none;
}
.section-head--split > div {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 46ch;
}
@media (max-width: 760px) {
  .section-head--split {
    flex-direction: column;
    align-items: flex-start;
  }
}

.grid {
  display: grid;
  gap: var(--space-6);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 960px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.9rem 1.6rem;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.25s var(--ease);
  text-align: center;
  line-height: 1.2;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn--primary {
  background: var(--c-clay);
  color: #fff;
  border-color: var(--c-clay);
}
[data-theme='dark'] .btn--primary {
  color: #1a1916;
}
.btn--primary:hover {
  background: var(--c-clay-hover);
  border-color: var(--c-clay-hover);
}
.btn--dark {
  background: var(--c-olive);
  color: var(--c-text-inverse);
  border-color: var(--c-olive);
}
[data-theme='dark'] .btn--dark {
  color: #1a1916;
}
.btn--dark:hover {
  background: var(--c-olive-hover);
  border-color: var(--c-olive-hover);
}
.btn--ghost {
  background: transparent;
  border-color: var(--c-border);
  color: var(--c-text);
}
.btn--ghost:hover {
  border-color: var(--c-text);
  background: var(--c-surface);
}
.btn--onlight-invert {
  background: transparent;
  border-color: rgba(251, 248, 241, 0.4);
  color: #fbf8f1;
}
.btn--onlight-invert:hover {
  background: rgba(251, 248, 241, 0.12);
  border-color: #fbf8f1;
}
.btn--lg {
  padding: 1.05rem 2.1rem;
  font-size: var(--text-base);
}
.btn--block {
  width: 100%;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-accent);
  border-bottom: 1.5px solid transparent;
  transition:
    gap 0.25s var(--ease),
    border-color 0.25s var(--ease);
  padding-bottom: 2px;
}
.link-arrow:hover {
  gap: var(--space-3);
  border-color: currentColor;
}
.link-arrow svg {
  flex: none;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--c-bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s var(--ease),
    background-color 0.3s var(--ease);
}
.header.is-scrolled {
  border-bottom-color: var(--c-border);
}
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex: none;
}
.brand__mark {
  width: 34px;
  height: 33px;
  flex: none;
  display: block;
  background: var(--c-olive);
  -webkit-mask: url('../img/logo-mark.svg') no-repeat center / contain;
  mask: url('../img/logo-mark.svg') no-repeat center / contain;
}
[data-theme='dark'] .brand__mark {
  background: var(--c-sage);
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.brand__sub {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-olive);
  margin-top: 5px;
  font-weight: 500;
}
[data-theme='dark'] .brand__sub {
  color: var(--c-sage);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.6vw, 1.5rem);
}
.nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--c-text-muted);
  padding: 0.4rem 0;
  border-bottom: 1.5px solid transparent;
  transition:
    color 0.2s var(--ease),
    border-color 0.2s var(--ease);
  white-space: nowrap;
}
.nav a:hover {
  color: var(--c-text);
}
.nav a.is-active {
  color: var(--c-text);
  border-bottom-color: var(--c-clay);
}
.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex: none;
}
.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  border: 1px solid var(--c-border);
  background: transparent;
  cursor: pointer;
  color: var(--c-text-muted);
  transition:
    color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    background 0.2s var(--ease);
  flex: none;
}
.icon-btn:hover {
  color: var(--c-text);
  border-color: var(--c-text-muted);
}
.nav-toggle,
.nav__cta {
  display: none;
}
.header .btn {
  padding: 0.65rem 1.25rem;
}

@media (max-width: 1000px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-border);
    padding: var(--space-2) var(--gutter) var(--space-6);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.25s var(--ease),
      transform 0.25s var(--ease),
      visibility 0.25s var(--ease);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .nav a {
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--c-divider);
    font-size: var(--text-base);
  }
  .nav a.is-active {
    border-bottom-color: var(--c-clay);
  }
  .nav .nav__cta {
    display: inline-flex;
    margin-top: var(--space-5);
    border-bottom: 0;
    justify-content: center;
    color: #fff;
    font-size: var(--text-sm);
  }
  .nav .nav__cta.is-active {
    border-bottom: 0;
  }
  .nav-toggle {
    display: grid;
  }
  .header__actions .btn {
    display: none;
  }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--c-charcoal);
  color: #d9d3c6;
  padding-block: clamp(3.5rem, 7vw, 6rem) var(--space-8);
}
[data-theme='dark'] .footer {
  background: var(--c-surface);
  color: var(--c-text-muted);
}
.footer a {
  color: #efe9dc;
  transition: color 0.2s var(--ease);
}
[data-theme='dark'] .footer a {
  color: var(--c-text);
}
.footer a:hover {
  color: var(--c-clay);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: var(--space-10) var(--space-8);
}
@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}
.footer h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a09a8d;
  margin-bottom: var(--space-4);
}
.footer ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: var(--text-sm);
}
.footer__brand .brand__mark,
[data-theme='dark'] .footer__brand .brand__mark {
  background: #cbd6b8;
  width: 40px;
  height: 39px;
}
.footer__brand .brand__name {
  color: #fbf8f1;
  font-size: 1.05rem;
}
.footer__brand .brand__sub,
[data-theme='dark'] .footer__brand .brand__sub {
  color: #cbd6b8;
}
[data-theme='dark'] .footer__brand .brand__name {
  color: var(--c-text);
}
.footer__blurb {
  font-size: var(--text-sm);
  color: #a09a8d;
  margin-top: var(--space-5);
  max-width: 32ch;
}
.footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-6);
  justify-content: space-between;
  font-size: var(--text-xs);
  color: #8e887c;
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
}
.socials {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.socials a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.socials a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ---------- Forms ---------- */
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.field label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}
.field input,
.field select,
.field textarea {
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem;
  font-size: var(--text-sm);
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
  width: 100%;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-olive);
  box-shadow: 0 0 0 3px var(--c-sage-soft);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
.form-grid .field--full {
  grid-column: 1 / -1;
}
@media (max-width: 620px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
.form-note {
  font-size: var(--text-xs);
  color: var(--c-text-faint);
}

/* Inline email signup */
.signup {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  max-width: 520px;
}
.signup input {
  flex: 1 1 220px;
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-pill);
  padding: 0.9rem 1.3rem;
  font-size: var(--text-sm);
}
.signup input:focus {
  outline: none;
  border-color: var(--c-olive);
  box-shadow: 0 0 0 3px var(--c-sage-soft);
}
.signup--invert input {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fbf8f1;
}
.signup--invert input::placeholder {
  color: rgba(251, 248, 241, 0.5);
}
.form-status {
  font-size: var(--text-sm);
  color: var(--c-accent);
  margin-top: var(--space-3);
  min-height: 1.2em;
}
.section--dark .form-status {
  color: #cbd6b8;
}
.form-status.is-ok {
  color: #4d6b3c;
  font-weight: 600;
}
.section--dark .form-status.is-ok {
  color: #cbd6b8;
  font-weight: 600;
}
.form-status.is-err {
  color: #a4562f;
}
/* Honeypot — hidden from people, visible to bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Cards ---------- */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-sage);
}
.card h3 {
  font-size: var(--text-lg);
}
.card p {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--c-sage-soft);
  color: var(--c-olive);
  align-self: flex-start;
}
[data-theme='dark'] .tag {
  color: var(--c-olive);
}
.tag--clay {
  background: var(--c-clay-soft);
  color: var(--c-clay);
}
.tag--outline {
  background: transparent;
  border: 1px solid var(--c-border);
  color: var(--c-text-muted);
}

/* ---------- Pillar strip ---------- */
.pillars-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-5);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.pillars-line span:not(.dot) {
  white-space: nowrap;
}
@media (max-width: 460px) {
  .pillars-line {
    letter-spacing: 0.1em;
    gap: var(--space-2) var(--space-3);
    font-size: var(--text-xs);
  }
}
.pillars-line .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-clay);
  flex: none;
}

/* ---------- Media ---------- */
.media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-surface-2);
  position: relative;
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.media__credit {
  display: block;
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--c-text-muted);
}
.media__credit strong {
  color: var(--c-text);
  font-weight: 600;
}
.media__credit a {
  color: var(--c-clay);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.media__credit a:hover {
  text-decoration-thickness: 2px;
}
.media--zoom:hover img {
  transform: scale(1.04);
}
.ratio-4-3 {
  aspect-ratio: 4 / 3;
}
.ratio-3-4 {
  aspect-ratio: 3 / 4;
}
.ratio-1-1 {
  aspect-ratio: 1 / 1;
}
.ratio-16-9 {
  aspect-ratio: 16 / 9;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
  .btn:hover,
  .card--hover:hover {
    transform: none;
  }
}

/* ---------- Page hero (interior) ---------- */
.page-hero {
  padding-block: clamp(3.5rem, 8vw, 7rem) clamp(2.5rem, 5vw, 4rem);
  background: var(--c-surface-2);
  border-bottom: 1px solid var(--c-border);
}
.page-hero__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: 68ch;
}
.page-hero h1 {
  font-size: var(--text-2xl);
}
.breadcrumb {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-faint);
}

/* ---------- Utilities ---------- */
.stack-2 > * + * {
  margin-top: var(--space-2);
}
.stack-3 > * + * {
  margin-top: var(--space-3);
}
.stack-4 > * + * {
  margin-top: var(--space-4);
}
.stack-6 > * + * {
  margin-top: var(--space-6);
}
.stack-8 > * + * {
  margin-top: var(--space-8);
}
.text-center {
  text-align: center;
}
.sr-only {
  position: absolute;
  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: -9999px;
  top: 0;
  background: var(--c-clay);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 var(--radius-md) 0;
}
.skip-link:focus {
  left: 0;
}
.divider {
  height: 1px;
  background: var(--c-divider);
  border: 0;
}
