@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("assets/fonts/manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f2e8;
  --ivory: #fff8e9;
  --sand: #ede3d2;
  --forest: #11241a;
  --deep: #0c190f;
  --ink: #1e3024;
  --muted: #534f44;
  --accent: #83572e;
  --gold: #e3bc7f;
  --line: #d9cbb4;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: Manrope, system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  --header-height: 4.75rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + env(safe-area-inset-top) + 1rem);
}

html:has(dialog[open]) { overflow: hidden; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

body:has(#site[inert]) { background: var(--deep); }
#site[inert] { visibility: hidden; }
[hidden] { display: none !important; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }

h1, h2, h3 {
  font: 400 1rem/1 var(--serif);
}

h2 {
  font-size: clamp(3rem, 5.45vw, 5.75rem);
  letter-spacing: -.028em;
  text-wrap: balance;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

:where(.hero, .cocktail, .footer, .site-menu[data-open]) :focus-visible {
  outline-color: var(--gold);
}

main:focus, section:focus, [tabindex="-1"]:focus:not(input):not(button) { outline: none; }

.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip:focus {
  position: fixed;
  z-index: 20;
  inset: .6rem auto auto var(--gutter);
  padding: .65rem 1rem;
  color: var(--ivory);
  background: var(--forest);
}

.frame {
  width: min(calc(100% - var(--gutter) * 2), 78rem);
  margin-inline: auto;
}

.content-section { padding-block: clamp(4rem, 7.4vw, 7.5rem); }

.eyebrow {
  color: var(--accent);
  font: 800 .69rem/1.5 var(--sans);
  letter-spacing: .17em;
  text-transform: uppercase;
}

.button-row { display: flex; flex-wrap: wrap; gap: .65rem; }

.button {
  display: inline-flex;
  width: fit-content;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: .6rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 3px;
  font: 800 .71rem/1.25 var(--sans);
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.button-solid { color: var(--ivory); background: var(--forest); }
.button-solid:hover { background: #2e4734; }
.button-outline { color: var(--ink); background: transparent; border-color: #978978; }
.button-outline:hover { background: var(--sand); border-color: var(--accent); }
.button-cream { color: var(--deep); background: var(--ivory); }
.button-cream:hover { background: #ead8b7; }

.icon {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  color: inherit;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: sticky;
  z-index: 5;
  inset-block-start: 0;
  padding-block-start: env(safe-area-inset-top);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  position: relative;
  width: min(100%, 98rem);
  min-height: var(--header-height);
  margin-inline: auto;
  padding-inline: max(clamp(1.1rem, 3.4vw, 3.25rem), env(safe-area-inset-left)) max(clamp(1.1rem, 3.4vw, 3.25rem), env(safe-area-inset-right));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.brand { display: block; justify-self: start; }
.brand img { width: clamp(6rem, 9vw, 8.125rem); }

.site-menu {
  display: flex;
  align-items: center;
  gap: clamp(1.3rem, 2.8vw, 3.5rem);
}

.site-menu :is(a, button) {
  padding-block: .75rem;
  color: var(--ink);
  background: none;
  border: 0;
  font: 800 .71rem/1.35 var(--sans);
  letter-spacing: .09em;
  text-transform: uppercase;
}

.site-menu :is(a, button):hover { color: var(--accent); }
.mobile-menu-link, .menu-toggle { display: none; }

.header-actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: .2rem;
}

.icon-button, .menu-toggle {
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: none;
  border-radius: 3px;
}

.icon-button { display: grid; place-content: center; }
.icon-button:hover, .menu-toggle:hover { background: var(--sand); }

.header-shop {
  min-height: 2.35rem;
  margin-inline: .3rem .8rem;
  padding-inline: .8rem;
  font-size: .64rem;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding-inline: .55rem .25rem;
  border: 1px solid #cbbda6;
  border-radius: 999px;
  background: rgb(255 248 233 / .47);
  color: var(--accent);
}

.language-switch .icon { width: .9rem; height: .9rem; }

.language-switch a {
  display: grid;
  place-items: center;
  position: relative;
  min-width: 1.65rem;
  min-height: 2rem;
  color: var(--muted);
  font: 700 .65rem/1 var(--sans);
  letter-spacing: .05em;
}

.language-switch a[aria-current] { color: var(--ink); font-weight: 800; }
.language-switch a:hover { color: var(--accent); }
.language-switch a:focus-visible { outline-offset: -2px; }
.language-switch a + a::before {
  content: "";
  position: absolute;
  left: 0;
  width: 1px;
  height: .62rem;
  background: #bdb097;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(35rem, 74svh, 53rem);
  isolation: isolate;
  color: var(--ivory);
  background: var(--deep);
}

.hero-picture, .hero::after {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.hero-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 63% center;
}

.hero::after {
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgb(8 18 11 / .87), rgb(8 18 11 / .61) 28%, rgb(8 18 11 / .17) 48%, transparent 65%);
}

.hero-inner { padding-block: clamp(3.5rem, 7vw, 7rem); }
.hero-copy { max-width: 34.5rem; }
.hero .eyebrow, .cocktail .eyebrow { color: var(--gold); }

.hero h1 {
  margin-block: .9rem 1.2rem;
  font-size: clamp(4rem, 7vw, 7.15rem);
  line-height: .92;
  letter-spacing: -.035em;
}

.hero h1 :is(span, em), .story h2 :is(span, em), .cocktail h2 :is(span, em) { display: block; }
.hero h1 em { color: #edc58d; }
.hero-intro { max-width: 24rem; margin-bottom: 1.55rem; color: #efebdf; }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.25rem 2rem;
  padding-bottom: 1.45rem;
  border-bottom: 1px solid var(--line);
}

.section-heading p {
  max-width: 23rem;
  padding-bottom: .18rem;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.05rem, 2.7vw, 2.5rem);
  margin-top: clamp(1.2rem, 3vw, 2.6rem);
}

.product {
  display: grid;
  grid-template-rows: auto 1fr;
}

.product-photo {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--sand);
}

.product-copy {
  display: flex;
  align-items: start;
  flex-direction: column;
  min-width: 0;
  padding-block: 1.15rem 0;
}

.product h3 {
  margin-block: .1rem .5rem;
  font-size: clamp(2.2rem, 3.5vw, 3.65rem);
  letter-spacing: -.023em;
}

.product [data-tasting] { color: var(--muted); max-width: 29ch; margin-block-end: 1rem; }
.product .button { margin-block-start: auto; }

.cocktail {
  display: grid;
  grid-template-columns: minmax(0, 27rem) minmax(0, 26rem);
  gap: clamp(2.4rem, 10vw, 9rem);
  align-items: center;
  justify-content: center;
  padding: clamp(3rem, 6.5vw, 6rem) var(--gutter);
  background: var(--forest);
  color: var(--ivory);
}

.cocktail-media {
  background: #22291a;
}

.cocktail-media img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.cocktail-copy h2, .story-copy h2 { margin-block: .65rem 1.15rem; }
.cocktail-copy h2 em { color: var(--gold); }
.cocktail-copy > p:not(.eyebrow) { color: #e0ddcf; }

.recipe { margin-top: 1.4rem; }
.recipe summary { cursor: pointer; list-style: none; }
.recipe summary::-webkit-details-marker { display: none; }
.recipe[open] summary :first-child, .recipe:not([open]) summary :last-child { display: none; }

.recipe p {
  max-width: 34ch;
  margin-top: 1.05rem;
  padding-left: 1rem;
  border-left: 1px solid #b49261;
  color: #efeadd;
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .91fr);
  gap: clamp(2.4rem, 7vw, 7rem);
  align-items: center;
}

.story-copy { max-width: 32rem; }
.story-copy h2 em { color: var(--accent); }

.story-copy p:not(.eyebrow) {
  max-width: 36ch;
  margin-bottom: .8rem;
  color: var(--muted);
}

.story-media { width: min(100%, 29rem); justify-self: center; }
.story-media img { aspect-ratio: 4 / 5; object-fit: cover; }

.story-media figcaption {
  padding-block-start: .5rem;
  font-size: .72rem;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-block-start: .3rem;
  color: var(--accent);
  font: 800 .75rem/1.3 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.text-link:hover { color: var(--deep); }

.find-band { padding-block: clamp(2.25rem, 5vw, 4rem); background: var(--sand); }
.find-inner { display: flex; gap: 1.2rem 2rem; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.find-inner h2 { font-size: clamp(2.6rem, 4.7vw, 4.75rem); }

.footer { padding-block: 2rem 1rem; background: var(--deep); color: var(--ivory); }
.footer-main, .footer-lower, .footer-brand {
  display: flex;
  align-items: center;
  gap: .75rem 1.1rem;
}

.footer-main, .footer-lower { justify-content: space-between; flex-wrap: wrap; }
.footer-brand strong { font: 400 2rem/1.1 var(--serif); }
.footer-brand p, .footer-lower { font-size: .74rem; color: #ddd2bb; }
.footer-brand img { width: 4.25rem; height: 4.25rem; }

.footer-instagram {
  display: block;
  min-height: 2.75rem;
  line-height: 2.75rem;
  font-size: .81rem;
  font-weight: 800;
}

.footer-instagram span { padding-inline-start: .3rem; color: var(--gold); }
.footer-instagram:hover { color: var(--gold); }
.footer-lower { margin-top: 1.4rem; padding-top: .9rem; border-top: 1px solid #455041; }

dialog {
  padding: 0;
  border: 0;
  color: var(--ink);
  background: var(--paper);
}

dialog::backdrop { background: rgb(8 19 12 / .69); }
dialog[open]:not(.age-dialog) { animation: overlay-in .16s ease-out both; }

@keyframes overlay-in {
  from { opacity: 0; transform: translateY(.45rem); }
  to { opacity: 1; transform: none; }
}

.age-dialog {
  width: min(calc(100% - 2.5rem), 54rem);
  max-width: none;
  max-height: calc(100dvh - 2.5rem);
  margin: auto;
  border-radius: 5px;
  box-shadow: 0 24px 85px rgb(0 0 0 / .38);
}

.age-dialog::backdrop {
  background: radial-gradient(ellipse at 65% 30%, #293728, #0a160e 76%);
}

.age-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .88fr);
  min-height: 29rem;
}

.age-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.3rem;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.age-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
}

.age-top img { width: clamp(6rem, 9.8vw, 8.2rem); }

.age-content h2 {
  max-width: 13ch;
  font-size: clamp(3rem, 5vw, 4.8rem);
  text-wrap: pretty;
}

.age-content .age-denial h2 { font-size: clamp(2.65rem, 4.5vw, 4.3rem); }
.age-content h2 + p { margin-block: 1rem 1.2rem; color: var(--muted); }
.age-content .button { min-width: 4.25rem; }

.age-note {
  padding-top: .9rem;
  border-top: 1px solid var(--line);
  font-size: .75rem;
  color: var(--muted);
}

.age-media { position: relative; min-height: 0; background: #5e5230; }
.age-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% top; }

.script-note {
  position: fixed;
  inset: 40% var(--gutter) auto;
  color: var(--ivory);
  text-align: center;
}

.overlay {
  --overlay-padding: clamp(1.2rem, 3.4vw, 2.5rem);
  width: min(100% - 2rem, 42rem);
  max-width: none;
  max-height: calc(100dvh - 2rem);
  border-radius: 5px;
  box-shadow: 0 21px 80px rgb(0 0 0 / .24);
}

.overlay-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: .75rem;
  padding-bottom: 1.2rem;
}

.overlay h2 {
  font-size: clamp(2.35rem, 4.5vw, 4rem);
  text-wrap: pretty;
}

.close-button {
  display: inline-flex;
  align-items: center;
  min-height: 2.65rem;
  padding-inline: .7rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: none;
  color: var(--ink);
  font: 800 .67rem/1.3 var(--sans);
  letter-spacing: .09em;
  text-transform: uppercase;
}

.close-button:hover { background: var(--sand); border-color: #978978; }

.search-dialog, .commerce-dialog { padding: var(--overlay-padding); }

.search-dialog input {
  width: 100%;
  min-height: 3rem;
  padding: .65rem .8rem;
  border: 1px solid #988977;
  border-radius: 3px;
  color: var(--ink);
  background: var(--ivory);
}

.search-dialog input::placeholder { color: #6b6558; }
.search-results { display: grid; gap: 0; margin: .6rem 0 0; padding: 0; list-style: none; }
.search-results li + li { border-top: 1px solid var(--line); }

.search-results :is(a, button) {
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .15rem .85rem;
  min-height: 2.85rem;
  padding: .55rem .45rem;
  border: 0;
  background: none;
  color: var(--ink);
  text-align: left;
}

.search-results :is(a, button):hover { background: var(--sand); }
.search-results span { font-weight: 800; }
.search-results small { color: var(--muted); }
.search-empty:not(:empty) { margin-top: .65rem; color: var(--muted); }

.product-dialog { width: min(100% - 2rem, 49rem); }
.product-dialog-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); }

.detail-media {
  position: relative;
  min-height: 20rem;
  background: #6b542a;
}

.detail-media img { height: 100%; object-fit: cover; }
.detail-copy { padding: var(--overlay-padding); }
.detail-copy form { margin-bottom: 1.45rem; text-align: right; }
.detail-copy h2 { margin-block: .25rem .8rem; }
.detail-copy p:not(.eyebrow) { margin-bottom: 1.25rem; color: var(--muted); }

.commerce-dialog {
  inset: 0 0 0 auto;
  width: min(100%, 33rem);
  max-height: 100dvh;
  max-width: 100%;
  height: 100dvh;
  margin: 0;
  border-radius: 0;
  padding-top: max(var(--overlay-padding), env(safe-area-inset-top));
}

.commerce-dialog[open] { animation-name: drawer-in; }

@keyframes drawer-in {
  from { opacity: 0; transform: translateX(1rem); }
  to { opacity: 1; transform: none; }
}

.commerce-tabs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: .25rem;
  padding: .25rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--sand);
}

.commerce-tabs button {
  min-height: 2.75rem;
  padding: .5rem .3rem;
  border: 0;
  border-radius: 2px;
  color: var(--ink);
  background: transparent;
  font: 800 .7rem/1.3 var(--sans);
  letter-spacing: .085em;
  text-transform: uppercase;
}

.commerce-tabs button[aria-selected="true"] { color: var(--ivory); background: var(--forest); }
.commerce-tabs button[aria-selected="false"]:hover { background: #e4d7c1; }
.commerce-panel { margin-block-start: 1.3rem; padding: 1.15rem; border: 1px solid var(--line); }
.commerce-panel h3 { font-size: clamp(1.95rem, 3.25vw, 2.8rem); }
.commerce-panel .eyebrow { margin-bottom: .3rem; }
.commerce-panel p:not(.eyebrow) { margin-top: .5rem; color: var(--muted); }
.commerce-panel .button { margin-top: 1rem; }
.commerce-place { display: flex; align-items: start; gap: 1rem; }

.place-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  color: var(--accent);
  background: var(--sand);
  border-radius: 50%;
}

@media (max-width: 63em) {
  :root { --header-height: 4.35rem; }
  .header-inner { display: flex; justify-content: space-between; gap: .5rem; }
  .header-shop, .header-locate, .site-menu:not([data-open]) { display: none; }
  .header-actions { gap: .3rem; }

  .menu-toggle { display: grid; place-content: center; gap: .28rem; }
  .menu-toggle span { width: 1.3rem; height: 1px; background: currentColor; }

  .site-menu {
    position: absolute;
    top: calc(100% + .5rem);
    right: max(1rem, env(safe-area-inset-right));
    display: grid;
    gap: 0;
    width: min(calc(100% - 2rem), 19rem);
    padding: .45rem 1.2rem;
    border: 1px solid #9b8051;
    border-radius: 4px;
    background: rgb(17 36 26 / .96);
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 25px rgb(0 0 0 / .24);
  }

  .site-menu :is(a, button) {
    display: block;
    min-height: 2.75rem;
    padding: .85rem 0;
    color: var(--ivory);
    text-align: left;
  }

  .site-menu :is(a, button) + :is(a, button) { border-top: 1px solid #465649; }
  .site-menu :is(a, button):hover { color: var(--gold); }
  .hero { min-height: clamp(28rem, 62vw, 39rem); }
  .hero h1 { font-size: clamp(3.2rem, 6.55vw, 4.55rem); }
  .hero-intro { max-width: 19rem; }
  .hero-picture img { object-position: 100% center; }
  .hero::after { background: linear-gradient(90deg, rgb(8 18 11 / .94), rgb(8 18 11 / .68) 32%, rgb(8 18 11 / .19) 59%, transparent 78%); }
}

@media (max-width: 47em) {
  :root { --header-height: 3.95rem; }
  .brand img { width: 6.2rem; }
  .hero { display: flex; flex-direction: column; min-height: 0; align-items: stretch; }
  .hero::after { content: none; }
  .hero-inner { padding-block: 2.65rem 1.85rem; }
  .hero h1 { font-size: clamp(3.65rem, 10vw, 5.4rem); }
  .hero-intro { max-width: 24rem; }
  .hero-picture {
    position: relative;
    inset: auto;
    order: 1;
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .hero-picture img { position: absolute; inset: 0; object-position: center; }
  .hero-copy { text-align: left; }
  .section-heading { display: block; padding-bottom: 1rem; }
  .section-heading p { margin-top: .65rem; }
  .cocktail { grid-template-columns: minmax(0, 28rem); gap: 1.8rem; }
  .cocktail-media { order: 1; }
  .story { grid-template-columns: minmax(0, 1fr); gap: 1.35rem; }
  .story-media { justify-self: start; }

  .age-dialog { width: min(100% - 1.5rem, 28rem); max-height: calc(100dvh - 1.5rem); }
  .age-layout { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .age-content { padding: 1.25rem 1.4rem; gap: 1.35rem; }
  .age-content h2 { max-width: 12ch; }
  .age-content h2 + p { margin-block: .7rem .8rem; }
  .age-media { grid-row: 1; height: clamp(7rem, 24dvh, 11.25rem); }
  .age-media img { object-position: 50% 72%; }
  .age-note { padding-top: .65rem; }
}

@media (max-width: 40em) {
  .product-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .product h3 { font-size: clamp(2.8rem, 8vw, 3.65rem); }
  .product [data-tasting] { max-width: 35ch; }
  .product-copy { padding-top: .8rem; }
  .product .button { margin-top: 0; }

  .product-dialog-layout { grid-template-columns: minmax(0, 1fr); }
  .detail-media { grid-row: 2; min-height: 0; }
  .detail-media img { aspect-ratio: 3 / 4; }
  .detail-copy form { margin-bottom: .55rem; }
}

@media (max-width: 26em) {
  .header-inner { padding-inline: .85rem; }
  .header-actions { gap: .13rem; }
  .header-actions :is(.menu-toggle, .icon-button) { width: 2.5rem; }
  .language-switch { padding-inline: .4rem .17rem; }
  .find-band .button { padding-inline: .95rem; }
  .footer-main, .footer-lower { row-gap: .35rem; }
}

@media (max-height: 29em) and (max-width: 47em) {
  .age-media { display: none; }
  .age-content { gap: 1rem; }
}

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