/* Darulis: the page is the studio paper.
   Every photograph is an object on coloured paper under one hard light, and each sheet of this page is that paper.
   The photographs have no frame: their paper eases to the sheet colour inside the frame (assets built by
   work/s/build2.py), a low-res field carries it past their edges, and one paper-tooth tile runs over the sheet. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-sub.woff") format("woff");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  /* brand */
  --cream: #FBF8F1;
  --cobalt: #1F3A9E;
  --amber: #C46A1C;
  --char: #1E2222;
  /* the three papers: the row's lit amber paper, the brand cobalt, the cream of the crate seen from above */
  --paper-amber: #FFAA48;
  --paper-cobalt: #1F3A9E;
  --paper-cream: #F3EBE0;

  --gut: max(6vw, 16px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  background: var(--paper-amber);
  color: var(--cobalt);
  font-family: "Archivo", system-ui, sans-serif;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}
body {
  margin: 0;
  background: linear-gradient(var(--paper-amber) 50%, var(--paper-cream) 50%);
  overflow-x: clip;
}
img { display: block; max-width: none; }
h1, h2, p, figure { margin: 0; }
a { color: inherit; }

/* ---------- sheets ---------- */
.sheet { position: relative; overflow: hidden; overflow: clip; }
.sheet--amber { background: var(--paper-amber); z-index: 3; box-shadow: 0 2px 2px rgb(0 0 0 / .22), 0 10px 18px -6px rgb(0 0 0 / .32); }
.sheet--cobalt { background: var(--paper-cobalt); z-index: 2; color: var(--cream); box-shadow: 0 2px 2px rgb(0 0 0 / .18), 0 10px 18px -6px rgb(0 0 0 / .26); }
.sheet--cream { background: var(--paper-cream); z-index: 1; }
/* the paper's tooth, taken from the cobalt photograph's own paper, over the sheet and the continued paper,
   under the photographs (which carry their own) */
.sheet::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("/assets/grain.jpg") 0 0 / 640px 640px repeat;
  mix-blend-mode: overlay;
  opacity: .55;
}
.sheet--cream::after { opacity: .4; }
.sheet--amber::after { opacity: .3; }

/* ---------- plates: photograph + its continued paper ---------- */
.ground {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
}
.field {
  position: absolute;
  left: calc(var(--x) - var(--w));
  top: calc(var(--y) - var(--h));
  width: calc(var(--w) * 3);
  height: calc(var(--h) * 3);
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent);
          mask-image: radial-gradient(closest-side, #000 72%, transparent);
}
.photo {
  position: absolute;
  z-index: 1;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: var(--h);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
          mask-composite: intersect;
}
.photo img { width: 100%; height: 100%; }
img.photo { object-fit: fill; }

/* ---------- type ---------- */
.say {
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: .94;
}
.say__l { display: block; }
.what {
  display: block;
  font-size: clamp(19px, min(1.5vw, 2.6svh), 30px);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: .14em;
  line-height: 1.2;
  white-space: nowrap;
}

/* ---------- the one action ---------- */
.btn {
  --accent: 31 58 158;
  --fg: 251 248 241;
  --ring: 251 248 241;
  --lift: 0 4px 10px rgb(var(--accent) / .3);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: clamp(52px, 5.4svh, 68px);
  padding: 0 clamp(22px, 1.9vw, 36px);
  white-space: nowrap;
  border: 0;
  border-radius: 3px;
  font: inherit;
  font-size: clamp(15px, min(1.05vw, 1.75svh), 20px);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgb(var(--fg));
  cursor: pointer;
  background: linear-gradient(rgb(255 255 255 / .12), rgb(0 0 0 / .06)), rgb(var(--accent));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .45), inset 0 -1.5px 3px rgb(0 0 0 / .25), var(--lift);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn--cream {
  --accent: 251 248 241;
  --fg: 31 58 158;
  --ring: 254 162 50;
  --lift: 0 4px 10px rgb(0 0 0 / .28);
  background: linear-gradient(rgb(255 255 255 / .4), rgb(0 0 0 / .04)), rgb(var(--accent));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .9), inset 0 -1.5px 3px rgb(0 0 0 / .14), var(--lift);
}
.btn::before, .btn::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
  background: conic-gradient(from var(--spin), transparent 0 55%, rgb(var(--accent)) 72%, rgb(var(--ring)) 88%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity .2s var(--ease);
  pointer-events: none;
}
.btn::before { inset: -4px; padding: 1.5px; border-radius: 7px; }
.btn::after { inset: -34px; padding: 34px; border-radius: 40px; background-clip: content-box; filter: blur(11px); }
@media (hover: hover) {
  .btn:hover {
    transform: translateY(-3px);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .45), inset 0 -1.5px 3px rgb(0 0 0 / .25), 0 8px 14px rgb(var(--accent) / .35), 0 0 20px rgb(var(--accent) / .13);
  }
  .btn--cream:hover {
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .9), inset 0 -1.5px 3px rgb(0 0 0 / .14), 0 8px 14px rgb(0 0 0 / .3), 0 0 20px rgb(var(--accent) / .16);
  }
  .btn:hover::before { opacity: 1; }
  .btn:hover::after { opacity: .3; }
  .btn:hover::before, .btn:hover::after { animation: btn-spin 2.4s linear infinite; }
}
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible { outline: 2px solid rgb(var(--accent)); outline-offset: 6px; }
@keyframes btn-spin { to { --spin: 360deg; } }

/* =========================================================
   1. AMBER: a poster. One line across the paper, the five bottles centred under it,
      the wordmark and the action in the two corners of the floor.
   ========================================================= */
.sheet--amber {
  --ar: 1.7924;
  --F: min(9.9vw, 14svh, 200px);
  --pad: max(3.5svh, 18px);
  --top: calc(env(safe-area-inset-top, 0px) + var(--pad) + var(--F) * .92 + 1.4svh + 30px + 2.6svh);
  --bot: calc(var(--pad) + clamp(52px, 5.4svh, 68px) + 2.6svh);
  --avail: calc(100svh - var(--top) - var(--bot));
  --hb: min(var(--avail), 60vw);                 /* the bottles, cap to base: .685 of the photograph's height */
  --h: calc(var(--hb) / .685);
  --w: calc(var(--h) * var(--ar));
  --x: calc(50vw - var(--w) * .6195);           /* the row's centre sits at .6195 of the photograph's width */
  --y: calc(var(--top) + (var(--avail) - var(--hb)) / 2 - var(--h) * .196);
}
.ground--row {
  -webkit-mask-image: linear-gradient(to bottom, #000 90%, transparent);
          mask-image: linear-gradient(to bottom, #000 90%, transparent);
}
.hero {
  position: relative;
  z-index: 2;
  height: max(400px, 100vh);
  height: max(400px, 100svh);
}
.hero__say {
  position: absolute;
  left: var(--gut);
  right: var(--gut);
  top: calc(env(safe-area-inset-top, 0px) + var(--pad));
  text-align: center;
  font-size: var(--F);
  line-height: .92;
  white-space: nowrap;
}
.hero__say .what { margin-top: 1.4svh; }
.hero__base {
  position: absolute;
  left: var(--gut);
  right: var(--gut);
  bottom: calc(env(safe-area-inset-bottom, 0px) + var(--pad));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.hero__mark { width: clamp(96px, 8.5vw, 170px); height: auto; margin-bottom: 2px; }

/* 2. the fig, alone, printed on the same amber */
.figsec {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 8svh var(--gut);
}
.fig { height: min(76svh, 118vw, 880px); width: auto; }

/* =========================================================
   3. COBALT: the bottle beside the loaf
   ========================================================= */
.bread {
  --ar: .8051;
  --h: 92svh;
  --w: calc(var(--h) * var(--ar));
  --x: calc(27vw - var(--w) * .226);
  --y: 4svh;
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
}
.bread__copy {
  position: absolute;
  z-index: 2;
  left: max(52vw, calc(var(--x) + var(--w) * .66));
  right: var(--gut);
  top: 13svh;
}
.line {
  font-size: clamp(30px, min(3.5vw, 6.4svh), 76px);
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: .98;
  max-width: 11.5em;
  text-wrap: balance;
}
.small {
  font-size: clamp(15px, 1.1vw, 20px);
  font-weight: 500;
  line-height: 1.45;
  max-width: 42ch;
  margin-top: .5em;
  text-wrap: pretty;
}
.fine { margin-top: clamp(20px, 3svh, 36px); }
.fine .small:first-child { margin-top: 0; }
.vol {
  position: absolute;
  z-index: 2;
  right: var(--gut);
  bottom: 10svh;
  font-size: clamp(64px, min(7.4vw, 13svh), 170px);
  font-weight: 900;
  font-stretch: 125%;
  line-height: .8;
  letter-spacing: .01em;
}

/* =========================================================
   4. COBALT: the crate across the sheet, its number printed on the paper above it,
      the verdict and the action in the corners of the floor
   ========================================================= */
.crate {
  --ar: 1.3727;
  --T12: min(20svh, 14vw, 240px);
  --pad: max(5svh, 28px);
  --top: calc(var(--pad) + var(--T12) * .82 + 1.2svh + 34px + 2.4svh + 44px);
  --bot: calc(var(--pad) + clamp(52px, 5.4svh, 68px) + 3svh);
  --avail: calc(100svh - var(--top) - var(--bot));
  --hc: min(var(--avail), 40vw);                 /* the crate with its bottles: .753 of the photograph's height */
  --h: calc(var(--hc) / .753);
  --w: calc(var(--h) * var(--ar));
  --x: calc(50vw - var(--w) * .4725);
  --y: calc(var(--top) + (var(--avail) - var(--hc)) / 2 - var(--h) * .12);
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
}
.crate__top {
  position: absolute;
  z-index: 2;
  left: var(--gut);
  right: var(--gut);
  top: var(--pad);
  text-align: center;
}
.twelve {
  font-size: var(--T12);
  font-weight: 900;
  font-stretch: 125%;
  line-height: .82;
  letter-spacing: -.01em;
}
.spec {
  margin-top: 1.2svh;
  font-size: clamp(19px, min(1.45vw, 2.6svh), 28px);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: .03em;
}
.price:empty { display: none; }
.crate__head {
  position: absolute;
  z-index: 2;
  left: var(--gut);
  bottom: var(--pad);
  font-size: clamp(22px, min(2.4vw, 4.4svh), 54px);
  white-space: nowrap;
}
.crate__btn {
  position: absolute;
  z-index: 2;
  right: var(--gut);
  bottom: var(--pad);
}
.say--mid { font-size: clamp(30px, min(3.4vw, 6svh), 72px); }

/* =========================================================
   5. CREAM: the crate from above, and the order beside it
   ========================================================= */
.order {
  --ar: 1.1351;
  --w: min(59.5vw, 122svh);
  --h: calc(var(--w) / var(--ar));
  --x: calc(5vw - var(--w) * .084);
  --y: max(5svh, calc(50svh - var(--w) * .3974));
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 7svh 0;
}
/* the order is the last plate on the cream sheet: its paper runs on under the footer and the sheet ends it */
.order .ground {
  bottom: -60svh;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 40px);
          mask-image: linear-gradient(to bottom, transparent, #000 40px);
}
.panel {
  position: relative;
  z-index: 2;
  margin-left: calc(var(--x) + var(--w) * .935 + 3vw);
  width: min(clamp(380px, 30vw, 620px), calc(95vw - var(--x) - var(--w) * .935 - 3vw));
}
.order .say--mid { font-size: clamp(30px, min(3vw, 5.4svh), 60px); }
.form { margin-top: clamp(22px, 3.6svh, 40px); display: grid; gap: clamp(14px, 2.2svh, 22px); }
.lbl {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(16px, min(1vw, 1.7svh), 19px);
  font-weight: 700;
  font-stretch: 105%;
  letter-spacing: .02em;
}
.inp {
  width: 100%;
  height: clamp(52px, 5.4svh, 64px);
  padding: 0 14px;
  border: 1.5px solid rgb(31 58 158 / .38);
  border-radius: 3px;
  background: var(--cream);
  color: var(--cobalt);
  font: inherit;
  font-size: clamp(18px, min(1.15vw, 2svh), 21px);
  font-weight: 600;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.inp:hover { border-color: rgb(31 58 158 / .6); }
.inp:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; border-color: var(--cobalt); }
.inp[aria-invalid="true"] { border: 2px solid var(--cobalt); box-shadow: inset 4px 0 0 var(--cobalt); }
.err { margin-top: 6px; font-size: 15px; font-weight: 800; }

.qty__row { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); flex-wrap: wrap; }
.step {
  display: inline-flex;
  height: clamp(56px, 6svh, 70px);
  border: 1.5px solid rgb(31 58 158 / .38);
  border-radius: 3px;
  background: var(--cream);
}
.step__b {
  position: relative;
  width: 56px;
  border: 0;
  background: transparent;
  color: var(--cobalt);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .2s var(--ease);
}
.step__b span, .step__b span::after {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 3px;
  margin: -1.5px 0 0 -9px;
  background: currentColor;
  border-radius: 1px;
}
.step__b--more span::after { content: ""; transform: rotate(90deg); margin: 0; left: 0; top: 0; }
.step__b:hover { background: rgb(31 58 158 / .07); }
.step__b:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; z-index: 1; }
.step__b[aria-disabled="true"] { color: rgb(31 58 158 / .45); cursor: default; }
.step__b[aria-disabled="true"]:hover { background: transparent; }
.step__n {
  width: 64px;
  border: 0;
  border-inline: 1.5px solid rgb(31 58 158 / .2);
  background: transparent;
  color: var(--cobalt);
  text-align: center;
  font: inherit;
  font-size: 26px;
  font-weight: 900;
  font-stretch: 125%;
  -moz-appearance: textfield;
          appearance: textfield;
}
.step__n::-webkit-outer-spin-button, .step__n::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.step__n:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.no-js .step__b { display: none; }
.count { display: flex; align-items: baseline; gap: .35em; font-weight: 900; font-stretch: 125%; }
.count__n {
  display: inline-block;
  font-size: clamp(44px, min(3.6vw, 6.4svh), 64px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: filter .18s var(--ease), opacity .18s var(--ease), transform .18s var(--ease);
}
.count__n.is-swap { filter: blur(4px); opacity: 0; transform: translateY(-6px); }
.count__w { font-size: 18px; font-weight: 800; font-stretch: 112%; letter-spacing: .02em; }
.btn--send { justify-self: start; margin-top: 6px; }
/* sending: the ring turns while the request is out and the label dims; script.js ignores a second press */
.btn[aria-busy="true"] { color: rgb(var(--fg) / .72); cursor: progress; }
.btn[aria-busy="true"]::before { opacity: 1; animation: btn-spin 1.2s linear infinite; }
@media (hover: hover) {
  .btn[aria-busy="true"]:hover { transform: none; }
  .btn[aria-busy="true"]:hover::after { opacity: 0; }
}
/* under the button: the failure line (empty until a send fails) and the privacy small print */
.fail { margin: 0; }
.fail:not(:empty) { margin-bottom: 10px; }
.privacy { margin-top: 0; }
.privacy a, .doc__a { font-weight: 700; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.privacy a:hover, .doc__a:hover { text-decoration-thickness: 2.5px; }
.privacy a:focus-visible, .doc a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }
/* honeypot: a field no person meets (aria-hidden, inert, out of the tab order), placed off the sheet */
.hp { position: absolute; left: -10000px; top: 0; width: 1px; height: 1px; overflow: hidden; }

/* the sent state: shown by script.js (.is-on), or without scripts by the Worker's redirect to #uzrasyta */
.order__to { position: absolute; top: 0; left: 0; }
.sent { display: none; margin-top: clamp(22px, 3.6svh, 40px); outline: none; }
.sent.is-on, .order__to--sent:target ~ .panel .sent { display: block; }
.order__to--sent:target ~ .panel .form { display: none; }
/* a failed send that came back through the Worker: script.js (.is-on, on ?klaida=1) or the redirect to #nepavyko */
.fail-back { display: none; margin: 0; }
.fail-back.is-on, .order__to--fail:target ~ .panel .fail-back { display: block; }
.panel { container-type: inline-size; }
.sent__big {
  font-size: clamp(38px, min(5vw, 9svh, 13cqi), 96px);
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  line-height: .9;
}
.sent__line { margin-top: .7em; font-size: clamp(20px, 1.6vw, 28px); font-weight: 700; line-height: 1.25; max-width: 20ch; }

/* footer, on the same cream */
.foot {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: clamp(40px, 8svh, 88px) var(--gut) calc(env(safe-area-inset-bottom, 0px) + 40px);
}
.foot__mark { width: clamp(120px, 10vw, 170px); height: auto; }
.foot__made { font-size: 19px; font-weight: 700; letter-spacing: .02em; }

/* =========================================================
   PRIVACY (/privatumas/): the cream sheet alone, the wordmark home, plain questions and answers
   ========================================================= */
html.doc { background: var(--paper-cream); }
.doc body { background: var(--paper-cream); }
.doc .sheet--cream { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.doc__col {
  position: relative;
  z-index: 2;
  flex: 1;
  width: 100%;
  max-width: calc(680px + 2 * var(--gut));
  margin: 0 auto;
  padding: clamp(24px, 5svh, 52px) var(--gut) 0;
}
.doc__home { display: inline-block; align-self: flex-start; }
.doc__home img { width: clamp(104px, 8.5vw, 150px); height: auto; }
.doc__h { margin-top: clamp(40px, 8svh, 88px); font-size: clamp(34px, min(4.4vw, 8svh), 64px); }
@media (max-width: 359px) { .doc__h { font-size: 9.6vw; } }   /* PRIVATUMAS ends at the gutter on the narrowest phones */
.doc__q { margin-top: clamp(30px, 4.6svh, 46px); }
.doc__q h2 {
  font-size: clamp(19px, 1.4vw, 24px);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: .01em;
  line-height: 1.2;
}
.doc__q p {
  margin-top: .45em;
  font-size: clamp(17px, calc(15px + .3vw), 20px);   /* 17 px on phones, about 19 px on a laptop */
  font-weight: 500;
  line-height: 1.5;
  max-width: 30.5em;                                   /* about 65 characters a line wherever the column allows it */
  text-wrap: pretty;
}
/* 404: the same sheet, one line and the way home, in the middle of the screen */
.doc__col--gone { display: flex; flex-direction: column; padding-bottom: clamp(24px, 5svh, 52px); }
.gone { margin: auto 0; padding: clamp(32px, 6svh, 64px) 0 clamp(48px, 10svh, 120px); }
.gone .doc__h { margin-top: 0; line-height: 1.06; text-wrap: balance; }   /* room for the dot of Ė under a line of caps */
.gone__back { margin-top: clamp(18px, 3svh, 28px); font-size: clamp(18px, 1.3vw, 22px); }

/* ---------- entrances: once, never after the form ---------- */
.js [data-reveal] { opacity: 0; translate: 0 22px; transition: opacity .9s var(--ease), translate .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }
.js .hero__say .say__l, .js .hero__say .what, .js .hero__base { animation: rise .9s var(--ease) both; }
.js .hero__say .what { animation-delay: .1s; }
.js .hero__base { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }

/* =========================================================
   PHONES (portrait narrower than 3:5): the same poster on three real bottles from the row
   ========================================================= */
@media (max-aspect-ratio: 3/5) {
  .ground--row { display: none; }
  .sheet--amber {
    --ar: .6348;                                  /* row3.jpg: bottles one to three, cut from the row with their own shadows */
    --F: min(9.9vw, 8svh);
    --pad: max(4.5svh, 22px);
    --top: calc(env(safe-area-inset-top, 0px) + var(--pad) + var(--F) * .92 + 10px + 26px + 3svh);
    --bot: calc(var(--pad) + 56px + 3svh);
    --avail: calc(100svh - var(--top) - var(--bot));
    --w: 100vw;
    --h: calc(100vw / var(--ar));
    --hb: calc(var(--h) * .685);
    --x: 0px;
    --y: calc(var(--top) + (var(--avail) - var(--hb)) / 2 - var(--h) * .196);
  }
  /* the plate runs edge to edge, so only its top and bottom ease into the paper */
  .photo--row {
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
  }
  .hero { height: max(560px, 100svh); }
  .hero__say .what { margin-top: 10px; font-size: 19px; }
  .hero__mark { width: clamp(84px, 24vw, 120px); }

}

/* =========================================================
   UPRIGHT WINDOWS (phones and tablets): the later sheets stack
   ========================================================= */
@media (max-aspect-ratio: 5/4) {
  .figsec { min-height: 86svh; }
  .fig { height: min(62svh, 104vw, 760px); }

  /* bread: line on top, the photograph, then the label's small print */
  .bread {
    --w: min(115vw, 600px);
    --h: calc(var(--w) / var(--ar));
    --x: max(calc(4vw - var(--w) * .112), calc(50vw - var(--w) * .51));
    --y: calc(80px + 3 * .98 * clamp(28px, 8.2vw, 52px));
    min-height: calc(var(--y) + var(--h) * .9 + 286px);
  }
  .bread__copy { position: static; padding: 56px var(--gut) 0; }
  .line { font-size: clamp(28px, 8.2vw, 52px); }
  .fine { position: absolute; z-index: 2; left: var(--gut); right: var(--gut); top: calc(var(--y) + var(--h) * .9 + clamp(64px, 19vw, 130px) * .8 + 24px); margin: 0; }
  .vol { bottom: auto; top: calc(var(--y) + var(--h) * .9); left: var(--gut); right: auto; font-size: clamp(64px, 19vw, 130px); }

  /* crate: the twelve on top, the crate, then the verdict and the action */
  .crate {
    --T12: clamp(96px, 28vw, 160px);
    --pad: 48px;
    --w: min(132vw, 640px);
    --h: calc(var(--w) / var(--ar));
    --x: calc(50vw - var(--w) * .4725);
    --y: calc(var(--pad) + var(--T12) * .82 + 12px + 30px + 12px + 46px);
    min-height: calc(var(--y) + var(--h) * .9 + 2 * 1.02 * clamp(26px, 7.4vw, 44px) + 24px + 56px + 48px);
  }
  .crate__head { bottom: auto; top: calc(var(--y) + var(--h) * .9); right: var(--gut); white-space: normal; font-size: clamp(26px, 7.4vw, 44px); line-height: 1.02; }
  .crate__btn { bottom: 48px; right: auto; left: var(--gut); }

  /* order: the crate from above, then the panel under it */
  .order {
    --w: min(118vw, 600px);
    --h: calc(var(--w) / var(--ar));
    --x: calc(50vw - var(--w) * .47);
    --y: 24px;
    display: block;
    min-height: 0;
    padding: calc(var(--y) + var(--h) * .99) 0 32px;
  }
  .panel { margin: 0; width: auto; padding: 0 var(--gut); }
  .order .say--mid { font-size: clamp(28px, 8.2vw, 52px); }
}
@media (max-width: 360px) {
  .what { letter-spacing: .06em; }
  .hero__mark { display: none; }
  .hero__base { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; translate: none; }
}

/* =========================================================================================================
   STORE (2026-11-30): the shell, the photograph sheets, the product page, the contact page, the search pages.
   The rule for a photograph that is not studio paper: it is a sheet of its own. Where its own ground is flat
   (the black of the flash night, which is lifted to the crate's char; the open sky) that ground is the sheet's
   colour, the picture eases into it on the sides where it is not cut, and type is printed on that ground.
   Where it has no flat ground it covers its sheet edge to edge. Never a card, never a frame.
   ========================================================================================================= */
:root {
  --sky: #04376F;              /* the top of the daylight sky in d-3-sky */
  --ink-soft: rgb(31 58 158 / .38);
  --shadow-sheet: 0 2px 2px rgb(0 0 0 / .22), 0 10px 18px -6px rgb(0 0 0 / .32);
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* sheets in any order: each lies on the next, its edge shadow on the sheet below */
main > .sheet { box-shadow: var(--shadow-sheet); }
main > .sheet:last-child { box-shadow: none; }
main > .sheet:nth-child(1) { z-index: 19; } main > .sheet:nth-child(2) { z-index: 18; } main > .sheet:nth-child(3) { z-index: 17; }
main > .sheet:nth-child(4) { z-index: 16; } main > .sheet:nth-child(5) { z-index: 15; } main > .sheet:nth-child(6) { z-index: 14; }
main > .sheet:nth-child(7) { z-index: 13; } main > .sheet:nth-child(8) { z-index: 12; } main > .sheet:nth-child(9) { z-index: 11; }
main > .sheet:nth-child(10) { z-index: 10; } main > .sheet:nth-child(11) { z-index: 9; } main > .sheet:nth-child(12) { z-index: 8; }
main > .sheet:nth-child(13) { z-index: 7; } main > .sheet:nth-child(14) { z-index: 6; }
.sheet--char { background: var(--char); color: var(--cream); }
.sheet--sky { background: var(--sky); color: var(--cream); }
.sheet--white { background: var(--cream); }
.sheet--char::after { opacity: .5; }
.sheet--sky::after { display: none; }

/* ---------- header: the wordmark home on inner pages, the neck pennant as the menu on every page ---------- */
.hd { position: absolute; z-index: 40; top: 0; left: 0; right: 0; height: 0; }
.hd__home {
  position: absolute;
  left: var(--gut);
  top: calc(env(safe-area-inset-top, 0px) + clamp(18px, 3svh, 30px));
  display: block;
  border-radius: 2px;
}
.hd__mark { width: clamp(100px, 8vw, 140px); height: auto; }
.hd__mark--cream, .top-dark .hd__mark--cobalt { display: none; }
.top-dark .hd__mark--cream { display: block; }
.home .hd__home { display: none; }
.hd__home:focus-visible, .menu__home:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
.top-dark .hd__home { color: var(--cream); }

.menu { position: absolute; top: 0; right: clamp(10px, 2.2vw, 40px); }
.menu__tab {
  --tw: clamp(76px, 6vw, 92px);
  position: relative;
  z-index: 2;
  display: block;
  width: var(--tw);
  height: calc(var(--tw) * .738);
  list-style: none;
  cursor: pointer;
  background: url("/assets/pennant.svg") 0 0 / 100% 100% no-repeat;
  filter: drop-shadow(4px 6px 1.5px rgb(0 0 0 / .26));
  color: var(--cobalt);
  -webkit-tap-highlight-color: transparent;
  transition: translate .3s var(--ease), filter .3s var(--ease);
}
.menu__tab::-webkit-details-marker, .menu__tab::marker { display: none; content: ""; }
.menu__open, .menu__shut {
  position: absolute;
  inset: 0 0 27% 0;
  display: grid;
  place-items: center;
  padding-top: 4%;
  font-size: clamp(13px, .95vw, 15px);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: .14em;
  text-indent: .14em;
  text-transform: uppercase;
  line-height: 1;
}
.menu__shut { display: none; font-size: clamp(30px, 2.4vw, 38px); font-weight: 500; letter-spacing: 0; text-indent: 0; padding-top: 0; }
.menu[open] .menu__open { display: none; }
.menu[open] .menu__shut { display: grid; }
@media (hover: hover) { .menu__tab:hover { translate: 0 3px; filter: drop-shadow(5px 8px 2px rgb(0 0 0 / .3)); } }
.menu__tab:focus-visible { outline: none; }
.menu__tab:focus-visible .menu__open, .menu__tab:focus-visible .menu__shut { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.menu__tab:focus-visible { filter: drop-shadow(0 0 0 var(--cobalt)) drop-shadow(4px 6px 1.5px rgb(0 0 0 / .26)); }
.menu__sheet {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 5svh, 56px);
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: calc(env(safe-area-inset-top, 0px) + clamp(18px, 3svh, 30px)) var(--gut) calc(env(safe-area-inset-bottom, 0px) + 32px);
  background: var(--cobalt);
  color: var(--cream);
  box-shadow: var(--shadow-sheet);
}
.menu[open] .menu__sheet { animation: menu-drop .5s var(--ease) both; }
@keyframes menu-drop { from { translate: 0 -100%; } to { translate: 0 0; } }
html:has(.menu[open]) { overflow: hidden; }
.menu__home { display: block; align-self: flex-start; border-radius: 2px; }
.menu__home img { width: clamp(100px, 8vw, 140px); height: auto; }
.menu__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(6px, 1.4svh, 14px); }
.menu__nav a {
  display: inline-block;
  padding: 4px 0;
  font-size: clamp(30px, min(6.4vw, 7svh), 76px);
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: .02em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
}
.menu__nav a[aria-current="page"], .menu__nav a:hover { text-decoration: underline; text-decoration-thickness: .07em; text-underline-offset: .14em; }
.menu__nav a:focus-visible, .menu__tel:focus-visible { outline: 2px solid var(--cream); outline-offset: 4px; border-radius: 2px; }
.menu__end { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.menu__tel { font-size: clamp(20px, 1.6vw, 26px); font-weight: 800; font-stretch: 112%; letter-spacing: .02em; text-decoration: none; white-space: nowrap; }
.menu__tel:hover { text-decoration: underline; text-underline-offset: 4px; }

/* the poster keeps its line clear of the pennant: on screens where the line runs into the corner, it moves down */
@media (max-aspect-ratio: 29/20) {
  .sheet--amber { --lift: max(0px, calc(clamp(76px, 6vw, 92px) * .738 + 10px - var(--pad))); }
}
.hero__say { top: calc(env(safe-area-inset-top, 0px) + var(--pad) + var(--lift, 0px)); }

/* ---------- footer, on the last light sheet of every page ---------- */
.ft {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: clamp(48px, 9svh, 96px) var(--gut) calc(env(safe-area-inset-bottom, 0px) + 44px);
  text-align: center;
  color: var(--cobalt);
}
.ft a { text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.ft a:focus-visible, .ft button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }
.ft__home img { width: clamp(130px, 10vw, 170px); height: auto; }
.ft__made { font-size: 19px; font-weight: 700; letter-spacing: .02em; }
.ft__reach { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; margin-top: 10px; font-size: clamp(19px, 1.4vw, 23px); font-weight: 800; font-stretch: 108%; }
.ft__reach a { text-decoration: none; }
.ft__reach a:hover { text-decoration: underline; }
.ft ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.ft__nav ul { gap: 8px 26px; margin-top: 18px; font-size: 18px; font-weight: 700; }
.ft__legal { gap: 6px 22px; margin-top: 4px; font-size: 16px; font-weight: 600; }
.ft__cookies {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  cursor: pointer;
}
.ft__cookies:hover, .ft a:hover { text-decoration-thickness: 2.5px; }
.no-js .ft__cookies { display: none; }

/* ---------- the two quiet buttons of the consent slip and panel: the same size and weight ---------- */
.pick {
  height: 48px;
  padding: 0 20px;
  border: 2px solid var(--cobalt);
  border-radius: 3px;
  background: transparent;
  color: var(--cobalt);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s var(--ease);
}
.pick:hover { background: rgb(31 58 158 / .08); }
.pick:active { transform: scale(.98); }
.pick:focus-visible, .slip__more:focus-visible, .slip a:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
.slip__more {
  justify-self: start;
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--cobalt);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  cursor: pointer;
}
.slip__more:hover { text-decoration-thickness: 2.5px; }

/* ---------- the cookie slip: a slip of label paper laid on the sheet, under the same hard light ---------- */
.slip {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 0px) + max(3.5svh, 18px));
  translate: -50% 0;
  width: min(440px, calc(100vw - 2 * var(--gut)));
  display: grid;
  gap: 14px;
  padding: 18px 20px 14px;
  background: var(--cream);
  color: var(--cobalt);
  border-radius: 2px;
  box-shadow: 0 1px 1px rgb(0 0 0 / .18), 8px 12px 4px -2px rgb(0 0 0 / .24);
}
.slip__txt { font-size: 16px; font-weight: 600; line-height: 1.45; text-wrap: pretty; }
.slip__txt a { font-weight: 800; text-decoration-thickness: 1.5px; text-underline-offset: 3px; white-space: nowrap; }
.slip__two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.slip__two .pick { padding: 0 10px; }
/* where the poster's floor is narrow (phones, upright tablets): the slip lies above the floor, so the action stays in view */
@media (max-width: 899px), (max-aspect-ratio: 5/4) {
  .slip { bottom: calc(env(safe-area-inset-bottom, 0px) + max(4.5svh, 22px) + 56px + 14px); }
}

/* the settings panel: a larger slip over a dimmed page */
.setp {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgb(14 17 17 / .55);
  overflow-y: auto;
}
.setp__sheet {
  width: min(520px, 100%);
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3svh, 32px) clamp(20px, 2.4vw, 32px);
  background: var(--cream);
  color: var(--cobalt);
  border-radius: 2px;
  box-shadow: 0 1px 1px rgb(0 0 0 / .18), 10px 16px 6px -2px rgb(0 0 0 / .28);
}
.setp__h { font-size: clamp(24px, 2vw, 30px); font-weight: 900; font-stretch: 125%; text-transform: uppercase; letter-spacing: .02em; line-height: 1; }
.tick { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; cursor: pointer; }
.tick input { position: absolute; opacity: 0; width: 28px; height: 28px; margin: 0; cursor: pointer; }
.tick__box { width: 28px; height: 28px; border: 2px solid var(--cobalt); border-radius: 3px; background: var(--cream); display: grid; place-items: center; }
.tick__box::after { content: ""; width: 12px; height: 7px; border-left: 3px solid var(--cream); border-bottom: 3px solid var(--cream); rotate: -45deg; translate: 0 -2px; opacity: 0; }
.tick input:checked + .tick__box { background: var(--cobalt); }
.tick input:checked + .tick__box::after { opacity: 1; }
.tick input:focus-visible + .tick__box { outline: 2px solid var(--cobalt); outline-offset: 3px; }
.tick__t { font-size: 16px; font-weight: 500; line-height: 1.45; }
.tick__n { display: block; margin-bottom: 2px; font-size: 18px; font-weight: 800; font-stretch: 108%; }
.setp__end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 4px; }
.setp__end .pick { min-width: 160px; }

/* ---------- links printed on a sheet ---------- */
.go { margin-top: clamp(16px, 2.6svh, 28px); font-size: clamp(18px, 1.35vw, 24px); font-weight: 700; font-stretch: 105%; }
.go a { text-decoration-thickness: 2px; text-underline-offset: 5px; }
.go a:hover { text-decoration-thickness: 3px; }
.go a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }

/* =========================================================
   PHOTOGRAPH SHEETS (night and day)
   ========================================================= */
.ph { --ar: .7464; --fl: 26%; --ft: 16%; position: relative; min-height: 100vh; min-height: 100svh; }
.ph__img {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  height: 100%;
  width: calc(100svh * var(--ar));
  max-width: none;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--fl)), linear-gradient(to bottom, transparent, #000 var(--ft));
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent, #000 var(--fl)), linear-gradient(to bottom, transparent, #000 var(--ft));
          mask-composite: intersect;
}
.ph__say {
  position: absolute;
  z-index: 2;
  left: var(--gut);
  top: calc(env(safe-area-inset-top, 0px) + max(9svh, 64px));
  width: min(46vw, calc(100vw - var(--gut) - 100svh * var(--ar) * .8));
}
.ph__line { font-size: clamp(34px, min(5.4vw, 10svh), 118px); line-height: .94; text-wrap: balance; }
/* the sky: the sheet runs the photograph's own left edge, deep at the top and paler toward the field */
.sheet--sky.ph {
  background: linear-gradient(to bottom, #043E79 0%, #154C87 12%, #295994 25%, #3F699F 38%, #5E7BA7 50%, #778AB0 62%, #7C90B6 72%, #8AA1C0 84%, #94A6C2 100%);
}
@media (max-aspect-ratio: 5/4) {
  .ph { --fl: 10%; --ft: 22%; display: flex; flex-direction: column; min-height: 0; }
  .ph__say { position: relative; top: auto; left: auto; width: auto; padding: calc(env(safe-area-inset-top, 0px) + 64px) var(--gut) 0; }
  .ph__img { position: relative; order: 2; align-self: flex-end; width: min(100%, calc(80svh * var(--ar))); height: auto; margin-top: 4px; }
  .ph__line { font-size: clamp(34px, 9.4vw, 72px); }
  .sheet--sky.ph { background: var(--sky); }
}

/* =========================================================
   HOME additions: the summary under the fig
   ========================================================= */
.figsec { grid-template-rows: auto auto; align-content: center; gap: clamp(22px, 4svh, 44px); }
.figsec .fig { height: min(58svh, 96vw, 700px); }
.sum {
  position: relative;
  z-index: 2;
  max-width: 31em;
  font-size: clamp(19px, 1.75vw, 31px);
  font-weight: 700;
  line-height: 1.42;
  text-align: center;
  text-wrap: pretty;
}
.bread__copy .go, .crate .go { margin-top: clamp(14px, 2svh, 22px); }

/* ---------- text on a photograph sheet: a heading and a few plain lines ---------- */
.ph__h2 { font-size: clamp(34px, min(4.6vw, 8.6svh), 96px); line-height: .94; }
.ph__p { margin-top: .7em; font-size: clamp(19px, 1.5vw, 27px); font-weight: 600; line-height: 1.4; max-width: 24em; text-wrap: pretty; }
.ph__h2 + .ph__p { margin-top: clamp(18px, 3svh, 32px); }
.ph .price { margin-top: .7em; font-size: clamp(24px, 2vw, 36px); font-weight: 900; font-stretch: 112%; }
.ph__say .btn { margin-top: clamp(22px, 3.6svh, 40px); }
.ph--sq { --ar: 1; }
/* a scene with no flat ground: it covers the sheet; type sits on its own dark part */
.ph--cover .ph__img { inset: 0; width: 100%; height: 100%; -webkit-mask-image: none; mask-image: none; }
@media (max-aspect-ratio: 5/4) {
  .ph__h2 { font-size: clamp(32px, 9vw, 64px); }
  .ph__p { font-size: clamp(18px, 4.8vw, 24px); }
  .ph__say .btn { margin-bottom: 8px; }
  .ph--cover .ph__img { width: 100%; height: auto; }
}

/* =========================================================
   INNER PAGES: shared pieces
   ========================================================= */
.h2 {
  font-size: clamp(30px, min(3.6vw, 6.6svh), 64px);
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: .02em;
  line-height: .98;
  text-transform: uppercase;
  text-wrap: balance;
}
.btn--cobalt-on-light { --ring: 254 162 50; }

/* the product page's first screen: one line across the cobalt paper, the bottle standing under it, the floor */
.pp__hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  row-gap: clamp(12px, 2.2svh, 26px);
  height: max(560px, 100vh);
  height: max(560px, 100svh);
  padding: calc(env(safe-area-inset-top, 0px) + clamp(86px, 12.5svh, 124px)) var(--gut) calc(env(safe-area-inset-bottom, 0px) + max(3.5svh, 18px));
}
.pp__h { text-align: center; font-size: clamp(30px, min(6.5vw, 9.6svh), 128px); line-height: .92; white-space: nowrap; }
.pp__stage { position: relative; min-height: 0; display: flex; justify-content: center; align-items: flex-end; }
.pp__bottle { position: relative; z-index: 1; height: 100%; width: auto; max-width: none; filter: drop-shadow(16px 4px 2px rgb(6 12 48 / .5)); }
.pp__stage::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1.2%;
  width: 22%;
  max-width: 260px;
  height: 3.2%;
  translate: -38% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(4 10 40 / .55), transparent);
}
.pp__base { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; }
.pp__what { font-size: clamp(19px, min(1.5vw, 2.6svh), 28px); font-weight: 800; font-stretch: 112%; letter-spacing: .03em; line-height: 1.25; }
@media (max-aspect-ratio: 5/4) {
  .pp__h { white-space: normal; text-wrap: balance; font-size: clamp(28px, 10.2vw, 76px); }
  .pp__base { flex-direction: column; align-items: center; text-align: center; }
}

/* a studio photograph on its own paper, laid on the sheet: it eases into the sheet where it is not cut */
.plate { position: absolute; z-index: 1; display: block; max-width: none; pointer-events: none; }
.fade4 {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
          mask-composite: intersect;
}
/* cut at the top and the right (the pour: the arm comes in from the corner) */
.fadeLB {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 22%), linear-gradient(to top, transparent, #000 18%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent, #000 22%), linear-gradient(to top, transparent, #000 18%);
          mask-composite: intersect;
}

/* the summary beside the pour (product page and /gira/) */
.pour { --ar: .7464; position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.pour__img { top: 0; right: 0; height: 100%; width: auto; }
.pour__txt {
  position: relative;
  z-index: 2;
  width: min(36em, calc(100vw - 2 * var(--gut) - 100svh * var(--ar) * .78));
  margin-left: var(--gut);
  padding: clamp(48px, 9svh, 100px) 0;
}
.sumtxt { font-size: clamp(19px, 1.55vw, 28px); font-weight: 600; line-height: 1.48; text-wrap: pretty; }
.sumtxt + .sumtxt { margin-top: .8em; }
@media (max-aspect-ratio: 5/4) {
  .pour { display: block; min-height: 0; padding-bottom: clamp(40px, 8svh, 72px); }
  .pour__img { position: relative; display: block; width: 100%; height: auto; max-height: none; }
  .pour__txt { width: auto; margin: -14vw 0 0; padding: 0 var(--gut); }
}

/* what is in the bottle, on cobalt beside the loaf */
.inb { --ar: .8051; position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.inb__img { right: max(2vw, 10px); top: 50%; translate: 0 -50%; height: 94svh; width: auto; }
.inb__txt { position: relative; z-index: 2; margin-left: var(--gut); width: min(44vw, calc(100vw - 2 * var(--gut) - 94svh * var(--ar) * .8)); padding: clamp(56px, 10svh, 110px) 0; }
.four { list-style: none; margin: clamp(22px, 4svh, 40px) 0 0; padding: 0; }
.four li { font-size: clamp(30px, min(3.6vw, 6.4svh), 66px); font-weight: 900; font-stretch: 125%; text-transform: uppercase; letter-spacing: .02em; line-height: 1.08; }
.inb__p { margin-top: clamp(22px, 3.6svh, 36px); font-size: clamp(18px, 1.35vw, 24px); font-weight: 600; line-height: 1.45; max-width: 28em; }
.inb__p + .inb__p { margin-top: .6em; }
@media (max-aspect-ratio: 5/4) {
  .inb { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .inb__txt { width: auto; margin: 0; padding: 72px var(--gut) 0; }
  .inb__img { position: relative; top: auto; right: auto; translate: none; align-self: center; width: min(112vw, 620px); height: auto; margin: -2vw 0 0; }
}

/* how reserving works: the crate from above, three numbered steps */
.how { --ar: 1.1351; position: relative; display: flex; align-items: center; min-height: 100vh; min-height: 100svh; }
.how__img { left: calc(4vw - min(54vw, 110svh) * .08); top: 50%; translate: 0 -50%; width: min(54vw, 110svh); height: auto; }
.how__txt { position: relative; z-index: 2; margin-left: calc(4vw + min(54vw, 110svh) * .9); width: min(34em, calc(96vw - 4vw - min(54vw, 110svh) * .9)); padding: clamp(56px, 10svh, 110px) var(--gut) clamp(56px, 10svh, 110px) 0; }
.steps { list-style: none; margin: clamp(26px, 4.4svh, 44px) 0 0; padding: 0; display: grid; gap: clamp(18px, 3svh, 30px); }
.steps li { display: grid; grid-template-columns: auto 1fr; column-gap: clamp(16px, 1.6vw, 26px); align-items: baseline; }
.steps__n { font-size: clamp(48px, min(4.4vw, 8svh), 84px); font-weight: 900; font-stretch: 125%; line-height: .8; font-variant-numeric: tabular-nums; }
.steps__t { font-size: clamp(22px, 1.8vw, 32px); font-weight: 900; font-stretch: 118%; text-transform: uppercase; letter-spacing: .02em; line-height: 1; }
.steps__p { grid-column: 2; margin-top: .35em; font-size: clamp(18px, 1.3vw, 22px); font-weight: 500; line-height: 1.45; max-width: 26em; }
.how__note { margin-top: clamp(22px, 3.6svh, 34px); font-size: clamp(18px, 1.25vw, 21px); font-weight: 600; line-height: 1.45; max-width: 28em; }
.how__note a, .faq a, .art a, .end a:not(.btn) { font-weight: 700; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.how__txt .btn { margin-top: clamp(22px, 3.6svh, 36px); }
@media (max-aspect-ratio: 5/4) {
  .how { display: flex; flex-direction: column; min-height: 0; padding-bottom: 24px; }
  .how__txt { order: -1; width: auto; margin: 0; padding: 72px var(--gut) 0; }
  .how__img { position: relative; left: auto; top: auto; translate: none; align-self: center; width: min(118vw, 640px); }
}

/* questions and answers: plain <details>, readable and open-able with scripts off */
.faq { position: relative; z-index: 2; width: min(100%, calc(46rem + 2 * var(--gut))); margin: 0 auto; padding: clamp(64px, 12svh, 130px) var(--gut); }
.faq__list { margin-top: clamp(24px, 4svh, 44px); display: grid; gap: 4px; }
.faq details { border-radius: 3px; }
.faq details:nth-child(odd) { background: rgb(31 58 158 / .05); }
.faq summary {
  position: relative;
  display: block;
  padding: 18px 56px 18px 18px;
  list-style: none;
  cursor: pointer;
  font-size: clamp(19px, 1.35vw, 23px);
  font-weight: 800;
  font-stretch: 106%;
  line-height: 1.3;
  border-radius: 3px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 18px;
  height: 3px;
  margin-top: -1.5px;
  background: currentColor;
  border-radius: 1px;
  transition: rotate .25s var(--ease);
}
.faq summary::after { rotate: 90deg; }
.faq details[open] summary::after { rotate: 0deg; }
.faq summary:hover { background: rgb(31 58 158 / .06); }
.faq summary:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.faq__a { padding: 0 18px 20px; }
.faq__a p { font-size: clamp(18px, 1.2vw, 21px); font-weight: 500; line-height: 1.55; max-width: 36em; }
.faq__a p + p { margin-top: .6em; }

/* the close of every inner page: the bottle, one line, the action */
.end { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: clamp(28px, 6vw, 120px); min-height: min(100svh, 980px); padding: clamp(56px, 10svh, 110px) var(--gut); }
.end__bottle { height: min(76svh, 820px); width: auto; filter: drop-shadow(16px 4px 2px rgb(120 52 0 / .42)); }
.end__txt { max-width: 30em; }
.end__line { margin-top: clamp(16px, 2.6svh, 28px); font-size: clamp(19px, 1.5vw, 27px); font-weight: 600; line-height: 1.45; }
.end__txt .btn { margin-top: clamp(24px, 4svh, 40px); }
@media (max-aspect-ratio: 5/4) {
  .end { flex-direction: column; text-align: center; gap: 28px; min-height: 0; }
  .end__bottle { height: min(54svh, 520px); }
}

/* =========================================================
   SEARCH PAGES: the answer on the first screen, large calm type, pictures between
   ========================================================= */
.lead { position: relative; display: flex; align-items: center; min-height: 100vh; min-height: 100svh; }
.lead__txt { position: relative; z-index: 2; width: min(40em, var(--tw, 46vw)); margin-left: var(--gut); padding: calc(env(safe-area-inset-top, 0px) + clamp(96px, 14svh, 140px)) 0 clamp(56px, 10svh, 110px); }
.lead__h { font-size: clamp(32px, min(4.4vw, 8.2svh), 92px); font-weight: 900; font-stretch: 125%; text-transform: uppercase; letter-spacing: .015em; line-height: .96; text-wrap: balance; overflow-wrap: break-word; }
.lead__sum { margin-top: clamp(20px, 3.4svh, 36px); font-size: clamp(18px, 1.3vw, 23px); font-weight: 500; line-height: 1.55; text-wrap: pretty; }
.lead__img { height: 100%; width: auto; top: 0; right: 0; }
@media (max-aspect-ratio: 5/4) {
  .lead { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .lead__txt { width: auto; margin: 0; padding: calc(env(safe-area-inset-top, 0px) + 88px) var(--gut) clamp(36px, 6svh, 56px); }
  .lead__h { font-size: clamp(28px, 8.6vw, 60px); }
  .lead__img { position: relative; top: auto; right: auto; height: auto; }
}

/* the article: one column, large calm type */
.art { position: relative; z-index: 2; width: min(100%, calc(44rem + 2 * var(--gut))); margin: 0 auto; padding: clamp(64px, 11svh, 128px) var(--gut); }
.art > * + * { margin-top: 1.1em; }
.art > .h2 { margin-top: clamp(56px, 9svh, 96px); }
.art > .h2:first-child { margin-top: 0; }
.art > .h2 + * { margin-top: clamp(18px, 2.8svh, 28px); }
.art h3 { margin-top: 1.6em; font-size: clamp(21px, 1.6vw, 27px); font-weight: 900; font-stretch: 112%; letter-spacing: .01em; line-height: 1.15; }
.art p, .art li { font-size: clamp(18px, 1.25vw, 22px); font-weight: 500; line-height: 1.6; text-wrap: pretty; }
.art ul { padding-left: 1.1em; }
.art ul li { padding-left: .2em; }
.art ul li::marker { content: "■  "; font-size: .62em; }
.art ul li + li { margin-top: .35em; }
.art .say-lead { font-weight: 700; }
.art strong { font-weight: 800; }
.sheet--cobalt .art, .sheet--char .art { color: var(--cream); }

/* ingredients: amount large, the thing beside it */
.amounts { list-style: none; margin: 0; padding: 0 !important; display: grid; gap: 2px; }
.amounts li { display: grid; grid-template-columns: 6.2em 1fr; align-items: baseline; gap: 14px; padding: 12px 16px !important; border-radius: 3px; }
.amounts li::marker { content: none; }
.amounts li:nth-child(odd) { background: rgb(31 58 158 / .06); }
.amounts b { font-size: clamp(24px, 2vw, 34px); font-weight: 900; font-stretch: 118%; white-space: nowrap; line-height: 1; }

/* numbered method: big numeral, the step, its time */
.method { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(20px, 3.2svh, 32px); counter-reset: none; }
.method li { display: grid; grid-template-columns: 1.4em 1fr; column-gap: clamp(12px, 1.4vw, 22px); }
.method__n { font-size: clamp(40px, 3.4vw, 60px); font-weight: 900; font-stretch: 125%; line-height: .85; }
.method__time { display: block; margin-top: .3em; font-weight: 800; font-stretch: 108%; }

/* tables: no rules on every row, two paper tones; phones read each row as its own block */
.tbl { width: 100%; border-collapse: separate; border-spacing: 0 3px; font-size: clamp(17px, 1.1vw, 19px); line-height: 1.45; }
.tbl th, .tbl td { padding: 12px 14px; text-align: left; vertical-align: top; }
.tbl thead th { background: var(--cobalt); color: var(--cream); font-weight: 800; font-stretch: 108%; font-size: clamp(16px, 1vw, 18px); letter-spacing: .03em; text-transform: uppercase; }
.tbl thead th:first-child { border-radius: 3px 0 0 3px; } .tbl thead th:last-child { border-radius: 0 3px 3px 0; }
.tbl tbody th { font-weight: 800; }
.tbl tbody tr:nth-child(odd) > * { background: rgb(31 58 158 / .07); }
.tbl tbody tr:nth-child(even) > * { background: rgb(31 58 158 / .025); }
.tbl tbody tr > :first-child { border-radius: 3px 0 0 3px; } .tbl tbody tr > :last-child { border-radius: 0 3px 3px 0; }
.tbl-wide { margin-left: calc(-1 * min(8vw, 120px)); margin-right: calc(-1 * min(8vw, 120px)); }
@media (max-width: 1023px) { .tbl-wide { margin-left: 0; margin-right: 0; } }
/* phones: the table stays a table and scrolls sideways; ui.js fades only the edge that has more to show */
.tblwrap { position: relative; }
@media (max-width: 719px) {
  .tblwrap { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; margin-right: calc(-1 * var(--gut)); padding-right: var(--gut); }
  .tbl { min-width: 620px; }
  .js .tblwrap.fr { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 64px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 64px), transparent); }
  .js .tblwrap.fl { -webkit-mask-image: linear-gradient(to right, transparent, #000 48px); mask-image: linear-gradient(to right, transparent, #000 48px); }
  .js .tblwrap.fl.fr { -webkit-mask-image: linear-gradient(to right, transparent, #000 48px, #000 calc(100% - 64px), transparent); mask-image: linear-gradient(to right, transparent, #000 48px, #000 calc(100% - 64px), transparent); }
}

/* drawn figures */
.fig-d { margin-top: clamp(36px, 6svh, 64px) !important; }
.fig-d__h { font-size: clamp(22px, 1.8vw, 30px); font-weight: 900; font-stretch: 118%; text-transform: uppercase; letter-spacing: .02em; line-height: 1.05; }
.fig-d svg { display: block; width: 100%; height: auto; margin-top: 18px; overflow: visible; }
.fig-d__note { margin-top: 14px; font-size: clamp(18px, 1.2vw, 21px) !important; font-weight: 700 !important; }
.svg-t { font-family: Archivo, system-ui, sans-serif; fill: var(--cobalt); }
.svg-b { font-weight: 800; font-stretch: 110%; }
.svg-m { font-weight: 500; }
.svg-big { font-weight: 900; font-stretch: 125%; }
.svg-cream { fill: var(--cream); }
.svg-cobalt { fill: var(--cobalt); }
.svg-amber { fill: var(--amber); }
.svg-paper { fill: rgb(31 58 158 / .08); }
.svg-line { stroke: var(--cobalt); stroke-width: 3; fill: none; }
.svg-thin { stroke: var(--cobalt); stroke-width: 2; fill: none; }
.only-wide { display: block; } .only-narrow { display: none !important; }
@media (max-width: 1239px) { .only-wide { display: none !important; } .only-narrow { display: block !important; } }
/* the wide drawing is drawn at 1:1 (its text at reading size), so it leaves the text column on wide screens */
.fig-d svg.fig-w { width: 1100px; max-width: none; margin-left: calc(50% - 550px); }
.fig-d svg.fig-n { width: 100%; max-width: 440px; }
.fig-d--first { margin-top: 0 !important; }
.fig-d__keys { margin-top: 18px !important; padding-left: 1.1em; }
.fig-d__keys li { font-size: clamp(18px, 1.25vw, 21px); font-weight: 600; line-height: 1.5; }
.fig-d__keys li + li { margin-top: .4em; }
.fig-d__keys li::marker { content: "■  "; font-size: .62em; }

/* contact */
.kt__name { margin-top: clamp(14px, 2svh, 22px); font-size: clamp(22px, 1.8vw, 32px); font-weight: 800; font-stretch: 110%; }
.kt__reach { margin-top: clamp(18px, 3svh, 30px); display: grid; gap: 6px; }
.kt__reach a { font-size: clamp(26px, min(2.8vw, 5svh), 52px); font-weight: 900; font-stretch: 112%; letter-spacing: .01em; line-height: 1.1; text-decoration: none; overflow-wrap: anywhere; }
.kt__reach a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.kt__reach a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }

/* a studio plate with its paper carried past the frame by a low-res field, as on the home page */
.pl { position: absolute; z-index: 1; pointer-events: none; aspect-ratio: var(--ar, .7464); }
.pl__field {
  position: absolute; left: -100%; top: -100%; width: 300%; height: 300%; max-width: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 58%, transparent);
          mask-image: radial-gradient(closest-side, #000 58%, transparent);
}
.pl__img { position: relative; display: block; width: 100%; height: 100%; max-width: none; }
/* text beside a plate: the plate on the right on wide screens, under the text on upright ones */
.duo { position: relative; display: flex; align-items: center; min-height: 100vh; min-height: 100svh; }
.duo > .pl { right: max(2vw, 10px); top: 50%; translate: 0 -50%; height: min(94svh, calc(50vw / var(--ar, .7464))); }
.duo__txt { position: relative; z-index: 2; width: min(38em, calc(100vw - 2 * var(--gut) - min(94svh * var(--ar, .7464), 50vw) * .86)); margin-left: var(--gut); padding: calc(env(safe-area-inset-top, 0px) + clamp(72px, 12svh, 130px)) 0 clamp(56px, 10svh, 110px); }
.duo__txt > * + * { margin-top: 1em; }
.duo__txt > .h2 + * { margin-top: clamp(18px, 2.8svh, 28px); }
.duo__txt p, .duo__txt li { font-size: clamp(18px, 1.3vw, 22px); font-weight: 500; line-height: 1.58; text-wrap: pretty; }
.duo__txt .btn { margin-top: clamp(22px, 3.6svh, 36px); }
.duo__txt a:not(.btn) { font-weight: 700; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.duo__txt ul { padding-left: 1.1em; }
.duo__txt ul li::marker { content: "■  "; font-size: .62em; }
.duo__txt ul li + li { margin-top: .35em; }
@media (max-aspect-ratio: 5/4) {
  .duo { flex-direction: column; align-items: stretch; min-height: 0; }
  .duo__txt { width: auto; margin: 0; padding: 72px var(--gut) 0; }
  .duo > .pl { position: relative; right: auto; top: auto; translate: none; align-self: center; width: min(100vw, 620px); height: auto; margin: 8px 0 24px; }
  .duo--first > .pl { order: -1; margin: 0; }
}
/* the first screen of a search page: the H1 and the answer first */
.duo .lead__h + .lead__sum { margin-top: clamp(20px, 3.4svh, 36px); }
.duo--lead .duo__txt { padding-top: calc(env(safe-area-inset-top, 0px) + clamp(96px, 14svh, 140px)); }
@media (max-aspect-ratio: 5/4) { .duo--lead .duo__txt { padding-top: calc(env(safe-area-inset-top, 0px) + 92px); } }
/* a wide studio row under the text (the five bottles) */
.rowpl { position: relative; z-index: 1; display: block; width: min(100%, 1500px); height: auto; margin: clamp(24px, 4svh, 48px) auto 0; }
/* a wordless photograph sheet that covers its screen */
.bleed { position: relative; height: 86vh; height: 86svh; min-height: 420px; }
.bleed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-aspect-ratio: 5/4) { .bleed { height: auto; min-height: 0; } .bleed img { position: relative; height: auto; } }
/* the pour on the first screen of /gira/: on upright screens it comes first, under the header */
.pour--lead .pour__txt { padding-top: calc(env(safe-area-inset-top, 0px) + clamp(96px, 14svh, 140px)); }
@media (max-aspect-ratio: 5/4) { .pour--lead .pour__txt { padding-top: 0; } }
/* the Darulis line on a search page's last sheet */
.end__txt p:not(.end__line) { margin-top: clamp(16px, 2.6svh, 28px); font-size: clamp(18px, 1.35vw, 24px); font-weight: 600; line-height: 1.5; }

/* ---------- legal pages (markup by the platform builder): the cookie table and the settings row ---------- */
.doc__col { padding-top: calc(env(safe-area-inset-top, 0px) + clamp(64px, 9svh, 96px)); }
.doc__table { margin-top: 1em; }
.doc__table table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0 3px; font-size: 16px; line-height: 1.4; }
.doc__table th, .doc__table td { padding: 10px 12px; text-align: left; vertical-align: top; overflow-wrap: anywhere; font-weight: 500; }
.doc__table thead th { background: var(--cobalt); color: var(--cream); font-weight: 800; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.doc__table thead th:first-child { border-radius: 3px 0 0 3px; } .doc__table thead th:last-child { border-radius: 0 3px 3px 0; }
.doc__table tbody th { font-weight: 800; }
.doc__table tbody tr:nth-child(odd) > * { background: rgb(31 58 158 / .07); }
.doc__table tbody tr:nth-child(even) > * { background: rgb(31 58 158 / .03); }
@media (max-width: 599px) {
  .doc__table table, .doc__table tbody, .doc__table tr, .doc__table th, .doc__table td { display: block; }
  .doc__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .doc__table tbody tr { margin-bottom: 8px; padding: 6px 0; border-radius: 3px; }
  .doc__table tbody tr > * { background: none !important; padding: 3px 14px; }
  .doc__table tbody tr:nth-child(odd) { background: rgb(31 58 158 / .07); }
  .doc__table tbody tr:nth-child(even) { background: rgb(31 58 158 / .035); }
  .doc__table tbody th { padding-top: 8px; font-size: 18px; }
  .doc__table td::before { display: block; font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
  .doc__table td:nth-of-type(1)::before { content: "Kieno"; }
  .doc__table td:nth-of-type(2)::before { content: "Kam"; }
  .doc__table td:nth-of-type(3)::before { content: "Kiek laiko"; }
  .doc__table td:last-child { padding-bottom: 8px; }
}
.doc__act { margin-top: 1.1em; }
/* the settings button on a legal page is a quiet action: the filled style belongs to "Rezervuok dėžę" alone */
.doc__act .btn {
  height: 48px;
  padding: 0 20px;
  border: 2px solid var(--cobalt);
  background: transparent;
  color: var(--cobalt);
  box-shadow: none;
  font-size: 15px;
  letter-spacing: .1em;
}
.doc__act .btn::before, .doc__act .btn::after { display: none; }
@media (hover: hover) { .doc__act .btn:hover { transform: none; box-shadow: none; background: rgb(31 58 158 / .08); } }
.doc__act .btn:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
.ar-p { --ar: .7464; } .ar-b { --ar: .8051; } .ar-c { --ar: 1.3727; } .ar-s { --ar: 1; }
.pour__txt .h2 + p { margin-top: clamp(18px, 2.8svh, 28px); }
.pour__txt p:not(.sumtxt) { font-size: clamp(18px, 1.3vw, 22px); font-weight: 500; line-height: 1.58; text-wrap: pretty; }
.pour__txt p:not(.sumtxt) + p { margin-top: 1em; }
.ph--lead .ph__say { top: calc(env(safe-area-inset-top, 0px) + clamp(100px, 14svh, 140px)); }
.ph--lead .lead__sum { color: var(--cream); }
.art--after { padding-top: clamp(28px, 5svh, 56px); }
.ph--text .ph__say { width: min(40em, calc(100vw - 2 * var(--gut) - min(100svh * var(--ar), 60vw) * .86)); }
.ph__p--s { font-size: clamp(18px, 1.3vw, 23px); font-weight: 500; line-height: 1.55; max-width: 34em; }
.bleed--carry img { object-position: 50% 62%; }
.sheet--sky.bleed { background: var(--sky); }
/* the photograph sheet keeps its picture at most 60% of the width, so the text beside it has room */
.ph__img { height: min(100%, calc(60vw / var(--ar))); }
.ph__say { width: min(46vw, calc(100vw - 2 * var(--gut) - min(100svh * var(--ar), 60vw) * .9)); }
@media (max-aspect-ratio: 5/4) { .ph__img { height: auto; } .ph__say { width: auto; } .ph--text .ph__say { width: auto; } }
.pp__h { font-size: clamp(28px, min(5.3vw, 8.2svh), 112px); }
@media (max-aspect-ratio: 5/4) { .pp__h { font-size: clamp(28px, 10.2vw, 76px); } }
.inb .h2 { font-size: clamp(24px, min(2.2vw, 4.4svh), 40px); }
.four li { font-size: clamp(32px, min(4vw, 7svh), 76px); }
/* contact: the photograph covers the screen; on wide screens the text sits on its dark street, on upright ones above it */
.kt { min-height: 100vh; min-height: 100svh; }
.kt .ph__img { object-position: 60% 62%; }
.kt .ph__say { top: calc(env(safe-area-inset-top, 0px) + clamp(100px, 14svh, 140px)); width: min(34vw, 560px); }
@media (max-aspect-ratio: 5/4) {
  .kt { min-height: 0; }
  .kt .ph__img { width: 100%; height: auto; margin-top: 18px; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%); mask-image: linear-gradient(to bottom, transparent, #000 18%); }
  .kt .ph__say { width: auto; padding-top: calc(env(safe-area-inset-top, 0px) + 92px); }
}
.doc .sheet--cream > .doc__col--gone { min-height: 62svh; }
/* round 3 */
.bleed img { object-position: 50% 60%; }
.ph--lead .lead__h { font-size: clamp(28px, min(3.5vw, 6.6svh), 78px); overflow-wrap: normal; }
.lead__h { overflow-wrap: normal; hyphens: manual; }
.art p, .art li { font-size: clamp(18px, 1.32vw, 23px); }
@media (max-aspect-ratio: 5/4) {
  .duo > .pl { order: 2; }
  .duo--first > .pl { order: -1; }
  .ph--lead .lead__h { font-size: clamp(26px, 8.6vw, 60px); }
}
@media (max-aspect-ratio: 5/4) {
  .ph--lead .ph__say, .kt .ph__say { top: auto; }
  .ph--lead .lead__h { font-size: clamp(24px, 7.9vw, 60px); }
  .lead__h { font-size: clamp(26px, 8.2vw, 60px); }
}
.menu__nav a { font-size: clamp(22px, min(7.4vw, 6.8svh), 76px); }
.doc__h { font-size: clamp(26px, min(8.2vw, 8svh), 64px); }
/* headings sized by their own text box, so the longest Lithuanian word (NEALKOHOLINIS) always fits */
.art, .duo__txt, .how__txt, .inb__txt, .pour__txt, .ph__say, .faq, .doc__col { container-type: inline-size; }
.h2 { font-size: clamp(24px, min(3.4vw, 6.4svh, 8.6cqi), 58px); }
.lead__h { font-size: clamp(24px, min(4.4vw, 8.2svh, 8.6cqi), 88px); }
.ph--lead .lead__h { font-size: clamp(24px, min(3.6vw, 6.6svh, 8.6cqi), 78px); }
.ph__h2 { font-size: clamp(28px, min(4.6vw, 8.6svh, 10.6cqi), 96px); }
.doc__h { font-size: clamp(24px, min(4.4vw, 8svh, 9.4cqi), 64px); }
@media (max-aspect-ratio: 5/4) {
  .h2 { font-size: clamp(24px, min(7.8vw, 8.6cqi), 46px); }
  .lead__h, .ph--lead .lead__h { font-size: clamp(24px, min(8.2vw, 8.6cqi), 60px); }
  .ph__h2 { font-size: clamp(28px, min(9vw, 10.6cqi), 64px); }
}
@media (max-width: 340px) { .hero__say .what { font-size: 17px; } }
/* wide screens: the text boxes and their type grow with the window */
.duo__txt { width: min(max(38em, 38vw), calc(100vw - 2 * var(--gut) - min(94svh * var(--ar, .7464), 50vw) * .86)); }
.pour__txt { width: min(max(36em, 36vw), calc(100vw - 2 * var(--gut) - 100svh * var(--ar) * .78)); }
.lead__sum { font-size: clamp(18px, 1.24vw, 30px); }
.duo__txt p, .duo__txt li, .pour__txt p:not(.sumtxt) { font-size: clamp(18px, 1.24vw, 28px); }
.art { width: min(100%, calc(max(44rem, 40vw) + 2 * var(--gut))); }
.art p, .art li { font-size: clamp(18px, 1.24vw, 28px); }
.ph--lead .ph__say { width: min(max(40em, 34vw), calc(100vw - 2 * var(--gut) - min(100svh * var(--ar), 60vw) * .9)); }
.ph__p--s { font-size: clamp(18px, 1.24vw, 28px); max-width: none; }
.kt .ph__say { width: min(44vw, 900px); }
.faq { width: min(100%, calc(max(46rem, 40vw) + 2 * var(--gut))); }
.faq summary { font-size: clamp(19px, 1.3vw, 28px); }
.faq__a p { font-size: clamp(18px, 1.2vw, 26px); }
.tbl { font-size: clamp(17px, 1.1vw, 24px); }
@media (max-aspect-ratio: 5/4) { .duo__txt, .pour__txt, .ph--lead .ph__say, .kt .ph__say { width: auto; } }
@media (max-aspect-ratio: 5/4) { .ph--lead .ph__say { padding-top: calc(env(safe-area-inset-top, 0px) + 92px); } }
.slip__two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 379px) { .slip__two { grid-template-columns: 1fr; } }
@media (max-width: 1179px) { .slip { bottom: calc(env(safe-area-inset-bottom, 0px) + max(4.5svh, 22px) + 56px + 14px); } }
@media (max-aspect-ratio: 5/4) { .how { align-items: stretch; } }
/* tables on the amber paper: lighter rows, so cobalt text keeps its contrast */
.sheet--amber .tbl tbody tr:nth-child(odd) > * { background: rgb(255 255 255 / .34); }
.sheet--amber .tbl tbody tr:nth-child(even) > * { background: rgb(255 255 255 / .2); }
@media (max-width: 719px) {
  .sheet--amber .tbl tbody tr:nth-child(odd) { background: rgb(255 255 255 / .34); }
  .sheet--amber .tbl tbody tr:nth-child(even) { background: rgb(255 255 255 / .2); }
}
.ph--land { --ar: 1.3396; }
.kt .ph__img { object-position: 50% 50%; }
.kt .ph__say { width: min(40vw, 760px); }
@media (max-aspect-ratio: 5/4) { .kt .ph__say { width: auto; } }

/* =========================================================
   ROUND 2 (review of 2026-11-30)
   ========================================================= */
/* the action in the header row on the search pages, beside the pennant */
.hd__act { display: none; }
.with-act .hd__act {
  display: inline-flex;
  position: absolute;
  top: calc(env(safe-area-inset-top, 0px) + clamp(14px, 2.4svh, 24px));
  right: calc(clamp(10px, 2.2vw, 40px) + clamp(76px, 6vw, 92px) + clamp(10px, 1.4vw, 24px));
  height: clamp(42px, 4.6svh, 50px);
  padding: 0 clamp(14px, 1.4vw, 24px);
  font-size: clamp(13px, .95vw, 16px);
}
.top-dark .hd__act {
  --accent: 251 248 241; --fg: 31 58 158; --ring: 254 162 50; --lift: 0 4px 10px rgb(0 0 0 / .28);
  background: linear-gradient(rgb(255 255 255 / .4), rgb(0 0 0 / .04)), rgb(var(--accent));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .9), inset 0 -1.5px 3px rgb(0 0 0 / .14), var(--lift);
}
@media (max-width: 420px) {
  .with-act .hd__act { letter-spacing: .08em; padding: 0 12px; right: calc(10px + 76px + 8px); }
  .with-act .hd__mark { width: 80px; }
}
@media (max-width: 379px) { .with-act .hd__home { display: none; } }

/* the pennant's focus: a clear ring */
.menu__tab:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.top-dark .menu__tab:focus-visible, .menu[open] .menu__tab:focus-visible { outline-color: var(--cream); }
.menu__tab:focus-visible .menu__open, .menu__tab:focus-visible .menu__shut { text-decoration: none; }

/* plates: a baked plate already ends in the sheet colour; a field plate is the home page's build */
.pl > .pl__img { width: 100%; height: 100%; }
.duo__txt { width: min(max(38em, 38vw), calc(100vw - 2 * var(--gut) - min(94svh * var(--ar, .7464), 50vw) - 2vw)); }
.pour .pour__img { height: 100vh; height: 100svh; }
.pour__txt { width: min(max(36em, 36vw), calc(100vw - 2 * var(--gut) - 100svh * var(--ar) - 2vw)); }
/* the comparison page opens on type and the two legal marks */
.pl--fig { margin: 0; aspect-ratio: auto; right: var(--gut) !important; width: min(42vw, 620px); height: auto !important; }
.pl--fig svg { display: block; width: 100%; height: auto; overflow: visible; }
.pl--fig .fig-n { display: none !important; }
.duo--marks .duo__txt { width: min(max(36em, 36vw), calc(100vw - 2 * var(--gut) - min(42vw, 620px) - 4vw)); }
.svg-big { font-weight: 900; font-stretch: 125%; }

/* product page: the bottle beside the loaf stands under the line */
.pp__stage { align-items: center; }
.pp__pl { position: relative; height: 100%; width: auto; max-width: 100%; }
/* what is in the bottle, beside the caps */
.inb--caps { --ar: 1; }
.inb--caps .inb__img { height: min(86svh, 50vw); width: auto; }
.inb--caps .inb__txt { width: min(44vw, calc(100vw - 2 * var(--gut) - min(86svh, 50vw) - 2vw)); }
/* the close of the product page: one line and the action over the five bottles */
.endrow { position: relative; z-index: 2; padding: clamp(64px, 11svh, 120px) var(--gut) clamp(16px, 3svh, 40px); text-align: center; }
.endrow__txt { max-width: 34em; margin: 0 auto; }
.endrow__txt .btn { margin-top: clamp(22px, 3.6svh, 36px); }
.endrow .rowpl { margin-top: clamp(8px, 2svh, 24px); }
/* an inline studio plate in an article, its paper already the sheet's */
.inpl { display: block; width: 100%; height: auto; margin: clamp(24px, 4svh, 44px) 0 !important; }
/* photograph sheets that show the whole frame */
.bleed { height: auto; min-height: 0; }
.bleed img { position: relative; inset: auto; width: 100%; height: auto; object-fit: initial; }
/* the daylight sheet continues the photograph's own sky, row by row */
.sheet--sky.ph { background: var(--sky) url("/assets/ph/sky-edge.png") 0 0 / 100% 100% no-repeat; }
.ph--end .ph__say .btn { margin-top: clamp(20px, 3svh, 32px); }
/* a measure of about 68 characters on the search pages */
.art p, .art li, .duo__txt p, .duo__txt li, .pour__txt p, .lead__sum, .ph__p--s { max-width: 68ch; }

@media (max-aspect-ratio: 5/4) {
  .sheet--sky.ph { background: var(--sky); }
  .duo__txt, .duo--marks .duo__txt { width: auto; }
  /* phones open on the picture or the figure, the H1 and the answer under it */
  .duo--first > .pl { order: -1; align-self: center; margin: 0; width: min(100vw, calc(52svh * var(--ar, .7464))); }
  .duo--first .duo__txt { padding-top: 18px; }
  .duo--marks > .pl--fig { position: relative; right: auto !important; top: auto; translate: none; width: auto; margin: calc(env(safe-area-inset-top, 0px) + 92px) var(--gut) 0; }
  .pl--fig .fig-m { display: none !important; }
  .pl--fig .fig-n { display: block !important; max-width: 460px; }
  .pour--lead .pour__img { width: min(100%, calc(56svh * var(--ar))); margin-left: auto; }
  .pour .pour__img { height: auto; }
  .inb__txt { padding-bottom: 56px; }
  .inb--caps .inb__img { height: auto; width: min(100vw, 560px); }
  .inb--caps .inb__txt { width: auto; }
  .pp__pl { height: 100%; }
}

/* low windows held sideways: the cookie slip sits compact in the middle, clear of the line and the action */
@media (max-height: 520px) and (min-aspect-ratio: 5/4) {
  .slip { top: 50%; bottom: auto; translate: -50% -50%; width: min(620px, calc(100vw - 2 * var(--gut))); grid-template-columns: 1fr auto; gap: 8px 14px; padding: 12px 16px; }
  .slip__txt { grid-column: 1 / -1; font-size: 15px; }
  .slip__two .pick { height: 42px; }
  .slip__more { align-self: center; }
}
.pp__h, .pp__base { position: relative; z-index: 2; }
.pp__pl { z-index: 1; }
@media (max-aspect-ratio: 5/4) {
  .pour__txt { width: auto; }
  .pp__pl { height: auto; width: min(100%, calc(50svh * .8051)); }
  .pp__stage { align-items: center; }
}
@media (max-aspect-ratio: 5/4) { .pour__txt { margin-top: -4vw; } }
/* home crate verdict on sideways phones and small laptops: it wraps clear of the action */
@media (min-aspect-ratio: 5/4) and (max-width: 1100px) { .crate__head { white-space: normal; max-width: calc(100vw - 2 * var(--gut) - 300px); } }
/* sky sheets whose text runs below the deep sky (low windows, the closing sheet): the deep sky colour and a longer fade */
.ph__line { font-size: clamp(34px, min(5.4vw, 10svh), 100px); }
@media (min-aspect-ratio: 5/4) and (max-height: 640px) { .sheet--sky.ph { background: var(--sky); } .sheet--sky.ph .ph__img { --fl: 42%; } }
@media (min-aspect-ratio: 5/4) { .sheet--sky.ph--end { background: var(--sky); } .ph--end .ph__img { --fl: 42%; } }
/* contact: a smaller photograph beside the text, and on low windows the text above it */
.kt .ph__img { height: min(100%, calc(55vw / var(--ar))); }
.kt .ph__say { width: min(760px, 40vw, calc(100vw - 2 * var(--gut) - min(100svh * var(--ar), 55vw) - 2vw)); }
.kt__reach a { font-size: clamp(24px, min(2.6vw, 5svh), 52px); }
@media (min-aspect-ratio: 5/4) and (max-height: 500px) {
  .kt { display: flex; flex-direction: column; min-height: 0; }
  .kt .ph__say { position: relative; top: auto; width: auto; padding: calc(env(safe-area-inset-top, 0px) + 84px) var(--gut) 0; }
  .kt .ph__img { position: relative; align-self: flex-end; width: min(100%, 70vw); height: auto; margin-top: 12px; }
}
/* the closing sky sheet opens on its picture on phones */
@media (max-aspect-ratio: 5/4) { .ph--end .ph__img { order: -1; margin-top: 0; } .ph--end .ph__say { padding-top: 28px; padding-bottom: 40px; } .duo--first:not(.duo--lead) > .pl { margin-top: 0; } }
.fig-d--first + p, .fig-d + p { margin-top: clamp(24px, 4svh, 40px) !important; }
@media (max-aspect-ratio: 5/4) {
  .art { padding-top: 56px; padding-bottom: 56px; }
  .duo__txt { padding-top: 56px; }
  .duo { padding-bottom: 8px; }
  .faq { padding-top: 56px; padding-bottom: 56px; }
}
@media (max-aspect-ratio: 5/4) { .kt .ph__say { width: auto; } .kt .ph__img { height: auto; } }

/* =========================================================
   ROUND 3 (review of 2026-11-30)
   ========================================================= */
/* narrow phones keep the wordmark in the header; the action moves under the H1 there */
.lead__act { display: none; }
@media (max-width: 420px) {
  .with-act .hd__act { display: none; }
  .with-act .hd__home { display: block; }
  .with-act .hd__mark { width: clamp(100px, 8vw, 140px); }
  .with-act .lead__act { display: inline-flex; margin-top: 18px; }
  .with-act .lead__act + .lead__sum { margin-top: 22px; }
}
/* the last line of a sheet keeps the same 56 px to the sheet's edge everywhere */
@media (max-aspect-ratio: 5/4) {
  .duo--first .duo__txt { padding-bottom: 56px; }
  .pour { padding-bottom: 56px; }
  .ph--end .ph__say { padding-bottom: 56px; }
}
/* contact on sideways phones: the heading, the phone and the action first, the photograph under them */
@media (min-aspect-ratio: 5/4) and (max-height: 500px) { .kt .ph__img { order: 2; } }
/* the product's first screen on sideways phones and low windows: everything inside the window */
@media (min-aspect-ratio: 5/4) and (max-height: 560px) {
  .pp__hero { height: 100vh; height: 100svh; min-height: 300px; padding-top: calc(env(safe-area-inset-top, 0px) + 66px); row-gap: 8px; }
  .pp__h { font-size: clamp(24px, min(5.3vw, 9svh), 112px); }
}
/* low windows held sideways: a plate beside long text sits under the header, inside the window */
@media (min-aspect-ratio: 5/4) and (max-height: 560px) {
  .duo > .pl:not(.pl--fig) { top: calc(env(safe-area-inset-top, 0px) + 60px); translate: none; height: min(calc(100svh - 68px), calc(50vw / var(--ar, .7464))); }
}
