/* Base */
:root {
  --bg: #0b0b0c;
  --bg-soft: #121214;
  --text: #f4f4f4;
  --muted: #aaaab2;
  --line: rgba(255,255,255,.14);
  --accent: #ffffff;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Noto Sans JP", sans-serif;
  line-height: 1.75;
}

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

img, video {
  display: block;
  width: 100%;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  background: rgba(10,10,11,.55);
  border-bottom: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(14px);
}

.logo {
  font-weight: 700;
  letter-spacing: .14em;
  font-size: .9rem;
}

.nav {
  display: flex;
  gap: 26px;
}

.nav a {
  font-size: .78rem;
  letter-spacing: .08em;
  color: #d6d6da;
}

.nav a:hover {
  color: #fff;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px 5vw 90px;
  background:
    radial-gradient(circle at 75% 25%, rgba(255,255,255,.12), transparent 25%),
    linear-gradient(135deg, #09090a 0%, #141417 48%, #09090a 100%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: .16;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 58px 58px;
}

.hero-content {
  width: min(980px, 100%);
  position: relative;
  z-index: 2;
}

.eyebrow {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .19em;
  color: var(--muted);
  margin: 0 0 18px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: .83;
  letter-spacing: -.06em;
  font-weight: 700;
}

.hero h1 span {
  color: #77777f;
  font-weight: 400;
}

.hero-copy {
  margin: 42px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  color: #d2d2d7;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  min-width: 160px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  border: 1px solid rgba(255,255,255,.25);
  font-size: .78rem;
  letter-spacing: .12em;
  transition: .25s ease;
}

.button.primary {
  background: #fff;
  color: #0b0b0c;
  border-color: #fff;
}

.button.primary:hover {
  background: #dcdce0;
}

.button.ghost:hover {
  background: rgba(255,255,255,.08);
}

.scroll-indicator {
  position: absolute;
  bottom: 34px;
  right: 5vw;
  font-size: .7rem;
  letter-spacing: .18em;
  color: #898990;
  writing-mode: vertical-rl;
}

.section {
  padding: 130px 5vw;
  max-width: 100%;
}

.section-dark {
  background: var(--bg-soft);
}

.section-heading,
.about-grid,
.works-grid,
.style-intro,
.style-grid,
.skills-grid,
.process-list,
.timeline {
  width: min(var(--max), 100%);
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 74px;
}

.section-number {
  color: #77777f;
  font-size: .8rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.about-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
}

.about-name h3 {
  margin: 0 0 22px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.08;
}

.about-name h3 span {
  color: #8c8c94;
  font-size: .55em;
  font-weight: 500;
}

.about-name p,
.about-text p {
  color: #c4c4ca;
}

.about-text {
  font-size: 1.04rem;
}

.about-text strong {
  color: #fff;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 70px 34px;
}

.work-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #1b1b1f;
  margin-bottom: 24px;
}

.media-thumb {
  position: relative;
  display: block;
  background: #111;
  cursor: pointer;
}

.media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.002);
  transition: transform .45s ease, filter .45s ease;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: rgba(0,0,0,.10);
  opacity: 0;
  transition: opacity .35s ease, background .35s ease;
}

.play-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding-left: 4px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 50%;
  background: rgba(0,0,0,.34);
  color: #fff;
  font-size: 1.15rem;
  backdrop-filter: blur(5px);
}

.play-text {
  font-size: .7rem;
  letter-spacing: .18em;
  color: #fff;
}

.media-thumb:hover img {
  transform: scale(1.045);
  filter: brightness(.7);
}

.media-thumb:hover .play-overlay {
  opacity: 1;
  background: rgba(0,0,0,.20);
}

@media (hover: none) {
  .play-overlay {
    opacity: 1;
    background: rgba(0,0,0,.08);
  }
  .play-text {
    display: none;
  }
  .play-icon {
    width: 50px;
    height: 50px;
  }
}

.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #66666e;
  letter-spacing: .18em;
  font-size: .72rem;
  background:
    linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,0)),
    #171719;
  transition: transform .35s ease, background .35s ease;
}

.work-card:hover .placeholder {
  transform: scale(.992);
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.01)),
    #1b1b1e;
}

.work-category {
  margin: 0 0 9px;
  font-size: .72rem;
  color: #85858c;
  letter-spacing: .14em;
}

.work-meta h3 {
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.work-meta > p:not(.work-category):not(.work-desc) {
  margin: 0;
  color: #9d9da4;
  font-size: .88rem;
}

.work-desc {
  margin: 14px 0 14px;
  color: #c0c0c6;
}

.text-link {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .12em;
  border-bottom: 1px solid #66666d;
  padding-bottom: 3px;
}

.style-intro {
  max-width: 900px;
  margin-bottom: 70px;
}

.style-intro h3 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1.15;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.style-intro > p:last-child {
  color: #bdbdc4;
}

.style-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.style-card {
  min-height: 220px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.style-card span {
  display: block;
  color: #74747c;
  font-size: .74rem;
  margin-bottom: 60px;
}

.style-card h4 {
  margin: 0 0 10px;
  font-size: 1rem;
  letter-spacing: .08em;
}

.style-card p {
  color: #a7a7ae;
  margin: 0;
  font-size: .9rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 30px;
}

.skill-block {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.skill-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skill-block li {
  padding: 9px 0;
  color: #c5c5cb;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.software > div {
  padding: 0 0 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.software strong {
  display: block;
  margin-bottom: 6px;
}

.software p {
  margin: 0;
  color: #9c9ca4;
  font-size: .9rem;
}

.process-list {
  border-top: 1px solid var(--line);
}

.process-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.process-item > span {
  color: #77777f;
  font-size: .78rem;
}

.process-item h3 {
  margin: 0 0 7px;
  font-size: 1rem;
  letter-spacing: .1em;
}

.process-item p {
  margin: 0;
  color: #aaaaaf;
}

.timeline-year {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.year {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -.04em;
}

.timeline-items {
  display: grid;
  gap: 28px;
}

.timeline-items strong {
  display: block;
  margin-bottom: 5px;
}

.timeline-items p {
  margin: 0;
  color: #9f9fa6;
}

.contact-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.contact-wrap {
  width: min(980px, 100%);
  margin: 0 auto;
}

.contact-wrap h2 {
  margin: 0 0 28px;
  font-size: clamp(3.5rem, 8vw, 8rem);
  line-height: .9;
  letter-spacing: -.055em;
}

.contact-wrap > p {
  max-width: 720px;
  color: #bcbcc3;
}

.contact-wrap .button {
  margin-top: 28px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 5vw;
  border-top: 1px solid var(--line);
  color: #77777f;
  font-size: .75rem;
  letter-spacing: .08em;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

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

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .about-grid,
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

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

  .timeline-year {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .style-intro h3 {
    white-space: normal;
    font-size: 2rem;
  }

  .site-header {
    height: 72px;
  }

  .hero {
    padding-top: 120px;
  }

  .section {
    padding: 90px 6vw;
  }

  .section-heading {
    margin-bottom: 48px;
  }

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

  .process-item {
    grid-template-columns: 52px 1fr;
  }

  .footer {
    flex-direction: column;
  }
}

.disabled-link {
  color: #77777f;
  cursor: default;
  border-bottom-color: #44444a;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-mark {
  width: 62px;
  height: 62px;
  display: block;
  object-fit: contain;
  flex: 0 0 62px;
}

.brand-logo span {
  font-weight: 700;
  letter-spacing: .14em;
}

@media (max-width: 600px) {
  .brand-logo {
    gap: 10px;
  }

  .brand-logo-mark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .brand-logo span {
    font-size: .72rem;
  }
}
