@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@1,400;1,500&display=swap');
/* Veska — dark signal homepage */
:root {
  --accent: #2bee4b;
  --ink: #0e120f;
  --ink-2: #141a15;
  --ink-3: #1a211b;
  --linen: #fafffa;
  --muted: rgba(250, 255, 250, 0.56);
  --faint: rgba(250, 255, 250, 0.32);
  --hairline: rgba(250, 255, 250, 0.13);
  --font-sans: 'Hanken Grotesk', 'Noto Sans JP', ui-sans-serif, system-ui, sans-serif;
  --font-tag: 'Space Grotesk', 'Noto Sans JP', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--linen);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 48px; }

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

.tag {
  font-family: var(--font-tag);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.tag .dot { color: var(--accent); }

/* ── nav ─────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  pointer-events: none;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  /* full-bleed: logo + controls sit near the screen edges, not a 1280px box */
  max-width: none;
  padding: 0 clamp(18px, 2vw, 30px);
}
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav .logo, .nav .menu-btn, .nav .nav-right { pointer-events: auto; }
@media (max-width: 560px) { .nav-right { gap: 10px; } .nav .lang-toggle button { padding: 6px 10px; } }

/* language toggle */
.lang-toggle {
  display: flex;
  border: 1px solid var(--faint);
  border-radius: 8px;
  overflow: hidden;
}
.lang-toggle button {
  background: transparent;
  color: var(--muted);
  border: none;
  padding: 7px 13px;
  font-family: var(--font-tag);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.lang-toggle button:hover { color: var(--linen); }
.lang-toggle button.on { background: var(--accent); color: #0c100d; }

/* menu button */
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  color: var(--linen);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 4px;
}
.menu-btn:hover { color: var(--accent); }
.menu-bars { display: flex; gap: 4px; align-items: flex-end; }
.menu-bars i { width: 3.5px; background: var(--accent); border-radius: 2px; }
.menu-bars i:nth-child(1) { height: 14px; }
.menu-bars i:nth-child(2) { height: 19px; }
.menu-bars i:nth-child(3) { height: 11px; }

/* menu dropdown — anchored under the menu button, top-right */
.menu-veil {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.menu-veil.on { opacity: 1; pointer-events: auto; }
.menu-dd {
  position: fixed;
  top: 68px;
  right: clamp(14px, 2vw, 28px);
  z-index: 100;
  width: min(290px, calc(100vw - 28px));
  background: rgba(11, 14, 12, 0.97);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(250, 255, 250, 0.12);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transform-origin: top right;
  transform: scale(0.92) translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.36s cubic-bezier(0.32, 0.72, 0, 1);
}
.menu-dd.on { transform: none; opacity: 1; pointer-events: auto; }
.menu-dd-links { display: flex; flex-direction: column; }
.menu-dd-links a {
  display: flex;
  align-items: baseline;
  gap: 13px;
  padding: 12px 13px;
  border-radius: 10px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--linen);
  transition: background 0.18s, color 0.18s;
}
.menu-dd-links a:hover, .menu-dd-links a.on { background: rgba(250, 255, 250, 0.06); color: var(--accent); }
.lang-ja .menu-dd-links a { letter-spacing: 0; }
.menu-num {
  font-family: var(--font-tag);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.menu-dd-mail { padding: 12px 13px 4px; color: var(--muted); }

/* sub-page header */
.page-head { padding: 96px 0 10px; }
.page-head h1 {
  margin: 0;
  font-size: clamp(56px, 7.4vw, 116px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}
.lang-ja .page-head h1 { letter-spacing: 0; line-height: 1.12; }
.page-head .tag { display: block; margin-top: 18px; }

/* ventures registry */
.reg { margin-top: 46px; }
.reg-row {
  display: grid;
  grid-template-columns: 64px 1fr 180px 150px 90px;
  gap: 16px;
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid var(--hairline);
  font-size: 15px;
}
.reg-row.head {
  padding: 12px 4px;
  border-bottom: 1px solid var(--faint);
  font-family: var(--font-tag);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.reg-row .name { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.reg-row.live { cursor: pointer; transition: background 0.15s; }
.reg-row.live:hover { background: rgba(250, 255, 250, 0.03); }
.reg-row.ghost { opacity: 0.34; }
.reg-num { font-family: var(--font-tag); color: var(--muted); }

/* about page */
.verbs { margin-top: 56px; border-top: 1px solid var(--hairline); }
.verb-row {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 30px 4px;
  border-bottom: 1px solid var(--hairline);
}
.verb-row h3 { margin: 0; font-size: clamp(30px, 3vw, 44px); font-weight: 600; letter-spacing: -0.025em; }
.verb-row p { margin: 0; color: var(--muted); }
.about-quote { padding: 110px 0 30px; }
.about-quote blockquote {
  margin: 0;
  font-size: clamp(28px, 2.8vw, 42px);
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 760px;
  line-height: 1.3;
}
.lang-ja .about-quote blockquote { letter-spacing: 0; }

/* team page */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 46px;
}
.team-card {
  background: var(--ink-2);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.team-card .photo { height: 300px; }
.team-card .photo image-slot { width: 100%; height: 100%; display: block; }
.team-card .photo img.founder-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 12%; /* frame toward the top so the face shows */
  filter: grayscale(1) contrast(1.04) brightness(0.94);
}
.team-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.team-body h3 { margin: 0 0 6px; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.team-body .team-tick { display: block; width: 34px; height: 3px; background: var(--accent); border-radius: 2px; margin: 16px 0; }
.team-body p { margin: 0 0 18px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.team-card.ghost { border-style: dashed; background: transparent; justify-content: center; }
.team-card.ghost .team-body { justify-content: center; }

/* contact page */
.contact-body { padding: 50px 0 140px; }
.contact-email {
  display: inline-block;
  font-family: var(--font-tag);
  font-size: clamp(30px, 4.6vw, 70px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--linen);
  border-bottom: 3px solid var(--accent);
  padding-bottom: 8px;
  margin: 36px 0 22px;
  transition: color 0.15s;
}
.contact-email:hover { color: var(--accent); }

/* logo lockup (L7) */
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { position: relative; width: 26px; height: 24px; flex: none; }
/* bigger lockup in the nav; collapses to the V mark on scroll */
.nav .logo { gap: 12px; }
.nav .logo-mark { width: 36px; height: 33px; }
.nav .logo-mark i { width: 7.5px; height: 34px; border-radius: 4px; }
.nav .logo-mark i:first-child { left: 5px; }
.nav .logo-mark i:last-child { right: 5px; }
.nav .logo-word {
  font-size: 27px;
  max-width: 220px;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.38s ease, opacity 0.28s ease;
}
body.nav-scrolled .nav .logo-word { max-width: 0; opacity: 0; }
.logo-mark i {
  position: absolute;
  top: 0;
  width: 5.5px;
  height: 25px;
  border-radius: 3px;
}
.logo-mark i:first-child { left: 3.5px; background: var(--linen); transform: rotate(-15deg); transform-origin: top left; }
.logo-mark i:last-child { right: 3.5px; background: var(--accent); transform: rotate(15deg); transform-origin: top right; }
.logo-word { font-size: 19px; font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.logo-word b { font-weight: 600; color: var(--accent); }

/* ── hero ────────────────────────────────────── */
.hero-light {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #fafffa;
  color: #121613;
  overflow: hidden;
}
.hero-light-inner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 40px 0;
}
.hstate {
  margin: 0;
  text-align: center;
  font-size: clamp(60px, 8.6vw, 132px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: #121613;
}
.hline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.24em;
}
.htile {
  position: relative;
  display: inline-block;
  width: 2.05em;
  height: 0.76em;
  border-radius: 14px;
  overflow: hidden;
  flex: none;
}
.htile image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: grayscale(1) contrast(1.04) brightness(0.94);
  will-change: clip-path;
}
/* a swapped-in hero photo wipes up from the bottom, cutting over the one beneath it */
@keyframes heroWipe {
  from { clip-path: inset(100% 0 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
.htile::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: var(--accent);
  mix-blend-mode: soft-light;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
/* Pure black & white — green duotone tint disabled (kept selector for compatibility) */
body.treat-duotone .htile::after { opacity: 0; }

/* ── scroll story ─────────────────────── */
.story { position: relative; height: 340vh; }
.story-stick {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
/* photos ride a half-circular arc; positions set imperatively in JS */
.story-arc { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.story-arc-line { display: none; }
.story-orb {
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(140px, 22vw, 300px);
  height: clamp(186px, 29vw, 392px);
  border-radius: 14px;
  overflow: hidden;
  will-change: transform, opacity;
  opacity: 0;
}
.story-orb image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: grayscale(1) contrast(1.04) brightness(0.94);
}
.story-text {
  position: absolute;
  left: 42%;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  font-size: clamp(38px, 4.3vw, 66px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.16;
  z-index: 5;
}
.lang-ja .story-text { letter-spacing: 0; line-height: 1.3; font-size: clamp(34px, 3.9vw, 58px); }
.story-line { display: block; min-height: 1.16em; }
.story-cursor {
  display: inline-block;
  width: 0.55em;
  height: 0.11em;
  margin-left: 0.12em;
  background: var(--accent);
  vertical-align: baseline;
}
.story-side {
  position: absolute;
  left: 48px;
  bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  z-index: 5;
}

/* ── sideways band ────────────────────── */
.band {
  position: relative;
  background: #fafffa;
  color: #121613;
  overflow: hidden;
  padding-top: 130px;
}
.band-row {
  display: flex;
  align-items: center;
  width: max-content;
  white-space: nowrap;
  font-size: clamp(96px, 13.5vw, 232px);
  line-height: 1.02;
  will-change: transform;
}
.band-row > * { margin-right: 0.5em; }
/* content is duplicated in JS, so translateX(-50%) loops seamlessly */
.band-left { animation: bandLeft 34s linear infinite; }
.band-right { animation: bandRight 27s linear infinite; }
@keyframes bandLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes bandRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .band-left, .band-right { animation: none; } }
.band-row2 { margin-top: 0.1em; }
.b-serif { font-family: 'Zen Old Mincho', 'Instrument Serif', Georgia, serif; font-weight: 600; }
.b-pixel { font-family: 'DotGothic16', monospace; letter-spacing: -0.02em; }
.band-tile { width: 2.4em; height: 0.92em; }
.band .hero-wave { margin-top: 80px; }

/* ── approach venn ────────────────────── */
.approach {
  position: relative;
  height: 340vh;
  background: #fafffa;
}
/* fine wavy "security paper" texture on every light section */
.hero-light, .band, .approach {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='120'%20height='5.5'%3E%3Cpath%20d='M0%202.75%20Q30%201%2060%202.75%20T120%202.75'%20fill='none'%20stroke='%23959e98'%20stroke-opacity='0.3'%20stroke-width='0.6'/%3E%3C/svg%3E");
  background-size: 120px 5.5px;
  background-repeat: repeat;
}

/* ecosystem "see all ventures" CTA */
.eco-cta { display: flex; justify-content: center; margin-top: 40px; }
.reg-row.open .reg-num, .reg-row.open span { opacity: 0.85; }

/* ── light theme (team page) ─────────────────── */
body.theme-light {
  background-color: #fafffa;
  color: #121613;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='120'%20height='5.5'%3E%3Cpath%20d='M0%202.75%20Q30%201%2060%202.75%20T120%202.75'%20fill='none'%20stroke='%23959e98'%20stroke-opacity='0.3'%20stroke-width='0.6'/%3E%3C/svg%3E");
  background-size: 120px 5.5px;
  background-repeat: repeat;
  background-attachment: fixed;
}
body.theme-light .nav .logo-word { color: #121613; }
body.theme-light .nav .logo-mark i:first-child { background: #121613; }
body.theme-light .nav .menu-btn { color: #121613; }
body.theme-light .nav .lang-toggle { border-color: rgba(18, 22, 19, 0.28); }
body.theme-light .nav .lang-toggle button { color: rgba(18, 22, 19, 0.6); }
body.theme-light .nav .lang-toggle button.on { background: var(--accent); color: #0c100d; }
body.theme-light .page-head h1 { color: #121613; }
body.theme-light .team-card { background: #ffffff; border-color: rgba(18, 22, 19, 0.12); }
body.theme-light .team-card.ghost { background: transparent; border-color: rgba(18, 22, 19, 0.18); }
body.theme-light .team-body h3 { color: #121613; }
body.theme-light .team-body p { color: #516254; }
body.theme-light .btn-ghost { color: #121613; border-color: rgba(18, 22, 19, 0.22); }
body.theme-light .btn-ghost:hover { border-color: #121613; }
body.theme-light footer { border-color: rgba(18, 22, 19, 0.12); }
body.theme-light footer .logo-word { color: #121613; }
body.theme-light footer .logo-mark i:first-child { background: #121613; }
body.theme-light .foot-inner .tag, body.theme-light .foot-inner a { color: #516254; }
.approach-stick {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 4vw;
  padding: 0 7vw;
  color: #121613;
  overflow: hidden;
}
.approach-venn svg { display: block; width: min(44vw, 80vh); margin: 0 auto; }
.venn-label {
  font-family: 'Zen Old Mincho', 'Instrument Serif', Georgia, serif;
  font-size: 31px;
  font-weight: 600;
}
.approach-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(42px, 4.4vw, 74px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.lang-ja .approach-copy h2 { letter-spacing: 0; line-height: 1.18; }
.approach-copy p {
  max-width: 390px;
  margin: 0 0 32px;
  color: #516254;
  line-height: 1.75;
}
.approach .hero-wave { position: absolute; left: 0; right: 0; bottom: 0; }
.hero-wave {
  display: block;
  width: 100%;
  height: clamp(150px, 28vh, 300px);
  margin-top: auto;
}
body.on-light .nav {
  background: transparent;
}
body.on-light .nav .logo-word,
body.on-light .nav .menu-btn { color: #121613; }
body.on-light .nav .menu-btn:hover { color: #15803d; }
body.on-light .nav .logo-mark i:first-child { background: #121613; }
body.on-light .nav .lang-toggle { border-color: rgba(18, 22, 19, 0.28); }
body.on-light .nav .lang-toggle button { color: rgba(18, 22, 19, 0.6); }
body.on-light .nav .lang-toggle button:hover { color: #121613; }
body.on-light .nav .lang-toggle button.on { background: var(--accent); color: #0c100d; }
.cursor.blink { animation: vk-blink 1.05s step-end infinite; }
@keyframes vk-blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
.hero-scrollcue {
  position: absolute;
  left: 6px;
  bottom: 120px;
  transform: rotate(90deg);
  transform-origin: left bottom;
  font-family: var(--font-tag);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
}
.hero-scrollcue.light { color: rgba(18, 22, 19, 0.48); bottom: 44%; }

/* vertical scroll cue with true downward arrow */
.scue {
  position: absolute;
  left: 26px;
  top: 50vh;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  pointer-events: none;
}
.scue-label {
  writing-mode: vertical-rl;
  font-family: var(--font-tag);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
}
.scue-arrow { color: var(--accent); font-size: 15px; line-height: 1; }
@media (prefers-reduced-motion: no-preference) {
  .scue-arrow { animation: scue-bob 1.8s ease-in-out infinite; }
}
@keyframes scue-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.scue.light .scue-label { color: rgba(18, 22, 19, 0.48); }

/* photo treatment */
.photo { position: relative; display: block; }
.photo image-slot { display: block; width: 100%; height: 100%; filter: grayscale(1) contrast(1.04) brightness(0.94); }
.photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: var(--accent);
  mix-blend-mode: soft-light;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
body.treat-duotone .photo::after { opacity: 0; }

/* manifesto — scroll-lit statement */
.manifesto { padding: 150px 0; }
.manifesto p {
  margin: 0;
  max-width: 980px;
  font-size: clamp(36px, 3.8vw, 60px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.22;
}
.lang-ja .manifesto p { letter-spacing: 0; line-height: 1.4; }
.manifesto p span { color: rgba(250, 255, 250, 0.16); transition: color 0.25s linear; }
.manifesto p span.lit { color: var(--linen); }
.manifesto p span.lit.acc { color: var(--accent); }

/* ── stats ───────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.stat { padding: 34px 36px; border-left: 1px solid var(--hairline); }
.stat:first-child { border-left: none; padding-left: 0; }
.stat-num {
  font-family: var(--font-tag);
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-num em { font-style: normal; color: var(--accent); }
.stat .tag { margin-top: 10px; display: block; }

/* ── sections ────────────────────────────────── */
section { padding: 90px 0 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 36px; }
.sec-head h2 {
  margin: 0;
  font-size: clamp(34px, 3.2vw, 52px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

/* ── ecosystem map ───────────────────────────── */
.eco-stage {
  position: relative;
  aspect-ratio: 1200 / 720;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background:
    radial-gradient(ellipse 60% 55% at 50% 50%, rgba(43, 238, 75, 0.045), transparent 70%),
    var(--ink-2);
  overflow: hidden;
}
.eco-stage svg { display: block; width: 100%; height: 100%; }
.eco-node { cursor: default; }
.eco-node.live { cursor: pointer; }
.eco-label { font-family: var(--font-sans); font-weight: 600; fill: var(--linen); }
.eco-tag { font-family: var(--font-tag); letter-spacing: 0.14em; text-transform: uppercase; fill: var(--muted); }
.eco-legend {
  position: absolute;
  left: 22px;
  bottom: 18px;
  display: flex;
  gap: 22px;
}
.eco-legend .tag { letter-spacing: 0.12em; }
.eco-tip {
  position: absolute;
  z-index: 5;
  transform: translate(-50%, -130%);
  background: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: 9px;
  padding: 9px 14px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  white-space: nowrap;
}
.eco-tip.on { opacity: 1; }
.eco-tip .name { font-size: 14px; font-weight: 600; }
.eco-tip .tag { display: block; margin-top: 2px; }

/* drawer */
.drawer-veil {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(8, 11, 9, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 91;
  width: min(420px, 92vw);
  background: var(--ink-2);
  border-left: 1px solid var(--hairline);
  padding: 30px 32px;
  transform: translateX(102%);
  transition: transform 0.34s cubic-bezier(0.32, 0.72, 0.25, 1);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
body.drawer-open .drawer { transform: translateX(0); }
body.drawer-open .drawer-veil { opacity: 1; pointer-events: auto; }
.drawer-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 17px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.drawer-close:hover { color: var(--linen); border-color: var(--faint); }
.drawer h3 { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -0.025em; }
.drawer p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ── buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
  transition: transform 0.16s, box-shadow 0.16s;
}
.btn-fill {
  background: var(--accent);
  color: #0c100d;
  box-shadow: rgba(16, 94, 29, 0.45) 1px 8px 20px 0px, rgba(18, 146, 39, 0.25) 1px 8px 20px 0px;
}
.btn-fill:hover { transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--linen);
  border: 1px solid var(--faint);
  box-shadow: none;
}
.btn-ghost:hover { border-color: var(--linen); }

/* Bridge wordmark plate — the real Bridge logo, in black & white */
.bridge-mark {
  position: absolute;
  inset: 0;
  container-type: size;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(120% 120% at 30% 20%, #161d16 0%, #0d110c 70%);
  box-shadow: inset 0 0 0 1px rgba(250, 255, 250, 0.08);
}
.bridge-word {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 26cqh;
  letter-spacing: -0.01em;
  color: var(--linen);
  line-height: 1;
  white-space: nowrap;
}
.bridge-word .bridge-dot {
  display: inline-block;
  width: 0.17em;
  height: 0.17em;
  margin-left: 0.04em;
  border-radius: 50%;
  background: var(--linen);
  vertical-align: baseline;
}

/* ── spotlight ───────────────────────────────── */
.spot-photo { height: 460px; }
.spot-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; }
.spot-meta h3 { margin: 0 0 4px; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.spot-meta h3 .cursor { display: inline-block; width: 0.5em; height: 0.1em; background: var(--accent); margin-left: 0.1em; }

/* ── ticker ──────────────────────────────────── */
.ticker {
  margin-top: 100px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
  padding: 16px 0;
}
.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: vk-marquee 46s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  font-family: var(--font-tag);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  padding-right: 48px;
  white-space: nowrap;
}
.ticker-track span i { font-style: normal; color: var(--accent); padding-right: 48px; }
@keyframes vk-marquee { to { transform: translateX(-50%); } }

/* ── cta ─────────────────────────────────────── */
.cta { padding: 130px 0; }
.cta h2 {
  margin: 0 0 16px;
  font-size: clamp(40px, 4.4vw, 68px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.03;
}
.cta p { max-width: 440px; color: var(--muted); margin: 0 0 34px; }

/* ── footer ──────────────────────────────────── */
footer {
  border-top: 1px solid var(--hairline);
  padding: 34px 0 40px;
}
.foot-inner { display: flex; align-items: center; justify-content: space-between; }
.foot-inner .tag a:hover { color: var(--linen); }

/* ── reveal on scroll ────────────────────────── */
/* reveal-on-scroll: base styles stay fully visible — the entrance is a JS rAF
   tween (see useReveal) so captures/exports can never see blank sections */

/* Japanese typography adjustments — no negative tracking, looser leading */
.lang-ja .hstate { letter-spacing: -0.01em; line-height: 1.12; font-size: clamp(48px, 7.4vw, 112px); }
.lang-ja .sec-head h2, .lang-ja .cta h2 { letter-spacing: 0; line-height: 1.14; }
.lang-ja .tag { letter-spacing: 0.1em; }
.lang-ja .cta p, .lang-ja .drawer p { line-height: 1.85; }

@media (max-width: 980px) {
  .reg-row { grid-template-columns: 40px 1fr 90px; }
  .reg-row .hide-sm { display: none; }
  .verb-row { grid-template-columns: 1fr; gap: 6px; }
  /* horizontal longhand only — must not wipe the vertical padding other .wrap
     elements (e.g. .page-head) set, or sub-page titles slide under the nav */
  .wrap { padding-left: 22px; padding-right: 22px; }
  .page-head { padding-top: 104px; }
  .page-head h1 { font-size: clamp(42px, 12vw, 66px); }
  .hstate { font-size: clamp(50px, 13.5vw, 82px); }
  .lang-ja .hstate { font-size: clamp(40px, 11vw, 66px); }
  .story-text { left: 7%; right: 7%; top: 56%; transform: none; }
  .story-side { left: 22px; bottom: 28px; }
  .approach-stick { grid-template-columns: 1fr; gap: 0; padding: 60px 22px; align-content: center; }
  .approach-venn svg { width: min(80vw, 46vh); }
  .eco-stage { aspect-ratio: 5 / 4; }
  .eco-legend { left: 14px; bottom: 12px; gap: 12px; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: none; padding-left: 0; border-top: 1px solid var(--hairline); }
  .nav-links a:not(.btn) { display: none; }
  .lang-toggle { display: flex; }
}

/* phones: hero becomes stacked headline lines with full-bleed B&W photo bands
   between them (NewForm-style), instead of small inline tiles */
@media (max-width: 760px) {
  .hero-light-inner { padding: 90px 0 28px; flex-direction: column; align-items: stretch; justify-content: flex-start; }
  .hstate { text-align: left; width: 100%; }
  .hline { flex-direction: column; align-items: stretch; gap: 10px; }
  .hline > span:not(.htile) { padding: 0 20px; }
  .hline .htile { order: 1; flex: none; width: 100%; height: 104px; border-radius: 0; }
}
