/* More Motion site system: "The archive at night" (14 Oct 2026).
   Built from the brand tokens (Signal/brand/more-motion-identity/tokens) and the SGSE specialist
   consultation of 13 Oct 2026 (production_packets/20261013T120000Z_moremotion_cinematic_redesign_consultation).
   Rules: one dominant image, one headline, one primary action and one state colour per view. Motion is
   started by the person and settles; nothing animates while nobody is doing anything. The page must look
   finished with every effect off. Effect tiers: html[data-effects="still|lite|full"]. */

:root {
  --ink: #0E1312; --paper: #F6F8F7; --night: #1B1721;
  --s950: #0E1312; --s1000: #070B0A; --s900: #181D1C; --s800: #2A2F2E; --s700: #414645; --s600: #5C6261; --s500: #7C8281; --s400: #A0A6A5; --s300: #C6CCCB; --s200: #DCE3E2;
  --tide-300: #98D2C3; --tide-400: #64BAA7; --tide-500: #2EA08A; --tide-800: #1F4D43; --tide-900: #1E332D;
  --drift-300: #A1CAE8; --drift-400: #75AFD8; --drift-900: #21303A;
  --dusk-300: #CCBBE5; --dusk-400: #B29BD4; --dusk-900: #302B39;
  --bg: var(--ink); --surface: #151A19; --surface-2: var(--s900);
  --text: var(--paper); --text-2: #C9D0CE; --muted: var(--s400);
  --line: var(--s800); --line-strong: var(--s500);
  --accent: var(--tide-400); --accent-text: var(--tide-300); --on-accent: var(--ink);
  --focus: var(--tide-300); --danger: #F09080;
  --st: var(--tide-300); --st-ink: var(--tide-400);
  --f-display: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --f-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", "Cascadia Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  /* motion tokens: no page uses its own timings */
  --t-press: 80ms; --t-fade: 120ms; --t-state: 220ms; --t-page: 300ms;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --card-ratio: 832 / 1216;
  --gut: 32px; --gap: 24px; --max: 1280px;
  --sec: 160px;
  color-scheme: dark;
}
@media (max-width: 1279px) { :root { --gut: 24px; --gap: 20px; } }
@media (max-width: 1023px) { :root { --sec: 112px; } }
@media (max-width: 767px)  { :root { --gut: 16px; --gap: 16px; --sec: 72px; --t-page: 220ms; } }

html[data-state="focus"]   { --st: var(--tide-300);  --st-ink: var(--tide-400); }
html[data-state="wander"]  { --st: var(--drift-300); --st-ink: var(--drift-400); }
html[data-state="reflect"] { --st: var(--dusk-300);  --st-ink: var(--dusk-400); }

/* ---------- base ---------- */
html.mm-site { background: var(--bg); scrollbar-gutter: stable; }
html.mm-site body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.62 var(--f-text);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
.mm-site *, .mm-site *::before, .mm-site *::after { box-sizing: border-box; }
.mm-site img { max-width: 100%; height: auto; }
:where(.mm-site) a { color: var(--accent-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.mm-site :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.mm-site ::selection { background: var(--tide-800); color: var(--paper); }
.mm-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.mm-skip:focus { top: 12px; }
.mm-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.mm-wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.mm-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
@media (max-width: 1023px) { .mm-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
@media (max-width: 767px)  { .mm-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mm-section { padding: var(--sec) 0; }
.mm-section + .mm-section { padding-top: 0; }
.mm-rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- type ---------- */
.mm-eyebrow { font: 400 12px/16px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--st); margin: 0 0 20px; }
.mm-display, .mm-h1, .mm-h2, .mm-h3 { font-family: var(--f-display); font-weight: 500; color: var(--text); margin: 0; text-wrap: balance; }
.mm-display { font-size: clamp(3rem, 6.1vw, 5.5rem); line-height: .98; letter-spacing: -.03em; }
.mm-h1 { font-size: clamp(2.25rem, 4vw, 3.25rem); line-height: 1.02; letter-spacing: -.025em; }
.mm-h2 { font-size: clamp(1.625rem, 2.5vw, 2.25rem); line-height: 1.1; letter-spacing: -.018em; }
.mm-h3 { font-size: 1.375rem; line-height: 1.2; letter-spacing: -.01em; }
.mm-lead { font: 400 clamp(1.125rem, 1.4vw, 1.25rem)/1.6 var(--f-text); color: var(--text-2); max-width: 60ch; margin: 24px 0 0; text-wrap: pretty; }
.mm-body { color: var(--text-2); max-width: 68ch; text-wrap: pretty; }
.mm-small { font-size: 14px; line-height: 1.55; color: var(--muted); }
.mm-cite { font: 400 13px/1.45 var(--f-mono); color: var(--muted); max-width: 54ch; }
@media (max-width: 767px) { .mm-display { font-size: clamp(2.5rem, 11vw, 3.25rem); } }

/* ---------- buttons ---------- */
.mm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.mm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 12px;
  font: 600 16px/1 var(--f-text); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color var(--t-fade) var(--ease), border-color var(--t-fade) var(--ease), transform var(--t-press) linear;
}
.mm-btn:active { transform: translateY(1px); }
.mm-btn-primary { background: var(--accent); color: var(--on-accent); }
.mm-btn-primary:hover { background: var(--tide-300); }
.mm-btn-quiet { background: transparent; color: var(--text); border-color: var(--line-strong); }
.mm-btn-quiet:hover { border-color: var(--text-2); }
.mm-btn[disabled] { opacity: .55; cursor: default; }
.mm-link { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; font-weight: 500; }
.mm-link:hover { border-color: var(--st); }

/* ---------- header and footer ---------- */
.mm-top { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color var(--t-fade) linear; }
.mm-top.is-scrolled { border-bottom-color: var(--line); }
.mm-top .mm-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.mm-logo { display: inline-flex; align-items: center; color: var(--paper); }
.mm-logo img { height: 28px; width: auto; display: block; }
.mm-nav { display: flex; align-items: center; gap: 28px; }
.mm-nav a { color: var(--text-2); text-decoration: none; font: 500 15px/1 var(--f-text); padding: 10px 0; border-bottom: 1px solid transparent; }
.mm-nav a:hover, .mm-nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--st); }
@media (max-width: 767px) {
  .mm-top .mm-wrap { height: 60px; }
  .mm-logo img { height: 24px; }
  .mm-nav { gap: 18px; }
  .mm-nav .mm-nav-x { display: none; }
}
.mm-foot { border-top: 1px solid var(--line); padding: 64px 0 48px; color: var(--muted); font-size: 14px; }
.mm-foot .mm-grid { row-gap: 32px; }
.mm-foot .mm-foot-brand { grid-column: 1 / span 5; }
.mm-foot .mm-foot-brand img { height: 26px; width: auto; display: block; margin-bottom: 18px; }
.mm-foot nav { grid-column: span 3; display: flex; flex-direction: column; gap: 10px; }
.mm-foot nav a { color: var(--text-2); text-decoration: none; }
.mm-foot nav a:hover { color: var(--text); text-decoration: underline; }
.mm-foot .mm-foot-h { font: 400 12px/16px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--s500); margin: 0 0 6px; }
.mm-foot .mm-foot-line { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
@media (max-width: 1023px) { .mm-foot .mm-foot-brand { grid-column: 1 / -1; } .mm-foot nav { grid-column: span 4; } }
@media (max-width: 767px)  { .mm-foot nav { grid-column: span 2; } }

/* ---------- the card and its stage ---------- */
.mm-stage {
  position: relative; background: var(--night); border-radius: 20px;
  display: grid; place-items: center; padding: clamp(28px, 4vw, 56px);
  isolation: isolate;
}
.mm-card {
  position: relative; margin: 0; width: 100%; max-width: 480px; aspect-ratio: var(--card-ratio);
  border-radius: 14px; overflow: hidden; background: var(--night);
  box-shadow: 0 24px 70px rgb(0 0 0 / 35%);
}
.mm-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.mm-card::after { content: ""; position: absolute; inset: 0; background: var(--night); opacity: 0; pointer-events: none; }
.mm-card.is-dip-out::after { opacity: 1; transition: opacity 80ms linear; }
.mm-card.is-dip-in::after  { opacity: 0; transition: opacity 120ms linear; }
.mm-card-cap { margin: 16px 0 0; font: 400 13px/1.45 var(--f-mono); color: var(--muted); text-align: center; }
.mm-card-cap b { color: var(--text-2); font-weight: 400; }

/* ---------- home: threshold ---------- */
.mm-threshold { min-height: 88svh; display: flex; align-items: center; padding: 48px 0 96px; }
.mm-threshold .mm-grid { align-items: center; row-gap: 48px; }
.mm-threshold-copy { grid-column: 1 / span 6; }
.mm-threshold-art { grid-column: 8 / span 5; }
.mm-threshold-art .mm-card { max-width: 440px; }
@media (max-width: 1023px) { .mm-threshold-copy { grid-column: 1 / -1; } .mm-threshold-art { grid-column: 2 / span 6; } }
@media (max-width: 767px)  {
  .mm-threshold { min-height: 0; padding: 32px 0 72px; }
  .mm-threshold-art { grid-column: 1 / -1; }
  .mm-threshold-art .mm-stage { padding: 24px; }
  .mm-threshold-art .mm-card { max-width: min(62vw, 260px); }
}

/* ---------- ways in (state chooser) ---------- */
.mm-ways .mm-grid { row-gap: 40px; align-items: start; }
.mm-ways-head { grid-column: 1 / span 5; }
.mm-ways-list { grid-column: 7 / span 6; display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (max-width: 1023px) { .mm-ways-head, .mm-ways-list { grid-column: 1 / -1; } }
.mm-way {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 20px; align-items: center; text-align: left; width: 100%;
  padding: 28px 4px; background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--text); cursor: pointer;
  font: inherit;
}
.mm-way mm-mark { width: 32px; color: var(--s400); }
.mm-way .mm-way-name { font: 500 1.5rem/1.15 var(--f-display); letter-spacing: -.012em; display: block; }
.mm-way .mm-way-desc { color: var(--muted); font-size: 15px; display: block; margin-top: 6px; }
.mm-way .mm-way-state { font: 400 12px/16px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--s500); }
.mm-way:hover .mm-way-name { color: var(--paper); }
.mm-way[aria-pressed="true"] mm-mark { color: var(--st); }
.mm-way[aria-pressed="true"] .mm-way-state { color: var(--st); }
.mm-way[data-way="focus"][aria-pressed="true"]   { --st: var(--tide-300); }
.mm-way[data-way="wander"][aria-pressed="true"]  { --st: var(--drift-300); }
.mm-way[data-way="reflect"][aria-pressed="true"] { --st: var(--dusk-300); }
.mm-ways-note { margin-top: 24px; min-height: 26px; }

/* ---------- the deck fan (full tier only; static everywhere else) ---------- */
.mm-fan { position: relative; }
.mm-fan-stage { position: relative; height: clamp(420px, 60svh, 600px); display: grid; place-items: center; background: var(--night); border-radius: 20px; overflow: clip; }
.mm-fan-cards { position: relative; width: min(100%, 980px); height: 100%; }
.mm-fan-cards figure {
  position: absolute; left: 50%; top: 50%; margin: 0; width: clamp(150px, 17vw, 230px); aspect-ratio: var(--card-ratio);
  border-radius: 12px; overflow: hidden; box-shadow: 0 18px 50px rgb(0 0 0 / 40%);
  transform: translate(calc(-50% + var(--x)), -50%) rotate(var(--r));
}
.mm-fan-cards figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mm-fan-cards figure:nth-child(1) { --x: -96%; --r: -5deg; z-index: 1; }
.mm-fan-cards figure:nth-child(2) { --x: -48%; --r: -2.5deg; z-index: 2; }
.mm-fan-cards figure:nth-child(3) { --x: 0%;   --r: 0deg; z-index: 3; }
.mm-fan-cards figure:nth-child(4) { --x: 48%;  --r: 2.5deg; z-index: 2; }
.mm-fan-cards figure:nth-child(5) { --x: 96%;  --r: 5deg; z-index: 1; }
.mm-fan-copy { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 40px; }
@media (max-width: 767px) {
  .mm-fan-stage { height: auto; padding: 32px 16px; }
  .mm-fan-cards { height: auto; display: flex; justify-content: center; }
  .mm-fan-cards figure { position: relative; left: auto; top: auto; transform: none; width: 46%; margin-left: -18%; }
  .mm-fan-cards figure:first-child { margin-left: 0; }
  .mm-fan-cards figure:nth-child(n+4) { display: none; }
  .mm-fan-cards figure:nth-child(1) { transform: rotate(-4deg); }
  .mm-fan-cards figure:nth-child(3) { transform: rotate(4deg); }
}
/* Full tier: cards gather from a closed stack into the fan as the section enters, tied to scroll, then hold. */
@supports (animation-timeline: view()) {
  @media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
    html[data-effects="full"] .mm-fan-cards figure {
      animation: mm-fan linear both; animation-timeline: view(); animation-range: entry 10% cover 45%;
    }
    @keyframes mm-fan {
      from { transform: translate(-50%, calc(-50% + 24px)) rotate(0deg) scale(.98); }
      to   { transform: translate(calc(-50% + var(--x)), -50%) rotate(var(--r)) scale(1); }
    }
  }
}

/* ---------- archive index (one active card beside the full list) ---------- */
.mm-index .mm-grid { align-items: start; row-gap: 40px; }
.mm-index-art { grid-column: 1 / span 5; position: sticky; top: 104px; }
.mm-index-list { grid-column: 7 / span 6; }
@media (max-width: 1023px) { .mm-index-art { display: none; } .mm-index-list { grid-column: 1 / -1; } }
.mm-rooms { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); counter-reset: room; }
.mm-rooms li { border-bottom: 1px solid var(--line); counter-increment: room; }
.mm-rooms a {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: baseline;
  padding: 22px 4px; text-decoration: none; color: var(--text);
}
.mm-rooms a::before { content: counter(room, decimal-leading-zero); font: 400 13px/1 var(--f-mono); color: var(--s500); }
.mm-rooms .mm-room-t { font: 500 1.5rem/1.15 var(--f-display); letter-spacing: -.012em; }
.mm-rooms .mm-room-k { display: block; font: 400 12px/16px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.mm-rooms .mm-room-d { display: block; color: var(--muted); font-size: 15px; margin-top: 6px; max-width: 52ch; }
.mm-rooms .mm-room-go { color: var(--s500); font-size: 20px; transition: color var(--t-fade) linear, transform var(--t-fade) var(--ease); }
.mm-rooms a:hover .mm-room-go, .mm-rooms a:focus-visible .mm-room-go, .mm-rooms a.is-active .mm-room-go { color: var(--st); transform: translateX(4px); }
.mm-rooms a.is-active .mm-room-t { color: var(--paper); }

/* ---------- sources principle ---------- */
.mm-proof .mm-grid { row-gap: 40px; }
.mm-proof-head { grid-column: 1 / span 5; }
.mm-proof-body { grid-column: 7 / span 6; display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (max-width: 1023px) { .mm-proof-head, .mm-proof-body { grid-column: 1 / -1; } }
.mm-claim { padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 120px 1fr; gap: 20px; }
.mm-claim dt { font: 400 12px/18px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mm-claim dd { margin: 0; color: var(--text-2); }
.mm-claim dd .mm-cite { display: block; margin-top: 10px; }
@media (max-width: 767px) { .mm-claim { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- reading table (portrait, ask) ---------- */
.mm-table .mm-grid { row-gap: 48px; align-items: start; }
.mm-table-art { grid-column: 1 / span 4; }
.mm-table-work { grid-column: 6 / span 7; }
.mm-table-art .mm-card { max-width: 340px; }
@media (max-width: 1023px) { .mm-table-art { display: none; } .mm-table-work { grid-column: 1 / -1; } }
.mm-form { display: grid; gap: 20px; margin-top: 32px; max-width: 640px; }
.mm-field label, .mm-fieldset legend { display: block; font: 500 14px/1.3 var(--f-text); color: var(--text-2); margin-bottom: 8px; padding: 0; }
.mm-field .mm-hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.mm-input {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px;
  background: var(--surface); color: var(--text); border: 1px solid var(--line-strong);
  font: 400 16px/1.4 var(--f-text);
}
.mm-input:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: transparent; }
.mm-input::placeholder { color: var(--s500); }
.mm-fieldset { border: 0; margin: 0; padding: 0; }
.mm-date { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 12px; max-width: 360px; }
.mm-date span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.mm-status { min-height: 24px; font-size: 15px; color: var(--muted); margin: 0; }
.mm-connect .mm-status:empty { display: none; }
.mm-status.is-err { color: var(--danger); }
.mm-result { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.mm-result p { color: var(--text-2); font-size: 17px; line-height: 1.7; max-width: 66ch; margin: 0 0 20px; }
.mm-result p.mm-connector { font-family: var(--f-display); font-size: 1.375rem; line-height: 1.35; color: var(--text); }
.mm-result .mm-numbers { display: flex; flex-wrap: wrap; gap: 28px; margin: 0 0 28px; padding: 0; list-style: none; }
.mm-result .mm-numbers li { min-width: 110px; }
.mm-result .mm-numbers b { display: block; font: 500 2.5rem/1 var(--f-display); color: var(--text); font-variant-numeric: tabular-nums; }
.mm-result .mm-numbers span { font: 400 12px/16px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mm-ask { display: flex; gap: 10px; align-items: stretch; max-width: 720px; margin-top: 28px; }
.mm-ask .mm-input { flex: 1; }
.mm-prompts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.mm-prompt { background: none; border: 1px solid var(--line); color: var(--text-2); border-radius: 999px; min-height: 40px; padding: 0 16px; font: 400 14px/1 var(--f-text); cursor: pointer; }
.mm-prompt:hover { border-color: var(--line-strong); color: var(--text); }
.mm-answer { margin-top: 28px; max-width: 68ch; color: var(--text-2); font-size: 17px; line-height: 1.7; }
.mm-answer:empty { display: none; }
.mm-answer .mm-cite { margin-top: 12px; display: block; }

/* ---------- app and connect ---------- */
.mm-app .mm-grid { align-items: center; row-gap: 48px; }
.mm-app-copy { grid-column: 1 / span 6; }
.mm-app-shot { grid-column: 8 / span 4; }
.mm-app-shot img { display: block; width: 100%; max-width: 340px; margin: 0 auto; border-radius: 36px; border: 1px solid var(--line); }
@media (max-width: 1023px) { .mm-app-copy { grid-column: 1 / -1; } .mm-app-shot { grid-column: 2 / span 6; } }
@media (max-width: 767px) { .mm-app-shot { grid-column: 1 / -1; } }
.mm-connect { background: var(--night); border-radius: 20px; padding: clamp(32px, 5vw, 72px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 24px; align-items: end; }
.mm-connect > div:first-child { grid-column: 1 / span 6; }
.mm-connect form { grid-column: 7 / span 6; display: flex; gap: 10px; }
.mm-connect form .mm-input { flex: 1; }
.mm-connect .mm-status { grid-column: 7 / span 6; }
@media (max-width: 1023px) { .mm-connect > div:first-child, .mm-connect form, .mm-connect .mm-status { grid-column: 1 / -1; } }
@media (max-width: 520px) { .mm-connect form, .mm-ask { flex-direction: column; } }

/* ---------- discover directory ---------- */
.mm-dir-head { padding: 64px 0 24px; }
.mm-dir-head .mm-grid { row-gap: 24px; align-items: end; }
.mm-dir-head .mm-dir-t { grid-column: 1 / span 7; }
.mm-dir-head .mm-dir-aside { grid-column: 9 / span 4; }
@media (max-width: 1023px) { .mm-dir-head .mm-dir-t, .mm-dir-head .mm-dir-aside { grid-column: 1 / -1; } }
.mm-dir-extra { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
@media (max-width: 767px) { .mm-dir-extra { grid-template-columns: 1fr; } }
.mm-panel { border: 1px solid var(--line); border-radius: 16px; padding: 32px; background: var(--surface); }
.mm-panel h2 { font: 500 1.375rem/1.2 var(--f-display); margin: 0 0 10px; }
.mm-panel p { color: var(--muted); margin: 0 0 20px; }

/* ---------- room hero and room chrome (rooms keep their tools; this layer restyles them) ---------- */
.mm-roomhero { padding: 40px 0 72px; }
.mm-roomhero .mm-grid { align-items: center; row-gap: 40px; min-height: min(76svh, 760px); }
.mm-roomhero-art { grid-column: 1 / span 5; }
.mm-roomhero-copy { grid-column: 7 / span 6; }
.mm-roomhero-art .mm-card { max-width: 420px; }
.mm-roomhero .mm-limit { margin-top: 28px; padding-left: 16px; border-left: 2px solid var(--st-ink); color: var(--text-2); max-width: 54ch; font-size: 15px; }
@media (max-width: 1023px) { .mm-roomhero-art { grid-column: 1 / span 3; } .mm-roomhero-copy { grid-column: 4 / span 5; } .mm-roomhero .mm-grid { min-height: 0; } }
/* Support line in the footer: plain text weight, a text link, never a button (SGSE decisions consult 17 Oct 2026). */
.mm-foot .mm-foot-support { margin-top: 12px; max-width: 52ch; }

/* Thank-you note after a patronage payment (/?thanks). Static: no entrance motion, gone on close or reload. */
.mm-thanks { border-bottom: 1px solid var(--line); background: var(--surface); }
.mm-thanks .mm-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding-top: 12px; padding-bottom: 12px; }
.mm-thanks p { margin: 0; color: var(--text-2); }
.mm-thanks b { color: var(--text); font-weight: 600; }
.mm-thanks-x { flex: none; min-height: 44px; min-width: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: none; color: var(--text); font: 500 15px/1 var(--f-text); cursor: pointer; }
.mm-thanks-x:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Phones (SGSE site consult 17 Oct 2026, candidate A): the room's tool comes first. The card becomes a
   small plate beside the eyebrow and title, so the lead, the limit line and the actions follow at once and
   the instrument starts near the first screen. No motion is added; the card keeps its view transition. */
@media (max-width: 767px) {
  .mm-roomhero { padding: 20px 0 28px; }
  .mm-roomhero .mm-grid { grid-template-columns: 76px minmax(0, 1fr); column-gap: 16px; row-gap: 0; align-items: start; }
  .mm-roomhero-copy { display: contents; }
  .mm-roomhero-art { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
  .mm-roomhero-art .mm-stage { padding: 0; background: none; border-radius: 0; }
  .mm-roomhero-art .mm-card { max-width: 76px; border-radius: 8px; box-shadow: 0 8px 24px rgb(0 0 0 / 35%); }
  .mm-roomhero-art .mm-card-cap { display: none; }
  .mm-roomhero-copy > .mm-eyebrow { grid-column: 2; grid-row: 1; margin-top: 4px; }
  .mm-roomhero-copy > .mm-display { grid-column: 2; grid-row: 2; align-self: start; }
  .mm-roomhero-copy > :not(.mm-eyebrow):not(.mm-display) { grid-column: 1 / -1; }
  .mm-roomhero-copy > .mm-lead { margin-top: 20px; }
  .mm-roomhero .mm-limit { margin-top: 16px; }
  .mm-roomhero .mm-actions { margin-top: 20px; gap: 10px; }
  .mm-roomhero .mm-actions .mm-btn { padding: 0 16px; font-size: 15px; white-space: nowrap; }
  html.mm-site .mm-roomhero ~ .dsc-wrap { padding-top: 8px; }
}
.mm-switch { border-bottom: 1px solid var(--line); background: var(--bg); }
.mm-switch .mm-wrap { display: flex; align-items: center; gap: 4px; min-height: 52px; overflow-x: auto; scrollbar-width: none; }
.mm-switch .mm-wrap::-webkit-scrollbar { display: none; }
.mm-switch-l { font: 400 12px/16px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--s500); margin-right: 12px; white-space: nowrap; }

/* Room pages: freeze the wing's drifting hue and map its variables onto the brand. */
html.mm-site {
  --bg: var(--ink); --bg-glow: var(--ink); --bg-cool: var(--ink); --bg-deep: #0A0E0D;
  --dim: var(--s500); --muted: var(--s400); --accent: var(--tide-400); --fg: var(--paper); --fg-soft: var(--text-2);
  --line: var(--s800); --line-strong: var(--s600); --teal: var(--tide-400);
  --mono: var(--f-mono); --sans: var(--f-text); --disp: var(--f-display); --display: var(--f-display);
}
html.mm-site .dsc-wrap {
  max-width: calc(880px + 2 * var(--gut)); padding: 64px var(--gut) var(--sec); margin: 0 auto;
}
html.mm-site body { background-image: none; }
html.mm-site #dsc-aurora, html.mm-site #dsc-geo, html.mm-site #dsc-grain, html.mm-site .dsc-eye, html.mm-site #dsc-glow, html.mm-site .dsc-cursor-glow, html.mm-site canvas.dsc-particles { display: none !important; }
html.mm-site .dsc-head { display: none; }
/* the generated room list becomes the compact switcher */
html.mm-site .mm-switch .dsc-nav { display: flex; flex-wrap: nowrap; gap: 4px; margin: 0; }
html.mm-site .mm-switch .dsc-nav a {
  font: 500 14px/1 var(--f-text); letter-spacing: 0; text-transform: none; color: var(--muted);
  border: 0; border-radius: 0; padding: 18px 10px 16px; white-space: nowrap; border-bottom: 2px solid transparent; background: none;
}
html.mm-site .mm-switch .dsc-nav a::first-letter { text-transform: uppercase; }
html.mm-site .mm-switch .dsc-nav a:hover { color: var(--text); }
html.mm-site .mm-switch .dsc-nav a.is-here { color: var(--text); border-bottom-color: var(--st); }
/* in-room section tabs */
html.mm-site .dsc-wrap > .dsc-nav[role="tablist"] { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin: 0 0 48px !important; }
html.mm-site .dsc-tab {
  font: 500 16px/1 var(--f-text); letter-spacing: 0; color: var(--muted); background: none; border: 0; border-radius: 0;
  padding: 16px 0 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; min-height: 48px;
}
html.mm-site .dsc-tab::before { content: none; }
html.mm-site .dsc-tab::first-letter { text-transform: uppercase; }
html.mm-site .dsc-tab:hover { color: var(--text); }
html.mm-site .dsc-tab.is-on, html.mm-site .dsc-tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--st); }
/* cards: one surface, no glass */
html.mm-site .dsc-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(24px, 3vw, 40px); margin-bottom: 24px; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
html.mm-site .dsc-card h2 { font: 500 1.5rem/1.2 var(--f-display); letter-spacing: -.012em; text-transform: none; color: var(--text); margin: 0 0 16px; }
html.mm-site .dsc-card h2::first-letter, html.mm-site .dsc-card h3::first-letter, html.mm-site .dsc-btn::first-letter, html.mm-site .dsc-chip::first-letter, html.mm-site .dsc-field label::first-letter { text-transform: uppercase; }
html.mm-site .dsc-card p { color: var(--text-2); max-width: 68ch; }
html.mm-site .dsc-field label { font: 500 14px/1.3 var(--f-text); letter-spacing: 0; color: var(--text-2); text-transform: none; margin-bottom: 8px; }
html.mm-site .dsc-field input, html.mm-site .dsc-field select, html.mm-site .dsc-field textarea, html.mm-site .dsc-chatrow input {
  background: var(--bg); color: var(--text); border: 1px solid var(--line-strong); border-radius: 10px; min-height: 48px; padding: 12px 14px; font: 400 16px/1.4 var(--f-text);
}
html.mm-site .dsc-btn, html.mm-site .dsc-go {
  background: var(--accent); color: var(--on-accent); border: 0; border-radius: 12px; min-height: 48px; padding: 0 22px;
  font: 600 16px/48px var(--f-text); letter-spacing: 0; text-transform: none; box-shadow: none; display: inline-block;
}
html.mm-site .dsc-btn:hover, html.mm-site .dsc-go:hover { background: var(--tide-300); }
html.mm-site .dsc-btn.dsc-quiet { background: transparent; color: var(--text); border: 1px solid var(--line-strong); line-height: 46px; }
html.mm-site .dsc-chip {
  font: 500 14px/1 var(--f-text); letter-spacing: 0; text-transform: none; color: var(--text-2);
  border: 1px solid var(--line-strong); background: none; border-radius: 999px; min-height: 40px; padding: 0 16px;
}
html.mm-site .dsc-chip[aria-pressed="true"], html.mm-site .dsc-chip.is-on { color: var(--ink); background: var(--st); border-color: var(--st); }
html.mm-site .dsc-output { font: 400 17px/1.7 var(--f-text); color: var(--text-2); max-width: 66ch; border: 0; background: none; padding: 0; margin: 24px 0 0; }
html.mm-site .dsc-status { font: 400 13px/1.45 var(--f-mono); color: var(--muted); letter-spacing: .02em; }
html.mm-site .dsc-trace, html.mm-site .dsc-ev li { font-family: var(--f-mono); font-size: 13px; line-height: 1.5; color: var(--muted); }
html.mm-site .dsc-ev li { font-family: var(--f-text); font-size: 15px; color: var(--text-2); border-color: var(--line); }
html.mm-site .dsc-ev b, html.mm-site .dsc-ev strong { font: 400 12px/16px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
html.mm-site .dsc-honest { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; padding: 32px 0 0; margin-top: 48px; color: var(--muted); font-size: 14px; max-width: 68ch; }
html.mm-site .dsc-foot { display: none; }
html.mm-site .dsc-states { gap: 8px; }
html.mm-site .dsc-cat > * { background: var(--bg); border-color: var(--line); border-radius: 12px; }
html.mm-site .dsc-tcard, html.mm-site .dsc-tface { border-radius: 10px; }
html.mm-site .dsc-reveal, html.mm-site body.dsc-arriving * { opacity: 1 !important; transform: none !important; }

/* ---------- view transitions (navigation is an interaction) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
::view-transition-group(*) { animation-duration: var(--t-page); animation-timing-function: var(--ease); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: var(--t-fade); }
html[data-effects="still"]::view-transition-group(*), html[data-effects="still"]::view-transition-old(*), html[data-effects="still"]::view-transition-new(*) { animation: none !important; }

@media (prefers-reduced-motion: reduce) {
  .mm-site *, .mm-site *::before, .mm-site *::after { transition: none !important; animation: none !important; }
}
@media (forced-colors: active) {
  .mm-btn, .mm-way, .mm-rooms a, .mm-input { border: 1px solid CanvasText; }
  .mm-card::after { display: none; }
}
@media print { .mm-top, .mm-switch, .mm-foot, .mm-connect { display: none; } html.mm-site body { background: #fff; color: #000; } }

/* Room pages: the wing's own grain, top aurora, glow and fixed layers stay off. */
html.mm-site body::before, html.mm-site body::after { content: none !important; display: none !important; }
html.mm-site #dsc-particles { display: none !important; }
/* No glass, glows or idle loops on room chrome. The aura and chakra colours are the content of those tools,
   so they keep their colour light, but they no longer breathe or pulse. */
html.mm-site [class*="dsc-"]:not(.dsc-aura-orb):not(.dsc-chakra-node), html.mm-site [class*="dsc-"]::before {
  box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; text-shadow: none !important;
}
html.mm-site .dsc-card::before { content: none !important; }
html.mm-site .dsc-card:hover, html.mm-site .dsc-grid .dsc-card:hover { transform: none !important; border-color: var(--line-strong); }
html.mm-site button.dsc-btn { background: var(--accent) !important; filter: none !important; }
html.mm-site button.dsc-btn:hover { transform: none !important; background: var(--tide-300) !important; }
html.mm-site button.dsc-btn.dsc-quiet { background: transparent !important; }
html.mm-site .dsc-nav a, html.mm-site .dsc-tab { background: none !important; }
html.mm-site .dsc-aura-orb, html.mm-site .dsc-chakra-node .orb, html.mm-site .dsc-glimpse, html.mm-site [class*="dsc-"] { animation-iteration-count: 1 !important; }
html.mm-site #dsc-cursorglow, html.mm-site #dsc-huewash, html.mm-site .dsc-glimpse { display: none !important; }
html.mm-site .dsc-field input, html.mm-site .dsc-field select, html.mm-site .dsc-field textarea { background: var(--bg) !important; }
html.mm-site .dsc-field input:focus, html.mm-site .dsc-field select:focus, html.mm-site .dsc-field textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; }
html.mm-site .dsc-nav a, html.mm-site .dsc-nav a.is-here, html.mm-site .dsc-nav a:hover { box-shadow: none !important; transform: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }

/* SITE_V2 (25 Oct 2026): questions section on the home page */
.mm-faq-head{grid-column:1 / span 4}
.mm-faq-list{grid-column:5 / -1;display:grid;gap:0;border-top:1px solid var(--line)}
.mm-faq-item{border-bottom:1px solid var(--line);padding:18px 0}
.mm-faq-item summary{cursor:pointer;font-family:var(--f-display);font-size:1.15rem;line-height:1.4;list-style:none}
.mm-faq-item summary::-webkit-details-marker{display:none}
.mm-faq-item summary::after{content:"+";float:right;opacity:.6;margin-left:16px}
.mm-faq-item[open] summary::after{content:"\2212"}
.mm-faq-item p{margin:12px 0 0;max-width:62ch;color:var(--text-2)}
/* four footer columns on wide screens (Follow added) */
@media (min-width:1024px){.mm-foot nav{grid-column:span 2}}
@media (max-width:767px){.mm-faq-head,.mm-faq-list{grid-column:1 / -1}}
