/* AOKTAC demo, round 2. World: a bright bottling hall. Hall-white ground, Aoktac blue for action,
   navy ink, steel hairlines, oven amber only in the Heat chapter. Inter for the voice,
   Instrument Serif italic for editorial accents. */
/* --tb: how much of a full-height (100lvh) stage the mobile browser toolbar can cover; 0 on desktop.
   Bottom-anchored captions add it so they stay clear of the toolbar. */
:root { --tb: 0px; }
@supports (height: 1lvh) { :root { --tb: calc(100lvh - 100svh); } }
:root {
  --hall: #F3F6F8;
  --panel: #FFFFFF;
  --ink: #0B1E33;
  --ink-2: #44566A;
  --steel: #C7D0D8;
  --steel-2: #E2E8ED;
  --steel-strong: #7D8B99;
  --blue: #004A91;
  --blue-deep: #00346A;
  --blue-wash: #E3EDF7;
  --amber: #F28A2E;
  --amber-ink: #A8490A;
  --error: #B3261E;
  --pet: #9FD0F2;
  --on-ink: #FFFFFF;
  --on-ink-2: #C9D6E2;
  --on-ink-accent: #CFE6F7;
  --placeholder: #66778A;
  --selection: #CCDDEE;
  --fog: #DDE3E8;
  --on-ink-muted: #DCE6EF;

  --f-sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --bar-h: 64px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--bar-h); overflow-anchor: none; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--hall); color: var(--ink);
  font-family: var(--f-sans); font-size: 1.0625rem; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-deep); }
::selection { background: var(--selection); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
html { scrollbar-color: var(--steel) var(--hall); scrollbar-width: thin; }

h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.02; text-wrap: balance; letter-spacing: -0.035em; }
h1 em, h2 em, h3 em, p em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
p { margin: 0; }
.nowrap { white-space: nowrap; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 14px; border-radius: 2px; }
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: inherit; font-weight: 500; font-size: .9375rem; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; border: 0; border-radius: 2px;
  padding: .85rem 1.25rem; min-height: 44px; line-height: 1.1;
  transition: background-color .2s ease, transform .2s var(--ease-out);
}
.btn--plate { background: var(--blue); color: #fff; }
.btn--plate:hover, a.btn--plate:hover { background: var(--blue-deep); color: #fff; }
.btn--plate:active { transform: translateY(1px); }
.btn--small { padding: .55rem .95rem; min-height: 40px; }

/* Top bar */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: calc(var(--bar-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--gutter) 0;
  display: flex; align-items: center; gap: 2rem;
  background: var(--hall); border-bottom: 1px solid var(--steel);
}
/* Logo keeps its size; the link around it gets a 44px-tall tap area */
.bar__brand { display: inline-flex; align-items: center; min-height: 44px; }
.bar__brand img { height: 24px; width: auto; }
.bar__nav { display: flex; gap: 1.7rem; margin-left: auto; }
.bar__nav a, .bar__lang { color: var(--ink); text-decoration: none; font-size: .9375rem; }
.bar__nav a:hover, .bar__lang:hover { color: var(--blue); }
.bar__end { display: flex; align-items: center; gap: 1.25rem; }
.bar__lang { padding: .3rem .1rem; }
.bar__quote { display: none; }
.bar__nav .bar__quote:hover { color: #fff; }
.bar__menu { display: none; font: inherit; font-size: .9375rem; color: var(--ink); background: var(--panel); border: 1px solid var(--steel-strong); border-radius: 2px; padding: .5rem .9rem; min-height: 44px; cursor: pointer; }
.bar__menu[aria-expanded="true"] { border-color: var(--blue); color: var(--blue); }

/* ---------- 1. Hero and process film ---------- */
.film { position: relative; height: 760vh; background: var(--hall); }
.film__stage { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
.film__media { position: absolute; inset: 0; background: var(--hall); }
.film__still, .film__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--ox, 50%) 50%; }
.film__still { opacity: 0; transition: opacity .35s ease; }
.film__still.is-on { opacity: 1; }
.film__video { opacity: 0; transition: opacity .4s ease; }
.film__video.is-ready { opacity: 1; }
/* Image-sequence version of the film (Safari, phones, tablets), cover-fit by app.js */
.film__frames, .fac__frames { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .4s ease; }
.film__frames.is-ready, .fac__frames.is-ready { opacity: 1; }
.film__heat { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 120%, rgba(242, 138, 46, .22), rgba(242, 138, 46, 0) 60%); opacity: 0; }
.film__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(243, 246, 248, .9) 0%, rgba(243, 246, 248, .62) 32%, rgba(243, 246, 248, 0) 56%);
  opacity: var(--wash, 1);
}
[data-cap] { will-change: opacity, transform; }

.hero {
  position: absolute; left: var(--gutter); top: calc(var(--bar-h) + clamp(32px, 11vh, 140px));
  width: min(36rem, 42vw); display: grid; gap: 1.4rem;
}
.hero__title { font-size: clamp(2.7rem, 5.2vw, 5.6rem); font-weight: 400; letter-spacing: -0.045em; line-height: .98; }
.hero__title em { display: block; font-size: 1.08em; letter-spacing: -0.02em; color: var(--blue); }
.hero__lede { font-size: clamp(1.05rem, 1.25vw, 1.2rem); color: var(--ink-2); max-width: 26rem; }

.plate {
  position: absolute; left: var(--gutter); bottom: calc(clamp(28px, 9vh, 96px) + var(--tb));
  width: min(25rem, calc(100vw - 2 * var(--gutter)));
  background: var(--panel); border: 1px solid var(--steel); border-radius: 2px;
  box-shadow: inset 0 0 0 5px var(--panel), inset 0 0 0 6px var(--steel-2), 0 10px 24px -18px rgba(11, 30, 51, .35);
  padding: 1.6rem 1.7rem 1.5rem; display: grid; gap: .8rem;
  opacity: 0; visibility: hidden;
}
.plate__title { font-family: var(--f-serif); font-style: italic; font-size: clamp(2.3rem, 3.4vw, 3.1rem); letter-spacing: -0.01em; line-height: 1; }
.plate p { color: var(--ink-2); }
.plate__spec { margin: .2rem 0 0; border-top: 1px solid var(--steel-2); }
.plate__spec div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--steel-2); font-size: .875rem; }
.plate__spec dt { color: var(--ink-2); }
.plate__spec dd { margin: 0; font-weight: 500; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.plate[data-cap="heat"] .plate__spec dd { color: var(--amber-ink); }

.film__note, .fac__note {
  position: absolute; left: var(--gutter); bottom: calc(14px + var(--tb)); z-index: 2;
  font-size: .75rem; color: var(--ink-2);
  background: rgba(255, 255, 255, .86); padding: .2rem .5rem; border-radius: 2px;
}
.film__cue {
  position: absolute; left: 50%; bottom: calc(26px + var(--tb)); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  font-size: .8125rem; color: var(--ink);
}
.film__cue-line { width: 1px; height: 44px; background: linear-gradient(var(--ink), rgba(11, 30, 51, 0)); animation: cue 2.2s var(--ease-out) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- 2. Bottle and machine showcase ---------- */
/* One screen plus half a screen per size step: each step is a single scroll gesture */
.show { position: relative; height: 300vh; background: var(--hall); border-top: 1px solid var(--steel); }
.show__stage { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
.show__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.show__grid {
  position: absolute; inset: calc(var(--bar-h) + 24px) var(--gutter) calc(84px + var(--tb));
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(16px, 3vw, 48px);
  pointer-events: none;
}
.show__bottle { margin-top: clamp(96px, 15vh, 150px); }
.show__machine {
  position: relative; border-left: 1px solid var(--steel-2); margin-bottom: clamp(260px, 36vh, 310px); overflow: hidden;
  /* Same studio sweep as the bottle viewport: bright wall, soft horizon, cooler floor */
  background: linear-gradient(180deg, #eef2f5 0%, #e9eef2 50%, #d6dee4 74%, #c9d2db 100%);
}
.show__photos { position: absolute; inset: 0; }
.show__photos::after {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: 6%; height: 8%;
  background: radial-gradient(closest-side, rgba(11, 30, 51, .2), rgba(11, 30, 51, 0));
}
/* Photos stand on one floor line; contain keeps every machine whole and unstretched */
.show__photo {
  position: absolute; left: 6%; right: 6%; top: 9%; bottom: 9%; width: 88%; height: 82%; z-index: 1;
  object-fit: contain; object-position: 50% 100%;
  opacity: 0; visibility: hidden; will-change: opacity, transform;
}
.show__photo--0 { opacity: 1; visibility: visible; }
.show__photo--2 { top: 6%; }
.show__bottle { position: relative; }
.show__fallback { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 85%; }
.show.no-webgl .show__fallback { display: block; }
.show.no-webgl .show__canvas { display: none; }

.show__head { position: absolute; left: var(--gutter); top: calc(var(--bar-h) + 28px); display: grid; gap: .6rem; max-width: 24rem; }
.show__title { font-size: clamp(2rem, 3.4vw, 3.4rem); letter-spacing: -0.04em; }
.show__title em { color: var(--blue); }
.show__lede { font-size: .9375rem; color: var(--ink-2); max-width: 22rem; }

.show__size { position: absolute; left: var(--gutter); bottom: calc(96px + var(--tb)); display: grid; gap: .2rem; pointer-events: none; }
.show__litres { font-family: var(--f-serif); font-style: italic; font-size: clamp(3.6rem, 7vw, 6.4rem); line-height: .9; letter-spacing: -0.02em; color: var(--blue); font-variant-numeric: tabular-nums; }
.show__dims { font-size: .875rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }

.show__spec {
  position: absolute; right: var(--gutter); bottom: calc(96px + var(--tb)); width: min(20rem, 40vw);
  display: grid; gap: .8rem; padding: 1.2rem 1.3rem; background: rgba(255, 255, 255, .9);
  border: 1px solid var(--steel); border-radius: 2px;
}
.show__model { font-size: 1.35rem; letter-spacing: -0.02em; font-weight: 500; }
.show__facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; border-top: 1px solid var(--steel-2); padding-top: .7rem; }
.show__facts dt { font-size: .75rem; color: var(--ink-2); }
.show__facts dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; }
.show__cta { justify-self: start; }
/* Fixed to three lines so the card, and its quote button, hold still as captions change */
.show__credit { font-size: .75rem; color: var(--ink-2); line-height: 1.45; min-height: 4.35em; }

.show__scale {
  position: absolute; left: 50%; bottom: calc(26px + var(--tb)); transform: translateX(-50%);
  list-style: none; margin: 0; display: flex; gap: .3rem;
  background: rgba(255, 255, 255, .9); border: 1px solid var(--steel); border-radius: 2px; padding: .25rem;
}
.show__scale button {
  font: inherit; font-size: .875rem; font-variant-numeric: tabular-nums; color: var(--ink-2);
  background: none; border: 0; border-radius: 2px; padding: .5rem .8rem; min-height: 40px; min-width: 3.4rem; cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.show__scale button:hover { color: var(--blue); }
.show__scale button[aria-current="step"] { background: var(--blue); color: #fff; }

/* ---------- 3. Horizontal sectors ---------- */
.hz { position: relative; background: var(--ink); color: #fff; }
.hz__stage { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
.hz__track {
  display: flex; gap: 28px; height: 100%; width: max-content;
  padding: calc(var(--bar-h) + 28px) var(--gutter) 64px;
  will-change: transform;
}
/* Every sector card has the reference proportions (900 x 1150 at full size): a fixed portrait
   shape, with the headline, inset and note sized from the card itself. The composition is then
   identical on every screen, browser and zoom level; the headline is 150px on a full-size card. */
.hz { --card-ratio: 0.783; --card-pad: 4cqw; --word: 16.67cqw; }
.hz__panel { position: relative; flex: 0 0 auto; height: 100%; aspect-ratio: var(--card-ratio); max-width: 900px; margin: 0; container-type: inline-size; }
.hz__media { position: absolute; inset: 0; overflow: hidden; border-radius: 2px; background: var(--ink-2); }

.hz__panel--intro { aspect-ratio: auto; container-type: normal; width: clamp(300px, 34vw, 560px); display: flex; flex-direction: column; justify-content: flex-end; gap: 1.2rem; padding: 0 2rem 1rem 0; overflow: visible; }
.hz__title { font-size: clamp(2.4rem, 4.4vw, 4.6rem); letter-spacing: -0.045em; }
.hz__title em { color: var(--pet); }
.hz__lede { color: var(--on-ink-2); max-width: 24rem; }
.hz__panel img {
  position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover; max-width: none;
  transform: translate3d(calc(var(--px, 0px) + var(--sx, 0px)), var(--py, 0px), 0) scale(calc(1.04 * var(--zoom, 1)));
  transition: transform .6s var(--ease-out);
}
/* Oil: 10% closer, anchored on the jerrycan handle so the handle frames the word */
.hz__panel--oil img { --zoom: 1.1; transform-origin: 22% 13%; }
.hz__panel figcaption {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(14px, var(--card-pad), 36px); border-radius: 2px;
  background: linear-gradient(180deg, rgba(11, 30, 51, .5) 0%, rgba(11, 30, 51, 0) 34%, rgba(11, 30, 51, 0) 62%, rgba(11, 30, 51, .58) 100%);
}
/* 16.67% of the card width: 150px on a full-size 900px card, set from the same inset as the note below it */
.hz__word { position: relative; z-index: 3; font-family: var(--f-sans); font-size: var(--word); font-weight: 500; letter-spacing: -0.05em; line-height: .88; margin: -.08em 0 0 -.04em; white-space: nowrap; color: var(--on-ink); text-shadow: 0 2px 30px rgba(11, 30, 51, .25); pointer-events: none; }
.hz__note { font-size: clamp(.875rem, 1.78cqw, 1rem); font-weight: 500; line-height: 1.3; max-width: 24rem; }
/* Older browsers without container units or aspect-ratio keep the previous fluid sizing */
@supports not (width: 1cqw) { .hz { --card-pad: clamp(20px, 2.2vw, 36px); --word: clamp(4.5rem, 10.42vw, 9.375rem); } .hz.is-swipe { --word: clamp(3rem, 13vw, 6.5rem); } }
@supports not (aspect-ratio: 1) { .hz__panel:not(.hz__panel--intro) { width: clamp(320px, 52vw, 900px); } .hz.is-swipe .hz__panel:not(.hz__panel--intro) { height: min(68svh, 600px); } }
.hz__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(28px + var(--tb)); height: 1px; background: rgba(255, 255, 255, .22); }
.hz__progress span { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(var(--hp, 0)); }


/* Sectors as a native swipe row: phones, portrait tablets and reduced motion */
.hz.is-swipe { height: auto !important; }
.hz.is-swipe .hz__stage { position: relative; height: auto; overflow: visible; }
.hz.is-swipe .hz__track {
  width: auto; height: auto; transform: none !important; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; padding: 72px var(--gutter) 64px; gap: 12px; scrollbar-width: none;
  scroll-padding-inline: var(--gutter);
}
.hz.is-swipe .hz__track::-webkit-scrollbar { display: none; }
/* One card per swipe: a fast flick stops at the next card instead of skipping several */
.hz.is-swipe .hz__panel { height: auto; width: min(84vw, 620px); scroll-snap-align: start; scroll-snap-stop: always; }
.hz.is-swipe .hz__stage > .hz__panel--intro { width: auto; height: auto; padding: 72px var(--gutter) 0; gap: .9rem; }
.hz.is-swipe .hz__track { padding-top: 28px; }

.hz.is-swipe .hz__progress { bottom: 30px; }

/* ---------- 4. Factory approach ---------- */
.fac { position: relative; height: 420vh; background: var(--ink); }
.fac__stage { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; color: #fff; }
.fac__media { position: absolute; inset: 0; background: var(--fog); }
.fac__poster, .fac__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fac__video { opacity: 0; transition: opacity .4s ease; }
.fac__video.is-ready { opacity: 1; }
.fac__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 30, 51, .74) 0%, rgba(11, 30, 51, .32) 38%, rgba(11, 30, 51, 0) 62%); }
.fac__beats { position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(clamp(64px, 12vh, 140px) + var(--tb)); max-width: 44rem; }
.fac__beat { position: absolute; left: 0; bottom: 0; width: 100%; opacity: 0; visibility: hidden; font-size: clamp(1.5rem, 2.6vw, 2.4rem); letter-spacing: -0.03em; line-height: 1.15; }
.fac__title { font-size: clamp(2.6rem, 5.6vw, 5.6rem); letter-spacing: -0.045em; line-height: 1; }
.fac__beat em { color: var(--on-ink-accent); }
.fac__kit { list-style: none; margin: 1.2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; font-size: .875rem; letter-spacing: 0; }
.fac__kit li { border: 1px solid rgba(255, 255, 255, .5); border-radius: 2px; padding: .35rem .65rem; }
.fac__note { background: rgba(11, 30, 51, .6); color: var(--on-ink-muted); }

/* ---------- Content sections ---------- */
.sect { padding: clamp(80px, 11vw, 150px) var(--gutter); }
.sect > * { max-width: var(--max); margin-inline: auto; }
.sect__head { display: grid; gap: 1rem; margin-bottom: clamp(36px, 5vw, 64px); }
.sect__title { font-size: clamp(2.3rem, 4.8vw, 4.6rem); letter-spacing: -0.045em; max-width: 16ch; }
.sect__title em { color: var(--blue); }
.sect__lede { color: var(--ink-2); font-size: clamp(1.05rem, 1.3vw, 1.2rem); max-width: 40rem; }

.history { border-top: 1px solid var(--steel); }
.timeline { list-style: none; margin: 0 auto; padding: 0; border-top: 1px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: 9rem minmax(0, 1fr) minmax(0, 16rem); gap: 1.5rem; align-items: baseline; padding: 1.1rem 0; border-bottom: 1px solid var(--steel); }
.timeline__year { font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-weight: 300; font-variant-numeric: tabular-nums; letter-spacing: -0.04em; line-height: 1; }
.timeline__fig { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.timeline__now .timeline__year { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--blue); }
.timeline__now .timeline__fig { color: var(--blue); font-weight: 500; }

.service { border-top: 1px solid var(--steel); background: var(--panel); }
.service__stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.stage { padding: 1.4rem clamp(16px, 2.4vw, 36px) 1.6rem; display: grid; gap: .9rem; align-content: start; }
.stage + .stage { border-left: 1px solid var(--steel); }
.stage:first-child { padding-left: 0; }
.stage h3 { font-family: var(--f-serif); font-style: italic; font-size: 1.9rem; letter-spacing: -0.01em; }
.stage ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.stage li { color: var(--ink-2); }

.contact { border-top: 1px solid var(--steel); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.quote { display: grid; gap: 1.1rem; background: var(--panel); border: 1px solid var(--steel); border-radius: 2px; padding: clamp(18px, 3vw, 36px); }
.quote__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.field { display: grid; gap: .4rem; align-content: start; }
.field label { font-weight: 500; font-size: .9375rem; }
.field__opt { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--panel);
  border: 1px solid var(--steel-strong); border-radius: 2px; padding: .7rem .8rem; min-height: 46px; width: 100%;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 74, 145, .22); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field__err { color: var(--error); font-size: .875rem; }
.quote__actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.quote__status { font-size: .9375rem; color: var(--ink-2); }
.quote__status.is-ok { color: var(--blue); font-weight: 500; }

.directory { display: grid; gap: .8rem; }
.directory h3 { font-family: var(--f-serif); font-style: italic; font-size: 1.5rem; letter-spacing: -0.01em; margin-top: .8rem; }
.directory h3:first-child { margin-top: 0; }
.people { margin: 0; border-top: 1px solid var(--steel); }
.people div { padding: .7rem 0; border-bottom: 1px solid var(--steel-2); display: grid; gap: .15rem; }
.people dt { font-weight: 500; }
.people dd { margin: 0; display: grid; gap: .1rem; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.people__line { color: var(--ink); user-select: all; }
.directory address { font-style: normal; color: var(--ink-2); font-size: .9375rem; line-height: 1.7; border-top: 1px solid var(--steel); padding-top: .7rem; }

.foot { padding: 48px var(--gutter) calc(48px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--steel); display: grid; gap: .6rem; justify-items: start; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.foot img { height: 20px; width: auto; }
.foot p { color: var(--ink-2); font-size: .9375rem; }
.foot__small { font-size: .8125rem !important; }

/* ---------- Responsive ---------- */
@media (max-height: 780px) and (min-width: 901px) {
  .show__spec { gap: .55rem; padding: .9rem 1.1rem; bottom: calc(84px + var(--tb)); }
  .show__credit { font-size: .6875rem; }
  .show__size { bottom: calc(84px + var(--tb)); }
}

@media (max-width: 1100px) {
  .bar__menu { display: inline-flex; align-items: center; }
  .bar__nav {
    display: none; position: fixed; left: 0; right: 0; top: calc(var(--bar-h) + env(safe-area-inset-top, 0px));
    flex-direction: column; gap: 0; margin: 0; padding: .5rem var(--gutter) 1rem;
    background: var(--hall); border-bottom: 1px solid var(--steel); box-shadow: 0 18px 30px -24px rgba(11, 30, 51, .5);
  }
  .bar__nav.is-open { display: flex; }
  .bar__nav a { padding: .85rem 0; border-bottom: 1px solid var(--steel-2); font-size: 1.0625rem; }
  .bar__end { margin-left: auto; }
  .show__spec { width: min(18rem, 44vw); }
}

/* Tablet portrait and phone: showcase stacks bottle over machine, sectors become a swipe row */
@media (max-width: 900px), (orientation: portrait) and (max-width: 1100px) {
  .show { height: 260vh; }   /* 40% of a screen per size on phones: one ordinary swipe */
  .show__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1.1fr) minmax(0, 1fr); inset: calc(var(--bar-h) + 176px) var(--gutter) calc(248px + var(--tb)); gap: 6px; }
  .show__bottle { margin-top: 0; }
  .show__machine { border-left: 0; border-top: 1px solid var(--steel-2); margin-bottom: 0; }
  .show__photo { left: 3%; right: 3%; top: 6%; bottom: 7%; width: 94%; height: 87%; }
  .show__photos::after { bottom: 5%; }
  .show__head { top: calc(var(--bar-h) + 16px); max-width: none; right: var(--gutter); }
  .show__title { font-size: clamp(1.9rem, 6.4vw, 2.6rem); }
  .show__lede { font-size: .8125rem; }
  .show__size { left: auto; right: var(--gutter); bottom: auto; top: calc(var(--bar-h) + 112px); text-align: right; }
  .show__litres { font-size: clamp(2.8rem, 12vw, 4.2rem); }
  .show__spec { left: var(--gutter); right: var(--gutter); width: auto; bottom: calc(74px + var(--tb)); grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: .85rem 1rem; gap: .45rem .8rem; }
  .show__model { font-size: 1rem; grid-column: 1; line-height: 1.25; }
  .show__cta { grid-column: 2; grid-row: 1; padding: .6rem .9rem; }
  .show__facts { grid-column: 1 / -1; display: flex; gap: 1.4rem; border-top: 1px solid var(--steel-2); padding-top: .5rem; }
  .show__facts div { display: flex; gap: .4rem; align-items: baseline; }
  .show__facts dd { white-space: nowrap; }
  .show__credit { grid-column: 1 / -1; font-size: .6875rem; }
  .show__scale { bottom: calc(18px + var(--tb)); left: var(--gutter); right: var(--gutter); transform: none; justify-content: space-between; }
  .show__scale button { min-width: 0; padding: .45rem .55rem; }

  .fac { height: 250vh; }   /* shorter on phones: the film moves sooner under the thumb */
  .fac__beats { bottom: calc(72px + var(--tb)); }
  .fac__beat { font-size: clamp(1.35rem, 5.4vw, 1.9rem); }
  .fac__title { font-size: clamp(2.3rem, 10vw, 3.4rem); }
}

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .service__stages { grid-template-columns: minmax(0, 1fr); }
  .stage { padding-left: 0; padding-right: 0; }
  .stage + .stage { border-left: 0; border-top: 1px solid var(--steel); }
  .timeline li { grid-template-columns: 5.5rem minmax(0, 1fr); }
  .timeline__fig { grid-column: 2; text-align: left; }
}

@media (max-width: 760px) {
  :root { --bar-h: 58px; }
  .bar { gap: 1rem; }
  .bar__brand img { height: 19px; }
  .bar__cta { display: none; }
  .bar__nav .bar__quote { display: inline-flex; margin-top: .9rem; border-bottom: 0; color: #fff; font-size: 1rem; padding: .9rem 1rem; }
  .film { height: 520vh; }
  .film__media::after { background: linear-gradient(180deg, rgba(243, 246, 248, .94) 0%, rgba(243, 246, 248, .76) 36%, rgba(243, 246, 248, 0) 54%); }
  .hero { width: auto; right: var(--gutter); top: calc(var(--bar-h) + 26px); gap: 1rem; }
  .hero__title { font-size: clamp(2.3rem, 10.4vw, 3.2rem); }
  .plate { bottom: calc(64px + var(--tb)); padding: 1.2rem 1.3rem; }
  .plate__title { font-size: 2.2rem; }
  .film__cue { display: none; }
  .quote__row { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .hz__panel img { transform: none; }
  .hz__panel--oil img { transform: scale(1.1); }
}
