@font-face {
  font-family: "Big Shoulders";
  src: url('./big-shoulders.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url('./noto-sans.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #182d25;
  --dark: #14241d;
  --green: #294c3e;
  --cream: #f5eee2;
  --wine: #783b3b;
  --copper: #fac091;
  --line: #182d2533;
  --display: "Big Shoulders", "Arial Narrow", system-ui, sans-serif;
  --body: "Noto Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .72, .16, 1);
  font-family: var(--body);
  color: var(--ink);
  background: var(--dark);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, figure, p, dl, dd { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 5px; }
.hero :focus-visible, .masthead :focus-visible, .people :focus-visible { outline-color: var(--copper); }
.wrap { width: min(89%, 1440px); margin-inline: auto; }
.paper { background: var(--cream) url('./ep_naturalwhite.webp') repeat; }
.eyebrow { font-size: .68rem; font-weight: 800; letter-spacing: .18em; line-height: 1.4; text-transform: uppercase; }
.section-label { display: flex; gap: .8rem; align-items: center; }
.section-label::before { content: ''; width: 1.7rem; height: 1px; background: currentColor; }
.accent { color: var(--wine); }
h1, h2 { font: 600 clamp(2.85rem, 6.2vw, 6.9rem)/1.02 var(--display); letter-spacing: -.035em; }
h1 em, h2 em { font-style: normal; font-weight: 500; }
p:not(.eyebrow, .no-script) { line-height: 1.7; letter-spacing: .018em; }
.button { display: inline-flex; align-items: center; gap: 1.35em; justify-content: center; min-height: 48px; padding: .68em 1.35em; border: 1px solid currentColor; border-radius: 99px; text-decoration: none; font-weight: 750; font-size: .8rem; transition: background .3s, color .3s, border-color .3s; }
.button span { font-size: 1.25em; transition: transform .45s var(--ease); }
.button:hover span { transform: translate(.15em,-.15em); }
.light:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.solid { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.solid:hover { background: var(--green); border-color: var(--green); }
.reading-progress { position: fixed; z-index: 10; inset: 0 0 auto; height: 2px; transform: scaleX(var(--reading, 0)); transform-origin: left; background: var(--copper); pointer-events: none; }

.skip { position: fixed; z-index: 11; left: 1em; top: 1em; background: var(--cream); padding: .7em; clip-path: inset(50%); }
.skip:focus { clip-path: none; }
.masthead { position: absolute; z-index: 4; top: 0; width: 100%; color: var(--cream); }
.topbar { min-height: 92px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-bottom: 1px solid #f5eee255; }
.wordmark { font: 600 clamp(1.35rem, 2.8vw, 2.3rem)/1 var(--display); letter-spacing: -.07em; text-decoration: none; }
.wordmark img { width: clamp(150px, 15vw, 216px); height: auto; }
.menu { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.85rem); font-size: .83rem; font-weight: 500; letter-spacing: .035em; }
.menu a, .language { text-decoration: none; }
.menu a:hover, .language:hover { color: var(--copper); }
.language { display: inline-grid; min-width: 38px; min-height: 38px; place-items: center; font-size: .71rem; font-weight: 800; border: 1px solid currentColor; border-radius: 50%; }
.menu-toggle { display: none; }

.hero { --hero-shift: 0px; position: relative; isolation: isolate; min-height: max(690px, 100svh); background: var(--dark); color: var(--cream); display: grid; overflow: clip; }
.slide { grid-area: 1/1; position: relative; display: grid; align-items: end; padding: 150px 0 156px; overflow: hidden; }
.slide-image, .slide::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide-image { inset: -11% 0 auto; height: 111%; object-fit: cover; object-position: center 52%; scale: 1.045; transform: translateY(var(--hero-shift)); filter: saturate(.82) sepia(.16); }
.slide-origin .slide-image {
  inset-block-start: 0;
  transform: translateY(calc(var(--hero-shift) * -.5));
}
.slide-origin .slide-image { object-position: center top; }
.slide-cocktail .slide-image { inset: 0; height: 100%; object-position: 74% top; transform: none; filter: none; }
.slide.slide-cocktail .slide-content { grid-template-columns: minmax(0, 1fr); gap: 1.35rem; }
.slide.slide-cocktail h2 { font-size: clamp(3.25rem, 9vw, 10rem); }
.slide::after { content: ''; background: linear-gradient(180deg, #13251ec9, #13251e10 32%, #13251e70 55%, #112017f5), linear-gradient(90deg, #14241d60, transparent 72%); }
.slide-cocktail::after { background: linear-gradient(90deg, #120e08c9, #120e0800 62%), linear-gradient(0deg, #16130ee6, transparent 56%); }
.slide-content { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(12.5rem, 23%); gap: clamp(1rem, 4vw, 4rem); align-items: end; padding-left: clamp(0rem, 7vw, 7rem); }
.slide h1, .slide h2 { font-size: clamp(4rem, 10.7vw, 12rem); line-height: .85; letter-spacing: -.045em; }
.slide:nth-of-type(2) h2 { font-size: clamp(3.25rem, 8.7vw, 10rem); }
.slide .eyebrow { margin-bottom: clamp(1rem, 3vh, 2.2rem); display: flex; align-items: center; gap: .65rem; }
.slide .eyebrow::before { content: ''; width: .42rem; height: .42rem; border-radius: 50%; background: var(--copper); }
.title-line { display: block; overflow: hidden; padding: .1em .17em .23em .04em; margin: -.1em -.17em -.23em -.04em; }
.title-line > * { display: block; }
.title-line em { color: var(--copper); }
.slide-copy { max-width: 27ch; padding-bottom: .25rem; }
.slide-copy p { font-size: clamp(.93rem, 1.35vw, 1.1rem); font-weight: 400; }
.slide-copy .button { margin-top: 1.3rem; }
.slide-feature {
  align-items: center;
  padding: 110px 0 128px;
  background: #1d2820;
}
.slide-feature::after {
  background:
    linear-gradient(90deg, #101b16e0 0%, #101b1699 42%, #101b1642 73%, #101b167a 100%),
    linear-gradient(180deg, #0d1712af, transparent 36%, #101b16dd 100%);
}
.slide-feature .slide-image { inset-block-start: 0; object-position: 56% top; transform: translateY(calc(var(--hero-shift) * -.5)); filter: none; }
.slide-feature .slide-content {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 4vw, 4rem);
  padding-left: clamp(0rem, 3vw, 3rem);
}
.feature-copy { position: relative; z-index: 2; }
.slide-feature .slide-copy { margin-top: clamp(1.5rem, 4vh, 2.7rem); max-width: 33ch; }
.slide-feature .button { color: var(--ink); background: var(--cream); border-color: var(--cream); }
.slide-feature .button:hover { background: var(--copper); border-color: var(--copper); }
.hero-showcase {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-width: 0;
  margin-inline: auto;
  width: 100%;
}
.hero-showcase::before {
  content: '';
  position: absolute;
  z-index: -2;
  inset: -7% -18%;
  background: radial-gradient(ellipse at center, #e4ac6e6b 0%, #bd805632 31%, transparent 68%);
}
.hero-showcase::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: min(110%, 630px);
  aspect-ratio: 1;
  background: url('./favicon-white.svg') center/contain no-repeat;
  opacity: .19;
  transform: translate(-1%, -2%) rotate(-11deg);
}
.hero-bottle {
  position: relative;
  width: auto;
  height: clamp(405px, 67svh, 690px);
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(20px 24px 24px #060e0b90) drop-shadow(0 0 32px #e9a96f46);
  transform: translate3d(var(--bottle-x, 0px), var(--bottle-y, 0px), 0);
  transition: transform .8s var(--ease);
}
.site-ready .is-current .hero-bottle { animation: hero-bottle-in 1.35s var(--ease) both; }
@keyframes hero-bottle-in {
  from { opacity: 0; translate: 0 38px; rotate: -5deg; scale: .94; }
  to { opacity: 1; translate: 0; rotate: 0deg; scale: 1; }
}

.hero-controls { position: absolute; z-index: 3; bottom: 55px; left: 50%; transform: translateX(-50%); display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: .85rem; border-top: 1px solid #f5eee245; }
.slide-index, .counter, .slide-actions, .gallery-actions { display: flex; align-items: center; gap: .5rem; }
.slide-index { gap: clamp(.7rem, 2vw, 1.6rem); }
.counter { font-size: .74rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .1em; }
.counter-rule { width: 1.05rem; height: 1px; background: #f5eee280; }
.slide-meter { display: block; width: clamp(1.6rem, 6vw, 5.5rem); height: 1px; background: #f5eee247; }
.slide-meter span { display: block; height: 100%; background: var(--copper); transform: scaleX(0); transform-origin: left; }
.slide-actions button, .gallery-actions button { display: grid; place-items: center; flex: none; width: 45px; height: 45px; color: inherit; background: transparent; border: 1px solid #f5eee280; border-radius: 50%; transition: background .3s, color .3s, border-color .3s; }
.slide-actions button:hover, .gallery-actions button:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.play-toggle span { width: 10px; height: 12px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.play-toggle[aria-pressed="true"] span { clip-path: none; background: linear-gradient(90deg,currentColor 32%,transparent 32% 68%,currentColor 68%); }
.gallery-actions button:disabled { opacity: .35; cursor: default; background: transparent; color: inherit; }

.intro { position: relative; z-index: 3; margin-top: -30px; border-radius: 32px 32px 0 0; padding: clamp(4rem, 8vw, 9rem) 0; }
.intro-grid { margin-top: 2rem; display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(2rem, 9vw, 11rem); align-items: center; }
.intro h2 { max-width: 11ch; }
.intro h2 em, .rituals h2 em { color: var(--wine); }
.intro h2 em { margin-inline-start: .04em; }
.intro-grid p, .product-grid p:not(.eyebrow), .people h2 + p { margin-top: 1.4rem; max-width: 49ch; }
.intro-grid p + p { margin-top: .8rem; }
.media-frame { overflow: hidden; }
.media-frame img { transition: scale 1.2s var(--ease); }
@media (hover:hover) {
  figure:hover .media-frame img { scale: 1.045; }
}
.origin-photo img { width: 100%; height: auto; aspect-ratio: 4/4.7; object-fit: cover; object-position: center 44%; }
figcaption { margin-top: .8rem; font-size: .73rem; font-weight: 750; }

.manifesto-button { margin-top: 1.5rem; }
.manifesto-dialog {
  --manifesto-gutter: clamp(1.15rem, 5vw, 3.75rem);
  position: fixed;
  inset: 0;
  width: min(calc(100% - 1.25rem), 48rem);
  max-height: calc(100vh - 1.25rem);
  max-height: calc(100dvh - 1.25rem);
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: clamp(.75rem, 2vw, 1.25rem);
  color: var(--ink);
  box-shadow: 0 1.5rem 5rem #101b1666;
  overflow: hidden;
}
.manifesto-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.manifesto-dialog::backdrop { background: #112119df; }
.manifesto-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: clamp(.75rem, 3vw, 1.5rem) var(--manifesto-gutter);
  border-bottom: 1px solid var(--line);
}
.manifesto-header h2 {
  font-size: clamp(1.95rem, 5vw, 3.35rem);
  overflow-wrap: anywhere;
}
.manifesto-close { flex: none; }
.manifesto-close button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
}
.manifesto-close button:hover { color: var(--cream); background: var(--green); }
.manifesto-scroll {
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-color: var(--green) transparent;
  scrollbar-gutter: stable;
  padding: clamp(1.15rem, 4vw, 2.75rem) var(--manifesto-gutter);
}
.manifesto-scroll:focus-visible { outline-offset: -3px; }
.manifesto-copy { max-width: 61ch; margin-inline: auto; }
.manifesto-copy p:not(.eyebrow) { letter-spacing: normal; line-height: 1.65; }
.manifesto-copy p + p { margin-top: 1em; }
.manifesto-copy p.manifesto-credit { margin-bottom: 1rem; }
.manifesto-copy p.manifesto-refrain {
  font: 600 clamp(1.65rem, 4vw, 2.55rem)/1.08 var(--display);
  color: var(--wine);
}
.manifesto-copy > section {
  margin-top: clamp(1.5rem, 5vw, 2.75rem);
  padding-top: clamp(1.15rem, 3vw, 1.75rem);
  border-top: 1px solid var(--line);
}
.manifesto-copy h3 {
  margin: 0 0 .7rem;
  font: 600 clamp(1.7rem, 4vw, 2.6rem)/1.08 var(--display);
  text-wrap: balance;
}
@media (prefers-reduced-motion: no-preference) {
  .manifesto-dialog[open] { animation: rise .36s var(--ease) both; }
}
.editorial-block { margin-top: clamp(3rem, 7vw, 7rem); padding-top: clamp(1.9rem, 4vw, 3.6rem); border-top: 1px solid var(--line); }
.editorial-block h3, .editorial-block h4 { margin: 0; font: 600 clamp(1.85rem, 4vw, 4.25rem)/1.05 var(--display); letter-spacing: -.03em; }
.editorial-block h4 { font-size: clamp(1.55rem, 2.7vw, 2.6rem); }
.editorial-block h3 + p, .editorial-block h4 + p { margin-top: .75rem; }
.editorial-block .section-label { margin-bottom: 1rem; }
.editorial-lead { max-width: 48ch; }
.editorial-grid { display: grid; gap: 1.6rem clamp(1.5rem, 4vw, 4.5rem); }
.editorial-grid:not(.editorial-block) { margin-top: 1.75rem; }
.makers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 4vw, 4rem); margin-top: 2rem; }
.makers article {
  display: grid;
  grid-template-columns: clamp(6.5rem, 12vw, 10.75rem) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1rem, 2.4vw, 2.15rem);
  padding: clamp(1.35rem, 3vw, 2.5rem) 0;
  border-top: 1px solid var(--line);
}
.maker-portrait {
  margin: .2rem .25rem 0;
  padding: clamp(.22rem, .65vw, .5rem);
  background: #faf6ed;
  border: 1px solid #18362d25;
  border-radius: .75rem;
  box-shadow: 0 5px 15px #18362d20;
  transform: rotate(-3deg);
}
.makers article:nth-child(even) .maker-portrait { transform: rotate(3deg); }
.maker-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 329 / 422; object-fit: cover; border-radius: .4rem; }
.maker-copy .eyebrow { margin-bottom: .4rem; line-height: 1.45; }
.maker-copy h4 { font-size: clamp(1.75rem, 3.1vw, 3rem); text-wrap: balance; }
.maker-copy h4 + p { max-width: 45ch; margin-top: .55rem; font-size: .95rem; line-height: 1.6; }

@media (max-width: 900px) {
  .makers { grid-template-columns: 1fr; }
  .makers article { grid-template-columns: clamp(5.5rem, 20vw, 10rem) minmax(0, 1fr); }
}
.tasting {
  --step-size: 2rem;
  --step-line: #fac0919c;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--experience-gap);
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
.tasting li { position: relative; }
.tasting li > p { font-size: .875rem; line-height: 1.55; }
.tasting li:not(:last-child)::after {
  content: '';
  position: absolute;
  inset: calc(var(--step-size) / 2) calc(-1 * var(--experience-gap)) auto var(--step-size);
  border-top: 1px solid var(--step-line);
}
.tasting-step {
  display: grid;
  place-items: center;
  width: var(--step-size);
  height: var(--step-size);
  margin-bottom: .65rem;
  border-radius: 50%;
  background: var(--copper);
  color: var(--dark);
  font-size: .8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.product .editorial-block, .people .editorial-block { border-color: #f5eee240; }
.product .editorial-block h4 { color: var(--copper); }
.product-experience.editorial-block {
  --experience-gap: clamp(1rem, 2.2vw, 2.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px repeat(3, minmax(0, 1fr));
  gap: 1.75rem var(--experience-gap);
  margin-top: 0;
  padding-top: clamp(1.75rem, 4vw, 3.25rem);
  border-top: 0;
}
.experience-heading { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-bottom: .55rem; }
.product-experience .section-label { margin-bottom: .45rem; }
.experience-heading .section-label { margin-bottom: 0; }
.product-experience #cata > .section-label { min-height: 1.85rem; margin-bottom: .55rem; }
.product-experience h3 { font-size: clamp(1.85rem, 3vw, 3.15rem); text-wrap: balance; }
.experience-agave > p { max-width: 68ch; }
.product-experience::before {
  content: '';
  grid-area: 1 / 2;
  background: #fac09140;
}
.experience-agave { grid-area: 1 / 1; }
.product-experience #cata { grid-area: 1 / 3 / 2 / -1; }
.tasting-intro { color: #f5eee2c9; }
@media (max-width: 900px) {
  .product-experience.editorial-block { grid-template-columns: minmax(0, 1fr); }
  .product-experience::before { display: none; }
  .experience-agave, .product-experience #cata { grid-area: auto; }
  .product-experience #cata { border-top: 1px solid #fac09140; padding-top: 1.5rem; }
}
.agave-emblems {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.agave-emblems img {
  width: 1.85rem;
  height: 1.85rem;
  object-fit: contain;
}
.community-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.community-grid h3 { font-size: clamp(1.8rem, 3.4vw, 3.2rem); }
.community-grid .availability { margin-top: .65rem; color: var(--copper); font-size: .92rem; }
.territory {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(29rem, 68svh, 48rem);
  overflow: hidden;
  padding-block: clamp(4rem, 10vw, 9rem);
  background: var(--dark);
  color: var(--cream);
  text-align: center;
}
.territory-image {
  position: absolute;
  z-index: -2;
  inset: -22% 0 auto;
  width: 100%;
  height: 144%;
  object-fit: cover;
  object-position: center 58%;
  transform: translate3d(0, var(--territory-shift, 0px), 0);
}
.territory::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at center, #101b16dc 0%, #101b1694 45%, #101b164d 84%);
}
.territory-copy { max-width: 46rem; }
.territory-copy .eyebrow { justify-content: center; margin-bottom: 1rem; color: var(--copper); }
.territory-copy h2 { font-size: clamp(1.75rem, 8.5vw, 5.75rem); white-space: nowrap; }
.territory-copy p:not(.eyebrow) { max-width: 56ch; margin: 1.1rem auto 0; text-wrap: pretty; }

.product { padding-bottom: clamp(2rem, 4vw, 4rem); background: radial-gradient(ellipse at 88% 22%, #466254, transparent 55%), var(--dark); color: var(--cream); }
.product-feature {
  overflow: hidden;
  padding-block: clamp(3.75rem, 7vw, 7rem);
  background: radial-gradient(ellipse at 76% 42%, #f8aa76 0%, transparent 44%), linear-gradient(105deg, #ef9a6e, #db5424);
  color: #17271e;
}
.product-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: clamp(2rem, 8vw, 9rem); align-items: center; }
.product h2, .rituals h2, .people h2 { margin-top: 1.1rem; }
.product-feature h2 em { color: #54281e; }
.people h2 em { color: var(--copper); }
.bottle-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  height: clamp(350px, 40vw, 555px);
}
.bottle-stage::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 -6%;
  background: #58261c;
  opacity: .28;
  mask: url('./cata-alacran.webp') center / contain no-repeat;
  transform: rotate(-9deg);
}
.bottle {
  width: auto;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(16px 24px 19px #5b21116b);
}
.specs { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; padding-top: 1.4rem; margin-top: 2rem; border-top: 1px solid #17271e55; }
.specs dt { font: 600 clamp(1.55rem, 3vw, 2.8rem)/1 var(--display); letter-spacing: -.045em; }
.specs dd { font-size: .75rem; margin-top: .45rem; }

.rituals, .people { padding: clamp(4rem, 8vw, 9rem) 0; }
.rituals-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: end;
  gap: 1.5rem clamp(2rem, 8vw, 8rem);
  padding-bottom: clamp(1.75rem, 4vw, 3rem);
}
.rituals-intro h2 { max-width: 16ch; font-weight: 500; text-wrap: balance; }
.rituals-intro h2 strong { font-weight: 750; }
.rituals-tagline { color: var(--wine); }
.rituals-intro-copy { display: grid; gap: .7rem; }
.rituals-intro-copy p { max-width: 56ch; }
.ritual-cards { margin-top: clamp(1.8rem, 4vw, 3rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 2.1vw, 2rem); }
.ritual-card-button {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  width: 100%;
  min-height: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: .65rem;
  background: var(--dark);
  color: var(--cream);
  text-align: start;
}
.ritual-card-button img, .ritual-card-button::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.ritual-card-button img { object-fit: cover; transition: transform .75s var(--ease); }
.ritual-card-button::after { content: ''; background: linear-gradient(0deg, #111b16fa, #111b16c7 17%, transparent 60%); }
.ritual-card-copy { z-index: 1; display: grid; gap: .4rem; padding: 1rem 3rem 1.15rem 1rem; }
.ritual-card-name { font: 650 clamp(1.65rem, 3.3vw, 3.45rem)/1 var(--display); letter-spacing: -.027em; }
.ritual-card-profile { font-size: clamp(.74rem, 1vw, .89rem); line-height: 1.5; }
.ritual-arrow, .ritual-close button { display: grid; place-items: center; width: 2.65rem; height: 2.65rem; border: 1px solid currentColor; border-radius: 50%; }
.ritual-arrow { position: absolute; z-index: 2; right: .75rem; bottom: 1rem; background: #111b1670; transition: background .25s, color .25s; }
.ritual-card-button:is(:hover, :focus-visible) img { transform: scale(1.045); }
.ritual-card-button:is(:hover, :focus-visible) .ritual-arrow { color: var(--ink); background: var(--cream); }

.ritual-dialog {
  --recipe-height: min(36rem, calc(100vh - 1.5rem));
  --recipe-height: min(36rem, calc(100dvh - 1.5rem));
  position: fixed;
  inset: 0;
  width: min(calc(100% - 1.5rem), 1060px);
  max-height: calc(100vh - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: .8rem;
  color: var(--ink);
  overscroll-behavior: contain;
}
.ritual-dialog::backdrop { background: #112119d9; }
.ritual-dialog[open] { animation: rise .36s var(--ease) both; }
.ritual-dialog-layout {
  display: grid;
  grid-template-columns: min(42%, calc(var(--recipe-height) * .8)) minmax(0, 1fr);
  height: var(--recipe-height);
  overflow: hidden;
}
.ritual-photo { position: relative; min-height: 0; background: var(--dark); }
.ritual-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ritual-dialog-copy {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  padding: clamp(1.15rem, 3vw, 2.5rem);
  font-size: .94rem;
  line-height: 1.45;
}
.ritual-dialog-copy:focus-visible { outline-offset: -3px; }
.ritual-dialog h3 { margin: 0 2.55rem .75rem 0; font: 650 clamp(2rem, 4.3vw, 3.65rem)/1.02 var(--display); text-wrap: balance; }
.ritual-dialog h4 { margin: .95rem 0 .25rem; font-size: inherit; }
.ritual-dialog-copy p:not(.eyebrow) { line-height: 1.45; letter-spacing: normal; overflow-wrap: anywhere; }
.ritual-dialog p + p { margin-top: .5rem; }
.ritual-dialog .ritual-alibi { color: var(--wine); font-size: 1rem; font-weight: 650; }
.ritual-dialog-copy p.ritual-reality {
  color: var(--green);
  font-size: .75rem;
  line-height: 1.35;
  font-weight: 700;
  font-style: italic;
  margin: .35rem 0 .8rem;
  border-inline-start: 1px solid var(--green);
  padding-inline-start: .65rem;
}
.ritual-dialog .ritual-subtitle { font-weight: 650; margin-bottom: .5rem; }
.ritual-ingredients { display: grid; gap: .16rem; padding-inline-start: 1.15rem; margin: 0 0 .8rem; line-height: 1.4; }
.ritual-ingredients li::marker { color: var(--wine); }
.ritual-close { position: absolute; top: .7rem; right: .85rem; z-index: 2; }
.ritual-close button { color: var(--ink); background: var(--cream); font-size: 1.4rem; }
.ritual-close button:hover { color: var(--cream); background: var(--green); }
:root:has(.ritual-dialog[open], .manifesto-dialog[open]) { overflow: hidden; }

@media (max-width: 820px) {
  .ritual-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 660px) {
  .rituals-intro { grid-template-columns: 1fr; }
  .ritual-dialog-layout {
    display: block;
    height: auto;
    max-height: calc(100vh - 1.5rem);
    max-height: calc(100dvh - 1.5rem);
    overflow-y: auto;
    overscroll-behavior-y: contain;
  }
  .ritual-photo img { position: static; height: auto; aspect-ratio: 4 / 5; }
  .ritual-dialog-copy { overflow: visible; }
  .ritual-dialog h3 { margin-inline-end: 0; }
  .ritual-card-copy { padding: .65rem; }
  .ritual-card-profile { font-size: .68rem; }
  .ritual-card-name { font-size: clamp(1.35rem, 5.2vw, 2rem); }
  .ritual-arrow { top: .45rem; right: .45rem; bottom: auto; width: 2rem; height: 2rem; }
}
@media (max-width: 400px) {
  .ritual-card-button { aspect-ratio: 5 / 7; }
  .ritual-card-profile { line-height: 1.35; }
}
.people { overflow: hidden; background: var(--green); color: var(--cream); }
.people-head { display: flex; justify-content: space-between; gap: 1rem; align-items: end; }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 43%; gap: clamp(.85rem, 2.3vw, 2.25rem); margin-top: 2rem; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; padding-bottom: 1.2rem; scrollbar-width: thin; scrollbar-color: var(--copper) #182d2540; }
.gallery > figure { align-self: start; scroll-snap-align: start; min-width: 0; margin: 0; }
.gallery > figure:nth-child(even) { margin-block-start: clamp(2rem, 5vw, 4.5rem); }
.gallery img { display: block; width: 100%; aspect-ratio: 1/1.03; object-fit: cover; }
.points { background: var(--wine); color: var(--cream); padding: clamp(3rem, 7vw, 7rem) 0; }
.points-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 2rem; align-items: end; }
.points p { max-width: 38ch; }
.footer {
  color: var(--ink);
  background-image: linear-gradient(#f8f3eccc, #f8f3eccc), url('./ep_naturalwhite.webp');
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(2.75rem, 8vw, 9rem);
  padding: clamp(3.5rem, 7vw, 7rem) 0 clamp(2.75rem, 5.5vw, 5.5rem);
}
.footer-brand .wordmark { display: inline-block; }
.footer-brand .wordmark img { width: clamp(164px, 19vw, 266px); }
.footer .footer-brand p {
  max-width: 23ch;
  margin-top: clamp(1.4rem, 3vw, 2.6rem);
  font: 600 clamp(1.55rem, 2.65vw, 2.65rem)/1.22 var(--display);
  letter-spacing: -.025em;
  text-wrap: pretty;
}
.footer-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: clamp(2rem, 4vw, 3.8rem) clamp(1.3rem, 4vw, 4.5rem);
}
.footer-directory h2 {
  margin-bottom: .65rem;
  font: 600 clamp(1.12rem, 1.55vw, 1.5rem)/1.2 var(--display);
  letter-spacing: .015em;
}
.footer-directory ul { list-style: none; padding: 0; margin: 0; }
.footer-directory p, .footer-directory a { color: #46534c; font-size: clamp(.93rem, 1.15vw, 1.07rem); }
.footer-directory a { display: inline-block; padding-block: .22rem; }
.footer-directory h2 a { padding: 0; color: inherit; font: inherit; }
.footer-directory p + a { margin-top: .35rem; }
.footer-directory a span { margin-inline-start: .26em; font-size: .9em; }
.footer a { text-decoration: none; }
.footer a:not(.wordmark):hover { color: var(--wine); }
.footer-directory a:hover, .footer-bottom nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .85rem clamp(1.1rem, 2.5vw, 2.5rem);
  padding: 1.1rem 0 max(1.2rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: .9rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: .35rem clamp(1rem, 2vw, 2rem); margin-inline-start: auto; }
.footer-bottom nav a { display: inline-block; padding-block: .5rem; }
.legal-page { min-height: 100vh; }
.legal-layout { width: min(89%, 49rem); margin-inline: auto; }
.legal-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.legal-header .wordmark img { width: clamp(8rem, 24vw, 12rem); height: auto; }
.legal-home { display: inline-block; padding-block: .65rem; font-size: .9rem; }
.legal-copy { padding-block: clamp(2.5rem, 7vw, 5rem); }
.legal-copy h1 {
  margin-bottom: .9rem;
  font-size: clamp(2.7rem, 7vw, 5rem);
  text-wrap: balance;
}
.legal-copy section { margin-top: 1.65rem; }
.legal-copy h2 {
  margin-bottom: .4rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: -.015em;
}
.legal-copy p { max-width: 68ch; }
.legal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  padding-block: 1.25rem 2rem;
  border-top: 1px solid var(--line);
}
.legal-page a:not(.wordmark) { text-underline-offset: .22em; }
.floating { visibility: hidden; opacity: 0; translate: 0 12px; position: fixed; z-index: 5; bottom: max(1rem, env(safe-area-inset-bottom)); right: max(1rem, 3.3vw); border-color: #f5eee280; box-shadow: 0 4px 24px #10241e50; transition: opacity .35s, translate .5s var(--ease), visibility .35s, background .3s; }
.past-hero:not(.footer-visible) .floating { visibility: visible; opacity: 1; translate: 0 0; }

.age-pending { overflow: hidden; }
.age-pending #site { visibility: hidden; }
.age-pending body { min-height: 100svh; background: linear-gradient(130deg, #11241be0, #11241b80), url('./siquisique-small.webp') center/cover; }
.age {
  position: fixed;
  inset: 0;
  width: min(calc(100% - 1.5rem), 890px);
  height: fit-content;
  max-height: calc(100vh - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 1.1rem;
  overflow: auto;
  overscroll-behavior: contain;
  color: var(--ink);
  background: var(--dark);
  box-shadow: 0 24px 100px #081e166b;
}
.age[open] { display: grid; grid-template-columns: minmax(0, .63fr) minmax(0, 1fr); animation: rise .8s var(--ease) both; }
.age::before { content: ''; background: linear-gradient(150deg, #18362d20, #18362d80), url('./agave.webp') center/cover; }
.age::backdrop { background: #13251b3d; }
.age-content { min-width: 0; padding: clamp(1.15rem, 4.8vw, 3.25rem); }
.age-header { display: flex; justify-content: space-between; align-items: center; gap: .85rem; margin-bottom: 1.3rem; }
.age-header img { width: min(62%, 232px); height: auto; }
.age-header .language { min-width: 44px; min-height: 44px; }
.age h2 { font-size: clamp(2.25rem, 5vw, 3.9rem); margin-bottom: 1.3rem; }
.age h2:focus { outline: none; }

.age-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; max-width: 20rem; }
.age-decline { color: var(--ink); background: transparent; }
.age-decline:hover { background: #18362d12; }
#age-status { color: var(--wine); font-size: .84rem; }
#age-status:not(:empty) { margin-top: .85rem; }
.no-script { color: var(--cream); padding: 2rem; }

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes title-in {
  from { transform: translateY(110%) rotate(4deg); }
  to { transform: translateY(0) rotate(0); }
}
@keyframes image-focus {
  from { scale: 1.13; }
  to { scale: 1.045; }
}
@keyframes progress {
  to { transform: scaleX(1); }
}
.site-ready .is-current .title-line > * { animation: title-in 1.16s var(--ease) .14s both; }
.site-ready .is-current .title-line:nth-child(2) > * { animation-delay: .25s; }
.site-ready .is-current .slide-copy, .site-ready .is-current .eyebrow { animation: rise .9s var(--ease) .32s both; }
.site-ready .is-current .slide-image { animation: image-focus 2s var(--ease) both; }
.site-ready .is-current.slide-cocktail .slide-image { animation: none; scale: 1; }
.site-ready .masthead, .site-ready .hero-controls { animation: rise .85s var(--ease) .1s both; }
.site-ready .hero-controls { animation-name: controls-in; }
@keyframes controls-in {
  from { opacity: 0; translate: 0 13px; }
  to { opacity: 1; translate: 0 0; }
}
.hero.is-playing .slide-meter span { animation: progress var(--slide-duration, 8s) linear both; }
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready [data-reveal] { transition: opacity .88s var(--ease), transform 1.05s var(--ease); }
  .reveal-ready [data-reveal]:not(.revealed, :focus-within) { opacity: .18; transform: translateY(48px); }
  .reveal-ready .intro-copy { transition-delay: .11s; }
  .reveal-ready .media-frame { transition: clip-path 1.1s var(--ease); clip-path: inset(0); }
  .reveal-ready [data-reveal]:not(.revealed, :focus-within) .media-frame { clip-path: inset(12% 0 12% 0); }
}

@media (max-width: 900px) {
  .topbar { min-height: 76px; }
  .wordmark img { width: 150px; }
  .menu-toggle { display: inline-flex; gap: .65rem; align-items: center; background: transparent; border: 1px solid #f5eee291; border-radius: 99px; color: inherit; min-height: 44px; padding: .45em 1em; font-size: .77rem; font-weight: 750; }
  .menu-icon { display: grid; gap: 4px; width: 14px; }
  .menu-icon::before, .menu-icon::after { content: ''; height: 1px; width: 100%; background: currentColor; transition: transform .28s; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(2.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-2.5px) rotate(-45deg); }
  .menu { display: none; position: absolute; inset: 76px 5.5% auto; background: var(--ink); padding: .6rem 1.25rem 1.25rem; border-radius: 0 0 .8rem .8rem; flex-direction: column; align-items: start; gap: 0; font-size: .9rem; }
  .menu.open { display: flex; animation: rise .34s var(--ease) both; }
  .menu a:not(.language) { padding: .8rem 0; width: 100%; border-bottom: 1px solid #f5eee240; }
  .menu .language { margin-top: .7rem; }
  .slide-content, .slide-feature .slide-content { padding-left: 0; }
}
@media (max-width: 660px) {
  .hero { min-height: max(650px, 96svh); }
  .slide { padding: 108px 0 128px; }
  .slide-content, .intro-grid, .product-grid, .points-grid, .tasting, .community-grid { grid-template-columns: 1fr; }
  .tasting li { padding-inline-start: calc(var(--step-size) + .9rem); }
  .tasting li > p { font-size: .9375rem; }
  .tasting li:not(:last-child) { padding-bottom: 1.15rem; }
  .tasting li:not(:last-child)::after {
    inset: var(--step-size) auto 0 calc(var(--step-size) / 2);
    border: 0;
    border-inline-start: 1px solid var(--step-line);
  }
  .tasting-step { position: absolute; inset: 0 auto auto 0; margin: 0; }
  .slide-content { gap: 1.55rem; }
  .slide-feature { padding: 98px 0 120px; }
  .slide-feature .slide-content {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 0;
    min-height: 440px;
  }
  .slide-feature .slide-image { object-position: 56% top; }
  .slide-cocktail .slide-image { height: 68%; object-position: 80% top; }
  .slide-cocktail::after { background: linear-gradient(0deg, #120e08f5 0%, #120e08ba 33%, transparent 74%); }
  .slide.slide-cocktail h2 { font-size: clamp(2.8rem, 12vw, 5rem); }
  .slide-feature::after { background: linear-gradient(90deg,#121d17ed,#121d1782 64%,#121d1733),linear-gradient(0deg,#111d17e6,transparent 75%); }
  .slide.slide-feature h1 { font-size: clamp(2.75rem, 11.75vw, 5.5rem); }
  .slide-feature .eyebrow { font-size: .59rem; letter-spacing: .12em; }
  .slide-feature .slide-copy { margin-top: 1.35rem; max-width: 22ch; }
  .slide-feature .slide-copy p { font-size: .96rem; }
  .slide-feature .button { gap: .6em; padding-inline: .9em; font-size: .75rem; }
  .hero-showcase { width: 129%; margin-inline: -17% 0; }
  .hero-showcase::after { width: 135%; opacity: .22; }
  .hero-bottle { height: clamp(250px, 51svh, 435px); }

  .slide h1, .slide h2 { font-size: clamp(3.45rem, 14vw, 6.25rem); }
  .slide:nth-of-type(2) h2 { font-size: clamp(2.7rem, 11vw, 5.3rem); }
  .slide .eyebrow { margin-bottom: 1rem; }
  .slide-copy .button { margin-top: .85rem; }
  .hero-controls { bottom: 48px; }
  .intro-copy { grid-row: 1; }
  .origin-photo img { aspect-ratio: 4/3.1; }
  .bottle-stage { width: min(100%, 440px); height: clamp(330px, 108vw, 455px); justify-self: center; }
  .gallery { grid-auto-columns: 74%; }
  .people-head { align-items: start; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom nav { margin-inline-start: 0; }
  .age[open] { display: block; }
  .age::before { display: none; }

  .age-header { margin-bottom: .85rem; }
  .age h2 { font-size: clamp(1.9rem, 7.5vw, 2.55rem); margin-bottom: .95rem; }
  .age-actions { max-width: none; }
}
@media (max-width: 350px) {
  .slide h1, .slide h2 { font-size: 3.12rem; }
  .slide:nth-of-type(2) h2 { font-size: 2.5rem; }
  .slide.slide-feature h1 { font-size: 2.46rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
  .slide .slide-image { inset: 0; height: 100%; transform: none; }
  .hero-bottle { transform: none; }
  .territory-image { top: 0; height: 100%; transform: none; }
}
