/* ════════════════════════════════════════════════════════════════
   DJL.RED · Tokyo Neon Design System
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* ─── Surfaces (dark with violet tint) ─── */
  --bg:        #050010;
  --bg-2:      #0a041c;
  --bg-3:      #120726;
  --bg-glass:  rgba(10, 4, 28, 0.55);

  /* ─── Ink ─── */
  --ink:       #f5f1ff;
  --ink-2:     #b8b3d6;
  --ink-dim:   #7a7398;
  --ink-faint: #2e2849;

  /* ─── Neons (Tokyo streets) ─── */
  --neon-cyan:    #00f0ff;
  --neon-pink:    #ff10f0;
  --neon-red:     #ff003c;
  --neon-purple:  #b026ff;
  --neon-yellow:  #fff200;
  --neon-magenta: #ff00aa;
  --hinomaru:     #bc002d;

  /* ─── Semantic ─── */
  --accent:      var(--neon-cyan);
  --accent-2:    var(--neon-pink);
  --accent-red:  var(--neon-red);

  /* ─── Borders & lines ─── */
  --line:    rgba(245, 241, 255, 0.08);
  --line-2:  rgba(245, 241, 255, 0.16);
  --line-3:  rgba(245, 241, 255, 0.32);

  /* ─── Typography ─── */
  --f-display: 'Space Grotesk', system-ui, sans-serif;
  --f-body:    'Inter', system-ui, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, monospace;
  --f-jp:      'Zen Kaku Gothic New', 'Noto Sans JP', system-ui, sans-serif;
  --f-jp-mincho: 'Shippori Mincho', 'Noto Serif JP', serif;

  /* ─── Layout ─── */
  --maxw: 1480px;
  --pad-h: 7vw;
  --pad-v: clamp(90px, 14vw, 180px);

  /* ─── Motion ─── */
  --ease-out:   cubic-bezier(.16,.8,.2,1);
  --ease-in-out: cubic-bezier(.77,0,.18,1);
}

/* ════════════════════════════════════════════════════════════════
   Reset / base
   ═══════════════════════════════════════════════════════════════ */

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

html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 900px) {
  body { cursor: none; }
  a, button, input, textarea, summary, [data-magnetic], [data-tilt] { cursor: none; }
}

img, svg, video { display: block; max-width: 100%; }
button { background: none; border: 0; color: inherit; font: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea { background: none; border: 0; color: inherit; font: inherit; outline: none; }
ul, ol { list-style: none; }

.mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-dim); }
.jp { font-family: var(--f-jp); letter-spacing: 0.04em; }

::selection { background: var(--neon-cyan); color: var(--bg); }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--ink-faint); }
::-webkit-scrollbar-thumb:hover { background: var(--neon-cyan); }

/* ════════════════════════════════════════════════════════════════
   Loader
   ═══════════════════════════════════════════════════════════════ */

#loader {
  position: fixed; inset: 0; z-index: 9998;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
#loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 36px; }
.loader-logo {
  font-family: var(--f-mono); font-weight: 700;
  font-size: clamp(2rem, 7vw, 4rem);
  letter-spacing: -0.02em; line-height: 1;
  display: inline-flex; align-items: center; gap: 16px;
}
.loader-logo > span { opacity: 0; transform: translateY(40px); animation: lg-in .6s var(--ease-out) forwards; }
.loader-logo .ll-kanji { animation-delay: 0s; }
.loader-logo .ll-dot   { animation-delay: .15s; }
.loader-logo .ll-text  { animation-delay: .25s; }

.ll-kanji {
  font-family: var(--f-jp-mincho); font-weight: 900;
  font-size: 1.15em; line-height: 1;
  color: var(--hinomaru);
  text-shadow: 0 0 18px var(--hinomaru), 0 0 40px rgba(183, 0, 45, 0.55);
  filter: drop-shadow(0 0 10px rgba(183, 0, 45, 0.65));
}
.loader-logo .ll-kanji {
  animation: lg-in .6s var(--ease-out) forwards, loader-kanji-dance 3s ease-in-out .8s infinite;
}
@keyframes loader-kanji-dance {
  0%, 100% { transform: rotate(-4deg) scale(1); }
  50%      { transform: rotate(4deg) scale(1.08); }
}

.ll-dot {
  width: 0.32em; height: 0.32em;
  background: var(--neon-red);
  border-radius: 50%;
  box-shadow: 0 0 18px var(--neon-red), 0 0 36px rgba(255, 0, 60, 0.5);
  flex-shrink: 0;
}
.loader-logo .ll-dot {
  animation: lg-in .6s var(--ease-out) forwards, logo-pulse 2s ease-in-out .8s infinite;
}

.ll-text {
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-cyan));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 14px rgba(255, 16, 240, 0.5));
  position: relative;
}
.ll-text::before {
  content: 'DJL.RED';
  position: absolute; left: 2px; top: 0;
  color: var(--neon-cyan);
  opacity: 0; mix-blend-mode: screen;
  animation: logo-glitch 4s infinite 1s;
}

@keyframes lg-in { to { opacity: 1; transform: translateY(0); } }

.loader-bar { width: clamp(180px, 28vw, 360px); height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.loader-bar-fill { position: absolute; inset: 0 100% 0 0; background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink)); transition: right .25s linear; box-shadow: 0 0 8px var(--neon-cyan); }
.loader-pct { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.3em; color: var(--ink-dim); }
.loader-pct span { color: var(--neon-cyan); }

/* ════════════════════════════════════════════════════════════════
   Page transition + overlays
   ═══════════════════════════════════════════════════════════════ */

#page-transition {
  position: fixed; inset: 0; z-index: 9997;
  background: var(--bg);
  transform: translateY(-100%);
  pointer-events: none;
  will-change: transform;
}

.noise {
  position: fixed; inset: 0; z-index: 3; pointer-events: none;
  opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.vignette {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.65) 100%);
}

.scanlines {
  position: fixed; inset: 0; z-index: 4; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}

#bg-canvas {
  position: fixed; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

/* ════════════════════════════════════════════════════════════════
   Cursor
   ═══════════════════════════════════════════════════════════════ */

#cursor-dot, #cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 10000;
  will-change: transform;
}
#cursor-dot {
  width: 6px; height: 6px;
  background: var(--neon-cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--neon-cyan);
  transform: translate(-50%, -50%);
}
#cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(0, 240, 255, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .25s var(--ease-out), height .25s var(--ease-out),
              border-color .25s, background .25s;
  display: flex; align-items: center; justify-content: center;
}
#cursor-ring.is-hover {
  width: 64px; height: 64px;
  border-color: var(--neon-pink);
  background: rgba(255, 16, 240, 0.05);
}
#cursor-ring.is-hover-cta {
  width: 80px; height: 80px;
  border-color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.1);
}
.cursor-label {
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink);
  opacity: 0; transition: opacity .2s;
}
#cursor-ring.has-label .cursor-label { opacity: 1; }

@media (max-width: 900px) {
  #cursor-dot, #cursor-ring { display: none; }
}

/* ════════════════════════════════════════════════════════════════
   Header
   ═══════════════════════════════════════════════════════════════ */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px var(--pad-h);
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(180deg, rgba(5,0,16,0.85) 0%, rgba(5,0,16,0) 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.logo {
  font-family: var(--f-mono); font-weight: 700;
  font-size: 1.5rem; letter-spacing: -0.02em;
  display: inline-flex; align-items: center; gap: 10px;
}
.logo-kanji {
  font-family: var(--f-jp-mincho); font-weight: 900;
  font-size: 1.6rem; line-height: 1;
  color: var(--hinomaru);
  text-shadow: 0 0 15px var(--hinomaru), 0 0 30px rgba(183, 0, 45, 0.5);
  filter: drop-shadow(0 0 8px rgba(183, 0, 45, 0.6));
  flex-shrink: 0;
  transition: transform .5s var(--ease-out), color .4s, text-shadow .4s, filter .4s;
}
.logo:hover .logo-kanji {
  transform: rotate(-12deg) scale(1.1);
  color: var(--neon-purple);
  text-shadow: 0 0 15px var(--neon-purple), 0 0 35px rgba(176, 38, 255, 0.6);
  filter: drop-shadow(0 0 10px rgba(176, 38, 255, 0.7));
}
.logo-text {
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-cyan));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(255, 16, 240, 0.5));
  position: relative;
}
.logo-text::before {
  content: 'DJL.RED';
  position: absolute; left: 2px; top: 0;
  color: var(--neon-cyan);
  opacity: 0;
  mix-blend-mode: screen;
  animation: logo-glitch 4s infinite;
}
.logo-dot {
  width: 10px; height: 10px;
  background: var(--neon-red);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--neon-red);
  animation: logo-pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes logo-glitch {
  0%, 92%, 100% { opacity: 0; transform: translate(0); }
  93% { opacity: .8; transform: translate(-3px, 1px); }
  94% { opacity: 0; }
  95% { opacity: .8; transform: translate(3px, -1px); }
  96% { opacity: 0; }
}
@keyframes logo-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: .6; }
}

.header-right { display: flex; align-items: center; gap: 14px; }
.header-controls { display: flex; align-items: center; gap: 12px; }

@media (max-width: 640px) {
  .site-header { padding: 14px 5vw; gap: 10px; }
  .header-right { gap: 10px; }
  .header-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .lang-switch, .sound-toggle {
    padding: 5px 8px;
    font-size: 9.5px;
    letter-spacing: 0.18em;
    gap: 5px;
  }
  .menu-toggle {
    padding: 8px 11px;
    font-size: 10px;
    gap: 7px;
  }
  .mt-bars i { width: 14px; }
  .logo { font-size: 1.1rem; gap: 7px; }
  .logo-kanji { font-size: 1.25rem; }
  .logo-dot { width: 8px; height: 8px; }
}

.lang-switch, .sound-toggle {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 10px; border: 1px solid var(--line);
  transition: color .25s, border-color .25s, background .25s;
}
.lang-switch:hover, .sound-toggle:hover { color: var(--neon-cyan); border-color: var(--neon-cyan); }
.lang-switch .ls-curr { color: var(--ink); }
.lang-switch .ls-sep { opacity: .4; }
.lang-switch .ls-alt { opacity: .6; }

.sound-toggle .st-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-faint);
  transition: background .25s, box-shadow .25s;
}
.sound-toggle.is-on .st-dot { background: var(--neon-cyan); box-shadow: 0 0 8px var(--neon-cyan); }

.menu-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink);
  transition: border-color .25s, color .25s, background .25s;
}
.menu-toggle:hover { border-color: var(--neon-cyan); color: var(--neon-cyan); background: rgba(0, 240, 255, 0.05); }
.mt-bars { display: inline-flex; flex-direction: column; gap: 3px; }
.mt-bars i { display: block; width: 16px; height: 1px; background: currentColor; transition: transform .3s var(--ease-out), opacity .3s; }
.menu-toggle.is-open .mt-bars i:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-toggle.is-open .mt-bars i:nth-child(2) { opacity: 0; }
.menu-toggle.is-open .mt-bars i:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }

/* ════════════════════════════════════════════════════════════════
   Menu overlay
   ═══════════════════════════════════════════════════════════════ */

#menu-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg-2);
  clip-path: circle(0% at 95% 5%);
  transition: clip-path .9s var(--ease-in-out);
  display: flex; flex-direction: column;
  padding: 100px var(--pad-h) 40px;
}
#menu-overlay.is-open { clip-path: circle(160% at 95% 5%); }
#menu-overlay::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(0,240,255,0.08), transparent 60%),
              radial-gradient(ellipse at bottom left, rgba(255,16,240,0.06), transparent 60%);
  pointer-events: none;
}

.menu-meta { display: flex; justify-content: space-between; margin-bottom: 60px; position: relative; }
.menu-meta .jp { font-size: 14px; color: var(--neon-cyan); letter-spacing: 0.1em; }

.menu-nav {
  display: flex; flex-direction: column; gap: 4px;
  flex: 1; justify-content: center; position: relative;
}
.menu-link {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: baseline; gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(2rem, 6vw, 4.5rem);
  letter-spacing: -0.025em; line-height: 1;
  color: var(--ink); transition: color .3s, padding .4s var(--ease-out);
  position: relative; overflow: hidden;
}
.menu-link:last-child { border-bottom: 1px solid var(--line); }
.menu-link:hover { color: var(--neon-cyan); padding-left: 18px; }
.menu-link .m-num {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.3em; color: var(--ink-dim);
  align-self: center;
}
.menu-link:hover .m-num { color: var(--neon-pink); }
.menu-link .m-arrow {
  font-family: var(--f-display); font-weight: 500;
  font-size: 1.5rem; color: var(--ink-dim);
  transform: translateX(-12px); opacity: 0;
  transition: transform .4s var(--ease-out), opacity .3s, color .3s;
  align-self: center;
}
.menu-link:hover .m-arrow { transform: translateX(0); opacity: 1; color: var(--neon-cyan); }

.menu-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line);
  position: relative;
}
.menu-foot a:hover { color: var(--neon-cyan); }

@media (max-width: 700px) {
  .menu-link { grid-template-columns: 50px 1fr auto; gap: 14px; padding: 14px 0; }
  .menu-foot { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ════════════════════════════════════════════════════════════════
   Side nav (dots)
   ═══════════════════════════════════════════════════════════════ */

.side-nav {
  position: fixed; right: 28px; top: 50%; transform: translateY(-50%);
  z-index: 80;
  display: flex; flex-direction: column; gap: 18px;
}
.sn-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ink-faint);
  position: relative;
  transition: background .25s, transform .25s, box-shadow .25s;
}
.sn-dot::after {
  content: attr(data-label);
  position: absolute; right: calc(100% + 14px); top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.25em;
  color: var(--ink-dim); white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.sn-dot:hover, .sn-dot.is-active { background: var(--neon-cyan); box-shadow: 0 0 10px var(--neon-cyan); transform: scale(1.3); }
.sn-dot:hover::after, .sn-dot.is-active::after { opacity: 1; }

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

/* ════════════════════════════════════════════════════════════════
   Sections (general)
   ═══════════════════════════════════════════════════════════════ */

main { position: relative; z-index: 5; }
.section {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--pad-v) var(--pad-h);
}
.section-head { margin-bottom: clamp(40px, 6vw, 80px); }
.section-tag {
  display: inline-block; margin-bottom: 24px;
  color: var(--neon-cyan); position: relative; padding-left: 28px;
}
.section-tag::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 18px; height: 1px; background: var(--neon-cyan);
}
.section-title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2.6rem, 9vw, 7rem);
  letter-spacing: -0.035em; line-height: 0.92;
  display: flex; flex-direction: column;
}
.section-title em { font-style: normal; color: var(--neon-cyan); }
.section-title .reveal { display: block; overflow: hidden; }
.section-title .reveal-inner { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease-out); }
.section-title.is-in .reveal-inner { transform: translateY(0); }
.section-lead {
  max-width: 580px; margin-top: 32px;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 300; color: var(--ink-2); line-height: 1.55;
}

/* ════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */

.hero {
  position: relative; min-height: 100vh;
  padding: 0 var(--pad-h);
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: stretch;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}

.hero-meta-top {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 110px;
  position: relative; z-index: 2;
}
.hero-meta-top .jp { font-size: 14px; color: var(--neon-pink); letter-spacing: 0.1em; }

.hero-meta-side {
  position: absolute; left: var(--pad-h); top: 50%;
  transform: translateY(-50%) rotate(-90deg); transform-origin: left top;
  display: flex; gap: 32px;
  font-size: 9px; opacity: 0.6;
}
.hero-meta-side .now::after { content: attr(data-time); }
@media (max-width: 900px) { .hero-meta-side { display: none; } }

.hero-title {
  align-self: center;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(3.2rem, 14vw, 12rem);
  line-height: 0.86; letter-spacing: -0.045em;
  display: flex; flex-direction: column;
  position: relative; z-index: 2;
  padding: 60px 0;
}
.hero-line { display: block; overflow: hidden; }
.hero-line-em em { color: var(--neon-cyan); font-style: normal; }
.hero-line .hl-inner {
  display: inline-block;
  transform: translateY(110%);
  animation: hero-up 1.1s var(--ease-out) forwards;
  animation-delay: 0.4s;
}
.hero-line:nth-child(2) .hl-inner { animation-delay: 0.55s; color: var(--neon-cyan); }
@keyframes hero-up { to { transform: translateY(0); } }

/* Glitch / chromatic on hover */
.hero-line [data-glitch] {
  position: relative;
}
.hero-line [data-glitch]::before,
.hero-line [data-glitch]::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0; transition: opacity .2s;
}
.hero-line [data-glitch]::before { color: var(--neon-pink); transform: translate(-2px, 0); }
.hero-line [data-glitch]::after  { color: var(--neon-red);  transform: translate(2px, 0); mix-blend-mode: screen; }
.hero-line [data-glitch]:hover::before,
.hero-line [data-glitch]:hover::after { opacity: 0.7; animation: glitch-shift 0.4s steps(4) infinite; }
@keyframes glitch-shift {
  0%   { transform: translate(-2px, 1px); }
  25%  { transform: translate(2px, -1px); }
  50%  { transform: translate(-1px, 2px); }
  75%  { transform: translate(1px, -2px); }
  100% { transform: translate(-2px, 1px); }
}

.hero-block {
  padding-bottom: 80px;
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end;
  position: relative; z-index: 2;
}
.hero-lead {
  max-width: 480px;
  font-size: clamp(1rem, 1.4vw, 1.2rem); font-weight: 300;
  color: var(--ink-2); line-height: 1.55;
}
@media (max-width: 720px) {
  .hero-block { grid-template-columns: 1fr; gap: 28px; }
}

.hero-scroll {
  position: absolute; left: 50%; bottom: 24px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 9px;
}
.hs-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--neon-cyan), transparent);
  animation: hs-pulse 1.8s ease-in-out infinite;
}
@keyframes hs-pulse { 50% { opacity: 0.3; } }

.floating-tags { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.ft {
  position: absolute;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--c, var(--neon-cyan));
  opacity: 0.18;
  text-shadow: 0 0 12px var(--c);
  animation: ft-float 6s ease-in-out infinite;
}
.ft:nth-child(2) { animation-delay: -2s; }
.ft:nth-child(3) { animation-delay: -4s; }
@keyframes ft-float {
  0%, 100% { transform: translateY(0); opacity: 0.18; }
  50% { transform: translateY(-20px); opacity: 0.32; }
}

/* ════════════════════════════════════════════════════════════════
   Big CTA
   ═══════════════════════════════════════════════════════════════ */

.big-cta {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 32px;
  background: var(--neon-cyan); color: var(--bg);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.25em;
  text-transform: uppercase; font-weight: 500;
  position: relative;
  transition: background .3s, color .3s, box-shadow .3s;
  will-change: transform;
  box-shadow: 0 0 0 rgba(0, 240, 255, 0);
}
.big-cta::before {
  content: ''; position: absolute; inset: -2px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
  z-index: -1; opacity: 0;
  transition: opacity .3s;
}
.big-cta:hover {
  background: var(--neon-pink); color: var(--bg);
  box-shadow: 0 0 40px rgba(255, 16, 240, 0.4);
}
.cta-arrow { transition: transform .35s var(--ease-out); font-family: var(--f-display); }
.big-cta:hover .cta-arrow { transform: translateX(6px); }

/* ════════════════════════════════════════════════════════════════
   Marquee
   ═══════════════════════════════════════════════════════════════ */

.marquee-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  background: rgba(5, 0, 16, 0.4);
  position: relative; z-index: 5;
}
.marquee { overflow: hidden; white-space: nowrap; }
.marquee-track {
  display: inline-flex; gap: 56px;
  animation: mq 28s linear infinite;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: -0.02em;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 56px; color: var(--ink); }
.marquee-track span::after { content: '○'; color: var(--neon-cyan); font-size: 0.7em; }
.marquee-track span.jp { color: var(--neon-pink); font-family: var(--f-jp); }
@keyframes mq { to { transform: translateX(-50%); } }

/* ════════════════════════════════════════════════════════════════
   Services
   ═══════════════════════════════════════════════════════════════ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.service {
  position: relative;
  padding: 44px 34px;
  background: linear-gradient(135deg, rgba(176, 38, 255, 0.05), rgba(0, 240, 255, 0.02));
  border: 1px solid var(--line-2);
  border-radius: 20px;
  overflow: hidden;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .5s var(--ease-out), border-color .4s, box-shadow .4s;
  will-change: transform;
}
.service::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 16, 240, 0.18), transparent 40%);
  opacity: 0;
  transition: opacity .5s;
  pointer-events: none;
}
.service:hover {
  transform: translateY(-8px);
  border-color: var(--neon-pink);
  box-shadow: 0 20px 60px rgba(255, 16, 240, 0.22), 0 0 40px rgba(176, 38, 255, 0.15);
}
.service:hover::before { opacity: 1; }

.srv-num {
  color: var(--neon-cyan);
  text-shadow: 0 0 6px rgba(0, 240, 255, 0.5);
}

.srv-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.3);
  font-size: 1.8rem;
  color: var(--neon-pink);
  text-shadow: 0 0 15px var(--neon-pink);
  transition: transform .4s var(--ease-out), border-color .3s, box-shadow .3s;
  margin: 6px 0 6px;
}
.service:hover .srv-icon {
  border-color: var(--neon-pink);
  box-shadow: 0 0 25px rgba(255, 16, 240, 0.4);
  transform: rotate(-8deg) scale(1.1);
}

.srv-name {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(1.3rem, 1.8vw, 1.55rem);
  letter-spacing: -0.015em; line-height: 1.2;
}
.srv-desc {
  color: var(--ink-2);
  font-size: 14.5px; line-height: 1.7;
}

.srv-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 6px;
}
.srv-tags > span {
  font-family: var(--f-mono); font-weight: 500;
  font-size: 10.5px; letter-spacing: 0.08em;
  padding: 4px 10px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.22);
  border-radius: 100px;
  color: var(--neon-cyan);
}

.srv-kanji {
  position: absolute;
  right: 16px; bottom: 6px;
  font-family: var(--f-jp-mincho); font-weight: 900;
  font-size: 7rem; line-height: 1;
  color: rgba(255, 16, 240, 0.05);
  pointer-events: none;
  transition: color .5s, transform .5s var(--ease-out);
  user-select: none;
}
.service:hover .srv-kanji {
  color: rgba(255, 16, 240, 0.14);
  transform: scale(1.1) rotate(-4deg);
}

/* ════════════════════════════════════════════════════════════════
   Process
   ═══════════════════════════════════════════════════════════════ */

.process-list {
  display: flex; flex-direction: column;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: 160px 1fr 100px;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  position: relative;
  transition: padding .4s var(--ease-out);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step:hover { padding-left: 24px; }
.step-num {
  display: flex; flex-direction: column; gap: 8px;
  line-height: 1;
}
.step-n {
  font-family: var(--f-mono); font-weight: 600;
  font-size: 13px; letter-spacing: 0.28em;
  color: var(--neon-pink);
  text-shadow: 0 0 8px rgba(255, 16, 240, 0.4);
}
.step-jp {
  font-family: var(--f-jp-mincho); font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--neon-cyan);
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.55), 0 0 24px rgba(0, 240, 255, 0.3);
  transition: transform .5s var(--ease-out), color .4s, text-shadow .4s;
}
.step:nth-child(2) .step-jp { color: var(--neon-pink); text-shadow: 0 0 12px rgba(255, 16, 240, 0.55), 0 0 24px rgba(255, 16, 240, 0.3); }
.step:nth-child(3) .step-jp { color: var(--hinomaru);  text-shadow: 0 0 12px rgba(183, 0, 45, 0.7),   0 0 24px rgba(183, 0, 45, 0.4); }
.step:nth-child(4) .step-jp { color: var(--neon-purple); text-shadow: 0 0 12px rgba(176, 38, 255, 0.55), 0 0 24px rgba(176, 38, 255, 0.3); }
.step:hover .step-jp { transform: rotate(-6deg) scale(1.05); }
.step-name {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
  letter-spacing: -0.02em; margin-bottom: 10px;
}
.step-desc { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; max-width: 620px; }
.step-bar {
  display: block; width: 60px; height: 1px;
  background: var(--line-2);
  justify-self: end; align-self: center;
  transition: width .4s var(--ease-out), background .3s;
}
.step:hover .step-bar { width: 100px; background: var(--neon-cyan); }

@media (max-width: 720px) {
  .step { grid-template-columns: 90px 1fr; gap: 20px; padding: 28px 0; }
  .step-bar { display: none; }
  .step-jp { font-size: 1.8rem; }
}

/* ════════════════════════════════════════════════════════════════
   Work
   ═══════════════════════════════════════════════════════════════ */

.work-list { display: flex; flex-direction: column; }
.work-item {
  display: grid;
  grid-template-columns: 100px 1fr auto auto 60px;
  align-items: baseline; gap: 32px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  position: relative; overflow: hidden;
  transition: padding .4s var(--ease-out);
  will-change: transform;
}
.work-item:last-child { border-bottom: 1px solid var(--line); }
.work-item::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, var(--w-c, var(--neon-cyan)) 50%, transparent);
  opacity: 0; transform: translateX(-100%);
  transition: opacity .3s, transform .8s var(--ease-out);
  mix-blend-mode: overlay;
}
.work-item:hover { padding-left: 28px; }
.work-item:hover::before { opacity: 0.15; transform: translateX(100%); }
.w-year { align-self: center; }
.w-name {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  letter-spacing: -0.02em; line-height: 1;
  transition: color .3s;
}
.work-item:hover .w-name { color: var(--neon-cyan); }
.w-type { align-self: center; }
.w-color {
  display: inline-block; width: 14px; height: 14px;
  background: currentColor;
  border-radius: 50%;
  align-self: center;
  font-size: 0; color: var(--neon-cyan);
  box-shadow: 0 0 8px currentColor;
}
.w-arrow {
  font-family: var(--f-display); font-size: 1.4rem;
  color: var(--ink-dim); align-self: center; justify-self: end;
  transform: translateX(-8px); opacity: 0;
  transition: transform .4s var(--ease-out), opacity .3s, color .3s;
}
.work-item:hover .w-arrow { transform: translateX(0); opacity: 1; color: var(--neon-cyan); }

@media (max-width: 720px) {
  .work-item { grid-template-columns: 1fr auto; gap: 8px 16px; padding: 24px 0; }
  .w-year { grid-row: 1; grid-column: 1; }
  .w-name { grid-row: 2; grid-column: 1 / -1; }
  .w-type { grid-row: 3; grid-column: 1; }
  .w-color { grid-row: 1; grid-column: 2; }
  .w-arrow { display: none; }
}

/* ════════════════════════════════════════════════════════════════
   About
   ═══════════════════════════════════════════════════════════════ */

.about-body {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px 80px; align-items: start;
}
.about-p {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 300; line-height: 1.7; color: var(--ink-2);
}
.about-p:first-of-type { color: var(--ink); font-weight: 400; }
.about-stats {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; gap: 10px; }
.stat-num {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(3rem, 7vw, 5.5rem);
  letter-spacing: -0.04em; line-height: 1;
  color: var(--neon-cyan);
  font-feature-settings: 'tnum';
}
.stat:nth-child(2) .stat-num { color: var(--neon-pink); }
.stat:nth-child(3) .stat-num { color: var(--neon-red); }
.stat-label { color: var(--ink-dim); }

@media (max-width: 800px) {
  .about-body { grid-template-columns: 1fr; gap: 28px; }
  .about-stats { grid-template-columns: 1fr; gap: 24px; }
}

/* ════════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════ */

.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-top: 1px solid var(--line);
  transition: background .3s;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item[open] { background: var(--bg-2); }
.faq-item summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 24px 28px 0;
  gap: 24px;
  transition: padding .3s, color .3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--neon-cyan); padding-left: 16px; }
.faq-item[open] summary { color: var(--neon-cyan); padding-left: 16px; }
.faq-q {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
  letter-spacing: -0.02em; line-height: 1.2;
}
.faq-icon {
  flex-shrink: 0; width: 18px; height: 18px;
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; top: 50%; left: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transition: transform .35s var(--ease-out);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-a {
  padding: 0 24px 32px 16px;
  max-width: 780px;
  color: var(--ink-2); font-size: 15px; line-height: 1.65;
}

/* ════════════════════════════════════════════════════════════════
   Contact
   ═══════════════════════════════════════════════════════════════ */

.contact-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 80px;
}
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field-label {}
.field input, .field textarea {
  border-bottom: 1px solid var(--line-2);
  padding: 10px 0;
  font-family: var(--f-body); font-size: 16px; font-weight: 300;
  color: var(--ink);
  transition: border-color .3s;
  resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: var(--neon-cyan); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-dim); }
.field-check { flex-direction: row; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-dim); }
.field-check input { width: 16px; height: 16px; accent-color: var(--neon-cyan); }

.contact-actions {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  margin-top: 16px;
}
.contact-or { color: var(--ink-dim); }
.wa-link {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--neon-cyan);
  padding-bottom: 4px; border-bottom: 1px solid currentColor;
  transition: color .3s;
}
.wa-link:hover { color: var(--neon-pink); }

.cf-feedback { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; min-height: 1em; }
.cf-feedback.success { color: var(--neon-cyan); }
.cf-feedback.error { color: var(--neon-red); }

.contact-direct {
  display: flex; flex-direction: column; gap: 16px;
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  position: relative;
}
.contact-direct::before {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-pink));
}
.cd-label { color: var(--neon-cyan); }
.cd-email {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
  transition: color .3s;
}
.cd-email:hover { color: var(--neon-cyan); }
.cd-phone {
  font-family: var(--f-mono); font-size: 15px; letter-spacing: 0.08em;
  color: var(--ink-2); transition: color .3s;
}
.cd-phone:hover { color: var(--neon-cyan); }
.cd-loc {}
.cd-socials { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.cd-soc {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0;
  font-size: 14px; color: var(--ink-2);
  transition: color .3s, padding-left .35s var(--ease-out);
}
.cd-soc:hover { color: var(--neon-cyan); padding-left: 8px; }
.cd-soc .mono { color: var(--ink-dim); transition: color .3s; }
.cd-soc:hover .mono { color: var(--neon-cyan); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ════════════════════════════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════════════════════════ */

.site-footer {
  position: relative; z-index: 5;
  padding: 60px var(--pad-h) 30px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
}
.footer-massive {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(4rem, 22vw, 18rem);
  letter-spacing: -0.05em; line-height: 0.85;
  text-align: center;
  display: flex; justify-content: center;
  white-space: nowrap;
  background: linear-gradient(180deg, var(--ink) 0%, transparent 95%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  margin-bottom: 40px;
}
.footer-massive .fm-dot,
.footer-massive .fm-red {
  background: linear-gradient(180deg, var(--neon-red) 0%, transparent 95%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.footer-meta {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  padding-top: 30px; border-top: 1px solid var(--line);
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--ink-dim); transition: color .3s; }
.footer-links a:hover { color: var(--neon-cyan); }

/* ════════════════════════════════════════════════════════════════
   Philosophy (Bushido digital)
   ═══════════════════════════════════════════════════════════════ */

.section-philosophy {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(5, 0, 16, 0.3), rgba(183, 0, 45, 0.04), rgba(5, 0, 16, 0.3));
  overflow: hidden;
  position: relative;
}
.section-philosophy::before {
  content: '哲学';
  position: absolute;
  right: -5vw; top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-jp-mincho); font-weight: 900;
  font-size: min(50vw, 600px); line-height: 0.9;
  background: linear-gradient(180deg, rgba(255, 16, 240, 0.1), transparent);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.section-philosophy > * { position: relative; z-index: 1; }

.section-title-jp {
  display: block;
  font-family: var(--f-jp-mincho); font-weight: 400;
  font-size: 0.32em;
  color: var(--neon-pink);
  letter-spacing: 0.35em;
  margin-top: 22px;
  text-shadow: 0 0 15px rgba(255, 16, 240, 0.6);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.philo-card {
  padding: 40px 32px;
  background: linear-gradient(135deg, rgba(183, 0, 45, 0.06), rgba(176, 38, 255, 0.04));
  border: 1px solid var(--line-2);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease-out), border-color .4s, box-shadow .4s;
}
.philo-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-pink), transparent);
  opacity: 0; transition: opacity .4s;
}
.philo-card:hover {
  transform: translateY(-8px);
  border-color: var(--neon-pink);
  box-shadow: 0 20px 60px rgba(255, 16, 240, 0.2);
}
.philo-card:hover::before { opacity: 1; }
.philo-kanji {
  display: block;
  font-family: var(--f-jp-mincho); font-weight: 900;
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1;
  background: linear-gradient(180deg, var(--neon-pink), var(--neon-purple));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 20px rgba(255, 16, 240, 0.4));
  margin-bottom: 18px;
}
.philo-romaji {
  display: block;
  font-family: var(--f-mono); font-weight: 500;
  font-size: 11px; letter-spacing: 0.3em;
  color: var(--neon-cyan);
  margin-bottom: 14px;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}
.philo-name {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(1.15rem, 1.5vw, 1.3rem);
  letter-spacing: -0.015em; line-height: 1.2;
  margin-bottom: 12px;
}
.philo-desc {
  color: var(--ink-2);
  font-size: 14px; line-height: 1.65;
}

/* ════════════════════════════════════════════════════════════════
   Legal pages (aviso-legal, privacidad, cookies)
   ═══════════════════════════════════════════════════════════════ */

.legal-page #bg-canvas,
.legal-page .side-nav,
.legal-page .scanlines { display: none; }

.legal-page .vignette { opacity: 0.7; }

.legal-hero {
  padding: clamp(140px, 18vw, 220px) var(--pad-h) clamp(60px, 8vw, 100px);
  max-width: var(--maxw); margin: 0 auto;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.legal-hero::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0.5;
}
.legal-crumb {
  display: inline-flex; gap: 10px; align-items: center;
  margin-bottom: 28px;
}
.legal-crumb a { color: var(--ink-dim); transition: color .3s; }
.legal-crumb a:hover { color: var(--neon-cyan); }
.legal-crumb .sep { color: var(--ink-faint); }
.legal-crumb .curr { color: var(--neon-cyan); }
.legal-title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  letter-spacing: -0.035em; line-height: 0.95;
}
.legal-title em { font-style: normal; color: var(--neon-cyan); }
.legal-meta {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin-top: 28px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-dim);
}
.legal-meta span strong { color: var(--ink-2); font-weight: 400; margin-left: 8px; }

.legal-body {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 100px) var(--pad-h) clamp(80px, 10vw, 140px);
  font-size: 15.5px; line-height: 1.75; color: var(--ink-2);
}
.legal-body section { margin-bottom: 56px; }
.legal-body h2 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -0.025em; line-height: 1.15;
  color: var(--ink);
  margin: 0 0 20px;
  padding-top: 12px;
  position: relative;
}
.legal-body h2::before {
  content: attr(data-num);
  display: block;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.3em;
  color: var(--neon-cyan); text-transform: uppercase;
  margin-bottom: 14px; font-weight: 400;
}
.legal-body h3 {
  font-family: var(--f-display); font-weight: 500;
  font-size: 1.15rem;
  color: var(--ink);
  margin: 28px 0 12px;
  letter-spacing: -0.015em;
}
.legal-body p { margin-bottom: 16px; }
.legal-body p:last-child { margin-bottom: 0; }
.legal-body a {
  color: var(--neon-cyan); text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color .3s;
}
.legal-body a:hover { color: var(--neon-pink); }
.legal-body ul, .legal-body ol {
  margin: 12px 0 20px 0;
  padding-left: 24px;
}
.legal-body ul { list-style: none; padding-left: 0; }
.legal-body ul li {
  position: relative; padding-left: 22px; margin-bottom: 8px;
}
.legal-body ul li::before {
  content: '→'; position: absolute; left: 0; top: 0;
  color: var(--neon-cyan); font-family: var(--f-display);
}
.legal-body ol { list-style: decimal; }
.legal-body ol li { margin-bottom: 8px; }
.legal-body strong { color: var(--ink); font-weight: 500; }

.legal-dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 14px 32px;
  margin: 20px 0;
  padding: 28px 32px;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  position: relative;
}
.legal-dl::before {
  content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-pink));
}
.legal-dl dt {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-dim);
  align-self: center;
}
.legal-dl dd { color: var(--ink); margin: 0; }
.legal-dl dd a { color: var(--neon-cyan); border-bottom: 0; }

.legal-table {
  width: 100%; border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
  border: 1px solid var(--line);
}
.legal-table th, .legal-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.legal-table th {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--neon-cyan); font-weight: 500;
  background: var(--bg-2);
}
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table tr:hover td { background: var(--bg-2); }
.legal-table code {
  font-family: var(--f-mono); font-size: 12px;
  color: var(--neon-pink); background: rgba(255, 16, 240, 0.08);
  padding: 2px 6px;
}

@media (max-width: 720px) {
  .legal-dl { grid-template-columns: 1fr; gap: 6px 0; padding: 20px; }
  .legal-dl dt { margin-top: 12px; }
  .legal-dl dt:first-child { margin-top: 0; }
  .legal-table { display: block; overflow-x: auto; }
  .legal-meta { gap: 12px; }
}

/* ════════════════════════════════════════════════════════════════
   Reduced motion
   ═══════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none; }
  .hero-line .hl-inner { transform: translateY(0); }
}
