/* =================================================================
   CARTFIT.AI — tokens + global
   ================================================================= */
:root {
  /* bg / fg */
  --bg-0: #000000;
  --bg-1: #0A0A0A;
  --bg-2: #111111;
  --fg-0: #FFFFFF;
  --fg-1: #E6E6E6;
  --fg-2: #8A8A8A;
  --fg-3: #4A4A4A;
  --line-1: #1F1F1F;
  --line-2: #2A2A2A;
  --line-3: #3A3A3A;
  --accent: #C8FF00;

  /* type */
  --font-display: 'Barlow Condensed', 'Zen Kaku Gothic New', sans-serif;
  --font-sans:    'Barlow', 'Zen Kaku Gothic New', sans-serif;
  --font-jp:      'Zen Kaku Gothic New', 'Barlow', sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, monospace;

  /* layout */
  --page-pad: clamp(24px, 4vw, 56px);
  --nav-h: 64px;
  --bar-h: 40px;
  --rail-w: 1px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--bg-0);
  color: var(--fg-1);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; }
::selection { background: var(--accent); color: var(--bg-0); }

/* mono tag */
.tag {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10.5px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.tag--strong { color: var(--fg-0); }
.mono {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--fg-1);
}
.mono--data { color: var(--fg-0); font-size: 12.5px; }
.mono--accent { color: var(--accent); }

/* =================================================================
   FIXED CHROME — rails / nav / pager / bar
   ================================================================= */
.rail {
  position: fixed; top: 0; bottom: 0;
  width: var(--rail-w);
  background: var(--line-1);
  z-index: 5;
  pointer-events: none;
}
.rail--l { left: var(--page-pad); }
.rail--r { right: var(--page-pad); }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: stretch;
  padding: 0;
  padding-left: var(--page-pad);
  padding-right: 0;
  z-index: 10;
  background: var(--bg-0);
  border-bottom: 1px solid transparent;
}
.nav__l { display: flex; align-items: center; }
.nav__c {
  display: flex; gap: 40px;
  margin-left: auto;
  align-items: center;
  padding-right: 32px;
}
.nav::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--line-1);
}
.logo {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--fg-0);
}
.logo__mark { display: inline-flex; color: var(--fg-0); }
.logo__type {
  font-family: var(--font-sans);
  font-weight: 500; font-size: 13px;
  letter-spacing: 0.18em;
}
.logo__dot { color: var(--accent); }

.nav__link {
  font-family: var(--font-jp);
  font-weight: 500; font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--fg-2);
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.nav__link:hover { color: var(--fg-0); }
.nav__link.is-active { color: var(--fg-0); }
.nav__link.is-active::before {
  content: ''; position: absolute;
  left: -10px; top: 50%; transform: translateY(-50%);
  width: 4px; height: 4px; background: var(--accent);
}

/* お問い合わせ button — flush to the very right edge, full nav height */
.nav__cta {
  display: inline-flex; align-items: center; justify-content: center;
  align-self: stretch;
  height: var(--nav-h);
  padding: 0 32px;
  margin: 0;
  border: 0;
  border-left: 1px solid var(--line-2);
  color: var(--fg-0);
  font-family: var(--font-jp);
  font-weight: 500; font-size: 13px;
  letter-spacing: 0.16em;
  background: transparent;
  transition: background .2s, color .2s;
}
.nav__cta:hover { background: var(--accent); color: var(--bg-0); }

.nav__r { display: inline-flex; align-items: stretch; gap: 24px; height: var(--nav-h); margin-right: 0; padding-right: 0; }
.nav__r > .lang, .nav__r > .status { align-self: center; }
.nav__r > .nav__cta { margin-right: 0; }
.lang { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-jp); font-weight: 500; font-size: 12px; letter-spacing: 0.16em; }
.lang__btn { color: var(--fg-2); padding: 4px 0; }
.lang__btn.is-active { color: var(--fg-0); }
.lang__sep { color: var(--fg-3); }

.status { display: inline-flex; align-items: center; gap: 8px; }
.status__dot {
  width: 6px; height: 6px; background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(200,255,0,.6); }
  100% { box-shadow: 0 0 0 8px rgba(200,255,0,0); }
}
.status__txt {
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.22em;
  color: var(--fg-2);
}

/* RIGHT PAGER */
.pager {
  position: fixed;
  right: calc(var(--page-pad) - 28px - 8px);
  top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 18px;
  z-index: 6;
}
.pager__item {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.2em;
  color: var(--fg-3);
}
.pager__item i {
  display: block;
  width: 14px; height: 1px; background: currentColor;
  transition: width .25s, background .25s;
}
.pager__item span {
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .25s, transform .25s, color .25s;
}
.pager__item:hover { color: var(--fg-1); }
.pager__item:hover i { width: 22px; }
.pager__item:hover span { opacity: 1; transform: translateX(0); }
.pager__item.is-active { color: var(--accent); }
.pager__item.is-active i { width: 28px; background: var(--accent); }
.pager__item.is-active span { opacity: 1; transform: translateX(0); color: var(--fg-0); }

/* BOTTOM STATUS BAR */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0;
  height: var(--bar-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 var(--page-pad);
  background: var(--bg-0);
  border-top: 1px solid var(--line-1);
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.16em;
  color: var(--fg-2);
  z-index: 10;
}
.bar__l, .bar__r { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.bar__k { color: var(--fg-3); }
.bar__v { color: var(--fg-1); }
.bar__c { overflow: hidden; }
.bar__tick {
  display: inline-block; white-space: nowrap;
  animation: tick 40s linear infinite;
  color: var(--fg-2);
  font-size: 10.5px; letter-spacing: 0.16em;
  padding-left: 100%;
}
@keyframes tick {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* =================================================================
   SNAP CONTAINER + SCREENS
   ================================================================= */
.snap {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}
.snap::-webkit-scrollbar { display: none; }

.screen {
  position: relative;
  min-height: 100vh;
  scroll-snap-align: start;
  padding: calc(var(--nav-h) + 32px) calc(var(--page-pad) + 96px) calc(var(--bar-h) + 32px) calc(var(--page-pad) + 64px);
  display: flex;
  flex-direction: column;
}

/* corner marks */
.corner {
  position: absolute;
  width: 14px; height: 14px;
  pointer-events: none;
}
.corner--tl { top:    calc(var(--nav-h) + 12px); left:  calc(var(--page-pad) + 12px); border-top:    1px solid var(--line-3); border-left:   1px solid var(--line-3); }
.corner--tr { top:    calc(var(--nav-h) + 12px); right: calc(var(--page-pad) + 12px); border-top:    1px solid var(--line-3); border-right:  1px solid var(--line-3); }
.corner--bl { bottom: calc(var(--bar-h) + 12px); left:  calc(var(--page-pad) + 12px); border-bottom: 1px solid var(--line-3); border-left:   1px solid var(--line-3); }
.corner--br { bottom: calc(var(--bar-h) + 12px); right: calc(var(--page-pad) + 12px); border-bottom: 1px solid var(--line-3); border-right:  1px solid var(--line-3); }

/* =================================================================
   BUTTONS
   ================================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  height: 48px; padding: 0 22px;
  border: 1px solid var(--fg-0);
  color: var(--fg-0);
  font-family: var(--font-sans);
  font-weight: 500; font-size: 12px;
  letter-spacing: 0.22em; text-transform: uppercase;
  background: transparent;
  transition: background .25s, color .25s, border-color .25s;
  position: relative;
}
.btn:hover { background: var(--fg-0); color: var(--bg-0); }
.btn .arrow {
  position: relative;
  width: 16px; height: 1px;
  background: currentColor;
}
.btn .arrow i {
  position: absolute;
  right: 0; top: -3px;
  width: 6px; height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn--ghost { border-color: var(--line-3); color: var(--fg-2); }
.btn--ghost:hover { background: transparent; color: var(--fg-0); border-color: var(--fg-0); }

/* =================================================================
   01 / HERO
   ================================================================= */
.hero { position: relative; }
.hero__meta {
  position: absolute;
  top: calc(var(--nav-h) + 36px);
  display: flex; flex-direction: column; gap: 14px;
  z-index: 3;
}
.hero__meta--l { left:  calc(var(--page-pad) + 32px); }
.hero__meta--r { right: calc(var(--page-pad) + 32px); align-items: flex-end; }
.meta__row { display: flex; align-items: center; gap: 12px; }
.meta__row--end { justify-content: flex-end; }
.meta__sep { width: 80px; height: 1px; background: var(--line-2); margin: 4px 0; }
.meta__col { display: flex; flex-direction: column; gap: 6px; }
.meta__col--end { align-items: flex-end; }

.hero__stage {
  flex: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  position: relative;
}

/* center crosshair */
.cross {
  position: absolute; inset: 0;
  pointer-events: none;
  display: grid; place-items: center;
  z-index: 1;
}
.cross::before, .cross::after {
  content: ''; position: absolute;
  background: var(--line-1);
}
.cross::before { left: 0; right: 0; height: 1px; top: 50%; }
.cross::after  { top: 0; bottom: 0; width: 1px; left: 50%; }
.cross__h, .cross__v { display: none; }

/* product video behind the type */
.hero-media {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%; transform: translateX(-50%);
  width: 100vw;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-media__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(.15) contrast(1.05) brightness(.92);
  background: var(--bg-0);
}
/* dim scrim — reduced 30% so video reads stronger */
.hero-media__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,.175) 0%, rgba(0,0,0,.6) 75%),
    linear-gradient(to bottom, rgba(0,0,0,.385), rgba(0,0,0,.245) 40%, rgba(0,0,0,.385));
}
.hero-media__tag {
  position: absolute;
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-2);
  padding: 6px 8px;
}
.hero-media__tag--tl { top: 8%;     left: 8%;  color: var(--accent); }
.hero-media__tag--tl::before {
  content: ''; display: inline-block;
  width: 6px; height: 6px; background: var(--accent);
  margin-right: 8px; vertical-align: 1px;
  animation: pulse 2s ease-out infinite;
}
.hero-media__tag--tr { top: 8%;     right: 8%; }
.hero-media__tag--bl { bottom: 8%;  left: 8%;  }
.hero-media__tag--br { bottom: 8%;  right: 8%; }

/* top eyebrow — sits at the top of the stage, just under the meta row */
.hero__eyebrow {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 14px;
  justify-self: start;
  padding-top: 4px;
}
.hero__eyebrow .line {
  display: inline-block; width: 56px; height: 1px;
  background: var(--accent);
}

/* hero type — left-aligned, settled to the left margin of the stage */
.hero__type {
  position: relative; z-index: 2;
  text-align: left;
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  align-self: center;
  transform: translateY(5vh);
  max-width: 60%;
}
.hero__h {
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--fg-1);
  display: flex; flex-direction: column; gap: 2px;
}
.hero__h-jp { display: block; }
.hero__brand {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(88px, 13vw, 200px);
  line-height: .85;
  letter-spacing: -0.02em;
  color: var(--fg-0);
}
.hero__brand-dot { color: var(--accent); font-weight: 300; }

.hero__cta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 48px;
  position: relative; z-index: 2;
}
.hero__scroll {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--fg-2);
}
.hero__scroll-line {
  display: inline-block; position: relative;
  width: 120px; height: 1px;
  background: var(--line-2);
  overflow: hidden;
}
.hero__scroll-line i {
  position: absolute; top: 0; left: -30%;
  width: 30%; height: 1px;
  background: var(--accent);
  animation: scrollSlide 2.4s ease-in-out infinite;
}
@keyframes scrollSlide {
  0%   { left: -30%; }
  100% { left: 100%; }
}

/* =================================================================
   02 / DETAILS
   ================================================================= */
.details {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 48px;
}

.d-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}
.d-head__c { display: flex; align-items: center; justify-content: center; }
.d-head__r { display: flex; justify-content: flex-end; }

.d-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--fg-0);
  display: inline-flex; align-items: center; gap: 32px;
}
.d-title__rule {
  display: inline-block;
  width: clamp(80px, 14vw, 220px);
  height: 1px;
  background: var(--fg-3);
}

.d-body {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.d-body__l { display: flex; flex-direction: column; gap: 28px; padding-top: 16px; }

.d-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
}
.d-eyebrow__rule {
  display: inline-block; width: 60px; height: 1px;
  background: var(--line-3);
}

.d-name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(56px, 8vw, 128px);
  line-height: .92;
  letter-spacing: -0.01em;
  color: var(--fg-0);
}
.d-name__sub {
  display: block;
  font-size: 0.32em;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--fg-2);
  margin-top: 12px;
  font-family: var(--font-mono);
}

.d-en {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.3;
  color: var(--fg-1);
  letter-spacing: 0;
  margin-top: -4px;
}
.d-jp {
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--fg-2);
}
.d-desc {
  font-family: var(--font-jp);
  font-size: 14px;
  line-height: 1.85;
  color: var(--fg-2);
  max-width: 44ch;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--line-1);
}

.d-actions { display: flex; gap: 16px; margin-top: 8px; }

/* right: image frame */
.d-body__r { display: flex; flex-direction: column; gap: 32px; }
.d-frame {
  position: relative;
  border: 1px solid var(--line-3);
  background: var(--bg-1);
}
.d-frame__tag {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.22em;
  color: var(--fg-3);
  z-index: 2;
}
.d-frame__tag--r { left: auto; right: 12px; color: var(--fg-2); }
.d-frame__inner {
  position: relative;
  aspect-ratio: 16/10;
  display: grid; place-items: center;
  background:
    linear-gradient(0deg, rgba(255,255,255,.012), rgba(255,255,255,.012)),
    repeating-linear-gradient(0deg,
      transparent 0 24px,
      rgba(255,255,255,.025) 24px 25px),
    repeating-linear-gradient(90deg,
      transparent 0 24px,
      rgba(255,255,255,.018) 24px 25px);
  overflow: hidden;
}
.d-frame__placeholder {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.24em;
  color: var(--fg-3);
}
/* product 3D model video — black bg → screen-blended so only the model shows */
.d-model {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: contrast(1.05) brightness(1.05);
  pointer-events: none;
}
.corner--ghost { width: 10px; height: 10px; border-color: var(--fg-3); }
.d-frame .corner--tl { top: 8px; left: 8px; }
.d-frame .corner--tr { top: 8px; right: 8px; }
.d-frame .corner--bl { bottom: 8px; left: 8px; }
.d-frame .corner--br { bottom: 8px; right: 8px; }

.d-frame__scan {
  position: absolute; left: 0; right: 0; top: 30%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,255,0,.35), transparent);
  animation: scan 5s ease-in-out infinite;
}
@keyframes scan {
  0%   { top: 12%; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { top: 92%; opacity: 0; }
}

/* annotation callouts */
.anno {
  position: absolute;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.22em;
  color: var(--fg-2);
  z-index: 3;
}
.anno__dot { width: 6px; height: 6px; border: 1px solid var(--accent); background: transparent; flex: none; }
.anno__line { display: inline-block; height: 1px; background: var(--line-3); flex: none; }
.anno__txt { display: inline-flex; align-items: center; gap: 8px; }
.anno__txt .tag { color: var(--accent); }
.anno--a { top: 22%; left: 24%; }
.anno--a .anno__line { width: 80px; }
.anno--b { top: 48%; right: 12%; flex-direction: row-reverse; }
.anno--b .anno__line { width: 70px; }
.anno--b .anno__txt { flex-direction: row-reverse; }
.anno--c { bottom: 22%; left: 18%; }
.anno--c .anno__line { width: 100px; }

/* spec list */
.spec {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line-2);
}
.spec__row {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 24px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line-1);
}
.spec__row dt { color: var(--fg-2); }
.spec__row dd { display: flex; align-items: center; gap: 16px; }
.spec__row .leader {
  flex: 1; height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-3) 0 4px, transparent 4px 8px);
}

/* =================================================================
   responsive
   ================================================================= */
@media (max-width: 1100px) {
  .nav__c { display: none; }
  .pager { display: none; }
  .hero__meta--l, .hero__meta--r { display: none; }
  .d-body { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .bar { font-size: 9.5px; gap: 12px; padding: 0 16px; }
  .bar__l { display: none; }
  .nav__r .status { display: none; }
  .hero__brand { font-size: clamp(72px, 22vw, 140px); }
  .d-title { font-size: 48px; gap: 16px; }
  .d-title__rule { width: 60px; }
  .anno { display: none; }
}

/* =================================================================
   NAV — disabled links
   ================================================================= */
.nav__link--disabled {
  opacity: 0.3;
  pointer-events: none;
  cursor: default;
}

/* =================================================================
   03 / TEAM
   ================================================================= */
.tm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-1);
}
.tm-member {
  padding: 48px 36px;
  
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tm-photo {
  position: relative;
  width: 70%;
  aspect-ratio: 3/4;
  margin-bottom: 36px;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  overflow: hidden;
  flex-shrink: 0;
}
.tm-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(0.15) contrast(1.05);
  display: block;
}
.tm-photo__placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.tm-photo__cross { position: absolute; inset: 0; pointer-events: none; }
.tm-photo__cross::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 50%;
  height: 1px; background: #161616;
}
.tm-photo__cross::after {
  content: '';
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 1px; background: #161616;
}
.tm-photo__label {
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.24em;
  color: #222;
  position: relative; z-index: 1;
}
.tm-corner {
  position: absolute;
  width: 8px; height: 8px;
  pointer-events: none; z-index: 2;
}
.tm-corner.c-tl { top: 7px; left: 7px; border-top: 1px solid var(--line-3); border-left: 1px solid var(--line-3); }
.tm-corner.c-tr { top: 7px; right: 7px; border-top: 1px solid var(--line-3); border-right: 1px solid var(--line-3); }
.tm-corner.c-bl { bottom: 7px; left: 7px; border-bottom: 1px solid var(--line-3); border-left: 1px solid var(--line-3); }
.tm-corner.c-br { bottom: 7px; right: 7px; border-bottom: 1px solid var(--line-3); border-right: 1px solid var(--line-3); }
.tm-photo__scan {
  position: absolute; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,255,0,.2), transparent);
  animation: tmscan 6s ease-in-out infinite;
  pointer-events: none; z-index: 3;
}
@keyframes tmscan {
  0%   { top: 8%; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { top: 92%; opacity: 0; }
}
.tm-photo__tag {
  position: absolute; bottom: 8px; left: 10px;
  font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.2em;
  color: #2A2A2A; z-index: 4;
}
.tm-role {
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.32em;
  color: var(--accent);
  margin-bottom: 14px;
}
.tm-name-jp {
  font-family: var(--font-jp);
  font-weight: 300; font-size: 21px; letter-spacing: 0.1em;
  color: var(--fg-0); line-height: 1; margin-bottom: 7px;
}
.tm-name-en {
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.24em;
  color: var(--fg-3); margin-bottom: 28px;
}
.tm-sep { width: 24px; height: 1px; background: var(--line-2); margin: 0 auto 24px; }
.tm-meta { display: flex; flex-direction: column; gap: 9px; margin-bottom: 28px; width: 100%; }
.tm-meta-row {
  font-family: var(--font-mono);
  font-size: 9.5px; letter-spacing: 0.1em;
  color: var(--fg-3); text-align: center;
}
.tm-kicker {
  font-family: var(--font-jp);
  font-weight: 300; font-size: 11px; letter-spacing: 0.04em;
  color: #5A5A5A; line-height: 1.9;
  padding-top: 18px; border-top: 1px solid #0D0D0D;
  margin-top: auto; width: 100%;
}
.tm-footer {
  margin-top: 56px; padding-top: 20px;
  border-top: 1px solid var(--line-1);
  display: flex; justify-content: space-between;
}

/* =================================================================
   04 / ACHIEVEMENTS
   ================================================================= */
.ac-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 40px;
}
.ac-title-block { margin-bottom: 16px; }
.ac-title {
  font-family: var(--font-display);
  font-weight: 100;
  font-size: clamp(72px, 12vw, 160px);
  line-height: 0.88; letter-spacing: -0.01em;
  color: var(--fg-0); display: block;
}
.ac-subtitle {
  font-family: var(--font-mono);
  font-size: 9.5px; letter-spacing: 0.28em;
  color: var(--fg-3); margin-top: 18px; display: block;
}
.ac-counters {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin: 48px 0; border-top: 1px solid var(--line-1);
}
.ac-counter {
  padding: 36px 0 28px; 
  position: relative; cursor: default;
}
.ac-counter__line {
  position: absolute; top: 0; left: 0;
  height: 1px; background: var(--accent);
  width: 32px;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.ac-counter:hover .ac-counter__line { width: 100%; }
.ac-counter__n {
  font-family: var(--font-display); font-weight: 100;
  font-size: clamp(60px, 8vw, 100px); line-height: 1; letter-spacing: -0.02em;
  color: var(--fg-0); display: flex; align-items: flex-end; gap: 8px;
  padding-right: 20px;
}
.ac-counter__unit {
  font-family: var(--font-mono);
  font-size: 0.18em; font-weight: 400;
  color: var(--fg-3); letter-spacing: 0.22em;
  padding-bottom: 0.4em;
  transition: color 0.3s;
}
.ac-counter:hover .ac-counter__unit { color: var(--accent); }
.ac-counter__label {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.22em;
  color: var(--fg-3); margin-top: 8px; padding-right: 20px;
}
.ac-rows { border-top: 1px solid var(--line-1); }
.ac-row {
  display: grid; grid-template-columns: 180px 1fr;
  align-items: start; border-bottom: 1px solid #0D0D0D; padding: 22px 0;
}
.ac-row__cat {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
  color: #8A8A8A; padding-top: 3px;
  display: flex; align-items: center; gap: 10px;
  transition: color 0.3s;
}
.ac-row__dot {
  width: 4px; height: 4px; background: var(--fg-3); flex-shrink: 0;
  transition: background 0.3s, box-shadow 0.3s;
}
.ac-row__entries { display: flex; flex-direction: column; }
.ac-row__entry {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; padding: 9px 0; border-bottom: 1px solid #080808;
}
.ac-row__entry:last-child { border-bottom: none; }
.ac-row__name {
  font-family: var(--font-jp); font-weight: 300;
  font-size: 13.5px; letter-spacing: 0.04em;
  color: var(--fg-1); line-height: 1.5; transition: color 0.3s;
}
.ac-row__win {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.18em;
  color: var(--accent); white-space: nowrap; flex-shrink: 0;
}
.ac-row__ongoing {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.18em;
  color: var(--accent); white-space: nowrap; flex-shrink: 0;
  display: flex; align-items: center; gap: 8px;
}
.ac-row__date {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.16em;
  color: var(--fg-3); white-space: nowrap; flex-shrink: 0;
}
.dot-live {
  width: 4px; height: 4px; background: var(--accent);
  border-radius: 50%; flex-shrink: 0;
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.15} }

/* hover linkage */
.ac-counter[data-target="wins"]:hover ~ .ac-rows .ac-row[data-row="wins"] .ac-row__cat,
.ac-counter[data-target="adopted"]:hover ~ .ac-rows .ac-row[data-row="adopted"] .ac-row__cat,
.ac-counter[data-target="pilots"]:hover ~ .ac-rows .ac-row[data-row="pilots"] .ac-row__cat { color: var(--accent); }
.ac-counter[data-target="wins"]:hover ~ .ac-rows .ac-row[data-row="wins"] .ac-row__dot,
.ac-counter[data-target="adopted"]:hover ~ .ac-rows .ac-row[data-row="adopted"] .ac-row__dot,
.ac-counter[data-target="pilots"]:hover ~ .ac-rows .ac-row[data-row="pilots"] .ac-row__dot { background: var(--accent); box-shadow: 0 0 0 3px rgba(200,255,0,0.15); }
.ac-counter[data-target="wins"]:hover ~ .ac-rows .ac-row[data-row="wins"] .ac-row__name,
.ac-counter[data-target="adopted"]:hover ~ .ac-rows .ac-row[data-row="adopted"] .ac-row__name,
.ac-counter[data-target="pilots"]:hover ~ .ac-rows .ac-row[data-row="pilots"] .ac-row__name { color: var(--fg-0); }

.ac-foot {
  margin-top: 40px; padding-top: 18px;
  border-top: 1px solid var(--line-1);
  display: flex; justify-content: space-between;
}


/* =================================================================
   05 / CONTACT
   ================================================================= */
.ct-section { overflow: hidden; }
.ct-ghost {
  position: absolute;
  right: -20px; bottom: -40px;
  font-family: var(--font-display); font-weight: 100;
  font-size: clamp(200px, 30vw, 320px);
  line-height: 1; letter-spacing: -0.04em;
  color: #080808; pointer-events: none;
  user-select: none; z-index: 0; white-space: nowrap;
}
.ct-body {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 64px; flex: 1; align-items: center;
  position: relative; z-index: 1;
}
.ct-divider { background: var(--line-1); align-self: stretch; }
.ct-info { display: flex; flex-direction: column; }
.ct-info__row {
  display: grid; grid-template-columns: 72px 1fr;
  gap: 16px; padding: 16px 0;
  border-bottom: 1px solid #0A0A0A; align-items: baseline;
  opacity: 0; animation: ct-rise 0.6s ease forwards; animation-delay: var(--d, 0.3s);
}
.ct-info__row:last-child { border-bottom: none; }
.ct-info__key { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.2em; color: var(--fg-3); }
.ct-info__val { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: #6A6A6A; line-height: 1.7; }
.ct-cta { display: flex; flex-direction: column; gap: 28px; padding-left: 16px; position: relative; z-index: 1; }
.ct-cta__label {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.28em;
  color: var(--fg-3);
  opacity: 0; animation: fadeup 0.6s ease forwards 0.4s;
}
.ct-cta__desc {
  font-family: var(--font-jp); font-weight: 300;
  font-size: 12.5px; letter-spacing: 0.05em; color: #3A3A3A; line-height: 2;
  opacity: 0; animation: fadeup 0.6s ease forwards 0.5s;
}
.ct-cta__mail {
  position: relative; display: inline-block;
  font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.1em;
  color: var(--fg-0); background: none; border: none;
  padding: 0; cursor: pointer; text-align: left;
  opacity: 0; animation: fadeup 0.6s ease forwards 0.6s;
}
.ct-cta__mail::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  height: 1px; background: var(--accent);
  width: 0; transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.ct-cta__mail:hover { color: var(--accent); }
.ct-cta__mail:hover::after { width: 100%; }
.ct-cta__cursor {
  display: inline-block; width: 2px; height: 14px;
  background: var(--accent); margin-left: 4px; vertical-align: middle;
  animation: blink 1.2s step-end infinite;
}
.ct-cta__line {
  width: 0; height: 1px; background: var(--line-2);
  animation: linegrow 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.8s;
}
.ct-foot {
  margin-top: 56px; padding-top: 18px;
  border-top: 1px solid var(--line-1);
  display: flex; justify-content: space-between;
  position: relative; z-index: 1;
}
.ct-scroll {
  position: absolute; right: 80px; bottom: 56px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeup 0.8s ease forwards 1s;
}
.ct-scroll__txt {
  font-family: var(--font-mono); font-size: 8px;
  letter-spacing: 0.24em; color: #1F1F1F; writing-mode: vertical-rl;
}
.ct-scroll__line { width: 1px; height: 40px; background: #111; position: relative; overflow: hidden; }
.ct-scroll__line::after {
  content: ''; position: absolute; top: -100%; left: 0;
  width: 1px; height: 100%; background: var(--accent);
  animation: scrolldown 2s ease-in-out infinite;
}
@keyframes scrolldown { 0%{top:-100%} 100%{top:100%} }


/* contact layout fix */
.ct-section {
  display: flex;
  flex-direction: column;
}
.ct-body {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 64px;
  flex: 1;
  align-items: center;
  margin-top: 48px;
}

@keyframes ct-rise { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
.ct-cta__label { animation: ct-rise 0.6s ease forwards 0.4s !important; }
.ct-cta__desc  { animation: ct-rise 0.6s ease forwards 0.5s !important; }
.ct-cta__mail  { animation: ct-rise 0.6s ease forwards 0.6s !important; }
.ct-scroll     { animation: ct-rise 0.8s ease forwards 1s !important; }

/* ensure fadeup keyframe exists for ac + ct sections */
@keyframes fadeup {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* contact — force visible, remove animation dependency */
.ct-info__row,
.ct-cta__label,
.ct-cta__desc,
.ct-cta__mail,
.ct-scroll {
  opacity: 1 !important;
  animation: none !important;
  transform: none !important;
}

/* FOUNDER — single member layout */
.tm-grid--single {
  grid-template-columns: 1fr;
  max-width: 320px;
  margin: 0 auto;
  border-top: 1px solid var(--line-1);
}
.tm-grid--single .tm-photo {
  width: 100%;
}

/* photo vignette */
.tm-photo__vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.7) 100%);
  pointer-events: none; z-index: 2;
}