/* =========================================================
   CS Ventures — site styles
   ========================================================= */

@font-face { font-family: "Inter Tight"; src: url("/assets/fonts/inter-tight-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --bg-rgb: 13, 10, 21;
  --fg-rgb: 236, 230, 255;
  --accent-rgb: 198, 255, 61;
  --violet: #8b5cf6;
  --violet-rgb: 139, 92, 246;
  --hi: #fff;
  --shadow: rgba(0, 0, 0, .6);
  --ink: #0d0a15;
  --ink-1: #120e1d;
  --ink-2: #171226;
  --ink-3: #201933;
  --paper: #ece6ff;
  --paper-2: rgba(var(--fg-rgb), .72);
  --paper-3: rgba(var(--fg-rgb), .52);
  --paper-4: rgba(var(--fg-rgb), .34);
  --line: rgba(var(--fg-rgb), .08);
  --line-2: rgba(var(--fg-rgb), .14);
  --line-3: rgba(var(--fg-rgb), .22);
  --accent: #c6ff3d;
  --accent-soft: rgba(var(--accent-rgb), .14);
  --green: #4ade80;
  --blue: #7cc4ff;
  --amber: #fbbf24;
  --red: #f87171;

  --display: "Inter Tight", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --r-lg: 22px;
  --r-md: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 17px/1.6 var(--sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
/* film grain */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 100; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .045; mix-blend-mode: overlay;
}
::selection { background: var(--accent); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
h1, h2, h3 { font-weight: 600; }
ol, ul { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: .8em; letter-spacing: .02em; }
.dim { color: var(--paper-4); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 16px; }

.label {
  display: inline-flex; align-items: center; gap: 10px;
  font: 400 12.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--paper-3);
}

/* ---------- buttons ---------- */
.btn {
  --h: 50px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px;
  font: 500 15px/1 var(--sans); letter-spacing: -.005em; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn-sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--hi); }
.btn-ghost { color: var(--paper); box-shadow: inset 0 0 0 1px var(--line-3); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--paper-3); background: rgba(var(--fg-rgb), .04); }
.btn:active { transform: scale(.98); }
.arrow { display: inline-block; transition: transform .3s var(--ease); }
a:hover > .arrow { transform: translateX(3px); }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 11px; color: var(--paper); }
.logo-mark { width: auto; height: 27px; }
.logo-word { font: 600 19px/1 var(--display); letter-spacing: -.035em; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s;
}
.nav-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-links { display: flex; gap: 6px; padding: 5px; border-radius: 999px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 14.5px; color: var(--paper-2); transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--paper); background: rgba(var(--fg-rgb), .06); }
.nav.is-scrolled {
  background: rgba(var(--bg-rgb), .72);
  backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: max(720px, 100svh);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 140px 0 40px;
  overflow: hidden;
}
.hero-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-glow {
  position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 18%, rgba(var(--violet-rgb), .28), transparent 70%),
    radial-gradient(40% 35% at 70% 30%, rgba(var(--accent-rgb), .08), transparent 70%),
    linear-gradient(180deg, transparent 55%, var(--ink) 100%);
}
.hero-inner { position: relative; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .6); animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0); } }

.hero-title {
  margin-top: 28px;
  font: 600 clamp(52px, 9.6vw, 148px)/.92 var(--display);
  letter-spacing: -.055em;
  max-width: 12ch;
  text-wrap: balance;
}
.hero-title .accent-line { color: var(--accent); display: inline; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .w > span { display: inline-block; }

.hero-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px 64px; margin-top: 48px; }
.hero-lede { max-width: 46ch; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; color: var(--paper-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 72px; padding-top: 22px; border-top: 1px solid var(--line);
}
.hero-portfolio { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-portfolio a, .hero-portfolio li > span {
  display: inline-flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 8px 0 6px; border-radius: 999px;
  background: rgba(var(--fg-rgb), .035); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px; font-weight: 500;
  transition: background-color .2s, box-shadow .2s;
}
.hero-portfolio a:hover { background: rgba(var(--fg-rgb), .07); box-shadow: inset 0 0 0 1px var(--line-2); }
.chip-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; font: 700 13px/1 var(--display); }
img.chip-icon { object-fit: cover; }
.chip-next { background: transparent; color: var(--paper-3); box-shadow: inset 0 0 0 1px var(--line-3); font-weight: 400; font-size: 16px; }
.chip-status { font: 400 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 8px; border-radius: 999px; }
.chip-status.live { color: var(--green); background: rgba(74, 222, 128, .1); }
.chip-status.beta { color: var(--blue); background: rgba(124, 196, 255, .1); }
.chip-status.lab { color: var(--paper-3); background: rgba(var(--fg-rgb), .06); }
.hero-clock { font-size: 14px; color: var(--paper-2); display: flex; gap: 8px; align-items: baseline; font-variant-numeric: tabular-nums; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track span { font: 500 clamp(22px, 2.6vw, 34px)/1 var(--display); letter-spacing: -.03em; color: var(--paper-3); }
.marquee-track i { width: 7px; height: 7px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); opacity: .8; }
@keyframes marquee { to { transform: translateX(calc(-50% - 18px)); } }

/* ---------- manifesto ---------- */
.manifesto { padding: clamp(110px, 16vw, 200px) 0; }
.manifesto-text {
  margin-top: 28px;
  font: 500 clamp(30px, 4.3vw, 60px)/1.12 var(--display);
  letter-spacing: -.035em;
  max-width: 22ch;
  text-wrap: pretty;
}
.manifesto-text .mw { color: var(--paper); opacity: .16; transition: opacity .5s var(--ease); }
.manifesto-text .mw.on { opacity: 1; }
.no-js .manifesto-text .mw, .reduce .manifesto-text .mw { opacity: 1; }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(100px, 13vw, 168px) 0; }
.section-head { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px 64px; align-items: end; margin-bottom: clamp(56px, 7vw, 96px); }
.section-head .label { grid-column: 1 / -1; }
.h2 { font: 600 clamp(40px, 5.6vw, 80px)/.98 var(--display); letter-spacing: -.045em; text-wrap: balance; }
.section-sub { max-width: 46ch; color: var(--paper-2); font-size: 17.5px; }
.companies { border-top: 1px solid var(--line); }

/* ---------- ventures ---------- */
.venture {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1));
  box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px var(--shadow);
  overflow: hidden;
}
.venture + .venture { margin-top: 20px; }
.venture-copy { display: flex; flex-direction: column; padding: clamp(28px, 4vw, 52px); }
.venture-top { display: flex; align-items: center; gap: 14px; }
.venture-no { font: 400 12.5px/1 var(--mono); letter-spacing: .08em; color: var(--paper-4); }
.status { display: inline-flex; align-items: center; gap: 8px; font: 400 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }
.status .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-live { color: var(--green); }
.status-live .dot { animation: live 2.4s ease-in-out infinite; }
@keyframes live { 0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); } 50% { box-shadow: 0 0 0 5px rgba(74, 222, 128, 0); } }
.status-beta { color: var(--blue); }
.status-lab { color: var(--paper-3); }

.venture-name { margin-top: clamp(40px, 6vw, 88px); font: 600 clamp(44px, 5vw, 72px)/1 var(--display); letter-spacing: -.05em; }
.venture-pitch { margin-top: 18px; color: var(--paper-2); max-width: 42ch; }
.venture-meta { margin-top: 36px; }
.venture-meta > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.venture-meta > div:last-child { border-bottom: 1px solid var(--line); }
.venture-meta dt { color: var(--paper-3); }
.venture-meta dd { text-align: right; }
.venture-link {
  align-self: flex-start; margin-top: auto; padding-top: 36px;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: 15px;
}
.venture-link:hover { color: var(--accent); }
.venture-link:hover .arrow { transform: translate(2px, -2px); }

.venture-visual { position: relative; display: grid; place-items: center; padding: clamp(28px, 4vw, 56px); min-height: 520px; overflow: hidden; }
.venture-visual::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.venture-visual::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(var(--fg-rgb), .12) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}

/* Webalert visual */
.venture-webalert .venture-visual::before { background: radial-gradient(70% 70% at 60% 40%, rgba(110, 93, 246, .34), transparent 70%); }
.wa-stage {
  width: min(440px, 100%); display: grid; gap: 14px;
  /* the product mock-up is always dark UI, whatever the page theme */
  --fg-rgb: 244, 240, 232; --paper: #f4f0e8;
  --paper-2: rgba(244, 240, 232, .72); --paper-3: rgba(244, 240, 232, .52); --paper-4: rgba(244, 240, 232, .34);
  --green: #4ade80; --amber: #fbbf24; --red: #f87171;
  color: var(--paper);
}
.wa-call {
  padding: 20px; border-radius: 20px;
  background: rgba(28, 26, 40, .78); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 30px 60px -20px rgba(20, 10, 60, .7);
  animation: ring 4s var(--ease) infinite;
}
@keyframes ring { 0%, 86%, 100% { transform: translateX(0); } 88% { transform: translateX(-3px) rotate(-.4deg); } 90% { transform: translateX(3px) rotate(.4deg); } 92% { transform: translateX(-2px); } 94% { transform: translateX(0); } }
.wa-call-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--paper-3); }
.wa-app { display: inline-flex; align-items: center; gap: 8px; color: var(--paper-2); font-weight: 500; }
.wa-logo { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #6e5df6; color: #fff; font: 700 12px/1 var(--display); }
.wa-ring { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.wa-ring::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: live 1.2s ease-in-out infinite; }
.wa-title { margin-top: 16px; font: 600 22px/1.2 var(--display); letter-spacing: -.025em; }
.wa-sub { margin-top: 4px; font-size: 14px; color: var(--paper-3); }
.wa-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.wa-btn { display: grid; place-items: center; height: 40px; border-radius: 12px; font-size: 14px; font-weight: 500; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.wa-ack { background: #6e5df6; box-shadow: none; color: #fff; }
.wa-timeline { padding: 16px 18px; border-radius: 16px; background: rgba(20, 20, 26, .7); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); display: grid; gap: 11px; font-size: 13px; color: var(--paper-2); }
.wa-timeline li { display: grid; grid-template-columns: 44px 10px 1fr; gap: 10px; align-items: center; }
.wa-timeline .t { font-family: var(--mono); font-size: 11.5px; color: var(--paper-4); }
.wa-timeline .e { width: 8px; height: 8px; border-radius: 50%; background: var(--paper-4); }
.wa-timeline .e-red { background: var(--red); }
.wa-timeline .e-amber { background: var(--amber); }
.wa-timeline .e-green { background: var(--green); }
.wa-uptime { padding: 16px 18px; border-radius: 16px; background: rgba(20, 20, 26, .7); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.wa-uptime-head { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--paper-3); }
.wa-uptime-head span:first-child { color: var(--paper-2); font-weight: 500; }
.wa-bars { display: grid; grid-template-columns: repeat(60, 1fr); gap: 2px; height: 30px; margin-top: 12px; }
.wa-bars i { border-radius: 2px; background: var(--green); opacity: .85; }
.wa-bars i.warn { background: var(--amber); }
.wa-bars i.down { background: var(--red); }

/* Vortex visual */
.venture-vortex .venture-visual { padding-right: 0; place-items: center end; }
.venture-vortex .venture-visual::before { background: radial-gradient(60% 60% at 70% 40%, rgba(0, 240, 255, .16), transparent 70%), radial-gradient(60% 60% at 40% 80%, rgba(138, 43, 226, .22), transparent 70%); }
.vx-window {
  width: 112%; margin-right: -12%;
  border-radius: 14px 0 0 14px; overflow: hidden;
  background: #0f1115;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -30px rgba(0, 0, 0, .8);
  transform: perspective(1400px) rotateY(var(--ry, -6deg)) rotateX(var(--rx, 2deg));
  transform-origin: right center;
  transition: transform .8s var(--ease-out);
}
.vx-chrome { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); background: #13161b; }
.vx-chrome i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.vx-chrome span { margin-left: 10px; font-size: 12px; color: var(--paper-4); }
.vx-window img { width: 100%; height: auto; }

/* Next visual */
.venture-next { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.venture-next::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(var(--fg-rgb), .018) 14px 15px); }
.venture-next .venture-name { margin-top: clamp(32px, 4vw, 56px); }
.next-visual { min-height: 360px; }
.redacted { width: min(420px, 100%); display: grid; gap: 4px; font-size: 15px; }
.redacted p { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px dashed var(--line-2); }
.redacted b { display: block; width: var(--w); height: 14px; border-radius: 3px; background: linear-gradient(90deg, var(--ink-3) 0%, rgba(var(--fg-rgb), .12) 50%, var(--ink-3) 100%); background-size: 200% 100%; animation: shimmer 2.6s linear infinite; }
.redacted .stage { color: var(--accent); font-weight: 500; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- studio ---------- */
.studio { border-top: 1px solid var(--line); }
.studio-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 8vw, 120px); align-items: start; }
.studio-sticky { position: sticky; top: 120px; display: grid; gap: 24px; align-content: start; }
.studio-sticky .h2 { margin-top: -2px; }
.orbit { width: min(320px, 80%); margin-top: 24px; color: var(--paper); }
.orbit-ring { fill: none; stroke: rgba(var(--fg-rgb), .2); stroke-width: 1; stroke-dasharray: 1.5 5; }
.orbit-spin { transform-origin: 160px 160px; animation: spin linear infinite; }
.orbit-a { animation-duration: 38s; }
.orbit-b { animation-duration: 26s; animation-direction: reverse; }
.orbit-c { animation-duration: 18s; }
.n-wa { fill: #6e5df6; }
.n-vx { fill: #00d8f0; }
.n-next { fill: none; stroke: var(--paper-3); stroke-width: 1.5; }
@keyframes spin { to { transform: rotate(360deg); } }

.steps { counter-reset: s; }
.step {
  position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 8px;
  padding: 44px 0 52px; border-top: 1px solid var(--line);
}
.step::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%;
  background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform .2s linear;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step-no { font: 400 13px/1.9 var(--mono); color: var(--accent); }
.step h3 { font: 600 clamp(30px, 3vw, 40px)/1.05 var(--display); letter-spacing: -.04em; }
.step p { margin-top: 14px; color: var(--paper-2); max-width: 48ch; }

/* ---------- principles ---------- */
.principles { border-top: 1px solid var(--line); }
.principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.principle { padding: 32px 28px 8px 0; }
.principle + .principle { padding-left: 28px; border-left: 1px solid var(--line); }
.principle-no { font: italic 400 28px/1 var(--display); color: var(--accent); }
.principle h3 { margin-top: 48px; font: 600 24px/1.15 var(--display); letter-spacing: -.03em; }
.principle p { margin-top: 12px; color: var(--paper-2); font-size: 15.5px; }

/* ---------- contact ---------- */
.contact { isolation: isolate; overflow: hidden; border-top: 1px solid var(--line); padding-block: clamp(120px, 16vw, 220px); }
.contact-glow { position: absolute; inset: auto 0 -40% 0; height: 90%; z-index: -1; background: radial-gradient(50% 50% at 50% 100%, rgba(var(--violet-rgb), .3), transparent 70%), radial-gradient(30% 30% at 50% 100%, rgba(var(--accent-rgb), .1), transparent 70%); }
.contact-inner { position: relative; display: grid; justify-items: center; text-align: center; }
.contact-title { margin-top: 26px; font: 600 clamp(48px, 8.4vw, 128px)/.92 var(--display); letter-spacing: -.055em; text-wrap: balance; }
.contact-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.contact-tags li { padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; color: var(--paper-2); }
.contact-mail {
  display: inline-flex; align-items: center; gap: 18px;
  margin-top: 56px; padding: 10px 10px 10px 30px; border-radius: 999px;
  background: var(--paper); color: var(--ink);
  font: 600 clamp(20px, 2.4vw, 28px)/1 var(--display); letter-spacing: -.03em;
  transition: transform .35s var(--ease), background-color .25s;
}
.contact-arrow { display: grid; place-items: center; width: clamp(48px, 5vw, 60px); aspect-ratio: 1; border-radius: 50%; background: var(--ink); color: var(--paper); transition: transform .35s var(--ease), background-color .25s; }
.contact-arrow svg { width: 22px; height: 22px; }
.contact-mail:hover { background: var(--hi); }
.contact-mail:hover .contact-arrow { background: var(--accent); color: var(--ink); transform: rotate(-45deg); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding-top: 72px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.footer-col > a:not(.logo) { color: var(--paper-2); transition: color .2s; }
.footer-col > a:not(.logo):hover { color: var(--paper); }
.footer-h { font: 400 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--paper-4); margin-bottom: 8px; }
.footer-note { margin-top: 12px; max-width: 30ch; color: var(--paper-3); }
.footer-legal { margin-top: 8px; color: var(--paper-4); font-size: 13.5px; line-height: 1.55; }
.footer-word {
  margin-top: 80px;
  font: 600 clamp(64px, 17.5vw, 260px)/.8 var(--display); letter-spacing: -.065em;
  white-space: nowrap; text-align: center;
  background: linear-gradient(180deg, rgba(var(--fg-rgb), .16), rgba(var(--fg-rgb), 0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0 32px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--paper-4); }
.to-top:hover { color: var(--paper); }

/* ---------- reveal motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out) var(--d, 0s), transform .9s var(--ease-out) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero-title .w > span { transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 60ms + .1s); }
.js .hero-title.in .w > span { transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .principle-grid { grid-template-columns: 1fr 1fr; }
  .principle:nth-child(3) { padding-left: 0; border-left: 0; }
  .principle:nth-child(n+3) { margin-top: 24px; border-top: 1px solid var(--line); }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero-bottom { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; }
  .venture { grid-template-columns: 1fr; }
  .venture-visual { min-height: 0; padding-top: 8px; }
  .venture-vortex .venture-visual { padding-left: clamp(28px, 4vw, 52px); }
  .vx-window { width: 100%; margin-right: 0; border-radius: 12px 0 0 12px; }
  .venture-name { margin-top: 40px; }
  .studio-grid { grid-template-columns: 1fr; }
  .studio-sticky { position: static; }
  .orbit { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-inner { height: 64px; }
  .logo-mark { height: 24px; }
  .logo-word { font-size: 17px; }
  .hero { padding-top: 120px; min-height: auto; }
  .label { font-size: 11px; letter-spacing: .06em; }
  .hero-title { letter-spacing: -.05em; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-meta { flex-direction: column; align-items: flex-start; margin-top: 56px; }
  .hero-clock { display: none; }
  .wa-timeline li { grid-template-columns: 40px 10px 1fr; font-size: 12.5px; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle, .principle + .principle { padding: 28px 0 8px; border-left: 0; }
  .principle + .principle { margin-top: 0; border-top: 1px solid var(--line); }
  .principle h3 { margin-top: 24px; }
  .step { grid-template-columns: 1fr; padding: 32px 0 40px; }
  .contact-mail { padding-left: 22px; gap: 12px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero-title .w > span { opacity: 1; transform: none; }
}
