/* Portal styles — extends atlas.css */

:root {
  --portal-bg: var(--sand-100);
  --portal-card: var(--sand-50);
  --portal-line: var(--sand-300);
  --phase-1: #2c5a4a;  /* Awareness */
  --phase-1-lo: rgba(44,90,74,0.10);
  --phase-2: #8c5238;  /* Healing */
  --phase-2-lo: rgba(140,82,56,0.10);
  --phase-3: #2a5070;  /* Alignment */
  --phase-3-lo: rgba(42,80,112,0.10);
  --phase-4: #6b5e4a;  /* Purpose */
  --phase-4-lo: rgba(107,94,74,0.10);
}

body.portal-body { background: var(--portal-bg); }

/* ——— LOGIN ——— */
.login-stage {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  position: relative;
  z-index: 2;
}
.login-art {
  position: relative;
  background: radial-gradient(ellipse at 30% 40%, var(--sand-200), var(--sand-100) 60%);
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 56px 64px;
}
.login-art::before {
  content: ''; position: absolute; inset: -10%;
  background:
    radial-gradient(circle at 70% 30%, rgba(44,90,74,0.12), transparent 50%),
    radial-gradient(circle at 30% 80%, rgba(140,82,56,0.08), transparent 55%);
  filter: blur(40px);
  animation: drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(20px,-12px) scale(1.05); } }

.login-art > * { position: relative; z-index: 2; }
.login-mark { display: flex; align-items: center; gap: 14px; }
.login-mark .ring {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--ink-900);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 22px;
}
.login-mark .word { font-family: var(--serif); font-size: 22px; letter-spacing: 0.04em; }

.login-poem {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(36px, 4.2vw, 60px);
  line-height: 1.08; letter-spacing: -0.01em;
  color: var(--ink-900); max-width: 18ch;
}
.login-poem em { font-style: italic; }

.login-foot {
  display: flex; justify-content: space-between; align-items: end;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-500);
}

.login-form {
  padding: 56px 64px;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--sand-50);
  border-left: 1px solid var(--sand-300);
}
.login-form .eyebrow { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 20px; }
.login-form h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 3vw, 44px); margin: 0 0 8px; color: var(--ink-900); }
.login-form h2 em { font-style: italic; color: var(--phase-1); }
.login-form .lede { font-family: var(--serif); font-size: 16px; color: var(--ink-500); margin: 0 0 36px; line-height: 1.6; max-width: 38ch; }

.login-form form { display: flex; flex-direction: column; gap: 16px; max-width: 420px; }
.login-form .field { display: flex; flex-direction: column; gap: 6px; }
.login-form label { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-500); }
.login-form input {
  font: inherit; font-size: 16px; padding: 14px 16px;
  background: transparent; border: 0; border-bottom: 1px solid var(--sand-400);
  color: var(--ink-900); transition: border-color 300ms;
  outline: none;
}
.login-form input:focus { border-color: var(--phase-1); }
.login-form .submit {
  margin-top: 14px;
  padding: 16px 28px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  background: var(--ink-900); color: var(--sand-50); border: 0; border-radius: 999px;
  cursor: pointer; transition: transform 300ms, background 300ms;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 14px;
}
.login-form .submit:hover { transform: translateY(-1px); background: var(--phase-1); }
.login-form .demo {
  margin-top: 30px; padding: 18px 20px; background: var(--sand-100); border: 1px dashed var(--sand-400); border-radius: 4px;
  font-size: 13px; line-height: 1.6; color: var(--ink-700);
}
.login-form .demo strong { font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-500); display: block; margin-bottom: 6px; font-weight: 500; }
.login-form .demo code { font-family: var(--mono); font-size: 12px; color: var(--phase-1); background: transparent; padding: 0; }
.login-form .alt { margin-top: 22px; font-size: 13px; color: var(--ink-500); }
.login-form .alt a { color: var(--ink-900); border-bottom: 1px solid var(--sand-400); }

@media (max-width: 900px) {
  .login-stage { grid-template-columns: 1fr; }
  .login-art { padding: 40px 28px; min-height: 240px; }
  .login-form { padding: 40px 28px; border-left: 0; border-top: 1px solid var(--sand-300); }
}

/* ——— PORTAL SHELL ——— */
.portal {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 240px 1fr;
  position: relative; z-index: 2;
}

.side {
  background: var(--sand-50);
  border-right: 1px solid var(--sand-300);
  padding: 36px 24px;
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
}
.side .mark { display: flex; align-items: center; gap: 12px; margin-bottom: 36px; }
.side .mark .ring { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--ink-900); display: grid; place-items: center; font-family: var(--serif); font-size: 18px; }
.side .mark .word { font-family: var(--serif); font-size: 17px; letter-spacing: 0.06em; }

.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 12px; border-radius: 4px;
  font-family: var(--serif); font-size: 16px; color: var(--ink-700);
  cursor: pointer; transition: background 300ms, color 300ms;
}
.side-nav a:hover { background: var(--sand-200); color: var(--ink-900); }
.side-nav a.active { background: var(--sand-200); color: var(--ink-900); }
.side-nav a.active::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--phase-1); }
.side-nav a:not(.active)::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--sand-400); }
.side-nav a .badge { margin-left: auto; font-family: var(--mono); font-size: 9.5px; padding: 2px 6px; border-radius: 999px; background: var(--phase-2); color: var(--sand-50); letter-spacing: 0.04em; }

.side-foot { margin-top: auto; }
.side-foot .who {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; border-top: 1px solid var(--sand-300); padding-top: 18px;
}
.side-foot .who .avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--phase-1-lo); border: 1px solid var(--phase-1); display: grid; place-items: center; font-family: var(--serif); font-size: 14px; color: var(--phase-1); }
.side-foot .who .name { font-family: var(--serif); font-size: 15px; color: var(--ink-900); }
.side-foot .who .meta { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-500); margin-top: 2px; }
.side-foot .signout { display: block; margin-top: 12px; padding: 8px 12px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-500); cursor: pointer; }
.side-foot .signout:hover { color: var(--ink-900); }

.main { padding: 0; }

/* Arc ribbon — present on every screen */
.ribbon {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in oklab, var(--sand-50), transparent 5%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand-300);
  padding: 16px 40px;
  display: flex; align-items: center; gap: 28px;
}
.ribbon .crumb { font-family: var(--mono); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-500); display: flex; align-items: center; gap: 10px; }
.ribbon .crumb .sep { color: var(--ink-300); }
.ribbon .crumb em { font-style: normal; color: var(--phase-1); }
.ribbon .progress { flex: 1; max-width: 360px; height: 2px; background: var(--sand-300); border-radius: 2px; position: relative; overflow: hidden; }
.ribbon .progress .fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--phase-1); border-radius: 2px; }
.ribbon .progress .marker { position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--phase-1); transform: translateX(-50%); animation: pulseMarker 2.4s ease-in-out infinite; }
@keyframes pulseMarker { 0%,100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--phase-1), transparent 60%); } 50% { box-shadow: 0 0 0 6px color-mix(in oklab, var(--phase-1), transparent 90%); } }
.ribbon .week { font-family: var(--serif); font-size: 16px; color: var(--ink-900); }
.ribbon .week em { font-style: italic; color: var(--phase-1); }

/* Page wrap */
.page { padding: 40px 40px 80px; }
.page h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 4vw, 56px); line-height: 1.05; letter-spacing: -0.01em; margin: 0 0 12px; color: var(--ink-900); }
.page h1 em { font-style: italic; color: var(--phase-1); }
.page .subhead { font-family: var(--serif); font-size: 18px; line-height: 1.55; color: var(--ink-500); max-width: 56ch; margin: 0 0 36px; }

/* ——— TODAY ——— */
.today-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.today-hero {
  background: var(--sand-50); border: 1px solid var(--sand-300); border-radius: 6px;
  padding: 36px 36px 32px; position: relative; overflow: hidden;
}
.today-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, var(--phase-1-lo), transparent 55%);
  pointer-events: none;
}
.today-hero > * { position: relative; }
.today-hero .day { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--phase-1); }
.today-hero h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 3.6vw, 46px); line-height: 1.08; margin: 8px 0 18px; color: var(--ink-900); max-width: 18ch; }
.today-hero h2 em { font-style: italic; color: var(--phase-1); }
.today-hero .arc-line { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--ink-700); margin: 0 0 22px; line-height: 1.5; max-width: 50ch; }
.today-hero .affirmation { padding: 18px 22px; border-left: 2px solid var(--phase-1); font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--ink-900); line-height: 1.55; max-width: 56ch; background: color-mix(in oklab, var(--phase-1), transparent 96%); border-radius: 0 4px 4px 0; }

.blocks-grid { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.block-card {
  padding: 14px 16px; border: 1px solid var(--sand-300); border-radius: 4px; background: var(--sand-100);
  display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start;
  cursor: pointer; transition: border-color 250ms, background 250ms;
}
.block-card:hover { border-color: var(--phase-1); background: var(--sand-50); }
.block-card .glyph { width: 24px; height: 24px; border: 1px solid var(--phase-1); border-radius: 50%; display: grid; place-items: center; font-size: 11px; color: var(--phase-1); }
.block-card .label { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-500); }
.block-card .body { font-family: var(--serif); font-size: 14.5px; line-height: 1.45; color: var(--ink-700); margin-top: 3px; }

.today-side { display: flex; flex-direction: column; gap: 16px; }
.tile {
  background: var(--sand-50); border: 1px solid var(--sand-300); border-radius: 6px;
  padding: 22px 24px;
}
.tile h3 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-500); margin: 0 0 16px; }
.tile h3 em { font-style: normal; color: var(--phase-1); }
.tile-list { display: flex; flex-direction: column; gap: 14px; }
.tile-item { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 4px 0; }
.tile-item .when { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-500); line-height: 1.3; }
.tile-item .what { font-family: var(--serif); font-size: 16px; color: var(--ink-900); line-height: 1.3; }
.tile-item .who { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.2em; color: var(--ink-500); text-transform: uppercase; }
.tile-item .pillar-dot { width: 6px; height: 6px; border-radius: 50%; }

.thread-item {
  display: grid; grid-template-columns: 36px 1fr auto; gap: 14px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--sand-200); cursor: pointer;
}
.thread-item:last-child { border-bottom: 0; }
.thread-item .av { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--accent, var(--phase-1)); background: var(--sand-100); display: grid; place-items: center; font-family: var(--serif); font-size: 13px; color: var(--accent, var(--phase-1)); }
.thread-item .who { font-family: var(--serif); font-size: 15px; color: var(--ink-900); line-height: 1.2; }
.thread-item .preview { font-size: 13px; color: var(--ink-500); margin-top: 2px; line-height: 1.4; }
.thread-item .meta { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; color: var(--ink-400); text-transform: uppercase; text-align: right; }
.thread-item .meta .un { display: inline-block; width: 7px; height: 7px; background: var(--phase-2); border-radius: 50%; margin-left: 6px; }

/* ——— ARC ——— */
.phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 36px; }
.phase-card {
  position: relative; padding: 28px 24px; border-radius: 6px; cursor: pointer;
  border: 1px solid var(--sand-300); background: var(--sand-50);
  transition: border-color 300ms, transform 400ms;
  overflow: hidden;
}
.phase-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--lo); opacity: 0.7; pointer-events: none;
}
.phase-card > * { position: relative; }
.phase-card:hover { transform: translateY(-3px); border-color: var(--c); }
.phase-card.current { border-color: var(--c); box-shadow: 0 18px 38px -22px color-mix(in oklab, var(--c), transparent 60%); }
.phase-card .roman { font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--c); }
.phase-card .name { font-family: var(--serif); font-size: 22px; margin: 4px 0 6px; color: var(--ink-900); }
.phase-card .range { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-500); }
.phase-card .desc { font-size: 13.5px; line-height: 1.5; color: var(--ink-700); margin-top: 14px; }
.phase-card .bar { margin-top: 18px; height: 2px; background: var(--sand-300); border-radius: 2px; overflow: hidden; }
.phase-card .bar > span { display: block; height: 100%; background: var(--c); border-radius: 2px; }
.phase-card .here {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--c); display: flex; align-items: center; gap: 6px;
}
.phase-card .here::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--c); animation: pulseMarker 2s ease-in-out infinite; }

.movements { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.move-card {
  position: relative;
  padding: 22px 22px 20px;
  border-radius: 5px;
  background: var(--sand-50); border: 1px solid var(--sand-300);
  cursor: pointer;
  transition: border-color 250ms, transform 350ms;
  overflow: hidden;
}
.move-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c); }
.move-card:hover { transform: translateY(-2px); border-color: var(--c); }
.move-card.current { border-color: var(--c); background: color-mix(in oklab, var(--c), transparent 95%); }
.move-card .num { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--c); }
.move-card .month { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-500); }
.move-card .title { font-family: var(--serif); font-size: 22px; margin: 6px 0 4px; color: var(--ink-900); line-height: 1.15; }
.move-card .sub { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--ink-500); }
.move-card .weeks { display: flex; gap: 3px; margin-top: 16px; }
.move-card .weeks span { flex: 1; height: 3px; border-radius: 1px; background: var(--sand-300); }
.move-card .weeks span.done { background: var(--c); }
.move-card .weeks span.now { background: var(--c); animation: pulseMarker 2.4s ease-in-out infinite; }
.move-card .lock {
  position: absolute; top: 14px; right: 14px;
  font-family: var(--mono); font-size: 14px; color: var(--ink-300);
}

/* Movement detail expanded */
.move-detail {
  display: none;
  margin-top: 18px; padding: 28px 30px;
  background: var(--sand-50); border: 1px solid var(--sand-300); border-radius: 5px;
  border-left: 4px solid var(--c);
}
.move-detail.open { display: block; animation: panelIn 500ms cubic-bezier(.2,.8,.2,1); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.move-detail h3 { font-family: var(--serif); font-weight: 300; font-size: 30px; margin: 0; color: var(--ink-900); }
.move-detail h3 em { font-style: italic; color: var(--c); }
.move-detail .core { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink-700); margin: 12px 0 24px; line-height: 1.5; max-width: 60ch; }
.move-detail .week-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.move-detail .wk {
  padding: 14px 16px; background: var(--sand-100); border-radius: 4px; border: 1px solid var(--sand-300);
  cursor: pointer; transition: border-color 250ms;
}
.move-detail .wk:hover { border-color: var(--c); }
.move-detail .wk.current { border-color: var(--c); background: color-mix(in oklab, var(--c), transparent 92%); }
.move-detail .wk .n { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-500); }
.move-detail .wk .t { font-family: var(--serif); font-size: 16px; color: var(--ink-900); margin-top: 4px; line-height: 1.25; }
.move-detail .wk .arc { font-family: var(--serif); font-style: italic; font-size: 13px; color: var(--ink-500); margin-top: 6px; line-height: 1.45; }

/* ——— CARE TEAM ——— */
.care-grid { display: grid; grid-template-columns: 320px 1fr; gap: 24px; min-height: 620px; }
.thread-list { background: var(--sand-50); border: 1px solid var(--sand-300); border-radius: 6px; overflow: hidden; }
.thread-list .row {
  padding: 16px 20px; border-bottom: 1px solid var(--sand-300); cursor: pointer;
  display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center;
  transition: background 200ms;
}
.thread-list .row:hover { background: var(--sand-100); }
.thread-list .row.active { background: var(--sand-100); border-left: 3px solid var(--c); padding-left: 17px; }
.thread-list .row .av { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--c); background: color-mix(in oklab, var(--c), transparent 92%); display: grid; place-items: center; font-family: var(--serif); font-size: 14px; color: var(--c); }
.thread-list .row .who { font-family: var(--serif); font-size: 16px; color: var(--ink-900); line-height: 1.2; }
.thread-list .row .role { font-family: var(--mono); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--c); margin-top: 3px; }
.thread-list .row .last { font-size: 13px; color: var(--ink-500); margin-top: 6px; line-height: 1.4; }

.chat { display: flex; flex-direction: column; background: var(--sand-50); border: 1px solid var(--sand-300); border-radius: 6px; }
.chat-head { padding: 18px 24px; border-bottom: 1px solid var(--sand-300); display: flex; justify-content: space-between; align-items: center; }
.chat-head .who { font-family: var(--serif); font-size: 19px; color: var(--ink-900); }
.chat-head .who em { font-style: italic; color: var(--accent); }
.chat-head .role { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-500); margin-top: 3px; }
.chat-head .status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-500); }
.chat-head .status .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--phase-1); }
.chat-body { flex: 1; padding: 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; max-height: 460px; }
.msg { max-width: 70%; padding: 12px 16px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; }
.msg.them { background: var(--sand-100); border: 1px solid var(--sand-300); align-self: flex-start; border-top-left-radius: 4px; color: var(--ink-900); }
.msg.me { background: var(--accent); color: var(--sand-50); align-self: flex-end; border-top-right-radius: 4px; }
.msg .ts { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.5; margin-top: 6px; }
.msg.ref { background: color-mix(in oklab, var(--accent), transparent 88%); border: 1px dashed var(--accent); align-self: stretch; max-width: 100%; font-style: italic; color: var(--ink-700); }
.msg.ref strong { font-family: var(--mono); font-style: normal; font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 6px; }
.chat-input { padding: 16px 20px; border-top: 1px solid var(--sand-300); display: flex; gap: 12px; align-items: center; }
.chat-input input { flex: 1; font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid var(--sand-300); border-radius: 22px; background: var(--sand-100); outline: none; }
.chat-input input:focus { border-color: var(--accent); background: #fff; }
.chat-input button { padding: 10px 18px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; background: var(--accent); color: var(--sand-50); border: 0; border-radius: 999px; cursor: pointer; }

/* ——— STUB tiles ——— */
.stub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stub-tile {
  background: var(--sand-50); border: 1px solid var(--sand-300); border-radius: 6px;
  padding: 28px 30px;
  position: relative; overflow: hidden;
  min-height: 200px;
}
.stub-tile::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 100% 0%, var(--lo), transparent 60%);
  pointer-events: none;
}
.stub-tile > * { position: relative; }
.stub-tile .label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--c); }
.stub-tile h3 { font-family: var(--serif); font-weight: 300; font-size: 28px; margin: 8px 0 10px; color: var(--ink-900); }
.stub-tile h3 em { font-style: italic; color: var(--c); }
.stub-tile p { font-size: 14px; color: var(--ink-500); line-height: 1.55; max-width: 38ch; margin: 0; }
.stub-tile .stat-row { display: flex; gap: 22px; margin-top: 18px; }
.stub-tile .stat .n { font-family: var(--serif); font-size: 26px; color: var(--ink-900); }
.stub-tile .stat .k { font-family: var(--mono); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-500); margin-top: 2px; }

/* ——— RESPONSIVE ——— */
@media (max-width: 1100px) {
  .today-grid { grid-template-columns: 1fr; }
  .phases { grid-template-columns: 1fr 1fr; }
  .movements { grid-template-columns: 1fr 1fr; }
  .move-detail .week-grid { grid-template-columns: 1fr 1fr; }
  .stub-grid { grid-template-columns: 1fr; }
  .care-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .portal { grid-template-columns: 1fr; }
  .side { position: static; height: auto; }
  .ribbon { padding: 12px 20px; flex-wrap: wrap; gap: 12px; }
  .page { padding: 24px 20px 60px; }
  .phases { grid-template-columns: 1fr; }
  .movements { grid-template-columns: 1fr; }
  .blocks-grid { grid-template-columns: 1fr; }
}
