/* ═══════════════════════════════════════════════
   THE JOURNEY — Yugo Nakamura inspired
   Monochrome · Reactive · Typographic · Alive
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Noto+Serif+JP:wght@200;300;400;500&display=swap');

:root {
  --black: #000000;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --gray-950: #0a0a0a;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Noto Serif JP', serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ── Reset ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
}

::selection {
  background: var(--white);
  color: var(--black);
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Custom Cursor ── */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: difference;
  transition: transform 0.15s var(--ease-out-expo);
}

.cursor--ring {
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.4s var(--ease-out-expo),
    width 0.3s var(--ease-out-expo),
    height 0.3s var(--ease-out-expo),
    border-color 0.3s;
}

.cursor--ring.hovering {
  width: 60px;
  height: 60px;
  border-color: rgba(255, 255, 255, 0.6);
}

/* ── Interactive Canvas ── */
#reactive-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 40px;
  mix-blend-mode: difference;
}

.nav__logo {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__logo-kanji {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0;
}

.nav__links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.5;
  transition: opacity 0.4s;
  cursor: none;
}

.nav__links a:hover {
  opacity: 1;
}

.nav__index {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.1em;
  opacity: 0.3;
}

/* ── Section System ── */
.section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  z-index: 1;
}

/* ── Hero ── */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero__title-wrap {
  position: relative;
  overflow: hidden;
}

.hero__title {
  font-size: clamp(4rem, 12vw, 11rem);
  font-weight: 100;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  will-change: transform;
}

.hero__title span {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: revealUp 1.2s var(--ease-out-expo) forwards;
}

.hero__title span:nth-child(2) {
  animation-delay: 0.1s;
}

.hero__title span:nth-child(3) {
  animation-delay: 0.2s;
}

.hero__line {
  display: block;
}

.hero__line--accent {
  font-weight: 800;
  -webkit-text-stroke: 0px;
}

.hero__sub {
  margin-top: 48px;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s 0.8s var(--ease-out-expo) forwards;
}

.hero__year {
  position: absolute;
  bottom: 40px;
  right: 40px;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.15em;
  opacity: 0.2;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s 1.2s var(--ease-out-expo) forwards;
}

.hero__scroll-text {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.3;
  writing-mode: vertical-rl;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: var(--white);
  opacity: 0.2;
  transform-origin: top;
  animation: scrollLine 2s infinite var(--ease-in-out);
}

/* ── Horizontal Divider ── */
.divider-h {
  width: 100%;
  padding: 0 40px;
}

.divider-h__line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

/* ── About ── */
.about {
  padding: 160px 40px;
}

.about__grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: start;
}

.about__left {
  position: sticky;
  top: 160px;
}

.section-number {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.3em;
  opacity: 0.2;
  margin-bottom: 24px;
  font-variant-numeric: tabular-nums;
}

.section-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0.4;
  margin-bottom: 32px;
}

.about__heading {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 100;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.about__heading strong {
  font-weight: 700;
}

.about__right {
  padding-top: 80px;
}

.about__text {
  font-size: 15px;
  font-weight: 300;
  line-height: 2;
  color: var(--gray-400);
  margin-bottom: 40px;
}

.about__text strong {
  color: var(--white);
  font-weight: 500;
}

.about__text em {
  font-style: normal;
  color: var(--gray-300);
}

/* ── Timeline ── */
.timeline {
  padding: 120px 40px 160px;
}

.timeline__inner {
  max-width: 1400px;
  margin: 0 auto;
}

.timeline__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.timeline__heading {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 100;
  letter-spacing: -0.02em;
}

.timeline__heading strong {
  font-weight: 700;
}

.timeline__count {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.2em;
  opacity: 0.3;
}

.timeline__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.04);
}

.timeline__item {
  background: var(--black);
  padding: 48px 40px;
  position: relative;
  cursor: none;
  transition: background 0.5s var(--ease-out-expo);
}

.timeline__item:hover {
  background: var(--gray-950);
}

.timeline__item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 40px;
  right: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.04);
}

.timeline__year {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.2em;
  opacity: 0.3;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.timeline__title {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  line-height: 1.4;
}

.timeline__desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--gray-500);
}

/* ── Stats Strip ── */
.stats {
  padding: 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stats__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 60px 0;
  text-align: center;
  position: relative;
}

.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 60px;
  bottom: 60px;
  width: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.stat__value {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 100;
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.3;
}

/* ── Podcast ── */
.podcast {
  padding: 160px 40px;
}

.podcast__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: center;
}

.podcast__visual {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.podcast__visual-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.podcast__kanji {
  font-family: var(--font-serif);
  font-size: clamp(6rem, 15vw, 14rem);
  font-weight: 200;
  opacity: 0.04;
  position: absolute;
  user-select: none;
}

.podcast__image {
  width: 70%;
  border-radius: 4px;
  position: relative;
  z-index: 1;
  filter: grayscale(100%) contrast(1.1);
  transition: filter 0.8s var(--ease-out-expo);
}

.podcast__image:hover {
  filter: grayscale(0%) contrast(1);
}

.podcast__content {
  max-width: 520px;
}

.podcast__quote {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 200;
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-bottom: 48px;
  color: var(--gray-300);
}

.podcast__quote em {
  font-style: normal;
  color: var(--white);
  font-weight: 400;
}

.podcast__body {
  font-size: 14px;
  font-weight: 300;
  line-height: 2;
  color: var(--gray-500);
  margin-bottom: 24px;
}

.podcast__body strong {
  color: var(--white);
  font-weight: 500;
}

.podcast__award {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-top: 32px;
  transition: opacity 0.3s, border-color 0.3s;
  cursor: none;
}

.podcast__award:hover {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.2);
}

/* ── Philosophy ── */
.philosophy {
  padding: 120px 40px 160px;
}

.philosophy__inner {
  max-width: 1400px;
  margin: 0 auto;
}

.philosophy__header {
  margin-bottom: 80px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.philosophy__heading {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 100;
  letter-spacing: -0.02em;
}

.philosophy__heading strong {
  font-weight: 700;
}

.philosophy__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.04);
}

.philosophy__card {
  background: var(--black);
  padding: 60px 40px;
  transition: background 0.5s var(--ease-out-expo);
  cursor: none;
}

.philosophy__card:hover {
  background: var(--gray-950);
}

.philosophy__card-number {
  font-size: 48px;
  font-weight: 100;
  opacity: 0.08;
  margin-bottom: 32px;
  font-variant-numeric: tabular-nums;
}

.philosophy__card-title {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.philosophy__card-text {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--gray-500);
}

/* ── Footer ── */
.footer {
  padding: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__left {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.15em;
  opacity: 0.2;
}

.footer__right {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer__right a {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.2;
  transition: opacity 0.3s;
  cursor: none;
}

.footer__right a:hover {
  opacity: 0.6;
}

/* ── Reveal System ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo),
    transform 0.8s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger-1 {
  transition-delay: 0.05s;
}

.reveal-stagger-2 {
  transition-delay: 0.1s;
}

.reveal-stagger-3 {
  transition-delay: 0.15s;
}

.reveal-stagger-4 {
  transition-delay: 0.2s;
}

.reveal-stagger-5 {
  transition-delay: 0.25s;
}

.reveal-stagger-6 {
  transition-delay: 0.3s;
}

.reveal-stagger-7 {
  transition-delay: 0.35s;
}

.reveal-stagger-8 {
  transition-delay: 0.4s;
}

/* ── Animations ── */
@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    opacity: 0.2;
  }

  50% {
    transform: scaleY(1);
    opacity: 0.4;
  }

  100% {
    transform: scaleY(0);
    opacity: 0.2;
  }
}

/* ── Responsive ── */
@media (max-width: 1024px) {

  .about__grid,
  .podcast__inner {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .about__left {
    position: static;
  }

  .timeline__grid {
    grid-template-columns: 1fr;
  }

  .stats__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .philosophy__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 20px 24px;
  }

  .nav__links {
    display: none;
  }

  .nav__index {
    display: none;
  }

  .about,
  .podcast,
  .timeline,
  .philosophy {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero__title {
    font-size: clamp(3rem, 14vw, 6rem);
  }

  .stats__inner {
    grid-template-columns: 1fr 1fr;
  }

  .stat:not(:last-child)::after {
    display: none;
  }

  .footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .stats__inner {
    grid-template-columns: 1fr;
  }
}

/* ── No cursor on touch ── */
@media (hover: none) {
  body {
    cursor: auto;
  }

  .cursor {
    display: none;
  }

  * {
    cursor: auto !important;
  }
}