:root {
  --ink: #142d49;
  --blue: #176c9d;
  --sky: #2daee0;
  --mist: #edf7fb;
  --paper: #fafdff;
  --accent: #136ca4;
  --accent-hover: #0d527e;
  --accent-soft: #e1f1fc;
  --muted: #577185;
  --line: #d5e5f0;
  --page: clamp(24px, 6.2vw, 104px);
  --latin:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue",
    Helvetica, Arial;
  --chinese:
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC",
    "Noto Sans SC";
  --japanese:
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo,
    "Noto Sans CJK JP", "Noto Sans JP";
  --body: var(--latin), var(--chinese), sans-serif;
  --display:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue",
    Helvetica, Arial, var(--chinese), sans-serif;
  color-scheme: light;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
:lang(ja) {
  font-family: var(--latin), var(--japanese), sans-serif;
  line-break: strict;
}
:lang(en) {
  font-family: var(--latin), sans-serif;
}
html:lang(ja) {
  --body: var(--latin), var(--japanese), sans-serif;
  --display: var(--latin), var(--japanese), sans-serif;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}
body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #007aa5;
  outline-offset: 5px;
}
select:focus-visible {
  outline: 3px solid #007aa5;
  outline-offset: 3px;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
svg {
  display: block;
}
.wrap {
  width: min(100% - var(--page) * 2, 1280px);
  margin-inline: auto;
}
.section {
  padding-block: 112px;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: 16px;
}
.skip-link:focus {
  top: 12px;
}
.header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--page);
  border-bottom: 0;
  background: var(--paper);
  gap: 30px;
}
.header.is-scrolled {
  position: fixed;
  background: var(--paper);
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}
.brand img {
  width: 108px;
  height: 46px;
  object-fit: contain;
}
.brand .brand-mark {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  mix-blend-mode: multiply;
}
.brand > span {
  font-size: 13px;
  letter-spacing: 0.04em;
  padding-top: 6px;
  font-weight: 600;
}
.nav {
  display: flex;
  gap: 44px;
  height: 100%;
  align-items: stretch;
}
.nav a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 600;
  min-height: 44px;
  white-space: nowrap;
}
.nav a:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.nav a:hover:after,
.nav a.is-current:after {
  transform: scaleX(1);
}
.nav a.is-current {
  color: var(--blue);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.language-control select {
  min-height: 44px;
  width: 96px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font: 600 13px var(--body);
  cursor: pointer;
}
.language-fallback {
  display: flex;
  gap: 4px;
}
.language-fallback a {
  display: grid;
  place-items: center;
  min-width: 26px;
  min-height: 44px;
  font-size: 13px;
}
.hf-link {
  font-size: 16px;
  white-space: nowrap;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 10px;
}
.menu-toggle span {
  height: 2px;
  background: var(--ink);
  display: block;
  margin: 6px 0;
  transition: transform 0.2s;
}
.hero {
  display: flex;
  flex-direction: column;
  gap: 48px;
  min-height: clamp(720px, 100svh, 940px);
  padding-bottom: 32px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #d8effb;
}
.hero-art {
  position: absolute;
  inset: 90px -2% -2%;
  z-index: -4;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% top;
}
.hero-wash {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, #ffffffa6 0%, #ffffff59 32%, #ffffff00 62%),
    linear-gradient(0deg, #ffffff99, #ffffff00 22%);
}
#sky-particles {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-content {
  position: relative;
  flex-shrink: 0;
  padding-top: clamp(175px, 25vh, 245px);
  margin-left: var(--page);
  max-width: 650px;
  width: 47%;
}
h1 {
  font-size: clamp(58px, 5.2vw, 84px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.035em;
  margin-top: 0;
  text-wrap: balance;
  font-family: var(--display);
}
html:lang(en) h1 {
  font-size: clamp(42px, 4.6vw, 76px);
  line-height: 1.18;
}
.hero-jp {
  font-size: 16px;
  letter-spacing: 0.08em;
  margin-top: 21px;
  font-weight: 600;
}
.hero-description {
  font-size: 18px;
  line-height: 1.8;
  color: var(--ink);
  margin-top: 28px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-top: 35px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 48px;
  padding: 15px 24px;
  font-size: 16px;
  font-weight: 600;
  border: 0;
  border-radius: 6px;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
  white-space: nowrap;
}
.button > span {
  font-size: 20px;
  line-height: 1;
}
.button.primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.button.primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 16px;
  padding: 14px 0;
  border-bottom: 0;
  font-weight: 600;
  min-height: 48px;
}
.text-link:hover {
  color: var(--blue);
  border-color: var(--blue);
}
.hero-bottom {
  /* Keep the scroll cue below the CTAs when the viewport is short or text grows. */
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: auto;
  margin-inline: var(--page);
  justify-content: space-between;
  align-items: center;
}
.scroll-cue {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--body);
  font-size: 13px;
  letter-spacing: 0;
}
.scroll-track {
  height: 36px;
  width: 1px;
  background: #9bb8ca;
  position: relative;
  overflow: hidden;
}
.scroll-track:after {
  content: "";
  position: absolute;
  top: -40%;
  height: 40%;
  background: var(--ink);
  width: 1px;
  animation: scroll-tick 2s ease-in-out infinite;
}
.news-strip {
  display: flex;
  align-items: center;
  gap: 34px;
  min-height: 86px;
  border-bottom: 0;
}
.news-label {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
  font-family: var(--body);
  font-size: 13px;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--blue);
}
.news-strip > a {
  display: flex;
  gap: 25px;
  align-items: center;
  flex: 1;
  font-size: 16px;
  padding-block: 24px;
  line-height: 1.5;
  font-weight: 600;
}
.news-strip > a:hover {
  color: var(--blue);
}
.news-date {
  font-family: var(--body);
  color: var(--muted);
  font-size: 13px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.news-arrow {
  margin-left: auto;
  font-size: 20px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 43px;
}
.section-heading > .text-link {
  flex-shrink: 0;
}
h2 {
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.025em;
  text-wrap: balance;
  font-family: var(--display);
}
.demo-showcase {
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.demo-heading {
  max-width: 700px;
  margin-bottom: 32px;
}
.demo-heading h3 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.3;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}
.demo-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}
.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 32px;
}
.demo-film {
  min-width: 0;
}
.demo-player {
  position: relative;
}
.demo-start {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: white;
}
.demo-start[hidden] {
  display: none;
}
.demo-start svg {
  width: 64px;
  height: 64px;
  padding: 20px;
  border: 1px solid #ffffffa3;
  border-radius: 50%;
  background: #142d49d9;
  transition: background 160ms;
}
.demo-start:hover svg {
  background: var(--accent);
}
.demo-film video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--ink);
  border-radius: 6px;
}
@media (max-width: 1024px) {
  .demo-grid { grid-template-columns: minmax(0, 1fr); }
  .demo-film video { touch-action: manipulation; }
}
.demo-film video:focus-visible,
.demo-credits summary:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 5px;
}
.demo-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}
.demo-meta > :last-child {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.demo-film h4 {
  margin: 8px 0 10px;
  font-size: clamp(22px, 2vw, 27px);
  line-height: 1.45;
  font-weight: 700;
  text-wrap: balance;
}
.demo-film > p {
  margin: 0;
  line-height: 1.8;
}
.demo-film .demo-status {
  color: #a33535;
  margin-top: 12px;
}
.demo-status:empty {
  display: none;
}
.demo-file {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 8px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.demo-file:hover {
  color: var(--accent-hover);
}
.demo-credits {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.demo-credits summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
}
.demo-credits p {
  margin: 0 0 12px;
  max-width: 900px;
}
.demo-credits a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 700px) {
  .demo-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .demo-showcase {
    margin-top: 52px;
    padding-top: 32px;
  }
  .work > .section-heading {
    flex-wrap: wrap;
    gap: 12px;
  }
}
.project-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #152e4b;
  position: relative;
  overflow: hidden;
  color: #fff;
  border-radius: 8px;
}
.project-copy {
  padding: 55px 50px 64px;
  align-self: center;
  position: relative;
}
.project-copy h3 {
  font-size: clamp(36px, 3.2vw, 46px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.3;
  margin-top: 0;
  font-family: var(--display);
}
.project-lead {
  font-size: 24px;
  letter-spacing: 0.05em;
  margin-top: 9px;
}
.project-description {
  font-size: 16px;
  line-height: 2;
  color: #d6e6f2;
  margin-top: 23px;
  margin-bottom: 32px;
}
.button.light {
  background: #f5fbff;
  color: var(--ink);
}
.button.light:hover {
  background: #a2e8f6;
}
.model-link {
  font-size: 16px;
  display: inline-flex;
  gap: 10px;
  margin-left: 19px;
  padding: 15px 0;
  color: #d2e5f0;
  font-weight: 600;
  min-height: 48px;
}
.model-link:hover {
  color: #8dd9f2;
}
.voice-lab {
  margin: 35px 35px 35px 0;
  background: #f6fbfe;
  color: var(--ink);
  border: 0;
  border-radius: 12px;
}
.lab-top {
  font-family: var(--body);
  font-size: 16px;
  letter-spacing: 0;
  display: flex;
  gap: 8px;
  align-items: center;
  border-bottom: 0;
  padding: 18px 24px;
  color: #4e6d80;
  font-weight: 600;
  border-top: 0;
}
.lab-version {
  margin-left: auto;
  border: 0;
  padding: 0;
  font-size: 13px;
  border-radius: 6px;
}
.sample-language {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 2px;
}
.emotion-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 21px 24px 0;
  gap: 7px;
}
.emotion-options button {
  border: 1px solid #c9dae6;
  background: transparent;
  padding: 10px 4px;
  font-size: 16px;
  min-height: 44px;
  border-radius: 8px;
  transition:
    background 0.2s,
    border-color 0.2s;
  font-weight: 600;
}
.emotion-options button span {
  font-size: 16px;
  margin-right: 4px;
}
.emotion-options button[aria-pressed="true"] {
  background: #d9f0f7;
  border-color: #65bfdc;
  color: #095875;
}
.emotion-options button:hover {
  border-color: #147da9;
}
.voice-body {
  padding: 25px 26px 7px;
}
.voice-tag {
  font-family: var(--body);
  font-size: 13px;
  color: #237994;
}
.voice-script {
  font-size: 23px;
  line-height: 1.7;
  letter-spacing: 0.025em;
  margin-top: 10px;
  font-weight: 600;
}
.voice-translation {
  font-size: 16px;
  color: var(--muted);
  margin-top: 10px;
}
.voice-translation:empty {
  display: none;
}
.waveform {
  height: 53px;
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 26px 0 18px;
}
.waveform i {
  display: block;
  flex: 1;
  min-width: 1px;
  background: #bfd9e4;
  border-radius: 1px;
  transition: background 0.15s;
}
.waveform i.played {
  background: #1686ae;
}
.wave-fallback {
  height: 1px;
  width: 100%;
  background: #bdd5e1;
}
.playback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 12px;
}
.playback button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border: 0;
  background: transparent;
  font-size: 16px;
  min-height: 44px;
  font-weight: 600;
}
.playback button svg {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  padding: 7px;
  background: #123650;
  fill: #fff;
}
.playback button:hover svg {
  background: var(--blue);
}
#playback-time {
  font-size: 13px;
  font-family: var(--body);
  color: #567589;
  font-variant-numeric: tabular-nums;
}
#audio-seek {
  display: block;
  width: 100%;
  height: 24px;
  accent-color: var(--blue);
  cursor: pointer;
  margin: 8px 0 0;
}
#voice-audio {
  display: none;
}
.audio-status {
  min-height: 20px;
  font-size: 13px;
  color: #984626;
  line-height: 1.5;
  padding-top: 4px;
}
.lab-bottom {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding: 17px 24px;
  border-top: 0;
  font-size: 16px;
  flex-wrap: wrap;
  row-gap: 8px;
  border-bottom: 0;
}
.lab-bottom a:hover {
  color: var(--blue);
}
.project-note {
  font-size: 13px;
  color: var(--muted);
  max-width: 75ch;
  line-height: 1.8;
  margin-top: 16px;
}
.project-note a {
  border-bottom: 1px solid #a4bccb;
}
.noscript-note {
  padding: 15px;
  font-size: 16px;
}
.research {
  background: #edf5fc;
  position: relative;
  overflow: hidden;
}
.research .wrap {
  position: relative;
}
.journal-feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 68px;
  align-items: center;
}
.journal-cover {
  background: #fff;
  padding: 0;
  position: relative;
  border: 0;
  overflow: hidden;
  transition: transform 0.3s;
  border-radius: 0;
}
.journal-cover:hover {
  transform: translateY(-4px);
}
.journal-cover img {
  width: 100%;
  height: auto;
}
.journal-copy h3 {
  font-size: clamp(30px, 2.8vw, 40px);
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: -0.035em;
  font-family: var(--display);
}
.journal-copy h3 a:hover {
  color: var(--blue);
}
.journal-copy > p {
  color: var(--ink);
  font-size: 16px;
  line-height: 2;
  margin: 22px 0 27px;
  max-width: 390px;
}
.button.outline {
  border-color: #8caabf;
  background: #d8eafa;
  border: 0;
}
.button.outline:hover {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.journal-links {
  margin-top: 55px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 0;
  border-bottom: 0;
  gap: 24px;
}
.journal-links > a {
  padding: 12px 0;
  border-right: 0;
  transition: background 0.2s;
  border-bottom: 0;
}
.journal-links > a:first-child {
  padding-left: 0;
}
.journal-links > a:last-child {
  border-right: 0;
}
.journal-links > a:hover {
  background: #e2f0f8;
}
.journal-links strong {
  display: block;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.015em;
  margin: 0 0 12px;
}
.journal-links > a > span:last-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  color: var(--muted);
}
.journal-links b {
  font-size: 20px;
  color: #244961;
  font-weight: 600;
}
.studio {
  display: grid;
  grid-template-columns: minmax(200px, 0.7fr) 1.3fr;
  align-items: center;
  gap: clamp(32px, 6vw, 90px);
  padding-block: 104px;
}
.studio-art {
  position: relative;
  min-height: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
  isolation: isolate;
}
.studio-art img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1.03);
}
.studio-copy h2 {
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.45;
}
.studio-copy > p {
  font-size: 16px;
  max-width: 60ch;
  color: var(--ink);
  line-height: 2;
  margin-top: 26px;
}
.studio-copy > p.studio-small {
  font-size: 16px;
  color: var(--ink);
  margin-top: 17px;
}
.studio-socials {
  display: flex;
  gap: 30px;
  margin-top: 32px;
}
.studio-socials > a {
  font-size: 16px;
  border-bottom: 0;
  padding-bottom: 10px;
  display: flex;
  gap: 32px;
  font-weight: 600;
  min-height: 48px;
}
.studio-socials > a:hover {
  color: var(--blue);
}
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-block: 34px 42px;
  min-height: 110px;
  background: var(--paper);
}
.footer p {
  font-size: 13px;
  color: var(--muted);
}
.footer > div {
  display: flex;
  gap: 25px;
  font-size: 13px;
  align-items: center;
}
.back-top {
  font-family: var(--body);
  font-size: 13px;
}
.footer a:hover {
  color: var(--blue);
}
.motion-toggle {
  position: fixed;
  right: 22px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 40;
  border: 0;
  background: var(--ink);
  padding: 9px 12px;
  min-height: 44px;
  font-size: 13px;
  border-radius: 6px;
  letter-spacing: 0;
  font-weight: 600;
  color: #fff;
}
.motion-bars {
  display: flex;
  gap: 2px;
  align-items: center;
  height: 14px;
}
.motion-bars i {
  width: 2px;
  height: 8px;
  background: currentColor;
  animation: equalizer 1s ease-in-out infinite alternate;
}
.motion-bars i:nth-child(2) {
  height: 13px;
  animation-delay: -0.4s;
}
.motion-bars i:nth-child(3) {
  height: 6px;
  animation-delay: -0.7s;
}
.motion-bars i:nth-child(4) {
  height: 11px;
  animation-delay: -0.2s;
}
.motion-off *,
.motion-off *:before,
.motion-off *:after {
  animation-play-state: paused !important;
}
.motion-off .motion-bars i {
  height: 3px !important;
}
.motion-off {
  scroll-behavior: auto;
}
.motion-off .button,
.motion-off .journal-cover {
  transition: none;
}
@keyframes scroll-tick {
  0% {
    top: -40%;
  }
  100% {
    top: 110%;
  }
}
@keyframes equalizer {
  to {
    height: 3px;
  }
}
@media (min-width: 1600px) {
  .hero-content {
    margin-left: max(var(--page), calc((100% - 1280px) / 2));
  }
}
@media (max-width: 1100px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: auto;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 14px var(--page) 20px;
    gap: 0;
  }
  .nav.is-open {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .nav a {
    padding: 18px;
  }
  .menu-toggle {
    display: block;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }
  .brand > span {
    display: none;
    font-weight: 600;
    letter-spacing: 0.04em;
  }
  .hero-content {
    width: 51%;
  }
  .hero-art img {
    object-position: 61% top;
  }
  .project-copy {
    padding: 38px 30px 65px;
  }
  .voice-lab {
    margin: 26px 26px 26px 0;
    border-radius: 12px;
    border: 0;
  }
  .model-link {
    margin-left: 0;
    display: flex;
    width: max-content;
    font-weight: 600;
    min-height: 48px;
  }
  .journal-feature {
    gap: 38px;
  }
  .studio {
    gap: clamp(32px, 6vw, 90px);
  }
  .section {
    padding-block: 90px;
  }
}
@media (max-width: 800px) {
  :root {
    --page: 28px;
  }
  .header {
    height: 76px;
    gap: 18px;
    border-bottom: 0;
    background: var(--paper);
  }
  .brand {
    gap: 8px;
  }
  .brand .brand-mark {
    width: 42px;
    height: 42px;
  }
  .brand .brand-wordmark {
    width: 84px;
    height: 38px;
  }
  .nav {
    gap: 18px;
  }
  .hero {
    min-height: clamp(720px, 90svh, 940px);
  }
  .hero-content {
    width: 58%;
    padding-top: 190px;
  }
  h1 {
    font-size: 56px;
    font-family: var(--display);
    letter-spacing: -0.035em;
    margin-top: 0;
  }
  .hero-jp {
    font-size: 16px;
    letter-spacing: 0.08em;
    font-weight: 600;
  }
  .hero-art img {
    object-position: 63% top;
  }
  .hero-art {
    top: 76px;
  }
  .hero-cta {
    gap: 18px;
  }
  .hero-description {
    font-size: 18px;
    color: var(--ink);
    line-height: 1.8;
  }
  .section-heading {
    align-items: flex-start;
  }
  .project-panel {
    grid-template-columns: 1fr;
    border-radius: 8px;
    background: #152e4b;
  }
  .project-copy {
    padding: 40px 38px 56px;
  }
  .project-copy h3 {
    font-size: clamp(36px, 3.2vw, 46px);
    margin-top: 0;
    font-family: var(--display);
    font-weight: 700;
  }
  .project-description br {
    display: none;
  }
  .model-link {
    display: inline-flex;
    margin-left: 25px;
    font-weight: 600;
    min-height: 48px;
  }
  .voice-lab {
    margin: 0 30px 30px;
    border-radius: 12px;
    border: 0;
  }
  .voice-script br {
    display: none;
  }
  .voice-script {
    font-size: 24px;
  }
  .journal-feature {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .journal-copy h3 {
    font-size: clamp(30px, 2.8vw, 40px);
    font-family: var(--display);
  }
  .journal-copy > p {
    font-size: 16px;
    color: var(--ink);
  }
  .journal-cover {
    padding: 0;
    border-radius: 0;
    border: 0;
  }
  .journal-links > a {
    padding-inline: 20px;
    border-right: 0;
    border-bottom: 0;
    padding: 12px 0;
  }
  .journal-links strong {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px;
  }
  .studio {
    grid-template-columns: 0.8fr 1fr;
    gap: clamp(32px, 6vw, 90px);
  }
  .studio-art {
    min-height: 240px;
  }
  .studio-art img {
    width: 180px;
    height: 180px;
  }
  .studio-copy h2 {
    font-size: clamp(30px, 3.2vw, 46px);
  }
  .footer {
    flex-wrap: wrap;
    background: var(--paper);
  }
  .footer .brand {
    margin-right: auto;
  }
  .footer > div {
    margin-left: auto;
    align-items: center;
  }
}
@media (max-width: 600px) {
  :root {
    --page: 22px;
  }
  .header,
  .header.is-scrolled {
    height: 70px;
    padding-inline: 22px;
  }
  .brand img {
    width: 93px;
    height: 40px;
  }
  .brand > span {
    display: none;
    font-size: 13px;
    letter-spacing: 0.04em;
    font-weight: 600;
  }
  .header-actions {
    gap: 8px;
  }
  .header .hf-link {
    display: none;
  }
  .language-control select {
    width: 92px;
  }

  .menu-toggle {
    display: block;
  }
  .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    height: auto;
    background: #f7fcff;
    border-bottom: 1px solid var(--line);
    padding: 14px 22px 20px;
    gap: 0;
  }
  .nav.is-open {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .nav a {
    padding: 18px;
    gap: 5px;
    font-weight: 600;
    font-size: 16px;
    min-height: 44px;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }
  .hero {
    gap: 40px;
    min-height: 850px;
    padding-top: 390px;
    padding-bottom: 25px;
    background: #fff;
  }
  .hero-art {
    inset: 70px 0 auto;
    height: 405px;
    width: 100%;
    z-index: -4;
    transform: none !important;
  }
  .hero-art img {
    object-position: 72% top;
    object-fit: cover;
  }
  .hero-wash {
    background: linear-gradient(
      180deg,
      #ffffff00 325px,
      #ffffffb3 420px,
      #ffffff 480px
    );
    z-index: -3;
  }
  .hero-content {
    width: auto;
    max-width: none;
    margin-inline: 22px;
    padding-top: 17px;
  }
  h1 {
    font-size: 47px;
    letter-spacing: -0.035em;
    line-height: 1.26;
    margin-top: 0;
    font-family: var(--display);
  }
  html:lang(en) h1 {
    font-size: clamp(30px, 9.4vw, 47px);
  }
  h1:lang(ja) {
    font-size: clamp(36px, 12vw, 47px);
  }
  .hero-jp {
    font-size: 13px;
    margin-top: 13px;
    letter-spacing: 0.08em;
    font-weight: 600;
  }
  .hero-description {
    font-size: 16px;
    line-height: 1.8;
    margin-top: 19px;
    color: var(--ink);
  }
  .hero-cta {
    margin-top: 24px;
    gap: 18px;
    flex-wrap: wrap;
  }
  .button {
    min-height: 48px;
    padding: 13px 19px;
    font-size: 16px;
    gap: 26px;
    border-radius: 6px;
    border: 0;
  }
  .text-link {
    font-size: 16px;
    gap: 15px;
    font-weight: 600;
    min-height: 48px;
    border-bottom: 0;
  }
  .scroll-cue {
    font-size: 13px;
    gap: 10px;
    letter-spacing: 0;
  }
  .scroll-track {
    height: 27px;
  }
  #sky-particles {
    inset: 70px 0 auto;
    height: 330px;
  }
  .news-strip {
    display: block;
    padding-top: 20px;
    min-height: 110px;
    border-bottom: 0;
  }
  .news-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    letter-spacing: 0;
  }
  .news-strip > a {
    font-size: 13px;
    gap: 11px;
    padding-block: 17px;
    align-items: flex-start;
    font-weight: 600;
  }
  .news-date {
    font-size: 13px;
    padding-top: 3px;
    font-variant-numeric: tabular-nums;
  }
  .news-arrow {
    font-size: 16px;
  }
  .section {
    padding-block: 67px;
  }
  .section-heading {
    margin-bottom: 28px;
    display: block;
  }
  h2 {
    font-size: 30px;
    font-family: var(--display);
    letter-spacing: -0.025em;
  }
  .project-copy {
    padding: 32px 25px 31px;
  }
  .project-copy h3 {
    font-size: clamp(36px, 3.2vw, 46px);
    margin-top: 0;
    font-family: var(--display);
    font-weight: 700;
  }
  .project-lead {
    font-size: 24px;
  }
  .project-description {
    font-size: 16px;
    margin-top: 18px;
    color: #d6e6f2;
    margin-bottom: 32px;
  }
  .model-link {
    font-size: 13px;
    margin-left: 18px;
    font-weight: 600;
    min-height: 48px;
  }
  .voice-lab {
    margin: 0 14px 16px;
    border-radius: 12px;
    border: 0;
  }
  .lab-top {
    padding: 14px 17px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0;
    border-top: 0;
    border-bottom: 0;
  }
  .emotion-options {
    padding: 17px 14px 0;
    gap: 5px;
  }
  html:lang(en) .emotion-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .emotion-options button {
    font-size: 16px;
    padding: 9px 2px;
    font-weight: 600;
    border-radius: 8px;
    min-height: 44px;
  }
  .emotion-options button span {
    font-size: 16px;
    margin-right: 1px;
  }
  .voice-body {
    padding: 21px 19px 8px;
  }
  .voice-script {
    font-size: 16px;
  }
  .voice-script br {
    display: block;
  }
  .waveform {
    gap: 2px;
    margin-block: 24px 13px;
    height: 47px;
  }
  .voice-translation {
    font-size: 16px;
    color: var(--muted);
  }
  .lab-bottom {
    padding: 14px;
    font-size: 16px;
    flex-wrap: wrap;
    row-gap: 8px;
    border-top: 0;
    border-bottom: 0;
    justify-content: flex-end;
  }
  .project-note {
    font-size: 13px;
  }
  .research .section-heading {
    position: relative;
  }
  .research .section-heading > .text-link {
    margin-top: 15px;
    padding-block: 8px;
  }
  .journal-feature {
    display: flex;
    flex-direction: column;
    gap: 31px;
    align-items: stretch;
  }
  .journal-cover {
    padding: 0;
    border-radius: 0;
    border: 0;
  }
  .journal-copy h3 {
    font-size: clamp(30px, 2.8vw, 40px);
    line-height: 1.4;
    font-family: var(--display);
  }
  .journal-copy > p {
    font-size: 16px;
    margin-block: 19px 22px;
    max-width: none;
    color: var(--ink);
  }
  .journal-links {
    grid-template-columns: 1fr;
    margin-top: 36px;
    border-top: 0;
    border-bottom: 0;
    gap: 24px;
  }
  .journal-links > a,
  .journal-links > a:first-child {
    padding: 12px 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 11px;
    border-right: 0;
    border-bottom: 0;
  }
  html:lang(en) .journal-links > a {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .journal-links > a:last-child {
    border-bottom: 0;
  }
  .journal-links strong {
    font-size: 16px;
    margin: 0 0 12px;
    font-weight: 600;
  }
  .journal-links > a > span:last-child {
    gap: 20px;
    font-size: 16px;
    color: var(--muted);
  }
  .journal-links b {
    font-size: 16px;
  }
  .studio {
    display: flex;
    flex-direction: column-reverse;
    gap: clamp(32px, 6vw, 90px);
    align-items: stretch;
  }
  .studio-copy h2 {
    font-size: clamp(30px, 3.2vw, 46px);
  }
  .studio-copy > p {
    font-size: 16px;
    margin-top: 20px;
    color: var(--ink);
  }
  .studio-copy > p.studio-small {
    font-size: 16px;
    margin-top: 15px;
    color: var(--ink);
  }
  .studio-socials {
    gap: 25px;
    margin-top: 26px;
  }
  .studio-socials > a {
    font-size: 13px;
    gap: 25px;
    font-weight: 600;
    min-height: 48px;
    border-bottom: 0;
  }
  .studio-art {
    min-height: 180px;
  }
  .studio-art img {
    width: 180px;
    height: 180px;
  }
  .footer {
    gap: 18px;
    padding-block: 28px 85px;
    background: var(--paper);
  }
  .footer p {
    font-size: 13px;
  }
  .footer > div {
    width: 100%;
    justify-content: space-between;
    margin-top: 8px;
    align-items: center;
  }
  .footer .brand > span {
    display: none;
  }
  .motion-toggle {
    bottom: 15px;
    right: 15px;
    padding: 8px 10px;
    font-size: 13px;
    border-radius: 6px;
    font-weight: 600;
    border: 0;
    background: var(--ink);
    color: #fff;
    min-height: 44px;
    letter-spacing: 0;
  }
}
@media (max-width: 380px) {
  .header .brand > span {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .hero-art {
    transform: none !important;
  }
}
::selection {
  background: #b9def5;
  color: var(--ink);
}
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}
.hf-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.back-top,
.footer > div > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}
.project-note a {
  border: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.button:active {
  transform: translateY(1px);
}
.button:disabled,
button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
@media (hover: hover) {
  .text-link:hover,
  .studio-socials > a:hover,
  .footer a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
  }
}
.lab-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
.footer {
  padding-bottom: 96px;
}
@media (max-width: 380px) {
  .header .brand .brand-wordmark {
    width: 70px;
  }
  .header .brand .brand-mark {
    width: 36px;
    height: 36px;
  }
}
html:lang(ja) .voice-translation {
  display: none;
}

/* Mobile navigation and artwork follow the available viewport height. */
@media (max-width: 1100px) {
  .nav { max-height: calc(100dvh - 100px); overflow-y: auto; overscroll-behavior: contain; }
  .nav a { white-space: normal; text-align: center; }
}
@media (max-width: 800px) {
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  .header { position: fixed; }
  .language-control select { font-size: 16px; }
  .footer > div a { display: inline-flex; align-items: center; min-height: 44px; }
  #audio-seek { min-height: 44px; }
  .button, .text-link, .menu-toggle, .demo-start { touch-action: manipulation; }
}
@media (max-width: 600px) {
  :root { --mobile-art: clamp(210px, 34svh, 300px); }
  .header, .header.is-scrolled { padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right)); }
  .header .brand { min-height: 44px; }
  .nav { top: 100%; max-height: calc(100dvh - 70px); }
  .hero { min-height: 100svh; padding-top: calc(70px + var(--mobile-art) - 24px); gap: 32px; }
  .hero-art { height: calc(var(--mobile-art) + 140px); }
  .hero-art img { object-position: 72% top; }
  .hero-wash { background: linear-gradient(180deg, #ffffff00 calc(var(--mobile-art) - 15px), #ffffffa6 calc(var(--mobile-art) + 75px), #fff calc(var(--mobile-art) + 170px)); }
  .hero-content { padding-top: 16px; }
  .hero-cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .hero-cta .button, .hero-cta .text-link { justify-content: center; gap: 10px; padding-inline: 10px; font-size: 15px; white-space: normal; text-align: center; }
  .hero-cta svg { flex-shrink: 0; }
  #sky-particles { height: calc(var(--mobile-art) + 40px); }
  .hero-bottom { padding-right: 38px; }
  .project-copy { padding-inline: 20px; }
  .project-copy > .button, .project-copy .model-link { max-width: 100%; }
  .model-link { margin-left: 0; margin-top: 12px; display: flex; width: fit-content; }
  .demo-film h4 { font-size: 22px; }
  .demo-meta { align-items: flex-start; gap: 12px; }
  .demo-meta > :last-child { flex-shrink: 0; }
  .motion-toggle { width: 44px; padding: 0; justify-content: center; right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); }
  #motion-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (min-width: 601px) and (max-width: 1000px) and (max-height: 500px) and (orientation: landscape) {
  .header, .header.is-scrolled { height: 64px; padding-inline: 28px; }
  .header .brand .brand-mark { width: 42px; height: 42px; }
  .header .brand .brand-wordmark { width: 84px; height: 38px; }
  .hero { min-height: 100svh; gap: 24px; padding-bottom: 24px; }
  .hero-content { width: 53%; padding-top: 90px; }
  .hero h1, html:lang(en) .hero h1 { font-size: 34px; line-height: 1.2; }
  .hero-jp { margin-top: 8px; font-size: 14px; }
  .hero-description { margin-top: 12px; font-size: 15px; line-height: 1.65; }
  .hero-cta { margin-top: 16px; gap: 18px; }
  .hero-art { top: 64px; }
  .hero-art img { object-position: 72% top; }
  .motion-toggle { width: 44px; padding: 0; justify-content: center; }
  #motion-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* Companion brush lettering for the existing Iroha wordmark. */
.brand > .brand-studios{padding-top:0;line-height:0;margin-inline-start:-20px}
.brand .studios-wordmark{display:block;width:112px;height:46px;object-fit:contain;mix-blend-mode:multiply}
/* Keep the entire player visible beneath the header on landscape phones. */
@media (max-width: 1024px) and (max-height: 500px) and (orientation: landscape) {
  .demo-player {
    max-width: calc((100vh - 128px) * 16 / 9);
    max-width: calc((100svh - 128px) * 16 / 9);
    margin-inline: auto;
  }
  .header, .header.is-scrolled {
    padding-inline: max(28px, env(safe-area-inset-left)) max(28px, env(safe-area-inset-right));
  }
}

@media(min-width:1101px){.brand > .brand-studios{margin-inline-start:-30px}}

.language-control{position:relative;display:inline-flex;align-items:center}
.language-control .language-icon{position:absolute;left:10px;top:50%;transform:translateY(-50%);width:18px;height:18px;pointer-events:none;color:var(--ink)}
.language-control select{width:124px;padding-left:34px}
@media(max-width:600px){.language-control select{width:116px;padding-left:30px}.language-control .language-icon{left:9px;width:16px;height:16px}}
@media(max-width:380px){.header{gap:8px}.header-actions{gap:4px}}
