/* Simply Slay Publication House — static site styles
   Fonts: Cormorant Garamond (display) + Jost (UI/body)
   Palette: navy #10203f · gold #c9a24a · deep gold #a8802f · cream #fdfaf4 · card #fffdf8 · line #e7ddc7
   ------------------------------------------------------------------ */

:root {
  --navy: #10203f;
  --navy-soft: #43506b;
  --navy-line: #2c3d68;
  --gold: #c9a24a;
  --gold-deep: #a8802f;
  --gold-text: #8a6a26;
  --gold-pale: #d9c48c;
  --cream: #fdfaf4;
  --card: #fffdf8;
  --tint: #fffdf8;
  --line: #e7ddc7;
  --muted: #7c8598;
  --light: #b9c2d6;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Jost, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-deep); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* layout helpers */
.wrap { max-width: 1320px; margin: 0 auto; padding-left: 5vw; padding-right: 5vw; }
.narrow { max-width: 900px; margin: 0 auto; padding: 96px 5vw; }
.section { padding-top: 96px; padding-bottom: 96px; }
.tinted { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tinted > .wrap { padding-top: 96px; padding-bottom: 96px; }
.dark { background: var(--navy); color: var(--cream); }
.dark > .wrap { padding-top: 96px; padding-bottom: 96px; }

/* type */
.display { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -0.015em; text-wrap: pretty; }
h1.display { font-size: clamp(40px, 6.2vw, 76px); margin-bottom: 24px; }
h1.display em { color: var(--gold-deep); font-style: italic; }
.h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; }
.tight { max-width: 18ch; margin-bottom: 56px; }
.dark .h2 { color: var(--cream); }
.eyebrow { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 16px; }
.eyebrow.gold { color: var(--gold-pale); }
.lede { font-size: 17px; line-height: 1.7; color: var(--navy-soft); max-width: 52ch; }
.lede.light { color: var(--light); font-size: 16px; }
.section-note { font-size: 16px; line-height: 1.7; color: var(--navy-soft); max-width: 46ch; }

/* buttons */
.btn { display: inline-block; padding: 17px 32px; border-radius: 2px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; transition: background .18s, color .18s; }
.btn-dark { background: var(--navy); color: var(--cream); }
.btn-dark:hover { background: var(--gold-deep); color: #fff; }
.btn-outline { border: 1px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0 44px; }

/* payment bar */
.paybar { background: var(--navy); color: var(--cream); }
.paybar-inner { max-width: 1320px; margin: 0 auto; padding: 10px 5vw; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 24px; }
.paybar-text { font-size: 13px; letter-spacing: .02em; color: #dfe5f1; }
.paybar-text strong { color: var(--cream); font-weight: 500; }
.upi { color: var(--gold-pale); font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; }
.paybar-btn { background: var(--gold); color: var(--navy); padding: 7px 16px; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; border-radius: 2px; transition: background .18s; }
.paybar-btn:hover { background: var(--cream); color: var(--navy); }

/* payment section */
.pay { background: var(--tint); border-bottom: 1px solid var(--line); }
.pay-inner { padding-top: 80px; padding-bottom: 80px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 56px; align-items: center; }
.pay-h2 { font-size: clamp(34px, 4.4vw, 52px); margin-bottom: 18px; }
.pay .lede { font-size: 16px; margin-bottom: 28px; }
.pay-id { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; border: 1px solid var(--line); background: #fff; padding: 16px 20px; }
.pay-id-label { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.pay-id-value { font-family: ui-monospace, Menlo, monospace; font-size: 16px; color: var(--navy); }
.pay-actions { margin: 24px 0 20px; }
.pay-note { font-size: 13px; color: var(--muted); }
.qr-card { margin: 0; justify-self: center; background: #fff; border: 1px solid var(--line); padding: 26px; text-align: center; max-width: 320px; }
.qr-card img { width: 100%; image-rendering: pixelated; }
.qr-card figcaption { font-size: 12.5px; line-height: 1.7; color: var(--navy-soft); margin-top: 16px; }
.qr-card figcaption strong { font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: var(--navy); font-weight: 400; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(253,250,244,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1320px; margin: 0 auto; padding: 14px 5vw; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; mix-blend-mode: multiply; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.brand-sub { font-size: 9px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-deep); font-weight: 500; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.nav .btn { padding: 12px 22px; }

/* hero */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 64px; align-items: center; padding-top: 88px; padding-bottom: 72px; }
.pill { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--gold-pale); border-radius: 100px; padding: 7px 16px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 28px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 28px; border-top: 1px solid var(--line); padding-top: 28px; }
.stat-num { display: block; font-family: var(--serif); font-size: 34px; line-height: 1; }
.stat-label { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.hero-media { position: relative; min-width: 0; }
.frame { border: 1px solid var(--line); background: var(--card); padding: 20px; }
.hero-quote { margin: 0; position: absolute; bottom: -28px; left: -20px; max-width: 260px; background: var(--navy); color: var(--cream); padding: 22px 26px; }
.hero-quote p { font-family: var(--serif); font-size: 20px; line-height: 1.25; }
.hero-quote cite { display: block; font-style: normal; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-pale); margin-top: 12px; }

/* image placeholders — delete once real images are in */
.ph { background-image: repeating-linear-gradient(135deg, #f1ead9 0 10px, #fbf6ea 10px 20px); display: flex; align-items: center; justify-content: center; text-align: center; }
.ph span { font-family: ui-monospace, Menlo, monospace; font-size: 12px; letter-spacing: .06em; color: #a08a55; padding: 0 16px; }
.hero-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 62% 30%; }
.cover { width: 100%; aspect-ratio: 1/1.05; object-fit: cover; margin-bottom: 22px; }

/* marquee */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: ss-marquee 28s linear infinite; font-family: var(--serif); font-size: 19px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); white-space: nowrap; }
@keyframes ss-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* section head */
.section-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; align-items: end; margin-bottom: 56px; }

/* services */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { background: var(--card); padding: 38px 32px 42px; display: flex; flex-direction: column; gap: 14px; min-height: 260px; transition: background .2s; }
.card:hover { background: #faf4e6; }
.card-num { font-family: var(--serif); font-size: 15px; color: var(--gold); letter-spacing: .1em; }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 27px; line-height: 1.15; }
.card p { font-size: 15px; line-height: 1.7; color: var(--navy-soft); }
.card-meta { margin-top: auto; font-size: 11px !important; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text) !important; }

/* indexing */
.dark-head { max-width: 620px; margin-bottom: 56px; }
.dark-head .h2 { margin-bottom: 18px; }
.grid-path { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.path { border: 1px solid var(--navy-line); background: rgba(255,255,255,.02); padding: 30px 26px; display: flex; flex-direction: column; gap: 12px; transition: border-color .2s; }
.path:hover { border-color: var(--gold); }
.path .rule { width: 26px; height: 1px; background: var(--gold); }
.path h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--cream); }
.path p { font-size: 14.5px; line-height: 1.7; color: var(--light); }

/* process */
.grid-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.step { border-top: 2px solid var(--navy); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.step-num { font-family: var(--serif); font-size: 44px; line-height: 1; color: #dfd0aa; }
.step h3 { font-size: 15px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
.step p { font-size: 14.5px; line-height: 1.7; color: var(--navy-soft); }

/* books */
.books-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.books-title { display: flex; align-items: flex-start; gap: 22px; }
.head-rule { width: 52px; height: 1px; background: var(--gold); margin-top: 34px; flex: none; }
.books-h2 { font-size: clamp(38px, 5vw, 60px); margin-bottom: 10px; }
.books-sub { font-size: 16px; line-height: 1.6; color: var(--navy-soft); max-width: 58ch; }
.view-all { font-size: 14px; color: var(--gold-deep); white-space: nowrap; margin-top: 22px; }
.view-all:hover { color: var(--navy); }
.grid-books { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.book { display: flex; flex-direction: column; }
.book h3 { font-family: var(--serif); font-weight: 500; font-size: 25px; line-height: 1.22; margin-bottom: 14px; }
.book-authors { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.tag { align-self: flex-start; background: #efe7d3; color: #6b5a34; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; padding: 7px 12px; }

/* why us + quotes */
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 56px; }
.two-col .h2 { margin-bottom: 28px; }
.two-col .lede { margin-bottom: 28px; }
.reasons { border-top: 1px solid var(--line); }
.reasons li { display: flex; gap: 18px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.diamond { width: 7px; height: 7px; flex: none; background: var(--gold); transform: rotate(45deg); }
.reasons strong { display: block; font-size: 16px; font-weight: 500; margin-bottom: 4px; }
.reasons p { font-size: 14.5px; line-height: 1.65; color: var(--navy-soft); }
.quotes { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.quote { margin: 0; border: 1px solid var(--line); background: var(--card); padding: 32px; }
.quote p { font-family: var(--serif); font-size: 22px; line-height: 1.4; font-style: italic; margin-bottom: 18px; }
.quote cite { font-style: normal; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }

/* faq */
.faq { border-top: 1px solid var(--line); margin-top: 44px; }
.faq-row { border-bottom: 1px solid var(--line); padding: 26px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.faq-row h3 { font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.25; }
.faq-row p { font-size: 15px; line-height: 1.75; color: var(--navy-soft); }

/* contact */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 64px; }
.contact .h2 { font-size: clamp(34px, 4.8vw, 58px); line-height: 1.05; margin-bottom: 22px; }
.contact .lede { margin-bottom: 36px; max-width: 46ch; }
.contact-links { display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.contact-links a, .contact-links span { color: var(--cream); border-bottom: 1px solid var(--navy-line); padding-bottom: 10px; }
.contact-links a:hover { color: var(--gold-pale); }
.contact-links span { color: var(--light); border-bottom: none; }
.contact-links a[href="#pay"] { font-family: ui-monospace, Menlo, monospace; font-size: 13.5px; }
.form { display: flex; flex-direction: column; gap: 18px; background: rgba(255,255,255,.03); border: 1px solid var(--navy-line); padding: 34px; min-width: 0; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-pale); }
.form input, .form textarea { background: transparent; border: none; border-bottom: 1px solid #3b4d7a; color: var(--cream); font-family: var(--sans); font-size: 15.5px; padding: 10px 0; letter-spacing: 0; text-transform: none; outline: none; }
.form input::placeholder, .form textarea::placeholder { color: #6d7ba0; }
.form input:focus, .form textarea:focus { border-bottom-color: var(--gold); }
.form textarea { resize: vertical; }
.form button { margin-top: 8px; background: var(--gold); color: var(--navy); border: none; padding: 17px 24px; font-family: var(--sans); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; cursor: pointer; transition: background .18s; }
.form button:hover { background: var(--cream); }
.form-note { font-size: 12px; color: #8f9ab5; letter-spacing: 0; text-transform: none; }

/* footer */
footer { padding-top: 64px; padding-bottom: 40px; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.foot-logo { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; mix-blend-mode: multiply; margin-bottom: 14px; }
.foot-grid p { font-size: 14px; line-height: 1.7; color: var(--navy-soft); max-width: 30ch; }
.foot-links { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; padding-top: 24px; font-size: 12.5px; color: var(--muted); }

/* small screens */
@media (max-width: 860px) {
  .nav { gap: 18px; font-size: 13px; }
  .nav a:not(.btn) { display: none; }          /* swap for a burger menu if desired */
  .hero { padding-top: 56px; gap: 48px; }
  .hero-quote { position: static; margin-top: 20px; max-width: none; }
  .section, .tinted > .wrap, .dark > .wrap { padding-top: 64px; padding-bottom: 64px; }
  .narrow { padding-top: 64px; padding-bottom: 64px; }
}
