/* =========================================================
   1329 — extra virgin olive oil
   Type system taken from the bottle label:
     logo   Garet bold, tracking 18
     name   Garet bold, tracking 120
     text   Special Elite, tracking 50–100
   Garet Bold is self-hosted from /fonts.
   ========================================================= */

@font-face {
  font-family: 'Garet';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Garet-Bold.woff2') format('woff2');
}

:root {
  --paper: #e7e3d8;   /* brand background */
  --label: #e7e3d8;   /* label = same paper */
  --ink: #291600;     /* brand text */
  --ink-soft: #5b4a3a;
  --mute: #9a9087;
  --line: #291600;

  --display: 'Garet', 'Helvetica Neue', Arial, sans-serif;
  --type: 'Special Elite', 'Courier New', Courier, monospace;

  --gutter: clamp(16px, 4vw, 56px);   /* where the vertical rules sit */
  --inset: clamp(20px, 3vw, 44px);    /* breathing room inside the rules */
  --pad: calc(var(--gutter) + var(--inset));
  --head: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--head); }
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--type);
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: .06em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0; }
figure { margin: 0; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 1px dashed var(--ink); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- the frame: two hairlines, full height, like the label ---------- */
.frame {
  position: fixed; inset: 0 var(--gutter);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  pointer-events: none;
  z-index: 40;
}

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

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  height: var(--head);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  background: var(--paper);
  transition: box-shadow .3s;
}
.top.is-scrolled { box-shadow: inset 0 -1px 0 var(--line); }
.logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .018em;
}
.top__nav { display: flex; gap: clamp(14px, 2.6vw, 40px); font-size: 14px; }
.top__nav a, .bag-toggle { position: relative; }
.top__nav a::after, .bag-toggle::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: currentColor;
  transition: right .35s var(--ease);
}
.top__nav a:hover::after, .bag-toggle:hover::after { right: 0; }

/* ---------- the 1329 mark: a soft, solid gold ---------- */
.logo, .hero__logo, .label__logo, .pdp__logo {
  width: fit-content;
  color: #a88c58;
}
.hero__logo, .label__logo { align-self: flex-start; }

/* ---------- shared type ---------- */
.t-small { font-size: 12.5px; letter-spacing: .1em; padding: 12px 0; }

.spec {
  display: grid; grid-template-columns: max-content 1fr;
  column-gap: 2.2em; row-gap: .1em;
  margin: 0; padding: 16px 0;
  font-size: 13px; letter-spacing: .1em;
}
.spec dd { margin: 0; }

.section-head {
  display: grid; grid-template-columns: 4em 1fr auto; align-items: baseline; gap: 16px;
  padding: 18px var(--pad);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head__no { font-size: 12px; color: var(--mute); }
.section-head__title {
  margin: 0;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(22px, 3vw, 36px);
  letter-spacing: .12em; text-transform: uppercase;
  line-height: 1.1;
}
.section-head__meta { font-size: 12px; letter-spacing: .1em; color: var(--ink-soft); text-align: right; }

.btn {
  display: block; width: 100%;
  padding: 18px 20px;
  background: var(--ink); color: var(--paper);
  font-size: 14px; letter-spacing: .14em; text-align: center;
  transition: background .3s, color .3s;
}
.btn:hover { background: var(--ink-soft); }
.btn:disabled { background: var(--mute); cursor: not-allowed; }

figcaption { font-size: 11.5px; letter-spacing: .1em; color: var(--ink-soft); padding-top: 10px; }

.bw { filter: grayscale(1) contrast(1.05); }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  min-height: calc(100svh - var(--head));
  border-top: 1px solid var(--line);
}
.hero__text {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 48px var(--inset) 48px var(--pad);
}
.hero__logo {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(88px, 15vw, 230px);
  line-height: .82;
  letter-spacing: .018em;
  margin-left: -.04em;
  animation: rise 1.2s var(--ease) both;
}
.hero__title {
  margin: 22px 0 22px;
  font-family: var(--type); font-weight: 400;
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.2; letter-spacing: .08em;
  animation: rise 1.2s .12s var(--ease) both;
}
.hero__text .rule { margin-left: calc(var(--pad) * -1); }
.hero__cta { display: inline-block; padding-top: 18px; font-size: 14px; align-self: flex-start; border-bottom: 1px solid transparent; transition: border-color .3s; }
.hero__cta:hover { border-color: var(--ink); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0 24px; }
.hero__image {
  position: relative;
  border-left: 1px solid var(--line);
  overflow: hidden;
}
.hero__image img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
  /* hero stays in colour: the evening light is the point */
  animation: reveal 1.6s var(--ease) both;
}
.hero__image figcaption {
  position: absolute; left: 0; bottom: 0;
  padding: 8px 14px; background: var(--paper); color: var(--ink);
}

@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes reveal { from { opacity: 0; transform: scale(1.06); } }

/* ---------- bottle + label ---------- */
.bottle { position: relative; width: 100%; aspect-ratio: 305 / 645; }
.bottle__glass { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(41, 22, 0, .14)); }
.bottle .label { position: absolute; left: .8%; width: 97.4%; top: 43.62%; }

/* the label is laid out in container units so it is identical at any size */
.label {
  container-type: inline-size;
  aspect-ratio: 945 / 768;
  background: var(--label);
  color: var(--ink);
  font-family: var(--type);
  line-height: 1;
  overflow: hidden;
}
.label > * {
  position: relative;
  margin: 0 11.7% 0 11.9%;
  border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  padding-left: 2.8cqw;
}
/* the four rows add up to the label's height (81cqw), so nothing is cut off */
.label__top { height: 29.5cqw; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 3cqw; }
.label__logo { font-family: var(--display); font-weight: 700; font-size: 5.6cqw; letter-spacing: .018em; }
.label__name {
  font-family: var(--display); font-weight: 700;
  font-size: 9cqw; letter-spacing: .12em; line-height: 1.05; margin-top: 1cqw;
  white-space: nowrap;
}
.label--long .label__name { font-size: 6.6cqw; letter-spacing: .1em; }
.label__line { font-size: 4.6cqw; letter-spacing: .08em; margin-top: 1.4cqw; white-space: nowrap; }
.label__row {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  height: 8cqw; display: flex; align-items: center;
  font-size: 3.15cqw; letter-spacing: .1em; white-space: nowrap;
}
.label__info {
  display: grid; grid-template-columns: 32.5cqw 1fr;
  height: 29.5cqw; align-content: center;
  font-size: 3.15cqw; letter-spacing: .08em; line-height: 1.68; white-space: nowrap;
}
.label__info dd { margin: 0; }
.bottle--500 .label__info { grid-template-columns: 25cqw 1fr; font-size: 2.85cqw; letter-spacing: .02em; }
.label__size {
  border-top: 1px solid var(--line);
  height: 14cqw; padding-top: 2.6cqw;
  font-size: 5.7cqw; letter-spacing: .05em; white-space: nowrap;
}
/* hairlines get too heavy on tiny labels — soften */
.oil .label, .line .label { --line: rgba(41, 22, 0, .75); }

/* ---------- oils ---------- */
.oils__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0 var(--gutter);
}
.oil {
  display: flex; flex-direction: column;
  border-right: 1px solid var(--line);
}
.oil:last-child { border-right: 0; }
.oil__media {
  display: flex; align-items: flex-end; justify-content: center;
  aspect-ratio: 4 / 3;
  padding: 8% 8% 7%;
  overflow: hidden;
}
.oil__media > .bottle { width: 24%; }
.oil__media > .bottle, .oil__media > .trio { transition: transform .8s var(--ease); }
.oil__media:hover > .bottle, .oil__media:hover > .trio { transform: translateY(-10px); }
.trio { display: flex; justify-content: center; align-items: flex-end; gap: 4%; width: 100%; }
.oil__media .trio .bottle { width: 20%; }
.oil__lead { font-size: 13px; color: var(--ink-soft); letter-spacing: .06em; }
.oil__meta {
  border-top: 1px solid var(--line);
  padding: 18px var(--inset) 26px;
  display: grid; gap: 6px;
}
.oil__name {
  margin: 0;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(14px, 1.3vw, 18px); letter-spacing: .12em;
}
.oil__row { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-soft); }
.oil__add { justify-self: start; margin-top: 8px; font-size: 13px; letter-spacing: .1em; border-bottom: 1px solid var(--ink); padding-bottom: 1px; transition: opacity .3s; }
.oil__add:hover { opacity: .55; }
.oil__add:disabled { opacity: .4; border-color: transparent; cursor: default; }
.is-sold-out .bottle { opacity: .5; }

/* ---------- image pair ---------- */
.pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--inset);
  padding: clamp(64px, 10vw, 140px) var(--pad);
  border-top: 1px solid var(--line);
}
.pair img { width: 100%; height: auto; }
.pair__offset { margin-top: clamp(48px, 12vw, 180px); }

/* ---------- estate ---------- */
.estate__wrap {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 6fr);
  margin: 0 var(--gutter);
}
.estate__photo {
  position: sticky; top: var(--head); align-self: start;
  padding: clamp(40px, 6vw, 88px) var(--inset);
}
/* whole picture, never cropped: tall photos shrink to fit the screen while the column stays pinned */
.estate__photo img { width: auto; height: auto; max-width: 100%; max-height: calc(100svh - var(--head) - 120px); }
/* two portraits side by side in the pinned column, stepped like .pair */
.estate__photo--duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); align-items: start; }
.estate__photo--duo figure + figure { margin-top: clamp(24px, 6vw, 88px); }
.estate__body {
  max-width: 62ch;
  border-left: 1px solid var(--line);
  padding: clamp(56px, 9vw, 120px) var(--inset);
  display: grid; gap: 1.6em; align-content: start;
  font-size: 15.5px;
}
.estate__lead { font-size: clamp(19px, 2vw, 25px); line-height: 1.55; letter-spacing: .05em; }

.bleed { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0 var(--gutter); }
.bleed img { width: 100%; height: clamp(320px, 78vh, 820px); object-fit: cover; }
.bleed figcaption { padding: 10px var(--inset); }

/* ---------- method ---------- */
.method { padding-top: clamp(56px, 8vw, 100px); }
.sheet { margin: 0; padding: 0 var(--gutter); }
.sheet > div {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px;
  padding: 16px var(--inset);
  border-bottom: 1px solid var(--line);
  font-size: 14.5px; letter-spacing: .08em;
}
.sheet dt { color: var(--ink-soft); }
.sheet dd { margin: 0; }
.sheet__note { margin: 8px 0 0; max-width: 52ch; font-size: 13.5px; line-height: 1.5; letter-spacing: .03em; color: var(--ink-soft); }
.sheet__note + .sheet__note { margin-top: 4px; }

.strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  margin: clamp(56px, 8vw, 100px) var(--gutter) 0;
  background: var(--line);
  border-top: 1px solid var(--line);
}
.strip img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); }
.foot__letters, .foot__info { padding: clamp(48px, 7vw, 88px) var(--pad); }
.foot { display: grid; grid-template-columns: 1fr 1fr; }
.foot__info { border-left: 1px solid var(--line); margin: 0; display: grid; align-content: start; gap: 10px; font-size: 14px; }
.foot__info > div { display: grid; grid-template-columns: 8em 1fr; }
.foot__info dt { color: var(--ink-soft); }
.foot__info dd { margin: 0; }
.foot__info a { border-bottom: 1px solid var(--ink); }
.foot__title {
  margin: 0 0 14px;
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(18px, 2vw, 24px); letter-spacing: .12em;
}
.letters { display: flex; margin-top: 28px; border-bottom: 1px solid var(--ink); max-width: 440px; }
.letters input {
  flex: 1; min-width: 0;
  background: transparent; border: 0; outline: 0;
  font: inherit; color: var(--ink); letter-spacing: .06em;
  padding: 10px 0;
}
.letters input::placeholder { color: var(--mute); }
.letters button { padding: 10px 0 10px 16px; white-space: nowrap; }
.letters__note { margin-top: 28px; }
.foot__base {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 18px var(--pad);
  border-top: 1px solid var(--line);
  font-size: 12px; color: var(--ink-soft);
}

/* ---------- product page ---------- */
.pdp { border-top: 1px solid var(--line); }
.pdp__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  margin: 0 var(--gutter);
}
.pdp__media {
  display: flex; align-items: center; justify-content: center;
  padding: 40px var(--inset);
  background: var(--label);
  position: sticky; top: var(--head); align-self: start;
  height: calc(100svh - var(--head));
}
.pdp__media > .bottle { width: min(78%, calc((100svh - 160px) * 305 / 645)); animation: rise 1s var(--ease) both; }
.pdp__media .trio .bottle { width: min(30%, calc((100svh - 200px) * 305 / 645 * .82)); animation: rise 1s var(--ease) both; }
.pdp__info {
  display: flex; flex-direction: column;
  padding: 32px var(--inset) 56px;
  border-left: 1px solid var(--line);
}
.pdp__info > * { max-width: 520px; }
.pdp__info > .rule { max-width: none; }
.pdp__crumb { font-size: 12px; letter-spacing: .1em; color: var(--ink-soft); margin-bottom: 28px; }
.pdp__crumb a { border-bottom: 1px solid currentColor; }
.pdp__lead { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.55; padding-bottom: 22px; }
.pdp__rule-gap { margin-top: 28px !important; }
.pdp__back { padding-top: 20px; }
.pdp__info .rule { margin: 0 calc(var(--inset) * -1); }
.pdp__logo { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: .018em; }
.pdp__title {
  margin: 6px 0 4px;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(30px, 3.6vw, 52px); letter-spacing: .12em; line-height: 1.05;
}
.pdp__line { font-size: clamp(17px, 1.6vw, 21px); letter-spacing: .08em; margin-bottom: 22px; }
.pdp__note { padding: 18px 0; display: grid; gap: 1em; }
.ore { list-style: none; margin: 0; padding: 18px 0; display: grid; gap: 16px; }
.ore li { display: grid; gap: 2px; }
.ore__name { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .12em; }
.ore__face { font-size: 12.5px; letter-spacing: .1em; color: var(--ink-soft); }
.pdp__size { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: .05em; padding: 16px 0 8px; }
.pdp__buy { display: flex; justify-content: space-between; align-items: center; padding: 8px 0 24px; }
.pdp__price { font-size: 18px; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--ink); }
.qty button { width: 40px; height: 40px; font-size: 16px; }
.qty button:hover { background: rgba(41, 22, 0, .06); }
.qty output { min-width: 28px; text-align: center; }
.qty--sm button { width: 30px; height: 30px; font-size: 14px; }

/* ---------- bag ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(41, 22, 0, .25); opacity: 0; transition: opacity .35s; }
.scrim.is-open { opacity: 1; }
.bag {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 61;
  width: min(440px, 100vw);
  display: flex; flex-direction: column;
  background: var(--paper);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform .45s var(--ease);
}
.bag.is-open { transform: none; }
.bag__head { display: flex; justify-content: space-between; align-items: center; height: var(--head); padding: 0 24px; border-bottom: 1px solid var(--line); font-size: 14px; }
.bag__lines { flex: 1; overflow-y: auto; }
.bag__empty { padding: 40px 24px; line-height: 2.2; }
.bag__empty a { border-bottom: 1px solid var(--ink); }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.line__thumb > .bottle { width: 44px; margin: 0 auto; }
.line__thumb .trio { gap: 2px; }
.line__thumb .trio .bottle { width: 20px; }
.line__name { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .12em; }
.line__size { font-size: 12px; color: var(--ink-soft); margin-bottom: 8px; }
.line__price { font-size: 14px; align-self: start; }
.bag__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.bag__total { display: flex; justify-content: space-between; font-size: 15px; }
.bag__note { font-size: 12px; color: var(--ink-soft); }
.preorder { font-size: 13px; color: var(--ink-soft); margin-top: 12px; }
.oil__delivery { font-size: 12px; letter-spacing: .05em; color: var(--ink-soft); margin-top: 6px; }
.bag__msg { font-size: 13px; line-height: 1.6; }
.bag__msg a { border-bottom: 1px solid var(--ink); }

/* ---------- story chapters, hero line, tasting notes, lab sheet ---------- */
.estate__body img { width: 100%; height: auto; }
.ore__img { width: 100%; height: auto; margin: 10px 0 2px; }
.estate__h {
  margin: 1.2em 0 -.6em;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(16px, 1.6vw, 21px); letter-spacing: .12em; line-height: 1.2;
}
.hero__line { padding-top: 16px; font-size: 14px; }
.hero__cta { padding-top: 8px; }
.spec--taste { padding: 12px 0 4px; font-size: 12.5px; }
.pdp__info > .spec--taste { padding: 16px 0; }
.ore { gap: 26px; }
.estate__wrap + .sheet > div:first-child { border-top: 1px solid var(--line); }

/* ---------- site pages: statement, nav state, links ---------- */
.top__nav a[aria-current="page"]::after { right: 0; }
.more { border-bottom: 1px solid currentColor; padding-bottom: 1px; transition: opacity .3s; }
.more:hover { opacity: .55; }
.oil__name a:hover { opacity: .6; }
.statement {
  margin: 0 var(--gutter);
  padding: clamp(64px, 10vw, 140px) var(--inset);
  border-top: 1px solid var(--line);
  display: grid; gap: clamp(32px, 4vw, 56px);
  justify-items: start;
}
.statement__lead {
  max-width: 28em;
  font-size: clamp(22px, 3vw, 40px); line-height: 1.35; letter-spacing: .04em;
}
.statement__body { max-width: 62ch; display: grid; gap: 1.4em; font-size: 15.5px; }
.statement--plain { border-top: 0; padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.section-gap { margin-top: clamp(64px, 10vw, 120px); }

/* landing: three doors into the estate page */
.chapters {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 var(--gutter);
  border-top: 1px solid var(--line);
}
.chapter { display: grid; gap: 12px; align-content: start; padding: clamp(24px, 3vw, 40px) var(--inset) clamp(40px, 5vw, 64px); }
.chapter + .chapter { border-left: 1px solid var(--line); }
.chapter img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 8px; transition: opacity .4s; }
.chapter:hover img { opacity: .85; }
.chapter__title { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.chapter__text { font-size: 15px; line-height: 1.55; max-width: 34ch; }
.chapter__more { justify-self: start; font-size: 13px; }
.sheet--top > div:first-child { border-top: 1px solid var(--line); }

/* ---------- page opening for inner pages: type first, no logomark ---------- */
.page-head { margin: 0 var(--gutter); border-top: 1px solid var(--line); }
.page-head__title {
  margin: 0;
  padding: clamp(32px, 5vw, 72px) var(--inset) clamp(24px, 3vw, 44px);
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(34px, 7.2vw, 112px); line-height: 1; letter-spacing: .06em;
}
.page-head__intro {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--inset);
  padding: 0 var(--inset) clamp(32px, 4vw, 56px);
}
.page-head__kicker { font-size: 13px; letter-spacing: .1em; padding-top: .5em; }
.page-head__lead { max-width: 34em; font-size: clamp(18px, 1.9vw, 25px); line-height: 1.5; letter-spacing: .04em; }
.page-head__cta { display: inline-block; margin-top: 20px; font-size: 14px; }
.page-head__facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0; border-top: 1px solid var(--line);
}
.page-head__facts > div { padding: 14px var(--inset); font-size: 13px; letter-spacing: .08em; }
.page-head__facts > div + div { border-left: 1px solid var(--line); }
.page-head__facts dt { color: var(--ink-soft); }
.page-head__facts dd { margin: 0; }
.page-band { margin: 0 var(--gutter); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.page-band img { width: 100%; height: clamp(300px, 62vh, 700px); object-fit: cover; object-position: 50% 42%; }
.page-band figcaption { padding: 10px var(--inset); border-top: 1px solid var(--line); }
.page-band + section .section-head { border-top: 0; }

/* ---------- organic seals on the purchase screens ---------- */
.certs {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 20px;
}
.certs__usda { width: 44px; height: 44px; flex: none; }
.certs__eu { flex: none; }
.certs__eu img { display: block; width: 48px; height: 32px; }
.certs__eu p { margin-top: 4px; font-family: Arial, Helvetica, sans-serif; font-size: 8px; line-height: 1.3; letter-spacing: .02em; }
.certs__note { align-self: center; font-size: 11px; line-height: 1.5; letter-spacing: .08em; color: var(--ink-soft); }
/* narrow places (bag lines, phone grid cards): the note drops below the seals rather than overflowing */
.oil .certs, .line .certs { flex-wrap: wrap; }

/* ---------- buy module: a product set into the middle of a story ---------- */
.buy-slot { margin: 0 var(--gutter); }
.buy {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(41, 22, 0, .035);
}
.buy-slot + section .section-head { border-top: 0; }
.buy__media {
  display: flex; align-items: center; justify-content: center;
  padding: clamp(32px, 5vw, 64px) var(--inset);
  border-right: 1px solid var(--line);
}
.buy__media > .bottle { width: min(44%, 220px); }
.buy__media .trio { gap: 3%; }
.buy__media .trio .bottle { width: 30%; }
.buy__info { padding: clamp(32px, 5vw, 64px) var(--inset); align-self: center; max-width: 560px; }
.buy__kicker { font-size: 12px; letter-spacing: .1em; color: var(--ink-soft); }
.buy__title { font-size: clamp(22px, 2.6vw, 36px); margin: 10px 0 12px; }
.buy__lead { font-size: 15px; }
.buy__size { font-size: 13px; color: var(--ink-soft); padding: 12px 0 4px; }
.buy__more { display: inline-block; margin-top: 16px; font-size: 13px; }

/* ---------- packaging beyond the oil bottle: same label, different vessel ---------- */
.bottle--jar { aspect-ratio: 400 / 480; }
.bottle--jar .label { left: 7%; width: 86%; top: 28%; }
.bottle--sack { aspect-ratio: 400 / 600; }
.bottle--sack .label { left: 10%; width: 80%; top: 24%; }
.oil__media > .bottle--jar { width: 32%; }
.oil__media > .bottle--sack { width: 30%; }
.pdp__media > .bottle--jar { width: min(72%, calc((100svh - 200px) * 400 / 480)); }
.pdp__media > .bottle--sack { width: min(62%, calc((100svh - 160px) * 400 / 600)); }
.bottle--jar .label__info, .bottle--sack .label__info { font-size: 2.95cqw; letter-spacing: .04em; grid-template-columns: 26cqw 1fr; }

/* ---------- a grid of more than two products ---------- */
.oil:nth-child(2n) { border-right: 0; }
.oil:nth-child(n+3) { border-top: 1px solid var(--line); }
.oil__add--link { border-bottom: 1px solid var(--ink); text-decoration: none; }
.pdp__soon { padding: 4px 0 18px; }

/* ---------- scroll fade ---------- */
.fade { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.fade.is-in { opacity: 1; transform: none; }
.oils__grid .fade:nth-child(2) { transition-delay: .08s; }
.oils__grid .fade:nth-child(3) { transition-delay: .16s; }
.oils__grid .fade:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fade { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 640px) {
  .oils__grid { grid-template-columns: minmax(0, 1fr); }
  .oil { border-right: 0; }
  .oil:not(:last-child) { border-bottom: 1px solid var(--line); }
  .oil__media > .bottle { width: 28%; }
  .oil__media .trio .bottle { width: 23%; }
}

@media (max-width: 820px) {
  .chapters { grid-template-columns: minmax(0, 1fr); }
  .chapter + .chapter { border-left: 0; border-top: 1px solid var(--line); }
  :root { --head: 56px; --inset: 18px; }
  body { font-size: 14px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__image { order: -1; height: 62svh; border-left: 0; border-bottom: 1px solid var(--line); margin: 0 var(--gutter); }
  .hero__text { padding: 36px var(--pad) 40px; }
  .hero__text .rule { margin: 0 calc(var(--inset) * -1); }
  .section-head { grid-template-columns: 2.4em 1fr; }
  .section-head__meta { grid-column: 2; text-align: left; }
  .estate__wrap { grid-template-columns: minmax(0, 1fr); }
  .estate__photo { position: static; border-bottom: 1px solid var(--line); padding: 24px var(--inset) 20px; }
  .estate__photo img { width: 100%; max-height: none; }
  .estate__body { border-left: 0; padding: 40px var(--inset) 56px; }
  .pair { grid-template-columns: 1fr 1fr; gap: 12px; }
  .sheet > div { grid-template-columns: 1fr; gap: 2px; }
  .foot { grid-template-columns: minmax(0, 1fr); }
  .foot__info { border-left: 0; border-top: 1px solid var(--line); }
  .pdp__inner { grid-template-columns: 1fr; }
  .pdp__media { position: static; height: auto; border-bottom: 1px solid var(--line); padding: 40px var(--inset); }
  .pdp__media > .bottle { width: min(52%, 220px); }
  .pdp__media .trio .bottle { width: 28%; }
  .pdp__info { padding: 24px var(--inset) 48px; border-left: 0; }
  .buy { grid-template-columns: minmax(0, 1fr); }
  .buy__media { border-right: 0; border-bottom: 1px solid var(--line); }
  .oil:nth-child(n+3) { border-top: 0; }
  .page-head__intro { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .page-head__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-head__facts > div:nth-child(odd) { border-left: 0; }
  .page-head__facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pdp__media > .bottle--jar { width: min(62%, 280px); }
  .pdp__media > .bottle--sack { width: min(52%, 240px); }
  .statement__lead { font-size: clamp(20px, 5.4vw, 28px); }
}

@media (max-width: 480px) {
  .top__nav { gap: 16px; font-size: 13px; }
  .oil__meta { padding: 14px 12px 20px; }
  .foot__info > div { grid-template-columns: 6.5em 1fr; }
  .foot__base { flex-direction: column; gap: 4px; }
}
