/* ==========================================================================
   Inner — Learn (field-guide reading system)

   Prototype: lucid-dreaming.html. Everything is namespaced `.learn-*` so it
   cannot collide with shell.css (.kicker, .panel, .center, …).

   CHAMBERS MAKES YOU MOVE. LEARN LETS YOU STAY.
   Same universe as the homepage and Chambers — CalSans headlines, Inter
   body, tracked lavender eyebrows, near-black layered surfaces, hairlines,
   feathered environmental art — but calmer: one steady reading column, a
   quiet margin index, a few dim pauses, and almost no motion. No cards.

   Motion is limited to a short fade on section heads/plates, gated behind
   `.js` (all content is visible without JavaScript) and removed under
   prefers-reduced-motion.
   ========================================================================== */

html {
  scroll-padding-top: calc(var(--topbar-height, 58px) + 32px);
}

body.learn {
  margin: 0;
  background: #06050e;
  color: rgba(232, 229, 248, 0.84);
  font-family: var(--font-body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.learn .topbar a,
.learn .brand-link {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.03em;
}

:where(.learn) h1,
:where(.learn) h2,
:where(.learn) h3,
:where(.learn) p,
:where(.learn) ol,
:where(.learn) ul,
:where(.learn) blockquote {
  margin: 0;
  padding: 0;
}

.learn-main {
  display: block;
  overflow-x: clip;
}

/* ---------- Reveal (only when JS is present) ---------- */

.js .learn-rv {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .learn-rv.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Reading progress (narrow screens; desktop uses the margin index) ---------- */

.learn-progress {
  position: fixed;
  z-index: 11;
  top: var(--topbar-height, 58px);
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(161, 140, 255, 0.1);
  pointer-events: none;
}
.learn-progress-bar {
  display: block;
  height: 100%;
  background: rgba(205, 195, 255, 0.55);
  transform: scaleX(var(--learn-progress, 0));
  transform-origin: left center;
}

/* ---------- Shared small type ---------- */

.learn-eyebrow,
.learn-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(200, 190, 255, 0.78);
}

.learn-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.learn-label::before {
  content: '';
  width: 28px;
  height: 1px;
  background: rgba(161, 140, 255, 0.5);
}
.learn-label .learn-no {
  color: rgba(235, 232, 255, 0.5);
  font-weight: 400;
}

.learn-link {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(205, 196, 255, 0.94);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(161, 140, 255, 0.42);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.learn-link:hover {
  color: #fff;
  border-bottom-color: rgba(200, 190, 255, 0.8);
}

/* ==========================================================================
   Opening — the title plate
   ========================================================================== */

.learn-open {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(540px, 76vh, 780px);
  padding: calc(var(--topbar-height, 58px) + 44px) 24px 72px 24px;
  box-sizing: border-box;
  background: linear-gradient(180deg, #0d0c1f 0%, #080711 70%, #06050e 100%);
  overflow: hidden;
}

/* One dim environment, feathered into the dark — the moonlit stair, off to
   the right so the title keeps the quiet side. */
.learn-open-art {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(62%, 780px);
  pointer-events: none;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 42%, #000 100%),
    linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 42%, #000 100%),
    linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
  mask-composite: intersect;
}
.learn-open-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 44%;
  opacity: 0.5;
}

.learn-open-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.learn-open-inner > * {
  max-width: 40rem;
}

.learn-guide-no {
  margin-top: 14px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(235, 232, 255, 0.62);
}
.learn-guide-no span {
  color: rgba(200, 190, 255, 0.9);
  margin-right: 6px;
}

.learn-title {
  margin-top: 30px !important;
  max-width: 14em !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(2.3rem, 5.6vw, 4.1rem);
  line-height: 1.07;
  letter-spacing: 0.005em;
  color: #fff;
  text-wrap: balance;
}

.learn-sub {
  margin-top: 18px !important;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.5;
  color: rgba(214, 205, 255, 0.86);
}

.learn-lead {
  margin-top: 34px !important;
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(238, 235, 252, 0.88);
  text-wrap: pretty;
}

.learn-promise {
  margin-top: 16px !important;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(214, 210, 238, 0.6);
}

.learn-meta {
  margin-top: 44px !important;
  font-family: var(--font-heading);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(190, 178, 255, 0.64);
}
.learn-meta::before {
  content: '';
  display: inline-block;
  width: 36px;
  height: 1px;
  margin-right: 14px;
  vertical-align: middle;
  background: rgba(161, 140, 255, 0.35);
}

/* ==========================================================================
   Frame: [ margin index | reading column | open ]
   ========================================================================== */

.learn-article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 700px) minmax(0, 1fr);
  padding: 0 24px;
  background: linear-gradient(180deg, #06050e 0%, #06050e 100%);
}

.learn-article > section,
.learn-article > .learn-block {
  grid-column: 2;
  min-width: 0;
}

.learn-article > .learn-plate {
  grid-column: 1 / -1;
}

/* ---------- Margin index (desktop) ---------- */

.learn-index {
  display: none;
}

@media (min-width: 1180px) {
  /* Out of the grid flow (so full-width pauses are unaffected); it spans the
     article's height and its inner list is sticky inside that span. */
  .learn-article { position: relative; }
  .learn-index {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: calc(50% + 394px);
    width: 176px;
  }
  .learn-index-inner {
    position: sticky;
    top: calc(var(--topbar-height, 58px) + 44px);
    padding-top: clamp(72px, 11vh, 120px);
  }
  .learn-progress { display: none; }
}

.learn-index-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(190, 178, 255, 0.64);
  margin-bottom: 18px;
  padding-left: 16px;
}

.learn-index ol {
  list-style: none;
  position: relative;
}
.learn-index {
  transition: opacity 0.8s ease;
}
.learn-article.is-ended .learn-index {
  opacity: 0;
  pointer-events: none;
}
/* the hairline, and the part of it already read */
.learn-index ol::before,
.learn-index ol::after {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
}
.learn-index ol::before {
  background: rgba(161, 140, 255, 0.16);
}
.learn-index ol::after {
  background: rgba(205, 195, 255, 0.6);
  transform: scaleY(var(--learn-progress, 0));
  transform-origin: top center;
}

.learn-index a {
  display: block;
  padding: 7px 0 7px 16px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.86rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: rgba(210, 205, 240, 0.58);
  text-decoration: none;
  transition: color 0.35s ease;
}
.learn-index a:hover {
  color: rgba(235, 232, 255, 0.85);
}
.learn-index a[aria-current="true"] {
  color: rgba(246, 243, 255, 0.96);
}

/* ---------- Contents disclosure (narrower screens) ---------- */

.learn-contents {
  display: block;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
  background: #06050e;
}
@media (min-width: 1180px) {
  .learn-contents { display: none; }
}

.learn-contents details {
  border-top: 1px solid rgba(161, 140, 255, 0.16);
  border-bottom: 1px solid rgba(161, 140, 255, 0.16);
}
.learn-contents summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(214, 205, 255, 0.86);
}
.learn-contents summary::-webkit-details-marker { display: none; }
.learn-contents summary::after {
  content: '+';
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.2rem;
  letter-spacing: 0;
  color: rgba(200, 190, 255, 0.7);
  transition: transform 0.3s ease;
}
.learn-contents details[open] summary::after {
  transform: rotate(45deg);
}
.learn-contents ol {
  list-style: none;
  padding: 2px 0 14px 0;
  columns: 1;
}
.learn-contents li a {
  display: block;
  padding: 10px 0;
  font-size: 1rem;
  color: rgba(228, 224, 246, 0.82);
  text-decoration: none;
}
.learn-contents li a:hover { color: #fff; }
.learn-contents .learn-no {
  display: inline-block;
  width: 2.2em;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: rgba(190, 178, 255, 0.63);
}

/* ==========================================================================
   Sections
   ========================================================================== */

.learn-section {
  padding: clamp(72px, 11vh, 120px) 0 0 0;
}
.learn-section:first-of-type {
  padding-top: clamp(64px, 9vh, 104px);
}
/* Anchors land on the heading, not on the section's breathing room above it. */
.learn-section { scroll-margin-top: calc(-1 * clamp(72px, 11vh, 120px)); }
.learn-section:first-of-type { scroll-margin-top: calc(-1 * clamp(64px, 9vh, 104px)); }

.learn-head {
  margin-bottom: 30px;
}

.learn-h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  line-height: 1.16;
  letter-spacing: 0.01em;
  color: rgba(248, 246, 255, 0.97);
  text-wrap: balance;
}

.learn-intro {
  margin-top: 16px !important;
  max-width: 62ch;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(222, 218, 242, 0.72);
}

.learn-prose p {
  max-width: 66ch;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: rgba(232, 229, 248, 0.84);
  text-wrap: pretty;
}
.learn-prose p + p {
  margin-top: 1.25em;
}
.learn-prose strong {
  font-weight: 500;
  color: #fff;
}

/* The one idea the page turns on — a field note, not a quote card. */
.learn-pull {
  margin: 2.1em 0 !important;
  padding: 2px 0 2px 26px !important;
  border-left: 1px solid rgba(161, 140, 255, 0.5);
  max-width: 34rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  line-height: 1.32;
  letter-spacing: 0.005em;
  color: rgba(248, 246, 255, 0.96);
  text-wrap: balance;
}
.learn-pull strong {
  font-weight: 600;
  color: rgba(214, 205, 255, 0.98);
}

/* ---------- Ruled entries: foundations, techniques ---------- */

.learn-entries {
  border-bottom: 1px solid rgba(161, 140, 255, 0.14);
}

.learn-entry {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 6px 32px;
  padding: 24px 0 26px 0;
  border-top: 1px solid rgba(161, 140, 255, 0.14);
}

.learn-entry-key {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.5;
  color: rgba(200, 190, 255, 0.85);
  padding-top: 0.3em;
}

.learn-entry h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.15rem, 1.8vw, 1.32rem);
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: rgba(248, 246, 255, 0.96);
}
.learn-entry p {
  margin-top: 8px;
  max-width: 60ch;
  font-size: 1.02rem;
  line-height: 1.72;
  color: rgba(226, 222, 244, 0.78);
}

/* Foundations: a large quiet numeral instead of a label. */
.learn-principle .learn-entry-key {
  font-size: 0.7rem;
  color: rgba(190, 178, 255, 0.7);
}
.learn-principle .learn-entry-key b {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 2.1rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(200, 190, 255, 0.47);
}

/* Practice groups: when each method belongs. */
.learn-group + .learn-group {
  margin-top: 34px;
}
.learn-group-label {
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(190, 178, 255, 0.63);
}
.learn-group .learn-entries {
  border-bottom: 0;
}
.learn-group:last-child .learn-entries {
  border-bottom: 1px solid rgba(161, 140, 255, 0.14);
}
.learn-group .learn-entry:last-child {
  border-bottom: 0;
}

/* ---------- Field note ---------- */

.learn-fieldnote {
  max-width: 60ch;
  margin-top: 44px;
  padding: 2px 0 2px 22px;
  border-left: 1px solid rgba(161, 140, 255, 0.4);
}
.learn-fieldnote .learn-fieldnote-label {
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.66rem;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(200, 190, 255, 0.7);
}
.learn-fieldnote p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(226, 222, 244, 0.8);
}
.learn-fieldnote .learn-link {
  margin-top: 16px;
}

/* ---------- Recall: the three questions ---------- */

.learn-questions {
  list-style: none;
  margin: 1.3em 0 1.4em 0 !important;
  max-width: 34rem;
  border-top: 1px solid rgba(161, 140, 255, 0.16);
}
.learn-questions li {
  padding: 13px 0;
  border-bottom: 1px solid rgba(161, 140, 255, 0.16);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.3;
  color: rgba(248, 246, 255, 0.96);
}

/* ---------- Seven nights: a quiet vertical line with seven ticks ---------- */

.learn-nights {
  list-style: none;
  margin-top: 8px !important;
}
.learn-night {
  position: relative;
  display: grid;
  grid-template-columns: 34px 72px minmax(0, 1fr);
  align-items: baseline;
  padding: 22px 0 24px 0;
}
.learn-night::before {          /* the line down to the next tick */
  content: '';
  position: absolute;
  left: 4px;
  top: 40px;
  height: 100%;
  width: 1px;
  background: rgba(161, 140, 255, 0.2);
}
.learn-night:last-child::before { display: none; }
.learn-night::after {           /* the tick */
  content: '';
  position: absolute;
  left: 0;
  top: 32px;
  width: 9px;
  height: 9px;
  box-sizing: border-box;
  border: 1px solid rgba(190, 178, 255, 0.6);
  border-radius: 50%;
  background: #06050e;
  transition: background-color 0.6s ease, border-color 0.6s ease;
}
.learn-night.is-lit::after {
  background: rgba(205, 195, 255, 0.85);
  border-color: rgba(220, 212, 255, 0.95);
}
.learn-night-day {
  grid-column: 2;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(200, 190, 255, 0.85);
}
.learn-night-body {
  grid-column: 3;
}
.learn-night h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.8vw, 1.28rem);
  line-height: 1.3;
  color: rgba(248, 246, 255, 0.96);
}
.learn-night p {
  margin-top: 6px;
  max-width: 56ch;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(226, 222, 244, 0.78);
}
.learn-text-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(161, 140, 255, 0.45);
}
.learn-text-link:hover {
  color: #fff;
  border-bottom-color: rgba(200, 190, 255, 0.85);
}

/* ---------- Continue the practice: recognition ---------- */

.learn-continue {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 316px;
  gap: 40px;
  align-items: center;
  padding-top: clamp(104px, 15vh, 164px);
  padding-bottom: clamp(36px, 7vh, 72px);
}
.learn-continue-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  line-height: 1.28;
  color: rgba(248, 246, 255, 0.96);
  text-wrap: balance;
}
.learn-continue p.learn-continue-copy {
  margin-top: 16px;
  max-width: 44ch;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(226, 222, 244, 0.76);
}
.learn-continue .learn-link {
  margin-top: 22px;
}
/* The UI sits in a faint pool of its own light — enough to read as the
   bridge from the practice to Inner itself, not a feature panel. */
.learn-ui-wrap {
  position: relative;
  width: 100%;
}
.learn-ui-wrap::before {
  content: '';
  position: absolute;
  inset: -14% -26%;
  background: radial-gradient(ellipse 50% 46% at 50% 48%, rgba(118, 128, 236, 0.16) 0%, rgba(118, 128, 236, 0.05) 52%, transparent 74%);
  pointer-events: none;
}
@media (min-width: 1000px) {
  /* let the block lean a little into the right margin so the copy keeps its width */
  .learn-continue { margin-right: -36px; }
}
.learn-ui {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  -webkit-mask-image:
    linear-gradient(180deg, transparent 0%, #000 9%, #000 90%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(180deg, transparent 0%, #000 9%, #000 90%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-composite: intersect;
}
.learn-ui img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: brightness(1.07) contrast(1.05);
}

/* ---------- Common friction ---------- */

.learn-friction .learn-entry {
  grid-template-columns: 210px minmax(0, 1fr);
  padding: 20px 0 22px 0;
}
.learn-friction .learn-entry h3 {
  font-size: 1.08rem;
}
.learn-friction .learn-entry p {
  margin-top: 0;
  font-size: 1rem;
}

/* ---------- Questions: native <details>, hairline rows ---------- */

.learn-faq {
  border-bottom: 1px solid rgba(161, 140, 255, 0.16);
}
.learn-faq details {
  border-top: 1px solid rgba(161, 140, 255, 0.16);
}
.learn-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 56px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  line-height: 1.35;
  color: rgba(248, 246, 255, 0.95);
}
.learn-faq summary::-webkit-details-marker { display: none; }
.learn-faq summary::after {
  content: '+';
  flex: none;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1;
  color: rgba(200, 190, 255, 0.7);
  transition: transform 0.3s ease;
}
.learn-faq details[open] summary::after {
  transform: rotate(45deg);
}
.learn-faq summary:hover {
  color: #fff;
}
.learn-faq details p {
  max-width: 60ch;
  padding: 0 0 24px 0;
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(226, 222, 244, 0.78);
}

/* ==========================================================================
   Environmental pauses
   ========================================================================== */

.learn-plate {
  position: relative;
  width: 100%;
  max-width: 880px;
  height: clamp(220px, 38vh, 380px);
  margin: clamp(56px, 10vh, 110px) auto 0 auto;
  pointer-events: none;
  -webkit-mask-image:
    linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  mask-composite: intersect;
}
.learn-plate img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.js .learn-plate {
  opacity: 0;
  transition: opacity 1.4s ease;
}
.js .learn-plate.is-in {
  opacity: 1;
}

/* ==========================================================================
   Epilogue
   ========================================================================== */

.learn-epilogue {
  scroll-margin-top: calc(-1 * clamp(110px, 20vh, 220px));
  grid-column: 1 / -1 !important;
  padding: clamp(110px, 20vh, 220px) 0 0 0;
  text-align: center;
}
.learn-epilogue .learn-label {
  justify-content: center;
}
.learn-epilogue .learn-label::before {
  display: none;
}
.learn-epilogue-title {
  max-width: 20ch;
  margin: 0 auto !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: rgba(248, 246, 255, 0.96);
  text-wrap: balance;
}
.learn-epilogue-title span {
  display: block;
}
.learn-epilogue-title span + span {
  margin-top: 0.15em;
  color: rgba(206, 197, 255, 0.92);
}
.learn-enter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}
.learn-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 176px;
  padding: 11px 24px;
  box-sizing: border-box;
  border: 1px solid rgba(161, 140, 255, 0.32);
  border-radius: 999px;
  color: rgba(235, 232, 255, 0.9);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}
.learn-store:hover {
  border-color: rgba(200, 190, 255, 0.65);
  color: #fff;
  background-color: rgba(161, 140, 255, 0.08);
}
.learn-safety {
  max-width: 56ch;
  margin: 36px auto 0 auto !important;
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(210, 205, 240, 0.58);
}

.learn-next {
  display: block;
  max-width: 560px;
  margin: clamp(88px, 14vh, 140px) auto 0 auto;
  padding: 36px 0 0 0;
  border-top: 1px solid rgba(161, 140, 255, 0.16);
  text-decoration: none;
  text-align: center;
}
.learn-next-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(190, 178, 255, 0.64);
}
.learn-next-title {
  display: block;
  margin-top: 14px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  letter-spacing: 0.02em;
  color: rgba(248, 246, 255, 0.95);
  transition: color 0.3s ease;
}
.learn-next-line {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  color: rgba(214, 205, 255, 0.78);
}
.learn-next:hover .learn-next-title {
  color: #fff;
}

/* ---------- Footer on Learn ---------- */

.learn .site-footer {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(96px, 16vh, 150px) 24px 52px 24px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .learn-open-art {
    width: 100%;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
    -webkit-mask-composite: source-over;
    mask-composite: add;
  }
  .learn-open-art img { opacity: 0.32; }
}

@media (max-width: 720px) {
  .learn-open {
    min-height: 0;
    padding: calc(var(--topbar-height, 58px) + 36px) 22px 56px 22px;
  }
  .learn-lead { font-size: 1.05rem; }
  .learn-meta { margin-top: 36px !important; }

  .learn-article { padding: 0 22px; }
  .learn-contents { padding: 0 22px; }

  .learn-prose p,
  .learn-entry p,
  .learn-night p,
  .learn-faq details p { font-size: 1.0625rem; }

  .learn-entry,
  .learn-friction .learn-entry {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .learn-principle .learn-entry-key b {
    display: inline;
    margin: 0 10px 0 0;
    font-size: 1.5rem;
  }
  .learn-entry-key { padding-top: 0; }

  .learn-night {
    grid-template-columns: 28px minmax(0, 1fr);
  }
  .learn-night-day,
  .learn-night-body { grid-column: 2; }
  .learn-night-day { margin-bottom: 4px; }
  .learn-night::before { left: 4px; }

  .learn-continue {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .learn-ui-wrap { max-width: 284px; margin-right: 0; width: 100%; }

  .learn-plate { height: clamp(180px, 30vh, 280px); }
  .learn-store { min-width: 0; flex: 1 1 200px; }
  .learn .site-footer { padding-top: 88px; }
}

@media (max-width: 380px) {
  .learn-label { gap: 10px; letter-spacing: 0.18em; }
  .learn-label::before { width: 20px; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .js .learn-rv,
  .js .learn-plate {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .learn-night::after,
  .learn-link,
  .learn-faq summary::after,
  .learn-contents summary::after { transition: none; }
}


/* ==========================================================================
   02 — OBE Awareness  (body.learn--obe)

   Same publication, different territory: colder, sparser, stiller. Shared
   Learn components are reused as-is; everything below is namespaced
   `.learn--obe` / `.obe-*` and only re-tints or adds OBE-specific pieces.
   Its signature element is the single-line diagram of the crossing.
   ========================================================================== */

body.learn--obe {
  background: #05070c;
  color: rgba(226, 232, 246, 0.84);
}
.learn--obe .learn-article,
.learn--obe .learn-contents {
  background: #05070c;
}

/* cold slate in place of lavender */
.learn--obe .learn-eyebrow,
.learn--obe .learn-label,
.learn--obe .learn-fieldnote .learn-fieldnote-label,
.learn--obe .learn-contents summary {
  color: rgba(176, 194, 232, 0.8);
}
.learn--obe .learn-label::before { background: rgba(150, 172, 220, 0.5); }
.learn--obe .learn-guide-no span { color: rgba(184, 204, 244, 0.95); }
.learn--obe .learn-sub { color: rgba(186, 204, 238, 0.86); }
.learn--obe .learn-meta { color: rgba(160, 180, 222, 0.67); }
.learn--obe .learn-meta::before { background: rgba(150, 172, 220, 0.35); }
.learn--obe .learn-lead { color: rgba(232, 238, 250, 0.88); }
.learn--obe .learn-promise,
.learn--obe .learn-intro { color: rgba(206, 216, 238, 0.66); }
.learn--obe .learn-prose p { color: rgba(226, 232, 246, 0.84); }
.learn--obe .learn-link {
  color: rgba(190, 208, 242, 0.95);
  border-bottom-color: rgba(150, 172, 220, 0.45);
}
.learn--obe .learn-link:hover { color: #fff; border-bottom-color: rgba(190, 208, 242, 0.85); }
.learn--obe .learn-text-link { border-bottom-color: rgba(150, 172, 220, 0.5); }
.learn--obe .learn-fieldnote { border-left-color: rgba(150, 172, 220, 0.4); }
.learn--obe .learn-fieldnote p { color: rgba(220, 228, 245, 0.8); }
.learn--obe .learn-index-title,
.learn--obe .learn-next-label { color: rgba(160, 180, 222, 0.67); }
.learn--obe .learn-index ol::before { background: rgba(150, 172, 220, 0.16); }
.learn--obe .learn-index ol::after { background: rgba(190, 208, 244, 0.6); }
.learn--obe .learn-progress { background: rgba(150, 172, 220, 0.1); }
.learn--obe .learn-progress-bar { background: rgba(190, 208, 244, 0.55); }
.learn--obe .learn-contents details { border-color: rgba(150, 172, 220, 0.16); }
.learn--obe .learn-contents summary::after,
.learn--obe .learn-contents .learn-no { color: rgba(160, 182, 226, 0.7); }
.learn--obe .learn-epilogue-title span + span { color: rgba(190, 208, 244, 0.92); }
.learn--obe .learn-next { border-top-color: rgba(150, 172, 220, 0.16); }
.learn--obe .learn-next-line { color: rgba(186, 204, 238, 0.78); }
.learn--obe .learn-store { border-color: rgba(150, 172, 220, 0.32); }
.learn--obe .learn-store:hover { border-color: rgba(190, 208, 242, 0.65); background-color: rgba(150, 172, 220, 0.08); }

/* ---------- Opening: a still window, sparse text ---------- */

.learn-open--obe {
  min-height: clamp(500px, 70vh, 700px);
  background: linear-gradient(180deg, #090d17 0%, #06080f 70%, #05070c 100%);
}
.learn--obe .learn-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 12.5em !important;
}
.learn--obe .learn-open-inner > * { max-width: 36rem; }

@media (min-width: 901px) {
  /* a tall, narrow glimpse of the window on the right — not a poster */
  .learn-open--obe .learn-open-art {
    left: auto;
    right: max(24px, calc(50% - 500px));
    width: min(36%, 400px);
    top: calc(var(--topbar-height, 58px) + 24px);
    bottom: 24px;
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0%, #000 30%, #000 70%, transparent 100%),
      linear-gradient(180deg, transparent 0%, #000 24%, #000 70%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(90deg, transparent 0%, #000 30%, #000 70%, transparent 100%),
      linear-gradient(180deg, transparent 0%, #000 24%, #000 70%, transparent 100%);
    mask-composite: intersect;
  }
  .learn-open--obe .learn-open-art img {
    object-position: 50% 38%;
    opacity: 0.66;
    filter: saturate(0.8);
  }
}

.obe-promise {
  margin-top: 26px !important;
  font-size: 0.98rem;
  line-height: 1.85;
  color: rgba(206, 216, 238, 0.62);
}
.obe-promise span { display: block; }
.obe-promise .is-key { color: rgba(214, 226, 250, 0.94); }

/* ---------- 01: the stance, held as a note ---------- */

.obe-stance { margin-top: 38px; }
.obe-stance p:not(.learn-fieldnote-label) {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: rgba(234, 240, 252, 0.88);
}

/* ---------- 02: reported phenomena, term-led (not keyed rows) ---------- */

.obe-phenomena { border-bottom: 1px solid rgba(150, 172, 220, 0.14); }
.obe-phenomenon {
  padding: 30px 0 34px 0;
  border-top: 1px solid rgba(150, 172, 220, 0.14);
}
.obe-phenomenon h3 { margin: 0; }
.obe-term {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: rgba(248, 250, 255, 0.97);
}
.obe-phrase {
  display: block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-weight: 300;
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0;
  line-height: 1.5;
  color: rgba(176, 198, 238, 0.86);
}
.obe-phenomenon p {
  margin-top: 14px;
  max-width: 58ch;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(220, 229, 246, 0.8);
}

.obe-plate { max-width: 760px; height: clamp(200px, 34vh, 340px); }
.obe-plate img { opacity: 0.85; }

/* ---------- 05: the crossing — one line, three points ---------- */

.obe-diagram {
  margin: 46px 0 14px 0;
  padding: 0;
}
.obe-line {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.obe-seg {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;   /* keep the line weight on small screens */
}
.obe-seg--anchor  { stroke: rgba(190, 208, 244, 0.85); stroke-width: 1.7; }
.obe-seg--clarity { stroke: rgba(206, 198, 255, 0.92); stroke-width: 1.5; }
.obe-seg--nav     { stroke: url(#obe-fade); stroke-width: 1.7; stroke-dasharray: 0.5 8; }
.obe-node {
  r: 5px;
  fill: #05070c;
  stroke: rgba(216, 228, 252, 0.95);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}
.obe-node--end { stroke: rgba(216, 228, 252, 0.6); }

.obe-diagram-labels {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  margin-top: 16px;
}
.obe-diagram-labels span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(216, 228, 250, 0.92);
}
.obe-diagram-labels span:first-child { justify-self: start; }
.obe-diagram-labels span:nth-child(2) { justify-self: center; }
.obe-diagram-labels span:last-child { justify-self: end; }
.obe-diagram-labels b {
  font-weight: 400;
  margin-right: 6px;
  color: rgba(160, 182, 226, 0.66);
}

.js .obe-diagram .obe-line {
  clip-path: inset(-8px 100% -8px -8px);
  transition: clip-path 2.4s ease;
}
.js .obe-diagram .obe-diagram-labels {
  opacity: 0;
  transition: opacity 1.2s ease 0.7s;
}
.js .obe-diagram.is-in .obe-line { clip-path: inset(-8px -8px -8px -8px); }
.js .obe-diagram.is-in .obe-diagram-labels { opacity: 1; }

.obe-witnesses {
  margin-top: 40px;
  border-top: 1px solid rgba(150, 172, 220, 0.14);
}
.obe-witness {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0 32px;
  padding: 28px 0 30px 0;
  border-bottom: 1px solid rgba(150, 172, 220, 0.14);
}
.obe-glyph {
  display: block;
  width: 72px;
  height: 12px;
  margin-top: 0.4em;
  overflow: visible;
}
.obe-glyph path {
  fill: none;
  stroke: rgba(190, 208, 244, 0.85);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.obe-witness--clarity .obe-glyph path { stroke: rgba(206, 198, 255, 0.92); }
.obe-witness--nav .obe-glyph path { stroke: rgba(190, 208, 244, 0.6); stroke-dasharray: 0.5 7; }
.obe-witness-no,
.obe-step-no {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.4;
  color: rgba(176, 194, 232, 0.72);
}
.obe-witness h3 {
  margin-top: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.25rem, 2vw, 1.45rem);
  line-height: 1.25;
  color: rgba(248, 250, 255, 0.97);
}
.obe-witness p:not(.obe-witness-no) {
  margin-top: 10px;
  max-width: 58ch;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(220, 229, 246, 0.8);
}
.obe-after { margin-top: 44px; }

/* ---------- 06: practice — calm, shorter, sequential ---------- */

.obe-before { margin-top: 0; }
.obe-steps {
  list-style: none;
  margin-top: 48px !important;
}
.obe-step {
  position: relative;
  margin-top: 32px;
  padding-top: 26px;
}
.obe-step:first-child { margin-top: 0; }
.obe-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 1px;
  background: rgba(150, 172, 220, 0.4);
}
.obe-step h3 {
  margin-top: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.15rem, 1.9vw, 1.35rem);
  line-height: 1.3;
  color: rgba(248, 250, 255, 0.96);
}
.obe-step p:not(.obe-step-no) {
  margin-top: 8px;
  max-width: 56ch;
  font-size: 1.0625rem;
  line-height: 1.72;
  color: rgba(220, 229, 246, 0.8);
}

/* ---------- Epilogue ---------- */

.obe-epilogue-line {
  max-width: 46ch;
  margin: 26px auto 0 auto !important;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(206, 216, 238, 0.66);
}
.obe-epilogue-links { margin-top: 20px !important; }
.obe-epilogue-links + .learn-enter { margin-top: 34px; }

/* ---------- OBE responsive ---------- */

@media (max-width: 720px) {
  .obe-witness {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .obe-glyph { margin-top: 0; }
  .obe-phenomenon p,
  .obe-witness p:not(.obe-witness-no),
  .obe-step p:not(.obe-step-no) { font-size: 1.0625rem; }
  .obe-diagram { margin-top: 38px; }
}
@media (max-width: 520px) {
  .obe-node { r: 8px; }
}
@media (max-width: 420px) {
  .obe-diagram-labels span { font-size: 0.75rem; letter-spacing: 0.12em; }
  .obe-diagram-labels b { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js .obe-diagram .obe-line,
  .js .obe-diagram .obe-diagram-labels {
    clip-path: none;
    opacity: 1;
    transition: none;
  }
}


/* ==========================================================================
   03 — Dream Recall  (body.learn--recall)

   First light. Same publication, warmer hour: the page is the practice, so
   the signature is the written fragment — a short italic line, a hairline,
   a few marked words. Shared Learn components are reused as-is; everything
   below is namespaced `.learn--recall` / `.recall-*`.
   ========================================================================== */

body.learn--recall {
  background: #0a0806;
  color: rgba(244, 236, 226, 0.84);
}
.learn--recall .learn-article,
.learn--recall .learn-contents {
  background: linear-gradient(180deg, #08070a 0%, #0a0806 38%, #0a0806 100%);
}

/* amber in place of lavender */
.learn--recall .learn-eyebrow,
.learn--recall .learn-label,
.learn--recall .learn-fieldnote .learn-fieldnote-label,
.learn--recall .learn-contents summary {
  color: rgba(232, 196, 140, 0.82);
}
.learn--recall .learn-label::before { background: rgba(232, 196, 140, 0.5); }
.learn--recall .learn-label .learn-no { color: rgba(246, 236, 222, 0.5); }
.learn--recall .learn-guide-no span { color: rgba(240, 206, 156, 0.95); }
.learn--recall .learn-guide-no { color: rgba(246, 238, 226, 0.62); }
.learn--recall .learn-sub { color: rgba(238, 212, 172, 0.88); }
.learn--recall .learn-meta { color: rgba(222, 188, 140, 0.63); }
.learn--recall .learn-meta::before { background: rgba(232, 196, 140, 0.35); }
.learn--recall .learn-lead { color: rgba(250, 242, 232, 0.9); }
.learn--recall .learn-promise { color: rgba(236, 224, 208, 0.64); }
.learn--recall .learn-prose p { color: rgba(244, 236, 226, 0.84); }
.learn--recall .learn-link {
  color: rgba(244, 214, 170, 0.95);
  border-bottom-color: rgba(232, 196, 140, 0.45);
}
.learn--recall .learn-link:hover { color: #fff; border-bottom-color: rgba(244, 214, 170, 0.85); }
.learn--recall .learn-text-link { border-bottom-color: rgba(232, 196, 140, 0.5); }
.learn--recall .learn-fieldnote { border-left-color: rgba(232, 196, 140, 0.4); }
.learn--recall .learn-fieldnote p { color: rgba(240, 230, 216, 0.8); }
.learn--recall .learn-questions,
.learn--recall .learn-questions li { border-color: rgba(232, 196, 140, 0.18); }
.learn--recall .learn-questions li { color: rgba(255, 250, 242, 0.96); }
.learn--recall .learn-index-title,
.learn--recall .learn-next-label { color: rgba(222, 188, 140, 0.63); }
.learn--recall .learn-index ol::before { background: rgba(232, 196, 140, 0.16); }
.learn--recall .learn-index ol::after { background: rgba(244, 214, 170, 0.6); }
.learn--recall .learn-progress { background: rgba(232, 196, 140, 0.1); }
.learn--recall .learn-progress-bar { background: rgba(244, 214, 170, 0.55); }
.learn--recall .learn-contents details { border-color: rgba(232, 196, 140, 0.16); }
.learn--recall .learn-contents summary::after,
.learn--recall .learn-contents .learn-no { color: rgba(232, 196, 140, 0.7); }
.learn--recall .learn-epilogue-title span + span { color: rgba(244, 214, 170, 0.92); }
.learn--recall .learn-next { border-top-color: rgba(232, 196, 140, 0.16); }
.learn--recall .learn-next-line { color: rgba(238, 212, 172, 0.78); }
.learn--recall .learn-store { border-color: rgba(232, 196, 140, 0.34); }
.learn--recall .learn-store:hover { border-color: rgba(244, 214, 170, 0.7); background-color: rgba(232, 196, 140, 0.08); }

/* ---------- Opening: a low horizon, text anchored below it ---------- */

.learn-open--recall {
  align-items: flex-end;
  min-height: clamp(540px, 74vh, 760px);
  background: linear-gradient(180deg, #0d0c1f 0%, #14101a 46%, #0a0806 100%);
}
.learn--recall .learn-open-art {
  top: 0;
  left: 0;
  right: 0;
  bottom: auto;
  width: 100%;
  height: 62%;
  -webkit-mask-image:
    linear-gradient(180deg, transparent 0%, #000 34%, #000 62%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(180deg, transparent 0%, #000 34%, #000 62%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  mask-composite: intersect;
}
.learn--recall .learn-open-art img {
  object-position: 50% 62%;
  opacity: 0.66;
  filter: sepia(0.3) saturate(0.95);
}
.learn--recall .learn-title {
  font-size: clamp(2.2rem, 5.2vw, 3.8rem);
  max-width: 13em !important;
}
.learn--recall .learn-open-inner > * { max-width: 38rem; }

/* ---------- The fragment voice ---------- */

.recall-fragment {
  font-family: var(--font-body);
  font-weight: 200;
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
  line-height: 1.6;
  color: rgba(252, 244, 232, 0.92);
  text-wrap: pretty;
}

.recall-specimen-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.66rem;
  line-height: 1.5;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(232, 196, 140, 0.7);
}

.recall-specimen,
.recall-pattern {
  max-width: 600px;
  margin: clamp(44px, 7vh, 68px) 0 0 0;
  padding: 2px 0 2px clamp(18px, 3vw, 28px);
  border-left: 1px solid rgba(232, 196, 140, 0.4);
}
.recall-specimen-date {
  margin-top: 14px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 238, 226, 0.5);
}
.recall-specimen .recall-fragment {
  margin-top: 14px;
  padding: 0;
}
.recall-legend {
  list-style: none;
  margin-top: 26px !important;
  border-top: 1px solid rgba(232, 196, 140, 0.16);
}
.recall-legend li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid rgba(232, 196, 140, 0.16);
}
.recall-legend b {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240, 206, 156, 0.92);
}
.recall-legend span {
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(244, 236, 226, 0.8);
}
.recall-specimen-note {
  margin-top: 20px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(236, 224, 208, 0.6);
}

/* ---------- Patterns: three mornings, one word ---------- */

.recall-pattern-list {
  list-style: none;
  margin-top: 18px !important;
  border-top: 1px solid rgba(232, 196, 140, 0.16);
}
.recall-pattern-list li {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid rgba(232, 196, 140, 0.16);
}
.recall-pattern-day {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 238, 226, 0.5);
}
.recall-pattern .recall-fragment { font-size: clamp(1.1rem, 2vw, 1.28rem); }
.recall-pattern .recall-fragment em {
  font-style: italic;
  font-weight: 300;
  color: #fff;
  background: linear-gradient(180deg, transparent 62%, rgba(232, 196, 140, 0.3) 62%);
  padding: 0 0.1em;
}
.recall-after { margin-top: 44px; }

/* ---------- Continue the practice: the real Dream Log ---------- */

.recall-continue {
  display: grid;
  gap: 40px;
  align-items: center;
  margin-top: clamp(72px, 11vh, 120px);
}
.recall-continue--right { grid-template-columns: minmax(0, 1fr) 300px; }
.recall-continue--left { grid-template-columns: 300px minmax(0, 1fr); }
.recall-continue-copy {
  max-width: 40ch;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(240, 230, 216, 0.78);
}
.recall-continue .learn-link { margin-top: 22px; }
.recall-ui-wrap::before {
  background: radial-gradient(ellipse 50% 46% at 50% 48%, rgba(232, 168, 108, 0.14) 0%, rgba(232, 168, 108, 0.05) 52%, transparent 74%);
}
.recall-ui-wrap .learn-ui {
  -webkit-mask-image:
    linear-gradient(180deg, transparent 0%, #000 9%, #000 90%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
  mask-image:
    linear-gradient(180deg, transparent 0%, #000 9%, #000 90%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
}
@media (min-width: 1000px) {
  .recall-continue--right { margin-right: -30px; }
  .recall-continue--left { margin-left: -30px; }
}

/* ---------- Plates, closing line ---------- */

.recall-plate img { filter: sepia(0.3) saturate(0.9); }
.recall-plate--close { margin-top: clamp(40px, 8vh, 90px); }

.recall-remains {
  margin-top: clamp(56px, 9vh, 88px) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: rgba(244, 214, 170, 0.94);
}

/* ---------- Epilogue ---------- */

.recall-epilogue-line {
  max-width: 46ch;
  margin: 26px auto 0 auto !important;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(236, 224, 208, 0.66);
}
.recall-cycle {
  max-width: 46ch;
  margin: clamp(64px, 10vh, 100px) auto 0 auto !important;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(236, 224, 208, 0.52);
}
.recall-cycle + .learn-next { margin-top: 28px; }

/* ---------- Recall responsive ---------- */

@media (max-width: 900px) {
  .learn--recall .learn-open-art { height: 52%; }
  .learn--recall .learn-open-art img { opacity: 0.4; }
}
@media (max-width: 720px) {
  .learn-open--recall { min-height: 0; }
  .recall-continue--right,
  .recall-continue--left {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    margin-left: 0;
    margin-right: 0;
  }
  .recall-continue--left > :first-child { order: 2; }
  .recall-continue--left > :last-child { order: 1; }
  .recall-ui-wrap { max-width: 284px; }
  .recall-legend li { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; }
  .recall-pattern-list li { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 380px) {
  .recall-legend li,
  .recall-pattern-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
