/* ============================================
   S51 / styles.css — NEON STUDIO
   ============================================ */

:root {
  --bg: #050510;
  --bg-elev: #0a0a1a;
  --bg-elev-2: #10102a;

  --cyan: #00e5ff;
  --cyan-soft: rgba(0, 229, 255, 0.6);
  --cyan-glow: rgba(0, 229, 255, 0.55);
  --cyan-faint: rgba(0, 229, 255, 0.18);

  --pink: #ff2bd6;
  --pink-soft: rgba(255, 43, 214, 0.6);
  --pink-glow: rgba(255, 43, 214, 0.55);
  --pink-faint: rgba(255, 43, 214, 0.18);

  --white: #f5f5ff;
  --text: #d8d8ee;
  --text-mid: #8888b0;
  --text-dim: #50506e;

  --border: rgba(0, 229, 255, 0.14);
  --border-strong: rgba(0, 229, 255, 0.32);

  --serif: "Fraunces", "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none;
  position: relative;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

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

/* ============================================
   ATMOSPHERE
   ============================================ */
.aurora {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 229, 255, 0.14), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 43, 214, 0.12), transparent 50%),
    radial-gradient(circle at 50% 110%, rgba(0, 229, 255, 0.08), transparent 60%);
  filter: blur(40px);
  animation: aurora 22s ease-in-out infinite;
}
@keyframes aurora {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-2%, 2%) scale(1.05); }
}

.grain {
  position: fixed; inset: -50%; pointer-events: none; z-index: 4; opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 8s steps(8) infinite;
  mix-blend-mode: overlay;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(-2%, -3%); }
  60%  { transform: translate(3%, 2%); }
  80%  { transform: translate(2%, -2%); }
  100% { transform: translate(0, 0); }
}

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

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

/* ============================================
   LOADER
   ============================================ */
.loader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 100;
  display: grid; place-items: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-inner { width: min(420px, 80vw); }
.loader-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--cyan);
  margin-bottom: 14px;
  text-shadow: 0 0 8px var(--cyan-glow);
}
.loader-bar { height: 1px; background: var(--border); position: relative; overflow: hidden; }
.loader-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  box-shadow: 0 0 16px var(--cyan-glow);
  transition: width 0.05s linear;
}
.loader-stats {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--pink);
  margin-top: 10px;
  text-shadow: 0 0 6px var(--pink-glow);
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 200;
  will-change: transform;
}
.cursor {
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px var(--cyan), 0 0 20px var(--cyan-glow);
}
.cursor-ring {
  width: 30px; height: 30px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.28s var(--ease), height 0.28s var(--ease), border-color 0.28s var(--ease);
  box-shadow: 0 0 12px var(--cyan-faint);
}
.cursor-ring.hover {
  width: 64px; height: 64px;
  border-color: var(--pink);
  box-shadow: 0 0 18px var(--pink-glow);
}
@media (max-width: 768px), (hover: none) {
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
}

/* ============================================
   HERO PARTICLE CANVAS
   ============================================ */
.particle-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
  transition: opacity 0.6s ease;
}
.particle-canvas.dim { opacity: 0; }

/* ============================================
   TOP BAR
   ============================================ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 28px;
  background: rgba(5, 5, 16, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-mid);
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan), 0 0 18px var(--cyan-glow);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}

.status { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); }
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan-glow);
}

.mono { font-family: var(--mono); }
main { position: relative; z-index: 5; }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  padding: 130px 28px 80px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}

.hero-meta {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  opacity: 0;
  animation: fadeUp 0.9s 0.3s var(--ease) forwards;
}
.meta-item { display: flex; flex-direction: column; gap: 6px; }
.meta-item .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.meta-item .value {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--cyan);
  text-shadow: 0 0 6px var(--cyan-faint);
}

/* Welcome display — slightly more reserved than "Pietro" was */
.display {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(64px, 16vw, 220px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--white);
  margin: 24px 0 36px;
  display: flex;
  user-select: none;
  position: relative;
}
.display.neon {
  text-shadow:
    0 0 6px var(--white),
    0 0 22px var(--cyan-glow),
    0 0 44px var(--cyan-glow),
    0 0 86px var(--pink-glow);
  animation: neonFlicker 7s infinite;
}
@keyframes neonFlicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    text-shadow:
      0 0 6px var(--white),
      0 0 22px var(--cyan-glow),
      0 0 44px var(--cyan-glow),
      0 0 86px var(--pink-glow);
    opacity: 1;
  }
  20%, 24%, 55% { text-shadow: none; opacity: 0.85; }
}
.display span {
  display: inline-block;
  opacity: 0;
  transform: translateY(90px) rotate(8deg);
  animation: letterIn 1s var(--ease) forwards;
  transition: transform 0.5s var(--ease), color 0.3s ease;
}
.display span:nth-child(1) { animation-delay: 0.40s; }
.display span:nth-child(2) { animation-delay: 0.48s; }
.display span:nth-child(3) { animation-delay: 0.56s; }
.display span:nth-child(4) { animation-delay: 0.64s; }
.display span:nth-child(5) { animation-delay: 0.72s; }
.display span:nth-child(6) { animation-delay: 0.80s; }
.display span:nth-child(7) { animation-delay: 0.88s; }
.display span:hover {
  color: var(--pink);
  transform: translateY(-8px) rotate(-3deg);
}
@keyframes letterIn { to { opacity: 1; transform: translateY(0) rotate(0); } }

.hero-foot {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 30px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 1.2s var(--ease) forwards;
}
.lede {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(18px, 1.6vw, 22px);
  max-width: 560px;
  color: var(--text);
  line-height: 1.55;
}
.lede em {
  color: var(--cyan);
  font-style: italic;
  text-shadow: 0 0 14px var(--cyan-faint);
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.scroll-cue {
  display: flex; align-items: center; gap: 12px;
  font-size: 10px; letter-spacing: 0.22em;
  color: var(--text-dim);
}
.scroll-line {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  position: relative;
}
.scroll-line::after {
  content: ""; position: absolute; top: -2px;
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan-glow);
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot { 0% { left: 0; opacity: 1; } 100% { left: 60px; opacity: 0; } }

/* ============================================
   TICKER
   ============================================ */
.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elev);
  overflow: hidden;
  padding: 18px 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-mid);
  position: relative;
  z-index: 5;
}
.ticker::before, .ticker::after {
  content: ""; position: absolute; top: 0; bottom: 0;
  width: 100px; z-index: 2; pointer-events: none;
}
.ticker::before { left: 0;  background: linear-gradient(90deg,  var(--bg-elev), transparent); }
.ticker::after  { right: 0; background: linear-gradient(-90deg, var(--bg-elev), transparent); }
.ticker-track {
  display: inline-flex; white-space: nowrap; gap: 36px;
  animation: marquee 60s linear infinite;
  padding-left: 36px;
}
.ticker-track span:nth-child(odd) {
  color: var(--cyan);
  text-shadow: 0 0 8px var(--cyan-faint);
}
.ticker-track span:nth-child(odd)::before { content: "✦ "; color: var(--pink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================
   SHOWCASE SECTION (shared)
   ============================================ */
.showcase {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  z-index: 5;
  padding: 80px 28px;
}
.showcase::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 30%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
  z-index: 2;
}

.section-tag {
  position: absolute;
  top: 30px; left: 30px;
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.22em;
  color: var(--text-mid);
  z-index: 6;
}
.tag-num {
  display: inline-block;
  padding: 5px 9px;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  text-shadow: 0 0 6px var(--cyan-faint);
  box-shadow: inset 0 0 8px var(--cyan-faint);
}
.tag-name { color: var(--cyan); text-shadow: 0 0 8px var(--cyan-faint); }

.section-corner {
  position: absolute;
  bottom: 30px; right: 30px;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--pink);
  text-shadow: 0 0 8px var(--pink-faint);
  z-index: 6;
}

.section-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
}

/* ============================================
   02 / GLITCH
   ============================================ */
.glitch-section { background: var(--bg); }
.glitch-section::after {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg,
      rgba(0, 229, 255, 0.04) 0px,
      rgba(0, 229, 255, 0.04) 2px,
      transparent 2px, transparent 6px);
  pointer-events: none; z-index: 2;
}
.glitch-stack {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  text-align: center;
  width: 100%;
}
.glitch {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(46px, 9vw, 120px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--white);
  position: relative;
  text-shadow: 0 0 30px rgba(255,255,255,0.4);
  max-width: 14ch;
}
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--bg);
}
.glitch::before {
  color: var(--cyan);
  z-index: -1;
  animation: glitchA 3.6s infinite linear alternate-reverse;
  text-shadow: 0 0 12px var(--cyan-glow);
}
.glitch::after {
  color: var(--pink);
  z-index: -2;
  animation: glitchB 2.8s infinite linear alternate-reverse;
  text-shadow: 0 0 12px var(--pink-glow);
}
@keyframes glitchA {
  0%   { clip-path: inset(20% 0 60% 0); transform: translate(-3px, -2px); }
  20%  { clip-path: inset(70% 0 5%  0); transform: translate(3px, 2px);   }
  40%  { clip-path: inset(40% 0 40% 0); transform: translate(-2px, 0);    }
  60%  { clip-path: inset(85% 0 5%  0); transform: translate(4px, -1px);  }
  80%  { clip-path: inset(10% 0 80% 0); transform: translate(-2px, 1px);  }
  100% { clip-path: inset(50% 0 30% 0); transform: translate(2px, -3px);  }
}
@keyframes glitchB {
  0%   { clip-path: inset(10% 0 70% 0); transform: translate(3px, 1px);   }
  20%  { clip-path: inset(60% 0 20% 0); transform: translate(-3px, -2px); }
  40%  { clip-path: inset(80% 0 5%  0); transform: translate(2px, 2px);   }
  60%  { clip-path: inset(25% 0 50% 0); transform: translate(-4px, 0);    }
  80%  { clip-path: inset(45% 0 35% 0); transform: translate(2px, -1px);  }
  100% { clip-path: inset(5%  0 75% 0); transform: translate(-3px, 3px);  }
}
.glitch-sub {
  font-size: 11px;
  letter-spacing: 0.34em;
  color: var(--text-mid);
}

.glitch-bars { position: absolute; inset: 0; pointer-events: none; }
.glitch-bars span {
  position: absolute; left: 0; right: 0; height: 2px;
  background: var(--cyan);
  opacity: 0.35;
  mix-blend-mode: screen;
  box-shadow: 0 0 8px var(--cyan-glow);
}
.glitch-bars span:nth-child(1) { top: 25%; animation: bar 4s 0s   infinite linear; }
.glitch-bars span:nth-child(2) { top: 50%; animation: bar 5s 0.6s infinite linear; background: var(--pink); box-shadow: 0 0 8px var(--pink-glow); }
.glitch-bars span:nth-child(3) { top: 65%; animation: bar 3s 1.2s infinite linear; }
.glitch-bars span:nth-child(4) { top: 80%; animation: bar 6s 1.8s infinite linear; background: var(--pink); box-shadow: 0 0 8px var(--pink-glow); }
@keyframes bar {
  0%   { transform: translateX(-100%); opacity: 0; }
  10%  { opacity: 0.45; }
  90%  { opacity: 0.45; }
  100% { transform: translateX(100%);  opacity: 0; }
}

/* ============================================
   03 / FIELD
   ============================================ */
.field-section { background: #02020a; }
.field-overlay {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  text-align: center;
  pointer-events: none;
  max-width: 720px;
}
.field-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
  text-shadow: 0 0 20px rgba(255,255,255,0.3), 0 0 50px var(--cyan-glow);
}
.field-title em {
  color: var(--pink);
  font-style: italic;
  text-shadow: 0 0 20px var(--pink-glow);
}
.field-copy {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  max-width: 460px;
}
.field-readout {
  display: flex;
  gap: 28px;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan-glow);
  padding: 10px 16px;
  border: 1px solid var(--cyan-faint);
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
}

/* ============================================
   04 / TUNNEL
   ============================================ */
.tunnel-section {
  background: #03030c;
  perspective: 800px;
  perspective-origin: 50% 50%;
}
.tunnel {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
}
.tunnel-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 700px; height: 700px;
  margin: -350px 0 0 -350px;
  border: 1px solid var(--cyan);
  box-shadow: 0 0 18px var(--cyan-glow), inset 0 0 18px var(--cyan-faint);
  border-radius: 4px;
  transform-style: preserve-3d;
  animation: tunnelTravel 6s linear infinite;
  opacity: 0;
}
.tunnel-ring.alt {
  border-color: var(--pink);
  box-shadow: 0 0 18px var(--pink-glow), inset 0 0 18px var(--pink-faint);
}
@keyframes tunnelTravel {
  0%   { transform: translateZ(-2400px) rotate(0deg);   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateZ(800px)   rotate(45deg);  opacity: 0; }
}
.tunnel-overlay {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  text-align: center;
}
.tunnel-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(34px, 5.6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--white);
  text-shadow: 0 0 18px rgba(255,255,255,0.35), 0 0 40px var(--cyan-glow);
  max-width: 16ch;
}
.tunnel-sub {
  font-size: 14px; letter-spacing: 0.4em;
  color: var(--cyan);
  text-shadow: 0 0 12px var(--cyan-glow);
  border: 1px solid var(--cyan);
  padding: 10px 22px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
  animation: pulseLabel 2.4s ease-in-out infinite;
}
@keyframes pulseLabel {
  0%, 100% { box-shadow: 0 0 0 var(--cyan-glow); }
  50%      { box-shadow: 0 0 24px var(--cyan-glow); }
}

/* ============================================
   05 / PILLARS
   ============================================ */
.pillars-section {
  background:
    radial-gradient(ellipse at center, #0a0820 0%, #03030c 70%);
}
.pillars-wrap {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}
.pillars-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(40px, 6.5vw, 92px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
  text-shadow: 0 0 18px rgba(255,255,255,0.3);
  text-align: center;
}
.pillars-title em {
  color: var(--pink);
  text-shadow: 0 0 18px var(--pink-glow);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: 100%;
}

.pillar {
  position: relative;
  padding: 28px 24px 32px;
  background: rgba(5, 5, 16, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid var(--cyan-faint);
  display: flex; flex-direction: column; gap: 14px;
  min-height: 240px;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease),
              box-shadow 0.5s var(--ease);
  opacity: 0;
  transform: translateY(30px);
}
[data-reveal].in .pillar { animation: pillarIn 0.8s var(--ease) forwards; }
.pillars .pillar:nth-child(1) { animation-delay: 0.05s; }
.pillars .pillar:nth-child(2) { animation-delay: 0.18s; }
.pillars .pillar:nth-child(3) { animation-delay: 0.31s; }
.pillars .pillar:nth-child(4) { animation-delay: 0.44s; }
@keyframes pillarIn { to { opacity: 1; transform: translateY(0); } }

.pillar:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
  box-shadow: 0 12px 40px rgba(0, 229, 255, 0.18),
              inset 0 0 20px rgba(0, 229, 255, 0.08);
}
.p-gaming:hover, .p-ai:hover {
  border-color: var(--pink);
  box-shadow: 0 12px 40px rgba(255, 43, 214, 0.2),
              inset 0 0 20px rgba(255, 43, 214, 0.08);
}

.pillar-num {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--cyan);
  text-shadow: 0 0 6px var(--cyan-faint);
}
.p-gaming .pillar-num, .p-ai .pillar-num {
  color: var(--pink);
  text-shadow: 0 0 6px var(--pink-faint);
}

.pillar-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 28px;
  line-height: 1.1;
  color: var(--white);
  text-shadow: 0 0 10px rgba(255,255,255,0.18);
}
.pillar-copy {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-mid);
  flex: 1;
}

.pillar-bar {
  margin-top: auto;
  height: 1px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}
.pillar-bar span {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  width: 40%;
  animation: pillarPulse 4s ease-in-out infinite;
}
.p-gaming .pillar-bar span,
.p-ai     .pillar-bar span {
  background: linear-gradient(90deg, transparent, var(--pink), transparent);
}
.p-fitness .pillar-bar span { animation-delay: 0s;   }
.p-gaming  .pillar-bar span { animation-delay: 1s;   }
.p-data    .pillar-bar span { animation-delay: 2s;   }
.p-ai      .pillar-bar span { animation-delay: 3s;   }
@keyframes pillarPulse {
  0%   { left: -40%; }
  100% { left: 100%; }
}

/* ============================================
   06 / RAIN + CONTACT
   ============================================ */
.rain-section { background: #02020a; }
.rain-center {
  position: relative;
  z-index: 4;
  display: grid; place-items: center;
}
.rain-plate {
  background: rgba(5, 5, 16, 0.55);
  backdrop-filter: blur(10px);
  border: 1px solid var(--cyan-faint);
  padding: 50px 60px;
  text-align: center;
  display: flex; flex-direction: column; gap: 24px;
  position: relative;
  box-shadow:
    0 0 30px rgba(0, 229, 255, 0.18),
    inset 0 0 30px rgba(255, 43, 214, 0.08);
}
.rain-plate::before, .rain-plate::after {
  content: ""; position: absolute;
  width: 18px; height: 18px;
  border: 1px solid var(--pink);
  box-shadow: 0 0 8px var(--pink-glow);
}
.rain-plate::before { top: -1px; left: -1px;   border-right: none; border-bottom: none; }
.rain-plate::after  { bottom: -1px; right: -1px; border-left:  none; border-top:    none; }

.plate-label, .plate-meta {
  font-size: 10px; letter-spacing: 0.3em;
  color: var(--cyan);
  text-shadow: 0 0 8px var(--cyan-faint);
}
.plate-meta { color: var(--pink); text-shadow: 0 0 8px var(--pink-faint); }

.contact-mail {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 4.4vw, 60px);
  letter-spacing: -0.02em;
  color: var(--white);
  text-shadow:
    0 0 12px var(--white),
    0 0 30px var(--cyan-glow),
    0 0 60px var(--pink-glow);
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
  transition: color 0.3s ease, transform 0.4s var(--ease);
  will-change: transform;
  word-break: break-all;
}
.contact-mail::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.6s var(--ease);
}
.contact-mail:hover::after { transform: scaleX(1); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px;
  position: relative;
  z-index: 5;
  background: rgba(5, 5, 16, 0.55);
  backdrop-filter: blur(8px);
}
.footer-row {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  max-width: 1180px; margin: 0 auto;
}

/* ============================================
   REVEAL UTILITY
   ============================================ */
[data-reveal] { opacity: 1; }
[data-reveal] .pillar { /* hidden until .in via animation */ }

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .pillar { opacity: 1; transform: none; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .hero { padding: 120px 22px 60px; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .section-tag { top: 22px; left: 22px; }
  .section-corner { bottom: 22px; right: 22px; }
  .rain-plate { padding: 36px 30px; }
  .tunnel-ring { width: 460px; height: 460px; margin: -230px 0 0 -230px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .showcase { padding: 110px 22px 80px; }
}

@media (max-width: 480px) {
  .hero-meta { gap: 26px; }
  .topbar { padding: 12px 18px; font-size: 10px; }
  .topbar-left, .topbar-right { gap: 10px; }
  .topbar-right .dim-on-mobile { display: none; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .field-readout { flex-direction: column; gap: 6px; }
  .tunnel-ring { width: 320px; height: 320px; margin: -160px 0 0 -160px; }
  .pillars { grid-template-columns: 1fr; }
}
