/* ===== OYE OCHO — 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, 5rem);
  --text-hero: clamp(2.5rem, 1rem + 4vw, 4.5rem);

  /* 4px 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;

  /* Surfaces — warm cream/sand, Little Havana daylight */
  --color-bg: #fdf6ec;
  --color-surface: #ffffff;
  --color-surface-2: #fffdfa;
  --color-surface-offset: #f7ecd9;
  --color-surface-offset-2: #f1e2c9;
  --color-surface-dynamic: #ecdbbd;
  --color-divider: #e8d8bc;
  --color-border: #ddc79f;

  /* Text — deep teal-black ink */
  --color-text: #1f2f30;
  --color-text-muted: #5c6b6a;
  --color-text-faint: #9aa6a3;
  --color-text-inverse: #fdf6ec;

  /* Primary Accent — Calle Ocho teal */
  --color-primary: #0d6e74;
  --color-primary-hover: #0a565b;
  --color-primary-active: #073e42;
  --color-primary-highlight: #cfe6e5;

  /* Coral — secondary accent (from OYE OCHO logo) */
  --color-coral: #e85b3f;
  --color-coral-hover: #cf4a30;
  --color-coral-active: #a83a25;
  --color-coral-highlight: #fbdcd2;

  /* Mango yellow — tertiary accent */
  --color-mango: #f4b731;
  --color-mango-hover: #dda11f;
  --color-mango-active: #b98315;
  --color-mango-highlight: #fbe8bd;

  /* Semantic (kept minimal — mapped to brand hues) */
  --color-success: #437a22;
  --color-success-highlight: #d4dfcc;
  --color-warning: var(--color-mango);
  --color-warning-highlight: var(--color-mango-highlight);
  --color-error: #a12c2c;
  --color-error-highlight: #e6cfcf;

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

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

  --shadow-sm: 0 1px 2px oklch(0.25 0.05 40 / 0.08);
  --shadow-md: 0 4px 14px oklch(0.25 0.05 40 / 0.1);
  --shadow-lg: 0 16px 40px oklch(0.25 0.05 40 / 0.16);

  --content-narrow: 640px;
  --content-default: 980px;
  --content-wide: 1200px;
  --content-full: 100%;

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

[data-theme='dark'] {
  --color-bg: #14201f;
  --color-surface: #182726;
  --color-surface-2: #1c2c2b;
  --color-surface-offset: #1f2e2b;
  --color-surface-offset-2: #253634;
  --color-surface-dynamic: #2c3f3c;
  --color-divider: #2a3a38;
  --color-border: #3a4d49;

  --color-text: #ecebe4;
  --color-text-muted: #a7b3ae;
  --color-text-faint: #71807b;
  --color-text-inverse: #14201f;

  --color-primary: #4bb0ac;
  --color-primary-hover: #6cc3bf;
  --color-primary-active: #86d1cd;
  --color-primary-highlight: #23393a;

  --color-coral: #ef8064;
  --color-coral-hover: #f4977e;
  --color-coral-active: #f7ac96;
  --color-coral-highlight: #3a2a26;

  --color-mango: #f7c95c;
  --color-mango-hover: #f9d47c;
  --color-mango-active: #fbdd97;
  --color-mango-highlight: #3d331c;

  --color-success: #6daa45;
  --color-success-highlight: #2c3a25;
  --color-error: #d16a6a;
  --color-error-highlight: #3a2626;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 4px 14px oklch(0 0 0 / 0.35);
  --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.5);
}

/* ===== Layout Primitives ===== */
.container {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container--wide {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container--narrow {
  max-width: var(--content-narrow);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
section {
  padding-block: clamp(var(--space-16), 9vw, var(--space-24));
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(from var(--color-bg) l c h / 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.08);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.header--hidden {
  transform: translateY(-100%);
}
.header--scrolled {
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-3);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}
.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  letter-spacing: -0.01em;
}
.brand__tag {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav {
  display: none;
  align-items: center;
  gap: var(--space-8);
}
.nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
}
.nav a:hover {
  color: var(--color-primary);
}
@media (min-width: 860px) {
  .nav {
    display: flex;
  }
}
.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
@media (max-width: 480px) {
  .header__actions {
    gap: var(--space-2);
  }
  .header__actions .lang-toggle {
    display: none;
  }
}

/* Theme toggle */
.theme-toggle {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  border: 1px solid oklch(from var(--color-text) l c h / 0.12);
}
.theme-toggle:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.theme-toggle .icon-moon {
  display: none;
}
[data-theme='dark'] .theme-toggle .icon-sun {
  display: none;
}
[data-theme='dark'] .theme-toggle .icon-moon {
  display: block;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn--primary {
  background: var(--color-coral);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--color-coral-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid oklch(from var(--color-text) l c h / 0.2);
}
.btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}
.btn--block {
  width: 100%;
}

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

/* ===== Masthead nav (replaces old .nav) ===== */
.masthead-nav {
  display: none;
  align-items: center;
  gap: var(--space-6);
}
.masthead-nav a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.masthead-nav a:hover {
  color: var(--color-primary);
}
@media (min-width: 900px) {
  .masthead-nav {
    display: flex;
  }
}

/* Mobile menu toggle + dropdown nav */
.menu-toggle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  color: var(--color-text);
  border: 1px solid oklch(from var(--color-text) l c h / 0.12);
  flex-shrink: 0;
}
.menu-toggle:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}
@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-top: 1px solid transparent;
}
.mobile-nav.is-open {
  max-height: 420px;
  border-top-color: oklch(from var(--color-text) l c h / 0.08);
}
.mobile-nav a {
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.06);
}
.mobile-nav a:hover {
  color: var(--color-primary);
  background: oklch(from var(--color-primary) l c h / 0.06);
}
.lang-toggle--mobile {
  margin: var(--space-4) var(--space-5);
  align-self: flex-start;
}
@media (min-width: 900px) {
  .mobile-nav {
    display: none;
  }
}

/* Language toggle pill */
.lang-toggle {
  display: flex;
  align-items: center;
  border: 1px solid oklch(from var(--color-text) l c h / 0.16);
  border-radius: var(--radius-full);
  overflow: hidden;
  font-size: var(--text-xs);
  font-weight: 700;
}
.lang-toggle__opt {
  padding: var(--space-1) var(--space-3);
  color: var(--color-text-muted);
}
.lang-toggle__opt.is-active {
  background: var(--color-primary);
  color: #fff;
}

/* ===== Masthead strip (date bar under header) ===== */
.masthead-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-divider);
  flex-wrap: wrap;
  gap: var(--space-2);
}
.masthead-strip__tag {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-coral);
}
.masthead-strip__date {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ===== Tags ===== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.tag--sm {
  padding: 0.2rem var(--space-2);
  font-size: 0.6875rem;
  margin-bottom: 0;
  margin-right: var(--space-2);
  flex-shrink: 0;
}
.tag--breaking {
  background: var(--color-coral-highlight);
  color: var(--color-coral-active);
}
.tag--culture {
  background: var(--color-mango-highlight);
  color: var(--color-mango-active);
}
.tag--real-estate {
  background: var(--color-primary-highlight);
  color: var(--color-primary-active);
}
.tag--business {
  background: var(--color-coral-highlight);
  color: var(--color-coral-active);
}
.tag--community {
  background: var(--color-surface-offset-2);
  color: var(--color-text-muted);
}

/* ===== News grid section (top stories) ===== */
.news-grid-section {
  padding-block: var(--space-10) var(--space-12);
}
.news-grid {
  display: grid;
  gap: var(--space-10);
}
@media (min-width: 960px) {
  .news-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: start;
  }
}

.lead-story__link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.lead-story__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-5);
}
.lead-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.lead-story__link:hover .lead-story__media img {
  transform: scale(1.03);
}
.lead-story__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-4);
}
.lead-story__link:hover .lead-story__title {
  color: var(--color-primary);
}
.lead-story__dek {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: var(--space-3);
  max-width: 46ch;
}
.byline {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.secondary-stories {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
.story-card__link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.story-card__media {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/10;
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-4);
}
.story-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.story-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-2);
}
.story-card__link:hover .story-card__title {
  color: var(--color-primary);
}
.story-card__dek {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ===== Headlines section (list + trending rail) ===== */
.headlines-section {
  padding-block: var(--space-8) var(--space-16);
  border-top: 1px solid var(--color-divider);
}
.headlines-grid {
  display: grid;
  gap: var(--space-12);
}
@media (min-width: 960px) {
  .headlines-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  }
}
.section-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-text);
  margin-bottom: var(--space-5);
  display: inline-block;
}
.section-label--center {
  display: block;
  text-align: center;
  border-bottom: none;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.headline-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.headline-list li {
  border-bottom: 1px solid var(--color-divider);
}
.headline-list li:last-child {
  border-bottom: none;
}
.headline-list a {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding-block: var(--space-4);
  text-decoration: none;
  color: var(--color-text);
  font-size: var(--text-base);
  font-weight: 500;
  line-height: 1.4;
}
.headline-list a:hover {
  color: var(--color-primary);
}
.headline-list .tag--sm {
  margin-top: 0.15rem;
}

.trending-rail__subtitle {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: calc(-1 * var(--space-3));
  margin-bottom: var(--space-5);
}
.trending-list {
  list-style: none;
  counter-reset: none;
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-8);
}
.trending-list li {
  border-bottom: 1px solid var(--color-divider);
}
.trending-list li:last-child {
  border-bottom: none;
}
.trending-list a {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  padding-block: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.4;
}
.trending-list a:hover {
  color: var(--color-primary);
}
.trending-list__num {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-coral);
  flex-shrink: 0;
  min-width: 1.6rem;
}

.rail-signup {
  background: var(--color-surface-offset);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.rail-signup__label {
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.rail-signup__form {
  display: flex;
  gap: var(--space-2);
}
.rail-signup__form input {
  flex: 1;
  min-width: 0;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: var(--text-sm);
  color: var(--color-text);
  font-family: var(--font-body);
}
.rail-signup__form input::placeholder {
  color: var(--color-text-faint);
}
.rail-signup__form input:focus {
  outline: none;
  border-color: var(--color-primary);
}

/* ===== Category bands ===== */
.category-band {
  padding-block: var(--space-16);
  border-top: 1px solid var(--color-divider);
}
.category-band--alt {
  background: var(--color-surface-offset);
}
.category-band__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-8);
  gap: var(--space-4);
  flex-wrap: wrap;
}
.category-band__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.category-band__more {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  white-space: nowrap;
}
.category-band__more:hover {
  color: var(--color-coral);
}
.category-row {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .category-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.mini-card__media {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow-sm);
}
.mini-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mini-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.3;
}

/* ===== Feature split (Real Estate) ===== */
.feature-split {
  padding-block: var(--space-16);
  border-top: 1px solid var(--color-divider);
}
.feature-split__grid {
  display: grid;
  gap: var(--space-10);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .feature-split__grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
}
.feature-split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
}
.feature-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feature-split__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.125rem);
  font-weight: 600;
  line-height: 1.25;
  margin-block: var(--space-4);
}
.feature-split__copy p {
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-5);
}
.feature-split__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.feature-split__list li {
  padding-left: var(--space-6);
  position: relative;
  font-size: var(--text-sm);
  color: var(--color-text);
}
.feature-split__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}
.link-arrow {
  font-weight: 600;
  color: var(--color-coral);
  text-decoration: none;
}
.link-arrow:hover {
  color: var(--color-coral-hover);
}

/* ===== Places strip ===== */
.places-strip {
  padding-block: var(--space-12);
  text-align: center;
  border-top: 1px solid var(--color-divider);
}
.places-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}
.chip {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  background: var(--color-surface-offset);
  border: 1px solid var(--color-border);
  font-size: var(--text-sm);
  font-weight: 500;
}

/* ===== Final CTA ===== */
.final-cta {
  padding-block: var(--space-20);
  border-top: 1px solid var(--color-divider);
  text-align: center;
  background: var(--color-surface-offset);
}
.final-cta__inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  margin-block: var(--space-3) var(--space-3);
}
.final-cta__inner > p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}
.signup-form {
  display: flex;
  gap: var(--space-3);
}
.signup-form--center {
  justify-content: center;
  flex-wrap: wrap;
}
.signup-form input {
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: var(--text-base);
  color: var(--color-text);
  font-family: var(--font-body);
  min-width: 260px;
}
.signup-form input::placeholder {
  color: var(--color-text-faint);
}
.signup-form input:focus {
  outline: none;
  border-color: var(--color-primary);
}
.signup-form__note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-4);
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-10) var(--space-6);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}
.brand--footer {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--color-text);
  text-decoration: none;
}
.brand--footer img {
  border-radius: var(--radius-full);
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
}
.footer__links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}
.footer__links a:hover {
  color: var(--color-primary);
}
.footer__social {
  display: flex;
  gap: var(--space-3);
}
.footer__social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}
.footer__social a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.footer__bottom {
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-6);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: center;
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: var(--space-6);
  left: 50%;
  transform: translate(-50%, calc(100% + var(--space-16)));
  background: var(--color-text);
  color: var(--color-text-inverse);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.toast.is-visible {
  transform: translate(-50%, 0);
  pointer-events: auto;
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
