/* Cupora v15 preview (v14 + new hero and taste images, freshness copy). Hand-written, no framework. */

:root {
  --forest: #0f1a13;
  --forest-2: #16261b;
  --green: #154734;
  --cream: #f5f1e8;
  --oat: #ece6d9;
  --gold: #c9a45c;
  --gold-ink: #7a5d1c;
  --ink: #1b231c;
  --muted: #5d655c;
  --line-dark: rgba(245, 241, 232, .14);
  --line-light: rgba(27, 35, 28, .14);
  --cream-soft: rgba(245, 241, 232, .74);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --gut: clamp(1.25rem, 5vw, 4rem);
  --sec: clamp(5rem, 10vw, 9.5rem);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --hdr-h: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--hdr-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, h4, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { list-style: none; padding: 0; }
a { color: inherit; }
i, em { font-style: italic; }
button { font: inherit; color: inherit; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--gold); color: var(--forest); padding: .75rem 1rem; border-radius: 2px;
  font-weight: 500; text-decoration: none;
}
.skip:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible, .dark2 :focus-visible, .hdr :focus-visible, .sticky-bar :focus-visible { outline-color: var(--gold); }

.wrap { width: min(1320px, 100% - 2 * var(--gut)); margin-inline: auto; }

/* Surfaces */
.light { background: var(--cream); color: var(--ink); }
.oat { background: var(--oat); color: var(--ink); }
.dark { background: var(--forest); color: var(--cream); }
.dark2 { background: var(--forest-2); color: var(--cream); }
.sec { padding-block: var(--sec); position: relative; }

.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Type */
.eyebrow {
  font-family: var(--sans); font-weight: 500; font-size: .75rem; line-height: 1.4;
  text-transform: uppercase; letter-spacing: .22em; color: var(--gold-ink);
  margin-bottom: 1.5rem;
}
.dark .eyebrow, .dark2 .eyebrow { color: var(--gold); }

.h1, .h2, .h3, .h3s, .why-t, .ing-name, .faq summary, .num {
  font-family: var(--serif);
  font-optical-sizing: auto;
}
.h1 {
  font-weight: 300;
  font-size: clamp(2.9rem, 6.2vw, 5.75rem);
  line-height: 1.0;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.h2 {
  font-weight: 300;
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.h2-xl { font-size: clamp(2.5rem, 5.4vw, 4.75rem); line-height: 1.0; }
.h1 em, .h2 em, .h3 em { font-style: italic; font-weight: 300; }
.dark .h1 em, .dark .h2 em, .dark2 .h2 em, .dark .h3 em { color: var(--gold); }
.light .h2 em, .oat .h2 em { color: var(--gold-ink); }
.h3 {
  font-weight: 300; font-size: clamp(1.75rem, 3vw, 2.625rem); line-height: 1.12; letter-spacing: -.015em;
  text-wrap: balance;
}
.hl-unit { display: inline-block; }
.h3s { font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 1.875rem); line-height: 1.15; letter-spacing: -.01em; margin-bottom: 1rem; }

.body { font-size: clamp(1.0625rem, .35vw + .98rem, 1.1875rem); line-height: 1.6; max-width: 34em; }
.dark .body, .dark2 .body { color: var(--cream-soft); }
.light .body, .oat .body { color: var(--muted); }
.fine { font-size: .875rem; line-height: 1.6; }
.dark .fine, .dark2 .fine { color: rgba(245, 241, 232, .66); }
.light .fine, .oat .fine { color: var(--muted); }

.num { font-weight: 300; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.02em; }
.unit { font-family: var(--sans); font-weight: 400; font-size: .32em; letter-spacing: .12em; text-transform: uppercase; margin-left: .3em; vertical-align: .9em; }
.approx { font-weight: 300; margin-right: .08em; opacity: .8; }

.sec-head { margin-bottom: clamp(3rem, 6vw, 5.5rem); max-width: 54rem; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  background: var(--gold); color: var(--forest);
  font-family: var(--sans); font-weight: 500; font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase;
  padding: 1.1rem 2rem; border-radius: 2px; text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: #d6b674; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .7rem 1.15rem; font-size: .75rem; letter-spacing: .14em; }
.btn-lg { padding: 1.25rem 2.5rem; }

.tlink {
  display: inline-flex; align-items: center; gap: .6em; min-height: 44px;
  font-weight: 500; font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-block: .25rem; margin-top: 1.75rem; margin-bottom: 1rem;
}
.tlink span { transition: transform .25s var(--ease); }
.tlink:hover span { transform: translateX(4px); }
.light .tlink, .oat .tlink { color: var(--ink); }

.dark p a, .dark2 p a, .dark li a { text-underline-offset: .2em; text-decoration-thickness: 1px; }
.light p a, .oat p a { text-underline-offset: .2em; text-decoration-thickness: 1px; }

/* Header */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--cream);
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr.is-solid {
  background: rgba(15, 26, 19, .86);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line-dark);
}
.hdr-in {
  width: min(1320px, 100% - 2 * var(--gut)); margin-inline: auto; height: var(--hdr-h);
  display: flex; align-items: center; gap: 2rem;
}
.logo { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; text-decoration: none; margin-right: auto; }
.logo-mark, .logo-word { display: block; background: var(--cream); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-position: center; mask-position: center; }
.logo-mark { width: 34px; height: 34px; -webkit-mask-image: url("/brand/cupora-mark-forest.svg"); mask-image: url("/brand/cupora-mark-forest.svg"); }
.logo-word { width: 92px; height: 22px; -webkit-mask-image: url("/brand/cupora-wordmark-forest.svg"); mask-image: url("/brand/cupora-wordmark-forest.svg"); }
.hdr-links { display: flex; gap: 2.25rem; }
.hdr-links a {
  display: inline-flex; align-items: center; min-height: 44px; text-decoration: none;
  font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--cream);
  opacity: .86; transition: opacity .2s;
}
.hdr-links a:hover { opacity: 1; }

/* 1. Hero */
.hero { position: relative; overflow: hidden; }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-in { position: relative; z-index: 2; }
.hero-copy { max-width: 40rem; }
.hero .eyebrow { margin-bottom: 1.75rem; }
.hero-sub { margin-top: 1.75rem; font-size: clamp(1.0625rem, .4vw + .95rem, 1.1875rem); line-height: 1.6; color: var(--cream-soft); max-width: 28em; }
.hero-cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.75rem; }
.hero-note { font-size: .9375rem; color: var(--cream-soft); }
.hero-note a { color: var(--cream); text-underline-offset: .22em; text-decoration-thickness: 1px; text-decoration-color: rgba(201, 164, 92, .8); }

.rail { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.rail > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .55rem; padding: 1.6rem 1.5rem 0 0; }
.rail > div + div { padding-left: 1.75rem; border-left: 1px solid var(--line-dark); }
.rail dd { font-size: clamp(2.1rem, 3.2vw, 3rem); line-height: 1; color: var(--cream); }
.rail dt { font-size: .6875rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--cream-soft); }

@media (min-width: 900px) {
  .hero { min-height: min(100svh, 860px); display: flex; }
  /* v15: the 16:9 scene is sized so the mug starts right of the headline block and the pods
     end just inside the right edge; it sits above the rail and its edges melt into the forest ground.
     --hw = image width: room right of the copy column / .594 (mug at 40.6% of the frame),
     at least 60vw on narrow desktops (the mug then sits below the headline, right of the button),
     capped so the frame fits the hero height. */
  .hero {
    --hero-h: min(100svh, 860px);
    --hw: min(
      max(calc((100vw - max(var(--gut), (100vw - 1320px) / 2) - var(--hero-copy-w)) / .594), 60vw),
      calc((var(--hero-h) - 8rem) / .5),
      2200px);
    --hero-copy-w: 38rem;
  }
  .hero-media { position: absolute; inset: 0; }
  .hero-media picture { position: absolute; right: 0; bottom: calc(10.25rem - var(--hw) * .075); width: var(--hw); aspect-ratio: 16 / 9; }
  .hero-media img {
    object-position: 50% 50%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%), linear-gradient(180deg, transparent 0%, #000 22%, #000 80%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, #000 34%), linear-gradient(180deg, transparent 0%, #000 22%, #000 80%, transparent 100%);
    mask-composite: intersect;
  }
  .hero-media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(15, 26, 19, .85) 0%, rgba(15, 26, 19, .4) 12%, rgba(15, 26, 19, 0) 24%);
  }
  .hero-in { display: flex; flex-direction: column; justify-content: space-between; width: min(1320px, 100% - 2 * var(--gut)); padding-top: calc(var(--hdr-h) + clamp(3rem, 8vh, 6rem)); padding-bottom: 2.75rem; gap: 4rem; }
  .hero-copy { margin-block: auto; }
  .h1 { max-width: 9.6em; }
}
@media (max-width: 899.98px) {
  .hero { padding-top: var(--hdr-h); }
  .hero-media { aspect-ratio: 4 / 3; overflow: hidden; }
  .hero-media picture { display: block; height: 100%; }
  .hero-media img { object-position: 50% 50%; }
  .hero-media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, var(--forest) 0%, rgba(15, 26, 19, 0) 14%, rgba(15, 26, 19, 0) 72%, var(--forest) 100%);
  }
  .hero-in { padding-top: 1.75rem; padding-bottom: 3rem; }
  .hero .eyebrow { margin-bottom: 1.25rem; }
  .hero-cta { margin-top: 2rem; flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-note { text-align: center; }
  .rail { margin-top: 3rem; grid-template-columns: 1fr 1fr; }
  .rail > div { padding: 1.35rem 1rem 1.35rem 0; }
  .rail > div + div { padding-left: 0; border-left: 0; }
  .rail > div:nth-child(even) { padding-left: 1.25rem; border-left: 1px solid var(--line-dark); }
  .rail > div:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .rail dd { font-size: 2.35rem; }
}

/* 2. Why */
#why.sec { padding-block: clamp(3.85rem, 7.7vw, 7.3rem); }
#why .sec-head { margin-bottom: clamp(2.3rem, 4.6vw, 4.25rem); }
/* v13: image under the heading; rows stacked (numeral, statement, text under it) */
.why-media { margin-bottom: clamp(2.3rem, 4.6vw, 3.5rem); }
/* v15: the brew loop moved here from Taste; same frame as the old still (16:10 phones, 4:5 desktop) */
.why-media video { display: block; width: 100%; height: auto; border-radius: 2px; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 50%; background: var(--forest); }
.why { border-top: 1px solid var(--line-light); counter-reset: why; }
.why li {
  display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); column-gap: 1.25rem; align-items: start;
  padding-block: clamp(1.55rem, 2.6vw, 2.3rem); border-bottom: 1px solid var(--line-light);
}
.why-n { grid-row: 1 / span 2; font-size: 2.5rem; line-height: 1; color: var(--gold-ink); font-weight: 300; letter-spacing: -.02em; }
.why-t { grid-column: 2; font-weight: 300; font-size: clamp(1.75rem, 2.7vw, 2.5rem); line-height: 1.1; letter-spacing: -.015em; padding-top: .2rem; }
.why-b { grid-column: 2; margin-top: .75rem; color: var(--muted); font-size: clamp(1.0625rem, .3vw + .98rem, 1.1875rem); line-height: 1.6; max-width: 32em; }
@media (min-width: 960px) {
  .why-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 clamp(3rem, 6vw, 7rem); align-items: start; }
  .why-side { position: sticky; top: calc(var(--hdr-h) + 2rem); }
  #why .sec-head { margin-bottom: 2.25rem; }
  .why-media { margin-bottom: 0; width: min(100%, calc((100svh - var(--hdr-h) - 20rem) * .8)); min-width: 15rem; }
  .why-media video { aspect-ratio: 4 / 5; object-position: 50% 50%; }
  .why { margin-top: .35rem; }
  .why li { grid-template-columns: 6.25rem minmax(0, 1fr); column-gap: 1.5rem; padding-block: clamp(2.1rem, 3vw, 2.75rem); }
  .why li:first-child { padding-top: clamp(1.6rem, 2.4vw, 2.2rem); }
  .why-n { font-size: 3.25rem; }
}
@media (max-width: 479.98px) {
  .why li { grid-template-columns: 3.25rem minmax(0, 1fr); column-gap: 1rem; padding-block: 1.55rem; }
  .why-n { font-size: 2rem; }
}

/* 3. Taste */
.taste { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.taste-media { position: relative; height: 100%; min-height: 100%; }
/* v15: still photograph in place of the brew loop; bleeds to the section's left edge */
.taste-media { overflow: hidden; }
.taste-media picture { display: block; height: 100%; }
.taste-media img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; background: var(--forest); }
.taste-copy {
  padding-block: var(--sec);
  padding-left: clamp(2.5rem, 6vw, 7rem);
  padding-right: max(var(--gut), calc((100vw - 1320px) / 2));
}
.taste-copy .h2 { font-size: clamp(2.6rem, 5.6vw, 5rem); line-height: 1; margin-bottom: 1.75rem; }
.spec { margin-top: 2.75rem; border-top: 1px solid var(--line-dark); max-width: 34rem; }
.spec > div { display: flex; justify-content: space-between; gap: 1.5rem; padding-block: .95rem; border-bottom: 1px solid var(--line-dark); }
.spec dt { font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); padding-top: .2em; }
.spec dd { text-align: right; color: var(--cream); font-size: 1rem; }
/* v14: tasting notes trio. Three Fraunces words, hairline dividers, gold labels (no eyebrow line) */
.notes { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; max-width: 34rem; border-top: 1px solid var(--line-dark); }
.notes > div { padding: 1.35rem clamp(1.5rem, 2.6vw, 2.5rem) .25rem 0; }
.notes > div + div { padding-left: clamp(1.5rem, 2.6vw, 2.5rem); border-left: 1px solid var(--line-dark); }
.notes > div:last-child { padding-right: 0; }
.notes dt { font-size: .6875rem; font-weight: 500; line-height: 1.4; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: .75rem; }
.notes dd { font-family: var(--serif); font-optical-sizing: auto; font-weight: 300; font-size: clamp(2.25rem, 2.7vw, 2.625rem); line-height: 1; letter-spacing: -.02em; color: var(--cream); }
.notes + .spec { margin-top: 2.5rem; }
@media (max-width: 479.98px), (min-width: 900px) and (max-width: 1199.98px) {
  /* phones and the narrow two-column taste layout: one note per row, label left, word right-aligned to the label column */
  .notes { grid-template-columns: 1fr; }
  .notes > div, .notes > div + div, .notes > div:last-child { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); align-items: baseline; padding: 1rem 0; border-left: 0; }
  .notes > div + div { border-top: 1px solid var(--line-dark); }
  .notes dt { margin-bottom: 0; }
  .notes dd { font-size: 2.25rem; }
}
@media (max-width: 899.98px) {
  .taste { grid-template-columns: 1fr; }
  .taste-media img { height: auto; aspect-ratio: 4 / 3; object-position: 50% 40%; }
  .taste-copy { padding: clamp(3.5rem, 10vw, 5rem) var(--gut) var(--sec); }
}

/* 4. Formula */
#formula.sec { padding-block: clamp(3.85rem, 7.7vw, 7.3rem); }
.formula-head { max-width: 62rem; }
.formula-head .lead { margin-top: 1.75rem; }

.ratio {
  margin-top: clamp(2.7rem, 5.4vw, 5rem);
  display: grid; grid-template-columns: minmax(0, 13fr) minmax(0, 11fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: end;
  padding-top: clamp(1.9rem, 3.1vw, 2.7rem); border-top: 1px solid var(--line-dark);
}
.ratio-bars { display: grid; gap: clamp(2.5rem, 4vw, 3.5rem); padding-bottom: .6rem; }
.bar-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.1rem; }
.bar-label { font-size: .8125rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--cream); display: flex; flex-direction: column; gap: .4rem; padding-bottom: .4rem; }
.bar-sub { font-size: .9375rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--cream-soft); }
.bar-num { font-size: clamp(3rem, 5.4vw, 5rem); line-height: .9; color: var(--cream); white-space: nowrap; }
.bar-track { position: relative; height: 10px; }
.bar-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line-dark); }
.bar-fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: 1px; transform-origin: left center; }
.bar-gold { background: var(--gold); }
.bar-cream { background: var(--cream); }
.ratio-big { display: flex; flex-direction: column; align-items: flex-start; border-left: 1px solid var(--line-dark); padding-left: clamp(2rem, 4vw, 4rem); }
.ratio-num { font-size: clamp(7rem, 19vw, 18rem); line-height: .82; color: var(--gold); letter-spacing: -.04em; white-space: nowrap; }
.ratio-num .approx { font-size: .5em; vertical-align: .55em; margin-right: .06em; color: var(--cream); opacity: .7; }
.ratio-cap { margin-top: 1.5rem; font-size: .75rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--cream-soft); }
.ratio-note { margin-top: 1.75rem; }

html.js [data-bars] .bar-fill { transform: scaleX(0); transition: transform 1.4s var(--ease); }
html.js [data-bars] .bar-fill.bar-cream { transition-delay: .25s; }
html.js [data-bars].is-filled .bar-fill { transform: scaleX(1); }

.research { margin-top: 1.15rem; max-width: 46rem; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.research summary, .faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 44px;
}
.research summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.research summary { padding-block: 1.1rem; font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--cream); }
.research-in { padding-bottom: 1.75rem; color: var(--cream-soft); font-size: .9375rem; line-height: 1.65; }
.research-in ul { margin-top: 1rem; display: grid; gap: .65rem; }
.research-in li { padding-left: 1.1rem; position: relative; }
.research-in li::before { content: ""; position: absolute; left: 0; top: .78em; width: .45rem; height: 1px; background: var(--gold); }
.research-in a { color: var(--cream); }

.pm { position: relative; flex: none; width: 14px; height: 14px; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .35s var(--ease); }
.pm::after { transform: rotate(90deg); }
details[open] > summary .pm::after { transform: rotate(0deg); }
.research .pm { color: var(--gold); }

.stack { margin-top: clamp(3.85rem, 7.7vw, 6.9rem); padding-top: clamp(2.3rem, 4.6vw, 3.85rem); border-top: 1px solid var(--line-dark); }
.stack .h3 { max-width: 20em; }
.stack .h3 .num { font-weight: 300; letter-spacing: -.02em; }

.ings { --ig: clamp(1.75rem, 3.6vw, 3.5rem); margin-top: clamp(2.7rem, 4.6vw, 4.25rem); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem var(--ig); }
.ings li { position: relative; }
.ings li + li::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--ig) / -2); width: 1px; background: var(--line-dark); }
.ings picture, .ings img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.ing-name { margin-top: 1.5rem; font-weight: 400; font-size: clamp(1.375rem, 1.8vw, 1.75rem); line-height: 1.15; letter-spacing: -.01em; }
.ing-mg { margin-top: .35rem; font-size: clamp(2.25rem, 3vw, 2.75rem); line-height: 1; color: var(--gold); }
.ing-mg .unit { color: var(--cream-soft); }
.ing-src { margin-top: 1rem; font-size: .9375rem; color: var(--cream); }
.ing-role { margin-top: .5rem; font-size: .9375rem; line-height: 1.55; color: var(--cream-soft); }
.total { margin-top: clamp(2.3rem, 3.9vw, 3.5rem); padding-top: 1.5rem; border-top: 1px solid var(--line-dark); font-size: .9375rem; color: var(--cream-soft); }

@media (max-width: 899.98px) {
  .ratio { grid-template-columns: 1fr; gap: 3rem; }
  .ratio-big { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-dark); padding-top: 2.5rem; }
  .ings { grid-template-columns: 1fr 1fr; --ig: 2rem; }
  .ings li:nth-child(odd)::before { display: none; }
}
@media (max-width: 599.98px) {
  .bar-label { font-size: .75rem; letter-spacing: .16em; }
  .bar-sub { font-size: .875rem; }
  .ratio-num { font-size: clamp(6.5rem, 34vw, 9rem); }
  .ing-src, .ing-role { font-size: .875rem; }
}

/* 5. Compare */
.cmp-wrap { position: relative; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 1.6rem 1.5rem 1.6rem 0; border-bottom: 1px solid var(--line-light); }
.cmp thead th, .cmp thead td { border-bottom: 1px solid rgba(27, 35, 28, .4); padding-bottom: 1.25rem; vertical-align: bottom; }
.cmp thead th { font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.cmp tbody th { font-family: var(--serif); font-weight: 400; font-size: clamp(1.1875rem, 1.5vw, 1.4375rem); line-height: 1.25; letter-spacing: -.01em; width: 34%; }
.cmp tbody td { font-size: 1.0625rem; color: var(--muted); }
.cmp-corner { width: 34%; }
.cmp .cmp-us {
  background: var(--forest); color: var(--cream); padding-left: 1.75rem; padding-right: 1.75rem;
  border-bottom-color: var(--line-dark);
}
.cmp thead .cmp-us { color: var(--gold); padding-top: 2.5rem; border-radius: 2px 2px 0 0; border-bottom-color: var(--line-dark); font-size: .8125rem; }
.cmp tbody tr:last-child .cmp-us { border-bottom-color: var(--forest); border-radius: 0 0 2px 2px; padding-bottom: 2.4rem; }
.cmp tbody td.cmp-us { font-family: var(--serif); font-size: clamp(1.125rem, 1.4vw, 1.3125rem); font-weight: 400; color: var(--cream); }
.cmp td + td, .cmp th + th { padding-left: 1.75rem; }
.cmp-foot { margin-top: 2rem; max-width: 52rem; }

@media (max-width: 767.98px) {
  .cmp, .cmp thead, .cmp tbody { display: block; }
  .cmp tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cmp-corner { display: none; }
  .cmp th, .cmp td { padding: .85rem .6rem; }
  .cmp thead th { font-size: .625rem; letter-spacing: .12em; padding-top: 1rem; padding-bottom: .9rem; line-height: 1.35; }
  .cmp thead .cmp-us { padding-top: 1.4rem; font-size: .6875rem; }
  .cmp tbody th { grid-column: 1 / -1; width: auto; padding: 1.5rem 0 .6rem; border-bottom: 0; font-size: 1.125rem; }
  .cmp tbody td { font-size: .875rem; line-height: 1.4; padding-bottom: 1.1rem; }
  .cmp tbody td.cmp-us { font-size: .9375rem; }
  .cmp .cmp-us { padding-left: .75rem; padding-right: .6rem; border-radius: 2px; }
  .cmp thead .cmp-us { border-radius: 2px 2px 0 0; }
  .cmp td + td, .cmp th + th { padding-left: .75rem; }
  .cmp tbody tr:last-child .cmp-us { padding-bottom: 1.1rem; }
}

/* v13 phones: one row reads at a glance. Label, then Cupora's value on the forest panel,
   then one quiet line with the other two. Table semantics stay (explicit ARIA roles);
   the column headers stay in the accessibility tree, visually hidden. */
@media (max-width: 640px) {
  .cmp thead {
    display: block; position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .cmp tbody { border-top: 1px solid var(--line-light); }
  .cmp tr { display: block; padding-block: 1.35rem 1.5rem; border-bottom: 1px solid var(--line-light); }
  .cmp tbody th, .cmp tbody td { display: block; width: auto; padding: 0; border-bottom: 0; }
  .cmp tbody th { font-size: 1.125rem; line-height: 1.3; padding: 0 0 .8rem; }
  .cmp tbody td.cmp-us, .cmp tbody tr:last-child .cmp-us {
    display: block; padding: .95rem 1.1rem 1rem; border-radius: 2px; border-bottom: 0;
    font-family: var(--serif); font-weight: 400; font-size: 1.375rem; line-height: 1.25; letter-spacing: -.01em; color: var(--cream);
  }
  .cmp tbody td.cmp-us::before {
    content: attr(data-label); display: block; margin-bottom: .35rem;
    font-family: var(--sans); font-size: .625rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  }
  /* v14: the two quiet items sit on their own lines, no separator dot */
  .cmp tbody td:not(.cmp-us) {
    display: block; padding: 0; font-size: .8125rem; line-height: 1.6; color: var(--muted);
  }
  .cmp tbody td.cmp-us, .cmp tbody tr:last-child .cmp-us { margin-bottom: .7rem; }
  .cmp tbody td:not(.cmp-us)::before { content: attr(data-label) ": "; color: var(--ink); opacity: .72; }
  .cmp td + td, .cmp th + th { padding-left: 0; }
}

/* 6. Freshness */
.fresh { padding-block: clamp(4.5rem, 8vw, 7.5rem); }
.fresh-head { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.fresh-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem clamp(2rem, 4vw, 4rem); align-items: center; }
.fresh-img { grid-column: 2; grid-row: 1 / span 2; }
.fresh-img img { max-height: 620px; width: auto; margin-inline: auto; }
.parts { display: contents; }
.parts li { display: grid; grid-template-columns: auto 1fr; gap: 0 1.1rem; max-width: 22rem; }
.parts .p1, .parts .p2 { grid-column: 1; justify-self: end; }
.parts .p3, .parts .p4 { grid-column: 3; justify-self: start; }
.parts .p1, .parts .p3 { grid-row: 1; align-self: end; }
.parts .p2, .parts .p4 { grid-row: 2; align-self: start; }
.pn {
  grid-row: 1 / span 2; width: 2.5rem; height: 2.5rem; border: 1px solid rgba(27, 35, 28, .35); border-radius: 50%;
  display: grid; place-items: center; font-size: 1.0625rem; color: var(--gold-ink); font-weight: 400;
}
.parts h3 { font-family: var(--serif); font-weight: 400; font-size: 1.3125rem; line-height: 1.2; letter-spacing: -.01em; padding-top: .45rem; }
.parts p { margin-top: .4rem; color: var(--muted); font-size: .9688rem; line-height: 1.55; }
@media (max-width: 899.98px) {
  .fresh-head { grid-template-columns: 1fr; }
  .fresh-grid { grid-template-columns: 1fr; gap: 0; }
  .fresh-img { grid-column: 1; grid-row: auto; margin-bottom: 2rem; }
  .fresh-img img { max-height: 340px; }
  .parts { display: block; border-top: 1px solid var(--line-light); }
  .parts li { max-width: none; padding-block: 1.25rem; border-bottom: 1px solid var(--line-light); }
}
.fresh-leads { display: none; }

/* v14: Roast -> Grind -> Nitrogen-seal. Fraunces words joined by gold-ink hairline arrows */
.steps { margin: 0 0 clamp(3rem, 6vw, 5rem); }
.steps-row { display: flex; align-items: center; padding-block: 1.5rem; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.steps-row li {
  font-family: var(--serif); font-optical-sizing: auto; font-weight: 300; font-size: clamp(1.75rem, 3vw, 2.625rem);
  line-height: 1.1; letter-spacing: -.015em; white-space: nowrap; flex: none;
}
.steps-row li + li { flex: 1 1 auto; display: flex; align-items: center; } /* auto basis: free space splits evenly, so both arrows match */
.steps-row li + li::before {
  content: ""; flex: 1 1 auto; min-width: 2.5rem; height: 9px; margin-inline: clamp(1rem, 2.5vw, 2rem);
  background:
    linear-gradient(var(--gold-ink), var(--gold-ink)) left center / calc(100% - 1px) 1px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 9'%3E%3Cpath d='M.5.5 5 4.5.5 8.5' fill='none' stroke='%237a5d1c' stroke-width='1'/%3E%3C/svg%3E") right center / 6px 9px no-repeat;
  transform-origin: left center;
}
.steps-cap { margin-top: 1rem; font-size: .6875rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 639.98px) {
  .steps-row { flex-direction: column; align-items: flex-start; padding-block: 1.25rem; }
  .steps-row li + li { flex-direction: column; align-items: flex-start; }
  .steps-row li + li::before {
    flex: none; min-width: 0; width: 9px; height: 1.75rem; margin: .55rem 0 .55rem .55rem;
    background:
      linear-gradient(var(--gold-ink), var(--gold-ink)) center top / 1px calc(100% - 1px) no-repeat,
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 6'%3E%3Cpath d='M.5.5 4.5 5 8.5.5' fill='none' stroke='%237a5d1c' stroke-width='1'/%3E%3C/svg%3E") center bottom / 9px 6px no-repeat;
    transform-origin: center top;
  }
}

/* v13 desktop: callouts sit beside their layer, tied to it by a leader line.
   Everything is placed in % of the grid (horizontal: around the centred figure of
   width --fw; vertical: % of the figure height), so it holds from 1024 to 1920. */
@media (min-width: 1024px) {
  .fresh-grid {
    --fw: clamp(360px, 31vw, 470px); --g: 1.25rem; --r: 1.25rem;
    display: block; position: relative; height: calc(var(--fw) * 4 / 3);
  }
  .fresh-img { position: absolute; top: 0; left: calc(50% - var(--fw) / 2); width: var(--fw); margin: 0; }
  .fresh-img img { width: 100%; max-height: none; height: auto; }
  .parts { display: block; }
  .parts li { position: absolute; width: min(19rem, calc(50% - var(--fw) / 2 + var(--fw) * .06 - var(--g) + var(--r))); max-width: none; gap: 0 1rem; }
  .parts .p1, .parts .p2 { grid-template-columns: 1fr auto; text-align: right; right: calc(50% + var(--fw) * .44 + var(--g) - var(--r)); }
  .parts .p3, .parts .p4 { left: calc(50% + var(--fw) * .44 + var(--g) - var(--r)); }
  .parts .p1 .pn, .parts .p2 .pn { grid-column: 2; grid-row: 1 / span 2; }
  .parts .p1 h3, .parts .p1 p, .parts .p2 h3, .parts .p2 p { grid-column: 1; grid-row: auto; }
  .parts .p1 h3, .parts .p2 h3 { grid-row: 1; }
  .parts .p1 p, .parts .p2 p { grid-row: 2; }
  /* circle centre sits on the layer's line: top = layer y minus the circle radius */
  .parts .p1 { top: calc(var(--y1) - var(--r)); }
  .parts .p2 { top: calc(var(--y2) - var(--r)); }
  .parts .p3 { top: calc(var(--y3) - var(--r)); }
  .parts .p4 { top: calc(var(--y4) - var(--r)); }
  .pn { position: relative; z-index: 2; background: var(--oat); align-self: start; }
  .parts h3 { padding-top: .4rem; }

  .fresh-grid { --y1: 12%; --y2: 41%; --y3: 52%; --y4: 83%; }
  .fresh-leads { display: block; position: absolute; inset: 0; pointer-events: none; z-index: 1; }
  .fresh-leads .ld { position: absolute; height: 1px; background: rgba(122, 93, 28, .55); transform-origin: left center; }
  .fresh-leads .dot { position: absolute; width: 5px; height: 5px; margin: -2px 0 0 -2.5px; border-radius: 50%; background: var(--gold-ink); }
  /* left side: from the circle centre (x = 50% - .44fw - g) to the dot on the layer */
  .ld1, .ld2 { left: calc(50% - var(--fw) * .44 - var(--g)); }
  .ld1 { top: var(--y1); width: calc(var(--fw) * (.44 - .5 + .30) + var(--g)); }
  .ld2 { top: var(--y2); width: calc(var(--fw) * (.44 - .5 + .33) + var(--g)); }
  .dot1 { top: var(--y1); left: calc(50% + var(--fw) * (.30 - .5)); }
  .dot2 { top: var(--y2); left: calc(50% + var(--fw) * (.33 - .5)); }
  /* right side: from the dot on the layer to the circle centre (x = 50% + .44fw + g) */
  .ld3, .ld4 { transform-origin: right center; right: calc(50% - var(--fw) * .44 - var(--g)); }
  .ld3 { top: var(--y3); width: calc(var(--fw) * (.44 + .5 - .66) + var(--g)); }
  .ld4 { top: var(--y4); width: calc(var(--fw) * (.44 + .5 - .68) + var(--g)); }
  .dot3 { top: var(--y3); left: calc(50% + var(--fw) * (.66 - .5)); }
  .dot4 { top: var(--y4); left: calc(50% + var(--fw) * (.68 - .5)); }
}

/* 7. Proof */
.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.proof { --pg: clamp(2rem, 4vw, 3.5rem); column-gap: var(--pg); }
.proof li { position: relative; padding-block: 2.5rem 2.75rem; }
.proof li + li::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--pg) / -2); width: 1px; background: var(--line-light); }
.glyph { width: 38px; height: 38px; fill: none; stroke: var(--gold-ink); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 2.25rem; }
.proof h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.375rem, 1.8vw, 1.6875rem); line-height: 1.15; letter-spacing: -.01em; }
.proof p { margin-top: .6rem; color: var(--muted); font-size: 1rem; }
.coa { margin-top: 2.25rem; color: var(--muted); font-size: 1rem; }
.coa a { color: var(--ink); text-decoration-color: var(--gold-ink); }
@media (max-width: 899.98px) {
  .proof { grid-template-columns: 1fr 1fr; }
  .proof { --pg: 2rem; }
  .proof li { padding-block: 2rem 2.25rem; }
  .proof li:nth-child(odd)::before { display: none; }
  .proof li:nth-child(n+3) { border-top: 1px solid var(--line-light); }
  .glyph { margin-bottom: 1.5rem; width: 34px; height: 34px; }
}

/* 8. Buy */
.buy { position: relative; overflow: hidden; }
.buy-media img { width: 100%; height: 100%; object-fit: cover; }
.buy-in { position: relative; z-index: 2; }
.buy .h2 { margin-bottom: 1.5rem; }
.buy-line { color: var(--cream-soft); font-size: 1rem; letter-spacing: .02em; }
.nw { white-space: nowrap; }
.buy-cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.buy-price { color: var(--cream-soft); font-size: .9375rem; }
.guarantee { margin-top: 2.75rem; padding-top: 1.75rem; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: auto 1fr; gap: 1rem; max-width: 34rem; }
.guarantee svg { fill: none; stroke: var(--gold); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; margin-top: .15rem; }
.guarantee p { color: var(--cream-soft); font-size: .9375rem; line-height: 1.6; }
.guarantee a { color: var(--cream); }
@media (min-width: 900px) {
  .buy { min-height: min(92svh, 820px); display: flex; align-items: center; }
  .buy-media { position: absolute; top: 0; bottom: 0; right: 0; width: 72%; }
  .buy-media img { object-position: 100% 50%; }
  .buy-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--forest) 0%, rgba(15, 26, 19, .75) 20%, rgba(15, 26, 19, 0) 44%); }
  .buy-in { padding-block: var(--sec); }
  .buy-copy { max-width: 32rem; }
}
@media (max-width: 899.98px) {
  .buy-media { position: relative; aspect-ratio: 4 / 3; }
  .buy-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 26, 19, 0) 55%, var(--forest) 100%); }
  .buy-in { padding-top: 1.5rem; padding-bottom: var(--sec); }
  .buy-cta { flex-direction: column; align-items: stretch; }
  .buy-cta .btn { width: 100%; }
  .buy-price { text-align: center; }
}

/* 9. Modes: one compact band */
.modes-band { padding-block: clamp(2.75rem, 5.5vw, 4.75rem); }
.modes-band .band-eyebrow { margin-bottom: 1.25rem; }
.modes-cols { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); border-top: 1px solid var(--line-light); }
.mcol { padding-top: 2rem; padding-right: clamp(1.5rem, 4vw, 4rem); }
.mcol + .mcol { padding-left: clamp(1.5rem, 4vw, 4rem); padding-right: 0; border-left: 1px solid var(--line-light); }
.mcol .h3 { margin-bottom: 1rem; }
.mcol .tlink { margin-top: 1.25rem; margin-bottom: .75rem; }
.mcol-side .eyebrow { font-size: .6875rem; margin-bottom: 1rem; }
.mcol-side .body { font-size: 1rem; }
@media (max-width: 899.98px) {
  .modes-cols { grid-template-columns: 1fr; }
  .mcol, .mcol + .mcol { padding: 1.75rem 0 0; border-left: 0; }
  .mcol + .mcol { border-top: 1px solid var(--line-light); margin-top: 1.75rem; }
}

/* 10. FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem clamp(3rem, 6vw, 7rem); align-items: start; }
.faq-head { position: sticky; top: calc(var(--hdr-h) + 2.5rem); }
.faq-list { border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary { padding-block: 1.6rem; font-weight: 400; font-size: clamp(1.1875rem, 1.6vw, 1.4375rem); line-height: 1.3; letter-spacing: -.01em; }
.faq summary:hover { color: var(--gold-ink); }
.faq summary .pm { color: var(--gold-ink); }
.faq details p { padding: 0 2.5rem 1.85rem 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.7; max-width: 38em; }
.disclaimer { margin-top: 2.5rem; max-width: 40em; }
@media (max-width: 899.98px) {
  .faq { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .faq summary { padding-block: 1.35rem; }
  .faq details p { padding-right: 0; }
}

/* Footer */
.foot { padding-block: clamp(4rem, 7vw, 6rem) clamp(3rem, 5vw, 4.5rem); }
.foot-top { display: grid; grid-template-columns: auto 1fr; gap: 3rem clamp(3rem, 8vw, 8rem); align-items: start; padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
.foot-logo { width: 128px; height: auto; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.foot-h { font-family: var(--sans); font-size: .75rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: .75rem; }
.foot-cols a { display: inline-flex; align-items: center; min-height: 44px; color: var(--cream); text-decoration: none; font-size: .9688rem; opacity: .86; }
.foot-cols a:hover { opacity: 1; text-decoration: underline; text-underline-offset: .2em; }
.foot-fine { padding-top: 2rem; display: grid; gap: .75rem; font-size: .8125rem; line-height: 1.6; color: rgba(245, 241, 232, .66); max-width: 48rem; }
.foot-fine address { font-style: normal; }
@media (max-width: 899.98px) {
  .foot-top { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Sticky mobile buy bar */
.sticky-bar { display: none; }
@media (max-width: 767.98px) {
  .sticky-bar {
    display: flex; align-items: center; gap: .75rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: .7rem var(--gut) calc(.7rem + env(safe-area-inset-bottom));
    background: rgba(15, 26, 19, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line-dark); color: var(--cream);
    transform: translateY(110%); transition: transform .4s var(--ease); visibility: hidden;
  }
  .sticky-bar.is-on { transform: translateY(0); visibility: visible; }
  .sticky-bar .logo-mark { width: 28px; height: 28px; flex: none; }
  .sticky-name { flex: 1; min-width: 0; font-size: .8125rem; line-height: 1.25; color: var(--cream); }
  .sticky-bar .btn { padding-inline: 1rem; }
  body.sticky-on .foot { padding-bottom: 9rem; }
  .hdr-links { gap: 1.25rem; }
  .hdr-links .desk, .hdr .btn.desk { display: none; }
  .logo-word { width: 80px; height: 19px; }
  .logo-mark { width: 30px; height: 30px; }
}
@media (min-width: 768px) and (max-width: 1023.98px) {
  .hdr-links { gap: 1.5rem; }
}
/* v14: the Freshness link joins the nav where there is room for five links */
@media (max-width: 1023.98px) { .hdr-links .wide { display: none; } }

/* ==========================================================================
   v12 motion and hover polish. Restrained: ease-out only, nothing bouncy,
   nothing that moves layout. Reveal and eyebrow lines are gated on html.js;
   the hero entrance is CSS-only and always ends visible.
   ========================================================================== */
:root { --out: cubic-bezier(.2, .7, .2, 1); }

/* Reveal: staggered by JS through --rd (0, 90, 180, 270ms) */
html.js [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .8s var(--out), transform .8s var(--out);
  transition-delay: var(--rd, 0ms);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Eyebrow: short gold hairline before the text. Space is always reserved,
   so the text never shifts; only the line draws in (scaleX, from the left). */
.eyebrow::before {
  content: ""; display: inline-block; width: 28px; height: 1px; margin-right: .85rem;
  vertical-align: .3em; background: currentColor; transform-origin: left center;
}
html.js .eyebrow::before { transform: scaleX(0); transition: transform .6s var(--out) calc(var(--rd, 0ms) + 220ms); }
html.js [data-reveal].is-in .eyebrow::before,
html.js .eyebrow.is-in::before { transform: scaleX(1); }

/* Hero entrance: CSS keyframes only, no JS dependency, ends visible */
@keyframes heroUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes heroMedia { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
@keyframes lineDraw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-copy > .eyebrow { animation: heroUp .7s var(--out) 0s both; }
.hero-copy > .h1 { animation: heroUp .7s var(--out) .08s both; }
.hero-copy > .hero-sub { animation: heroUp .7s var(--out) .18s both; }
.hero-copy > .hero-cta { animation: heroUp .7s var(--out) .28s both; }
.rail { animation: heroUp .7s var(--out) .4s both; }
.hero-media { animation: heroMedia 1.2s var(--out) both; }
html .hero .eyebrow::before { transform: none; transition: none; animation: lineDraw .6s var(--out) .3s both; }

/* Buy: background eases from 1.05 to 1 when the section reveals (stays clipped) */
.buy-media { overflow: hidden; }
html.js .buy-media img { transform: scale(1.05); transition: transform 1.6s var(--out); }
html.js .buy.is-in .buy-media img { transform: none; }

/* Freshness leader lines (v13, >=1024px): draw from the number circle to the layer once the figure reveals */
html.js .fresh-leads .ld { transform: scaleX(0); transition: transform .9s var(--out) .35s; }
html.js .fresh-leads .dot { opacity: 0; transition: opacity .4s var(--out) 1.05s; }
html.js .fresh-img.is-in ~ .fresh-leads .ld { transform: scaleX(1); }
html.js .fresh-img.is-in ~ .fresh-leads .dot { opacity: 1; }

/* v14 tasting notes: the trio words rise in after the paragraph (stagger via --rd) */
html.js .notes [data-reveal] { transition-delay: calc(var(--rd, 0ms) + 200ms); }
/* v14 steps: connector arrows draw in, one after the other, once the strip reveals */
html.js .steps .steps-row li + li::before { transform: scaleX(0); transition: transform .8s var(--out) .35s; }
html.js .steps .steps-row li:nth-child(3)::before { transition-delay: .75s; }
html.js .steps.is-in .steps-row li + li::before { transform: none; }
@media (max-width: 639.98px) {
  html.js .steps .steps-row li + li::before { transform: scaleY(0); }
  html.js .steps.is-in .steps-row li + li::before { transform: none; }
}

/* Header nav underline (hover devices only) and hover states */
@media (hover: hover) and (pointer: fine) {
  .hdr-links a { position: relative; }
  .hdr-links a::after {
    content: ""; position: absolute; left: 0; right: .2em; bottom: 12px; height: 1px;
    background: var(--gold); transform: scaleX(0); transform-origin: left center;
  }
  .hdr-links a:hover::after { transform: scaleX(1); }

  /* Why rows: number lights up, hairline turns gold-ink (overlay line, so the row never changes size) */
  .why li { position: relative; }
  .why li::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
    background: var(--gold-ink); opacity: 0; pointer-events: none;
  }
  .why-n { opacity: .72; }
  .why li:hover .why-n { opacity: 1; }
  .why li:hover::after { opacity: 1; }

  /* Ingredients: mg numeral brightens; the image frame clips the zoom */
  .ings picture { overflow: hidden; }
  .ing-mg { opacity: .8; }
  .ings li:hover .ing-mg { color: #dcbc78; opacity: 1; }

  /* Freshness: number circle fills */
  .parts li:hover .pn { background: var(--gold-ink); border-color: var(--gold-ink); color: var(--cream); }

  /* Proof (v13: on cream): title turns gold-ink */
  .proof li:hover h3 { color: var(--gold-ink); }
  .coa a:hover { color: var(--gold-ink); }

  /* Compare: faint row tint on the non-Cupora cells */
  .cmp tbody tr:hover > th,
  .cmp tbody tr:hover > td:not(.cmp-us) { background: rgba(27, 35, 28, .04); }
}
/* Transitions and movement: hover devices that have not asked for reduced motion */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hdr-links a::after { transition: transform .35s var(--out); }
  .why-n, .why li::after { transition: opacity .35s var(--ease); }
  .why-t { transition: transform .35s var(--ease); }
  .why li:hover .why-t { transform: translateX(6px); }
  .ings img { transition: transform 1s var(--ease); }
  .ings li:hover img { transform: scale(1.04); }
  .taste-media img { transition: transform 1.6s var(--ease); }
  .taste-media:hover img { transform: scale(1.03); }
  .ing-mg { transition: color .35s var(--ease), opacity .35s var(--ease); }
  .pn { transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease); }
  .glyph { transition: transform .35s var(--ease); }
  .proof li:hover .glyph { transform: translateY(-3px); }
  .proof h3 { transition: color .35s var(--ease); }
  .cmp tbody th, .cmp tbody td:not(.cmp-us) { transition: background-color .3s var(--ease); }
}

/* Reduced motion: everything simply visible, nothing moves */
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  html.js [data-bars] .bar-fill { transform: none; transition: none; }
  .btn, .tlink span { transition: none; }
  .hero-media, .rail, .hero-copy > .eyebrow, .hero-copy > .h1, .hero-copy > .hero-sub, .hero-copy > .hero-cta { animation: none; }
  html .hero .eyebrow::before, html.js .eyebrow::before { animation: none; transition: none; transform: none; }
  html.js .buy-media img { transform: none; transition: none; }
  html.js .fresh-leads .ld { transform: none; transition: none; }
  html.js .fresh-leads .dot { opacity: 1; transition: none; }
  html.js .steps .steps-row li + li::before { transform: none; transition: none; }
  .taste-media img { transform: none; transition: none; }
}
/* No-animation override (screenshots, tests): every animation and transition off, content visible */
html.no-anim [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
html.no-anim [data-bars] .bar-fill { transform: none !important; transition: none !important; }
html.no-anim *, html.no-anim *::before, html.no-anim *::after { animation: none !important; transition: none !important; }
html.no-anim .eyebrow::before, html.no-anim .buy-media img { transform: none !important; }
html.no-anim .fresh-leads .ld { transform: none !important; transition: none !important; }
html.no-anim .fresh-leads .dot { opacity: 1 !important; transition: none !important; }
html.no-anim .steps .steps-row li + li::before { transform: none !important; transition: none !important; }
html.no-anim .taste-media img { transform: none !important; }
