/* =============================================================================
   Creavid — Renewal
   Dark cinematic / premium / creator
   ============================================================================= */

:root {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --ink: #ece6dc;
  --ink-2: #b9b2a7;
  --mute: #7d786f;
  --line: rgba(236, 230, 220, 0.14);
  --gold: #cdb88f;
  --rec: #e5484d;

  --f-en: 'Cormorant Garamond', 'Times New Roman', serif;
  --f-ja: 'Shippori Mincho', 'Hiragino Mincho ProN', serif;
  --f-sans: 'Noto Sans JP', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--gold); color: var(--bg); }

/* ---------- shared ---------- */
.section-label {
  display: inline-flex; align-items: center; gap: 14px;
  margin: 0 0 32px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-2);
}
.section-label em { font-style: normal; color: var(--gold); }
.section-label::after { content: ''; width: 48px; height: 1px; background: var(--line); }

.display-ja {
  margin: 0;
  font-family: var(--f-ja); font-weight: 500;
  font-size: clamp(30px, 5.2vw, 76px);
  line-height: 1.35; letter-spacing: 0.06em;
}

.reveal-lines .rl { display: block; overflow: hidden; padding-bottom: 0.08em; }
.reveal-lines .rl > span { display: inline-block; will-change: transform; }

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.8s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -4%); }
  75% { transform: translate(-1%, 3%); }
  100% { transform: translate(3%, -1%); }
}

/* ---------- cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 120; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 50%; background: var(--ink);
  mix-blend-mode: difference;
  display: grid; place-items: center;
  transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background .3s;
}
.cursor__label {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--bg);
  opacity: 0; transition: opacity .3s;
}
.cursor.is-active { width: 84px; height: 84px; margin: -42px 0 0 -42px; mix-blend-mode: normal; background: var(--ink); }
.cursor.is-active .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  pointer-events: none;
}
.loader__shutter { position: absolute; left: 0; right: 0; height: 50.5%; background: #050506; z-index: 0; }
.loader__shutter.top { top: 0; }
.loader__shutter.bottom { bottom: 0; }
.loader__frame {
  position: relative; z-index: 1;
  width: min(560px, calc(100vw - 48px)); aspect-ratio: 2.39 / 1;
  display: grid; place-items: center;
}
.loader__corner { position: absolute; width: 18px; height: 18px; border-color: var(--ink-2); border-style: solid; border-width: 0; }
.loader__corner.tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.loader__corner.tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.loader__corner.bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.loader__corner.br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.loader__rec, .loader__tc {
  position: absolute; top: 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--ink-2);
}
.loader__rec { left: 18px; display: flex; align-items: center; gap: 8px; }
.loader__rec i, .hud-rec i { width: 7px; height: 7px; border-radius: 50%; background: var(--rec); animation: blink 1s steps(2) infinite; }
.loader__tc { right: 18px; }
.loader__name {
  font-family: var(--f-en); font-weight: 300; font-size: clamp(34px, 6vw, 54px); letter-spacing: 0.06em;
  text-align: center; line-height: 1.2;
}
.loader__mark { width: clamp(44px, 7vw, 60px); height: auto; margin: 0 auto 10px; }
.loader__name em { display: block; font-style: italic; font-size: 0.34em; letter-spacing: 0.3em; color: var(--mute); margin-top: 6px; }
.loader__bar { position: absolute; left: 18px; right: 18px; bottom: 16px; height: 1px; background: var(--line); }
.loader__bar span { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  background: linear-gradient(to bottom, rgba(10,10,11,.7), rgba(10,10,11,0));
  transition: transform .6s var(--ease);
}
.header.is-hidden { transform: translateY(-110%); }
.header__logo { display: flex; align-items: center; gap: 10px; font-family: var(--f-en); font-size: 26px; letter-spacing: 0.04em; font-weight: 500; line-height: 1; }
.header__logo img { width: 34px; height: 34px; object-fit: contain; transition: transform .8s var(--ease); }
.header__logo:hover img { transform: rotate(-12deg) scale(1.06); }
.header__nav { display: flex; gap: clamp(18px, 2.4vw, 40px); }
.header__nav a, .drawer a {
  position: relative;
  font-family: var(--f-en); font-size: 15px; letter-spacing: 0.12em;
}
.header__nav a em, .drawer a em { font-style: normal; font-family: var(--f-mono); font-size: 9px; margin-right: 6px; vertical-align: super; color: var(--ink-2); }
.header__nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.header__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__cta {
  font-size: 12px; letter-spacing: 0.2em;
  padding: 10px 22px; border: 1px solid rgba(255,255,255,.6); border-radius: 99px;
  transition: background .4s, color .4s;
}
.header__cta:hover { background: #fff; color: #000; }
.header__menu { display: none; width: 40px; height: 40px; position: relative; }
.header__menu span { position: absolute; left: 8px; right: 8px; height: 1px; background: #fff; transition: transform .5s var(--ease); }
.header__menu span:first-child { top: 16px; }
.header__menu span:last-child { top: 24px; }
.header__menu[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.header__menu[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 79; background: var(--bg);
  display: grid; place-items: center;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease);
}
.drawer.is-open { clip-path: inset(0 0 0 0); }
.drawer nav { display: grid; gap: 14px; text-align: center; }
.drawer a { font-size: 36px; }

@media (max-width: 900px) {
  .header__nav, .header__cta { display: none; }
  .header__menu { display: block; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; height: 100svh; min-height: 560px; overflow: hidden;
  display: flex; align-items: flex-end;
}
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.hero__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 40%, transparent 30%, rgba(10,10,11,.75) 100%),
    linear-gradient(to right, rgba(10,10,11,.72) 0%, rgba(10,10,11,.45) 38%, rgba(10,10,11,0) 70%),
    linear-gradient(to bottom, rgba(10,10,11,.55), rgba(10,10,11,.15) 22%, rgba(10,10,11,.3) 50%, rgba(10,10,11,.92)),
    rgba(10,10,11,.22);
}
/* 映像の明るい場面でも文字が沈まないように */
.hero__title, .hero__lead, .hero__eyebrow, .hero__hud {
  text-shadow: 0 2px 24px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.45);
}
.hero__letterbox { position: absolute; left: 0; right: 0; height: 0; background: var(--bg); z-index: 2; }
.hero__letterbox.top { top: 0; }
.hero__letterbox.bottom { bottom: 0; }

.hero__hud {
  position: absolute; inset: 88px var(--gutter) auto; z-index: 3;
  display: grid; grid-template-columns: auto auto 1fr auto; gap: 28px; align-items: center;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.2em; color: rgba(236,230,220,.75);
}
.hud-rec { display: flex; gap: 8px; align-items: center; }
.hud-meta { justify-self: center; }
@media (max-width: 700px) { .hud-meta, .hud-loc { display: none; } .hero__hud { grid-template-columns: auto 1fr; } .hud-tc { justify-self: end; } }

.hero__content { position: relative; z-index: 3; padding: 0 var(--gutter) clamp(72px, 12vh, 140px); width: 100%; }
.hero__eyebrow {
  display: flex; align-items: center; gap: 16px; margin: 0 0 28px;
  font-family: var(--f-en); font-style: italic; font-size: clamp(14px, 1.4vw, 18px); letter-spacing: 0.12em; color: var(--ink-2);
}
.hero__eyebrow .line { width: 56px; height: 1px; background: var(--gold); }
.hero__title {
  margin: 0;
  font-family: var(--f-ja); font-weight: 500;
  font-size: clamp(40px, 8.4vw, 132px); line-height: 1.18; letter-spacing: 0.04em;
}
.hero__title .row { display: block; overflow: hidden; }
.hero__title .char { display: inline-block; will-change: transform; }
.hero__lead { margin: 32px 0 0; font-family: var(--f-ja); font-size: clamp(14px, 1.3vw, 18px); line-height: 2.1; color: var(--ink-2); letter-spacing: 0.14em; }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 40px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.3em; writing-mode: vertical-rl; color: var(--ink-2);
}
.hero__scroll i { width: 1px; height: 64px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; inset: 0; background: var(--ink); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- statement ---------- */
.statement { padding: clamp(120px, 22vh, 240px) var(--gutter); }
.statement__inner { max-width: 1280px; margin: 0 auto; }
.statement__text {
  margin: 0;
  font-family: var(--f-ja); font-weight: 500;
  font-size: clamp(30px, 6vw, 92px); line-height: 1.45; letter-spacing: 0.04em;
}
[data-scrub-text] .w { opacity: 0.12; transition: none; }

/* ---------- concept scenes ---------- */
.scenes { position: relative; padding: 0 var(--gutter); }
.scenes__sticky { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 120px); max-width: 1360px; margin: 0 auto; }
.scenes__visual {
  position: sticky; top: 14vh; height: 72vh; margin: 0; overflow: hidden;
}
.scenes__visual img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); filter: saturate(.85); }
.scenes__visual figcaption {
  position: absolute; left: 16px; bottom: 14px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--ink);
}
.scenes__list { padding: 14vh 0 8vh; }
.scene { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; opacity: .18; transition: opacity .8s var(--ease); }
.scene.is-active { opacity: 1; }
.scene__num { font-family: var(--f-en); font-style: italic; font-size: 18px; color: var(--gold); margin-bottom: 18px; }
.scene p { margin: 0; font-family: var(--f-ja); font-size: clamp(22px, 2.6vw, 38px); line-height: 1.8; letter-spacing: 0.06em; }
.scenes__closing { padding: 16vh 0 22vh; text-align: center; }
.scenes__closing p { margin: 0; font-family: var(--f-ja); font-weight: 500; font-size: clamp(28px, 4.4vw, 64px); line-height: 1.6; letter-spacing: .1em; }

@media (max-width: 800px) {
  .scenes__sticky { grid-template-columns: 1fr; }
  .scenes__visual { top: 72px; height: 42vh; z-index: 0; }
  .scenes__list { padding-top: 0; position: relative; z-index: 1; }
  .scene { min-height: 52vh; }
  .scene p { background: linear-gradient(transparent, var(--bg) 20%); padding-top: 24px; }
}

/* ---------- making ---------- */
.making { padding: clamp(80px, 14vh, 160px) var(--gutter) clamp(120px, 20vh, 220px); background: var(--bg-2); position: relative; }
.making__head { max-width: 1360px; margin: 0 auto 80px; }
.making__grid {
  max-width: 1360px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start;
}
.making__img { margin: 0; overflow: hidden; }
.making__img img { width: 100%; height: 120%; object-fit: cover; }
.making__img--a { grid-column: 1 / 7; aspect-ratio: 4 / 5; }
.making__img--b { grid-column: 9 / 13; aspect-ratio: 3 / 4; margin-top: -10vh; }
.making__body { grid-column: 8 / 13; grid-row: 1; padding-top: 6vh; }
.making__body p { margin: 0 0 1.4em; font-size: 15px; line-height: 2.3; color: var(--ink-2); }
.making__img--b { grid-row: 2; }
.making__quote { max-width: 1100px; margin: clamp(80px, 16vh, 180px) auto 0; text-align: center; position: relative; }
.making__quote .q { font-family: var(--f-en); font-size: 160px; line-height: .5; color: var(--gold); opacity: .6; display: block; height: 60px; }
.making__quote p { margin: 0; font-family: var(--f-ja); font-size: clamp(22px, 3.2vw, 44px); line-height: 1.7; letter-spacing: .06em; }
@media (max-width: 800px) {
  .making__img--a, .making__body, .making__img--b { grid-column: 1 / -1; grid-row: auto; margin-top: 0; }
  .making__img--b { width: 70%; justify-self: end; }
}

/* ---------- service ---------- */
.service { padding: clamp(120px, 20vh, 220px) var(--gutter); }
.service__head { max-width: 1360px; margin: 0 auto 64px; }
.service__panels { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; max-width: 1600px; margin: 0 auto; }
.svc { position: relative; min-height: 78vh; overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; }
.svc__bg { position: absolute; inset: 0; z-index: -1; }
.svc__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); filter: grayscale(.7) brightness(.45); transition: transform 1.6s var(--ease), filter 1.2s var(--ease); }
.svc:hover .svc__bg img { transform: scale(1.02); filter: grayscale(0) brightness(.55); }
.svc__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,11,.95), rgba(10,10,11,.2) 70%); }
.svc__inner { padding: clamp(28px, 4vw, 64px); }
.svc__for { margin: 0; font-family: var(--f-en); font-style: italic; font-size: 22px; color: var(--gold); }
.svc__title { margin: 0 0 28px; font-family: var(--f-en); font-weight: 300; font-size: clamp(56px, 8vw, 128px); line-height: .95; letter-spacing: .01em; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.svc__tags li { font-size: 12px; letter-spacing: .14em; padding: 6px 14px; border: 1px solid var(--line); border-radius: 99px; background: rgba(10,10,11,.35); backdrop-filter: blur(6px); }
.svc__text { margin: 0; max-width: 34em; font-size: 14px; line-height: 2.2; color: var(--ink-2); }
@media (max-width: 800px) { .service__panels { grid-template-columns: 1fr; } .svc { min-height: 70vh; } }

/* ---------- works ---------- */
.works { position: relative; background: var(--bg); }
.works__pin { height: 100vh; display: flex; flex-direction: column; overflow: hidden; padding-top: 110px; }
.works__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px 48px;
  padding: 0 var(--gutter); margin-bottom: 4vh;
}
.works__head .section-label { width: 100%; margin-bottom: 0; }
.works__title { margin: 0; font-family: var(--f-en); font-weight: 300; font-size: clamp(48px, 7vw, 112px); line-height: .9; letter-spacing: -.01em; }
.works__title i { font-style: italic; color: var(--gold); }
.works__filter { display: flex; flex-wrap: wrap; gap: 6px 4px; margin-left: auto; }
.works__filter button {
  font-size: 12px; letter-spacing: .12em; padding: 7px 14px; border-radius: 99px; color: var(--mute);
  border: 1px solid transparent; transition: color .3s, border-color .3s;
}
.works__filter button:hover { color: var(--ink); }
.works__filter button[aria-selected="true"] { color: var(--ink); border-color: var(--line); }

.works__track { display: flex; gap: clamp(20px, 3vw, 48px); padding: 0 var(--gutter); flex: 1; align-items: center; will-change: transform; }
.work {
  flex: 0 0 auto; width: clamp(300px, 52vw, 860px);
  cursor: pointer; text-align: left; display: block;
}
.work__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.work__frame img, .work__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work__frame img { transform: scale(1.08); transition: transform 1.4s var(--ease), filter 1s; filter: brightness(.85); }
.work:hover .work__frame img { transform: scale(1.0); filter: brightness(1); }
.work__badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; padding: 5px 10px; background: rgba(10,10,11,.6); backdrop-filter: blur(6px);
}
.work__badge.is-play { background: var(--ink); color: var(--bg); }
.work__info { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: baseline; padding-top: 22px; border-top: 1px solid transparent; }
.work__num { font-family: var(--f-mono); font-size: 12px; color: var(--gold); }
.work__title { margin: 0; font-family: var(--f-ja); font-weight: 500; font-size: clamp(17px, 1.6vw, 24px); letter-spacing: .06em; line-height: 1.5; }
.work__en { display: block; font-family: var(--f-en); font-style: italic; font-weight: 300; font-size: .85em; color: var(--mute); letter-spacing: .04em; }
.work__genre { font-size: 11px; letter-spacing: .14em; color: var(--mute); white-space: nowrap; }
.work.is-hidden { display: none; }

.works__end { flex: 0 0 auto; width: clamp(260px, 28vw, 420px); align-self: center; margin-right: var(--gutter); }
.works__end p { font-family: var(--f-ja); font-size: clamp(18px, 1.8vw, 26px); line-height: 1.9; margin: 0 0 28px; }

.works__progress { position: relative; height: 1px; margin: 0 var(--gutter) 40px; background: var(--line); }
.works__progress span { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }

@media (max-width: 800px) {
  .works__pin { height: auto; padding: 96px 0 80px; }
  .works__track { flex-direction: column; align-items: stretch; gap: 56px; }
  .work, .works__end { width: 100%; }
  .works__filter { margin-left: 0; }
  .works__progress { display: none; }
  .work__info { grid-template-columns: auto 1fr; }
  .work__genre { grid-column: 2; }
}

/* ---------- flow ---------- */
.flow { padding: clamp(120px, 20vh, 220px) var(--gutter); background: var(--bg-2); }
.flow__head { max-width: 1100px; margin: 0 auto 80px; }
.flow__list { position: relative; max-width: 1100px; margin: 0 auto; padding-left: clamp(40px, 8vw, 120px); }
.flow__line { position: absolute; left: clamp(12px, 3vw, 40px); top: 12px; bottom: 12px; width: 1px; background: var(--line); }
.flow__line i { position: absolute; inset: 0; background: var(--gold); transform-origin: top; transform: scaleY(0); }
.step { display: grid; grid-template-columns: clamp(80px, 12vw, 180px) 1fr; gap: 24px; padding: 44px 0; border-bottom: 1px solid var(--line); position: relative; }
.step::before {
  content: ''; position: absolute; left: calc(-1 * clamp(40px, 8vw, 120px) + clamp(12px, 3vw, 40px) - 4px); top: 58px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--ink-2); transition: background .5s, border-color .5s;
}
.step.is-active::before { background: var(--gold); border-color: var(--gold); }
.step__num { font-family: var(--f-en); font-weight: 300; font-size: clamp(48px, 6vw, 88px); line-height: 1; color: var(--ink); opacity: .25; transition: opacity .6s; }
.step.is-active .step__num { opacity: 1; }
.step h3 { margin: 0 0 12px; font-family: var(--f-ja); font-weight: 500; font-size: clamp(20px, 2vw, 28px); letter-spacing: .08em; }
.step h3 em { margin-left: 16px; font-family: var(--f-en); font-style: italic; font-weight: 300; font-size: .7em; color: var(--mute); letter-spacing: .04em; }
.step p { margin: 0; max-width: 40em; color: var(--ink-2); line-height: 2.1; }
@media (max-width: 600px) { .step { grid-template-columns: 1fr; gap: 8px; } .step::before { top: 54px; } }

/* ---------- header / drawer external link ---------- */
.header__ext i { font-style: normal; font-family: var(--f-mono); font-size: 10px; margin-left: 4px; color: var(--gold); }
.header__nav .header__ext { padding-left: clamp(18px, 2.4vw, 40px); border-left: 1px solid var(--line); }
.drawer__ext { color: var(--gold); }

/* ---------- IT business ---------- */
.it { padding: clamp(80px, 14vh, 160px) var(--gutter); background: var(--bg-2); }
.it__card {
  position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px clamp(32px, 6vw, 96px); align-items: end;
  max-width: 1360px; margin: 0 auto; padding: clamp(32px, 5vw, 72px);
  border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: border-color .6s var(--ease);
}
.it__card::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 80% at 100% 100%, rgba(63, 160, 220, .16), transparent 70%),
              radial-gradient(40% 60% at 85% 20%, rgba(70, 200, 110, .10), transparent 70%);
  opacity: 0; transition: opacity .8s var(--ease);
}
.it__card:hover { border-color: rgba(236,230,220,.32); }
.it__card:hover::before { opacity: 1; }
.it__title { font-size: clamp(28px, 4vw, 56px); }
.it__lead { margin: 24px 0 0; max-width: 32em; color: var(--ink-2); line-height: 2.1; }
.it__list { display: grid; border-top: 1px solid var(--line); }
.it__list li {
  display: flex; gap: 18px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line);
  font-family: var(--f-ja); font-size: clamp(15px, 1.3vw, 18px); letter-spacing: .08em;
  transition: transform .6s var(--ease), color .4s;
}
.it__list li span { font-family: var(--f-mono); font-size: 11px; color: var(--gold); }
.it__card:hover .it__list li { transform: translateX(8px); }
.it__card:hover .it__list li:nth-child(2) { transition-delay: .04s; }
.it__card:hover .it__list li:nth-child(3) { transition-delay: .08s; }
.it__card:hover .it__list li:nth-child(4) { transition-delay: .12s; }
.it__go {
  grid-column: 1 / -1; justify-self: end;
  display: inline-flex; align-items: center; gap: 16px;
  font-size: 13px; letter-spacing: .16em; padding-bottom: 6px; border-bottom: 1px solid var(--ink);
}
.it__go i { font-style: normal; font-family: var(--f-mono); transition: transform .6s var(--ease); }
.it__card:hover .it__go i { transform: translate(4px, -4px); }
@media (max-width: 800px) {
  .it__card { grid-template-columns: 1fr; }
  .it__go { justify-self: start; }
}

/* ---------- CTA ---------- */
.cta { position: relative; min-height: 110vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 160px var(--gutter); }
.cta__media { position: absolute; inset: 0; clip-path: inset(18% 22% 18% 22%); will-change: clip-path; }
.cta__media video { width: 100%; height: 100%; object-fit: cover; }
.cta__shade { position: absolute; inset: 0; background: rgba(10,10,11,.62); }
.marquee { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); pointer-events: none; z-index: 1; opacity: .12; }
.marquee__inner { display: flex; width: max-content; white-space: nowrap; font-family: var(--f-en); font-style: italic; font-weight: 300; font-size: clamp(80px, 16vw, 260px); line-height: 1; }
.marquee__inner span { padding-right: .4em; }
.cta__content { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; width: 100%; text-align: center; }
.cta__content .section-label { justify-content: center; }
.cta__content .section-label::after { display: none; }
.cta__lead { margin: 32px 0 48px; color: var(--ink-2); font-family: var(--f-ja); font-size: 16px; letter-spacing: .1em; }
.cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta__note { margin: 28px 0 0; font-size: 11px; color: var(--mute); }

.btn {
  position: relative; display: inline-flex; align-items: center; gap: 18px;
  padding: 20px 34px; border-radius: 99px; overflow: hidden; isolation: isolate;
  font-size: 14px; letter-spacing: .14em; transition: color .5s var(--ease);
}
.btn i { font-style: normal; font-family: var(--f-mono); }
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary::before { background: var(--gold); }
.btn--ghost { border: 1px solid rgba(236,230,220,.4); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--bg); }
.btn--sm { padding: 14px 24px; font-size: 13px; }

/* ---------- footer ---------- */
.footer { padding: 80px var(--gutter) 32px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__big {
  font-family: var(--f-en); font-weight: 300; font-size: 24vw; line-height: .9; letter-spacing: -.02em;
  padding-bottom: .06em;
  text-align: center; margin-bottom: 72px;
  background: linear-gradient(to bottom, var(--ink), rgba(236,230,220,.08));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer__grid { display: grid; grid-template-columns: 2fr 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer__logo { width: 120px; height: auto; margin-bottom: 24px; }
.footer__catch { margin: 0 0 8px; font-family: var(--f-ja); font-size: 20px; letter-spacing: .1em; }
.footer__sub, .footer__info p { margin: 0; color: var(--ink-2); font-size: 13px; }
.footer__nav { display: grid; gap: 6px; align-content: start; font-family: var(--f-en); font-size: 16px; }
.footer__nav a { color: var(--ink-2); transition: color .3s; }
.footer__nav a:hover, .footer__info a:hover { color: var(--ink); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; color: var(--mute); }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 24px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(5,5,6,.86); backdrop-filter: blur(12px); opacity: 0; }
.modal__panel {
  position: relative; width: min(1180px, 100%); max-height: calc(100svh - 48px); overflow-y: auto;
  background: var(--bg-2); border: 1px solid var(--line);
  clip-path: inset(50% 0 50% 0);
  overscroll-behavior: contain;
}
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: rgba(10,10,11,.7); }
.modal__close span { position: absolute; left: 13px; right: 13px; top: 50%; height: 1px; background: var(--ink); }
.modal__close span:first-child { transform: rotate(45deg); }
.modal__close span:last-child { transform: rotate(-45deg); }
.modal__media { position: relative; aspect-ratio: 16 / 9; background: #000; }
.modal__media video, .modal__media img, .modal__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.modal__media video { object-fit: contain; }
.modal__soon {
  position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10,10,11,.45);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .3em;
}
.modal__body { padding: clamp(24px, 4vw, 56px); display: grid; gap: 20px; }
.modal__meta { display: flex; gap: 20px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--gold); }
.modal__meta span:last-child { color: var(--mute); }
.modal__title { margin: 0; font-family: var(--f-ja); font-weight: 500; font-size: clamp(24px, 3vw, 40px); letter-spacing: .06em; line-height: 1.4; }
.modal__overview { margin: 0; color: var(--ink-2); line-height: 2.2; max-width: 52em; }
.modal__dl { margin: 8px 0 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--line); padding-top: 24px; }
.modal__dl dt { font-family: var(--f-en); font-style: italic; color: var(--mute); margin-bottom: 8px; }
.modal__dl dd { margin: 0; font-size: 13px; line-height: 2; }
.modal__body .btn { justify-self: start; }
@media (max-width: 700px) { .modal { padding: 0; } .modal__panel { max-height: 100svh; height: 100svh; } .modal__dl { grid-template-columns: 1fr; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .grain, .hero__scroll i::after, .loader__rec i, .hud-rec i { animation: none; }
  [data-scrub-text] .w { opacity: 1 !important; }
  .scene { opacity: 1; }
}
