:root {
  color-scheme: dark;
  font-family: Inter, "Helvetica Neue", "Noto Sans JP", sans-serif;
  color: #f4f1ea;
  background: #0b0c0f;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 80% 10%, rgba(71, 74, 96, 0.2), transparent 35rem),
    #0b0c0f;
}

a { color: inherit; }

.site-header {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(20px, 4vw, 64px);
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  pointer-events: none;
}

.site-header .brand {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  pointer-events: auto;
}

.hero {
  position: relative;
  z-index: 2;
  width: min(620px, calc(100% - 40px));
  min-height: 58vh;
  padding: clamp(120px, 18vh, 190px) 0 40px;
  margin-left: clamp(20px, 8vw, 130px);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 20px;
  color: #ff7740;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 10em;
  margin: 0;
  font-size: clamp(38px, 6.4vw, 108px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.055em;
}

.lead {
  max-width: 520px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(13px, 1.2vw, 16px);
  line-height: 1.9;
}

.scene {
  position: relative;
  height: min(64vw, 720px);
  min-height: 480px;
  outline: none;
  cursor: grab;
  touch-action: pan-y;
  isolation: isolate;
}

.scene::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 2% 4% 0;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.16), transparent 23%),
    radial-gradient(circle at 50% 54%, rgba(255, 119, 64, 0.18), transparent 48%);
  filter: blur(12px);
  pointer-events: none;
}

.scene:active { cursor: grabbing; }
.scene canvas { display: block; width: 100%; height: 100%; }

.content-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  margin: 0 clamp(20px, 4vw, 64px) 80px;
  background: #303137;
  border: 1px solid #303137;
}

.content-card {
  min-height: 230px;
  padding: 28px;
  background: #131419;
}

.content-card h2 { margin: 0 0 20px; font-size: 30px; }
.content-card a { text-decoration-thickness: 1px; text-underline-offset: 6px; }
.content-card p { color: #aaa; font-size: 13px; line-height: 1.8; }

.carousel-section {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  border-top: 1px solid #24252a;
  background:
    radial-gradient(circle at 50% 62%, rgba(255, 119, 64, 0.13), transparent 28rem),
    #0e0f13;
}

.carousel-copy {
  position: absolute;
  z-index: 2;
  top: clamp(70px, 10vw, 130px);
  left: clamp(20px, 8vw, 130px);
  max-width: 410px;
  pointer-events: none;
}

.carousel-copy h2 {
  margin: 0;
  font-size: clamp(42px, 4.8vw, 64px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.carousel-copy > p:last-child {
  max-width: 360px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
  line-height: 1.9;
}

.carousel-scene {
  position: absolute;
  inset: 0;
  cursor: grab;
  touch-action: pan-y;
}

.carousel-scene:active { cursor: grabbing; }
.carousel-scene canvas { display: block; width: 100%; height: 100%; }

.cta-section {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(92vh, 960px);
  padding: clamp(150px, 22vw, 300px) clamp(20px, 8vw, 130px);
  overflow: hidden;
  border-top: 1px solid #24252a;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(255, 107, 44, 0.15), transparent 34rem),
    #0b0c0f;
  background-size: 80px 80px, 80px 80px, auto, auto;
}

.cta-inner {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
}

.cta-inner h2 {
  max-width: 12em;
  margin: 0;
  font-size: clamp(32px, 6.4vw, 80px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.06em;
}

.cta-description {
  max-width: 560px;
  margin: 42px 0 48px;
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(13px, 1.2vw, 16px);
  line-height: 1.9;
}

.cta-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(440px, 100%);
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  transition: color 240ms ease, background-color 240ms ease, border-color 240ms ease;
}

.cta-link:hover,
.cta-link:focus-visible {
  color: #101115;
  background: #ff7740;
  border-color: #ff7740;
  outline: none;
}

.cta-index {
  position: absolute;
  right: clamp(20px, 4vw, 64px);
  bottom: 38px;
  margin: 0;
  color: rgba(255, 255, 255, 0.3);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.webgl-ready .content-list {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.scene-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.item-modal {
  width: min(960px, calc(100% - 32px));
  max-height: min(760px, calc(100dvh - 32px));
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  color: #f4f1ea;
  background: #14151a;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.65);
}

.item-modal[open] {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  animation: modal-in 280ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.item-modal::backdrop {
  background: rgba(4, 5, 8, 0.78);
  backdrop-filter: blur(10px);
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #fff;
  background: rgba(10, 11, 14, 0.55);
  font: 300 25px/1 sans-serif;
  cursor: pointer;
}

.modal-close:hover,
.modal-close:focus-visible { background: #ff7740; outline: none; }

.modal-media {
  min-height: 540px;
  background: #0b0c0f;
}

.modal-media img,
.modal-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-content {
  display: flex;
  min-width: 0;
  padding: clamp(42px, 6vw, 76px) clamp(30px, 5vw, 62px);
  flex-direction: column;
  justify-content: center;
}

.modal-kicker {
  margin: 0 0 20px;
  color: #ff7740;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.modal-content h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.05em;
}

.modal-description {
  margin: 28px 0 42px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.9;
}

.modal-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 12px;
  text-decoration: none;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 40px clamp(20px, 4vw, 64px);
  border-top: 1px solid #24252a;
  color: #666;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 680px) {
  .site-header p { display: none; }
  .hero { min-height: 54vh; }
  .scene { height: 66vh; min-height: 430px; }
  .carousel-section { min-height: 720px; }
  .carousel-copy { top: 70px; }
  .cta-section { min-height: 760px; padding-block: 160px; }
  .item-modal[open] { display: block; overflow-y: auto; }
  .modal-media { min-height: 300px; height: 38dvh; }
  .modal-content { padding: 38px 28px 44px; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .item-modal[open] { animation: none; }
}
