/* ==========================================================================
   AGAIN COFFEE — SHOP / PRODUCT / ABOUT / STORY PAGES
   Loaded after brand.css on shop, product, about, story, pack, feedback, contact and the legal pages.
   Same tokens, grid, headings and button set as the home page (brand.css).
   Every rule starts with main.pg (or targets a page-only element) so the older
   layers' blanket `section { … !important }` rules never reach in.
   ========================================================================== */

/* ---------- Page frame ---------- */
main.pg {
  padding-top: 0 !important;
  color: var(--brand-white);
}

main.pg > section {
  position: relative;
  margin: 0;
  padding: var(--section-y) 0 !important;
  border-radius: 0 !important;
  background: var(--brand-black);
}

main.pg .wrap {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter)) !important;
  margin-inline: auto;
  padding-inline: var(--gutter) !important;
}

/* Bands: black (default), white, paper. Neighbours get one hairline. */
main.pg > .band--white { background: var(--brand-white) !important; }
main.pg > .band--paper { background: var(--paper) !important; }

main.pg > section + section {
  border-top: 1px solid var(--line-on-dark) !important;
}

main.pg > .on-light + section,
main.pg > section + .on-light {
  border-top-color: var(--line-on-light) !important;
}

main.pg .on-light {
  color: var(--brand-black);
}

/* The first band clears the floating header */
main.pg > .pg-first {
  padding-top: clamp(140px, 14vw, 196px) !important;
}

/* Section title as the page h1 */
main.pg h1.section-title {
  font-size: clamp(2.75rem, 6.4vw, 5.5rem) !important;
  line-height: 0.98 !important;
}

main.pg .accent { color: var(--brand-ember); }

main.pg .on-light .text-link { color: var(--brand-black); }
main.pg .on-light .text-link:hover { color: var(--brand-ember); }

/* ---------- Reveals (js/pages.js). Hidden only when JS runs; held while the preloader is up ---------- */
html.pg-js main.pg [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 110ms);
}

html.pg-js main.pg [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

html.pg-js.agp-lock main.pg [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}

/* The first band is already in place when the preloader's ripple opens: the ripple is its entrance.
   (Holding it until agp-done and then fading it added about 2s of blank page.) */
html.pg-js main.pg > .pg-first [data-reveal],
html.pg-js.agp-lock main.pg > .pg-first [data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ==========================================================================
   SHOP
   ========================================================================== */
.shop-intro .section-head {
  margin-bottom: clamp(36px, 4vw, 56px) !important;
}

/* Background film behind the intro, under one flat black veil (no gradient behind text) */
main.pg .shop-intro {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

main.pg .shop-intro__film {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--brand-black);
}

main.pg .shop-intro__film img,
main.pg .shop-intro__film video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

main.pg .shop-intro__film::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

/* Search inside the intro */
.shop-search {
  position: relative;
  width: min(360px, 100%);
}

.shop-search input {
  width: 100%;
  height: 52px;
  padding: 0 20px 0 50px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: transparent;
  color: var(--brand-white);
  font: 500 15px/1 var(--font-body);
}

.shop-search input::placeholder { color: rgba(255, 255, 255, 0.5); }
.shop-search input:focus { border-color: var(--brand-white); outline: none; }
.shop-search input::-webkit-search-cancel-button { filter: invert(1); }

.shop-search .material-symbols-outlined {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

/* Category bar: multi-select pills */
.shop-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shop-cat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: transparent;
  color: var(--brand-white);
  font: 500 14px/1 var(--font-body);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.shop-cat:hover { border-color: var(--brand-white); }

.shop-cat[aria-pressed="true"] {
  background: var(--brand-white);
  border-color: var(--brand-white);
  color: var(--brand-black);
}

.shop-cat:disabled { opacity: 0.35; cursor: default; }

.shop-cat__n {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  opacity: 0.6;
}

/* Body: filters | results */
main.pg > .shop-body {
  padding-top: clamp(48px, 5vw, 72px) !important;
}

.shop-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.shop-filters {
  position: sticky;
  top: 120px;
  color: var(--brand-black);
}

.shop-filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--brand-black);
}

.shop-filters__title {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shop-linkbtn {
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  color: inherit;
  font: 500 13px/1.2 var(--font-body);
  cursor: pointer;
}

.shop-linkbtn:hover { color: var(--brand-ember); }

.shop-filters__close,
.shop-filters__foot { display: none; }

.shop-group {
  border-bottom: 1px solid var(--line-on-light);
}

.shop-group__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 0;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.shop-group__head::-webkit-details-marker { display: none; }

.shop-group__sel {
  margin-left: auto;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-on-light);
}

.shop-group__icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}

.shop-group__sel:empty + .shop-group__icon { margin-left: auto; }
.shop-group[open] .shop-group__icon { transform: rotate(180deg); }

.shop-group__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0 0 18px;
  border: 0;
  min-width: 0;
}

/* Checkbox rows: the real input stays in the tab order, visually replaced by the box */
.shop-opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  font-size: 14px;
  cursor: pointer;
}

.shop-opt input {
  position: absolute;
  opacity: 0;
  width: 18px;
  height: 18px;
  margin: 0;
}

.shop-opt__box {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(0, 0, 0, 0.55);
  border-radius: 4px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.shop-opt__box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid var(--brand-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.15s ease;
}

.shop-opt input:checked + .shop-opt__box {
  background: var(--brand-black);
  border-color: var(--brand-black);
}

.shop-opt input:checked + .shop-opt__box::after { transform: rotate(45deg) scale(1); }

.shop-opt input:focus-visible + .shop-opt__box {
  outline: 2px solid var(--brand-ember);
  outline-offset: 3px;
}

.shop-opt:hover .shop-opt__box { border-color: var(--brand-black); }

.shop-opt__n {
  margin-left: auto;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--muted-on-light);
}

.shop-opt:has(input:disabled) {
  opacity: 0.38;
  cursor: default;
}

/* Results toolbar */
.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--brand-black);
  color: var(--brand-black);
}

.shop-count {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shop-toolbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shop-select {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.shop-select select {
  height: 44px;
  padding: 0 40px 0 18px;
  border: 1px solid rgba(0, 0, 0, 0.24);
  border-radius: 999px;
  background: transparent;
  color: var(--brand-black);
  font: 500 14px/1 var(--font-body);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.shop-select svg,
.shop-card__grind svg {
  position: absolute;
  right: 14px;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.shop-filters-btn {
  display: none;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid var(--brand-black);
  border-radius: 999px;
  background: var(--brand-black);
  color: var(--brand-white);
  font: 600 13px/1 var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.shop-filters-btn .material-symbols-outlined { font-size: 18px; }

.shop-filters-btn__badge {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--brand-white);
  color: var(--brand-black);
  font-size: 11px;
}

/* Active filter chips */
.shop-active {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 18px;
}

.shop-active[hidden] { display: none; }

.shop-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px 0 16px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 999px;
  background: var(--brand-white);
  color: var(--brand-black);
  font: 500 13px/1 var(--font-body);
  cursor: pointer;
}

.shop-chip svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.shop-chip:hover { border-color: var(--brand-black); }

.shop-chip--clear {
  padding: 0 4px;
  border: 0;
  background: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Grid of cards */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 272px), 1fr));
  gap: clamp(20px, 2.4vw, 32px);
  margin: clamp(28px, 3vw, 40px) 0 0;
  padding: 0;
  list-style: none;
}

.shop-item { display: flex; }

/* Cards keep the original dark product card language from the home Shop */
.shop-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 16px 16px 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: #121216;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  color: var(--brand-white);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease, border-color 0.4s ease;
}

.shop-card.is-featured { border-color: rgba(237, 88, 47, 0.65); }

@media (hover: hover) {
  .shop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.26);
  }

  .shop-card:hover .shop-card__img,
  .shop-card:hover .shop-card__pair { transform: scale(1.04); }
}

.shop-card__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 0.92;
  overflow: hidden;
  border-radius: 20px;
  background: #ECECEE;
}

.shop-card__img {
  position: relative;
  z-index: 1;
  max-width: 78%;
  max-height: 82%;
  object-fit: contain;
  transition: transform 0.6s var(--ease-out);
}

/* Studio photos with their own backdrop fill the frame */
.shop-card__img.is-cover {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
}

.shop-card__pair {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 10% 6% 12%;
  transition: transform 0.6s var(--ease-out);
}

.shop-card__pair img {
  width: auto;
  object-fit: contain;
}

.shop-card__pair img:first-child { height: 62%; margin-right: -8%; }
.shop-card__pair img:last-child { height: 88%; }

.shop-card__shadow {
  position: absolute;
  bottom: 9%;
  left: 50%;
  width: 56%;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.28) 0%, transparent 72%);
  transform: translateX(-50%);
}

.shop-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand-black);
  color: var(--brand-white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 22px 8px 0;
}

.shop-card__kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

main.pg .shop-card__name {
  margin: 0;
  font-size: clamp(1.2rem, 1.5vw, 1.4rem);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

.shop-card__name a {
  color: var(--brand-white);
  text-decoration: none;
}

.shop-card__name a:hover { color: var(--brand-ember); }

.shop-card__format {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.shop-card__notes,
.pd-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.shop-card__notes li {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
}

.shop-card__roast,
.pd-roast {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.shop-card__buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.shop-card__price {
  font-size: 1.5rem;
  font-weight: 700;
  white-space: nowrap;
}

.shop-card__price s,
.pd-price s {
  margin-left: 6px;
  font-size: 14px;
  font-weight: 400;
  opacity: 0.55;
}

.shop-card__grind {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.shop-card__grind select {
  max-width: 100%;
  height: 40px;
  padding: 0 36px 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: transparent;
  color: var(--brand-white);
  font: 500 13px/1 var(--font-body);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.shop-card__grind select option { color: var(--brand-black); }

.shop-card__grind--fixed {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  text-align: right;
}

.shop-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
}

/* White button on the dark card, even inside the light band */
main.pg .shop-card .btn--primary {
  background: var(--brand-white);
  color: var(--brand-black) !important;
}

main.pg .shop-card .btn--primary:hover { background: #E6E6E6; }

main.pg .shop-card .text-link { color: var(--brand-white); }
main.pg .shop-card .text-link:hover { color: var(--brand-ember); }

.shop-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(48px, 6vw, 80px) 0;
  color: var(--brand-black);
}

.shop-empty[hidden] { display: none; }

.shop-empty h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
}

.shop-empty p {
  margin: 0;
  max-width: 46ch;
  color: var(--muted-on-light);
}

.shop-empty__mark {
  width: 32px;
  height: 42px;
  color: var(--brand-black);
}

/* Brew-method shortcuts */
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}

.method {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--brand-white);
  text-decoration: none;
  transition: border-color 0.3s ease;
}

.method .material-symbols-outlined {
  font-size: 28px;
  color: rgba(255, 255, 255, 0.8);
}

.method__name {
  margin-top: 12px;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  font-weight: 600;
}

.method__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-on-dark);
}

.method__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.method__go .material-symbols-outlined {
  font-size: 18px;
  color: inherit;
  transition: transform 0.3s var(--ease-out);
}

.method:hover { border-color: var(--brand-white); }
.method:hover .method__go { color: var(--brand-ember); }
.method:hover .method__go .material-symbols-outlined { transform: translateX(4px); }

/* Quiet facts row (shop, about) */
.pg-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  color: var(--brand-black);
}

.pg-note {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--brand-black);
}

.pg-note__mark {
  width: 20px;
  height: 26px;
  margin-bottom: 10px;
  color: var(--brand-black);
}

.pg-note h3 {
  margin: 0;
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  font-weight: 600;
}

.pg-note p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted-on-light);
}

.pg-note a {
  color: var(--brand-black);
  text-underline-offset: 3px;
}

@media (max-width: 1023px) {
  .shop-layout { grid-template-columns: minmax(0, 1fr); }
  .shop-filters-btn { display: inline-flex; }
  .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }

  /* Filters become a bottom sheet */
  .shop-filters {
    position: fixed;
    inset: auto 0 0 0;
    top: auto;
    z-index: 96;
    display: flex;
    flex-direction: column;
    max-height: 86vh;
    max-height: 86dvh;
    padding: 0 20px;
    border-radius: 24px 24px 0 0;
    background: var(--brand-white);
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.35);
    transform: translateY(100%);
    visibility: hidden;
    transition: transform 0.4s var(--ease-out), visibility 0s linear 0.4s;
  }

  .shop-filters.is-open {
    transform: none;
    visibility: visible;
    transition: transform 0.4s var(--ease-out), visibility 0s;
  }

  .shop-filters__head {
    padding: 22px 0 16px;
  }

  .shop-filters__head .shop-linkbtn { display: none; }

  .shop-filters__close {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line-on-light);
    border-radius: 50%;
    background: none;
    color: var(--brand-black);
    cursor: pointer;
  }

  .shop-filters__scroll {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .shop-filters__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0 max(16px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line-on-light);
  }

  .shop-filters__foot .btn { flex: 1; }

  .shop-backdrop {
    position: fixed;
    inset: 0;
    z-index: 95;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  }

  .shop-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s;
  }

  html.shop-sheet-open,
  html.shop-sheet-open body { overflow: hidden; }
}

@media (min-width: 1024px) {
  .shop-backdrop { display: none; }
}

@media (max-width: 767px) {
  .shop-search { width: 100%; }
  .pg-notes { grid-template-columns: minmax(0, 1fr); }
  .shop-cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .shop-cats::-webkit-scrollbar { display: none; }
  .shop-cat { flex: 0 0 auto; }
}

@media (max-width: 479px) {
  .method-grid { grid-template-columns: minmax(0, 1fr); }
  .shop-toolbar__right { width: 100%; justify-content: space-between; }
}

/* ==========================================================================
   PRODUCT
   ========================================================================== */
.pd-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 clamp(28px, 3vw, 44px);
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--muted-on-light);
}

.pd-crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.5;
}

.pd-crumbs a {
  color: var(--brand-black);
  text-decoration: none;
}

.pd-crumbs a:hover { color: var(--brand-ember); }

.pd-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
}

.pd-gallery {
  position: sticky;
  top: 116px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pd-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #ECECEE;
}

.pd-stage__track,
.pd-stage__slide {
  position: absolute;
  inset: 0;
}

.pd-stage__slide {
  display: grid;
  place-items: center;
}

.pd-stage__slide[hidden] { display: none; }
.pd-stage__slide.is-active { animation: pdFade 0.5s var(--ease-out); }

@keyframes pdFade {
  from { opacity: 0; transform: scale(0.985); }
  to { opacity: 1; transform: none; }
}

/* [damn_coffee] Every photo fills the stage edge to edge */
.pd-stage__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-stage__img.is-cover {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
}

.pd-stage__pair {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 12% 8% 14%;
}

.pd-stage__pair img { width: auto; object-fit: contain; }
.pd-stage__pair img:first-child { height: 60%; margin-right: -6%; }
.pd-stage__pair img:last-child { height: 86%; }

.pd-stage__arrow {
  position: absolute;
  bottom: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--brand-white);
  color: var(--brand-black);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.pd-stage__arrow:hover { background: var(--brand-black); color: var(--brand-white); }
.pd-stage__arrow--prev { right: 74px; }
.pd-stage__arrow--next { right: 18px; }

.pd-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.pd-thumb {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  padding: 0;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 14px;
  background: #ECECEE;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.pd-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
/* Full-bleed product photos (custom field photo_fit = cover) fill the thumbnail too */
.pd-thumb.is-cover { padding: 0; overflow: hidden; }
.pd-thumb.is-cover img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb[aria-pressed="true"] { border-color: var(--brand-black); }

.pd-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--brand-black);
}

main.pg .pd-name {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: var(--brand-black);
  text-wrap: balance;
}

.pd-format {
  margin: -6px 0 0;
  font-size: 14px;
  color: var(--muted-on-light);
}

.pd-price {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
}

.pd-summary {
  margin: 0;
  max-width: 48ch;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.65;
  color: var(--muted-on-light);
}

.pd-notes li {
  padding: 7px 14px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 999px;
  font-size: 13px;
}

.pd-roast { color: var(--muted-on-light); }

.pd-opt {
  margin: 6px 0 0;
  padding: 20px 0 0;
  border: 0;
  border-top: 1px solid var(--line-on-light);
  min-width: 0;
}

.pd-opt__label {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  padding: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pd-opt__value { color: var(--muted-on-light); }

.pd-grinds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.pd-grind {
  position: relative;
  cursor: pointer;
}

.pd-grind input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
}

.pd-grind span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pd-grind:hover span { border-color: var(--brand-black); }

.pd-grind input:checked + span {
  background: var(--brand-black);
  border-color: var(--brand-black);
  color: var(--brand-white);
}

.pd-grind input:focus-visible + span {
  outline: 2px solid var(--brand-ember);
  outline-offset: 3px;
}

.pd-opt__hint {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted-on-light);
}

.pd-opt__hint a { color: var(--brand-black); text-underline-offset: 3px; }

.pd-buy {
  display: flex;
  gap: 12px;
  padding-top: 8px;
}

.pd-qty {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  height: 52px;
  border: 1px solid rgba(0, 0, 0, 0.24);
  border-radius: 999px;
}

.pd-qty button {
  width: 44px;
  height: 100%;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--brand-black);
  font-size: 18px;
  cursor: pointer;
}

.pd-qty output {
  min-width: 24px;
  font-weight: 600;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.pd-add { flex: 1; }

/* Buy now sits on its own row under quantity + add to bag */
.pd-buy { flex-wrap: wrap; }
.pd-buynow { flex: 1 0 100%; }

.pd-assure {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--muted-on-light);
}

.pd-assure li { display: flex; align-items: flex-start; gap: 10px; }
.pd-assure .material-symbols-outlined { font-size: 18px; color: var(--brand-black); }
.pd-assure a { color: var(--brand-black); text-underline-offset: 3px; }

.pd-accs {
  margin-top: 12px;
  border-top: 1px solid var(--brand-black);
}

.pd-acc { border-bottom: 1px solid var(--line-on-light); }

.pd-acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.pd-acc summary::-webkit-details-marker { display: none; }
.pd-acc summary:hover { color: var(--brand-ember); }
.pd-acc[open] .faq-item__icon { transform: rotate(45deg); }

.pd-acc__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 0 0 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted-on-light);
}

.pd-acc__body p { margin: 0; }
.pd-acc__body a { color: var(--brand-black); text-decoration: underline; text-underline-offset: 3px; }
.pd-acc__body a:hover { color: var(--brand-ember); }

/* Review form: full width of the accordion, rating + title on one row */
.pd-acc__body .pd-review-form { align-self: stretch; max-width: 760px; }
.pd-review-form > :not(.ct-field--half) { grid-column: 1 / -1; }
.pd-review-form .btn { justify-self: start; }
@media (max-width: 767px) {
  .pd-review-form { grid-template-columns: minmax(0, 1fr); }
  .pd-review-form .btn { width: 100%; }
}

.pd-best {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--brand-black);
  font-weight: 500;
}

.pd-best span,
.pd-specs dt,
.pd-recipes dt {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-on-light);
}

.pd-specs,
.pd-recipes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  width: 100%;
  margin: 0;
}

.pd-specs dd,
.pd-recipes dd {
  margin: 4px 0 0;
  color: var(--brand-black);
}

.pd-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--brand-black);
}

.pd-steps li::marker { color: var(--brand-ember); font-weight: 600; }

/* Bundle contents */
.pd-inc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.pd-inc {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 24px 16px 16px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--brand-black);
  text-decoration: none;
  transition: box-shadow 0.3s ease;
}

.pd-inc:hover { box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08); }

.pd-inc__media {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 112px;
  height: 112px;
  border-radius: 16px;
  background: #ECECEE;
}

.pd-inc__media img { max-width: 80%; max-height: 84%; object-fit: contain; }

.pd-inc__text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--muted-on-light);
}

.pd-inc__text strong {
  font-size: 17px;
  font-weight: 600;
  color: var(--brand-black);
}

/* Film band */
main.pg > .pd-film {
  display: flex;
  align-items: flex-end;
  min-height: clamp(440px, 70vh, 760px);
  overflow: hidden;
  isolation: isolate;
}

.pd-film video,
.ch__media video,
.ab-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-film video { z-index: -2; }

.pd-film__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, transparent 35%, rgba(0, 0, 0, 0.6) 100%);
}

.pd-film__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.pd-film__mark { width: 22px; height: 29px; color: var(--brand-white); }

.pd-film__line {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2rem, 4.4vw, 3.75rem);
  font-weight: 700;
  line-height: 1.02;
  text-transform: uppercase;
}

main.pg > .pd-film .text-link { color: var(--brand-white); }

/* The pour film is shot on white: ink type, no shade */
main.pg > .pd-film.is-light { background: var(--brand-white); color: var(--brand-black); }
.pd-film.is-light .pd-film__shade { display: none; }
.pd-film.is-light .pd-film__mark { color: var(--brand-black); }
main.pg > .pd-film.is-light .text-link { color: var(--brand-black); }

/* Related */
.pd-rel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.pd-rel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--brand-white);
  text-decoration: none;
}

.pd-rel__media {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 0.86;
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #ECECEE;
}

.pd-rel__media > img {
  max-width: 70%;
  max-height: 80%;
  object-fit: contain;
  transition: transform 0.6s var(--ease-out);
}

.pd-rel__media > img.is-cover {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
}

.pd-rel:hover .pd-rel__media > img,
.pd-rel:hover .shop-card__pair { transform: scale(1.04); }

.pd-rel__name { font-size: 18px; font-weight: 600; }
.pd-rel:hover .pd-rel__name { color: var(--brand-ember); }
.pd-rel__meta { font-size: 13px; color: var(--muted-on-dark); }
.pd-rel__price { font-size: 15px; font-weight: 600; }

.pd-missing .wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  min-height: 50vh;
}

main.pg > .pd-top,
main.pg > .pd-missing { padding-top: clamp(128px, 12vw, 168px) !important; }
main.pg > .pd-top { background: var(--paper) !important; }
main.pg > .pd-missing { background: var(--paper) !important; }

@media (max-width: 1023px) {
  .pd-grid { grid-template-columns: minmax(0, 1fr); }
  .pd-gallery { position: static; }
  .pd-rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-rel-grid li:nth-child(3) { display: none; }
}

@media (max-width: 639px) {
  .pd-inc-grid { grid-template-columns: minmax(0, 1fr); }
  .pd-inc__media { width: 84px; height: 84px; }
  .pd-rel-grid { grid-template-columns: minmax(0, 1fr); }
  .pd-rel-grid li:nth-child(3) { display: block; }
  .pd-specs, .pd-recipes { grid-template-columns: minmax(0, 1fr); }
  .pd-thumb { width: 64px; height: 64px; }
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.ab-hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 104px);
  align-items: end;
}

.ab-hero__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.ab-frame {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #0E0E10;
}

.ab-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ab-frame figcaption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 1;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: var(--brand-white);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* One big statement with the body beside it */
.ab-statement {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 104px);
  align-items: start;
}

main.pg .ab-statement__big {
  margin: 0;
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  font-weight: 600;
  line-height: 1.18;
  color: var(--brand-black);
  text-wrap: balance;
}

.ab-statement__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 8px;
}

.ab-statement__body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted-on-light);
}

.ab-statement__body p:first-child {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--brand-black);
}

/* What we make */
.ab-lines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Product links on a light band */
.pd-rel--ink { color: var(--brand-black); }
.pd-rel--ink .pd-rel__meta { color: var(--muted-on-light); }
.pd-rel--ink .pd-rel__media { background: var(--brand-white); }

/* The marks */
.ab-marks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}

.ab-mark {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ab-mark__tile {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 0.8;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-lg);
  background: var(--brand-black);
}

/* Logo and submark at a size that keeps their clear space well inside the tile */
.ab-mark__logo { width: 52%; height: auto; }
.ab-mark__sub { width: 18%; aspect-ratio: 144 / 190; color: var(--brand-white); }

.ab-mark__tile .brand-pattern { opacity: 0.5; background-size: 56px auto; }

.ab-mark h3 {
  margin: 0;
  font-size: clamp(1.15rem, 1.5vw, 1.375rem);
  font-weight: 600;
}

.ab-mark p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted-on-dark);
}

/* Promises reuse the home .promise markup; colours set here since brand.css scopes them to #why-choose-us */
main.pg .promise__title {
  margin: 0;
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--brand-black);
}

main.pg .promise__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted-on-light);
}

/* Ritual split */
.ab-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 104px);
  align-items: center;
}

.ab-split__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.ab-split__text p.ab-body {
  margin: 0;
  max-width: 50ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted-on-dark);
}

/* Who is behind it */
.ab-company {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 104px);
  align-items: start;
  color: var(--brand-black);
}

.ab-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--brand-black);
}

.ab-facts > div {
  padding: 22px 20px 22px 0;
  border-bottom: 1px solid var(--line-on-light);
}

.ab-facts dt {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-on-light);
}

.ab-facts dd {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--brand-black);
}

.ab-facts a { color: var(--brand-black); text-underline-offset: 3px; }
.ab-facts a:hover { color: var(--brand-ember); }

.ab-company__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

@media (max-width: 1023px) {
  .ab-marks,
  .ab-lines { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .ab-mark__tile { aspect-ratio: 16 / 9; }
}

@media (max-width: 900px) {
  .ab-hero,
  .ab-statement,
  .ab-split,
  .ab-company { grid-template-columns: minmax(0, 1fr); }
  .ab-hero .ab-frame { max-width: 480px; }
}

@media (max-width: 559px) {
  .ab-facts { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   STORY: chapters told in film, one line at a time
   ========================================================================== */
.story-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 85;
  height: 2px;
  pointer-events: none;
}

.story-progress__bar {
  display: block;
  height: 100%;
  background: var(--brand-ember);
  transform: scaleX(0);
  transform-origin: left center;
}

/* Chapter rail (wide screens) */
.story-rail {
  position: fixed;
  right: clamp(16px, 2vw, 32px);
  top: 50%;
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%);
  transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}

.story-rail.is-shown {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease, visibility 0s;
}

.story-rail ol {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-rail a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
}

.story-rail a::after {
  content: "";
  width: 14px;
  height: 1px;
  background: currentColor;
  transition: width 0.4s var(--ease-out);
}

.story-rail__label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition: max-width 0.4s var(--ease-out), opacity 0.3s ease;
}

.story-rail a:hover,
.story-rail a.is-current { color: var(--brand-white); }
.story-rail a.is-current::after { width: 32px; background: var(--brand-ember); }

.story-rail a.is-current .story-rail__label,
.story-rail a:hover .story-rail__label { max-width: 140px; opacity: 1; }

.story-rail.is-on-light a { color: rgba(0, 0, 0, 0.45); }
.story-rail.is-on-light a:hover,
.story-rail.is-on-light a.is-current { color: var(--brand-black); }

@media (max-width: 1023px) {
  .story-rail { display: none; }
}

/* Chapter number + label above each story line */
.ch__label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.ch__num { color: var(--brand-ember); font-weight: 600; }

.ch__num::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  margin-left: 14px;
  background: currentColor;
  vertical-align: middle;
  opacity: 0.6;
}

.on-light .ch__label { color: var(--muted-on-light); }

/* The story line: one phrase per line, each arriving a beat after the last */
main.pg .story-lines {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 4.25rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
  text-transform: none;
  color: inherit;
}

.story-line { display: block; }

.ch__body {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.on-light .ch__body { color: var(--muted-on-light); }

.ch__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.ch__facts li { display: inline-flex; align-items: center; gap: 10px; }

.ch__facts li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.on-light .ch__facts { color: var(--muted-on-light); }

.ch__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* Full-bleed chapter: the film holds still (sticky) while its lines arrive */
main.pg > .ch--full {
  height: 170vh;
  height: 170svh;
  padding: 0 !important;
}

.ch__sticky {
  position: sticky;
  top: 0;
  display: flex;
  align-items: flex-end;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.ch__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  margin: 0;
  background: #050607;
}

.ch__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ch__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0, transparent 160px),
    linear-gradient(to bottom, transparent 30%, rgba(0, 0, 0, 0.66) 100%);
}

.ch--full .wrap {
  padding-bottom: clamp(56px, 9vh, 112px) !important;
}

.ch--full .ch__text { max-width: 900px; }

/* Prologue: centred title, scroll cue */
.ch--prologue .ch__sticky { align-items: center; }

.ch--prologue .ch__text {
  align-items: center;
  max-width: none;
  margin-inline: auto;
  text-align: center;
}

.ch--prologue .ch__shade {
  background:
    radial-gradient(ellipse 60% 40% at 50% 50%, rgba(0, 0, 0, 0.38) 0%, transparent 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0, transparent 160px),
    linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
}

main.pg .ch--prologue h1 {
  margin: 0;
  font-size: clamp(2.75rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 0.96;
  text-transform: uppercase;
}

.ch--prologue .ch__body { margin-inline: auto; color: rgba(255, 255, 255, 0.85); }

.ch__cue {
  position: absolute;
  left: 50%;
  bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}

.ch__cue::before {
  content: "";
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, currentColor);
  animation: chCue 2s ease-in-out infinite;
}

.ch__cue:hover { color: var(--brand-white); }

@keyframes chCue {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Split chapter: a framed film beside the text */
.ch-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}

.ch-split--flip .ch__frame { order: 2; }

.ch__frame {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #0E0E10;
}

.ch__frame--wide { aspect-ratio: 16 / 10; }

.ch__frame video,
.ch__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ch__frame figcaption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 1;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: var(--brand-white);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* The pour is filmed on white: let it sit on the white band */
.on-light .ch__frame { background: var(--brand-white); }

.ch-split--wide { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.ch-split--wide.ch-split--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }

.ch__submark {
  width: 34px;
  height: 45px;
  color: var(--brand-black);
}

/* Finale */
.ch-finale {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}

.ch-finale .ch__frame { max-width: 520px; width: 100%; justify-self: end; }

.ch__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

main.pg .ch-finale .story-lines { font-size: clamp(2.5rem, 6vw, 5.5rem); text-transform: uppercase; line-height: 0.98; }

.ch__quote {
  margin: 0;
  max-width: 40ch;
  font-size: clamp(1.1rem, 1.5vw, 1.375rem);
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 900px) {
  .ch-split,
  .ch-split--wide,
  .ch-finale { grid-template-columns: minmax(0, 1fr); }
  .ch-split--flip .ch__frame { order: 0; }
  .ch-split .ch__frame { max-width: 520px; }
  .ch-split .ch__frame--wide { max-width: none; }
  .ch-finale .ch__frame { justify-self: start; max-width: 420px; }
  main.pg > .ch--full { height: 150vh; height: 150svh; }
}

/* Coda: the story exactly as printed on the back of the pouch (wide tracking like the pack, within the 0.1em max) */
main.pg .pack-letter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.pack-letter__mark {
  width: 40px;
  height: 53px;
  color: var(--brand-white);
}

main.pg .pack-letter__title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pack-letter__body {
  display: grid;
  gap: 1.4em;
  padding-top: 8px;
  font-size: clamp(1.0625rem, 1.5vw, 1.3125rem);
  line-height: 1.7;
  text-align: left;
  color: rgba(255, 255, 255, 0.86);
}

.pack-letter__body p { margin: 0; }

main.pg .pack-letter__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin: clamp(24px, 4vw, 48px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-on-dark);
  text-align: left;
}

.pack-letter__links li + li { border-left: 1px solid var(--line-on-dark); }

.pack-letter__links a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 24px 20px;
  color: var(--brand-white);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pack-letter__links a:hover { color: var(--brand-ember); }

.pack-letter__k {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

@media (max-width: 767px) {
  main.pg .pack-letter__links { grid-template-columns: minmax(0, 1fr); }
  .pack-letter__links li + li { border-left: 0; border-top: 1px solid var(--line-on-dark); }
  .pack-letter__links a { padding-inline: 0; }
}

@media (prefers-reduced-motion: reduce) {
  main.pg > .ch--full { height: auto; }
  .ch__sticky { position: relative; min-height: 100svh; height: auto; }
  .ch__cue::before { animation: none; }
  .pd-stage__slide.is-active { animation: none; }
  html.pg-js main.pg [data-reveal] { transform: none; transition: opacity 0.3s ease; }
}

/* ==========================================================================
   CONTACT (contact.html) + LEGAL (terms, privacy, refund-policy, shipping-policy)
   ========================================================================== */

/* Something the client still has to fill in before launch: easy to spot, never styled as real copy */
main.pg .fill-in {
  padding: 1px 6px;
  border: 1px dashed currentColor;
  border-radius: 4px;
  font-style: normal;
  opacity: 0.72;
}

/* ---------- Contact: intro channels ---------- */
.ct-hero {
  display: grid;
  gap: 28px;
}

.ct-channels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(40px, 5vw, 72px);
  border-top: 1px solid var(--line-on-dark);
}

.ct-channel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 28px 28px 0;
  border-bottom: 1px solid var(--line-on-dark);
  color: var(--brand-white);
  text-decoration: none;
}

.ct-channel + .ct-channel {
  padding-left: 28px;
  border-left: 1px solid var(--line-on-dark);
}

.ct-channel__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

.ct-channel__value {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.ct-channel__note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-on-dark);
}

a.ct-channel:hover .ct-channel__value { color: var(--brand-ember); }

/* ---------- Contact: form ---------- */
.ct-write {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 104px);
  align-items: start;
  color: var(--brand-black);
}

.ct-write__aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

main.pg .ct-tips {
  display: grid;
  margin-top: 12px;
  border-top: 1px solid var(--brand-black);
}

main.pg .ct-tips li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-on-light);
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted-on-light);
}

main.pg .ct-tips strong {
  display: block;
  font-weight: 600;
  color: var(--brand-black);
}

.ct-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 20px;
}

.ct-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ct-field--full { grid-column: 1 / -1; }

main.pg .ct-field label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-black);
}

main.pg .ct-field label .ct-optional {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted-on-light);
}

main.pg .ct-field input,
main.pg .ct-field select,
main.pg .ct-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px !important;
  border: 1px solid rgba(0, 0, 0, 0.24) !important;
  border-radius: 12px !important;
  background-color: var(--brand-white) !important;
  font-size: 16px;
  line-height: 1.5;
  color: var(--brand-black) !important;
  transition: border-color 0.2s ease;
}

main.pg .ct-field textarea { min-height: 168px; }

main.pg .ct-field select {
  appearance: none;
  padding-right: 44px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 18px center !important;
}

main.pg .ct-field input::placeholder,
main.pg .ct-field textarea::placeholder { color: rgba(0, 0, 0, 0.42); }

main.pg .ct-field input:hover,
main.pg .ct-field select:hover,
main.pg .ct-field textarea:hover { border-color: var(--brand-black) !important; }

.ct-consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-on-light);
}

main.pg .ct-consent input {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--brand-black);
}

main.pg .ct-consent a,
main.pg .ct-form__note a {
  color: var(--brand-black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ct-form__foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

main.pg .ct-form__note {
  margin: 0;
  max-width: 46ch;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted-on-light);
}

/* ---------- Contact: branches ---------- */
main.pg .ct-branches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ct-branch {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 2.6vw, 36px);
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-lg);
  background: var(--brand-white);
  color: var(--brand-black);
}

main.pg .ct-branch__tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-on-light);
}

main.pg .ct-branch__city {
  margin-top: -6px;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--brand-black);
}

main.pg .ct-branch address {
  font-style: normal;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted-on-light);
}

main.pg .ct-branch__rows {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line-on-light);
}

main.pg .ct-branch__rows > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-on-light);
  font-size: 14px;
}

main.pg .ct-branch__rows dt { color: var(--muted-on-light); }

main.pg .ct-branch__rows dd {
  margin: 0;
  text-align: right;
  color: var(--brand-black);
  overflow-wrap: anywhere;
}

main.pg .ct-branch__rows a {
  color: var(--brand-black);
  text-underline-offset: 3px;
}

main.pg .ct-branch .text-link {
  align-self: flex-start;
  margin-top: auto;
  color: var(--brand-black);
}

main.pg .ct-branch .text-link:hover { color: var(--brand-ember); }

/* ---------- Legal: page frame ---------- */
.lg-hero {
  display: grid;
  gap: 24px;
}

main.pg .lg-meta {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--muted-on-dark);
}

.lg {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 8fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  color: var(--brand-black);
}

.lg-aside {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  scrollbar-width: thin;
}

main.pg .lg-aside__title,
main.pg .lg-toc > summary {
  display: block;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-on-light);
  list-style: none;
}

main.pg .lg-toc > summary::-webkit-details-marker { display: none; }

main.pg .lg-toc ol,
main.pg .lg-policies ul {
  display: grid;
  border-top: 1px solid var(--line-on-light);
}

main.pg .lg-toc a,
main.pg .lg-policies a {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-on-light);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--muted-on-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

main.pg .lg-toc a span {
  flex: none;
  width: 22px;
  color: rgba(0, 0, 0, 0.4);
}

main.pg .lg-toc a:hover,
main.pg .lg-policies a:hover,
main.pg .lg-toc a.is-current { color: var(--brand-black); }

main.pg .lg-policies a[aria-current="page"] {
  color: var(--brand-black);
  font-weight: 600;
}

/* ---------- Legal: document ---------- */
.lg-doc { max-width: 760px; }

.lg-summary {
  margin-bottom: clamp(48px, 5vw, 72px);
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

main.pg .lg-summary h2 {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-black);
}

main.pg .lg-summary ul {
  display: grid;
  gap: 10px;
}

main.pg .lg-summary li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--brand-black);
}

main.pg .lg-summary li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 10px;
  height: 1px;
  background: var(--brand-black);
}

.lg-part {
  scroll-margin-top: 120px;
  padding: clamp(36px, 4vw, 52px) 0;
  border-top: 1px solid var(--line-on-light);
}

.lg-summary + .lg-part {
  padding-top: 0;
  border-top: 0;
}

main.pg .lg-part > h2 {
  display: flex;
  gap: 16px;
  margin: 0 0 20px;
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--brand-black);
}

main.pg .lg-part > h2 .lg-num {
  flex: none;
  min-width: 2ch;
  color: var(--brand-ember);
}

main.pg .lg-part h3 {
  margin: 28px 0 10px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--brand-black);
}

main.pg .lg-part p,
main.pg .lg-part li {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(0, 0, 0, 0.76);
}

main.pg .lg-part p + p { margin-top: 14px; }
main.pg .lg-part strong { font-weight: 600; color: var(--brand-black); }

main.pg .lg-part a {
  color: var(--brand-black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

main.pg .lg-part a:hover { color: var(--brand-ember); }

main.pg .lg-part ul,
main.pg .lg-part ol {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

main.pg .lg-part ul > li {
  position: relative;
  padding-left: 22px;
}

main.pg .lg-part ul > li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.78em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-black);
}

main.pg .lg-part ol { counter-reset: lg; }

main.pg .lg-part ol > li {
  position: relative;
  padding-left: 32px;
  counter-increment: lg;
}

main.pg .lg-part ol > li::before {
  content: counter(lg) ".";
  position: absolute;
  left: 0;
  font-weight: 600;
  color: var(--brand-black);
}

/* Tables scroll inside their own box on phones, never the page */
.lg-table {
  margin: 20px 0;
  overflow-x: auto;
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-md);
}

main.pg .lg-table table {
  width: 100%;
  min-width: 560px;
  font-size: 14px;
  line-height: 1.6;
}

main.pg .lg-table th,
main.pg .lg-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-on-light);
  text-align: left;
  vertical-align: top;
  color: rgba(0, 0, 0, 0.76);
}

main.pg .lg-table th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-black);
  background: var(--paper);
}

main.pg .lg-table tr:last-child td { border-bottom: 0; }
main.pg .lg-table td:first-child { font-weight: 600; color: var(--brand-black); }

/* Contact card inside a policy */
main.pg .lg-card {
  display: grid;
  margin: 20px 0 0;
  border-top: 1px solid var(--brand-black);
}

main.pg .lg-card > div {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 5fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-on-light);
  font-size: 15px;
  line-height: 1.6;
}

main.pg .lg-card dt { color: var(--muted-on-light); }
main.pg .lg-card dd { margin: 0; color: var(--brand-black); overflow-wrap: anywhere; }

@media (max-width: 1023px) {
  .ct-channels { grid-template-columns: minmax(0, 1fr); }
  .ct-channel { padding: 24px 0; }
  .ct-channel + .ct-channel { padding-left: 0; border-left: 0; }
  main.pg .ct-branches { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .lg { grid-template-columns: minmax(0, 1fr); }
  .lg-aside { position: static; max-height: none; overflow: visible; gap: 28px; }
  main.pg .lg-toc { padding: 0 20px; border: 1px solid var(--line-on-light); border-radius: var(--radius-md); }
  main.pg .lg-toc > summary { display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 16px 0; cursor: pointer; }
  main.pg .lg-toc > summary::after { content: "+"; font-size: 18px; color: var(--brand-black); }
  main.pg .lg-toc[open] > summary::after { content: "\2212"; }
  main.pg .lg-toc ol { margin-bottom: 12px; }
  main.pg .lg-policies ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
}

@media (max-width: 900px) {
  .ct-write { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 639px) {
  .ct-form,
  main.pg .ct-branches { grid-template-columns: minmax(0, 1fr); }
  main.pg .lg-card > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ct-form__foot .btn { width: 100%; }
}

main.pg .lg-card + p { margin-top: 20px; }
main.pg .lg-summary a { color: var(--brand-black); text-decoration: underline; text-underline-offset: 3px; }
main.pg .lg-summary a:hover { color: var(--brand-ember); }

/* ==========================================================================
   ON THE PACK (pack.html): the back panel redrawn, with numbered notes (js/pack.js)
   ========================================================================== */
.pk-hero {
  display: grid;
  gap: 28px;
}

.pk-read {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 104px);
  align-items: start;
}

/* The label: black like the pouch, wide caps like its type (0.1em, the brand maximum) */
.pk-label {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 0;
  padding: clamp(28px, 3.4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--brand-black);
  color: var(--brand-white);
}

.pk-label__mark {
  align-self: center;
  width: 30px;
  height: 40px;
  color: var(--brand-white);
}

.pk-spot {
  position: relative;
  padding: 10px 12px;
  margin: -10px -12px;
  border: 1px dashed transparent;
  border-radius: 12px;
  transition: opacity 0.3s ease, border-color 0.3s ease;
}

.pk-label.has-lit .pk-spot { opacity: 0.32; }
.pk-label.has-lit .pk-spot.is-lit { opacity: 1; border-color: rgba(255, 255, 255, 0.4); }

.pk-pin {
  position: absolute;
  top: -11px;
  left: -11px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-white);
  color: var(--brand-black);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  transition: background-color 0.3s ease;
}

.pk-spot.is-lit .pk-pin { background: var(--brand-ember); }

main.pg .pk-label p { margin: 0; }

main.pg .pk-label__title {
  margin-bottom: 14px;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

main.pg .pk-label__story {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}

main.pg .pk-label__story + .pk-label__story { margin-top: 10px; }

.pk-label__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: end;
}

.pk-label__stack {
  display: grid;
  gap: 22px;
}

main.pg .pk-label__k {
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

main.pg .pk-label__v {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

main.pg .pk-label__small {
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.pk-label__scan {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pk-label__code {
  flex: none;
  width: 48px;
  height: 48px;
  color: var(--brand-white);
}

.pk-label__logo {
  width: auto;
  height: 30px;
}

main.pg .pk-label__fssai {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 13px;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}

.pk-label__fssai span { font-weight: 700; letter-spacing: 0; }

/* Notes beside the label */
main.pg .pk-notes {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--brand-black);
}

.pk-note {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-on-light);
  color: var(--brand-black);
}

.pk-note__n {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--brand-black);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.pk-note.is-lit .pk-note__n { background: var(--brand-ember); border-color: var(--brand-ember); }

main.pg .pk-note h3 {
  margin: 4px 0 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

main.pg .pk-note p {
  margin: 0 0 12px;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted-on-light);
}

/* Keep it fresh */
main.pg .pk-care {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
}

main.pg .pk-care li {
  padding-top: 24px;
  border-top: 1px solid var(--brand-black);
  color: var(--muted-on-light);
  font-size: 16px;
  line-height: 1.65;
}

main.pg .pk-care p { margin: 0; }

main.pg .pk-care .pk-care__word {
  margin-bottom: 14px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--brand-black);
}

.pk-calc {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
  gap: 24px clamp(24px, 3vw, 48px);
  align-items: end;
  margin-top: clamp(56px, 7vw, 96px);
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--brand-black);
}

main.pg .pk-calc__title {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.25;
}

main.pg .pk-calc__text p,
main.pg .pk-calc__out {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted-on-light);
}

main.pg .pk-calc__out {
  padding-bottom: 14px;
  font-weight: 500;
  color: var(--brand-black);
}

@media (max-width: 1023px) {
  .pk-read { grid-template-columns: minmax(0, 1fr); }
  .pk-label { position: relative; top: 0; max-width: 560px; }
  .pk-calc { grid-template-columns: minmax(0, 1fr); align-items: start; }
  main.pg .pk-calc__out { padding-bottom: 0; }
}

@media (max-width: 767px) {
  main.pg .pk-care { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 479px) {
  .pk-label__row { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   FEEDBACK (feedback.html): reuses the contact form; adds the "again?" choice
   ========================================================================== */
main.pg .fb-again {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

main.pg .fb-again legend {
  margin-bottom: 12px;
  padding: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-black);
}

.fb-again__opts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fb-again__opts label { position: relative; cursor: pointer; }

.fb-again__opts input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.fb-again__opts span {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(0, 0, 0, 0.24);
  border-radius: 999px;
  background: var(--brand-white);
  color: var(--brand-black);
  font-size: 15px;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fb-again__opts label:hover span { border-color: var(--brand-black); }

.fb-again__opts input:checked + span {
  border-color: var(--brand-black);
  background: var(--brand-black);
  color: var(--brand-white);
}

.fb-again__opts input:focus-visible + span {
  outline: 2px solid var(--brand-ember);
  outline-offset: 3px;
}

main.pg .ct-tips a { color: var(--brand-black); text-decoration: underline; text-underline-offset: 3px; }
main.pg .ct-tips a:hover { color: var(--brand-ember); }
