@charset "UTF-8";

:root {
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-ink: #16181d;
  --color-text: #16181d;
  --color-muted: #7b8494;
  --color-accent: #3d5a8a;
  --color-accent-light: #6e87ad;
  --color-accent-ink: #ffffff;
  --color-mist: #e3ebf5;
  --color-mist-bg: #f2f6fb;
  --color-line: #e2e5ea;
  --color-ink-text: #eef1f6;
  --color-ink-muted: #9aa3b2;
  --color-ink-line: #2b3140;

  --font-display: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-num: "Inter", "Zen Kaku Gothic New", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --space: 8px;
  --section-pad: clamp(72px, 12vw, 150px);
  --container: 1120px;
  --container-narrow: 760px;
  --radius: 2px;

  --z-header: 100;
  --z-nav: 200;
  --z-modal: 1000;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.8s;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
  overflow-x: clip;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; }
a:hover { opacity: 0.7; transition: opacity 0.3s; }

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.03em;
}

mark {
  background: linear-gradient(transparent 58%, var(--color-mist) 58%);
  color: inherit;
  padding: 0 0.1em;
}

.u-nobr { white-space: nowrap; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.container--narrow { width: min(var(--container-narrow), 100% - 48px); margin-inline: auto; }

.section { padding-block: var(--section-pad); }
.section--tight { padding-block: calc(var(--section-pad) * 0.5); }
.section--mist { background: var(--color-mist-bg); }
.section--ink { background: var(--color-ink); color: var(--color-ink-text); }

.section-head { margin-bottom: calc(var(--space) * 7); }
.section-head__index {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--color-accent);
  margin-bottom: calc(var(--space) * 2);
}
.section-head__index::after {
  content: ""; height: 1px; width: 56px;
  background: var(--color-accent);
  opacity: 0.4;
}
.section-head__title { font-size: clamp(26px, 4vw, 40px); }
.section-head--ink .section-head__index { color: var(--color-accent-light); }


.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px clamp(20px, 4vw, 48px);
  transition: color 0.4s;
  color: #ffffff;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  opacity: 0; transition: opacity 0.4s;
  background: color-mix(in srgb, #ffffff 90%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--color-line);
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-scrolled { color: var(--color-text); }
.site-header__logo {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700; letter-spacing: 0.06em;
  text-decoration: none;
}
.site-header__logo-ai { color: var(--color-accent-light); }
.site-header.is-scrolled .site-header__logo-ai { color: var(--color-accent); }

.global-nav ul {
  display: flex; align-items: center;
  gap: calc(var(--space) * 4); list-style: none; padding: 0;
}
.global-nav a { text-decoration: none; font-size: 13px; letter-spacing: 0.08em; }
.global-nav__cta {
  border: 1px solid currentColor;
  padding: 8px 20px; border-radius: 999px;
  transition: background 0.3s, color 0.3s;
}
.site-header.is-scrolled .global-nav__cta:hover {
  background: var(--color-accent); border-color: var(--color-accent);
  color: #ffffff; opacity: 1;
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
  position: relative; z-index: calc(var(--z-nav) + 1);
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; margin: 5px auto;
  background: currentColor; transition: transform 0.3s, opacity 0.3s, background 0.3s;
}
.nav-toggle[aria-expanded="true"] span { background: var(--color-text); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .global-nav {
    position: fixed; top: 0; left: 0;
    width: 100vw; height: 100vh; height: 100dvh;
    z-index: var(--z-nav);
    background: var(--color-ink);
    color: var(--color-ink-text);
    display: grid; place-content: center;
    opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
  }
  .global-nav.is-open { opacity: 1; visibility: visible; }
  .global-nav ul { flex-direction: column; text-align: center; gap: calc(var(--space) * 4); }
  .global-nav a { font-size: 18px; }

  html.has-water .global-nav { background: rgba(16, 19, 26, 0.42); }
  html.has-water body:has(.global-nav.is-open) main,
  html.has-water body:has(.global-nav.is-open) .site-footer { visibility: hidden; }

  body:has(.global-nav.is-open) .site-header::before { opacity: 0; }
  body:has(.global-nav.is-open) .site-header { color: var(--color-ink-text); }
  body:has(.global-nav.is-open) .site-header__logo-ai { color: var(--color-accent-light); }
  .nav-toggle[aria-expanded="true"] span { background: var(--color-ink-text); }
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  background:
    radial-gradient(1200px 560px at 72% 12%, rgba(61, 90, 138, 0.30), transparent 72%),
    linear-gradient(180deg, var(--color-ink) 0%, #10131a 62%, var(--color-ink) 100%);
  color: #ffffff;
  overflow: hidden;
}
.hero__type-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 4;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out);
}
.hero__type-canvas.is-gone { opacity: 0; }
.hero__inner { position: relative; z-index: 3; padding-block: 140px 120px; }
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.24em;
  color: var(--color-accent-light);
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px;
}
html.is-js .hero__eyebrow { opacity: 0; }
.hero__eyebrow-sub {
  font-family: var(--font-body);
  letter-spacing: 0.14em;
  color: rgba(238, 241, 246, 0.72);
  padding-left: 14px;
  border-left: 1px solid rgba(110, 135, 173, 0.5);
}
.hero__title {
  margin-top: calc(var(--space) * 4);
  font-size: clamp(44px, 8.5vw, 96px);
  line-height: 1.22;
  letter-spacing: 0.04em;
}
.hero__line { display: block; transition: opacity 0.5s var(--ease-out); }
html.is-type-pending .hero__title .hero__line { opacity: 0; transition: none; }
.hero__lead {
  margin-top: calc(var(--space) * 4);
  max-width: 36em;
  color: rgba(238, 241, 246, 0.78);
  font-size: clamp(15px, 1.8vw, 17px);
}
html.is-js .hero__lead { opacity: 0; }
.hero__actions {
  margin-top: calc(var(--space) * 6);
  display: flex; align-items: center; flex-wrap: wrap;
  gap: calc(var(--space) * 4);
}
html.is-js .hero__actions { opacity: 0; }
.hero__sub-link {
  font-size: 14px; letter-spacing: 0.08em;
  text-decoration: none;
  color: rgba(238, 241, 246, 0.85);
  background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 100% 1px;
  padding-bottom: 4px;
}
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.3em;
  color: rgba(238, 241, 246, 0.55);
  display: grid; justify-items: center; gap: 10px;
}
html.is-js .hero__scroll { opacity: 0; }
.is-loaded .hero__scroll { animation: heroFade 1.2s var(--ease-out) 1.4s forwards; }
.hero__scroll span {
  display: block; width: 1px; height: 44px;
  background: linear-gradient(rgba(238,241,246,0), rgba(238,241,246,0.7));
  animation: scrollPulse 2.2s ease-in-out infinite;
}

.is-loaded .hero__eyebrow  { animation: heroUp 0.9s var(--ease-out) 0.15s forwards; }
.is-loaded .hero__lead     { animation: heroUp 0.9s var(--ease-out) 0.62s forwards; }
.is-loaded .hero__actions  { animation: heroUp 0.9s var(--ease-out) 0.78s forwards; }

@keyframes heroUp   { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.2); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

.button {
  display: inline-block;
  padding: 16px 44px;
  background: var(--color-accent); color: var(--color-accent-ink);
  border: 1px solid var(--color-accent); border-radius: var(--radius);
  font-size: 15px; letter-spacing: 0.08em; text-decoration: none;
  cursor: pointer; transition: background 0.3s, color 0.3s;
}
.button:hover { background: transparent; color: var(--color-accent); opacity: 1; }
.button--light {
  background: #ffffff; color: var(--color-ink); border-color: #ffffff;
}
.button--light:hover { background: transparent; color: #ffffff; }
.button--ghost {
  background: transparent; color: var(--color-accent);
}
.button--ghost:hover { background: var(--color-accent); color: #ffffff; opacity: 1; }

.empathy__title {
  font-size: clamp(26px, 4.2vw, 40px);
  line-height: 1.6;
  margin-bottom: calc(var(--space) * 7);
}
.empathy__list { list-style: none; padding: 0; }
.empathy__list li {
  position: relative;
  border-top: 1px solid var(--color-line);
  padding: 20px 0 20px 30px;
  font-size: 15.5px;
}
.empathy__list li:last-child { border-bottom: 1px solid var(--color-line); }
.empathy__list li::before {
  content: "";
  position: absolute; left: 4px; top: 34px;
  width: 12px; height: 2px;
  background: var(--color-accent);
}
.empathy__close {
  margin-top: calc(var(--space) * 5);
  font-size: 16px;
}

.about__define {
  font-size: clamp(17px, 2.1vw, 21px);
  line-height: 2.1;
  max-width: 44em;
  margin-bottom: calc(var(--space) * 8);
}
.about__split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
}
.about__col { padding: clamp(24px, 4vw, 44px); }
.about__col + .about__col { border-left: 1px solid var(--color-line); }
.about__col--ai {
  background: var(--color-ink);
  color: var(--color-ink-text);
}
.about__col-title {
  font-size: 15px; letter-spacing: 0.1em;
  margin-bottom: calc(var(--space) * 3);
  color: var(--color-muted);
}
.about__col--ai .about__col-title { color: var(--color-accent-light); }
.about__col ul { list-style: none; padding: 0; }
.about__col li {
  border-top: 1px solid var(--color-line);
  padding: 14px 0;
  font-size: 15px;
}
.about__col--ai li { border-top-color: var(--color-ink-line); }
.about__close {
  margin-top: calc(var(--space) * 5);
  font-weight: 500;
  font-size: 16px;
}

.story__body p + p { margin-top: calc(var(--space) * 3); }
.story__quote {
  margin: calc(var(--space) * 8) 0 0;
  padding: calc(var(--space) * 5) 0 0 clamp(24px, 4vw, 40px);
  border-left: 2px solid var(--color-accent);
}
.story__quote blockquote {
  font-size: clamp(21px, 3.2vw, 30px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
}
.story__quote figcaption {
  margin-top: calc(var(--space) * 3);
  font-size: 13px;
  color: var(--color-muted);
}
.story__quote figcaption::before { content: "— "; }
.story__note {
  margin-top: calc(var(--space) * 6);
  font-size: 13px;
  color: var(--color-muted);
}
.story__more {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px;
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: gap 0.3s var(--ease-out);
}
.story__more::after { content: "→"; font-size: 14px; }
.story__more:hover { opacity: 1; gap: 16px; }

.stats {
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  padding-block: clamp(48px, 7vw, 80px);
}
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 4vw, 48px);
}
.stats__item dt {
  font-size: 12px; letter-spacing: 0.14em;
  color: var(--color-muted);
  margin-bottom: 6px;
}
.stats__item dd { display: flex; align-items: baseline; gap: 4px; }
.stats__num {
  font-family: var(--font-num);
  font-weight: 600;
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.stats__unit { font-size: 14px; color: var(--color-muted); }
.stats__about { font-size: 14px; color: var(--color-muted); }
.stats__text {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-accent);
}
.stats__note {
  margin-top: calc(var(--space) * 4);
  font-size: 15px;
  color: var(--color-text);
}

.seminar-list { border-top: 1px solid var(--color-line); }
.seminar {
  display: grid; grid-template-columns: 140px 1fr;
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--color-line);
}
.chip {
  display: inline-block;
  font-size: 12px; letter-spacing: 0.12em;
  padding: 5px 14px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  color: var(--color-muted);
  background: var(--color-surface);
  white-space: nowrap;
}
.chip--active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
}
.seminar__title { font-size: clamp(19px, 2.4vw, 24px); }
.seminar__desc {
  margin-top: calc(var(--space) * 2);
  max-width: 44em;
  font-size: 15px;
}
.seminar__meta {
  margin-top: calc(var(--space) * 3);
  display: flex; flex-wrap: wrap;
  gap: calc(var(--space) * 4);
}
.seminar__meta > div { display: flex; align-items: baseline; gap: 10px; }
.seminar__meta dt {
  font-size: 12px; color: var(--color-muted); letter-spacing: 0.1em;
}
.seminar__meta dd { font-size: 14px; font-weight: 500; }
.seminar__cta {
  margin-top: calc(var(--space) * 3);
  font-size: 14px;
  color: var(--color-accent);
}
.seminar__entry { margin-top: calc(var(--space) * 4); }
.seminar__note {
  margin-top: calc(var(--space) * 2);
  font-size: 13px;
  line-height: 1.85;
  color: var(--color-muted);
}
.seminar-list__note {
  margin-top: calc(var(--space) * 4);
  font-size: 13px;
  color: var(--color-muted);
}

.curriculum__lead { max-width: 40em; margin-bottom: calc(var(--space) * 7); }
.level-rail {
  list-style: none; padding: 0;
  position: relative;
}
.level-rail::before {
  content: "";
  position: absolute; left: 27px; top: 10px; bottom: 10px;
  width: 1px;
  background: #c6d3e6;
}
.level {
  position: relative;
  display: grid; grid-template-columns: 56px 1fr;
  gap: clamp(16px, 3vw, 32px);
  padding: 20px 0;
}
.level__id {
  position: relative; z-index: 1;
  width: 56px; height: 56px;
  display: grid; place-content: center;
  font-family: var(--font-mono);
  font-size: 14px; letter-spacing: 0.05em;
  color: var(--color-accent);
  background: var(--color-bg);
  border: 1px solid var(--color-accent-light);
  border-radius: 50%;
}
.section--mist .level__id { background: var(--color-mist-bg); }
.level--main .level__id {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
}
.level__body { padding-top: 6px; }
.level__title {
  font-size: 17px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
}
.level__tag {
  font-size: 11px; letter-spacing: 0.12em; font-weight: 500;
  color: #ffffff; background: var(--color-accent);
  padding: 3px 12px; border-radius: 999px;
}
.level__tag--sub {
  color: var(--color-accent); background: transparent;
  border: 1px solid var(--color-accent-light);
}
.level__goal {
  margin-top: 4px;
  font-size: 14px;
  color: var(--color-muted);
}

.cred__lead { margin-bottom: calc(var(--space) * 6); }
.cred-list { list-style: none; padding: 0; display: grid; gap: 16px; }
.cred {
  position: relative;
  display: grid; grid-template-columns: 92px 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  padding: clamp(20px, 3vw, 30px) clamp(20px, 3.5vw, 36px);
}
.cred::after {
  content: "";
  position: absolute; inset: 5px;
  border: 1px solid rgba(61, 90, 138, 0.14);
  pointer-events: none;
}
.cred__date {
  font-family: var(--font-num);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-accent);
  letter-spacing: 0.04em;
}
.cred__name { font-size: clamp(15px, 1.9vw, 17px); line-height: 1.6; }
.cred__org {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--color-muted);
}
.cred__badge { width: 84px; height: 84px; }
.cred__heading {
  margin-top: calc(var(--space) * 7);
  margin-bottom: calc(var(--space) * 3);
  font-size: 13px; letter-spacing: 0.14em;
  color: var(--color-muted);
}
.cred__note {
  margin-top: calc(var(--space) * 3);
  font-size: 12px;
  color: var(--color-muted);
}
.profile {
  margin-top: calc(var(--space) * 8);
  border-top: 1px solid var(--color-line);
  padding-top: calc(var(--space) * 5);
}
.profile__name {
  font-size: 18px; font-weight: 700;
  display: flex; align-items: baseline; gap: 16px;
}
.profile__name-en {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.22em;
  color: var(--color-muted);
  font-weight: 400;
}
.profile__text { margin-top: calc(var(--space) * 2); font-size: 15px; }

.voices {
  border: 1px solid var(--color-line);
  background: var(--color-mist-bg);
  padding: clamp(28px, 4vw, 44px);
}
.voices__title {
  font-size: 18px;
  display: flex; align-items: center; gap: 14px;
  margin-bottom: calc(var(--space) * 2);
}
.voices__text { font-size: 14px; color: var(--color-muted); }
.voices__list {
  list-style: none; padding: 0;
  margin-top: calc(var(--space) * 4);
  display: grid; gap: calc(var(--space) * 3);
}
.voice { padding-left: clamp(16px, 2.4vw, 22px); border-left: 2px solid var(--color-accent-light); }
.voice__quote { font-size: 15px; line-height: 1.95; }
.voices__note {
  margin-top: calc(var(--space) * 4);
  font-size: 12.5px; color: var(--color-muted);
}

.section--ink .section-head__title { color: #ffffff; }
.making__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.making__text p + p { margin-top: calc(var(--space) * 3); }
.making__text { font-size: 15.5px; }
.making__roles {
  margin-top: calc(var(--space) * 5);
  display: grid; gap: 0;
  border-top: 1px solid var(--color-ink-line);
}
.making__roles > div {
  display: grid; grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-ink-line);
}
.making__roles dt {
  font-size: 12px; letter-spacing: 0.12em;
  color: var(--color-accent-light);
  padding-top: 3px;
}
.making__roles dd { font-size: 14.5px; }
.making__note {
  margin-top: calc(var(--space) * 4);
  font-size: 13px;
  color: var(--color-ink-muted);
}

.terminal {
  background: #101319;
  border: 1px solid var(--color-ink-line);
  border-radius: 8px;
  overflow: hidden;
}
.terminal__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-ink-line);
}
.terminal__bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #343b4a;
}
.terminal__bar em {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11px; letter-spacing: 0.14em;
  color: var(--color-ink-muted);
}
.terminal__screen {
  margin: 0;
  padding: 22px 24px 26px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 2.1;
  color: #c7d0dd;
  min-height: 250px;
  overflow-x: auto;
}
.terminal__line { display: block; white-space: pre-wrap; }
.terminal__line.is-hidden { visibility: hidden; }
.terminal__prompt { color: var(--color-accent-light); }
.terminal__line--done { color: #ffffff; font-weight: 600; }
.terminal__caret {
  display: inline-block;
  width: 8px; height: 1em;
  vertical-align: text-bottom;
  background: #c7d0dd;
  margin-left: 2px;
  animation: caretBlink 0.9s steps(1) infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }

.faq-list { border-top: 1px solid var(--color-line); }
.faq { border-bottom: 1px solid var(--color-line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 22px 48px 22px 0;
  font-size: 16px;
  font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute; right: 8px; top: 50%;
  width: 14px; height: 1.5px;
  background: var(--color-accent);
  transition: transform 0.35s var(--ease-out);
}
.faq summary::after { transform: rotate(90deg); }
.faq[open] summary::after { transform: rotate(0deg); }
.faq p {
  padding: 0 0 24px;
  font-size: 15px;
  color: #4a5160;
  max-width: 42em;
}

.cta-band {
  background: var(--color-mist-bg);
  text-align: center;
}
.cta-band__title { font-size: clamp(24px, 3.6vw, 36px); }
.cta-band__text {
  margin: calc(var(--space) * 3) 0 calc(var(--space) * 5);
  font-size: 15px;
  color: #4a5160;
}
.cta-band__actions {
  display: flex; flex-direction: column; align-items: center;
  gap: calc(var(--space) * 3);
}
.cta-band__sub {
  font-size: 13.5px;
  color: var(--color-muted);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}

.site-footer {
  padding: calc(var(--space) * 9) 0 calc(var(--space) * 5);
  border-top: 1px solid var(--color-line);
  font-size: 13px; color: var(--color-muted);
}
.site-footer__inner {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: calc(var(--space) * 5);
}
.site-footer__brand img { width: 150px; height: auto; }
.site-footer__links {
  list-style: none; padding: 0;
  margin-top: calc(var(--space) * 3);
  display: flex; flex-wrap: wrap; gap: calc(var(--space) * 3);
}
.site-footer__links a { text-decoration: none; }
.site-footer__credit { text-align: right; }
.site-footer__ai { margin-top: 6px; font-size: 11.5px; }
.site-footer__ai code {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  border: 1px solid var(--color-line);
  border-radius: 4px;
  padding: 2px 8px;
  margin-right: 8px;
  color: var(--color-accent);
}

@media (max-width: 900px) {
  .making__grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .about__split { grid-template-columns: 1fr; }
  .about__col + .about__col { border-left: none; border-top: 1px solid var(--color-line); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .seminar { grid-template-columns: 1fr; gap: 14px; }
  .cred { grid-template-columns: 1fr; gap: 10px; }
  .cred__badge { width: 72px; height: 72px; }
  .level-rail::before { left: 21px; }
  .level { grid-template-columns: 44px 1fr; }
  .level__id { width: 44px; height: 44px; font-size: 12px; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; }
  .site-footer__credit { text-align: left; }
  .hero__inner { padding-block: 120px 100px; }
}

.js-reveal {
  transition: opacity var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}
html.is-js .js-reveal { opacity: 0; transform: translateY(24px); }
html.is-js .js-reveal.is-inview { opacity: 1; transform: none; }
.js-reveal[data-delay="1"] { transition-delay: 0.1s; }
.js-reveal[data-delay="2"] { transition-delay: 0.2s; }
.js-reveal[data-delay="3"] { transition-delay: 0.3s; }

.motion-stop {
  display: none;
  position: fixed; right: 16px; bottom: 16px; z-index: var(--z-modal);
  padding: 10px 16px; font-size: 12px;
  background: var(--color-surface); border: 1px solid var(--color-line);
  border-radius: 999px; cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
  .motion-stop { display: block; }
}
html.is-motion-off .js-reveal,
html.is-motion-off *[class] {
  transition-duration: 0.01ms !important;
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
}
html.is-motion-off .js-reveal { opacity: 1; transform: none; }
html.is-motion-off .hero__eyebrow,
html.is-motion-off .hero__title .hero__line,
html.is-motion-off .hero__lead,
html.is-motion-off .hero__actions,
html.is-motion-off .hero__scroll { opacity: 1; }
html.is-motion-off .terminal__line.is-hidden { visibility: visible; }
html.is-motion-off .terminal__caret { display: none; }
html.is-motion-off .hero__type-canvas { opacity: 0; }


.water-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}
html.has-water body { background: var(--color-ink); }
html.has-water body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(150% 96% at 50% 118%,
      #2a3a56 0%, #253146 28%, #212b3d 52%, #1b212b 72%, var(--color-ink) 90%),
    linear-gradient(180deg, var(--color-ink) 0%, rgba(22, 24, 29, 0) 38%);
}
html.has-water .site-header { z-index: var(--z-header); }
html.has-water main,
html.has-water .site-footer { position: relative; z-index: 1; }

html.has-water .section:not(.section--ink):not(.cta-band),
html.has-water .stats { background: var(--color-bg); }
html.has-water .section.section--mist:not(.section--ink) { background: var(--color-mist-bg); }
html.has-water .site-footer { background: var(--color-bg); }

.water-break {
  position: relative;
  height: clamp(260px, 36vh, 420px);
  display: grid; place-content: center;
  overflow: hidden;
}
.water-break__line {
  position: relative; z-index: 2;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(16px, 2.3vw, 24px);
  letter-spacing: 0.16em;
  line-height: 1.7;
  color: rgba(247, 250, 253, 0.97);
  text-align: center;
  padding: 18px clamp(24px, 4vw, 52px);
  text-shadow:
    0 1px 3px rgba(10, 12, 17, 0.95),
    0 2px 22px rgba(10, 12, 17, 0.85);
}
html.no-webgl .water-break,
html:not(.has-water) .water-break {
  background: linear-gradient(180deg, #ffffff 0%, #10131a 24%, #10131a 76%, #ffffff 100%);
}
html.no-webgl .water-break--to-mist,
html:not(.has-water) .water-break--to-mist {
  background: linear-gradient(180deg, #ffffff 0%, #10131a 24%, #10131a 76%, var(--color-mist-bg) 100%);
}
html.no-webgl .water-break__line,
html:not(.has-water) .water-break__line { color: rgba(238, 241, 246, 0.7); }
html.has-water .water-break::before,
html.has-water .water-break::after {
  content: ""; position: absolute; left: 0; right: 0; height: 24%;
  pointer-events: none;
}
html.has-water .water-break::before {
  top: 0;
  background: linear-gradient(180deg,
    rgba(255,255,255,1) 0%, rgba(255,255,255,0.957) 12.5%, rgba(255,255,255,0.844) 25%,
    rgba(255,255,255,0.684) 37.5%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0.316) 62.5%,
    rgba(255,255,255,0.156) 75%, rgba(255,255,255,0.043) 87.5%, rgba(255,255,255,0) 100%);
}
html.has-water .water-break::after {
  bottom: 0;
  background: linear-gradient(0deg,
    rgba(255,255,255,1) 0%, rgba(255,255,255,0.957) 12.5%, rgba(255,255,255,0.844) 25%,
    rgba(255,255,255,0.684) 37.5%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0.316) 62.5%,
    rgba(255,255,255,0.156) 75%, rgba(255,255,255,0.043) 87.5%, rgba(255,255,255,0) 100%);
}
html.has-water .water-break--to-mist::after {
  background: linear-gradient(0deg,
    rgba(242,246,251,1) 0%, rgba(242,246,251,0.957) 12.5%, rgba(242,246,251,0.844) 25%,
    rgba(242,246,251,0.684) 37.5%, rgba(242,246,251,0.5) 50%, rgba(242,246,251,0.316) 62.5%,
    rgba(242,246,251,0.156) 75%, rgba(242,246,251,0.043) 87.5%, rgba(242,246,251,0) 100%);
}
html.has-water .section.cta-band { background: rgba(22, 24, 29, 0.88); color: var(--color-ink-text); }
html.has-water .cta-band__title { color: #ffffff; }
html.has-water .cta-band__text { color: rgba(238, 241, 246, 0.8); }
html.has-water .cta-band .button { background: #ffffff; color: var(--color-ink); border-color: #ffffff; }
html.has-water .cta-band .button:hover { background: transparent; color: #ffffff; }
html.has-water .section--ink { background: rgba(22, 24, 29, 0.9); }
html.has-water .hero { background: transparent; }

.lab-entry {
  position: absolute; bottom: 28px; right: 36px; z-index: 5;
  -webkit-appearance: none; appearance: none;
  background: none; border: 0; padding: 0 0 3px;
  font-family: var(--font-body);
  font-size: 12px; letter-spacing: 0.14em; cursor: pointer;
  color: rgba(238, 241, 246, 0.82);
  border-bottom: 1px solid rgba(110, 135, 173, 0.44);
}
.lab-entry:hover { opacity: 1; color: #ffffff; border-bottom-color: rgba(110, 135, 173, 0.9); }
.lab-entry[hidden] { display: none; }
.lab-panel {
  position: fixed; bottom: 64px; right: 36px; z-index: var(--z-modal);
  width: 252px; max-width: calc(100vw - 32px);
  background: rgba(10, 12, 16, 0.82);
  border: 1px solid rgba(110, 135, 173, 0.28);
  padding: 18px;
  color: var(--color-ink-text);
}
.lab-panel[hidden] { display: none; }
.lab-head { display: flex; justify-content: space-between; align-items: center; }
.lab-title {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.24em;
  color: var(--color-accent-light);
}
.lab-close {
  -webkit-appearance: none; appearance: none;
  background: none; border: 0; padding: 0 2px; line-height: 1;
  font-size: 15px; cursor: pointer; color: rgba(110, 135, 173, 0.85);
}
.lab-close:hover { color: var(--color-accent-light); }
.lab-row { display: block; margin-top: 14px; }
.lab-name {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-body);
  font-size: 11px; letter-spacing: 0.14em; color: var(--color-ink-text);
}
.lab-name i {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.18em; color: rgba(110, 135, 173, 0.7);
}
.lab-panel input[type="range"] {
  -webkit-appearance: none; appearance: none;
  display: block; width: 100%; height: 14px; margin: 8px 0 0;
  background: transparent; cursor: pointer;
}
.lab-panel input[type="range"]::-webkit-slider-runnable-track {
  height: 2px; background: rgba(110, 135, 173, 0.35);
}
.lab-panel input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 10px; height: 10px; border-radius: 50%; border: 0;
  background: #ffffff; margin-top: -4px;
}
.lab-panel input[type="range"]::-moz-range-track {
  height: 2px; background: rgba(110, 135, 173, 0.35);
}
.lab-panel input[type="range"]::-moz-range-thumb {
  width: 10px; height: 10px; border-radius: 50%; border: 0;
  background: #ffffff;
}
.lab-chips { display: flex; gap: 12px; margin-top: 10px; }
.lab-chip {
  -webkit-appearance: none; appearance: none;
  background: none; border: 0; padding: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  font-family: var(--font-body);
  font-size: 10px; letter-spacing: 0.1em; color: rgba(154, 163, 178, 0.95);
}
.lab-chip .lab-dot {
  width: 16px; height: 16px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.30);
}
.lab-chip[aria-pressed="true"] { color: var(--color-ink-text); }
.lab-chip[aria-pressed="true"] .lab-dot {
  box-shadow: 0 0 0 2px rgba(10, 12, 16, 1), 0 0 0 3px var(--color-accent-light);
}
.lab-dot--ai { background: #4a72b8; }
.lab-dot--gin { background: #dfe5ee; }
.lab-dot--seiji { background: #a8e8c8; }
.lab-dot--sakura { background: #f0bfe2; }
.lab-actions { display: flex; gap: 12px; align-items: center; margin-top: 18px; }
.recut {
  -webkit-appearance: none; appearance: none;
  background: none; padding: 9px 10px; flex: 1;
  border: 1px solid rgba(110, 135, 173, 0.4);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 11px; letter-spacing: 0.14em; cursor: pointer;
  color: rgba(238, 241, 246, 0.9);
}
.recut:hover { opacity: 1; color: #ffffff; border-color: rgba(110, 135, 173, 0.85); }
.recut[hidden] { display: none; }
.lab-reset {
  -webkit-appearance: none; appearance: none;
  background: none; border: 0; padding: 0 0 2px; white-space: nowrap;
  font-family: var(--font-body);
  font-size: 11px; letter-spacing: 0.12em; cursor: pointer;
  color: rgba(154, 163, 178, 0.9);
  border-bottom: 1px solid rgba(110, 135, 173, 0.35);
}
.lab-reset:hover { opacity: 1; color: var(--color-ink-text); border-bottom-color: rgba(110, 135, 173, 0.85); }
html.no-webgl .lab-entry,
html.no-webgl .lab-panel,
html.webgl-lost .lab-entry,
html.webgl-lost .lab-panel,
html:not(.has-water) .lab-entry,
html:not(.has-water) .lab-panel { display: none; }
@media (max-width: 767px) {
  .lab-entry { font-size: 11px; bottom: 22px; right: 16px; }
  .lab-panel { right: 16px; bottom: 56px; width: 240px; }
}

[data-decode] { min-height: 1em; }
[data-decode].is-decoding {
  color: var(--color-accent);
  font-feature-settings: "palt" 0;
}
.section-head--ink [data-decode].is-decoding { color: var(--color-accent-light); }

.story__quote blockquote { line-break: strict; }
.quote__line { display: block; text-wrap: balance; }
.quote__line .ch {
  display: inline;
  color: rgba(22, 24, 29, 0.16);
  transition: color 0.42s var(--ease-out);
}
.quote__line .ch.is-lit { color: var(--color-text); }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

html.is-qa .hero { min-height: 780px; }
html.is-qa *[class] {
  animation-duration: 0.01ms !important;
  animation-delay: 0s !important;
  animation-iteration-count: 1 !important;
}

.dayband { position: relative; margin-top: calc(var(--space) * 6); }
.dayband__stage { position: relative; padding-top: 44px; }
.dayband__track {
  display: grid; grid-template-columns: 74fr 26fr;
  height: 136px;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
}
.dayband__open {
  display: flex; align-items: flex-end; gap: 3px;
  padding: 8px;
}
.dayband__block {
  flex: var(--w) 1 0; height: 100%;
  background: linear-gradient(180deg, #6e87ad 0%, var(--color-accent) 100%);
  transform-origin: 50% 100%;
}
.dayband__after {
  border-left: 1px dashed var(--color-accent-light);
  background: repeating-linear-gradient(135deg, transparent 0 7px, rgba(61, 90, 138, 0.06) 7px 8px);
}
.dayband__chip {
  position: absolute; left: 0; top: 0; z-index: 2;
  font-size: 11px; line-height: 1.5; letter-spacing: 0.04em; white-space: nowrap;
  padding: 3px 7px;
  color: var(--color-text); background: #ffffff;
  border: 1px solid var(--color-accent-light);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(22, 24, 29, 0.08);
  will-change: transform;
}
.dayband.is-done .dayband__chip { border-color: var(--color-accent); }
.dayband__labels {
  display: grid; grid-template-columns: auto 1fr auto 26%;
  margin-top: 8px;
  font-size: 11.5px; letter-spacing: 0.1em; color: var(--color-muted);
}
.dayband__labels span:nth-child(2) { text-align: center; }
.dayband__labels span:nth-child(3) { text-align: right; padding-right: 6px; }
.dayband__labels span:nth-child(4) { text-align: center; color: var(--color-accent); }
html:not(.is-js) .dayband__chip { display: none; }

.water-break.water-scene {
  place-content: normal;
  height: 210vh;
  display: block;
  overflow: clip;
}
html.has-water .water-break.water-scene::before,
html.has-water .water-break.water-scene::after { height: 34vh; }
.water-scene__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: grid; place-content: center; justify-items: center;
}
.water-scene__line { display: grid; }
.water-scene__before, .water-scene__after {
  grid-area: 1 / 1;
  transition: opacity 0.7s var(--ease-out), filter 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.water-scene__before { opacity: 0.92; }
.water-scene__after { opacity: 0; filter: blur(6px); transform: translateY(8px); }
.water-scene.is-cut .water-scene__before { opacity: 0; filter: blur(6px); transform: translateY(-8px); }
.water-scene.is-cut .water-scene__after { opacity: 1; filter: none; transform: none; }
.water-scene__hint {
  position: absolute; bottom: 22%; left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: 0.2em; color: rgba(223, 232, 246, 0.7);
  transition: opacity 0.5s;
}
.water-scene.is-cut .water-scene__hint { opacity: 0; }
html:not(.has-water) .water-scene__hint,
html.webgl-lost .water-scene__hint { display: none; }

.about__split { position: relative; }
.sort-tray {
  position: absolute; inset: 0; z-index: 2;
  list-style: none; margin: 0; padding: clamp(20px, 4vw, 40px);
  display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 10px;
  background: rgba(242, 246, 251, 0.94);
}
.sort-tray[hidden] { display: none; }
.sort-tray li.is-chip {
  border: 1px solid var(--color-line);
  background: #ffffff; color: var(--color-text);
  padding: 10px 14px; font-size: 14px; line-height: 1.6;
  box-shadow: 0 3px 12px rgba(22, 24, 29, 0.07);
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
}
.sort-pick { display: flex; gap: 6px; }
.sort-pick button {
  font: inherit; font-size: 12px; letter-spacing: 0.06em; cursor: pointer;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--color-accent-light); background: #ffffff; color: var(--color-accent);
}
.sort-pick button:last-child { background: var(--color-ink); border-color: var(--color-ink); color: #ffffff; }
.about__col li.is-diff { position: relative; padding-left: 18px; }
.about__col li.is-diff::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
  background: var(--color-accent-light);
  box-shadow: 0 0 0 4px rgba(110, 135, 173, 0.2);
}
.sort-ctrl { margin-top: calc(var(--space) * 3); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.sort-ctrl[hidden] { display: none; }
.sort-btn {
  font: inherit; font-size: 13.5px; letter-spacing: 0.06em; cursor: pointer;
  padding: 9px 18px; border: 1px solid var(--color-accent); color: var(--color-accent); background: transparent;
}
.sort-btn--fill { background: var(--color-accent); color: #ffffff; }
.sort-btn[hidden] { display: none; }
.sort-note { font-size: 13.5px; color: var(--color-muted); }

.depth { position: relative; }
.depth__cap {
  display: flex; align-items: baseline; gap: 12px;
  font-size: 13px; color: var(--color-muted); letter-spacing: 0.06em;
}
.depth__cap span {
  font-size: 11px; letter-spacing: 0.16em; font-weight: 700; color: var(--color-accent);
  width: 56px; text-align: center; flex: none;
}
.depth__cap--top { margin-bottom: 10px; }
.depth__cap--bottom { margin-top: 10px; transition: color 0.6s; }
.depth.is-deep .depth__cap--bottom { color: var(--color-text); font-weight: 500; }
.depth__body { position: relative; --depth-y: 0px; --depth: 0; }
.depth__body .level-rail::before { background: #d5deeb; }
.depth__body .level-rail::after {
  content: ""; position: absolute; left: 26px; top: 10px; z-index: 0;
  width: 3px; height: max(0px, calc(var(--depth-y) - 10px));
  border-radius: 2px;
  background: linear-gradient(180deg, #9fb4d4 0%, #3d5a8a 55%, #1c2b47 100%);
}
.depth__dot {
  position: absolute; left: 22px; top: calc(var(--depth-y) - 6px); z-index: 2;
  width: 12px; height: 12px; border-radius: 50%;
  background: #ffffff; border: 2px solid var(--color-accent);
  box-shadow: 0 0 0 6px rgba(61, 90, 138, 0.14);
  pointer-events: none;
}
html:not(.is-js) .depth__dot { display: none; }
.depth .level__id { transition: background-color 0.5s, color 0.5s, border-color 0.5s; }
.depth .level.is-reached .level__id { color: #ffffff; border-color: transparent; }
.depth .level.is-reached:nth-child(1) .level__id { background: #7d93b8; }
.depth .level.is-reached:nth-child(2) .level__id { background: #6079a3; }
.depth .level.is-reached:nth-child(3) .level__id { background: #3d5a8a; }
.depth .level.is-reached:nth-child(4) .level__id { background: #33507f; }
.depth .level.is-reached:nth-child(5) .level__id { background: #2a4169; }
.depth .level.is-reached:nth-child(6) .level__id { background: #1c2b47; }
.depth .level.is-parallel .level__id { border: 1px dashed var(--color-accent); color: var(--color-accent); }
.depth .level.is-parallel .level__tag--sub { background: var(--color-mist); }

.terminal { position: relative; }
.terminal__line--log { color: rgba(238, 241, 246, 0.86); }
.terminal__date {
  display: inline-block; min-width: 3.4em;
  font-family: var(--font-num); font-weight: 600;
  color: var(--color-accent-light);
}

.lab-share { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(110, 135, 173, 0.28); }
.lab-share__btn {
  font: inherit; font-size: 12.5px; letter-spacing: 0.06em; cursor: pointer;
  width: 100%; padding: 9px 12px;
  color: #ffffff; background: rgba(61, 90, 138, 0.9); border: 1px solid rgba(110, 135, 173, 0.9);
}
.lab-share__btn:hover { background: var(--color-accent); }
.lab-share__note { margin-top: 8px; font-size: 11.5px; line-height: 1.7; color: rgba(223, 232, 246, 0.85); overflow-wrap: anywhere; }
.lab-share__note:empty { display: none; }
.shared-toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  z-index: var(--z-modal);
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center;
  padding: 10px 16px; max-width: calc(100vw - 32px);
  font-size: 13px; color: #eef1f6;
  background: rgba(22, 24, 29, 0.88); border: 1px solid rgba(110, 135, 173, 0.6);
}
.shared-toast[hidden] { display: none; }
@media (min-width: 768px) {
  .shared-toast { left: 16px; transform: none; justify-content: flex-start; }
}
.shared-toast button {
  font: inherit; font-size: 12px; cursor: pointer;
  padding: 4px 10px; color: #ffffff; background: transparent; border: 1px solid rgba(223, 232, 246, 0.6);
}

@media (max-width: 767px) {
  .dayband__track { height: 150px; }
  .dayband__chip { font-size: 10.5px; padding: 3px 5px; }
}
