@charset "UTF-8";
/* Mirie-Marie — tokens.css + components.css + site.css (combined for the example) */
:root, [data-theme="cream"] {
  --brand-espresso: #3d0f1e;
  --brand-burgundy: #7a1f3d;
  --brand-terracotta: #b86542;
  --brand-amber: #d99a58;
  --brand-cream: #f5e8d5;
  --brand-olive: #77755a;
  --brand-dusk: #7a4a5a;
  --surface-page: #f5e8d5;
  --surface-raised: #fbf4ea;
  --surface-sunken: #eadbc4;
  --surface-inverse: #3d0f1e;
  --text-primary: #3d0f1e;
  --text-muted: #6e4752;
  --text-inverse: #f5e8d5;
  --text-terracotta: #9a4e30;
  --text-olive: #5e5c45;
  --text-link: #7a1f3d;
  --action-primary: #7a1f3d;
  --action-primary-hover: #5a1530;
  --action-on-primary: #f5e8d5;
  --action-secondary-border: #3d0f1e;
  --line-hairline: rgba(61, 15, 30, 0.18);
  --line-control: #8a7062;
  --focus-ring: #7a1f3d;
  --glow-amber: rgba(217, 154, 88, 0.28);
  --overlay-film: rgba(61, 15, 30, 0.55);
  --pillar-me: #d99a58;
  --pillar-mud: #77755a;
  --pillar-be: #b86542;
  --pillar-orbit: #7a1f3d;
  --pillar-hum: #7a4a5a;
  --status-error: #9b2c22;
  --status-success: #4f5a2e;
  --shadow-glow: 0 30px 80px -30px rgba(184, 101, 66, 0.45);
}

[data-theme="espresso"] {
  --surface-page: #47122a;
  --surface-raised: #5c1a35;
  --surface-sunken: #330b1c;
  --surface-inverse: #f5e8d5;
  --text-primary: #f5e8d5;
  --text-muted: #cdb8a2;
  --text-inverse: #3d0f1e;
  --text-terracotta: #e3a27e;
  --text-olive: #bdbb9c;
  --text-link: #e8b87f;
  --action-primary: #d99a58;
  --action-primary-hover: #e8b87f;
  --action-on-primary: #3d0f1e;
  --action-secondary-border: #f5e8d5;
  --line-hairline: rgba(245, 232, 213, 0.18);
  --line-control: #a38c79;
  --focus-ring: #e8b87f;
  --glow-amber: rgba(217, 154, 88, 0.22);
  --overlay-film: rgba(46, 10, 24, 0.6);
  --status-error: #f0a08f;
  --status-success: #c3cf96;
  --shadow-glow: 0 30px 90px -30px rgba(217, 154, 88, 0.45);
}

:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 160px;
  --radius-none: 0px;
  --radius-sm: 2px;
  --radius-md: 8px;
  --radius-arch: 999px;
  --radius-full: 9999px;
  --measure-text: 68ch;
  --measure-lede: 56ch;
  --container-max: 1200px;
  --container-wide: 1440px;
  --font-serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --font-sans: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --font-script: "Caveat", "Segoe Script", cursive;
}


/* Mirie-Marie components. Plain CSS on top of tokens.css: no framework needed.
   Class prefix: mm-  */

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
a { color: var(--text-link); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; display: block; }

/* ---------- Section heading: eyebrow + serif title + hairline ---------- */
.mm-eyebrow {
  font-family: var(--font-sans); font-size: 12px; font-weight: 500; line-height: 1.4;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-terracotta);
  margin: 0 0 var(--space-2);
}
.mm-title {
  font-family: var(--font-serif); font-weight: 500; line-height: 1.08;
  font-size: clamp(2rem, 2.5vw + 1rem, 2.75rem); margin: 0; color: var(--text-primary);
}
.mm-title em { font-style: italic; font-weight: 400; }
.mm-rule { width: 48px; height: 1px; border: 0; background: var(--brand-terracotta); margin: var(--space-5) 0; }
.mm-heading--center { text-align: center; }
.mm-heading--center .mm-rule { margin-inline: auto; }
.mm-lede {
  font-family: var(--font-sans); font-weight: 300; font-size: 20px; line-height: 1.6;
  color: var(--text-muted); max-width: var(--measure-lede); margin: 0;
}
.mm-heading--center .mm-lede { margin-inline: auto; }

/* ---------- Buttons ---------- */
.mm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 14px 28px;
  font-family: var(--font-sans); font-size: 15px; font-weight: 500; letter-spacing: 0.08em; line-height: 1;
  border-radius: var(--radius-sm); border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.mm-btn--primary { background: var(--action-primary); color: var(--action-on-primary); }
.mm-btn--primary:hover { background: var(--action-primary-hover); }
.mm-btn--secondary { background: transparent; color: var(--action-secondary-border); border-color: var(--action-secondary-border); }
.mm-btn--secondary:hover { background: var(--action-secondary-border); color: var(--surface-page); }
.mm-btn--text {
  background: none; padding-inline: 0; min-height: 44px; color: var(--text-link);
  text-decoration: underline; text-underline-offset: 0.35em; text-decoration-thickness: 1px;
}
.mm-btn--text::after { content: "→"; text-decoration: none; display: inline-block; transition: transform .25s ease; }
.mm-btn--text:hover::after { transform: translateX(4px); }
.mm-btn[disabled] { opacity: .45; cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) { .mm-btn, .mm-btn--text::after { transition: none; } }

/* ---------- Navigation ---------- */
.mm-nav {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-5);
  padding: var(--space-4) var(--space-5); background: var(--surface-page);
  border-bottom: 1px solid var(--line-hairline);
}
.mm-wordmark {
  font-family: var(--font-serif); font-size: 26px; font-weight: 500; line-height: 1;
  color: var(--text-primary); text-decoration: none; letter-spacing: 0.01em; white-space: nowrap;
}
.mm-wordmark span { color: var(--brand-terracotta); }
.mm-nav__links { display: flex; gap: var(--space-6); list-style: none; margin: 0; padding: 0; }
.mm-nav__links a {
  font-family: var(--font-sans); font-size: 14px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-primary); text-decoration: none; padding-block: var(--space-2);
  border-bottom: 1px solid transparent;
}
.mm-nav__links a:hover, .mm-nav__links a[aria-current="page"] { border-bottom-color: var(--brand-terracotta); }
.mm-nav__toggle { display: none; }
@media (max-width: 860px) {
  .mm-nav__links { display: none; }
  .mm-nav__toggle {
    display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center;
    background: none; border: 1px solid var(--line-control); border-radius: var(--radius-sm);
    color: var(--text-primary); font: 500 14px/1 var(--font-sans); letter-spacing: .12em; padding: 0 14px;
  }
  .mm-nav .mm-btn { display: none; }
}

/* ---------- Hero (cinematic) ---------- */
.mm-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(88vh, 760px); display: grid; place-items: center; text-align: center;
  padding: var(--space-9) var(--space-5); color: #f5e8d5; background: #3d0f1e;
}
.mm-hero__media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.mm-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 50% 45%, rgba(43,27,24,.35), rgba(43,27,24,.78) 100%),
    linear-gradient(rgba(31,19,16,.35), rgba(31,19,16,.6));
}
.mm-hero__inner { max-width: 760px; }
.mm-hero .mm-eyebrow { color: #e8b87f; }
.mm-hero__title {
  font-family: var(--font-serif); font-weight: 500; line-height: .95; letter-spacing: -0.01em;
  font-size: clamp(3rem, 7vw + 1rem, 5.5rem); margin: 0;
}
.mm-hero__title em { font-style: italic; font-weight: 400; color: #e8b87f; }
.mm-hero__lede { font: 300 20px/1.6 var(--font-sans); color: #ead9c3; max-width: 52ch; margin: var(--space-5) auto var(--space-6); }
.mm-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; }
.mm-hero .mm-btn--primary { background: #d99a58; color: #3d0f1e; }
.mm-hero .mm-btn--primary:hover { background: #e8b87f; }
.mm-hero .mm-btn--secondary { color: #f5e8d5; border-color: #f5e8d5; }
.mm-hero .mm-btn--secondary:hover { background: #f5e8d5; color: #3d0f1e; }
.mm-moon { display: block; margin: var(--space-5) auto; width: 28px; height: 28px; color: #e8b87f; }

/* ---------- Pillar card (arch) ---------- */
.mm-pillars { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.mm-pillar {
  --pillar: var(--pillar-me);
  display: flex; flex-direction: column; background: var(--surface-raised);
  border-radius: var(--radius-arch) var(--radius-arch) var(--radius-md) var(--radius-md);
  overflow: hidden; border: 1px solid var(--line-hairline);
}
.mm-pillar__arch {
  aspect-ratio: 4 / 3.4; display: grid; place-items: end center; padding-bottom: var(--space-4);
  background: radial-gradient(ellipse 80% 70% at 50% 100%, var(--pillar), transparent 75%), var(--surface-sunken);
  position: relative;
}
.mm-pillar__arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mm-pillar__mark {
  position: relative; font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: 44px; line-height: 1; color: var(--text-primary);
}
.mm-pillar__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.mm-pillar__name { font: 500 12px/1.4 var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--text-terracotta); margin: 0; }
.mm-pillar__verb { font-family: var(--font-serif); font-size: 24px; font-weight: 600; line-height: 1.15; margin: 0; }
.mm-pillar__text { font-size: 15px; line-height: 1.55; color: var(--text-muted); margin: 0; }
.mm-pillar__swatch { height: 3px; width: 32px; background: var(--pillar); border-radius: 2px; }
.mm-pillar--me { --pillar: var(--pillar-me); }
.mm-pillar--mud { --pillar: var(--pillar-mud); }
.mm-pillar--be { --pillar: var(--pillar-be); }
.mm-pillar--orbit { --pillar: var(--pillar-orbit); }
.mm-pillar--hum { --pillar: var(--pillar-hum); }

/* ---------- Offer card ---------- */
.mm-offer {
  background: var(--surface-raised); border: 1px solid var(--line-hairline); border-radius: var(--radius-md);
  padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); max-width: 440px;
}
.mm-offer--featured { box-shadow: var(--shadow-glow); border-color: var(--brand-terracotta); }
.mm-offer__title { font-family: var(--font-serif); font-size: 30px; font-weight: 600; line-height: 1.15; margin: 0; }
.mm-offer__meta { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); font-size: 15px; color: var(--text-muted); margin: 0; padding: 0; list-style: none; }
.mm-offer__price { font-family: var(--font-serif); font-size: 36px; font-weight: 500; line-height: 1; margin: 0; }
.mm-offer__price small { font: 400 15px/1 var(--font-sans); color: var(--text-muted); }
.mm-offer__list { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-2); font-size: 15px; }
.mm-offer__list li { padding-left: 22px; position: relative; }
.mm-offer__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 1px; background: var(--brand-terracotta); }

/* ---------- Quote / guiding question ---------- */
.mm-quote { margin: 0; padding: var(--space-6) 0; border-top: 1px solid var(--line-hairline); border-bottom: 1px solid var(--line-hairline); text-align: center; }
.mm-quote p { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.5rem, 1.2vw + 1rem, 1.85rem); line-height: 1.3; margin: 0 auto; max-width: 30ch; }
.mm-quote footer { margin-top: var(--space-4); font: 500 12px/1.4 var(--font-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--text-muted); }

/* ---------- Journey steps ---------- */
.mm-journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); counter-reset: step; }
.mm-journey li { text-align: center; position: relative; }
.mm-journey li:not(:last-child)::after {
  content: ""; position: absolute; top: 36px; left: calc(50% + 44px); right: calc(-50% + 44px);
  height: 1px; background: var(--line-hairline);
}
.mm-journey__dot {
  width: 72px; height: 72px; margin: 0 auto var(--space-3); border-radius: var(--radius-full);
  border: 1px solid var(--brand-terracotta); display: grid; place-items: center;
  font-family: var(--font-serif); font-style: italic; font-size: 22px; color: var(--text-primary);
}
.mm-journey__verb { font: 500 12px/1.4 var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--text-terracotta); margin: 0 0 var(--space-1); }
.mm-journey__text { font-size: 15px; line-height: 1.5; color: var(--text-muted); margin: 0; }
@media (max-width: 760px) {
  .mm-journey { grid-template-columns: 1fr; text-align: left; }
  .mm-journey li { display: grid; grid-template-columns: 56px 1fr; gap: 0 var(--space-4); text-align: left; }
  .mm-journey li::after { display: none; }
  .mm-journey__dot { width: 56px; height: 56px; margin: 0; grid-row: span 2; font-size: 18px; }
}

/* ---------- Form ---------- */
.mm-form { display: grid; gap: var(--space-5); max-width: 520px; }
.mm-field { display: grid; gap: var(--space-2); }
.mm-label { font: 500 15px/1.4 var(--font-sans); color: var(--text-primary); }
.mm-hint { font-size: 14px; line-height: 1.5; color: var(--text-muted); margin: 0; }
.mm-input, .mm-textarea, .mm-select {
  width: 100%; min-height: 48px; padding: 12px 14px; font: 400 17px/1.5 var(--font-sans);
  color: var(--text-primary); background: var(--surface-raised);
  border: 1px solid var(--line-control); border-radius: var(--radius-sm);
}
.mm-textarea { min-height: 140px; resize: vertical; }
.mm-input:focus-visible, .mm-textarea:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 1px; }
.mm-field--error .mm-input { border-color: var(--status-error); }
.mm-error { font-size: 14px; color: var(--status-error); margin: 0; display: flex; gap: var(--space-1); }
.mm-check { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 15px; line-height: 1.5; }
.mm-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--action-primary); flex: none; }

/* ---------- Footer ---------- */
.mm-footer { background: var(--surface-sunken); padding: var(--space-8) var(--space-5) var(--space-6); font-size: 15px; color: var(--text-muted); }
.mm-footer__grid { display: grid; gap: var(--space-6); grid-template-columns: 2fr 1fr 1fr; max-width: var(--container-max); margin: 0 auto; }
.mm-footer h2 { font: 500 12px/1.4 var(--font-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--text-primary); margin: 0 0 var(--space-3); }
.mm-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.mm-footer a { color: var(--text-primary); }
.mm-footer__legal { max-width: var(--container-max); margin: var(--space-7) auto 0; padding-top: var(--space-5); border-top: 1px solid var(--line-hairline); font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); }
@media (max-width: 760px) { .mm-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Layout helpers ---------- */
.mm-section { padding: var(--space-8) var(--space-4); }
@media (min-width: 900px) { .mm-section { padding: var(--space-9) var(--space-7); } }
.mm-section--sunken { background: var(--surface-sunken); }
.mm-section--inverse { background: var(--surface-inverse); color: var(--text-inverse); }
.mm-container { max-width: var(--container-max); margin: 0 auto; }
section[data-theme], div[data-theme] { background: var(--surface-page); color: var(--text-primary); }
.mm-prose { max-width: var(--measure-text); }
.mm-script { font-family: var(--font-script); font-size: 34px; line-height: 1.1; font-weight: 500; color: var(--text-terracotta); }

/* ---------- site.css: page-specific, tokens only ---------- */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--surface-raised); padding: var(--space-3) var(--space-4); }
.skip:focus { left: 8px; }

.draft-bar {
  background: var(--surface-sunken); color: var(--text-muted); font-size: 13px; line-height: 1.4;
  text-align: center; padding: var(--space-2) var(--space-4); border-bottom: 1px solid var(--line-hairline);
}
.draft-bar strong { color: var(--text-primary); font-weight: 500; }

header.site { position: sticky; top: 0; z-index: 50; }
.mm-nav { max-width: none; }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 60; display: none; flex-direction: column; justify-content: space-between;
  padding: var(--space-5); background: var(--surface-page); color: var(--text-primary);
}
.menu[data-open="true"] { display: flex; }
.menu__top { display: flex; justify-content: space-between; align-items: center; }
.menu ul { list-style: none; margin: var(--space-8) 0 auto; padding: 0; display: grid; gap: var(--space-5); }
.menu ul a { font-family: var(--font-serif); font-size: 36px; line-height: 1.1; color: var(--text-primary); text-decoration: none; }
.menu .mm-btn { width: 100%; }
.menu__close {
  min-width: 44px; min-height: 44px; background: none; border: 1px solid var(--line-control); border-radius: var(--radius-sm);
  color: var(--text-primary); font: 500 14px/1 var(--font-sans); letter-spacing: .12em; padding: 0 14px; cursor: pointer;
}
.mm-moon--inline { display: inline-block; margin: 0; vertical-align: middle; color: var(--brand-amber); }

/* photo placeholder (replace with <img>) */
.ph {
  position: relative; display: grid; place-items: end start; padding: var(--space-4);
  background:
    radial-gradient(ellipse 70% 60% at 30% 35%, rgba(232,184,127,.55), transparent 60%),
    radial-gradient(ellipse 80% 70% at 75% 90%, rgba(184,101,66,.6), transparent 65%),
    linear-gradient(160deg, #6a1f3a, #3d0f1e 70%);
  color: #f5e8d5;
}
.ph span {
  font: 500 11px/1.4 var(--font-sans); letter-spacing: .14em; text-transform: uppercase;
  background: rgba(31,19,16,.7); padding: 6px 10px; border-radius: var(--radius-sm);
}
.mm-hero__media { object-position: 50% 64%; filter: sepia(.5) saturate(1.25) contrast(1.06) brightness(.95); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.ph-label { position: absolute; left: var(--space-5); bottom: var(--space-5); z-index: 1; font: 500 11px/1.4 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; background: rgba(31,19,16,.8); color: #f5e8d5; padding: 6px 10px; border-radius: var(--radius-sm); }
@media (max-width: 560px) { .ph-label { left: var(--space-3); right: var(--space-3); bottom: var(--space-3); } }

/* recognition */
.signs { display: grid; gap: var(--space-5); margin-top: var(--space-7); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.sign { border-top: 1px solid var(--line-hairline); padding-top: var(--space-5); }
.sign__no { font-family: var(--font-serif); font-style: italic; font-size: 22px; color: var(--text-terracotta); display: block; margin-bottom: var(--space-2); }
.sign p { margin: 0; font-family: var(--font-serif); font-size: 24px; line-height: 1.3; font-weight: 500; }
.after-signs { margin-top: var(--space-7); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); }

/* programme split */
.split { display: grid; gap: var(--space-7); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.15fr 1fr; gap: var(--space-9); } }
.how { list-style: none; padding: 0; margin: var(--space-6) 0 0; display: grid; gap: var(--space-5); }
.how li { display: grid; grid-template-columns: 40px 1fr; gap: var(--space-4); }
.how__n { font-family: var(--font-serif); font-size: 28px; line-height: 1; color: var(--text-terracotta); }
.how h3 { font-family: var(--font-serif); font-size: 24px; font-weight: 600; line-height: 1.2; margin: 0 0 var(--space-1); }
.how p { margin: 0; color: var(--text-muted); }
.offer-wrap { display: grid; justify-items: center; }
@media (min-width: 900px) { .offer-wrap { justify-items: end; position: sticky; top: 120px; } }

/* constellations band */
.const-head { margin-bottom: var(--space-8); }
.const-note { text-align: center; margin: var(--space-7) auto 0; max-width: 56ch; color: var(--text-muted); font-size: 15px; }
.journey-wrap { margin-top: var(--space-9); padding-top: var(--space-8); border-top: 1px solid var(--line-hairline); }
.journey-wrap .mm-heading--center { margin-bottom: var(--space-7); }

/* about */
.about { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 0.85fr 1.15fr; gap: var(--space-9); } }
.portrait {
  aspect-ratio: 4 / 5; border-radius: var(--radius-arch) var(--radius-arch) 0 0; overflow: hidden;
  box-shadow: var(--shadow-glow); max-width: 440px; width: 100%; justify-self: center;
}
.about .mm-script { display: block; margin-bottom: var(--space-3); }
.about p { max-width: var(--measure-text); }
.creds { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); list-style: none; padding: 0; margin: var(--space-5) 0 var(--space-6); font-size: 15px; color: var(--text-muted); }
.creds li::before { content: "✦ "; color: var(--brand-terracotta); }

/* contact */
.contact { display: grid; gap: var(--space-8); }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; gap: var(--space-9); } }
.steps { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: grid; gap: var(--space-4); }
.steps li { display: grid; grid-template-columns: 32px 1fr; gap: var(--space-3); }
.steps b { font-family: var(--font-serif); font-size: 22px; font-weight: 500; color: var(--text-terracotta); line-height: 1.2; }
.form-done { display: none; padding: var(--space-6); background: var(--surface-raised); border: 1px solid var(--line-hairline); border-radius: var(--radius-md); }
.form-done h3 { font-family: var(--font-serif); font-size: 30px; font-weight: 500; margin: 0 0 var(--space-2); }
.disclaimer { font-size: 14px; color: var(--text-muted); max-width: var(--container-max); margin: var(--space-5) auto 0; }

/* reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease-out, transform .6s ease-out; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- About page ---------- */
.intro { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 900px) { .intro { grid-template-columns: 1.1fr .9fr; gap: var(--space-9); } }
.intro h1 { font-family: var(--font-serif); font-weight: 500; line-height: 1.04; font-size: clamp(2.5rem, 4vw + 1rem, 3.75rem); margin: 0; }
.intro h1 em { font-style: italic; font-weight: 400; color: var(--text-terracotta); }
.arch-img { border-radius: var(--radius-arch) var(--radius-arch) 0 0; overflow: hidden; box-shadow: var(--shadow-glow); width: 100%; max-width: 440px; justify-self: center; aspect-ratio: 4 / 5; }
.arch-img img, .photo img { width: 100%; height: 100%; object-fit: cover; }
.photo { overflow: hidden; }
.photo--tall { aspect-ratio: 3 / 4; }
.photo--sepia img { filter: sepia(.55) saturate(1.2) contrast(1.05); }
.caption { font-size: 14px; color: var(--text-muted); margin-top: var(--space-2); }

.chapter { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 900px) {
  .chapter { grid-template-columns: 1fr 1fr; gap: var(--space-9); }
  .chapter--flip > :first-child { order: 2; }
}
.chapter__no { display: block; font-family: var(--font-serif); font-style: italic; font-size: 22px; color: var(--text-terracotta); margin-bottom: var(--space-2); }
.chapter p { max-width: var(--measure-text); }
.pair { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-4); align-items: end; }
.pair .photo:last-child { margin-bottom: var(--space-8); }

.statement { text-align: center; max-width: 820px; margin: 0 auto; }
.statement p.big { font-family: var(--font-serif); font-size: clamp(1.6rem, 1.6vw + 1rem, 2.25rem); line-height: 1.3; margin: 0; }
.statement p.big em { color: var(--text-terracotta); }

.method { list-style: none; margin: var(--space-8) 0 0; padding: 0; display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: none; }
.method li { border-top: 1px solid var(--line-hairline); padding-top: var(--space-5); }
.method__letter { font-family: var(--font-serif); font-size: 64px; line-height: .9; font-weight: 500; color: var(--brand-terracotta); display: block; }
.method h3 { font-family: var(--font-serif); font-size: 26px; font-weight: 600; line-height: 1.2; margin: var(--space-2) 0 var(--space-2); }
.method p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.origin { display: grid; gap: var(--space-7); }
@media (min-width: 900px) { .origin { grid-template-columns: 1fr 1fr; gap: var(--space-9); } }

.values { list-style: none; padding: 0; margin: var(--space-6) 0 0; display: grid; gap: 0 var(--space-6); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.values li { font-family: var(--font-serif); font-size: 22px; line-height: 1.3; padding: var(--space-3) 0; border-bottom: 1px solid var(--line-hairline); }
.values li span { font-style: italic; color: var(--text-muted); font-weight: 400; }

.facts { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: var(--space-6); }
.fact { background: var(--surface-raised); border: 1px solid var(--line-hairline); border-radius: var(--radius-md); padding: var(--space-5); }
.fact strong { display: block; font-family: var(--font-serif); font-size: 26px; font-weight: 600; line-height: 1.15; margin-bottom: var(--space-1); }
.fact p { margin: 0; font-size: 15px; color: var(--text-muted); }
.cta-band { text-align: center; }
.cta-band .mm-hero__actions { margin-top: var(--space-6); }

/* ===================== v2: multi-page site ===================== */
.mm-nav__links { gap: var(--space-5); align-items: center; }
.mm-nav__links li { position: relative; }
.mm-nav__links a, .sub-toggle { font-size: 13px; }
.sub-toggle {
  background: none; border: 0; padding: var(--space-2) 0; cursor: pointer; color: var(--text-primary);
  font-family: var(--font-sans); font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid transparent;
}
.sub-toggle[aria-current="page"] { border-bottom-color: var(--brand-terracotta); }
.sub-toggle svg { transition: transform .2s; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu {
  position: absolute; top: calc(100% + 10px); left: -16px; min-width: 280px; z-index: 70;
  list-style: none; margin: 0; padding: var(--space-3); background: var(--surface-raised);
  border: 1px solid var(--line-hairline); border-radius: var(--radius-md); box-shadow: var(--shadow-glow);
  display: none;
}
.submenu[data-open="true"] { display: grid; gap: 2px; }
.submenu a {
  display: grid; grid-template-columns: 64px 1fr; align-items: baseline; gap: var(--space-2);
  padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); text-transform: none !important;
  letter-spacing: 0 !important; font-size: 15px !important; border-bottom: 0 !important;
}
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--surface-sunken); }
.submenu .mk { font-family: var(--font-serif); font-style: italic; font-size: 19px; color: var(--text-terracotta); }
.submenu .ov { grid-template-columns: 1fr; font-weight: 500; border-bottom: 1px solid var(--line-hairline) !important; border-radius: 0; margin-bottom: 4px; }
@media (max-width: 1080px) {
  .mm-nav__links { display: none; }
  .mm-nav .mm-btn { display: none; }
  .mm-nav__toggle {
    display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center;
    background: none; border: 1px solid var(--line-control); border-radius: var(--radius-sm);
    color: var(--text-primary); font: 500 14px/1 var(--font-sans); letter-spacing: .12em; padding: 0 14px;
  }
}
.menu { overflow-y: auto; }
.menu ul { margin-top: var(--space-6); gap: var(--space-3); }
.menu ul a { font-size: 30px; }
.menu ul ul { margin: var(--space-2) 0 var(--space-2) var(--space-4); gap: var(--space-2); }
.menu ul ul a { font-size: 20px; font-style: italic; }
.menu .mm-btn { margin-top: var(--space-6); }

/* inner page hero */
.page-hero { padding: var(--space-9) var(--space-4) var(--space-8); text-align: center; }
.page-hero h1 { font-family: var(--font-serif); font-weight: 500; line-height: 1.04; font-size: clamp(2.5rem, 4vw + 1rem, 3.75rem); margin: 0; }
.page-hero h1 em { font-style: italic; font-weight: 400; color: var(--text-terracotta); }
.page-hero .mm-lede { margin: var(--space-5) auto 0; }
.page-hero .mm-hero__actions { margin-top: var(--space-6); }
.breadcrumb { font-size: 14px; margin-bottom: var(--space-5); color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }

/* badges */
.badge { display: inline-block; font: 500 11px/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; border: 1px solid currentColor; }
.badge--open { color: var(--status-success); }
.badge--soon { color: var(--text-terracotta); }
.badge--dev { color: var(--text-muted); }

/* grid helpers */
.grid-2, .grid-3 { display: grid; gap: var(--space-5); }
@media (min-width: 760px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.stack > * + * { margin-top: var(--space-4); }
.prose { max-width: var(--measure-text); }
.prose h2 { font-family: var(--font-serif); font-weight: 500; font-size: 32px; line-height: 1.15; margin: var(--space-8) 0 var(--space-3); }
.prose h3 { font-family: var(--font-serif); font-weight: 600; font-size: 24px; margin: var(--space-6) 0 var(--space-2); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: var(--space-2); }
.review { background: var(--surface-sunken); border-left: 3px solid var(--brand-terracotta); padding: var(--space-3) var(--space-4); font-size: 15px; }

/* service / experience / article cards */
.card {
  background: var(--surface-raised); border: 1px solid var(--line-hairline); border-radius: var(--radius-md);
  padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3);
}
.card h3 { font-family: var(--font-serif); font-size: 28px; font-weight: 600; line-height: 1.15; margin: 0; }
.card .meta { display: grid; grid-template-columns: max-content 1fr; gap: 6px var(--space-4); font-size: 15px; margin: var(--space-2) 0; }
.card .meta dt { color: var(--text-muted); }
.card .meta dd { margin: 0; }
.card p { margin: 0; }
.card .card__foot { margin-top: auto; padding-top: var(--space-3); }
.card--featured { border-color: var(--brand-terracotta); box-shadow: var(--shadow-glow); }
.tag { font: 500 12px/1.4 var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--text-terracotta); }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }
.filters button {
  min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-control);
  background: none; color: var(--text-primary); font: 500 14px/1 var(--font-sans); cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--action-primary); color: var(--action-on-primary); border-color: var(--action-primary); }

/* FAQ */
.faq { border-top: 1px solid var(--line-hairline); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line-hairline); }
.faq summary {
  cursor: pointer; list-style: none; padding: var(--space-4) 40px var(--space-4) 0; position: relative;
  font-family: var(--font-serif); font-size: 22px; font-weight: 500; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--font-sans); font-size: 24px; color: var(--text-terracotta); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 var(--space-5); max-width: var(--measure-text); }

/* weeks */
.weeks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .weeks { grid-template-columns: repeat(4, 1fr); } }
.weeks li { border-top: 2px solid var(--brand-terracotta); padding-top: var(--space-4); }
.weeks .wk { font: 500 12px/1.4 var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--text-terracotta); }
.weeks h3 { font-family: var(--font-serif); font-size: 28px; font-weight: 500; margin: var(--space-1) 0 var(--space-2); }
.weeks p { margin: 0; font-size: 15px; color: var(--text-muted); }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: "✦"; position: absolute; left: 0; color: var(--brand-terracotta); }
.crosses li::before { content: "—"; }

/* constellation pages */
.c-hero { text-align: center; padding: var(--space-9) var(--space-4) var(--space-8); position: relative; overflow: hidden; }
.c-hero::before { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; background: radial-gradient(ellipse 50% 50% at 50% 50%, var(--pillar), transparent 70%); opacity: .55; z-index: 0; }
.c-hero > * { position: relative; }
.c-mark { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: clamp(4rem, 10vw, 7.5rem); line-height: 1; margin: 0; }
.c-name { font: 500 13px/1.4 var(--font-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--text-terracotta); margin: var(--space-3) 0 0; }
.c-question { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.4rem, 1.4vw + 1rem, 2rem); max-width: 30ch; margin: var(--space-6) auto 0; line-height: 1.3; }
.c-symbol { width: 56px; height: 56px; color: var(--brand-amber); margin: 0 auto var(--space-4); display: block; }
.prompt-box { background: var(--surface-raised); border: 1px solid var(--line-hairline); border-radius: var(--radius-md); padding: var(--space-6); }
.prompt-box .mm-textarea { margin-top: var(--space-3); }
.c-nav { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; border-top: 1px solid var(--line-hairline); padding-top: var(--space-5); margin-top: var(--space-8); }
a.mm-pillar { text-decoration: none; color: inherit; transition: transform .25s ease, border-color .25s; }
a.mm-pillar:hover { transform: translateY(-4px); border-color: var(--brand-terracotta); }
a.mm-pillar .more { font: 500 13px/1 var(--font-sans); letter-spacing: .08em; color: var(--text-link); margin-top: auto; padding-top: var(--space-3); }
@media (prefers-reduced-motion: reduce) { a.mm-pillar, a.mm-pillar:hover { transition: none; transform: none; } }

/* form status */
.form-status { padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); border: 1px solid var(--line-hairline); background: var(--surface-raised); }
.form-status strong { display: block; font-family: var(--font-serif); font-size: 22px; font-weight: 600; margin-bottom: 4px; }
.mm-select { appearance: auto; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font: 500 15px/1.4 var(--font-sans); margin-bottom: var(--space-2); }
.radios { display: grid; gap: var(--space-2); }
.signup { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: end; }
.signup .mm-field { flex: 1 1 240px; }

/* footer v2 */
.mm-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; }
@media (max-width: 960px) { .mm-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .mm-footer__grid { grid-template-columns: 1fr; } }
.mm-footer .signup .mm-input { min-height: 44px; }
.mm-footer .mm-btn { min-height: 44px; padding: 10px 18px; }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }

/* ===================== Constellation navigator ===================== */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
.c-mark { view-transition-name: c-mark; }
.c-map { view-transition-name: c-map; }
.c-question { view-transition-name: c-question; }
::view-transition-old(c-mark), ::view-transition-new(c-mark) { animation-duration: .45s; }

.c-hero { min-height: min(92vh, 820px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: var(--space-7); }
.c-hero::before {
  inset: 0; height: auto;
  background: radial-gradient(ellipse 55% 45% at var(--mx, 50%) var(--my, 95%), var(--pillar), transparent 72%);
  transition: background-position .3s;
}
.c-stars {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #f5e8d5 50%, transparent 51%), radial-gradient(1px 1px at 28% 72%, #f5e8d5 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 12%, #e8b87f 50%, transparent 51%), radial-gradient(1px 1px at 63% 64%, #f5e8d5 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 22%, #f5e8d5 50%, transparent 51%), radial-gradient(1.5px 1.5px at 91% 78%, #e8b87f 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 52%, #f5e8d5 50%, transparent 51%), radial-gradient(1px 1px at 52% 88%, #f5e8d5 50%, transparent 51%);
  background-size: 420px 300px;
  animation: twinkle 7s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .3; } to { opacity: .7; } }
@media (prefers-reduced-motion: reduce) { .c-stars { animation: none; } }

/* star map */
.c-map { position: relative; width: min(640px, 100%); height: 132px; margin: 0 auto var(--space-5); }
.c-map__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.c-map__lines polyline { fill: none; stroke: rgba(245, 232, 213, .28); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 3 4; }
.c-map ol { list-style: none; margin: 0; padding: 0; }
.c-map li { position: absolute; transform: translate(-50%, -50%); }
.c-star {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: #cdb8a2;
  min-width: 56px; min-height: 48px; padding: 6px; border-radius: var(--radius-md);
}
.c-star__dot { width: 10px; height: 10px; border-radius: 50%; background: #a38c79; box-shadow: 0 0 0 4px rgba(245, 232, 213, .06); transition: transform .3s, background .3s, box-shadow .3s; }
.c-star__mark { font-family: var(--font-serif); font-style: italic; font-size: 19px; line-height: 1; }
.c-star__name {
  position: absolute; top: calc(100% + 2px); left: 50%; transform: translateX(-50%); white-space: nowrap;
  font: 500 11px/1.3 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: #e8b87f;
  background: rgba(46, 10, 24, .92); padding: 5px 8px; border-radius: var(--radius-sm);
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.c-star:hover .c-star__name, .c-star:focus-visible .c-star__name { opacity: 1; }
.c-star:hover .c-star__dot, .c-star:focus-visible .c-star__dot { transform: scale(1.4); background: #f5e8d5; }
.c-star.is-explored .c-star__dot { background: #d99a58; box-shadow: 0 0 10px 2px rgba(217, 154, 88, .45); }
.c-star.is-explored { color: #f5e8d5; }
.c-star[aria-current="page"] { color: #f5e8d5; }
.c-star[aria-current="page"] .c-star__dot {
  width: 16px; height: 16px; background: #f5e8d5;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--pillar) 45%, transparent), 0 0 24px 6px var(--pillar);
  animation: pulse 2.8s ease-in-out infinite;
}
.c-star[aria-current="page"] .c-star__mark { font-weight: 600; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--pillar) 25%, transparent), 0 0 32px 10px var(--pillar); } }
@media (prefers-reduced-motion: reduce) { .c-star[aria-current="page"] .c-star__dot { animation: none; } .c-star__dot { transition: none; } }

/* arrows */
.c-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  display: flex; align-items: center; gap: var(--space-2); text-decoration: none; color: #f5e8d5;
  min-width: 48px; min-height: 48px; padding: 0 var(--space-3); border-radius: 999px;
  border: 1px solid rgba(245, 232, 213, .3); background: rgba(46, 10, 24, .35);
  font-size: 28px; line-height: 1; transition: background .25s, border-color .25s;
}
.c-arrow:hover { background: rgba(46, 10, 24, .7); border-color: #e8b87f; }
.c-arrow--prev { left: var(--space-5); }
.c-arrow--next { right: var(--space-5); }
.c-arrow__lbl { font-family: var(--font-serif); font-style: italic; font-size: 18px; }

.c-explored { font: 500 12px/1.4 var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: #e8b87f; margin: var(--space-5) 0 0; min-height: 1.4em; }
.c-hint { font-size: 13px; color: #cdb8a2; margin: var(--space-2) 0 0; }
.touch-hint { display: none; }
@media (hover: none) { .kbd-hint { display: none; } .touch-hint { display: inline; } }
.c-scroll { margin-top: var(--space-6); color: #f5e8d5; font: 500 13px/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; padding: 12px 4px; }
.c-scroll span { display: inline-block; animation: nudge 2.2s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .c-scroll span { animation: none; } }

@media (max-width: 760px) {
  .c-hero { min-height: auto; padding-bottom: var(--space-9); }
  .c-map { height: 118px; }
  .c-star { min-width: 44px; padding: 4px; }
  .c-star__mark { font-size: 16px; }
  .c-arrow { top: auto; bottom: var(--space-5); transform: none; font-size: 24px; }
  .c-arrow--prev { left: var(--space-4); }
  .c-arrow--next { right: var(--space-4); }
}

/* chapter bar */
.c-chapters { position: sticky; top: var(--header-h, 64px); z-index: 40; background: var(--surface-raised); border-bottom: 1px solid var(--line-hairline); }
.c-chapters__in { max-width: var(--container-max); margin: 0 auto; display: flex; align-items: center; gap: var(--space-5); padding: 0 var(--space-4); overflow-x: auto; scrollbar-width: none; }
.c-chapters__in::-webkit-scrollbar { display: none; }
.c-chapters a {
  flex: none; padding: 14px 0; font: 500 13px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none; border-bottom: 2px solid transparent;
}
.c-chapters a:hover { color: var(--text-primary); }
.c-chapters a[aria-current="true"] { color: var(--text-primary); border-bottom-color: var(--brand-terracotta); }
.c-chapters__mark { flex: none; font-family: var(--font-serif); font-style: italic; font-size: 22px; color: var(--text-terracotta); padding-right: var(--space-2); border-right: 1px solid var(--line-hairline); }
.c-chapters__next { margin-left: auto; color: var(--text-link) !important; }
[id="meaning"], [id="purpose"], [id="exps"], [id="try"], #orbit { scroll-margin-top: calc(var(--header-h, 64px) + 64px); }
/* navigator refinements */
.c-map li { transform: translate(-50%, -11px); }
@media (max-width: 760px) { .c-map li { transform: translate(-50%, -9px); } }
.c-hero { padding-top: var(--space-6); }
.c-hero .c-map { margin-bottom: var(--space-3); }
.c-hero .c-symbol { width: 44px; height: 44px; margin-bottom: var(--space-2); }
.c-hero .c-question { margin-top: var(--space-4); }
.c-nav .mm-btn--text::after { content: none; }

/* ===================== Night sky with perspective ===================== */
.c-stars { display: none; }
.c-hero { background: radial-gradient(ellipse 120% 80% at 50% 0%, #4a1428 0%, #360c1d 60%, #22060f 100%); }
.c-hero > .c-sky, .c-hero > .c-wash { position: absolute; inset: 0; pointer-events: none; }
.c-hero > .c-sky { z-index: 0; overflow: hidden; }
.c-hero > .c-wash { z-index: 0; opacity: 0; background: radial-gradient(ellipse 55% 45% at 50% 95%, var(--wash, transparent), transparent 72%); transition: opacity 1.4s ease; }
.c-hero::before { z-index: 0; }
.c-sky__layer {
  position: absolute; left: 50%; top: 50%; width: 3400px; height: 2000px; margin: -1000px 0 0 -1700px;
  transform-origin: 50% 50%;
  transform: translate(calc(var(--cx, 0) * var(--d) * 1px), calc(var(--cy, 0) * var(--d) * 1px)) rotate(calc(var(--cr, 0) * 1deg)) scale(calc(1 + (var(--cs, 1) - 1) * var(--d)));
  will-change: transform;
}
.c-sky.is-moving .c-sky__layer { transition: transform 1.6s cubic-bezier(.22, .8, .2, 1); }
.c-sky__layer i { position: absolute; left: 0; top: 0; display: block; border-radius: 50%; }
.c-sky__l1 { --d: .45; }
.c-sky__l1 i { width: 1px; height: 1px; }
.c-sky__l2 { --d: .8; animation: twinkle-a 5s ease-in-out infinite alternate; }
.c-sky__l2 i { width: 2px; height: 2px; }
.c-sky__l3 { --d: 1.25; animation: twinkle-b 3.6s ease-in-out infinite alternate; }
.c-sky__l3 i { width: 2px; height: 2px; }
.c-sparkle { position: absolute; transform: translate(-50%, -50%); filter: drop-shadow(0 0 6px rgba(255, 220, 170, .85)); animation: sparkle 4.5s ease-in-out infinite; }
@keyframes twinkle-a { from { opacity: .7; } to { opacity: 1; } }
@keyframes twinkle-b { from { opacity: .8; } to { opacity: 1; } }
@keyframes sparkle { 0%, 100% { opacity: .55; transform: translate(-50%, -50%) scale(.75) rotate(0deg); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1) rotate(20deg); } }
@media (prefers-reduced-motion: reduce) {
  .c-sky__l2, .c-sky__l3, .c-sparkle { animation: none; }
  .c-sky.is-moving .c-sky__layer, .c-hero > .c-wash { transition: none; }
}
/* the sky keeps its own motion during page changes */
.c-sky { view-transition-name: c-sky; }
::view-transition-old(c-sky) { animation: none; opacity: 0; }
::view-transition-new(c-sky) { animation: none; }
.c-hero::before { opacity: calc(.55 * var(--glow-o, 1)); transition: opacity 1.4s ease; }
@media (prefers-reduced-motion: reduce) { .c-hero::before { transition: none; } }
/* keep text crisp: the sky dims softly behind the title and question */
.c-hero > .c-sky {
  -webkit-mask-image: radial-gradient(ellipse 34% 26% at 50% 60%, rgba(0,0,0,.2), #000 85%);
          mask-image: radial-gradient(ellipse 34% 26% at 50% 60%, rgba(0,0,0,.2), #000 85%);
}
@media (max-width: 760px) {
  .c-hero > .c-sky { -webkit-mask-image: radial-gradient(ellipse 60% 22% at 50% 62%, rgba(0,0,0,.2), #000 90%); mask-image: radial-gradient(ellipse 60% 22% at 50% 62%, rgba(0,0,0,.2), #000 90%); }
}

/* ===================== Smoother transitions ===================== */
:root { --pillar-all: #b86542; }
/* the title no longer morphs between different words (that caused the jump); pages cross-fade */
.c-mark, .c-question { view-transition-name: none; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .5s; animation-timing-function: ease; }
::view-transition-group(c-map), ::view-transition-group(c-mark) { animation-duration: .7s; animation-timing-function: cubic-bezier(.22, .8, .2, 1); }
::view-transition-old(c-map), ::view-transition-new(c-map) { animation-duration: .7s; }

/* ===================== Overview ===================== */
.c-hero--overview { min-height: min(88vh, 780px); }
.c-title { font-family: var(--font-serif); font-weight: 500; line-height: 1.02; font-size: clamp(2.6rem, 5vw + 1rem, 4.75rem); margin: 0; color: #f5e8d5; }
.c-title em { font-style: italic; font-weight: 400; color: #e8b87f; }
.c-lede { font: 300 19px/1.6 var(--font-sans); color: #ead9c3; max-width: 46ch; margin: var(--space-4) auto var(--space-7); }
.c-hero--overview .c-map { width: min(760px, 100%); height: 150px; margin-bottom: var(--space-2); }
.c-hero--overview .c-star__dot { width: 13px; height: 13px; background: #e8d6bf; box-shadow: 0 0 12px 2px rgba(255, 230, 190, .35); }
.c-hero--overview .c-star__mark { font-size: 21px; color: #f5e8d5; }
.c-hero--overview .mm-hero__actions { margin-top: var(--space-6); }
.c-hero--overview .mm-btn--primary { background: #d99a58; color: #3d0f1e; }
.c-hero--overview .mm-btn--primary:hover { background: #e8b87f; }
.c-hero--overview .mm-btn--secondary { color: #f5e8d5; border-color: #f5e8d5; }
.c-star.is-hot .c-star__dot { transform: scale(1.6); background: #fff6e8; box-shadow: 0 0 18px 5px rgba(255, 220, 170, .7); }
.c-star.is-hot .c-star__name { opacity: 1; }

.mm-pillars--overview { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.mm-pillars--overview .mm-pillar__arch { position: relative; }
.mm-pillar__step { font: 500 11px/1 var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); margin: 0; }
.mm-pillar__q { font-family: var(--font-serif); font-style: italic; font-size: 17px; line-height: 1.35; margin: var(--space-2) 0 0; color: var(--text-primary); }
.begin-badge, .explored-badge {
  position: absolute; top: 18%; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font: 500 10px/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px;
}
.begin-badge { background: #d99a58; color: #3d0f1e; }
.explored-badge { display: none; background: rgba(46, 10, 24, .75); color: #e8b87f; border: 1px solid #e8b87f; }
.mm-pillar.is-explored .explored-badge { display: inline-block; }
.mm-pillar.is-explored .begin-badge { display: none; }
a.mm-pillar.is-hot { transform: translateY(-6px); border-color: #e8b87f; box-shadow: 0 30px 70px -30px var(--pillar); }
.mm-pillar .mm-pillar__arch { transition: filter .3s; }
a.mm-pillar.is-hot .mm-pillar__arch { filter: brightness(1.25); }
@media (prefers-reduced-motion: reduce) { a.mm-pillar.is-hot { transform: none; } }
.c-hero[data-zoom] .c-mark { view-transition-name: c-mark; }

/* ===================== M.I.R.A.C.L.E. interactive word ===================== */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mw-section { background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(184, 101, 66, .35), transparent 70%), var(--surface-page); }
.mw { max-width: 920px; margin: var(--space-7) auto 0; text-align: center; }
.mw__letters { display: flex; justify-content: space-between; gap: var(--space-2); }
.mw__tab {
  flex: 1; background: none; border: 0; cursor: pointer; padding: var(--space-2) 0 var(--space-3);
  color: var(--text-primary); opacity: .38; transition: opacity .3s, transform .3s, color .3s; border-radius: var(--radius-sm);
}
.mw__tab:hover { opacity: .75; transform: translateY(-3px); }
.mw__tab[aria-selected="true"] { opacity: 1; color: #e8b87f; transform: translateY(-4px); }
.mw__l { font-family: var(--font-serif); font-weight: 500; font-size: clamp(2.6rem, 8vw, 6.5rem); line-height: 1; display: block; }
.mw__tab[aria-selected="true"] .mw__l { text-shadow: 0 0 28px rgba(217, 154, 88, .55); }
.mw__track { height: 2px; background: var(--line-hairline); border-radius: 2px; overflow: hidden; }
.mw__bar { display: block; height: 100%; width: calc(100% / 7); background: linear-gradient(90deg, #b86542, #e8b87f); transition: width .5s cubic-bezier(.22, .8, .2, 1); }
.mw__panels { position: relative; min-height: 210px; margin-top: var(--space-6); }
.mw__panel { max-width: 640px; margin: 0 auto; }
.mw__panel:not([hidden]) { animation: mw-in .5s cubic-bezier(.22, .8, .2, 1); }
@keyframes mw-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.mw__step { font: 500 12px/1.4 var(--font-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--text-terracotta); margin: 0 0 var(--space-3); }
.mw__title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.9rem, 2.5vw + 1rem, 2.75rem); line-height: 1.1; margin: 0; }
.mw__big { font-style: italic; color: #e8b87f; margin-right: .15em; }
.mw__desc { font: 300 20px/1.6 var(--font-sans); color: var(--text-muted); margin: var(--space-4) auto 0; max-width: 46ch; }
.mw__controls { display: flex; justify-content: center; align-items: center; gap: var(--space-6); margin-top: var(--space-5); }
.mw__btn {
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-control); background: none; cursor: pointer;
  color: var(--text-primary); font: 500 14px/1 var(--font-sans); letter-spacing: .06em;
}
.mw__btn:hover { border-color: #e8b87f; color: #e8b87f; }
.mw__count { font: 500 13px/1 var(--font-sans); letter-spacing: .14em; color: var(--text-muted); min-width: 4.5em; }
.mw__note { font-family: var(--font-serif); font-style: italic; font-size: 19px; color: var(--text-muted); margin: var(--space-7) 0 0; }
/* without JavaScript every step is shown as a list */
.no-js .mw__panel[hidden] { display: block; margin-top: var(--space-6); }
.no-js .mw__controls, .no-js .mw__track { display: none; }
@media (prefers-reduced-motion: reduce) { .mw__panel:not([hidden]) { animation: none; } .mw__tab, .mw__bar { transition: none; } }
@media (max-width: 560px) { .mw__controls { gap: var(--space-3); } .mw__panels { min-height: 200px; } }

/* ===================== Miracle Effect: hero dissolves into the night ===================== */
.page-hero--blend { position: relative; padding-bottom: calc(var(--space-9) + 200px); isolation: isolate; }
.page-hero--blend > * { position: relative; z-index: 1; }
.page-hero--blend::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 285px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1.5px 1.5px at 18% 80%, rgba(255, 240, 215, .95) 50%, transparent 51%),
    radial-gradient(1px 1px at 27% 92%, rgba(255, 240, 215, .85) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 39% 74%, rgba(255, 240, 215, .7) 50%, transparent 51%),
    radial-gradient(2px 2px at 61% 86%, rgba(232, 184, 127, 1) 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 95%, rgba(255, 240, 215, .8) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 74% 78%, rgba(255, 240, 215, .85) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 86% 93%, rgba(255, 240, 215, .9) 50%, transparent 51%),
    radial-gradient(1px 1px at 8% 96%, rgba(255, 240, 215, .8) 50%, transparent 51%),
    radial-gradient(1px 1px at 93% 82%, rgba(255, 240, 215, .7) 50%, transparent 51%),
    linear-gradient(to bottom, rgba(245, 232, 213, 0) 0%, rgba(217, 154, 88, .22) 22%, rgba(184, 101, 66, .42) 42%, rgba(110, 26, 54, .72) 66%, rgba(70, 18, 40, .95) 84%, #3d0f1e 100%);
}
.page-hero--blend .mm-moon { animation: drift 6s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(6px); } }
.page-hero--blend + .mw-section { padding-top: var(--space-6); margin-top: -1px; }
@media (prefers-reduced-motion: reduce) { .page-hero--blend .mm-moon { animation: none; } }
@media (max-width: 760px) { .page-hero--blend { padding-bottom: calc(var(--space-8) + 150px); } .page-hero--blend::after { height: 230px; } }

/* ===================== Miracle Effect: one hero, cream into night ===================== */
.tme-hero { text-align: center; background: #3d0f1e; }
.tme-top { background: var(--surface-page); padding: var(--space-9) var(--space-4) var(--space-4); }
.tme-top h1 { font-family: var(--font-serif); font-weight: 500; line-height: 1.04; font-size: clamp(2.5rem, 4vw + 1rem, 3.75rem); margin: 0; }
.tme-top h1 em { font-style: italic; font-weight: 400; color: var(--text-terracotta); }
.tme-top .mm-lede { margin: var(--space-5) auto 0; }
.tme-top .mm-moon { animation: drift 6s ease-in-out infinite alternate; }
.tme-fade {
  height: 300px; margin-top: -1px;
  background:
    radial-gradient(1.5px 1.5px at 18% 80%, rgba(255, 240, 215, .95) 50%, transparent 51%),
    radial-gradient(1px 1px at 27% 92%, rgba(255, 240, 215, .85) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 39% 72%, rgba(255, 240, 215, .7) 50%, transparent 51%),
    radial-gradient(2px 2px at 61% 84%, rgba(232, 184, 127, 1) 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 95%, rgba(255, 240, 215, .8) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 74% 76%, rgba(255, 240, 215, .85) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 86% 93%, rgba(255, 240, 215, .9) 50%, transparent 51%),
    radial-gradient(1px 1px at 8% 96%, rgba(255, 240, 215, .8) 50%, transparent 51%),
    radial-gradient(1px 1px at 93% 82%, rgba(255, 240, 215, .7) 50%, transparent 51%),
    linear-gradient(to bottom, #f5e8d5 0%, #f0d7b6 14%, #e2b88f 28%, #c98d6b 42%, #8a3a52 60%, #5a1830 76%, #47122a 90%, #3d0f1e 100%);
}
.tme-night {
  background: radial-gradient(ellipse 70% 45% at 50% 100%, rgba(184, 101, 66, .32), transparent 70%), #3d0f1e !important;
  padding: 0 var(--space-4) var(--space-9); margin-top: -1px;
}
.tme-method { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.9rem, 2.5vw + 1rem, 2.75rem); line-height: 1.1; margin: 0; color: var(--text-primary); }
.tme-sub { font: 300 18px/1.6 var(--font-sans); color: var(--text-muted); max-width: 46ch; margin: var(--space-3) auto 0; }
.tme-night .mw { margin-top: var(--space-6); }
.tme-night .mw__note { margin-top: var(--space-6); }
.tme-night .mm-hero__actions { margin-top: var(--space-6); }
.tme-night .mm-btn--primary { background: #d99a58; color: #3d0f1e; }
.tme-night .mm-btn--primary:hover { background: #e8b87f; }
@media (max-width: 760px) { .tme-top { padding-top: var(--space-8); } .tme-fade { height: 220px; } }
@media (prefers-reduced-motion: reduce) { .tme-top .mm-moon { animation: none; } }

/* lede now sits at the start of the fade */
.tme-top { padding-bottom: var(--space-2); }
.tme-fade { height: auto; min-height: 400px; padding: var(--space-4) var(--space-4) 0; }
.tme-fade .mm-lede { margin: 0 auto; color: #3d2a24; }
@media (max-width: 760px) { .tme-fade { min-height: 360px; } }

/* compact constellation links (full arches live on the overview) */
.c-strip { list-style: none; margin: var(--space-7) auto 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-3); max-width: 900px; }
.c-strip a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: var(--space-5) var(--space-2); border: 1px solid var(--line-hairline); border-radius: 999px 999px var(--radius-md) var(--radius-md); background: var(--surface-raised); text-decoration: none; color: var(--text-primary); transition: transform .25s, border-color .25s; }
.c-strip a:hover { transform: translateY(-4px); border-color: var(--brand-terracotta); }
.c-strip__mark { font-family: var(--font-serif); font-style: italic; font-size: 30px; line-height: 1; }
.c-strip__verb { font: 500 12px/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--text-terracotta); }
@media (max-width: 640px) { .c-strip { grid-template-columns: repeat(3, 1fr); } }
@media (prefers-reduced-motion: reduce) { .c-strip a { transition: none; } .c-strip a:hover { transform: none; } }

/* mini M.I.R.A.C.L.E. pointer */
.mw-mini { display: block; margin-top: var(--space-6); padding: var(--space-5) var(--space-6); border: 1px solid var(--line-hairline); border-radius: var(--radius-md); background: var(--surface-raised); text-decoration: none; color: var(--text-primary); transition: border-color .25s; }
.mw-mini:hover { border-color: var(--brand-terracotta); }
.mw-mini__letters { display: flex; justify-content: space-between; max-width: 360px; font-family: var(--font-serif); font-size: 40px; line-height: 1; color: var(--text-terracotta); }
.mw-mini__letters span:first-child { color: var(--text-primary); }
.mw-mini__text { display: block; margin-top: var(--space-3); font-size: 16px; color: var(--text-link); }
.mw-mini--wide { max-width: 720px; margin-left: auto; margin-right: auto; text-align: center; }
.mw-mini--wide .mw-mini__letters { margin: 0 auto; }

/* ===================== Miracle Effect: the method is the hero ===================== */
.tme-hero--night {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse 80% 45% at 50% 0%, rgba(184, 101, 66, .38), transparent 70%),
    radial-gradient(ellipse 70% 40% at 50% 100%, rgba(184, 101, 66, .28), transparent 70%),
    linear-gradient(to bottom, #5a1830 0%, #3d0f1e 45%, #4a1428 100%) !important;
  padding: var(--space-9) var(--space-4) var(--space-9);
}
.tme-stars {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 8% 14%, rgba(255,240,215,.95) 50%, transparent 51%), radial-gradient(1px 1px at 19% 42%, rgba(255,240,215,.8) 50%, transparent 51%),
    radial-gradient(1px 1px at 27% 8%, rgba(255,240,215,.7) 50%, transparent 51%), radial-gradient(2px 2px at 36% 30%, rgba(232,184,127,1) 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 12%, rgba(255,240,215,.85) 50%, transparent 51%), radial-gradient(1.5px 1.5px at 74% 38%, rgba(255,240,215,.9) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 9%, rgba(255,240,215,.8) 50%, transparent 51%), radial-gradient(2px 2px at 93% 46%, rgba(232,184,127,.95) 50%, transparent 51%),
    radial-gradient(1px 1px at 5% 70%, rgba(255,240,215,.75) 50%, transparent 51%), radial-gradient(1.5px 1.5px at 14% 88%, rgba(255,240,215,.85) 50%, transparent 51%),
    radial-gradient(1px 1px at 84% 74%, rgba(255,240,215,.8) 50%, transparent 51%), radial-gradient(1.5px 1.5px at 96% 90%, rgba(255,240,215,.9) 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 4%, rgba(255,240,215,.7) 50%, transparent 51%), radial-gradient(1px 1px at 44% 96%, rgba(255,240,215,.7) 50%, transparent 51%);
  animation: twinkle-a 5s ease-in-out infinite alternate;
}
.tme-inner { position: relative; max-width: 1100px; margin: 0 auto; text-align: center; }
.tme-hero--night h1 { font-family: var(--font-serif); font-weight: 500; line-height: 1.02; font-size: clamp(2.8rem, 5vw + 1rem, 4.75rem); margin: 0; color: #f5e8d5; }
.tme-hero--night h1 em { font-style: italic; font-weight: 400; color: #e8b87f; }
.tme-hero--night .mm-moon { color: #e8b87f; animation: drift 6s ease-in-out infinite alternate; }
.tme-hero--night .mm-lede { color: #ead9c3; margin: 0 auto; max-width: 52ch; }
.tme-label { font: 500 13px/1.4 var(--font-sans); letter-spacing: .22em; text-transform: uppercase; color: #e8b87f; margin: var(--space-8) 0 0; }
.tme-label span { color: #cdb8a2; }
.tme-hero--night .mw { margin-top: var(--space-4); }
.tme-hero--night .mm-hero__actions { margin-top: var(--space-6); }
.tme-hero--night .mm-btn--primary { background: #d99a58; color: #3d0f1e; }
.tme-hero--night .mm-btn--primary:hover { background: #e8b87f; }
@media (max-width: 760px) { .tme-hero--night { padding-top: var(--space-8); } .tme-label { margin-top: var(--space-7); } }
@media (prefers-reduced-motion: reduce) { .tme-stars, .tme-hero--night .mm-moon { animation: none; } }
.tme-label span::before { content: "· "; }
@media (max-width: 560px) { .tme-label span { display: block; margin-top: 6px; } .tme-label span::before { content: none; } }

/* ===================== Miracle Effect hero: fits the first screen ===================== */
.tme-hero--night {
  min-height: calc(100svh - var(--chrome-h, 80px)); display: flex; align-items: center; justify-content: center;
  padding: clamp(20px, 4vh, 56px) var(--space-4);
}
.tme-hero--night .tme-inner { width: 100%; }
.tme-hero--night .mm-eyebrow { margin-bottom: clamp(4px, 1vh, 8px); }
.tme-hero--night h1 { font-size: clamp(2.3rem, min(5vw, 7vh) + .6rem, 4.4rem); }
.tme-hero--night .mm-moon { width: 24px; height: 24px; margin: clamp(6px, 1.4vh, 14px) auto; }
.tme-hero--night .mm-lede { font-size: clamp(16px, 1vw + 9px, 19px); line-height: 1.55; }
.tme-label { margin-top: clamp(16px, 4vh, 40px); font-size: 12px; }
.tme-hero--night .mw { margin-top: clamp(4px, 1.2vh, 12px); }
.tme-hero--night .mw__l { font-size: clamp(2.3rem, min(7vw, 10vh), 5.6rem); }
.tme-hero--night .mw__tab { padding: 4px 0 clamp(6px, 1vh, 10px); }
.mw__stage { position: relative; display: flex; align-items: center; justify-content: center; gap: var(--space-4); margin-top: clamp(14px, 3vh, 28px); }
.tme-hero--night .mw__panels { flex: 1; max-width: 620px; min-height: clamp(96px, 15vh, 130px); margin: 0; }
.mw__title { font-size: clamp(1.6rem, 2vw + .8rem, 2.4rem); }
.mw__lit { color: #e8b87f; text-shadow: 0 0 18px rgba(217, 154, 88, .75), 0 0 2px rgba(255, 220, 170, .9); }
.tme-hero--night .mw__desc { font-size: clamp(15px, .8vw + 9px, 18px); margin-top: clamp(6px, 1.2vh, 12px); }
.mw__arrow {
  flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(245, 232, 213, .3); background: rgba(46, 10, 24, .3);
  color: #f5e8d5; font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: border-color .25s, color .25s;
}
.mw__arrow:hover { border-color: #e8b87f; color: #e8b87f; }
.tme-hero--night .mm-hero__actions { margin-top: clamp(14px, 3vh, 28px); }
@media (max-width: 560px) {
  .tme-hero--night .mm-hero__actions { flex-wrap: nowrap; gap: 10px; }
  .tme-hero--night .mm-hero__actions .mm-btn { padding: 12px 14px; font-size: 13px; letter-spacing: .04em; min-height: 44px; }
  .mw__stage { gap: 8px; }
  .mw__arrow { width: 40px; height: 40px; font-size: 22px; }
  .tme-hero--night .mw__panels { min-height: 120px; }
}
@media (max-height: 700px) and (min-width: 700px) { .tme-hero--night .mm-moon { display: none; } }

/* ===================== Less scrolling: interactive panels ===================== */
/* Tighter rhythm */
.mm-section { padding: var(--space-7) var(--space-4); }
@media (min-width: 900px) { .mm-section { padding: 72px var(--space-7); } }

/* Generic tabs */
.mm-tabs { margin-top: var(--space-6); }
.mm-tabs__list {
  display: flex; gap: var(--space-2); overflow-x: auto; scrollbar-width: none; padding: 2px 2px var(--space-2);
  border-bottom: 1px solid var(--line-hairline); scroll-snap-type: x proximity;
}
.mm-tabs__list::-webkit-scrollbar { display: none; }
.mm-tabs__tab {
  flex: none; scroll-snap-align: start; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: calc(-1 * var(--space-2) - 1px);
  padding: 10px 14px 12px; font: 500 13px/1.3 var(--font-sans); letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted); cursor: pointer; transition: color .2s, border-color .2s; min-height: 44px;
}
.mm-tabs__tab:hover { color: var(--text-primary); }
.mm-tabs__tab[aria-selected="true"] { color: var(--text-terracotta); border-bottom-color: var(--brand-terracotta); }
.mm-tabs__tab:focus-visible { outline: 2px solid var(--brand-terracotta); outline-offset: 2px; border-radius: 4px; }
.mm-tabs__stage { display: flex; align-items: center; gap: var(--space-4); }
.mm-tabs__panels { flex: 1; min-width: 0; }
.mm-tabs__panel { padding-top: var(--space-6); }
.mm-tabs__panel:not([hidden]) { animation: mw-in .45s cubic-bezier(.22, .8, .2, 1); }
.mm-tabs__panel:focus-visible { outline: 2px solid var(--brand-terracotta); outline-offset: 6px; border-radius: 6px; }
.mm-tabs__panel > .grid-2 { gap: var(--space-7); }
.mm-tabs__panel h3.mm-tabs__h { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.5rem, 1.2vw + 1rem, 2rem); line-height: 1.2; margin: 0 0 var(--space-3); }
.mm-tabs__panel h3.mm-tabs__h em { color: var(--text-terracotta); }
.mm-tabs__panel p:first-child { margin-top: 0; }
.mm-tabs__arrow { border-color: var(--line-control); background: var(--surface-raised); color: var(--text-primary); }
.mm-tabs__arrow:hover { border-color: var(--brand-terracotta); color: var(--text-terracotta); }
.mm-tabs__dots { display: flex; justify-content: center; gap: 8px; margin-top: var(--space-5); }
.mm-tabs__dots span, .rail-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--line-control); transition: background .25s, transform .25s; }
.mm-tabs__dots span.is-on, .rail-dots span.is-on { background: var(--brand-terracotta); transform: scale(1.3); }
.no-js .mm-tabs__panel[hidden] { display: block; }
.no-js .mm-tabs__list, .no-js .mm-tabs__arrow, .no-js .mm-tabs__dots { display: none; }
@media (prefers-reduced-motion: reduce) { .mm-tabs__panel:not([hidden]) { animation: none; } }

/* Story variant (About chapters) */
.mm-tabs--story .mm-tabs__list { justify-content: center; border-bottom: 0; }
.mm-tabs--story .mm-tabs__tab { font-family: var(--font-serif); text-transform: none; letter-spacing: 0; font-size: 18px; font-style: italic; border-bottom-width: 1px; }
.story { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 900px) { .story { grid-template-columns: 5fr 7fr; gap: var(--space-8); } }
.story__media { margin: 0; border-radius: var(--radius-arch) var(--radius-arch) var(--radius-md) var(--radius-md); overflow: hidden; aspect-ratio: 4 / 5; max-height: 62vh; }
.story__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story__media--sepia img { filter: sepia(.35) contrast(1.05); }
.story .chapter__no { display: block; margin-bottom: var(--space-2); }
.story h2 { margin-top: 0; }
.story p { max-width: var(--measure-text); }
@media (max-width: 899px) {
  .story__media { aspect-ratio: 16 / 10; max-height: none; border-radius: var(--radius-md); }
  .mm-tabs--story .mm-tabs__stage { display: grid; grid-template-columns: 1fr 1fr; row-gap: var(--space-5); }
  .mm-tabs--story [data-tabs-prev] { justify-self: start; }
  .mm-tabs--story [data-tabs-next] { justify-self: end; }
  .mm-tabs--story .mm-tabs__panels { grid-column: 1 / -1; grid-row: 1; }
  .mm-tabs--story .mm-tabs__arrow { grid-row: 2; }
  .mm-tabs--story .mm-tabs__dots { margin-top: -26px; height: 7px; align-items: center; pointer-events: none; }
  .mm-tabs--story .mm-tabs__list { justify-content: flex-start; }
}

/* Explorer variant (services, experiences) */
@media (min-width: 900px) {
  .mm-tabs--explorer { display: grid; grid-template-columns: minmax(260px, 1fr) 2fr; gap: var(--space-7); align-items: start; }
  .mm-tabs--explorer .mm-tabs__list { flex-direction: column; overflow: visible; border-bottom: 0; border-left: 1px solid var(--line-hairline); padding: 0; gap: 0; position: sticky; top: calc(var(--header-h, 72px) + 16px); }
  .mm-tabs--explorer .mm-tabs__tab { text-align: left; border-bottom: 0; border-left: 2px solid transparent; margin: 0 0 0 -1px; padding: 12px 18px; }
  .mm-tabs--explorer .mm-tabs__tab[aria-selected="true"] { border-left-color: var(--brand-terracotta); background: color-mix(in srgb, var(--brand-terracotta) 7%, transparent); }
  .mm-tabs--explorer .mm-tabs__panel { padding-top: 0; }
}
.mm-tabs--explorer .mm-tabs__tab { text-transform: none; letter-spacing: 0; font-size: 16px; display: flex; flex-direction: column; gap: 2px; }
.mm-tabs--explorer .mm-tabs__tab small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); font-weight: 500; }
@media (max-width: 899px) {
  .mm-tabs--explorer .mm-tabs__tab { border: 1px solid var(--line-hairline); border-radius: var(--radius-full); padding: 8px 16px; margin: 0; min-height: 44px; justify-content: center; }
  .mm-tabs--explorer .mm-tabs__tab small { display: none; }
  .mm-tabs--explorer .mm-tabs__tab[aria-selected="true"] { border-color: var(--brand-terracotta); background: var(--brand-terracotta); color: #fff8ee; }
  .mm-tabs--explorer .mm-tabs__list { border-bottom: 0; gap: 8px; margin: 0 calc(-1 * var(--space-4)); padding: 2px var(--space-4) 6px; }
  .mm-tabs--explorer .mm-tabs__tab { scroll-margin-left: var(--space-4); }
  .mm-tabs--explorer .mm-tabs__panel { padding-top: var(--space-4); }
}
.mm-tabs--explorer .card { box-shadow: none; }

/* Rails: grids become swipeable rows on small screens */
.rail-dots { display: none; }
@media (max-width: 899px) {
  .rail {
    display: grid !important; grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: min(82%, 340px);
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
    margin-left: calc(-1 * var(--space-4)); margin-right: calc(-1 * var(--space-4)); padding: 4px var(--space-4) 8px; scroll-padding: 0 var(--space-4);
    gap: var(--space-4) !important;
  }
  .rail::-webkit-scrollbar { display: none; }
  .rail > * { scroll-snap-align: start; min-width: 0; }
  .rail > .reveal { opacity: 1; transform: none; }
  .rail-dots { display: flex; justify-content: center; gap: 8px; margin-top: var(--space-4); }
  .rail-dots span { cursor: pointer; }
  .rail-dots[hidden] { display: none; }
}

/* Small merges */
.quote-in-orbit { margin: 0 auto var(--space-7); }
.mm-tabs .reveal { opacity: 1; transform: none; }
.mm-tabs__list { scroll-margin-top: calc(var(--chrome-h, 80px) + 12px); }

/* ===================== Constellation scene (The Miracle Effect page) ===================== */
.c-scene {
  position: relative; overflow: hidden; text-align: center; color: #f5e8d5;
  background: radial-gradient(ellipse 120% 80% at 50% 0%, #4a1428 0%, #360c1d 60%, #22060f 100%);
  padding: clamp(56px, 9vh, 96px) var(--space-4) clamp(48px, 8vh, 88px);
}
.c-scene > .c-wash { display: none; }
.c-scene > .c-sky { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse 38% 30% at 50% 62%, rgba(0,0,0,.25), #000 85%);
          mask-image: radial-gradient(ellipse 38% 30% at 50% 62%, rgba(0,0,0,.25), #000 85%); }
.c-scene .c-sky, .c-scene .c-map { view-transition-name: none; }
.c-scene__wash {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s ease;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, color-mix(in srgb, var(--wash) 55%, transparent), transparent 72%);
}
.c-scene[data-active="me"] [data-wash="me"], .c-scene[data-active="mud"] [data-wash="mud"], .c-scene[data-active="be"] [data-wash="be"],
.c-scene[data-active="orbit"] [data-wash="orbit"], .c-scene[data-active="hum"] [data-wash="hum"] { opacity: 1; }
.c-scene__inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.c-scene .mm-eyebrow { color: #e8b87f; }
.c-scene__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.2rem, 3.4vw + 1rem, 3.6rem); line-height: 1.08; margin: 0; }
.c-scene__title em { color: #e8b87f; }
.c-scene__lede { color: #d9c5ae; max-width: 520px; margin: var(--space-3) auto var(--space-6); font-size: clamp(16px, .5vw + 13px, 18px); }
.c-map--scene { margin-bottom: var(--space-4); }
.c-map--scene .c-star { position: absolute; transform: translate(-50%, -11px); background: none; border: 0; cursor: pointer; font: inherit; color: #cdb8a2; }
.c-map--scene .c-star:focus-visible { outline: 2px solid #e8b87f; outline-offset: 2px; }
.c-map--scene .c-star[aria-selected="true"] { color: #f5e8d5; }
.c-map--scene .c-star[aria-selected="true"] .c-star__dot {
  width: 16px; height: 16px; background: #f5e8d5;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--pillar) 45%, transparent), 0 0 24px 6px var(--pillar);
  animation: pulse 2.8s ease-in-out infinite;
}
.c-map--scene .c-star[aria-selected="true"] .c-star__mark { font-weight: 600; }
.c-map--scene .c-star[aria-selected="true"] .c-star__name { opacity: 0; }
.c-scene__stage { gap: var(--space-4); }
.c-scene .mm-tabs__panels { min-height: 290px; }
.c-scene__panel { padding-top: var(--space-2); }
.c-scene__panel .c-symbol { width: 44px; height: 44px; color: var(--pillar); margin-bottom: var(--space-2); filter: drop-shadow(0 0 10px color-mix(in srgb, var(--pillar) 60%, transparent)); }
.c-scene__step { font: 500 12px/1.4 var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: #cdb8a2; margin: 0; }
.c-scene__mark { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: clamp(2.4rem, 3vw + 1rem, 3.4rem); line-height: 1.1; margin: var(--space-1) 0 var(--space-2); color: #f5e8d5; text-shadow: 0 0 24px color-mix(in srgb, var(--pillar) 70%, transparent); }
.c-scene__mark span { font-style: normal; font-size: .42em; letter-spacing: .14em; text-transform: uppercase; font-family: var(--font-sans); color: var(--pillar); text-shadow: none; vertical-align: middle; margin-left: .4em; }
.c-scene__text { max-width: 520px; margin: 0 auto; color: #eadbc6; }
.c-scene__q { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.15rem, .6vw + 1rem, 1.4rem); color: #f5e8d5; max-width: 560px; margin: var(--space-4) auto var(--space-3); }
.c-scene__link { color: #e8b87f; }
.c-scene .mm-hero__actions { justify-content: center; margin-top: var(--space-5); }
@media (max-width: 760px) {
  .c-map--scene .c-star { transform: translate(-50%, -9px); }
  .c-scene .mm-tabs__panels { min-height: 340px; }
  .c-scene__stage { gap: 6px; }
  .c-scene .mw__arrow { width: 40px; height: 40px; font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .c-scene__wash { transition: none; } .c-map--scene .c-star[aria-selected="true"] .c-star__dot { animation: none; } }
.no-js .c-scene .mm-tabs__panel[hidden] { display: block; margin-top: var(--space-6); }

/* Each constellation's text in its own colour (light tints, readable on the night sky) */
:root { --glow-me: #e8b06e; --glow-mud: #bdb98e; --glow-be: #e3906a; --glow-orbit: #d9858b; --glow-hum: #cb9db0; }
.c-star--me { --glow: var(--glow-me); } .c-star--mud { --glow: var(--glow-mud); } .c-star--be { --glow: var(--glow-be); }
.c-star--orbit { --glow: var(--glow-orbit); } .c-star--hum { --glow: var(--glow-hum); }
.c-star .c-star__mark, .c-map--scene .c-star .c-star__mark { color: var(--glow); opacity: .78; transition: opacity .3s, text-shadow .3s; }
.c-star:hover .c-star__mark, .c-star:focus-visible .c-star__mark, .c-star.is-explored .c-star__mark { opacity: 1; }
.c-star[aria-current="page"] .c-star__mark, .c-map--scene .c-star[aria-selected="true"] .c-star__mark { opacity: 1; text-shadow: 0 0 14px color-mix(in srgb, var(--glow) 60%, transparent); }
.c-star .c-star__name { color: var(--glow); }
.c-hero[data-key="me"] .c-mark { color: var(--glow-me); } .c-hero[data-key="mud"] .c-mark { color: var(--glow-mud); }
.c-hero[data-key="be"] .c-mark { color: var(--glow-be); } .c-hero[data-key="orbit"] .c-mark { color: var(--glow-orbit); }
.c-hero[data-key="hum"] .c-mark { color: var(--glow-hum); }
.c-scene__panel { --glow: var(--glow-me); }
#c5-panel-1 { --glow: var(--glow-mud); } #c5-panel-2 { --glow: var(--glow-be); } #c5-panel-3 { --glow: var(--glow-orbit); } #c5-panel-4 { --glow: var(--glow-hum); }
.c-scene__mark { color: var(--glow); margin-bottom: 0; }
.c-scene__name { font: 500 12px/1.4 var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--glow); margin: var(--space-2) 0 var(--space-4); }
.c-scene__panel .c-symbol { color: var(--glow); }
.c-hero[data-key="me"] { --glow: var(--glow-me); } .c-hero[data-key="mud"] { --glow: var(--glow-mud); } .c-hero[data-key="be"] { --glow: var(--glow-be); }
.c-hero[data-key="orbit"] { --glow: var(--glow-orbit); } .c-hero[data-key="hum"] { --glow: var(--glow-hum); }
.c-hero[data-key]:not([data-key="all"]) .c-name, .c-hero[data-key]:not([data-key="all"]) .c-symbol { color: var(--glow); }

/* Big constellation titles scroll down to the content */
.c-jump { color: inherit; text-decoration: none; cursor: pointer; display: inline-block; transition: text-shadow .3s ease, transform .3s ease; }
.c-jump:hover { text-shadow: 0 0 28px color-mix(in srgb, var(--glow, #e8b87f) 55%, transparent); transform: translateY(2px); }
.c-jump:focus-visible { outline: 2px solid #e8b87f; outline-offset: 6px; border-radius: 6px; }
#arches { scroll-margin-top: var(--header-h, 72px); }

/* Constellations overview hero: a soft wash of the five constellation colours */
section.c-hero--overview[data-theme], section.c-scene[data-theme] {
  background:
    linear-gradient(180deg, transparent 70%, #4e1529 100%),
    radial-gradient(ellipse 34% 42% at 12% 72%, rgba(217, 154, 88, .16), transparent 70%),
    radial-gradient(ellipse 30% 38% at 30% 22%, rgba(176, 58, 82, .35), transparent 70%),
    radial-gradient(ellipse 32% 36% at 52% 58%, rgba(184, 101, 66, .14), transparent 70%),
    radial-gradient(ellipse 30% 40% at 72% 16%, rgba(150, 40, 78, .45), transparent 70%),
    radial-gradient(ellipse 32% 42% at 90% 56%, rgba(140, 60, 96, .36), transparent 70%),
    linear-gradient(180deg, #4a1428 0%, #3e0f22 55%, #4e1529 100%);
  background-size: 100% 100%, 140% 140%, 140% 140%, 140% 140%, 140% 140%, 140% 140%, 100% 100%;
  background-repeat: no-repeat; background-position: 0 0, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0 0;
  animation: c-aurora 26s ease-in-out infinite alternate;
}
@keyframes c-aurora {
  to { background-position: 0 0, 18% 10%, -12% 14%, 10% -10%, -16% 8%, 14% -12%, 0 0; }
}
@media (prefers-reduced-motion: reduce) { section.c-hero--overview[data-theme], section.c-scene[data-theme] { animation: none; } }

/* Instagram link */
.ig-link { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--space-4); min-height: 44px; color: var(--text-primary); text-decoration: none; font-size: 15px; }
.ig-link .ig-icon { width: 22px; height: 22px; color: var(--text-terracotta); transition: transform .25s; }
.ig-link:hover span { text-decoration: underline; text-underline-offset: 3px; }
.ig-link:hover .ig-icon { transform: scale(1.1); }

/* ===================== Philosophy, mantra and brand statement (lit initials) ===================== */
.acro { font-family: var(--font-serif); font-weight: 500; line-height: 1.25; margin: 0; }
.acro__l { color: var(--text-terracotta); font-weight: 600; }
[data-theme="espresso"] .acro__l { color: #f0c27e; text-shadow: 0 0 18px rgba(240, 194, 126, .55); }
.acro--lg { font-size: clamp(1.5rem, 1.6vw + 1rem, 2.3rem); max-width: 30ch; }
.philosophy { padding-bottom: var(--space-6); margin-bottom: var(--space-6); border-bottom: 1px solid var(--line-hairline); }
.philosophy .mm-eyebrow { margin-bottom: var(--space-3); }
.philosophy__statement { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.1rem, .5vw + 1rem, 1.3rem); color: var(--text-muted); margin: var(--space-4) 0 0; max-width: 46ch; }
.philosophy__statement--home { margin: 0 0 var(--space-4); color: var(--text-terracotta); }
.acro--mantra { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); margin: var(--space-2) auto 0; }
.acro__line { font-size: clamp(2rem, 3vw + 1rem, 3.4rem); line-height: 1.1; }
.acro__line--sub { font-size: clamp(1.25rem, 1.2vw + 1rem, 1.8rem); letter-spacing: .02em; color: #e6d3bc; }
.cta-band__ask { font-family: var(--font-serif); font-size: clamp(1.2rem, .8vw + 1rem, 1.5rem); margin: var(--space-6) auto 0; }
.cta-band__ask em { color: #e8b87f; }

/* ===================== Philosophy reveal (The Miracle Effect page) ===================== */
.ph-reveal { position: relative; color: #f5e8d5; background: #160c0a; --p: 1; }
.ph-reveal__sticky {
  position: relative; overflow: hidden; isolation: isolate; min-height: calc(100svh - var(--chrome-h, 80px));
  display: flex; align-items: center; justify-content: center; padding: clamp(48px, 8vh, 96px) var(--space-4);
  background: radial-gradient(ellipse 120% 90% at 50% 0%, #4a1428 0%, #360c1d 55%, #22060f 100%);
}
.ph-reveal__sticky::before { /* warm glow that rises as the words light */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 55% 45% at 50% 72%, rgba(217, 154, 88, .30), transparent 70%);
  opacity: calc(.15 + var(--p) * .85); transition: opacity .3s linear;
}
.ph-reveal.is-live { height: 240vh; }
.ph-reveal.is-live .ph-reveal__sticky { position: sticky; top: var(--chrome-h, 80px); height: calc(100svh - var(--chrome-h, 80px)); }
.ph-reveal__inner { max-width: 980px; text-align: center; }
.ph-reveal .mm-eyebrow { color: #e8b87f; margin-bottom: var(--space-5); }
.ph-line { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.9rem, 3.6vw + .8rem, 4rem); line-height: 1.18; margin: 0; text-wrap: balance; }
.ph-w { display: inline-block; transition: opacity .6s ease, filter .6s ease, transform .6s ease; }
.ph-w__l { font-weight: 600; transition: color .6s ease, text-shadow .6s ease; }
.ph-reveal.is-live .ph-w { opacity: .22; filter: blur(1.5px); transform: translateY(6px); }
.ph-reveal.is-live .ph-w.is-on { opacity: 1; filter: none; transform: none; }
.ph-w.is-on .ph-w__l, .ph-reveal:not(.is-live) .ph-w__l { color: #f0c27e; text-shadow: 0 0 22px rgba(240, 194, 126, .6); }
.ph-slots { display: flex; justify-content: center; gap: clamp(14px, 3vw, 40px); margin-top: clamp(28px, 6vh, 56px); font-family: var(--font-serif); font-size: clamp(1.6rem, 2.4vw + .8rem, 3rem); color: #f0c27e; }
.ph-slot { position: relative; display: inline-block; min-width: 1ch; transition: opacity .7s ease, transform .7s cubic-bezier(.22, .8, .2, 1), text-shadow .7s ease; text-shadow: 0 0 20px rgba(240, 194, 126, .55); }
.ph-slot::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: rgba(240, 194, 126, .35); }
.ph-reveal.is-live .ph-slot { opacity: 0; transform: translateY(-36px) scale(.8); }
.ph-reveal.is-live .ph-slot.is-on { opacity: 1; transform: none; }
.ph-statement { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.1rem, .8vw + .9rem, 1.5rem); color: #e6d3bc; margin: clamp(28px, 5vh, 48px) auto 0; max-width: 40ch; transition: opacity 1s ease, transform 1s ease; }
.ph-reveal.is-live .ph-statement { opacity: 0; transform: translateY(10px); }
.ph-reveal.is-live.is-done .ph-statement { opacity: 1; transform: none; }
.ph-cue { position: absolute; bottom: 22px; left: 50%; width: 1px; height: 44px; background: linear-gradient(rgba(240, 194, 126, .7), transparent); transition: opacity .5s; display: none; }
.ph-reveal.is-live .ph-cue { display: block; }
.ph-reveal.is-started .ph-cue { opacity: 0; }
@media (max-width: 600px) { .ph-reveal.is-live { height: 220vh; } .ph-slots { gap: 12px; } }
@media (prefers-reduced-motion: reduce) { .ph-w, .ph-slot, .ph-statement, .ph-reveal__sticky::before { transition: none; } }

/* ===================== Hero: the philosophy sentence lights up letter by letter ===================== */
.mw__sentence {
  font-family: var(--font-serif); font-size: clamp(1.15rem, 1vw + .85rem, 1.7rem); line-height: 1.3; margin: clamp(10px, 2vh, 20px) auto 0;
  max-width: 34ch; text-wrap: balance; color: #f5e8d5;
}
.mw__word { opacity: .32; transition: opacity .5s ease, color .5s ease; }
.mw__word .mw__lit { color: inherit; text-shadow: none; font-weight: 600; transition: color .5s ease, text-shadow .5s ease; }
.mw__word.is-past { opacity: .78; }
.mw__word.is-past .mw__lit { color: #e8b87f; }
.mw__word.is-cur { opacity: 1; }
.mw__word.is-cur .mw__lit { color: #f0c27e; text-shadow: 0 0 18px rgba(240, 194, 126, .7); }
.no-js .mw__word { opacity: 1; }
.tme-hero--night .mw__desc { margin: 0 auto; }
.tme-hero--night .mw__panel { padding-top: 0; }

/* Mantra scene */
.ph-reveal--mantra.is-live { height: 200vh; }
.ph-line--mantra { display: flex; flex-direction: column; align-items: center; gap: clamp(8px, 2vh, 18px); }
.ph-line--mantra .ph-row { font-size: clamp(2.2rem, 4.4vw + .8rem, 4.6rem); line-height: 1.08; }
.ph-line--mantra .ph-row--sub { font-size: clamp(1.4rem, 2vw + .8rem, 2.4rem); letter-spacing: .02em; }
.ph-line--mantra .ph-w.is-on { color: #f8ead6; text-shadow: 0 0 26px rgba(240, 194, 126, .45); }
.ph-line--mantra .ph-row--sub .ph-w.is-on { color: #f0c27e; }
.ph-reveal--mantra .ph-reveal__sticky::before { background: radial-gradient(ellipse 60% 50% at 50% 60%, rgba(184, 101, 66, .28), transparent 70%); }
@media (max-height: 820px) { .tme-hero--night .mm-moon { display: none; } .tme-hero--night .tme-label { margin-top: clamp(8px, 1.6vh, 16px); } }
@media (max-height: 700px) { .tme-hero--night .mm-lede { font-size: 15px; line-height: 1.45; } .mw__sentence { font-size: 1.05rem; } }

/* ===================== The Miracle Effect as a continuous cycle ===================== */
.ph-reveal--cycle.is-live { height: 220vh; }
.cycle { position: relative; width: min(64vmin, 520px); aspect-ratio: 1; margin: clamp(8px, 2vh, 20px) auto 0; }
.cycle__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.cycle__track { fill: none; stroke: rgba(240, 194, 126, .18); stroke-width: .35; stroke-dasharray: .6 1.4; }
.cycle__progress { fill: none; stroke: #f0c27e; stroke-width: .45; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: calc(1000 - var(--p) * 1000); filter: drop-shadow(0 0 1.5px rgba(240, 194, 126, .8)); }
.ph-reveal:not(.is-live) .cycle__progress { stroke-dashoffset: 0; }
.cycle__centre { position: absolute; inset: 0; margin: auto; height: fit-content; text-align: center; font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.6rem, 2.6vw + .6rem, 2.8rem); line-height: 1.05; color: #f5e8d5; }
.cycle__centre span { display: block; font-family: var(--font-sans); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #e8b87f; margin-bottom: 6px; }
.cycle__words { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.cycle__w { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; font-family: var(--font-serif); font-size: clamp(14px, 1vw + 9px, 20px); color: #f5e8d5; display: flex; flex-direction: column; align-items: center; }
.ph-reveal.is-live .cycle__w { transform: translate(-50%, -50%); filter: none; }
.ph-reveal.is-live .cycle__w.is-on { transform: translate(-50%, -50%); }
.cycle__dot { width: 9px; height: 9px; border-radius: 50%; background: #2a1a15; border: 1px solid rgba(240, 194, 126, .6); margin-bottom: 6px; transition: background .5s, box-shadow .5s; }
.cycle__w.is-on .cycle__dot, .ph-reveal:not(.is-live) .cycle__dot { background: #f0c27e; box-shadow: 0 0 12px 2px rgba(240, 194, 126, .6); }
.cycle__i { color: #f0c27e; font-weight: 600; }
.ph-reveal--cycle .ph-statement { margin-top: clamp(18px, 3.5vh, 36px); }
/* the dot sits on the ring: shift each label so its dot, not its text, is on the circle */
.cycle__w { transform: translate(-50%, -6px); }
.ph-reveal.is-live .cycle__w, .ph-reveal.is-live .cycle__w.is-on { transform: translate(-50%, -6px); }
@media (max-width: 600px) { .cycle { width: min(78vw, 330px); } .cycle__w { font-size: 13.5px; } .cycle__centre { font-size: 1.5rem; } }

/* ===================== Constellation pages: invitation, themes, quotes, ideas ===================== */
.c-invite { font: 500 12px/1.4 var(--font-sans); letter-spacing: .24em; text-transform: uppercase; color: #e6d3bc; opacity: .85; margin: 6px 0 0; }
.c-themes { list-style: none; padding: 0; margin: var(--space-4) 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.c-themes li { padding: 6px 14px; border-radius: var(--radius-full); border: 1px solid color-mix(in srgb, var(--pillar, var(--brand-terracotta)) 55%, transparent); font-size: 14px; color: var(--text-primary); background: color-mix(in srgb, var(--pillar, var(--brand-terracotta)) 8%, transparent); }
.c-quote { margin: var(--space-6) 0 0; padding-left: var(--space-5); border-left: 2px solid var(--pillar, var(--brand-terracotta)); }
.c-quote p { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.3rem, .8vw + 1rem, 1.7rem); line-height: 1.3; margin: 0; }
.c-phrases { list-style: none; padding: 0; margin: var(--space-4) 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; letter-spacing: .04em; color: var(--text-muted); }
.c-phrases li::before { content: "✦ "; color: var(--pillar, var(--brand-terracotta)); }
.c-ideas { margin-top: var(--space-6); padding: var(--space-5); border: 1px dashed var(--line-control); border-radius: var(--radius-md); }
.c-ideas ul { margin: var(--space-3) 0 0; padding-left: 1.1em; }
.c-ideas li { margin: 6px 0; }

/* Constellation tags (multi-constellation) */
.ctags { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.ctag { display: inline-block; padding: 3px 10px; border-radius: var(--radius-full); font-family: var(--font-serif); font-style: italic; font-size: 15px; line-height: 1.3; text-decoration: none; color: var(--text-primary);
  border: 1px solid color-mix(in srgb, var(--c) 60%, transparent); background: color-mix(in srgb, var(--c) 12%, transparent); }
a.ctag:hover { background: color-mix(in srgb, var(--c) 24%, transparent); }
.ctag--me { --c: var(--pillar-me); } .ctag--mud { --c: var(--pillar-mud); } .ctag--be { --c: var(--pillar-be); } .ctag--orbit { --c: var(--pillar-orbit); } .ctag--hum { --c: var(--pillar-hum); }
.combos { list-style: none; padding: 0; margin: var(--space-5) 0 0; display: grid; gap: 0; }
.combos li { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); flex-wrap: wrap; padding: 14px 0; border-bottom: 1px solid var(--line-hairline); }
.combos__t { font-family: var(--font-serif); font-size: 20px; }
.cfilter { display: flex; flex-wrap: wrap; gap: 8px; }
.cfilter__b { cursor: pointer; min-height: 40px; padding: 6px 16px; border-radius: var(--radius-full); border: 1px solid var(--line-control); background: transparent; font-family: var(--font-serif); font-style: italic; font-size: 17px; color: var(--text-primary); }
.cfilter__b[data-filter="all"] { font-family: var(--font-sans); font-style: normal; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.cfilter__b[aria-pressed="true"] { background: color-mix(in srgb, var(--c, var(--brand-terracotta)) 22%, transparent); border-color: var(--c, var(--brand-terracotta)); }
.cfilter__b:focus-visible { outline: 2px solid var(--brand-terracotta); outline-offset: 2px; }
.mm-tabs__tab[hidden] { display: none; }
.footer-art { font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; margin: var(--space-3) 0 var(--space-2); color: var(--text-terracotta); }
.mm-tabs--explorer .mm-tabs__tab small { text-transform: none; letter-spacing: .04em; font-size: 12px; }

/* ===================== About: editorial founder story ===================== */
.ab-hero { position: relative; overflow: hidden; isolation: isolate; color: #f5e8d5; padding: clamp(40px, 7vh, 88px) var(--space-4);
  background: radial-gradient(ellipse 90% 70% at 70% 20%, #3a221b 0%, #22140f 55%, #160c0a 100%); }
.ab-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.ab-hero__in { max-width: 1180px; margin: 0 auto; display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 900px) { .ab-hero__in { grid-template-columns: 7fr 5fr; } }
.ab-hero .mm-eyebrow { color: #e8b87f; }
.ab-hero h1 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.4rem, 4vw + 1rem, 4.6rem); line-height: 1.04; margin: var(--space-3) 0 var(--space-5); }
.ab-hero h1 em { color: #e8b87f; }
.ab-hero .mm-lede { color: #e6d3bc; max-width: 40ch; }
.ab-hero__thread-q { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.15rem, .6vw + 1rem, 1.4rem); color: #f5e8d5; border-left: 2px solid #d99a58; padding-left: var(--space-4); margin: var(--space-6) 0; max-width: 46ch; }
.ab-thread { list-style: none; padding: 0; margin: 0 0 var(--space-6); display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #cdb8a2; }
.ab-thread li:not(:last-child)::after { content: "→"; margin: 0 10px; color: #d99a58; letter-spacing: 0; }
.ab-hero .c-scroll { color: #e8b87f; }
.ab-hero__img { margin: 0; border-radius: var(--radius-arch) var(--radius-arch) var(--radius-md) var(--radius-md); overflow: hidden; aspect-ratio: 4 / 5; max-height: 74vh; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.ab-hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; display: block; }
@media (max-width: 899px) { .ab-hero__img { max-height: 52vh; aspect-ratio: 4 / 4.4; } }

/* Story chapters: sticky chapter bar, quotes, chapter-to-chapter buttons */
.mm-tabs--story .mm-tabs__list {
  position: sticky; top: var(--header-h, 72px); z-index: 5; justify-content: flex-start;
  background: color-mix(in srgb, var(--surface-sunken, #ece0cf) 94%, transparent); backdrop-filter: blur(6px);
  margin: 0 calc(-1 * var(--space-4)); padding: 6px var(--space-4) 8px; border-bottom: 1px solid var(--line-hairline);
}
@media (min-width: 1100px) { .mm-tabs--story .mm-tabs__list { justify-content: center; } }
.mm-tabs--story .mm-tabs__tab { font-size: 17px; white-space: nowrap; }
.story { align-items: start; }
@media (min-width: 900px) { .story__media { position: sticky; top: calc(var(--header-h, 72px) + 80px); } }
.story__text p { max-width: 62ch; }
.story__quote { margin: var(--space-6) 0; padding-left: var(--space-5); border-left: 2px solid var(--brand-terracotta); }
.story__quote p { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.25rem, .8vw + 1rem, 1.6rem); line-height: 1.3; margin: 0; }
[data-theme="espresso"] .story__quote { border-left-color: #d99a58; }
.story__nav { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; padding-top: var(--space-5); margin-top: var(--space-5); border-top: 1px solid var(--line-hairline); }
.story__go { background: none; border: 0; padding: 10px 0; min-height: 44px; cursor: pointer; font: 500 13px/1.3 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--text-terracotta); }
.story__go:hover { text-decoration: underline; text-underline-offset: 4px; }
.story__go--next { margin-left: auto; text-align: right; }
.mm-tabs--story .mm-tabs__dots { margin-top: var(--space-6); }
.mm-tabs--story .mm-tabs__stage { display: block; }

/* Scrollable tab rows fade at the edges so it's clear there's more */
.mm-tabs__list.is-scrollable { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 32px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 32px), transparent 100%); }
.mm-tabs__list.is-scrollable.at-start { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent 100%); mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent 100%); }
.mm-tabs__list.is-scrollable.at-end { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px); mask-image: linear-gradient(90deg, transparent 0, #000 24px); }
.mm-tabs__list { scroll-behavior: smooth; }

/* Philosophy, constellations, next, invitation */
.ab-tme p { color: #eadbc6; }
.ab-cycle { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; margin: var(--space-5) auto 0; max-width: 48ch; }
.ac-stars { list-style: none; padding: 0; margin: var(--space-7) 0 var(--space-6); display: grid; gap: var(--space-4); position: relative; }
@media (min-width: 900px) {
  .ac-stars { grid-template-columns: repeat(5, 1fr); }
  .ac-stars::before { content: ""; position: absolute; left: 10%; right: 10%; top: 9px; border-top: 1px dashed color-mix(in srgb, var(--brand-terracotta) 55%, transparent); }
}
.ac-star a { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-decoration: none; color: var(--text-primary); position: relative; padding-bottom: var(--space-3); }
@media (min-width: 900px) { .ac-star a { align-items: center; text-align: center; } }
.ac-star__dot { width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 22%, transparent); margin-bottom: var(--space-3); transition: transform .3s, box-shadow .3s; }
.ac-star a:hover .ac-star__dot, .ac-star a:focus-visible .ac-star__dot { transform: scale(1.25); box-shadow: 0 0 0 8px color-mix(in srgb, var(--c) 28%, transparent), 0 0 18px var(--c); }
.ac-star__mark { font-family: var(--font-serif); font-style: italic; font-size: 32px; line-height: 1; color: var(--c); }
.ac-star__name { font-family: var(--font-serif); font-size: 18px; }
.ac-star__inv { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-terracotta); }
.ac-star__why { font-size: 15px; color: var(--text-muted); margin-top: 4px; }
.ac-star--me { --c: var(--pillar-me); } .ac-star--mud { --c: var(--pillar-mud); } .ac-star--be { --c: var(--pillar-be); } .ac-star--orbit { --c: var(--pillar-orbit); } .ac-star--hum { --c: var(--pillar-hum); }
.concepts { list-style: none; padding: 0; margin: var(--space-5) 0 0; display: grid; gap: var(--space-3) var(--space-6); }
@media (min-width: 760px) { .concepts { grid-template-columns: 1fr 1fr; } }
.concepts li { padding: var(--space-3) 0; border-bottom: 1px solid var(--line-hairline); }
.concepts strong { display: block; font-family: var(--font-serif); font-weight: 500; font-size: 20px; }
.four { list-style: none; padding: 0; margin: var(--space-5) 0 0; display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.four li { padding: var(--space-5); border: 1px solid var(--line-hairline); border-radius: var(--radius-md); display: flex; flex-direction: column; gap: 6px; }
.four strong { font-family: var(--font-serif); font-size: 24px; font-weight: 500; color: var(--text-terracotta); }
.ab-sign { display: flex; flex-direction: column; gap: 6px; margin: var(--space-6) 0; font-family: var(--font-serif); font-style: italic; }
.ab-sign span:first-child { font-size: clamp(1.5rem, 1.5vw + 1rem, 2.2rem); color: #f5e8d5; }
.ab-sign span:last-child { color: #e8b87f; }
.ab-ctas { justify-content: center; flex-wrap: wrap; }
.ab-invite .mm-btn--text { color: #e8b87f; }
.mm-tabs__panel { scroll-margin-top: calc(var(--header-h, 72px) + 16px); } .mm-tabs--story .mm-tabs__panel { scroll-margin-top: calc(var(--header-h, 72px) + 72px); }
@media (max-width: 899px) { .ac-stars.rail { grid-auto-columns: min(70%, 260px); } .ac-star a { padding: var(--space-4); border: 1px solid var(--line-hairline); border-radius: var(--radius-md); height: 100%; } }

/* About: alternating chapters, film grain, constellation transitions */
@media (min-width: 900px) {
  .story--flip { grid-template-columns: 7fr 5fr; }
  .story--flip .story__media { order: 2; }
}
.ab-grain { position: relative; isolation: isolate; }
.ab-grain::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.story__media { box-shadow: 0 18px 50px rgba(61, 15, 30, .18); }
.story__media img { filter: saturate(.92) contrast(1.03); }
.c-divider { display: flex; align-items: center; justify-content: center; gap: 14px; height: 0; position: relative; z-index: 2; color: #d99a58; }
.c-divider span { width: min(18vw, 140px); border-top: 1px dashed rgba(217, 154, 88, .55); }
.c-divider i { font-style: normal; font-size: 14px; background: var(--surface-page); padding: 6px; border-radius: 50%; line-height: 1; box-shadow: 0 0 14px rgba(217, 154, 88, .45); }

/* ===================== Creative-world navigation: discreet bar + Index ===================== */
.mm-nav { gap: var(--space-4); padding: 14px clamp(16px, 3vw, 36px); }
.mm-nav__links, .mm-nav > .mm-btn { display: none !important; }
.mm-nav__toggle {
  display: inline-flex !important; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; cursor: pointer;
  background: transparent; border: 1px solid var(--line-control); border-radius: 999px; color: var(--text-primary);
  font: 500 12px/1 var(--font-sans); letter-spacing: .22em; text-transform: uppercase;
}
.mm-nav__toggle i { width: 16px; height: 8px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
.mm-nav__toggle:hover { border-color: var(--brand-terracotta); color: var(--text-terracotta); }
.mm-return { margin-right: auto; margin-left: var(--space-5); display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font: 500 12px var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--text-terracotta); text-decoration: none; }
.mm-return span[aria-hidden] { font-size: 14px; color: var(--brand-amber); transition: transform .4s; }
.mm-return:hover span[aria-hidden] { transform: rotate(72deg); }
.mm-return:hover .mm-return__long, .mm-return:hover .mm-return__short { text-decoration: underline; text-underline-offset: 4px; }
.mm-return__short { display: none; }
@media (max-width: 640px) { .mm-return__long { display: none; } .mm-return__short { display: inline; } .mm-return { margin-left: var(--space-3); letter-spacing: .1em; } }
/* home: the bar floats over the world */
header.site--over { position: absolute; left: 0; right: 0; z-index: 30; }
header.site--over .mm-nav { background: transparent; border-bottom: 0; }
header.site--over .mm-wordmark { color: #fbf3e6; } header.site--over .mm-wordmark span { color: #f0c27e; }
header.site--over .mm-nav__toggle { color: #fbf3e6; border-color: rgba(248, 236, 217, .5); background: rgba(61, 15, 30, .3); backdrop-filter: blur(6px); }
.hw { padding-top: 0; }
.hw__lockup { --hw-top: 46px; }
/* Index menu */
.menu { background: var(--surface-page); overflow-y: auto; }
.menu__top .mm-wordmark { color: var(--text-primary); }
.menu__list { list-style: none; margin: var(--space-6) auto auto !important; padding: 0; display: grid !important; gap: 0 !important; width: min(720px, 100%); }
.menu__list li a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line-hairline); text-decoration: none; }
.menu__list strong { display: block; font: 400 clamp(1.7rem, 2.4vw + 1rem, 2.6rem)/1.08 var(--font-serif); color: var(--text-primary); transition: color .3s, transform .3s; }
.menu__list span { display: block; font-size: 14px; color: var(--text-muted); margin-top: 3px; }
.menu__list a:hover strong, .menu__list a:focus-visible strong { color: #f0c27e; transform: translateX(6px); }
.menu__list a[aria-current="page"] strong::after { content: " ✦"; color: #f0c27e; font-size: .6em; vertical-align: middle; }
.menu__more { display: flex; flex-wrap: wrap; gap: 8px 22px; width: min(720px, 100%); margin: var(--space-5) auto 0; font-size: 14px; }
.menu__more a { color: var(--text-muted); }
.diary-collections { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: var(--space-5) 0 0; } .diary-collections span { font-family: var(--font-serif); font-style: italic; font-size: 17px; padding: 5px 14px; border: 1px solid var(--line-control); border-radius: 999px; }
.diary-collections { gap: 4px 0; color: var(--text-muted); }
.diary-collections::before { content: "Collections:"; font: 500 12px var(--font-sans); letter-spacing: .16em; text-transform: uppercase; margin-right: 10px; align-self: center; }
.diary-collections span { border: 0; padding: 0; }
.diary-collections span:not(:last-child)::after { content: "·"; margin: 0 10px; color: var(--brand-amber); }

/* ===================== The North Star (The Miracle Effect) ===================== */
.ns { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; margin: var(--space-5) auto 0; max-width: 640px; }
.ns::after { content: ""; display: block; width: 1px; height: 28px; margin-top: 8px; border-left: 1px dashed rgba(240, 194, 126, .55); }
.ns__btn { display: inline-flex; align-items: center; gap: 14px; background: none; border: 0; cursor: pointer; color: #fbf3e6; padding: 8px 14px; border-radius: 999px; min-height: 44px; text-align: left; }
.ns__btn:focus-visible { outline: 2px solid #f0c27e; outline-offset: 4px; }
.ns__star { width: 34px; height: 34px; color: #f0c27e; filter: drop-shadow(0 0 10px rgba(240, 194, 126, .9)) drop-shadow(0 0 24px rgba(240, 194, 126, .5)); animation: ns-glow 4s ease-in-out infinite; transition: transform .5s; }
@keyframes ns-glow { 50% { filter: drop-shadow(0 0 4px rgba(240, 194, 126, .7)) drop-shadow(0 0 14px rgba(240, 194, 126, .35)); } }
.ns__btn:hover .ns__star, .ns__btn[aria-expanded="true"] .ns__star { transform: rotate(45deg) scale(1.1); }
.ns__label { display: flex; flex-direction: column; }
.ns__eyebrow { font: 500 11px var(--font-sans); letter-spacing: .26em; text-transform: uppercase; color: #f0c27e; }
.ns__name { font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.1; }
.ns__btn:hover .ns__name { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(240, 194, 126, .6); }
.ns__panel { margin-top: var(--space-4); padding: var(--space-5) var(--space-6); text-align: center; border: 1px solid rgba(240, 194, 126, .35); border-radius: 18px; background: rgba(40, 8, 20, .72); backdrop-filter: blur(6px); color: #eadbc6; animation: mw-in .45s cubic-bezier(.22,.8,.2,1); }
.ns__mantra { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.3rem, 1vw + 1rem, 1.7rem); color: #fbf3e6; margin: 0 0 var(--space-4); }
.ns__letters { list-style: none; padding: 0; margin: 0 0 var(--space-4); display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; font-family: var(--font-serif); font-size: 17px; color: #e6d3bc; }
.ns__letters b { color: #f0c27e; font-weight: 600; }
.ns__panel p { max-width: 52ch; margin-left: auto; margin-right: auto; }
.ns__close-line { font-family: var(--font-serif); font-style: italic; color: #fbf3e6; }
.no-js .ns__panel[hidden] { display: block; }
.mm-ns-eyebrow span { color: #f0c27e; margin-right: 4px; }
.c-intro { max-width: 640px; margin: 0 auto var(--space-7); text-align: center; font-family: var(--font-serif); font-size: clamp(1.2rem, .6vw + 1rem, 1.45rem); line-height: 1.5; }
.c-intro p { margin: 0 0 var(--space-3); }
.c-intro p:first-child { font-style: italic; color: var(--text-terracotta); }
[data-theme="espresso"] .c-intro p:first-child { color: #e8b87f; }
@media (prefers-reduced-motion: reduce) { .ns__star { animation: none; } }


/* ===================== Wine-berry world (site-wide) ===================== */
:root { --berry-deep: #2e0a18; --berry: #47122a; --berry-mid: #5a1830; --berry-glow: rgba(176, 58, 82, .5); --gold: #f0c27e;
  --berry-dust: radial-gradient(1px 1px at 12% 18%, rgba(240,194,126,.9), transparent 60%), radial-gradient(1px 1px at 68% 32%, rgba(240,194,126,.7), transparent 60%),
    radial-gradient(1.5px 1.5px at 38% 74%, rgba(255,228,180,.85), transparent 60%), radial-gradient(1px 1px at 86% 82%, rgba(240,194,126,.6), transparent 60%),
    radial-gradient(1px 1px at 24% 52%, rgba(240,194,126,.55), transparent 60%), radial-gradient(1.5px 1.5px at 92% 12%, rgba(255,228,180,.8), transparent 60%),
    radial-gradient(1px 1px at 54% 6%, rgba(240,194,126,.6), transparent 60%), radial-gradient(1px 1px at 4% 88%, rgba(240,194,126,.7), transparent 60%);
  --berry-sky: radial-gradient(ellipse 60% 55% at 50% 70%, rgba(176, 58, 82, .45), transparent 70%), radial-gradient(ellipse 70% 60% at 10% 0%, rgba(120, 32, 58, .7), transparent 70%),
    linear-gradient(180deg, #5a1830 0%, #47122a 55%, #3a0e22 100%); }
/* Dark sections take the berry sky with gold dust */
section[data-theme="espresso"], div[data-theme="espresso"] { background: var(--berry-dust), radial-gradient(ellipse 900px 520px at 50% 0, rgba(176, 58, 82, .32), transparent 72%), linear-gradient(180deg, #5a1830 0, #47122a 600px, #3d0f20 100%);
  background-size: 340px 340px, 340px 340px, 340px 340px, 340px 340px, 340px 340px, 340px 340px, 340px 340px, 340px 340px, 100% 100%, 100% 100%; background-repeat: repeat, repeat, repeat, repeat, repeat, repeat, repeat, repeat, no-repeat, no-repeat; }
/* Page heroes become berry, like the homepage */
.page-hero, .tme-top { position: relative; isolation: isolate; color: #fbf3e6; background: var(--berry-dust), var(--berry-sky); background-size: 300px 300px, 300px 300px, 300px 300px, 300px 300px, 300px 300px, 300px 300px, 300px 300px, 300px 300px, 100% 100%, 100% 100%, 100% 100%;
  --text-primary: #fbf3e6; --text-muted: #e3cbbf; --text-terracotta: #f0c27e; --text-link: #f0c27e; --text-olive: #d8d2b0;
  --action-primary: #f0c27e; --action-primary-hover: #f7d59f; --action-on-primary: #3d0f1e; --action-secondary-border: #fbf3e6;
  --surface-raised: rgba(255,255,255,.06); --surface-sunken: rgba(20,4,10,.3); --line-hairline: rgba(251,243,230,.2); --focus-ring: #f0c27e; }
.page-hero .breadcrumb, .page-hero .breadcrumb a { color: #e3cbbf; }
.page-hero .mm-eyebrow { color: #f0c27e; }
.page-hero .review { border-left-color: #f0c27e; color: #f2e4d6; }
.page-hero--blend::after { background: linear-gradient(to bottom, transparent 0%, rgba(110, 26, 54, .4) 55%, #47122a 100%) !important; }
/* Header bar on inner pages */
header.site:not(.site--over) { --surface-page: #3d0f1e; --text-primary: #fbf3e6; --text-muted: #e3cbbf; --line-hairline: rgba(251,243,230,.16); --text-terracotta: #f0c27e; --focus-ring: #f0c27e; --action-secondary-border: #f0c27e; }
header.site:not(.site--over) .mm-nav { background: #3d0f1e; border-bottom-color: rgba(240,194,126,.2); }
header.site:not(.site--over) .mm-wordmark { color: #fbf3e6; }
header.site:not(.site--over) .mm-wordmark span, header.site:not(.site--over) .mm-return { color: #f0c27e; }
header.site:not(.site--over) .mm-nav__toggle { color: #fbf3e6; border-color: rgba(240,194,126,.5); }
/* Footer */
.mm-footer { background: var(--berry-dust), linear-gradient(180deg, #3d0f1e, #2a0915); background-size: 320px 320px, 320px 320px, 320px 320px, 320px 320px, 320px 320px, 320px 320px, 320px 320px, 320px 320px, 100% 100%; color: #e3cbbf;
  --text-primary: #fbf3e6; --text-muted: #e3cbbf; --text-link: #f0c27e; --text-terracotta: #f0c27e; --line-hairline: rgba(251,243,230,.18); --line-control: #c9a6a6;
  --surface-raised: #4f1530; --surface-sunken: #2a0915; --action-primary: #f0c27e; --action-primary-hover: #f7d59f; --action-on-primary: #3d0f1e; --focus-ring: #f0c27e; --status-error: #f4a99a; }
.mm-footer a { color: #fbf3e6; }
/* Cream sections pick up a faint berry warmth */
:root { --surface-sunken: #f0dcd2; }
.mm-section--sunken { background: linear-gradient(180deg, #f3e2d6, #efd8cf); }

/* Wordmark: the hyphen matches the name */
.mm-wordmark span, header.site--over .mm-wordmark span, header.site:not(.site--over) .mm-wordmark span { color: inherit !important; }

/* Constellation full names: larger so each mark is instantly readable */
.c-star__name { position: static; transform: none; opacity: .92 !important; background: none; padding: 0; white-space: normal; max-width: 130px; text-align: center;
  font: 400 15px/1.2 var(--font-serif); letter-spacing: 0; text-transform: none; color: #f2e4d6; pointer-events: none; }
.c-star .c-star__name { color: #f2e4d6; }
.c-star:hover .c-star__name, .c-star:focus-visible .c-star__name, .c-star[aria-current="page"] .c-star__name { color: var(--glow, #f0c27e); opacity: 1 !important; }
.c-map--scene .c-star[aria-selected="true"] .c-star__name { opacity: 1 !important; color: var(--glow); }
.c-hero--overview .c-map, .c-map { height: auto; min-height: 190px; }
@media (max-width: 760px) { .c-star__name { font-size: 12px; max-width: 74px; } .c-map, .c-hero--overview .c-map { min-height: 170px; } }
.mm-pillar__name { font: 400 clamp(1.35rem, .6vw + 1.1rem, 1.6rem)/1.15 var(--font-serif); letter-spacing: 0; text-transform: none; color: var(--text-primary); margin: 0 0 4px; }
.c-name { font: 400 clamp(1.6rem, 1.4vw + 1.1rem, 2.3rem)/1.15 var(--font-serif); letter-spacing: 0; text-transform: none; margin: var(--space-3) 0 0; }
.c-scene__name { font: 400 clamp(1.4rem, 1vw + 1rem, 1.9rem)/1.15 var(--font-serif); letter-spacing: 0; text-transform: none; }
.ac-star__name { font-size: 22px; }
.ctag__name { font-style: normal; font-family: var(--font-sans); font-size: 13px; margin-left: 6px; opacity: .9; }
.cfilter__b small { display: block; font: 400 11px/1.2 var(--font-sans); font-style: normal; letter-spacing: 0; text-transform: none; opacity: .85; }

/* Constellations overview: hero glow fades out before the next section, so there is no seam */
.c-hero--overview::before, .c-hero--overview > .c-wash, .c-hero--overview > .c-sky {
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 96%); mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 96%); }
.c-hero--overview + #arches { margin-top: -1px; }

section#arches[data-theme] { background: var(--berry-dust), linear-gradient(180deg, #4e1529 0, #47122a 700px, #3d0f20 100%); background-size: 340px 340px, 340px 340px, 340px 340px, 340px 340px, 340px 340px, 340px 340px, 340px 340px, 340px 340px, 100% 100%; }


/* Spam trap on the forms: hidden from people and screen readers, bots fill it in */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
