/* ============================================================
   TOMAS® — SHORT-FORM SUPREMACY
   ============================================================ */

:root {
  --bg: #060606;
  --bg-soft: #0c0c0c;
  --ink: #f2f2ec;
  --muted: rgba(242, 242, 236, 0.55);
  --acid: #d7ff3c;
  --acid-dim: rgba(215, 255, 60, 0.14);
  --line: rgba(242, 242, 236, 0.12);
  --font-display: "Clash Display", "Arial Black", sans-serif;
  --font-body: "Satoshi", "Helvetica Neue", sans-serif;
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
}

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

html { scroll-behavior: initial; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

body.loading { overflow: hidden; height: 100vh; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; background: none; border: none; cursor: pointer; }

/* ============ FX LAYERS ============ */

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

.cursor {
  position: fixed; top: 0; left: 0;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--acid);
  pointer-events: none; z-index: 1000;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(215, 255, 60, 0.6);
  pointer-events: none; z-index: 999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s;
}
.cursor-ring.is-hover {
  width: 72px; height: 72px;
  border-color: var(--acid);
  background: rgba(215, 255, 60, 0.08);
}
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-ring { display: none; }
}

.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 100%;
  background: var(--acid);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 300;
}

/* ============ PRELOADER ============ */

.preloader {
  position: fixed; inset: 0; z-index: 900;
  display: flex; align-items: center; justify-content: center;
}
.preloader-panel {
  position: absolute; top: 0; bottom: 0; width: 50.5%;
  background: #0a0a0a;
}
.preloader-panel--left { left: 0; }
.preloader-panel--right { right: 0; }
.preloader-inner {
  position: relative; z-index: 2;
  text-align: center;
}
.preloader-label {
  font-family: var(--font-body);
  font-size: 0.75rem; letter-spacing: 0.35em;
  color: var(--muted);
  margin-bottom: 1rem;
}
.preloader-count {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 14vw, 10rem);
  line-height: 1;
  color: var(--acid);
  font-variant-numeric: tabular-nums;
}

/* ============ NAV ============ */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 400;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 3rem;
  opacity: 0;
  background: linear-gradient(to bottom, rgba(6, 6, 6, 0.9) 40%, rgba(6, 6, 6, 0));
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.3rem; letter-spacing: 0.02em;
}
.nav-logo sup { color: var(--acid); font-size: 0.6em; }
.nav-links { display: flex; gap: 2.2rem; }
.nav-links a {
  font-size: 0.78rem; letter-spacing: 0.22em; font-weight: 500;
  opacity: 0.75; transition: opacity 0.3s;
}
.nav-links a:hover { opacity: 1; }
.nav-cta {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; letter-spacing: 0.22em; font-weight: 700;
  padding: 0.75rem 1.4rem;
  border: 1px solid rgba(242, 242, 236, 0.4);
  border-radius: 999px;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.nav-cta:hover { border-color: var(--acid); }
.nav-cta-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--acid);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.5; }
}

/* ============ HERO ============ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 8rem 3rem 4rem;
  overflow: hidden;
}
#heroCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: 12.5% 100%;
  opacity: 0.25;
  mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 75%);
}
.hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.8rem; letter-spacing: 0.28em; font-weight: 700;
  color: var(--acid);
  border: 1px solid rgba(215, 255, 60, 0.35);
  background: var(--acid-dim);
  padding: 0.6rem 1.2rem; border-radius: 999px;
  margin-bottom: 2.5rem;
  font-variant-numeric: tabular-nums;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--acid);
  animation: pulse 1.2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.2rem, 12.5vw, 12rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hero-line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-line-inner { display: inline-block; }
.hero-line--accent .hero-line-inner {
  color: transparent;
  -webkit-text-stroke: 2px var(--acid);
}
.hero-line-inner .char { display: inline-block; will-change: transform; }

.hero-bottom {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 3rem; margin-top: 3.5rem; flex-wrap: wrap;
}
.hero-sub {
  max-width: 34rem;
  font-size: 1.1rem; line-height: 1.65;
  color: var(--muted);
}
.hero-sub strong { color: var(--ink); font-weight: 700; }

.hero-scroll-hint {
  position: absolute; bottom: 2.2rem; left: 3rem; z-index: 2;
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.7rem; letter-spacing: 0.4em; color: var(--muted);
}
.hero-scroll-line {
  display: block; width: 60px; height: 1px;
  background: var(--muted);
  transform-origin: 0 50%;
  animation: scroll-line 1.8s var(--ease-out) infinite;
}
@keyframes scroll-line {
  0% { transform: scaleX(0); }
  50% { transform: scaleX(1); }
  100% { transform: scaleX(0); transform-origin: 100% 50%; }
}

/* ============ BUTTONS ============ */

.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.9rem;
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: 999px;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out);
}
.btn--primary {
  background: var(--acid); color: var(--bg);
  font-size: 1rem;
  padding: 1.2rem 2.4rem;
}
.btn--primary:hover .btn-arrow { transform: translateX(6px); }
.btn-arrow { transition: transform 0.3s var(--ease-out); }
.btn--dark {
  background: var(--bg); color: var(--ink);
  font-size: 0.9rem;
  padding: 1rem 1.8rem;
  margin-top: auto;
}

/* ============ MARQUEE ============ */

.marquee-wrap { position: relative; padding: 4rem 0 5rem; overflow: hidden; }
.marquee {
  overflow: hidden; white-space: nowrap;
  padding: 1.1rem 0;
}
.marquee--accent {
  background: var(--acid); color: var(--bg);
  transform: rotate(-2deg) scale(1.05);
}
.marquee--dark {
  background: var(--bg-soft); color: var(--muted);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(1.2deg) scale(1.05);
  margin-top: -0.5rem;
}
.marquee-track {
  display: inline-flex;
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.6rem; letter-spacing: 0.06em;
  animation: marquee 22s linear infinite;
}
.marquee-track--reverse { animation: marquee-rev 28s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ============ SECTIONS ============ */

.section-head { padding: 0 3rem; margin-bottom: 3.5rem; }
.section-tag {
  display: inline-block;
  font-size: 0.72rem; letter-spacing: 0.35em; font-weight: 700;
  color: var(--acid);
  margin-bottom: 1.2rem;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 6rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.section-sub { margin-top: 1.2rem; color: var(--muted); font-size: 1.05rem; }

/* ============ STATS ============ */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 2rem 0 8rem;
}
.stat {
  padding: 3.5rem 3rem;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stat-value em { font-style: normal; color: var(--acid); }
.stat-label {
  margin-top: 1rem;
  font-size: 0.72rem; letter-spacing: 0.3em; font-weight: 700;
  color: var(--muted);
}

/* ============ ROSTER ============ */

.roster { position: relative; padding: 6rem 0 10rem; }
.roster-list { border-top: 1px solid var(--line); }
.roster-row {
  position: relative;
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  align-items: center; gap: 2rem;
  width: 100%;
  padding: 2.6rem 3rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  transition: background 0.4s;
  cursor: pointer;
}
.roster-row::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--acid);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 0.45s var(--ease-out);
  z-index: 0;
}
.roster-row:hover::after { transform: scaleY(1); transform-origin: 50% 0%; }
.roster-row > * { position: relative; z-index: 1; transition: color 0.3s; }
.roster-row:hover > * { color: var(--bg); }

.roster-index {
  font-size: 0.8rem; letter-spacing: 0.2em;
  color: var(--muted); font-weight: 700;
}
.roster-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 4.6rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.roster-name--outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}
.roster-row--you:hover .roster-name--outline { -webkit-text-stroke: 2px var(--bg); }
.roster-desc {
  font-size: 0.85rem; letter-spacing: 0.14em;
  color: var(--muted); font-weight: 500;
  text-transform: uppercase;
}

.roster-preview {
  position: fixed; top: 0; left: 0;
  width: 240px; height: 300px;
  border-radius: 14px;
  border: 2px solid var(--acid);
  overflow: hidden;
  pointer-events: none; z-index: 350;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8) rotate(-4deg);
  background: var(--bg-soft);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.roster-preview img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ============ SERVICES ============ */

.services { position: relative; overflow: hidden; }
.services-track {
  display: flex; align-items: stretch;
  gap: 2.5rem;
  padding: 8rem 3rem;
  width: max-content;
}
.service-intro {
  display: flex; flex-direction: column; justify-content: center;
  width: min(42rem, 80vw);
  flex-shrink: 0;
}
.service-intro-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.95;
  text-transform: uppercase;
}
.service-intro-title em { font-style: normal; color: var(--acid); }
.service-intro-hint {
  margin-top: 2.5rem;
  font-size: 0.75rem; letter-spacing: 0.35em; font-weight: 700;
  color: var(--muted);
}
.service-card {
  display: flex; flex-direction: column;
  width: min(30rem, 78vw);
  min-height: 26rem;
  flex-shrink: 0;
  padding: 2.8rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg-soft);
  transition: border-color 0.4s, transform 0.4s var(--ease-out);
}
.service-card:hover { border-color: var(--acid); transform: translateY(-8px); }
.service-card--accent { background: var(--acid); color: var(--bg); border-color: var(--acid); }
.service-num {
  font-size: 0.8rem; letter-spacing: 0.3em; font-weight: 700;
  color: var(--acid);
  margin-bottom: auto;
}
.service-card--accent .service-num { color: var(--bg); }
.service-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  text-transform: uppercase;
  margin: 3rem 0 1.4rem;
}
.service-card p { line-height: 1.7; color: var(--muted); font-size: 1rem; }
.service-card--accent p { color: rgba(6, 6, 6, 0.75); }
.service-card--accent .btn--dark { margin-top: 2rem; }

/* ============ RECEIPTS ============ */

.receipts { padding: 8rem 0 10rem; }
.receipts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 2.5rem;
  padding: 0 3rem;
}
.receipt {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg-soft);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease-out);
}
.receipt:hover { border-color: var(--acid); transform: translateY(-8px); }
.receipt-head {
  display: flex; flex-direction: column; gap: 0.5rem;
  padding: 1.6rem 1.8rem;
  border-bottom: 1px solid var(--line);
}
.receipt-tag {
  font-size: 0.68rem; letter-spacing: 0.3em; font-weight: 700;
  color: var(--acid);
}
.receipt-stat {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}
.receipt-shot img {
  width: 100%; height: auto; display: block;
}

/* ============ CTA ============ */

.cta {
  position: relative;
  padding: 10rem 3rem 12rem;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(215, 255, 60, 0.12), transparent);
}
.cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 11vw, 10rem);
  line-height: 0.95;
  text-transform: uppercase;
}
.cta-line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.cta-line--accent { color: var(--acid); }
.cta-sub {
  margin: 2rem auto 3.5rem;
  max-width: 30rem;
  color: var(--muted); font-size: 1.1rem; line-height: 1.7;
}
.btn--giant {
  background: var(--acid); color: var(--bg);
  border-radius: 999px;
  padding: 2rem 0;
  width: min(56rem, 90vw);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.btn--giant:hover {
  transform: scale(1.03);
  box-shadow: 0 0 80px rgba(215, 255, 60, 0.35);
}
.btn-giant-track {
  display: inline-flex; white-space: nowrap;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  letter-spacing: 0.05em;
  animation: marquee 12s linear infinite;
}

/* ============ FOOTER ============ */

.footer {
  border-top: 1px solid var(--line);
  padding: 3rem;
}
.footer-top {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.footer-logo {
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
}
.footer-logo sup { color: var(--acid); font-size: 0.6em; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a {
  font-size: 0.75rem; letter-spacing: 0.25em; font-weight: 700;
  color: var(--muted); transition: color 0.3s;
}
.footer-links a:hover { color: var(--acid); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.7rem; letter-spacing: 0.2em;
  color: var(--muted);
}
.footer-bottom a:hover { color: var(--acid); }

/* ============ REVEAL DEFAULTS (JS enhances) ============ */

[data-reveal] { opacity: 0; transform: translateY(40px); }
.no-js [data-reveal], .reduced-motion [data-reveal] { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */

@media (max-width: 900px) {
  .nav { padding: 1.2rem 1.4rem; }
  .nav-links { display: none; }

  .hero { padding: 7rem 1.4rem 5rem; }
  .hero-scroll-hint { left: 1.4rem; }
  .hero-bottom { margin-top: 2.5rem; }

  .section-head { padding: 0 1.4rem; }

  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); padding: 2.2rem 1.4rem; }
  .stat:last-child { border-bottom: none; }

  .roster-row { grid-template-columns: 2.6rem 1fr; padding: 2rem 1.4rem; }
  .roster-desc { grid-column: 2; }
  .roster-preview { display: none; }

  .services-track {
    flex-direction: column;
    width: 100%;
    padding: 5rem 1.4rem;
  }
  .service-intro, .service-card { width: 100%; }
  .service-card { min-height: 0; }

  .receipts-grid { grid-template-columns: 1fr; padding: 0 1.4rem; max-width: 24rem; margin: 0 auto; }

  .cta { padding: 7rem 1.4rem 8rem; }
  .footer { padding: 2rem 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .btn-giant-track,
  .hero-scroll-line, .live-dot, .nav-cta-dot { animation: none !important; }
}
