/* The cinematic cover and its fallbacks are entirely local. */
.home-page{--cover-lime:#d1ff5e;background:#0a0d0b;color:#eaf0de;overflow-x:clip}
.home-page .site-header{height:88px;max-width:none;padding:0 4vw;margin:0;background:#0a0d0b;position:relative;z-index:8;border-bottom:1px solid #ffffff1b;gap:28px}
.home-page .brand{gap:12px;color:#eff5e5;font-size:15px;line-height:1.2;font-weight:700;letter-spacing:-.4px;white-space:nowrap}
.home-page .brand-mark{border-radius:0;background:transparent;color:#d1ff5e;font-size:35px;line-height:1;width:32px;height:40px}
.home-page .brand small{display:block;font:9px/1.5 ui-monospace,monospace;color:#788372;letter-spacing:2.1px;margin-top:5px}
.home-page .m2-navigation{display:flex;align-items:center;gap:30px;margin-left:auto}.home-page .m2-navigation a{font-size:12px;color:#b7c0ae;text-decoration:none;white-space:nowrap}.home-page .m2-navigation a:hover{color:#d1ff5e}
.home-page .header-entry{border:1px solid #d1ff5e55;color:#d1ff5e;font-size:11px;white-space:nowrap;text-decoration:none;padding:10px 15px;display:flex;gap:22px;align-items:center}
.hero-zone{height:168svh;min-height:960px;position:relative;--travel:0}
.hero-stage{position:sticky;top:0;height:calc(100svh - 88px);min-height:620px;isolation:isolate;overflow:hidden;background:#0a0d0b}
#coverScene{position:absolute;inset:0;z-index:-3}
#coverScene canvas{display:block;width:100%;height:100%;opacity:1;transition:opacity 1s}
.hero-shade{position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#0a0d0be8 0%,#0a0d0b90 26%,#0a0d0b00 58%),linear-gradient(0deg,#0a0d0b 0%,#0a0d0b00 20%,#0a0d0b00 88%,#0a0d0b66 100%)}
.hero-grain{pointer-events:none;position:absolute;inset:0;opacity:.025;z-index:2;background-image:repeating-linear-gradient(0deg,transparent,transparent 2px,#d9e8c2 3px,transparent 4px)}
.hero-cover-copy{position:absolute;left:6vw;top:5%;z-index:3;max-width:650px;transform:translateY(calc(var(--travel) * -90px));opacity:calc(1 - var(--travel) * 1.1);pointer-events:none}
.hero-cover-copy a{pointer-events:auto}
.cover-kicker{display:flex;gap:14px;align-items:center;color:#b6c4a2;font:10px/1.5 ui-monospace,monospace;letter-spacing:2px;margin:0 0 22px}.cover-kicker span{width:7px;height:7px;background:#d1ff5e;box-shadow:0 0 16px #d1ff5e55;border-radius:50%}
.hero-cover-copy h1{font-family:"Arial Black","Helvetica Neue",Arial,sans-serif;font-size:clamp(72px,min(9.7vw,14svh),154px);line-height:.86;letter-spacing:-.072em;text-transform:uppercase;font-weight:900;color:#eaf0de;margin:0 0 20px;max-width:none}
.hero-cover-copy h1 span{display:block}.hero-cover-copy h1 .cover-outline{color:transparent;-webkit-text-stroke:1px #d5e4be99;letter-spacing:-.06em}.hero-cover-copy h1 .cover-mark{color:#d1ff5e}
.cover-description{font-size:16px;line-height:1.85;color:#abb8a1;max-width:350px;margin:20px 0 22px;letter-spacing:.04em}.cover-description strong{display:block;color:#e8efd9;font-size:19px;font-weight:500;letter-spacing:.02em;margin-bottom:6px}
.cover-actions{display:flex;gap:26px;align-items:center;flex-wrap:wrap}.cover-actions .cover-primary{background:#d1ff5e;color:#12170e;padding:15px 19px;display:inline-flex;gap:38px;font-size:13px;font-weight:650;text-decoration:none;border:1px solid #d1ff5e;transition:background .2s,transform .2s}.cover-primary:hover{background:#e4ff9c;transform:translateY(-2px)}.cover-actions .cover-secondary{color:#dce6cf;display:flex;gap:14px;font-size:12px;text-decoration:none;border-bottom:1px solid #7d886d;padding:8px 0}
.cover-source{margin:20px 0;font:9px/1.7 ui-monospace,monospace;letter-spacing:1.5px;color:#69745f}.scene-tag{position:absolute;right:6vw;top:12%;font:9px/1.8 ui-monospace,monospace;color:#93a881;letter-spacing:1.6px;text-align:right}.scene-tag strong{display:block;color:#c7e3a4;font-size:11px;font-weight:400}
.hero-hud{position:absolute;bottom:30px;left:6vw;right:6vw;display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:25px;padding-top:20px;border-top:1px solid #a0b18533;color:#7e8f70;font:9px/1.8 ui-monospace,monospace;letter-spacing:1.5px;z-index:3}.hud-index strong{display:block;font-size:20px;color:#d6e6c2;letter-spacing:-1px;font-weight:400}.hud-index strong em{font-style:normal;color:#65785b;font-size:11px;margin-left:9px}.hud-center{justify-self:center;display:grid;gap:7px}.hud-center span{font-size:9px}.scroll-cue{color:#e0edcf;display:flex;align-items:center;gap:13px;text-decoration:none}.scroll-cue b{border:1px solid #62714f;width:29px;height:44px;display:grid;place-items:center;font-size:18px;font-weight:400}.hero-tools{display:flex;gap:13px;align-items:center}.hero-tools button{background:transparent!important;border:0!important;color:#7e8f70!important;padding:0!important;font-size:9px!important;font-weight:400!important;border-radius:0!important;box-shadow:none!important}.hero-tools button:hover{color:#d1ff5e!important}
#retryScene{display:none}#coverScene[data-scene=fallback]~.hero-hud #retryScene{display:inline-flex}
.cover-fallback{position:absolute;inset:0;overflow:hidden;z-index:-4;background:radial-gradient(ellipse at 68% 50%,#263a1c 0%,#10190e 24%,#0a0d0b 67%)}
.cover-fallback .fallback-grid{position:absolute;inset:25% -40% -65%;background-image:linear-gradient(#69893d38 1px,transparent 1px),linear-gradient(90deg,#69893d38 1px,transparent 1px);background-size:65px 65px;transform:perspective(500px) rotateX(53deg) rotateZ(-15deg)}
.fallback-core{position:absolute;left:70%;top:40%;width:245px;height:245px;border:1px solid #d1ff5e66;transform:translate(-50%,-50%) rotate(30deg);box-shadow:0 0 120px #acd44215,inset 0 0 120px #acd44212;display:grid;place-items:center}.fallback-core:before,.fallback-core:after{content:'';position:absolute;inset:15px;border:1px solid #d1ff5e44;transform:rotate(30deg)}.fallback-core:after{inset:-35px;transform:rotate(60deg)}.fallback-core span{font:90px/1 Arial,sans-serif;font-weight:300;color:#d1ff5e;transform:rotate(-30deg)}
#coverScene[data-scene=running]~.cover-fallback,#coverScene[data-scene=still]~.cover-fallback{opacity:0}
.home-manifesto{max-width:1400px;margin:0 auto;padding:80px 6vw 100px;border-bottom:1px solid #ffffff20;display:grid;grid-template-columns:1fr 2fr;gap:60px;position:relative}.home-manifesto .manifesto-index{font:10px/1.8 ui-monospace,monospace;color:#d1ff5e;letter-spacing:2px}.home-manifesto h2{font-size:clamp(30px,4vw,58px);line-height:1.25;letter-spacing:-.04em;font-weight:500;color:#e7eeda;margin:0 0 25px}.home-manifesto h2 span{color:#6f7d62}.home-manifesto p{color:#98a68b;font-size:14px;line-height:2;max-width:640px;margin:0}.home-manifesto a{margin-top:23px;display:inline-flex;gap:32px;font-size:12px;color:#d1ff5e;text-decoration:none}
.home-page #app{padding-top:65px;scroll-margin-top:30px}.home-page .portal-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:25px}.portal-intro .eyebrow{margin-bottom:13px}.portal-intro h2{font-size:36px;line-height:1.3;margin-bottom:0;letter-spacing:-1px}.portal-intro p{max-width:450px}.portal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border:1px solid #3a4432;margin-top:30px}.portal-card{min-width:0;padding:30px 25px 26px;display:flex;flex-direction:column;border-right:1px solid #3a4432;text-decoration:none;color:#eaf0de;background:#11160f;transition:background .25s}.portal-card:last-child{border-right:0}.portal-card:hover{background:#1d2615}.portal-card .portal-number{font:10px ui-monospace,monospace;color:#889676;letter-spacing:1.5px;margin-bottom:50px}.portal-card h3{font-size:23px;line-height:1.4;letter-spacing:-.6px;margin-bottom:14px;color:#eaf0de}.portal-card p{font-size:13px;color:#93a082;line-height:1.9;flex:1}.portal-card .portal-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #313c26;padding-top:19px;font:9px ui-monospace,monospace;color:#d1ff5e;letter-spacing:1px}.portal-bottom b{font-size:25px;font-weight:400}.portal-auth{margin-top:28px;display:flex;align-items:center;gap:18px;flex-wrap:wrap}.portal-auth p{margin:0;max-width:500px;font-size:12px}.portal-auth .button{background:#d1ff5e;color:#0a0d0b;border-radius:2px;font-size:12px}
@media(min-width:1800px){.hero-cover-copy{top:13%;left:9vw}.hero-cover-copy h1{font-size:174px}.hero-stage{min-height:900px}}
@media(max-width:900px){.home-page .site-header{gap:14px;padding:0 24px}.home-page .m2-navigation{gap:18px}.home-page .header-entry{display:none}.hero-cover-copy{left:6vw;top:10%;max-width:470px}.hero-cover-copy h1{font-size:100px}.cover-description{font-size:13px;max-width:300px}.scene-tag{top:6%}.hero-hud{grid-template-columns:1fr auto}.hud-center{display:none}.home-manifesto{gap:30px;grid-template-columns:1fr 3fr}}
@media(max-width:600px){.home-page .site-header{height:auto;min-height:100px;padding:18px 20px;flex-wrap:wrap;gap:14px}.home-page .brand{font-size:13px}.home-page .brand small{font-size:8px}.home-page .brand-mark{font-size:29px;width:24px}.home-page .m2-navigation{width:100%;justify-content:space-between;gap:12px}.home-page .m2-navigation a{font-size:11px}.hero-zone{height:146svh;min-height:1060px}.hero-stage{height:calc(100svh - 104px);min-height:700px}.hero-cover-copy{left:24px;right:24px;top:32px;max-width:none}.cover-kicker{font-size:8px;letter-spacing:1.4px;margin-bottom:20px}.hero-cover-copy h1{font-size:clamp(68px,21vw,98px);line-height:.87;max-width:355px;margin-bottom:22px}.cover-description{max-width:260px;font-size:12px;line-height:1.8;margin:18px 0 19px}.cover-description strong{font-size:16px}.cover-actions{gap:22px}.cover-actions .cover-primary{padding:12px 15px;gap:22px;font-size:12px}.cover-actions .cover-secondary{font-size:11px}.cover-source{font-size:8px;letter-spacing:.8px;margin-top:15px;max-width:260px}.hero-shade{background:linear-gradient(180deg,#0a0d0bc0 0%,#0a0d0b44 38%,#0a0d0b00 60%,#0a0d0b 98%)}.scene-tag{top:auto;bottom:145px;right:23px;font-size:8px;letter-spacing:1px}.scene-tag strong{font-size:9px}.hero-hud{left:24px;right:24px;bottom:35px;gap:10px;grid-template-columns:1fr auto;padding-top:13px}.hud-index strong{font-size:17px}.hero-tools{gap:10px}.hero-tools button{font-size:8px!important}.scroll-cue{font-size:8px;gap:9px}.scroll-cue b{width:23px;height:36px;font-size:15px}.hero-hud small{font-size:8px}.home-manifesto{padding:52px 24px 54px;grid-template-columns:1fr;gap:23px}.home-manifesto h2{font-size:33px;line-height:1.35}.home-manifesto p{font-size:13px}.home-page #app{padding-top:40px}.portal-intro{align-items:flex-start;flex-direction:column;gap:12px}.portal-intro h2{font-size:29px}.portal-intro p{font-size:13px;margin:0}.portal-grid{grid-template-columns:1fr}.portal-card{border-right:0;border-bottom:1px solid #3a4432;padding:24px}.portal-card:last-child{border-bottom:0}.portal-card .portal-number{margin-bottom:25px}.portal-card h3{font-size:22px}.portal-card .portal-bottom{padding-top:14px}.fallback-core{left:64%;top:59%;width:165px;height:165px}.fallback-core span{font-size:66px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero-cover-copy{transition:none}.cover-primary:hover{transform:none}}

@media(min-width:901px) and (max-height:780px){.cover-source{display:none}.cover-description{font-size:14px;line-height:1.7;margin:18px 0 21px}.cover-description strong{font-size:18px}.hero-hud{bottom:24px}.hero-cover-copy{top:5%}}

.hero-cover-copy[data-away=true]{visibility:hidden}
@media(max-width:900px){.hero-hud .hud-center{display:grid;grid-column:1/-1;justify-self:start;order:3}.hud-center>span{display:none}.hero-hud{row-gap:12px}.hero-tools{gap:18px}.hero-tools button{min-height:26px!important}.hero-tools #retryScene{color:#d1ff5e!important}}

@media(min-width:901px){.hero-hud{padding-right:100px}}
.home-page .idle-signal{right:22px;bottom:67px;width:34px;height:34px;padding:0;background:transparent;border:0}.home-page .idle-signal small{display:none}
@media(max-width:600px){.home-page .idle-signal{right:17px;bottom:67px}.hero-hud .scroll-cue{margin-right:42px}}

/* Touch controls retain legibility and a full tap target. */
@media(max-width:600px){.hero-tools{gap:14px}.hero-tools button{font-size:10px!important;min-width:44px!important;min-height:44px!important}.hero-hud{row-gap:8px}}

/* Softer jade actions, moon-shaped marks and an understated cinnabar seal. */
.home-page { --cover-lime: #cde5af; }
.home-page .brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px;
  font-size: 26px; border: 1px solid #9bc18e70; border-radius: 50%;
  color: #cee2b7; background: radial-gradient(circle at 32% 25%, #304b3155, #0e171000);
  box-shadow: inset 0 0 0 5px #d0e7b707;
}
.home-page .m2-navigation { gap: 12px; }
.home-page .header-entry {
  border-radius: 999px; border-color: #91b48b66; color: #d1e5b6;
  background: #1f302340; padding: 10px 17px;
}
.hero-cover-copy h1 .cover-mark { color: var(--cover-lime); }
.cover-description { color: #b9c8aa; }
.cover-description strong {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif); color: var(--paper); font-size: 21px;
  letter-spacing: .03em; margin-bottom: 9px;
}
.cover-description .cover-seal {
  flex: 0 0 28px; display: grid; place-items: center;
  width: 28px; height: 29px; border: 1px solid #ca806bc0;
  border-radius: 7px; color: #e3a58d; background: #693e302b;
  box-shadow: inset 0 0 0 3px #ca806b12;
  font: 17px/1 var(--serif); transform: rotate(-5deg);
}
.cover-actions { gap: 14px; }
.cover-actions .cover-primary {
  border-radius: 999px; padding: 12px 19px; gap: 25px;
  border-color: #d7e8ba; background: linear-gradient(135deg, #e1ecc4, #bfd998);
  color: #17210d; box-shadow: inset 0 1px #ffffff80, 0 6px 24px #97bc5520;
}
.cover-actions .cover-primary:hover { background: linear-gradient(135deg, #edf4d6, #d0e5ad); }
.cover-primary > .cover-arrow {
  display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 50%; background: #22331914;
}
.cover-actions .cover-secondary {
  border: 1px solid #8b9f7860; padding: 13px 17px; border-radius: 999px;
  color: #d4e0c8; background: #16221975; transition: background .18s, border-color .18s;
}
.cover-actions .cover-secondary:hover { border-color: #c6d8b099; background: #2c3d25; }
.scene-tag {
  border: 1px solid #bdd0ac22; border-radius: 22px;
  padding: 12px 17px; background: #1620174d; backdrop-filter: blur(5px);
}
.scroll-cue b { border-radius: 999px; background: #21321d44; border-color: #90a77d; }
.hero-tools button {
  border: 1px solid #91aa731f!important; border-radius: 999px!important;
  padding: 6px 11px!important; background: #14201880!important;
  color: #adc29b!important; min-height: 32px!important;
}
.hero-tools button:hover { background: #2a3b23!important; color: #deedc9!important; }
.fallback-core, .fallback-core:before, .fallback-core:after { border-radius: 50%; }
.home-manifesto { border-bottom-color: #91aa782b; }
.home-manifesto .manifesto-index::before {
  content: ''; display: block; width: 86px; height: 86px; margin: 0 0 26px;
  border: 1px solid #9db79266; border-radius: 50%;
  background: radial-gradient(circle at 33% 30%, #b2cea810, transparent 68%);
  box-shadow: inset 0 0 0 10px #cce8b706, 0 0 42px #b4d39705;
}
.home-manifesto .manifesto-note {
  display: block; margin-top: 20px; font: 14px/1.9 var(--serif);
  letter-spacing: .12em; color: #a6b59c;
}
.home-manifesto h2 { font-family: var(--serif); color: var(--paper); font-weight: 600; letter-spacing: -.015em; }
.home-manifesto h2 span { color: #a5bc92; }
.portal-grid { gap: 16px; border: 0; }
.portal-card, .portal-card:last-child {
  border: 1px solid #3a4b35; border-radius: 28px;
  background: linear-gradient(145deg, #1d2b1e, #10190f);
}
.portal-auth .button { border-radius: 999px; }
@media (max-width:600px) {
  .home-page .brand-mark { width: 32px; height: 32px; font-size: 23px; }
  .home-page .m2-navigation { gap: 4px; }
  .home-page .m2-navigation a { padding: 6px 7px; }
  .cover-description strong { font-size: 18px; gap: 10px; }
  .cover-description .cover-seal { flex-basis: 25px; width: 25px; height: 26px; font-size: 16px; }
  .cover-actions { gap: 10px; }
  .cover-actions .cover-primary { padding: 10px 14px; gap: 15px; }
  .cover-primary > .cover-arrow { width: 24px; height: 24px; }
  .cover-actions .cover-secondary { padding: 11px 13px; }
  .scene-tag { padding: 10px 13px; border-radius: 18px; }
  .hero-hud .hero-tools { gap: 8px; flex-wrap: wrap; }
  .hero-tools button { min-height: 44px!important; padding: 6px 12px!important; }
  .home-manifesto .manifesto-index::before { width: 64px; height: 64px; margin-bottom: 18px; }
  .home-manifesto .manifesto-note { font-size: 13px; margin-top: 13px; }
  .portal-card, .portal-card:last-child { border-radius: 24px; }
}
@media (prefers-reduced-motion:reduce) { .cover-actions .cover-secondary { transition: none; } }

/* The large cover leads into a compact, useful set of starting points. */
.home-page .m2-navigation a { font-size: 14px; }
.home-page .header-entry { min-height: 44px; font-size: 13px; padding: 10px 17px; gap: 18px; }
.cover-kicker { font-size: 11px; letter-spacing: 1.5px; }
.cover-description { font-size: 15px; }
.cover-actions { gap: 12px; }
.cover-actions .cover-primary, .cover-actions .cover-secondary {
  box-sizing: border-box; min-height: 50px; padding: 10px 18px;
  font-size: 15px; line-height: 1.5; gap: 18px;
}
.cover-actions .cover-secondary { font-size: 14px; }
.hero-hud { font-size: 11px; letter-spacing: .6px; }
.hero-hud small { font-size: 12px; }
.hud-index strong em { font-size: 11px; letter-spacing: .3px; }
.hud-center > span { font-size: 10px; letter-spacing: .8px; }
.hero-tools { gap: 10px; }
.hero-tools button {
  font-size: 12px!important; line-height: 1.5!important;
  min-height: 36px!important; padding: 7px 13px!important; letter-spacing: 0;
}
.scene-tag { font-size: 11px; line-height: 1.7; letter-spacing: .5px; padding: 13px 17px; }
.scene-tag strong { font-size: 11px; letter-spacing: 1px; margin-bottom: 5px; }
.home-manifesto {
  max-width: 1320px; padding: 48px 32px 44px;
  grid-template-columns: minmax(210px, .8fr) minmax(0, 1.8fr);
  gap: 28px 48px; align-items: center;
}
.home-manifesto .manifesto-index { font-size: 11px; letter-spacing: 1.4px; }
.home-manifesto .manifesto-index::before { width: 60px; height: 60px; margin-bottom: 18px; }
.home-manifesto .manifesto-note { font-size: 15px; margin-top: 13px; letter-spacing: .07em; }
.home-manifesto .manifesto-profile { font: 13px/1.6 var(--mono); margin-top: 12px; gap: 16px; letter-spacing: 0; }
.home-manifesto h2 { font-size: clamp(32px, 3.5vw, 46px); line-height: 1.25; margin-bottom: 16px; }
.home-manifesto .manifesto-copy p { font-size: 15px; line-height: 1.8; max-width: 650px; }
.journey-entries { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.home-manifesto .journey-entry {
  display: flex; flex-direction: column; gap: 0; min-width: 0;
  margin: 0; padding: 20px 22px; border: 1px solid #465641;
  border-radius: 24px; background: linear-gradient(130deg, #24322690, #131d16);
  color: var(--paper); transition: background .2s, border-color .2s;
}
.home-manifesto .journey-entry:hover { border-color: #8da782; background: #243427; }
.home-manifesto .journey-number { position: static; display: block; font: 11px/1.6 var(--mono); letter-spacing: .04em; color: #a1b397; }
.journey-entry strong { font: 600 23px/1.4 var(--serif); margin: 10px 0 7px; color: var(--paper); }
.home-manifesto .journey-entry p { font-size: 14px; line-height: 1.65; color: #acbba4; }
.journey-link {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 17px; padding-top: 12px; border-top: 1px solid #8ba17a29;
  color: #cde1b5; font-size: 13px; line-height: 1.5;
}
.journey-link b { font-size: 18px; font-weight: 400; }
.home-page #app { padding-top: 36px; }
.home-page .portal-intro { gap: 24px; margin-bottom: 20px; }
.portal-intro h2 { font-size: 32px; }
.portal-card { padding: 24px; }
.portal-card .portal-number { margin-bottom: 24px; font-size: 11px; }
.portal-card p { font-size: 14px; line-height: 1.7; }
.portal-card .portal-bottom { font-size: 11px; padding-top: 14px; }
@media (max-width:900px) {
  .home-page .m2-navigation { gap: 6px; }
  .home-page .m2-navigation a { font-size: 13px; padding: 6px 9px; }
  .scene-tag { font-size: 10px; }
  .home-manifesto { gap: 24px; }
  .journey-entry strong { font-size: 20px; }
}
@media (max-width:600px) {
  .home-page .site-header { padding: 16px 18px; gap: 12px; }
  .home-page .header-entry { font-size: 12px; padding: 9px 12px; gap: 10px; }
  .home-page .m2-navigation { gap: 0; }
  .home-page .m2-navigation a { font-size: 12px; padding: 7px 6px; }
  .cover-kicker { font-size: 9px; letter-spacing: 1px; }
  .cover-description { font-size: 14px; max-width: 300px; }
  .cover-actions { gap: 10px; }
  .cover-actions .cover-primary, .cover-actions .cover-secondary {
    font-size: 14px; min-height: 46px; padding: 9px 13px; gap: 12px;
  }
  .cover-actions .cover-secondary { font-size: 13px; gap: 8px; }
  .hero-hud { font-size: 10px; }
  .hero-hud small { font-size: 11px; }
  .hero-tools button { font-size: 12px!important; min-height: 44px!important; padding: 8px 13px!important; }
  .hero-hud .scroll-cue { font-size: 10px; }
  .scene-tag { font-size: 10px; }
  .home-manifesto { padding: 30px 20px 32px; grid-template-columns: 1fr; gap: 22px; align-items: start; }
  .home-manifesto .manifesto-index { position: relative; padding-left: 62px; min-height: 48px; }
  .home-manifesto .manifesto-index::before { position: absolute; left: 0; top: 0; width: 46px; height: 46px; margin: 0; }
  .home-manifesto .manifesto-note { font-size: 13px; margin-top: 5px; }
  .home-manifesto .manifesto-profile { margin-top: 7px; font-size: 12px; }
  .home-manifesto h2 { font-size: 31px; margin-bottom: 12px; }
  .home-manifesto .manifesto-copy p { font-size: 14px; }
  .journey-entries { grid-template-columns: 1fr; gap: 10px; }
  .home-manifesto .journey-entry {
    display: grid; grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px; padding: 17px 18px; border-radius: 22px;
  }
  .journey-entry strong { grid-column: 1; font-size: 21px; margin: 7px 0 5px; }
  .home-manifesto .journey-entry p { grid-column: 1 / -1; font-size: 13px; }
  .journey-link { grid-column: 2; grid-row: 1 / span 2; margin: 0; padding: 0; border: 0; font-size: 0; }
  .journey-link b { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #a2bd9115; }
  .home-page #app { padding-top: 24px; }
  .portal-intro h2 { font-size: 27px; }
  .portal-card { padding: 22px; }
}
@media (prefers-reduced-motion:reduce) { .home-manifesto .journey-entry { transition: none; } }

/* Equal side tracks keep the label at the actual center of each action. */
.cover-actions .cover-primary, .cover-actions .cover-secondary {
  --action-icon: 28px;
  display: inline-grid; grid-template-columns: var(--action-icon) auto var(--action-icon);
  align-items: center; justify-items: center; justify-content: center;
  gap: 10px; min-height: 52px; padding: 10px 14px;
}
.cover-actions .cover-secondary { --action-icon: 22px; gap: 8px; }
.cover-action-label { grid-column: 2; grid-row: 1; white-space: nowrap; line-height: 1.5; }
.cover-actions .cover-arrow {
  grid-column: 3; grid-row: 1; display: grid; place-items: center;
  width: var(--action-icon); height: var(--action-icon); line-height: 1;
  border-radius: 50%; font-size: 17px;
}
.heritage-sky { position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.heritage-sky .heritage-glyph { position: absolute; }
.heritage-sky .heritage-phoenix {
  width: clamp(230px, 24vw, 350px); height: auto; right: 3vw; top: 2%;
  filter: saturate(.68) brightness(.86); opacity: .79; animation: heritage-float 12s ease-in-out infinite;
}
.heritage-sky .heritage-dragon {
  width: clamp(260px, 27vw, 390px); height: auto; right: 28vw; top: 37%;
  filter: saturate(.66) brightness(.80); opacity: .43; transform: rotate(-9deg);
}
.heritage-sky .heritage-cloud { width: 360px; right: 21vw; bottom: -50px; color: #b5c599; opacity: .22; }
.scene-tag { top: auto; bottom: 120px; }
.home-manifesto .manifesto-index::before { display: none; }
.heritage-medallion {
  position: relative; width: 218px; height: 174px; margin-bottom: 18px;
}
.heritage-medallion::before {
  content: ''; position: absolute; inset: 14px 24px 10px 20px;
  border: 1px solid #a5bea647; border-radius: 50%;
  box-shadow: inset 0 0 0 8px #c4dfa804; background: radial-gradient(circle, #c4dfa808, transparent 70%);
}
.heritage-medallion .heritage-dragon { position: absolute; left: -6px; top: 24px; width: 166px; filter: saturate(.72); opacity: .88; }
.heritage-medallion .heritage-phoenix { position: absolute; right: -14px; top: -3px; width: 150px; filter: saturate(.72); opacity: .92; }
.home-page .brand-mark .heritage-phoenix { width: 32px; height: 32px; }
@keyframes heritage-float { 50% { transform: translateY(-5px) rotate(2deg); } }
@media (max-width:900px) {
  .heritage-sky .heritage-phoenix { width: 230px; right: 1vw; top: 4%; }
  .heritage-sky .heritage-dragon { right: 6vw; top: 43%; opacity: .32; }
}
@media (max-width:600px) {
  .cover-actions { gap: 8px; }
  .cover-actions .cover-primary { --action-icon: 24px; gap: 6px; padding: 10px; min-height: 48px; }
  .cover-actions .cover-secondary { --action-icon: 18px; gap: 4px; padding: 10px; min-height: 48px; }
  .heritage-sky .heritage-phoenix { width: 210px; right: -50px; top: 26%; opacity: .28; }
  .heritage-sky .heritage-dragon { width: 228px; right: -38px; top: 53%; opacity: .22; }
  .heritage-sky .heritage-cloud { width: 270px; right: -70px; bottom: 10px; opacity: .15; }
  .scene-tag { bottom: 150px; }
  .home-manifesto .manifesto-index { padding-left: 124px; min-height: 108px; }
  .heritage-medallion { position: absolute; left: 0; top: 0; width: 116px; height: 108px; margin: 0; }
  .heritage-medallion::before { inset: 10px 6px 10px 4px; }
  .heritage-medallion .heritage-dragon { width: 91px; left: -5px; top: 17px; }
  .heritage-medallion .heritage-phoenix { width: 83px; right: -6px; top: 0; }
  .home-page .brand-mark .heritage-phoenix { width: 28px; height: 28px; }
}
@media (max-width:380px) {
  .cover-actions { flex-direction: column; align-items: stretch; max-width: 320px; }
  .cover-actions .cover-primary, .cover-actions .cover-secondary {
    width: 100%; grid-template-columns: var(--action-icon) minmax(0, 1fr) var(--action-icon);
    font-size: 14px; min-height: 48px; padding: 10px 14px;
  }
  .scene-tag { display: none; }
  .cover-source { font-size: 8px; line-height: 1.7; }
}

/* Let content reserve its own space, including short and landscape windows. */
.hero-stage {
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; align-content: space-between;
  row-gap: 26px; height: auto; min-height: calc(100svh - 88px);
  padding: clamp(24px, 4svh, 48px) 6vw 24px; box-sizing: border-box;
}
.hero-cover-copy { position: relative; top: auto; left: auto; right: auto; width: 100%; min-width: 0; grid-row: 1; }
.hero-hud { position: relative; bottom: auto; left: auto; right: auto; grid-row: 2; min-width: 0; }
.home-page .hero-tools .motion-toggle { position: static; width: auto; max-width: 100%; }
.scene-tag { bottom: 170px; }
@media (min-width:1800px) { .hero-stage { padding-left: 9vw; padding-right: 9vw; } }
@media (max-width:900px) { .scene-tag { display: none; } }
@media (max-width:600px) {
  .hero-stage { min-height: calc(100svh - 132px); padding: 28px 24px 24px; row-gap: 22px; }
  .hero-cover-copy { width: auto; }
  .hero-hud { padding-right: 0; }
}
@media (max-width:440px) {
  .cover-actions { flex-direction: column; align-items: stretch; max-width: 342px; }
  .cover-actions .cover-primary, .cover-actions .cover-secondary {
    width: 100%; grid-template-columns: var(--action-icon) minmax(0, 1fr) var(--action-icon);
  }
  .home-page .m2-navigation { flex-wrap: wrap; justify-content: flex-start; column-gap: 4px; }
}
