/* ============================================================================
   GORUSH EnergyGel · page styles
   The palette is the pouch's own: vermilion, charcoal, label white. Sections
   hard-cut between those three grounds; nothing drifts.
   ========================================================================== */

:root {
  --red: #EE3113;        /* sampled from the pouch photograph; graphics and large type only */
  --red-web: #DC2A0D;    /* the same hue one step deeper: white body text measures 4.7:1 on it,
                            against 4.15:1 on the pouch red */
  --red-deep: #C6230A;   /* the tone-on-tone wordmark and hover states */
  --char: #1F1E22;
  --char-up: #2A292E;
  --char-down: #131215;
  --paper: #F6F4F1;
  --ink-on-paper: #1F1E22;
  --soft-on-paper: #524D48;
  --bar: #121114;        /* the black header bar of the printed panel */

  --sc-canvas: var(--char);
  --sc-surface: var(--char-up);
  --sc-ink: #FFFFFF;
  --sc-ink-soft: #C4BFBB;
  --sc-accent: var(--red);
  --sc-accent-ink: #FFFFFF;
  --sc-font-display: "Archivo", "Be Vietnam Pro", system-ui, sans-serif;
  --sc-font-text: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sc-font-mono: var(--sc-font-text);
  --sc-shadow-color: 260 12% 4%;

  --r: 10px;             /* one radius for controls, 4px for printed panels */
  --dock-h: 3.75rem;
  --focus: var(--red);
}

:focus-visible { outline-color: var(--focus); }

.vh {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 1rem; top: 1rem; z-index: 100;
  padding: 0.75rem 1rem; border-radius: var(--r);
  background: var(--char-down); color: #fff; font-weight: 700; text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus-visible { transform: none; }

.sc-display {
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.032em;
}

/* ---------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0 1.4rem;
  border: 0; border-radius: var(--r);
  font-family: var(--sc-font-text); font-size: 1rem; font-weight: 700;
  letter-spacing: 0; white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color 150ms var(--sc-ease-out), transform 120ms var(--sc-ease-out);
}
.btn:active { transform: scale(0.97); }
.btn--accent { background: var(--red-web); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.26); }
.btn--ink { background: var(--char); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12), 0 10px 22px -10px rgb(60 6 0 / 0.7); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
@media (hover: hover) and (pointer: fine) {
  .btn--accent:hover { background: var(--red-deep); }
  .btn--ink:hover { background: #2D2C31; }
}

/* ----------------------------------------------------------------- sachet --
   One component, three sizes. Two custom properties drive it:
     --tear  0..1  the cap comes off along the TEAR HERE line
     --s     0..1  the body is rolled up from the bottom, like a tube
   Both are written by gorush.js. With neither set it is simply the photograph. */
.sachet {
  --tear: 0; --s: 0;
  position: relative; display: block;
  aspect-ratio: 572 / 1744;
}
.sachet img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; max-width: none;
}
.sachet__body {
  clip-path: polygon(
    0 10.3%, 9% 11.3%, 19% 9.7%, 31% 11.1%, 43% 9.9%, 55% 11.2%, 67% 9.8%, 79% 11%, 90% 9.9%, 100% 10.6%,
    100% calc((1 - var(--s) * 0.78) * 100%),
    0 calc((1 - var(--s) * 0.78) * 100%)
  );
}
.sachet__cap {
  clip-path: polygon(
    0 0, 100% 0,
    100% 10.6%, 90% 9.9%, 79% 11%, 67% 9.8%, 55% 11.2%, 43% 9.9%, 31% 11.1%, 19% 9.7%, 9% 11.3%, 0 10.3%
  );
  transform-origin: 96% 9%;
  transform:
    translate(calc(var(--tear) * 30%), calc(var(--tear) * -7%))
    rotate(calc(var(--tear) * 46deg));
  opacity: clamp(0, calc(1.6 - var(--tear) * 1.7), 1);
}
.sachet__roll {
  position: absolute; left: -5%; right: -5%;
  top: calc((1 - var(--s) * 0.78) * 100%);
  height: calc(2.4% + var(--s) * 3.6%);
  translate: 0 -62%;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.26), rgb(255 255 255 / 0) 34%, rgb(0 0 0 / 0.5) 100%),
    linear-gradient(90deg, var(--red) 0 7%, #2C2B30 7% 93%, var(--red) 93%);
  box-shadow: 0 0.5em 0.9em -0.25em rgb(0 0 0 / 0.6);
  opacity: clamp(0, calc(var(--s) * 40), 1);
}
.sachet--mini { width: 13px; flex: none; }
.sachet--mini:not(.is-torn) .sachet__body { clip-path: none; }
.sachet--mini .sachet__roll { box-shadow: none; }

/* ------------------------------------------------------------------- dock -- */
.dock {
  position: fixed; left: 50%; bottom: max(0.75rem, env(safe-area-inset-bottom));
  translate: -50% 0;
  z-index: var(--sc-z-chrome);
  display: flex; align-items: center; gap: 0.25rem;
  padding: 0.375rem 0.375rem 0.375rem 0.5rem;
  background: var(--char-down); color: #fff;
  border-radius: 14px;
  box-shadow: var(--sc-e3), inset 0 1px 0 rgb(255 255 255 / 0.13), 0 0 0 1px rgb(255 255 255 / 0.09);
  opacity: 0; transform: translateY(1.25rem); pointer-events: none;
  transition: opacity 240ms var(--sc-ease-out), transform 240ms var(--sc-ease-out);
}
.dock.is-on, .dock:focus-within { opacity: 1; transform: none; pointer-events: auto; }
.dock__gauge {
  display: flex; align-items: center; gap: 0.6rem;
  min-height: 3rem; padding: 0 0.7rem 0 0.35rem;
  border-radius: var(--r); text-decoration: none;
}
.dock__grams {
  font-family: var(--sc-font-display); font-weight: 800; font-size: 1.05rem;
  font-variant-numeric: tabular-nums; min-width: 3.3ch; white-space: nowrap;
}
.dock__index {
  display: flex; list-style: none; margin: 0; padding: 0 0.35rem; gap: 0.1rem;
  border-left: 1px solid rgb(255 255 255 / 0.15);
}
.dock__index a {
  display: block; padding: 0.8rem 0.7rem;
  font-size: var(--sc-t-sm); font-weight: 500; color: #C9C4C0;
  text-decoration: none; white-space: nowrap; border-radius: 8px;
  transition: color 150ms var(--sc-ease-out);
}
.dock__index a[aria-current] { color: #fff; box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
@media (hover: hover) and (pointer: fine) { .dock__index a:hover { color: #fff; } }
@media (max-width: 860px) {
  .dock { left: var(--sc-gutter); right: var(--sc-gutter); translate: none; justify-content: space-between; }
  .dock__index { display: none; }
}

/* =================================================================== 1 HERO */
.hero {
  position: relative; isolation: isolate;
  min-height: max(100svh, 34rem);
  background: var(--red-web); color: #fff;
  overflow: clip;
  --focus: #fff;
}
/* One hard source, upper left: a hot pool there, falloff toward lower right. */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(70% 60% at 18% 12%, rgb(255 132 92 / 0.42), transparent 62%),
    radial-gradient(90% 80% at 100% 100%, rgb(118 12 0 / 0.38), transparent 60%);
}
.hero__scene { position: absolute; inset: 0; z-index: 1; }
.plane { position: absolute; will-change: transform; }
.plane > span { display: block; }
.plane img { width: 100%; height: 100%; max-width: none; }

.hero__word {
  z-index: 1; left: -1.5vw; top: 5vh;
  font-family: var(--sc-font-display); font-weight: 900; font-stretch: 112%;
  font-size: 22.5vw; line-height: 0.82; letter-spacing: -0.045em; white-space: nowrap;
  color: var(--red-deep);
}
.hero__brush { z-index: 2; right: -8vw; bottom: -14vh; width: 88vw; aspect-ratio: 2000 / 1400; }
.hero__brush > span {
  width: 100%; height: 100%; background: var(--char);
  -webkit-mask: url("assets/brush-mask.webp") center / contain no-repeat;
          mask: url("assets/brush-mask.webp") center / contain no-repeat;
}
.hero__pack {
  z-index: 3; top: 12vh; right: 15vw;
  height: 74vh; aspect-ratio: 1688 / 1964; rotate: -5deg;
  filter: drop-shadow(30px 36px 7px rgb(78 6 0 / 0.36));
}
.hero__sachet {
  z-index: 4; top: 30vh; right: 7vw;
  height: 58vh; aspect-ratio: 572 / 1744; rotate: 9deg;
  filter: drop-shadow(24px 30px 6px rgb(40 4 0 / 0.42));
}
/* The near plane: the same sachet, out of focus, crossing the frame. */
.hero__ghost {
  z-index: 5; top: -24vh; left: 43vw;
  height: 62vh; aspect-ratio: 572 / 1744; rotate: -24deg;
  filter: blur(7px) drop-shadow(30px 40px 14px rgb(60 4 0 / 0.3));
}

.hero__logo {
  position: absolute; z-index: 6; top: clamp(1.25rem, 3.4vh, 2.25rem); left: var(--sc-gutter);
  width: clamp(7.25rem, 11vw, 10.5rem); height: auto;
}
.hero__copy {
  position: absolute; z-index: 6;
  left: var(--sc-gutter); bottom: clamp(3rem, 11vh, 6.5rem);
  max-width: min(35rem, 42vw);
}
.hero__title { font-size: clamp(3.6rem, 7.7vw, 7.9rem); font-weight: 900; line-height: 0.98; white-space: nowrap; }
.hero__sub {
  margin: var(--sc-5) 0 var(--sc-6);
  max-width: 30rem; font-size: var(--sc-t-lg); line-height: 1.45; font-weight: 500;
  text-wrap: pretty;
}
.tear {
  position: absolute; z-index: 7; left: 0; bottom: -1px;
  width: 100%; height: 22px; max-width: none; fill: var(--char);
}

/* Entrance, on an inner wrapper: a transition on the plane itself would ease
   every per-frame scroll write and the scene would lag the hand. */
@keyframes rise { from { opacity: 0; transform: translate3d(0, 26px, 0) scale(0.975); } }
.hero .plane > span, .hero__copy > *, .hero__logo { animation: rise 900ms var(--sc-ease-out) backwards; }
.hero__brush > span { animation-delay: 60ms; }
.hero__pack > span { animation-delay: 140ms; }
.hero__sachet > span { animation-delay: 240ms; }
.hero__ghost > span { animation-delay: 320ms; }
.hero__copy > :nth-child(1) { animation-delay: 220ms; }
.hero__copy > :nth-child(2) { animation-delay: 300ms; }
.hero__copy > :nth-child(3) { animation-delay: 380ms; }
@media (prefers-reduced-motion: reduce) {
  .hero .plane > span, .hero__copy > *, .hero__logo { animation: none; }
}

/* Narrow landscape (small laptops, tablets on their side): the product moves
   right and comes down a size so the copy keeps a clear column. */
@media (min-width: 861px) and (max-width: 1240px) {
  .hero__pack { right: 7vw; height: 62vh; top: 17vh; }
  .hero__sachet { right: 1.5vw; height: 48vh; top: 35vh; }
  .hero__ghost { left: 52vw; }
}

@media (max-width: 860px) {
  /* Recomposed, not shrunk: the wordmark turns and runs down the side the way
     it does on the pouch, the pouch moves up, the copy takes the bottom. */
  .hero__word {
    left: auto; right: -3vw; top: 1.5svh;
    writing-mode: vertical-rl; font-size: 23svh; line-height: 0.8;
  }
  .hero__brush { right: -46vw; bottom: 14svh; width: 170vw; }
  .hero__pack { top: 10.5svh; right: auto; left: 7vw; height: min(77vw, 39svh); filter: drop-shadow(14px 18px 5px rgb(78 6 0 / 0.36)); }
  .hero__sachet { top: 19svh; right: 6vw; height: min(66vw, 33svh); filter: drop-shadow(12px 16px 5px rgb(40 4 0 / 0.42)); }
  .hero__ghost { top: -13svh; left: 30vw; height: 34svh; filter: blur(5px); }
  .hero__copy { right: var(--sc-gutter); bottom: clamp(1.5rem, 4.5svh, 3rem); max-width: none; }
  .hero__title { font-size: clamp(2.9rem, 14.5vw, 4.1rem); }
  .hero__sub { margin: var(--sc-3) 0 var(--sc-5); font-size: 1rem; max-width: 22rem; }
}

/* ================================================================= 2 INSIDE */
.inside { background: var(--char); }
.inside__stage {
  background: var(--char); color: #fff;
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1.05fr) auto minmax(0, 1fr);
  gap: clamp(1.5rem, 4.5vw, 5rem);
  padding: clamp(3rem, 8vh, 5.5rem) var(--sc-gutter) calc(var(--dock-h) + clamp(2rem, 6vh, 4rem));
}
.inside__say { display: grid; gap: var(--sc-5); }
.inside__words, .inside__ledes { display: grid; }
.inside__words > *, .inside__ledes > * { grid-area: 1 / 1; margin: 0; }
.inside__word { font-size: clamp(4.5rem, 12.5vw, 12.5rem); font-weight: 900; line-height: 1; }
.inside__lede {
  max-width: 21ch; font-size: var(--sc-t-xl); line-height: 1.24; font-weight: 500;
  letter-spacing: -0.015em; text-wrap: balance;
}

/* --s is written here, on the column, so the sachet and the gram count both
   read it. The sachet is slid down by half of what has been rolled away, which
   keeps what is left of it centred beside the panel; the count rides just under
   the roll. */
.inside__pack { --s: 0; --tear: 0; position: relative; height: min(60vh, 38rem); aspect-ratio: 572 / 1744; }
.sachet--stage {
  --s: inherit; --tear: inherit;
  width: 100%;
  transform: translateY(calc(var(--s) * 39%));
  filter: drop-shadow(22px 28px 8px rgb(0 0 0 / 0.5));
}
.inside__grams {
  position: absolute; left: 50%; top: calc(50% + (1 - var(--s) * 0.78) * 50% + 1.4rem);
  translate: -50% 0;
  margin: 0; display: flex; align-items: baseline; gap: 0.15em;
  font-family: var(--sc-font-display); font-weight: 900; line-height: 1;
  font-size: clamp(2.2rem, 3.6vw, 3.4rem); font-variant-numeric: tabular-nums;
  color: var(--red); white-space: nowrap;
}
.inside__grams span { font-size: 0.5em; font-weight: 800; color: #fff; }

/* The printed panel, rebuilt as a real table. */
.facts {
  justify-self: end; width: min(100%, 30rem);
  background: var(--paper); color: var(--ink-on-paper);
  border-radius: 4px; overflow: hidden;
  box-shadow: var(--sc-e3);
  font-size: clamp(0.8rem, 1.62vh, 1rem);
}
.facts__table { width: 100%; border-collapse: collapse; line-height: 1.3; }
.facts caption { text-align: left; }
.facts__title {
  display: block; padding: 0.6em 1em 0.5em;
  background: var(--bar); color: #fff;
  font-family: var(--sc-font-display); font-weight: 800; font-size: 1.12em;
  letter-spacing: 0.04em; text-transform: uppercase; text-align: center;
}
.facts__serve {
  display: flex; justify-content: space-between; gap: 1em;
  padding: 0.25em 1em 0.6em; background: var(--bar); color: #fff; font-size: 0.86em;
}
.facts th, .facts td { padding: 0.44em 1em; text-align: left; font-weight: 500; border-top: 1px solid rgb(31 30 34 / 0.2); }
.facts thead th { background: #E7E3DE; font-weight: 700; font-size: 0.86em; text-transform: uppercase; letter-spacing: 0.04em; }
.facts thead th:last-child, .facts td { text-align: right; white-space: nowrap; }
.facts td { font-weight: 700; white-space: nowrap; width: 1%; }
.facts__group th { background: #D5D0CA; font-weight: 700; font-size: 0.86em; text-transform: uppercase; letter-spacing: 0.05em; }
.facts__sub th { padding-left: 2em; }
/* Armed by the script. Without it, the table is simply complete. */
.facts.is-armed tr[data-row] > * { transition: background-color 180ms var(--sc-ease-out), color 180ms var(--sc-ease-out); }
.facts.is-armed tr[data-row]:not(.is-live) th { color: rgb(31 30 34 / 0.5); }
.facts.is-armed tr[data-row]:not(.is-live) td span[data-num] { visibility: hidden; }
.facts.is-armed tr[data-row].is-now > * { background: #FBD9D1; }
.facts.is-armed tr[data-row].is-now td { color: #B81F06; }

@media (max-width: 860px) {
  .inside__stage {
    grid-template-columns: minmax(0, 29%) minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: start; align-content: center; gap: 0.9rem 0.9rem;
    padding: clamp(0.9rem, 2.6svh, 1.75rem) var(--sc-gutter) calc(var(--dock-h) + 1.75rem);
  }
  .inside__say { grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 0 0.9rem; min-height: 4.4rem; }
  .inside__word { font-size: clamp(2.7rem, 13.5vw, 3.7rem); }
  .inside__lede { max-width: none; font-size: 0.95rem; line-height: 1.3; padding-bottom: 0.3rem; text-wrap: pretty; }
  .inside__pack { height: auto; width: 100%; }
  .sachet--stage { filter: drop-shadow(8px 12px 5px rgb(0 0 0 / 0.5)); }
  .inside__grams { top: calc(50% + (1 - var(--s) * 0.78) * 50% + 0.8rem); font-size: 1.9rem; }
  .facts { width: 100%; font-size: clamp(0.6rem, 1.52svh, 0.84rem); }
  .facts th, .facts td { padding: 0.36em 0.7em; }
  .facts__title { padding: 0.5em 0.7em 0.35em; }
  .facts__serve { padding: 0.2em 0.7em 0.5em; }
  .facts__sub th { padding-left: 1.4em; }
}

/* ================================================================== 3 TASTE */
.taste { background: #EDE7E2; }
.plate {
  bottom: calc(var(--dock-h) + clamp(2rem, 6vh, 3.5rem));
  width: min(25rem, calc(100vw - 2 * var(--sc-gutter))); max-width: none;
  background: var(--paper); color: var(--ink-on-paper);
  border-radius: 4px; overflow: hidden; box-shadow: var(--sc-e3);
}
.taste .plate { bottom: calc(var(--dock-h) + clamp(2rem, 6vh, 3.5rem)); }
.plate__bar {
  margin: 0; padding: 0.5rem 1.1rem; background: var(--bar); color: #fff;
  font-size: var(--sc-t-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.plate__title { padding: 0.9rem 1.1rem 0; font-size: clamp(2.5rem, 5.2vw, 4.25rem); font-weight: 900; }
.plate__note { margin: 0.7rem 0 0; padding: 0 1.1rem 1.15rem; font-size: var(--sc-t-sm); line-height: 1.5; color: var(--soft-on-paper); text-wrap: pretty; }
@media (max-width: 860px) {
  .taste .plate { inset-inline: var(--sc-gutter); width: auto; bottom: calc(var(--dock-h) + 1.75rem); }
}

/* =================================================================== 4 FREE */
.free {
  position: relative; isolation: isolate; overflow: clip;
  min-height: 100svh; display: grid; align-items: center;
  padding-block: var(--sc-section) calc(var(--sc-section) + var(--dock-h));
  background: var(--red-web); color: #fff;
  --focus: #fff;
}
.free__brush {
  position: absolute; z-index: -1; right: -10vw; bottom: -18vh;
  width: 74vw; aspect-ratio: 2000 / 1400; background: var(--char);
  -webkit-mask: url("assets/brush-mask.webp") center / contain no-repeat;
          mask: url("assets/brush-mask.webp") center / contain no-repeat;
}
.free__grid {
  display: grid; align-items: end;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
}
.free__title { font-size: clamp(3.7rem, 8.8vw, 9rem); font-weight: 900; line-height: 0.98; }
.free__lede { margin: 0 0 var(--sc-4); font-size: var(--sc-t-lg); font-weight: 500; }
.free__list { list-style: none; margin: 0; padding: 0; }
.free__list li {
  display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); align-items: center; gap: 1rem;
  padding: 1.05rem 0; border-top: 1px solid rgb(255 255 255 / 0.5);
}
.free__list li:last-child { border-bottom: 1px solid rgb(255 255 255 / 0.5); }
.free__list svg { width: 2rem; height: 2rem; fill: #fff; }
.free__list b { display: block; font-size: var(--sc-t-lg); font-weight: 600; line-height: 1.25; }
.free__list small { display: block; margin-top: 0.15rem; font-size: var(--sc-t-sm); font-weight: 500; }
@media (max-width: 860px) {
  .free__grid { grid-template-columns: minmax(0, 1fr); align-items: start; gap: var(--sc-7); }
  .free__title { font-size: clamp(3.4rem, 19vw, 5.6rem); }
  .free__brush { right: -60vw; bottom: -6svh; width: 190vw; }
}

/* =================================================================== 5 REEL */
.reel {
  background: var(--char); color: #fff;
  padding-block: var(--sc-section) calc(var(--sc-section) + var(--dock-h));
}
.reel__grid {
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 6vw, 6.5rem);
}
.reel__title { font-size: clamp(3rem, 7.4vw, 7.25rem); font-weight: 900; }
.reel__lede { margin: var(--sc-5) 0 0; max-width: 27rem; font-size: var(--sc-t-lg); line-height: 1.45; font-weight: 500; }
.reel__get {
  display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: var(--sc-5);
  font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 0.3em;
  text-decoration-color: var(--red);
}
.reel__frame { margin: 0; justify-self: center; width: min(100%, 23rem, 44vh); }
.reel__video {
  display: block; width: 100%; height: auto; aspect-ratio: 9 / 16;
  background: var(--char-down); border-radius: var(--r);
  box-shadow: var(--sc-e3), 0 0 0 1px rgb(255 255 255 / 0.1);
}
@media (max-width: 860px) {
  .reel__grid { grid-template-columns: minmax(0, 1fr); gap: var(--sc-7); }
  .reel__frame { width: min(100%, 21rem); }
}

/* =================================================================== 6 BACK */
.back {
  background: var(--paper); color: var(--ink-on-paper);
  --sc-ink: var(--ink-on-paper); --sc-ink-soft: var(--soft-on-paper);
  padding-block: var(--sc-section) calc(var(--sc-section) + var(--dock-h));
}
.back__grid {
  display: grid; align-items: start;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(2rem, 6vw, 6.5rem);
}
.back__photo { position: sticky; top: 7vh; margin: 0; }
.back__photo img { width: 100%; height: auto; filter: drop-shadow(18px 24px 7px rgb(31 30 34 / 0.24)); }
.back__photo figcaption { margin-top: var(--sc-5); font-size: var(--sc-t-xs); color: var(--soft-on-paper); }
.back__title { font-size: clamp(2.9rem, 6.6vw, 6.25rem); font-weight: 900; margin-bottom: var(--sc-7); }
.spec { margin: 0; }
.spec > div {
  display: grid; grid-template-columns: 10.5rem minmax(0, 1fr); gap: var(--sc-5);
  padding: 0.95rem 0; border-top: 1px solid rgb(31 30 34 / 0.18);
}
.spec > div:last-child { border-bottom: 1px solid rgb(31 30 34 / 0.18); }
.spec dt { font-size: var(--sc-t-sm); font-weight: 700; }
.spec dd { margin: 0; font-size: var(--sc-t-sm); line-height: 1.62; color: #37342F; text-wrap: pretty; }
@media (max-width: 860px) {
  .back__grid { grid-template-columns: minmax(0, 1fr); gap: var(--sc-7); }
  .back__photo { position: static; width: min(100%, 24rem); justify-self: center; }
  .back__title { margin-bottom: var(--sc-6); }
  .spec > div { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; }
}

/* =================================================================== 7 JOIN */
.join {
  position: relative; isolation: isolate; overflow: clip;
  min-height: 100svh; display: flex; flex-direction: column;
  background: var(--char); color: #fff;
}
.join__photo { position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: min(56vw, 64rem); }
/* The photograph is masked away from the copy rather than scrimmed over it. */
.join__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 64% 30%;
  -webkit-mask-image: linear-gradient(90deg, transparent 2%, #000 48%), linear-gradient(0deg, transparent 4%, #000 30%);
          mask-image: linear-gradient(90deg, transparent 2%, #000 48%), linear-gradient(0deg, transparent 4%, #000 30%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.join__grid {
  flex: 1; display: grid; align-content: center;
  grid-template-columns: minmax(0, 46rem); row-gap: var(--sc-6);
  padding-block: var(--sc-section) var(--sc-7);
}
.join__title { font-size: clamp(2.3rem, 4.9vw, 4.75rem); font-weight: 900; }
.join__lede { margin: var(--sc-5) 0 0; max-width: 28rem; font-size: var(--sc-t-lg); line-height: 1.45; font-weight: 500; }

/* The ask, typeset as a label. */
.ticket {
  width: min(100%, 27rem);
  background: var(--paper); color: var(--ink-on-paper);
  border-radius: 4px; overflow: hidden; box-shadow: var(--sc-e3);
  --focus: var(--red);
}
.ticket__head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.4rem 1rem; background: var(--bar); color: #fff;
}
.ticket__name { font-family: var(--sc-font-display); font-weight: 800; font-size: 1rem; letter-spacing: 0.05em; text-transform: uppercase; }
.ticket__gauge { display: flex; align-items: center; gap: 0.55rem; font-family: var(--sc-font-display); font-weight: 800; font-variant-numeric: tabular-nums; }
.ticket__gauge .sachet--mini { width: 12px; }
.ticket__row {
  display: grid; gap: 0.15rem; padding: 0.7rem 1rem 0.6rem;
  border-bottom: 1px solid rgb(31 30 34 / 0.2);
  transition: background-color 150ms var(--sc-ease-out), box-shadow 150ms var(--sc-ease-out);
}
.ticket__row:focus-within { background: #fff; box-shadow: inset 0 -2px 0 var(--red); }
.ticket__row label { font-size: var(--sc-t-xs); font-weight: 600; color: var(--soft-on-paper); }
.ticket__row :is(input, select) {
  width: 100%; min-height: 2.25rem; padding: 0; border: 0; border-radius: 0;
  background: transparent; color: var(--ink-on-paper);
  font-size: 1.0625rem; font-weight: 600; outline: none;
}
.ticket__row [aria-invalid="true"] { color: #B81F06; }
.ticket__send { display: flex; width: calc(100% - 2rem); margin: 1rem 1rem 0; min-height: 3.25rem; }
.ticket__note { margin: 0.75rem 1rem 1rem; font-size: var(--sc-t-xs); line-height: 1.5; color: var(--soft-on-paper); }
.ticket__status { display: none; margin: 0; padding: 0.8rem 1rem; font-size: var(--sc-t-sm); font-weight: 600; line-height: 1.45; }
.ticket__status.is-shown { display: block; background: var(--bar); color: #fff; }
.ticket__status.is-ok { background: #17502F; }

.foot { padding-block: var(--sc-6) calc(var(--sc-6) + env(safe-area-inset-bottom)); border-top: 1px solid rgb(255 255 255 / 0.14); }
.foot__grid {
  display: grid; align-items: start;
  grid-template-columns: auto repeat(2, minmax(0, 1fr)); gap: var(--sc-6);
}
.foot__logo { width: 7.5rem; height: auto; }
.foot p { margin: 0; font-size: var(--sc-t-xs); line-height: 1.6; color: var(--sc-ink-soft); max-width: 34ch; }

@media (max-width: 860px) {
  .join__photo { position: relative; width: 100%; height: 44svh; flex: none; }
  .join__photo img {
    object-position: 62% 24%;
    -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 46%);
            mask-image: linear-gradient(0deg, transparent 0, #000 46%);
    -webkit-mask-composite: source-over; mask-composite: add;
  }
  .join__grid { grid-template-columns: minmax(0, 1fr); align-content: start; margin-top: -9svh; padding-block: 0 var(--sc-7); }
  .foot__grid { grid-template-columns: minmax(0, 1fr); gap: var(--sc-4); }
}
