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

:root {
  --accent: #553d87;
  --accent-light: #6b4faa;
  --black: #1a1a1a;
  --grey: #555;
  --white: #ffffff;
  --max-width: 1400px;
  --gutter: 4vw;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

/* ── HEADER ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--accent);
  padding: 0 var(--gutter);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img { height: 44px; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active { color: #fff; }

.nav-links .btn-cta {
  border: 2px solid white;
  color: white !important;
  padding: 7px 18px;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}

.nav-links .btn-cta:hover {
  background: white;
  color: var(--accent) !important;
}

/* ── BURGER ── */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 1px;
  background: white;
}

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--accent);
  padding: 20px var(--gutter) 28px;
  gap: 16px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}

.mobile-menu .btn-cta {
  border: 2px solid white;
  color: white !important;
  padding: 10px 20px;
  border-radius: 999px;
  text-align: center;
  margin-top: 4px;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

.btn-primary.full-width {
  display: block;
  text-align: center;
  margin-top: 16px;
}

/* ── HERO ── */
.hero { position: relative; width: 100%; overflow: hidden; }

.hero-img {
  width: 100%;
  display: block;
  border-radius: 0 0 28px 28px;
  max-height: 75vh;
  object-fit: cover;
  object-position: center top;
}

/* ── TAGLINE ── */
.tagline {
  padding: 60px var(--gutter) 50px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.tagline h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-weight: 400;
  line-height: 1.4;
  max-width: 780px;
  margin: 0 auto;
  color: var(--accent);
}

/* ── STORY ── */
.story-section {
  padding: 20px var(--gutter) 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.story-book img { width: 100%; max-width: 480px; display: block; }

.story-text h3 {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--accent);
  font-style: normal;
  margin-bottom: 16px;
  line-height: 1.4;
}

.story-text p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--grey);
  margin-bottom: 16px;
}

/* ── CHARACTERS ── */
.characters-label {
  padding: 20px var(--gutter) 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.characters-label h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--accent);
}

.characters-grid {
  padding: 0 var(--gutter) 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.characters-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 100px;
  list-style: none;
}

.character-item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  margin-bottom: 16px;
}

.character-item h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 8px;
}

.character-item p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--grey);
}

/* ── AUTHOR (homepage) ── */
.author-section {
  padding: 40px var(--gutter) 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.author-photo img {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.author-text { text-align: center; }

.author-text h4 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 20px;
}

.author-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--grey);
  margin-bottom: 24px;
}

/* ── SHOP PAGE ── */
.shop-section {
  padding: 60px var(--gutter) 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.shop-intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 60px;
}

.shop-intro h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 24px;
}

.shop-intro h2.accent { color: var(--accent); }

.shop-intro p.large {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--grey);
  margin-bottom: 12px;
}

.shop-intro a { color: var(--accent); font-weight: 700; }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 60px;
}

.shop-item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  display: block;
}

.shop-item a:first-child { display: block; }

/* ── ABOUT PAGE ── */
.about-section {
  padding: 60px var(--gutter) 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text h3 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 20px;
}

.about-text h3.accent { color: var(--accent); }

.about-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--grey);
  margin-bottom: 28px;
}

.about-photo img {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

/* ── FOOTER ── */
footer {
  padding: 40px var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  border-top: 1px solid #e5e5e5;
}

.footer-copy {
  font-size: 0.875rem;
  color: var(--grey);
  line-height: 1.6;
}

.footer-contact { text-align: center; }

.footer-contact p {
  font-size: 0.9rem;
  color: var(--grey);
  margin-bottom: 8px;
}

.footer-contact a {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--black);
  text-decoration: none;
  border-bottom: 2px solid var(--black);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}

.footer-contact a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ── RESPONSIVE ── */
@media (max-width: 767px) {
  :root { --gutter: 6vw; }

  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .hero-img { max-height: 50vw; border-radius: 0 0 16px 16px; }

  .tagline { padding: 40px var(--gutter) 32px; }

  .story-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 52px;
  }

  .story-book { display: flex; justify-content: center; }
  .story-book img { max-width: 240px; }

  .characters-label { padding: 16px var(--gutter) 28px; }

  .characters-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 20px;
  }

  .author-section {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
    padding: 32px var(--gutter) 60px;
  }

  .author-photo img { max-width: 220px; }

  .about-section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px var(--gutter) 60px;
  }

  .about-photo { order: -1; }
  .about-photo img { max-width: 220px; }

  .shop-section { padding: 40px var(--gutter) 60px; }
  .shop-grid { grid-template-columns: 1fr; gap: 48px; max-width: 360px; margin: 0 auto; }

  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .characters-list { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
}
