/* ═══════════════════════════════════════════════════════════════════════
   DARIJA BY HAJIBA - "ATAY & STICKERS" LAYER (v3)
   Loads after v2.css (sorted by logical path) and wins the cascade.

   The look is taken from Hajiba's own photo: the oat wall, the black
   laptop and its stickers (teapot gold, passport green, Vache-qui-rit red,
   candy pink). Poster type, tickets, chat bubbles and tape instead of
   hairline cards and letter-spaced overlines.

   Homepage markup uses dh-* classes. Everything else on the site only
   picks up the tokens, fonts, navbar, buttons and footer below.

   Rollback: delete this file, restore pages/home.html.erb and the font
   link in layouts/application.html.erb, then precompile + restart.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── 1. TOKENS ──────────────────────────────────────────────────────── */
body:not(.admin-body) {
  --paper:   #F2EADC;
  --paper-2: #E8DBC5;
  --card:    #FFFBF4;
  --ink:     #1D1813;
  --ink-deep: #1D1813;
  --body:    #4A4037;
  --muted:   #75685A;
  --faint:   #9A8D7E;
  --line:    rgba(29,24,19,0.14);

  --red:     #C8361F;
  --red-h:   #A92A15;
  --green:   #0F5138;
  --green-d: #0A3B28;
  --mint:    #CFE6D2;
  --gold:    #E3A93A;
  --pink:    #F5B8C2;

  --serif: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --sans:  "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --hand:  "Shantell Sans", "Comic Sans MS", cursive;

  /* Legacy tokens used by application.css / v2.css on the other pages */
  --cream:       var(--paper);
  --cream-alt:   var(--paper-2);
  --sand:        var(--paper-2);
  --sand-mid:    #DED0B7;
  --terra:       var(--red);
  --terra-dark:  var(--red-h);
  --terra-ink:   #B12F1A;
  --terra-cta:   var(--red);
  --terra-cta-h: var(--red-h);
  --terra-pale:  var(--pink);
  --forest:      var(--green);
  --forest-mid:  #17694A;
  --forest-deep: var(--green-d);
  --forest-lite: var(--mint);
  --gold-light:  #F0C46A;
  --gold-pale:   #F6E3B8;
  --gold-cta:    var(--gold);
  --gold-cta-h:  #D29A2C;
  --gold-ink:    var(--ink);
  --border:      #D9CBB3;
  --border-lite: #E6DAC6;
  --sh-cta:  0 10px 24px -8px rgba(200,54,31,0.55);
  --sh-gold: 0 10px 24px -8px rgba(227,169,58,0.6);
  --ring:    0 0 0 3px rgba(200,54,31,0.25);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;

  --wrap: 1200px;
  --sec:  clamp(4.5rem, 9vw, 8rem);
  --spring: cubic-bezier(.34,1.56,.64,1);

  background: var(--paper);
  font-family: var(--sans);
  color: var(--body);
}
body:not(.admin-body) h1,
body:not(.admin-body) h2,
body:not(.admin-body) h3 { font-family: var(--serif); }

::selection { background: var(--pink); color: var(--ink); }

/* ── 2. NAVBAR ──────────────────────────────────────────────────────── */
body:not(.admin-body) .navbar {
  background: rgba(242,234,220,0.86);
  border-bottom: 1px solid transparent;
}
body:not(.admin-body) .navbar.scrolled {
  background: rgba(242,234,220,0.94);
  border-bottom-color: var(--line);
  box-shadow: none;
}
body:not(.admin-body) .navbar__logo-text {
  font-family: var(--serif);
  font-size: 1.38rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ink);
}
body:not(.admin-body) .navbar__logo-text::before {
  content: "";
  display: inline-block;
  width: 0.72em;
  height: 0.72em;
  margin-right: 0.38em;
  vertical-align: -0.04em;
  background: var(--red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 2l12.6 17.4L83.9 16 80.6 37.4 98 50 80.6 62.6 83.9 84 62.6 80.6 50 98 37.4 80.6 16.1 84 19.4 62.6 2 50l17.4-12.6L16.1 16l21.3 3.4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 2l12.6 17.4L83.9 16 80.6 37.4 98 50 80.6 62.6 83.9 84 62.6 80.6 50 98 37.4 80.6 16.1 84 19.4 62.6 2 50l17.4-12.6L16.1 16l21.3 3.4z'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform 600ms var(--spring);
}
body:not(.admin-body) .navbar__logo:hover .navbar__logo-text::before { transform: rotate(90deg) scale(1.1); }
body:not(.admin-body) .navbar__link {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
}
body:not(.admin-body) .navbar__link::after { background: var(--red); height: 2px; border-radius: 2px; }
body:not(.admin-body) .navbar__link:hover,
body:not(.admin-body) .navbar__link--active { color: var(--red); }
body:not(.admin-body) .navbar__link--cta,
body:not(.admin-body) .navbar__link--cta.navbar__link--active {
  background: var(--ink);
  color: var(--paper);
  padding: 0.62rem 1.3rem;
  border-radius: 999px;
}
body:not(.admin-body) .navbar__link--cta:hover {
  background: var(--red);
  color: #fff;
  box-shadow: var(--sh-cta);
}
body:not(.admin-body) .navbar__nav .btn--ghost {
  background: transparent;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--sans);
}
body:not(.admin-body) .navbar__nav .btn--ghost:hover { background: var(--ink); color: var(--paper); }

/* ── 3. SITE-WIDE BUTTONS ───────────────────────────────────────────── */
body:not(.admin-body) .btn {
  font-family: var(--sans);
  border-radius: 999px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
  font-weight: 650;
}
body:not(.admin-body) .btn--gold { color: var(--ink); }

/* ── 4. HOMEPAGE (dh-*) ─────────────────────────────────────────────── */
.dh-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.dh-section { padding: var(--sec) 0; position: relative; }

.dh-h2 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.032em;
  color: var(--ink);
  margin: 0;
  font-variation-settings: "opsz" 96;
}
.dh-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.dh-head__sub {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--body);
  max-width: 44ch;
  margin: 1.25rem 0 0;
}
.dh-head--split {
  display: grid;
  grid-template-columns: 1fr minmax(0, 26rem);
  gap: 2rem;
  align-items: end;
}
.dh-head--split .dh-head__sub { margin: 0; }

.dh-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.95rem 0.42rem 0.8rem;
  border-radius: 999px;
  background: var(--card);
  border: 1.5px solid var(--ink);
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 1.6rem;
  transform: rotate(-1.5deg);
}
.dh-pill::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(200,54,31,0.18);
}
.dh-pill--gold { background: var(--gold); border-color: var(--gold); }
.dh-pill--gold::before { background: var(--ink); box-shadow: none; }

/* Buttons */
.dh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 56px;
  padding: 0 1.15rem 0 1.7rem;
  border: 0;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.15;
  text-decoration: none;
  cursor: pointer;
  transition: transform 260ms var(--spring), box-shadow 200ms ease, background 200ms ease;
}
.dh-btn__arrow {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  transition: transform 260ms var(--spring);
}
.dh-btn:hover { transform: translateY(-2px) rotate(-1deg); }
.dh-btn:hover .dh-btn__arrow { transform: translateX(3px); }
.dh-btn:active { transform: translateY(0) scale(0.98); }
.dh-btn--red { background: var(--red); color: #fff; box-shadow: var(--sh-cta); }
.dh-btn--red:hover { background: var(--red-h); color: #fff; }
.dh-btn--ink { background: var(--ink); color: var(--paper); padding: 0 1.4rem; min-height: 50px; font-size: 0.98rem; }
.dh-btn--ink:hover { background: var(--red); color: #fff; box-shadow: var(--sh-cta); }
.dh-btn--block { width: 100%; padding: 0 1.4rem; }

.dh-link {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  text-decoration-color: var(--gold);
  transition: text-decoration-color 200ms, color 200ms;
}
.dh-link:hover { color: var(--red); text-decoration-color: var(--red); }

/* ── Hero ── */
.dh-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem);
}
.dh-hero__inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.dh-hero__title {
  font-family: var(--serif);
  font-size: clamp(3rem, 7.4vw, 6.4rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.038em;
  color: var(--ink);
  margin: 0 0 1.75rem;
  font-variation-settings: "opsz" 96;
  text-wrap: balance;
}
.dh-mark {
  position: relative;
  display: inline-block;
  color: var(--red);
  z-index: 0;
}
.dh-mark::after {             /* hand-drawn swash under the last word */
  content: "";
  position: absolute;
  left: -2%;
  right: -3%;
  bottom: -0.12em;
  height: 0.32em;
  z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 30' preserveAspectRatio='none'%3E%3Cpath d='M4 20C60 9 132 6 206 9c34 1.4 64 4 90 8' fill='none' stroke='%23E3A93A' stroke-width='9' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  transform-origin: left center;
  animation: dh-draw 900ms 400ms cubic-bezier(.65,0,.35,1) both;
}
@keyframes dh-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.dh-hero__intro {
  font-size: clamp(1.08rem, 1.4vw, 1.22rem);
  line-height: 1.65;
  color: var(--body);
  max-width: 50ch;
  margin: 0 0 2.2rem;
}
.dh-hero__ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 1.1rem 1.8rem; }
.dh-hero__credential {
  margin: 2.4rem 0 0;
  padding-top: 1.4rem;
  border-top: 1.5px dashed var(--line);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  max-width: 52ch;
}

.dh-hero__visual {
  position: relative;
  justify-self: center;
  width: min(100%, 440px);
}
.dh-sticker--photo {
  margin: 0;
  padding: 12px;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 30px 60px -24px rgba(60,40,20,0.45);
  transform: rotate(2.5deg);
  transition: transform 500ms var(--spring);
  animation: dh-drop 900ms 100ms var(--spring) both;
}
.dh-hero__visual:hover .dh-sticker--photo { transform: rotate(0.5deg) scale(1.01); }
.dh-sticker--photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
}
@keyframes dh-drop {
  from { opacity: 0; transform: translateY(30px) rotate(8deg) scale(0.96); }
  to   { opacity: 1; transform: rotate(2.5deg); }
}

.dh-stamp {
  position: absolute;
  left: -64px;
  bottom: 54px;
  width: 148px;
  height: 148px;
  transform: rotate(-10deg);
  filter: drop-shadow(0 12px 18px rgba(60,40,20,0.25));
  animation: dh-pop 700ms 700ms var(--spring) both;
}
.dh-stamp text { animation: none; }
.dh-stamp__bg   { fill: var(--green); }
.dh-stamp__core { fill: var(--gold); }
.dh-stamp__ring {
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  fill: var(--paper);
}
.dh-stamp__ar {
  font-family: "Noto Naskh Arabic", "Geeza Pro", "Arial", serif;
  font-size: 34px;
  font-weight: 700;
  fill: var(--ink);
}
.dh-stamp > text:first-of-type {
  transform-origin: 100px 100px;
  animation: dh-spin 26s linear infinite;
}
@keyframes dh-spin { to { transform: rotate(360deg); } }
@keyframes dh-pop {
  from { opacity: 0; transform: scale(0.4) rotate(-60deg); }
  to   { opacity: 1; transform: scale(1) rotate(-10deg); }
}

.dh-star { fill: currentColor; }
.dh-star--hero {
  position: absolute;
  top: -26px;
  right: -22px;
  width: 78px;
  height: 78px;
  color: var(--red);
  animation: dh-pop 700ms 900ms var(--spring) both, dh-spin 40s linear 1.6s infinite;
}
/* ── Ticker ── */
.home main { overflow-x: clip; }   /* the tilted band is wider than the viewport */
.dh-ticker {
  background: var(--green);
  color: var(--paper);
  overflow: hidden;
  padding: 1.05rem 0;
  transform: rotate(-1.2deg);
  margin: 0 -2vw;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px -18px rgba(0,0,0,0.5);
}
.dh-ticker__track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  animation: dh-marquee 38s linear infinite;
}
.dh-ticker span {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.dh-ticker svg { width: 1.2rem; height: 1.2rem; fill: var(--gold); flex: none; }
@keyframes dh-marquee { to { transform: translateX(-50%); } }

/* ── Courses ── */
.dh-courses { padding-top: calc(var(--sec) + 1rem); }

.dh-ticket {
  position: relative;
  display: grid;
  background: var(--card);
  border-radius: var(--r-lg);
  box-shadow: 0 1px 0 rgba(0,0,0,0.03), 0 24px 50px -30px rgba(60,40,20,0.35);
  transition: transform 400ms var(--spring), box-shadow 300ms ease;
}
.dh-ticket:hover { transform: translateY(-4px) rotate(-0.3deg); box-shadow: 0 1px 0 rgba(0,0,0,0.03), 0 34px 60px -30px rgba(60,40,20,0.45); }
.dh-ticket__main { padding: clamp(1.75rem, 3.5vw, 3rem); min-width: 0; }

.dh-ticket--featured {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 330px);
  margin-bottom: 1.5rem;
}
.dh-ticket__stub {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.6rem);
  background: var(--gold);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.2rem;
  color: var(--ink);
}
/* perforation: dotted tear line + a notch top and bottom */
.dh-ticket__stub {
  border-left: 3px dotted rgba(29,24,19,0.4);
  background-clip: padding-box;
}
.dh-ticket__stub::before,
.dh-ticket__stub::after {
  content: "";
  position: absolute;
  left: -19px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--paper);
}
.dh-ticket__stub::before { top: -17px; }
.dh-ticket__stub::after  { bottom: -17px; }

.dh-stub__label {
  font-family: var(--hand);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  transform: rotate(-3deg);
}
.dh-stub__price {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 6vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 0.2rem 0 0;
  font-variation-settings: "opsz" 96;
}
.dh-stub__note { font-size: 0.88rem; font-weight: 500; margin: 0.2rem 0 1.4rem; opacity: 0.75; }
.dh-stub__spots { font-family: var(--hand); font-weight: 600; margin: 0.8rem 0 0; color: var(--red-h); }
.dh-stub__more {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}
.dh-stub__more:hover { color: var(--red-h); }
.dh-stub__form { display: grid; gap: 0.6rem; width: 100%; }
.dh-input {
  width: 100%;
  min-height: 50px;
  padding: 0 1.1rem;
  border-radius: 999px;
  border: 1.5px solid rgba(29,24,19,0.25);
  background: var(--card);
  font: 500 1rem var(--sans);
  color: var(--ink);
}
.dh-input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(29,24,19,0.15); }
.dh-ticket__stub .dh-btn--red { box-shadow: 0 10px 22px -10px rgba(120,30,10,0.7); }

.dh-badge-sticker {
  position: absolute;
  top: -22px;
  left: clamp(1.25rem, 3vw, 2.4rem);
  z-index: 2;
  padding: 0.5rem 1.05rem;
  background: var(--pink);
  color: var(--ink);
  border-radius: 999px;
  font-family: var(--hand);
  font-size: 1rem;
  font-weight: 600;
  transform: rotate(-4deg);
  box-shadow: 0 6px 14px -6px rgba(0,0,0,0.3);
}
.dh-badge-sticker--presale { background: var(--mint); }

.dh-tag {
  display: inline-block;
  margin: 0 0 0.9rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--red);
}
.dh-ticket__title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 0 1rem;
}
.dh-ticket__desc { font-size: 1.05rem; line-height: 1.65; color: var(--body); margin: 0; max-width: 58ch; }

.dh-bullets {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
}
.dh-bullets li {
  position: relative;
  padding-left: 1.8rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
}
.dh-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 1.1em;
  height: 1.1em;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 2l12.6 17.4L83.9 16 80.6 37.4 98 50 80.6 62.6 83.9 84 62.6 80.6 50 98 37.4 80.6 16.1 84 19.4 62.6 2 50l17.4-12.6L16.1 16l21.3 3.4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 2l12.6 17.4L83.9 16 80.6 37.4 98 50 80.6 62.6 83.9 84 62.6 80.6 50 98 37.4 80.6 16.1 84 19.4 62.6 2 50l17.4-12.6L16.1 16l21.3 3.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.dh-tickets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.dh-tickets .dh-ticket { grid-template-rows: 1fr auto; border-top: 10px solid var(--accent, var(--green)); }
.dh-ticket--green { --accent: var(--green); }
.dh-ticket--pink  { --accent: var(--pink); }
.dh-ticket--gold  { --accent: var(--gold); }
.dh-tickets .dh-ticket__title { font-size: clamp(1.5rem, 2.4vw, 1.95rem); }
.dh-ticket__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.25rem clamp(1.75rem, 3.5vw, 3rem) clamp(1.5rem, 3vw, 2.4rem);
  border-top: 3px dotted var(--line);
}
.dh-ticket__price {
  font-family: var(--serif);
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.dh-minis {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.dh-mini {
  display: flex;
  flex-direction: column;
  padding: 1.4rem 1.5rem 1.25rem;
  border: 1.5px dashed rgba(29,24,19,0.22);
  border-radius: var(--r-md);
  background: transparent;
  transition: background 200ms, border-color 200ms;
}
.dh-mini:hover { background: rgba(255,251,244,0.6); border-color: rgba(29,24,19,0.4); }
.dh-mini__tag { margin: 0 0 0.5rem; font-family: var(--hand); font-size: 0.92rem; font-weight: 600; color: var(--muted); }
.dh-mini--soon .dh-mini__tag { color: var(--green); }
.dh-mini__title {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.5rem;
}
.dh-mini__desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dh-mini__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.dh-mini__price { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--muted); }
.dh-mini__link { white-space: nowrap; font-size: 0.9rem; font-weight: 650; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.dh-mini__link:hover { color: var(--red); }
.dh-chip {
  display: inline-block;
  white-space: nowrap;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--ink);
}

/* ── Proof ── */
.dh-proof {
  background: var(--green);
  color: var(--paper);
  overflow: hidden;
}
.dh-proof::before {            /* zellige star lattice, very faint */
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' width='88' height='88'%3E%3Cpath fill='%23F2EADC' d='M50 2l12.6 17.4L83.9 16 80.6 37.4 98 50 80.6 62.6 83.9 84 62.6 80.6 50 98 37.4 80.6 16.1 84 19.4 62.6 2 50l17.4-12.6L16.1 16l21.3 3.4z'/%3E%3C/svg%3E") 0 0 / 88px 88px;
  pointer-events: none;
}
.dh-proof .dh-wrap { position: relative; }
.dh-proof .dh-h2 { color: var(--paper); }
.dh-stars { width: 92px; height: 16px; fill: var(--gold); display: block; margin-bottom: 1rem; overflow: visible; }

.dh-lead-quote {
  position: relative;
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
  padding: clamp(2rem, 4.5vw, 3.75rem);
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r-lg);
  transform: rotate(-1deg);
  max-width: 980px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}
.dh-lead-quote::before {
  content: "\201C";
  position: absolute;
  top: -0.35em;
  right: 0.25em;
  font-family: var(--serif);
  font-size: clamp(9rem, 16vw, 14rem);
  font-weight: 800;
  line-height: 1;
  color: var(--red);
}
.dh-lead-quote p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 2.05rem);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.02em;
}

.dh-bubbles { columns: 3 300px; column-gap: 1.25rem; }
.dh-bubble {
  position: relative;
  break-inside: avoid;
  margin: 0 0 1.75rem;
  padding: 1.5rem 1.6rem 1.4rem;
  border-radius: 22px 22px 22px 6px;
  background: rgba(242,234,220,0.1);
  border: 1px solid rgba(242,234,220,0.16);
  transition: transform 400ms var(--spring), background 200ms;
}
.dh-bubble:hover { transform: rotate(-1deg) translateY(-3px); background: rgba(242,234,220,0.15); }
.dh-bubble--1 { background: var(--mint); color: var(--ink); border-color: transparent; border-radius: 22px 22px 6px 22px; }
.dh-bubble--1:hover { background: #DCEEDF; }
.dh-bubble--1 .dh-stars { fill: var(--green); }
.dh-bubble p { margin: 0; font-size: 1.02rem; line-height: 1.62; }
.dh-bubble--0 p, .dh-bubble--2 p { color: rgba(242,234,220,0.92); }

/* ── For who ── */
.dh-forwho__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.dh-forwho__lead { position: sticky; top: 110px; }
.dh-checks { list-style: none; margin: 0; padding: 0; counter-reset: c; }
.dh-checks li {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.35rem 0;
  border-bottom: 2px dotted var(--line);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.1vw, 1.65rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--ink);
  transition: color 200ms, padding-left 300ms var(--spring);
}
.dh-checks li:first-child { border-top: 2px dotted var(--line); }
.dh-checks li:hover { color: var(--red); padding-left: 0.4rem; }
.dh-check {
  flex: none;
  width: 2.1rem;
  height: 2.1rem;
  margin-top: -0.15rem;
  padding: 0.35rem;
  border-radius: 50%;
  background: var(--gold);
  fill: none;
  stroke: var(--ink);
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(-6deg);
}
.dh-checks li:nth-child(3n+2) .dh-check { background: var(--pink); transform: rotate(5deg); }
.dh-checks li:nth-child(3n)   .dh-check { background: var(--mint); transform: rotate(-2deg); }

/* ── About ── */
.dh-about { background: var(--paper-2); }
.dh-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 7vw, 6.5rem);
  align-items: center;
}
.dh-about__photo {
  position: relative;
  margin: 0;
  padding: 12px 12px 56px;
  background: #fff;
  border-radius: 6px;
  transform: rotate(-3deg);
  box-shadow: 0 30px 60px -28px rgba(60,40,20,0.5);
}
.dh-about__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 2px;
}
.dh-tape {
  position: absolute;
  width: 110px;
  height: 32px;
  background: rgba(245,184,194,0.82);
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.dh-tape--a { top: -14px; left: -26px; transform: rotate(-32deg); }
.dh-tape--b { bottom: 18px; right: -30px; transform: rotate(-28deg); background: rgba(227,169,58,0.8); }
.dh-about__text .dh-h2 { margin-bottom: 1.75rem; }
.dh-about__body { font-size: 1.12rem; line-height: 1.75; color: var(--body); margin: 0 0 1.1rem; max-width: 58ch; }
.dh-note {
  position: relative;
  margin: 2rem 0 2.25rem;
  padding: 1.4rem 1.6rem;
  background: #FFF6C9;
  color: var(--ink);
  font-family: var(--hand);
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.5;
  max-width: 34rem;
  transform: rotate(1.2deg);
  box-shadow: 0 16px 30px -18px rgba(60,40,20,0.45);
}
.dh-note::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 90px;
  height: 24px;
  margin-left: -45px;
  background: rgba(207,230,210,0.9);
  transform: rotate(-3deg);
}

/* ── Expect: colour tiles ── */
.dh-tiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.dh-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-height: 250px;
  padding: 1.75rem 1.75rem 1.9rem;
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 450ms var(--spring);
}
.dh-tile:hover { transform: translateY(-6px) rotate(-1.2deg); }
.dh-tile:nth-child(even):hover { transform: translateY(-6px) rotate(1.2deg); }
.dh-tile__num {
  font-family: var(--serif);
  font-size: 5.5rem;
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.03em;
  margin-bottom: auto;
  padding-bottom: 1.5rem;
  font-variation-settings: "opsz" 96;
}
.dh-tile__title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.dh-tile__body { font-size: 1rem; line-height: 1.55; }
.dh-tile--0 { background: var(--red);   color: #fff; }
.dh-tile--1 { background: var(--card);  color: var(--ink); }
.dh-tile--1 .dh-tile__num { color: var(--green); }
.dh-tile--2 { background: var(--gold);  color: var(--ink); }
.dh-tile--3 { background: var(--green); color: var(--paper); }
.dh-tile--3 .dh-tile__num { color: var(--gold); }
.dh-tile--4 { background: var(--pink);  color: var(--ink); }
.dh-tile--5 { background: var(--ink);   color: var(--paper); }
.dh-tile--5 .dh-tile__num { color: var(--gold); }
.dh-tile--5::after {            /* the tea one gets a star */
  content: "";
  position: absolute;
  right: -46px;
  bottom: -56px;
  width: 150px;
  height: 150px;
  background: var(--red);
  opacity: 0.9;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 2l12.6 17.4L83.9 16 80.6 37.4 98 50 80.6 62.6 83.9 84 62.6 80.6 50 98 37.4 80.6 16.1 84 19.4 62.6 2 50l17.4-12.6L16.1 16l21.3 3.4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 2l12.6 17.4L83.9 16 80.6 37.4 98 50 80.6 62.6 83.9 84 62.6 80.6 50 98 37.4 80.6 16.1 84 19.4 62.6 2 50l17.4-12.6L16.1 16l21.3 3.4z'/%3E%3C/svg%3E") center/contain no-repeat;
  animation: dh-spin 30s linear infinite;
}
.dh-tile--5 .dh-tile__title { position: relative; z-index: 1; }

/* ── Mobile dock ── */
.dh-dock { display: none; }

/* ── Reveal ── */
.dh-ready [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 800ms var(--spring);
}
.dh-ready [data-reveal].is-in { opacity: 1; transform: none; }
.dh-ready .dh-lead-quote[data-reveal].is-in { transform: rotate(-1deg); }
.dh-ready .dh-about__photo[data-reveal].is-in { transform: rotate(-3deg); }
.dh-ready .dh-tiles [data-reveal]:nth-child(3n+2) { transition-delay: 90ms; }
.dh-ready .dh-tiles [data-reveal]:nth-child(3n)   { transition-delay: 180ms; }


/* ── 4b. INNER PAGES: same voice, existing markup ───────────────────── */
.cx-hero, .ci-hero, .om-hero { background: var(--paper); border-bottom: 0; }
.breadcrumbs { background: transparent; border-bottom: 0; }
body:not(.admin-body) .breadcrumbs__link { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
body:not(.admin-body) .breadcrumbs__link:hover { color: var(--red); }

.cx-hero__title, .ci-hero__title, .om-hero__name, .cs-heading {
  font-weight: 750;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 96;
}
.cs-heading--light { color: var(--paper); }

/* letter-spaced overlines become the tilted pill used on the homepage */
.cx-hero__tag, .om-hero__overline, .ci-hero__overline,
body:not(.admin-body) .cs-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: auto;
  padding: 0.4rem 0.95rem 0.4rem 0.8rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  transform: rotate(-1.5deg);
}
.cx-hero__tag::before, .om-hero__overline::before {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--red);
  opacity: 1;
}
.ci-hero__overline-line { display: none; }
.cs-section--forest .cs-label, .cs-label--light { background: var(--gold); border-color: var(--gold); }

.om-hero__photo {
  border-radius: 30px;
  padding: 12px;
  background: #fff;
  transform: rotate(2.5deg);
  box-shadow: 0 30px 60px -24px rgba(60,40,20,0.45);
}
.om-hero__photo img { border-radius: 20px; }

.cx-offer { border-radius: var(--r-lg); border-top: 0; }
.cx-offer__price { font-weight: 800; letter-spacing: -0.05em; }

/* ── 5. FOOTER ──────────────────────────────────────────────────────── */
.ft {
  --hair: rgba(242,234,220,0.16);
  --dim:  rgba(242,234,220,0.6);
  background: var(--ink);
  color: rgba(242,234,220,0.82);
  border-top: 10px solid var(--red);
  position: relative;
}
.ft-seal img {
  filter: none;
  box-shadow: 0 0 0 6px var(--paper), 0 18px 30px -12px rgba(0,0,0,0.5);
}
.ft-seal { transform: translateY(-46%) rotate(4deg); }
.ft-seal__name { color: var(--paper); font-family: var(--sans); }
.ft-logo {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--paper);
}
.ft-statement { color: var(--paper); font-family: var(--sans); }
.ft-btn {
  border-radius: 999px;
  border-color: rgba(242,234,220,0.4);
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
  font-weight: 650;
  color: var(--paper);
}
.ft-btn--solid { background: var(--red); border-color: var(--red); color: #fff; }
.ft-btn--solid:hover { background: var(--red-h); border-color: var(--red-h); color: #fff; }
.ft-btn:hover { color: var(--paper); }
.ft-proof__stars { color: var(--gold); }
.ft__col-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--gold);
}
.ft__trust li {
  font-family: var(--hand);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(242,234,220,0.75);
}
.ft-seal__role { font-family: var(--hand); text-transform: none; letter-spacing: 0; font-size: 0.8rem; }
.ft-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ── 6. RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .dh-hero__inner { grid-template-columns: 1fr; }
  .dh-hero__visual { width: min(78%, 400px); margin-top: 1rem; }
  .dh-head--split { grid-template-columns: 1fr; }
  .dh-ticket--featured { grid-template-columns: 1fr; }
  .dh-ticket__stub { border-radius: 0 0 var(--r-lg) var(--r-lg); border-left: 0; border-top: 3px dotted rgba(29,24,19,0.4); }
  .dh-ticket__stub::before,
  .dh-ticket__stub::after { top: -19px; bottom: auto; }
  .dh-ticket__stub::before { left: -17px; }
  .dh-ticket__stub::after  { left: auto; right: -17px; }
  .dh-forwho__grid, .dh-about__grid { grid-template-columns: 1fr; }
  .dh-forwho__lead { position: static; }
  .dh-about__photo { max-width: 380px; }
  .dh-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .dh-hero { padding-top: 1.75rem; }
  .dh-hero__title { font-size: clamp(2.7rem, 12.5vw, 3.6rem); }
  .dh-hero__ctas .dh-btn { width: 100%; justify-content: space-between; }
  .dh-hero__ctas { gap: 1.1rem; }
  .dh-hero__visual { width: 82%; margin-left: 9%; }
  .dh-stamp { width: 112px; height: 112px; left: -36px; bottom: 30px; }
  .dh-star--hero { width: 56px; height: 56px; top: -18px; right: -14px; }
  .dh-bullets { grid-template-columns: 1fr; }
  .dh-tiles { grid-template-columns: 1fr; }
  .dh-tile { min-height: 0; }
  .dh-tile__num { font-size: 4rem; padding-bottom: 0.75rem; }
  .dh-lead-quote::before { font-size: 7rem; }
  .dh-checks li { font-size: 1.2rem; }

  .dh-dock {
    display: flex;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 900;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    padding: 0 1.4rem;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-weight: 650;
    font-size: 1.05rem;
    box-shadow: 0 14px 30px -10px rgba(120,30,10,0.6);
    transform: translateY(140%);
    transition: transform 450ms var(--spring);
  }
  .dh-dock.is-on { transform: none; }
  .dh-dock:hover { color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  .dh-ticker__track, .dh-stamp > text:first-of-type, .dh-star--hero, .dh-tile--5::after { animation: none !important; }
  .dh-ready [data-reveal] { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   7. LEEROMGEVING (dashboard, lx-*)
   Course overview as a route of themes, a calm player for lessons, and
   no marketing footer in the way of studying.
   ═══════════════════════════════════════════════════════════════════════ */
.lms-body .ft-seal,
.lms-body .ft-head,
.lms-body .ft__top,
.lms-body .ft__trust { display: none; }
.lms-body .ft { border-top-width: 4px; }
.lms-body .ft__inner { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.lms-body .ft__bottom { border-top: 0; padding-top: 0; margin-top: 0; }

.lx { --side: 320px; }
.lx-wrap { max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }

.lx-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 1.25rem;
}
.lx-back svg { width: 15px; height: 15px; transition: transform 200ms; }
.lx-back:hover { color: var(--red); }
.lx-back:hover svg { transform: translateX(-3px); }

.lx-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem 0.35rem 0.7rem;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  transform: rotate(-1.5deg);
}
.lx-pill::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--red); }

.lx-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}
.lx-chip--gold  { background: var(--gold); }
.lx-chip--green { background: var(--mint); color: var(--green); }

.lx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 54px;
  padding: 0 1.1rem 0 1.6rem;
  border: 0;
  border-radius: 999px;
  font: 650 1.02rem var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform 260ms var(--spring), background 200ms, box-shadow 200ms;
}
.lx-btn:hover { transform: translateY(-2px) rotate(-1deg); }
.lx-btn--red { background: var(--red); color: #fff; box-shadow: var(--sh-cta); }
.lx-btn--red:hover { background: var(--red-h); color: #fff; }
.lx-btn--ink { background: var(--ink); color: var(--paper); padding: 0 1.6rem; }
.lx-btn--ink:hover { background: var(--red); color: #fff; }
.lx-btn--wide { min-width: 280px; padding: 0 1.8rem; }
.lx-btn__arrow {
  display: grid; place-items: center;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: rgba(255,255,255,0.2);
}

.lx-bar { height: 10px; border-radius: 999px; background: rgba(29,24,19,0.1); overflow: hidden; }
.lx-bar span { display: block; height: 100%; min-width: 10px; border-radius: inherit; background: var(--green); }
.lx-bar__label { margin: 0.5rem 0 0; font-size: 0.85rem; font-weight: 600; color: var(--muted); }

/* lesson state icons */
.lx-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--ink);
}
.lx-icon svg { width: 18px; height: 18px; }
.lx-icon--done  { background: var(--green); color: #fff; }
.lx-icon--video { background: var(--pink); }
.lx-icon--soon  { background: transparent; border: 1.5px dashed rgba(29,24,19,0.25); color: var(--faint); }

/* ── Course overview ── */
.lx-hero {
  position: relative;
  background: var(--green);
  color: var(--paper);
  overflow: hidden;
  padding: clamp(2.25rem, 5vw, 4rem) 0 clamp(4rem, 7vw, 5.5rem);
}
.lx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' width='88' height='88'%3E%3Cpath fill='%23F2EADC' d='M50 2l12.6 17.4L83.9 16 80.6 37.4 98 50 80.6 62.6 83.9 84 62.6 80.6 50 98 37.4 80.6 16.1 84 19.4 62.6 2 50l17.4-12.6L16.1 16l21.3 3.4z'/%3E%3C/svg%3E") 0 0 / 88px 88px;
}
.lx-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2.5rem;
  align-items: center;
}
.lx-hero .lx-back { display: flex; width: max-content; color: rgba(242,234,220,0.7); }
.lx-hero .lx-back:hover { color: var(--gold); }
.lx-hero .lx-pill { color: var(--gold); }
.lx-hero .lx-pill::before { background: var(--gold); }
.lx-hero__title {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--paper);
  margin: 0 0 2rem;
  font-variation-settings: "opsz" 96;
}
.lx-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.lx-hero__next { display: grid; gap: 0.1rem; }
.lx-hero__next small { font-size: 0.8rem; color: rgba(242,234,220,0.65); }
.lx-hero__next strong { font-weight: 600; color: var(--paper); }

.lx-ring { position: relative; width: 190px; text-align: center; }
.lx-ring svg { width: 190px; height: 190px; transform: rotate(-90deg); }
.lx-ring circle { fill: none; stroke-width: 11; }
.lx-ring__track { stroke: rgba(242,234,220,0.15); }
.lx-ring__fill  { stroke: var(--gold); stroke-linecap: round; transition: stroke-dashoffset 1s ease; }
.lx-ring__label {
  position: absolute;
  top: 0; left: 0;
  width: 190px; height: 190px;
  display: grid;
  place-content: center;
  line-height: 1;
}
.lx-ring__label strong {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--paper);
}
.lx-ring__label span { margin-top: 0.3rem; font-size: 0.85rem; color: rgba(242,234,220,0.7); }
.lx-ring__count { margin: 0.6rem 0 0; font-family: var(--hand); font-size: 0.95rem; color: var(--gold); }

.lx-route {
  position: relative;
  margin-top: -2.5rem;
  padding-bottom: var(--sec);
  display: grid;
  gap: 1.25rem;
}
.lx-module {
  position: relative;
  background: var(--card);
  border-radius: var(--r-lg);
  box-shadow: 0 1px 0 rgba(0,0,0,0.03), 0 20px 44px -28px rgba(60,40,20,0.35);
  overflow: hidden;
}
.lx-module + .lx-module::before {   /* the dotted route between themes */
  content: "";
  position: absolute;
  top: -1.25rem;
  left: calc(clamp(1.25rem, 3vw, 2rem) + 22px);
  height: 1.25rem;
  border-left: 3px dotted rgba(29,24,19,0.25);
}
.lx-module__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.1rem;
  align-items: center;
  padding: 1.4rem clamp(1.25rem, 3vw, 2rem);
}
.lx-module__num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--mod, var(--red));
  color: var(--mod-ink, #fff);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 800;
}
.lx-module--c0 { --mod: var(--red); }
.lx-module--c1 { --mod: var(--gold);  --mod-ink: var(--ink); }
.lx-module--c2 { --mod: var(--green); }
.lx-module--c3 { --mod: var(--pink);  --mod-ink: var(--ink); }
.lx-module--c4 { --mod: var(--ink); }
.lx-module.is-complete .lx-module__num { background: var(--green); color: #fff; }
.lx-module__title {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
}
.lx-module__desc { margin: 0.3rem 0 0; font-size: 0.95rem; line-height: 1.5; color: var(--muted); }
.lx-module.is-soon { background: transparent; box-shadow: none; border: 1.5px dashed rgba(29,24,19,0.2); }
.lx-module.is-soon .lx-module__num { background: var(--paper-2); color: var(--muted); }

.lx-lessons {
  list-style: none;
  margin: 0;
  padding: 0 clamp(0.6rem, 1.5vw, 1rem) clamp(0.6rem, 1.5vw, 1rem);
  display: grid;
  gap: 2px;
}
.lx-lesson {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem clamp(0.65rem, 1.5vw, 1rem);
  border-radius: 14px;
  color: var(--ink);
  text-decoration: none;
  transition: background 160ms;
}
a.lx-lesson:hover { background: var(--paper); }
a.lx-lesson:hover .lx-lesson__go { transform: translateX(3px); color: var(--red); }
.lx-lesson__title { font-weight: 600; font-size: 1.02rem; }
.lx-lesson__meta { font-size: 0.85rem; color: var(--muted); }
.lx-lesson__go { width: 16px; height: 16px; color: var(--faint); transition: transform 200ms, color 200ms; }
.lx-lesson.is-done .lx-lesson__title { color: var(--muted); }
.lx-lesson.is-soon { color: var(--faint); grid-template-columns: auto minmax(0, 1fr) auto; }
.lx-lesson.is-next { background: #FBEFD3; }
.lx-lesson.is-next:hover { background: #F7E5BC; }
.lx-lesson__next {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ── Mijn cursussen ── */
.lx-portal { padding-top: clamp(1.5rem, 4vw, 3rem); padding-bottom: var(--sec); }
.lx-portal__head { margin-bottom: 2.25rem; }
.lx-portal__head .lx-pill { color: var(--ink); }
.lx-portal__title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  margin: 0;
}
.lx-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 1.4rem; }
.lx-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: var(--r-lg);
  border-top: 10px solid var(--acc, var(--green));
  box-shadow: 0 1px 0 rgba(0,0,0,0.03), 0 20px 44px -28px rgba(60,40,20,0.35);
  color: var(--ink);
  text-decoration: none;
  transition: transform 400ms var(--spring), box-shadow 300ms;
}
a.lx-card:hover { transform: translateY(-4px) rotate(-0.4deg); color: var(--ink); box-shadow: 0 1px 0 rgba(0,0,0,0.03), 0 30px 54px -28px rgba(60,40,20,0.45); }
.lx-card--c0 { --acc: var(--green); }
.lx-card--c1 { --acc: var(--red); }
.lx-card--c2 { --acc: var(--gold); }
.lx-card--c3 { --acc: var(--pink); }
.lx-card.is-awaiting { border-top-style: dashed; }
.lx-card__body { padding: 1.6rem 1.75rem 1.4rem; flex: 1; }
.lx-card__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 0.6rem; min-height: 1.6rem; }
.lx-card__tag { margin: 0; font-size: 0.84rem; font-weight: 700; color: var(--red); }
.lx-card__title {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 1.4rem;
}
.lx-card__note { margin: 0; color: var(--body); line-height: 1.55; }
.lx-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  padding: 1rem 1.75rem 1.3rem;
  border-top: 3px dotted var(--line);
}
.lx-card__meta { display: grid; gap: 0.15rem; font-size: 0.82rem; color: var(--muted); }
.lx-card__meta .is-urgent { color: var(--red); font-weight: 700; }
.lx-card__cta { font-weight: 700; white-space: nowrap; }
a.lx-card:hover .lx-card__cta { color: var(--red); }
.lx-card__cta.is-muted { color: var(--faint); }
.lx-empty { padding: 3rem; border: 1.5px dashed rgba(29,24,19,0.22); border-radius: var(--r-lg); text-align: center; }
.lx-empty p { font-size: 1.1rem; margin: 0 0 1.25rem; }

/* ── Lesson player ── */
.lms-body .breadcrumbs { display: none; }
.lx-player {
  display: grid;
  grid-template-columns: var(--side) minmax(0, 1fr);
  align-items: start;
  min-height: calc(100vh - 72px);
}
.lx-side {
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  background: var(--paper-2);
  border-right: 1px solid var(--line);
}
.lx-side__toggle { display: none; }
.lx-side__body { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 1.5rem 0.9rem 2rem; }
.lx-side__course { padding: 0 0.6rem 1.25rem; margin-bottom: 0.5rem; border-bottom: 2px dotted var(--line); }
.lx-side__course .lx-back { font-size: 0.95rem; color: var(--ink); font-weight: 700; margin-bottom: 1rem; line-height: 1.3; }
.lx-side__module { margin-top: 1rem; }
.lx-side__module-title {
  margin: 0 0 0.35rem;
  padding: 0 0.6rem;
  font-family: var(--serif);
  font-size: 0.98rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.lx-side__lesson {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0.6rem;
  border-radius: 12px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--body);
  text-decoration: none;
  transition: background 150ms;
}
.lx-side__lesson .lx-icon { width: 26px; height: 26px; background: var(--card); }
.lx-side__lesson .lx-icon svg { width: 15px; height: 15px; }
.lx-side__lesson .lx-icon--done { background: var(--green); }
.lx-side__lesson .lx-icon--soon { background: transparent; }
a.lx-side__lesson:hover { background: rgba(255,251,244,0.7); color: var(--ink); }
.lx-side__lesson.is-active { background: var(--ink); color: var(--paper); }
.lx-side__lesson.is-active .lx-icon { background: var(--red); color: #fff; }
.lx-side__lesson.is-active:hover { background: var(--ink); color: var(--paper); }
.lx-side__lesson-title { flex: 1; min-width: 0; }
.lx-side__dur { font-size: 0.78rem; opacity: 0.7; }
.lx-side__lesson.is-soon { color: var(--faint); }
.lx-side__soon { font-family: var(--hand); font-size: 0.78rem; }

.lx-stage { padding: clamp(1.75rem, 4vw, 3.5rem) clamp(1.25rem, 4vw, 3.5rem) var(--sec); min-width: 0; }
.lx-read { max-width: 880px; margin: 0 auto; }
.lx-read__head { margin-bottom: 1.75rem; }
.lx-read__head .lx-pill { color: var(--ink); }
.lx-read__title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
  margin: 0;
}
.lx-read__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 0.9rem; font-size: 0.92rem; color: var(--muted); }
.lx-read__meta:empty { display: none; }

.lx-read .lms-video {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(29,24,19,0.6);
  margin: 0 0 2rem;
}
.lx-read .lms-video-converting { border-radius: var(--r-lg); background: var(--paper-2); color: var(--ink); margin-bottom: 2rem; }
.lx-read .lms-video-converting__spinner { color: var(--red); }
.lx-read .lms-audio {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin: 0 0 2rem;
  border-radius: var(--r-md);
  background: var(--pink);
  border: 0;
}
.lx-read .lms-audio__label { color: var(--ink); font-weight: 700; margin: 0; }
.lx-read .lms-audio__player { flex: 1; min-width: 0; }
.lx-read .lms-slides { border-radius: var(--r-lg); overflow: hidden; margin: 0 0 2rem; box-shadow: 0 30px 60px -30px rgba(29,24,19,0.6); }
.lx-read .lms-slides__btn { border-radius: 50%; }

.lx-read .lms-lesson-content {
  background: var(--card);
  border: 0;
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  margin: 0 0 2rem;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--body);
  box-shadow: 0 1px 0 rgba(0,0,0,0.03), 0 20px 44px -30px rgba(60,40,20,0.3);
}
.lx-read .lms-lesson-content h2,
.lx-read .lms-lesson-content h3 { font-family: var(--serif); color: var(--ink); letter-spacing: -0.02em; }
.lx-read .lms-lesson-content a { color: var(--red); }
.lx-read .lms-lesson-content strong { color: var(--ink); }

.lx-read .lms-documents { margin: 0 0 2rem; padding: 0; border: 0; background: none; }
.lx-read .lms-documents__title { font-family: var(--serif); font-size: 1.3rem; font-weight: 750; color: var(--ink); text-transform: none; letter-spacing: -0.02em; }
.lx-read .lms-documents__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 0.75rem; }
.lx-read .lms-doc-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.1rem;
  border: 0;
  border-radius: var(--r-md);
  background: var(--card);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 12px 24px -20px rgba(60,40,20,0.5);
  transition: transform 300ms var(--spring), background 200ms;
}
.lx-read .lms-doc-link:hover { background: var(--gold); color: var(--ink); transform: translateY(-2px); }
.lx-read .lms-doc-size { font-size: 0.8rem; color: var(--muted); font-weight: 500; }

.lx-lesson-nav { margin-top: 2.5rem; padding-top: 2rem; border-top: 3px dotted var(--line); display: grid; gap: 1.5rem; }
.lx-lesson-nav__complete { display: flex; justify-content: center; }
.lx-lesson-nav__complete form { display: contents; }
.lx-lesson-nav__pair { display: flex; justify-content: space-between; gap: 1rem; }
.lx-step {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  max-width: 48%;
  padding: 0.9rem 1.2rem;
  border-radius: var(--r-md);
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  transition: transform 300ms var(--spring), box-shadow 200ms;
}
.lx-step:hover { transform: translateY(-2px); color: var(--ink); box-shadow: 0 14px 26px -18px rgba(60,40,20,0.5); }
.lx-step svg { flex: none; width: 18px; height: 18px; color: var(--red); }
.lx-step span { display: grid; min-width: 0; }
.lx-step small { font-size: 0.78rem; color: var(--muted); }
.lx-step strong { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-step--next { margin-left: auto; text-align: right; }

@media (max-width: 960px) {
  .lx-hero__inner { grid-template-columns: 1fr; }
  .lx-ring { width: auto; display: flex; align-items: center; gap: 1rem; text-align: left; }
  .lx-ring svg, .lx-ring__label { width: 96px; height: 96px; }
  .lx-ring__label strong { font-size: 1.6rem; }
  .lx-ring__label span { display: none; }
  .lx-ring__count { margin: 0; font-size: 1.05rem; }

  .lx-player { grid-template-columns: 1fr; }
  .lx-side { position: sticky; top: 72px; z-index: 20; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .lx-side__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 0.8rem var(--gutter);
    border: 0;
    background: var(--paper-2);
    color: var(--ink);
    text-align: left;
    font: inherit;
    cursor: pointer;
  }
  .lx-side__toggle-text { display: grid; min-width: 0; }
  .lx-side__toggle-text small { font-size: 0.78rem; color: var(--muted); }
  .lx-side__toggle-text strong { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lx-side__chevron { flex: none; width: 18px; height: 18px; transition: transform 250ms; }
  .lx-side__body {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    height: auto;
    max-height: 70vh;
    background: var(--paper-2);
    box-shadow: 0 24px 40px -20px rgba(29,24,19,0.45);
  }
  .lx-side--open .lx-side__body { display: block; }
  .lx-side--open .lx-side__chevron { transform: rotate(180deg); }
}
@media (max-width: 640px) {
  .lx-read__title { font-size: 2.1rem; }
  .lx-lesson-nav__pair { flex-direction: column; }
  .lx-step { max-width: none; }
  .lx-btn--wide { width: 100%; min-width: 0; }
  .lx-read__head .lx-pill { font-size: 0.8rem; }
  .lx-lesson__go { display: none; }
  .lx-module__head { grid-template-columns: auto minmax(0, 1fr); }
  .lx-module__head .lx-chip { grid-column: 2; justify-self: start; }
  .lx-lesson.is-next { grid-template-columns: auto minmax(0, 1fr) auto; }
  .lx-lesson__meta:empty { display: none; }
  .lx-card__foot { flex-direction: column; align-items: flex-start; }
}

/* links that are whole rows or cards never get the prose underline */
body:not(.admin-body) .lx a.lx-lesson, body:not(.admin-body) .lx a.lx-lesson *,
body:not(.admin-body) .lx a.lx-side__lesson, body:not(.admin-body) .lx a.lx-side__lesson *,
body:not(.admin-body) .lx a.lx-card, body:not(.admin-body) .lx a.lx-card *,
body:not(.admin-body) .lx a.lx-step, body:not(.admin-body) .lx a.lx-step *,
body:not(.admin-body) .lx a.lx-back, body:not(.admin-body) .lx a.lx-btn { text-decoration: none; }
body:not(.admin-body) .lx a.lx-lesson { color: var(--ink); }
body:not(.admin-body) .lx a.lx-lesson.is-done .lx-lesson__title { color: var(--muted); }
body:not(.admin-body) .lx a.lx-side__lesson { color: var(--body); }
body:not(.admin-body) .lx a.lx-side__lesson.is-active { color: var(--paper); }
body:not(.admin-body) .lx a.lx-step,
body:not(.admin-body) .lx a.lx-card { color: var(--ink); }

/* ── Course page: "Wat je ermee bereikt" ───────────────────────────── */
.cs-outcomes__item {
  flex-direction: row;
  align-items: flex-start;
  gap: 1.1rem;
  border-radius: var(--r-lg);
}
.cs-outcomes__item:nth-child(even) { transform: rotate(0.6deg); }
.cs-outcomes__item:nth-child(odd)  { transform: rotate(-0.6deg); }
.cs-outcomes__item:hover { transform: translateY(-3px) rotate(0deg); }
.cs-outcomes__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 0;
}
.cs-outcomes__item:nth-child(4n+2) .cs-outcomes__icon { background: var(--pink); }
.cs-outcomes__item:nth-child(4n+3) .cs-outcomes__icon { background: var(--mint); }
.cs-outcomes__item:nth-child(4n)   .cs-outcomes__icon { background: var(--red); color: #fff; }
.cs-outcomes__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cs-outcomes__item:nth-child(4n) .cs-outcomes__icon svg { fill: currentColor; stroke: none; }
.cs-outcomes__item p { margin: 0; padding-top: 0.85rem; font-size: 1.08rem; line-height: 1.5; }

/* pill labels: drop the old leading rule, use the dot */
body:not(.admin-body) .cs-label::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--red);
  opacity: 1;
}
.cs-section:has(.cs-heading--light) .cs-label { background: var(--gold); border-color: var(--gold); }
.cs-section:has(.cs-heading--light) .cs-label::before { background: var(--ink); }

/* ── Course page: sticky offer, as a floating ticket ───────────────── */
body:not(.admin-body) .cs-stickybar {
  left: 50%;
  right: auto;
  bottom: calc(16px + env(safe-area-inset-bottom));
  width: min(880px, calc(100% - 24px));
  padding: 0;
  transform: translateX(-50%);
  background: var(--card);
  border: 0;
  border-radius: 22px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 0 0 1px rgba(29,24,19,0.06), 0 24px 50px -16px rgba(29,24,19,0.45);
  animation: dh-bar-in 550ms var(--spring) both;
}
@keyframes dh-bar-in {
  from { opacity: 0; transform: translate(-50%, 120%); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
body:not(.admin-body) .cs-stickybar__inner {
  max-width: none;
  padding: 10px 10px 10px 12px;
  gap: 1rem;
  justify-content: flex-start;
}
.cs-stickybar__face {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  box-shadow: 0 0 0 3px var(--gold);
}
body:not(.admin-body) .cs-stickybar__info { flex: 1; min-width: 0; gap: 0.15rem; }
body:not(.admin-body) .cs-stickybar__title {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: none;
}
.cs-stickybar__trust { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.8rem; color: var(--muted); }
.cs-stickybar__trust svg { width: 13px; height: 13px; fill: none; stroke: var(--green); stroke-width: 1.4; stroke-linecap: round; }
.cs-stickybar__price { display: grid; text-align: right; line-height: 1.05; padding: 0 0.4rem; }
body:not(.admin-body) .cs-stickybar__meta {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--ink);
}
.cs-stickybar__price small { font-size: 0.74rem; font-weight: 600; color: var(--muted); }
body:not(.admin-body) .cs-stickybar__cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 58px;
  padding: 0 0.6rem 0 1.5rem;
  border-radius: 16px;
  background: var(--red);
  color: #fff;
  font: 700 1.05rem var(--sans);
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  box-shadow: var(--sh-cta);
  transition: background 200ms, transform 260ms var(--spring);
  position: relative;
  overflow: hidden;
}
body:not(.admin-body) .cs-stickybar__cta:hover { background: var(--red-h); color: #fff; transform: translateY(-1px); }
.cs-stickybar__cta::after {          /* one shine when the bar arrives */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: dh-shine 1.1s 700ms ease both;
}
@keyframes dh-shine { to { transform: translateX(120%); } }
.cs-stickybar__arrow {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.2);
  transition: transform 260ms var(--spring);
}
.cs-stickybar__cta:hover .cs-stickybar__arrow { transform: translateX(3px); }
.cs-stickybar__spots {
  margin: 0;
  padding: 0.4rem 1rem;
  border-radius: 0 0 22px 22px;
  background: #FBEFD3;
  text-align: center;
  font-family: var(--hand);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red-h);
}

@media (max-width: 640px) {
  body:not(.admin-body) .cs-stickybar { bottom: calc(10px + env(safe-area-inset-bottom)); border-radius: 20px; }
  body:not(.admin-body) .cs-stickybar__inner { padding: 8px; gap: 0.6rem; }
  .cs-stickybar__face, body:not(.admin-body) .cs-stickybar__info { display: none; }
  .cs-stickybar__price { text-align: left; padding: 0 0.3rem 0 0.6rem; }
  body:not(.admin-body) .cs-stickybar__meta { font-size: 1.65rem; }
  body:not(.admin-body) .cs-stickybar__cta { flex: 1; justify-content: space-between; min-height: 56px; padding: 0 0.5rem 0 1.1rem; font-size: 1.02rem; }
}
@media (prefers-reduced-motion: reduce) { .cs-stickybar__cta::after { display: none; } }

/* ── One colour per intent: red = inschrijven, gold = reserveren ───── */
.dh-btn--gold { background: var(--gold); color: var(--ink); box-shadow: var(--sh-gold); }
.dh-btn--gold:hover { background: #D29A2C; color: var(--ink); }
.dh-ticket__stub .dh-btn--gold { background: var(--ink); color: var(--paper); }

body:not(.admin-body) a.cx-offer__btn,
body:not(.admin-body) a.cs-cta-box__btn {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  min-height: 58px;
  font-size: 1.08rem;
  font-weight: 700;
  box-shadow: var(--sh-cta);
}
body:not(.admin-body) a.cx-offer__btn:hover,
body:not(.admin-body) a.cs-cta-box__btn:hover { background: var(--red-h); border-color: var(--red-h); color: #fff; }
body:not(.admin-body) input.cx-offer__btn,
body:not(.admin-body) input.cs-cta-box__btn { min-height: 56px; font-size: 1.05rem; font-weight: 700; }

/* ═══════════════════════════════════════════════════════════════════════
   8. COURSES INDEX (ck-*): open courses as tickets first, then soon, then full
   ═══════════════════════════════════════════════════════════════════════ */
.ck-hero { position: relative; overflow: hidden; padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 4.5rem); }
.ck-hero__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.ck-hero__title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6.5vw, 5.6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0 0 1.4rem;
  font-variation-settings: "opsz" 96;
}
.ck-hero__sub { font-size: clamp(1.08rem, 1.4vw, 1.22rem); line-height: 1.65; color: var(--body); max-width: 52ch; margin: 0 0 1.75rem; }
body:not(.admin-body) .ck-hero__sub a { color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ck-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; }
.ck-trust li { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--ink); }
.ck-trust svg {
  width: 1.7rem; height: 1.7rem; padding: 0.3rem; border-radius: 50%;
  background: var(--gold); fill: none; stroke: var(--ink); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round;
  transform: rotate(-6deg);
}
.ck-trust li:nth-child(2) svg { background: var(--pink); transform: rotate(5deg); }
.ck-trust li:nth-child(3) svg { background: var(--mint); }
.ck-hero__visual { position: relative; }
.ck-hero__photo { margin: 0; }
.ck-hero__visual .dh-stamp { width: 120px; height: 120px; left: -50px; bottom: 30px; }

.ck-section { padding: clamp(1rem, 3vw, 2rem) 0 var(--sec); }
.ck-ticket { grid-template-columns: minmax(0, 1fr) minmax(250px, 320px); margin-bottom: 2.25rem; }
.ck-ticket .dh-ticket__title { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.ck-ticket--c1 .dh-ticket__stub { background: var(--pink); }
.ck-ticket--c2 .dh-ticket__stub { background: var(--mint); }
.ck-ticket .dh-badge-sticker { white-space: nowrap; }
.dh-ticket__stub .dh-stub__more { text-align: center; }

.ck-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1.25rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.ck-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.6rem 1.5rem;
  border-radius: var(--r-lg);
}
.ck-card--soon { background: var(--card); box-shadow: 0 1px 0 rgba(0,0,0,0.03), 0 20px 44px -30px rgba(60,40,20,0.35); }
.ck-card--soon.is-waitlist { box-shadow: 0 0 0 3px var(--gold), 0 20px 44px -30px rgba(60,40,20,0.35); }
.ck-card--full { border: 1.5px dashed rgba(29,24,19,0.22); }
.ck-card__badge {
  align-self: flex-start;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green);
  font-family: var(--hand);
  font-size: 0.9rem;
  font-weight: 600;
  transform: rotate(-2deg);
}
.ck-card--soon.is-waitlist .ck-card__badge { background: var(--gold); color: var(--ink); }
.ck-card--full .ck-card__badge { background: var(--paper-2); color: var(--muted); }
.ck-card__tag { margin: 0 0 0.4rem; font-size: 0.84rem; font-weight: 700; color: var(--red); }
.ck-card--full .ck-card__tag { color: var(--muted); }
.ck-card__title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 0.6rem;
}
.ck-card--full .ck-card__title { font-size: 1.3rem; }
.ck-card__desc { font-size: 0.97rem; line-height: 1.6; color: var(--body); margin: 0 0 1.25rem; }
.ck-card--full .ck-card__desc { color: var(--muted); font-size: 0.92rem; }
.ck-card__bullets { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: 0.3rem; font-size: 0.88rem; color: var(--muted); }
.ck-card__bullets li::before { content: "✦ "; color: var(--faint); }
.ck-card__ask { margin: auto 0 0.75rem; font-weight: 650; color: var(--ink); line-height: 1.4; }
.ck-form { display: grid; gap: 0.55rem; }
.ck-form__note { margin: 0.2rem 0 0; font-size: 0.8rem; color: var(--muted); text-align: center; }
.ck-card__more { margin-top: 1rem; align-self: center; font-size: 0.92rem; font-weight: 650; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.ck-card__more:hover { color: var(--red); }
.ck-card__foot { margin-top: auto; padding-top: 1rem; border-top: 2px dotted var(--line); display: grid; gap: 0.6rem; }
.ck-card__price { margin: 0; font-family: var(--serif); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.04em; color: var(--muted); }
.ck-card__price small { font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0; }
.ck-card__full { margin: 0; font-size: 0.92rem; color: var(--muted); }
.ck-card .dh-btn { min-height: 52px; }

@media (max-width: 980px) {
  .ck-hero__inner { grid-template-columns: 1fr; }
  .ck-hero__visual { display: none; }
  .ck-ticket { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ck-trust { flex-direction: column; gap: 0.5rem; }
  .ck-ticket .dh-badge-sticker { white-space: normal; max-width: 85%; }
}

/* ═══════════════════════════════════════════════════════════════════════
   9. CHECKOUT (enrollments#new, co-*): fewer fields in the way, price and
   payment options in sight, no exits into the marketing footer
   ═══════════════════════════════════════════════════════════════════════ */
.enrollments .ft-seal,
.enrollments .ft-head,
.enrollments .ft__top,
.enrollments .ft__trust,
.enrollments .breadcrumbs { display: none; }
/* Checkout footer: a quiet line on the page itself, not a dark block */
.enrollments .ft {
  background: transparent;
  border-top: 0;
  color: var(--muted);
}
.enrollments .ft__inner { max-width: 1120px; padding: 0 var(--gutter) 2.5rem; }
.enrollments .ft__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem 1.5rem;
  margin: 0;
  padding: 1.5rem 0 0;
  border-top: 2px dotted var(--line);
}
.enrollments .ft__copy { color: var(--faint); font-size: 0.85rem; }
.enrollments .ft__legal { gap: 1.5rem; }
.enrollments .ft__legal a { color: var(--muted); font-size: 0.85rem; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.enrollments .ft__legal a:hover { color: var(--red); }
.enrollments .ft__legal li:has(.ft__meta-link) { display: none; }

body:not(.admin-body) .co.checkout-page {
  max-width: 1120px;
  grid-template-columns: minmax(0, 1fr) 420px;
  padding-top: clamp(1.5rem, 4vw, 3rem);
}
body:not(.admin-body) .co .checkout-back { color: var(--muted); font-weight: 600; }
body:not(.admin-body) .co .checkout-back:hover { color: var(--red); }
body:not(.admin-body) .co .checkout-step-item--active .checkout-step-num { background: var(--red); color: #fff; }
body:not(.admin-body) .co .checkout-step-item--active .checkout-step-label { color: var(--ink); font-weight: 700; }
body:not(.admin-body) .co .checkout-title {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
body:not(.admin-body) .co .checkout-subtitle { margin-bottom: 1.75rem; }
body:not(.admin-body) .co .form-input {
  border-radius: 14px;
  border-color: rgba(29,24,19,0.18);
  background: var(--card);
  min-height: 54px;
  font-size: 1.05rem;
}
body:not(.admin-body) .co .form-input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(29,24,19,0.12); }
body:not(.admin-body) .co .form-label { font-size: 0.92rem; letter-spacing: 0; }

.co-more {
  border-top: 2px dotted var(--line);
  padding-top: 0.9rem;
}
.co-more > summary {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  list-style: none;
  font-weight: 650;
  color: var(--ink);
}
.co-more > summary::-webkit-details-marker { display: none; }
.co-more > summary::before {
  content: "+";
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--paper-2);
  font-weight: 700;
  line-height: 1;
  transition: transform 200ms;
}
.co-more[open] > summary::before { transform: rotate(45deg); }
.co-more > summary span { font-weight: 500; color: var(--muted); }
.co-more > summary:hover { color: var(--red); }
.co-more__body { display: grid; gap: 1.1rem; padding-top: 1.1rem; }
.co-terms { padding-top: 0.9rem; border-top: 2px dotted var(--line); }
body:not(.admin-body) .co .form-checkbox { width: 22px; height: 22px; accent-color: var(--red); }
body:not(.admin-body) .co .form-checkbox-text { font-size: 0.98rem; }

body:not(.admin-body) .co-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 62px;
  padding: 0 0.6rem 0 1.5rem;
  border: 0;
  border-radius: 18px;
  background: var(--red);
  color: #fff;
  font: 700 1.1rem var(--sans);
  text-transform: none;
  letter-spacing: 0;
  box-shadow: var(--sh-cta);
}
body:not(.admin-body) .co-submit:hover { background: var(--red-h); transform: translateY(-1px); }
.co-submit__price {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.18);
  font-family: var(--serif);
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.co-pay { display: grid; justify-items: center; gap: 0.7rem; margin-top: 0.2rem; }
body:not(.admin-body) .co-pay .checkout-secure { margin: 0; text-align: center; }
.co-methods { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; }
.co-methods li {
  padding: 0.28rem 0.6rem;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid rgba(29,24,19,0.12);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
}

/* Summary as a ticket: details on paper, the total on a gold stub */
body:not(.admin-body) .co-summary {
  padding: 0;
  overflow: hidden;
  background: var(--card);
  color: var(--body);
  border-radius: var(--r-lg);
  box-shadow: 0 1px 0 rgba(0,0,0,0.03), 0 24px 50px -30px rgba(60,40,20,0.4);
}
.co-summary__main { padding: 1.75rem 1.75rem 1.25rem; }
body:not(.admin-body) .co-summary .checkout-summary__label { font-family: var(--hand); font-size: 0.95rem; letter-spacing: 0; text-transform: none; color: var(--red); }
body:not(.admin-body) .co-summary .checkout-summary__course { font-family: var(--serif); font-size: 1.7rem; font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; color: var(--ink); }
body:not(.admin-body) .co-summary .checkout-summary__tagline { font-size: 0.86rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--muted); }
body:not(.admin-body) .co-summary .checkout-summary__desc { color: var(--body); font-size: 0.95rem; }
body:not(.admin-body) .co-summary .checkout-summary__includes { border: 0; padding: 0; margin-top: 1rem; }
body:not(.admin-body) .co-summary .checkout-summary__includes-title { font-family: var(--serif); font-size: 1rem; font-weight: 750; letter-spacing: 0; text-transform: none; color: var(--ink); }
.co-includes { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; gap: 0.45rem; }
.co-includes li { position: relative; padding-left: 1.6rem; font-weight: 500; color: var(--ink); line-height: 1.4; }
.co-includes li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.15em;
  width: 1.05em; height: 1.05em;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 2l12.6 17.4L83.9 16 80.6 37.4 98 50 80.6 62.6 83.9 84 62.6 80.6 50 98 37.4 80.6 16.1 84 19.4 62.6 2 50l17.4-12.6L16.1 16l21.3 3.4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 2l12.6 17.4L83.9 16 80.6 37.4 98 50 80.6 62.6 83.9 84 62.6 80.6 50 98 37.4 80.6 16.1 84 19.4 62.6 2 50l17.4-12.6L16.1 16l21.3 3.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.co-summary__stub {
  position: relative;
  padding: 1.4rem 1.75rem 1.3rem;
  background: var(--gold);
  border-top: 3px dotted rgba(29,24,19,0.4);
  color: var(--ink);
}
body:not(.admin-body) .co-summary .checkout-summary__total { border: 0; margin: 0; padding: 0; align-items: baseline; color: var(--ink); font-weight: 700; }
body:not(.admin-body) .co-summary .checkout-summary__price { font-family: var(--serif); font-size: 2.8rem; font-weight: 800; letter-spacing: -0.05em; color: var(--ink); }
body:not(.admin-body) .co-summary .checkout-summary__vat { color: rgba(29,24,19,0.7); text-align: left; margin: 0.2rem 0 0; }
.co-discount-line { display: flex; justify-content: space-between; font-size: 0.9rem; font-weight: 600; }
#discount_amount_display { color: var(--green); font-weight: 800; }
body:not(.admin-body) .co-summary .checkout-summary__trust { padding: 1.1rem 1.75rem 1.3rem; margin: 0; border: 0; gap: 0.5rem; }
body:not(.admin-body) .co-summary .checkout-trust-item { color: var(--body); font-size: 0.88rem; }
body:not(.admin-body) .co-summary .checkout-trust-item svg { color: var(--green); }

.co-review {
  display: flex;
  gap: 0.9rem;
  margin: 1.25rem 0 0;
  padding: 1.1rem 1.2rem;
  border-radius: var(--r-md);
  background: var(--mint);
  transform: rotate(-0.8deg);
}
.co-review img { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: center 18%; box-shadow: 0 0 0 3px #fff; }
.co-review blockquote { margin: 0; }
.co-review__stars { color: var(--green); font-size: 0.85rem; letter-spacing: 0.1em; }
.co-review p { margin: 0.2rem 0 0; font-family: var(--hand); font-size: 0.98rem; line-height: 1.45; color: var(--ink); }

.co-mini { display: none; }

@media (max-width: 900px) {
  body:not(.admin-body) .co.checkout-page { grid-template-columns: 1fr; gap: 1.5rem; }
  .co .checkout-summary-col { position: static; }
  .co .co-summary { display: none; }          /* the compact bar on top replaces it */
  .co-mini {
    display: block;
    order: -1;
    background: var(--card);
    border-radius: var(--r-md);
    box-shadow: 0 14px 30px -24px rgba(60,40,20,0.45);
  }
  .co-mini > summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    cursor: pointer;
    list-style: none;
  }
  .co-mini > summary::-webkit-details-marker { display: none; }
  .co-mini__course { flex: 1; min-width: 0; font-family: var(--serif); font-weight: 750; font-size: 1.02rem; letter-spacing: -0.02em; color: var(--ink); line-height: 1.2; }
  .co-mini__price { font-family: var(--serif); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.04em; color: var(--ink); background: var(--gold); padding: 0.15rem 0.6rem; border-radius: 10px; }
  .co-mini__chev { width: 18px; height: 18px; flex: none; color: var(--muted); transition: transform 200ms; }
  .co-mini[open] .co-mini__chev { transform: rotate(180deg); }
  .co-mini .co-includes { padding: 0 1rem 1rem; margin: 0; }
  body:not(.admin-body) .co .checkout-steps .checkout-step-label { display: none; }
  body:not(.admin-body) .co .checkout-step-item--active .checkout-step-label { display: inline; }
}
@media (max-width: 420px) {
  body:not(.admin-body) .co-submit { font-size: 1rem; padding-left: 1.1rem; }
}
body:not(.admin-body) .co-summary .checkout-summary__total > span:first-child { color: var(--ink); font-family: var(--hand); font-size: 1rem; letter-spacing: 0; text-transform: none; }


/* Required fields: say it up front, and explain mistakes under the field */
.co-req {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.08rem 0.5rem;
  border-radius: 999px;
  background: #FBE3DE;
  color: var(--red-h);
  font-size: 0.72rem;
  font-weight: 700;
  vertical-align: 0.1em;
}
body:not(.admin-body) .co .form-input.is-invalid {
  border-color: var(--red);
  background: #FFF6F4;
  box-shadow: 0 0 0 3px rgba(200,54,31,0.15);
}
body:not(.admin-body) .co .form-checkbox.is-invalid { outline: 2px solid var(--red); outline-offset: 2px; }
.co-field-error {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red-h);
}
.co-field-error::before {
  content: "!";
  display: grid;
  place-items: center;
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}
.co-field-error[hidden] { display: none; }
body:not(.admin-body) .co .form-input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
body:not(.admin-body) .co .form-input.is-invalid:focus-visible { outline-color: var(--red); }
