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

:root {
  --bg:        #181818;
  --bg-2:      #222222;
  --text:      #ece8e1;
  --muted:     #7a7674;
  --accent:    #b8ff35;
  --border:    #202020;

  --font-sans: 'Syne', system-ui, sans-serif;
  --font-mono: 'DM Mono', monospace;

  --max-w: 1200px;
  --pad:   clamp(1.5rem, 5vw, 4rem);
}

html { scroll-behavior: smooth; }

/* ── Scroll progress bar ── */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  z-index: 200;
  pointer-events: none;
  transition: width 0.08s linear;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── Custom cursor ── */
@media (hover: hover) {
  body { cursor: none; }
}

.cursor {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, background 0.25s, border-color 0.25s;
  mix-blend-mode: difference;
}

.cursor.hover {
  width: 60px;
  height: 60px;
  background: rgba(184, 255, 53, 0.12);
}

@media (hover: none) { .cursor { display: none; } }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem var(--pad);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.nav-links { display: flex; gap: 2.5rem; }

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.nav-links a:hover  { color: var(--text); }
.nav-links a.active { color: var(--accent); }

/* ── Hero ── */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(6rem, 12vw, 9rem) var(--pad) var(--pad);
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 5rem;
  }
  .hero-right { order: -1; }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 2rem;
}

.tag-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  animation: blink 2.2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

.hero-title {
  font-size: clamp(5.5rem, 14vw, 11rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}

.title-clip {
  display: block;
  overflow: hidden;
}

.title-row { display: block; }

.title-row.alt {
  color: var(--text);
}

@supports (-webkit-text-stroke: 1px black) {
  .title-row.alt {
    color: transparent;
    -webkit-text-stroke: 2.5px var(--text);
  }
}

.hero-sub {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  border-radius: 100px;
  transition: background 0.22s, color 0.22s;
}

.cta-btn:hover {
  background: var(--accent);
  color: var(--bg);
}

.hero-socials {
  display: flex;
  gap: 1.25rem;
  margin-top: 2rem;
  align-items: center;
}

.hero-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  color: var(--muted);
  transition: color 0.2s;
}

.hero-socials a:hover { color: var(--accent); }

.hero-socials svg {
  width: 1.15rem;
  height: 1.15rem;
}

/* ── Hero image ── */
.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  transition: transform 0.1s ease-out;
  transform-style: preserve-3d;
}

.img-frame {
  position: relative;
  width: 100%;
  max-width: 460px;
}

.img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  border-radius: 3px;
  z-index: 2;
  pointer-events: none;
}

.hero-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
  object-fit: cover;
}

.img-label {
  position: absolute;
  bottom: 0.9rem;
  right: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  background: rgba(10, 10, 10, 0.85);
  padding: 0.3rem 0.65rem;
  border-radius: 2px;
  z-index: 3;
}

/* Spinning badge */
.badge {
  position: absolute;
  top: -1.4rem;
  right: -1.4rem;
  width: 88px;
  height: 88px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spin 18s linear infinite;
  z-index: 4;
}

.badge-svg {
  position: absolute;
  width: 100%;
  height: 100%;
}

.badge-center {
  font-size: 1.4rem;
  color: var(--bg);
  z-index: 1;
  line-height: 1;
  animation: spin-reverse 18s linear infinite;
}

@keyframes spin         { to { transform: rotate(360deg); } }
@keyframes spin-reverse { to { transform: rotate(-360deg); } }

/* ── Marquee ── */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  padding: 0.85rem 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  padding-right: 2rem;
}

.marquee-content span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.marquee-content .sep {
  color: var(--accent);
  letter-spacing: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── About ── */
.about {
  padding: clamp(5rem, 12vw, 10rem) 0;
  scroll-margin-top: 5rem;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section-head { margin-bottom: 3.5rem; }

.label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-head h2 {
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--text);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg);
  padding: 2.5rem;
  transition: background 0.25s;
}

.card:hover { background: var(--bg-2); }

.card-no {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ── Feature ── */
.feature {
  padding: clamp(5rem, 12vw, 10rem) 0;
  scroll-margin-top: 5rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feature-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.photo-frame { position: relative; }

.photo-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

.photo-frame figcaption {
  margin-top: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-style: italic;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.feature-copy-col h2 {
  font-size: clamp(2.75rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0.6rem 0 1.5rem;
}

.feature-copy-col p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 0.85rem;
}

/* ── Stats ── */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  margin-top: 2.5rem;
}

.stat {
  padding: 1.5rem;
  border-right: 1px solid var(--border);
}

.stat:last-child { border-right: none; }

.stat-val {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-small {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Footer ── */
.footer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1rem 0;
  background: rgba(24, 24, 24, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 640px) {
  .footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
}

.footer-wordmark {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: inherit;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.footer-copy a,
.footer-email {
  font-family: var(--font-mono);
  font-size: inherit;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-copy a:hover,
.footer-email:hover { opacity: 0.7; }

/* push content above fixed footer */
body { padding-bottom: 5rem; }

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .progress-bar { transition: none; }

  .marquee-track,
  .badge,
  .badge-center,
  .tag-dot {
    animation: none;
  }
}
