/* canvasrecipemarket.com — homepage styles (cinematic course platform) */
:root {
  --black: #061A22;
  --ink: #04131A;
  --charcoal: #0A2530;
  --panel: #0E2C37;
  --panel-2: #143846;
  --panel-3: #1B4555;
  --teal: #083848;
  --olive: #2A1814;
  --charcoal-2: #0B2029;
  --ember: #D0105C;
  --magenta: #E81868;
  --ember-deep: #A80C4A;
  --gold: #D99484;
  --terra: #B86858;
  --cream: #F6ECE6;
  --cream-dim: rgba(246, 236, 230, .74);
  --cream-faint: rgba(246, 236, 230, .14);
  --line: rgba(184, 104, 88, .28);
  --serif: "Prata", Georgia, "Times New Roman", serif;
  --sans: "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shell: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  --radius: 14px;
  --step-0: 1.0625rem;
  --step-1: clamp(1.2rem, 1.05rem + .6vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  --step-3: clamp(2rem, 1.4rem + 2.4vw, 3.2rem);
  --step-4: clamp(2.5rem, 1.5rem + 4.4vw, 5.2rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.005em;
}

p { margin: 0 0 1em; }

a { color: var(--gold); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--cream);
  color: var(--teal);
  padding: 10px 16px;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 28px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-ember { background: var(--ember); color: #fff; }
.btn-ember:hover { background: var(--ember-deep); }
.btn-ink { background: var(--black); color: var(--cream); }
.btn-ink:hover { background: var(--charcoal); }
.btn-sm { min-height: 46px; padding: 8px 20px; font-size: 1.2rem; }

/* Visit gate */
.entry-gate {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background:
    radial-gradient(60% 50% at 50% 60%, rgba(232, 24, 104, .32), transparent 70%),
    radial-gradient(40% 40% at 50% 20%, rgba(184, 104, 88, .18), transparent 70%),
    var(--black);
}
.entry-card {
  width: min(560px, 100%);
  text-align: center;
  padding: clamp(36px, 7vw, 64px) clamp(22px, 6vw, 56px);
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 40px 90px rgba(2, 12, 17, .6);
}
.entry-card h2 {
  font-size: clamp(2rem, 1.4rem + 3vw, 3rem);
  color: var(--cream);
  margin-bottom: 32px;
}
.entry-visit {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 84px;
  width: 100%;
  border-radius: 999px;
  background: var(--ember);
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  box-shadow: 0 0 0 6px rgba(232, 24, 104, .22), 0 18px 40px rgba(232, 24, 104, .35);
  transition: background-color .2s ease, transform .2s ease;
}
.entry-visit:hover { background: var(--ember-deep); transform: translateY(-2px); }

/* Header — split cinematic: cream logo panel, diagonal gold seam, black stage */
.site-header {
  position: static;
  display: flex;
  align-items: stretch;
  min-height: 80px;
  background: var(--black);
  border-bottom: 1px solid var(--line);
}
.split-brand {
  --cut: 44px;
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 14px calc(var(--cut) + 28px) 14px max(var(--gutter), calc((100vw - var(--shell)) / 2 + var(--gutter)));
  background: var(--terra);
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%);
}
.split-brand::before {
  content: "";
  position: absolute;
  inset: 0 3px 0 0;
  background: var(--cream);
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%);
}
.brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.brand img { height: 50px; width: auto; }
.split-stage {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
  padding: 12px max(var(--gutter), calc((100vw - var(--shell)) / 2 + var(--gutter))) 12px 12px;
}
.header-nav { display: none; gap: 26px; }
.header-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.0625rem;
  letter-spacing: .02em;
  border-bottom: 2px solid transparent;
}
.header-nav a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.split-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 20px;
  border-radius: 4px;
  background: var(--ember);
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(232, 24, 104, .4), 0 10px 26px rgba(232, 24, 104, .28);
  transition: background-color .2s ease;
}
.split-cta:hover { background: var(--ember-deep); }
.split-cta .ico { width: 18px; height: 18px; }
.cta-short { display: none; }
@media (min-width: 900px) {
  .header-nav { display: flex; }
}
@media (max-width: 720px) {
  .site-header { min-height: 68px; }
  .split-brand { --cut: 30px; padding-right: calc(var(--cut) + 16px); }
  .brand img { height: auto; max-height: 46px; max-width: 46vw; }
  .split-stage { padding-left: 8px; }
  .split-cta { padding: 8px 14px; font-size: 1.0625rem; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
}


/* Shared bits */
.btn-ghost { background: var(--panel-2); color: var(--cream); }
.btn-ghost:hover { background: var(--panel-3); }
.tag,
.cc-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 4px;
  background: var(--cream);
  color: var(--teal);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.statement,
.statement-sm {
  font-family: var(--sans);
  font-weight: 700;
  text-align: center;
  letter-spacing: -.015em;
  line-height: 1.12;
}
.statement { font-size: var(--step-3); margin: 0 auto clamp(36px, 5vw, 60px); }
.statement-sm { font-size: var(--step-2); margin: 0 auto 14px; max-width: 26ch; }

/* 1. Hero — full-bleed black split with portrait mosaic */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.hero-grid {
  display: grid;
  gap: 36px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 84px) var(--gutter) 0;
}
.hero-copy { min-width: 0; position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(2.3rem, 1.3rem + 4.2vw, 4.4rem);
  text-transform: uppercase;
  line-height: 1.04;
  letter-spacing: -.01em;
  max-width: 13ch;
}
.hero-sub { color: var(--cream-dim); font-size: 1.1875rem; max-width: 46ch; margin-bottom: 22px; }
.hero-rule { display: block; width: 34px; height: 3px; background: var(--magenta); margin-bottom: 26px; }
.goal-title { font-family: var(--sans); font-weight: 700; font-size: 1.1875rem; margin-bottom: 12px; }
.goals { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-width: 460px; }
.goals a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 8px 16px;
  border-radius: 6px;
  background: var(--panel);
  color: var(--cream);
  text-decoration: none;
  font-size: 1.0625rem;
  transition: background-color .2s ease;
}
.goals a:hover { background: var(--panel-2); }
.goal-box {
  width: 18px;
  height: 18px;
  flex: none;
  border: 1.5px solid var(--cream-dim);
  border-radius: 3px;
}
.goals a:hover .goal-box { border-color: var(--ember); background: var(--ember); }
.hero-mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  height: 340px;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 80%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 80%, transparent 100%);
}
.m-col { display: grid; gap: 12px; align-content: start; }
.m-col img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }
.m-col-1 { transform: translateY(-40px); }
.m-col-2 { transform: translateY(-140px); }
.m-col-3 { transform: translateY(10px); }

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 48px;
    padding-top: 0;
  }
  .hero-copy { padding: 64px 0; }
  .hero-mosaic {
    height: 760px;
    margin: 0 calc((100vw - min(100vw, var(--shell))) / -2 - var(--gutter)) 0 0;
    padding: 0;
  }
  .m-col-1 { transform: translateY(70px); }
  .m-col-2 { transform: translateY(-60px); }
  .m-col-3 { transform: translateY(150px); }
}

/* 2. Adapts — split head + icon list */
.adapts { padding: clamp(64px, 9vw, 110px) 0; background: var(--ink); }
.adapts-grid { display: grid; gap: 40px; }
.adapts-head { min-width: 0; }
.adapts-head h2 { font-family: var(--sans); font-weight: 700; font-size: var(--step-2); max-width: 20ch; }
.adapts-head p { color: var(--cream-dim); max-width: 44ch; }
.adapts-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.adapts-actions .btn { border-radius: 6px; min-height: 48px; font-size: 1.0625rem; padding: 10px 22px; }
.adapts-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px 32px; }
.adapts-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--cream-dim); font-size: 1.0625rem; }
.adapts-list strong { color: var(--cream); font-weight: 700; }
.adapts-list .ico { color: var(--gold); margin-top: 3px; }
@media (min-width: 900px) {
  .adapts-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 64px; }
  .adapts-list { grid-template-columns: 1fr 1fr; }
}

/* 3. Featured — statement + trailer-style banner */
.featured { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 9vw, 110px); background: var(--black); }
.feature-banner {
  position: relative;
  display: grid;
  overflow: hidden;
  border-radius: 6px;
  background: var(--ink);
}
.feature-banner img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.feature-panel { padding: 24px 22px 30px; text-align: center; }
.feature-panel h3 { font-size: var(--step-2); margin: 14px 0 10px; }
.feature-panel p { color: var(--cream-dim); max-width: 38ch; margin: 0 auto 20px; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 20px;
  border: 1px solid var(--cream-faint);
  border-radius: 6px;
  background: rgba(2, 12, 17, .55);
  color: var(--cream);
  font-weight: 700;
  text-decoration: none;
}
.btn-outline:hover { border-color: var(--gold); }
.btn-outline .ico { width: 18px; height: 18px; }
@media (min-width: 900px) {
  .feature-banner { display: block; }
  .feature-banner img { aspect-ratio: 16 / 8; }
  .feature-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 45%, rgba(4, 19, 26, .92) 76%);
  }
  .feature-panel {
    position: absolute;
    z-index: 1;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 36%;
    padding: 0 48px;
  }
}

/* 4. Tracks — chips + rails of tall cards */
.tracks { padding: clamp(64px, 9vw, 110px) 0 clamp(48px, 7vw, 90px); background: var(--black); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 18px; }
.chips a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 16px;
  border: 1px solid var(--cream-faint);
  border-radius: 6px;
  background: var(--panel);
  color: var(--cream);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}
.chips a:hover { border-color: var(--gold); color: var(--gold); }
.chips .ico { width: 18px; height: 18px; color: var(--gold); }
.rail-note { text-align: center; color: var(--cream-dim); font-size: 1rem; max-width: 60ch; margin: 0 auto clamp(36px, 5vw, 56px); }
.rail-block { min-width: 0; margin-bottom: clamp(40px, 5vw, 60px); scroll-margin-top: 24px; }
.rail-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; margin-bottom: 16px; }
.rail-head h3 { font-family: var(--sans); font-weight: 700; font-size: var(--step-1); margin: 0; }
.rail-head p { margin: 0; color: var(--cream-dim); font-size: 1rem; }
.rail {
  list-style: none;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter) 12px;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--panel-2) transparent;
}
.cc {
  position: relative;
  flex: 0 0 56vw;
  max-width: 250px;
  aspect-ratio: 9 / 15;
  overflow: hidden;
  border-radius: 8px;
  background: var(--panel);
  scroll-snap-align: start;
}
.cc img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cc:hover img { transform: scale(1.04); }
.cc::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 12, 17, .1) 0, transparent 30%, rgba(2, 12, 17, .55) 58%, rgba(2, 12, 17, .95) 100%);
}
.cc-body {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 14px 14px 18px;
  text-align: center;
}
.cc-tag { position: absolute; top: 12px; left: 12px; font-size: .8125rem; }
.cc-body h4 { font-size: 1.3125rem; line-height: 1.2; margin: 0 0 10px; }
.cc-body h4::after { content: ""; display: block; width: 18px; height: 2px; background: var(--magenta); margin: 10px auto 0; }
.cc-body p { margin: 0; color: var(--cream-dim); font-size: 1rem; }
@media (min-width: 640px) { .cc { flex-basis: 236px; } }
@media (min-width: 1200px) {
  .rail {
    margin: 0 calc((var(--shell) - 100vw) / 2 - var(--gutter)) 0 0;
    padding: 0 calc((100vw - var(--shell)) / 2 + var(--gutter)) 12px 0;
  }
}

/* 5. Lesson anatomy — ruled grid */
.lesson { padding: clamp(64px, 9vw, 110px) 0; background: var(--charcoal); }
.lesson-head { display: grid; gap: 8px 48px; margin-bottom: clamp(32px, 5vw, 52px); }
.lesson-head h2 { font-size: var(--step-3); margin: 0; }
.lesson-head p { color: var(--cream-dim); margin: 0; align-self: end; max-width: 52ch; }
.lesson-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.lesson-grid li { position: relative; padding: 28px 24px 30px; background: var(--charcoal); overflow: hidden; min-width: 0; }
.lesson-grid .ln {
  position: absolute;
  right: 14px;
  top: 4px;
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: 1;
  color: rgba(246, 236, 230, .06);
}
.lesson-grid .ico { width: 28px; height: 28px; color: var(--ember); margin-bottom: 14px; }
.lesson-grid h3 { font-size: var(--step-1); }
.lesson-grid p { margin: 0; color: var(--cream-dim); }
@media (min-width: 720px) { .lesson-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .lesson-head { grid-template-columns: 1fr 1fr; }
  .lesson-grid { grid-template-columns: repeat(3, 1fr); }
}

/* 6. Journey — CTA + promo split cards */
.journey { padding: clamp(64px, 9vw, 110px) 0; background: var(--black); }
.journey-head { text-align: center; margin-bottom: clamp(40px, 6vw, 70px); }
.journey-head h2 { font-family: var(--sans); font-weight: 700; font-size: var(--step-3); letter-spacing: -.015em; }
.journey-head p { color: var(--cream-dim); }
.journey-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }
.journey-actions .btn { border-radius: 6px; min-height: 48px; font-size: 1.0625rem; padding: 10px 22px; }
.promo { display: grid; overflow: hidden; border-radius: 10px; margin: 0 auto 28px; max-width: 1080px; }
.promo-copy { padding: clamp(28px, 5vw, 56px); min-width: 0; }
.promo-copy h3 { font-size: var(--step-2); }
.promo-ladder { background: var(--olive); border: 1px solid var(--line); }
.promo-ladder .promo-copy { text-align: left; }
.ladder { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: rung; display: grid; gap: 16px; }
.ladder li { counter-increment: rung; position: relative; padding-left: 52px; color: var(--cream-dim); }
.ladder li::before {
  content: counter(rung);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: var(--serif);
  color: var(--gold);
}
.ladder strong { color: var(--cream); }
.promo-media img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.promo-device { background: var(--panel); overflow: visible; margin-top: 56px; }
.device-photo { padding: 0 22px; margin-top: -32px; }
.device-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; box-shadow: 0 30px 60px rgba(2, 12, 17, .55); }
.promo-device p { color: var(--cream-dim); }
.devices { list-style: none; margin: 20px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.devices li { display: flex; align-items: center; gap: 10px; font-size: 1rem; }
.devices .ico { color: var(--gold); }
.device-tip { font-size: 1rem; border-left: 2px solid var(--magenta); padding-left: 14px; margin: 0; }
@media (min-width: 900px) {
  .promo { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .promo-ladder .promo-copy { align-self: center; }
  .promo-device { grid-template-columns: .9fr 1.1fr; align-items: center; margin-top: 90px; }
  .device-photo { margin: -48px 0 -48px 48px; padding: 0; }
  .device-photo img { aspect-ratio: 4 / 4.4; }
}

/* 7. Scenarios rail */
.scenes { padding: clamp(56px, 8vw, 100px) 0; background: var(--ink); }
.scenes-note { text-align: center; color: var(--cream-dim); font-size: 1rem; margin: 0 auto 36px; max-width: 56ch; }
.scene-rail {
  list-style: none;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter) 14px;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--panel-2) transparent;
}
.scene {
  flex: 0 0 86%;
  max-width: 680px;
  display: grid;
  grid-template-rows: auto 1fr;
  scroll-snap-align: center;
}
.scene img { order: -1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px 10px 0 0; }
.scene-text { background: var(--panel-2); padding: 24px 22px 26px; border-radius: 0 0 10px 10px; }
.scene-text h3 { font-size: var(--step-1); }
.scene-text p { color: var(--cream-dim); font-size: 1.0625rem; }
.scene-path { display: inline-block; font-size: .9375rem; font-weight: 700; color: var(--gold); }
@media (min-width: 760px) {
  .scene { flex-basis: 620px; grid-template-columns: 1.3fr 1fr; grid-template-rows: none; align-items: center; }
  .scene img { order: 0; aspect-ratio: 3 / 4; border-radius: 10px; }
  .scene-text { border-radius: 10px; margin-right: -40px; position: relative; z-index: 1; padding: 30px 60px 30px 30px; }
}
@media (min-width: 1200px) {
  .scene-rail {
    margin: 0 calc((var(--shell) - 100vw) / 2 - var(--gutter)) 0 0;
    padding: 0 calc((100vw - var(--shell)) / 2 + var(--gutter)) 14px 0;
  }
}

/* 8. Still — full-bleed photo with first skills list */
.still { position: relative; overflow: hidden; padding: clamp(72px, 10vw, 130px) 0; scroll-margin-top: 0; }
.still-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.still-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 19, 26, .94) 0, rgba(4, 19, 26, .82) 50%, rgba(4, 19, 26, .45) 100%);
}
.still-inner { position: relative; z-index: 1; }
.still h2 { font-family: var(--sans); font-weight: 700; font-size: var(--step-2); margin-bottom: 6px; }
.still-sub { color: var(--cream-dim); margin-bottom: 30px; }
.still-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px 40px; max-width: 760px; }
.still-list li { display: flex; gap: 14px; align-items: flex-start; }
.still-list .ico { color: var(--ember); width: 26px; height: 26px; margin-top: 2px; }
.still-list h3 { font-family: var(--sans); font-weight: 700; font-size: 1.1875rem; margin: 0 0 2px; }
.still-list p { margin: 0; color: var(--cream-dim); font-size: 1.0625rem; }
@media (min-width: 760px) { .still-list { grid-template-columns: 1fr 1fr; } }

/* 9. Guide — long read with column rhythm */
.guide { padding: clamp(72px, 10vw, 120px) 0; background: var(--black); }
.guide-intro { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 52px); text-align: center; }
.guide-intro h2 { font-size: var(--step-3); }
.lead { font-family: var(--serif); font-size: var(--step-1); line-height: 1.5; color: var(--cream); }
.guide-cols { max-width: 1000px; margin: 0 auto; color: var(--cream-dim); }
.guide-cols h3 { font-size: var(--step-2); color: var(--cream); margin-top: 1.2em; column-span: all; }
.guide-cols h3:first-child { margin-top: 0; }
.guide-cols p { break-inside: avoid; }
.pull {
  max-width: 820px;
  margin: clamp(36px, 6vw, 64px) auto;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: var(--step-2);
  line-height: 1.35;
  text-align: center;
  color: var(--cream);
}
@media (min-width: 900px) { .guide-cols { columns: 2; column-gap: 56px; } }

/* 10. Formats — plan-style cards */
.formats { padding: clamp(64px, 9vw, 110px) 0; background: var(--ink); }
.formats-sub { text-align: center; color: var(--cream-dim); max-width: 58ch; margin: 0 auto 40px; }
.plans { display: grid; gap: 18px; align-items: stretch; }
.plan { position: relative; padding: 30px 24px; border-radius: 10px; background: var(--panel); border: 1px solid transparent; min-width: 0; }
.plan h3 { font-family: var(--sans); font-weight: 700; font-size: var(--step-1); margin-bottom: 4px; }
.plan-fit { color: var(--gold); font-size: 1rem; margin-bottom: 20px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; color: var(--cream-dim); font-size: 1rem; line-height: 1.5; }
.plan .ico { width: 20px; height: 20px; margin-top: 2px; }
.plan .yes { color: var(--gold); }
.plan .no { color: rgba(246, 236, 230, .4); }
.plan-mark { background: var(--panel-2); border-color: var(--ember); }
.plan-flag {
  position: absolute;
  top: -13px;
  left: 24px;
  padding: 2px 12px;
  border-radius: 4px;
  background: var(--ember);
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
}
@media (min-width: 900px) {
  .plans { grid-template-columns: repeat(3, 1fr); }
  .plan-mark { transform: translateY(-14px); }
}

/* 11. FAQ — grouped, narrow */
.faq { padding: clamp(64px, 9vw, 110px) 0; background: var(--black); }
.faq-inner { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.faq h2 { font-family: var(--sans); font-weight: 700; font-size: var(--step-2); text-align: center; margin-bottom: 30px; }
.faq-group { font-family: var(--sans); font-weight: 700; font-size: 1rem; color: var(--gold); margin: 28px 0 10px; letter-spacing: .02em; }
.faq details { margin-bottom: 8px; border-radius: 6px; background: var(--panel); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 12px 18px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { width: 20px; height: 20px; transition: transform .25s ease; }
.faq details[open] summary .ico { transform: rotate(180deg); color: var(--ember); }
.faq details p { margin: 0; padding: 0 18px 18px; color: var(--cream-dim); }

/* 12. Closing — portrait strip + CTA */
.closing { position: relative; overflow: hidden; padding-bottom: clamp(56px, 8vw, 96px); background: var(--black); }
.closing-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(110px, 1fr));
  gap: 10px;
  margin-bottom: -60px;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
  opacity: .8;
}
.closing-strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.closing-inner { position: relative; text-align: center; max-width: 760px; }
.closing h2 { font-size: var(--step-3); }
.closing p { color: var(--cream-dim); margin: 0 auto 26px; max-width: 54ch; }
.closing .btn { border-radius: 6px; }
@media (max-width: 640px) {
  .closing-strip { grid-template-columns: repeat(3, 1fr); }
  .closing-strip img:nth-child(n + 4) { display: none; }
}

/* Footer — cream logo panel + dark columns */
.site-footer { background: var(--ink); border-top: 1px solid var(--cream-faint); }
.footer-top { display: grid; }
.footer-brand {
  display: flex;
  align-items: center;
  padding: 26px var(--gutter);
  background: var(--cream);
  border-bottom: 3px solid var(--terra);
}
.footer-brand .brand img { height: 48px; width: auto; }
.footer-cols {
  display: grid;
  gap: 32px;
  padding: 40px var(--gutter);
}
.footer-cols { grid-template-columns: 1fr 1fr; }
.f-col-about { grid-column: 1 / -1; }
.f-col { display: flex; flex-direction: column; min-width: 0; }
.f-col h2 { font-family: var(--sans); font-weight: 700; font-size: 1.0625rem; margin-bottom: 10px; }
.f-col p { color: var(--cream-dim); font-size: 1rem; margin: 0; max-width: 36ch; }
.f-col a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 1rem;
}
.f-col a:hover { color: var(--gold); }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  align-items: center;
  padding-top: 22px;
  padding-bottom: 30px;
  border-top: 1px solid var(--cream-faint);
  font-size: 1rem;
}
.footer-base p { margin: 0; }
.footer-domain { font-family: var(--serif); color: var(--cream); }
.footer-note,
.footer-copy { color: var(--cream-dim); }
@media (min-width: 900px) {
  .footer-top { grid-template-columns: auto 1fr; align-items: start; }
  .footer-brand {
    --cut: 44px;
    padding: 40px calc(var(--cut) + 36px) 40px max(var(--gutter), calc((100vw - var(--shell)) / 2 + var(--gutter)));
    border-bottom: 0;
    clip-path: polygon(0 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%);
  }
  .footer-cols {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .f-col-about { grid-column: auto; }
  .footer-cols {
    padding: 48px max(var(--gutter), calc((100vw - var(--shell)) / 2 + var(--gutter))) 40px 24px;
  }
}

/* Inline links inside footer copy and FAQ answers */
.f-col p a.f-inline {
  display: inline;
  min-height: 0;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq details p a { color: var(--gold); text-underline-offset: 3px; }

/* Desktop: each course row fits the page width, no sideways scrolling */
@media (min-width: 900px) {
  .rail,
  .scene-rail {
    margin: 0;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
  }

  .cc {
    max-width: none;
  }

  .scene-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scene {
    max-width: none;
  }
}

.scene-text { border-radius: 10px; }

/* Offer CTA additions */
.adapts-actions .btn .ico, .journey-actions .btn .ico, .closing .btn .ico { width: 18px; height: 18px; }
.closing p a { color: inherit; text-decoration: underline; }
.closing .cta-note { margin: 14px auto 0; font-size: 0.875rem; color: var(--cream-dim); opacity: 0.85; }

/* Profiles: icon cards in a clean 2×2 grid */
.scene {
  --accent: var(--magenta);
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z'/%3E%3C/svg%3E");
  display: block;
  flex: 0 0 84%;
  max-width: none;
}
.scene:nth-child(2) {
  --accent: var(--gold);
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 20h10'/%3E%3Cpath d='M10 20c5.5-2.5.8-6.4 3-10'/%3E%3Cpath d='M9.5 9.4c1.1.8 1.8 2.2 2.3 3.7-2 .4-3.5.4-4.8-.3-1.2-.6-2.3-1.9-3-4.2 2.8-.5 4.4 0 5.5.8z'/%3E%3Cpath d='M14.1 6a7 7 0 0 0-1.1 4c1.9-.1 3.3-.6 4.3-1.4 1-1 1.6-2.3 1.7-4.6-2.7.1-4 1-4.9 2z'/%3E%3C/svg%3E");
}
.scene:nth-child(3) {
  --accent: #E8B49A;
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 22 16 8'/%3E%3Cpath d='M3.47 12.53 5 11l1.53 1.53a3.5 3.5 0 0 1 0 4.94L5 19l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z'/%3E%3Cpath d='M7.47 8.53 9 7l1.53 1.53a3.5 3.5 0 0 1 0 4.94L9 15l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z'/%3E%3Cpath d='M11.47 4.53 13 3l1.53 1.53a3.5 3.5 0 0 1 0 4.94L13 11l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z'/%3E%3C/svg%3E");
}
.scene:nth-child(4) {
  --accent: #7FB7C4;
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z'/%3E%3Cpath d='M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12'/%3E%3C/svg%3E");
}

.scene-text {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 18px;
  align-content: start;
  height: 100%;
  margin: 0;
  padding: 28px 26px 24px;
  border: 1px solid var(--cream-faint);
  border-radius: 16px;
  background:
    radial-gradient(90% 70% at 100% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 65%),
    var(--panel);
  transition: border-color .25s ease, transform .25s ease;
}
.scene-text:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
}

/* Round icon badge */
.scene-text::before {
  content: "";
  grid-row: 1 / span 3;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background:
    var(--accent) padding-box;
  -webkit-mask: var(--icon) center / 24px no-repeat, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: var(--icon) center / 24px no-repeat exclude, linear-gradient(#000 0 0);
  opacity: .92;
}

.scene-text h3 {
  grid-column: 2;
  margin: 2px 0 10px;
  font-size: 1.45rem;
  line-height: 1.2;
}
.scene-text p {
  grid-column: 2;
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.65;
}
.scene-path {
  grid-column: 2;
  justify-self: start;
  align-self: end;
  padding: 6px 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  border-radius: 999px;
  color: var(--accent);
  font-size: .875rem;
  line-height: 1.35;
}

@media (min-width: 900px) {
  .scene-rail {
    gap: 20px;
    align-items: stretch;
  }
  .scene {
    display: block;
    grid-template-columns: none;
  }
}

@media (max-width: 520px) {
  .scene-text {
    grid-template-columns: 1fr;
  }
  .scene-text::before {
    grid-row: auto;
    margin-bottom: 14px;
  }
  .scene-text h3,
  .scene-text p,
  .scene-path {
    grid-column: 1;
  }
}
