/* Self-hosted fonts: no third-party requests, no visitor IP sent to Google. */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/jost-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/jost-300-latin.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: 400;
  font-display: swap;
  src: url('assets/fonts/jost-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/jost-400-latin.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: 500;
  font-display: swap;
  src: url('assets/fonts/jost-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/jost-500-latin.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: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/marcellus-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/marcellus-400-latin.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;
}

/* ==========================================================================
   Celtic Bay Vodka — core stylesheet
   Palette: Atlantic ink / deep navy / bay blue / sea glass / sand / shell
   ========================================================================== */

:root {
  /* --- Brand palette --- */
  --ink:        #05101c;
  --ink-deep:   #030a12;
  --navy-900:   #071526;
  --navy-800:   #0b2036;
  --navy-700:   #113050;
  --bay:        #1d5c8f;
  --bay-light:  #3f86bd;
  --bay-pale:   #7ea9cc;
  --seaglass:   #7fc3bd;
  --seaglass-d: #4e9a95;
  --sand:       #e3d6bf;
  --sand-deep:  #c9b795;
  --shell:      #f4efe6;
  --shell-warm: #ebe3d6;
  --white:      #ffffff;
  --mist:       #a9c0d2;

  /* --- Semantic tokens (redefined per panel) --- */
  --surface:    var(--ink);
  --fg:         var(--shell);
  --fg-soft:    var(--mist);
  --fg-faint:   #6f8ba3;
  --line:       rgba(169, 192, 210, 0.18);
  --accent:     var(--seaglass);

  /* --- Type --- */
  --font-display: "Marcellus", "Hoefler Text", Georgia, "Times New Roman", serif;
  --font-body: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* --- Metrics --- */
  --wrap: 1180px;
  --wrap-narrow: 820px;
  --gutter: 24px;
  --band: clamp(72px, 10vw, 132px);
}

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

/* The hidden attribute must beat any display rule we set on a component
   (.age-gate is a grid, .recipe is a flex column, and both get toggled). */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--white); }

:focus-visible {
  outline: 2px solid var(--seaglass);
  outline-offset: 3px;
  border-radius: 1px;
}

/* WCAG 2.4.1 Bypass Blocks. Off-screen until focused, so sighted keyboard users
   can jump the header and nav instead of tabbing through them on every page. */
.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 200;
  display: inline-block;
  padding: .7rem 1.1rem;
  background: var(--seaglass);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transform: translateY(-5rem);
  transition: transform .18s ease;
}
.skip-link:focus { transform: translateY(0); }

/* Fine film grain over the whole page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: .16;
  mix-blend-mode: overlay;
  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='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* Phones and tablets: no grain, no frosted-glass header.
   A fixed full-screen layer with mix-blend-mode forces the browser to re-blend
   the entire page on every scroll frame, and the header's backdrop blur adds a
   second full-width effect on top. On iPhone Safari a long page can run out of
   graphics memory doing this, and photos then paint late or show as blank
   areas. The grain is barely visible on a small screen anyway. */
@media (max-width: 880px), (hover: none) {
  body::after { content: none; }
  .site-header {
    background: rgba(5, 16, 28, 0.96);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* ---------- Layout primitives ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-narrow { max-width: var(--wrap-narrow); }

.band {
  position: relative;
  padding-block: var(--band);
  background: var(--surface);
  color: var(--fg);
}

/* Panel themes — every colour comes from the token set of its own surface */
.panel-ink   { --surface: var(--ink);      --fg: var(--shell); --fg-soft: var(--mist);    --fg-faint: #6f8ba3; --line: rgba(169,192,210,.18); --accent: var(--seaglass); }
.panel-navy  { --surface: var(--navy-800); --fg: var(--shell); --fg-soft: #b6cbdc;        --fg-faint: #7e9bb3; --line: rgba(186,208,224,.22); --accent: var(--seaglass); }
.panel-shell { --surface: var(--shell);    --fg: var(--ink);   --fg-soft: #4a5a6b;        --fg-faint: #5c6773; --line: rgba(11,32,54,.16);    --accent: var(--bay); }
.panel-sand  { --surface: var(--shell-warm); --fg: var(--ink); --fg-soft: #4a5a6b;        --fg-faint: #55606b; --line: rgba(11,32,54,.16);    --accent: var(--bay); }

/* Visually hidden but available to screen readers and the document outline. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.005em;
  text-wrap: balance;
  margin: 0;
}

h1 { font-size: clamp(2.7rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); }
h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); }

p { margin: 0 0 1.15em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-right: .7rem;
  opacity: .8;
}

.lede {
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.68;
  color: var(--fg-soft);
  font-weight: 300;
}

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 + p { margin-top: 1.1rem; }

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .92rem 1.7rem;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color .28s ease, color .28s ease, border-color .28s ease, transform .28s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--seaglass);
  color: var(--ink);
  border-color: var(--seaglass);
}
.btn-primary:hover { background: var(--white); border-color: var(--white); color: var(--ink); }

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.link-arrow span { transition: transform .28s ease; }
.link-arrow:hover span { transform: translateX(5px); }

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

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgba(5, 16, 28, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(169, 192, 210, 0.14);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 88px;
}

.logo { display: flex; align-items: center; }
.logo-img {
  height: clamp(40px, 4.4vw, 52px);
  width: auto;
  display: block;
  transition: opacity .25s ease;
}
.logo:hover .logo-img { opacity: .78; }
.logo-lg .logo-img { height: clamp(56px, 9vw, 74px); }
.site-footer .logo-img { height: 54px; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  position: relative;
  font-size: .76rem;
  font-weight: 400;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--shell);
  padding-block: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--seaglass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav-links a:hover { color: var(--seaglass); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--seaglass); }
.nav-links .btn { color: var(--ink); }
.nav-links .btn::after { display: none; }
.nav-links .btn:hover { color: var(--ink); }
/* The CTA is the Contact page's nav entry, so it also carries aria-current.
   Without this it would inherit the sea-glass active colour and render
   sea-glass text on a sea-glass button. */
.nav-links .btn[aria-current="page"] { color: var(--ink); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(169, 192, 210, 0.3);
  border-radius: 2px;
  color: var(--shell);
  font-family: var(--font-body);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .6rem 1rem;
  cursor: pointer;
}

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

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(127, 195, 189, 0.20) 0%, transparent 55%),
    radial-gradient(90% 70% at 12% 100%, rgba(29, 92, 143, 0.42) 0%, transparent 60%),
    linear-gradient(180deg, #030a12 0%, #071a2e 42%, #0d3355 78%, #14456d 100%);
  color: var(--shell);
  padding-block: clamp(70px, 9vw, 120px) clamp(90px, 11vw, 150px);
}

/* Optional photograph: set style="--hero-image:url('assets/img/your-photo.jpg')" */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image, none);
  background-size: cover;
  background-position: center;
  opacity: .34;
  mix-blend-mode: luminosity;
}

/* Horizon light */
.hero::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(227, 214, 191, .45), rgba(127, 195, 189, .55), transparent);
  filter: blur(0.4px);
}

.hero .wrap { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}

.hero h1 { margin-bottom: 1.4rem; }
.hero h1 em {
  display: block;
  font-style: normal;
  color: var(--seaglass);
}
.hero .lede { color: #cfe0ec; max-width: 46ch; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(169, 192, 210, .22);
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bay-pale);
}

.hero-art { display: flex; justify-content: center; }
.bottle {
  /* The bottle artwork is 120:380, so size it by height and let width follow. */
  height: clamp(300px, 48vw, 520px);
  width: auto;
  filter: drop-shadow(0 30px 50px rgba(3, 10, 18, .6));
}

/* Wave divider */
.wave { display: block; width: 100%; height: clamp(40px, 6vw, 80px); }
.wave path { fill: var(--surface, var(--ink)); }
.wave-flip { transform: scaleY(-1); }

/* ---------- Photography ---------- */

/* Portrait photograph in the hero column, framed rather than cut out. */
.hero-photo {
  width: 100%;
  max-width: 400px;
  /* height:auto is required — the img's height attribute is a presentational
     hint that would otherwise win and defeat aspect-ratio. */
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid rgba(227, 214, 191, .22);
  box-shadow: 0 34px 60px rgba(3, 10, 18, .55);
}

/* A photograph filling a .split-media block, replacing its gradient. */
/* Solid brand navy while the photo downloads, so a slow connection shows a
   deliberate frame rather than an empty hole in the page. */
.split-media.has-photo { background: var(--navy-800); }
.split-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-media .caption { z-index: 3; }

/* Studio bottle shot: the photograph sets the frame instead of being fitted
   into the 4:5 box used for the cropped lifestyle shots. Forcing it to 4:5
   either clipped the base (cover) or left pale bands down both sides (contain),
   because the shot is 2:3. Dropping the ratio makes the frame exactly the
   photo, whatever ratio a replacement happens to be. */
.split-media.is-bottle {
  aspect-ratio: auto;
  background: none;
  border: 1px solid rgba(11, 32, 54, .12);
}
.split-media.is-bottle img {
  position: static;
  width: 100%;
  height: auto;
  object-fit: fill;
}
.split-media.is-bottle::after { background: none; }
.split-media.is-bottle .caption { color: #4a5a6b; }

/* Studio bottle shot — its own pale ground, so it sits on a light plinth. */
.product-visual.is-photo {
  background: linear-gradient(180deg, #ffffff, #efeae1);
  padding: 0;
}
.product-visual.is-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.figure-band {
  display: grid;
  /* min(Npx, 100%) rather than a bare Npx: a bare minimum cannot shrink below
     itself, so every auto-fit grid on the site overflowed a 320px viewport by
     a few pixels (WCAG 1.4.10 Reflow). Same pattern on each grid below. */
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.figure-band img {
  width: 100%;
  /* height:auto so aspect-ratio wins over the img's height attribute, which is
     a presentational hint. The frame matches the photographs' own 2:3, so
     nothing is cropped; cover only guards a future replacement of another
     ratio. At 3:4 this was clipping the top and base off the bottle. */
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid var(--line);
  background: var(--navy-800);   /* placeholder while the photo downloads */
}

/* ---------- Pillars ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
/* The 1px gaps show the container's line colour, so a part-filled final row
   renders as a grey block. Four-item grids therefore step 1 -> 2 -> 4 columns,
   never 3, so every row is always full. Keep this in sync with the item count. */
.pillars--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1080px) {
  .pillars--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 559px) {
  .pillars--four { grid-template-columns: minmax(0, 1fr); }
}

.pillar {
  background: var(--surface);
  padding: clamp(28px, 3.4vw, 42px) clamp(22px, 2.6vw, 34px);
}
.pillar-num {
  font-family: var(--font-body);
  font-size: .68rem;
  letter-spacing: .24em;
  color: var(--accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 1.1rem;
}
.pillar h3 { margin-bottom: .7rem; }
.pillar p { color: var(--fg-soft); font-size: .96rem; margin: 0; }

/* ---------- Split feature ---------- */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
}
.split-media {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 100%;
  border-radius: 2px;
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(127,195,189,.22), transparent 60%),
    linear-gradient(200deg, #0d2c48 0%, #17517f 48%, #2d7396 72%, #6fa9ae 100%);
  background-image: var(--media-image, none),
    radial-gradient(90% 70% at 50% 0%, rgba(127,195,189,.22), transparent 60%),
    linear-gradient(200deg, #0d2c48 0%, #17517f 48%, #2d7396 72%, #6fa9ae 100%);
  background-size: cover;
  background-position: center;
}
.split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(3, 10, 18, .55) 100%);
}
.split-media .caption {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 2;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--shell);
  margin: 0;
}

/* ---------- Stat strip ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
  gap: clamp(22px, 3vw, 40px);
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  display: block;
  margin-top: .7rem;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

/* ---------- Product cards ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
  gap: clamp(20px, 2.6vw, 34px);
}

.product {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(17, 48, 80, .35), rgba(5, 16, 28, .1));
  transition: border-color .3s ease, transform .3s ease;
}
.product:hover { border-color: var(--accent); transform: translateY(-3px); }

.product-visual {
  display: grid;
  place-items: center;
  padding: clamp(26px, 3vw, 44px) 20px;
  background:
    radial-gradient(70% 60% at 50% 20%, rgba(127, 195, 189, .16), transparent 70%),
    linear-gradient(180deg, #071a2e, #0f3a5e);
}
.product-visual .bottle { height: clamp(220px, 24vw, 290px); width: auto; }

.product-body { padding: clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column; gap: .9rem; flex: 1; }
.product-body h3 { margin: 0; }
.product-abv {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}
.product-body p { color: var(--fg-soft); font-size: .95rem; margin: 0; }

.notes { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.notes li {
  display: flex;
  gap: .7rem;
  font-size: .88rem;
  color: var(--fg-soft);
  padding-top: .45rem;
  border-top: 1px solid var(--line);
}
.notes strong {
  flex: none;
  width: 78px;
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-faint);
  padding-top: .18rem;
}

/* ---------- Process steps ---------- */

.steps { display: grid; gap: 0; counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 40px);
  padding-block: clamp(26px, 3vw, 38px);
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step-index {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}
.step h3 { margin-bottom: .55rem; }
.step p { color: var(--fg-soft); margin: 0; }

/* ---------- Recipes ---------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(30px, 4vw, 46px);
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fg-soft);
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .55rem 1.15rem;
  cursor: pointer;
  transition: border-color .25s ease, color .25s ease, background-color .25s ease;
}
.filter-btn:hover { color: var(--fg); border-color: var(--accent); }
/* White, not ink: the accent is bay blue on light panels, where ink text
   measured 2.72:1. White on bay is 7.05:1 and still reads as "selected". */
.filter-btn[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}
.panel-ink .filter-btn[aria-pressed="true"],
.panel-navy .filter-btn[aria-pressed="true"] { color: var(--ink); }

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: clamp(20px, 2.4vw, 30px);
}

.recipe {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color .3s ease, transform .3s ease;
}
.recipe:hover { border-color: var(--accent); transform: translateY(-3px); }

.recipe-swatch {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: flex-end;
  padding: 16px 20px;
  overflow: hidden;
  background: var(--navy-800);
}
.recipe-swatch img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.recipe:hover .recipe-swatch img { transform: scale(1.04); }
/* Scrim so the serve label stays legible over any photograph, light or dark. */
.recipe-swatch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(3, 10, 18, .78) 100%);
}
.recipe-swatch span {
  position: relative;
  z-index: 2;
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .9);
}
.recipe-body { padding: clamp(20px, 2.2vw, 26px); display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.recipe-body h3 { margin: 0; }
.recipe-body > p { color: var(--fg-soft); font-size: .93rem; margin: 0; }

.ingredients { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.ingredients li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .89rem;
  color: var(--fg-soft);
  padding-bottom: .4rem;
  border-bottom: 1px dotted var(--line);
}
.ingredients li span:last-child {
  flex: none;
  color: var(--fg-faint);
  font-variant-numeric: tabular-nums;
  font-size: .82rem;
  letter-spacing: .04em;
}

.method {
  margin: 0;
  padding-left: 1.15rem;
  font-size: .89rem;
  color: var(--fg-soft);
  display: grid;
  gap: .4rem;
}
.method li::marker { color: var(--accent); font-size: .8rem; }

.recipe-foot {
  margin-top: auto;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-faint);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: clamp(34px, 5vw, 70px);
  align-items: start;
}

/* minmax(0,1fr): an auto track is floored by min-content, and a <select> is as
   wide as its longest option, which pushes the fields past their container. */
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.field { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; }
.field label {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(255, 255, 255, .04);
  /* Not var(--line): that token is ~1.4:1 against its surface, which is fine for
     a decorative rule but fails WCAG 1.4.11 for the visible boundary of a form
     control. --field-line is set per panel below and clears 3:1. */
  border: 1px solid var(--field-line, rgba(169, 192, 210, .55));
  border-radius: 2px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: .97rem;
  font-weight: 300;
  padding: .85rem 1rem;
  transition: border-color .25s ease, background-color .25s ease;
}
.panel-shell .field input,
.panel-shell .field select,
.panel-shell .field textarea,
.panel-sand .field input,
.panel-sand .field select,
.panel-sand .field textarea { background: rgba(255, 255, 255, .7); }

/* Control-boundary colours, each >= 3:1 against its own panel surface. */
.panel-ink,  .panel-navy { --field-line: rgba(169, 192, 210, .55); }
.panel-shell, .panel-sand { --field-line: rgba(11, 32, 54, .55); }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--accent); outline: none; }

/* The rule above removes the outline, which would leave keyboard users with
   only a 1px colour change. Put the ring back for keyboard focus. */
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.field select { appearance: none; background-image: none; cursor: pointer; }

.form-note { font-size: .82rem; color: var(--fg-faint); margin: 0; }

.check {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin: .2rem 0 .4rem;
  font-size: .9rem;
  line-height: 1.5;
  color: var(--fg-soft);
  cursor: pointer;
}
.check input {
  width: 17px; height: 17px;
  margin-top: .22rem;
  flex: none;
  accent-color: var(--accent);
  cursor: pointer;
}

/* Netlify honeypot: hidden from people, visible to bots that fill everything. */
.hp { position: absolute; left: -5000px; }

.deck-form {
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: clamp(22px, 3vw, 32px);
  background: rgba(255, 255, 255, .04);
}
.deck-form .btn { width: 100%; justify-content: center; }
.optional { color: var(--fg-faint); font-size: .92em; letter-spacing: .08em; }

.field-error {
  margin: 0;
  font-size: .85rem;
  color: #a33a1c;
  border-left: 2px solid #a33a1c;
  padding-left: .7rem;
}
.panel-ink .field-error,
.panel-navy .field-error { color: #f0b8a4; border-left-color: #c2664a; }
.field [aria-invalid="true"] { border-color: #a33a1c; }

.form-status {
  border: 1px solid var(--accent);
  border-radius: 2px;
  padding: 1rem 1.1rem;
  font-size: .92rem;
  color: var(--fg);
  background: rgba(127, 195, 189, .1);
}

.contact-list { display: grid; gap: 1.6rem; margin: 0; }
.contact-list dt {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: .35rem;
}
.contact-list dd { margin: 0; color: var(--fg-soft); }
.contact-list dd a { color: var(--accent); }
.contact-note {
  display: block;
  margin-top: .45rem;
  font-size: .84rem;
  line-height: 1.55;
  color: var(--fg-faint);
}

/* ---------- Quote ---------- */

.quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.1vw, 2.35rem);
  line-height: 1.34;
  color: var(--fg);
  max-width: 24ch;
  margin: 0;
  text-wrap: balance;
}
.quote-attrib {
  display: block;
  margin-top: 1.6rem;
  font-family: var(--font-body);
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

/* ---------- CTA band ---------- */

.cta {
  text-align: center;
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(127, 195, 189, .16), transparent 62%),
    linear-gradient(180deg, #071526, #0d3355);
}
.cta .wrap { display: grid; justify-items: center; gap: 1.2rem; }
.cta p { margin: 0; }

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

.site-footer {
  background: var(--ink-deep);
  color: var(--mist);
  padding-block: clamp(50px, 6vw, 76px) 34px;
  border-top: 1px solid rgba(169, 192, 210, .14);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: clamp(30px, 4vw, 56px);
  padding-bottom: clamp(34px, 4vw, 50px);
}
.footer-grid h3 {
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bay-pale);
  margin: 0 0 1.1rem;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.footer-links a { color: var(--mist); font-size: .92rem; }
.footer-links a:hover { color: var(--seaglass); }

/* The postal address is an <address>, not a list item: it is not a link and
   does not belong in a list of them. It sits under the Contact column's two
   links with a rule between, so the block reads as one contact group. */
.footer-address {
  font-style: normal;
  color: var(--mist);
  font-size: .92rem;
  line-height: 1.55;
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(169, 192, 210, .14);
}

.footer-blurb { font-size: .93rem; color: #9ab0c2; max-width: 38ch; }
.footer-blurb .logo { margin-bottom: 1.2rem; }

/* Social links sit with the brand blurb rather than under a "Follow" heading
   that also had the email, phone and postal address beneath it. */
.footer-social {
  list-style: none;
  margin: 1.3rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}
.footer-social a {
  color: var(--mist);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer-social a:hover { color: var(--seaglass); }

.footer-bottom {
  border-top: 1px solid rgba(169, 192, 210, .14);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 28px;
  font-size: .76rem;
  color: #7792a6;
}
.footer-bottom p { margin: 0; max-width: none; }
.drink-aware {
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .7rem;
  color: var(--sand-deep);
}

/* ---------- Legal pages ---------- */

.hero-legal { padding-block: clamp(56px, 7vw, 92px) clamp(64px, 8vw, 104px); }

.legal { max-width: 68ch; }
.legal h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  margin-top: 2.6rem;
  margin-bottom: .8rem;
}
.legal h3 {
  font-size: 1.1rem;
  margin-top: 1.7rem;
  margin-bottom: .5rem;
}
.legal p { margin-bottom: 1.1rem; }
.legal code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .88em;
  background: rgba(11, 32, 54, .07);
  padding: .1em .4em;
  border-radius: 2px;
}
.legal-summary {
  border-left: 2px solid var(--accent);
  padding: .2rem 0 .2rem 1.1rem;
  margin-bottom: 2.2rem;
}
.legal-note {
  border: 1px dashed rgba(11, 32, 54, .3);
  border-radius: 2px;
  padding: 1rem 1.1rem;
  font-size: .93rem;
  color: var(--fg-soft);
  background: rgba(201, 183, 149, .16);
}

/* ---------- Age gate ---------- */

/* Visible by default, so the site fails closed when scripting is off.
   The inline head script adds .age-ok before first paint for return visitors. */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  /* Flex with margin:auto on the card, not grid centring: a percentage width
     inside an auto-sized grid track resolves against the card's own 460px and
     overflows a narrow phone. It also never clips a tall card's top. */
  display: flex;
  overflow-y: auto;
  padding: var(--gutter);
  padding-block: max(var(--gutter), env(safe-area-inset-top, 0px)) max(var(--gutter), env(safe-area-inset-bottom, 0px));
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(29, 92, 143, .5), transparent 60%),
    rgba(3, 10, 18, .97);
  /* No backdrop blur: at 97% opacity it was invisible, and a full-screen
     blur is one of the most expensive things a phone can be asked to paint. */
}
html.age-ok .age-gate { display: none; }
html:not(.age-ok) body { overflow: hidden; }

.age-card {
  margin: auto;
  width: 460px;
  max-width: 100%;
  text-align: center;
  border: 1px solid rgba(169, 192, 210, .22);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(11, 32, 54, .92), rgba(5, 16, 28, .92));
  padding: clamp(28px, 5vw, 44px) clamp(22px, 4vw, 38px);
}
.age-card .logo { justify-content: center; margin-bottom: 1.6rem; }
.age-card h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); margin-bottom: .8rem; }

.age-intro {
  color: var(--mist);
  font-size: .93rem;
  margin: 0 auto;
  max-width: 34ch;
}

.age-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; margin-top: 1.9rem; text-align: left; }

.age-field { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; }
.age-field label,
.age-dob legend {
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #7e9bb3;
  padding: 0;
}

.age-field select {
  width: 100%;
  appearance: none;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(169, 192, 210, .55);
  border-radius: 2px;
  color: var(--shell);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 300;
  padding: .8rem 1rem;
  cursor: pointer;
  transition: border-color .25s ease;
}
.age-field select:focus { border-color: var(--seaglass); outline: none; }

.age-dob { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; }
.age-dob-row { display: flex; align-items: center; gap: .5rem; }
.age-dob-row input {
  flex: 1 1 0;
  min-width: 0;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(169, 192, 210, .55);
  border-radius: 2px;
  color: var(--shell);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: .12em;
  text-align: center;
  font-variant-numeric: tabular-nums;
  padding: .8rem .5rem;
  transition: border-color .25s ease;
}
.age-dob-row input:focus { border-color: var(--seaglass); outline: none; }

/* Both rules above set outline:none; re-assert the ring for keyboard focus,
   after them in source order so it actually applies. */
.age-field select:focus-visible,
.age-dob-row input:focus-visible {
  outline: 2px solid var(--seaglass);
  outline-offset: 2px;
}

.age-dob-row input::placeholder { color: #8396a6; letter-spacing: .16em; }
.age-sep { color: #8396a6; flex: none; }

.age-error {
  margin: 0;
  font-size: .86rem;
  color: #f0b8a4;
  border-left: 2px solid #c2664a;
  padding-left: .8rem;
}

.age-remember {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .84rem;
  color: var(--mist);
  cursor: pointer;
}
.age-remember input { width: 16px; height: 16px; accent-color: var(--seaglass); flex: none; cursor: pointer; }

.age-form .btn { width: 100%; justify-content: center; }

.age-legal {
  margin: 1.6rem auto 0;
  font-size: .76rem;
  line-height: 1.6;
  color: #8199ab;
  max-width: 38ch;
}

#age-denied h2 { color: var(--sand); }

/* ---------- Motion ---------- */

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

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

@media (max-width: 880px) {
  .nav-toggle { display: inline-block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(5, 16, 28, .98);
    border-bottom: 1px solid rgba(169, 192, 210, .16);
    padding: 10px var(--gutter) 24px;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: .95rem 0;
    border-bottom: 1px solid rgba(169, 192, 210, .12);
  }
  .nav-links a::after { display: none; }
  .nav-links .btn { margin-top: 18px; justify-content: center; border-bottom: 0; }
  .site-header .wrap { position: relative; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .bottle { height: clamp(260px, 52vw, 380px); width: auto; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .step { grid-template-columns: 1fr; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .btn-row .btn { width: auto; flex: 1 1 auto; }
}
