/* Color and serif tokens live in theme.css (mirrors the app's src/theme.ts). */
:root {
  color-scheme: dark;
  --page-width: 1160px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  line-height: 1.8;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.7' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 7px;
}
button {
  cursor: pointer;
}
::selection {
  background: var(--accent);
  color: var(--on-accent);
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 400;
}
.wrap {
  width: min(var(--page-width), calc(100% - 112px));
  margin-inline: auto;
}
.header {
  position: relative;
  z-index: 10;
  width: calc(100% - 96px);
  margin: auto;
  height: 108px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.wordmark {
  font-family: var(--font-serif);
  font-size: 33px;
  letter-spacing: -1.6px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
.wordmark-dot {
  color: var(--accent);
}
.brand-light {
  width: 7px;
  height: 7px;
  margin: 7px 15px 0 0;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px 4px var(--glow);
}
nav {
  display: flex;
  align-items: center;
  gap: 35px;
  font-size: 11px;
  letter-spacing: 0.05em;
}
nav a {
  padding-block: 12px;
  transition: color 0.25s;
}
nav a:hover {
  color: var(--accent);
}
.nav-release {
  color: var(--accent);
  margin-left: 10px;
}
.nav-release span {
  margin-left: 16px;
}
.hero {
  position: relative;
  min-height: min(790px, calc(100svh - 108px));
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 120px;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--accent);
  font-weight: 500;
}
h1 {
  font-size: clamp(36px, 3.6vw, 52px);
  line-height: 1.65;
  letter-spacing: 0.08em;
  margin: 27px 0 25px;
}
.lit-word {
  color: var(--accent);
}
h1 .lit-word {
  white-space: nowrap;
}
.hero-description {
  color: var(--text-sub);
  font-size: 13px;
  line-height: 2.25;
  letter-spacing: 0.08em;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 35px;
  margin-top: 32px;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.arrow-circle {
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent-soft);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 19px;
  transition:
    transform 0.3s,
    background 0.3s;
}
.text-link:hover .arrow-circle {
  transform: translate(3px, 3px);
  background: var(--panel-soft);
}
.hero-release {
  font-size: 10px;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 45px;
  letter-spacing: 0.025em;
}
.status-light {
  display: inline-block;
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--glow);
}
.small-divider {
  height: 10px;
  width: 1px;
  background: var(--border);
  margin-inline: 2px;
}
.hero-art {
  position: relative;
  width: 116%;
  margin-left: -8%;
  transform: translateY(var(--hero-drift, 0px));
}
.lamp-image {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: lighten;
  mask-image: radial-gradient(ellipse 49% 47% at 50% 49%, #000 33%, transparent 100%);
}
.halo {
  position: absolute;
  width: 85%;
  aspect-ratio: 1;
  left: 3%;
  top: 3%;
  background: radial-gradient(ellipse, var(--glow), transparent 66%);
  opacity: 0.2;
  animation: breathe 7s ease-in-out infinite alternate;
}
.art-caption {
  position: absolute;
  bottom: 6%;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text-sub);
}
.dust {
  width: 2px;
  height: 2px;
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  animation: drift 10s ease-in-out infinite;
  opacity: 0.6;
}
.dust-one {
  left: 32%;
  top: 25%;
}
.dust-two {
  left: 64%;
  top: 42%;
  animation-delay: -4s;
}
.dust-three {
  left: 48%;
  top: 60%;
  animation-delay: -7s;
}
.hero-bottom {
  position: absolute;
  bottom: 25px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 8px;
  letter-spacing: 0.19em;
  color: var(--text-sub);
}
.hero-bottom a {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
}
.scroll-stem {
  position: relative;
  display: inline-block;
  height: 35px;
  width: 1px;
  background: var(--border);
  overflow: hidden;
}
.scroll-stem::after {
  content: '';
  width: 1px;
  height: 15px;
  position: absolute;
  background: var(--accent);
  animation: scroll-line 2.6s ease-in-out infinite;
}
.section-space {
  padding-block: 120px;
}
.intro {
  border-top: 1px solid var(--border);
}
.intro-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  margin-top: 45px;
}
h2 {
  font-size: clamp(29px, 3.2vw, 42px);
  line-height: 1.85;
  letter-spacing: 0.08em;
}
.intro-text {
  color: var(--text-sub);
  font-size: 13px;
  line-height: 2.3;
  letter-spacing: 0.035em;
}
.intro-text p + p {
  margin-top: 26px;
}
.quiet-promises {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 70px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  color: var(--text-sub);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.quiet-promises span::before {
  content: '—';
  color: var(--accent-soft);
  margin-right: 12px;
}
.room-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-deep);
  padding-block: 100px;
}
.room-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px;
  align-items: center;
}
.room-visual {
  position: relative;
  padding-left: 35px;
}
.room-halo {
  position: absolute;
  inset: -70px -90px;
  background: radial-gradient(ellipse, var(--glow), transparent 64%);
  opacity: 0.12;
}
.room-figure {
  position: relative;
  max-width: 340px;
  margin-inline: auto;
  transform: translateY(var(--room-drift, 0px));
}
.room-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  font-family: var(--font-serif);
  font-size: 15px;
}
.room-heading-en {
  margin-left: auto;
  font-size: 7px;
  font-family: sans-serif;
  letter-spacing: 0.1em;
  color: var(--text-sub);
}
.room-figure img {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  box-shadow: 0 25px 60px var(--backdrop);
}
figcaption {
  margin-top: 16px;
  font-size: 9px;
  color: var(--text-sub);
  text-align: center;
}
.margin-note {
  position: absolute;
  left: -10px;
  top: 44%;
  writing-mode: vertical-rl;
  font-family: var(--font-serif);
  color: var(--text-sub);
  font-size: 11px;
  letter-spacing: 0.14em;
}
.room-story h2 {
  margin-top: 30px;
  font-size: clamp(28px, 2.7vw, 37px);
}
.section-description {
  color: var(--text-sub);
  font-size: 13px;
  line-height: 2.2;
  letter-spacing: 0.05em;
  margin-top: 24px;
}
.pastimes {
  margin-top: 35px;
}
.pastime {
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  display: flex;
  width: 100%;
  padding: 18px 0;
  align-items: center;
  gap: 24px;
  text-align: left;
  color: var(--text-sub);
  transition:
    color 0.3s,
    padding 0.3s;
  font-size: 14px;
}
.pastime-index {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--accent-soft);
}
.pastime span:last-child {
  margin-left: auto;
  opacity: 0;
}
.pastime.active,
.pastime:hover {
  color: var(--accent);
  padding-left: 8px;
}
.pastime.active span:last-child {
  opacity: 1;
}
.mood-note {
  min-height: 95px;
  padding-top: 24px;
  color: var(--text-sub);
  font-size: 12px;
  line-height: 2.1;
}
.room-footnote {
  font-size: 10px;
  color: var(--text-sub);
  margin-top: 20px;
}
.connection-heading {
  text-align: center;
}
.connection-heading h2 {
  margin-top: 28px;
}
.connection-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 55px;
  margin-top: 58px;
}
.connection-step {
  min-width: 0;
}
.connection-step + .connection-step {
  transition-delay: 120ms;
}
.connection-step:last-child {
  transition-delay: 240ms;
}
.detail-image,
.reaction-art {
  height: 220px;
  position: relative;
  overflow: hidden;
  margin-bottom: 35px;
  mask-image: radial-gradient(ellipse 70% 65%, #000 16%, transparent 74%);
}
.detail-image img {
  position: absolute;
  width: 432px;
  height: 768px;
  max-width: none;
  image-rendering: pixelated;
}
.detail-company img {
  left: calc(50% - 315px);
  top: -195px;
}
.detail-familiar img {
  left: calc(50% - 40px);
  top: -65px;
}
.reaction-art {
  display: grid;
  place-items: center;
  mask-image: none;
}
.reaction-orbit {
  width: 155px;
  height: 155px;
  border: 1px solid var(--border);
  border-radius: 50%;
  transform: rotate(-25deg) scaleY(0.75);
}
.reaction-coffee {
  position: absolute;
  font-size: 49px;
  transform: rotate(-12deg);
  filter: sepia(0.4);
  animation: cup-float 6s ease-in-out infinite;
}
.reaction-leaf {
  position: absolute;
  font-size: 28px;
  left: 16%;
  top: 30%;
  filter: sepia(0.3);
  transform: rotate(-25deg);
}
.reaction-spark {
  position: absolute;
  font-size: 39px;
  color: var(--accent);
  right: 20%;
  top: 17%;
}
.step-label {
  color: var(--accent);
  font-size: 8px;
  letter-spacing: 0.18em;
  border-top: 1px solid var(--border);
  padding-top: 26px;
}
.connection-step h3 {
  font-size: 22px;
  letter-spacing: 0.06em;
  margin: 12px 0;
}
.connection-step > p:last-child {
  color: var(--text-sub);
  font-size: 12px;
  line-height: 2.15;
}
.closing {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  padding-block: 125px 115px;
  background: var(--bg-deep);
  text-align: center;
}
.closing-glow {
  position: absolute;
  inset: -70% -10% 0;
  background: radial-gradient(ellipse at 50% 90%, var(--glow), transparent 48%);
  opacity: 0.15;
  pointer-events: none;
}
.closing-content {
  position: relative;
}
.closing h2 {
  margin-top: 30px;
  font-size: clamp(34px, 3.8vw, 49px);
  line-height: 1.8;
}
.closing-description {
  margin-top: 25px;
  color: var(--text-sub);
  font-size: 13px;
  line-height: 2.2;
}
.release-info {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  border-bottom: 1px solid var(--accent-soft);
  padding: 15px 8px;
  margin-top: 37px;
  font-size: 14px;
  letter-spacing: 0.07em;
}
.closing-status {
  margin-top: 16px;
  font-size: 11px;
  color: var(--text-sub);
  letter-spacing: 0.06em;
}
.release-note {
  font-size: 10px;
  color: var(--text-sub);
  margin-top: 30px;
}
.footer {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-block: 42px;
}
.footer .wordmark {
  font-size: 28px;
}
.footer > p {
  font-size: 10px;
  color: var(--text-sub);
}
.footer-meta {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  column-gap: 20px;
  row-gap: 5px;
  font-size: 9px;
  color: var(--text-sub);
}
.footer-meta a:hover {
  color: var(--accent);
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 20;
  padding: 12px 20px;
  background: var(--accent);
  color: var(--on-accent);
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}
@keyframes breathe {
  to {
    opacity: 0.35;
    transform: scale(1.07);
  }
}
@keyframes drift {
  50% {
    transform: translate(8px, -22px);
    opacity: 0.15;
  }
}
@keyframes scroll-line {
  from {
    transform: translateY(-16px);
  }
  to {
    transform: translateY(40px);
  }
}
@keyframes cup-float {
  50% {
    transform: translateY(-8px) rotate(-5deg);
  }
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-enter {
    animation: enter 1s both;
  }
  h1.hero-enter {
    animation-delay: 0.1s;
  }
  .hero-description.hero-enter {
    animation-delay: 0.2s;
  }
  .text-link.hero-enter {
    animation-delay: 0.3s;
  }
  .hero-release.hero-enter {
    animation-delay: 0.4s;
  }
  .motion-ready .reveal {
    opacity: 0;
    transform: translateY(25px);
    transition:
      opacity 0.9s ease,
      transform 0.9s cubic-bezier(0.2, 0.7, 0.3, 1);
  }
  .motion-ready .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}
html.motion-paused {
  scroll-behavior: auto;
}
.motion-paused *,
.motion-paused *::after {
  animation: none !important;
  transition: none !important;
}
.motion-paused .reveal {
  opacity: 1;
  transform: none;
}
.motion-paused .hero-art,
.motion-paused .room-figure {
  transform: none;
}
@media (min-width: 1600px) {
  .hero {
    min-height: 820px;
  }
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 72px);
  }
  .header {
    width: calc(100% - 64px);
  }
  nav {
    gap: 22px;
  }
  .hero {
    min-height: 680px;
  }
  h1 {
    font-size: clamp(30px, 4.2vw, 39px);
    letter-spacing: 0.06em;
  }
  .intro-layout {
    gap: 40px;
  }
  .room-layout {
    gap: 60px;
  }
  .room-visual {
    padding-left: 18px;
  }
  .room-story h2 {
    font-size: 28px;
  }
  .connection-steps {
    gap: 30px;
  }
  .connection-step h3 {
    font-size: 19px;
  }
  .footer {
    flex-wrap: wrap;
  }
  .footer-meta {
    width: 100%;
    justify-content: flex-start;
  }
}
@media (max-width: 700px) {
  html {
    scroll-padding-top: 25px;
  }
  .wrap {
    width: calc(100% - 48px);
  }
  .header {
    width: calc(100% - 40px);
    height: 82px;
  }
  .wordmark {
    font-size: 29px;
  }
  .brand-light {
    width: 5px;
    height: 5px;
    margin-right: 10px;
  }
  .nav-about,
  .nav-room {
    display: none;
  }
  .nav-release {
    font-size: 9px;
    margin-left: 0;
  }
  .nav-release span {
    margin-left: 6px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding-top: 49px;
    padding-bottom: 88px;
    align-items: stretch;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 0.17em;
  }
  h1 {
    font-size: clamp(30px, 7.6vw, 48px);
    margin: 23px 0 20px;
    line-height: 1.65;
    letter-spacing: 0.06em;
  }
  .hero-description {
    font-size: 12px;
    line-height: 2.15;
  }
  .text-link {
    margin-top: 24px;
    font-size: 11px;
    gap: 25px;
  }
  .hero-release {
    margin-top: 25px;
    font-size: 9px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .hero-art {
    width: 100%;
    max-width: 450px;
    align-self: center;
    margin: -20px 0 -13px;
  }
  .art-caption {
    font-size: 10px;
    bottom: 4%;
  }
  .hero-bottom {
    bottom: 15px;
    font-size: 7px;
    letter-spacing: 0.12em;
  }
  .hero-bottom > span {
    max-width: 100px;
    text-align: right;
  }
  .section-space {
    padding-block: 75px;
  }
  .intro-layout {
    grid-template-columns: 1fr;
    margin-top: 28px;
    gap: 28px;
  }
  h2 {
    font-size: 29px;
  }
  .intro-text {
    font-size: 12px;
  }
  .desktop-break {
    display: none;
  }
  .quiet-promises {
    flex-direction: column;
    gap: 12px;
    margin-top: 35px;
    padding-top: 24px;
    font-size: 10px;
  }
  .room-section {
    padding-block: 70px;
  }
  .room-layout {
    display: flex;
    flex-direction: column-reverse;
    gap: 55px;
    align-items: stretch;
  }
  .room-story h2 {
    font-size: 28px;
    margin-top: 22px;
  }
  .section-description {
    font-size: 12px;
  }
  .pastimes {
    margin-top: 25px;
  }
  .pastime {
    font-size: 13px;
    padding-block: 16px;
  }
  .mood-note {
    min-height: 85px;
    font-size: 11px;
  }
  .room-footnote {
    margin-top: 10px;
    font-size: 9px;
  }
  .room-visual {
    padding-left: 30px;
    padding-right: 12px;
  }
  .room-figure {
    max-width: 280px;
  }
  .margin-note {
    left: 0;
    font-size: 9px;
  }
  .connection-heading h2 {
    font-size: 29px;
  }
  .connection-steps {
    grid-template-columns: 1fr;
    gap: 42px;
    margin-top: 30px;
  }
  .connection-step {
    width: 100%;
    max-width: 350px;
    margin-inline: auto;
  }
  .detail-image,
  .reaction-art {
    height: 190px;
    margin-bottom: 15px;
  }
  .connection-step h3 {
    font-size: 23px;
  }
  .connection-step > p:last-child {
    font-size: 12px;
  }
  .closing {
    padding-block: 85px 75px;
  }
  .closing h2 {
    font-size: 31px;
  }
  .closing-description {
    font-size: 12px;
  }
  .release-info {
    font-size: 12px;
    letter-spacing: 0.03em;
  }
  .footer {
    padding-block: 30px;
    gap: 20px;
  }
  .footer > p {
    font-size: 9px;
  }
  .footer-meta {
    column-gap: 15px;
    row-gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-art,
  .room-figure {
    transform: none;
  }
}
