/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black: #000000;
  --white: #ffffff;
  --orange: #e8590c;
  --text-sm: 0.75rem;
  --text-xs: 0.7rem;
}

html, body {
  height: 100%;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--black);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
}

@media (hover: hover) {
  html, body { cursor: none; }
}

/* ── CURSOR ── */
#cursor {
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  mix-blend-mode: difference;
}
#cursor.hover {
  width: 40px;
  height: 40px;
}

/* ── HERO FADE-IN — elements start invisible, JS triggers them ── */
.hero-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ── HERO SECTION ── */
.hero {
  width: 100%;
  min-height: 100vh;
  background: var(--black);
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
  overflow: hidden;
}

/* ── NAV ── */
nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1.6rem 2.4rem;
  gap: 2.4rem;
  position: relative;
  z-index: 10;
  transition: opacity 0.4s ease;
}

nav a {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.3s ease;
  position: relative;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width 0.25s ease;
}
nav a:hover { opacity: 1; }
nav a:hover::after { width: 100%; }

/* Nav flips dark when over white sections */
#main-nav.on-light a {
  color: var(--black);
}
#main-nav.on-light a::after {
  background: var(--black);
}

/* ── HERO CENTER ── */
.hero-center {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-title {
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
}

/* ── BOTTOM TAGLINE ── */
.hero-footer {
  padding: 1.8rem 2.4rem;
  position: relative;
  z-index: 2;
}

.tagline {
  font-size: var(--text-xs);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.75);
}

.tagline .highlight {
  color: var(--orange);
  font-weight: 500;
}

/* ── SUBTLE VIGNETTE ── */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
  z-index: 1;
}


/* ══════════════════════════════
   SECTION 2 — STATEMENT
══════════════════════════════ */
.statement-section {
  width: 100%;
  background: var(--white);
  color: var(--black);
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100vh;
  position: relative;
}

.statement-body {
  padding: 8vw 6vw 4vw 2.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.8rem;
}

.statement-line {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--black);
  will-change: transform, opacity;
}

/* ══════════════════════════════
   SECTION 3 — SVG WORDMARK
══════════════════════════════ */
.wordmark-section {
  width: 100%;
  min-height: 100vh;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.wordmark-section svg {
  width: 100%;
  height: auto;
  display: block;
  flex-shrink: 0;
  will-change: transform, opacity;
}

/* ══════════════════════════════
   SECTION 4 — FOOTER
══════════════════════════════ */
.site-footer {
  width: 100%;
  background: var(--black);
  padding: 0.8rem 2.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  will-change: transform, opacity;
}

.site-footer-left {
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--white);
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.site-footer-left a {
  color: #4a7cf7;
  text-decoration: none;
  transition: opacity 0.2s;
}
.site-footer-left a:hover { opacity: 0.75; }

.site-footer-right {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.site-footer-right a {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
  position: relative;
}
.site-footer-right a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--white);
  transition: width 0.25s ease;
}
.site-footer-right a:hover { opacity: 0.65; }
.site-footer-right a:hover::after { width: 100%; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .statement-body {
    padding: 6vw 1.5rem;
  }
  .statement-line {
    font-size: clamp(1.4rem, 5.5vw, 2.4rem);
  }
  nav {
    padding: 1.2rem 1.5rem;
    gap: 1.6rem;
  }
  .hero-footer {
    padding: 1.4rem 1.5rem;
  }
  .site-footer {
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    text-align: center;
  }
  .wordmark-section svg {
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .statement-line {
    font-size: clamp(1.1rem, 5vw, 1.8rem);
  }
}

/* Hide custom cursor on touch devices */
@media (hover: none) {
  #cursor { display: none; }
}
