/* Coromandel Spirit: four gins on plain paper.
   Quiet by design: greys carry the hierarchy, hairlines do the work of shadows,
   and copper appears once per screen, on the one thing to do next. */

:root {
  color-scheme: light;
  --paper: #FAFAF7;
  --sheet: #FFFFFF;
  --well: #F3F2EE;
  --ink: #1E1D1A;        /* headings */
  --ink-2: #3D3B37;      /* strong body text */
  --graphite: #66635D;   /* body text, labels */
  --fog: #8F8B84;        /* the quiet half of a heading; large text only */
  --line: rgb(30 29 26 / .09);
  --line-strong: rgb(30 29 26 / .16);
  --ghost: rgb(30 29 26 / .05);
  --copper: #A4592E;
  --copper-deep: #86451F;

  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.5rem, 1.3rem + .8vw, 2rem);
  --step-4: clamp(2.125rem, 1.5rem + 2.4vw, 3rem);
  --step-5: clamp(2.75rem, 1.6rem + 4.6vw, 4.5rem);

  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2.5rem);
  --page: 75rem;
  --r-card: 12px;
  --r-inner: 8px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-ink: cubic-bezier(.55, .05, .3, 1);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font: 400 1rem/1.6 var(--sans);
  font-feature-settings: "cv01", "ss03";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 {
  margin: 0; color: var(--ink);
  font-family: var(--serif); font-weight: 500; font-optical-sizing: auto;
  line-height: 1.06; letter-spacing: -0.022em; text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -5rem; z-index: 100;
  padding: .75rem 1rem; border-radius: 99px; background: var(--ink); color: var(--paper); font: 500 .9375rem var(--sans);
}
.skip-link:focus { top: 1rem; }
.wrap { width: min(100% - 2 * var(--gutter), var(--page)); margin-inline: auto; }

/* The quiet half of a two-tone heading */
.quiet { color: var(--fog); }

/* Small monospaced labels, like the tags on a specimen drawer */
.label {
  color: var(--graphite);
  font: 500 .75rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase;
}

/* Buttons and links */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 2.75rem; padding: 0 1.25rem;
  border: 0; border-radius: 99px;
  background: var(--copper); color: #fff;
  font: 500 .9375rem/1 var(--sans); text-decoration: none;
  cursor: pointer; touch-action: manipulation;
  transition: background-color .2s, color .2s, transform .15s;
}
.button:hover { background: var(--copper-deep); }
.button:active { transform: scale(.98); }
.button[disabled] { opacity: .5; cursor: default; transform: none; }
.button--quiet { background: var(--ghost); color: var(--ink); }
.button--quiet:hover { background: rgb(30 29 26 / .09); }
.button--small { min-height: 2.25rem; padding: 0 .9375rem; font-size: .875rem; }
.link {
  display: inline-flex; align-items: center; gap: .375rem; min-height: 2.75rem;
  color: var(--ink); font: 500 .9375rem/1.4 var(--sans); text-decoration: none;
}
.link::after { content: "→"; transition: translate .2s var(--ease-out); }
.link:hover::after { translate: .1875rem 0; }
.tag {
  justify-self: start; width: max-content;
  padding: .3125rem .5rem; border: 1px solid var(--line-strong); border-radius: 99px;
  background: var(--sheet); color: var(--ink);
  font: 500 .6875rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase;
}
.caption { margin-top: .75rem; color: var(--graphite); font: 400 .75rem/1.4 var(--mono); letter-spacing: .02em; }
.lede { max-width: 36rem; color: var(--ink-2); font-size: var(--step-1); line-height: 1.55; }

/* Header: frosted paper, a hairline once the page moves */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: .75rem;
  min-height: 4rem; padding: .5rem var(--gutter);
  background: rgb(250 250 247 / .82);
  -webkit-backdrop-filter: saturate(1.6) blur(20px);
  backdrop-filter: saturate(1.6) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
/* The copper wordmark */
.brand { display: flex; align-items: center; min-height: 2.75rem; margin-right: auto; }
.brand__mark { width: 11rem; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: 0 .5rem;
  border: 0; background: none; color: var(--ink); font: 500 .9375rem var(--sans); cursor: pointer;
}
.nav-toggle__icon { position: relative; width: 1.125rem; height: .625rem; }
.nav-toggle__icon::before, .nav-toggle__icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform .25s var(--ease-out), top .25s var(--ease-out);
}
.nav-toggle__icon::before { top: 0; }
.nav-toggle__icon::after { top: calc(100% - 1.5px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { top: calc(50% - .75px); transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { top: calc(50% - .75px); transform: rotate(-45deg); }
.site-menu { list-style: none; margin: 0; padding: 0; }
.site-menu a { text-decoration: none; }

@media (max-width: 25.99rem) { .brand__mark { width: 9.25rem; } }
@media (max-width: 24.99rem) {
  .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@media (max-width: 51.99rem) {
  .site-menu {
    position: absolute; inset: 100% 0 auto;
    padding: .25rem var(--gutter) 1.5rem;
    background: var(--paper); border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-.5rem);
    transition: opacity .2s, transform .25s var(--ease-out), visibility 0s .25s;
  }
  .site-nav.is-open .site-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease-out); }
  .site-menu a {
    display: block; padding: .875rem 0; border-bottom: 1px solid var(--line);
    color: var(--ink); font: 500 1.5rem/1.2 var(--serif); letter-spacing: -0.02em;
  }
  .site-menu li:last-child a { border-bottom: 0; }
  .site-menu a[aria-current="page"], .site-menu a.is-active { color: var(--graphite); }
}
@media (min-width: 52rem) {
  .site-header { gap: 2rem; }
  .brand__mark { width: 12rem; }
  .nav-toggle { display: none; }
  .site-menu { display: flex; gap: 1.75rem; }
  .site-menu a {
    display: inline-flex; align-items: center; min-height: 2.75rem;
    color: var(--graphite); font: 400 .875rem var(--sans);
    transition: color .2s;
  }
  .site-menu a:hover, .site-menu a[aria-current="page"], .site-menu a.is-active { color: var(--ink); }
}

/* Sections */
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head__title { display: grid; gap: 1rem; }
.section-head__aside { display: grid; justify-items: start; gap: .75rem; max-width: 28rem; }
.section-head__aside p { color: var(--graphite); font-size: 1.0625rem; }
@media (min-width: 60rem) {
  .section-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 4rem; }
}
.section-head h2, .split__text h2, .questions h2, .pour__title { font-size: var(--step-4); }
.split__text > .label, .questions .label, .pour__text > .label { margin-bottom: -.25rem; }
.page-head { padding-block: clamp(3rem, 8vw, 6rem) clamp(2rem, 5vw, 3.5rem); }
.page-head h1 { max-width: 16ch; font-size: var(--step-5); letter-spacing: -0.025em; line-height: 1.02; }
.page-head p { max-width: 38rem; margin-top: 1.25rem; color: var(--graphite); font-size: var(--step-1); line-height: 1.55; }
.page-head .page-head__actions { margin-top: 2rem; }

/* Home hero: the headline first, and the Classic bottle lowered onto the paper beside it.
   Without motion (or without JavaScript) everything is simply there. */
.hero { overflow: clip; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 7vw, 6rem); }
.hero__grid { display: grid; align-items: center; gap: 2.5rem; }
.hero__text { display: grid; justify-items: start; }
/* What's new, as a small pill above the headline */
.announce {
  display: inline-flex; align-items: center; gap: .625rem; min-height: 2.25rem; padding: .125rem .5rem .125rem .3125rem;
  border: 1px solid var(--line-strong); border-radius: 99px; background: var(--sheet);
  color: var(--ink-2); font-size: .875rem; font-weight: 500; text-decoration: none;
  transition: border-color .2s;
}
.announce:hover { border-color: rgb(30 29 26 / .32); }
.announce .tag { border: 0; background: var(--ink); color: var(--paper); }
.announce__arrow { margin-right: -.25rem; color: var(--graphite); transition: translate .2s var(--ease-out); }
.announce:hover .announce__arrow { translate: .1875rem 0; }
/* The fig leaf from the gin pages, drawn small: only its outline and main veins, in a heavier line so it reads at this size */
.announce .announce__leaf { flex: none; width: 1.75rem; color: var(--ink); rotate: -14deg; transition: rotate .4s var(--ease-out); --delay: .5s; }
.announce__leaf .ink { stroke-width: 6.5; }
.announce__leaf .ink path:nth-child(n + 9) { display: none; }
.announce:hover .announce__leaf { rotate: -4deg; }
.hero__title { margin-top: 1.5rem; font-size: clamp(2.75rem, 1.5rem + 4.2vw, 4.5rem); line-height: 1.02; letter-spacing: -0.03em; }
.hero__title span { display: block; }
.hero__sub { max-width: 34ch; margin-top: 1.25rem; color: var(--graphite); font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); line-height: 1.45; letter-spacing: -0.011em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__stage { position: relative; justify-self: center; height: clamp(20rem, 50svh, 28rem); aspect-ratio: 420 / 1060; }
.hero__floor, .hero__bottle { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.hero__floor { z-index: 1; transform-origin: 50% 88%; transition: scale .5s var(--ease-out); }
.hero__bottle { z-index: 2; transition: translate .5s var(--ease-out); }
/* The bottle links to its own page: on hover it lifts off the paper and its shadow tightens.
   translate and scale sit on top of the drop animation's transform, so they never fight it. */
a.hero__stage { display: block; border-radius: var(--r-card); }
@media (hover: hover) and (pointer: fine) {
  .hero__stage:hover .hero__bottle { translate: 0 -.5rem; }
  .hero__stage:hover .hero__floor { scale: .94; }
}
.hero__glint {
  position: absolute; inset: 0; z-index: 3; opacity: 0; pointer-events: none;
  background: linear-gradient(104deg, transparent 42%, rgb(255 255 255 / .7) 50%, transparent 58%) 150% 0 / 260% 100% no-repeat;
  -webkit-mask: url("../img/hero-bottle-420.webp") center / 100% 100% no-repeat;
  mask: url("../img/hero-bottle-420.webp") center / 100% 100% no-repeat;
}
/* Stacked on a phone, the bottle drops into its own space rather than across the headline. */
@media (max-width: 51.99rem) { .hero__stage { overflow: clip; } }
@media (min-width: 52rem) {
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; }
  .hero__stage { height: clamp(26rem, 68svh, 40rem); }
  /* Sized to the text column, so "A lot of Coromandel." always stays on one line beside the bottle */
  .hero__title { font-size: clamp(2.75rem, 5.7vw - .3rem, 4.25rem); }
}

@media (prefers-reduced-motion: no-preference) {
  .js .hero__text > * { animation: rise .7s var(--ease-out) both; }
  .js .hero__text > :nth-child(2) { animation-delay: .06s; }
  .js .hero__text > :nth-child(3) { animation-delay: .12s; }
  .js .hero__text > :nth-child(4) { animation-delay: .18s; }
  .js .hero__bottle, .js .hero__floor { opacity: 0; }
  .hero-ready .hero__bottle { animation: bottle-drop 1.1s cubic-bezier(.16, 1, .3, 1) .1s both; }
  .hero-ready .hero__floor { animation: floor-in .55s cubic-bezier(.45, 0, .25, 1) .7s both; }
  .hero-ready .hero__glint { animation: glint 1s ease-in-out 1.3s both; }

  /* Wait for the age check before starting. */
  .gate-open .hero * { animation-play-state: paused !important; }
}
@keyframes bottle-drop { from { opacity: 1; transform: translateY(-75svh); } to { opacity: 1; transform: none; } }
@keyframes floor-in { from { opacity: 0; transform: scaleX(.6); } to { opacity: 1; transform: none; } }
@keyframes glint { from { opacity: 1; background-position: 150% 0; } to { opacity: 1; background-position: -60% 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(.5rem); } to { opacity: 1; transform: none; } }

/* Ink drawings draw themselves in when they reach the screen */
.botanical { width: 100%; height: auto; overflow: visible; }
@media (prefers-reduced-motion: no-preference) {
  /* Each stroke stays invisible until its own turn: a round cap on an undrawn dash shows as a dot. */
  .js [data-reveal] .botanical .ink path { stroke-dasharray: 1 1; stroke-dashoffset: 1.01; opacity: 0; }
  .js [data-reveal] .botanical .stipple { opacity: 0; }
  .js [data-reveal].is-in .botanical .ink path {
    stroke-dashoffset: 0; opacity: 1;
    transition:
      stroke-dashoffset 1.1s var(--ease-ink) calc(var(--d) + var(--delay, 0s) + var(--extra, 0s)),
      opacity 0s linear calc(var(--d) + var(--delay, 0s) + var(--extra, 0s));
  }
  .js [data-reveal].is-in .botanical .stipple { opacity: 1; transition: opacity .9s ease calc(1.2s + var(--delay, 0s) + var(--extra, 0s)); }
}

/* Gin cards: one per gin, the bottle on a plain well */
.plates { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.plate {
  position: relative; display: grid; grid-template-columns: 8rem minmax(0, 1fr); align-items: center; gap: 1.25rem;
  padding: .75rem 1.25rem .75rem .75rem;
  background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-card);
  transition: border-color .25s;
}
.plate:hover { border-color: var(--line-strong); }
.plate:has(a:focus-visible) { outline: 2px solid var(--copper); outline-offset: 3px; }
.plate__art {
  position: relative; display: grid; place-items: end center; aspect-ratio: 4 / 5;
  border-radius: var(--r-inner); background: var(--well);
}
.plate__bottle { width: auto; height: 84%; max-width: none; margin-bottom: 6%; transition: transform .5s var(--ease-out); }
.plate__no { position: absolute; top: .75rem; left: .75rem; }
.plate .tag { position: absolute; top: .625rem; right: .625rem; }
.plate__text { display: grid; gap: .25rem; }
.plate__name { font-size: var(--step-3); }
.plate__name a { text-decoration: none; }
.plate__name a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.plate__name a:focus-visible { outline: none; }
.plate__pair { color: var(--ink); font-size: .9375rem; font-weight: 500; }
.plate__latin { color: var(--graphite); font: italic 400 .875rem/1.4 var(--serif); }
.plate__for { margin-top: .5rem; color: var(--graphite); font-size: .9375rem; line-height: 1.55; }
.plate:nth-child(2) { --delay: .08s; }
.plate:nth-child(3) { --delay: .16s; }
.plate:nth-child(4) { --delay: .24s; }
@media (hover: hover) and (pointer: fine) {
  .plate:hover .plate__bottle { transform: translateY(-.375rem); }
}
@media (prefers-reduced-motion: no-preference) {
  .js .plate[data-reveal] { opacity: 0; translate: 0 1rem; }
  .js .plate[data-reveal].is-in { opacity: 1; translate: none; transition: opacity .6s ease var(--delay, 0s), translate .8s var(--ease-out) var(--delay, 0s), border-color .25s; }
}
@media (min-width: 40rem) {
  .plates { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .plate { grid-template-columns: 1fr; align-items: start; padding: .75rem .75rem 1.5rem; }
  .plate__art { aspect-ratio: 5 / 6; }
  .plate__text { padding-inline: .5rem; }
}
@media (min-width: 70rem) {
  .plates { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .plates--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plates--three .plate__art { aspect-ratio: 1; }
}

/* Azure colour change, on its own panel */
.pour {
  display: grid; align-items: center; gap: 2rem;
  padding: clamp(1.5rem, 4vw, 4rem);
  background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-card);
}
.pour__figure { margin: 0; text-align: center; }
.pour__text { display: grid; justify-items: start; gap: 1rem; }
.pour__text > p { max-width: 34ch; color: var(--graphite); font-size: 1.0625rem; }
.pour__controls { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .75rem; }
.pour__status { min-height: 1.6em; color: var(--graphite); font: 400 .8125rem/1.6 var(--mono); }
.pour__done { display: grid; justify-items: start; gap: .25rem; }
.pour__done p { color: var(--ink-2); }
html:not(.js) .pour__controls, html:not(.js) .pour__status { display: none; }
@media (min-width: 52rem) {
  .pour { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4rem; }
}

.pour-glass { --liquid: #2F6FD0; width: min(100%, 19rem); height: auto; margin-inline: auto; overflow: visible; }
.pour-glass__lines { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; }
.pour-glass .thin { stroke-width: .8; }
.pour-glass__liquid { transform: translateY(176px); transition: transform 2.4s var(--ease-out); }
.pour-glass__liquid rect { fill: var(--liquid); fill-opacity: .82; transition: fill 2s ease .2s; }
.pour-glass__liquid ellipse { fill: #fff; fill-opacity: .3; }
.pour-glass__ice rect { fill: #fff; fill-opacity: .4; stroke: var(--ink); stroke-width: 1.1; }
.pour-glass__bubbles circle { fill: #fff; fill-opacity: .85; opacity: 0; }
.pour-glass__stream { fill: #E2F1F7; stroke: var(--ink); stroke-width: .6; transform-origin: 100px -24px; transform: scaleY(0); transition: transform .3s ease-in; }
.pour-glass__lemon { fill: #F2E4A0; stroke: var(--ink); stroke-width: 1.1; stroke-linejoin: round; opacity: 0; transform: translate(6px, -10px); transition: opacity .4s, transform .5s var(--ease-out); }
.pour-glass__drop { opacity: 0; stroke-width: .6; }
.pour-glass[data-state="pouring"] .pour-glass__stream { transform: scaleY(1); transition: transform .45s ease-out; }
.pour-glass:not([data-state="start"]) .pour-glass__liquid { transform: translateY(74px); }
.pour-glass:is([data-state="pouring"], [data-state="soda"]) { --liquid: #6FB2EE; }
.pour-glass:is([data-state="squeezing"], [data-state="pink"]) { --liquid: #DB72AE; }
.pour-glass:is([data-state="squeezing"], [data-state="pink"]) .pour-glass__lemon { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .pour-glass[data-state="pouring"] .pour-glass__bubbles circle { animation: bubble 1.3s ease-in infinite; }
  .pour-glass[data-state="squeezing"] .pour-glass__drop { animation: drop .7s ease-in 2; }
}
@media (prefers-reduced-motion: reduce) {
  .pour-glass * { transition-duration: .01ms !important; }
}
@keyframes bubble { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: .9; } 100% { opacity: 0; transform: translateY(-120px); } }
@keyframes drop { 0% { opacity: 0; transform: translateY(0); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(26px); } }

/* Two-column blocks */
.split { display: grid; align-items: center; gap: 2.5rem; }
.split__text { display: grid; justify-items: start; gap: 1.25rem; max-width: 34rem; }
.split__text > p { color: var(--graphite); font-size: 1.0625rem; }
@media (min-width: 60rem) {
  .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(3rem, 6vw, 6rem); }
  .split--flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .split--flip > :first-child { order: 2; }
}

/* Photographs: black and white, flat, inside a hairline, in two shapes only (wide 16:9, portrait 4:5) */
.photo { justify-self: center; width: 100%; margin: 0; }
.photo__mount { position: relative; display: block; overflow: hidden; border-radius: var(--r-card); }
.photo__mount::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.photo__mount img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.photo--portrait { max-width: 28rem; }
.photo--portrait .photo__mount img { aspect-ratio: 4 / 5; }

/* Home story and visit: the section heading row, then one framed visual beneath it */
.feature .measures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 2.5rem 0 0; }
.visit-panel {
  display: grid; gap: 1.5rem; padding: .75rem;
  background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-card);
}
.visit-panel .photo { max-width: none; }
.visit-panel .photo__mount { border-radius: var(--r-inner); }
.visit-panel .facts { align-content: center; gap: 2rem; margin: 0; padding: .75rem .75rem 1.25rem; }
@media (min-width: 48rem) {
  .visit-panel { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 3rem; }
  .visit-panel .facts { grid-template-columns: 1fr; padding: 2rem 2rem 2rem 0; }
}
@media (min-width: 70rem) { .visit-panel .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Facts, numbers and hours */
.measures { display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; margin: .5rem 0 .25rem; }
.measures div { display: flex; flex-direction: column-reverse; gap: .5rem; }
.measures dd { margin: 0; color: var(--ink); font: 400 clamp(2.25rem, 1.7rem + 2vw, 3rem)/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -0.03em; }
.measures dt { color: var(--graphite); font: 500 .75rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.75rem; width: 100%; }
.facts address { margin-bottom: .25rem; font: 400 var(--step-1)/1.4 var(--serif); letter-spacing: -0.01em; }
.facts h3, .visit-card h2 { margin-bottom: .625rem; color: var(--graphite); font: 500 .75rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.facts address { color: var(--ink-2); }
.hours { border-collapse: collapse; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.hours th { padding: .25rem 1.25rem .25rem 0; text-align: left; font-weight: 400; color: var(--graphite); }
.hours td { padding: .25rem 0; color: var(--ink-2); }
.hours th, .hours td { white-space: nowrap; }

/* Questions */
.questions__grid { display: grid; gap: 2rem; }
.questions__head { display: grid; align-content: start; gap: 1rem; }
@media (min-width: 60rem) { .questions__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; } }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 3.5rem; padding: 1rem 0; cursor: pointer; list-style: none;
  color: var(--ink); font-size: 1.0625rem; font-weight: 500; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: .75rem; height: .75rem; color: var(--graphite);
  background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: transform .3s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 60ch; padding-bottom: 1.25rem; color: var(--graphite); }
@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    .faq { interpolate-size: allow-keywords; }
    .faq details::details-content { block-size: 0; overflow: clip; transition: block-size .35s var(--ease-out), content-visibility .35s allow-discrete; }
    .faq details[open]::details-content { block-size: auto; }
  }
}

/* Gin pages: the only place the botanical drawings appear */
.gin-hero { display: grid; align-items: center; gap: 2rem; padding-block: clamp(1.5rem, 4vw, 3rem) clamp(3rem, 7vw, 5rem); }
@media (min-width: 60rem) { .gin-hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; } }
.specimen { position: relative; width: 100%; max-width: 38rem; aspect-ratio: 1; margin-inline: auto; isolation: isolate; }
.specimen__bottle { position: absolute; left: 50%; bottom: 5%; z-index: 1; width: auto; height: 86%; max-width: none; transform: translateX(-50%); }
.specimen__bot { position: absolute; z-index: 0; display: flex; flex-direction: column; gap: .5rem; width: 40%; margin: 0; color: var(--ink); }
.specimen__bot--a { top: 2%; left: 0; }
.specimen__bot--b { right: 0; bottom: 20%; flex-direction: column-reverse; text-align: right; --extra: .35s; }
.specimen__bot figcaption { color: var(--ink); font: 500 .875rem/1.3 var(--sans); }
.specimen__bot figcaption i { display: block; margin-top: .125rem; color: var(--graphite); font: italic 400 .8125rem/1.3 var(--serif); }
.gin-hero__text { display: grid; justify-items: start; gap: 1rem; }
.gin-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.gin-hero h1 { font-size: clamp(3.5rem, 2rem + 6vw, 6.5rem); line-height: .98; letter-spacing: -0.035em; }
.gin-hero__pair { margin-top: -.25rem; color: var(--ink); font-size: var(--step-2); font-weight: 500; letter-spacing: -0.015em; }
.gin-hero__for { max-width: 26ch; color: var(--graphite); font-size: var(--step-1); line-height: 1.5; }
.price { margin: .25rem 0 .5rem; color: var(--ink); font: 400 var(--step-2)/1 var(--serif); font-variant-numeric: lining-nums; letter-spacing: -0.02em; }
.price span { margin-left: .375rem; color: var(--graphite); font: 400 .9375rem var(--sans); letter-spacing: 0; }
@media (prefers-reduced-motion: no-preference) {
  .js .specimen__bottle { opacity: 0; transform: translate(-50%, .75rem); }
  .js .specimen.is-in .specimen__bottle { opacity: 1; transform: translateX(-50%); transition: opacity .9s ease .15s, transform 1.1s var(--ease-out) .15s; }
}

.gin-detail__grid { display: grid; gap: 3rem; }
@media (min-width: 60rem) { .gin-detail__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; gap: 5rem; } }
.gin-notes h2, .gin-serve h2, .field-notes h2, .others h2 { margin-bottom: 1.5rem; font-size: var(--step-3); }

.serve {
  position: relative; display: grid; align-content: start; gap: .75rem;
  padding: 1.5rem 1.5rem 1.75rem;
  background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-card);
}
.serve__glass { position: absolute; top: 1rem; right: 1rem; width: 5.5rem; color: var(--ink); }
.serve__name { padding-right: 6.5rem; font-size: var(--step-2); }
.serve__gin { color: var(--graphite); font-size: .9375rem; }
.serve__gin a { color: var(--ink); }
.serve__ingredients { display: grid; gap: .25rem; margin: .5rem 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: .9375rem; }
.serve__ingredients li { display: flex; align-items: baseline; gap: .625rem; }
.serve__ingredients li::before { content: ""; flex: none; width: .5rem; height: 1px; background: var(--fog); translate: 0 -.3em; }
.serve__method { display: grid; gap: .375rem; margin: .5rem 0 0; padding-left: 1.5rem; color: var(--graphite); font-size: .9375rem; }
.serve__method li::marker { color: var(--graphite); font: 500 .75rem var(--mono); }

.entries { display: grid; gap: 2.5rem; }
@media (min-width: 48rem) { .entries { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
.entry { display: grid; align-content: start; gap: .375rem; }
.entry__art { width: 9rem; margin-bottom: .75rem; color: var(--ink); }
.entry .label { margin-bottom: .125rem; }
.entry__name { font-size: var(--step-2); }
.entry__latin { color: var(--graphite); font: italic 400 .9375rem/1.4 var(--serif); }
.entry p:last-child { max-width: 34ch; margin-top: .25rem; color: var(--graphite); font-size: .9375rem; }
.entry:nth-child(2) { --delay: .2s; }
.entry:nth-child(3) { --delay: .4s; }

/* Cocktails */
.serves__grid { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .serves__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.page-cocktails .serve { padding: 2rem; }
.page-cocktails .serve__glass { width: 7rem; }
.page-cocktails .serve__name { padding-right: 8rem; font-size: var(--step-3); }

/* Story */
.photo--wide { max-width: none; }
.story-body__grid { display: grid; align-items: end; gap: 2.5rem; }
@media (min-width: 60rem) { .story-body__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.essay__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 2rem 1rem; }
@media (min-width: 60rem) { .essay__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; } }
.essay__grid .photo { max-width: none; }
.essay__grid .photo__mount img { aspect-ratio: 4 / 5; object-fit: cover; }
.pairs-art { width: 100%; max-width: 26rem; justify-self: center; color: var(--ink); }
.pairs { display: grid; width: 100%; margin: .5rem 0 0; padding: 0; list-style: none; }
.pairs a { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; padding: .875rem 0; border-top: 1px solid var(--line); text-decoration: none; }
.pairs li:last-child a { border-bottom: 1px solid var(--line); }
.pairs a:hover .pairs__name { text-decoration: underline 1px; text-underline-offset: .2em; }
.pairs__name { color: var(--ink); font: 500 var(--step-1)/1.3 var(--serif); letter-spacing: -0.01em; }
.pairs__pair { color: var(--graphite); font-size: .9375rem; }

/* Visit */
.visit-card address { color: var(--ink); font: 400 var(--step-2)/1.35 var(--serif); letter-spacing: -0.01em; }
.visit-card h2:not(:first-child) { margin-top: 1.25rem; }

/* Footer: the logo and one closing line, then the colophon */
.closing { padding-block: clamp(4rem, 9vw, 7rem) clamp(5rem, 11vw, 9rem); text-align: center; }
.closing__logo { width: clamp(9rem, 6rem + 6vw, 11rem); margin: 0 auto clamp(2rem, 4vw, 3rem); }
.closing h2 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4rem); letter-spacing: -0.03em; line-height: 1.02; }
.closing p { max-width: 32rem; margin: 1.25rem auto 0; color: var(--graphite); font-size: 1.0625rem; }
.closing__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2rem; }

.footer-base { border-top: 1px solid var(--line); }
.footer-base a { color: var(--graphite); text-decoration: none; transition: color .2s; }
.footer-base a:hover { color: var(--ink); }
/* Fixed columns, so the hours table always has room and never runs into the links beside it */
.footer-grid {
  display: grid; gap: 2.5rem 2rem; padding-block: 3.5rem 2.5rem; font-size: .9375rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "brand brand" "hours hours" "gins more";
}
.footer-brand { grid-area: brand; }
.footer-hours { grid-area: hours; }
.footer-gins { grid-area: gins; }
.footer-more { grid-area: more; }
@media (min-width: 40rem) { .footer-grid { grid-template-areas: "brand hours" "gins more"; column-gap: 3rem; } }
@media (min-width: 72rem) {
  .footer-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); grid-template-areas: "brand hours gins more"; column-gap: 4rem; }
}
.footer-brand__name { margin: 0 0 .375rem; color: var(--ink); font: 500 1.0625rem/1.3 var(--serif); letter-spacing: -0.01em; }
.footer-base address { color: var(--graphite); }
.footer-title { margin-bottom: .875rem; color: var(--ink); font: 500 .75rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.footer-base nav ul { display: grid; gap: .125rem; margin: 0; padding: 0; list-style: none; }
.footer-base nav a { display: inline-flex; align-items: center; min-height: 2.25rem; }
.legal { display: grid; gap: .5rem; padding-block: 1.5rem 2.5rem; border-top: 1px solid var(--line); color: var(--graphite); font-size: .8125rem; line-height: 1.6; }
.legal a { text-decoration: underline 1px; text-underline-offset: .2em; }

/* Age check */
.age-gate {
  width: min(100% - 2rem, 26rem); padding: 2rem 2rem 2rem; overflow: visible;
  border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); color: var(--ink-2); text-align: center;
  box-shadow: 0 24px 60px -28px rgb(0 0 0 / .35);
}
.age-gate::backdrop { background: rgb(30 29 26 / .45); backdrop-filter: blur(8px); }
.age-gate__mark { width: 10rem; margin: 0 auto 1.5rem; }
.age-gate h2 { font-size: var(--step-3); }
.age-gate p { margin-top: .75rem; color: var(--graphite); }
.age-gate__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.75rem; }
.age-gate__no { margin-top: 1.25rem; }
@media (prefers-reduced-motion: no-preference) {
  .age-gate[open] { animation: rise .5s var(--ease-out); }
}
