/* ============ LCV Universe ============ */
:root {
  --bg: #07090d;
  --bg2: #0c1017;
  --ink: #eef2f7;
  --muted: #8b96a5;
  --line: rgba(255,255,255,.08);
  --accent: #58c1ff;          /* default brand blue */
  --drywall: #e8e2d6;
  --lawn: #5fd97a;
  --junk: #ff9e40;
  --snow: #7dd3fc;
  --labs: #c084fc;
  --font: 'Archivo', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  overflow-x: hidden;
  cursor: none;
}
@media (hover: none), (max-width: 820px) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}
a { color: inherit; text-decoration: none; }
sup { font-size: .55em; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 24px; transition: opacity .6s ease, visibility .6s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-logo {
  font-size: clamp(3rem, 8vw, 6rem); font-weight: 900; letter-spacing: -.03em;
  background: linear-gradient(90deg, var(--drywall), var(--lawn), var(--junk), var(--snow));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(1.04); filter: brightness(1.3); } }
.preloader-bar { width: min(280px, 60vw); height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.preloader-bar span { display: block; height: 100%; width: 0; background: var(--accent); animation: load 1s ease forwards; }
@keyframes load { to { width: 100%; } }

/* ---------- Cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 999;
  border-radius: 50%; transform: translate(-50%, -50%);
}
.cursor-dot { width: 8px; height: 8px; background: var(--accent); transition: background .3s; }
.cursor-ring {
  width: 38px; height: 38px; border: 1.5px solid var(--accent);
  opacity: .5; transition: width .25s, height .25s, opacity .25s, border-color .3s;
}
body.cursor-hover .cursor-ring { width: 64px; height: 64px; opacity: .9; }

/* ---------- FX canvas ---------- */
#fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 100;
  background: linear-gradient(90deg, var(--drywall), var(--lawn), var(--junk), var(--snow), var(--labs));
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(16px, 4vw, 48px);
  backdrop-filter: blur(14px);
  background: rgba(7,9,13,.55);
  border-bottom: 1px solid var(--line);
}
.nav-logo { font-weight: 900; font-size: 1.5rem; letter-spacing: -.02em; }
.nav-logo sup { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 28px); font-size: .92rem; font-weight: 600; }
.nav-links a { color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  color: var(--bg) !important; background: var(--accent);
  padding: 9px 18px; border-radius: 99px; transition: transform .2s, filter .2s;
}
.nav-cta:hover { transform: translateY(-2px); filter: brightness(1.15); }
.snow-toggle {
  margin-left: 14px; background: none; border: 1px solid var(--line); color: var(--muted);
  width: 38px; height: 38px; border-radius: 50%; font-size: 1rem; cursor: pointer;
  transition: all .25s;
}
.snow-toggle:hover, .snow-toggle.on { color: var(--snow); border-color: var(--snow); box-shadow: 0 0 18px rgba(125,211,252,.35); }
@media (max-width: 640px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 15px 30px; border-radius: 99px;
  font-weight: 700; font-size: 1rem; letter-spacing: .01em;
  transition: transform .2s, box-shadow .3s, filter .2s;
  will-change: transform;
}
.btn-primary { background: var(--accent); color: var(--bg); box-shadow: 0 0 32px rgba(88,193,255,.28); }
.btn-primary:hover { filter: brightness(1.15); box-shadow: 0 0 48px rgba(88,193,255,.5); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative; z-index: 1;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px 20px 80px; gap: 26px;
}
.hero-badge {
  font-family: var(--mono); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); padding: 8px 18px; border-radius: 99px;
}
.hero-title { font-size: clamp(3.4rem, 13vw, 11rem); line-height: .92; font-weight: 900; letter-spacing: -.04em; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .word { display: inline-block; animation: rise 1s cubic-bezier(.2,.8,.2,1) both; animation-delay: .2s; }
.hero-title .line:nth-child(2) .word { animation-delay: .35s; }
@keyframes rise { from { transform: translateY(110%); } to { transform: translateY(0); } }
.hero-title .squared {
  background: linear-gradient(90deg, var(--drywall) 0%, var(--lawn) 30%, var(--junk) 60%, var(--snow) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: rise 1s cubic-bezier(.2,.8,.2,1) both .35s, shimmer 6s linear infinite 1.4s;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.hero-sub { font-size: clamp(1.05rem, 2.2vw, 1.35rem); color: var(--muted); line-height: 1.6; max-width: 620px; }
.hero-sub em { color: var(--ink); font-style: normal; font-weight: 700; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-scroll {
  position: absolute; bottom: 28px; font-family: var(--mono); font-size: .72rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 12px;
}
.hero-scroll span { display: block; width: 1px; height: 42px; background: linear-gradient(var(--accent), transparent); animation: drip 1.6s ease infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Marquee ---------- */
.marquee { position: relative; z-index: 1; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; background: var(--bg2); }
.marquee-track { display: flex; white-space: nowrap; animation: scroll 28s linear infinite; }
.marquee-track span { font-weight: 800; font-size: clamp(1rem, 2.4vw, 1.5rem); letter-spacing: .12em; color: var(--muted); padding-right: 24px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { position: relative; z-index: 1; padding: clamp(90px, 12vw, 160px) clamp(18px, 5vw, 64px); max-width: 1280px; margin: 0 auto; }
.kicker { display: block; font-family: var(--mono); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; transition: color .5s; }
.section-title { font-size: clamp(2.2rem, 6vw, 4.2rem); font-weight: 900; letter-spacing: -.03em; margin-bottom: 14px; }
.section-sub { color: var(--muted); font-size: 1.1rem; max-width: 560px; margin-bottom: clamp(40px, 6vw, 72px); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Universe / Orbit ---------- */
.universe { text-align: center; }
.universe .section-sub { margin-left: auto; margin-right: auto; }
.orbit-wrap {
  position: relative; width: min(640px, 92vw); aspect-ratio: 1; margin: 0 auto;
}
.orbit-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.12);
}
.ring-2 { inset: 12%; border-color: rgba(255,255,255,.09); }
.ring-3 { inset: 26%; border-color: rgba(255,255,255,.06); }

.orbit-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: clamp(110px, 22%, 150px); aspect-ratio: 1; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, #1b2432, #0b0f16 70%);
  border: 1px solid rgba(88,193,255,.4);
  font-weight: 900; font-size: clamp(1.6rem, 4vw, 2.2rem);
  z-index: 3; transition: box-shadow .3s;
}
.orbit-core:hover { box-shadow: 0 0 60px rgba(88,193,255,.45); }
.core-glow { position: absolute; inset: -18px; border-radius: 50%; background: radial-gradient(circle, rgba(88,193,255,.25), transparent 70%); animation: breathe 3.5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.15); opacity: .6; } }
.core-text sup { color: var(--accent); }

.planet {
  position: absolute; top: 50%; left: 50%; z-index: 2;
  width: clamp(72px, 15%, 96px); aspect-ratio: 1; border-radius: 50%;
  margin: calc(clamp(72px, 15%, 96px) / -2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: #0d1320; border: 1px solid var(--line);
  font-weight: 700; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase;
  transition: scale .25s, box-shadow .3s, border-color .3s;
  animation: orbit var(--speed, 40s) linear infinite;
}
.planet:hover { scale: 1.18; z-index: 5; }
@keyframes orbit {
  from { transform: rotate(var(--start, 0deg)) translateX(var(--dist)) rotate(calc(-1 * var(--start, 0deg))); }
  to   { transform: rotate(calc(var(--start, 0deg) + 360deg)) translateX(var(--dist)) rotate(calc(-1 * (var(--start, 0deg) + 360deg))); }
}
.planet-icon svg { width: 26px; height: 26px; display: block; }
.planet-drywall .planet-icon { color: var(--drywall); }
.planet-lawn .planet-icon { color: var(--lawn); }
.planet-junk .planet-icon { color: var(--junk); }
.planet-snow .planet-icon { color: var(--snow); }
.planet-label { color: var(--muted); margin-top: 4px; }
.planet:hover .planet-label { color: var(--ink); }

.planet-drywall { --start: 0deg;   --dist: clamp(140px, 44cqw, 285px); --speed: 46s; border-color: rgba(232,226,214,.35); }
.planet-lawn    { --start: 90deg;  --dist: clamp(140px, 44cqw, 285px); --speed: 46s; border-color: rgba(95,217,122,.35); }
.planet-junk    { --start: 180deg; --dist: clamp(140px, 44cqw, 285px); --speed: 46s; border-color: rgba(255,158,64,.35); }
.planet-snow    { --start: 270deg; --dist: clamp(140px, 44cqw, 285px); --speed: 46s; border-color: rgba(125,211,252,.35); }
.orbit-wrap { container-type: inline-size; }
.orbit-wrap:hover .planet { animation-play-state: paused; }

.planet-drywall:hover { box-shadow: 0 0 40px rgba(232,226,214,.4); }
.planet-lawn:hover    { box-shadow: 0 0 40px rgba(95,217,122,.4); }
.planet-junk:hover    { box-shadow: 0 0 40px rgba(255,158,64,.4); }
.planet-snow:hover    { box-shadow: 0 0 40px rgba(125,211,252,.4); }

.orbit-info {
  margin-top: 42px; font-family: var(--mono); font-size: .88rem; color: var(--muted);
  min-height: 1.6em; transition: color .3s;
}

/* ---------- Division cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.card {
  position: relative; overflow: hidden;
  background: var(--bg2); border: 1px solid var(--line); border-radius: 22px;
  padding: 34px 30px 30px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .15s ease-out, border-color .3s, box-shadow .3s;
  transform-style: preserve-3d; will-change: transform;
}
.card-wide { grid-column: span 1; }
@media (min-width: 900px) {
  .cards { grid-template-columns: repeat(6, 1fr); }
  .card { grid-column: span 2; }
  .card-wide { grid-column: 2 / span 4; }
}
.card-num { font-family: var(--mono); font-size: .75rem; color: var(--muted); letter-spacing: .2em; }
.card-emoji svg { width: 42px; height: 42px; display: block; }
.card[data-theme="drywall"] .card-emoji { color: var(--drywall); }
.card[data-theme="lawn"] .card-emoji { color: var(--lawn); }
.card[data-theme="junk"] .card-emoji { color: var(--junk); }
.card[data-theme="snow"] .card-emoji { color: var(--snow); }
.card h3 { font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em; }
.card p { color: var(--muted); line-height: 1.65; font-size: .98rem; flex: 1; }
.card-link { font-family: var(--mono); font-size: .85rem; font-weight: 700; transition: letter-spacing .25s; }
.card:hover .card-link { letter-spacing: .06em; }
.card-tag {
  align-self: flex-start; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--line); padding: 5px 12px; border-radius: 99px; color: var(--muted);
}
.card-shine {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.08), transparent 45%);
}
.card:hover .card-shine { opacity: 1; }

.card[data-theme="drywall"]:hover { border-color: var(--drywall); box-shadow: 0 18px 60px -18px rgba(232,226,214,.3); }
.card[data-theme="drywall"] .card-link { color: var(--drywall); }
.card[data-theme="lawn"]:hover { border-color: var(--lawn); box-shadow: 0 18px 60px -18px rgba(95,217,122,.35); }
.card[data-theme="lawn"] .card-link { color: var(--lawn); }
.card[data-theme="junk"]:hover { border-color: var(--junk); box-shadow: 0 18px 60px -18px rgba(255,158,64,.35); }
.card[data-theme="junk"] .card-link { color: var(--junk); }
.card[data-theme="snow"]:hover { border-color: var(--snow); box-shadow: 0 18px 60px -18px rgba(125,211,252,.35); }
.card[data-theme="snow"] .card-link { color: var(--snow); }

/* ---------- Standard ---------- */
.standard-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px;
  margin-bottom: clamp(50px, 7vw, 90px);
}
.std {
  background: var(--bg2); border: 1px solid var(--line); border-radius: 22px;
  padding: 34px 28px; text-align: center;
}
.std-big { font-size: clamp(3rem, 7vw, 4.6rem); font-weight: 900; letter-spacing: -.04em; color: var(--accent); transition: color .5s; }
.std-label { color: var(--muted); font-size: .95rem; margin-top: 6px; }
.standard-lines { display: flex; flex-direction: column; gap: 6px; }
.std-line {
  font-size: clamp(1.3rem, 3.4vw, 2.2rem); font-weight: 800; letter-spacing: -.02em;
  padding: 18px 6px; border-bottom: 1px solid var(--line);
  display: flex; gap: 18px; align-items: baseline;
  transition: padding-left .3s;
}
.std-line:hover { padding-left: 22px; }
.std-x { color: var(--accent); font-family: var(--mono); transition: color .5s; }

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact-inner {
  background: linear-gradient(160deg, #0e1420, #0a0d13);
  border: 1px solid var(--line); border-radius: 32px;
  padding: clamp(56px, 9vw, 110px) clamp(24px, 6vw, 80px);
  position: relative; overflow: hidden;
}
.contact-inner::before {
  content: ''; position: absolute; inset: -40%;
  background: conic-gradient(from 0deg, transparent 70%, rgba(88,193,255,.14), transparent 85%);
  animation: spin 9s linear infinite; pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
.contact-title { position: relative; font-size: clamp(2rem, 5.6vw, 3.8rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.08; margin-bottom: 18px; }
.contact-sub { position: relative; color: var(--muted); font-size: 1.1rem; margin-bottom: 36px; }
.contact-ctas { position: relative; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ---------- Footer ---------- */
.footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line); padding: 56px clamp(18px, 5vw, 64px) 42px;
  display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center;
}
.footer-brand { font-weight: 900; font-size: 1.7rem; letter-spacing: -.02em; }
.footer-brand sup { color: var(--accent); }
.footer-brand span { font-size: .85rem; font-weight: 700; letter-spacing: .22em; color: var(--muted); margin-left: 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; font-family: var(--mono); font-size: .85rem; }
.footer-links a { color: var(--muted); transition: color .2s; }
.footer-links a:nth-child(1):hover { color: var(--accent); }
.footer-links a:nth-child(2):hover { color: var(--drywall); }
.footer-links a:nth-child(3):hover { color: var(--lawn); }
.footer-links a:nth-child(4):hover { color: var(--junk); }
.footer-links a:nth-child(5):hover { color: var(--snow); }
.footer-note { color: var(--muted); font-size: .82rem; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .planet { animation: none; transform: rotate(var(--start)) translateX(var(--dist)) rotate(calc(-1 * var(--start))); }
}
