@import url("../style.css");

/* ======================================
   SELVAGE /about — manifesto page
   Scroll-reveal sections with generous whitespace
   ====================================== */

main {
  position: relative;
}

/* HERO ────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  background: var(--color-paper);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 107, 92, 0.03) 0%, rgba(214, 51, 132, 0.03) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 90%;
  text-align: center;
}

.hero-eyebrow {
  font-size: var(--type-sm);
  text-transform: lowercase;
  letter-spacing: 0.05em;
  color: var(--color-ink-soft);
  margin-bottom: var(--space-4);
  font-weight: 400;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: var(--type-display);
  font-style: italic;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: var(--space-3);
  color: var(--color-ink);
  font-variation-settings: "SOFT" var(--font-display-soft);
}

.hero-headline em {
  font-style: italic;
  color: var(--color-coral);
  font-weight: 400;
}

.hero-sub {
  font-size: var(--type-lg);
  color: var(--color-ink-soft);
  font-weight: 300;
  line-height: 1.4;
}

/* SECTIONS ────────────────────────────── */
.about-section {
  padding: var(--space-6) var(--space-5);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.about-section.in-view {
  opacity: 1;
}

.section-content {
  max-width: 42em;
  margin: 0 auto;
}

.section-headline {
  font-family: var(--font-display);
  font-size: var(--type-xl);
  font-style: italic;
  font-weight: 300;
  margin-bottom: var(--space-4);
  color: var(--color-ink);
  font-variation-settings: "SOFT" var(--font-display-soft);
  line-height: 1.2;
}

.section-headline::before {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1.4em;
  background: var(--color-coral);
  margin-right: var(--space-2);
  vertical-align: baseline;
}

.section-body {
  font-size: var(--type-body);
  line-height: 1.8;
  color: var(--color-ink);
  margin-bottom: var(--space-3);
}

.section-body:last-child {
  margin-bottom: 0;
}

/* Subtle section separators */
.about-section:nth-child(odd) {
  background: var(--color-paper);
}

.about-section:nth-child(even) {
  background: rgba(255, 107, 92, 0.015);
}

/* MADE BY ──────────────────────────────── */
.made-by {
  padding: var(--space-6) var(--space-5);
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-paper);
  border-top: 1px solid var(--color-edge);
}

.made-by-inner {
  text-align: center;
  max-width: 50em;
}

.made-by-text {
  font-family: var(--font-display);
  font-size: var(--type-lg);
  font-style: italic;
  color: var(--color-ink);
  margin-bottom: var(--space-2);
  font-weight: 300;
  font-variation-settings: "SOFT" var(--font-display-soft);
}

.made-by-text strong {
  font-weight: 500;
  color: var(--color-coral);
}

.made-by-credit {
  font-size: var(--type-sm);
  color: var(--color-ink-soft);
  text-transform: lowercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-3);
}

.made-by-bio {
  font-size: var(--type-body);
  color: var(--color-ink);
  line-height: 1.6;
  font-weight: 300;
}

/* SKIP LINK ────────────────────────────── */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-coral);
  color: white;
  padding: var(--space-1) var(--space-2);
  text-decoration: none;
  z-index: 100;
  font-size: var(--type-xs);
}

.skip-link:focus {
  top: 0;
}

/* ─────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────── */

@media (max-width: 768px) {
  .hero {
    padding: var(--space-5) var(--space-3);
  }

  .hero-inner {
    max-width: 100%;
  }

  .about-section {
    padding: var(--space-5) var(--space-3);
    min-height: auto;
  }

  .section-headline {
    font-size: var(--type-lg);
  }

  .section-headline::before {
    display: block;
    width: 2px;
    height: 0.8em;
    margin-bottom: var(--space-2);
    margin-right: 0;
  }

  .made-by {
    padding: var(--space-5) var(--space-3);
  }

  .made-by-text {
    font-size: var(--type-body);
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: clamp(2rem, 8vw, 4rem);
  }

  .section-body {
    font-size: var(--type-sm);
    line-height: 1.7;
  }
}
