/* =================================================================
   Barista Jitro — style.css
   Heritage label: vintage label layout, ribbons, seals.
   Palette: aubergine / deep red / lime / ivory.
   ================================================================= */

:root {
  --ivory: #f4ead7;
  --cream: #ecdfc3;
  --paper: #fbf5e8;
  --aubergine: #38202c;
  --aubergine-deep: #241220;
  --aubergine-soft: #5a3a4a;
  --red: #7c1f2c;
  --red-deep: #58121c;
  --lime: #c3d233;
  --lime-deep: #8fa021;
  --ink: #2a1a1f;
  --line: rgba(42, 26, 31, 0.18);

  --font-display: "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "Consolas", monospace;

  --measure: 42rem;
  --radius: 4px;
  --shadow-paper: 0 18px 40px -20px rgba(36, 18, 32, 0.45), 0 2px 0 rgba(255,255,255,0.4) inset;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 0.5em; line-height: 1.1; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
:focus-visible { outline: 3px solid var(--lime-deep); outline-offset: 2px; }
::selection { background: var(--lime); color: var(--aubergine-deep); }
accent-color: var(--red);
input, select, textarea { accent-color: var(--red); }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--lime); color: var(--aubergine-deep); padding: 0.6em 1em;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.wrap { max-width: 76rem; margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Icons ---------- */
.icon { width: 1.3em; height: 1.3em; flex-shrink: 0; }
.icon--sm { width: 1em; height: 1em; }

/* ---------- Reveal ---------- */
.reveal { opacity: 1; }
.reveal.js-armed { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), clip-path 0.7s var(--ease); }
.reveal.js-armed.in-view { opacity: 1; transform: translateY(0); }
.reveal--clip.js-armed { clip-path: inset(0 0 100% 0); }
.reveal--clip.js-armed.in-view { clip-path: inset(0 0 0% 0); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--aubergine);
  color: var(--ivory);
  box-shadow: var(--shadow-paper);
}
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-block: 0.7rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand__mark { width: 42px; height: 42px; color: var(--lime); flex-shrink: 0; }
.brand__word { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-display); }
.brand__word strong { font-size: 1.05rem; letter-spacing: 0.03em; color: var(--ivory); }
.brand__word em { font-style: normal; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime); }

.nav-toggle {
  display: none; background: none; border: none; color: var(--ivory);
  width: 44px; height: 44px; align-items: center; justify-content: center;
}
.nav-toggle__close { display: none; }
body.nav-open .nav-toggle__open { display: none; }
body.nav-open .nav-toggle__close { display: block; }

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav__list { display: flex; gap: 1.4rem; }
.site-nav__list a {
  font-size: 0.92rem; letter-spacing: 0.02em; position: relative; padding-bottom: 4px;
}
.site-nav__list a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.site-nav__list a:hover::after, .site-nav__list a.is-active::after { transform: scaleX(1); }
.site-nav__list a.is-active { color: var(--lime); }

.cart-link { display: flex; align-items: center; gap: 0.4rem; position: relative; }
.cart-link__count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.4em; height: 1.4em; padding: 0 0.3em; border-radius: 50%;
  background: var(--red); color: var(--ivory); font-size: 0.72rem; font-weight: 700;
}
.cart-link__count.is-bump { animation: bump 0.4s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }

.site-header__ribbon {
  background: var(--red); color: var(--ivory); text-align: center;
  font-size: 0.78rem; letter-spacing: 0.06em; padding: 0.3rem 1rem;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: 0 0 0 auto; top: 0; height: 100vh; width: min(82vw, 320px);
    background: var(--aubergine-deep); flex-direction: column; align-items: stretch;
    padding: 5.5rem 1.5rem 2rem; gap: 2rem;
    transform: translateX(100%); visibility: hidden; transition: transform 0.4s var(--ease), visibility 0.4s;
  }
  body.nav-open .site-nav { transform: translateX(0); visibility: visible; }
  .site-nav__list { flex-direction: column; gap: 1.2rem; font-size: 1.05rem; }
  .cart-link { justify-content: flex-start; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--aubergine-deep); color: var(--ivory); margin-top: 4rem; }
.site-footer__divider { width: 100%; height: 32px; color: var(--lime); display: block; }
.site-footer__grid {
  display: grid; gap: 2.4rem; padding-block: 1rem 2.5rem;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1.4fr;
}
.site-footer__brand { grid-column: 1 / -1; display: grid; gap: 0.6rem; max-width: 26rem; }
@media (min-width: 720px) { .site-footer__brand { grid-column: 1; } }
.site-footer__tagline { opacity: 0.85; font-size: 0.92rem; }
.site-footer__contact a { display: inline-flex; gap: 0.4em; align-items: center; color: var(--lime); }
.site-footer__col h2 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--lime); margin-bottom: 0.9rem; }
.site-footer__col li { margin-bottom: 0.55rem; font-size: 0.92rem; opacity: 0.9; }
.site-footer__col a:hover { color: var(--lime); }
.site-footer__newsletter { grid-column: 1/-1; }
@media (min-width: 1080px) { .site-footer__newsletter { grid-column: 5; } }
.site-footer__newsletter h2 { font-family: var(--font-display); font-size: 1.1rem; color: var(--ivory); text-transform: none; }
.site-footer__newsletter p { opacity: 0.8; font-size: 0.88rem; }
.newsletter-form { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.newsletter-form input[type="email"] {
  flex: 1; min-width: 10rem; padding: 0.6em 0.8em; border-radius: var(--radius);
  border: 1px solid rgba(244,234,215,0.3); background: rgba(244,234,215,0.08); color: var(--ivory);
}
.newsletter-form input::placeholder { color: rgba(244,234,215,0.55); }
.site-footer__bottom {
  border-top: 1px solid rgba(244,234,215,0.15); padding-block: 1.2rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.82rem; opacity: 0.75;
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; inset: auto 0 0 0; z-index: 300;
  background: var(--aubergine-deep); color: var(--ivory);
  border-top: 3px solid var(--lime);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner {
  max-width: 76rem; margin-inline: auto; padding: 1.1rem clamp(1.1rem,4vw,2.5rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.cookie-banner__inner p { margin: 0; font-size: 0.88rem; max-width: 42rem; }
.cookie-banner__inner a { color: var(--lime); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 0.6rem; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 44px; padding: 0.7em 1.5em; border-radius: var(--radius);
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.02em; border: 1px solid transparent;
  position: relative; overflow: hidden; isolation: isolate; transition: color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: var(--ivory); }
.btn--primary:hover { background: var(--red-deep); }
.btn--outline { background: transparent; border-color: var(--aubergine); color: var(--aubergine); }
.btn--outline:hover { background: var(--aubergine); color: var(--ivory); }
.btn--ghost { background: transparent; border-color: rgba(244,234,215,0.5); color: var(--ivory); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn--lime { background: var(--lime); color: var(--aubergine-deep); }
.btn--lime:hover { background: var(--lime-deep); }
.btn--block { width: 100%; }
.btn--sweep span { position: relative; z-index: 1; }
.btn--sweep::before {
  content: ""; position: absolute; inset: 0; width: 100%; left: -100%;
  background: var(--lime); z-index: 0; transition: left 0.35s var(--ease);
}
.btn--sweep:hover::before { left: 0; }
.btn--sweep.btn--primary:hover { color: var(--aubergine-deep); }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--aubergine); color: var(--ivory);
  padding-block: clamp(3rem, 8vw, 5rem) clamp(2.2rem, 6vw, 3.5rem);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; opacity: 0.08; pointer-events: none;
  background-image: radial-gradient(circle at 15% 20%, var(--lime) 0, transparent 2px),
    radial-gradient(circle at 85% 70%, var(--lime) 0, transparent 2px);
  background-size: 34px 34px;
}
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); max-width: 40rem; }
.page-hero p { max-width: 36rem; opacity: 0.88; font-size: 1.05rem; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { display: flex; gap: 0.5em; flex-wrap: wrap; font-size: 0.85rem; opacity: 0.8; margin-bottom: 1rem; }
.breadcrumbs a { text-decoration: underline; }
.breadcrumbs li::after { content: "/"; margin-left: 0.5em; opacity: 0.6; }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs { display: flex; }
.breadcrumbs ol { display: flex; gap: 0.4em; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: var(--measure); margin-inline: auto; padding-block: 2.5rem 4rem; line-height: 1.7; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; border-bottom: 2px solid var(--line); padding-bottom: 0.3em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6em; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.prose a { text-decoration: underline; color: var(--red-deep); }

.legal-toc { background: var(--cream); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin: 0 auto 2rem; max-width: var(--measure); }
.legal-toc h2 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.6em; }
.legal-toc ol { padding-left: 1.2em; margin: 0; }
.legal-toc li { margin-bottom: 0.3em; }
.legal-toc a { text-decoration: underline; }

/* ---------- Notices / alerts ---------- */
.notice { padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.notice--success { background: #e3ecc4; border-color: var(--lime-deep); }
.notice--error { background: #f3dada; border-color: var(--red); }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(2, 1fr); }
.form-grid .field--full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-size: 0.86rem; font-weight: 600; }
.field input, .field select, .field textarea {
  padding: 0.65em 0.8em; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--paper); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--aubergine); }
.field-error { font-size: 0.8rem; color: var(--red); min-height: 1.1em; }
.field textarea { resize: vertical; min-height: 7rem; }
.form-msg { min-height: 1.4em; font-size: 0.88rem; margin: 0.6em 0 0; }
.form-msg--ok { color: var(--lime-deep); font-weight: 600; }
.form-msg--error { color: var(--red); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.8rem; max-width: var(--measure); margin-inline: auto; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-item summary {
  padding: 1em 1.2em; cursor: pointer; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3em; color: var(--red); transition: transform 0.3s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-item__body { padding: 0 1.2em 1.2em; opacity: 0.9; }

/* ---------- Product detail / catalog ---------- */
.catalog-grid {
  display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
.product-card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-paper); display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease);
}
.product-card:hover { transform: translateY(-6px); }
.product-card__media { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.08); }
.product-card__level {
  position: absolute; top: 0.7em; left: 0.7em; background: var(--red); color: var(--ivory);
  font-size: 0.7rem; padding: 0.3em 0.7em; border-radius: 99px; text-transform: uppercase; letter-spacing: 0.05em;
}
.product-card__body { padding: 1.2rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.product-card__body h3 { font-size: 1.15rem; }
.product-card__meta { display: flex; gap: 1em; font-size: 0.82rem; opacity: 0.75; align-items: center; }
.product-card__price { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-weight: 700; }

.product-detail { display: grid; gap: 2.5rem; grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 760px) { .product-detail { grid-template-columns: 1fr; } }
.product-detail__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-paper); aspect-ratio: 4/3; }
.product-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__price { font-size: 1.8rem; font-family: var(--font-display); color: var(--red-deep); }
.product-detail__meta { display: flex; gap: 1.4em; margin-block: 0.8em 1.4em; font-size: 0.9rem; }
.product-detail__meta span { display: flex; gap: 0.4em; align-items: center; }
.product-detail__includes { margin: 1.4em 0; padding-left: 0; }
.product-detail__includes li { display: flex; gap: 0.6em; align-items: flex-start; margin-bottom: 0.5em; }
.product-detail__includes .icon { color: var(--lime-deep); margin-top: 0.15em; }
.qty-stepper { display: inline-flex; align-items: center; gap: 0.6em; border: 1.5px solid var(--line); border-radius: 99px; padding: 0.2em 0.4em; }
.qty-stepper button { width: 32px; height: 32px; border-radius: 50%; border: none; background: var(--cream); font-size: 1.1rem; }

/* ---------- Cart ---------- */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.cart-table th { text-align: left; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; padding-bottom: 0.6em; border-bottom: 2px solid var(--line); }
.cart-table td { padding: 0.9em 0.5em; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-table__product { display: flex; align-items: center; gap: 0.8em; }
.cart-table__product img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius); }
.cart-table__remove { background: none; border: none; color: var(--red); width: 36px; height: 36px; }
.cart-summary { display: flex; justify-content: space-between; align-items: center; font-size: 1.25rem; padding-top: 0.8rem; border-top: 2px solid var(--aubergine); }
.cart-summary strong { font-family: var(--font-display); color: var(--red-deep); }

/* ---------- Contact layout ---------- */
.contact-layout { display: grid; gap: 2.5rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-layout__info { display: grid; gap: 1.2rem; align-content: start; }
.contact-layout__info a { display: flex; gap: 0.6em; align-items: center; }
.contact-layout__info .icon { color: var(--red-deep); }

/* ---------- Seal / ribbon decorations ---------- */
.seal { color: var(--red-deep); }
.ribbon-tag {
  display: inline-flex; align-items: center; gap: 0.5em; background: var(--red); color: var(--ivory);
  padding: 0.4em 1em 0.4em 0.8em; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em;
  position: relative;
}
.ribbon-tag::after {
  content: ""; position: absolute; right: -0.9em; top: 0; border-style: solid;
  border-width: 1.05em 0.9em 1.05em 0; border-color: transparent transparent transparent var(--red);
}

/* ---------- Utilities ---------- */
.stack { display: flex; flex-direction: column; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; }
.gap-sm { gap: 0.6rem; }
.gap-md { gap: 1.2rem; }
.gap-lg { gap: 2.4rem; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.section { padding-block: clamp(3rem, 8vw, 6rem); }
.section--tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.text-center { text-align: center; }
.container-narrow { max-width: var(--measure); margin-inline: auto; }

/* ================================================================
   HOME PAGE
   ================================================================ */

.section-index {
  position: sticky; top: 70px; z-index: 5; background: var(--ivory);
  border-bottom: 1px solid var(--line); overflow-x: auto;
}
.section-index__list { display: flex; gap: 1.6rem; padding: 0.8rem clamp(1.1rem,4vw,2.5rem); white-space: nowrap; }
.section-index__list a { font-size: 0.82rem; display: flex; gap: 0.4em; opacity: 0.7; transition: opacity 0.2s; }
.section-index__list a:hover, .section-index__list a.is-active { opacity: 1; color: var(--red-deep); }
.section-index__num { font-family: var(--font-mono); color: var(--lime-deep); }

.hero {
  position: relative; overflow: hidden; background: var(--aubergine); color: var(--ivory);
  padding-block: clamp(3.5rem, 10vw, 6rem) clamp(4rem, 10vw, 7rem);
}
.hero__grid { display: grid; gap: 2.5rem; grid-template-columns: 1.1fr 0.9fr; align-items: center; position: relative; z-index: 2; }
@media (max-width: 820px) { .hero__grid { grid-template-columns: 1fr; } }
.hero__eyebrow { display: inline-flex; margin-bottom: 1.2rem; }
.hero__title {
  font-size: clamp(2.6rem, 7.5vw, 5.2rem); letter-spacing: -0.01em; margin-bottom: 0.6rem;
}
.hero__title em { color: var(--lime); font-style: normal; }
.hero__lede { font-size: 1.15rem; max-width: 32rem; opacity: 0.88; }
.hero__actions { display: flex; gap: 1rem; margin-top: 1.8rem; flex-wrap: wrap; }

.hero__figure { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); }
.hero__photo {
  width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius);
  filter: grayscale(0.15) sepia(0.25) saturate(1.3) hue-rotate(-18deg);
  transition: filter 0.4s linear;
}
@media (prefers-reduced-motion: no-preference) {
  .hero__photo { filter: grayscale(0.55) sepia(0.4) saturate(1.6) hue-rotate(-20deg) brightness(0.92); }
  .hero--shifted .hero__photo { filter: grayscale(0.1) sepia(0.15) saturate(1.2) hue-rotate(-18deg) brightness(1); }
}
.hero__seal {
  position: absolute; bottom: -1.2rem; left: -1.2rem; width: 92px; height: 92px; color: var(--lime);
  background: var(--aubergine-deep); border-radius: 50%; padding: 6px; box-shadow: var(--shadow-paper);
}
.hero__ornament { position: absolute; inset: 0; z-index: 1; opacity: 0.5; pointer-events: none; color: var(--lime); }

.grain-overlay { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; opacity: 0.05; z-index: 1; mix-blend-mode: overlay; }

.index-section__head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 2.2rem; }
.index-section__num {
  font-family: var(--font-mono); font-size: 0.9rem; color: var(--ivory); background: var(--red);
  border-radius: 50%; width: 2.6em; height: 2.6em; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.index-section__head h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin: 0; }
.index-section__head p { margin: 0.3em 0 0; opacity: 0.75; max-width: 36rem; }

.section-alt { background: var(--cream); }
.section-dark { background: var(--aubergine); color: var(--ivory); }
.section-dark .index-section__head p { color: var(--ivory); opacity: 0.8; }

.strip {
  display: flex; gap: 1.2rem; overflow-x: auto; padding-bottom: 0.6rem; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.strip .product-card { min-width: 17rem; scroll-snap-align: start; }
@media (min-width: 880px) {
  .strip { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .strip .product-card { min-width: 0; }
}

.process-list { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.process-list li { position: relative; padding-left: 2.6rem; }
.process-list li::before {
  content: ""; position: absolute; left: 0; top: 0.1em; width: 1.8rem; height: 1.8rem; border-radius: 50%;
  border: 2px solid var(--red); background: var(--paper);
}
.process-list li strong { display: block; margin-bottom: 0.3em; font-family: var(--font-display); font-size: 1.05rem; }

/* ---------- Espresso kompas (signature feature) ---------- */
.compass {
  display: grid; gap: 2.4rem; grid-template-columns: 0.9fr 1.1fr; align-items: center;
  background: var(--paper); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 3rem);
  box-shadow: var(--shadow-paper);
}
@media (max-width: 760px) { .compass { grid-template-columns: 1fr; } }
.compass__dial { display: flex; justify-content: center; }
.compass__svg { width: 100%; max-width: 220px; height: auto; }
.compass__controls .field { margin-bottom: 1.2rem; }
.compass__readout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: center; margin-top: 1rem; }
.compass__readout div { background: var(--cream); border-radius: var(--radius); padding: 0.9rem 0.5rem; }
.compass__readout dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.7; }
.compass__readout dd { margin: 0.3em 0 0; font-family: var(--font-display); font-size: 1.3rem; color: var(--red-deep); }
.compass__note { font-size: 0.85rem; opacity: 0.75; margin-top: 1rem; }
input[type="range"].compass__range { width: 100%; }

/* ---------- Toast ---------- */
.bj-toast {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 400; background: var(--aubergine-deep);
  color: var(--ivory); padding: 0.9em 1.3em; border-radius: var(--radius); box-shadow: var(--shadow-paper);
  transform: translateY(20px); opacity: 0; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  border-left: 4px solid var(--lime); max-width: 20rem; font-size: 0.9rem;
}
.bj-toast.is-visible { transform: translateY(0); opacity: 1; }

/* =================================================================
   COMPONENTS: .class - what it is
   .site-header - sticky top bar with logo and nav
   .brand / .brand__mark / .brand__word - logo lockup
   .nav-toggle - mobile menu button (shows/hides .nav-toggle__open/__close)
   .site-nav / .site-nav__list - main navigation, [data-nav-link] marks active page
   .cart-link / .cart-link__count - header cart icon + animated count badge
   .site-header__ribbon - thin promo strip under header
   .site-footer / .site-footer__grid / .site-footer__col / .site-footer__brand - footer layout
   .newsletter-form - footer email signup form
   .cookie-banner / .cookie-banner__inner / .cookie-banner__actions - GDPR cookie consent bar
   .btn, .btn--primary/--outline/--ghost/--lime/--block/--sweep - button variants (sweep = fill animation)
   .page-hero - dark hero banner used on all 11 inner pages
   .breadcrumbs - breadcrumb trail
   .prose - long-form legal/text content with readable measure
   .legal-toc - table of contents box for legal pages
   .notice / .notice--success/--error - inline alert box
   .form-grid / .field / .field-error / .form-msg - form layout and validation
   .faq / .faq-item - details/summary accordion
   .catalog-grid / .product-card - course grid and card
   .product-detail / .product-detail__media/__price/__meta/__includes - course detail layout
   .qty-stepper - quantity +/- control
   .cart-table / .cart-summary - booking basket table and totals
   .contact-layout - two-column contact page layout
   .ribbon-tag - small banner-style label
   .seal - decorative circular badge color
   .stack / .cluster / .gap-sm/md/lg / .section / .section--tight / .text-center / .container-narrow - layout utilities
   .section-index - sticky numbered section nav on the homepage
   .hero / .hero__grid / .hero__title / .hero__figure / .hero__photo - homepage hero with duotone photo
   .grain-overlay - fixed SVG noise texture overlay
   .index-section__head / .index-section__num - numbered section heading used across homepage
   .section-alt / .section-dark - alternate background sections
   .strip - horizontal scroll-snap card strip (grid on desktop)
   .process-list - numbered step list ("how a course works")
   .compass / .compass__dial / .compass__controls / .compass__readout - Espresso kompas signature feature
   .bj-toast - transient notification for cart actions
   ================================================================= */

/* wg-contrast-autofix */
ul.section-index__list li a span.section-index__num { color: #111111 !important; }
ul.section-index__list li a.is-active span.section-index__num { color: #111111 !important; }
