/* ---------- Nour's Reads ---------- */
:root {
  --ink: #342a2d;
  --ink-soft: #6f5d61;
  --cream: #fbf7f0;
  --paper: #fffdf8;
  --rose: #c98f8d;
  --rose-light: #efd8d4;
  --plum: #73576a;
  --lavender: #c9bfd4;
  --blue: #aebfc6;
  --gold: #c6a56d;
  --line: rgba(52, 42, 45, 0.14);
  --shadow: 0 18px 60px rgba(76, 51, 56, 0.10);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -2;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.28;
}

body::before {
  background: var(--rose-light);
  top: -100px;
  left: -120px;
}

body::after {
  background: var(--lavender);
  bottom: -140px;
  right: -90px;
}

.paper-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  opacity: 0.12;
  background-image:
    radial-gradient(rgba(52, 42, 45, 0.14) 0.6px, transparent 0.6px);
  background-size: 6px 6px;
  mix-blend-mode: multiply;
}

a {
  color: inherit;
}

.site-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 20;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
}

.brand-mark {
  color: var(--rose);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--ink-soft);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width 180ms ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.35rem;
  color: var(--ink);
  cursor: pointer;
}

.hero {
  max-width: 1200px;
  margin: 42px auto 90px;
  padding: 45px 32px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 70px;
  align-items: center;
  min-height: 620px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--plum);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.73rem;
  font-weight: 600;
}

h1, h2, h3 {
  font-family: "Playfair Display", serif;
  line-height: 1.12;
  margin-top: 0;
}

h1 {
  font-size: clamp(3.5rem, 7vw, 6.7rem);
  letter-spacing: -0.045em;
  margin-bottom: 26px;
  font-weight: 600;
}

h1 em {
  color: var(--rose);
  font-weight: 600;
}

.hero-text {
  max-width: 610px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.button {
  padding: 13px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.94rem;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 8px 24px rgba(52, 42, 45, 0.15);
}

.button.ghost {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.42);
}

.hero-art {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
}

.hero-art::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(115, 87, 106, 0.22);
  border-radius: 48% 52% 57% 43% / 47% 43% 57% 53%;
  transform: rotate(-8deg);
}

.moon {
  position: absolute;
  top: 18px;
  right: 75px;
  font-family: serif;
  font-size: 7rem;
  color: var(--gold);
  transform: rotate(-14deg);
  opacity: 0.85;
}

.book-stack {
  position: absolute;
  bottom: 80px;
  width: min(360px, 82%);
  transform: rotate(-3deg);
}

.book {
  height: 58px;
  border: 1px solid rgba(52,42,45,0.15);
  border-radius: 6px 12px 12px 6px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-family: "Playfair Display", serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.book-a {
  width: 88%;
  margin-left: 20px;
  background: var(--lavender);
}

.book-b {
  width: 100%;
  background: var(--rose-light);
  transform: rotate(2deg);
}

.book-c {
  width: 82%;
  margin-left: 45px;
  background: var(--blue);
  transform: rotate(-1deg);
}

.spark {
  position: absolute;
  color: var(--plum);
  font-size: 2rem;
}

.s1 { top: 115px; left: 18%; }
.s2 { top: 195px; right: 9%; font-size: 1.35rem; }
.s3 { bottom: 70px; right: 12%; font-size: 2.5rem; }

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
  padding: 13px 0;
  color: var(--ink-soft);
  background: rgba(255,255,255,0.28);
}

.marquee-track {
  display: inline-flex;
  animation: scroll 24s linear infinite;
}

.marquee-track span {
  padding-right: 40px;
}

@keyframes scroll {
  to { transform: translateX(-50%); }
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 110px 32px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 46px;
}

.section-heading h2,
.about-card h2 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  margin-bottom: 0;
}

.section-note {
  color: var(--ink-soft);
  max-width: 320px;
  text-align: right;
}

.review-grid {
  display: grid;
  gap: 34px;
}

.review-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) 1.28fr;
  min-height: 520px;
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.review-card.reverse {
  grid-template-columns: 1.28fr minmax(280px, 0.72fr);
}

.review-card.reverse .cover {
  order: 2;
}

.cover {
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 34px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.cover::before,
.cover::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(52, 42, 45, 0.16);
  border-radius: 50%;
  z-index: -1;
}

.cover::before {
  width: 280px;
  height: 280px;
  top: -70px;
  right: -50px;
}

.cover::after {
  width: 210px;
  height: 210px;
  bottom: -80px;
  left: -45px;
}

.cover-one { background: #d8cfe0; }
.cover-two { background: #d9b6b1; }

.cover-inner {
  width: min(250px, 85%);
  aspect-ratio: 0.66;
  padding: 30px 24px;
  border: 1px solid rgba(52,42,45,0.32);
  background: rgba(255, 253, 248, 0.34);
  backdrop-filter: blur(6px);
  border-radius: 3px 14px 14px 3px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  box-shadow: 12px 16px 0 rgba(52,42,45,0.07);
  transform: rotate(-2deg);
}

.cover-two .cover-inner {
  transform: rotate(2deg);
}

.cover-kicker {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  font-weight: 600;
}

.cover-inner h3 {
  font-size: 2rem;
  margin: 28px 0 16px;
}

.cover-inner p {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.review-content {
  padding: clamp(34px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.pill {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.rating {
  color: var(--gold);
  letter-spacing: 0.08em;
}

.review-content > h3 {
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  margin-bottom: 8px;
}

.book-author {
  margin-top: 0;
  color: var(--ink-soft);
}

.review-excerpt {
  color: var(--ink-soft);
  font-size: 1.02rem;
  max-width: 680px;
}

.review-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 24px 0 18px;
}

.review-details div {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.review-details span,
.review-details strong {
  display: block;
}

.review-details span {
  font-size: 0.73rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.review-details strong {
  font-weight: 500;
  margin-top: 4px;
}

.text-button {
  width: fit-content;
  border: 0;
  background: none;
  padding: 8px 0;
  font: inherit;
  color: var(--plum);
  cursor: pointer;
  border-bottom: 1px solid currentColor;
}

.text-button span {
  display: inline-block;
  margin-left: 8px;
  transition: transform 180ms ease;
}

.text-button[aria-expanded="true"] span {
  transform: rotate(180deg);
}

.full-review {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  color: var(--ink-soft);
}

.quote-section {
  max-width: 980px;
  margin: 10px auto 20px;
  padding: 0 32px;
}

.quote-card {
  position: relative;
  text-align: center;
  padding: 72px 70px;
  border: 1px solid var(--line);
  border-radius: 50% 50% 46% 54% / 54% 46% 54% 46%;
  background: rgba(239, 216, 212, 0.45);
}

.quote-card p {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.3;
}

.quote-mark {
  position: absolute;
  top: 12px;
  left: 18%;
  font-family: "Playfair Display", serif;
  font-size: 6rem;
  color: var(--rose);
  opacity: 0.5;
}

.tiny-stars {
  display: block;
  margin-top: 24px;
  color: var(--gold);
  letter-spacing: 0.45em;
}

.two-column {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 26px;
}

.about-card,
.reading-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 62px);
}

.about-card {
  background: var(--paper);
}

.about-card p {
  color: var(--ink-soft);
  max-width: 720px;
}

.text-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--plum);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.reading-card {
  background: var(--blue);
}

.reading-icon {
  font-size: 2rem;
  margin-bottom: 26px;
}

.reading-card h3 {
  font-size: 2rem;
  margin-bottom: 4px;
}

.muted {
  color: rgba(52,42,45,0.65);
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-top: 38px;
  font-size: 0.8rem;
}

.progress-bar {
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.42);
  margin-top: 8px;
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  background: var(--ink);
  border-radius: 999px;
}

.reading-note {
  margin-top: 32px;
  font-family: "Playfair Display", serif;
  font-style: italic;
}

footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 32px 60px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: end;
  color: var(--ink-soft);
}

footer strong {
  color: var(--ink);
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
}

footer p {
  margin: 6px 0 0;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  text-decoration: none;
}

.copyright {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  margin-top: 20px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    margin-top: 10px;
    gap: 20px;
  }

  .hero-art {
    min-height: 380px;
  }

  .review-card,
  .review-card.reverse {
    grid-template-columns: 1fr;
  }

  .review-card.reverse .cover {
    order: 0;
  }

  .cover {
    min-height: 430px;
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .section-note {
    text-align: left;
  }
}

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

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 20px;
    right: 20px;
    padding: 18px;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .hero,
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    min-height: auto;
    padding-top: 20px;
    margin-bottom: 55px;
  }

  h1 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .moon {
    right: 30px;
    font-size: 5rem;
  }

  .hero-art::before {
    width: 285px;
    height: 285px;
  }

  .section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .review-content {
    padding: 34px 24px;
  }

  .review-details {
    grid-template-columns: 1fr;
  }

  .quote-card {
    padding: 58px 28px;
    border-radius: var(--radius-lg);
  }

  .quote-mark {
    left: 10%;
  }

  footer {
    padding-left: 20px;
    padding-right: 20px;
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
