/* ============================================
   MILA WEST – style.css
   Editorial minimalist design system
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cream: #FAF8F4;
  --black: #1A1A1A;
  --white: #FFFFFF;
  --rose: #C4566A;
  --grey-light: #E8E5E0;
  --grey-mid: #999;
  --grey-dark: #555;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--black);
  background-color: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }

.italic { font-style: italic; }

.label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-mid);
}

.label--rose { color: var(--rose); }

.small-caps {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4rem 0;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.btn:hover {
  opacity: 0.85;
}

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

.btn--rose {
  background-color: var(--rose);
  color: var(--white);
}

.btn--outline {
  background-color: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}

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

/* --- Image Placeholders --- */
.img-placeholder {
  background-color: var(--grey-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-mid);
  overflow: hidden;
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--cream);
  border-bottom: 1px solid var(--grey-light);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.nav__logo {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.nav__links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--rose);
}

.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--black);
  transition: transform 0.3s;
}

/* Mobile menu */
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem 1.5rem;
  background-color: var(--cream);
  border-bottom: 1px solid var(--grey-light);
}

.nav__mobile.active {
  display: flex;
}

.nav__mobile a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 3rem 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero__headline {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}

.hero__subtext {
  font-size: 1rem;
  color: var(--grey-dark);
  margin-bottom: 2rem;
  max-width: 480px;
  line-height: 1.8;
}

.hero__cta {
  margin-bottom: 1.5rem;
}

.hero__tagline {
  margin-top: 0.5rem;
}

.hero__image {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
}

/* ============================================
   PAIN POINTS
   ============================================ */
.pain-points {
  background-color: var(--white);
}

.pain-points__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.pain-points__card h4 {
  margin-bottom: 0.75rem;
}

.pain-points__card p {
  font-size: 0.9rem;
  color: var(--grey-dark);
  line-height: 1.7;
}

/* ============================================
   TRUTH BANNER
   ============================================ */
.truth-banner {
  background-color: var(--black);
  color: var(--white);
  padding: 4rem 0;
}

.truth-banner .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.truth-banner .label {
  color: var(--rose);
}

.truth-banner h2 {
  color: var(--white);
  margin-top: 0.75rem;
}

.truth-banner__right p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
}

.truth-banner__right .small-caps {
  color: var(--white);
  margin-top: 1rem;
  display: block;
}

/* ============================================
   ABOUT TEASER
   ============================================ */
.about-teaser .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-teaser__image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
}

.about-teaser__content h2 {
  margin: 0.75rem 0 1.5rem;
}

.about-teaser__content p {
  font-size: 0.95rem;
  color: var(--grey-dark);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.signature {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.8rem;
  margin-top: 1rem;
}

/* ============================================
   BOOK SECTION
   ============================================ */
.book-section {
  background-color: var(--white);
}

.book-section .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.book-cover {
  width: 100%;
  max-width: 320px;
  height: auto;
  object-fit: cover;
}

.book-details h2 {
  font-size: 2rem;
  margin: 0.75rem 0 0.5rem;
}

.book-details__sub {
  font-style: italic;
  color: var(--grey-dark);
  margin-bottom: 1rem;
}

.book-details__desc {
  font-size: 0.95rem;
  color: var(--grey-dark);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.checklist {
  margin-bottom: 2rem;
}

.checklist li {
  font-size: 0.95rem;
  padding: 0.35rem 0;
}

.checklist li::before {
  content: "✓ ";
  color: var(--rose);
  font-weight: 700;
}

.book-details .small-caps {
  display: block;
  margin-top: 1rem;
  color: var(--grey-mid);
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial {
  border-left: 2px solid var(--grey-light);
  padding-left: 1.25rem;
}

.testimonial__stars {
  color: var(--rose);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.testimonial p {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--grey-dark);
}

.testimonial cite {
  font-size: 0.8rem;
  font-style: normal;
  color: var(--grey-mid);
}

/* ============================================
   ARTICLES TEASER
   ============================================ */
.articles-teaser h2 {
  margin: 0.75rem 0 2.5rem;
}

.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.article-card {
  background-color: var(--white);
  padding: 1.5rem;
}

.article-card__image {
  aspect-ratio: 16 / 9;
  width: 100%;
  margin-bottom: 1rem;
  object-fit: cover;
  display: block;
}

.article-hero-image {
  max-width: 960px;
  margin: 0 auto 2.5rem;
  padding: 0 1.5rem;
}

.article-hero-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.article-card .label {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.article-card h4 {
  margin-bottom: 0.75rem;
}

.article-card__link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose);
}

.article-card__link:hover {
  text-decoration: underline;
}

/* Newsletter signup */
.newsletter {
  margin-top: 3rem;
  padding: 2.5rem;
  background-color: var(--white);
  text-align: center;
}

.newsletter h3 {
  margin-bottom: 0.5rem;
}

.newsletter p {
  font-size: 0.9rem;
  color: var(--grey-dark);
  margin-bottom: 1.5rem;
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--black);
  color: var(--white);
  padding: 3rem 0 1.5rem;
}

.footer .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

.footer__tagline h3 {
  color: var(--white);
  font-size: 1.3rem;
}

.footer__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.footer__links a {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--white);
}

.footer__links svg {
  width: 18px;
  height: 18px;
  fill: rgba(255, 255, 255, 0.6);
  transition: fill 0.2s;
}

.footer__links a:hover svg {
  fill: var(--white);
}

.footer__copy {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
}

.footer__disclaimer {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 0.5rem;
}

/* ============================================
   ARTICLE PAGES
   ============================================ */

/* Article overview grid */
.articles-overview__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

/* Article hero */
.article-hero {
  padding: 3rem 0 2rem;
  text-align: center;
}

.article-hero .label {
  margin-bottom: 0.75rem;
  display: inline-block;
}

.article-hero h1 {
  margin-bottom: 1rem;
}

.article-hero__sub {
  font-size: 1.05rem;
  color: var(--grey-dark);
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.article-meta {
  font-size: 0.8rem;
  color: var(--grey-mid);
  letter-spacing: 0.05em;
}

/* Article body */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.article-body h2 {
  margin: 2.5rem 0 1rem;
  font-size: 1.6rem;
}

.article-body p {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  color: var(--grey-dark);
  line-height: 1.9;
}

/* Inline CTA */
.inline-cta {
  background-color: var(--white);
  padding: 2rem;
  margin: 2.5rem 0;
  text-align: center;
  border: 1.5px solid var(--grey-light);
}

.inline-cta h3 {
  margin-bottom: 0.5rem;
}

.inline-cta p {
  color: var(--grey-dark);
  margin-bottom: 1.25rem;
}

/* End CTA banner */
.end-cta {
  background-color: var(--black);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.end-cta h2 {
  color: var(--white);
  margin: 0.5rem 0 1rem;
}

.end-cta p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Related articles */
.related-articles {
  background-color: var(--white);
}

.related-articles h2 {
  margin-bottom: 2rem;
}

/* ============================================
   BOOK DETAIL PAGE
   ============================================ */
.book-hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.book-hero__content h1 {
  margin: 0.75rem 0 0.5rem;
}

.book-hero__sub {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--grey-dark);
  margin-bottom: 1.5rem;
}

.book-hero__desc {
  font-size: 0.95rem;
  color: var(--grey-dark);
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* What you'll learn */
.book-learn {
  background-color: var(--white);
}

.book-learn__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.book-learn__item h4 {
  margin-bottom: 0.5rem;
}

.book-learn__item p {
  font-size: 0.9rem;
  color: var(--grey-dark);
}

/* Testimonials section */
.testimonials-section {
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
  text-align: left;
}

.testimonial-card {
  padding: 1.5rem;
  background: var(--white);
}

/* About page */
.about-hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about-hero__image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
}

.about-hero__content h1 {
  margin: 0.75rem 0 1.5rem;
}

.about-hero__content p {
  font-size: 0.95rem;
  color: var(--grey-dark);
  line-height: 1.9;
  margin-bottom: 1rem;
}

.about-values {
  background-color: var(--white);
}

.about-values__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.about-values__item h4 {
  margin-bottom: 0.5rem;
}

.about-values__item p {
  font-size: 0.9rem;
  color: var(--grey-dark);
}

.about-story {
  background-color: var(--cream);
}

.about-story .container {
  max-width: 760px;
}

.about-story h2 {
  margin: 0.75rem 0 2rem;
}

.about-story__body p {
  font-size: 0.98rem;
  color: var(--grey-dark);
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

.about-for-you {
  background-color: var(--white);
}

.about-for-you__quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  line-height: 1.4;
  text-align: center;
  margin: 3.5rem auto 1rem;
  max-width: 700px;
  color: var(--black);
}

.about-for-you__sub {
  text-align: center;
  font-size: 0.95rem;
  color: var(--grey-dark);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   RESPONSIVE – Tablet (768px)
   ============================================ */
@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.4rem; }

  .hero .container {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .hero__headline { font-size: 3rem; }

  .pain-points__grid {
    grid-template-columns: 1fr 1fr;
  }

  .truth-banner .container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .about-teaser .container {
    grid-template-columns: 1fr 1fr;
  }

  .book-section .container {
    grid-template-columns: auto 1fr;
  }

  .articles-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .newsletter__form {
    flex-direction: row;
  }

  .newsletter__form input[type="email"] {
    flex: 1;
  }

  .footer .container {
    grid-template-columns: 1fr auto 1fr;
    text-align: left;
    align-items: center;
  }

  .footer__copy {
    text-align: right;
  }

  .articles-overview__grid {
    grid-template-columns: 1fr 1fr;
  }

  .book-hero .container {
    grid-template-columns: auto 1fr;
  }

  .book-learn__grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .about-hero .container {
    grid-template-columns: 1fr 1fr;
  }

  .about-values__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   RESPONSIVE – Desktop (1024px)
   ============================================ */
@media (min-width: 1024px) {
  h1 { font-size: 3.6rem; }

  .nav__links { display: flex; }
  .nav__toggle { display: none; }
  .nav__mobile { display: none !important; }

  section { padding: 5rem 0; }

  .hero__headline { font-size: 3.6rem; }

  .pain-points__grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .book-section .container {
    grid-template-columns: auto 1fr auto;
  }

  .articles-overview__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .book-learn__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .about-values__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
