/* style.css — One Whole Life · Roatán Destination Workshop Virtual Tour */

/* ============ DESIGN TOKENS ============ */
:root,
[data-theme='light'] {
  /* 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, 4.75rem);
  --text-hero: clamp(2.75rem, 0.5rem + 6vw, 6.5rem);

  /* Spacing (4px base) */
  --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;

  /* Surfaces — warm sand, private-bay morning light */
  --color-bg: #fbf6ec;
  --color-surface: #fffdf8;
  --color-surface-2: #f5eee0;
  --color-surface-offset: #efe4cf;
  --color-border: #e1d3b3;
  --color-divider: #e9dcc0;

  /* Text — coconut husk */
  --color-text: #26231c;
  --color-text-muted: #6c6353;
  --color-text-faint: #a89b80;
  --color-text-inverse: #fbf6ec;

  /* Primary — lagoon teal (bay waters) */
  --color-primary: #0e7a78;
  --color-primary-hover: #0a5c5a;
  --color-primary-active: #084645;
  --color-primary-highlight: #cfe6e1;

  /* Accent — sunset terracotta (thatched roofs, tile floors) */
  --color-accent: #cb6a34;
  --color-accent-hover: #a8542a;
  --color-accent-highlight: #ecd6c2;

  /* Semantic */
  --color-success: #4b7a3e;
  --color-warning: #a65d22;
  --color-error: #a13544;

  /* Brand — One Whole Life logo greens (used sparingly, as accents/badges) */
  --color-brand-green: #a5be4c;
  --color-brand-green-bright: #99e619;
  --color-brand-green-dark: #658005;
  --color-brand-green-text: #3a4816;
  --color-brand-green-tint: #eef2df;

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

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 3px oklch(0.3 0.05 60 / 0.08);
  --shadow-md: 0 8px 24px oklch(0.3 0.05 60 / 0.12);
  --shadow-lg: 0 20px 48px oklch(0.3 0.05 60 / 0.18);

  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1220px;
  --content-full: 100%;

  --font-display: 'Zodiak', Georgia, serif;
  --font-body: 'General Sans', 'Helvetica Neue', sans-serif;
  --font-wordmark: 'Raleway', 'General Sans', sans-serif;
}

[data-theme='dark'] {
  --color-bg: #0b1f1e;
  --color-surface: #102928;
  --color-surface-2: #143330;
  --color-surface-offset: #173935;
  --color-border: #23453f;
  --color-divider: #1b3a35;

  --color-text: #e9e3d2;
  --color-text-muted: #9fac9f;
  --color-text-faint: #6c7d73;
  --color-text-inverse: #12211f;

  --color-primary: #5fbcb2;
  --color-primary-hover: #86cec5;
  --color-primary-active: #a6dcd5;
  --color-primary-highlight: #1d4642;

  --color-accent: #e6935a;
  --color-accent-hover: #eeae82;
  --color-accent-highlight: #3c2a1c;

  --color-success: #7fb56a;
  --color-warning: #d68b4a;
  --color-error: #d16b83;

  --color-brand-green: #b8d066;
  --color-brand-green-bright: #b8f24a;
  --color-brand-green-dark: #a9c95a;
  --color-brand-green-text: #cfe6a0;
  --color-brand-green-tint: #223018;

  --shadow-sm: 0 1px 3px oklch(0 0 0 / 0.3);
  --shadow-md: 0 8px 24px oklch(0 0 0 / 0.35);
  --shadow-lg: 0 20px 48px oklch(0 0 0 / 0.45);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0b1f1e;
    --color-surface: #102928;
    --color-surface-2: #143330;
    --color-surface-offset: #173935;
    --color-border: #23453f;
    --color-divider: #1b3a35;
    --color-text: #e9e3d2;
    --color-text-muted: #9fac9f;
    --color-text-faint: #6c7d73;
    --color-text-inverse: #12211f;
    --color-primary: #5fbcb2;
    --color-primary-hover: #86cec5;
    --color-primary-active: #a6dcd5;
    --color-primary-highlight: #1d4642;
    --color-accent: #e6935a;
    --color-accent-hover: #eeae82;
    --color-accent-highlight: #3c2a1c;
    --color-success: #7fb56a;
    --color-warning: #d68b4a;
    --color-error: #d16b83;
    --color-brand-green: #b8d066;
    --color-brand-green-bright: #b8f24a;
    --color-brand-green-dark: #a9c95a;
    --color-brand-green-text: #cfe6a0;
    --color-brand-green-tint: #223018;
  }
}

/* ============ GLOBAL ============ */
body {
  background: var(--color-bg);
  overflow-x: hidden;
}

.wrap {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 5vw, var(--space-12));
}

section {
  position: relative;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.eyebrow .stop-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6em;
  height: 1.6em;
  border-radius: var(--radius-full);
  background: var(--color-primary-highlight);
  color: var(--color-primary-active);
  font-size: 0.85em;
}

.lede {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  max-width: 60ch;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}
a:hover {
  color: var(--color-primary-hover);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-sm);
}
.btn:hover {
  background: var(--color-primary-hover);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-md);
}
.btn.btn-ghost {
  background: transparent;
  border: 1.5px solid oklch(from var(--color-text) l c h / 0.25);
  color: var(--color-text);
}
.btn.btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn.btn-accent {
  background: var(--color-accent);
}
.btn.btn-accent:hover {
  background: var(--color-accent-hover);
}

/* ============ SKIP LINK ============ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: var(--space-2);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  z-index: 200;
}
.skip-link:focus {
  left: var(--space-2);
}

/* ============ HEADER / TOUR NAV ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid oklch(from var(--color-border) l c h / 0.7);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-3);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
}
.brand-logo-img {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  object-fit: contain;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-text strong {
  font-size: var(--text-base);
}
.brand-text span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  white-space: nowrap;
}
@media (max-width: 1080px) {
  .brand-text span {
    display: none;
  }
}
.wordmark {
  font-family: var(--font-wordmark);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.tour-nav {
  display: none;
  gap: var(--space-1);
  list-style: none;
}
.tour-nav a {
  display: block;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.tour-nav a:hover,
.tour-nav a.active {
  background: var(--color-primary-highlight);
  color: var(--color-primary-active);
}
@media (min-width: 1180px) {
  .tour-nav {
    display: flex;
  }
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* ============ HERO ============ */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  color: #fff;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    oklch(0.15 0.03 190 / 0.82) 0%,
    oklch(0.2 0.03 190 / 0.35) 45%,
    oklch(0.25 0.04 190 / 0.15) 70%,
    oklch(0.3 0.03 190 / 0.35) 100%
  );
}
.hero-content {
  position: relative;
  padding-block: var(--space-16) var(--space-16);
  max-width: var(--content-wide);
  margin-inline: auto;
  width: 100%;
  padding-inline: clamp(var(--space-5), 5vw, var(--space-12));
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: oklch(1 0 0 / 0.14);
  border: 1px solid oklch(1 0 0 / 0.3);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
  margin-bottom: var(--space-6);
}
.hero h1 {
  font-size: var(--text-hero);
  color: #fff;
  max-width: 16ch;
  margin-bottom: var(--space-6);
}
.hero-sub {
  font-size: var(--text-lg);
  max-width: 46ch;
  color: oklch(1 0 0 / 0.88);
  margin-bottom: var(--space-8);
  font-weight: 400;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}
.hero-actions .btn-ghost {
  border-color: oklch(1 0 0 / 0.45);
  color: #fff;
}
.hero-actions .btn-ghost:hover {
  border-color: #fff;
  color: #fff;
  background: oklch(1 0 0 / 0.12);
}
.hero-scroll-cue {
  position: absolute;
  bottom: var(--space-6);
  right: clamp(var(--space-5), 5vw, var(--space-12));
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: oklch(1 0 0 / 0.75);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
@media (min-width: 720px) {
  .hero-scroll-cue {
    display: flex;
  }
}
.hero-scroll-cue svg {
  width: 16px;
  height: 24px;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* ============ SECTION RHYTHM ============ */
.section {
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
}
.section-tight {
  padding-block: clamp(var(--space-10), 6vw, var(--space-20));
}
.section-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-5);
  max-width: 20ch;
}
.section-head {
  max-width: var(--content-default);
  margin-bottom: var(--space-12);
}

/* Alternate surface tone for depth without hard lines */
.tone-surface {
  background: var(--color-surface);
}
.tone-offset {
  background: linear-gradient(180deg, var(--color-surface-2), var(--color-bg));
}

/* ============ INTRO / WHERE ============ */
.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(var(--space-8), 6vw, var(--space-16));
  align-items: center;
}
@media (max-width: 860px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }
}
.intro-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.intro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
}
@media (max-width: 560px) {
  .fact-row {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}
.fact-row dt {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-1);
}
.fact-row dd {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
}

/* ============ TOUR STOPS ============ */
.stop {
  scroll-margin-top: var(--space-16);
}
.stop-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(var(--space-8), 6vw, var(--space-16));
  align-items: center;
}
.stop:nth-of-type(even) .stop-grid {
  grid-template-columns: 1.05fr 0.95fr;
}
.stop:nth-of-type(even) .stop-grid > .stop-copy {
  order: 2;
}
@media (max-width: 900px) {
  .stop-grid,
  .stop:nth-of-type(even) .stop-grid {
    grid-template-columns: 1fr;
  }
  .stop:nth-of-type(even) .stop-grid > .stop-copy {
    order: 0;
  }
}

.stop-copy p {
  color: var(--color-text-muted);
  margin-top: var(--space-4);
}
.stop-copy h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-2);
}
.stop-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-6);
}
.stop-tags span {
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.stop-media {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: var(--space-3);
  aspect-ratio: 5/4.4;
}
.stop-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.stop-media .media-lead {
  grid-row: span 2;
  border-radius: var(--radius-xl);
}
.stop-media.single {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}
.stop-media.single img {
  border-radius: var(--radius-xl);
}

/* Full-bleed divider images between stops */
.bleed {
  position: relative;
  height: clamp(280px, 46vw, 560px);
  overflow: hidden;
}
.bleed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bleed-caption {
  position: absolute;
  left: clamp(var(--space-5), 5vw, var(--space-12));
  bottom: var(--space-6);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  max-width: 30ch;
  text-shadow: 0 2px 16px oklch(0.1 0.02 190 / 0.5);
}
.bleed::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, oklch(0.15 0.03 190 / 0.55), transparent 55%);
}

/* ============ PRACTICAL INFO ============ */
.info-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 5vw, var(--space-12));
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-10);
}
@media (max-width: 860px) {
  .info-panel {
    grid-template-columns: 1fr;
  }
}
.qa-download {
  margin-top: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-6), 4vw, var(--space-8));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.qa-download-text h3 {
  font-size: var(--text-base);
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: var(--space-1);
}
.qa-download-text p {
  color: var(--color-text-muted);
  max-width: 42ch;
}
.qa-download .btn {
  flex-shrink: 0;
  white-space: nowrap;
}
.qa-download .btn svg {
  width: 18px;
  height: 18px;
}

.info-col h3 {
  font-size: var(--text-base);
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-primary-active);
}
[data-theme='dark'] .info-col h3 {
  color: var(--color-primary-hover);
}
.info-col h3 svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
}
.info-col p,
.info-col a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.info-col dl {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.info-col dl div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--text-sm);
}
.info-col dl dt {
  color: var(--color-text-faint);
}
.info-col dl dd {
  color: var(--color-text);
  font-weight: 600;
  text-align: right;
}

/* ============ WORKSHOP TEASER ============ */
.eyebrow-brand {
  color: var(--color-brand-green-dark);
}
.stop-num-brand {
  background: var(--color-brand-green-tint);
  color: var(--color-brand-green-text);
}
.workshop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}
@media (max-width: 900px) {
  .workshop-grid {
    grid-template-columns: 1fr;
  }
}
.workshop-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.workshop-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
  position: relative;
  padding-left: var(--space-4);
}
.workshop-card h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-brand-green);
}
.workshop-card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.why-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}
.why-pill {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  background: var(--color-brand-green-tint);
  color: var(--color-brand-green-text);
  border: 1px solid oklch(from var(--color-brand-green) l c h / 0.35);
}

/* ============ TRAVEL PLANNING ============ */
.travel-panel {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-6), 4vw, var(--space-10));
}
@media (max-width: 640px) {
  .travel-panel {
    flex-direction: column;
    text-align: center;
  }
}
.travel-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: var(--radius-md);
}
.travel-copy h3 {
  font-size: var(--text-lg);
  margin-block: var(--space-2) var(--space-3);
}
.travel-copy > p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  max-width: 56ch;
}
.travel-contact {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin-top: var(--space-4);
  font-size: var(--text-sm);
}
@media (max-width: 640px) {
  .travel-contact {
    justify-content: center;
  }
}
.travel-name {
  font-weight: 600;
  color: var(--color-text);
  width: 100%;
}
.travel-contact a {
  color: var(--color-brand-green-dark);
}
.travel-contact a:hover {
  color: var(--color-primary-hover);
}

/* ============ CTA ============ */
.cta {
  background: linear-gradient(135deg, var(--color-primary-active), var(--color-primary));
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-10), 7vw, var(--space-20));
  color: #fff;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: var(--space-10);
  align-items: center;
}
[data-theme='dark'] .cta {
  background: linear-gradient(135deg, #0b3a37, #145a55);
}
@media (max-width: 780px) {
  .cta {
    grid-template-columns: 1fr;
  }
}
.cta h2 {
  color: #fff;
  font-size: var(--text-2xl);
  max-width: 18ch;
}
.cta p {
  color: oklch(1 0 0 / 0.85);
  margin-top: var(--space-4);
  max-width: 48ch;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-start;
}
.cta .btn:not(.btn-ghost) {
  background: #fff;
  color: #084645;
}
.cta .btn:not(.btn-ghost):hover {
  background: oklch(1 0 0 / 0.85);
}
.cta .btn.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: oklch(1 0 0 / 0.45);
}
.cta .btn.btn-ghost:hover {
  border-color: #fff;
  background: oklch(1 0 0 / 0.12);
}
.cta-note {
  font-size: var(--text-xs);
  color: oklch(1 0 0 / 0.7);
}

/* ============ FOOTER ============ */
.site-footer {
  padding-block: var(--space-12) var(--space-10);
  border-top: 1px solid var(--color-divider);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-8);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.footer-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-meta {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  max-width: 46ch;
  line-height: 1.7;
}
.footer-meta a {
  color: var(--color-text-muted);
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 1;
}
@supports (animation-timeline: scroll()) {
  .reveal {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 55%;
  }
}
@keyframes reveal-fade {
  to {
    opacity: 1;
  }
}

/* ============ UTIL ============ */
.center-text {
  text-align: center;
}
.max-measure {
  max-width: 62ch;
}
