:root {
  --ink: #173f35;
  --ink-soft: #48625b;
  --cream: #f7f1e5;
  --paper: #fffdf8;
  --orange: #e96632;
  --orange-dark: #c74920;
  --lime: #dce87b;
  --line: rgba(23, 63, 53, 0.16);
  --shadow: 0 24px 70px rgba(23, 63, 53, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
button, input { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header {
  height: 96px; display: flex; align-items: center; justify-content: space-between;
  max-width: 1240px; margin: auto; padding: 0 28px; position: relative; z-index: 10;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: #2f6f5d; text-decoration: none; }
.brand-lockup { display: grid; width: 66px; height: 62px; place-items: center; color: inherit; font: 400 68px/.8 Baskerville, "Baskerville Old Face", "Times New Roman", serif; transform: translateY(-2px); }
.brand-divider { width: 1px; height: 46px; flex: 0 0 1px; background: currentColor; opacity: .7; }
.brand-name { display: flex; flex-direction: column; color: inherit; font-family: Baskerville, 'Baskerville Old Face', 'Times New Roman', serif; font-size: 36px; font-weight: 400; letter-spacing: -.035em; line-height: .78; white-space: nowrap; }
.brand-name > span:first-child { border: 0; padding: 0; }
.brand-name > span:last-child { padding: 0; font-size: .8em; letter-spacing: inherit; }
nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 600; }
nav a { text-decoration: none; }
.nav-order { border: 1px solid var(--ink); border-radius: 999px; padding: 11px 18px; transition: .2s; }
.nav-order:hover { background: var(--ink); color: white; }

.hero { min-height: 690px; display: grid; grid-template-columns: 1.04fr .96fr; max-width: 1240px; margin: auto; padding: 42px 28px 76px; align-items: center; gap: 58px; }
.hero-copy { max-width: 640px; }
.eyebrow { margin: 0 0 16px; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 700; color: var(--orange-dark); }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.045em; line-height: .98; margin: 0; }
h1 { font-size: clamp(64px, 7vw, 102px); }
h1 em { color: var(--orange); font-weight: 500; }
.hero-intro { max-width: 560px; font-size: 18px; line-height: 1.7; color: var(--ink-soft); margin: 28px 0; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 15px 22px; text-decoration: none; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: white; }
.text-link { font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.hero-notes { display: flex; gap: 48px; margin: 48px 0 0; padding-top: 24px; border-top: 1px solid var(--line); max-width: 500px; }
.hero-notes div { display: grid; gap: 4px; }
.hero-notes dt { font-size: 13px; font-weight: 700; }
.hero-notes dd { margin: 0; font-size: 13px; color: var(--ink-soft); }

.hero-art { height: 560px; position: relative; overflow: hidden; background: #f3c85f; border-radius: 260px 260px 24px 24px; box-shadow: var(--shadow); }
.hero-sun { position: absolute; width: 330px; height: 330px; border-radius: 50%; background: var(--lime); top: 68px; left: 50%; transform: translateX(-50%); }
.book-stack { position: absolute; inset: 0; display: flex; justify-content: center; align-items: flex-end; padding-bottom: 60px; }
.display-book { position: absolute; bottom: 78px; width: 170px; height: 290px; display: flex; align-items: flex-end; padding: 24px; box-shadow: 12px 18px 30px rgba(50, 37, 15, .22); font-family: Georgia, "Times New Roman", serif; font-size: 25px; line-height: 1; color: white; border-radius: 3px 9px 9px 3px; }
.display-book::before { content: ""; position: absolute; inset: 0 auto 0 8px; width: 2px; background: rgba(255,255,255,.25); }
.display-book-one { background: #1f5145; transform: translateX(-112px) rotate(-9deg); }
.display-book-two { background: #e96432; transform: translateY(-17px) rotate(2deg); z-index: 2; }
.display-book-three { background: #3c467c; transform: translateX(112px) rotate(10deg); }
.art-caption { position: absolute; margin: 0; bottom: 24px; left: 0; right: 0; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }

.catalogue { background: var(--cream); padding: 100px max(28px, calc((100vw - 1184px) / 2)) 110px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 34px; }
h2 { font-size: clamp(48px, 5vw, 72px); }
.search-box { display: flex; align-items: center; width: min(100%, 320px); height: 50px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); padding: 0 18px; gap: 10px; }
.search-box svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.search-box input { border: 0; outline: 0; width: 100%; background: transparent; color: var(--ink); }
.category-filters { display: flex; gap: 9px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 14px; }
.category-filters button { white-space: nowrap; border: 1px solid var(--line); background: transparent; color: var(--ink); padding: 9px 15px; border-radius: 999px; cursor: pointer; font-size: 13px; font-weight: 600; }
.category-filters button.is-active, .category-filters button:hover { background: var(--ink); color: white; }
.catalogue-note { max-width: 700px; margin: 0 0 36px; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.book-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.book-card { min-width: 0; display: flex; flex-direction: column; background: var(--paper); border-radius: 12px; overflow: hidden; border: 1px solid rgba(23,63,53,.08); transition: transform .25s, box-shadow .25s; }
.book-card:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(23,63,53,.1); }
.cover-wrap { position: relative; min-height: 360px; display: grid; place-items: center; padding: 36px; background: #e9e2d4; overflow: hidden; }
.cover-wrap::after { content: ""; position: absolute; width: 220px; height: 28px; background: rgba(44,36,28,.13); filter: blur(12px); border-radius: 50%; bottom: 23px; }
.book-cover { position: relative; z-index: 1; width: 190px; max-height: 286px; object-fit: cover; box-shadow: 11px 14px 22px rgba(38,32,24,.23); transition: transform .3s; }
.book-card:hover .book-cover { transform: rotate(-1.5deg) translateY(-3px); }
.book-badge { position: absolute; z-index: 2; left: 16px; top: 16px; color: var(--ink); background: var(--lime); border-radius: 999px; padding: 7px 10px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.book-info { padding: 25px; display: flex; flex: 1; flex-direction: column; }
.book-category { color: var(--orange-dark); text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 700; margin: 0 0 10px; }
.book-info h3 { font-family: Georgia, "Times New Roman", serif; font-size: 27px; line-height: 1.06; letter-spacing: -.02em; margin: 0; }
.book-series { color: var(--orange-dark); font-size: 11px; font-weight: 800; letter-spacing: .1em; margin: 10px 0 0; text-transform: uppercase; }
.book-feature { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 16px; font-style: italic; margin: 5px 0 0; }
.book-author { color: var(--ink-soft); font-size: 13px; margin: 8px 0 16px; }
.book-availability { width: fit-content; margin: -6px 0 15px; border-radius: 999px; padding: 6px 9px; background: rgba(220,232,123,.45); color: var(--ink); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.book-card.is-out-of-print .book-availability { background: #efe5d7; color: var(--orange-dark); }
.book-card.is-out-of-print .book-cover { filter: saturate(.78); }
.book-description { color: var(--ink-soft); font-size: 14px; line-height: 1.55; min-height: 87px; margin: 0 0 10px; }
.read-more { align-self: flex-start; border: 0; background: transparent; color: var(--orange-dark); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 0 0 20px; cursor: pointer; }
.read-more:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.book-bottom { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.book-price { font-family: Georgia, "Times New Roman", serif; font-size: 24px; white-space: nowrap; }
.book-actions { display: flex; align-items: center; gap: 7px; }
.book-actions button { border-radius: 999px; padding: 9px 11px; font-size: 11px; font-weight: 700; cursor: pointer; transition: .2s; }
.call-book { border: 1px solid var(--line); background: transparent; color: var(--ink); }
.order-book { border: 1px solid var(--ink); background: var(--ink); color: white; }
.book-actions button:hover { transform: translateY(-1px); }
.call-book:hover { border-color: var(--ink); }
.order-book:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.empty-state { padding: 60px 20px; text-align: center; color: var(--ink-soft); }

.feature-book { max-width: 1184px; margin: auto; padding: 115px 28px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 85px; align-items: center; }
.feature-cover-wrap { min-height: 610px; background: #eadfce; border-radius: 240px 240px 18px 18px; display: grid; place-items: center; position: relative; overflow: hidden; }
.feature-cover-wrap::before { content: ""; position: absolute; width: 330px; height: 330px; border-radius: 50%; background: var(--lime); top: 110px; }
.feature-cover-wrap img { position: relative; z-index: 1; width: min(62%, 260px); box-shadow: 18px 25px 45px rgba(30,45,39,.25); transform: rotate(-2deg); }
.feature-kicker { position: absolute; z-index: 2; top: 27px; left: 50%; transform: translateX(-50%); width: max-content; max-width: 85%; padding: 8px 13px; border-radius: 999px; background: var(--paper); font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.feature-copy h2 { margin-bottom: 12px; }
.feature-byline { margin: 0 0 27px; font-family: Georgia, "Times New Roman", serif; font-size: 19px; font-style: italic; color: var(--orange-dark); }
.story-copy { color: var(--ink-soft); font-size: 15px; line-height: 1.72; }
.story-copy p { margin: 0 0 17px; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.feature-tags span { border: 1px solid var(--line); border-radius: 999px; padding: 8px 11px; font-size: 11px; font-weight: 700; }

.order-section { max-width: 1184px; margin: auto; padding: 110px 28px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.order-intro > p:last-child { color: var(--ink-soft); line-height: 1.7; max-width: 420px; }
.order-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.order-steps li { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.order-steps li > span { color: var(--orange-dark); font-size: 12px; font-weight: 700; padding-top: 4px; }
.order-steps h3 { margin: 0 0 6px; font-family: Georgia, "Times New Roman", serif; font-size: 25px; }
.order-steps p { margin: 0; color: var(--ink-soft); line-height: 1.5; font-size: 14px; }

.schools-section { background: #edf0e2; padding: 110px max(28px, calc((100vw - 1184px) / 2)); }
.schools-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 48px; }
.schools-heading > p { max-width: 430px; margin: 0 0 5px; color: var(--ink-soft); line-height: 1.65; }
.school-carousel { overflow: hidden; border: 1px solid var(--line); background: rgba(255,255,255,.22); mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent); }
.school-track { display: flex; width: max-content; animation: school-scroll 32s linear infinite; }
.school-carousel:hover .school-track { animation-play-state: paused; }
.school-tile { width: 236px; min-height: 120px; padding: 22px; border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; text-align: center; flex: none; background: rgba(255,255,255,.28); }
.school-tile strong { font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 500; line-height: 1.15; color: var(--ink); }
.school-tile span { color: var(--orange-dark); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
@keyframes school-scroll { to { transform: translateX(-50%); } }
.placeholder-note { margin: 13px 0 48px; color: var(--ink-soft); font-size: 11px; font-style: italic; }
.supply-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.supply-grid article { background: var(--paper); border-radius: 12px; padding: 28px; border: 1px solid rgba(23,63,53,.08); }
.supply-grid article > span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--ink); font-weight: 800; }
.supply-grid h3 { margin: 25px 0 9px; font-family: Georgia, "Times New Roman", serif; font-size: 25px; }
.supply-grid p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.schools-cta { margin-top: 32px; }

.authors-section { max-width: 1184px; margin: auto; padding: 115px 28px; }
.authors-heading { max-width: 680px; margin-bottom: 48px; }
.author-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 22px; align-items: stretch; }
.author-card { display: grid; grid-template-columns: 92px 1fr; gap: 25px; padding: 34px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.author-card-featured { background: var(--ink); color: white; border-color: var(--ink); }
.author-monogram { width: 82px; height: 82px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: white; font-family: Georgia, "Times New Roman", serif; font-size: 25px; }
.author-card-featured .author-monogram { background: var(--lime); color: var(--ink); }
.author-label { margin: 3px 0 8px !important; color: var(--orange-dark) !important; font-size: 10px !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.author-card-featured .author-label { color: var(--lime) !important; }
.author-card h3 { margin: 0 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: 34px; font-weight: 500; letter-spacing: -.025em; }
.author-card p { margin: 0 0 14px; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.author-card-featured p { color: rgba(255,255,255,.72); }
.author-card em { color: inherit; }
.author-link { display: inline-flex; gap: 7px; align-items: center; margin-top: 5px; color: var(--lime); font-size: 13px; font-weight: 800; text-decoration: none; border-bottom: 1px solid rgba(220,232,123,.45); padding-bottom: 3px; }

.contact-card { max-width: 1184px; min-height: 340px; margin: 0 auto 70px; padding: 65px; background: var(--ink); color: white; border-radius: 16px; display: flex; justify-content: space-between; align-items: center; gap: 40px; position: relative; overflow: hidden; }
.contact-card::after { content: "G"; position: absolute; right: 30%; top: 50%; transform: translateY(-42%); font-family: Georgia, "Times New Roman", serif; font-size: 330px; color: rgba(255,255,255,.035); }
.contact-card > div { position: relative; z-index: 1; }
.contact-card h2 { max-width: 600px; }
.contact-card p:not(.eyebrow) { color: rgba(255,255,255,.68); line-height: 1.6; max-width: 560px; }
.contact-actions { min-width: 230px; display: grid; gap: 18px; }
.button-whatsapp { background: var(--lime); color: var(--ink); }
.phone-link { color: white; text-align: center; text-decoration: none; font-size: 13px; }
.phone-link span { color: rgba(255,255,255,.55); display: block; margin-bottom: 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }

footer { max-width: 1184px; margin: auto; padding: 0 0 55px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--ink-soft); font-size: 12px; }
.footer-brand { color: var(--ink); font-size: 14px; }
.footer-brand .brand-lockup { width: 60px; height: 50px; font-size: 58px; }
.footer-brand .brand-divider { height: 38px; }
.footer-brand .brand-name { font-size: 30px; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: #102e27; color: white; padding: 13px 18px; border-radius: 9px; font-size: 13px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .25s; text-align: center; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  nav a:not(.nav-order) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-copy { max-width: 720px; }
  .hero-art { height: 500px; width: min(100%, 560px); margin: auto; }
  .book-grid { grid-template-columns: repeat(2, 1fr); }
  .order-section { grid-template-columns: 1fr; gap: 45px; }
  .feature-book { grid-template-columns: 1fr; gap: 55px; }
  .feature-cover-wrap { width: min(100%, 520px); margin: auto; }
  .supply-grid { grid-template-columns: 1fr; }
  .author-grid { grid-template-columns: 1fr; }
  .contact-card { margin-left: 28px; margin-right: 28px; padding: 50px 40px; }
  footer { margin: 0 28px; }
}

@media (max-width: 620px) {
  .site-header { height: 82px; padding: 0 20px; }
  nav { gap: 0; }
  .brand { gap: 8px; }
  .brand-lockup { width: 48px; height: 48px; font-size: 54px; }
  .brand-divider { height: 35px; }
  .brand-name { font-size: 28px; }
  .brand-name > span:first-child, .brand-name > span:last-child { padding: 0; }
  .nav-order { padding: 9px 14px; }
  .hero { padding: 40px 20px 65px; gap: 45px; min-height: 0; }
  h1 { font-size: 61px; }
  .hero-intro { font-size: 16px; }
  .hero-notes { gap: 25px; }
  .hero-art { height: 420px; border-radius: 190px 190px 16px 16px; }
  .hero-sun { width: 250px; height: 250px; }
  .display-book { width: 128px; height: 225px; font-size: 19px; padding: 18px; bottom: 67px; }
  .display-book-one { transform: translateX(-80px) rotate(-9deg); }
  .display-book-three { transform: translateX(80px) rotate(10deg); }
  .catalogue { padding: 75px 20px; }
  .section-heading { align-items: stretch; flex-direction: column; }
  .search-box { width: 100%; }
  .book-grid { grid-template-columns: 1fr; }
  .cover-wrap { min-height: 350px; }
  .order-section { padding: 80px 20px; }
  .feature-book { padding: 80px 20px; }
  .feature-cover-wrap { min-height: 480px; }
  .feature-cover-wrap::before { width: 270px; height: 270px; top: 95px; }
  .feature-cover-wrap img { width: 58%; }
  .schools-section { padding: 80px 20px; }
  .schools-heading { align-items: start; flex-direction: column; gap: 22px; }
  .school-tile { width: 210px; min-height: 100px; padding: 17px; }
  .authors-section { padding: 80px 20px; }
  .author-card { grid-template-columns: 1fr; padding: 27px; }
  .contact-card { margin: 0 20px 55px; padding: 46px 25px; flex-direction: column; align-items: stretch; }
  .contact-actions { min-width: 0; }
  footer { margin: 0 20px; flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .school-track { animation: none; }
}
