/* ==========================================================================
   tokens.css — Design system (design tokens)
   VS Web Studio · 2026 — B&B Tropical Fish & Pet (immersive aquatic)
   Single source of truth for color, type, space, shadow, motion.
   OKLCH color. Light-committed (P9): OS dark auto-switch removed; the manual
   [data-theme="dark"] toggle rule is kept intact.
   ========================================================================== */

:root {
  color-scheme: light;

  /* --- Base palette (raw) — immersive aquarium: teal ink + water paper + teal signal + coral glow --- */
  --ink-900: oklch(23% 0.028 215);   /* deep teal-charcoal (deep water) */
  --ink-800: oklch(28% 0.03 212);
  --ink-700: oklch(36% 0.03 210);
  --ink-500: oklch(48% 0.02 210);    /* secondary text */
  --ink-300: oklch(75% 0.015 200);
  --paper:   oklch(98.2% 0.008 195); /* soft water-white */
  --paper-2: oklch(95.3% 0.012 193);
  --white:   oklch(100% 0 0);

  /* Primary signal — aquarium teal-green (~#1f7a78) */
  --signal-700: oklch(40% 0.085 190);
  --signal-600: oklch(47% 0.090 190);
  --signal-500: oklch(56% 0.100 192);
  --signal-100: oklch(93% 0.030 190);

  /* Accent — warm fish glow (coral/amber), highlights only */
  --amber-500: oklch(68% 0.155 40);
  --amber-300: oklch(80% 0.100 45);

  /* Deep water — immersive sections (hero, gallery, CTA, footer) */
  --deep-900: oklch(24% 0.055 214);
  --deep-800: oklch(30% 0.065 208);
  --deep-glow: oklch(70% 0.14 195);

  /* States */
  --good:  oklch(70% 0.16 155);
  --warn:  oklch(80% 0.15 80);
  --bad:   oklch(64% 0.20 28);

  /* --- Semantic tokens (LIGHT theme by default) --- */
  --bg:            var(--paper);
  --bg-elevated:   var(--white);
  --bg-sunken:     var(--paper-2);
  --bg-inverse:    var(--ink-900);

  --text:          var(--ink-900);
  --text-muted:    var(--ink-500);
  --text-inverse:  var(--paper);

  --border:        oklch(88% 0.012 200);
  --border-strong: oklch(80% 0.018 200);

  --primary:           var(--signal-600);
  --primary-strong:    var(--signal-700);
  --primary-contrast:  var(--white);
  --primary-tint:      var(--signal-100);

  --accent:        var(--amber-500);
  --focus-ring:    var(--signal-500);

  /* --- Typography --- */
  --font-display: "Bricolage Grotesque", "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", "Cascadia Code", Menlo, monospace;

  --step--1: clamp(0.83rem, 0.80rem + 0.15vw, 0.92rem);
  --step-0:  clamp(1.00rem, 0.96rem + 0.20vw, 1.13rem);
  --step-1:  clamp(1.20rem, 1.12rem + 0.40vw, 1.50rem);
  --step-2:  clamp(1.44rem, 1.30rem + 0.70vw, 2.00rem);
  --step-3:  clamp(1.73rem, 1.50rem + 1.15vw, 2.67rem);
  --step-4:  clamp(2.07rem, 1.70rem + 1.85vw, 3.55rem);
  --step-5:  clamp(2.49rem, 1.95rem + 2.70vw, 4.74rem);

  --leading-tight: 1.08;
  --leading-snug:  1.25;
  --leading-body:  1.6;

  --tracking-tight: -0.02em;
  --tracking-wide:  0.16em;

  /* --- Space (4px scale) --- */
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6.5rem;

  /* --- Layout --- */
  --container:      72rem;
  --container-wide: 84rem;
  --container-prose: 42rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);

  /* --- Radii --- */
  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* --- Shadows (soft, paper) --- */
  --shadow-sm: 0 1px 2px oklch(20% 0.02 260 / 0.06), 0 1px 1px oklch(20% 0.02 260 / 0.04);
  --shadow:    0 4px 14px oklch(20% 0.02 260 / 0.08), 0 1px 3px oklch(20% 0.02 260 / 0.06);
  --shadow-lg: 0 18px 50px oklch(20% 0.02 260 / 0.12), 0 4px 12px oklch(20% 0.02 260 / 0.08);

  /* --- Motion --- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 140ms;
  --dur:      260ms;
  --dur-slow: 560ms;

  --header-h: 4.6rem;
}

/* --- DARK theme (manual toggle only — P9 keeps this, removes OS auto-switch) --- */
[data-theme="dark"] {
  --bg:            var(--ink-900);
  --bg-elevated:   oklch(27% 0.03 210);
  --bg-sunken:     oklch(15% 0.02 260);
  --bg-inverse:    var(--paper);

  --text:          var(--paper);
  --text-muted:    var(--ink-300);
  --text-inverse:  var(--ink-900);

  --border:        oklch(34% 0.022 205);
  --border-strong: oklch(44% 0.022 205);

  --primary:           var(--signal-500);
  --primary-strong:    var(--signal-500);
  --primary-tint:      oklch(32% 0.07 195);

  --shadow-sm: 0 1px 2px oklch(0% 0 0 / 0.4);
  --shadow:    0 6px 20px oklch(0% 0 0 / 0.45);
  --shadow-lg: 0 24px 60px oklch(0% 0 0 / 0.55);
}

/* P9: retail/aquarium is a light-committed niche. The OS prefers-color-scheme
   dark auto-switch is intentionally NOT present here so a visitor's system dark
   mode never darkens the whole page; the manual [data-theme="dark"] toggle above
   still works. */
/* ==========================================================================
   base.css — Reset moderno + tipografía base + accesibilidad
   ========================================================================== */

/* Reset acotado y predecible */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Compensa el header fijo al saltar a anclas */
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: var(--leading-body);
  font-synthesis: none;
  /* Reserva ascendente para evitar CLS al cargar la fuente */
  overflow-x: clip;
}

img, picture, svg, video, canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.16em; }

/* Titulares — equilibrio de líneas (evita huérfanas) */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  text-wrap: balance;
}
p { text-wrap: pretty; }

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

strong { font-weight: 650; }

::selection {
  background: var(--primary);
  color: var(--primary-contrast);
}

/* Foco visible y consistente para teclado (a11y) */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
:focus:not(:focus-visible) { outline: none; }

/* Saltar al contenido (a11y) */
.skip-link {
  position: absolute;
  left: var(--space-md);
  top: -100%;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--bg-inverse);
  color: var(--text-inverse);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus-visible { top: var(--space-md); }

/* Sólo lectores de pantalla */
.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;
}

/* Respeta usuarios que reducen movimiento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Viewport fit — el hero llena la pantalla sin recortar; secciones por contenido.
   Ver references/viewport-fit-system.md. "Caber" nunca significa clipear.
   ========================================================================== */

/* HERO: llena EXACTAMENTE una pantalla bajo el header sticky. El header es position:sticky
   (ocupa --header-h EN EL FLUJO), por eso se RESTA --header-h — NO se suma como padding. Sumarlo
   hace el hero = header + 100svh y se pasa de una pantalla (bug real). Contenido centrado, compacto
   y escalable con la altura. NUNCA height:100vh; NUNCA max-height que recorte el TEXTO. El hero se
   diseña para CABER; si el copy fuera excesivo, el salvavidas JS baja la escala (no crece, no clipea). */
.hero {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-content: center;
  gap: clamp(0.8rem, 2svh, 1.75rem);
  padding-block: clamp(1rem, 2.4svh, 2.25rem);
  padding-inline: var(--gutter);
}
/* Tope del titular DELIBERADAMENTE bajo (<=3.6rem): en monitores anchos evita el titular gigante
   que se parte en 4 líneas y empuja los CTA fuera de pantalla. Mezcla ancho (vw) + alto (svh). */
.hero__title {
  font-size: clamp(1.9rem, 1.2rem + 2vw + 1.4svh, 3.6rem);
  line-height: 1.05;
  text-wrap: balance;
}
.hero__subtitle { font-size: clamp(1rem, 1.4svh + 0.4vw, 1.3rem); max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Salvavidas opcional: si el contenido excede el alto, encoge la escala (no recorta, no crece). */
[data-hero-fit] > * { font-size: calc(1em * var(--hero-scale, 1)); }

/* Media del hero: en móvil (apilada bajo el texto) se limita para que TEXTO+IMAGEN quepan;
   en escritorio (2 col) se limita para no exceder el alto. object-fit:cover evita deformar. */
/* MÓVIL/TABLET: hero de ALTURA DEFINIDA; el texto va compacto y la 2ª columna apilada (imagen)
   toma SOLO el hueco restante bajo el texto (flex-fill). Así el hero nunca se pasa de una pantalla,
   sin importar el largo del copy — si el texto fuera enorme, la imagen se encoge (no desborda). */
@media (max-width: 59.99rem) {
  /* '.hero .hero-grid' (0,2,0) para GANARLE a layout.css '.hero-grid{display:grid}' (0,1,0), que se
     concatena después; si no, el grid seguiría activo y la imagen no tomaría el hueco restante. */
  .hero { display: flex; height: calc(100svh - var(--header-h)); min-height: 0; align-items: stretch; }
  .hero > .container { display: flex; flex-direction: column; min-height: 0; }
  .hero .hero-grid { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; gap: clamp(0.7rem, 2svh, 1.2rem); align-items: stretch; }
  .hero .hero-grid > :first-child { flex: 0 0 auto; }                                   /* texto: alto natural */
  .hero .hero-grid > :last-child:not(:first-child) { flex: 1 1 auto; min-height: 0; overflow: hidden; aspect-ratio: auto; } /* media: el resto */
  /* !important vence cualquier aspect-ratio/height en línea del autor: la imagen SIEMPRE llena el hueco
     restante y recorta con object-fit (centrado), garantizando que el hero quepa en una pantalla. */
  .hero .hero-grid > :last-child:not(:first-child) img { height: 100% !important; width: 100%; max-height: none !important; object-fit: cover; aspect-ratio: auto !important; }
  .hero__title { font-size: clamp(1.65rem, 5.5vw + 0.4rem, 2.5rem); }
  .hero__lead { font-size: 1rem; line-height: 1.45; }
}
/* ESCRITORIO: 2 columnas; la imagen se limita para no exceder el alto de la pantalla. */
@media (min-width: 60rem) {
  .hero-grid img, .hero-grid > figure, .hero-grid > .hero__media { max-height: calc(100svh - var(--header-h) - 4rem); object-fit: cover; }
}

/* Pantallas de POCA ALTURA: compactar por tramos para caber en laptops cortas / ventanas con
   muchas barras. El desborde real ocurrió a 1920x900 (ancha pero baja), no solo en móvil horizontal. */
@media (max-height: 820px) {
  .hero { padding-block: clamp(0.85rem, 1.8svh, 1.4rem); }
  .hero__title { font-size: clamp(1.7rem, 1.05rem + 1.7vw + 1svh, 2.9rem); }
}
@media (max-height: 660px) {
  .hero__title { font-size: clamp(1.5rem, 1rem + 1.5vw, 2.35rem); line-height: 1.06; }
  .hero__subtitle { font-size: 0.98rem; }
}
@media (max-height: 560px) {
  .hero { min-height: auto; align-content: start; padding-block: clamp(0.75rem, 1.5svh, 1.1rem); }
  .hero__title { font-size: clamp(1.5rem, 6.5vw, 2.2rem); }
}

/* SECCIONES: altura por contenido, NUNCA fija. Padding proporcional. */
.section { padding-block: clamp(3rem, 8vw, 6rem); padding-inline: var(--gutter); }
.section--tight { padding-block: clamp(2rem, 5vw, 3.5rem); }

/* Sección full-screen SOLO para storytelling deliberado (no de contenido). */
.section--fullscreen {
  min-height: 100svh;      /* NO height:100vh */
  display: grid;
  align-content: center;
}
@media (max-height: 560px) { .section--fullscreen { min-height: auto; } }
/* ==========================================================================
   layout.css — Contenedores, secciones y rejillas
   Layout moderno: grid + flex + container queries + logical properties
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide  { max-width: var(--container-wide); }
.container--prose { max-width: var(--container-prose); }

/* Ritmo vertical por sección */
.section {
  padding-block: var(--space-3xl);
}
.section--tight { padding-block: var(--space-2xl); }
.section--sunken { background: var(--bg-sunken); }
.section--ink {
  background: var(--bg-inverse);
  color: var(--text-inverse);
}
.section--ink .eyebrow { color: var(--amber-300); }
.section--ink .text-muted { color: var(--ink-300); }

/* Encabezado de sección */
.section-head {
  max-width: 46rem;
  margin-bottom: var(--space-xl);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}

/* Rejilla auto-fit reutilizable (responsive sin media queries) */
.grid {
  display: grid;
  gap: var(--space-lg);
}
.grid--auto {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }

/* Hero: dos columnas que colapsan */
.hero-grid {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}
@media (min-width: 60rem) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-3xl);
  }
}

/* Cluster (fila flexible con wrap) */
.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}
.cluster--between { justify-content: space-between; }

/* Stack (columna con gap) */
.stack { display: flex; flex-direction: column; gap: var(--space-md); }
.stack--lg { gap: var(--space-lg); }

/* Divisor con etiqueta de datos */
.rule {
  height: 1px;
  background: var(--border);
  border: 0;
}

/* Contexto de container query para tarjetas */
.cq { container-type: inline-size; }
/* ==========================================================================
   components.css — B&B Tropical Fish & Pet (v2 immersive aquatic)
   Deep aquarium teal + warm coral "fish glow". Light-committed page,
   immersive dark hero / gallery / CTA. Custom masthead + footer (P13).
   ========================================================================== */

/* ---------- Eyebrow (mono label) ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.6ch;
}
.eyebrow::before {
  content: "";
  inline-size: 1.6rem;
  block-size: 2px;
  background: currentColor;
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--primary);
  --_fg: var(--primary-contrast);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6ch;
  padding: 0.9rem 1.5rem;
  min-height: 3rem;
  background: var(--_bg);
  color: var(--_fg);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: var(--step-0);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
  will-change: transform;
}
.btn::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 20%, oklch(100% 0 0 / 0.28) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --_bg: transparent;
  --_fg: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }

.btn--lg { padding: 1.05rem 1.85rem; min-height: 3.5rem; font-size: var(--step-1); }
.btn__arrow { transition: transform var(--dur) var(--ease-out); display: inline-flex; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* Coral "glow" button — the warm CTA over deep water */
.btn--glow { --_bg: var(--amber-500); --_fg: oklch(24% 0.03 30); font-weight: 650; }
.btn--glow:hover { box-shadow: 0 12px 32px oklch(68% 0.155 40 / 0.42); }
.btn--water { --_bg: transparent; --_fg: #eafcf8; border: 1.5px solid oklch(80% 0.06 195 / 0.55); }
.btn--water:hover { border-color: #eafcf8; color: #fff; }

/* ==========================================================================
   CUSTOM IMMERSIVE AQUATIC MASTHEAD (.aq-header) — P13
   Fixed + transparent over the dark hero; solidifies to aqua glass on scroll.
   ========================================================================== */
.aq-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  block-size: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.aq-header__wave {
  position: absolute; inset-inline: 0; bottom: -1px; height: 3px;
  background: linear-gradient(90deg, transparent, var(--amber-500) 30%, var(--signal-500) 70%, transparent);
  opacity: 0; transition: opacity var(--dur) var(--ease-out);
}
.aq-header[data-scrolled="true"] {
  background: color-mix(in oklch, var(--paper) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 6px 24px oklch(24% 0.05 210 / 0.10);
}
.aq-header[data-scrolled="true"] .aq-header__wave { opacity: 0.9; }
.aq-header__bar {
  display: flex; align-items: center; justify-content: space-between;
  inline-size: 100%; gap: var(--space-lg);
}

/* Brand lockup */
.aq-brand { display: inline-flex; align-items: center; gap: 0.6ch; text-decoration: none; }
.aq-brand__logo { height: 2.4rem; width: auto; max-width: 12.5rem; object-fit: contain; }
.aq-brand__mark {
  inline-size: 2.2rem; block-size: 2.2rem; display: grid; place-items: center;
  border-radius: 9px; background: linear-gradient(150deg, var(--signal-500), var(--signal-700)); color: #eafcf8;
}
.aq-brand__name { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; font-size: var(--step-1); }
/* Logo art is dark-inked; on the transparent-over-hero state, drop a soft glow so it reads on the dark image */
.aq-header:not([data-scrolled="true"]) .aq-brand__logo {
  filter: drop-shadow(0 1px 10px oklch(15% 0.04 216 / 0.55)) brightness(0) invert(1);
}
.aq-header:not([data-scrolled="true"]) .aq-brand__name { color: #f4fdfb; text-shadow: 0 1px 12px oklch(15% 0.04 216 / 0.6); }

/* Desktop nav */
.aq-nav { display: none; align-items: center; gap: clamp(1rem, 2vw, 2.1rem); }
.aq-nav a {
  position: relative; text-decoration: none; font-weight: 550; font-size: var(--step-0);
  color: var(--text-muted); padding-block: 0.3rem; transition: color var(--dur-fast) var(--ease-out);
}
.aq-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--amber-500); border-radius: 2px; transition: width var(--dur) var(--ease-out);
}
.aq-nav a:hover { color: var(--text); }
.aq-nav a:hover::after { width: 100%; }
.aq-header:not([data-scrolled="true"]) .aq-nav a { color: oklch(93% 0.02 195 / 0.9); text-shadow: 0 1px 10px oklch(15% 0.04 216 / 0.5); }
.aq-header:not([data-scrolled="true"]) .aq-nav a:hover { color: #fff; }

.aq-header__actions { display: flex; align-items: center; gap: var(--space-sm); }

/* Call / Visit pill */
.aq-callbtn {
  display: inline-flex; align-items: center; gap: 0.55ch;
  padding: 0.55rem 1.05rem; min-height: 2.7rem;
  border-radius: var(--radius-pill); text-decoration: none; font-weight: 650; font-size: var(--step--1);
  background: var(--amber-500); color: oklch(24% 0.03 30);
  box-shadow: 0 4px 16px oklch(68% 0.155 40 / 0.3);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.aq-callbtn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px oklch(68% 0.155 40 / 0.45); }
.aq-callbtn__label { display: none; }
.aq-callbtn__num { font-family: var(--font-mono); font-weight: 600; letter-spacing: -0.01em; }
@media (min-width: 32rem) { .aq-callbtn__label { display: inline; } .aq-callbtn__num { display: none; } }
@media (min-width: 46rem) { .aq-callbtn__num { display: inline; padding-left: 0.4ch; } }

/* Burger */
.aq-burger {
  inline-size: 2.7rem; block-size: 2.7rem; display: grid; place-items: center;
  border-radius: 10px; color: var(--text);
  border: 1.5px solid color-mix(in oklch, var(--border-strong) 80%, transparent);
}
.aq-header:not([data-scrolled="true"]) .aq-burger { color: #eafcf8; border-color: oklch(80% 0.05 195 / 0.4); }
@media (min-width: 60rem) { .aq-nav { display: flex; } .aq-burger { display: none; } }

/* Mobile menu */
.aq-mobile {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
  background: var(--bg-elevated); border-block-end: 1px solid var(--border);
  box-shadow: var(--shadow-lg); padding: var(--space-lg) var(--gutter) var(--space-xl);
  display: grid; gap: 0.2rem; transform: translateY(-115%);
  transition: transform var(--dur) var(--ease-out); visibility: hidden;
}
.aq-mobile[data-open="true"] { transform: translateY(0); visibility: visible; }
.aq-mobile a {
  text-decoration: none; color: var(--text); font-family: var(--font-display);
  font-size: var(--step-2); font-weight: 650; padding-block: 0.55rem; border-block-end: 1px solid var(--border);
}
.aq-mobile__call {
  margin-top: 0.8rem; border-block-end: none !important;
  display: inline-flex; align-items: center; gap: 0.6ch;
  background: var(--amber-500); color: oklch(24% 0.03 30) !important; border-radius: var(--radius-pill);
  padding: 0.85rem 1.3rem !important; justify-content: center; font-size: var(--step-1) !important;
}
@media (min-width: 60rem) { .aq-mobile { display: none; } }

/* ---------- 1 . HERO immersive full-bleed ----------
   Box fits ONE screen incl. the fixed header: min-height calc(100svh - header-h)
   + margin-top:header-h -> heroBottom = 100svh <= innerHeight. The media layer
   bleeds UP behind the transparent header (top: -header-h) for full immersion. */
.hero-imm {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  margin-block-start: var(--header-h);
  display: grid; align-content: center;
  padding-block: clamp(1.5rem, 5svh, 4rem);
  padding-inline: var(--gutter);
  overflow: hidden; isolation: isolate;
  background: var(--deep-900);
}
.hero-imm__media { position: absolute; inset: calc(var(--header-h) * -1) 0 0 0; z-index: -2; }
.hero-imm__media img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 48%; }
.hero-imm__scrim {
  position: absolute; inset: calc(var(--header-h) * -1) 0 0 0; z-index: -1;
  background:
    linear-gradient(100deg, oklch(19% 0.05 214 / 0.95) 0%, oklch(21% 0.06 210 / 0.74) 44%, oklch(28% 0.07 205 / 0.3) 80%, transparent 100%),
    radial-gradient(120% 90% at 10% 28%, oklch(30% 0.08 200 / 0.36), transparent 60%),
    linear-gradient(180deg, oklch(18% 0.05 216 / 0.6), transparent 26%, oklch(16% 0.05 216 / 0.62));
}
.hero-imm__inner { width: 100%; max-width: var(--container); margin-inline: auto; position: relative; }
.hero-imm__col { max-width: 42rem; }
.hero-imm .eyebrow { color: var(--amber-300); }
.hero-imm__title {
  font-family: var(--font-display); font-weight: 800; line-height: 0.98;
  letter-spacing: -0.03em; color: #f4fdfb;
  font-size: clamp(2.1rem, 3.9vw + 1.4svh + 0.4rem, 4.4rem);
  margin-block: 0.6rem 0.9rem; text-wrap: balance;
}
.hero-imm__title .tint { color: var(--amber-300); }
.hero-imm__lead {
  font-size: clamp(1.02rem, 1.1svh + 0.45vw, 1.26rem); line-height: 1.5;
  color: oklch(93% 0.02 195 / 0.92); max-width: 35rem; margin-bottom: 1.6rem;
}
.hero-imm__ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.hero-imm__meta {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin-top: 1.7rem;
  font-family: var(--font-mono); font-size: var(--step--1);
  color: oklch(90% 0.02 195 / 0.85);
}
.hero-imm__meta span { display: inline-flex; align-items: center; gap: 0.5ch; }
.hero-imm__meta svg { color: var(--amber-300); }
.hero-imm__bubbles { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-imm__bubbles i {
  position: absolute; bottom: -8%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, oklch(88% 0.05 195 / 0.5), oklch(70% 0.08 195 / 0.12) 60%, transparent 70%);
  border: 1px solid oklch(85% 0.05 195 / 0.18);
  animation: bubble-rise linear infinite;
}
@keyframes bubble-rise {
  0% { transform: translateY(0) scale(0.8); opacity: 0; }
  12% { opacity: 0.9; }
  100% { transform: translateY(-118svh) scale(1.15); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .hero-imm__bubbles { display: none; } }
@media (max-height: 760px) { .hero-imm__title { font-size: clamp(1.9rem, 3.1vw + 1svh, 3.4rem); } }
/* Short-viewport compaction so the WHOLE hero (incl. meta row) stays within one
   screen: heroBottom <= innerHeight at 360x640 and 812x375 landscape. */
@media (max-height: 720px) {
  .hero-imm { padding-block: clamp(0.9rem, 2.2svh, 1.9rem); }
  .hero-imm__title { margin-block: 0.4rem 0.55rem; }
  .hero-imm__lead { margin-bottom: 0.95rem; }
  .hero-imm__meta { margin-top: 0.95rem; gap: 0.4rem 1.2rem; }
}
@media (max-width: 600px) {
  .hero-imm__media img { object-position: 62% 44%; }
  .hero-imm__title { font-size: clamp(1.8rem, 6.4vw + 0.3rem, 2.7rem); }
  .hero-imm__lead { font-size: 1rem; }
}
@media (max-height: 560px) {
  .hero-imm { min-height: auto; padding-block: 1.3rem; }
  .hero-imm__lead { margin-bottom: 0.7rem; }
  .hero-imm__meta { margin-top: 0.7rem; }
  .hero-imm__title { font-size: clamp(1.55rem, 3vw + 2svh, 2.3rem); }
}
/* Very short landscape (phone landscape): drop the supplemental meta row so the
   headline + primary CTA + lead all stay on one screen. The address/hours/phone
   still live in the header pill, the Visit section and the footer. */
@media (max-height: 470px) {
  .hero-imm__meta { display: none; }
  .hero-imm__lead { margin-bottom: 0.5rem; }
}

/* Section head */
.section-head { max-width: 46rem; margin-bottom: var(--space-xl); }
.section-head h2 { font-size: var(--step-4); }
.section-head .lead, .section-head p { color: var(--text-muted); }
.section--sunken { background: var(--bg-sunken); }
.on-deep .eyebrow { color: var(--amber-300); }

/* ---------- 2 . WHAT WE CARRY — horizontal scroll shelf ---------- */
.shelf__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: var(--space-xl); }
.shelf__head .section-head { margin-bottom: 0; }
.shelf__hint { font-family: var(--font-mono); font-size: var(--step--1); color: var(--text-muted); display: inline-flex; align-items: center; gap: 0.6ch; }
.shelf__hint svg { color: var(--primary); }
.shelf__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 20rem);
  gap: var(--space-lg); overflow-x: auto; scroll-snap-type: x mandatory;
  padding-block: 0.5rem 1.5rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--primary) transparent;
}
.shelf__track::-webkit-scrollbar { height: 8px; }
.shelf__track::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 99px; }
.shelf__track::-webkit-scrollbar-track { background: var(--paper-2); border-radius: 99px; }
.shelf-card {
  scroll-snap-align: start; background: var(--bg-elevated);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.shelf-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.shelf-card__top {
  min-height: 3.4rem; display: flex; align-items: center; gap: 0.7rem;
  padding: 0.85rem 1.4rem; background: linear-gradient(120deg, var(--signal-700), var(--signal-600));
  color: #eafcf8; font-family: var(--font-display); font-weight: 700;
}
.shelf-card__top .idx { font-family: var(--font-mono); font-size: var(--step--1); opacity: 0.7; margin-left: auto; font-weight: 500; }
.shelf-card__body { padding: 1.4rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.shelf-card__body p { color: var(--text-muted); font-size: var(--step-0); }
.shelf-card__tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: 0.4rem; padding-top: 0.5rem; }
.shelf-card__tags span {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.02em;
  color: var(--primary-strong); background: var(--primary-tint);
  padding: 0.25rem 0.6rem; border-radius: 99px;
}

/* ---------- 3 . GALLERY — immersive reef (STAR MOMENT) ---------- */
.reef {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(120% 100% at 80% 0%, var(--deep-800), transparent 55%),
    linear-gradient(180deg, var(--deep-900), oklch(18% 0.05 216));
  color: #eafcf8; padding-block: clamp(3.5rem, 8vw, 6.5rem); padding-inline: var(--gutter);
}
.reef::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(80% 60% at 50% -10%, oklch(70% 0.14 195 / 0.16), transparent 60%);
}
.reef__inner { position: relative; z-index: 1; max-width: var(--container-wide); margin-inline: auto; }
.reef .section-head { max-width: 44rem; }
.reef .section-head h2 { color: #f4fdfb; }
.reef .eyebrow { color: var(--amber-300); }
.reef .section-head p { color: oklch(90% 0.02 195 / 0.82); }
.reef__grid {
  display: grid; gap: 0.9rem; grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 9.5rem; grid-auto-flow: row dense;
}
@media (min-width: 46rem) { .reef__grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 11rem; } }
.reef__tile {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid oklch(60% 0.06 200 / 0.25); background: var(--deep-800); margin: 0;
}
.reef__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.reef__tile figcaption {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 2;
  padding: 1.4rem 1rem 0.85rem; font-family: var(--font-mono); font-size: 0.76rem;
  letter-spacing: 0.04em; color: #eafcf8;
  background: linear-gradient(0deg, oklch(15% 0.04 216 / 0.9), transparent);
  opacity: 0; transform: translateY(8px); transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.reef__tile::after {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit;
  box-shadow: inset 0 0 0 0 var(--amber-500); transition: box-shadow var(--dur) var(--ease-out);
  pointer-events: none;
}
.reef__tile:hover img, .reef__tile:focus-within img { transform: scale(1.07); }
.reef__tile:hover figcaption, .reef__tile:focus-within figcaption { opacity: 1; transform: none; }
.reef__tile:hover::after, .reef__tile:focus-within::after { box-shadow: inset 0 0 0 2px oklch(75% 0.13 45 / 0.75); }
.reef__tile--wide { grid-column: span 2; }
.reef__tile--tall { grid-row: span 2; }
.reef__foot { margin-top: var(--space-lg); display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.2rem; }
.reef__note { font-family: var(--font-mono); font-size: var(--step--1); color: oklch(88% 0.02 195 / 0.7); }

/* ---------- 4 . SETUP HELP — numbered split (why-us) ---------- */
.setup { position: relative; overflow: hidden; }
.setup__grid { display: grid; gap: var(--space-2xl); align-items: start; }
@media (min-width: 60rem) { .setup__grid { grid-template-columns: 0.92fr 1.08fr; gap: var(--space-3xl); } }
.setup__aside { position: relative; }
@media (min-width: 60rem) { .setup__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.setup__aside .lead { color: var(--text-muted); }
.setup__photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-lg); margin-top: var(--space-lg);
  aspect-ratio: 4 / 3;
}
.setup__photo img { width: 100%; height: 100%; object-fit: cover; }
.setup__photo figcaption {
  position: absolute; left: 0.9rem; bottom: 0.9rem; z-index: 2;
  font-family: var(--font-mono); font-size: 0.72rem; color: #eafcf8;
  background: oklch(20% 0.05 214 / 0.62); backdrop-filter: blur(4px);
  padding: 0.3rem 0.7rem; border-radius: 99px;
}
.setup-steps { display: grid; gap: 0; counter-reset: st; }
.setup-step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.1rem 1.3rem;
  padding-block: var(--space-lg); border-top: 1px solid var(--border);
}
.setup-step:last-child { border-bottom: 1px solid var(--border); }
.setup-step__n {
  counter-increment: st; font-family: var(--font-display); font-weight: 800;
  font-size: var(--step-4); line-height: 0.9; color: var(--primary); opacity: 0.92;
}
.setup-step__n::before { content: counter(st, decimal-leading-zero); }
.setup-step h3 { font-size: var(--step-1); margin-bottom: 0.35rem; }
.setup-step p { color: var(--text-muted); }

/* ---------- 5 . VISIT — specsheet + map facade + mini FAQ ---------- */
.visit__grid { display: grid; gap: var(--space-2xl); align-items: start; }
@media (min-width: 58rem) { .visit__grid { grid-template-columns: 1fr 1fr; gap: var(--space-3xl); } }
.specsheet {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden;
}
.specsheet__band {
  display: flex; align-items: center; gap: 0.7rem; padding: 1.1rem 1.4rem;
  background: linear-gradient(120deg, var(--signal-700), var(--signal-600)); color: #eafcf8;
  font-family: var(--font-display); font-weight: 700; font-size: var(--step-1);
}
.specsheet__body { padding: 1.4rem; display: grid; gap: 1.1rem; }
.spec-row { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.9rem; align-items: start; }
.spec-row svg { color: var(--primary); margin-top: 0.15rem; }
.spec-row .k { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.spec-row .v { font-weight: 600; }
.spec-row .v a { color: var(--primary); text-decoration: none; }
.hours-table { width: 100%; border-collapse: collapse; font-size: var(--step-0); }
.hours-table th, .hours-table td { text-align: left; padding: 0.45rem 0; border-bottom: 1px dashed var(--border); }
.hours-table th { font-weight: 600; color: var(--text); }
.hours-table td { color: var(--text-muted); font-variant-numeric: tabular-nums; text-align: right; }
.hours-note { font-size: var(--step--1); color: var(--text-muted); display: inline-flex; align-items: center; gap: 0.5ch; margin-top: 0.3rem; }
.hours-note svg { color: var(--amber-500); }
.specsheet__cta { padding: 1.1rem 1.4rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* Lazy map facade (no external iframe — CSP-safe styled block linking out) */
.mapcard {
  position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow); text-decoration: none;
  margin-top: var(--space-lg); background:
    radial-gradient(90% 120% at 30% 20%, oklch(92% 0.03 190), transparent 60%),
    repeating-linear-gradient(0deg, oklch(90% 0.02 200) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, oklch(90% 0.02 200) 0 1px, transparent 1px 34px),
    linear-gradient(160deg, oklch(94% 0.02 195), oklch(90% 0.03 190));
  min-height: 13rem; color: var(--text);
  transition: box-shadow var(--dur) var(--ease-out);
}
.mapcard:hover { box-shadow: var(--shadow-lg); }
.mapcard__route { position: absolute; inset: 0; }
.mapcard__route path { stroke: var(--primary); stroke-width: 3; fill: none; stroke-linecap: round; stroke-dasharray: 6 8; }
.mapcard__pin {
  position: absolute; left: 62%; top: 46%; transform: translate(-50%, -100%);
  color: var(--amber-500); filter: drop-shadow(0 6px 10px oklch(40% 0.05 210 / 0.35));
}
.mapcard__label {
  position: absolute; left: 0.9rem; bottom: 0.9rem; right: 0.9rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
  background: color-mix(in oklch, var(--white) 92%, transparent);
  backdrop-filter: blur(3px); border-radius: 10px; padding: 0.6rem 0.9rem;
  font-family: var(--font-mono); font-size: var(--step--1);
}
.mapcard__label b { font-family: var(--font-body); font-weight: 650; }
.mapcard__go { color: var(--primary); font-weight: 650; display: inline-flex; align-items: center; gap: 0.4ch; }

/* ---------- 6 . CTA — deep-water call band ---------- */
.callout-deep {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg);
  padding: clamp(2.4rem, 6vw, 4.5rem); text-align: center; color: #eafcf8;
  background:
    radial-gradient(70% 130% at 50% 0%, var(--deep-800), transparent 60%),
    linear-gradient(160deg, oklch(26% 0.06 208), oklch(18% 0.05 216));
  border: 1px solid oklch(55% 0.07 200 / 0.3);
}
.callout-deep::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 80% at 50% 110%, oklch(70% 0.14 45 / 0.16), transparent 60%);
}
.callout-deep > * { position: relative; z-index: 1; }
.callout-deep .eyebrow { color: var(--amber-300); justify-content: center; }
.callout-deep h2 { color: #f4fdfb; margin-block: 0.5rem 0.8rem; font-size: var(--step-4); }
.callout-deep p { color: oklch(90% 0.02 195 / 0.85); max-width: 40rem; margin-inline: auto; }
.callout-deep .cluster { justify-content: center; margin-top: 1.7rem; }
.callout-deep__phone { font-family: var(--font-display); font-weight: 800; font-size: var(--step-3); letter-spacing: -0.02em; color: #f4fdfb; text-decoration: none; }
.callout-deep__addr { margin-top: 1.4rem; font-family: var(--font-mono); font-size: var(--step--1); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--space-sm); }
.faq__item {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-elevated); overflow: hidden;
}
.faq__q {
  inline-size: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-md); padding: var(--space-md) var(--space-lg); text-align: start;
  font-family: var(--font-display); font-weight: 650; font-size: var(--step-1); color: var(--text);
}
.faq__q .chev { transition: transform var(--dur) var(--ease-out); flex: none; }
.faq__item[data-open="true"] .chev { transform: rotate(180deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur) var(--ease-out); }
.faq__item[data-open="true"] .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 var(--space-lg) var(--space-lg); color: var(--text-muted); }

/* ---------- Cards / trust chips ---------- */
.trust-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: var(--space-lg); }
.trust-chip {
  display: inline-flex; align-items: center; gap: 0.55ch;
  padding: 0.5rem 0.95rem; border-radius: var(--radius-pill);
  border: 1px solid oklch(80% 0.05 195 / 0.35); background: oklch(30% 0.05 205 / 0.35);
  color: #eafcf8; font-family: var(--font-mono); font-size: var(--step--1);
}
.trust-chip svg { color: var(--amber-300); }

/* ---------- Form ---------- */
.field { display: grid; gap: 0.4rem; }
.field label { font-size: var(--step--1); font-weight: 600; color: var(--text); }
.field input, .field textarea {
  inline-size: 100%; padding: 0.85rem 1rem; background: var(--bg-elevated);
  border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: var(--step-0);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  field-sizing: content; min-block-size: 3rem;
}
.field textarea { min-block-size: 7rem; max-block-size: 18rem; }
.field input:focus-visible, .field textarea:focus-visible {
  border-color: var(--primary); outline: none;
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--primary) 25%, transparent);
}
.form-status { padding: var(--space-md); border-radius: var(--radius-sm); font-weight: 500; }
.form-status[data-state="ok"]  { background: color-mix(in oklch, var(--good) 18%, transparent); color: var(--good); }
.form-status[data-state="err"] { background: color-mix(in oklch, var(--bad) 16%, transparent); color: var(--bad); }

/* ==========================================================================
   CUSTOM BRANDED FOOTER (.aq-footer) — P13
   Full-bleed deep-water CTA band + niche columns + studio credit last line.
   ========================================================================== */
.aq-footer { background: var(--deep-900); color: #dff5f1; }
.aq-footer__cta {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 130% at 20% 0%, var(--deep-800), transparent 60%),
    linear-gradient(120deg, oklch(30% 0.07 200), oklch(19% 0.05 214));
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.aq-footer__cta::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(45% 90% at 85% 120%, oklch(70% 0.14 45 / 0.2), transparent 60%);
}
.aq-footer__cta .container {
  position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1.4rem;
}
.aq-footer__cta-copy h2 { color: #f4fdfb; font-size: var(--step-3); margin-bottom: 0.3rem; }
.aq-footer__cta-copy p { color: oklch(90% 0.02 195 / 0.82); max-width: 34rem; }
.aq-footer__cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.2rem; }
.aq-footer__phone { font-family: var(--font-display); font-weight: 800; font-size: var(--step-2); color: #f4fdfb; text-decoration: none; letter-spacing: -0.02em; }

.aq-footer__body { padding-block: clamp(2.5rem, 6vw, 3.75rem) var(--space-lg); }
.aq-footer__grid { display: grid; gap: var(--space-xl); grid-template-columns: 1fr; }
@media (min-width: 46rem) { .aq-footer__grid { grid-template-columns: 1.5fr 1fr 1.2fr; } }
.aq-footer__brand-logo { height: 2.5rem; width: auto; max-width: 13rem; filter: brightness(0) invert(1); }
.aq-footer__about p { color: oklch(88% 0.02 195 / 0.72); max-width: 24rem; margin-top: var(--space-md); }
.aq-footer h3 {
  font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.1em;
  text-transform: uppercase; color: oklch(82% 0.05 195 / 0.7); margin-bottom: var(--space-md);
}
.aq-footer__col a:not(.btn) {
  display: block; text-decoration: none; color: oklch(90% 0.02 195 / 0.82);
  padding-block: 0.32rem; transition: color var(--dur-fast) var(--ease-out);
}
.aq-footer__col a:not(.btn):hover { color: #fff; }
.aq-footer__nap { font-style: normal; font-family: var(--font-mono); font-size: var(--step--1); color: oklch(88% 0.02 195 / 0.75); line-height: 1.8; }
.aq-footer__nap a { color: var(--amber-300); text-decoration: none; }
.aq-footer__hours { font-family: var(--font-mono); font-size: var(--step--1); color: oklch(90% 0.02 195 / 0.82); line-height: 1.9; }
.aq-footer__hours .day { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed oklch(60% 0.05 200 / 0.3); padding-block: 0.15rem; }
.aq-footer__hours-note { margin-top: 0.6rem; display: inline-flex; align-items: center; gap: 0.5ch; color: var(--amber-300); }
.aq-footer__bottom {
  border-top: 1px solid oklch(45% 0.05 205 / 0.35); margin-top: var(--space-xl); padding-top: var(--space-lg);
  display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; justify-content: space-between; align-items: center;
  font-size: var(--step--1); color: oklch(85% 0.02 195 / 0.7);
}
.studio-credit { font-size: var(--step--1); color: oklch(82% 0.02 195 / 0.65); }
.studio-credit__link { color: var(--amber-300); text-decoration: none; font-weight: 600; }
.studio-credit__link:hover { text-decoration: underline; }

/* ---------- Reveal on scroll (progressive enhancement, orchestrated) ---------- */
.reveal { opacity: 0; transform: translateY(20px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.reveal[data-delay="1"].is-in { transition-delay: 0.08s; }
.reveal[data-delay="2"].is-in { transition-delay: 0.16s; }
.reveal[data-delay="3"].is-in { transition-delay: 0.24s; }
.reveal[data-delay="4"].is-in { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
/* ==========================================================================
   utilities.css — Utilidades atómicas (último en la cascada)
   ========================================================================== */

.text-muted   { color: var(--text-muted); }
.text-center  { text-align: center; }
.text-balance { text-wrap: balance; }
.mono         { font-family: var(--font-mono); }

.lead { font-size: var(--step-1); color: var(--text-muted); }

.mt-0  { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.hidden { display: none; }

/* Tag / chip */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5ch;
  padding: 0.3rem 0.7rem;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  background: var(--bg-elevated);
}
.tag--accent { color: var(--primary); border-color: color-mix(in oklch, var(--primary) 40%, var(--border)); }

/* Prose (contenido largo legible) */
.prose { max-width: var(--container-prose); }
.prose p { margin-block: var(--space-md); }
.prose h2 { margin-block: var(--space-xl) var(--space-md); }
.prose h3 { margin-block: var(--space-lg) var(--space-sm); }
.prose ul { margin-block: var(--space-md); padding-inline-start: 1.25rem; }
.prose li { margin-block: 0.4rem; }
.prose a { color: var(--primary); }
