/* ============================================================
   Grupo Mariscos Antón — Design tokens
   ============================================================ */
:root {
  /* Brand color — extracted from the official emblem */
  --ink: #1d1d1b;
  --ink-soft: #2a2a26;
  --gold: #fccb01;
  --gold-dark: #c9a100;
  --white: #ffffff;

  /* Supporting neutrals */
  --bg: #f7f4ec;
  --surface: #ffffff;
  --surface-alt: #efeadb;
  --border: #e3ddc9;
  --text: #211f1c;
  --text-muted: #6b6862;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --h1: clamp(2.5rem, 6vw, 4.5rem);
  --h2: clamp(2rem, 4vw, 2.8rem);
  --h3: clamp(1.4rem, 2vw, 1.6rem);
  --body: 1rem;
  --small: 0.875rem;

  /* Spacing (8px grid) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  --space-12: 96px;
  --space-16: 128px;

  --radius: 6px;
  --radius-lg: 16px;

  --shadow-sm: 0 4px 16px rgba(29, 29, 27, 0.06);
  --shadow-md: 0 12px 30px rgba(29, 29, 27, 0.10);
  --shadow-lg: 0 24px 48px rgba(29, 29, 27, 0.16);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ============================================================
   Reset
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); font-weight: 500; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-3);
}

section { padding: var(--space-12) 0; }

@media (max-width: 720px) {
  section { padding: var(--space-8) 0; }
}

/* ============================================================
   Section headers (kicker + heading + copy)
   ============================================================ */
.section-head {
  max-width: 640px;
  margin-bottom: var(--space-8);
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-family: var(--font-body);
  font-size: var(--small);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--space-2);
}

.kicker::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold-dark);
}

.section-head.center .kicker::before { display: none; }

.section-head p {
  margin-top: var(--space-2);
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--gold);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--ink-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--space-2) 0;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header.is-scrolled {
  background: rgba(29, 29, 27, 0.92);
  backdrop-filter: blur(10px);
  padding: var(--space-1) 0;
  box-shadow: var(--shadow-sm);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.brand img {
  height: 56px;
  width: auto;
  transition: height 0.35s var(--ease);
}

.site-header.is-scrolled .brand img { height: 44px; }

.brand-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  line-height: 1.2;
}

.brand-name strong { display: block; font-size: 1.2rem; }
.brand-name span { font-size: 0.75rem; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-links a {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover::after { width: 100%; }

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

.lang-switch {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}

.lang-switch-flag {
  width: 22px;
  height: 15px;
  border-radius: 2px;
  display: block;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
  transition: transform 0.35s var(--ease);
}

.lang-switch::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -70%;
  width: 45%;
  height: 220%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: rotate(20deg);
  transition: left 0.65s ease;
}

.lang-switch:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 10px 26px rgba(252, 203, 1, 0.45);
  background: rgba(255, 255, 255, 0.14);
}

.lang-switch:hover .lang-switch-flag { transform: scale(1.15); }

.lang-switch:hover::after { left: 130%; }

.lang-switch:active { transform: translateY(-1px) scale(1.02); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-4);
    padding: var(--space-4);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
  }

  .nav-links.is-open { transform: translateX(0); }

  .nav-links a { font-size: 1.1rem; }

  .nav-cta .btn { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--space-16);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(29,29,27,0.5) 0%, rgba(29,29,27,0.4) 30%, rgba(29,29,27,0.95) 100%),
    linear-gradient(90deg, rgba(29,29,27,0.75) 0%, rgba(29,29,27,0.35) 55%, rgba(29,29,27,0.15) 100%);
  z-index: -1;
}

.hero .container { position: relative; }

.hero-content { max-width: 760px; }

.hero .kicker { color: var(--gold); }
.hero .kicker::before { background: var(--gold); }

.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-3);
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-lede {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: var(--space-4);
}

.hero-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: var(--space-4);
  right: var(--space-3);
  color: rgba(255,255,255,0.7);
  font-size: var(--small);
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.4);
}

/* ============================================================
   Video section
   ============================================================ */
.video-section { padding: var(--space-6) 0; background: var(--bg); }

.video-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
  background: var(--ink);
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-toggle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(29, 29, 27, 0.18);
  border: none;
  cursor: pointer;
  transition: background 0.3s var(--ease);
}

.video-toggle:hover { background: rgba(29, 29, 27, 0.3); }

.video-toggle svg {
  width: 34px;
  height: 34px;
  color: var(--ink);
}

.video-toggle .icon-play,
.video-toggle .icon-pause {
  position: absolute;
  width: 84px;
  height: 84px;
  padding: 24px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.video-toggle:hover .icon-play,
.video-toggle:hover .icon-pause { transform: scale(1.08); }

.video-toggle .icon-pause { opacity: 0; visibility: hidden; }

.video-frame.is-playing .video-toggle { background: transparent; }
.video-frame.is-playing .video-toggle .icon-play { opacity: 0; visibility: hidden; }
.video-frame.is-playing .video-toggle .icon-pause { opacity: 0; visibility: hidden; }
.video-frame.is-playing .video-toggle:hover .icon-pause { opacity: 1; visibility: visible; }

/* ============================================================
   Marquee strip (product focus)
   ============================================================ */
.marquee-strip {
  background: var(--ink);
  color: var(--gold);
  padding: var(--space-2) 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: var(--space-6);
  animation: scroll-left 32s linear infinite;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   Product cards
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

@media (max-width: 1100px) {
  .products-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .products-grid { grid-template-columns: 1fr; }
}

.product-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.product-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.product-card:hover img { transform: scale(1.08); }

.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29,29,27,0) 40%, rgba(29,29,27,0.92) 100%);
}

.product-card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--space-3);
  z-index: 1;
}

.product-card-body .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: var(--space-1);
}

.product-card-body h3 { color: var(--white); margin-bottom: 4px; }
.product-card-body p { color: rgba(255,255,255,0.75); font-size: var(--small); }

/* ============================================================
   Product gallery (real packaging photos)
   ============================================================ */
.product-gallery { margin-top: var(--space-6); }

.product-gallery-label {
  display: block;
  font-size: var(--small);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}

.product-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}

@media (max-width: 620px) {
  .product-gallery-grid { grid-template-columns: 1fr 1fr; }
}

.product-gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  aspect-ratio: 1/1;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.product-gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.product-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-2);
}

/* ============================================================
   Team gallery (Nosotros)
   ============================================================ */
.team-gallery { margin-top: var(--space-8); }

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

@media (max-width: 620px) {
  .team-grid { grid-template-columns: 1fr; }
}

.team-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.team-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.team-card-info { padding: var(--space-2) var(--space-3) var(--space-3); }

.team-card-info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
}

.team-card-info span {
  display: block;
  font-size: var(--small);
  color: var(--gold-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

/* ============================================================
   Split layout (image / text) — Nosotros
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: var(--space-4); }
}

.split.reverse .split-media { order: 2; }

.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.split-media img { width: 100%; height: 100%; object-fit: cover; }

.split-copy p { color: var(--text-muted); margin-bottom: var(--space-2); }

.split-copy .fill { color: var(--gold-dark); font-style: italic; }

/* ============================================================
   Stats bar
   ============================================================ */
.stats-bar {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-4);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
}

@media (max-width: 720px) {
  .stats-bar { grid-template-columns: 1fr 1fr; }
}

.stat { text-align: center; }

.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--gold);
  display: block;
  font-variant-numeric: tabular-nums;
}

.stat .num.is-counting {
  animation: count-glow 0.5s ease-in-out infinite alternate;
}

.stat .num.is-counted {
  animation: count-pop 0.5s var(--ease);
}

@keyframes count-glow {
  from { text-shadow: 0 0 0 rgba(252, 203, 1, 0); }
  to { text-shadow: 0 0 22px rgba(252, 203, 1, 0.9), 0 0 46px rgba(252, 203, 1, 0.35); }
}

@keyframes count-pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.18); text-shadow: 0 0 24px rgba(252, 203, 1, 0.8); }
  100% { transform: scale(1); text-shadow: 0 0 0 rgba(252, 203, 1, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .stat .num.is-counting,
  .stat .num.is-counted { animation: none; }
}

.stat .label {
  color: rgba(255,255,255,0.7);
  font-size: var(--small);
  margin-top: 4px;
}

/* ============================================================
   Quality / commitments
   ============================================================ */
.commitments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

@media (max-width: 900px) {
  .commitments-grid { grid-template-columns: 1fr; }
}

.commitment-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.commitment-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.commitment-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
}

.commitment-card .icon svg { width: 22px; height: 22px; stroke: var(--gold); }

.commitment-card h3 { margin-bottom: var(--space-1); }
.commitment-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ============================================================
   Contact
   ============================================================ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; }
}

.contact-info { display: flex; flex-direction: column; gap: var(--space-3); }

.contact-row {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border);
}

.contact-row .icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.contact-row .icon svg { width: 18px; height: 18px; stroke: var(--gold); }

.contact-row strong { display: block; margin-bottom: 2px; }
.contact-row span, .contact-row a { color: var(--text-muted); }
.contact-row a:hover { color: var(--gold-dark); }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }

@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.contact-form label {
  font-size: var(--small);
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--bg);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(252, 203, 1, 0.25);
}

.contact-form textarea { resize: vertical; min-height: 120px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: var(--space-8) 0 var(--space-3);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

@media (max-width: 720px) {
  .footer-top { grid-template-columns: 1fr; gap: var(--space-4); }
}

.footer-brand { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-2); }
.footer-brand img { height: 48px; }
.footer-brand strong { color: var(--white); font-family: var(--font-display); font-size: 1.15rem; }

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-3);
  font-size: var(--small);
  flex-wrap: wrap;
  gap: var(--space-2);
}

.footer-bottom .credits { color: rgba(255,255,255,0.4); font-size: 0.78rem; max-width: 640px; }
.footer-bottom .credits a { text-decoration: underline; }

.social-links { display: flex; gap: var(--space-2); }
.social-links a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.social-links a:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.social-links a svg { width: 16px; height: 16px; stroke: var(--white); }
.social-links a:hover svg { stroke: var(--ink); }

/* ============================================================
   Scroll reveal
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

[data-reveal="up"] { transform: translateY(32px); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"] { transform: scale(0.94); }

[data-reveal].is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
}

/* Hero entrance (no observer needed — plays on load) */
.hero [data-entrance] {
  opacity: 0;
  transform: translateY(24px);
  animation: entrance-up 0.9s var(--ease) forwards;
}

.hero [data-entrance="1"] { animation-delay: 0.15s; }
.hero [data-entrance="2"] { animation-delay: 0.35s; }
.hero [data-entrance="3"] { animation-delay: 0.55s; }
.hero [data-entrance="4"] { animation-delay: 0.75s; }

@keyframes entrance-up {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero [data-entrance] { animation: none; opacity: 1; transform: none; }
}
