/* OG* Cocktails — cocktails.ogmy.life
   One typeface (OGMY Original), black on white, one sky accent taken from the brand picture.
   The memorable moment is the hero: the sky contracts into a window as you scroll. */

@font-face { font-family: "OGMY Original"; src: url("/assets/fonts/OGMYOriginal-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "OGMY Original"; src: url("/assets/fonts/OGMYOriginal-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "OGMY Original"; src: url("/assets/fonts/OGMYOriginal-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --paper: #ffffff;
  --ink: #000000;
  --grey: #6b6b70;      /* secondary text, 5.3:1 on white */
  --line: #e6e6e8;      /* hairlines */
  --mist: #f4f6f8;      /* image placeholders */
  --sky: #1f78dc;       /* the one accent, sampled from the hero sky */
  --sky-top: #4490df;
  --sky-bot: #70b4f3;

  --gutter: clamp(20px, 4.2vw, 72px);
  --max: 1480px;
  --section: clamp(112px, 15vw, 220px);
  --radius: clamp(18px, 2vw, 30px);

  --t-note: 0.8125rem;
  --t-small: 0.9375rem;
  --t-body: 1.0625rem;
  --t-lead: clamp(1.125rem, 1rem + 0.45vw, 1.375rem);
  --t-h3: 1.125rem;
  --t-h2: clamp(2.125rem, 1.25rem + 3.1vw, 4.25rem);
  --t-display: clamp(2.75rem, 1.2rem + 5.6vw, 7.25rem);

  --ease: cubic-bezier(.22, .8, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "OGMY Original", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: var(--t-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--sky); color: #fff; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.nb { white-space: nowrap; }
.line { display: block; }
@media (max-width: 520px) { .nb { white-space: normal; } }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 99px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.display {
  font-weight: 300;
  font-size: var(--t-display);
  line-height: 1.0;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.h2 {
  font-weight: 300;
  font-size: var(--t-h2);
  line-height: 1.06;
  letter-spacing: -0.024em;
  text-wrap: balance;
  max-width: 18ch;
}
.h3 { font-weight: 500; font-size: var(--t-h3); line-height: 1.3; letter-spacing: -0.005em; }
.lead { font-size: var(--t-lead); line-height: 1.5; max-width: 34ch; text-wrap: pretty; }
.muted { color: var(--grey); }
.note { font-size: var(--t-note); color: var(--grey); line-height: 1.5; }
p { text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 28px;
  background: var(--ink); color: #fff;
  border-radius: 999px; text-decoration: none;
  font-weight: 500; font-size: 1rem; letter-spacing: 0;
  transition: transform .5s var(--ease), background-color .3s;
}
.btn::after {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--sky); box-shadow: 0 0 0 0 rgba(31,120,220,.5);
  transition: transform .5s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: scale(1.4); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: max(14px, env(safe-area-inset-top)) var(--gutter) 14px;
  color: var(--ink);
  transition: color .4s;
  pointer-events: none;
}
.bar > * { pointer-events: auto; }
.bar[data-left="dark"] .mark, .bar[data-right="dark"] .bar__nav { color: #fff; }
.mark, .bar__nav { transition: color .35s; }
.mark { display: inline-flex; align-items: baseline; gap: .45em; text-decoration: none; font-weight: 500; font-size: 1.125rem; letter-spacing: -0.01em; }
.mark__og { position: relative; }
.ast { display: inline-block; font-size: .78em; transform-origin: 50% 52%; vertical-align: .48em; margin-left: .04em; line-height: 0; }
.mark__word { font-weight: 400; }
.bar__nav { display: flex; align-items: center; gap: 10px; }
.lang {
  min-width: 44px; min-height: 40px; border-radius: 99px; font-weight: 500; font-size: .875rem;
  border: 1px solid currentColor; opacity: .85; transition: opacity .2s, background-color .3s, color .3s;
}
.lang:hover { opacity: 1; }
.pill {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 99px;
  text-decoration: none; font-weight: 500; font-size: .875rem;
  background: var(--ink); color: #fff; transition: background-color .4s, color .4s, transform .4s var(--ease);
}
.pill:hover { transform: translateY(-1px); }
.bar[data-right="dark"] .pill { background: #fff; color: var(--ink); }
.bar.is-scrolled[data-tone="light"]::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
}

/* ---------- 1. Hero ---------- */
.hero { position: relative; height: 250svh; }
.hero__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.sky {
  position: absolute; inset: 0; overflow: hidden;
  clip-path: inset(0 0 0 0 round 0px);
  will-change: clip-path;
}
.sky__fill { position: absolute; inset: 0; background: linear-gradient(180deg, var(--sky-top) 0%, #59a3ea 50%, var(--sky-bot) 100%); }
.sky__art {
  position: absolute; left: 0; top: 0; width: 100%; height: auto; max-width: none;
  transform-origin: 0 0; will-change: transform;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
}
.hero__caption {
  position: absolute; left: var(--gutter); bottom: calc(var(--gutter) + env(safe-area-inset-bottom));
  max-width: 24ch; color: #fff; font-size: var(--t-lead); line-height: 1.35;
  text-shadow: 0 1px 18px rgba(10,60,130,.35);
  will-change: opacity, transform;
}
.hero__cue {
  position: absolute; right: var(--gutter); bottom: calc(var(--gutter) + env(safe-area-inset-bottom));
  width: 1px; height: 64px; background: rgba(255,255,255,.35); overflow: hidden;
}
.hero__cue span { position: absolute; inset: 0; background: #fff; transform: translateY(-100%); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

.hero__copy {
  position: absolute; left: var(--gutter); top: 50%;
  width: min(41vw, 620px);
  transform: translateY(-50%);
  display: grid; gap: clamp(20px, 2.4vw, 32px); justify-items: start;
  opacity: 0; visibility: hidden;
  will-change: opacity, transform;
}
.hero__copy .display { font-size: clamp(2.75rem, 0.9rem + 3.9vw, 5.75rem); }
.hero__copy .lead { max-width: 30ch; }

@media (max-width: 899px), (orientation: portrait) {
  .hero__copy { top: auto; bottom: calc(clamp(28px, 6svh, 56px) + env(safe-area-inset-bottom)); width: auto; right: var(--gutter); transform: none; gap: 18px; }
  .hero__copy .display { font-size: clamp(2.375rem, 1.2rem + 5.4vw, 4.5rem); }
  .hero__copy .lead { font-size: 1.0625rem; max-width: 36ch; }
  .hero__copy .btn { min-height: 48px; }
}

/* ---------- 2. Pillars ---------- */
.pillars {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 120px); align-items: center;
  padding-block: var(--section) calc(var(--section) * .6);
}
.pillars__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1100 / 1125; background: var(--mist); }
.pillars__media img { width: 100%; height: 100%; object-fit: cover; }
.pour { margin: 0; position: relative; background: var(--sky-top); }
.pour img, .pour canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pour__clean, .pour__flow { opacity: 0; transition: opacity .4s; }
.pour.is-live .pour__clean, .pour.is-live .pour__flow { opacity: 1; }
.pillars__text { display: grid; gap: clamp(20px, 2.2vw, 28px); }
.pillars__list { margin-top: clamp(12px, 2vw, 28px); border-top: 1px solid var(--line); }
.pillars__list li { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr); gap: 8px 32px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.pillars__list p { color: var(--grey); max-width: 42ch; }

/* reveal: image eases out of a slight zoom as it enters (scroll-linked, set by JS) */
.reveal img { transform: scale(calc(1.12 - var(--v, 1) * .12)); transform-origin: 50% 60%; will-change: transform; }

/* ---------- 3. Drinks ---------- */
.drinks { position: relative; }
.drinks__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.drinks__track {
  display: flex; align-items: flex-end; gap: clamp(40px, 6vw, 110px);
  padding-inline: var(--gutter) 20vw;
  width: max-content; will-change: transform;
}
.drinks__intro, .drinks__turn { width: min(30rem, 78vw); align-self: center; display: grid; gap: 22px; padding-right: 2vw; }
.drinks__turn .h2 { color: var(--grey); max-width: 11ch; }
.drink { width: clamp(250px, 23vw, 340px); display: grid; align-content: end; }
.drink__img { height: min(44svh, 440px); display: flex; align-items: flex-end; justify-content: center; margin-bottom: 26px; }
.drink__img img { max-height: 100%; width: auto; mix-blend-mode: multiply; transform: translateY(calc((1 - var(--in, 1)) * 30px)) rotate(calc((1 - var(--in, 1)) * -4deg)); transition: transform .9s var(--ease); }
.drink__house { font-size: var(--t-small); color: var(--grey); }
.drink__name { font-weight: 300; font-size: clamp(2rem, 1.4rem + 1.6vw, 2.75rem); line-height: 1.05; letter-spacing: -0.02em; margin: 4px 0 12px; }
.drink__line { font-size: 1rem; line-height: 1.45; max-width: 28ch; }
.drink__recipe { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: var(--t-small); color: var(--grey); line-height: 1.5; max-width: 32ch; }
.drink__twin { margin-top: 10px; font-size: var(--t-small); color: var(--grey); line-height: 1.5; max-width: 32ch; }
.zero { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; margin-right: 4px; border-radius: 99px; background: rgba(31,120,220,.1); color: var(--sky); font-weight: 500; font-size: .8125rem; vertical-align: 1px; }
.drinks__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(clamp(24px, 5svh, 48px) + env(safe-area-inset-bottom)); height: 1px; background: var(--line); }
.drinks__progress span { position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

.is-native .drinks__stage { position: static; height: auto; padding-block: var(--section); overflow-x: auto; scroll-snap-type: x mandatory; }
.is-native .drink, .is-native .drinks__intro, .is-native .drinks__turn { scroll-snap-align: start; }
.is-native .drinks__progress { display: none; }

@media (max-width: 899px) {
  .drinks__stage { justify-content: flex-end; padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .drinks__track { gap: 40px; align-items: flex-end; }
  .drink { width: 72vw; max-width: 320px; }
  .drink__img { height: min(36svh, 340px); margin-bottom: 20px; }
  .drinks__intro, .drinks__turn { width: 80vw; }
}
@media (max-height: 700px) and (min-width: 900px) {
  .drink__img { height: 38svh; }
}

/* ---------- 4. Interlude ---------- */
.tri {
  display: grid; grid-template-columns: 1.1fr .8fr 1.1fr; gap: clamp(12px, 2vw, 32px); align-items: center;
  padding-block: calc(var(--section) * .6) var(--section);
}
.tri figure { border-radius: var(--radius); overflow: hidden; background: var(--mist); will-change: transform; }
.tri figure:nth-child(1) { aspect-ratio: 3 / 4.2; }
.tri figure:nth-child(2) { aspect-ratio: 3 / 5.6; margin-top: 18%; }
.tri figure:nth-child(3) { aspect-ratio: 3 / 4.2; margin-top: -8%; }
.tri img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 5. Jellos ---------- */
.jellos { padding-bottom: var(--section); }
.jellos__head {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 110px); align-items: center;
  min-height: 90svh;
}
.jellos__text { position: relative; z-index: 2; display: grid; gap: clamp(20px, 2.4vw, 32px); }
.hint { font-size: var(--t-small); color: var(--grey); display: inline-flex; align-items: center; gap: 10px; }
.hint::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: linear-gradient(135deg, #5fd0b8, #f2a03d); animation: hint 2.6s var(--ease) infinite; }
@keyframes hint { 0%, 70%, 100% { transform: none; } 78% { transform: scale(1.35, .7); } 86% { transform: scale(.85, 1.2); } 93% { transform: scale(1.08, .94); } }
.jellos__photo { position: relative; z-index: 1; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1284 / 1225; background: #1b1310; }
.jellos__photo img { width: 100%; height: 100%; object-fit: cover; }

.cubes { display: flex; align-items: flex-end; gap: clamp(10px, 1.6vw, 22px); margin-top: clamp(8px, 1.5vw, 20px); }
.cube { position: relative; flex: none; will-change: transform; -webkit-tap-highlight-color: transparent; }
.cube img { width: 100%; mix-blend-mode: multiply; transform-origin: 50% 100%; }
.cube.is-wiggling img { animation: wiggle .9s cubic-bezier(.3, .7, .3, 1); }
@keyframes wiggle {
  0% { transform: none; }
  14% { transform: scale(1.18, .8); }
  30% { transform: scale(.88, 1.14) skewX(3deg); }
  46% { transform: scale(1.07, .94) skewX(-2deg); }
  62% { transform: scale(.97, 1.04) skewX(1deg); }
  80% { transform: scale(1.01, .99); }
  100% { transform: none; }
}
.cube--teal  { width: clamp(64px, 7vw, 112px); }
.cube--amber { width: clamp(46px, 4.6vw, 74px); margin-bottom: 6px; }
.cube--pink  { width: clamp(56px, 5.8vw, 92px); }
.cube--duo   { width: clamp(84px, 9vw, 144px); }
.cube--clear { width: clamp(50px, 5vw, 80px); margin-bottom: 4px; }

.reasons {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px);
  margin-top: clamp(64px, 9vw, 140px);
}
.reasons li { padding: 22px 0 28px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.reasons p { color: var(--grey); }

.strip { display: grid; grid-template-columns: 1fr 1.45fr .85fr .7fr; gap: clamp(10px, 1.4vw, 20px); margin-top: clamp(48px, 6vw, 88px); align-items: end; }
.strip img { width: 100%; height: clamp(160px, 22vw, 320px); object-fit: cover; border-radius: calc(var(--radius) * .7); background: var(--mist); }

.formulas { margin-top: clamp(80px, 10vw, 160px); display: grid; gap: clamp(28px, 3vw, 44px); }
.formulas__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.formulas__list li { display: grid; gap: 8px; align-content: start; padding-top: 22px; border-top: 1px solid var(--ink); }
.formula__name { font-weight: 300; font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.1; letter-spacing: -0.02em; }

/* ---------- 6. Team ---------- */
.team { padding-bottom: var(--section); }
.team__title { max-width: 16ch; margin-bottom: clamp(36px, 5vw, 72px); }
.team__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 32%; border-radius: var(--radius); background: var(--mist); }
.team__photo { overflow: hidden; }
.team__photo.reveal img { transform-origin: 50% 40%; }
.team__bios { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 6vw, 110px); margin-top: clamp(36px, 5vw, 64px); }
.team__bios > div { display: grid; gap: 6px; align-content: start; max-width: 44ch; }
.role { color: var(--grey); font-size: var(--t-small); margin-bottom: 8px; }

.marquee { margin-top: clamp(56px, 7vw, 100px); overflow: hidden; border-block: 1px solid var(--line); padding-block: clamp(18px, 2vw, 26px); }
.marquee__row { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__row { animation-play-state: paused; }
.marquee__list { display: flex; flex-shrink: 0; }
.marquee__list li { font-weight: 300; font-size: clamp(1.5rem, 1rem + 1.8vw, 2.5rem); letter-spacing: -0.02em; white-space: nowrap; padding-right: .9em; }
.marquee__list li::after { content: "*"; display: inline-block; margin-left: .9em; color: var(--sky); font-size: .7em; vertical-align: .35em; }
@keyframes marquee { to { transform: translateX(-50%); } }
.team > .note { margin-top: 18px; }

/* ---------- 7. Method ---------- */
.method {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px);
  padding-bottom: var(--section); align-items: start;
}
.method__media { position: sticky; top: 12svh; border-radius: var(--radius); overflow: hidden; aspect-ratio: 737 / 1150; background: var(--mist); }
.method__media img { width: 100%; height: 100%; object-fit: cover; }
.method__text { display: grid; gap: clamp(20px, 2.2vw, 28px); padding-top: 4svh; }
.steps { position: relative; margin-top: clamp(24px, 3vw, 44px); padding-left: 36px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.steps::after { background: var(--ink); transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
.step { position: relative; display: grid; gap: 6px; padding-bottom: clamp(32px, 4vw, 52px); }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: ""; position: absolute; left: -36px; top: 6px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--paper); border: 1px solid #c9c9cd; transition: background-color .4s, border-color .4s, transform .5s var(--ease);
}
.step.is-on::before { background: var(--ink); border-color: var(--ink); }
.step--you.is-on::before { background: var(--sky); border-color: var(--sky); transform: scale(1.25); }
.step__when { font-size: var(--t-small); color: var(--grey); font-variant-numeric: tabular-nums; }
.step p { color: var(--grey); max-width: 44ch; }
.step__you { justify-self: start; margin-top: 4px; font-size: .8125rem; font-weight: 500; color: var(--sky); background: rgba(31,120,220,.1); border-radius: 99px; padding: 3px 10px; }

/* ---------- 8. Offer ---------- */
.offer { padding-bottom: var(--section); }
.offer__title { max-width: 15ch; }
.included { border-top: 1px solid var(--ink); margin-top: clamp(48px, 6vw, 96px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); }
.offer .note { margin-top: 18px; }
.included li { display: flex; gap: 14px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); }
.included li::before { content: "*"; color: var(--sky); font-weight: 500; flex: none; width: 10px; }

/* ---------- 9. Closing ---------- */
.close { position: relative; min-height: 100svh; display: flex; overflow: hidden; color: #fff; background: #1c6fb8; }
.close__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform: scale(calc(1.08 - var(--v, 1) * .08)); }
.close::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(6,40,86,.62) 0%, rgba(6,40,86,.18) 42%, rgba(6,40,86,0) 60%, rgba(6,40,86,.25) 100%); }
.close__inner { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding-block: clamp(110px, 14svh, 150px) clamp(32px, 6svh, 64px); }
.close__title { max-width: 13ch; text-shadow: 0 2px 30px rgba(0,30,70,.25); }
.card {
  width: min(400px, 100%); padding: clamp(22px, 2.4vw, 32px); border-radius: var(--radius);
  background: rgba(255,255,255,.96); color: var(--ink); display: grid; gap: 22px;
  box-shadow: 0 30px 80px -30px rgba(0,30,70,.5);
}
.card .lead { font-size: 1.0625rem; max-width: none; }
.card__list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.card__list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.card__list dt { color: var(--grey); font-size: var(--t-small); }
.card__list dd { font-weight: 500; text-align: right; }
.card__list a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.card__list a:hover { background-size: 100% 1px; }

/* ---------- Footer ---------- */
.foot { padding-block: clamp(64px, 9vw, 120px) calc(32px + env(safe-area-inset-bottom)); position: relative; }
.foot__mark { font-weight: 300; font-size: clamp(7rem, 4rem + 22vw, 26rem); line-height: .8; letter-spacing: -0.06em; margin-left: -.04em; }
.foot__mark .ast { color: var(--sky); font-size: .5em; vertical-align: .9em; }
.foot__ast { margin-top: 18px; color: var(--grey); }
.foot__row { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 24px 48px; margin-top: clamp(48px, 6vw, 88px); padding-top: 22px; border-top: 1px solid var(--line); font-size: var(--t-small); color: var(--grey); align-items: start; }
.foot__actions { display: flex; gap: 20px; }
.link { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; color: var(--ink); min-height: 32px; }
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 60;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 99px; font-size: var(--t-small);
  transition: opacity .3s, transform .5s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 899px) {
  .pillars, .jellos__head, .method, .included { grid-template-columns: 1fr; }
  .pillars { padding-top: calc(var(--section) * .8); }
  .pillars__media { aspect-ratio: 4 / 3.6; }
  .pillars__list li { grid-template-columns: 1fr; padding: 18px 0; }
  .jellos__head { min-height: 0; gap: 40px; padding-top: 24px; }
  .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip { grid-template-columns: repeat(4, 62vw); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .strip::-webkit-scrollbar { display: none; }
  .strip img { height: 64vw; scroll-snap-align: center; }
  .formulas__list { grid-template-columns: 1fr; gap: 28px; }
  .team__photo img { aspect-ratio: 4 / 3.4; }
  .team__bios { grid-template-columns: 1fr; }
  .method__media { position: relative; top: 0; aspect-ratio: 4 / 3.4; }
  .method__media img { object-position: 50% 30%; }
  .foot__row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  :root { --section: 104px; }
  .mark__word { display: none; }
  .reasons { grid-template-columns: 1fr; }
  .reasons li { padding: 16px 0 18px; }
  .tri { grid-template-columns: 1fr .8fr 1fr; gap: 10px; }
  .close__inner { justify-content: flex-start; gap: 32px; }
  .card { margin-top: auto; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee__row { animation: none; flex-wrap: wrap; width: auto; }
  .marquee__list[aria-hidden] { display: none; }
  .marquee__list { flex-wrap: wrap; row-gap: 8px; padding-inline: var(--gutter); }
  .reveal img, .close__bg { transform: none; }
}
.no-js .hero__copy, html:not(.js) .hero__copy { opacity: 1; visibility: visible; }
