:root {
  --cream: #fffaf1;
  --cream-2: #f7eddf;
  --paper: #ffffff;
  --ink: #332c3d;
  --muted: #6d6574;
  --coral: #e96f58;
  --coral-dark: #d85d49;
  --purple: #7e67a9;
  --teal: #45a9a2;
  --yellow: #f0c95d;
  --line: rgba(51, 44, 61, .10);
  --shadow: 0 18px 50px rgba(77, 53, 46, .12);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(255, 250, 241, .90);
  border-bottom: 1px solid rgba(51,44,61,.06);
}

.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 900;
  letter-spacing: -.03em;
}
.brand-beli { color: var(--coral); font-size: 2rem; }
.brand-bookshelf { color: var(--purple); font-size: 1.2rem; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 700;
}
.main-nav a { transition: .2s ease; }
.main-nav a:hover { color: var(--coral); }
.nav-cta {
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff !important;
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 82px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  gap: 64px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .8rem;
  font-weight: 900;
}
.hero h1, .featured h2, .section-heading h2, .about h2, .social h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: -.045em;
}
.hero h1 {
  font-size: clamp(3.2rem, 7vw, 6rem);
  max-width: 720px;
}
.hero h1 span { color: var(--purple); }
.hero-text {
  max-width: 620px;
  margin: 26px 0 0;
  font-size: 1.16rem;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--coral);
  color: white;
  box-shadow: 0 12px 26px rgba(233,111,88,.22);
}
.btn-primary:hover { background: var(--coral-dark); }
.btn-secondary {
  border: 1.5px solid rgba(51,44,61,.14);
  background: rgba(255,255,255,.55);
}
.btn-light { background: white; color: var(--purple); }
.tiny-note { margin-top: 18px; color: var(--muted); font-weight: 700; }

.hero-art { display: flex; justify-content: center; }
.shelf-card {
  position: relative;
  width: min(470px, 100%);
  aspect-ratio: .98;
  background: #fff;
  border-radius: 42px;
  box-shadow: var(--shadow);
  padding: 50px 42px 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.book-stack {
  height: 210px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  padding-bottom: 6px;
}
.book {
  width: 58px;
  border-radius: 8px 8px 2px 2px;
  box-shadow: inset -8px 0 rgba(0,0,0,.04);
}
.b1 { height: 150px; background: var(--coral); transform: rotate(-3deg); }
.b2 { height: 185px; background: var(--yellow); }
.b3 { height: 165px; background: var(--purple); transform: rotate(2deg); }
.b4 { height: 128px; background: var(--teal); transform: rotate(5deg); }
.shelf { height: 15px; background: #c68e67; border-radius: 10px; box-shadow: 0 12px 0 #e0b18b; }
.art-copy { text-align: center; margin-top: 38px; }
.art-copy strong { display: block; font-size: 1.3rem; }
.art-copy span { color: var(--muted); font-size: .95rem; }
.mini-star { position: absolute; color: var(--yellow); font-size: 1.7rem; }
.star-a { left: 46px; top: 52px; }
.star-b { right: 54px; top: 82px; color: var(--teal); font-size: 1.25rem; }

.hero-shape { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .28; }
.shape-one { width: 310px; height: 310px; background: var(--yellow); left: -150px; top: 120px; }
.shape-two { width: 220px; height: 220px; background: var(--teal); right: -100px; bottom: -40px; }

.benefits { padding: 30px 0 90px; }
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.benefit-grid article {
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
}
.icon-bubble {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  font-weight: 900; color: white; line-height: 1;
}
.icon-bubble.coral { background: var(--coral); }
.icon-bubble.purple { background: var(--purple); }
.icon-bubble.teal { background: var(--teal); }
.benefit-grid h3 { margin: 16px 0 7px; font-size: 1.15rem; }
.benefit-grid p { margin: 0; color: var(--muted); }

.featured {
  background: var(--paper);
  padding: 105px 0;
}
.featured-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 80px;
}
.book-mockup-wrap { display: flex; justify-content: center; perspective: 1000px; }
.book-mockup {
  width: min(360px, 86%);
  aspect-ratio: .77;
  background: #fae3d6;
  border-radius: 6px 16px 16px 6px;
  box-shadow: 22px 28px 60px rgba(60,38,35,.18);
  transform: rotateY(-10deg) rotateZ(-1deg);
  position: relative;
  overflow: hidden;
  padding: 48px 30px 26px;
  text-align: center;
}
.book-mockup::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 12px;
  background: rgba(120,80,60,.11);
}
.mockup-top { font-size: .85rem; font-weight: 900; letter-spacing: .16em; color: var(--purple); }
.mockup-title { font-size: 2.15rem; line-height: 1.05; font-weight: 900; margin-top: 10px; color: var(--coral); }
.mockup-sub { margin-top: 8px; font-weight: 800; color: var(--ink); }
.mockup-rainbow {
  position: absolute; left: 50%; bottom: 95px; transform: translateX(-50%);
  width: 155px; height: 88px; overflow: hidden;
}
.mockup-rainbow span {
  position: absolute; left: 50%; bottom: -66px; transform: translateX(-50%);
  border-radius: 50% 50% 0 0;
  border-style: solid;
}
.mockup-rainbow span:nth-child(1) { width: 145px; height: 145px; border-width: 17px; border-color: var(--coral); }
.mockup-rainbow span:nth-child(2) { width: 110px; height: 110px; border-width: 17px; border-color: var(--yellow); }
.mockup-rainbow span:nth-child(3) { width: 75px; height: 75px; border-width: 17px; border-color: var(--teal); }
.mockup-footer { position: absolute; bottom: 24px; left: 0; right: 0; font-size: .82rem; font-weight: 800; }
.mockup-cloud { position: absolute; width: 45px; height: 18px; background: white; border-radius: 20px; opacity: .8; }
.mockup-cloud::before, .mockup-cloud::after { content:""; position:absolute; background:white; border-radius:50%; }
.mockup-cloud::before { width: 22px; height: 22px; left: 8px; top: -11px; }
.mockup-cloud::after { width: 17px; height: 17px; right: 5px; top: -7px; }
.c1 { left: 45px; bottom: 165px; }
.c2 { right: 36px; bottom: 145px; transform: scale(.85); }

.featured h2 { font-size: clamp(2.6rem, 5vw, 4.5rem); }
.featured h2 span { color: var(--coral); }
.featured-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 650px;
}
.feature-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; }
.feature-pills span {
  padding: 10px 14px; border-radius: 999px;
  background: var(--cream); border: 1px solid var(--line);
  font-size: .9rem; font-weight: 800;
}

.collection { padding: 110px 0; }
.section-heading { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.section-heading h2 { font-size: clamp(2.5rem, 5vw, 4rem); }
.section-heading > p:last-child { color: var(--muted); }

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.collection-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(70,50,60,.06);
}
.card-cover {
  aspect-ratio: .84;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  position: relative;
}
.card-cover::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(255,255,255,.7) 0 4%, transparent 5%),
              radial-gradient(circle at 80% 23%, rgba(255,255,255,.55) 0 3%, transparent 4%),
              radial-gradient(circle at 70% 75%, rgba(255,255,255,.45) 0 4%, transparent 5%);
}
.cover-1 { background: #f8e1d4; }
.cover-2 { background: #dcefe9; }
.cover-3 { background: #e8e0f1; }
.cover-kicker { position: relative; z-index: 1; font-size: .72rem; letter-spacing: .13em; font-weight: 900; color: var(--purple); }
.card-cover strong { position: relative; z-index: 1; font-size: 2rem; line-height: 1.05; margin: 10px 0; color: var(--coral); }
.cover-2 strong { color: var(--teal); }
.cover-3 strong { color: var(--purple); }
.card-cover small { position: relative; z-index: 1; font-weight: 800; }
.card-info { padding: 24px 24px 28px; }
.status {
  display: inline-block; padding: 7px 10px; border-radius: 999px;
  background: rgba(69,169,162,.12); color: #28756f;
  font-size: .78rem; font-weight: 900;
}
.status.upcoming { background: rgba(126,103,169,.12); color: var(--purple); }
.card-info h3 { margin: 13px 0 8px; line-height: 1.25; }
.card-info p { color: var(--muted); margin: 0 0 14px; }
.card-info a { color: var(--coral); font-weight: 900; }

.about { background: var(--cream-2); padding: 110px 0; }
.about-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 86px;
}
.about-art { display: flex; justify-content: center; }
.about-circle {
  width: min(380px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: white;
  position: relative;
  box-shadow: var(--shadow);
}
.little-book { position: absolute; bottom: 100px; width: 64px; border-radius: 6px 6px 2px 2px; }
.lb1 { height: 122px; left: 92px; background: var(--coral); transform: rotate(-6deg); }
.lb2 { height: 150px; left: 155px; background: var(--yellow); }
.lb3 { height: 112px; left: 218px; background: var(--purple); transform: rotate(5deg); }
.spark { position: absolute; color: var(--teal); font-size: 1.5rem; }
.s1 { top: 84px; left: 82px; }
.s2 { top: 112px; right: 78px; color: var(--coral); }
.about h2 { font-size: clamp(2.5rem, 5vw, 4.2rem); }
.about-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.07rem; }
.signature-line { margin-top: 24px; color: var(--ink) !important; }

.social { padding: 80px 0; background: white; }
.social-box {
  background: var(--purple);
  color: white;
  border-radius: 30px;
  padding: 46px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.social .eyebrow { color: #f7d77b; }
.social h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); }
.social p { max-width: 650px; margin-bottom: 0; color: rgba(255,255,255,.84); }

footer { padding: 54px 0 36px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: start;
}
.footer-brand { margin-bottom: 6px; }
.footer-grid p { color: var(--muted); margin: 0; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; font-weight: 800; }
.copyright { grid-column: 1 / -1; padding-top: 26px; border-top: 1px solid var(--line); font-size: .88rem; }

@media (max-width: 900px) {
  .menu-toggle { display: block; cursor: pointer; }
  .main-nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    background: white;
    padding: 18px;
    border-radius: 20px;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 12px; }
  .nav-cta { text-align: center; }

  .hero { padding-top: 64px; }
  .hero-grid, .featured-grid, .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-copy { text-align: center; }
  .hero-text { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero h1 { margin-inline: auto; }
  .featured-copy { text-align: center; }
  .feature-pills { justify-content: center; }
  .book-grid { grid-template-columns: 1fr 1fr; }
  .about-copy { text-align: center; }
  .social-box { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1160px); }
  .nav-wrap { min-height: 72px; }
  .brand-beli { font-size: 1.7rem; }
  .brand-bookshelf { font-size: 1rem; }

  .hero { padding: 48px 0 54px; }
  .hero h1 { font-size: clamp(3rem, 16vw, 4.5rem); }
  .hero-text { font-size: 1.03rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .shelf-card { border-radius: 28px; padding: 34px 24px 28px; }

  .benefit-grid, .book-grid { grid-template-columns: 1fr; }
  .benefits { padding-bottom: 60px; }
  .featured, .collection, .about { padding: 78px 0; }
  .featured-grid { gap: 52px; }
  .book-mockup { width: 78%; }
  .social { padding: 54px 0; }
  .social-box { padding: 34px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { gap: 14px 20px; }
}


/* Real Beli Bookshelf branding */
.brand-image-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.brand-logo {
  display: block;
  width: 178px;
  height: auto;
  mix-blend-mode: multiply;
}
.footer-logo {
  width: 195px;
}
.real-book-cover {
  display: block;
  width: min(390px, 86%);
  height: auto;
  border-radius: 8px 18px 18px 8px;
  box-shadow: 22px 28px 60px rgba(60,38,35,.18);
  transform: rotateY(-6deg) rotateZ(-1deg);
}
.real-cover-card {
  padding: 0;
  background: #fff;
  overflow: hidden;
  display: block;
}
.real-cover-card::after {
  display: none;
}
.real-cover-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 620px) {
  .brand-logo { width: 145px; }
  .footer-logo { width: 170px; }
  .real-book-cover { width: 76%; }
}


/* Social + contact updates */
.social-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.social-actions .btn {
  width: auto;
  min-width: 120px;
}
.contact-line {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .92rem;
}
.contact-line a {
  font-weight: 800;
  color: var(--ink);
}
.contact-line a:hover {
  color: var(--coral);
}
.copyright {
  border-top: 0;
  padding-top: 8px;
}
@media (max-width: 900px) {
  .social-actions {
    justify-content: flex-start;
  }
}
@media (max-width: 620px) {
  .social-actions {
    width: 100%;
    flex-direction: column;
  }
  .social-actions .btn {
    width: 100%;
  }
  .contact-line {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-line span:nth-of-type(2),
  .contact-line span:nth-of-type(3) {
    display: none;
  }
}


/* Author section */
.author-section {
  padding: 105px 0;
  background: #f7f2fb;
}
.author-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  align-items: center;
  gap: 72px;
}
.author-photo-wrap {
  display: flex;
  justify-content: center;
}
.author-photo {
  width: min(390px, 100%);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.author-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(2.7rem, 5vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.author-copy p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
}
@media (max-width: 900px) {
  .author-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .author-copy {
    text-align: center;
  }
  .author-copy p:not(.eyebrow) {
    margin-left: auto;
    margin-right: auto;
  }
  .author-photo {
    width: min(350px, 78vw);
  }
}
@media (max-width: 620px) {
  .author-section {
    padding: 76px 0;
  }
  .author-photo {
    border-radius: 22px;
  }
}


/* Refined social + contact section */
.contact-section {
  padding: 88px 0;
  background: #fffdf8;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 42px;
  align-items: center;
  padding: 48px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 5% 15%, rgba(240,201,93,.18) 0 70px, transparent 71px),
    radial-gradient(circle at 95% 85%, rgba(69,169,162,.13) 0 95px, transparent 96px),
    linear-gradient(135deg, #fff9f1, #fbf7ff);
  border: 1px solid rgba(51,44,61,.08);
  box-shadow: 0 18px 55px rgba(70,50,60,.07);
}

.contact-intro h2 {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.contact-intro > p:last-child {
  margin: 0;
  max-width: 430px;
  color: var(--muted);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.contact-card {
  min-height: 190px;
  padding: 23px 20px;
  border-radius: 24px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(51,44,61,.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(70,50,60,.10);
  border-color: rgba(233,111,88,.22);
}

.social-icon {
  width: 54px;
  height: 54px;
  border-radius: 17px;
  display: grid;
  place-items: center;
}

.social-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.instagram-icon {
  color: #d85d67;
  background: #fbe2e3;
}
.instagram-icon .dot {
  fill: currentColor;
  stroke: none;
}

.tiktok-icon {
  color: #574d78;
  background: #ebe7f5;
}
.tiktok-icon svg {
  fill: currentColor;
  stroke: none;
}

.email-icon {
  color: #368985;
  background: #ddf1ee;
}

.contact-card > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--muted);
}

.contact-card strong {
  font-size: .98rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.contact-card small {
  margin-top: 6px;
  font-weight: 800;
  color: var(--coral);
}

.footer-socials {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
}

.footer-social-icon {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cream-2);
  color: var(--coral);
  font-weight: 900;
}

.footer-socials a:hover {
  color: var(--coral);
}

@media (max-width: 980px) {
  .contact-panel {
    grid-template-columns: 1fr;
  }
  .contact-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .contact-panel {
    padding: 34px 24px;
  }
  .contact-cards {
    grid-template-columns: 1fr;
  }
  .contact-card {
    min-height: 0;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .contact-section {
    padding: 64px 0;
  }
  .contact-panel {
    border-radius: 26px;
  }
  .footer-socials {
    flex-direction: column;
  }
}


/* ---------- Beli Bookshelf visual polish V2 ---------- */

/* Hero: real product as the focal point, without repeating the full logo */
.hero-brand-card {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-brand-card::before {
  content: "";
  position: absolute;
  width: 86%;
  height: 82%;
  border-radius: 46% 54% 49% 51% / 53% 44% 56% 47%;
  background: linear-gradient(145deg, #f9e9dd, #f4eadf);
  transform: rotate(-3deg);
  z-index: -2;
}

.hero-brand-card::after {
  content: "";
  position: absolute;
  width: 67%;
  height: 67%;
  border-radius: 50%;
  border: 1px dashed rgba(90,74,91,.15);
  z-index: -1;
}

.hero-book-window {
  width: min(260px, 66%);
  transform: rotate(3deg);
  filter: drop-shadow(0 22px 24px rgba(70,50,60,.14));
  transition: transform .25s ease;
}

.hero-book-window:hover {
  transform: rotate(1deg) translateY(-4px);
}

.hero-book-window img {
  display: block;
  width: 100%;
  border-radius: 4px;
}

.hero-note {
  position: absolute;
  left: 2%;
  bottom: 8%;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.91);
  border: 1px solid rgba(51,44,61,.07);
  box-shadow: 0 12px 28px rgba(70,50,60,.08);
  transform: rotate(-2deg);
}

.hero-note span,
.hero-note strong {
  display: block;
}

.hero-note span {
  margin-bottom: 3px;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 900;
  color: var(--muted);
}

.hero-note strong {
  font-size: .92rem;
  color: var(--coral);
}

.hero-spark {
  position: absolute;
  font-size: 1.4rem;
  color: #e3b643;
}

.spark-one { top: 14%; right: 8%; transform: rotate(15deg); }
.spark-two { bottom: 20%; right: 12%; font-size: .9rem; }

/* Benefit cards: lighter, more editorial */
.benefit-card,
.feature-card {
  border: 1px solid rgba(51,44,61,.07);
  box-shadow: 0 10px 28px rgba(70,50,60,.045);
}

/* Collection: make future books look intentional rather than unfinished */
.coming-soon-card {
  position: relative;
  overflow: hidden;
}

.coming-soon-card::after {
  content: "A new little discovery is on the way";
  display: block;
  margin-top: 14px;
  font-size: .78rem;
  line-height: 1.45;
  color: var(--muted);
  font-style: italic;
}

.coming-soon-card .book-cover-placeholder {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(51,44,61,.06);
}

.coming-soon-card .book-cover-placeholder::before {
  content: "COMING SOON";
  position: absolute;
  top: 16px;
  right: -34px;
  width: 132px;
  padding: 6px 0;
  text-align: center;
  transform: rotate(38deg);
  font-size: .62rem;
  letter-spacing: .11em;
  font-weight: 900;
  background: rgba(255,255,255,.82);
  color: var(--coral);
}

/* About: custom typographic brand mark instead of another generic book drawing */
.about-mark {
  display: grid;
  place-items: center;
  min-height: 360px;
  background:
    radial-gradient(circle at 30% 25%, rgba(240,201,93,.24) 0 44px, transparent 45px),
    radial-gradient(circle at 77% 78%, rgba(69,169,162,.18) 0 62px, transparent 63px),
    #f9f1e7;
  border-radius: 34px;
}

.about-mark-inner {
  width: 235px;
  height: 235px;
  border-radius: 50%;
  background: #fffdf8;
  border: 1px solid rgba(51,44,61,.07);
  box-shadow: 0 18px 38px rgba(70,50,60,.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(-2deg);
  text-align: center;
}

.about-mark-inner strong {
  font-size: 2.15rem;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.about-mark-inner .tiny-word {
  margin-bottom: 9px;
  color: var(--coral);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.about-mark-inner .tiny-star {
  margin-top: 8px;
  color: #dfb442;
  font-size: 1.1rem;
}

/* Keep sections airy and reduce the template-like repetition */
#about,
#author {
  scroll-margin-top: 90px;
}

@media (max-width: 900px) {
  .hero-brand-card {
    min-height: 420px;
  }
  .hero-note {
    left: 8%;
  }
}

@media (max-width: 620px) {
  .hero-brand-card {
    min-height: 365px;
    margin-top: 10px;
  }
  .hero-book-window {
    width: min(220px, 62%);
  }
  .hero-note {
    left: 2%;
    bottom: 3%;
    padding: 11px 14px;
  }
  .about-mark {
    min-height: 300px;
  }
  .about-mark-inner {
    width: 205px;
    height: 205px;
  }
  .about-mark-inner strong {
    font-size: 1.85rem;
  }
}


/* ---------- Final mobile optimization ---------- */
@media (max-width: 620px) {
  /* Compact header without changing desktop */
  .site-header .container,
  .nav-wrap {
    min-height: 76px;
  }

  .brand img,
  .logo img,
  .site-logo {
    max-height: 72px;
    width: auto;
  }

  /* Make the opening screen feel lighter and faster */
  .hero {
    padding-top: 34px;
    padding-bottom: 54px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-copy h1,
  .hero h1 {
    font-size: clamp(2.75rem, 13vw, 3.45rem);
    line-height: .98;
    letter-spacing: -.055em;
    margin-bottom: 20px;
  }

  .hero-copy > p:not(.eyebrow),
  .hero-description {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .hero-actions .btn {
    min-height: 50px;
  }

  .hero-brand-card {
    min-height: 300px;
    margin-top: 0;
  }

  .hero-book-window {
    width: min(190px, 58%);
  }

  .hero-note {
    bottom: 1%;
    padding: 9px 12px;
  }

  /* General mobile rhythm */
  section {
    scroll-margin-top: 76px;
  }

  .section-heading,
  .section-title {
    margin-bottom: 28px;
  }

  /* Featured book */
  .featured-book,
  .featured-grid {
    gap: 28px;
  }

  /* About: keep the branded mark but stop it dominating the screen */
  .about-grid {
    gap: 28px;
  }

  .about-mark {
    min-height: 240px;
    border-radius: 28px;
  }

  .about-mark-inner {
    width: 172px;
    height: 172px;
  }

  .about-mark-inner strong {
    font-size: 1.55rem;
  }

  .about-mark-inner .tiny-word {
    font-size: .62rem;
    margin-bottom: 6px;
  }

  /* Author section: slightly tighter on phone */
  .author-section,
  #author {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  /* Contact cards were already working well; just preserve comfortable spacing */
  .contact-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .contact-panel {
    gap: 28px;
  }

  .contact-cards {
    gap: 12px;
  }

  .contact-card {
    padding: 18px;
  }

  /* Footer */
  .site-footer {
    padding-top: 48px;
  }
}

@media (max-width: 390px) {
  .hero-copy h1,
  .hero h1 {
    font-size: 2.7rem;
  }

  .hero-brand-card {
    min-height: 280px;
  }

  .contact-card strong {
    font-size: .92rem;
  }
}


/* ---------- Mobile refinement: smaller decorative book graphics + author photo ---------- */
@media (max-width: 620px) {
  /* Decorative book graphics in hero/about should not dominate the screen */
  .hero-brand-card {
    min-height: 220px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .hero-brand-card::before {
    width: 70%;
    height: 68%;
  }

  .hero-brand-card::after {
    width: 52%;
    height: 52%;
  }

  .hero-book-window {
    width: min(145px, 46%);
  }

  .hero-note {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 8px;
    transform: none;
  }

  .hero-spark {
    font-size: .85rem;
  }

  /* About decorative mark */
  .about-mark {
    min-height: 175px;
    padding: 12px 0;
  }

  .about-mark-inner {
    width: 125px;
    height: 125px;
  }

  .about-mark-inner strong {
    font-size: 1.14rem;
    line-height: 1.02;
  }

  .about-mark-inner .tiny-word {
    font-size: .5rem;
    margin-bottom: 4px;
  }

  .about-mark-inner .tiny-star {
    font-size: .8rem;
    margin-top: 5px;
  }

  /* Author photo: reduce size and keep centered */
  #author img,
  .author-section img,
  .author-photo img,
  .author-image img,
  .author-card img {
    width: min(230px, 68%) !important;
    max-width: 230px !important;
    height: auto !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 24px;
  }

  .author-photo,
  .author-image {
    display: flex;
    justify-content: center;
  }

  /* Slightly tighten surrounding spacing */
  #author,
  .author-section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .about-grid {
    gap: 22px;
  }
}

@media (max-width: 390px) {
  .hero-brand-card {
    min-height: 205px;
  }

  .hero-book-window {
    width: min(132px, 44%);
  }

  .about-mark {
    min-height: 160px;
  }

  .about-mark-inner {
    width: 116px;
    height: 116px;
  }

  #author img,
  .author-section img,
  .author-photo img,
  .author-image img,
  .author-card img {
    width: min(205px, 66%) !important;
    max-width: 205px !important;
  }
}

/* Final visual replacement: useful, compact elements instead of oversized book graphics */
.hero-feature-card {
  width: min(430px, 100%);
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 24px;
  color: var(--ink);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-feature-card:hover { transform: translateY(-3px); }
.hero-feature-card img { width: 100%; border-radius: 5px; box-shadow: 0 12px 24px rgba(60,45,55,.12); }
.hero-feature-copy span { display:block; color:var(--coral); text-transform:uppercase; letter-spacing:.09em; font-size:.7rem; font-weight:900; margin-bottom:8px; }
.hero-feature-copy strong { display:block; font-size:1.35rem; line-height:1.18; }
.hero-feature-copy em { display:block; color:var(--purple); font-style:normal; font-weight:900; margin-top:16px; }

.story-quote-card {
  width: min(360px, 100%);
  min-height: 250px;
  padding: 38px;
  border-radius: 30px;
  background: #fffdf8;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display:flex;
  flex-direction:column;
  justify-content:center;
  text-align:center;
}
.story-kicker { color:var(--coral); text-transform:uppercase; letter-spacing:.12em; font-size:.7rem; font-weight:900; margin-bottom:16px; }
.story-quote-card strong { font-size:2rem; line-height:1.12; letter-spacing:-.035em; }
.story-line { color:var(--muted); font-weight:800; margin-top:18px; }

/* Author photo should support the biography, not dominate it */
.author-photo { width: min(310px, 100%); }

@media (max-width: 620px) {
  .hero-art { margin-top: 30px; }
  .hero-feature-card {
    width: 100%;
    grid-template-columns: 92px 1fr;
    gap: 16px;
    padding: 16px;
    border-radius: 22px;
  }
  .hero-feature-copy span { font-size:.6rem; margin-bottom:5px; }
  .hero-feature-copy strong { font-size:1rem; }
  .hero-feature-copy em { margin-top:9px; font-size:.86rem; }
  .story-quote-card { min-height: 170px; padding: 25px 20px; border-radius:24px; }
  .story-quote-card strong { font-size:1.55rem; }
  .author-photo { width: min(210px, 62vw) !important; max-width:210px !important; }
}
