/* ==========================================================================
   AROMA STUDIO — Identidad Visual Definitiva (Quiet Luxury + Sensory Luxury)
   Tipografía autoalojada SIL OFL: Cormorant Garamond + Jost
   ========================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/jost-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/jost-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Paleta definitiva de AROMA STUDIO: Nocturno Mineral + Salón Caliza/Alabastro + Latón Suave */
  --nocturne: #121110;
  --nocturne-deep: #0e0d0c;
  --nocturne-ink: #f4f0e8;
  --nocturne-muted: #b9b1a5;
  --nocturne-line: rgba(244, 240, 232, 0.14);
  --nocturne-line-strong: rgba(244, 240, 232, 0.3);
  --brass: #c9ae85;

  --salon-limestone: #eae8e3;
  --salon-alabaster: #f1efea;
  --salon-cove: #dddbd4;
  --salon-floor: #e5e3dd;
  --ink: #191816;
  --ink-muted: #53504a;
  --line: rgba(25, 24, 22, 0.11);
  --line-strong: rgba(25, 24, 22, 0.25);

  --studio-wash: radial-gradient(
    115% 68% at 46% 18%,
    rgba(255, 255, 255, 0.52) 0%,
    rgba(250, 249, 247, 0.2) 44%,
    transparent 82%
  );
  --keylight-grad: radial-gradient(
    96% 72% at 46% 36%,
    rgba(255, 255, 255, 0.42) 0%,
    rgba(250, 249, 247, 0.14) 50%,
    transparent 84%
  );
  --floor-bounce-grad: radial-gradient(
    54% 16% at 50% 88%,
    rgba(255, 255, 255, 0.42) 0%,
    rgba(255, 255, 255, 0.11) 54%,
    transparent 100%
  );

  --shadow-core-rgb: 18, 16, 14;
  --shadow-cast-rgb: 24, 21, 18;
  --shadow-ambient-rgb: 28, 25, 22;

  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-sans: "Jost", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--nocturne);
}

::selection {
  background: var(--brass);
  color: var(--nocturne);
}

html,
body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

button,
a {
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

a {
  text-decoration: none;
}

button:focus-visible,
a:focus-visible,
.rail-viewport:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.rail-viewport:focus-visible {
  outline-offset: -3px;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--nocturne);
  color: var(--nocturne-ink);
  border: 1px solid var(--brass);
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 12px;
}

/* ==========================================================================
   Navegación Principal Adaptativa (52 px móvil / 60 px escritorio)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 52px;
  color: var(--nocturne-ink);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 280ms ease, color 280ms ease, border-color 280ms ease;
}

.site-header.is-scrolled[data-header-tone="dark"] {
  background: color-mix(in srgb, var(--nocturne) 84%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--nocturne-line);
}

.site-header[data-header-tone="light"] {
  color: var(--ink);
  background: var(--salon-limestone);
  border-bottom-color: var(--line);
}

.header-inner {
  max-width: 1360px;
  height: 100%;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.brand-logo {
  height: 24px;
  width: auto;
  display: block;
}

.logo-dark {
  display: none;
}

.site-header[data-header-tone="light"] .logo-light {
  display: none;
}

.site-header[data-header-tone="light"] .logo-dark {
  display: block;
}

.desktop-nav {
  display: none;
}

.menu-toggle {
  min-height: 44px;
  padding: 0 8px;
  margin-right: -8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.menu-toggle:focus-visible {
  outline-offset: -2px;
}

.menu-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.menu-lines {
  width: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.menu-lines span {
  display: block;
  height: 1.25px;
  background: currentColor;
}

/* ==========================================================================
   Portada Inmersiva (100svh, Nocturne Chiaroscuro + Tríptico Escultórico)
   ========================================================================== */
.cover-section {
  position: relative;
  min-height: 100svh;
  background-color: var(--nocturne);
  color: var(--nocturne-ink);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: clip;
  padding: calc(64px + env(safe-area-inset-top)) 20px calc(32px + env(safe-area-inset-bottom));
}

.cover-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(88% 58% at 50% 34%, rgba(201, 174, 133, 0.14) 0%, rgba(201, 174, 133, 0.04) 44%, transparent 74%),
    radial-gradient(64% 24% at 50% 60%, rgba(255, 245, 228, 0.07) 0%, transparent 72%);
}

.cover-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cover-stage {
  position: relative;
  width: 100%;
  max-width: 390px;
  height: clamp(290px, 44svh, 390px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.cover-bottle {
  position: absolute;
  bottom: 4%;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  will-change: transform, opacity;
}

.cover-bottle img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.cover-bottle-center {
  z-index: 3;
  width: clamp(238px, 64vw, 290px);
}

.cover-bottle-left {
  z-index: 2;
  left: -10%;
  bottom: 7%;
  width: clamp(188px, 50vw, 224px);
}

.cover-bottle-left img {
  filter: brightness(0.68) contrast(1.04) saturate(0.86);
}

.cover-bottle-right {
  z-index: 2;
  right: -10%;
  bottom: 7%;
  width: clamp(192px, 52vw, 232px);
}

.cover-bottle-right img {
  filter: brightness(0.76) contrast(1.02) saturate(0.88);
}

.cover-shadow {
  position: absolute;
  left: 50%;
  bottom: 6.5%;
  transform: translateX(-50%);
  width: 58%;
  height: 4.2%;
  border-radius: 50%;
  filter: blur(7px);
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.25) 55%, transparent 82%);
}

.cover-shadow-hero {
  width: 68%;
  height: 5.5%;
  filter: blur(9px);
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.35) 56%, transparent 84%);
}

.cover-editorial {
  text-align: center;
  max-width: 32rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cover-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 9.2vw, 4.1rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: var(--nocturne-ink);
  text-wrap: balance;
}

.cover-title span {
  color: var(--brass);
}

.cover-lead {
  margin: 14px 0 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--nocturne-muted);
  max-width: 34ch;
  text-wrap: pretty;
}

.cover-actions {
  margin-top: 24px;
}

.cover-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--nocturne-line-strong);
  border-radius: 999px;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nocturne-ink);
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.cover-cta:hover {
  background: var(--nocturne-ink);
  color: var(--nocturne);
  border-color: var(--nocturne-ink);
}

/* ==========================================================================
   Pasarelas Circulares Integradas (Salón Piedra Caliza y Alabastro Cálido)
   ========================================================================== */
.rail-showcase {
  position: relative;
  min-height: calc(100svh - 52px);
  scroll-margin-top: 52px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 28px 0 34px;
  background-color: var(--salon-limestone);
  background-image: var(--studio-wash);
  color: var(--ink);
}

.rail-showcase--alabaster {
  background-color: var(--salon-alabaster);
}

.rail-intro {
  text-align: center;
  padding: 0 20px;
}

.rail-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 6.8vw, 2.55rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.08;
  text-wrap: balance;
}

.rail-subtitle {
  margin: 8px auto 0;
  max-width: 38ch;
  font-size: 0.875rem;
  line-height: 1.48;
  color: var(--ink-muted);
  text-wrap: pretty;
}

.rail-viewport {
  position: relative;
  width: 100%;
  height: clamp(354px, 47svh, 444px);
  margin: 4px 0 0;
  overflow: clip;
  touch-action: pan-y pinch-zoom;
  overscroll-behavior-x: contain;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  cursor: grab;
}

.rail-viewport.is-dragging {
  cursor: grabbing;
}

.rail-cyclorama {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 56%,
    var(--salon-cove) 80%,
    var(--salon-floor) 92%,
    transparent 100%
  );
}

.rail-keylight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--keylight-grad);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 76%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 76%, transparent 100%);
}

.rail-floor-bounce {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--floor-bounce-grad);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 84%, transparent 100%);
  will-change: opacity;
}

.rail-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.rail-bottle {
  position: absolute;
  bottom: 5.5%;
  left: 50%;
  width: clamp(174px, 45vw, 212px);
  height: calc(clamp(286px, 75vw, 336px) * 1.25);
  margin-left: calc(clamp(174px, 45vw, 212px) * -0.5);
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transform-origin: 50% 92%;
  will-change: transform, opacity;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
}

.bottle-visual {
  position: relative;
  flex: 0 0 auto;
  width: clamp(286px, 75vw, 336px);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.rail-bottle img {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  will-change: filter;
}

.bottle-shadow-ambient,
.bottle-shadow-cast,
.bottle-shadow-core {
  position: absolute;
  left: 50%;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
}

.bottle-shadow-ambient {
  z-index: 1;
  bottom: 4.3%;
  width: calc(var(--base-w, 0.45) * 142%);
  height: 6.4%;
  filter: blur(7px);
  background: radial-gradient(
    ellipse at center,
    rgba(var(--shadow-ambient-rgb), calc(0.11 * var(--mass, 1))) 0%,
    rgba(var(--shadow-ambient-rgb), calc(0.035 * var(--mass, 1))) 52%,
    transparent 80%
  );
}

.bottle-shadow-cast {
  z-index: 1;
  bottom: 6.1%;
  width: calc(var(--base-w, 0.45) * 116%);
  height: 3.8%;
  filter: blur(3.5px);
  background: radial-gradient(
    ellipse at center,
    rgba(var(--shadow-cast-rgb), calc(0.21 * var(--mass, 1))) 0%,
    rgba(var(--shadow-cast-rgb), calc(0.07 * var(--mass, 1))) 56%,
    transparent 82%
  );
}

.bottle-shadow-core {
  z-index: 2;
  bottom: 7.5%;
  width: calc(var(--base-w, 0.45) * 90%);
  height: 1.8%;
  filter: blur(1.4px);
  background: radial-gradient(
    ellipse at center,
    rgba(var(--shadow-core-rgb), calc(0.46 * var(--mass, 1))) 0%,
    rgba(var(--shadow-core-rgb), calc(0.18 * var(--mass, 1))) 58%,
    transparent 86%
  );
}

.rail-readout {
  text-align: center;
  padding: 2px 20px 0;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.readout-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.readout-name {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 5.4vw, 1.9rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.01em;
  max-width: 26ch;
  text-wrap: balance;
}

.readout-price {
  margin: 5px 0 0;
  font-size: 0.9375rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.readout-note {
  margin: 6px 0 0;
  min-height: 18px;
  font-size: 0.78rem;
  color: var(--ink-muted);
  opacity: 0;
  transition: opacity 220ms ease;
}

.readout-note.is-visible {
  opacity: 1;
}

.rail-controls {
  margin-top: 4px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.step-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.step-btn:hover {
  background: var(--ink);
  color: var(--salon-limestone);
  border-color: var(--ink);
}

.rail-ticks {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rail-tick {
  border: 0;
  padding: 10px 3px;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.rail-tick span {
  display: block;
  width: 6px;
  height: 2px;
  border-radius: 99px;
  background: var(--line-strong);
  transition: width 260ms cubic-bezier(0.16, 1, 0.3, 1), background-color 220ms ease;
}

.rail-tick.is-active span {
  width: 22px;
  background: var(--ink);
}

/* ==========================================================================
   Interludio Sensorial: La materia viva (3 láminas botánicas reales)
   ========================================================================== */
.atelier-interlude {
  scroll-margin-top: 52px;
  background-color: var(--nocturne);
  background-image: radial-gradient(92% 64% at 50% 10%, rgba(201, 174, 133, 0.09) 0%, transparent 72%);
  color: var(--nocturne-ink);
  padding: 68px 20px 76px;
}

.interlude-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.interlude-copy {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto;
}

.interlude-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 7.6vw, 3rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--nocturne-ink);
}

.interlude-lead {
  margin: 14px 0 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--nocturne-muted);
  text-wrap: pretty;
}

.botanical-triptych {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.botanical-plate {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.botanical-frame {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--nocturne-line);
  background: #e6d7c5;
}

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

.botanical-caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.botanical-note {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--nocturne-ink);
}

.botanical-phase {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
}

/* ==========================================================================
   Colofón de la Maison (Footer)
   ========================================================================== */
.maison-footer {
  background: var(--nocturne-deep);
  color: var(--nocturne-ink);
  border-top: 1px solid var(--nocturne-line);
  padding: 56px 20px calc(40px + env(safe-area-inset-bottom));
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--nocturne-line);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 34rem;
}

.footer-emblem {
  width: 30px;
  height: auto;
  opacity: 0.88;
}

.footer-wordmark {
  height: 24px;
  width: auto;
}

.footer-manifesto {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--nocturne-muted);
  text-wrap: pretty;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  font-size: 0.9375rem;
  color: var(--nocturne-muted);
  transition: color 180ms ease;
}

.footer-nav a:hover {
  color: var(--nocturne-ink);
}

.footer-bottom {
  max-width: 1200px;
  margin: 22px auto 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-copy,
.footer-status {
  margin: 0;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--nocturne-muted);
}

/* ==========================================================================
   Hoja de Navegación Móvil (Nocturne Drawer)
   ========================================================================== */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
}

.nav-drawer.is-open {
  display: block;
}

.nav-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 7, 0.62);
}

.nav-drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 88vw);
  background: var(--nocturne);
  color: var(--nocturne-ink);
  border-left: 1px solid var(--nocturne-line);
  padding: calc(14px + env(safe-area-inset-top)) 22px calc(28px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--nocturne-line);
}

.nav-drawer-close {
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--nocturne-ink);
}

.nav-drawer-links {
  display: flex;
  flex-direction: column;
  margin: 24px 0 auto;
}

.drawer-link,
.drawer-upcoming {
  min-height: 58px;
  padding: 12px 0;
  border-bottom: 1px solid var(--nocturne-line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--nocturne-ink);
}

.drawer-upcoming {
  color: var(--nocturne-muted);
}

.drawer-meta {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
}

.nav-drawer-foot {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--nocturne-muted);
}

/* Página 404 */
.page-not-found {
  background: var(--nocturne);
  color: var(--nocturne-ink);
}

.not-found-main {
  min-height: 100svh;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
}

.not-found-title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  font-weight: 400;
}

.not-found-copy {
  margin: 0 0 10px;
  color: var(--nocturne-muted);
}

/* ==========================================================================
   Escalado Progresivo Tablet y Escritorio
   ========================================================================== */
@media (min-width: 820px) {
  .site-header {
    height: 60px;
  }

  .header-inner {
    padding: 0 36px;
  }

  .brand-logo {
    height: 26px;
  }

  .menu-toggle {
    display: none;
  }

  .desktop-nav {
    display: inline-flex;
    align-items: center;
    gap: 28px;
  }

  .nav-link {
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    position: relative;
  }

  .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-link:hover::after {
    transform: scaleX(1);
  }

  .nav-link-subtle {
    opacity: 0.72;
  }

  /* Portada editorial panorámica: texto a la izquierda, tríptico escultórico a la derecha */
  .cover-section {
    padding: 84px 48px 56px;
    justify-content: center;
  }

  .cover-inner {
    display: grid;
    grid-template-columns: minmax(360px, 0.92fr) minmax(420px, 1.08fr);
    align-items: center;
    gap: 48px;
  }

  .cover-editorial {
    order: 1;
    text-align: left;
    align-items: flex-start;
  }

  .cover-stage {
    order: 2;
    max-width: none;
    height: clamp(440px, 66svh, 580px);
  }

  .cover-bottle-center {
    width: clamp(310px, 28vw, 396px);
  }

  .cover-bottle-left {
    left: -4%;
    width: clamp(230px, 21vw, 290px);
  }

  .cover-bottle-right {
    right: -4%;
    width: clamp(240px, 22vw, 300px);
  }

  .rail-showcase {
    min-height: calc(100svh - 60px);
    scroll-margin-top: 60px;
    padding: 40px 0 46px;
  }

  .rail-viewport {
    height: clamp(404px, 53svh, 504px);
  }

  .rail-bottle {
    width: clamp(200px, 18vw, 244px);
    height: calc(clamp(320px, 28vw, 392px) * 1.25);
    margin-left: calc(clamp(200px, 18vw, 244px) * -0.5);
  }

  .bottle-visual {
    width: clamp(320px, 28vw, 392px);
  }

  .atelier-interlude {
    scroll-margin-top: 60px;
    padding: 96px 48px 104px;
  }

  .botanical-triptych {
    gap: 32px;
  }

  .footer-inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
