/* Kuroda & Voss — base system
   Dark/neon production studio. Original brand and type system. */

:root {
  --bg: #08080a;
  --bg-2: #0d0d11;
  --panel: #121216;
  --ink: #f3f1e9;
  --muted: #8f8f98;
  --line: rgba(243, 241, 233, 0.14);
  --line-strong: rgba(243, 241, 233, 0.28);
  --accent: #c9ff3d;
  --accent-ink: #0a0b06;
  --hot: #ff4a1c;
  --font-display: 'Bricolage Grotesque', 'Arial Narrow', sans-serif;
  --font-sans: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;
  --head-h: 74px;
  --pad: clamp(18px, 4vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

[data-theme='light'] {
  --bg: #ecebe3;
  --bg-2: #e4e3d9;
  --panel: #f4f3ec;
  --ink: #0d0d10;
  --muted: #5c5c63;
  --line: rgba(13, 13, 16, 0.16);
  --line-strong: rgba(13, 13, 16, 0.32);
  --accent: #93bd00;
  --accent-ink: #0a0b06;
  --hot: #d33a12;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
}

body.is-locked {
  overflow: hidden;
}

img,
svg,
canvas,
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;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 3000;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus-visible {
  transform: none;
}

/* ---------- type ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: 1px;
  box-shadow: 0 0 12px var(--accent);
}

.section-rule {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 var(--pad);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ---------- header ---------- */

.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--head-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 var(--pad);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
}

.site-head.is-stuck {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px) saturate(1.2);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
}

.wordmark .mark {
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.wordmark .mark::before {
  content: '';
  position: absolute;
  inset: 5px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateX(-14px);
  transition: transform 0.45s var(--ease);
}

.site-head:hover .wordmark .mark::before {
  transform: none;
}

.site-head .head-meta {
  display: flex;
  align-items: center;
  gap: 28px;
}

.head-nav {
  display: flex;
  gap: 26px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.head-nav a {
  position: relative;
  padding: 6px 0;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}

.head-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.head-nav a:hover,
.head-nav a[aria-current='page'] {
  color: var(--ink);
}

.head-nav a:hover::after,
.head-nav a[aria-current='page']::after {
  transform: scaleX(1);
  transform-origin: left;
}

.head-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.icon-btn:hover {
  border-color: var(--accent);
  transform: rotate(-8deg);
}

.icon-btn svg {
  width: 15px;
  height: 15px;
}

.theme-btn .sun {
  display: none;
}

[data-theme='light'] .theme-btn .sun {
  display: block;
}

[data-theme='light'] .theme-btn .moon {
  display: none;
}

.menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.menu-trigger:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.menu-trigger .bars {
  position: relative;
  width: 16px;
  height: 8px;
}

.menu-trigger .bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}

.menu-trigger .bars span:first-child {
  top: 0;
}

.menu-trigger .bars span:last-child {
  bottom: 0;
}

.menu-trigger:hover .bars span:first-child {
  transform: translateY(3.5px);
}

.menu-trigger:hover .bars span:last-child {
  transform: translateY(-3.5px);
}

.menu-trigger .label-menu {
  display: inline;
}

.menu-trigger .label-close {
  display: none;
}

body.menu-open .menu-trigger .label-menu {
  display: none;
}

body.menu-open .menu-trigger .label-close {
  display: inline;
}

@media (max-width: 860px) {
  .head-nav {
    display: none;
  }
}

/* ---------- full-screen overlay menu ---------- */

.overlay-menu {
  position: fixed;
  inset: 0;
  z-index: 850;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  background: var(--bg-2);
  visibility: hidden;
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease), opacity 0.4s linear, visibility 0s 0.7s;
  padding: calc(var(--head-h) + 40px) var(--pad) 40px;
}

body.menu-open .overlay-menu {
  visibility: visible;
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.75s var(--ease), opacity 0.3s linear;
}

.overlay-menu::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 78% 30%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 45%);
  pointer-events: none;
}

.overlay-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.overlay-label {
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.overlay-list {
  display: flex;
  flex-direction: column;
}

.overlay-list li {
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.overlay-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.overlay-link {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 14px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(38px, 6.4vw, 88px);
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  transform: translateY(110%);
  transition: transform 0.7s var(--ease), color 0.3s var(--ease);
  transition-delay: 0s;
}

body.menu-open .overlay-link {
  transform: none;
  transition-delay: calc(var(--i, 0) * 70ms + 120ms);
}

.overlay-link .idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  transform: translateY(-4px);
}

.overlay-link .arrow {
  margin-left: auto;
  font-family: var(--font-sans);
  font-size: 24px;
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}

.overlay-link:hover,
.overlay-link:focus-visible {
  color: var(--accent);
}

.overlay-link:hover .arrow,
.overlay-link:focus-visible .arrow {
  opacity: 1;
  transform: none;
}

.overlay-side {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-left: clamp(0px, 4vw, 60px);
  border-left: 1px solid var(--line);
}

.menu-preview {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 0;
}

.menu-preview .preview-card {
  position: absolute;
  width: min(360px, 90%);
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  overflow: hidden;
  opacity: 0;
  transform: scale(0.94) rotate(-2deg);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
  background: var(--panel);
}

.menu-preview .preview-card.is-on {
  opacity: 1;
  transform: none;
}

.menu-preview .preview-card .art {
  position: absolute;
  inset: 0;
}

.menu-preview .preview-card .cap {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 8px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.overlay-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: space-between;
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.overlay-foot a:hover {
  color: var(--accent);
}

/* preview art, shared by menu and cards */
.art {
  position: relative;
  overflow: hidden;
  background: #101014;
}

.art-1 {
  background:
    radial-gradient(circle at 70% 30%, rgba(201, 255, 61, 0.55), transparent 46%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 9px),
    #0b0b0f;
}

.art-2 {
  background:
    conic-gradient(from 210deg at 50% 50%, #1a1a20, #c9ff3d 25%, #0b0b0f 40%, #2a2a33 60%, #c9ff3d 75%, #0b0b0f),
  ;
}

.art-3 {
  background:
    linear-gradient(90deg, transparent 48%, rgba(243, 241, 233, 0.5) 49% 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(243, 241, 233, 0.5) 49% 51%, transparent 52%),
    radial-gradient(circle at 50% 50%, rgba(255, 74, 28, 0.8), #0b0b0f 60%);
}

.art-4 {
  background:
    repeating-radial-gradient(circle at 30% 70%, rgba(201, 255, 61, 0.32) 0 2px, transparent 2px 16px),
    linear-gradient(160deg, #15151b, #08080a);
}

.art-5 {
  background:
    repeating-conic-gradient(from 0deg at 70% 30%, rgba(243, 241, 233, 0.22) 0deg 2deg, transparent 2deg 8deg),
    linear-gradient(200deg, #0b0b0f 40%, #24331a 100%);
}

/* ---------- cursor ---------- */

.cursor,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
  pointer-events: none;
  border-radius: 50%;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity 0.2s linear;
}

.cursor {
  width: 42px;
  height: 42px;
  border: 1px solid #fff;
  transition: width 0.3s var(--ease), height 0.3s var(--ease), background-color 0.3s var(--ease),
    opacity 0.2s linear;
}

.cursor-dot {
  width: 5px;
  height: 5px;
  background: #fff;
}

body.has-cursor .cursor,
body.has-cursor .cursor-dot {
  opacity: 1;
}

.cursor.is-label {
  width: 84px;
  height: 84px;
  background: #fff;
  border-color: #fff;
}

.cursor .cursor-text {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #000;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.2s linear;
}

.cursor.is-label .cursor-text {
  opacity: 1;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 52px;
  padding: 0 26px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
}

.btn:hover {
  color: var(--accent-ink);
  border-color: var(--accent);
}

.btn:hover::before {
  transform: none;
}

.btn .btn-arrow {
  transition: transform 0.4s var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-solid {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.btn-solid::before {
  background: var(--ink);
}

.btn-solid:hover {
  color: var(--bg);
  border-color: var(--ink);
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.split-line {
  display: block;
  overflow: hidden;
}

.split-line > span {
  display: block;
  transform: translateY(108%);
  transition: transform 1s var(--ease);
  transition-delay: var(--d, 0ms);
}

.is-in .split-line > span,
.split-line.is-in > span {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .split-line > span {
    transform: none;
  }
}

/* ---------- page shell ---------- */

main {
  position: relative;
  z-index: 1;
}

.page-hero {
  padding: calc(var(--head-h) + clamp(60px, 10vw, 120px)) var(--pad) clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}

.page-title {
  font-size: clamp(52px, 10.5vw, 168px);
  max-width: 14ch;
}

.page-lede {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-top: clamp(28px, 4vw, 54px);
}

.page-lede p {
  max-width: 46ch;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--muted);
}

.page-lede .lede-side {
  justify-self: end;
  text-align: right;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent);
  z-index: 1000;
  pointer-events: none;
}

/* ---------- footer ---------- */

.site-foot {
  position: relative;
  z-index: 1;
  padding: clamp(50px, 7vw, 90px) var(--pad) 30px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

.foot-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr) minmax(0, 0.7fr);
  gap: 40px;
  padding-bottom: clamp(50px, 8vw, 100px);
}

.foot-claim {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4.6vw, 66px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  max-width: 14ch;
}

.foot-claim a {
  display: inline-block;
  color: var(--accent);
  border-bottom: 1px solid currentColor;
}

.foot-col h4 {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.foot-col li {
  margin-bottom: 8px;
  font-size: 14px;
}

.foot-col a:hover {
  color: var(--accent);
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.foot-bottom .status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent);
  }
  70% {
    box-shadow: 0 0 0 9px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

/* ---------- generic controls ---------- */

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.chip:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}

.chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.chip .count {
  opacity: 0.6;
  margin-left: 6px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 60px);
}

@media (max-width: 900px) {
  .page-lede,
  .foot-top,
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .page-lede .lede-side {
    justify-self: start;
    text-align: left;
  }
  .overlay-menu {
    grid-template-columns: minmax(0, 1fr);
    padding-top: calc(var(--head-h) + 20px);
  }
  .overlay-side {
    display: none;
  }
  .overlay-link {
    font-size: clamp(34px, 9vw, 56px);
    padding: 12px 0;
  }
  :root {
    --head-h: 64px;
  }
}
