@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond.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: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-italic.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: 300 500;
  font-display: swap;
  src: url("../assets/fonts/jost.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 {
  --carbon: #202020;
  --noir: #0e0e0e;
  --noir-2: #151413;
  --gold-deep: #c49144;
  --gold: #d1a253;
  --gold-light: #e9c161;
  --glint: #f6cf6b;
  --ivory: #efe6d8;
  --bone: #f7f3ec;
  --ink: #1c1a17;
  --gold-ink: #7e5a24;
  --mist: rgba(239, 230, 216, .66);
  --mist-ink: rgba(28, 26, 23, .68);
  --hair: rgba(209, 162, 83, .32);
  --hair-ink: rgba(28, 26, 23, .16);
  --foil: linear-gradient(100deg, #c49144 0%, #f6cf6b 26%, #d1a253 48%, #e9c161 70%, #b98a3e 100%);

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Century Gothic", Futura, "Trebuchet MS", sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --gutter: 24px;
  --top-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--noir); scroll-padding-top: var(--top-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--noir);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, dl, dd, fieldset { margin: 0; padding: 0; }
ol, ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
abbr { text-decoration: none; }
em { font-style: italic; }
::selection { background: var(--gold); color: var(--noir); }

:focus { outline: none; }
:focus-visible { outline: 1px solid var(--gold-light); outline-offset: 4px; }
.manifesto :focus-visible, .quiz :focus-visible, .world--disenador :focus-visible { outline-color: var(--gold-ink); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.label {
  display: flex;
  align-items: center;
  gap: .9em;
  font-family: var(--sans);
  font-weight: 400;
  font-size: .6875rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
}
.label--ink { color: var(--gold-ink); }
.label .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
}
.fine { font-size: .75rem; line-height: 1.5; color: var(--mist); letter-spacing: .02em; }
.foil-text, .hero__title em, .sim__num, .close__title em {
  background: var(--foil);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--gold);
  -webkit-text-fill-color: transparent;
}

.btn {
  --c: var(--gold);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  min-height: 52px;
  padding: 0 1.6rem;
  border: 1px solid var(--c);
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ivory);
  overflow: hidden;
  isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--foil);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn:hover, .btn:focus-visible { color: var(--noir); }
.btn__arrow { width: 34px; height: 12px; color: currentColor; transition: transform .5s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(6px); }
.btn__wa { width: 18px; height: 18px; flex: none; }
.btn--line { border-width: 0 0 1px; padding: 0; min-height: 44px; }
.btn--line::before { display: none; }
.btn--line:hover { color: var(--gold-light); }
.btn--ink { --c: var(--ink); color: var(--ink); }
.btn--ink::before { background: var(--ink); }
.btn--ink:hover, .btn--ink:focus-visible { color: var(--ivory); }
.btn--line.btn--ink:hover { color: var(--gold-ink); }
.link-btn {
  font-size: .75rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: .8rem 0;
  border-bottom: 1px solid currentColor;
  min-height: 44px;
}

/* intro */
.intro { display: none; }
.is-intro .intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--carbon);
  animation: intro-lift .6s var(--ease-io) 1.5s both;
}
.intro__lockup { display: grid; justify-items: center; width: min(62vw, 300px); }
.intro__mono { width: 74%; overflow: visible; }
.intro__ring {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transform: rotate(-90deg);
  transform-box: fill-box;
  transform-origin: center;
  animation: ring-draw .8s cubic-bezier(.65, 0, .35, 1) .05s both, fade-out .3s ease 1s both;
}
.intro__sweep { transform-origin: 219px 219px; animation: sweep .7s var(--ease) .35s both; }
.intro__glint { animation: glint .6s ease-in-out .8s both; }
.intro__word { width: 100%; margin-top: 11%; overflow: hidden; padding-bottom: 2px; }
.intro__word svg { width: 100%; animation: rise .65s var(--ease) .7s both; }
.intro__tag {
  margin-top: 8%;
  font-weight: 400;
  font-size: clamp(.6rem, 2.6vw, .78rem);
  color: var(--gold);
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: .58em;
  text-indent: .58em;
  animation: fade-in .5s ease .85s both;
}
.intro__tag span { display: inline-block; animation: track .8s var(--ease) .85s both; }
.intro__edge {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--foil);
  opacity: .9;
}
@keyframes ring-draw { to { stroke-dashoffset: 0; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes sweep { from { transform: rotate(-18deg) translateX(0); } to { transform: rotate(-18deg) translateX(680px); } }
@keyframes glint { from { transform: skewX(-18deg) translateX(0); } to { transform: skewX(-18deg) translateX(760px); } }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes track { from { transform: translateX(calc(var(--k) * -.46em)); } to { transform: none; } }
@keyframes intro-lift {
  from { transform: translateY(0); }
  to { transform: translateY(-101%); visibility: hidden; }
}

/* header */
.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--top-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  padding-top: env(safe-area-inset-top);
  transition: background-color .5s var(--ease), border-color .5s var(--ease), transform .6s var(--ease);
  border-bottom: 1px solid transparent;
}
.top.is-solid { background: rgba(14, 14, 14, .94); border-color: rgba(209, 162, 83, .16); }
.top.is-hidden { transform: translateY(-100%); }
.top__brand svg { width: 96px; height: auto; }
.top__nav { display: flex; align-items: center; gap: 1.8rem; font-size: .6875rem; letter-spacing: .28em; text-transform: uppercase; }
.top__nav a:not(.top__wa) { display: none; }
.top__nav a { position: relative; padding: .6rem 0; transition: color .4s; }
.top__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .3rem; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.top__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.top__wa { color: var(--gold-light); }

/* hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--top-h) + 2rem) var(--gutter) calc(5.5rem + env(safe-area-inset-bottom));
  overflow: hidden;
  isolation: isolate;
  background: var(--noir);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(60% 45% at 78% 28%, rgba(209, 162, 83, .26), transparent 70%),
    radial-gradient(50% 40% at 20% 75%, rgba(196, 145, 68, .14), transparent 70%),
    radial-gradient(120% 80% at 50% 100%, #1a1814, var(--noir) 70%);
}
.hero__smoke {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero__smoke.is-on { opacity: 1; }
.hero__mono {
  position: absolute;
  z-index: -1;
  width: 132vw;
  max-width: none;
  right: -58vw;
  top: 9svh;
  opacity: .2;
  animation: mono-in 2.4s var(--ease) var(--hero-d, .1s) both;
}
.hero__inner { position: relative; width: 100%; }
.hero__kicker { margin-bottom: 1.6rem; animation: fade-in 1.2s ease calc(var(--hero-d, .1s) + .5s) both; }
.hero__dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.6rem, 16.5vw, 11rem);
  line-height: .9;
  letter-spacing: -.02em;
  color: var(--bone);
}
.hero__title em { font-weight: 300; padding-right: .06em; }
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line > span { display: block; animation: rise-line 1.25s var(--ease) both; }
@keyframes rise-line { from { transform: translateY(72%); } to { transform: none; } }
.hero__title .line:nth-child(1) > span { animation-delay: calc(var(--hero-d, .1s) + .05s); }
.hero__title .line:nth-child(2) > span { animation-delay: calc(var(--hero-d, .1s) + .2s); }
.hero__cta { margin-top: 2.4rem; animation: fade-in 1.2s ease calc(var(--hero-d, .1s) + .75s) both; }
.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: calc(1.6rem + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
  animation: fade-in 1.2s ease calc(var(--hero-d, .1s) + 1s) both;
}
.hero__scroll-label { writing-mode: vertical-rl; font-size: .625rem; letter-spacing: .34em; text-transform: uppercase; color: var(--mist); }
.hero__scroll-line { position: relative; width: 1px; height: 56px; background: rgba(209, 162, 83, .25); overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--gold-light); animation: drip 2.4s var(--ease-io) infinite; }
.is-intro .hero { --hero-d: 1.6s; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes mono-in { from { opacity: 0; scale: .94; rotate: -6deg; } to { opacity: .2; scale: 1; rotate: 0deg; } }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(260%); } }

/* manifesto */
.manifesto { position: relative; height: 210vh; background: var(--ivory); color: var(--ink); }
.manifesto__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: center;
  padding: calc(var(--top-h) + 2.4rem) var(--gutter) 3rem;
  overflow: hidden;
}
.manifesto__text {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 12.6vw, 7.6rem);
  line-height: .98;
  letter-spacing: -.015em;
  max-width: 15ch;
}
.manifesto__text em { color: var(--gold-ink); }
.manifesto__text.is-split .w {
  background-image: linear-gradient(90deg, var(--ink) 50%, rgba(28, 26, 23, .13) 50%);
  background-size: 200.5% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.manifesto__text.is-split em .w { background-image: linear-gradient(90deg, var(--gold-ink) 50%, rgba(126, 90, 36, .16) 50%); }
.manifesto__mark {
  position: absolute;
  width: 90vw;
  max-width: 760px;
  right: -30vw;
  bottom: -18vw;
  fill: var(--gold-ink);
  opacity: .07;
}

/* extrait */
.extrait { position: relative; height: 260vh; background: var(--noir); }
.extrait__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1.6rem;
  padding: calc(var(--top-h) + 1.2rem) var(--gutter) 1.6rem;
  overflow: hidden;
  background: radial-gradient(70% 50% at 85% 100%, rgba(196, 145, 68, .12), transparent 70%);
}
.extrait__title {
  margin-top: 1rem;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 13vw, 8.5rem);
  line-height: .9;
  letter-spacing: -.02em;
  color: var(--bone);
}
.extrait__title em { display: block; color: var(--gold); padding-left: .9em; white-space: nowrap; }
.extrait__lead { margin-top: 1rem; max-width: 26ch; color: var(--mist); font-size: .95rem; }
.tubes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: clamp(12px, 3.5vw, 48px);
  min-height: 0;
}
.tube { display: grid; grid-template-rows: auto 1fr auto; justify-items: center; height: 100%; min-height: 0; gap: .7rem; }
.tube__pct { font-size: .75rem; letter-spacing: .08em; color: var(--mist); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.tube__glass {
  position: relative;
  align-self: end;
  width: 100%;
  max-width: 72px;
  height: 100%;
  max-height: 46vh;
  border: 1px solid rgba(239, 230, 216, .22);
  border-radius: 8px 8px 999px 999px;
  overflow: hidden;
}
.tube__glass::before {
  content: "";
  position: absolute;
  top: 10px; bottom: 18px; left: 18%;
  width: 1px;
  background: linear-gradient(rgba(255, 255, 255, .28), transparent);
  z-index: 2;
}
.tube__liquid {
  position: absolute;
  inset: auto 0 0;
  height: calc(var(--level) * var(--fill, 1) * 100%);
  background: linear-gradient(180deg, rgba(246, 207, 107, .95), rgba(209, 162, 83, .8) 30%, rgba(150, 105, 45, .85));
}
.tube__liquid::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -5px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 236, 185, .85);
  opacity: calc(var(--fill, 1) * 1.4);
}
.tube__name { font-family: var(--serif); font-style: italic; font-size: clamp(1rem, 4.2vw, 1.5rem); color: var(--ivory); text-align: center; line-height: 1.1; }
.tube__name b { display: block; margin-top: .35rem; font-family: var(--sans); font-style: normal; font-weight: 500; font-size: .625rem; letter-spacing: .3em; color: var(--gold-light); }
.tube--aurem .tube__glass { border-color: var(--gold); box-shadow: 0 0 60px rgba(209, 162, 83, .22), inset 0 0 22px rgba(209, 162, 83, .12); }
.tube--aurem .tube__pct { color: var(--gold-light); font-size: .85rem; }
.tube__mono { position: absolute; z-index: 3; bottom: 16%; left: 50%; width: 62%; transform: translateX(-50%); fill: #6b4a1c; opacity: calc(var(--fill, 1) * .5); mix-blend-mode: multiply; }
.extrait__fine { max-width: 48ch; padding-right: 64px; }

/* similitud */
.sim {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 6rem var(--gutter);
  background: var(--carbon);
  overflow: hidden;
  isolation: isolate;
}
.sim__ring { position: absolute; z-index: -1; width: 128vw; max-width: 900px; left: 18%; top: 50%; transform: translateY(-50%); }
.sim__ring svg { width: 100%; height: auto; overflow: visible; transform: rotate(-90deg); }
.sim__ring circle { fill: none; stroke-dasharray: 1; }
.sim__track { stroke: rgba(209, 162, 83, .12); stroke-width: 1; }
.sim__arc { stroke: var(--gold); stroke-width: 1.4; stroke-dashoffset: .03; }
.sim__inner { stroke: rgba(209, 162, 83, .22); stroke-width: .6; stroke-dasharray: .004 .012; }
.sim__content { position: relative; }
.sim__num {
  margin: 1.4rem 0 1.4rem -.04em;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(6rem, 32vw, 24rem);
  line-height: .82;
  letter-spacing: -.04em;
  font-variant-numeric: lining-nums;
  white-space: nowrap;
}
.sim__dash { margin: 0 -.02em; }
.sim__pc { font-size: .32em; vertical-align: .95em; margin-left: .08em; letter-spacing: 0; }
.sim__line { max-width: 20ch; font-family: var(--serif); font-size: clamp(1.35rem, 5.4vw, 2rem); line-height: 1.2; color: var(--ivory); }

/* dos mundos */
.worlds { position: relative; background: var(--noir); }
.worlds__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.worlds__track::-webkit-scrollbar { display: none; }
.world {
  position: relative;
  flex: 0 0 100%;
  min-height: 92vh;
  min-height: 92svh;
  scroll-snap-align: start;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--top-h) + 2rem) var(--gutter) 5rem;
  overflow: hidden;
  isolation: isolate;
}
.world--nicho { background: radial-gradient(80% 60% at 70% 30%, #2a2318, var(--noir) 70%); }
.world--disenador { background: radial-gradient(80% 60% at 30% 30%, var(--bone), var(--ivory) 70%); color: var(--ink); }
.world__inner { position: relative; z-index: 1; display: grid; gap: 1.2rem; justify-items: start; }
.world__title { font-family: var(--serif); font-weight: 300; font-size: clamp(4.2rem, 21vw, 13rem); line-height: .86; letter-spacing: -.03em; }
.world--nicho .world__title { color: var(--bone); }
.world--disenador .world__title { font-style: italic; }
.world__line { max-width: 24ch; font-size: 1rem; color: var(--mist); }
.world--disenador .world__line { color: var(--mist-ink); }
.world__glyph { position: absolute; z-index: -1; top: 14%; right: 4%; width: 46vw; max-width: 300px; height: auto; color: var(--gold); opacity: .5; transition: transform 1.2s var(--ease), opacity 1s var(--ease); }
.world--disenador .world__glyph { color: var(--gold-ink); opacity: .32; }
.worlds__dots { position: absolute; left: 50%; bottom: 1.8rem; transform: translateX(-50%); display: flex; gap: .6rem; }
.worlds__dots span { width: 26px; height: 1px; background: rgba(209, 162, 83, .35); transition: background .4s, width .4s var(--ease); }
.worlds__dots span.is-on { width: 44px; background: var(--gold); }

/* colección */
.collection { position: relative; padding: 7rem 0 6rem; background: var(--noir); overflow: hidden; }
.collection__head { display: grid; gap: 2rem; padding: 0 var(--gutter); margin-bottom: 2.6rem; }
.collection__title { margin-top: 1rem; font-family: var(--serif); font-weight: 300; font-size: clamp(2.8rem, 12vw, 7rem); line-height: .92; letter-spacing: -.02em; color: var(--bone); }
.collection__title em { color: var(--gold); }
.collection__tools { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.filters { display: flex; gap: 1.4rem; }
.filter { position: relative; min-height: 44px; font-size: .6875rem; letter-spacing: .26em; text-transform: uppercase; color: var(--mist); transition: color .4s; }
.filter::after { content: ""; position: absolute; left: 0; right: .26em; bottom: 8px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.filter.is-on { color: var(--gold-light); }
.filter.is-on::after { transform: scaleX(1); }
.rail-nav { display: none; gap: .6rem; }
.rail-nav__btn { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--hair); color: var(--gold); transition: border-color .4s, background .4s, color .4s; }
.rail-nav__btn svg { width: 22px; }
.rail-nav__btn:hover { background: var(--gold); color: var(--noir); border-color: var(--gold); }
.rail-nav__btn:disabled { opacity: .3; pointer-events: none; }
.rail {
  display: flex;
  gap: 14px;
  padding: 0 var(--gutter) 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }
.rail > li { flex: 0 0 76vw; max-width: 360px; scroll-snap-align: start; }
.card { display: block; width: 100%; text-align: left; }
.card__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  background: radial-gradient(60% 50% at 50% 58%, rgba(209, 162, 83, .16), transparent 70%), var(--noir-2);
  border: 1px solid rgba(209, 162, 83, .14);
  overflow: hidden;
  transition: border-color .6s var(--ease);
}
.card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(246, 207, 107, .10) 50%, transparent 65%);
  transform: translateX(-100%);
  transition: transform 1.1s var(--ease);
}
.card:hover .card__visual::after, .card:focus-visible .card__visual::after { transform: translateX(100%); }
.card:hover .card__visual { border-color: rgba(209, 162, 83, .5); }
.card__bottle { width: 44%; height: auto; color: var(--gold); transition: transform 1s var(--ease); }
.card:hover .card__bottle { transform: translateY(-8px); }
.card__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__index { position: absolute; top: 14px; right: 16px; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--gold); }
.tag { display: inline-block; padding: .3em .7em; border: 1px solid currentColor; font-size: .5625rem; letter-spacing: .28em; font-weight: 500; text-transform: uppercase; color: var(--gold-light); }
.card__visual .tag { position: absolute; top: 14px; left: 14px; }
.card__body { padding: 1.2rem 0 0; display: grid; gap: .35rem; }
.card__name { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1; color: var(--bone); }
.card__meta { font-size: .6875rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mist); }
.card__more { margin-top: .6rem; display: inline-flex; align-items: center; gap: .8rem; font-size: .6875rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.card__more svg { width: 26px; transition: transform .5s var(--ease); }
.card:hover .card__more svg { transform: translateX(6px); }
.rail-progress { margin: 1.6rem var(--gutter) 0; height: 1px; background: rgba(209, 162, 83, .18); }
.rail-progress span { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, .2)); }

/* quiz */
.quiz { position: relative; padding: 7rem var(--gutter) 5rem; background: var(--bone); color: var(--ink); display: flex; flex-direction: column; }
.quiz__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1rem 1.4rem; margin-bottom: 2.6rem; }
.quiz__head .label { grid-column: 1 / -1; }
.quiz__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 11.5vw, 6.5rem); line-height: .92; letter-spacing: -.02em; }
.quiz__title em { color: var(--gold-ink); display: block; }
.quiz__count { font-family: var(--serif); font-size: 2.2rem; line-height: 1; font-variant-numeric: lining-nums; }
.quiz__of { font-size: .5em; margin-left: .3em; color: var(--mist-ink); }
.quiz__form { position: relative; flex: 1; display: flex; flex-direction: column; }
.q { display: none; }
.q.is-active { display: block; animation: q-in .7s var(--ease) both; }
@keyframes q-in { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
.q__legend { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 6.6vw, 2.6rem); line-height: 1.1; margin-bottom: 1.6rem; }
.q__options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.q__options--four { grid-template-columns: repeat(2, 1fr); }
.opt { position: relative; display: block; width: 100%; text-align: left; cursor: pointer; }
.opt__face {
  display: grid;
  align-content: space-between;
  justify-items: start;
  gap: 1.6rem;
  height: 100%;
  min-height: 212px;
  padding: 1.1rem .9rem 1rem;
  border: 1px solid var(--hair-ink);
  background: rgba(255, 255, 255, .35);
  transition: background .45s var(--ease), border-color .45s var(--ease), color .45s var(--ease);
}
.opt__face svg { width: 58px; height: 58px; color: var(--gold-ink); transition: transform .7s var(--ease), color .45s; }
.opt__name { font-size: .6875rem; letter-spacing: .2em; text-transform: uppercase; line-height: 1.5; font-weight: 400; }
.opt:hover .opt__face { border-color: var(--gold-ink); background: #fff; }
.opt:hover .opt__face svg { transform: scale(1.08) rotate(-4deg); }
.opt:focus-visible { outline: none; }
.opt:focus-visible .opt__face { outline: 1px solid var(--gold-ink); outline-offset: 3px; }
.opt[aria-pressed="true"] .opt__face { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.opt[aria-pressed="true"] .opt__face svg { color: var(--gold-light); }
.quiz__nav { margin-top: 1.6rem; min-height: 44px; }
.q--result:focus { outline: none; }
.result { margin: 1.4rem 0 2rem; display: grid; gap: 2rem; }
.result__main { display: grid; grid-template-columns: 34% 1fr; gap: 1.2rem; align-items: center; }
.result__bottle { aspect-ratio: 3 / 4; display: grid; place-items: center; background: var(--ink); }
.result__bottle svg { width: 52%; color: var(--gold); }
.result__name { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 10vw, 4.6rem); line-height: .95; }
.result__family { margin-top: .6rem; font-size: .6875rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); }
.result__notes { margin-top: .9rem; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--mist-ink); }
.result__alt { padding-top: 1.2rem; border-top: 1px solid var(--hair-ink); display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.result__alt span { font-size: .6875rem; letter-spacing: .22em; text-transform: uppercase; color: var(--mist-ink); }
.result__alt button { font-family: var(--serif); font-size: 1.6rem; border-bottom: 1px solid var(--hair-ink); }
.result__alt button:hover { color: var(--gold-ink); }
.result__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; }
.result__actions .btn--ink { background: var(--ink); color: var(--ivory); }
.result__actions .btn--ink::before { background: var(--foil); }
.result__actions .btn--ink:hover { color: var(--ink); }

/* pasos */
.steps { position: relative; padding: 7rem var(--gutter) 6rem; background: var(--carbon); overflow: hidden; }
.steps__head { margin-bottom: 3.6rem; }
.steps__title { margin-top: 1rem; font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 11vw, 6.5rem); line-height: .92; letter-spacing: -.02em; color: var(--bone); }
.steps__title em { color: var(--gold); }
.steps__list { position: relative; display: grid; gap: 3.4rem; counter-reset: s; }
.steps__list::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: rgba(209, 162, 83, .25); transform-origin: top; transform: scaleY(var(--draw, 1)); }
.step { position: relative; display: grid; align-content: start; gap: .5rem; padding-left: 1.6rem; }
.step:nth-child(2) { padding-left: 22vw; }
.step:nth-child(3) { padding-left: 10vw; }
.step__num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(6rem, 34vw, 15rem);
  line-height: .8;
  letter-spacing: -.04em;
  font-variant-numeric: lining-nums;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  background-image: linear-gradient(to top, #c49144 0%, #e9c161 50%, transparent 50%);
  background-size: 100% 200%;
  background-position: 0 0;
  -webkit-background-clip: text;
  background-clip: text;
  transition: background-position 1.4s var(--ease);
}
.step.is-lit .step__num { background-position: 0 100%; }
html:not(.motion) .step__num { background-position: 0 100%; }
.step__name { margin-top: .6rem; font-family: var(--serif); font-size: 2.2rem; font-weight: 400; line-height: 1; color: var(--bone); }
.step__line { color: var(--mist); max-width: 26ch; }
.steps__path { display: none; }

/* cierre */
.close {
  position: relative;
  min-height: 86vh;
  min-height: 86svh;
  display: flex;
  align-items: center;
  padding: 7rem var(--gutter);
  background: radial-gradient(70% 55% at 50% 45%, #231e16, var(--noir) 72%);
  overflow: hidden;
  isolation: isolate;
}
.close__mono { position: absolute; z-index: -1; width: 150vw; max-width: 1100px; left: 50%; top: 50%; translate: -50% -50%; opacity: .09; }
.rail-empty { padding: 0 var(--gutter); color: var(--mist); }
.close__inner { position: relative; display: grid; justify-items: start; gap: 2.6rem; width: 100%; }
.close__title { font-family: var(--serif); font-weight: 300; font-size: clamp(3.8rem, 18vw, 12rem); line-height: .88; letter-spacing: -.03em; color: var(--bone); }
.close__title .line:nth-child(2) { padding-left: .8em; }
.js .close__title .line > span { animation: none; }
.follow { display: grid; gap: .5rem; }
.follow__user { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--ivory); border-bottom: 1px solid var(--hair); padding-bottom: .3rem; transition: color .4s, border-color .4s; }
.follow:hover .follow__user { color: var(--gold-light); border-color: var(--gold); }

/* footer */
.foot { padding: 4rem var(--gutter) calc(2rem + env(safe-area-inset-bottom)); background: var(--noir); border-top: 1px solid rgba(209, 162, 83, .14); }
.foot__logo { width: 64px; height: 64px; margin-bottom: 2rem; }
.foot__cols { display: grid; gap: 1.6rem; }
.foot__brand { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .12em; color: var(--bone); }
.foot__brand span { display: block; font-family: var(--sans); font-size: .625rem; letter-spacing: .4em; text-transform: uppercase; color: var(--gold); margin-top: .4rem; }
.foot__social { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; font-size: .6875rem; letter-spacing: .24em; text-transform: uppercase; }
.foot__social a { display: inline-block; padding: .7rem 0; transition: color .4s; }
.foot__social a:hover { color: var(--gold-light); }
.foot__place { font-size: .8125rem; color: var(--mist); }
.foot__base { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(239, 230, 216, .08); display: grid; gap: .5rem; font-size: .6875rem; color: rgba(239, 230, 216, .5); letter-spacing: .04em; }
.foot__credit { letter-spacing: .18em; text-transform: uppercase; font-size: .5625rem; }

/* whatsapp flotante */
.wa-float {
  position: fixed;
  z-index: 60;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--carbon);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.9);
  transition: opacity .6s var(--ease), transform .6s var(--ease), visibility .6s, background .4s, color .4s;
}
.wa-float::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(209, 162, 83, .3); }
.wa-float svg { width: 24px; height: 24px; }
.wa-float.is-shown { opacity: 1; visibility: visible; transform: none; }
.wa-float.is-shown.is-muted { opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9); }
.wa-float:hover { background: var(--gold); color: var(--carbon); }

/* ficha */
.sheet {
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ivory);
  overflow: visible;
}
.sheet[open] { display: flex; flex-direction: column; justify-content: flex-end; }
.sheet::backdrop { background: rgba(8, 8, 8, .78); }
.sheet[open] .sheet__panel { animation: sheet-up .7s var(--ease) both; }
.sheet[open]::backdrop { animation: fade-in .5s ease both; }
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
.sheet__panel {
  position: relative;
  max-height: 92svh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--noir-2);
  border-top: 1px solid var(--gold);
}
.sheet__close { position: absolute; z-index: 3; top: 10px; right: 10px; width: 48px; height: 48px; }
.sheet__close span { position: absolute; left: 13px; top: 23px; width: 22px; height: 1px; background: var(--gold-light); transform: rotate(45deg); }
.sheet__close span + span { transform: rotate(-45deg); }
.sheet__visual { position: relative; height: 34svh; display: grid; place-items: center; background: radial-gradient(55% 55% at 50% 60%, rgba(209, 162, 83, .2), transparent 70%), var(--noir); }
.sheet__visual svg { height: 74%; width: auto; color: var(--gold); }
.sheet__visual img { width: 100%; height: 100%; object-fit: cover; }
.sheet__body { padding: 1.8rem var(--gutter) calc(2rem + env(safe-area-inset-bottom)); }
.sheet__body .label { justify-content: space-between; }
.sheet__name { margin-top: .9rem; font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 11vw, 4.2rem); line-height: .95; color: var(--bone); }
.sheet__family { margin-top: .5rem; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--mist); }
.pyramid { margin: 2rem 0 1.8rem; display: grid; gap: 3px; }
.pyr { display: grid; grid-template-columns: 40% 1fr; align-items: center; gap: 1.2rem; min-height: 64px; }
.pyr__shape { align-self: stretch; }
.pyr:nth-child(1) .pyr__shape { clip-path: polygon(50% 0, 66.6% 100%, 33.4% 100%); background: linear-gradient(180deg, #f6cf6b, #e9c161); opacity: .55; }
.pyr:nth-child(2) .pyr__shape { clip-path: polygon(33.4% 0, 66.6% 0, 83.3% 100%, 16.7% 100%); background: linear-gradient(180deg, #e2bb62, #d1a253); opacity: .75; }
.pyr:nth-child(3) .pyr__shape { clip-path: polygon(16.7% 0, 83.3% 0, 100% 100%, 0 100%); background: linear-gradient(180deg, #c79146, #8f6630); }
.pyr__txt { display: grid; gap: .25rem; padding-left: .9rem; border-left: 1px solid var(--hair); }
.pyr__txt .label { font-size: .5625rem; }
.pyr__notes { font-family: var(--serif); font-size: 1.2rem; line-height: 1.2; color: var(--ivory); }
.sheet__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.4rem; padding: 1.4rem 0; border-top: 1px solid rgba(209, 162, 83, .16); margin-bottom: 1.8rem; }
.sheet__facts dt { font-size: .5625rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: .2rem; }
.sheet__facts dd { font-size: .9375rem; color: var(--ivory); }
.sheet__facts .is-pending { color: var(--mist); font-style: italic; font-family: var(--serif); font-size: 1.05rem; }
.sheet__cta { width: 100%; justify-content: center; }

/* ≥ 600 */
@media (min-width: 600px) {
  :root { --gutter: 40px; }
  .rail > li { flex-basis: 44vw; }
  .q__options--four { grid-template-columns: repeat(4, 1fr); }
  .opt__face { min-height: 210px; padding: 1.4rem; }
  .opt__face svg { width: 64px; height: 64px; }
}

/* ≥ 960 */
@media (min-width: 960px) {
  :root { --gutter: clamp(40px, 5vw, 88px); --top-h: 84px; }
  .top__brand svg { width: 118px; }
  .top__nav a:not(.top__wa) { display: inline-block; }
  .top__nav { gap: 2.6rem; }

  .hero { padding-bottom: 9rem; align-items: flex-end; }
  .hero__mono { width: 66vw; right: -9vw; top: 50%; translate: 0 -46%; opacity: .2; }
  .hero__title { font-size: clamp(6rem, 10.5vw, 12rem); }
  .hero__title .line:nth-child(2) { padding-left: 1.15em; }
  .hero__inner { max-width: 1400px; }
  .hero__scroll { right: auto; left: 50%; translate: -50% 0; }
  @keyframes mono-in { from { opacity: 0; scale: .94; rotate: -6deg; } to { opacity: .2; scale: 1; rotate: 0deg; } }

  .manifesto__stage { grid-template-columns: 1fr 3.4fr; grid-template-rows: 1fr; align-items: center; }
  .manifesto__label { align-self: start; margin-top: 18vh; }
  .manifesto__text { max-width: 17ch; font-size: clamp(4.4rem, 7.2vw, 8.6rem); text-indent: 1.4em; }
  .manifesto__mark { width: 52vw; right: -12vw; bottom: -22vw; }

  .extrait__stage { grid-template-columns: 5fr 7fr; grid-template-rows: 1fr auto; column-gap: 6vw; padding-top: calc(var(--top-h) + 3rem); padding-bottom: 2.6rem; }
  .extrait__head { align-self: center; }
  .extrait__title { font-size: clamp(4.4rem, 7.2vw, 8.4rem); }
  .extrait__title em { padding-left: .6em; }
  .extrait__fine { padding-right: 0; }
  .tubes { grid-row: 1 / 3; grid-column: 2; height: 100%; padding-top: 4vh; }
  .tube__glass { max-width: 92px; max-height: 64vh; }
  .extrait__fine { grid-row: 2; grid-column: 1; }

  .sim__ring { width: 74vh; left: auto; right: 6vw; }
  .sim__content { padding-left: 4vw; }
  .sim__num { font-size: clamp(10rem, 23vw, 26rem); }
  .sim__line { margin-left: auto; margin-right: 8vw; text-align: left; }
  .sim__content { width: 100%; }

  .worlds__track { overflow: visible; height: 100svh; min-height: 640px; }
  .world { flex: 1 1 0; min-width: 0; min-height: 0; padding-bottom: 6rem; transition: flex-grow 1.1s var(--ease); }
  .worlds__track:hover .world { flex-grow: .72; }
  .worlds__track .world:hover, .worlds__track .world:focus-within { flex-grow: 1.4; }
  .world__line, .world .btn { opacity: .0; transform: translateY(12px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .world:hover .world__line, .world:hover .btn, .world:focus-within .world__line, .world:focus-within .btn { opacity: 1; transform: none; }
  .world:hover .world__glyph { transform: translateY(-18px) rotate(-3deg); opacity: .8; }
  .world--disenador:hover .world__glyph { opacity: .5; }
  .world__glyph { width: 22vw; right: 10%; top: 16%; }
  .world__title { font-size: clamp(4.4rem, 8.4vw, 10rem); }
  .worlds__dots { display: none; }

  .collection { padding: 9rem 0 7rem; }
  .collection__head { grid-template-columns: 1fr auto; align-items: end; }
  .rail-nav { display: flex; }
  .collection__tools { gap: 3rem; }
  .rail { gap: 24px; }
  .rail > li { flex-basis: clamp(300px, 26vw, 380px); }

  .quiz { min-height: 100svh; padding: 9rem var(--gutter) 7rem; display: grid; grid-template-columns: 5fr 7fr; gap: 6vw; align-items: center; }
  .quiz__head { grid-template-columns: 1fr; margin: 0; }
  .quiz__count { margin-top: 2rem; font-size: 3rem; }
  .quiz__form { padding-top: 2.2rem; }
  .opt__face { min-height: 300px; padding: 1.6rem; }
  .opt__face svg { width: 76px; height: 76px; }
  .q__options--four { grid-template-columns: repeat(2, 1fr); }
  .q__options--four .opt__face { min-height: 200px; }

  .steps { padding: 10rem var(--gutter) 9rem; }
  .steps__list { grid-template-columns: repeat(3, 1fr); gap: 4vw; }
  .steps__list::before { display: none; }
  .step, .step:nth-child(2), .step:nth-child(3) { padding-left: 0; }
  .step:nth-child(2) { margin-top: 10rem; }
  .step:nth-child(3) { margin-top: 5rem; }
  .step__num { font-size: clamp(9rem, 15vw, 17rem); }
  .steps__path { display: block; position: absolute; left: 0; right: 0; top: 54%; width: 100%; height: 80px; pointer-events: none; }
  .steps__path path { fill: none; stroke: var(--gold); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: var(--dash, 0); opacity: .55; }

  .close { min-height: 100svh; }
  .close__inner { grid-template-columns: 1fr auto; align-items: end; }
  .close__title { grid-column: 1 / -1; font-size: clamp(7rem, 13vw, 15rem); }
  .close__mono { width: 72vw; }

  .foot { display: grid; grid-template-columns: auto 1fr; gap: 0 3rem; align-items: start; }
  .foot__logo { margin: 0; }
  .foot__cols { grid-template-columns: 1fr auto auto; align-items: center; gap: 3rem; }
  .foot__base { grid-column: 1 / -1; grid-template-columns: 1fr auto; }

  .sheet { width: 100%; height: 100%; }
  .sheet[open] { align-items: center; justify-content: center; }
  .sheet__panel { width: min(1040px, calc(100% - 80px)); }
  .sheet__panel { display: grid; grid-template-columns: 5fr 6fr; max-height: calc(100svh - 80px); border: 1px solid rgba(209, 162, 83, .3); }
  .sheet[open] .sheet__panel { animation: sheet-in .8s var(--ease) both; }
  .sheet__visual { height: auto; min-height: 560px; }
  .sheet__body { padding: 3rem 3rem 2.6rem; }
  @keyframes sheet-in { from { opacity: 0; transform: translateY(30px) scale(.98); } to { opacity: 1; transform: none; } }
}

@media (min-width: 1500px) {
  .hero__title { font-size: 12.5rem; }
}

@media (hover: none) {
  .world__line, .world .btn { opacity: 1 !important; transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .is-intro .intro { animation: intro-fade .4s ease .7s both !important; }
  .intro__ring { display: none; }
  .intro__sweep { transform: rotate(-18deg) translateX(680px); }
  .hero__scroll-line::after { display: none; }
  .manifesto, .extrait { height: auto; }
  .manifesto__stage, .extrait__stage { position: relative; }
  @keyframes intro-fade { to { opacity: 0; visibility: hidden; } }
}
