:root {
  color-scheme: light;
  --bg: #f2f8f8;
  --surface: #ffffff;
  --surface-2: #e8f2f3;
  --ink: #102a33;
  --text: #38535e;
  --muted: #687e87;
  --line: #d4e3e5;
  --teal: #128a82;
  --teal-bright: #28b8aa;
  --teal-soft: #d8f1ee;
  --amber: #d97728;
  --amber-soft: #f9e9d5;
  --shadow: 0 24px 70px rgba(19, 54, 64, 0.12);
  --max: 1180px;
  --home-header-h: 72px;
  --scene-top: clamp(34px, 5.5svh, 68px);
  --scene-bottom: clamp(56px, 9svh, 108px);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #091420;
  --surface: #112638;
  --surface-2: #162f43;
  --ink: #eaf4f6;
  --text: #c0d3d9;
  --muted: #8ba4ae;
  --line: #254354;
  --teal: #3dd6c6;
  --teal-bright: #75eadf;
  --teal-soft: #133c42;
  --amber: #ffb357;
  --amber-soft: #49351f;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

:root[data-palette="dream"] {
  --bg: #f3f7fc;
  --surface: #ffffff;
  --surface-2: #e7eff9;
  --ink: #183153;
  --text: #405a78;
  --muted: #7387a0;
  --line: #cfdbec;
  --teal: #4167b1;
  --teal-bright: #6688cc;
  --teal-soft: #def0f9;
  --amber: #537cc8;
  --amber-soft: #e7eefb;
  --shadow: 0 24px 70px rgba(40, 73, 132, 0.14);
}

:root[data-theme="dark"][data-palette="dream"] {
  --bg: #0e1824;
  --surface: #172536;
  --surface-2: #213247;
  --ink: #f3f7ff;
  --text: #d5e1ee;
  --muted: #9aacc1;
  --line: #344b65;
  --teal: #8fb5ff;
  --teal-bright: #b5ceff;
  --teal-soft: #1b3153;
  --amber: #75a0ee;
  --amber-soft: #233a5f;
  --shadow: 0 28px 90px rgba(2, 8, 18, 0.38);
}

:root[data-palette="sakura"] {
  --bg: #fff8fb;
  --surface: #ffffff;
  --surface-2: #fff0f6;
  --ink: #392b3a;
  --text: #635061;
  --muted: #816d7c;
  --line: #efdce5;
  --teal: #ae4e7d;
  --teal-bright: #d075a0;
  --teal-soft: #ffe4ef;
  --amber: #d2769e;
  --amber-soft: #ffecf3;
  --shadow: 0 24px 70px rgba(104, 48, 79, .12);
}

:root[data-theme="dark"][data-palette="sakura"] {
  --bg: #1c1824;
  --surface: #2a2232;
  --surface-2: #382a40;
  --ink: #fff0f7;
  --text: #e9cfdd;
  --muted: #bd9eaf;
  --line: #584051;
  --teal: #f2a5c5;
  --teal-bright: #ffbfd8;
  --teal-soft: #4c3043;
  --amber: #ffb5d3;
  --amber-soft: #513443;
  --shadow: 0 28px 90px rgba(14, 5, 15, .38);
}

* { box-sizing: border-box; }
/* Shared bilingual layout: relaxed spacing, aligned cards, restrained entrances. */
.language-switch { display: inline-flex; min-height: 38px; min-width: 38px; align-items: center; justify-content: center; padding: 5px 9px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; font-size: .78rem; font-weight: 750; transition: background .2s, border-color .2s; }
.language-switch:hover { background: var(--teal-soft); border-color: var(--teal); }
.language-switch:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 84% 8%, color-mix(in srgb, var(--teal) 13%, transparent), transparent 27rem),
    linear-gradient(color-mix(in srgb, var(--line) 28%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--line) 24%, transparent) 1px, transparent 1px),
    var(--bg);
  background-size: auto, 46px 46px, 46px 46px, auto;
  color: var(--text);
  font: 16px/1.7 Inter, ui-sans-serif, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  transition: background-color .25s, color .25s;
}
a { color: inherit; }
button { font: inherit; }
.skip-link { position: fixed; left: 14px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--bg); border-radius: 8px; }
.skip-link:focus { top: 14px; }
.shell { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; }
.site-header { position: sticky; z-index: 40; top: 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 82%, transparent); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(18px); }
.header-inner { min-height: 72px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.brand-emblem { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(145deg, var(--teal-soft), color-mix(in srgb, var(--surface) 78%, transparent)); color: var(--teal); }
.brand-emblem svg { width: 35px; height: 35px; overflow: visible; }
.brand-emblem path { fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.brand-emblem .emblem-tail { stroke: currentColor; }
.brand-emblem circle { fill: var(--surface); stroke: currentColor; stroke-width: 2.3; }
.brand-emblem .emblem-tip { fill: var(--amber); stroke: var(--surface); }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a { padding: 8px 11px; border-radius: 10px; color: var(--muted); text-decoration: none; font-size: .9rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--surface-2); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.theme-menu { position: relative; }
.theme-menu > summary { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); cursor: pointer; font-size: .82rem; list-style: none; }
.theme-menu > summary::-webkit-details-marker { display: none; }
.theme-menu > summary:hover, .theme-menu[open] > summary { border-color: var(--teal); color: var(--ink); }
.theme-panel { position: absolute; z-index: 60; top: 47px; right: 0; width: min(300px, calc(100vw - 28px)); padding: 14px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); box-shadow: var(--shadow); }
.theme-group-title { display: block; margin-bottom: 8px; color: var(--muted); font-size: .74rem; }
.theme-group-title.palette-title { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.theme-options { display: flex; flex-wrap: wrap; gap: 7px; }
.theme-options button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: .77rem; }
.theme-options button:hover, .theme-options button[aria-pressed="true"] { border-color: var(--teal); background: var(--teal-soft); color: var(--ink); }
.palette-dot { width: 9px; height: 9px; border-radius: 50%; background: #128a82; }
.palette-dot.dream { background: #4167b1; }
.palette-dot.sakura { background: #d075a0; }
.menu-button { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); cursor: pointer; }

.hero { padding: 66px 0 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); gap: 42px; align-items: center; }
.eyebrow { margin: 0 0 16px; color: var(--teal); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { margin: 0; color: var(--ink); font-size: clamp(3.4rem, 8vw, 7.2rem); line-height: .88; letter-spacing: -.075em; }
.hero h1 span { display: block; margin-top: .15em; color: transparent; -webkit-text-stroke: 1px var(--teal); font-size: .46em; letter-spacing: .06em; }
.hero-copy { max-width: 600px; margin: 26px 0 0; color: var(--muted); font-size: 1.05rem; }
.hero-copy strong { color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); text-decoration: none; cursor: pointer; font-weight: 720; }
.button.primary { border-color: var(--teal); background: var(--teal); color: #061514; }
.home-hero-actions .button.primary { border-color: color-mix(in srgb, var(--teal) 45%, var(--line)); background: color-mix(in srgb, var(--teal) 22%, var(--surface)); color: var(--ink); box-shadow: 0 9px 24px color-mix(in srgb, var(--teal) 10%, transparent); transition: transform .22s ease, background .22s ease, box-shadow .22s ease; }
.home-hero-actions .button.primary:hover { background: color-mix(in srgb, var(--teal) 34%, var(--surface)); box-shadow: 0 12px 28px color-mix(in srgb, var(--teal) 16%, transparent); }
.button:hover { transform: translateY(-1px); border-color: var(--teal); }

.now-panel { position: relative; overflow: hidden; padding: 26px; border: 1px solid var(--line); border-radius: 22px 22px 22px 6px; background: color-mix(in srgb, var(--surface) 94%, transparent); box-shadow: var(--shadow); }
.now-panel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 22%, color-mix(in srgb, var(--teal) 10%, transparent) 50%, transparent 78%); transform: translateX(-100%); animation: sweep 1.2s .45s ease-out forwards; pointer-events: none; }
.panel-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.panel-label { color: var(--muted); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border: 1px solid color-mix(in srgb, var(--teal) 44%, var(--line)); border-radius: 999px; background: var(--teal-soft); color: var(--teal); font-size: .76rem; font-weight: 760; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 13%, transparent); }
.now-panel h2 { margin: 22px 0 8px; color: var(--ink); font-size: clamp(1.45rem, 3vw, 2.3rem); line-height: 1.25; }
.now-panel > p { margin: 0; color: var(--muted); }
.now-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.metric { padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--surface-2) 68%, transparent); }
.metric span { display: block; color: var(--muted); font-size: .72rem; }
.metric strong { display: block; margin-top: 3px; color: var(--ink); font-size: .94rem; }
.compact-now .text-link { margin-top: 22px; }
.home-hero { min-height: calc(100vh - 220px); display: grid; align-items: center; padding: 54px 0; }
.home-foot { padding: 12px 0 54px; }
.founder-mini { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 12px 16px; max-width: 780px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: color-mix(in srgb, var(--surface) 92%, transparent); text-decoration: none; }
.founder-mini:hover { border-color: var(--teal); transform: translateY(-1px); }
.founder-mini > span:nth-child(2) { display: grid; }
.founder-mini small { color: var(--muted); font-size: .7rem; }
.founder-mini strong { color: var(--ink); }
.founder-mini p { overflow: hidden; margin: 0; color: var(--muted); font-size: .84rem; text-overflow: ellipsis; white-space: nowrap; }
.founder-arrow { color: var(--teal); font-weight: 800; }

.section { padding: 54px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-kicker { margin: 0 0 6px; color: var(--teal); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.section h2 { margin: 0; color: var(--ink); font-size: clamp(1.65rem, 3.5vw, 2.55rem); letter-spacing: -.035em; }
.section-note { max-width: 48ch; margin: 0; color: var(--muted); text-align: right; }
.route-card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.route { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 4px; }
.route::before { content: ""; position: absolute; left: 9%; right: 9%; top: 19px; height: 2px; background: var(--line); }
.route::after { content: ""; position: absolute; left: 9%; top: 19px; width: 41%; height: 2px; background: linear-gradient(90deg, var(--teal), var(--amber)); transform-origin: left; animation: route-draw 1s .2s both; }
.route-step { position: relative; z-index: 1; display: grid; justify-items: center; gap: 10px; padding: 0 8px; text-align: center; }
.route-node { display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--muted); font-size: .75rem; font-weight: 800; }
.route-step.done .route-node { border-color: var(--teal); background: var(--teal-soft); color: var(--teal); }
.route-step.active .route-node { border-color: var(--amber); background: var(--amber-soft); color: var(--amber); box-shadow: 0 0 0 7px color-mix(in srgb, var(--amber) 10%, transparent); }
.route-step strong { color: var(--ink); font-size: .9rem; }
.route-step time { color: var(--muted); font-size: .76rem; }

.updates-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; }
.timeline, .member-card { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.timeline { padding: 8px 24px; }
.update { position: relative; padding: 22px 0 22px 30px; border-bottom: 1px solid var(--line); }
.update:last-child { border-bottom: 0; }
.update::before { content: ""; position: absolute; left: 2px; top: 31px; width: 10px; height: 10px; border: 2px solid var(--surface); border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 2px var(--teal); }
.update::after { content: ""; position: absolute; left: 8px; top: 44px; bottom: -10px; width: 1px; background: var(--line); }
.update:last-child::after { display: none; }
.update time { color: var(--teal); font-size: .78rem; font-weight: 750; }
.update h3 { margin: 5px 0 6px; color: var(--ink); font-size: 1.08rem; }
.update p { margin: 0; color: var(--muted); }
.update .next { margin-top: 9px; color: var(--text); font-size: .86rem; }
.member-card { display: flex; flex-direction: column; padding: 24px; }
.member-head { display: flex; align-items: center; gap: 14px; }
.avatar { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--teal); border-radius: 17px 17px 17px 5px; background: var(--teal-soft); color: var(--teal); font-weight: 850; }
.member-card h3 { margin: 0; color: var(--ink); font-size: 1.2rem; }
.member-role { color: var(--muted); font-size: .8rem; }
.member-card > p { margin: 20px 0; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); color: var(--text); font-size: .76rem; }
.member-card .button { align-self: flex-start; margin-top: auto; }

.empty-card { padding: 28px; border: 1px dashed var(--line); border-radius: 18px; color: var(--muted); text-align: center; }
.site-footer { margin-top: 54px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 65%, transparent); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 30px 0 38px; }
.footer-brand { color: var(--ink); font-weight: 800; }
.footer-note { max-width: 650px; margin: 8px 0 0; color: var(--muted); font-size: .86rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px; align-content: start; }
.footer-links a { color: var(--muted); font-size: .84rem; text-decoration: none; }
.footer-links a:hover { color: var(--teal); }

@keyframes route-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes sweep { to { transform: translateX(100%); } }

@media (max-width: 900px) {
  .hero-grid, .updates-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: clamp(3.8rem, 15vw, 6rem); }
  .section-head { align-items: flex-start; flex-direction: column; }
  .section-note { text-align: left; }
}

@media (max-width: 720px) {
  .header-inner { flex-wrap: wrap; padding: 12px 0; }
  .site-nav { order: 4; display: none; width: 100%; margin: 0; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
  .site-nav.is-open { display: grid; grid-template-columns: repeat(2, 1fr); }
  .theme-menu { margin-left: auto; }
  .theme-menu > summary { width: 42px; padding: 0; justify-content: center; }
  .theme-menu > summary span:last-child { display: none; }
  .menu-button { display: inline-grid; place-items: center; }
  .now-meta { grid-template-columns: 1fr; }
  .route { grid-template-columns: 1fr; gap: 0; }
  .route::before { left: 19px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; }
  .route::after { left: 19px; top: 20px; width: 2px; height: 50%; transform-origin: top; animation-name: route-draw-y; }
  .route-step { grid-template-columns: 40px minmax(0, 1fr) auto; justify-items: start; align-items: center; padding: 8px 0; text-align: left; }
  .route-step time { justify-self: end; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@keyframes route-draw-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }

@media (max-width: 460px) {
  .shell { width: min(100% - 24px, var(--max)); }
  .brand span:last-child { font-size: .92rem; }
  .hero h1 { letter-spacing: -.06em; }
  .now-panel, .route-card { padding: 20px; }
  .theme-panel { right: -50px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
}

/* Inner pages */
.page-hero { padding: 74px 0 52px; border-bottom: 1px solid var(--line); background: linear-gradient(125deg, color-mix(in srgb, var(--surface) 82%, transparent), color-mix(in srgb, var(--teal-soft) 52%, transparent)); }
.page-hero h1 { max-width: 940px; margin: 0; color: var(--ink); font-size: clamp(2.35rem, 6vw, 5rem); line-height: 1.04; letter-spacing: -.055em; }
.page-hero > .shell > p:last-child { max-width: 720px; margin: 22px 0 0; color: var(--muted); font-size: 1.05rem; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.project-card, .member-tile, .article-card, .prose-card, .contact-card, .privacy-note { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.project-card, .member-tile, .article-card, .prose-card { padding: 25px; }
.card-top, .article-meta, .article-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.card-top time, .article-meta, .article-foot { color: var(--muted); font-size: .78rem; }
.card-top time { margin-left: auto; }
.project-category, .home-project-category { color: var(--teal); font-size: .76rem; font-weight: 750; white-space: nowrap; }
.project-category { padding: 5px 9px; border: 1px solid color-mix(in srgb, var(--teal) 28%, var(--line)); border-radius: 999px; background: var(--teal-soft); }
.participant-note { margin: 0 0 12px; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.project-card h2, .member-tile h2, .article-card h2 { margin: 18px 0 10px; color: var(--ink); font-size: 1.35rem; line-height: 1.35; }
.project-card h2 a, .member-tile h2 a, .article-card h2 a { text-decoration: none; }
.project-card h2 a:hover, .member-tile h2 a:hover, .article-card h2 a:hover { color: var(--teal); }
.project-card > p, .member-tile > p, .article-card > p { color: var(--muted); }
.compact-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 20px 0; }
.compact-facts div { padding: 11px; border-radius: 10px; background: var(--surface-2); }
.compact-facts dt { color: var(--muted); font-size: .7rem; }
.compact-facts dd { margin: 2px 0 0; color: var(--ink); font-weight: 760; }
.text-link { display: inline-flex; gap: 7px; align-items: center; color: var(--teal); font-weight: 760; text-decoration: none; }
.text-link:hover span { transform: translateX(4px); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; align-items: start; }
.detail-main { min-width: 0; }
.section-head.compact { margin-bottom: 18px; }
.section-head.spaced { margin-top: 46px; }
.milestone-list { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.milestone { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; padding: 19px 22px; border-bottom: 1px solid var(--line); }
.milestone:last-child { border-bottom: 0; }
.milestone > span { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); font-size: .76rem; font-weight: 800; }
.milestone.done > span { border-color: var(--teal); background: var(--teal-soft); color: var(--teal); }
.milestone.active > span { border-color: var(--amber); background: var(--amber-soft); color: var(--amber); }
.milestone h3 { margin: 0; color: var(--ink); font-size: 1rem; }
.milestone p { margin: 2px 0 0; color: var(--muted); font-size: .82rem; }
.side-panel { position: sticky; top: 96px; padding: 23px; border: 1px solid var(--line); border-radius: 18px; background: color-mix(in srgb, var(--surface) 95%, transparent); box-shadow: var(--shadow); }
.side-panel h3 { margin: 24px 0 10px; color: var(--ink); font-size: .98rem; }
.fact-list { margin: 0; }
.fact-list div { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.fact-list dt { color: var(--muted); }
.fact-list dd { margin: 0; color: var(--ink); font-weight: 720; text-align: right; }
.person-link { display: flex; align-items: center; gap: 11px; padding: 10px; border-radius: 12px; text-decoration: none; }
.person-link:hover { background: var(--surface-2); }
.person-link span:last-child { display: grid; }
.person-link strong { color: var(--ink); }
.person-link small { color: var(--muted); }
.mini-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--teal-soft); color: var(--teal); font-size: .72rem; font-weight: 850; }
.button.full { width: 100%; margin-top: 20px; }
.progress-feed { max-width: 920px; }
.progress-entry { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 30px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.progress-entry > time { color: var(--teal); font-weight: 760; }
.progress-entry h2 { margin: 8px 0; color: var(--ink); font-size: 1.35rem; }
.progress-entry p { margin: 0; color: var(--muted); }
.progress-entry .next { margin-top: 10px; color: var(--text); }
.project-label { color: var(--amber); font-size: .78rem; font-weight: 800; text-decoration: none; }
.member-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.member-tile { display: flex; flex-direction: column; }
.member-tile h2 { margin: 0; }
.member-tile .text-link { margin-top: 22px; }
.privacy-note { display: flex; gap: 18px; margin-top: 22px; padding: 18px 22px; }
.privacy-note strong { flex: 0 0 auto; color: var(--ink); }
.privacy-note span { color: var(--muted); }
.profile-hero { padding: 70px 0 44px; border-bottom: 1px solid var(--line); }
.profile-grid { display: flex; align-items: center; gap: 25px; }
.profile-mark { display: grid; place-items: center; width: 104px; height: 104px; border: 1px solid var(--teal); border-radius: 32px 32px 32px 8px; background: var(--teal-soft); color: var(--teal); font-size: 1.55rem; font-weight: 880; }
.profile-identity { min-width: 0; }
.profile-hero h1 { margin: 0; overflow-wrap: anywhere; color: var(--ink); font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -.05em; }
.profile-cn-name { margin: 3px 0 16px; color: var(--muted); font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 650; letter-spacing: .08em; }
.prose-card + .prose-card { margin-top: 16px; }
.prose-card h2 { margin: 0 0 9px; color: var(--ink); font-size: 1.35rem; }
.prose-card > p:last-child { margin: 0; color: var(--muted); }
.project-mini { display: grid; padding: 12px; border-radius: 12px; text-decoration: none; }
.project-mini:hover { background: var(--surface-2); }
.project-mini strong { color: var(--ink); }
.project-mini small { color: var(--muted); }
.consent-copy { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.article-stack { display: grid; gap: 16px; }
.journal-filter-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding: 8px 10px 8px 14px; border: 1px solid var(--line); border-radius: 16px; background: color-mix(in srgb, var(--surface) 82%, transparent); }
.journal-filter-row > span { flex: 0 0 auto; color: var(--muted); font-size: .73rem; font-weight: 800; letter-spacing: .08em; }
.journal-filters { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; }
.journal-filters button { min-height: 38px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); cursor: pointer; }
.journal-filters button:hover, .journal-filters button.active { border-color: var(--teal); background: var(--teal-soft); color: var(--ink); }
.article-card[hidden] { display: none; }
.article-card h2 { margin-top: 12px; }
.article-card > p { margin-bottom: 18px; }
.article-meta span { color: var(--teal); font-weight: 780; }
.article-meta small { padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .7rem; font-weight: 720; }
.article-foot { padding-top: 14px; border-top: 1px solid var(--line); }
.journal-groups { display: grid; gap: clamp(42px, 7vw, 78px); }
.journal-group { min-width: 0; }
.journal-group[hidden] { display: none; }
.journal-group + .journal-group { padding-top: clamp(36px, 6vw, 64px); border-top: 1px solid var(--line); }
.journal-group-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 20px; }
.journal-group-head h2 { margin: 3px 0 8px; font-size: clamp(1.7rem, 3vw, 2.45rem); }
.journal-group-head p:not(.section-kicker) { max-width: 720px; margin: 0; color: var(--muted); line-height: 1.75; }
.journal-group-head > strong { flex: 0 0 auto; color: var(--teal); font-size: .84rem; }
.article-header { padding: 74px 0 52px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 64%, transparent); }
.narrow { max-width: 900px; }
.article-header h1 { margin: 0; color: var(--ink); font-size: clamp(2.4rem, 6vw, 4.8rem); line-height: 1.08; letter-spacing: -.05em; }
.article-header .narrow > p:nth-of-type(2) { margin: 20px 0; color: var(--muted); font-size: 1.08rem; }
.article-byline { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 14px; color: var(--muted); font-size: .86rem; }
.article-byline a { color: var(--teal); text-decoration: none; }
.article-authors { display: inline-flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.article-layout { display: grid; grid-template-columns: minmax(0, 780px) 240px; justify-content: center; gap: 54px; padding-top: 56px; }
.article-content { min-width: 0; }
.article-content section { scroll-margin-top: 100px; }
.article-content h2 { margin: 0 0 16px; padding-top: 20px; color: var(--ink); font-size: 1.8rem; letter-spacing: -.025em; }
.article-content section:first-child h2 { padding-top: 0; }
.article-content p { margin: 0 0 1.3em; color: var(--text); font-size: 1.04rem; line-height: 1.95; }
.content-notice,
.article-credit {
  margin: 0 0 24px;
  padding: 20px 22px;
  border: 1px solid color-mix(in srgb, var(--teal) 28%, var(--line));
  border-radius: 18px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--teal) 9%, var(--panel)), var(--panel));
}
.content-notice strong,
.article-credit strong { display: block; margin-bottom: 8px; color: var(--ink); font-size: .9rem; letter-spacing: .06em; }
.content-notice p,
.article-credit p { margin: 0; color: var(--text); font-size: .96rem; line-height: 1.8; }
.article-credit { border-color: var(--line); background: color-mix(in srgb, var(--panel) 90%, var(--surface)); }
.article-points { display: grid; gap: 10px; margin: 0 0 1.5em; padding-left: 1.3em; color: var(--text); }
.article-points li { padding-left: .3em; line-height: 1.8; }
.article-code {
  overflow-x: auto;
  margin: 8px 0 24px;
  padding: 18px 20px;
  border: 1px solid color-mix(in srgb, var(--teal) 22%, var(--line));
  border-radius: 16px;
  background: color-mix(in srgb, var(--ink) 92%, var(--teal));
  color: #e9fffb;
  font: .88rem/1.75 "Cascadia Code", Consolas, monospace;
}
.article-table-wrap { overflow-x: auto; margin: 8px 0 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.article-table { width: 100%; min-width: 620px; border-collapse: collapse; }
.article-table th,
.article-table td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--text); line-height: 1.65; }
.article-table th { background: color-mix(in srgb, var(--teal) 9%, var(--panel)); color: var(--ink); font-size: .86rem; }
.article-table tr:last-child td { border-bottom: 0; }
.reference-list { margin: 28px 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.reference-list h3 { margin: 0 0 12px; color: var(--ink); font-size: 1rem; }
.reference-list ul { display: grid; gap: 9px; margin: 0; padding-left: 1.15em; }
.reference-list a { color: var(--teal); text-underline-offset: 3px; }
.reference-list span { display: block; margin-top: 3px; color: var(--muted); font-size: .86rem; }
.project-overview { display: grid; gap: 18px; margin-bottom: 32px; }
.project-overview section { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.project-overview h2 { margin: 0 0 12px; color: var(--ink); font-size: 1.35rem; }
.project-overview p { margin: 0 0 12px; color: var(--text); line-height: 1.85; }
.project-overview p:last-child { margin-bottom: 0; }
.toc { position: sticky; top: 96px; display: grid; align-self: start; padding: 18px; border-left: 2px solid var(--line); }
.toc strong { margin-bottom: 10px; color: var(--ink); }
.toc a { padding: 7px 0; color: var(--muted); font-size: .82rem; text-decoration: none; }
.toc a:hover { color: var(--teal); }
.article-end { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.prose-card .number { display: block; margin-bottom: 25px; color: var(--teal); font-size: 2rem; font-weight: 850; }
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding: 26px; }
.contact-card h2 { margin: 0; color: var(--ink); }
.contact-card p:last-child { margin: 6px 0 0; color: var(--muted); }
.legal-copy { max-width: 900px; }
.legal-copy section { padding: 28px 0; border-bottom: 1px solid var(--line); }
.legal-copy h2 { margin: 0 0 12px; color: var(--ink); font-size: 1.25rem; }
.legal-copy p { margin: 8px 0; color: var(--text); }
.legal-copy a { color: var(--teal); }
.legal-updated { margin-top: 28px !important; color: var(--muted) !important; font-size: .84rem; }
.not-found { display: grid; min-height: 62vh; place-items: center; text-align: center; }
.not-found span { color: var(--teal); font-size: clamp(5rem, 18vw, 12rem); font-weight: 900; letter-spacing: -.08em; opacity: .18; }
.not-found h1 { margin: -2rem 0 0; color: var(--ink); font-size: clamp(2rem, 5vw, 4rem); }
.not-found p { color: var(--muted); }

@media (max-width: 900px) {
  .detail-grid, .article-layout { grid-template-columns: 1fr; }
  .side-panel, .toc { position: static; }
  .toc { order: -1; border-left: 0; border-bottom: 1px solid var(--line); }
  .member-grid, .info-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .page-hero { padding: 48px 0 36px; }
  .card-grid, .member-grid, .info-grid { grid-template-columns: 1fr; }
  .progress-entry { grid-template-columns: 1fr; gap: 6px; }
  .privacy-note, .contact-card { align-items: flex-start; flex-direction: column; }
  .profile-grid { align-items: flex-start; flex-direction: column; }
  .profile-mark { width: 82px; height: 82px; border-radius: 25px 25px 25px 7px; }
  .article-layout { padding-top: 32px; }
  .article-byline { display: grid; gap: 5px; }
  .article-end { align-items: flex-start; flex-direction: column; }
  .home-hero { min-height: auto; padding: 46px 0 34px; }
  .home-foot { padding-bottom: 38px; }
  .founder-mini { grid-template-columns: auto 1fr auto; }
  .founder-mini p { display: none; }
}

/* Refined home and combined journey */
.home-hero { min-height: 520px; padding: 88px 0 68px; }
.home-intro { max-width: none; }
.home-intro h1 { margin: 0; color: var(--ink); font-size: clamp(4.4rem, 11vw, 8.5rem); line-height: .84; letter-spacing: -.075em; }
.home-intro h1 span { display: block; margin-top: .18em; color: transparent; -webkit-text-stroke: 1px var(--teal); font-size: .38em; letter-spacing: .08em; }
.home-intro-main .eyebrow { margin-bottom: clamp(20px, 3.5svh, 34px); }
.home-intro h1 span { margin-top: clamp(16px, 2.5svh, 26px); }
.home-intro .hero-copy { margin-top: clamp(28px, 4svh, 40px); }
.home-intro .hero-copy { max-width: 660px; }
.home-section { padding: 44px 0; }
.home-project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.home-project { position: relative; display: block; min-height: 205px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); text-decoration: none; }
.home-project:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow); }
.home-project > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.home-project-category { margin-right: auto; }
.home-project time { color: var(--muted); font-size: .76rem; }
.home-project h3 { max-width: 90%; margin: 26px 0 8px; color: var(--ink); font-size: 1.3rem; line-height: 1.35; }
.home-project p { margin: 0; color: var(--muted); }
.home-project > span { position: absolute; right: 20px; bottom: 16px; color: var(--teal); font-size: 1.1rem; }
.home-timeline { max-width: 900px; }
.home-timeline article { display: grid; grid-template-columns: 116px 16px minmax(0, 1fr); gap: 16px; }
.home-timeline time { padding-top: 3px; color: var(--muted); font-size: .8rem; text-align: right; }
.home-timeline article > span { position: relative; width: 10px; height: 10px; margin-top: 8px; border: 2px solid var(--surface); border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 2px var(--teal); }
.home-timeline article > span::after { content: ""; position: absolute; left: 3px; top: 11px; width: 1px; height: calc(100% + 92px); background: var(--line); }
.home-timeline article:last-child > span::after { display: none; }
.home-timeline article > div { padding-bottom: 30px; }
.home-timeline a { color: var(--teal); font-size: .75rem; font-weight: 780; text-decoration: none; }
.home-timeline h3 { margin: 3px 0 4px; color: var(--ink); font-size: 1.04rem; }
.home-timeline p { margin: 0; color: var(--muted); font-size: .88rem; }
.home-dreamers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.home-dreamers > a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); text-decoration: none; }
.home-dreamers > a:hover { border-color: var(--teal); }
.home-dreamers > a > span:nth-child(2) { display: grid; }
.home-dreamers strong { color: var(--ink); }
.home-dreamers em { color: var(--muted); font-size: .78rem; font-style: normal; }
.home-dreamers small { color: var(--muted); }
.home-dreamers i { color: var(--teal); font-style: normal; }
.journey-shell { padding: 0 0 68px; }
.journey-tabs { position: sticky; z-index: 20; top: 72px; display: flex; gap: 8px; margin: 0 0 28px; padding: 14px 0; background: color-mix(in srgb, var(--bg) 91%, transparent); backdrop-filter: blur(16px); }
.journey-tabs button { min-width: 110px; min-height: 42px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); cursor: pointer; font-weight: 760; }
.journey-tabs button:hover, .journey-tabs button.active { border-color: var(--teal); background: var(--teal-soft); color: var(--ink); }
.journey-panel { animation: panel-in .28s ease-out both; }
.journey-panel[hidden] { display: none; }
.about-single { max-width: 880px; padding: 34px 38px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.about-single p { margin: 0 0 1.35em; color: var(--text); font-size: 1.03rem; line-height: 1.95; }
.about-single p:last-child { margin-bottom: 0; }
.about-single a { color: var(--teal); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Polished page rhythm */
.page-hero { padding: 58px 0 42px; }
.page-hero h1 { max-width: none; font-size: clamp(2.2rem, 4.5vw, 3.65rem); line-height: 1.08; letter-spacing: -.045em; }
.profile-hero h1 { font-size: clamp(2.35rem, 4.5vw, 3.8rem); }
.article-header h1 { font-size: clamp(2.2rem, 4.8vw, 3.9rem); }

.home-page::before { content: ""; position: fixed; z-index: -1; width: 52vw; height: 52vw; right: -15vw; top: 5vh; border-radius: 50%; background: color-mix(in srgb, var(--teal) 10%, transparent); filter: blur(100px); pointer-events: none; }
.home-page #main { position: relative; height: auto; overflow: visible; padding: 0; }

/* Continuous home timeline: every scene is a normal block; GSAP morphs it in and out. */
.home-scene { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; align-items: start; min-height: calc(100svh - var(--home-header-h)); padding: var(--scene-top) 0 var(--scene-bottom); overflow: hidden; scroll-margin-top: var(--home-header-h); }
.home-scene + .home-scene::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.home-scene > .shell { position: relative; z-index: 1; }
.scene-veil { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(115deg, color-mix(in srgb, var(--bg) 92%, transparent), color-mix(in srgb, var(--surface) 74%, transparent) 58%, color-mix(in srgb, var(--teal-soft) 44%, transparent)); }
.home-intro { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(292px, .78fr); gap: clamp(26px, 4.6vw, 60px); align-items: start; }
.home-intro-main { min-width: 0; }
.home-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; }
.home-brief { position: relative; display: grid; min-height: 166px; align-content: space-between; margin-bottom: 12px; padding: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px 22px 22px 7px; background: linear-gradient(145deg, color-mix(in srgb, var(--teal-soft) 62%, var(--surface)), color-mix(in srgb, var(--surface) 92%, transparent)); }
.home-brief::after { content: "DW"; position: absolute; right: -10px; bottom: -30px; color: color-mix(in srgb, var(--teal) 11%, transparent); font-size: 7rem; font-weight: 900; line-height: 1; letter-spacing: -.1em; }
.home-brief span, .home-brief small { position: relative; z-index: 1; color: var(--muted); font-size: .7rem; font-weight: 760; letter-spacing: .14em; }
.home-brief strong { position: relative; z-index: 1; max-width: 17ch; color: var(--ink); font-size: clamp(1.2rem, 2vw, 1.65rem); line-height: 1.35; }
.home-pulse { display: grid; gap: 10px; }
.home-pulse a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 3px 14px; padding: 14px 17px; border: 1px solid var(--line); border-radius: 16px; background: color-mix(in srgb, var(--surface) 92%, transparent); text-decoration: none; transition: border-color .22s, transform .22s, box-shadow .22s; }
.home-pulse a:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow); }
.home-pulse small { color: var(--muted); font-size: .72rem; letter-spacing: .08em; }
.home-pulse strong { color: var(--ink); font-size: 1.08rem; }
.home-pulse span { grid-row: 1 / span 2; grid-column: 2; color: var(--teal); font-size: 1.05rem; }
.home-quick { margin-top: 20px; }
.home-quick > p { margin: 0 0 9px; color: var(--muted); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.home-quick nav { display: flex; flex-wrap: wrap; gap: 8px; }
.home-quick a { padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--muted); font-size: .78rem; text-decoration: none; transition: border-color .2s, color .2s; }
.home-quick a:hover { border-color: var(--teal); color: var(--ink); }
.section-lede { max-width: 62ch; margin: -14px 0 24px; color: var(--muted); font-size: .96rem; }
.home-intro h1 { font-size: clamp(3.1rem, 7.4vw, 6.3rem); }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; color: var(--muted); font-size: .72rem; letter-spacing: .12em; transform: translateX(-50%); }
.scroll-cue::after { content: ""; display: block; width: 1px; height: 24px; margin: 7px auto 0; background: linear-gradient(var(--teal), transparent); animation: cue-drop 1.8s ease-in-out infinite; }
.scene-nav { position: fixed; z-index: 36; top: 50%; right: 22px; display: grid; gap: 13px; transform: translateY(-50%); transition: opacity .35s ease; }
.scene-nav button { position: relative; width: 10px; height: 10px; padding: 0; border: 1px solid color-mix(in srgb, var(--muted) 75%, transparent); border-radius: 50%; background: color-mix(in srgb, var(--surface) 78%, transparent); cursor: pointer; transition: transform .25s, border-color .25s, background .25s; }
.scene-nav button[aria-current="true"] { border-color: var(--teal); background: var(--teal); transform: scale(1.45); }
.scene-nav button span { position: absolute; top: 50%; right: 18px; padding: 4px 8px; border-radius: 7px; background: var(--ink); color: var(--bg); font-size: .7rem; opacity: 0; pointer-events: none; transform: translate(6px, -50%); transition: opacity .2s, transform .2s; white-space: nowrap; }
.scene-nav button:hover span, .scene-nav button:focus-visible span { opacity: 1; transform: translate(0, -50%); }

.quick-share { position: relative; }
.quick-share > summary { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 9px 15px; border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--ink); font-weight: 750; list-style: none; cursor: pointer; transition: border-color .2s, transform .2s, background .2s; }
.quick-share > summary::-webkit-details-marker { display: none; }
.quick-share > summary:hover, .quick-share[open] > summary { border-color: var(--teal); background: var(--teal-soft); transform: translateY(-1px); }
.quick-share > summary > span:first-child { color: var(--teal); font-size: 1.05rem; }
.quick-share-panel { position: fixed; z-index: 110; top: 84px; right: clamp(12px, 4vw, 54px); width: min(390px, calc(100vw - 24px)); padding: 14px; border: 1px solid color-mix(in srgb, var(--teal) 42%, var(--line)); border-radius: 26px; background: color-mix(in srgb, var(--surface) 96%, transparent); box-shadow: 0 28px 80px color-mix(in srgb, #020b10 28%, transparent); backdrop-filter: blur(22px); animation: share-panel-in .28s cubic-bezier(.2,.8,.2,1) both; }
.quick-share-close { position: absolute; z-index: 2; top: 24px; right: 24px; display: grid; width: 32px; height: 32px; place-items: center; padding: 0; border: 1px solid color-mix(in srgb, #fff 34%, transparent); border-radius: 50%; background: color-mix(in srgb, #051517 28%, transparent); color: #fff; font-size: 1.15rem; cursor: pointer; }
.share-ticket { position: relative; isolation: isolate; min-height: 390px; padding: 28px; overflow: hidden; border-radius: 18px 18px 18px 5px; background-color: #07191f; background-image: linear-gradient(145deg, color-mix(in srgb, var(--teal) 72%, #10222c), #07191f); color: #f5ffff; }
.share-ticket::before, .share-ticket::after { content: ""; position: absolute; border: 1px solid color-mix(in srgb, #fff 18%, transparent); border-radius: 50%; }
.share-ticket::before { width: 250px; height: 250px; right: -112px; top: -92px; }
.share-ticket::after { width: 150px; height: 150px; right: -42px; top: -24px; border-style: dashed; }
.share-ticket-head { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.share-ticket-head span { font-size: .66rem; font-weight: 800; letter-spacing: .14em; opacity: .76; }
.share-ticket-head b { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid color-mix(in srgb, #fff 46%, transparent); border-radius: 16px 16px 16px 5px; font-size: .86rem; }
.share-ticket > strong { position: relative; z-index: 1; display: block; max-width: 88%; margin-top: 42px; overflow-wrap: anywhere; font-size: clamp(1.75rem, 7vw, 2.7rem); line-height: 1.06; letter-spacing: -.045em; }
.share-ticket > p { position: relative; z-index: 1; display: -webkit-box; max-width: 30ch; margin: 14px 0 24px; overflow: hidden; font-size: .84rem; line-height: 1.65; opacity: .78; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.share-ticket-foot { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 26px; display: grid; grid-template-columns: 94px minmax(0, 1fr); align-items: end; gap: 16px; }
.share-qr { display: grid; width: 94px; height: 94px; place-items: center; padding: 6px; border-radius: 12px; background: #fff; color: #071719; }
.share-qr svg { display: block; width: 100%; height: 100%; }
.share-ticket-foot > div:last-child { display: grid; min-width: 0; gap: 7px; }
.share-ticket-foot small { font-size: .65rem; font-weight: 800; letter-spacing: .14em; opacity: .7; }
.share-ticket-foot span { overflow: hidden; font-size: .7rem; line-height: 1.35; opacity: .86; text-overflow: ellipsis; }
.quick-share-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.quick-share-actions button { min-height: 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); color: var(--ink); font-weight: 720; cursor: pointer; }
.quick-share-actions button:first-child { border-color: var(--teal); background: var(--teal); color: #061514; }
@keyframes share-panel-in { from { opacity: 0; transform: translateY(-10px) scale(.97); } to { opacity: 1; transform: none; } }

.home-dreamers > a { grid-template-columns: auto auto 1fr auto; }
.home-dreamers > a > span:nth-child(3) { display: grid; }
.member-rank { color: var(--teal); font-size: .72rem; font-weight: 820; letter-spacing: .08em; }

.site-footer { margin-top: 0; }
.home-page .dreamers-section { padding-bottom: var(--scene-bottom); }
.home-page.is-at-end .scene-nav { opacity: 0; pointer-events: none; }
.footer-inner { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 0; }
.footer-brand { display: flex; align-items: baseline; gap: 12px; }
.footer-brand > span { color: var(--muted); font-size: .78rem; font-weight: 400; }
.footer-links { align-items: center; align-content: center; }

@keyframes cue-drop { 0%, 100% { opacity: .35; transform: scaleY(.55); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

@media (max-width: 1100px) {
  .home-intro { grid-template-columns: minmax(0, 1fr) minmax(258px, .7fr); gap: 30px; }
  .home-project-grid { grid-template-columns: 1fr 1fr; }
  .member-roster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .home-intro { grid-template-columns: 1fr; }
  .home-pulse { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-pulse a { padding: 12px 14px; }
  .home-pulse span { grid-row: auto; grid-column: 2; }
  .home-quick { margin-top: 24px; }
}

@media (max-width: 640px) {
  :root { --scene-top: clamp(24px, 4.4svh, 42px); --scene-bottom: clamp(48px, 7svh, 72px); }
  .home-intro h1 { max-width: 100%; font-size: clamp(2.85rem, 12.5vw, 4.35rem); letter-spacing: -.065em; }
  .home-project-grid, .home-dreamers, .home-pulse { grid-template-columns: 1fr; }
  .home-timeline article { grid-template-columns: 1fr 16px minmax(0, 5fr); gap: 10px; }
  .home-timeline time { font-size: .7rem; }
  .home-timeline p { display: none; }
  .section-lede { margin-bottom: 18px; font-size: .9rem; }
  .journey-tabs { top: 66px; }
  .journey-tabs button { flex: 1; }
  .journal-group-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .about-single { padding: 25px 22px; }
  .page-hero h1, .article-header h1 { font-size: clamp(2rem, 10vw, 3rem); overflow-wrap: anywhere; }
  .footer-inner, .footer-brand { align-items: flex-start; flex-direction: column; }
  .footer-inner { gap: 7px; padding: 13px 0 15px; }
  .footer-brand { gap: 1px; }
  .footer-links { gap: 11px; }
  .scene-nav { top: auto; right: 50%; bottom: 17px; display: flex; transform: translateX(50%); }
  .scene-nav button span { display: none; }
  .home-page .site-footer .footer-brand > span { display: none; }
  .profile-entries, .mini-list { grid-template-columns: 1fr; }
  .profile-hero { padding: 44px 0 32px; }
  .profile-entry { padding: 20px; }
}

/* Member profile: intro homepage plus the journey and project sub pages */
.profile-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.profile-layout { max-width: 1040px; }
.member-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.member-tabs a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: .88rem; font-weight: 740; text-decoration: none; }
.member-tabs a:hover { border-color: var(--teal); color: var(--ink); }
.member-tabs a[aria-current="page"] { border-color: var(--teal); background: var(--teal-soft); color: var(--ink); }
.profile-about { margin-bottom: 22px; }
.profile-entries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.profile-entry { display: grid; gap: 6px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: color-mix(in srgb, var(--surface) 94%, transparent); text-decoration: none; transition: border-color .22s, transform .22s, box-shadow .22s; }
.profile-entry:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow); }
.profile-entry strong { color: var(--ink); font-size: 1.32rem; }
.profile-entry p { margin: 0; color: var(--muted); font-size: .92rem; }
.profile-entry .entry-index { color: var(--teal); font-size: .72rem; font-weight: 840; letter-spacing: .16em; }
.profile-entry .entry-meta { color: var(--text); font-size: .8rem; font-weight: 720; }
.profile-entry i { color: var(--teal); font-style: normal; }
.mini-list { display: grid; gap: 8px; max-width: 720px; }
.mini-list .project-mini { border: 1px solid var(--line); background: var(--surface); }

/* 2026-09-24 homepage and member experience */
.site-nav { position: relative; isolation: isolate; padding: 3px; }
.site-nav .nav-indicator { position: absolute; z-index: 0; left: 0; top: 3px; height: calc(100% - 6px); border: 1px solid color-mix(in srgb, var(--teal) 22%, var(--line)); border-radius: 9px; background: color-mix(in srgb, var(--teal-soft) 76%, var(--surface)); box-shadow: 0 8px 22px color-mix(in srgb, var(--teal) 11%, transparent); opacity: 0; pointer-events: none; transition: width .38s cubic-bezier(.2,.8,.2,1), transform .46s cubic-bezier(.16,1,.3,1), opacity .2s ease; }
.site-nav a { position: relative; z-index: 1; background: transparent !important; transition: color .24s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }

.home-page.gsap-home { overflow-x: hidden; }
.home-page.gsap-home #main { position: relative; height: calc(100svh - var(--home-header-h)); min-height: 520px; overflow: hidden; perspective: 1400px; transform-style: preserve-3d; }
.home-page.gsap-home .home-scene { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; padding: clamp(30px, 5.2svh, 58px) 0 clamp(42px, 7svh, 78px); overflow: hidden; pointer-events: none; transform-style: preserve-3d; will-change: transform, opacity, clip-path; }
.home-page.gsap-home .home-scene.is-current { pointer-events: auto; }
.home-page.gsap-home .home-scene + .home-scene::after,
.home-page.gsap-home .home-scene::after { position: absolute; z-index: 0; top: clamp(12px, 2.5svh, 28px); right: clamp(36px, 6vw, 94px); height: auto; width: auto; background: none; color: color-mix(in srgb, var(--teal) 9%, transparent); font-size: clamp(7rem, 16vw, 14rem); font-weight: 900; line-height: .8; letter-spacing: -.08em; pointer-events: none; }
.home-page.gsap-home #home::after { content: "01"; }
.home-page.gsap-home #projects::after { content: "02"; }
.home-page.gsap-home #timeline::after { content: "03"; }
.home-page.gsap-home #dreamers::after { content: "04"; }
.home-page.gsap-home .scene-veil { overflow: hidden; transform-origin: center; background:
  radial-gradient(circle at 78% 30%, color-mix(in srgb, var(--teal) 17%, transparent), transparent 24rem),
  linear-gradient(125deg, color-mix(in srgb, var(--bg) 97%, transparent), color-mix(in srgb, var(--surface) 76%, transparent) 57%, color-mix(in srgb, var(--teal-soft) 42%, transparent)); }
.home-page.gsap-home .scene-veil::before,
.home-page.gsap-home .scene-veil::after { content: ""; position: absolute; border: 1px solid color-mix(in srgb, var(--teal) 18%, transparent); border-radius: 50%; pointer-events: none; }
.home-page.gsap-home .scene-veil::before { width: min(52vw, 700px); aspect-ratio: 1; right: -15vw; top: -22vw; box-shadow: inset 0 0 90px color-mix(in srgb, var(--teal) 5%, transparent); }
.home-page.gsap-home .scene-veil::after { width: min(24vw, 330px); aspect-ratio: 1; right: 13vw; bottom: -15vw; border-style: dashed; opacity: .7; }
.home-page.gsap-home .home-scene > .shell { align-self: start; }
.home-page.gsap-home .home-intro-main > :not(.home-hero-actions),
.home-page.gsap-home .home-hero-actions > a,
.home-page.gsap-home .home-pulse > a,
.home-page.gsap-home .section-head > *,
.home-page.gsap-home .section-lede,
.home-page.gsap-home .home-project,
.home-page.gsap-home .home-timeline article,
.home-page.gsap-home .home-dreamers > a { will-change: transform, opacity; transform-style: preserve-3d; backface-visibility: hidden; }
.home-page.gsap-home .section-head { margin-bottom: 24px; }
.home-page.gsap-home .section-head h2 { font-size: clamp(2.25rem, 4.6vw, 4.3rem); letter-spacing: -.055em; }
.home-page.gsap-home .section-kicker { margin-bottom: 8px; }
.home-page.gsap-home .section-lede { margin-top: -10px; }
.home-page.gsap-home .home-intro { align-items: center; min-height: min(68svh, 650px); }
.home-page.gsap-home #home { padding-top: clamp(48px, 8svh, 90px); }
.home-page.gsap-home .home-intro-main { align-self: start; }
.home-page.gsap-home .home-intro-side { align-self: center; }
.home-page.gsap-home .home-pulse a { background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(16px); }
.home-page.gsap-home .home-project,
.home-page.gsap-home .home-dreamers > a { background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(16px); transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease; }
.home-page.gsap-home .home-project:hover,
.home-page.gsap-home .home-dreamers > a:hover { border-color: color-mix(in srgb, var(--teal) 72%, var(--line)); transform: translateY(-3px); box-shadow: 0 18px 46px color-mix(in srgb, var(--teal) 13%, transparent); }
.home-page.gsap-home .home-timeline { padding: 18px 22px 2px; border: 1px solid color-mix(in srgb, var(--line) 85%, transparent); border-radius: 22px; background: color-mix(in srgb, var(--surface) 76%, transparent); backdrop-filter: blur(15px); }
.home-page.gsap-home .home-timeline article:last-child > div { padding-bottom: 12px; }
.home-page.gsap-home .scroll-cue { z-index: 3; }
.scene-nav { padding: 10px 8px; border: 1px solid color-mix(in srgb, var(--line) 70%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--surface) 66%, transparent); backdrop-filter: blur(16px); box-shadow: 0 14px 36px color-mix(in srgb, var(--ink) 9%, transparent); }
.scene-nav button { width: 8px; height: 8px; }
.scene-nav button[aria-current="true"] { transform: scale(1.55); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 12%, transparent); }
.home-page.gsap-home .dreamers-section { padding-bottom: clamp(96px, 13svh, 128px); }
.home-page.gsap-home .dreamers-section > .site-footer { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; width: 100%; margin: 0; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 94%, var(--bg)); backdrop-filter: blur(16px); }
.home-page.gsap-home .dreamers-section > .site-footer .footer-inner { width: min(var(--max), calc(100% - 36px)); }

.member-roster-section { padding-top: 16px; }
.member-roster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.member-card { min-height: 340px; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: color-mix(in srgb, var(--surface) 91%, transparent); box-shadow: 0 14px 44px color-mix(in srgb, var(--ink) 5%, transparent); transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease; }
.member-card:hover { border-color: color-mix(in srgb, var(--teal) 58%, var(--line)); transform: translateY(-4px); box-shadow: 0 22px 54px color-mix(in srgb, var(--teal) 11%, transparent); }
.member-card-top { display: grid; grid-template-columns: 26px 56px minmax(0, 1fr); align-items: center; gap: 12px; }
.member-rank-number { color: var(--teal); font-size: .7rem; font-weight: 850; letter-spacing: .08em; }
.member-card .avatar { width: 56px; height: 56px; border-radius: 18px 18px 18px 6px; }
.member-card-identity { display: grid; min-width: 0; }
.member-card-identity strong { overflow: hidden; color: var(--ink); font-size: 1.16rem; text-overflow: ellipsis; white-space: nowrap; }
.member-card-identity em { overflow: hidden; margin-top: 2px; color: var(--muted); font-size: .8rem; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.member-card > p { display: -webkit-box; margin: 24px 0 18px; overflow: hidden; color: var(--muted); line-height: 1.78; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.member-card .chips { margin-bottom: 22px; }
.member-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 17px; border-top: 1px solid var(--line); }
.member-card-foot > span { color: var(--muted); font-size: .74rem; }
.member-card-foot a { flex: 0 0 auto; color: var(--teal); font-size: .8rem; font-weight: 760; text-decoration: none; }
.member-card-foot i { font-style: normal; }

.member-route { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.member-back { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: .86rem; font-weight: 720; text-decoration: none; transition: color .2s, transform .2s; }
.member-back:hover { color: var(--teal); transform: translateX(-3px); }
.member-tabs { margin: 0; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--surface) 88%, transparent); }
.member-tabs a { min-height: 36px; padding: 6px 14px; border: 0; background: transparent; }
.member-tabs a[aria-current="page"] { box-shadow: 0 7px 18px color-mix(in srgb, var(--teal) 12%, transparent); }
.profile-share { margin-left: auto; align-self: center; }
.profile-bio { position: relative; overflow: hidden; border-top: 3px solid var(--profile-accent, var(--teal)); }
.profile-bio > p:nth-of-type(2) { max-width: 78ch; overflow-wrap: anywhere; line-height: 1.9; }
.profile-bio .chips { margin-top: 20px; }
.profile-layout > .section-head.spaced { margin-top: 38px; }

.profile-page { --profile-accent: var(--teal); --profile-soft: var(--teal-soft); }
.profile-page .profile-hero { background: radial-gradient(circle at 83% 20%, var(--profile-soft), transparent 34rem); }
.profile-page .profile-mark { border-color: var(--profile-accent); background: var(--profile-soft); color: var(--profile-accent); }
.profile-page .profile-cn-name { color: color-mix(in srgb, var(--profile-accent) 72%, var(--muted)); }
.profile-page .quick-share > summary:hover, .profile-page .quick-share[open] > summary { border-color: var(--profile-accent); background: var(--profile-soft); }
.profile-page .quick-share > summary > span:first-child { color: var(--profile-accent); }
.profile-page .share-ticket { background-color: #050f18; background-image: linear-gradient(145deg, color-mix(in srgb, var(--profile-accent) 58%, #07191f), color-mix(in srgb, var(--profile-accent) 22%, #050f18)); }

@media (max-width: 900px) {
  .home-page.gsap-home .home-intro { min-height: 0; }
}

@media (max-width: 720px) {
  .site-nav .nav-indicator { display: none; }
  .site-nav a { background: transparent !important; }
  .home-page.gsap-home #main { min-height: 540px; height: calc(100svh - 66px); }
  .home-page.gsap-home .home-scene { padding: clamp(20px, 3.4svh, 34px) 0 clamp(38px, 6svh, 58px); }
  .home-page.gsap-home .home-scene::after { right: 22px; font-size: clamp(5rem, 28vw, 8rem); }
  .home-page.gsap-home .home-intro { grid-template-columns: 1fr; gap: 20px; }
  .home-page.gsap-home .home-intro h1 { font-size: clamp(2.75rem, 12vw, 4rem); }
  .home-page.gsap-home .hero-copy { margin-top: 16px; font-size: .94rem; }
  .home-page.gsap-home .home-hero-actions { margin-top: 18px; }
  .home-page.gsap-home #home { padding-top: clamp(30px, 5svh, 52px); }
  .home-page.gsap-home .home-intro-main .eyebrow { margin-bottom: 22px; }
  .home-page.gsap-home .home-intro h1 span { margin-top: 14px; }
  .home-page.gsap-home .home-intro .hero-copy { margin-top: 24px; }
  .home-page.gsap-home .home-brief { min-height: 104px; margin-bottom: 8px; padding: 14px 16px; }
  .home-page.gsap-home .home-brief strong { max-width: 22ch; font-size: 1rem; }
  .home-page.gsap-home .home-brief small { display: none; }
  .home-page.gsap-home .home-brief::after { bottom: -20px; font-size: 5.4rem; }
  .home-page.gsap-home .home-pulse { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .home-page.gsap-home .home-pulse a { display: flex; min-height: 66px; align-items: flex-start; justify-content: center; flex-direction: column; padding: 10px 11px; }
  .home-page.gsap-home .home-pulse span { display: none; }
  .home-page.gsap-home .home-pulse strong { font-size: .92rem; }
  .home-page.gsap-home .home-pulse small { font-size: .64rem; }
  .home-page.gsap-home .section-head { margin-bottom: 14px; }
  .home-page.gsap-home .section-head h2 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .home-page.gsap-home .section-lede { display: none; }
  .home-page.gsap-home .home-project-grid { grid-template-columns: 1fr; gap: 8px; }
  .home-page.gsap-home .home-project { min-height: 112px; padding: 14px 16px; }
  .home-page.gsap-home .home-project h3 { margin: 12px 0 4px; font-size: 1.02rem; }
  .home-page.gsap-home .home-project:nth-child(n+3) { display: none; }
  .home-page.gsap-home .home-timeline { padding: 12px 13px 0; }
  .home-page.gsap-home .home-timeline article > div { padding-bottom: 17px; }
  .home-page.gsap-home .home-timeline article:nth-child(n+4) { display: none; }
  .home-page.gsap-home .home-dreamers { grid-template-columns: 1fr; gap: 7px; }
  .home-page.gsap-home .home-dreamers > a { padding: 11px 13px; }
  .home-page.gsap-home .home-dreamers > a:nth-child(n+4) { display: none; }
  .home-page.gsap-home .scroll-cue { bottom: 10px; }
  .scene-nav { bottom: 10px; gap: 12px; padding: 8px 12px; }
  .member-roster { grid-template-columns: 1fr; }
  .member-route { align-items: flex-start; flex-direction: column; gap: 14px; }
  .member-tabs { width: 100%; }
  .member-tabs a { flex: 1; justify-content: center; }
  .profile-share { margin-left: 0; }
}

@media (max-width: 520px) {
  .profile-grid { align-items: flex-start; flex-direction: column; }
  .profile-hero h1 { font-size: clamp(2.3rem, 13vw, 3.5rem); }
  .member-card { min-height: 0; padding: 20px; }
  .quick-share-panel { top: 72px; right: 10px; width: calc(100vw - 20px); padding: 10px; border-radius: 21px; }
  .share-ticket { min-height: 370px; padding: 23px; }
  .share-ticket-foot { left: 23px; right: 23px; bottom: 23px; grid-template-columns: 88px minmax(0, 1fr); }
  .share-qr { width: 88px; height: 88px; }
}

/* Stable cross-page header and DreamStart-style article outline */
.member-card { display: flex; flex-direction: column; min-height: 330px; }
.member-card-top { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.member-card > p { margin: 18px 0; }
.member-card .chips { gap: 6px; }
.member-card-foot { flex-wrap: wrap; }
.profile-bio { padding: clamp(24px, 4vw, 42px); border-radius: 24px; background: linear-gradient(130deg, var(--surface), color-mix(in srgb, var(--profile-soft) 22%, var(--surface))); }
.profile-page .profile-hero { padding-top: 48px; padding-bottom: 38px; }
.profile-page .profile-mark { border-radius: 24px 24px 24px 8px; box-shadow: 0 12px 32px var(--profile-soft); }
.profile-page .empty-card { padding: 20px 24px; border-style: dashed; background: transparent; color: var(--muted); }
.motion-ready .entry-reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease var(--entry-delay, 0ms), transform .65s cubic-bezier(.22,1,.36,1) var(--entry-delay, 0ms); }
.motion-ready .entry-reveal.is-visible { opacity: 1; transform: none; }
.motion-ready .entry-reveal.is-visible:hover { transform: translateY(-3px); }
html[lang="en"] .home-brief strong { max-width: 24ch; }
html[lang="en"] .home-page.gsap-home .section-head h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
html[lang="en"] .site-nav a { font-size: .88rem; padding-inline: 12px; }
html[lang="en"] .member-card { min-height: 360px; }
html[lang="en"] .article-toc.is-collapsed .article-toc-head strong,
html[lang="en"] .article-toc.is-collapsed .article-toc-head button { writing-mode: vertical-rl; letter-spacing: .03em; }

/* 2026-10-11 journey discovery and nested home timeline */
.home-page.gsap-home .home-timeline {
  max-height: min(46svh, 430px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
  touch-action: pan-y;
}
.home-page.gsap-home .home-timeline:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.home-page.gsap-home .home-timeline::-webkit-scrollbar { width: 7px; }
.home-page.gsap-home .home-timeline::-webkit-scrollbar-track { background: transparent; }
.home-page.gsap-home .home-timeline::-webkit-scrollbar-thumb { border-radius: 999px; background: color-mix(in srgb, var(--teal) 42%, var(--line)); }

.journal-index { padding-top: 28px; }
.journal-index-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 300px); gap: clamp(24px, 4vw, 48px); align-items: start; transition: grid-template-columns .32s cubic-bezier(.22,1,.36,1); }
.journal-index-main { min-width: 0; }
.journal-scope-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 20px; background: color-mix(in srgb, var(--surface) 92%, transparent); box-shadow: 0 14px 38px color-mix(in srgb, var(--ink) 5%, transparent); }
.journal-scope-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; min-width: min(100%, 355px); padding: 4px; border-radius: 14px; background: var(--surface-2); }
.journal-scope-tabs button { min-height: 44px; padding: 8px 15px; border: 0; border-radius: 11px; background: transparent; color: var(--muted); cursor: pointer; font: inherit; font-size: .82rem; font-weight: 780; white-space: nowrap; transition: color .2s, background .24s, box-shadow .24s, transform .2s; }
.journal-scope-tabs button:hover, .journal-scope-tabs button:focus-visible { outline: none; color: var(--ink); }
.journal-scope-tabs button.active { background: var(--surface); color: var(--teal); box-shadow: 0 5px 16px color-mix(in srgb, var(--ink) 10%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--teal) 24%, var(--line)); }
.journal-scope-bar > p { max-width: 38ch; margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.65; text-align: right; }
.journal-search { position: relative; z-index: 3; display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 28px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 20px; background: color-mix(in srgb, var(--surface) 92%, transparent); box-shadow: 0 16px 44px color-mix(in srgb, var(--ink) 5%, transparent); }
.journal-search label { display: grid; flex: 1; gap: 8px; min-width: 0; color: var(--ink); font-size: .75rem; font-weight: 820; letter-spacing: .06em; }
.journal-search input { width: 100%; height: 44px; padding: 0 14px 0 42px; border: 1px solid var(--line); border-radius: 13px; outline: none; background: var(--bg); color: var(--ink); font: inherit; font-size: .93rem; font-weight: 560; letter-spacing: 0; transition: border-color .2s, box-shadow .2s, background .2s; }
.journal-search label::after { content: "⌕"; position: absolute; left: 31px; bottom: 25px; color: var(--teal); font-size: 1.35rem; line-height: 1; pointer-events: none; }
.journal-search input:focus { border-color: var(--teal); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 13%, transparent); }
.journal-search-result { flex: 0 0 auto; margin-bottom: 12px; color: var(--muted); font-size: .76rem; font-weight: 720; }
.journal-empty { margin: 0; padding: 26px; border: 1px dashed var(--line); border-radius: 18px; color: var(--muted); text-align: center; }

.article-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; min-height: 172px; padding: 24px 22px 21px 25px; overflow: visible; transition: border-color .22s, transform .22s, box-shadow .22s; }
.article-card:hover { z-index: 4; border-color: color-mix(in srgb, var(--teal) 54%, var(--line)); transform: translateY(-2px); box-shadow: 0 18px 42px color-mix(in srgb, var(--teal) 9%, transparent); }
.article-card-main { min-width: 0; }
.article-card h2 { max-width: 42ch; margin: 13px 0 24px; padding-right: 6px; }
.article-card .article-foot { margin-top: auto; }
.article-preview { position: relative; align-self: start; }
.article-preview > button { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--muted); cursor: pointer; font-size: .86rem; letter-spacing: .08em; transition: color .2s, border-color .2s, background .2s, transform .2s; }
.article-preview > button:hover, .article-preview > button:focus-visible, .article-preview.is-open > button { border-color: var(--line); outline: none; background: var(--teal-soft); color: var(--teal); transform: translateY(-1px); }
.article-preview-panel { position: absolute; z-index: 20; top: 47px; right: 0; width: min(360px, calc(100vw - 42px)); padding: 19px 20px 17px; border: 1px solid color-mix(in srgb, var(--teal) 26%, var(--line)); border-radius: 17px 5px 17px 17px; background: color-mix(in srgb, var(--surface) 96%, transparent); box-shadow: 0 22px 64px color-mix(in srgb, var(--ink) 18%, transparent); backdrop-filter: blur(18px); animation: article-preview-in .2s cubic-bezier(.22,1,.36,1) both; }
.article-preview-panel[hidden] { display: none; }
.article-preview-panel strong { color: var(--ink); font-size: .79rem; letter-spacing: .08em; }
.article-preview-panel p { margin: 10px 0 14px; color: var(--text); font-size: .88rem; line-height: 1.72; overflow-wrap: anywhere; }
.article-preview-panel a { color: var(--teal); font-size: .8rem; font-weight: 790; text-decoration: none; }
@keyframes article-preview-in { from { opacity: 0; transform: translateY(-7px) scale(.97); } to { opacity: 1; transform: none; } }

.journal-directory { position: sticky; z-index: 6; top: 96px; min-width: 0; transition: width .32s cubic-bezier(.22,1,.36,1); }
.journal-directory-tab { display: none; }
.journal-directory-panel { max-height: calc(100svh - 124px); padding: 20px 19px 18px; overflow: auto; border: 1px solid var(--line); border-radius: 22px; background: color-mix(in srgb, var(--surface) 90%, transparent); box-shadow: 0 18px 50px color-mix(in srgb, var(--ink) 7%, transparent); backdrop-filter: blur(18px); }
.journal-directory-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.journal-directory-head .section-kicker { margin: 0 0 3px; }
.journal-directory-head strong { color: var(--ink); font-size: 1.16rem; }
.journal-directory-head button { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; font-size: 1.2rem; }
.journal-directory-scope { margin-top: 20px; }
.journal-directory-scope > h2 { margin: 0 0 13px; color: var(--ink); font-size: .91rem; }
.journal-directory-scope section + section { margin-top: 17px; }
.journal-directory-scope h3 { margin: 0 0 8px; color: var(--muted); font-size: .75rem; font-weight: 780; line-height: 1.45; }
.journal-directory-scope ol { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.journal-directory-scope a { display: grid; grid-template-columns: 25px minmax(0, 1fr); gap: 7px; padding: 7px 8px; border-radius: 9px; color: var(--text); font-size: .75rem; line-height: 1.45; text-decoration: none; transition: color .18s, background .18s; }
.journal-directory-scope a span { color: var(--teal); font-size: .66rem; font-weight: 850; }
.journal-directory-scope a:hover, .journal-directory-scope a:focus-visible { outline: none; background: var(--teal-soft); color: var(--ink); }

@media (min-width: 981px) {
  .journal-index-shell:has(.journal-directory:not(.is-open)) { grid-template-columns: minmax(0, 1fr) 48px; }
  .journal-directory:not(.is-open) { width: 48px; justify-self: end; }
  .journal-directory:not(.is-open) .journal-directory-panel { display: none; }
  .journal-directory:not(.is-open) .journal-directory-tab { display: flex; width: 48px; min-height: 154px; align-items: center; justify-content: center; flex-direction: column; gap: 9px; padding: 13px 9px; border: 1px solid var(--line); border-radius: 16px 5px 16px 16px; background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--ink); cursor: pointer; box-shadow: 0 14px 38px color-mix(in srgb, var(--ink) 8%, transparent); }
  .journal-directory:not(.is-open) .journal-directory-tab span { writing-mode: vertical-rl; color: var(--muted); font-size: .75rem; font-weight: 780; letter-spacing: .14em; }
  .journal-directory:not(.is-open) .journal-directory-tab i { color: var(--teal); font-style: normal; }
}

@media (max-width: 980px) {
  .journal-index-shell { grid-template-columns: 1fr; }
  .journal-directory { position: relative; top: auto; grid-row: 1; }
  .journal-directory-tab { display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: space-between; padding: 0 16px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); color: var(--ink); cursor: pointer; font-weight: 780; }
  .journal-directory-tab i { color: var(--teal); font-style: normal; transform: rotate(-90deg); transition: transform .2s; }
  .journal-directory.is-open .journal-directory-tab i { transform: rotate(90deg); }
  .journal-directory-panel { display: none; max-height: min(58svh, 520px); margin-top: 9px; }
  .journal-directory.is-open .journal-directory-panel { display: block; animation: panel-in .24s ease-out both; }
  .journal-directory-head button { display: none; }
}

@media (max-width: 720px) {
  .home-page.gsap-home .home-timeline { max-height: min(49svh, 420px); padding-right: 9px; }
  .home-page.gsap-home .home-timeline article:nth-child(n+4) { display: grid; }
  .journal-index { padding-top: 18px; }
  .journal-index-shell { gap: 18px; }
  .journal-scope-bar { align-items: stretch; flex-direction: column; gap: 10px; margin-bottom: 12px; padding: 10px; border-radius: 17px; }
  .journal-scope-tabs { width: 100%; min-width: 0; }
  .journal-scope-tabs button { padding-inline: 8px; font-size: .78rem; }
  .journal-scope-bar > p { max-width: none; padding: 0 4px 2px; font-size: .74rem; text-align: left; }
  .journal-search { align-items: stretch; flex-direction: column; gap: 8px; margin-bottom: 22px; padding: 14px; }
  .journal-search label::after { left: 27px; bottom: auto; top: 51px; }
  .journal-search-result { margin: 0; text-align: right; }
  .article-card { min-height: 0; padding: 19px 14px 17px 19px; }
  .article-card h2 { margin-bottom: 18px; font-size: 1.12rem; }
  .article-preview > button { width: 38px; height: 38px; }
  .article-preview-panel { position: fixed; z-index: 80; top: auto; right: 12px; bottom: 16px; left: 12px; width: auto; max-height: min(56svh, 440px); overflow: auto; border-radius: 21px; }
}
@media (min-width: 721px) and (max-width: 1000px) { .member-roster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .header-inner { gap: 8px; }
  .header-actions { gap: 5px; }
  .brand { gap: 7px; }
  .brand > span:last-child { font-size: .9rem; }
  .language-switch { min-width: 33px; min-height: 34px; padding: 4px 6px; }
  html[lang="en"] .home-page.gsap-home .home-brief strong { font-size: 1.05rem; max-width: 28ch; }
  html[lang="en"] .home-page.gsap-home .home-pulse strong { font-size: .8rem; }
  html[lang="en"] .member-card { min-height: 0; }
  .profile-page .profile-grid { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 16px; align-items: center; }
  .profile-page .profile-mark { width: 70px; height: 70px; font-size: 1.6rem; }
  .profile-page .profile-hero h1 { font-size: clamp(1.9rem, 8vw, 2.8rem); }
  .profile-page .profile-share { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-ready .entry-reveal { opacity: 1; transform: none; transition: none; }
  .motion-ready .entry-reveal.is-visible:hover { transform: none; }
}
@view-transition { navigation: auto; }
.site-header { view-transition-name: dreamwalk-header; }
#main { view-transition-name: dreamwalk-content; }
::view-transition-old(dreamwalk-header),
::view-transition-new(dreamwalk-header) { animation-duration: .16s; }
::view-transition-old(dreamwalk-content) { animation: .16s ease both page-fade-out; }
::view-transition-new(dreamwalk-content) { animation: .22s ease both page-fade-in; }
@keyframes page-fade-out { to { opacity: .72; } }
@keyframes page-fade-in { from { opacity: .72; } }

.site-nav:not(.nav-ready) a[aria-current="page"] { background: var(--surface-2) !important; color: var(--ink); }
.site-nav:not(.nav-ready) .nav-indicator { opacity: 0 !important; transition: none; }
.site-nav.nav-ready .nav-indicator { transition: width .38s cubic-bezier(.2,.8,.2,1), transform .46s cubic-bezier(.16,1,.3,1), opacity .18s ease; }

.article-page .article-layout { display: block; width: min(960px, calc(100% - 48px)); padding-top: 48px; }
.article-page .article-content { padding: clamp(28px, 4.5vw, 56px); border: 1px solid var(--line); border-radius: 28px; background: color-mix(in srgb, var(--surface) 94%, transparent); box-shadow: 0 26px 70px color-mix(in srgb, var(--ink) 6%, transparent); }
.article-toc { position: fixed; z-index: 32; top: 96px; right: 18px; width: 300px; max-height: calc(100vh - 118px); overflow: auto; padding: 18px; border: 1px solid color-mix(in srgb, var(--teal) 24%, var(--line)); border-radius: 19px 5px 5px 19px; background: color-mix(in srgb, var(--surface) 94%, transparent); box-shadow: 0 22px 64px color-mix(in srgb, var(--ink) 15%, transparent); backdrop-filter: blur(20px); transform-origin: right center; transition: top .24s, max-height .24s, width .32s cubic-bezier(.22,1,.36,1), padding .32s cubic-bezier(.22,1,.36,1), border-radius .32s, box-shadow .24s, transform .32s cubic-bezier(.22,1,.36,1); scrollbar-width: thin; scrollbar-color: var(--teal) transparent; }
.article-toc-head { position: sticky; z-index: 2; top: -18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: -18px -18px 12px; padding: 14px 18px 11px; border-bottom: 1px solid var(--line); background: var(--surface); }
.article-toc-head strong { margin: 0; color: var(--ink); font-size: .88rem; }
.article-toc-head button { display: inline-flex; min-height: 30px; align-items: center; justify-content: center; padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); color: var(--teal); cursor: pointer; font: inherit; font-size: .75rem; white-space: nowrap; }
.article-toc-head button:hover { border-color: var(--teal); }
.article-toc-list ol { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.article-toc-list li { min-width: 0; }
.article-toc-list a { display: grid; grid-template-columns: 2.5em minmax(0, 1fr); gap: 4px; width: 100%; padding: 7px 8px; border-radius: 9px; color: var(--muted); font-size: .8rem; line-height: 1.45; text-decoration: none; transition: background .18s, color .18s, transform .18s; }
.article-toc-list a:hover { background: var(--surface-2); color: var(--teal); transform: translateX(2px); }
.article-toc-list a[aria-current="true"] { background: var(--teal-soft); color: var(--ink); box-shadow: inset 3px 0 var(--teal); }
.article-toc-list .toc-number { color: var(--teal); font-variant-numeric: tabular-nums; font-weight: 800; }
.article-toc-list .level-3 a { padding-left: 18px; }
.article-toc-list .level-4 a { padding-left: 30px; }
.article-toc.is-collapsed { width: 50px; padding: 9px 7px; overflow: hidden; border-radius: 16px 0 0 16px; box-shadow: 0 12px 34px color-mix(in srgb, var(--ink) 11%, transparent); transform: translateX(18px); }
.article-toc.is-collapsed .article-toc-head { position: static; display: grid; justify-items: center; gap: 10px; margin: 0; padding: 0; border: 0; background: transparent; }
.article-toc.is-collapsed .article-toc-head strong { writing-mode: vertical-rl; letter-spacing: .14em; font-size: .8rem; }
.article-toc.is-collapsed .article-toc-head button { width: 32px; min-height: 62px; padding: 7px 4px; writing-mode: vertical-rl; letter-spacing: .12em; }
.article-toc.is-collapsed .article-toc-list { display: none; }
body:has(.theme-menu[open]) .article-toc { top: 250px; max-height: calc(100vh - 272px); }

@media (min-width: 761px) and (max-width: 1320px) {
  .article-page .article-layout { width: min(900px, calc(100% - 140px)); margin-left: 32px; margin-right: auto; }
}

@media (max-width: 760px) {
  .article-page .article-layout { width: min(100% - 24px, 720px); padding-top: 24px; }
  .article-page .article-content { padding: 22px 18px; border-radius: 21px; }
  .article-toc { right: 10px; top: 78px; width: min(300px, calc(100vw - 20px)); max-height: calc(100vh - 96px); }
  .article-toc.is-collapsed { top: clamp(210px, 42vh, 360px); width: 48px; transform: translateX(10px); }
  body:has(.theme-menu[open]) .article-toc { top: 228px; max-height: calc(100vh - 244px); }
  .journal-filter-row { align-items: flex-start; padding: 9px 10px; overflow: hidden; }
  .journal-filter-row > span { padding: 9px 0 0 2px; }
  .journal-filters { flex: 1 1 auto; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .journal-filters::-webkit-scrollbar { display: none; }
  .journal-filters button { flex: 0 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(dreamwalk-header),
  ::view-transition-new(dreamwalk-header),
  ::view-transition-old(dreamwalk-content),
  ::view-transition-new(dreamwalk-content) { animation-duration: .01ms; }
}

/* Mobile homepage: native one-screen paging avoids scripted touch conflicts. */
@media (max-width: 720px), (hover: none) and (pointer: coarse) {
  html.mobile-home-mode {
    scroll-behavior: auto;
    scroll-padding-top: var(--home-header-h);
    scroll-snap-type: y mandatory;
    overscroll-behavior-y: none;
  }
  .mobile-home-mode .home-page {
    overflow-x: clip;
    background: var(--bg);
  }
  .mobile-home-mode .home-page #main {
    overflow: visible;
  }
  .mobile-home-mode .home-page .home-scene {
    position: relative;
    display: grid;
    height: calc(var(--mobile-home-vh, 100svh) - var(--home-header-h));
    min-height: 0;
    align-content: start;
    padding: clamp(24px, 4.2svh, 42px) 0 clamp(58px, 8svh, 76px);
    overflow: hidden;
    scroll-margin-top: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    isolation: isolate;
  }
  .mobile-home-mode .home-page .home-scene::after {
    position: absolute;
    z-index: 0;
    top: 18px;
    right: 18px;
    color: color-mix(in srgb, var(--teal) 9%, transparent);
    font-size: clamp(5.2rem, 28vw, 7.5rem);
    font-weight: 900;
    line-height: .8;
    letter-spacing: -.08em;
    pointer-events: none;
  }
  .mobile-home-mode .home-page #home::after { content: "01"; }
  .mobile-home-mode .home-page #projects::after { content: "02"; }
  .mobile-home-mode .home-page #timeline::after { content: "03"; }
  .mobile-home-mode .home-page #dreamers::after { content: "04"; }
  .mobile-home-mode .home-page .scene-veil {
    background:
      radial-gradient(circle at 84% 16%, color-mix(in srgb, var(--teal) 14%, transparent), transparent 15rem),
      linear-gradient(150deg, var(--bg), color-mix(in srgb, var(--surface) 88%, var(--bg)) 64%, color-mix(in srgb, var(--teal-soft) 34%, var(--bg)));
  }
  .mobile-home-mode .home-page .home-intro {
    grid-template-columns: 1fr;
    gap: clamp(17px, 3svh, 26px);
    min-height: 0;
  }
  .mobile-home-mode .home-page #home { padding-top: clamp(30px, 6svh, 58px); }
  .mobile-home-mode .home-page .home-intro h1 { font-size: clamp(2.85rem, 13vw, 4.25rem); line-height: .96; }
  .mobile-home-mode .home-page .home-intro h1 span { margin-top: 12px; line-height: 1.08; -webkit-text-stroke-width: .8px; }
  .mobile-home-mode .home-page .eyebrow { margin-bottom: 18px; }
  .mobile-home-mode .home-page .hero-copy { margin-top: 18px; font-size: .94rem; line-height: 1.7; }
  .mobile-home-mode .home-page .home-hero-actions { margin-top: 19px; }
  .mobile-home-mode .home-page .home-brief { min-height: 92px; margin-bottom: 8px; padding: 13px 15px; }
  .mobile-home-mode .home-page .home-brief strong { max-width: 24ch; font-size: .98rem; }
  .mobile-home-mode .home-page .home-brief small { display: none; }
  .mobile-home-mode .home-page .home-pulse { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .mobile-home-mode .home-page .home-pulse a { min-height: 64px; padding: 9px 10px; }
  .mobile-home-mode .home-page .home-pulse span { display: none; }
  .mobile-home-mode .home-page .home-pulse strong { font-size: .9rem; }
  .mobile-home-mode .home-page .home-pulse small { font-size: .62rem; }
  .mobile-home-mode .home-page .section-head { align-items: end; margin-bottom: 13px; }
  .mobile-home-mode .home-page .section-head h2 { font-size: clamp(2rem, 9vw, 2.75rem); }
  .mobile-home-mode .home-page .section-lede { display: none; }
  .mobile-home-mode .home-page .home-project-grid { grid-template-columns: 1fr; gap: 8px; }
  .mobile-home-mode .home-page .home-project { min-height: 112px; padding: 14px 16px; }
  .mobile-home-mode .home-page .home-project h3 { margin: 10px 0 4px; font-size: 1rem; }
  .mobile-home-mode .home-page .home-project:nth-child(n+3) { display: none; }
  .mobile-home-mode .home-page .home-timeline {
    max-height: none;
    padding: 9px 12px 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
  }
  .mobile-home-mode .home-page .home-timeline article { grid-template-columns: 1fr 14px minmax(0, 4.8fr); gap: 8px; }
  .mobile-home-mode .home-page .home-timeline article > div { padding-bottom: 10px; }
  .mobile-home-mode .home-page .home-timeline h3 { font-size: .9rem; line-height: 1.38; }
  .mobile-home-mode .home-page .home-timeline a { font-size: .7rem; line-height: 1.35; }
  .mobile-home-mode .home-page .home-timeline p { display: none; }
  .mobile-home-mode .home-page .home-timeline time { color: var(--text); }
  .mobile-home-mode .home-page .home-timeline article:nth-child(n+5) { display: none; }
  .mobile-home-mode .home-page .home-dreamers { grid-template-columns: 1fr; gap: 8px; }
  .mobile-home-mode .home-page .home-dreamers > a { padding: 12px 13px; }
  .mobile-home-mode .home-page .dreamers-section { padding-bottom: clamp(58px, 8svh, 76px); }
  .mobile-home-mode .home-page .scene-nav {
    top: auto;
    right: 50%;
    bottom: max(12px, env(safe-area-inset-bottom));
    display: flex;
    gap: 12px;
    padding: 8px 12px;
    transform: translateX(50%);
  }
  .mobile-home-mode .home-page .scene-nav button {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }
  .mobile-home-mode .home-page .scene-nav button::before {
    content: "";
    width: 9px;
    height: 9px;
    border: 1px solid color-mix(in srgb, var(--muted) 75%, transparent);
    border-radius: 50%;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    transition: transform .2s, border-color .2s, background .2s, box-shadow .2s;
  }
  .mobile-home-mode .home-page .scene-nav button[aria-current="true"]::before {
    border-color: var(--teal);
    background: var(--teal);
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--teal) 13%, transparent);
    transform: scale(1.12);
  }
  .mobile-home-mode .home-page .scene-nav button span { display: none; }
  .mobile-home-mode .home-page .text-link { min-height: 44px; align-items: center; }
  .mobile-home-mode .home-page #timeline { padding-top: clamp(18px, 3svh, 28px); }
  .mobile-home-mode .home-page #timeline .section-head { margin-bottom: 9px; }
  .mobile-home-mode .home-page .scroll-cue::after { animation: none; }
  .mobile-home-mode .home-page > .site-footer {
    scroll-snap-align: start;
  }
}

@media (max-width: 380px), (max-height: 670px) and (max-width: 720px) {
  .mobile-home-mode .home-page .home-scene { min-height: 0; padding-top: 20px; }
  .mobile-home-mode .home-page #home { padding-top: 24px; }
  .mobile-home-mode .home-page .home-intro h1 { font-size: clamp(2.5rem, 12vw, 3.3rem); }
  .mobile-home-mode .home-page .home-brief { display: none; }
  .mobile-home-mode .home-page .home-project { min-height: 102px; padding-block: 12px; }
}

@media (max-width: 720px) {
  .language-switch,
  .menu-button,
  .theme-menu > summary { min-width: 44px; min-height: 44px; }
  .theme-options button { min-height: 44px; padding-inline: 13px; }
}
.repository-block {
  margin: 1.55rem 0;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.repository-block h3 {
  margin: 0.25rem 0 0.8rem;
}

.repository-list {
  display: grid;
  gap: 0.65rem;
}

.repository-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  border-radius: 16px;
  background: color-mix(in srgb, var(--accent) 6%, var(--surface));
  color: var(--text);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.repository-link:hover,
.repository-link:focus-visible {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 52%, var(--line));
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
}

.repository-link span:first-child {
  min-width: 0;
}

.repository-link strong,
.repository-link small {
  display: block;
}

.repository-link small {
  margin-top: 0.2rem;
  color: var(--muted);
  line-height: 1.45;
}

.repository-link > span:last-child {
  color: var(--accent);
  font-size: 1.05rem;
}

/* Compliance, information pages, and interaction polish · 2026-10-30 */
.page-intro {
  max-width: 760px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.8;
}

.about-layout { display: grid; gap: 28px; }
.about-lead {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid color-mix(in srgb, var(--teal) 28%, var(--line));
  border-radius: 28px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--teal-soft) 72%, var(--surface)), var(--surface));
  box-shadow: 0 22px 70px color-mix(in srgb, var(--ink) 7%, transparent);
}
.about-lead::after {
  content: "DW";
  position: absolute;
  right: -0.04em;
  bottom: -0.28em;
  color: color-mix(in srgb, var(--teal) 8%, transparent);
  font-size: clamp(7rem, 22vw, 16rem);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}
.about-lead > * { position: relative; z-index: 1; }
.about-lead h2 { max-width: 760px; margin: .35rem 0 1.2rem; color: var(--ink); font-size: clamp(1.65rem, 4vw, 3.1rem); line-height: 1.13; }
.about-lead p:not(.section-kicker) { max-width: 790px; color: var(--text); line-height: 1.9; }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.info-card { min-height: 240px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.info-card:hover { border-color: color-mix(in srgb, var(--teal) 42%, var(--line)); transform: translateY(-3px); box-shadow: 0 18px 46px color-mix(in srgb, var(--teal) 9%, transparent); }
.info-card > span { color: var(--teal); font-size: .76rem; font-weight: 850; letter-spacing: .14em; }
.info-card h2 { margin: 1rem 0 .75rem; color: var(--ink); font-size: 1.2rem; }
.info-card p { color: var(--muted); line-height: 1.8; }
.contact-card { background: linear-gradient(145deg, color-mix(in srgb, var(--teal-soft) 52%, var(--surface)), var(--surface)); }
.contact-button { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--teal) 36%, var(--line)); border-radius: 14px; background: var(--surface); color: var(--ink); font-weight: 760; text-decoration: none; overflow-wrap: anywhere; }
.contact-button i { color: var(--teal); font-style: normal; }
.contact-card small { display: block; margin-top: 10px; color: var(--muted); }

.legal-layout { display: grid; grid-template-columns: minmax(210px, 280px) minmax(0, 1fr); gap: clamp(26px, 5vw, 64px); align-items: start; }
.legal-summary { position: sticky; top: 96px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: color-mix(in srgb, var(--surface) 94%, transparent); box-shadow: 0 16px 42px color-mix(in srgb, var(--ink) 5%, transparent); }
.legal-summary > strong { color: var(--ink); font-size: 1.02rem; }
.legal-summary dl { display: grid; gap: 0; margin: 15px 0 0; }
.legal-summary dl div { display: grid; gap: 5px; padding: 13px 0; border-top: 1px solid var(--line); }
.legal-summary dt { color: var(--muted); font-size: .74rem; }
.legal-summary dd { margin: 0; color: var(--ink); font-size: .88rem; font-weight: 680; }
.legal-summary a { color: var(--teal); }
.legal-copy { max-width: none; }
.legal-copy section { scroll-margin-top: 100px; padding: 0 0 30px; margin: 0 0 30px; }
.legal-copy h2 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
.legal-copy p { line-height: 1.9; }
.legal-updated { display: inline-flex; padding: 8px 12px; border-radius: 999px; background: var(--surface-2); color: var(--muted) !important; font-size: .78rem; }

.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 24px 36px; align-items: center; padding: 30px 0 20px; }
.footer-brand { display: grid; gap: 7px; }
.footer-brand strong { color: var(--ink); font-size: 1rem; }
.footer-brand span { max-width: 680px; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 18px; }
.footer-links a, .footer-links > span { color: var(--muted); font-size: .8rem; text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--teal); }
.filing-bar { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }
.filing-bar a { color: var(--muted); text-decoration: none; }
.filing-bar a:hover, .filing-bar a:focus-visible { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.home-page.gsap-home .dreamers-section { padding-bottom: clamp(180px, 24svh, 230px); }

.is-clickable-card { cursor: pointer; }
.is-clickable-card:focus-visible { outline: 3px solid color-mix(in srgb, var(--teal) 52%, transparent); outline-offset: 4px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--teal) 50%, transparent); outline-offset: 3px; }
.back-to-top { position: fixed; z-index: 90; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid color-mix(in srgb, var(--teal) 35%, var(--line)); border-radius: 50%; background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--ink); box-shadow: 0 12px 36px color-mix(in srgb, var(--ink) 18%, transparent); backdrop-filter: blur(16px); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(12px) scale(.92); transition: opacity .2s ease, transform .2s ease, background .2s ease; }
.back-to-top:hover { background: var(--teal-soft); transform: translateY(-2px) scale(1); }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }

@media (max-width: 820px) {
  .info-grid { grid-template-columns: 1fr; }
  .info-card { min-height: 0; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-summary { position: static; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand span { margin-inline: auto; }
  .footer-links { justify-content: center; }
}

@media (max-width: 720px) {
  .site-nav.is-open { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-nav.is-open a:last-child { grid-column: 1 / -1; text-align: center; }
  .about-lead { border-radius: 22px; }
  .info-card { padding: 22px; }
  .footer-grid { padding-top: 24px; }
  .back-to-top { width: 44px; height: 44px; right: 12px; bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  .info-card, .back-to-top, .is-clickable-card { transition: none !important; }
}
