/* ============================================================
   OUNIN GLOBAL — COMPONENTS
   Imports: tokens.css
   Source of truth: Design.md v1.7 §4
   ============================================================ */

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: var(--type-button);
  font-weight: 500;
  letter-spacing: var(--tracking-button);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out),
              color var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out);
  text-decoration: none;
  user-select: none;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--ounin-ink);
  color: var(--ounin-paper);
  border-color: var(--ounin-ink);
}
.btn-primary:hover {
  background: color-mix(in srgb, var(--ounin-ink) 85%, var(--ounin-paper));  /* warm ink lightened */
  border-color: color-mix(in srgb, var(--ounin-ink) 85%, var(--ounin-paper));
}
.btn-primary:active {
  transform: translateY(1px);
}

.btn-secondary {
  background: transparent;
  color: var(--ounin-ink);
  border-color: var(--ounin-ink);
}
.btn-secondary:hover {
  background: var(--ounin-ink);
  color: var(--ounin-paper);
}

.btn-tertiary {
  padding: 4px 0;
  background: transparent;
  color: var(--ounin-ink);
  border-radius: 0;
  border-bottom: 1px solid var(--ounin-line);
}
.btn-tertiary:hover {
  border-bottom-color: var(--ounin-ink);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Icon-only button */
.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ounin-ink);
}
.btn-icon:hover {
  background: var(--ounin-paper);
}

/* ============================================================
   CARDS
   ============================================================ */

.card {
  background: var(--ounin-paper);
  border: 1px solid var(--ounin-line);
  border-radius: var(--radius-sm);
  padding: var(--space-5);
  transition: transform var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.card-link {
  display: block;
  cursor: pointer;
}
.card-link:hover {
  transform: translateY(-2px);
  border-color: var(--ounin-ink);
  box-shadow: var(--elevation-2);
}

.card-image {
  margin: calc(-1 * var(--space-5));
  margin-bottom: var(--space-4);
  background: var(--ounin-cream);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-eyebrow { margin-bottom: var(--space-2); }
.card-title   { font-family: var(--font-serif); font-size: var(--type-h3); margin-bottom: var(--space-2); }
.card-meta    { color: var(--ounin-stone); font-size: var(--type-small); }
.card-price   { font-variant-numeric: tabular-nums; color: var(--ounin-stone); font-size: var(--type-small); }

/* ============================================================
   FORMS
   ============================================================ */

.input {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: var(--type-body);
  color: var(--ounin-ink);
  background: var(--ounin-paper);
  border: 1px solid var(--ounin-line);
  border-radius: var(--radius-sm);
  transition: border-color var(--duration-normal) var(--ease-out);
}
.input:focus {
  outline: none;
  border-color: var(--ounin-ink);
}
.input::placeholder {
  color: var(--ounin-stone);
}

.input-underline {
  padding: 12px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ounin-ink);
  border-radius: 0;
}

.field-label {
  display: block;
  font-size: var(--type-small);
  font-weight: 500;
  margin-bottom: var(--space-2);
  color: var(--ounin-ink);
}

.field-help {
  font-size: var(--type-micro);
  color: var(--ounin-stone);
  margin-top: var(--space-2);
}

/* Newsletter inline form */
.newsletter-form {
  display: flex;
  gap: var(--space-2);
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form .input {
  flex: 1;
  border-radius: var(--radius-pill);
  padding: 12px 20px;
}
.newsletter-form .btn {
  flex-shrink: 0;
}
.newsletter-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ============================================================
   NAVIGATION — Header
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(251, 248, 241, 0.88);  /* bone rgba */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-bottom-color var(--duration-normal) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  border-bottom-color: var(--ounin-line);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (min-width: 1024px) {
  .site-header-inner {
    height: 72px;
  }
}

.site-logo {
  display: flex;
  align-items: center;
  height: 28px;
  color: var(--ounin-orange-LOCKUP-ONLY);  /* ONLY allowed orange usage */
  font-family: var(--font-sans);
  font-weight: 500;                 /* v2.15: 600 → 500, within Inter loaded range */
  font-size: 22px;
  letter-spacing: -0.02em;
}
@media (min-width: 1024px) {
  .site-logo {
    height: 32px;
    font-size: 27px;
  }
}

.site-nav {
  display: none;
}
@media (min-width: 1024px) {
  .site-nav {
    display: flex;
    gap: var(--space-6);
    align-items: center;
  }
}
.site-nav a {
  font-size: var(--type-button);
  color: var(--ounin-ink);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-normal) var(--ease-out);
}
.site-nav a:hover,
.site-nav a.active {
  border-bottom-color: var(--ounin-ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
}
@media (min-width: 1024px) {
  .mobile-menu-btn { display: none; }
}

/* ============================================================
   REGION SWITCHER — v1.5 Open Item #19 resolution
   ============================================================ */

/* ============================================================
   REGION SWITCHER STYLES — kept for reference, UI removed (US-only build)
   ============================================================ */
.region-switcher {
  position: relative;
}

/* Static region label (US-only build, replaces switcher dropdown) */
.region-static {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  font-size: var(--type-small);
  font-family: var(--font-sans);
  color: var(--ounin-stone);
  border: 1px solid var(--ounin-line);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.region-trigger {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 10px;
  font-size: var(--type-small);
  font-family: var(--font-sans);
  color: var(--ounin-ink);
  background: transparent;
  border: 1px solid var(--ounin-line);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--duration-normal) var(--ease-out);
}
@media (min-width: 1024px) {
  .region-trigger { padding: 8px 12px; font-size: var(--type-button); }
}
.region-trigger:hover {
  background: var(--ounin-paper);
}
.region-trigger svg.globe { width: 14px; height: 14px; }
.region-trigger svg.caret { width: 10px; height: 10px; }

.region-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  background: var(--ounin-paper);
  border: 1px solid var(--ounin-line);
  border-radius: var(--radius-md);
  box-shadow: var(--elevation-2);
  padding: var(--space-3);
  z-index: var(--z-dropdown);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out);
}
.region-switcher[aria-expanded="true"] .region-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.region-panel-header {
  font-family: var(--font-sans);
  font-size: var(--type-micro);
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--ounin-stone);
  padding: var(--space-2) var(--space-2) var(--space-3) var(--space-2);
}

.region-option {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-2);
  width: 100%;
  text-align: left;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--duration-normal) var(--ease-out);
}
.region-option:hover {
  background: var(--ounin-cream);
}
.region-option.active {
  background: var(--ounin-cream);
}
.region-option-check {
  width: 16px;
  flex-shrink: 0;
  color: var(--ounin-sage-deep);
}
.region-option:not(.active) .region-option-check {
  visibility: hidden;
}
.region-option-label {
  font-weight: 500;
}
.region-option-detail {
  font-size: var(--type-micro);
  color: var(--ounin-stone);
  display: block;
  font-weight: 400;
}

.region-panel-footer {
  margin-top: var(--space-2);
  padding-top: var(--space-3);
  border-top: 1px solid var(--ounin-line);
  font-size: var(--type-micro);
  color: var(--ounin-stone);
  padding: var(--space-3) var(--space-2) 0 var(--space-2);
}

/* ============================================================
   TRUST BAR
   ============================================================ */

.trust-bar {
  background: var(--ounin-paper);
  border-bottom: 1px solid var(--ounin-line);
  padding: var(--space-2) 0;
  font-size: var(--type-small);
  color: var(--ounin-stone);
  text-align: center;
}
.trust-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  padding: 0 var(--gutter);
}
.trust-bar .sep {
  color: var(--ounin-line);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 80vh;
  max-height: 900px;
  display: flex;
  align-items: flex-end;
  background: var(--ounin-cream);
  overflow: hidden;
}
@media (min-width: 1024px) {
  .hero { min-height: 85vh; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Hero loop video (homepage v2.7 · M01) — sits under the same scrim as the
   image. Mobile (≤767px) and reduced-motion users get the static poster
   image instead; the <img class="hero-fallback"> stays the SSR-safe base. */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}
@media (min-width: 768px) {
  .hero-video { display: block; }
  .hero-video + .hero-fallback { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero-video + .hero-fallback { display: block; }
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(251, 248, 241, 0.78) 0%,
    rgba(251, 248, 241, 0.38) 40%,
    rgba(251, 248, 241, 0) 70%
  );
}

/* ============================================================
   .hero-dark — dark-toned hero variant
   Uses a left-to-right + bottom darken to preserve text legibility
   over dark imagery; flips all text/CTA colors to bone/white.
   ============================================================ */
.hero-dark .hero-bg::after {
  background:
    linear-gradient(to right,
      rgba(24, 17, 12, 0.75) 0%,
      rgba(24, 17, 12, 0.45) 40%,
      rgba(24, 17, 12, 0.10) 70%,
      rgba(24, 17, 12, 0)    100%),
    linear-gradient(to top,
      rgba(24, 17, 12, 0.35) 0%,
      rgba(24, 17, 12, 0)    50%);
}
.hero-dark .hero-eyebrow { color: var(--ounin-copper-rose); }
.hero-dark .hero-title { color: var(--ounin-bone); }
.hero-dark .hero-sub   { color: rgba(251, 248, 241, 0.85); }

/* Secondary CTA on dark hero — outline white, fill on hover */
.btn-on-dark {
  background: transparent;
  color: var(--ounin-bone);
  border-color: var(--ounin-bone);
}
.btn-on-dark:hover {
  background: var(--ounin-bone);
  color: var(--ounin-ink);
  border-color: var(--ounin-bone);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: var(--space-7) var(--gutter) var(--space-8);
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}
@media (min-width: 1024px) {
  .hero-content { padding: var(--space-9) var(--gutter) var(--space-9); }
}

.hero-eyebrow { margin-bottom: var(--space-3); }
.hero-title {
  font-family: var(--font-serif);
  font-weight: 500;                 /* v2.14: medium weight — editorial authority over the thin 400 */
  font-size: var(--type-hero-display);
  line-height: var(--lh-display);
  letter-spacing: var(--tracking-display);
  max-width: 15ch;
  margin-bottom: var(--space-3);
  text-wrap: balance;               /* avoid a lone word on the last line */
}
.hero-sub {
  font-size: var(--type-h4);
  line-height: var(--lh-body);
  color: var(--ounin-stone);
  max-width: 46ch;
  margin-bottom: var(--space-6);
}
/* v2.15: slogan is now a sans-serif subtitle — the italic serif created
   a third voice on the hero (serif title + italic slogan + sans body).
   Two voices only: serif for editorial authority, sans for everything else. */
.hero-slogan {
  font-family: var(--font-sans);
  font-size: var(--type-h4);
  line-height: var(--lh-body);
  color: var(--ounin-blush-clay);
  margin: 0 0 var(--space-4);
  max-width: 46ch;
}
.hero-ctas {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* ------------------------------------------------------------
   Hero entrance choreography (v2.14) — staggered fade-up on load.
   Elements carry .hero-reveal; JS adds .is-loaded on <body> after first
   paint. Reduced-motion users see content instantly (no transform).
   ------------------------------------------------------------ */
.hero-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--duration-page) var(--ease-emphatic),
              transform var(--duration-page) var(--ease-emphatic);
  transition-delay: var(--reveal-delay, 0ms);
}
body.is-loaded .hero-reveal {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-reveal { opacity: 1; transform: none; transition: none; }
}

/* ------------------------------------------------------------
   Scroll reveal (v2.14) — any element with [data-reveal] fades/slides in
   when it enters the viewport. Siblings inside [data-reveal-group]
   stagger via --reveal-delay (set by JS). Reduced-motion: instant.

   Uses the independent `translate` property (not `transform`) so the
   reveal never collides with hover transforms on cards/tiles
   (.persona-tile:hover, .line-cover:hover, etc.).
   ------------------------------------------------------------ */
[data-reveal] {
  opacity: 0;
  translate: 0 26px;
  transition: opacity var(--duration-page) var(--ease-emphatic),
              translate var(--duration-page) var(--ease-emphatic);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, translate;
}
[data-reveal].is-revealed {
  opacity: 1;
  translate: 0 0;
}
@supports not (translate: 0 0) {
  /* Fallback for older engines: opacity-only reveal, no slide. */
  [data-reveal] { transition-property: opacity; will-change: opacity; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; translate: none; transition: none; }
}

/* ------------------------------------------------------------
   Image fade-in (v2.14) — editorial images ease in once decoded,
   softening the pop of large plates. JS-free: uses the `loading`
   attribute's own timing via a CSS animation on the <img>.
   ------------------------------------------------------------ */
.img-fade {
  animation: img-fade-in var(--duration-page) var(--ease-out) both;
}
@keyframes img-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .img-fade { animation: none; }
}

/* ============================================================
   TRUST STRIP — Homepage module 02 (why buy direct, compressed)
   Single quiet row of purchase reassurances right under the hero;
   reuses the PDP trust-pill copy deck.
   ============================================================ */
.trust-strip {
  background: var(--ounin-paper);
  border-top: 1px solid var(--ounin-line);
  border-bottom: 1px solid var(--ounin-line);
  padding: var(--space-4) 0;
}
.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-6);
}
/* Scoped to .trust-strip — shop.html's trust-section cards also use
   .trust-item and must keep their stacked grid layout. */
.trust-strip .trust-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--type-small);
  color: var(--ounin-stone);
  white-space: nowrap;
}
.trust-strip .trust-item::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--ounin-copper-rose);
}

/* ============================================================
   THREE-CERTAINTIES STRIP
   ============================================================ */

.three-certainties {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
}
@media (min-width: 768px) {
  .three-certainties {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }
}

.certainty {
  text-align: left;
}
.certainty-stat {
  font-family: var(--font-sans);
  font-size: 3.5rem;
  font-weight: 400;                 /* v2.15: 300 → 400 — single light weight */
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--ounin-ink);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-2);
}
@media (min-width: 1024px) {
  .certainty-stat { font-size: 4.5rem; }
}
.certainty-title {
  font-family: var(--font-serif);
  font-size: var(--type-h3);
  margin-bottom: var(--space-3);
}
.certainty-body {
  color: var(--ounin-stone);
  font-size: var(--type-body);
}

/* ============================================================
   THREE-LINE LOCKUP — Homepage module 04
   ============================================================ */

.line-lockup {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .line-lockup { grid-template-columns: repeat(3, 1fr); }
}

.line-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  text-decoration: none;
  color: inherit;
}
.line-card-image {
  aspect-ratio: 4 / 5;
  background: var(--ounin-paper);
  border: 1px solid var(--ounin-line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out);
}
.line-card:hover .line-card-image {
  transform: translateY(-2px);
  border-color: var(--ounin-ink);
}
.line-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-5);
}
.line-card-family {
  font-family: var(--font-serif);
  font-size: var(--type-h3);
  margin-top: var(--space-3);
}
.line-card-tag {
  color: var(--ounin-stone);
  font-size: var(--type-small);
}
.line-card-cta {
  margin-top: var(--space-2);
  font-size: var(--type-button);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.line-card-cta::after {
  content: "→";
  transition: transform var(--duration-normal) var(--ease-out);
}
.line-card:hover .line-card-cta::after {
  transform: translateX(4px);
}

/* Flagship card variant — slightly heavier + copper-rose accent on hover */
.line-card.flagship .line-card-image {
  background: var(--ounin-cream);
  border-color: var(--ounin-line);
}
.line-card.flagship:hover .line-card-image {
  border-color: var(--ounin-copper-rose);
}
.line-card.flagship .line-card-cta {
  color: var(--ounin-copper-rose);
}

/* ============================================================
   .line-cover — magazine-cover line card (v2)
   Each line gets a tinted bg + big serif masthead + italic tag +
   smaller product image at lower 35%. 3-card grid, flagship has
   copper-rose top edge + slight scale on hover.
   ============================================================ */
.line-cover {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  padding: var(--space-6) var(--space-5) var(--space-5);
  border-radius: var(--radius-sm);
  border: 1px solid var(--ounin-line);
  min-height: 520px;
  position: relative;
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out);
}
@media (min-width: 768px) { .line-cover { min-height: 600px; } }
@media (min-width: 1024px) { .line-cover { min-height: 640px; padding: var(--space-7) var(--space-6) var(--space-6); } }

.line-cover:hover {
  transform: translateY(-3px);
  box-shadow: var(--elevation-2);
  border-color: var(--ounin-ink);
}

/* Three tints */
.line-cover[data-tint="entry"]    { background: var(--ounin-paper); }      /* warm warm-white */
.line-cover[data-tint="daily"]    { background: var(--ounin-bone); }       /* sage-pale */
.line-cover[data-tint="flagship"] { background: var(--ounin-cream); }      /* deeper sage cream */

/* Flagship — copper-rose top edge + slight scale */
.line-cover-flagship {
  border-top: 3px solid var(--ounin-copper-rose);
  padding-top: calc(var(--space-6) - 2px);
}
@media (min-width: 1024px) {
  .line-cover-flagship { padding-top: calc(var(--space-7) - 2px); }
}

/* Header (top half) — vol + masthead + rule + tag */
.line-cover-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.line-cover-vol {
  font-family: var(--font-sans);
  font-size: var(--type-micro);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--ounin-copper-rose);
}
.line-cover-masthead {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.02;
  letter-spacing: var(--tracking-display);
  color: var(--ounin-ink);
  margin: 0;
}
.line-cover-rule {
  width: 40px;
  height: 1px;
  background: var(--ounin-sage-deep);
}
.line-cover-tag {
  font-family: var(--font-sans);    /* v2.15: no italic — two voices only */
  font-size: var(--type-small);
  line-height: 1.5;
  color: var(--ounin-stone);
  margin: 0;
  max-width: 22ch;
}

/* Footer (bottom half) — product image + meta */
.line-cover-footer {
  margin-top: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.line-cover-image {
  aspect-ratio: 4 / 3;
  background: var(--ounin-hero);   /* falls back to umber if image misses */
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-xs);
}
.line-cover-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;               /* editorial portrait fills edge-to-edge */
  transition: transform var(--duration-slow) var(--ease-out);
}
.line-cover:hover .line-cover-image img {
  transform: scale(1.03);
}
.line-cover-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: var(--space-3);
  border-top: 1px solid rgba(38, 33, 27, 0.10);
  font-size: var(--type-small);
}
.line-cover-price {
  font-variant-numeric: tabular-nums;
  color: var(--ounin-stone);
}
.line-cover-cta {
  font-weight: 500;
  color: var(--ounin-ink);
  transition: color var(--duration-normal) var(--ease-out);
}
.line-cover:hover .line-cover-cta { color: var(--ounin-copper-rose); }
.line-cover-flagship .line-cover-cta { color: var(--ounin-copper-rose); }

/* ------------------------------------------------------------
   .line-cover-v3 — image-led variant (homepage v2.7 · M03)
   Editorial portrait becomes the card body (≥65% of card height);
   masthead shrinks to a compact lockup above it, one-line tag +
   line-level price band below. Height is content-driven.
   ------------------------------------------------------------ */
.line-cover-v3 {
  justify-content: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  min-height: 0;
}
@media (min-width: 768px)  { .line-cover-v3 { min-height: 0; } }
@media (min-width: 1024px) { .line-cover-v3 { min-height: 0; padding: var(--space-5); } }
.line-cover-v3.line-cover-flagship { padding-top: calc(var(--space-5) - 2px); }
@media (min-width: 1024px) {
  .line-cover-v3.line-cover-flagship { padding-top: calc(var(--space-5) - 2px); }
}
.line-cover-top {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.line-cover-v3 .line-cover-masthead {
  /* v2.14: restored editorial weight — the v3 compact lockup (1.4–1.75rem)
     read as a caption, not a product-line title. */
  font-size: clamp(1.75rem, 2.4vw, 2.25rem);
  font-weight: 500;
  line-height: 1.05;
}
.line-cover-v3 .line-cover-image {
  /* v2.14: 3/4 portrait → 4/3 landscape. The editorial source plates are
     2400×1792 (4:3 landscape); a 3:4 crop sliced ~44% off both sides and
     cut the product out of frame. Landscape keeps the full composition. */
  aspect-ratio: 4 / 3;
}
/* v2.14: flagship editorial plate is composed left-of-center with the water
   tank at the right edge — anchor the crop to the right so the tank stays
   visible (the 2400×1792 source is ~0.4% wider than the 4:3 frame, so this
   is a subtle nudge, not a crop). */
.line-cover-flagship .line-cover-image img {
  object-position: right center;
}
.line-cover-v3 .line-cover-footer {
  margin-top: 0;
}
.line-cover-v3 .line-cover-tag {
  font-size: var(--type-small);
  line-height: 1.5;
  max-width: none;
}

/* ============================================================
   PERSONA SCENES GALLERY — Homepage module 06
   ============================================================ */

.persona-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 640px) {
  .persona-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .persona-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.persona-tile {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--ounin-cream);
  cursor: pointer;
  border: 0;
  padding: 0;
  display: block;
  width: 100%;
  text-align: left;
  transition: transform var(--duration-normal) var(--ease-out);
}
.persona-tile:hover {
  transform: translateY(-2px);
}
.persona-tile:hover .persona-tile-overlay {
  opacity: 1;
}
.persona-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}
.persona-tile:hover img {
  transform: scale(1.03);
}
.persona-caption {
  position: absolute;
  bottom: var(--space-3);
  left: var(--space-3);
  right: calc(var(--space-3) + 3.5rem);  /* clear the Read → link */
  font-family: var(--font-serif);
  font-size: var(--type-small);
  color: var(--ounin-paper);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  z-index: 1;
}
/* v2.14: always-on bottom scrim — the caption sat directly on busy kitchen
   photography with only a text-shadow, which failed on light/busy plates
   (terracotta, beadboard). A quiet permanent gradient guarantees legibility
   without waiting for hover. */
.persona-tile::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(
    to top,
    rgba(38, 33, 27, 0.55) 0%,
    rgba(38, 33, 27, 0.15) 60%,
    rgba(38, 33, 27, 0) 100%
  );
  pointer-events: none;
}
.persona-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(38, 33, 27, 0.7) 0%,
    rgba(38, 33, 27, 0.15) 50%,
    rgba(38, 33, 27, 0) 100%
  );
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
  display: flex;
  align-items: flex-end;
  padding: var(--space-4);
}
.persona-tile-read {
  font-size: var(--type-micro);
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--ounin-paper);
  position: absolute;
  bottom: var(--space-3);
  right: var(--space-3);
  z-index: 2;
}
.persona-tile-read::after { content: " →"; }

/* Compact band variant (homepage v2.7 · M06) — same six tiles, two tight
   rows at roughly half the visual height; modal behavior unchanged. */
.persona-gallery-compact {
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
@media (min-width: 640px) {
  .persona-gallery-compact { grid-template-columns: repeat(3, 1fr); }
}
.persona-gallery-compact .persona-tile {
  aspect-ratio: 16 / 10;
}

/* ============================================================
   PERSONA STORY MODAL
   ============================================================ */

.persona-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(38, 33, 27, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: var(--z-modal);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out);
}
.persona-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.persona-modal {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-modal) + 1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  pointer-events: none;
}
.persona-modal.open {
  pointer-events: auto;
}
.persona-modal-card {
  position: relative;
  background: var(--ounin-paper);
  border-radius: var(--radius-sm);
  max-width: 1024px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  box-shadow: var(--elevation-4);
  transform: translateY(20px) scale(0.98);
  opacity: 0;
  transition: transform var(--duration-slow) var(--ease-emphatic),
              opacity var(--duration-normal) var(--ease-out);
}
.persona-modal.open .persona-modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}
@media (min-width: 768px) {
  .persona-modal-card {
    grid-template-columns: 1fr 1fr;
    max-height: 80vh;
  }
}

.persona-modal-image {
  background: var(--ounin-cream);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  max-height: 45vh;
}
@media (min-width: 768px) {
  .persona-modal-image {
    aspect-ratio: auto;
    max-height: none;
    height: 100%;
  }
}
.persona-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.persona-modal-body {
  padding: var(--space-6);
  overflow-y: auto;
  position: relative;
  /* v2.14: constrain height so long stories scroll inside the modal body
     instead of pushing the card beyond the viewport. */
  max-height: 55vh;
}
@media (min-width: 768px) {
  .persona-modal-body {
    padding: var(--space-7);
    max-height: 80vh;
  }
}

.persona-modal-close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ounin-bone);
  border: 1px solid var(--ounin-line);
  color: var(--ounin-ink);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(38, 33, 27, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ounin-line);
  cursor: pointer;
  z-index: 1;
}
.persona-modal-close:hover {
  background: var(--ounin-cream);
}

.persona-modal-eyebrow {
  margin-bottom: var(--space-3);
}
.persona-modal-headline {
  font-family: var(--font-serif);
  font-size: var(--type-h2);
  line-height: 1.15;
  margin-bottom: var(--space-4);
  color: var(--ounin-ink);
}
.persona-modal-story {
  color: var(--ounin-stone);
  font-size: var(--type-body);
  line-height: 1.65;
}
.persona-modal-story p {
  margin-bottom: var(--space-4);
}
.persona-modal-story p:last-child {
  margin-bottom: 0;
}
.persona-modal-attribution {
  font-family: var(--font-serif);
  color: var(--ounin-ink);
  font-size: var(--type-h4);
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--ounin-line);
}
.persona-modal-meta {
  font-size: var(--type-small);
  color: var(--ounin-stone);
  margin-top: var(--space-2);
}

/* ============================================================
   NEWSLETTER STRIP
   ============================================================ */

.newsletter-strip {
  background: var(--ounin-cream);
  text-align: center;
  padding: var(--space-9) var(--gutter);
}
.newsletter-strip h2 {
  font-family: var(--font-serif);
  font-size: var(--type-h2);
  margin-bottom: var(--space-3);
}
.newsletter-strip p {
  color: var(--ounin-stone);
  margin: 0 auto var(--space-5);
  max-width: 40ch;
}
.newsletter-strip .field-help {
  text-align: center;
  margin-top: var(--space-3);
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--ounin-cream);
  padding: var(--space-8) 0 var(--space-6);
  border-top: 1px solid var(--ounin-line);
  font-size: var(--type-small);
  color: var(--ounin-stone);
}
@media (min-width: 1024px) {
  .site-footer { padding: var(--space-10) 0 var(--space-6); }
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-7);
}
@media (min-width: 768px) {
  .site-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-6);
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .site-footer-grid > .footer-col:last-child {
    grid-column: span 2;
  }
}
@media (min-width: 1200px) {
  .site-footer-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr 1.5fr;
  }
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: var(--type-small);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--ounin-ink);
  margin-bottom: var(--space-3);
}
.footer-col ul li {
  margin-bottom: var(--space-2);
}
.footer-col a:hover {
  color: var(--ounin-ink);
}

/* Brand lockup row — wordmark + slogan (client-approved), sits above footer-bottom */
.footer-lockup {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-top: var(--space-5);
  margin-bottom: var(--space-5);
  border-top: 1px solid var(--ounin-line);
}
.footer-lockup-brand {
  font-size: var(--type-small);
  font-weight: 500;                 /* v2.15: 600 → 500 */
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ounin-ink);
}
.footer-lockup-slogan {
  font-family: var(--font-serif);
  font-size: var(--type-h4);
  color: var(--ounin-ink);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-top: var(--space-5);
  border-top: 1px solid var(--ounin-line);
  font-size: var(--type-micro);
}

/* ============================================================
   VARIANT SELECTOR — PDP
   ============================================================ */

.variant-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.variant-pill {
  display: block;
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--ounin-paper);
  border: 1px solid var(--ounin-line);
  border-radius: var(--radius-sm);
  text-align: left;
  cursor: pointer;
  transition: border-color var(--duration-normal) var(--ease-out),
              background var(--duration-normal) var(--ease-out);
}
.variant-pill:hover {
  border-color: var(--ounin-ink);
}
.variant-pill[aria-checked="true"] {
  border-color: var(--ounin-ink);
  border-width: 2px;
  padding: calc(var(--space-3) - 1px) calc(var(--space-4) - 1px);
}
.variant-pill-label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--type-body);
  color: var(--ounin-ink);
  margin-bottom: 2px;
}
.variant-pill-desc {
  font-size: var(--type-small);
  color: var(--ounin-stone);
}

/* Color sub-selector */
.color-group {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-3);
}
.color-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
}
.color-swatch-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--ounin-line);
}
.color-swatch[aria-checked="true"] .color-swatch-dot {
  border: 2px solid var(--ounin-ink);
}
.color-swatch-label {
  font-size: var(--type-micro);
  color: var(--ounin-stone);
}

/* ============================================================
   PDP GALLERY (Image rail + sticky info)
   ============================================================ */

.pdp-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 1024px) {
  .pdp-layout {
    grid-template-columns: 60% 40%;
    gap: var(--space-7);
  }
}

.pdp-gallery {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.pdp-gallery-main {
  aspect-ratio: 1 / 1;
  background: var(--ounin-paper);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.pdp-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-5);
}
.pdp-gallery-thumbs {
  display: flex;
  gap: var(--space-2);
}
.pdp-gallery-thumb {
  width: 64px;
  height: 64px;
  background: var(--ounin-paper);
  border: 1px solid var(--ounin-line);
  border-radius: var(--radius-xs);
  cursor: pointer;
  overflow: hidden;
}
.pdp-gallery-thumb.active {
  border-color: var(--ounin-ink);
}
.pdp-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

/* Shopify image loading: reserve the stage and never flash a local fallback. */
[data-image-state] {
  position: relative;
}
[data-image-state] > img {
  visibility: hidden;
}
[data-image-state="ready"] > img {
  visibility: visible;
  animation: product-image-reveal 200ms ease-out;
}
.product-image-status {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: var(--space-4);
  background: var(--ounin-paper);
  color: var(--ounin-stone);
  font: var(--type-micro)/1.5 var(--font-sans);
  text-align: center;
  pointer-events: none;
}
.product-image-status[hidden] { display: none; }
@keyframes product-image-reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  [data-image-state="ready"] > img { animation: none; }
}

.pdp-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
@media (min-width: 1024px) {
  .pdp-info {
    position: sticky;
    top: 88px;
    align-self: flex-start;
  }
}

.pdp-info h1 {
  font-family: var(--font-serif);
  font-size: var(--type-h2);
  margin-bottom: var(--space-2);
  overflow-wrap: anywhere;
}

.pdp-info .pdp-title-sku {
  display: inline;
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 400;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.pdp-price {
  font-family: var(--font-sans);
  font-size: var(--type-h3);
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  margin: var(--space-2) 0;
}

.pdp-tax-note {
  color: var(--ounin-stone);
  font-size: var(--type-micro);
  line-height: 1.5;
  margin: 0 0 var(--space-3);
}

.pdp-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding-top: var(--space-4);
}
.pdp-trust-pill {
  font-size: var(--type-micro);
  color: var(--ounin-stone);
  padding: 4px 10px;
  border: 1px solid var(--ounin-line);
  border-radius: var(--radius-pill);
  background: var(--ounin-paper);
}

/* ============================================================
   FEATURE HIGHLIGHT BLOCK — alternating L/R
   ============================================================ */

.feature-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: center;
  padding: var(--space-7) 0;
}
@media (min-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-7);
  }
  .feature-block.right > .feature-image { order: 2; }
}

.feature-image {
  background: var(--ounin-cream);
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-content > .eyebrow { margin-bottom: var(--space-3); }
.feature-content h3 {
  font-family: var(--font-serif);
  font-size: var(--type-h2);
  margin-bottom: var(--space-4);
}
.feature-content p {
  color: var(--ounin-stone);
  font-size: var(--type-h4);
  line-height: var(--lh-body);
}

/* ============================================================
   SPEC SHEET
   ============================================================ */

.spec-sheet {
  border: 1px solid var(--ounin-line);
  border-radius: var(--radius-sm);
  background: var(--ounin-paper);
  overflow: hidden;
}
.spec-row {
  display: grid;
  grid-template-columns: 40px 1fr 1.5fr;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--ounin-line);
}
.spec-row:last-child {
  border-bottom: none;
}
.spec-icon {
  font-size: var(--type-h3);
  color: var(--ounin-sage-deep);
}
.spec-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}
.spec-label {
  font-size: var(--type-micro);
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--ounin-stone);
}
.spec-value {
  font-variant-numeric: tabular-nums;
  color: var(--ounin-ink);
}

/* ============================================================
   IN-THE-BOX
   ============================================================ */

.in-the-box {
  background: var(--ounin-cream);
  padding: var(--space-6);
  border-radius: var(--radius-sm);
}
.in-the-box h3 {
  font-family: var(--font-serif);
  font-size: var(--type-h3);
  margin-bottom: var(--space-4);
}
.in-the-box ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
@media (min-width: 768px) {
  .in-the-box ul { grid-template-columns: repeat(2, 1fr); }
}
.in-the-box li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.in-the-box li::before {
  content: "·";
  color: var(--ounin-sage-deep);
  font-size: 24px;
  line-height: 1;
}

/* ============================================================
   ACCORDION — FAQ
   ============================================================ */

.accordion {
  border-top: 1px solid var(--ounin-line);
}
.accordion-item {
  border-bottom: 1px solid var(--ounin-line);
}
.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-5) 0;
  font-family: var(--font-sans);
  font-size: var(--type-h4);
  font-weight: 500;
  color: var(--ounin-ink);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
}
.accordion-trigger::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;                 /* v2.15: 300 → 400 */
  transition: transform var(--duration-normal) var(--ease-out);
}
.accordion-item[aria-expanded="true"] .accordion-trigger::after {
  content: "−";
}
.accordion-content {
  display: none;
  padding: 0 0 var(--space-5);
  color: var(--ounin-stone);
  max-width: 70ch;
}
.accordion-item[aria-expanded="true"] .accordion-content {
  display: block;
}

/* ============================================================
   CART DRAWER
   ============================================================ */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 30, 30, 0.4);
  z-index: var(--z-drawer);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out);
}
.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: var(--ounin-paper);
  z-index: calc(var(--z-drawer) + 1);
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-emphatic);
  display: flex;
  flex-direction: column;
  box-shadow: var(--elevation-4);
}
.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5);
  border-bottom: 1px solid var(--ounin-line);
}
.cart-header h3 {
  font-family: var(--font-serif);
  font-size: var(--type-h3);
}
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-5);
}
.cart-empty {
  text-align: center;
  padding: var(--space-8) var(--space-5);
  color: var(--ounin-stone);
}
.cart-footer {
  padding: var(--space-5);
  border-top: 1px solid var(--ounin-line);
  background: var(--ounin-cream);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: var(--type-h4);
  font-weight: 500;
  margin-bottom: var(--space-3);
}
.cart-total-value {
  font-variant-numeric: tabular-nums;
}

/* Sticky mobile add-to-cart bar (PDP) */
.sticky-cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 254, 251, 0.95);  /* paper rgba */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--ounin-line);
  padding: var(--space-3) var(--gutter);
  z-index: var(--z-header);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  height: 64px;
}
@media (min-width: 1024px) {
  .sticky-cart-bar { display: none; }
}
.sticky-cart-info {
  flex: 1;
}
.sticky-cart-info-name {
  font-size: var(--type-small);
  font-weight: 500;
  color: var(--ounin-ink);
}
.sticky-cart-info-price {
  font-size: var(--type-micro);
  color: var(--ounin-stone);
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   SECTION ANCHOR STATEMENT — PDP
   ============================================================ */

.section-anchor {
  text-align: center;
  padding: var(--space-9) var(--gutter);
  background: var(--ounin-bone);
  border-top: 1px solid var(--ounin-line);
  border-bottom: 1px solid var(--ounin-line);
}
.section-anchor .eyebrow {
  display: block;
  margin-bottom: var(--space-3);
}
.section-anchor h2 {
  font-family: var(--font-serif);
  font-size: var(--type-h1);
  max-width: 20ch;
  margin: 0 auto;
}

/* ============================================================
   SUPPORT LINKS STRIP — PDP
   ============================================================ */

.support-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--ounin-line);
  border-bottom: 1px solid var(--ounin-line);
  font-size: var(--type-small);
}
.support-strip a {
  color: var(--ounin-stone);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: color var(--duration-normal) var(--ease-out);
}
.support-strip a:hover {
  color: var(--ounin-ink);
}

/* ============================================================
   RELEASE BANNER — Open Item #14
   ============================================================ */

.release-banner {
  background: var(--ounin-sage-mist);  /* v2.3: sage demoted — quiet tint, not body fill */
  color: var(--ounin-ink);
  padding: var(--space-3) var(--gutter);
  text-align: center;
  font-size: var(--type-small);
}
.release-banner a {
  text-decoration: underline;
  margin-left: var(--space-2);
}

/* ============================================================
   BREADCRUMB
   ============================================================ */

.breadcrumb {
  font-size: var(--type-small);
  color: var(--ounin-stone);
  padding: var(--space-4) 0;
}
.breadcrumb a {
  color: var(--ounin-stone);
}
.breadcrumb a:hover {
  color: var(--ounin-ink);
}
.breadcrumb-sep {
  margin: 0 var(--space-2);
  color: var(--ounin-line);
}

/* ============================================================
   HOMEPAGE MODULE UTILITIES (extracted from inline styles)
   ============================================================ */

/* Module 03 — The Contract (dark anchor section) */
.contract-section {
  background-color: var(--ounin-hero);  /* umber ground — v2.3 dark anchor + image fallback */
  /* v2.9: overlay lightened so the calibrated-ruler texture reads through —
     the near-flat 0.45/0.72 wash made the panel a text wall. */
  background-image:
    linear-gradient(180deg, rgba(51, 38, 30, 0.28) 0%, rgba(51, 38, 30, 0.55) 100%),
    url("../images/scenes/contract-calibrated-dark-background-for-text.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: var(--space-9) 0;
}
.contract-inner {
  text-align: center;
}
.contract-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: var(--tracking-display);
  color: var(--ounin-bone);
  margin: 0 auto var(--space-7);
  max-width: 18ch;
  font-variant-numeric: tabular-nums;
}
.contract-headline .muted {
  color: var(--ounin-blush-clay);  /* warm accent on dark umber (stone too dark here) */
}
.contract-sub {
  color: color-mix(in srgb, var(--ounin-paper) 82%, var(--ounin-blush-clay));  /* dark-panel body per v2.3 mockup */
  font-size: var(--type-h4);
  max-width: 42ch;
  margin: 0 auto;
}
/* One-line stat footnote (v2.7) — absorbs the former Three Certainties strip */
.contract-stats {
  margin: var(--space-6) auto 0;
  font-size: var(--type-small);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: color-mix(in srgb, var(--ounin-paper) 58%, var(--ounin-blush-clay));
}

/* Module 04 — Lines header */
.lines-header {
  text-align: center;
  margin-bottom: var(--space-8);
}
/* v2.10: the .lede base is max-width:620px with no auto margins, so it hugged
   the container's left edge while the h2 centered on full width — two different
   axes, read as unplanned. Center the lede block under the headline. */
.lines-header .lede {
  margin-left: auto;
  margin-right: auto;
}

/* ------------------------------------------------------------
   Editorial section header (v2.14) — eyebrow + display headline + lede,
   with a hairline rule and module index for a magazine-contents rhythm.
   Used on homepage module intros (lines / outcomes / kitchens).
   ------------------------------------------------------------ */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-8);
}
.section-head .eyebrow {
  display: block;
  margin-bottom: var(--space-3);
}
.section-head-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: var(--type-h2);
  line-height: var(--lh-heading);
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
  margin: 0;
}
.section-head-rule {
  width: 48px;
  height: 1px;
  background: var(--ounin-clay);
  margin: var(--space-5) auto 0;
}
.section-head .lede {
  margin: var(--space-4) auto 0;
}

/* Module 05 — Outcomes (flat, no nested cards) */
.outcomes-section {
  background: var(--ounin-paper);
}
.outcomes-figure {
  margin: 0 0 var(--space-7);
}
.outcomes-figure img {
  width: 100%;
  display: block;
  border-radius: var(--radius-sm);
}
.outcomes-header {
  text-align: center;
  margin-bottom: var(--space-8);
}
.outcome-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 768px) {
  .outcome-grid { grid-template-columns: repeat(3, 1fr); }
}
.outcome-item {
  padding: var(--space-6) 0;
  border-top: 1px solid var(--ounin-line);
}
.outcome-label {
  font-family: var(--font-sans);
  font-size: var(--type-eyebrow);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--ounin-sage-deep);
  margin-bottom: var(--space-2);
}
.outcome-in {
  font-family: var(--font-serif);
  font-size: var(--type-h3);
  margin-bottom: var(--space-4);
  color: var(--ounin-ink);
}
.outcome-out {
  font-family: var(--font-serif);
  font-size: var(--type-h3);
  color: var(--ounin-ink);
}

/* Module 04 (v2.7) — Outcome gallery: 6 real recipe results from the Lab.
   Hover/focus lifts a scrim with dish name + the oven that made it;
   touch devices keep the scrim visible. Legacy .outcome-grid rules above
   stay — still used by PDP/story outcome blocks. */
.outcome-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
@media (min-width: 768px) {
  .outcome-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }
}
.outcome-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;   /* v2.9: Lab sources are 3:2 landscape — 4:5 wasted half the frame */
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--ounin-cream);
}
.outcome-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* Lab shots crop into the grid, originals untouched */
  transition: transform var(--duration-slow) var(--ease-out);
}
.outcome-card:hover img {
  transform: scale(1.04);
}
.outcome-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--space-1);
  padding: var(--space-4);
  background: linear-gradient(
    to top,
    rgba(38, 33, 27, 0.72) 0%,
    rgba(38, 33, 27, 0.12) 45%,
    rgba(38, 33, 27, 0) 100%
  );
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}
.outcome-card:hover .outcome-card-overlay,
.outcome-card:focus-visible .outcome-card-overlay {
  opacity: 1;
}
@media (hover: none) {
  .outcome-card-overlay { opacity: 1; }
}
.outcome-card-name {
  font-family: var(--font-serif);
  font-size: var(--type-h4);
  line-height: 1.25;
  color: var(--ounin-paper);
}
.outcome-card-oven {
  font-size: var(--type-micro);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--ounin-blush-clay);
}
.outcome-gallery-cta {
  text-align: center;
  margin-top: var(--space-7);
}

/* Module 06 — Persona header */
.persona-header {
  text-align: center;
  margin-bottom: var(--space-8);
}
.persona-header .lede {
  max-width: none;
}

/* Module 07 — Brand promise */
.promise-section {
  text-align: center;
}
.promise-inner {
  max-width: 32ch;
  margin: 0 auto;
}
.promise-headline {
  font-family: var(--font-serif);
  font-size: var(--type-h1);
  margin-bottom: var(--space-5);
}
.promise-lede {
  margin: 0 auto var(--space-6);
}

/* ============================================================
   STORY PAGE UTILITIES (extracted from inline styles)
   ============================================================ */

.story-hero {
  min-height: 70vh;
  max-height: 760px;
}
.story-hero .hero-bg img {
  object-position: center 62%;
}
.story-hero .hero-content {
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
}
.story-hero .hero-title {
  max-width: 18ch;
}

.story-prose-lead {
  font-family: var(--font-serif);
  font-size: var(--type-h3);
  line-height: 1.55;
  margin-bottom: var(--space-5);
}
.story-figure {
  margin: var(--space-7) 0;
}
.story-figure img {
  width: 100%;
  border-radius: var(--radius-sm);
}
.story-figcaption {
  margin-top: var(--space-3);
  font-size: var(--type-small);
  color: var(--ounin-stone);
  text-align: center;
}

/* Beliefs grid */
.beliefs-section {
  background: var(--ounin-paper);
}
.beliefs-header {
  text-align: center;
  margin-bottom: var(--space-7);
}
.beliefs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 768px) {
  .beliefs-grid { grid-template-columns: repeat(3, 1fr); }
}
.belief-card {
  background: var(--ounin-bone);
  padding: var(--space-6);
  border-radius: var(--radius-sm);
  border: 1px solid var(--ounin-line);
}
.belief-card-label {
  font-family: var(--font-sans);
  font-size: var(--type-eyebrow);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  margin-bottom: var(--space-3);
}
.belief-card-label.brand-belief { color: var(--ounin-sage-deep); }
.belief-card-label.brand-promise { color: var(--ounin-sage-deep); }
.belief-card-label.brand-against { color: var(--ounin-copper-rose); }
.belief-card h3 {
  font-family: var(--font-serif);
  font-size: var(--type-h3);
  margin-bottom: var(--space-4);
}
.belief-card p {
  color: var(--ounin-stone);
  font-size: var(--type-small);
}

/* Difference grid */
.difference-header {
  text-align: center;
  margin-bottom: var(--space-7);
}
.diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 768px) {
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
}
.diff-item {
  padding: var(--space-6);
  border-top: 2px solid var(--ounin-sage-deep);
}
.diff-item h3 {
  font-family: var(--font-serif);
  font-size: var(--type-h3);
  margin-bottom: var(--space-3);
}
.diff-item p {
  color: var(--ounin-stone);
}

/* Engineering section */
.engineering-section {
  background: var(--ounin-cream);
}
.engineering-header {
  text-align: center;
  margin-bottom: var(--space-7);
}
.engineering-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
}
@media (min-width: 1024px) {
  .engineering-split { grid-template-columns: 5fr 7fr; gap: var(--space-8); }
}
.engineering-img {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.engineering-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.engineering-split .three-certainties {
  gap: var(--space-7);
}
@media (min-width: 1024px) {
  .engineering-split .three-certainties { grid-template-columns: 1fr; }
}

/* Engineering proof duo (v2.11 · Lovart S2/S4) — two plates under the split,
   same narrow measure; equal 4/3 heights keep the pair planned. */
.engineering-duo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
@media (min-width: 768px) {
  .engineering-duo-grid { grid-template-columns: 1fr 1fr; }
}
.engineering-duo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}

/* Quote section */
.quote-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .quote-split { grid-template-columns: 5fr 7fr; gap: var(--space-8); }
}
.quote-img {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  max-width: 420px;
}
.quote-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.quote-blockquote {
  font-family: var(--font-serif);
  font-size: var(--type-h2);
  line-height: 1.3;
  color: var(--ounin-ink);
  margin: 0 0 var(--space-4);
  max-width: 28ch;
}
.quote-attribution {
  font-size: var(--type-small);
  color: var(--ounin-stone);
}

/* Story CTA section */
.story-cta-section {
  background: var(--ounin-paper);
  border-top: 1px solid var(--ounin-line);
}
.story-cta-header {
  text-align: center;
  margin-bottom: var(--space-6);
}
/* Persona pull-quote — §9 spec: oversized serif quote + attribution, no portrait in v1 */
.story-pullquote {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.25;
  letter-spacing: var(--tracking-display);
  text-align: center;
  max-width: 26ch;
  margin: 0 auto var(--space-5);
}
.story-pullquote-attribution {
  text-align: center;
  color: var(--ounin-stone);
  font-size: var(--type-small);
  max-width: none;
  margin: 0;
}
/* Closing slogan line under the story CTA headline */
.story-cta-slogan {
  font-family: var(--font-serif);
  font-size: var(--type-h3);
  color: var(--ounin-sage-deep);
  margin: var(--space-3) auto 0;
  text-align: center;
}
.story-cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  max-width: 920px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .story-cta-grid { grid-template-columns: repeat(3, 1fr); }
}
.story-cta-flagship {
  border-color: var(--ounin-copper-rose);
}

/* ------------------------------------------------------------
   Story editorial modules (v2.9) — break the three consecutive
   text grids into a magazine rhythm: image band → split → cards.
   ------------------------------------------------------------ */

/* Full-bleed dark image band with an overlaid pull-quote, placed
   between the origin prose and the beliefs grid. */
.story-band {
  position: relative;
  min-height: 56vh;
  max-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ounin-hero);
}
.story-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      rgba(24, 17, 12, 0.62) 0%,
      rgba(24, 17, 12, 0.28) 45%,
      rgba(24, 17, 12, 0.05) 75%),
    linear-gradient(to top,
      rgba(24, 17, 12, 0.45) 0%,
      rgba(24, 17, 12, 0) 45%);
}
.story-band-quote {
  position: relative;
  z-index: 1;
  padding: var(--space-8) var(--gutter);
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}
.story-band-quote blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: var(--tracking-display);
  color: var(--ounin-bone);
  max-width: 22ch;
  margin: 0;
}
.story-band-quote .story-band-eyebrow {
  color: var(--ounin-copper-rose);
  margin-bottom: var(--space-3);
}

/* Difference section → magazine split: sticky scene image left,
   the four difference items as ruled rows right. */
.diff-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: start;
}
@media (min-width: 1024px) {
  .diff-split { grid-template-columns: 5fr 6fr; gap: var(--space-8); }
}
.diff-split-media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
@media (min-width: 1024px) {
  .diff-split-media { position: sticky; top: calc(var(--header-height, 72px) + var(--space-6)); }
}
.diff-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.diff-split .diff-grid {
  gap: 0;
}
@media (min-width: 768px) {
  .diff-split .diff-grid { grid-template-columns: 1fr; }
}

/* Outcome section → image-backed claim cards (Lab recipe shots). */
.outcome-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 768px) {
  .outcome-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .outcome-cards { grid-template-columns: repeat(4, 1fr); }
}
.outcome-claim {
  margin: 0;
}
.outcome-claim-img {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--ounin-cream);
}
.outcome-claim-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-slow) var(--ease-out);
}
.outcome-claim:hover .outcome-claim-img img {
  transform: scale(1.03);
}
.outcome-claim h3 {
  font-family: var(--font-serif);
  font-size: var(--type-h4);
  margin: var(--space-4) 0 var(--space-2);
}
.outcome-claim p {
  color: var(--ounin-stone);
  font-size: var(--type-small);
}

/* ============================================================
   SHOP PAGE UTILITIES
   ============================================================ */
.shop-header {
  padding-top: var(--space-8);
  padding-bottom: var(--space-6);
}
.shop-header .eyebrow {
  margin-bottom: var(--space-3);
}
.shop-header h1 {
  font-family: var(--font-serif);
  font-size: var(--type-h1);
  max-width: 18ch;
  margin-bottom: var(--space-4);
}
.shop-lines-section {
  padding-bottom: var(--space-9);
}

/* Trust cards */
.trust-section {
  background: var(--ounin-paper);
  border-top: 1px solid var(--ounin-line);
  border-bottom: 1px solid var(--ounin-line);
  padding: var(--space-7) 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 768px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
}
.trust-item .eyebrow {
  margin-bottom: var(--space-2);
}
.trust-item h3 {
  font-family: var(--font-serif);
  font-size: var(--type-h3);
  margin-bottom: var(--space-2);
}
.trust-item p {
  color: var(--ounin-stone);
  font-size: var(--type-small);
}

/* ============================================================
   LAB PAGE UTILITIES
   ============================================================ */
.lab-header {
  padding-top: var(--space-8);
  padding-bottom: var(--space-4);
}
.lab-header .eyebrow {
  margin-bottom: var(--space-3);
}
.lab-header h1 {
  font-family: var(--font-serif);
  font-size: var(--type-h1);
  max-width: 18ch;
  margin-bottom: var(--space-4);
}

/* ============================================================
   SHARED — Section header utility
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: var(--space-8);
}
.section-header h2 {
  font-family: var(--font-serif);
  font-size: var(--type-h1);
  max-width: 24ch;
  margin: 0 auto;
}

/* ============================================================
   PERSONA TILE — touch device overlay always visible
   ============================================================ */
@media (hover: none) {
  .persona-tile-overlay {
    opacity: 1;
  }
}

/* ============================================================
   RECIPE CARD — focus-visible for a11y
   ============================================================ */
.recipe-card:focus-visible {
  outline: 2px solid var(--ounin-sage-deep);
  outline-offset: 2px;
}

/* ============================================================
   HERO TITLE — overflow protection
   ============================================================ */
.hero-title {
  overflow-wrap: break-word;
}

/* ============================================================
   STEAM ANIMATION — subtle wisp
   ============================================================ */

@keyframes steam-rise {
  0%   { opacity: 0;   transform: translateY(0) translateX(0) scale(0.8); }
  20%  { opacity: 0.4; }
  100% { opacity: 0;   transform: translateY(-100px) translateX(8px) scale(1.5); }
}
.steam-wisp {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(255,255,255,0.6) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(8px);
  animation: steam-rise 4s ease-out infinite;
  pointer-events: none;
}
.steam-wisp.delay-1 { animation-delay: 1.3s; left: 45%; }
.steam-wisp.delay-2 { animation-delay: 2.6s; left: 55%; }

/* === BESTSELLERS STRIP ============================================
   Shop page · full product lineup.
   Mobile: 1-up. Tablet: 2-up. Desktop: 3-up.
   The fixed content tracks keep titles, labels, specs and prices
   aligned even when Shopify copy has different lengths.
   ================================================================ */
.bestsellers-strip-wrap {
  border-top: 1px solid var(--ounin-line);
  background: var(--ounin-paper);
  padding: var(--space-6) 0;
}
.bestsellers-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.bestsellers-head .eyebrow {
  margin-bottom: 0;
  font-size: 13px;
}
.bestsellers-head .bestsellers-placeholder-tag {
  font-family: var(--font-mono, var(--font-sans));
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ounin-stone);
  opacity: 0.65;
}
.bestsellers-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: 1fr;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
}
.bestseller-card {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto minmax(3.2em, auto) minmax(3.2em, auto) minmax(3.2em, auto) 34px 48px;
  background: var(--ounin-bone);
  border: 1px solid var(--ounin-line);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  padding-top: calc(var(--space-4) + 3px); /* offset for family stripe */
  text-decoration: none;
  color: var(--ounin-ink);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  overflow: hidden;
}
.bestseller-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ounin-stone);
}
.bestseller-card[data-family="steam-convection"]::before { background: var(--ounin-copper-rose); }
.bestseller-card[data-family="steam-oven"]::before        { background: var(--ounin-sage-deep); }
.bestseller-card[data-family="air-fryer"]::before         { background: var(--ounin-cork); }
.bestseller-card:hover {
  transform: translateY(-2px);
  border-color: var(--ounin-sage);
  box-shadow: 0 6px 20px rgba(38, 33, 27, 0.06);
}
.bestseller-card-rank {
  grid-row: 1;
  font-family: var(--font-mono, var(--font-sans));
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ounin-stone);
  margin-bottom: var(--space-2);
}
.bestseller-card-image {
  grid-row: 2;
  aspect-ratio: 1 / 1;
  background: var(--ounin-paper);
  border-radius: var(--radius-xs);
  overflow: hidden;
  margin-bottom: var(--space-4);
}
.bestseller-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
/* This tightly framed 14L photo needs extra breathing room in listing cards. */
.bestseller-card--14l .bestseller-card-image img {
  box-sizing: border-box;
  padding: 11%;
}
/* Keep the 32L listing photo balanced without changing the PDP gallery. */
.bestseller-card[data-shopify-id="certainty:32L"] .bestseller-card-image img {
  box-sizing: border-box;
  padding: 8%;
}
/* UK 24L has a tighter source crop than the US 24L; match their listing scale. */
.bestseller-card[data-shopify-product-id="gid://shopify/Product/15272562295148"] .bestseller-card-image img {
  box-sizing: border-box;
  padding: 16.5%;
}
/* Give the tightly framed colored stainless Air Fryer image 10% more whitespace. */
.bestseller-card[data-shopify-id="airfryer:12L-stainless"] .bestseller-card-image img {
  box-sizing: border-box;
  padding: 5%;
}
.bestseller-card-family {
  grid-row: 3;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--ounin-stone);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-1);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.bestseller-card-sku {
  grid-row: 4;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ounin-ink);
  line-height: 1.35;
  margin-bottom: var(--space-2);
}
/* A+D · editor verdict with quiet wit (v2.15: no italic — two voices only) */
.bestseller-card-verdict {
  grid-row: 5;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.45;
  color: var(--ounin-ink);
  margin-bottom: var(--space-2);
}
/* B · engineering spec strip, mono */
.bestseller-card-spec {
  grid-row: 6;
  min-width: 0;
  min-height: 34px;
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--ounin-sage-deep);
  padding: 6px var(--space-2);
  background: var(--ounin-paper);
  border-radius: 3px;
  margin-bottom: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}
.bestseller-card-foot {
  grid-row: 7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-width: 0;
  min-height: 48px;
  margin-top: 0;
  padding-top: var(--space-3);
  border-top: 1px solid var(--ounin-line);
}
.bestseller-card-price {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ounin-ink);
}
.bestseller-card-cta {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ounin-sage-deep);
}
@media (min-width: 640px) {
  .bestsellers-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .bestsellers-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5);
  }
}

/* ============================================================
   CART PAGE UTILITIES
   ============================================================ */
.cart-page-header {
  padding-top: var(--space-8);
  padding-bottom: var(--space-4);
}
.cart-page-header h1 {
  font-family: var(--font-serif);
  font-size: var(--type-h1);
}
.cart-page-body {
  padding-bottom: var(--space-9);
}
.cart-item-name {
  font-family: var(--font-serif);
  font-size: var(--type-h4);
  margin-bottom: 4px;
}
.cart-item-variant {
  color: var(--ounin-stone);
  font-size: var(--type-small);
  margin-bottom: var(--space-3);
}
.cart-item-actions {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}
.cart-item-actions label {
  font-size: var(--type-small);
  color: var(--ounin-stone);
}
.cart-item-actions select {
  width: 80px;
  padding: 6px 10px;
}
.cart-item-actions .btn-tertiary {
  color: var(--ounin-stone);
  font-size: var(--type-small);
}
.cart-item-price {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-size: var(--type-h4);
  font-weight: 500;
}
.cart-empty-state {
  display: none;
  text-align: center;
  padding: var(--space-9) var(--space-5);
  color: var(--ounin-stone);
}
.cart-empty-state h3 {
  font-family: var(--font-serif);
  font-size: var(--type-h3);
  margin-bottom: var(--space-3);
}
.cart-empty-state p {
  margin-bottom: var(--space-5);
}
.summary-title {
  font-family: var(--font-serif);
  font-size: var(--type-h3);
  margin-bottom: var(--space-4);
}
.summary-row .value-free {
  color: var(--ounin-sage-deep);
}
.summary-row .value-muted {
  color: var(--ounin-stone);
}
.checkout-btn-wrap {
  margin-top: var(--space-5);
}
.checkout-meta {
  text-align: center;
  margin-top: var(--space-3);
  font-size: var(--type-micro);
  color: var(--ounin-stone);
}
.cart-help-box {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--ounin-line);
}
.cart-help-box p {
  font-size: var(--type-small);
  color: var(--ounin-stone);
}

/* ============================================================
   SUPPORT PAGE UTILITIES
   ============================================================ */
.support-page-header {
  padding-top: var(--space-8);
  padding-bottom: var(--space-4);
}
.support-page-header h1 {
  font-family: var(--font-serif);
  font-size: var(--type-h1);
  max-width: 18ch;
  margin-bottom: var(--space-5);
}
.support-page-body {
  padding-bottom: var(--space-9);
}
.accordion-wrap {
  border-top: 1px solid var(--ounin-line);
}
.ce-block {
  margin-top: var(--space-9);
  padding: var(--space-5);
  background: var(--ounin-cream);
  border-radius: var(--radius-sm);
}
.ce-block h3 {
  font-family: var(--font-serif);
  font-size: var(--type-h4);
  margin-bottom: var(--space-3);
}
.ce-block p {
  font-size: var(--type-small);
  color: var(--ounin-stone);
  margin-bottom: var(--space-4);
}
.support-sidebar h3 {
  font-family: var(--font-serif);
  font-size: var(--type-h3);
  margin-bottom: var(--space-3);
}
.support-sidebar > p {
  color: var(--ounin-stone);
  font-size: var(--type-small);
  margin-bottom: var(--space-4);
}
.support-contact-item {
  border-top: 1px solid var(--ounin-line);
  padding-top: var(--space-4);
  margin-bottom: var(--space-4);
}
.support-contact-item:last-child {
  margin-bottom: 0;
}
.support-contact-item a {
  font-weight: 500;
}
.support-contact-item p {
  font-size: var(--type-small);
  color: var(--ounin-stone);
}

/* ============================================================
   LAB PAGE — remaining utilities
   ============================================================ */
.recipe-section {
  padding-bottom: var(--space-9);
}
.filter-label-mode {
  margin-left: var(--space-4);
}
.recipe-note {
  text-align: center;
  margin: var(--space-7) auto 0;
  max-width: 48ch;
  font-size: var(--type-small);
}

/* ============================================================
   SECTION HEADER — reusable pattern for all pages
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: var(--space-7);
}
.section-header-title {
  font-family: var(--font-serif);
  font-size: var(--type-h1);
}
.section-header-eyebrow {
  margin-bottom: var(--space-3);
}
.section-header-lede {
  margin: var(--space-3) auto 0;
  font-size: var(--type-small);
}
.section-header--spaced {
  margin-bottom: var(--space-6);
}

/* ============================================================
   SECTION BACKGROUNDS & PADDING
   ============================================================ */
.section-bg-paper {
  background: var(--ounin-paper);
}
.section-bg-bone {
  background: var(--ounin-bone);
}
.section-padded {
  padding: var(--space-9) var(--gutter);
  border-radius: var(--radius-sm);
}
.section-anchor--spaced {
  margin-top: var(--space-9);
}
.support-strip-section {
  padding-bottom: var(--space-7);
}

/* ============================================================
   CONTENT WIDTH UTILITIES
   ============================================================ */
.content-narrow {
  max-width: 760px;
  margin: 0 auto;
}
.content-narrow--spaced {
  max-width: 760px;
  margin: var(--space-7) auto 0;
}
.container-prose--centered {
  text-align: center;
}
.container-prose--serif-h3 {
  font-family: var(--font-serif);
  font-size: var(--type-h3);
  line-height: 1.55;
}

/* ============================================================
   PRODUCT PAGE UTILITIES
   ============================================================ */
.pdp-description {
  color: var(--ounin-stone);
  margin-bottom: var(--space-4);
}
.variant-heading {
  margin-bottom: var(--space-3);
}
.spec-variant-label {
  margin-bottom: var(--space-3);
}
.spec-value--highlight {
  color: var(--ounin-sage-deep);
  font-weight: 500;
}
.energy-badge {
  display: none;
  margin-top: var(--space-3);
}
.energy-badge-pill {
  background: var(--ounin-cream);
  color: var(--ounin-ink);
  font-weight: 500;
}
.stock-status {
  padding: var(--space-3) 0;
  font-size: var(--type-small);
  color: var(--ounin-stone);
}
.two-certainties {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
}
@media (min-width: 768px) {
  .two-certainties {
    grid-template-columns: repeat(2, 1fr);
  }
}
.section-label {
  font-size: var(--type-small);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ounin-stone);
  margin-bottom: var(--space-3);
  display: block;
}
.section-label--warm {
  color: var(--ounin-copper-rose);
}

/* ============================================================
   PRODUCT PAGE — INLINE STYLE REPLACEMENTS
   ============================================================ */
.fbo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 768px) {
  .fbo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.fbo-card {
  background: var(--ounin-bone);
  padding: var(--space-6);
  border-radius: var(--radius-sm);
  border: 1px solid var(--ounin-line);
}
.fbo-card h4 {
  margin-bottom: var(--space-3);
}
.fbo-card p {
  margin-bottom: var(--space-4);
  font-size: var(--type-small);
  color: var(--ounin-stone);
}
.fbo-card p:last-child {
  margin-bottom: 0;
  font-family: var(--font-serif);
  color: var(--ounin-ink);
}

.outcome-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  max-width: 920px;
  margin: 0 auto;
}
/* Keep the outcome copy readable when two padded cards cannot fit. */
@media (max-width: 359px) {
  .outcome-tiles { grid-template-columns: minmax(0, 1fr); }
  .outcome-tiles .outcome-tile { aspect-ratio: auto; min-height: 180px; }
}
@media (min-width: 768px) {
  .outcome-tiles {
    grid-template-columns: repeat(4, 1fr);
  }
}
.outcome-tile {
  aspect-ratio: 4 / 5;
  background: var(--ounin-cream);
  padding: var(--space-5);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.outcome-tile h4 {
  font-family: var(--font-serif);
  font-size: var(--type-h4);
  color: var(--ounin-ink);
}

.spec-sheet--centered {
  max-width: 760px;
  margin: 0 auto;
}
.accordion--narrow {
  max-width: 760px;
  margin: 0 auto;
}

/* ============================================================
   CHECKOUT PAGE UTILITIES
   ============================================================ */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 1024px) {
  .checkout-grid {
    grid-template-columns: 1fr 380px;
    gap: var(--space-7);
  }
}
.checkout-section-title {
  font-family: var(--font-serif);
  font-size: var(--type-h3);
  margin-bottom: var(--space-5);
}
.checkout-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.checkout-form-row--single {
  grid-template-columns: 1fr;
}
.checkout-card {
  background: var(--ounin-paper);
  border: 1px solid var(--ounin-line);
  border-radius: var(--radius-sm);
  padding: var(--space-5);
}
@media (min-width: 1024px) {
  .checkout-card--sticky {
    position: sticky;
    top: 88px;
  }
}
.checkout-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--ounin-line);
}
.checkout-item-img {
  width: 80px;
  height: 80px;
  background: var(--ounin-cream);
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.checkout-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-2);
}
.checkout-item-name {
  font-weight: 500;
  margin-bottom: var(--space-1);
}
.checkout-item-meta {
  font-size: var(--type-small);
  color: var(--ounin-stone);
}
.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-2) 0;
  font-size: var(--type-small);
}
.checkout-summary-row--total {
  border-top: 1px solid var(--ounin-line);
  padding-top: var(--space-3);
  margin-top: var(--space-3);
  font-size: var(--type-h4);
  font-weight: 500;
}
.checkout-summary-value {
  font-variant-numeric: tabular-nums;
}
.checkout-secure-note {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--type-small);
  color: var(--ounin-stone);
  margin-top: var(--space-4);
}
.checkout-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.checkout-trust-item {
  text-align: center;
  font-size: var(--type-small);
}
.checkout-trust-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-2);
}
.checkout-guarantee {
  background: var(--ounin-paper);
  border-radius: var(--radius-sm);
  padding: var(--space-5);
  margin-top: var(--space-5);
}
.checkout-guarantee h3 {
  font-family: var(--font-serif);
  font-size: var(--type-h4);
  margin-bottom: var(--space-3);
}
.checkout-guarantee p {
  font-size: var(--type-small);
  color: var(--ounin-stone);
}
.checkout-page-header {
  padding-top: var(--space-7);
  padding-bottom: var(--space-4);
}
.checkout-page-header h1 {
  font-family: var(--font-serif);
  font-size: var(--type-h1);
}
.checkout-page-body {
  padding-bottom: var(--space-9);
}
.checkout-form-checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--type-small);
  color: var(--ounin-stone);
}
.checkout-form-checkbox input {
  width: 16px;
  height: 16px;
}
.checkout-shipping-box {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--ounin-line);
}
.checkout-shipping-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4);
  background: var(--ounin-bone);
  border: 1px solid var(--ounin-line);
  border-radius: var(--radius-sm);
}
.checkout-shipping-name {
  font-weight: 500;
}
.checkout-shipping-detail {
  font-size: var(--type-small);
  color: var(--ounin-stone);
}
.checkout-shipping-price {
  font-variant-numeric: tabular-nums;
  color: var(--ounin-sage-deep);
  font-weight: 500;
}
.checkout-payment-block {
  margin-top: var(--space-5);
}
.checkout-terms {
  font-size: var(--type-small);
  color: var(--ounin-stone);
  margin-bottom: var(--space-4);
}
.checkout-btn-large {
  padding: 18px;
}
.checkout-footer {
  background: var(--ounin-cream);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--ounin-line);
}
.checkout-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: var(--type-micro);
  color: var(--ounin-stone);
}
.order-summary-title {
  font-family: var(--font-serif);
  font-size: var(--type-h3);
  margin-bottom: var(--space-4);
}
.order-summary-item-name {
  font-size: var(--type-small);
  font-weight: 500;
}
.order-summary-item-meta {
  font-size: var(--type-micro);
  color: var(--ounin-stone);
}
.payment-option-body {
  flex: 1;
}
.payment-option-title {
  font-weight: 500;
}
.payment-option-desc {
  font-size: var(--type-small);
  color: var(--ounin-stone);
}
.step-detail {
  font-size: var(--type-micro);
  color: var(--ounin-stone);
}
.value--free {
  color: var(--ounin-sage-deep);
}
.value--muted {
  color: var(--ounin-stone);
}

/* ============================================================
   HERO SECTION UTILITIES (per-page variants)
   ============================================================ */
.hero-section,
.story-hero,
.shop-hero,
.lab-hero,
.support-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-section {
  min-height: 100vh;
  flex-direction: column;
  justify-content: flex-end;
}
.shop-hero {
  min-height: 55vh;
}
.lab-hero {
  min-height: 60vh;
}
.support-hero {
  min-height: 50vh;
}
.hero-bg,
.story-hero-bg,
.shop-hero-bg,
.lab-hero-bg,
.support-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img,
.story-hero-bg img,
.shop-hero-bg img,
.lab-hero-bg img,
.support-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay,
.story-hero-overlay,
.shop-hero-overlay,
.lab-hero-overlay,
.support-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}
.hero-section .hero-overlay {
  background: rgba(0, 0, 0, 0.28);
}
.hero-content,
.story-hero-content,
.shop-hero-content,
.lab-hero-content,
.support-hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-10) var(--gutter) var(--space-8);
}
.hero-section .hero-content {
  padding: var(--space-10) var(--gutter) var(--space-9);
}
.hero-title,
.story-hero-title,
.shop-hero-title,
.lab-hero-title,
.support-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1;
  color: var(--ounin-paper);
}
.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.05;
  margin-bottom: var(--space-4);
}
.hero-lede,
.story-hero-lede,
.shop-hero-lede,
.lab-hero-lede,
.support-hero-lede {
  font-size: var(--type-h4);
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin-top: var(--space-3);
}
.hero-lede {
  max-width: 560px;
  line-height: 1.5;
  margin-bottom: var(--space-6);
}
.hero-cta,
.lab-cta-row {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}
/* Shop hero sits on a brighter daylight scene — flat 35% black leaves the
   eyebrow/lede thin; use a bottom-weighted scrim instead. */
.shop-hero-overlay {
  background: linear-gradient(to top,
    rgba(24, 17, 12, 0.62) 0%,
    rgba(24, 17, 12, 0.30) 45%,
    rgba(24, 17, 12, 0.12) 100%);
}
.shop-hero .eyebrow {
  /* copper-rose disappears on the bright mise-en-place scene — use bone */
  color: rgba(251, 248, 241, 0.85);
  margin-bottom: var(--space-3);
}
.shop-lines-lede {
  max-width: 62ch;
  margin-bottom: var(--space-6);
}
.lab-cta-row {
  margin-top: var(--space-5);
}

/* ============================================================
   CART DRAWER ITEMS (from app.js renderCart)
   ============================================================ */
.cart-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--ounin-line);
}
.cart-item-img {
  width: 80px;
  height: 80px;
  background: var(--ounin-cream);
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-1);
}
.cart-item-details {
  flex: 1;
}
.cart-item-name {
  display: inline-block;
  color: var(--ounin-ink);
  font-size: var(--type-small);
  font-weight: 500;
  line-height: 1.35;
}
.cart-item-variant {
  font-size: var(--type-micro);
  color: var(--ounin-stone);
  margin: 4px 0;
}
.cart-item-price {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.cart-item-unit-price { margin-top: 2px; color: var(--ounin-stone); font-size: var(--type-micro); }
.cart-remove {
  align-self: flex-start;
}

/* ============================================================
   NEWSLETTER STRIP
   ============================================================ */
.newsletter-strip {
  background: var(--ounin-hero);  /* v2.3 umber dark anchor */
  color: var(--ounin-bone);
  padding: var(--space-9) var(--gutter);
  text-align: center;
}
.newsletter-strip h2 {
  font-family: var(--font-serif);
  font-size: var(--type-h2);
  margin-bottom: var(--space-3);
}
.newsletter-strip > p {
  color: color-mix(in srgb, var(--ounin-paper) 82%, var(--ounin-blush-clay));  /* dark-panel body per v2.3 mockup */
  margin-bottom: var(--space-5);
}
.newsletter-form {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}
.newsletter-strip .newsletter-form .input {
  min-width: 280px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--ounin-paper);
}
.newsletter-strip .newsletter-form .input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Homepage newsletter: one restrained liquid-glass control on the umber stage.
   The highlight follows the pointer, but never loops or sweeps on its own. */
.newsletter-strip .newsletter-form {
  --newsletter-glass-x: 72%;
  --newsletter-glass-y: 28%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  width: min(100%, 560px);
  min-height: 64px;
  margin-inline: auto;
  padding: 6px;
  background: color-mix(in srgb, var(--ounin-paper) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--ounin-paper) 42%, transparent);
  border-radius: var(--radius-pill);
  -webkit-backdrop-filter: blur(22px) saturate(155%) contrast(104%);
  backdrop-filter: blur(22px) saturate(155%) contrast(104%);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--ounin-paper) 72%, transparent),
    inset 0 -1px 0 color-mix(in srgb, var(--ounin-hero) 74%, transparent),
    inset 1px 0 0 color-mix(in srgb, var(--ounin-paper) 22%, transparent),
    0 14px 32px -24px color-mix(in srgb, var(--ounin-ink) 82%, transparent);
  transform: scale(1);
  transform-origin: center;
  transition:
    transform var(--duration-slow) var(--ease-in-out),
    background-color var(--duration-normal) var(--ease-out),
    border-color var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out);
}
.newsletter-strip .newsletter-form::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: var(--newsletter-glass-y);
  left: var(--newsletter-glass-x);
  width: 210px;
  height: 112px;
  border-radius: 58% 42% 64% 36% / 38% 61% 39% 62%;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(
      ellipse at 32% 38%,
      color-mix(in srgb, var(--ounin-paper) 46%, transparent) 0%,
      color-mix(in srgb, var(--ounin-paper) 16%, transparent) 38%,
      transparent 70%
    ),
    radial-gradient(
      ellipse at 71% 62%,
      color-mix(in srgb, var(--ounin-blush-clay) 18%, transparent) 0%,
      transparent 62%
    );
  filter: blur(10px) saturate(112%);
  transform: translate3d(-50%, -50%, 0) rotate(-9deg);
  transition:
    top 90ms linear,
    left 90ms linear,
    opacity 260ms var(--ease-out),
    transform var(--duration-slow) var(--ease-emphatic);
}
.newsletter-strip .newsletter-form.is-glass-active::before {
  opacity: 0.78;
  transform: translate3d(-50%, -50%, 0) rotate(-4deg) scale(1.08);
}
.newsletter-strip .newsletter-form.is-glass-leaving::before {
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) rotate(3deg) scale(1.34);
  transition:
    top 90ms linear,
    left 90ms linear,
    opacity 420ms var(--ease-in-out),
    transform 420ms var(--ease-in-out);
}
.newsletter-strip .newsletter-form::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 2px;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--ounin-paper) 12%, transparent),
    inset 0 3px 5px color-mix(in srgb, var(--ounin-paper) 13%, transparent),
    inset 0 -3px 6px color-mix(in srgb, var(--ounin-ink) 14%, transparent);
}
.newsletter-strip .newsletter-form > * {
  position: relative;
  z-index: 1;
}
.newsletter-strip .newsletter-form .input {
  min-width: 0;
  min-height: 50px;
  padding: 11px 16px;
  color: var(--ounin-paper);
  caret-color: var(--ounin-paper);
  background: transparent;
  border: 0;
  border-radius: var(--radius-pill);
  box-shadow: none;
}
.newsletter-strip .newsletter-form .input::placeholder {
  color: color-mix(in srgb, var(--ounin-paper) 62%, transparent);
  opacity: 1;
}
.newsletter-strip .newsletter-form .input:focus,
.newsletter-strip .newsletter-form .input:focus-visible,
.newsletter-strip .newsletter-form .btn:focus-visible {
  outline: 0;
}
.newsletter-strip .newsletter-form .btn {
  min-height: 50px;
  padding: 11px 22px;
  color: var(--ounin-paper);
  background: var(--ounin-ink);
  border: 1px solid var(--ounin-ink);
  border-radius: var(--radius-pill);
  box-shadow: none;
  transition:
    transform var(--duration-fast) var(--ease-out),
    background-color var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out);
}
.newsletter-strip .newsletter-form:focus-within {
  outline: 2px solid var(--ounin-blush-clay);
  outline-offset: 3px;
  transform: scale(1.018);
  background: color-mix(in srgb, var(--ounin-paper) 17%, transparent);
  border-color: color-mix(in srgb, var(--ounin-paper) 68%, transparent);
}
@media (hover: hover) {
  .newsletter-strip .newsletter-form:hover {
    transform: scale(1.018);
    background: color-mix(in srgb, var(--ounin-paper) 17%, transparent);
    border-color: color-mix(in srgb, var(--ounin-paper) 68%, transparent);
    box-shadow:
      inset 0 1px 0 color-mix(in srgb, var(--ounin-paper) 86%, transparent),
      inset 0 -1px 0 color-mix(in srgb, var(--ounin-hero) 78%, transparent),
      0 18px 36px -25px color-mix(in srgb, var(--ounin-ink) 92%, transparent);
  }
  .newsletter-strip .newsletter-form .btn:not(:disabled):hover {
    background: color-mix(in srgb, var(--ounin-ink) 85%, var(--ounin-paper));
    border-color: color-mix(in srgb, var(--ounin-ink) 85%, var(--ounin-paper));
    transform: translateY(-1px);
  }
}
.newsletter-strip .newsletter-form .btn:not(:disabled):active {
  transform: translateY(0) scale(0.98);
}
@supports not ((backdrop-filter: blur(22px)) or (-webkit-backdrop-filter: blur(22px))) {
  .newsletter-strip .newsletter-form {
    background: color-mix(in srgb, var(--ounin-paper) 18%, var(--ounin-hero));
  }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .newsletter-strip .newsletter-form {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--ounin-paper);
    border-color: var(--ounin-paper);
    box-shadow: none;
  }
  .newsletter-strip .newsletter-form::before,
  .newsletter-strip .newsletter-form::after {
    display: none;
  }
  .newsletter-strip .newsletter-form .input {
    color: var(--ounin-ink);
    caret-color: var(--ounin-ink);
  }
  .newsletter-strip .newsletter-form .input::placeholder {
    color: var(--ounin-stone);
  }
  .newsletter-strip .newsletter-form .btn {
    color: var(--ounin-paper);
    background: var(--ounin-ink);
    border-color: var(--ounin-ink);
  }
}
@media (prefers-reduced-motion: reduce) {
  .newsletter-strip .newsletter-form,
  .newsletter-strip .newsletter-form::before,
  .newsletter-strip .newsletter-form .btn {
    transition: none;
  }
  .newsletter-strip .newsletter-form.is-glass-active::before,
  .newsletter-strip .newsletter-form.is-glass-leaving::before {
    opacity: 0;
    transform: none;
  }
  .newsletter-strip .newsletter-form:hover,
  .newsletter-strip .newsletter-form:focus-within,
  .newsletter-strip .newsletter-form .btn:not(:disabled):hover,
  .newsletter-strip .newsletter-form .btn:not(:disabled):active {
    transform: none;
  }
}
@media (forced-colors: active) {
  .newsletter-strip .newsletter-form {
    border: 1px solid ButtonText;
  }
  .newsletter-strip .newsletter-form::before,
  .newsletter-strip .newsletter-form::after {
    display: none;
  }
  .newsletter-strip .newsletter-form .btn {
    border: 1px solid ButtonText;
  }
}
.newsletter-strip .newsletter-form.is-success .input {
  border-color: var(--ounin-sage);
  opacity: 0.72;
}
.newsletter-strip .newsletter-form.is-success .btn,
.newsletter-strip .newsletter-form.is-success .btn:hover {
  background: var(--ounin-sage-deep);
  border-color: var(--ounin-sage-deep);
  color: var(--ounin-paper);
  opacity: 1;
}
.newsletter-feedback {
  width: min(100%, 480px);
  margin: var(--space-3) auto 0;
  padding: 12px 16px;
  border: 1px solid var(--ounin-sage);
  border-radius: var(--radius-sm);
  background: var(--ounin-sage-mist);
  color: var(--ounin-sage-deep);
  font-family: var(--font-sans);
  font-size: var(--type-small);
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}
.newsletter-feedback.is-error {
  border-color: #b42318;
  background: #fff1f0;
  color: #8f1d15;
}
.newsletter-consent-note {
  margin-top: var(--space-3);
}
.site-footer .newsletter-consent-note {
  color: inherit;
  font-size: 0.72rem;
  line-height: 1.45;
  opacity: 0.72;
}
.newsletter-strip > .newsletter-feedback {
  color: var(--ounin-sage-deep);
  margin-top: var(--space-3);
  margin-bottom: 0;
}

@property --newsletter-smoke-mid {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}
@property --newsletter-smoke-edge {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 2%;
}

/* Footer email capture: a unified warm liquid-glass capsule. Pointer position
   becomes the light source; one non-looping smoke bloom disperses from it. */
.site-footer .newsletter-form {
  --newsletter-form-smoke-x: calc(100% - 56px);
  --newsletter-form-smoke-y: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: none;
  min-height: 58px;
  margin: 0;
  padding: 5px;
  background: color-mix(in srgb, var(--ounin-paper) 28%, transparent);
  border: 1px solid color-mix(in srgb, var(--ounin-paper) 84%, transparent);
  border-radius: var(--radius-pill);
  transform: scale(1);
  transform-origin: center;
  will-change: transform;
  -webkit-backdrop-filter: blur(16px) saturate(165%) contrast(104%);
  backdrop-filter: blur(16px) saturate(165%) contrast(104%);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--ounin-paper) 96%, transparent),
    inset 0 -1px 0 color-mix(in srgb, var(--ounin-hero) 12%, transparent),
    inset 1px 0 0 color-mix(in srgb, var(--ounin-paper) 52%, transparent),
    inset -1px 0 0 color-mix(in srgb, var(--ounin-hero) 5%, transparent),
    0 8px 20px -12px color-mix(in srgb, var(--ounin-hero) 30%, transparent);
  transition:
    transform var(--duration-slow) var(--ease-emphatic),
    background-color var(--duration-normal) var(--ease-out),
    border-color var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out);
}
.site-footer .newsletter-form::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: var(--newsletter-form-smoke-y);
  left: var(--newsletter-form-smoke-x);
  width: 184px;
  height: 92px;
  border-radius: 46% 54% 38% 62% / 58% 42% 63% 37%;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(
      ellipse at 43% 55%,
      color-mix(in srgb, var(--ounin-paper) 74%, transparent) 0%,
      color-mix(in srgb, var(--ounin-paper) 26%, transparent) 34%,
      transparent 72%
    ),
    radial-gradient(
      ellipse at 68% 32%,
      color-mix(in srgb, var(--ounin-paper) 42%, transparent) 0%,
      color-mix(in srgb, var(--ounin-paper) 14%, transparent) 31%,
      transparent 67%
    ),
    radial-gradient(
      ellipse at 28% 27%,
      color-mix(in srgb, var(--ounin-blush-clay) 16%, transparent) 0%,
      transparent 62%
    );
  filter: blur(9px) saturate(106%);
  transform-origin: center;
  transform: translate3d(-50%, -50%, 0) rotate(-7deg) scale(0.16, 0.12);
}
.site-footer .newsletter-form::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 2px;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--ounin-paper) 24%, transparent),
    inset 0 2px 3px color-mix(in srgb, var(--ounin-paper) 34%, transparent),
    inset 0 -2px 3px color-mix(in srgb, var(--ounin-hero) 5%, transparent);
}
.site-footer .newsletter-form > * {
  position: relative;
  z-index: 2;
}
.site-footer .newsletter-form > .newsletter-smoke-puff {
  position: absolute;
  z-index: 3;
  top: var(--newsletter-puff-y);
  left: var(--newsletter-puff-x);
  width: var(--newsletter-puff-width);
  height: var(--newsletter-puff-height);
  border-radius: 43% 57% 38% 62% / 61% 39% 58% 42%;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(
      ellipse at 42% 56%,
      color-mix(in srgb, var(--ounin-paper) 72%, transparent) 0%,
      color-mix(in srgb, var(--ounin-paper) 24%, transparent) 34%,
      transparent 68%
    ),
    radial-gradient(
      ellipse at 51% 52%,
      transparent 24%,
      color-mix(in srgb, var(--ounin-hero) 11%, transparent) 52%,
      transparent 78%
    ),
    radial-gradient(
      ellipse at 68% 31%,
      color-mix(in srgb, var(--ounin-blush-clay) 12%, transparent) 0%,
      transparent 64%
    );
  filter: blur(7px);
  mix-blend-mode: overlay;
  transform: translate3d(-50%, -50%, 0) rotate(var(--newsletter-puff-rotate-start)) scale(0.14);
  animation: newsletter-smoke-puff var(--newsletter-puff-duration) cubic-bezier(0.16, 0.7, 0.22, 1) var(--newsletter-puff-delay) forwards;
}
.site-footer .newsletter-form.is-smoke-active::before {
  animation: newsletter-smoke-bloom 1.1s cubic-bezier(0.18, 0.72, 0.22, 1) forwards;
}
.site-footer .newsletter-form:focus-within {
  outline: 2px solid var(--ounin-sage-deep);
  outline-offset: 3px;
  transform: scale(1.045);
  background: color-mix(in srgb, var(--ounin-paper) 36%, transparent);
  border-color: color-mix(in srgb, var(--ounin-paper) 94%, transparent);
  box-shadow:
    inset 0 1px 0 var(--ounin-paper),
    inset 0 -1px 0 color-mix(in srgb, var(--ounin-hero) 14%, transparent),
    0 10px 24px -12px color-mix(in srgb, var(--ounin-hero) 34%, transparent);
}
@keyframes newsletter-smoke-bloom {
  0% {
    opacity: 0;
    border-radius: 46% 54% 38% 62% / 58% 42% 63% 37%;
    transform: translate3d(-50%, -50%, 0) rotate(-7deg) scale(0.16, 0.12);
  }
  18% {
    opacity: 0.72;
    transform: translate3d(-52%, -54%, 0) rotate(3deg) scale(0.58, 0.42);
  }
  43% {
    opacity: 0.64;
    border-radius: 61% 39% 57% 43% / 39% 61% 46% 54%;
    transform: translate3d(-47%, -59%, 0) rotate(-4deg) scale(1.04, 0.78);
  }
  71% {
    opacity: 0.49;
    border-radius: 37% 63% 44% 56% / 66% 34% 58% 42%;
    transform: translate3d(-54%, -66%, 0) rotate(5deg) scale(1.48, 1.12);
  }
  100% {
    opacity: 0.32;
    border-radius: 54% 46% 63% 37% / 42% 58% 35% 65%;
    transform: translate3d(-49%, -72%, 0) rotate(-2deg) scale(1.92, 1.46);
  }
}
@keyframes newsletter-button-smoke-bloom {
  0% {
    --newsletter-smoke-mid: 0%;
    --newsletter-smoke-edge: 2%;
  }
  24% {
    --newsletter-smoke-mid: 8%;
    --newsletter-smoke-edge: 34%;
  }
  62% {
    --newsletter-smoke-mid: 21%;
    --newsletter-smoke-edge: 82%;
  }
  100% {
    --newsletter-smoke-mid: 31%;
    --newsletter-smoke-edge: 132%;
  }
}
@keyframes newsletter-smoke-puff {
  0% {
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) rotate(var(--newsletter-puff-rotate-start)) scale(0.14);
  }
  22% {
    opacity: 0.64;
  }
  68% {
    opacity: 0.4;
  }
  100% {
    opacity: 0.18;
    transform:
      translate3d(
        calc(-50% + var(--newsletter-puff-dx)),
        calc(-50% + var(--newsletter-puff-dy)),
        0
      )
      rotate(var(--newsletter-puff-rotate-end))
      scale(var(--newsletter-puff-scale));
  }
}
.site-footer .newsletter-form .input {
  min-width: 0;
  min-height: 46px;
  padding: 10px 14px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ounin-ink);
  caret-color: var(--ounin-ink);
  background: transparent;
  border: 0;
  border-radius: var(--radius-pill);
  box-shadow: none;
}
.site-footer .newsletter-form .input::placeholder {
  color: color-mix(in srgb, var(--ounin-ink) 72%, var(--ounin-stone));
  opacity: 1;
}
.site-footer .newsletter-form .input:focus,
.site-footer .newsletter-form .input:focus-visible,
.site-footer .newsletter-form .btn:focus-visible {
  outline: 0;
}
.site-footer .newsletter-form .btn {
  --newsletter-button-smoke-x: 50%;
  --newsletter-button-smoke-y: 50%;
  min-height: 46px;
  padding: 10px 20px;
  color: var(--ounin-paper);
  background-color: color-mix(in srgb, var(--ounin-ink) 88%, transparent);
  background-image:
    radial-gradient(
      ellipse at var(--newsletter-button-smoke-x) var(--newsletter-button-smoke-y),
      color-mix(in srgb, var(--ounin-paper) 22%, transparent) 0%,
      color-mix(in srgb, var(--ounin-paper) 10%, transparent) var(--newsletter-smoke-mid),
      transparent var(--newsletter-smoke-edge)
    ),
    radial-gradient(
      ellipse at calc(var(--newsletter-button-smoke-x) - 17%) calc(var(--newsletter-button-smoke-y) - 14%),
      color-mix(in srgb, var(--ounin-paper) 13%, transparent) 0%,
      transparent var(--newsletter-smoke-edge)
    ),
    radial-gradient(
      ellipse at calc(var(--newsletter-button-smoke-x) + 21%) calc(var(--newsletter-button-smoke-y) + 16%),
      color-mix(in srgb, var(--ounin-blush-clay) 8%, transparent) 0%,
      transparent var(--newsletter-smoke-edge)
    );
  background-repeat: no-repeat;
  border: 1px solid color-mix(in srgb, var(--ounin-paper) 30%, transparent);
  border-radius: var(--radius-pill);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--ounin-paper) 34%, transparent),
    inset 0 -1px 0 color-mix(in srgb, var(--ounin-hero) 46%, transparent),
    0 3px 8px -5px color-mix(in srgb, var(--ounin-hero) 50%, transparent);
  transition:
    background-color var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-out);
}
.site-footer .newsletter-form.is-smoke-active .btn:not(:disabled) {
  animation: newsletter-button-smoke-bloom 1.1s cubic-bezier(0.18, 0.72, 0.22, 1) forwards;
}
@media (hover: hover) {
  .site-footer .newsletter-form:hover {
    transform: scale(1.045);
    background: color-mix(in srgb, var(--ounin-paper) 36%, transparent);
    border-color: color-mix(in srgb, var(--ounin-paper) 94%, transparent);
    box-shadow:
      inset 0 1px 0 var(--ounin-paper),
      inset 0 -1px 0 color-mix(in srgb, var(--ounin-hero) 14%, transparent),
      0 12px 28px -14px color-mix(in srgb, var(--ounin-hero) 42%, transparent);
  }
  .site-footer .newsletter-form .btn:not(:disabled):hover {
    background-color: color-mix(in srgb, var(--ounin-ink) 94%, transparent);
    box-shadow:
      inset 0 1px 0 color-mix(in srgb, var(--ounin-paper) 38%, transparent),
      inset 0 -1px 0 color-mix(in srgb, var(--ounin-hero) 50%, transparent),
      0 4px 10px -6px color-mix(in srgb, var(--ounin-hero) 58%, transparent);
  }
}
.site-footer .newsletter-form .btn:not(:disabled):active {
  transform: scale(0.98);
}
.site-footer .newsletter-form.is-success .input {
  opacity: 0.72;
}
.site-footer .newsletter-form.is-success .btn,
.site-footer .newsletter-form.is-success .btn:hover {
  background: color-mix(in srgb, var(--ounin-sage-deep) 90%, transparent);
  border-color: color-mix(in srgb, var(--ounin-paper) 30%, transparent);
  color: var(--ounin-paper);
  opacity: 1;
}
@supports not ((backdrop-filter: blur(16px)) or (-webkit-backdrop-filter: blur(16px))) {
  .site-footer .newsletter-form { background: var(--ounin-paper); }
  .site-footer .newsletter-form .btn { background: var(--ounin-ink); }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .site-footer .newsletter-form {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--ounin-paper);
    border-color: var(--ounin-stone);
    box-shadow: none;
  }
  .site-footer .newsletter-form::before,
  .site-footer .newsletter-form::after { display: none; }
  .site-footer .newsletter-form > .newsletter-smoke-puff { display: none; }
  .site-footer .newsletter-form .btn {
    background-color: var(--ounin-ink);
    background-image: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-footer .newsletter-form,
  .site-footer .newsletter-form .btn { transition: none; }
  .site-footer .newsletter-form:hover,
  .site-footer .newsletter-form:focus-within { transform: none; }
  .site-footer .newsletter-form.is-smoke-active::before {
    animation: none;
    opacity: 0;
  }
  .site-footer .newsletter-form.is-smoke-active .btn:not(:disabled) { animation: none; }
  .site-footer .newsletter-form > .newsletter-smoke-puff { display: none; }
  .site-footer .newsletter-form .btn:not(:disabled):active { transform: none; }
}
@media (forced-colors: active) {
  .site-footer .newsletter-form { border: 1px solid ButtonText; }
  .site-footer .newsletter-form::before,
  .site-footer .newsletter-form::after { display: none; }
  .site-footer .newsletter-form > .newsletter-smoke-puff { display: none; }
  .site-footer .newsletter-form .btn {
    background-image: none;
    border: 1px solid ButtonText;
  }
}

/* ============================================================
   CATEGORY BLOCK (support page)
   ============================================================ */
.category-block-title {
  font-family: var(--font-serif);
  font-size: var(--type-h3);
  margin-bottom: var(--space-3);
}

/* ============================================================
   CART CROSS-SELL
   ============================================================ */
.cart-cross-sell {
  display: none;
}
.cart-cross-sell-note {
  color: var(--ounin-stone);
  font-size: var(--type-small);
}

/* ============================================================
   ACCORDION NARROW
   ============================================================ */
.accordion--narrow {
  max-width: 760px;
  margin: 0 auto;
}

/* ============================================================
   CART EMPTY STATE
   ============================================================ */
.cart-empty-sub {
  margin-top: 8px;
  font-size: 14px;
}

/* ============================================================
   CART COUNT BADGE (header)
   ============================================================ */
.cart-count-badge {
  display: none;
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--ounin-clay);  /* v2.3 key accent — notification moment */
  color: var(--ounin-paper);
  font-size: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}
.cart-count-badge[data-cart-badge] {
  display: none;
}

/* ============================================================
   CART FOOTER META
   ============================================================ */
.cart-footer-meta {
  text-align: center;
  margin-top: var(--space-3);
  font-size: var(--type-micro);
  color: var(--ounin-stone);
}

/* ============================================================
   FOOTER LEGAL LINKS
   ============================================================ */
.footer-legal-links a {
  margin-right: var(--space-3);
}
.footer-legal-links a:last-child {
  margin-right: 0;
}

/* ============================================================
   FOOTER COLUMN LEDE
   ============================================================ */
.footer-col-lede {
  margin-bottom: var(--space-3);
}

/* ============================================================
   COMING SOON — variant pills, CTAs, shop cards
   R&D SKUs hold their place in the lineup; slots fill at launch.
   ============================================================ */
.coming-soon-tag[hidden] { display: none; }

/* Shopify copy keeps the existing product typography and gallery layout. */
.pdp-info, .pdp-gallery { min-width: 0; }
.pdp-description { overflow-wrap: anywhere; }
.pdp-description ul, .pdp-description ol { padding-left: 1.3em; }
.pdp-description li + li { margin-top: 0.35em; }
.pdp-description > :first-child { margin-top: 0; }
.pdp-description > :last-child { margin-bottom: 0; }
.bestseller-card-family, .bestseller-card-verdict { overflow-wrap: anywhere; }
.bestseller-card-verdict {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-edition { color: var(--ounin-stone); }

.coming-soon-tag,
.best-seller-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 var(--space-2);
  margin-left: var(--space-2);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ounin-stone);
  background: var(--ounin-cream);
  border: 1px solid var(--ounin-line);
  border-radius: var(--radius-sm);
  vertical-align: middle;
}

.variant-pill--soon .variant-pill-label,
.variant-pill--soon .variant-pill-desc {
  color: var(--ounin-stone);
}
.variant-pill--soon {
  background: transparent;
  border-style: dashed;
}

.btn-coming-soon,
.btn-coming-soon:hover,
.btn-coming-soon:active {
  background: transparent;
  color: var(--ounin-ink);
  border: 1px dashed var(--ounin-ink);
}

.spec-tbd-note {
  padding: var(--space-6) var(--space-4);
  text-align: center;
  color: var(--ounin-stone);
  border: 1px dashed var(--ounin-line);
  border-radius: var(--radius-sm);
}

/* v2.22 — selling-point proof strip (shop page) */
.sp-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
.sp-group {
  display: grid;
  gap: var(--space-4);
  align-content: start;
}
.sp-group-title {
  font-family: var(--font-serif);
  font-size: var(--type-h4);
  color: var(--ounin-ink);
}
.sp-card {
  margin: 0;
  display: grid;
  gap: var(--space-2);
}
.sp-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.sp-card figcaption {
  font-size: var(--type-small);
  color: var(--ounin-ink);
  opacity: 0.78;
}
@media (min-width: 768px) {
  .sp-strip { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile primary navigation: shared across every storefront header. */
@media (max-width: 1023px) {
  .site-header.menu-open .site-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100dvh - 56px);
    overflow-y: auto;
    padding: 12px var(--gutter) 20px;
    background: var(--ounin-paper);
    border-bottom: 1px solid var(--ounin-line);
    box-shadow: var(--elevation-2);
  }
  .site-header.menu-open .site-nav a { display: flex; align-items: center; min-height: 44px; }
  .mobile-menu-btn { min-width: 44px; min-height: 44px; font-family: var(--font-sans); }
}
.mobile-menu-btn:focus-visible { outline: 2px solid var(--ounin-ink); outline-offset: 2px; }

/* Header icon geometry and cart controls. */
.header-actions > .btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  line-height: 1;
}
.header-actions > .btn-icon > svg { display: block; width: 24px; height: 24px; flex: none; }
.header-actions [data-cart-open] > svg { transform: translateY(-1px); stroke-width: 1.7; }
.header-actions .cart-count-badge {
  top: 0;
  right: -3px;
  min-width: 18px;
  width: auto;
  height: 18px;
  padding: 0 4px;
  font-size: 10px;
  line-height: 18px;
  background: var(--ounin-ink);
  pointer-events: none;
}
.cart-item-details { min-width: 0; overflow-wrap: anywhere; }
.cart-remove { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; align-self: flex-start; flex: 0 0 auto; padding: 0 8px; color: var(--ounin-stone); font-size: var(--type-small); text-decoration: underline; text-underline-offset: 3px; }
.cart-quantity { display: inline-flex; align-items: center; margin-top: 12px; border: 1px solid var(--ounin-line); border-radius: 6px; }
.cart-quantity button { width: 44px; height: 44px; font-size: 20px; color: var(--ounin-ink); }
.cart-quantity button:disabled { opacity: .35; cursor: default; }
.cart-quantity input { width: 44px; min-width: 0; padding: 0; text-align: center; border: 0; background: transparent; color: var(--ounin-ink); font: inherit; appearance: textfield; -moz-appearance: textfield; }
.cart-quantity input::-webkit-inner-spin-button, .cart-quantity input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.cart-footer > .btn + .btn { margin-top: 8px; }
.cart-availability-note { margin-top: 12px; color: var(--ounin-stone); font-size: var(--type-small); }
.cart-total-value, [data-cart-subtotal], [data-cart-grand-total] { text-align: right; }
.cart-total { gap: 12px; }
.cart-item button:focus-visible, .cart-item a:focus-visible, .cart-quantity input:focus-visible { outline: 2px solid var(--ounin-ink); outline-offset: 2px; }
@media (max-width: 479px) {
  .cart-item { gap: 8px; }
  .cart-item .cart-item-img { width: 64px; height: 64px; }
  .cart-summary { padding: 20px; }
  .summary-row { gap: 12px; }
}

/* Product search uses the current seven-SKU catalog in app.js. */
.product-search {
  width: min(640px, calc(100vw - 32px));
  max-height: min(780px, 85dvh);
  margin: 7vh auto auto;
  padding: 24px;
  border: 1px solid var(--ounin-line);
  border-radius: 12px;
  background: var(--ounin-paper);
  color: var(--ounin-ink);
  box-shadow: var(--elevation-4);
}
.product-search::backdrop { background: rgba(38, 33, 27, .5); }
.product-search-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.product-search-heading h2 { font-size: var(--type-h3); }
.product-search-heading .btn-icon { display: inline-flex; align-items: center; justify-content: center; font-size: 28px; flex: 0 0 44px; }
.product-search-form label { display: block; font-size: var(--type-small); margin-bottom: 8px; }
.product-search-count { margin: 16px 0 8px; color: var(--ounin-stone); font-size: var(--type-small); }
.product-search-results { list-style: none; padding: 0; margin: 0; }
.product-search-results a { display: grid; gap: 4px; padding: 16px 8px; border-bottom: 1px solid var(--ounin-line); }
.product-search-results a:hover { background: var(--ounin-bone); }
.product-search-name { font-weight: 500; }
.product-search-meta { color: var(--ounin-stone); font-size: var(--type-small); }
.product-search-status { font-size: var(--type-micro); }
.product-search-empty { padding: 20px 0; }
.product-search a:focus-visible, .product-search button:focus-visible { outline: 2px solid var(--ounin-ink); outline-offset: 2px; }
@media(max-width: 479px) { .product-search { padding: 16px; } }

/* Shared entry to the locally hosted 12L 3D experience. */
.floating-3d-link {
  position: fixed;
  right: calc(clamp(32px, 12vw, 200px) + env(safe-area-inset-right, 0px));
  bottom: calc(144px + env(safe-area-inset-bottom, 0px));
  z-index: calc(var(--z-header) - 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 254, 251, .24);
  border-radius: 20px;
  background: var(--ounin-sage-deep);
  color: var(--ounin-paper);
  box-shadow: 0 6px 22px rgba(38, 47, 31, .2), 0 2px 4px rgba(38, 47, 31, .08);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
.floating-3d-icon { display: block; width: 29px; height: 29px; flex: none; }
.floating-3d-label { font-family: var(--font-sans); font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: .06em; }
.floating-3d-link:focus-visible { outline: 2px solid var(--ounin-sage-deep); outline-offset: 4px; }
.floating-3d-tooltip {
  position: absolute;
  top: 50%;
  right: calc(100% + 12px);
  display: grid;
  gap: 3px;
  width: max-content;
  padding: 11px 15px;
  border: 1px solid var(--ounin-line);
  border-radius: 12px;
  background: var(--ounin-paper);
  color: var(--ounin-ink);
  box-shadow: var(--elevation-3);
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transform: translate(4px, -50%);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}
.floating-3d-tooltip strong { font-weight: 500; }
.floating-3d-tooltip > span { color: var(--ounin-sage-deep); font-size: 11px; }
.floating-3d-link:focus-visible .floating-3d-tooltip { opacity: 1; visibility: visible; transform: translate(0, -50%); }
@media (hover: hover) {
  .floating-3d-link:hover { background: #4f5c42; transform: translateY(-2px); box-shadow: 0 9px 26px rgba(38, 47, 31, .24); }
  .floating-3d-link:hover .floating-3d-tooltip { opacity: 1; visibility: visible; transform: translate(0, -50%); }
}
.floating-3d-link:active { transform: translateY(0) scale(.97); }
.cart-overlay.open ~ .floating-3d-link,
.persona-modal.open ~ .floating-3d-link,
.recipe-modal.open ~ .floating-3d-link { visibility: hidden; }
@media (max-width: 1023px) {
  .floating-3d-link { right: calc(32px + env(safe-area-inset-right, 0px)); bottom: calc(120px + env(safe-area-inset-bottom, 0px)); width: 58px; height: 58px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .floating-3d-link, .floating-3d-tooltip { transition: none; }
}
@media print { .floating-3d-link { display: none; } }

/* Collection membership also controls cards whose layout declares display. */
.bestseller-card[hidden], .collection-variant-picker[hidden] { display: none; }
.collection-variant-picker { display: grid; gap: 8px; margin-bottom: 20px; }
.collection-variant-picker select { width: 100%; max-width: 100%; }

/* First-party analytics consent. Optional tags remain off until accepted. */
.consent-banner {
  position: fixed;
  z-index: 1200;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 980px;
  margin-inline: auto;
  padding: 20px 24px;
  border: 1px solid var(--ounin-line);
  border-radius: 12px;
  background: var(--ounin-paper);
  box-shadow: var(--elevation-4);
  color: var(--ounin-ink);
}
.consent-banner[hidden] { display: none; }
.consent-copy { max-width: 620px; }
.consent-copy h2 { margin: 0 0 6px; font-size: var(--type-h4); }
.consent-copy p { margin: 0; color: var(--ounin-stone); font-size: var(--type-small); }
.consent-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.consent-actions .btn { min-height: 44px; white-space: nowrap; }
.consent-manage {
  display: block;
  margin: 18px auto 0;
  padding: 8px;
  color: inherit;
  font-size: var(--type-micro);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.consent-banner button:focus-visible, .consent-manage:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
@media (max-width: 679px) {
  .consent-banner { align-items: stretch; flex-direction: column; gap: 16px; padding: 18px; }
  .consent-actions { display: grid; grid-template-columns: 1fr; }
  .consent-actions .btn { width: 100%; }
}
