:root {
  --ink: #08060c;
  --ink-soft: #120a1a;
  --paper: #f5efe0;
  --pink: #ff2f9d;
  --magenta: #c026ff;
  --cyan: #1fe6f5;
  --blue: #2e6bff;
  --orange: #ff7a1f;
  --yellow: #ffd23f;
  --green: #3ef07a;
  --grad: linear-gradient(90deg, var(--pink), var(--magenta) 48%, var(--cyan));
  --rainbow: linear-gradient(
    90deg,
    var(--pink), var(--orange), var(--yellow), var(--green), var(--cyan), var(--blue), var(--magenta),
    var(--pink), var(--orange), var(--yellow), var(--green), var(--cyan), var(--blue), var(--magenta)
  );
  --max: 1180px;
  --pad: max(20px, calc((100vw - var(--max)) / 2));
  --font-display: "Unbounded", "Arial Black", sans-serif;
  --font-body: "Space Grotesk", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1.02rem;
  overflow-x: hidden;
}

.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.62;
  mix-blend-mode: screen;
  will-change: transform;
}

.aurora .a1 {
  top: -18%;
  left: -10%;
  width: 52vw;
  height: 52vw;
  background: var(--pink);
  animation: aurora-drift-1 22s ease-in-out infinite;
}

.aurora .a2 {
  top: 10%;
  right: -14%;
  width: 46vw;
  height: 46vw;
  background: var(--cyan);
  animation: aurora-drift-2 26s ease-in-out infinite;
}

.aurora .a3 {
  bottom: -20%;
  left: 12%;
  width: 50vw;
  height: 50vw;
  background: var(--yellow);
  animation: aurora-drift-3 30s ease-in-out infinite;
}

.aurora .a4 {
  bottom: 6%;
  right: 6%;
  width: 40vw;
  height: 40vw;
  background: var(--magenta);
  animation: aurora-drift-1 24s ease-in-out infinite reverse;
}

.aurora .a5 {
  top: 42%;
  left: 38%;
  width: 34vw;
  height: 34vw;
  background: var(--green);
  opacity: 0.42;
  animation: aurora-drift-2 20s ease-in-out infinite reverse;
}

main,
.site-header,
.site-footer,
.marquee {
  position: relative;
  z-index: 1;
}

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

a {
  color: inherit;
}

p {
  line-height: 1.6;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.cursor-glow {
  position: fixed;
  z-index: 89;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 47, 135, 0.35), rgba(34, 211, 238, 0.16) 45%, transparent 72%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  filter: blur(2px);
  transition: opacity 240ms ease;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 24px));
  min-height: 64px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(10, 10, 13, 0.72);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transform: translateX(-50%);
  backdrop-filter: blur(16px) saturate(140%);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 108px;
  height: 48px;
  overflow: hidden;
}

.brand-mark img {
  width: 104px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(245, 239, 224, 0.78);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.86rem;
  text-decoration: none;
  transition: color 200ms ease, background 200ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--paper);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}

/* ---------- Buttons / labels ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 200ms ease;
}

.btn.primary {
  background: var(--rainbow);
  background-size: 300% 100%;
  color: #0a0a0d;
  animation: rainbow-scroll 6s linear infinite, neon-pulse 3s ease-in-out infinite;
}

.btn.ghost {
  border: 1px solid rgba(245, 239, 224, 0.35);
  background: rgba(255, 255, 255, 0.04);
  color: var(--paper);
}

.btn:hover {
  transform: translateY(-3px);
}

.eyebrow,
.section-kicker,
.tea-card > span,
.place-card span,
.mini-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 239, 224, 0.6);
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad);
}

.section-kicker {
  margin-bottom: 14px;
  color: rgba(245, 239, 224, 0.55);
}

/* ---------- Typography ---------- */

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
}

.grad-text {
  background: var(--grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hue 9s ease-in-out infinite alternate;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 96vh;
  padding: 128px var(--pad) 90px;
  display: grid;
  grid-template-columns: minmax(380px, 1.08fr) minmax(280px, 0.62fr);
  align-items: center;
  gap: 40px;
  overflow: hidden;
  background: rgba(8, 6, 12, 0.28);
}

.hero-bg {
  position: absolute;
  inset: -12%;
  z-index: 0;
  background: url("assets/img/fondo-hero.webp") center / cover;
  opacity: 0.6;
  filter: saturate(1.5) brightness(0.92);
  transform: scale(1.08);
  animation: hue-cycle 26s linear infinite;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(6, 4, 10, 0.82) 0%, rgba(6, 4, 10, 0.4) 40%, rgba(6, 4, 10, 0.15) 75%);
}

.hero-copy,
.hero-product {
  position: relative;
  z-index: 1;
}

.hero-copy {
  padding: 28px;
  border-radius: 28px;
  background: rgba(5, 4, 8, 0.5);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-glyph {
  position: absolute;
  z-index: 1;
  width: clamp(90px, 12vw, 160px);
  filter: drop-shadow(0 0 22px rgba(255, 47, 157, 0.55));
  animation: glyph-drift 9s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-glyph.g1 {
  top: 14%;
  right: 4%;
  animation-delay: -2s;
}

.hero-glyph.g2 {
  bottom: 8%;
  left: 2%;
  width: clamp(70px, 9vw, 130px);
  animation-name: glyph-drift-rev;
  animation-delay: -5s;
}

.eyebrow {
  margin-bottom: 20px;
}

.hero h1 {
  margin: 18px 0 22px;
  font-size: clamp(3.2rem, 8.6vw, 7.2rem);
  text-transform: uppercase;
}

.hero-lead {
  max-width: 620px;
  margin: 0 0 32px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(245, 239, 224, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-product {
  position: relative;
  justify-self: center;
  width: min(360px, 100%);
}

.hero-glow {
  position: absolute;
  inset: -24%;
  z-index: 0;
  background: radial-gradient(circle, rgba(192, 38, 255, 0.65), rgba(31, 230, 245, 0.25) 55%, transparent 72%);
  filter: blur(24px);
  animation: glow-pulse 4s ease-in-out infinite;
}

.hero-product img {
  position: relative;
  z-index: 1;
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 34px rgba(255, 47, 157, 0.45)) drop-shadow(0 30px 50px rgba(0, 0, 0, 0.6));
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(245, 239, 224, 0.55);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 1px;
  height: 26px;
  background: linear-gradient(180deg, rgba(245, 239, 224, 0.7), transparent);
  animation: scrollcue 1.8s ease-in-out infinite;
}

/* ---------- Marquee ---------- */

.marquee {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
  background: var(--rainbow);
  background-size: 200% 100%;
  animation: rainbow-scroll 14s linear infinite;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee span {
  padding: 0 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: #0a0a0d;
  white-space: nowrap;
  text-transform: uppercase;
}

/* ---------- Section shell ---------- */

section {
  position: relative;
  padding: 110px var(--pad);
  scroll-margin-top: 96px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-head h2,
.story h2,
.split-copy h2,
.cafe-copy h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  text-transform: uppercase;
}

.section-head p,
.story p,
.split-copy p,
.cafe-copy p {
  margin: 18px 0 0;
  font-size: 1.05rem;
  color: rgba(245, 239, 224, 0.72);
  max-width: 620px;
}

.split-copy h2 {
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.split-copy p {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

/* ---------- Story / marca ---------- */

.story {
  background: rgba(6, 4, 10, 0.4);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 340px;
  align-items: end;
  gap: 48px;
}

.story-copy p {
  color: rgba(245, 239, 224, 0.72);
}

.ritual-card {
  display: grid;
  grid-template-columns: 108px 1fr;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 2px solid transparent;
  border-radius: 20px;
  background:
    linear-gradient(rgba(10, 8, 14, 0.82), rgba(10, 8, 14, 0.82)) padding-box,
    var(--rainbow) border-box;
  background-size: auto, 200% 100%;
  animation: rainbow-scroll 10s linear infinite;
}

.ritual-card img {
  width: 108px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.4));
}

.ritual-card strong,
.ritual-card span {
  display: block;
}

.ritual-card strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.ritual-card span {
  margin-top: 8px;
  font-size: 0.88rem;
  color: rgba(245, 239, 224, 0.6);
}

/* ---------- Mezcal product grid ---------- */

.product-section {
  z-index: 0;
  background: rgba(6, 4, 10, 0.35);
}

.product-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("assets/img/fondo-alebrije.webp") center / cover;
  opacity: 0.5;
  filter: saturate(1.5);
  animation: hue-cycle 30s linear infinite;
}

.product-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 4, 10, 0.55), rgba(6, 4, 10, 0.75));
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  position: relative;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  border: 2px solid transparent;
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(10, 8, 14, 0.82), rgba(10, 8, 14, 0.7)) padding-box,
    var(--rainbow) border-box;
  background-size: auto, 260% 100%;
  animation: rainbow-scroll 13s linear infinite;
  overflow: hidden;
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 260ms ease;
}

.product-card:nth-child(2) { animation-delay: -3s; }
.product-card:nth-child(3) { animation-delay: -6s; }
.product-card:nth-child(4) { animation-delay: -9s; }

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px -14px rgba(255, 47, 157, 0.5);
}

.product-glow {
  position: absolute;
  top: -40px;
  left: 50%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.55;
  transform: translateX(-50%);
  animation: glow-pulse 3.6s ease-in-out infinite;
}

.glow-pink { background: var(--pink); }
.glow-orange { background: var(--orange); }
.glow-green { background: var(--green); }
.glow-cyan { background: var(--cyan); }

.product-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 220px;
  object-fit: contain;
  margin-bottom: 18px;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.45));
}

.product-copy {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.product-copy span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 239, 224, 0.55);
}

.product-copy h3,
.mini-grid h3,
.tea-card h3,
.place-card h3 {
  margin: 10px 0 10px;
  font-family: var(--font-display);
  text-transform: uppercase;
}

.product-copy h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.product-copy p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(245, 239, 224, 0.65);
}

/* ---------- Ron split ---------- */

.split-section {
  z-index: 0;
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  align-items: center;
  gap: 56px;
  background: linear-gradient(120deg, var(--orange), var(--pink) 45%, var(--magenta) 80%);
  background-size: 220% 220%;
  animation: gradient-swim 16s ease-in-out infinite;
}

.split-art {
  position: relative;
  min-height: 480px;
}

.split-glow {
  position: absolute;
  inset: 10% 20%;
  background: radial-gradient(circle, rgba(255, 122, 31, 0.35), transparent 70%);
  filter: blur(30px);
}

.split-icon {
  position: absolute;
  left: 0;
  top: 30px;
  width: min(230px, 48vw);
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.5));
  animation: wobble 6s ease-in-out infinite;
}

.split-bottle {
  position: absolute;
  right: 6%;
  bottom: 0;
  width: min(230px, 46vw);
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55));
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.mini-grid article {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(5, 4, 8, 0.55);
  backdrop-filter: blur(8px);
}

.mini-tag {
  color: var(--pink);
  font-size: 0.8rem;
}

.mini-grid h3 {
  margin: 12px 0 8px;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}

.mini-grid p {
  margin: 0;
  font-size: 0.94rem;
  color: rgba(245, 239, 224, 0.65);
}

/* ---------- Mezcal Tea ---------- */

.tea-section {
  z-index: 0;
  background: rgba(6, 4, 10, 0.4);
  overflow: hidden;
}

.tea-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("assets/img/fondo-maguey.webp") center / cover;
  opacity: 0.55;
  filter: saturate(1.5);
  animation: hue-cycle 28s linear infinite;
}

.tea-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 4, 10, 0.5), rgba(6, 4, 10, 0.78));
}

.tea-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.tea-card {
  position: relative;
  z-index: 1;
  min-height: 360px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(6, 5, 10, 0.78);
  backdrop-filter: blur(8px);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
  animation: neon-pulse 5s ease-in-out infinite;
}

.tea-card:nth-child(2) {
  animation-delay: -2.4s;
}

.tea-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.32);
}

.tea-card img {
  width: 150px;
  height: 130px;
  object-fit: contain;
  margin-bottom: 22px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.4));
}

.tea-card h3 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.tea-card p {
  margin: 8px 0 0;
  color: rgba(245, 239, 224, 0.65);
}

/* ---------- Café ---------- */

.cafe-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: 40px;
  color: var(--ink);
  border: 5px solid transparent;
  border-radius: 32px;
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 47, 157, 0.16), transparent 40%) padding-box,
    radial-gradient(circle at 6% 92%, rgba(31, 230, 245, 0.16), transparent 40%) padding-box,
    linear-gradient(var(--paper), var(--paper)) padding-box,
    var(--rainbow) border-box;
  background-size: auto, auto, auto, 260% 100%;
  animation: rainbow-scroll 15s linear infinite;
  margin: 40px var(--pad);
  padding: 90px 56px;
  width: auto;
}

.cafe-copy h2 {
  color: var(--ink);
}

.cafe-copy p,
.cafe-copy .mini-grid p {
  color: rgba(10, 10, 13, 0.68);
}

.cafe-copy .mini-grid article {
  border-color: rgba(10, 10, 13, 0.12);
  background: rgba(10, 10, 13, 0.03);
}

.cafe-copy .mini-grid h3 {
  color: var(--ink);
}

.cafe-art {
  position: relative;
  justify-self: center;
  width: min(340px, 100%);
}

.cafe-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(192, 38, 255, 0.35), transparent 70%);
  filter: blur(30px);
  animation: glow-pulse 4.5s ease-in-out infinite;
}

.cafe-art img {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 16px 30px rgba(10, 10, 13, 0.25));
}

/* ---------- Mezcalerías ---------- */

.places-section {
  background: rgba(6, 4, 10, 0.35);
}

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

.place-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 2px solid transparent;
  background:
    linear-gradient(rgba(8, 6, 12, 0.9), rgba(8, 6, 12, 0.9)) padding-box,
    var(--rainbow) border-box;
  background-size: auto, 250% 100%;
  animation: rainbow-scroll 12s linear infinite;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.place-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px -12px rgba(255, 47, 157, 0.4);
}

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

.place-card div {
  padding: 22px;
}

.place-card span {
  color: var(--pink);
}

.place-card h3 {
  margin: 10px 0 8px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.place-card p {
  margin: 0;
  font-size: 0.94rem;
  color: rgba(245, 239, 224, 0.65);
}

/* ---------- Footer ---------- */

.site-footer {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  align-items: center;
  padding: 48px var(--pad) 56px;
  border-top: 3px solid transparent;
  border-image: var(--rainbow) 1;
  background: rgba(6, 4, 10, 0.55);
}

.site-footer img {
  width: 130px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  color: rgba(245, 239, 224, 0.8);
  transition: background 200ms ease, color 200ms ease;
}

.footer-links a:hover {
  background: var(--grad);
  color: #0a0a0d;
}

.site-footer p {
  grid-column: 2;
  margin: 0;
  font-size: 0.82rem;
  color: rgba(245, 239, 224, 0.45);
}

/* ---------- Reveal / motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.product-grid .reveal:nth-child(2) { transition-delay: 60ms; }
.product-grid .reveal:nth-child(3) { transition-delay: 120ms; }
.product-grid .reveal:nth-child(4) { transition-delay: 180ms; }
.places-grid .reveal:nth-child(2) { transition-delay: 60ms; }
.places-grid .reveal:nth-child(3) { transition-delay: 120ms; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(30px, 24px, 0) scale(1.12); }
}

@keyframes wobble {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(4deg) translateY(-10px); }
}

@keyframes scrollcue {
  0% { transform: scaleY(0.2); opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0.2); opacity: 0.3; }
}

@keyframes hue {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

@keyframes gradient-swim {
  0%, 100% { background-position: 0% 30%; }
  50% { background-position: 100% 70%; }
}

@keyframes hue-cycle {
  0% { filter: saturate(1.5) brightness(0.92) hue-rotate(0deg); }
  50% { filter: saturate(1.7) brightness(1) hue-rotate(180deg); }
  100% { filter: saturate(1.5) brightness(0.92) hue-rotate(360deg); }
}

@keyframes aurora-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6vw, 5vh) scale(1.15); }
}

@keyframes aurora-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-7vw, 4vh) scale(1.1); }
}

@keyframes aurora-drift-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4vw, -6vh) scale(1.18); }
}

@keyframes glyph-drift {
  from { transform: translate3d(0, 0, 0) rotate(-6deg); }
  to { transform: translate3d(14px, 20px, 0) rotate(8deg); }
}

@keyframes glyph-drift-rev {
  from { transform: translate3d(0, 0, 0) rotate(6deg); }
  to { transform: translate3d(-14px, -16px, 0) rotate(-8deg); }
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes neon-pulse {
  0%, 100% { box-shadow: 0 0 18px -2px rgba(255, 47, 157, 0.7), 0 0 40px -8px rgba(31, 230, 245, 0.5); }
  50% { box-shadow: 0 0 30px 2px rgba(255, 47, 157, 0.9), 0 0 60px -4px rgba(31, 230, 245, 0.7); }
}

@keyframes rainbow-scroll {
  to { background-position: 200% 50%; }
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.4); }
  50% { opacity: 1; transform: scale(1); }
}

.sparkle-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px 2px currentColor;
  animation: twinkle 2.6s ease-in-out infinite;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  section {
    padding: 84px var(--pad);
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 8px;
    right: 8px;
    top: calc(100% + 10px);
    display: grid;
    gap: 4px;
    padding: 10px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 10, 13, 0.96);
    backdrop-filter: blur(16px);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease;
  }

  .site-header.is-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    width: 100%;
  }

  .hero,
  .story-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .cafe-section {
    grid-template-columns: 1fr;
    margin: 24px 16px;
    padding: 64px 28px;
    border-radius: 26px;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
    text-align: left;
  }

  .hero-product {
    justify-self: start;
    width: min(300px, 80%);
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .places-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-art {
    min-height: 380px;
  }

  .cafe-art {
    order: -1;
    width: min(260px, 70%);
  }
}

@media (max-width: 680px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 58px;
  }

  .brand-mark {
    width: 96px;
  }

  .brand-mark img {
    width: 92px;
  }

  .hero {
    padding: 108px 18px 68px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 15vw, 4rem);
  }

  .hero-actions,
  .mini-grid,
  .tea-grid,
  .product-grid,
  .places-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  section {
    padding: 64px 18px;
  }

  .section-head h2,
  .story h2,
  .split-copy h2,
  .cafe-copy h2 {
    font-size: clamp(1.9rem, 11vw, 2.8rem);
  }

  .ritual-card {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: auto;
  }

  .split-art {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-height: auto;
  }

  .split-glow {
    display: none;
  }

  .split-icon,
  .split-bottle {
    position: static;
    width: 170px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .site-footer p {
    grid-column: auto;
  }

  .hero-glyph {
    display: none;
  }
}

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