/* ============================================================
   ATTIBOY — Story Page Styles
   Full origin story with room to breathe
   ============================================================ */

:root {
  --cream: #F5F0E8;
  --cream-dark: #E8E0D4;
  --black: #0A0A0A;
  --grey: #6B6B6B;
  --grey-light: #B0ADA6;
  --grey-dark: #2A2A2A;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow Condensed', sans-serif;
  background-color: var(--black);
  color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition);
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-logo img {
  height: 40px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-light);
  transition: color var(--transition);
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--cream);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--black);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 32px;
  color: var(--cream);
  line-height: 1;
}

.mobile-menu a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 0.1em;
  color: var(--cream);
}

/* ============ STORY HERO ============ */
.story-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  text-align: center;
}

.story-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 10vw, 96px);
  letter-spacing: 0.05em;
  line-height: 1.1;
  color: var(--cream);
}

/* ============ STORY SECTIONS ============ */
.story-section {
  padding: 80px 0;
}

.story-section-dark {
  background: var(--grey-dark);
}

.story-chapter-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey-light);
  margin-bottom: 32px;
}

.story-quote {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 5vw, 48px);
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 48px;
}

.story-quote-inline {
  display: block;
  text-align: center;
  padding: 32px 0;
  margin: 40px 0;
  border-left: none;
}

.story-divider {
  width: 60px;
  height: 2px;
  background: var(--grey);
  margin: 48px auto;
}

.story-body {
  padding: 0;
}

.story-body-center {
  text-align: center;
}

.story-paragraph {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--cream);
  margin-bottom: 24px;
}

.story-paragraph:last-child {
  margin-bottom: 0;
}

.story-paragraph strong {
  font-weight: 700;
  color: var(--cream);
}

.story-paragraph.highlight {
  font-size: 24px;
  font-weight: 600;
  color: var(--cream);
  padding: 24px;
  border-left: 3px solid var(--grey);
  margin: 40px 0;
}

.story-closing {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 12vw, 120px);
  letter-spacing: 0.05em;
  color: var(--cream);
  margin-top: 48px;
}

/* ============ CTA SECTION ============ */
.story-cta {
  padding: 80px 0;
  text-align: center;
}

.story-cta-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey-light);
  margin-bottom: 24px;
}

.btn {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 40px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--cream);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--cream-dark);
  transform: translateY(-2px);
}

/* ============ FOOTER ============ */
.site-footer {
  padding: 60px 0;
  border-top: 1px solid var(--grey-dark);
}

.footer-logo {
  text-align: center;
  margin-bottom: 16px;
}

.footer-logo img {
  height: 32px;
  width: auto;
  margin: 0 auto;
}

.footer-tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--grey);
  text-align: center;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
}

.footer-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-light);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--cream);
}

.footer-copyright {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  color: var(--grey);
  text-align: center;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .header-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .story-hero {
    padding: 100px 24px 60px;
    min-height: 50vh;
  }

  .story-section {
    padding: 60px 0;
  }

  .story-paragraph {
    font-size: 18px;
  }

  .story-paragraph.highlight {
    font-size: 20px;
  }

  .story-closing {
    margin-top: 32px;
  }

  .footer-links {
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 16px 20px;
  }

  .header-logo img {
    height: 32px;
  }

  .container {
    padding: 0 20px;
  }

  .story-hero {
    padding: 80px 20px 40px;
  }

  .story-section {
    padding: 48px 0;
  }

  .story-quote {
    margin-bottom: 32px;
  }

  .story-divider {
    margin: 32px auto;
  }

  .story-paragraph.highlight {
    padding: 20px 16px;
    margin: 32px 0;
  }
}