html {
  scroll-behavior: smooth;
}
html.snap-scroll {
  scroll-snap-type: y mandatory;
}

body {
  font-family: var(--font-ui);
  font-size: var(--text-body);
  color: var(--white);
  background: var(--black);
  overflow-x: hidden;
}

/* Typography */
h1, .h1 { font-size: var(--text-h1); font-weight: 800; letter-spacing: -2px; line-height: 1.1; }
h2, .h2 { font-size: var(--text-h2); font-weight: 700; letter-spacing: -1px; line-height: 1.2; }
h3, .h3 { font-size: var(--text-h3); font-weight: 600; line-height: 1.3; }

p { color: rgba(255, 255, 255, 0.7); line-height: 1.7; }
.text-muted { color: var(--grey); }
.text-red { color: var(--red); }
.text-mono { font-family: var(--font-mono); }

/* Label / tag style */
.label {
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-narrow {
  width: 100%;
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Section — full viewport, vertically centered, gentle snap */
.section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--nav-height) var(--space-md) var(--space-lg);
  scroll-snap-align: start;
}


/* Logo */
.logo {
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
}
.logo-white { color: var(--white); }
.logo-red { color: var(--red); } /* "red" is ALWAYS this color */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-xs);
  padding: 14px 32px;
  border-radius: var(--border-radius);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
}

.btn-primary,
.btn-primary:link,
.btn-primary:visited,
.btn-primary:active {
  background: var(--red);
  color: #ffffff;
  border: none;
}
.btn-primary:hover {
  background: #0a0a0a;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.btn-ghost,
.btn-ghost:link,
.btn-ghost:visited,
.btn-ghost:active {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-3px);
}

/* Links — text links only, NOT buttons */
p a:hover,
.footer__col a:hover,
.legal a:hover,
.legal__toc a:hover {
  color: var(--red);
  transition: color var(--duration-fast);
}

/* Text reveal animation helper */
.reveal-wrap { overflow: hidden; }
.reveal-line {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
}

/* Fade up animation helper — bigger translate for dramatic reveal */
.fade-up {
  opacity: 0;
  transform: translateY(50px);
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Hide on mobile / show on desktop */
@media (max-width: 639px) {
  .hide-mobile { display: none !important; }
}
@media (min-width: 640px) {
  .hide-desktop { display: none !important; }
}
