/* =====================================================================
   Aravalli Hills Publication — Main Stylesheet
   ---------------------------------------------------------------------
   Mobile-first. Edit the colours / fonts in the :root block below and
   the whole site updates.

   CONTENTS
   01. Design tokens (colours, fonts, spacing)
   02. Base & typography
   03. Layout helpers
   04. Buttons
   05. Top bar & header / navigation
   06. Hero sections
   07. Cards & grids
   08. Home page sections (intro, steps, carousel, testimonials, CTA)
   09. Books catalogue
   10. Publish / Memoir / About page blocks
   11. FAQ accordion
   12. Forms
   13. Contact page
   14. Blog & article (prose)
   15. Footer
   16. Floating WhatsApp button
   17. Scroll animations & utilities
   ===================================================================== */

/* ---------- 01. DESIGN TOKENS ---------- */
:root {
  /* Earthy greens */
  --c-forest: #1f3b2d;
  --c-green: #2f5d43;
  --c-green-600: #3d7354;
  --c-sage: #a9c1a2;
  --c-mint: #e7efe3;

  /* Warm sand / ochre */
  --c-sand: #efe3cc;
  --c-sand-light: #f7f0e2;
  --c-ochre: #c98a3b;
  --c-ochre-dark: #8f5c1f; /* use for ochre-coloured TEXT (passes contrast) */

  /* Neutrals */
  --c-ink: #2a2420;      /* deep brown-charcoal for text */
  --c-muted: #62574d;
  --c-bg: #fbf8f2;       /* off-white page background */
  --c-white: #ffffff;
  --c-border: #e6dccb;

  --c-whatsapp: #1fa855;

  /* Fonts — Noto fonts are listed so Hindi & Gujarati render beautifully */
  --font-serif: "Playfair Display", "Noto Sans Devanagari", "Noto Sans Gujarati", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", "Noto Sans Devanagari", "Noto Sans Gujarati", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Shape & depth */
  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(42, 36, 32, .05), 0 2px 10px rgba(42, 36, 32, .05);
  --shadow: 0 14px 34px -14px rgba(42, 36, 32, .22);
  --shadow-lg: 0 24px 50px -20px rgba(31, 59, 45, .35);

  /* Spacing */
  --container: 1180px;
  --gutter: 20px;
  --section-y: 64px;
  --header-h: 68px;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --section-y: 88px; --header-h: 76px; }
}

/* ---------- 02. BASE & TYPOGRAPHY ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* safety net against sideways scrolling on phones */
}

/* Indic scripts need a little more line height */
html[lang="hi"] body, html[lang="gu"] body { line-height: 1.85; }

img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-ink);
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
html[lang="hi"] :is(h1, h2, h3, h4), html[lang="gu"] :is(h1, h2, h3, h4) { line-height: 1.4; letter-spacing: 0; }

h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.35rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }
a { color: var(--c-green); text-underline-offset: 3px; }
a:hover { color: var(--c-forest); }
strong { font-weight: 600; }

ul, ol { padding-left: 1.2em; }

:focus-visible {
  outline: 3px solid var(--c-ochre);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--c-sand); color: var(--c-ink); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--c-forest); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- 03. LAYOUT HELPERS ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }

.section { padding-block: var(--section-y); }
.section--sand { background: var(--c-sand-light); }
.section--mint { background: var(--c-mint); }
.section--white { background: var(--c-white); }
.section--tight { padding-block: calc(var(--section-y) * .6); }

.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head p { color: var(--c-muted); font-size: 1.08rem; margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--c-ochre-dark);
  margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--c-ochre); border-radius: 2px; }
html[lang="hi"] .eyebrow, html[lang="gu"] .eyebrow { letter-spacing: .02em; text-transform: none; font-size: .9rem; }

.lead { font-size: 1.15rem; color: var(--c-muted); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.center-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

.grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr .95fr; gap: 64px; } .split--reverse > :first-child { order: 2; } }

/* ---------- 04. BUTTONS ---------- */
.btn {
  --btn-bg: var(--c-green); --btn-fg: #fff; --btn-bd: var(--c-green);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 24px;
  font: 600 1rem/1.2 var(--font-sans);
  color: var(--btn-fg); background: var(--btn-bg); border: 2px solid var(--btn-bd);
  border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn-primary { --btn-bg: var(--c-green); --btn-bd: var(--c-green); }
.btn-primary:hover { --btn-bg: var(--c-forest); --btn-bd: var(--c-forest); }
.btn-accent { --btn-bg: var(--c-ochre); --btn-bd: var(--c-ochre); --btn-fg: #241a10; }
.btn-accent:hover { --btn-bg: #d79a4c; --btn-bd: #d79a4c; }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--c-green); --btn-bd: var(--c-green); }
.btn-outline:hover { --btn-bg: var(--c-green); --btn-fg: #fff; }
.btn-light { --btn-bg: #fff; --btn-fg: var(--c-forest); --btn-bd: #fff; }
.btn-ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.7); }
.btn-ghost-light:hover { --btn-bg: #fff; --btn-fg: var(--c-forest); }
.btn-wa { --btn-bg: var(--c-whatsapp); --btn-bd: var(--c-whatsapp); --btn-fg: #fff; }
.btn-wa:hover { --btn-bg: #188a45; --btn-bd: #188a45; }

.btn-sm { min-height: 40px; padding: 8px 18px; font-size: .92rem; }
.btn-lg { min-height: 56px; padding: 14px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 05. TOP BAR & HEADER ---------- */
.topbar { background: var(--c-forest); color: #e9efe6; font-size: .85rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar svg { width: 15px; height: 15px; }
.topbar-contact { display: flex; gap: 18px; align-items: center; }
.topbar-email { display: none !important; }
@media (min-width: 768px) { .topbar-email { display: inline-flex !important; } }

/* Language toggle */
.lang-switch { display: inline-flex; gap: 2px; background: rgba(255,255,255,.1); padding: 3px; border-radius: 999px; }
.lang-switch button {
  font: 500 .82rem/1 var(--font-sans); color: #e9efe6; background: transparent; border: 0;
  padding: 6px 10px; border-radius: 999px; cursor: pointer; min-width: 36px; min-height: 28px;
}
.lang-switch button[aria-pressed="true"] { background: var(--c-sand); color: var(--c-forest); font-weight: 600; }
.lang-switch button:hover:not([aria-pressed="true"]) { background: rgba(255,255,255,.14); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
/* Blurred background lives on a pseudo-element so the fixed mobile menu
   is positioned against the viewport (backdrop-filter on the header itself would trap it). */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(251, 248, 242, .92);
  -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
}
.nav-open .site-header::before { background: var(--c-bg); }
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(42,36,32,.25); border-color: var(--c-border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-ink); flex-shrink: 0; }
.brand img { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-serif); font-weight: 700; font-size: 1.18rem; color: var(--c-forest); }
.brand-sub { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--c-ochre-dark); font-weight: 600; margin-top: 3px; }
@media (min-width: 768px) { .brand img { width: 52px; height: 52px; } .brand-name { font-size: 1.3rem; } }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--c-border);
  background: #fff; color: var(--c-forest); cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* Mobile navigation panel */
.site-nav {
  position: fixed; inset: var(--nav-top, 108px) 0 0 0; z-index: 99;
  background: var(--c-bg); padding: 16px var(--gutter) 32px; overflow-y: auto;
  /* closed: invisible but kept inside the screen (an off-screen panel would make phones zoom out) */
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
.nav-open { overflow: hidden; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li { border-bottom: 1px solid var(--c-border); }
.site-nav a:not(.btn) {
  display: block; padding: 15px 4px; font-size: 1.12rem; font-weight: 500;
  color: var(--c-ink); text-decoration: none;
}
.site-nav a[aria-current="page"] { color: var(--c-green); font-weight: 600; }
.site-nav .nav-cta { margin-top: 24px; display: grid; gap: 12px; }

@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; transform: none; visibility: visible; opacity: 1; background: none;
    padding: 0; overflow: visible; display: flex; align-items: center;
  }
  .site-nav ul { display: flex; gap: 4px; }
  .site-nav li { border: 0; }
  .site-nav a:not(.btn) { position: relative; padding: 8px 12px; font-size: .97rem; border-radius: 8px; }
  .site-nav a:not(.btn):hover { color: var(--c-green); background: var(--c-mint); }
  .site-nav a[aria-current="page"]::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
    background: var(--c-ochre); border-radius: 2px;
  }
  .site-nav .nav-cta { display: none; }
}

/* ---------- 06. HERO SECTIONS ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(226, 178, 103, .35), transparent 45%),
    linear-gradient(180deg, var(--c-sand-light) 0%, var(--c-bg) 100%);
  padding: 48px 0 150px;
}
@media (min-width: 900px) { .hero { padding: 80px 0 190px; } }

.hero-grid { display: grid; gap: 48px; align-items: center; position: relative; z-index: 2; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } }

.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: italic; color: var(--c-green); }
.hero .lead { max-width: 560px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { flex: 1 1 auto; }
@media (min-width: 480px) { .hero-actions .btn { flex: 0 0 auto; } }

.trust-list { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 28px 0 0; font-size: .93rem; color: var(--c-muted); }
.trust-list li { display: inline-flex; align-items: center; gap: 8px; }
.trust-list svg { width: 18px; height: 18px; color: var(--c-green-600); }

/* Fanned book covers */
.hero-visual { position: relative; height: 340px; max-width: 460px; width: 100%; margin: 0 auto; }
@media (min-width: 480px) { .hero-visual { height: 400px; } }
.hero-visual::before {
  content: ""; position: absolute; inset: 8% 6% 4%;
  background: radial-gradient(circle, var(--c-sand) 0%, rgba(239,227,204,0) 70%); border-radius: 50%;
}
.hero-book {
  position: absolute; bottom: 6%; width: 44%; border-radius: 6px 12px 12px 6px;
  box-shadow: var(--shadow-lg); aspect-ratio: 600 / 852; object-fit: cover; background: #fff;
}
.hero-book--1 { left: 4%; transform: rotate(-9deg); bottom: 9%; }
.hero-book--3 { right: 4%; transform: rotate(9deg); bottom: 9%; }
.hero-book--2 { left: 50%; width: 50%; transform: translateX(-50%); z-index: 2; bottom: 13%; }

/* Decorative layered hills at the bottom of heroes */
.hills { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 120px; z-index: 1; pointer-events: none; }
@media (min-width: 900px) { .hills { height: 170px; } }

/* Inner-page hero */
.page-hero {
  position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(circle at 80% 10%, rgba(226, 178, 103, .3), transparent 40%),
    linear-gradient(180deg, var(--c-sand-light), var(--c-bg));
  padding: 48px 0 120px;
}
@media (min-width: 900px) { .page-hero { padding: 72px 0 160px; } }
.page-hero .container { position: relative; z-index: 2; max-width: 820px; }
.page-hero .lead { margin: 0 auto; max-width: 640px; }
.page-hero .hero-actions { justify-content: center; margin-top: 26px; }

.breadcrumb { font-size: .88rem; color: var(--c-muted); margin-bottom: 14px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: inline-flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--c-sage); }
.breadcrumb a { color: var(--c-muted); }

/* ---------- 07. CARDS & GRIDS ---------- */
.card {
  background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #dccfb6; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--c-muted); }
.card > :last-child { margin-bottom: 0; }

.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 16px; margin-bottom: 18px;
  background: var(--c-mint); color: var(--c-green);
}
.icon-badge svg { width: 28px; height: 28px; }
.icon-badge--ochre { background: #f6e8d2; color: var(--c-ochre-dark); }

.service-card { display: flex; flex-direction: column; }
.service-card .tag {
  align-self: flex-start; font-size: .75rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: var(--c-ochre-dark); background: #f6e8d2; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}
.service-card ul { list-style: none; padding: 0; margin: 4px 0 22px; display: grid; gap: 8px; }
.service-card li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.service-card li svg { width: 18px; height: 18px; margin-top: 4px; color: var(--c-green-600); flex-shrink: 0; }
.service-card .card-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.service-mini { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.service-mini:hover { color: inherit; }
.service-mini .link-arrow { margin-top: auto; color: var(--c-green); }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg {
  flex-shrink: 0; width: 24px; height: 24px; padding: 4px; margin-top: 1px;
  border-radius: 50%; background: var(--c-mint); color: var(--c-green);
}
.check-list--grid { gap: 14px 28px; }
@media (min-width: 640px) { .check-list--grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .check-list--grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 08. HOME SECTIONS ---------- */
.intro-media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--c-forest); color: #f4efe4; padding: 36px; box-shadow: var(--shadow-lg);
}
.intro-media h3 { color: #fff; font-size: 1.5rem; }
.intro-media p { color: #d9e3d6; }
.intro-media img { width: 92px; height: 92px; margin-bottom: 18px; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
.stat { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 18px; }
.stat strong { display: block; font-family: var(--font-serif); font-size: 1.7rem; color: var(--c-green); line-height: 1.1; }
.stat span { font-size: .9rem; color: var(--c-muted); }

/* How it works — 5 steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: step; position: relative; }
.step {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: start;
  background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  grid-row: span 2; display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%; background: var(--c-green); color: #fff;
  font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; position: relative; z-index: 1;
}
.step h3 { margin: 4px 0 2px; font-size: 1.12rem; }
.step p { margin: 0; color: var(--c-muted); font-size: .95rem; }
.step-icon { display: none; }

@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .steps::before {
    content: ""; position: absolute; top: 27px; left: 10%; right: 10%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--c-sage) 0 8px, transparent 8px 16px);
  }
  .step { grid-template-columns: 1fr; text-align: center; justify-items: center; background: none; border: 0; box-shadow: none; padding: 0 6px; }
  .step-num { grid-row: auto; margin-bottom: 14px; box-shadow: 0 0 0 8px var(--c-bg); }
  .section--sand .step-num { box-shadow: 0 0 0 8px var(--c-sand-light); }
}

/* Carousel (featured books) */
.carousel { position: relative; }
.carousel-track {
  position: relative;
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 4px 22px; margin: 0 -4px; scrollbar-width: thin; scrollbar-color: var(--c-sage) transparent;
  list-style: none;
}
.carousel-track > * { scroll-snap-align: start; }
@media (min-width: 640px) { .carousel-track { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (min-width: 900px) { .carousel-track { grid-auto-columns: calc((100% - 40px) / 3); } }
@media (min-width: 1180px) { .carousel-track { grid-auto-columns: calc((100% - 60px) / 4); } }
.carousel-controls { display: flex; gap: 10px; justify-content: center; margin-top: 8px; }
.carousel-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--c-border); background: #fff;
  color: var(--c-forest); display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: background .2s, color .2s;
}
.carousel-btn:hover { background: var(--c-green); color: #fff; }
.carousel-btn svg { width: 22px; height: 22px; }
.carousel-btn:disabled { opacity: .4; cursor: default; background: #fff; color: var(--c-forest); }

/* Testimonials */
.testimonial { display: flex; flex-direction: column; gap: 18px; }
.testimonial .quote-mark { width: 40px; height: 40px; color: var(--c-ochre); }
.testimonial blockquote { margin: 0; font-family: var(--font-serif); font-size: 1.08rem; line-height: 1.6; color: var(--c-ink); font-style: italic; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--c-sand); color: var(--c-ochre-dark);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-serif);
}
.testimonial figcaption strong { display: block; }
.testimonial figcaption span { font-size: .88rem; color: var(--c-muted); }
.stars { display: flex; gap: 2px; color: var(--c-ochre); }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.placeholder-note {
  font-size: .85rem; color: var(--c-muted); text-align: center; margin-top: 18px;
  border: 1px dashed var(--c-sage); padding: 10px 14px; border-radius: var(--radius-sm); background: var(--c-mint);
}

/* CTA banner */
.cta-banner {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--c-forest) 0%, var(--c-green) 100%);
  color: #f4efe4; padding: 48px 28px 120px; text-align: center; box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) { .cta-banner { padding: 64px 56px 140px; } }
.cta-banner h2 { color: #fff; max-width: 680px; margin-inline: auto; }
.cta-banner p { color: #d9e3d6; max-width: 600px; margin: 0 auto 28px; font-size: 1.08rem; }
.cta-banner .hero-actions { justify-content: center; position: relative; z-index: 2; }
.cta-banner .hills { height: 110px; opacity: .9; }

/* ---------- 09. BOOKS CATALOGUE ---------- */
.book-card {
  position: relative; /* keeps hidden screen-reader text inside the card */
  display: flex; flex-direction: column; height: 100%;
  background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.book-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.book-cover {
  position: relative; background: linear-gradient(180deg, var(--c-sand-light), var(--c-sand));
  padding: 24px 24px 0; display: flex; justify-content: center;
}
.book-cover img {
  width: 64%; aspect-ratio: 600 / 852; object-fit: cover; border-radius: 4px 8px 8px 4px;
  box-shadow: 0 18px 30px -14px rgba(31,59,45,.55); transform: translateY(12px);
}
.book-body { padding: 30px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.book-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.badge {
  font-size: .76rem; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  background: var(--c-mint); color: var(--c-green);
}
.badge--lang { background: #f6e8d2; color: var(--c-ochre-dark); }
.book-title { font-size: 1.15rem; margin-bottom: 4px; line-height: 1.35; }
.book-subtitle { font-size: .86rem; font-style: italic; color: var(--c-muted); margin: 0 0 6px; line-height: 1.45; }
.book-author { font-size: .92rem; font-weight: 600; color: var(--c-green); margin-bottom: 10px; }
.book-desc { font-size: .93rem; color: var(--c-muted); margin-bottom: 18px; }
.book-actions { margin-top: auto; display: grid; gap: 8px; }
.book-actions .btn { min-height: 44px; padding: 10px 16px; font-size: .92rem; }
.book-card--compact .book-desc { display: none; }

.filters {
  background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 20px; margin-bottom: 32px; display: grid; gap: 18px; box-shadow: var(--shadow-sm);
}
@media (min-width: 900px) { .filters { grid-template-columns: auto 1fr; align-items: start; column-gap: 32px; } }
.filter-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.filter-group legend, .filter-label { font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: 500 .92rem/1 var(--font-sans); padding: 10px 16px; min-height: 40px; border-radius: 999px;
  border: 1px solid var(--c-border); background: var(--c-bg); color: var(--c-ink); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--c-green-600); }
.chip[aria-pressed="true"] { background: var(--c-green); border-color: var(--c-green); color: #fff; }
.filter-search { grid-column: 1 / -1; position: relative; }
.filter-search input { padding-left: 44px; }
.filter-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--c-muted); }
.results-count { font-size: .95rem; color: var(--c-muted); margin: -12px 0 20px; }
.empty-state { text-align: center; padding: 48px 20px; border: 2px dashed var(--c-border); border-radius: var(--radius); background: var(--c-white); }
.empty-state[hidden] { display: none; }

/* ---------- 10. PUBLISH / MEMOIR / ABOUT ---------- */
.model-steps { display: grid; gap: 20px; counter-reset: model; }
@media (min-width: 900px) { .model-steps { grid-template-columns: repeat(3, 1fr); } }
.model-step { position: relative; padding-top: 56px; }
.model-step::before {
  counter-increment: model; content: counter(model);
  position: absolute; top: 22px; left: 28px; font-family: var(--font-serif); font-size: 2.6rem; font-weight: 700;
  color: var(--c-sand); line-height: 1;
}
.model-step .icon-badge { position: absolute; top: 20px; right: 22px; margin: 0; width: 48px; height: 48px; }

.rights-panel {
  background: var(--c-forest); color: #e9efe6; border-radius: var(--radius-lg); padding: 36px 28px;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) { .rights-panel { padding: 48px; } }
.rights-panel h2, .rights-panel h3 { color: #fff; }
.rights-panel p { color: #cfdccb; }
.rights-panel .icon-badge { background: rgba(255,255,255,.1); color: var(--c-sand); }
.rights-panel .grid > div { border-top: 1px solid rgba(255,255,255,.15); padding-top: 22px; }

.timeline { list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: 22px; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: var(--c-sage); }
.timeline li { position: relative; padding-left: 60px; }
.timeline li::before {
  content: ""; position: absolute; left: 10px; top: 6px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--c-bg); border: 4px solid var(--c-green);
}
.timeline .when { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c-ochre-dark); }
.timeline h3 { font-size: 1.1rem; margin: 2px 0 4px; }
.timeline p { margin: 0; color: var(--c-muted); }

/* Life-stage questionnaire */
.stages { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
@media (min-width: 640px) { .stages { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stages { grid-template-columns: repeat(4, 1fr); } }
.stage { position: relative; overflow: hidden; }
.stage .stage-no { font-family: var(--font-serif); font-weight: 700; color: var(--c-ochre); font-size: .95rem; letter-spacing: .08em; }
.stage h3 { margin-top: 4px; }
.stage ul { margin: 0; padding-left: 1.1em; color: var(--c-muted); font-size: .93rem; }
.stage ul li + li { margin-top: 4px; }
.stage--wide { background: var(--c-forest); border-color: var(--c-forest); }
.stage--wide h3, .stage--wide .stage-no { color: var(--c-sand); }
.stage--wide ul { color: #d9e3d6; }

/* Sample book spread (memoir page) */
.spread {
  display: grid; background: #fffdf8; border-radius: 10px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-border); overflow: hidden;
}
@media (min-width: 768px) { .spread { grid-template-columns: 1fr 1fr; } }
.spread-page { padding: 36px 32px; position: relative; }
.spread-page + .spread-page { border-top: 1px solid var(--c-border); }
@media (min-width: 768px) {
  .spread-page + .spread-page { border-top: 0; border-left: 1px solid var(--c-border); }
  .spread-page:first-child { box-shadow: inset -18px 0 24px -20px rgba(42,36,32,.25); }
}
.spread-photo {
  aspect-ratio: 4 / 3; border-radius: 6px; background: var(--c-mint);
  display: flex; align-items: center; justify-content: center; color: var(--c-green-600); margin-bottom: 14px;
  border: 8px solid #fff; box-shadow: var(--shadow-sm); transform: rotate(-1.5deg);
}
.spread-photo svg { width: 64px; height: 64px; opacity: .7; }
.spread-caption { font-size: .85rem; color: var(--c-muted); font-style: italic; text-align: center; }
.spread .chapter { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--c-ochre-dark); font-weight: 600; }
.spread h3 { font-size: 1.5rem; margin: 6px 0 14px; }
.spread p { font-family: var(--font-serif); font-size: 1rem; line-height: 1.8; color: #3d342d; }
.spread h3 + p::first-letter { float: left; font-size: 3.2rem; line-height: .9; padding: 4px 8px 0 0; color: var(--c-green); font-weight: 700; }
.sample-label {
  display: inline-block; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  background: var(--c-sand); color: var(--c-ochre-dark); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}

/* About */
.mvv-card h3 { display: flex; align-items: center; gap: 12px; }
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values { grid-template-columns: repeat(5, 1fr); } }
.values li { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 22px; text-align: center; }
.values .icon-badge { margin-inline: auto; }
.values h3 { font-size: 1.05rem; margin-bottom: 6px; }
.values p { font-size: .9rem; color: var(--c-muted); margin: 0; }

.founder { display: grid; gap: 32px; align-items: center; }
@media (min-width: 768px) { .founder { grid-template-columns: 320px 1fr; gap: 56px; } }
.founder-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #fff; max-width: 320px; margin-inline: auto; }
.founder-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.founder .role { color: var(--c-ochre-dark); font-weight: 600; margin-top: -6px; }
.founder blockquote { margin: 20px 0 0; padding: 16px 20px; border-left: 4px solid var(--c-ochre); background: var(--c-sand-light); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--font-serif); font-style: italic; }

/* ---------- 11. FAQ ACCORDION (native <details>) ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details {
  background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: border-color .2s;
}
.faq details[open] { border-color: var(--c-sage); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 600; font-size: 1.03rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--c-green); transition: transform .25s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq .faq-body { padding: 0 22px 20px; color: var(--c-muted); }
.faq .faq-body > :last-child { margin-bottom: 0; }

/* ---------- 12. FORMS ---------- */
.form-card {
  background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-lg);
  padding: 28px 22px; box-shadow: var(--shadow);
}
@media (min-width: 768px) { .form-card { padding: 40px; } }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, 1fr); } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 600; font-size: .93rem; }
.field .req { color: #b3261e; }
.field .hint { font-size: .83rem; color: var(--c-muted); }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"],
input[type="password"], input[type="url"], input:not([type]), select, textarea {
  width: 100%; font: 400 1rem/1.4 var(--font-sans); color: var(--c-ink);
  background: var(--c-bg); border: 1.5px solid var(--c-border); border-radius: 12px;
  padding: 12px 14px; min-height: 50px; transition: border-color .2s, box-shadow .2s, background .2s;
}
textarea { min-height: 130px; resize: vertical; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232f5d43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--c-green-600); background: #fff; box-shadow: 0 0 0 4px rgba(61,115,84,.15); }
input:user-invalid, select:user-invalid, textarea:user-invalid { border-color: #b3261e; }

.file-drop {
  position: relative; border: 2px dashed var(--c-sage); border-radius: 14px; background: var(--c-mint);
  padding: 22px; text-align: center; transition: background .2s, border-color .2s;
}
.file-drop:hover, .file-drop:focus-within { background: #dde9d8; border-color: var(--c-green-600); }
.file-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-drop svg { width: 32px; height: 32px; color: var(--c-green); margin: 0 auto 6px; }
.file-drop .file-name { display: block; font-weight: 600; color: var(--c-green); margin-top: 6px; word-break: break-all; }

.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--c-muted); }
.checkbox input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--c-green); flex-shrink: 0; }

.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.form-actions .btn { flex: 1 1 220px; }
.form-note { font-size: .85rem; color: var(--c-muted); margin: 14px 0 0; }
.hp-field { position: absolute !important; left: -9999px !important; }

.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-weight: 500; display: none; }
.form-status.is-visible { display: block; }
.form-status.is-success { background: var(--c-mint); color: var(--c-forest); border: 1px solid var(--c-sage); }
.form-status.is-error { background: #fbeae8; color: #8a1c14; border: 1px solid #efc2bd; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ---------- 13. CONTACT ---------- */
.contact-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.contact-card { display: flex; gap: 16px; align-items: flex-start; }
.contact-card .icon-badge { margin: 0; flex-shrink: 0; width: 48px; height: 48px; }
.contact-card h3 { font-size: 1.02rem; margin-bottom: 4px; font-family: var(--font-sans); font-weight: 600; }
.contact-card p, .contact-card address { margin: 0; font-style: normal; color: var(--c-muted); font-size: .95rem; }
.contact-card a { word-break: break-word; }
.quick-actions { display: grid; gap: 12px; grid-template-columns: 1fr; margin: 24px 0; }
@media (min-width: 480px) { .quick-actions { grid-template-columns: repeat(3, 1fr); } }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--c-border); background: var(--c-mint); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; }

/* ---------- 14. BLOG & ARTICLE / LEGAL PROSE ---------- */
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: var(--c-sand); }
.post-card .post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .85rem; color: var(--c-muted); display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.post-card h3 a { color: var(--c-ink); text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.post-card { position: relative; }
.post-card .link-arrow { margin-top: auto; color: var(--c-green); }

.prose { max-width: 760px; margin-inline: auto; font-size: 1.06rem; }
.prose h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose blockquote, .callout {
  margin: 1.6em 0; padding: 18px 22px; background: var(--c-mint); border-left: 4px solid var(--c-green-600);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.callout--sand { background: var(--c-sand-light); border-left-color: var(--c-ochre); }
.callout > :last-child { margin-bottom: 0; }
.table-wrap { overflow-x: auto; margin: 1.5em 0; border: 1px solid var(--c-border); border-radius: var(--radius); background: #fff; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .95rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--c-border); vertical-align: top; }
th { background: var(--c-sand-light); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
.article-meta { color: var(--c-muted); font-size: .92rem; }
.article-hero-img { max-width: 900px; margin: -70px auto 0; position: relative; z-index: 3; padding-inline: var(--gutter); }
.article-hero-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.legal-updated { color: var(--c-muted); font-size: .92rem; }

/* ---------- 15. FOOTER ---------- */
.site-footer { background: var(--c-forest); color: #cfdccb; padding: 64px 0 0; font-size: .95rem; position: relative; }
.site-footer a { color: #e9efe6; text-decoration: none; }
.site-footer a:hover { color: var(--c-sand); text-decoration: underline; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr .8fr 1fr 1.2fr; gap: 48px; } }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: var(--c-sand); }
.footer-brand p { margin: 16px 0 20px; max-width: 320px; }
.site-footer h2 { font-family: var(--font-sans); font-size: .85rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--c-sand); margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 4px; color: var(--c-sand); }
.footer-contact address { font-style: normal; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); color: #fff; transition: background .2s, transform .2s;
}
.socials a:hover { background: var(--c-ochre); color: #241a10; transform: translateY(-2px); text-decoration: none; }
.socials svg { width: 20px; height: 20px; }
.footer-bottom {
  margin-top: 48px; padding: 22px 0 96px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .86rem; color: #b6c6b2;
}
@media (min-width: 768px) { .footer-bottom { padding-right: 200px; } } /* room for the floating WhatsApp button */
.footer-bottom ul { list-style: none; display: flex; gap: 18px; padding: 0; margin: 0; }

/* ---------- 16. FLOATING WHATSAPP BUTTON ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  height: 60px; min-width: 60px; padding: 0 18px; border-radius: 999px;
  background: var(--c-whatsapp); color: #fff; text-decoration: none; font-weight: 600;
  box-shadow: 0 12px 28px -8px rgba(20, 90, 50, .55);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { color: #fff; transform: translateY(-3px) scale(1.03); }
.wa-float svg { width: 28px; height: 28px; flex-shrink: 0; }
.wa-float .wa-label { display: none; }
@media (min-width: 768px) { .wa-float .wa-label { display: inline; } .wa-float { right: 24px; bottom: 24px; } }
@media (max-width: 767px) { .wa-float { padding: 0; justify-content: center; width: 60px; } }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(31,168,85,.5);
  animation: wa-pulse 2.8s ease-out infinite;
}
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(31,168,85,.45); } 70%, 100% { box-shadow: 0 0 0 16px rgba(31,168,85,0); } }

/* ---------- 17. SCROLL ANIMATIONS & UTILITIES ---------- */
/* Elements with .reveal fade up when scrolled into view (only when JS is running). */
/* Keyframe entrance (not transitions), so card hover effects stay quick after the reveal */
.js .reveal, .js .reveal-stagger > * { opacity: 0; }
.js .reveal.is-visible { opacity: 1; animation: ahp-rise .65s cubic-bezier(.2, .7, .2, 1) backwards; }
.js .reveal-stagger.is-visible > * { opacity: 1; animation: ahp-rise .6s cubic-bezier(.2, .7, .2, 1) backwards; }
.js .reveal-stagger.is-visible > *:nth-child(2) { animation-delay: .07s; }
.js .reveal-stagger.is-visible > *:nth-child(3) { animation-delay: .14s; }
.js .reveal-stagger.is-visible > *:nth-child(4) { animation-delay: .21s; }
.js .reveal-stagger.is-visible > *:nth-child(5) { animation-delay: .28s; }
.js .reveal-stagger.is-visible > *:nth-child(6) { animation-delay: .35s; }
.js .reveal-stagger.is-visible > *:nth-child(n+7) { animation-delay: .42s; }
@keyframes ahp-rise { from { opacity: 0; transform: translateY(18px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; animation: none !important; }
}

/* 404 page */
.notfound { text-align: center; padding: 80px 0 140px; }
.notfound .big { font-family: var(--font-serif); font-size: clamp(5rem, 18vw, 9rem); color: var(--c-sand); line-height: 1; margin: 0; }

@media print {
  .topbar, .site-header, .wa-float, .site-footer, .hills { display: none !important; }
  body { background: #fff; }
}

/* ---------- Additions ---------- */
.service-mini--dark { background: var(--c-forest); border-color: var(--c-forest); }
.service-mini--dark:hover { border-color: var(--c-forest); }
.service-mini--dark h3 { color: #fff; }
.service-mini--dark p { color: #d9e3d6; }
.service-mini--dark .icon-badge { background: rgba(255,255,255,.1); color: var(--c-sand); }
.service-mini--dark .link-arrow { color: var(--c-sand); }
.testimonial > svg { width: 36px; height: 36px; color: var(--c-ochre); }
.callout--center { max-width: 860px; margin-inline: auto; }
.rights-panel .eyebrow { color: var(--c-sand); }
.rights-panel .eyebrow::before { background: var(--c-sand); }
.intro-media .icon-badge { background: rgba(255,255,255,.1); color: var(--c-sand); }
.intro-media .check-list svg { background: rgba(255,255,255,.12); color: var(--c-sand); }
.intro-media .check-list { color: #e9efe6; }
.mvv-card .icon-badge { margin: 0; flex-shrink: 0; }
.split--top { align-items: start; }
.form-title { font-size: 1.5rem; margin-bottom: 20px; }
.empty-state .icon-badge { margin-inline: auto; }
.notfound .container { position: relative; z-index: 2; }
.notfound .hero-actions { justify-content: center; }

/* =====================================================================
   18. POLISH — header, hero texture, micro-interactions
   ===================================================================== */
html { scrollbar-color: var(--c-sage) var(--c-bg); }

/* Header gets a little slimmer once you scroll */
.header-inner { transition: min-height .25s ease; }
.brand img { transition: width .25s ease, height .25s ease; }
.site-header.is-scrolled .header-inner { min-height: calc(var(--header-h) - 10px); }
@media (min-width: 768px) { .site-header.is-scrolled .brand img { width: 46px; height: 46px; } }
@media (min-width: 1100px) and (max-width: 1279px) { .site-nav a:not(.btn) { padding-inline: 9px; } }

/* Subtle paper grain on hero sections */
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .16 0 0 0 0 .14 0 0 0 0 .12 .55 0 0 0 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Compact hero for cart / checkout pages */
.page-hero--compact { padding: 28px 0 64px; }
@media (min-width: 900px) { .page-hero--compact { padding: 40px 0 84px; } }
.page-hero--compact h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 6px; }
.page-hero--compact .lead { font-size: 1rem; }
.page-hero--compact .hills { height: 56px; }
@media (min-width: 900px) { .page-hero--compact .hills { height: 76px; } }

/* Micro-interactions */
.icon-badge { transition: transform .3s ease; }
.card:hover .icon-badge { transform: scale(1.06) rotate(-4deg); }
.book-cover img { transition: transform .35s ease, box-shadow .35s ease; }
.book-card:hover .book-cover img { transform: translateY(4px) rotate(-1.5deg); box-shadow: 0 26px 36px -16px rgba(31,59,45,.6); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--c-forest); --btn-bd: transparent; }
.btn-ghost:hover { --btn-bg: var(--c-mint); box-shadow: none; }

/* Trust strip under the Home hero */
.trust-strip {
  list-style: none; margin: -64px 0 0; padding: 18px; position: relative; z-index: 3;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  display: grid; gap: 16px;
}
@media (min-width: 640px) { .trust-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .trust-strip { grid-template-columns: repeat(4, 1fr); padding: 22px 26px; margin-top: -84px; }
  .trust-strip li + li { border-left: 1px solid var(--c-border); padding-left: 18px; }
}
.trust-strip li { display: flex; align-items: center; gap: 12px; }
.trust-strip .icon-badge { width: 44px; height: 44px; margin: 0; border-radius: 12px; flex-shrink: 0; }
.trust-strip .icon-badge svg { width: 22px; height: 22px; }
.trust-strip strong { display: block; font-size: .95rem; line-height: 1.3; }
.trust-strip small { color: var(--c-muted); font-size: .82rem; }

/* =====================================================================
   19. SHOP — cart button, prices, cart, checkout, confirmation, toasts
   ===================================================================== */
.cart-link {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--c-border);
  background: #fff; color: var(--c-forest); transition: background .2s, border-color .2s;
}
.cart-link svg { width: 22px; height: 22px; }
.cart-link:hover { background: var(--c-mint); color: var(--c-forest); }
.cart-link[aria-current="page"] { border-color: var(--c-green-600); background: var(--c-mint); }
.cart-count {
  position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--c-ochre); color: #241a10; font: 700 .74rem/22px var(--font-sans); text-align: center;
  box-shadow: 0 0 0 2px var(--c-bg);
}
.cart-count[hidden] { display: none; }
.cart-count.bump { animation: ahp-pop .4s ease; }
@keyframes ahp-pop { 0% { transform: scale(.5); } 70% { transform: scale(1.18); } 100% { transform: scale(1); } }

/* Book price + buttons */
.book-buy { margin-top: auto; display: grid; gap: 12px; }
.book-buy .book-actions { margin-top: 0; }
.book-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0; }
.book-price strong { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1; color: var(--c-ink); }
.book-price s { color: var(--c-muted); font-size: .92rem; }
.book-price .save { font-size: .74rem; font-weight: 600; color: var(--c-green); background: var(--c-mint); padding: 2px 8px; border-radius: 999px; }
.book-ext { display: grid; gap: 8px; }
.book-ext--2 { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.book-actions .book-ext .btn { min-height: 40px; padding: 8px 12px; font-size: .84rem; border-width: 1.5px; }
.book-ext .btn svg { width: 17px; height: 17px; }
.btn.is-added { --btn-bg: var(--c-green-600); --btn-bd: var(--c-green-600); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* Shop info strips */
.shop-strip { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
@media (min-width: 768px) { .shop-strip { grid-template-columns: repeat(3, 1fr); } }
.shop-strip li { display: flex; gap: 12px; align-items: center; background: var(--c-mint); border-radius: 14px; padding: 14px 16px; }
.shop-strip svg { width: 24px; height: 24px; color: var(--c-green); flex-shrink: 0; }
.shop-strip strong { display: block; font-size: .95rem; line-height: 1.3; }
.shop-strip small { color: var(--c-muted); font-size: .83rem; }
.shop-note { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin: 18px 0 0; font-size: .93rem; color: var(--c-muted); text-align: center; }
.shop-note svg { width: 20px; height: 20px; color: var(--c-green); }
.shop-note-free:not(:empty) { font-weight: 600; color: var(--c-green); }

/* Toast messages */
.toast-region {
  position: fixed; left: 50%; bottom: 92px; transform: translateX(-50%); z-index: 200;
  display: grid; gap: 10px; width: min(92vw, 440px); pointer-events: none;
}
@media (min-width: 768px) { .toast-region { left: auto; right: 24px; transform: none; bottom: 100px; } }
.toast {
  pointer-events: auto; display: flex; align-items: center; gap: 12px;
  background: var(--c-forest); color: #fff; padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow-lg);
  font-size: .92rem; line-height: 1.4; opacity: 0; transform: translateY(12px); transition: opacity .3s ease, transform .3s ease;
}
.toast.is-in { opacity: 1; transform: none; }
.toast svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--c-sand); }
.toast span { flex: 1; }
.toast a { color: var(--c-sand); font-weight: 600; white-space: nowrap; }
.toast a:hover { color: #fff; }

/* Checkout progress */
.checkout-progress { list-style: none; padding: 0; margin: 0 auto 32px; display: flex; max-width: 560px; }
.checkout-progress li { display: flex; align-items: center; gap: 8px; flex: 1; font-weight: 600; font-size: .9rem; color: var(--c-muted); }
.checkout-progress li:last-child { flex: 0 0 auto; }
.checkout-progress li:not(:last-child)::after { content: ""; flex: 1; height: 2px; margin: 0 10px; min-width: 14px; background: var(--c-border); border-radius: 2px; }
.checkout-progress span {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 2px solid var(--c-border); font-size: .84rem;
}
.checkout-progress span svg { width: 15px; height: 15px; }
.checkout-progress .is-current { color: var(--c-forest); }
.checkout-progress .is-current span { background: var(--c-green); border-color: var(--c-green); color: #fff; }
.checkout-progress .is-done { color: var(--c-green); }
.checkout-progress .is-done span { background: var(--c-mint); border-color: var(--c-sage); color: var(--c-green); }
.checkout-progress .is-done::after { background: var(--c-sage); }

/* Layouts */
.cart-layout, .checkout-layout, .confirm-layout { display: grid; gap: 28px; align-items: start; }
.checkout-layout[hidden] { display: none; }
@media (min-width: 960px) {
  .cart-layout, .checkout-layout, .confirm-layout { grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 40px; }
  .order-summary { position: sticky; top: calc(var(--header-h) + 16px); }
}

/* Cart lines */
.cart-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.cart-line {
  display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: start;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm);
}
@media (min-width: 640px) { .cart-line { grid-template-columns: 90px minmax(0, 1fr) auto; gap: 20px; padding: 20px; } }
.cart-cover { width: 100%; aspect-ratio: 600 / 852; object-fit: cover; border-radius: 3px 7px 7px 3px; box-shadow: 0 10px 18px -10px rgba(31,59,45,.5); }
.cart-info h3 { font-size: 1.05rem; line-height: 1.4; margin-bottom: 4px; }
.cart-meta { font-size: .85rem; color: var(--c-muted); margin: 0 0 4px; }
.cart-unit { font-size: .9rem; margin: 0 0 12px; }
.cart-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.cart-line-total { grid-column: 2; font-family: var(--font-serif); font-size: 1.25rem; }
@media (min-width: 640px) { .cart-line-total { grid-column: 3; grid-row: 1; text-align: right; } }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--c-border); border-radius: 999px; background: var(--c-bg); overflow: hidden; }
.qty-btn { width: 40px; height: 40px; border: 0; background: transparent; color: var(--c-forest); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.qty-btn svg { width: 16px; height: 16px; }
.qty-btn:hover:not(:disabled) { background: var(--c-mint); }
.qty-btn:disabled { opacity: .35; cursor: default; }
.qty input[type="number"] {
  width: 46px; min-height: 40px; height: 40px; padding: 0; border: 0; border-radius: 0; background: transparent;
  text-align: center; font-weight: 600; -moz-appearance: textfield; appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input[type="number"]:focus { box-shadow: none; background: #fff; }
.cart-remove { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--c-muted); font: 500 .88rem var(--font-sans); cursor: pointer; padding: 8px 4px; }
.cart-remove svg { width: 16px; height: 16px; }
.cart-remove:hover { color: #b3261e; }
.cart-continue { margin: 20px 0 0; }

/* Order summary */
.order-summary { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.order-summary h2 { font-size: 1.35rem; margin-bottom: 16px; }
.sum-items { list-style: none; padding: 0 0 16px; margin: 0 0 16px; display: grid; gap: 12px; border-bottom: 1px solid var(--c-border); }
.sum-items li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: .9rem; }
.sum-items img { width: 44px; height: 62px; object-fit: cover; border-radius: 3px 6px 6px 3px; box-shadow: var(--shadow-sm); }
.sum-item-title { line-height: 1.35; }
.sum-item-title small { display: block; color: var(--c-muted); font-size: .8rem; margin-top: 2px; }
.sum-rows { margin: 0; display: grid; gap: 10px; }
.sum-rows div { display: flex; justify-content: space-between; gap: 12px; }
.sum-rows dt { color: var(--c-muted); }
.sum-rows dd { margin: 0; font-weight: 600; }
.sum-rows .free { color: var(--c-green); }
.sum-total { border-top: 1px dashed var(--c-border); padding-top: 12px; margin-top: 4px; align-items: baseline; }
.sum-total dt { color: var(--c-ink); font-weight: 600; }
.sum-total dd { font-family: var(--font-serif); font-size: 1.55rem; color: var(--c-forest); }
.sum-hint { margin: 14px 0 0; font-size: .88rem; background: var(--c-sand-light); border-radius: 10px; padding: 10px 12px; }
.order-summary .btn-block { margin-top: 18px; }
.sum-note { display: flex; gap: 8px; align-items: flex-start; font-size: .82rem; color: var(--c-muted); margin: 14px 0 0; }
.sum-note svg { width: 16px; height: 16px; color: var(--c-green-600); flex-shrink: 0; margin-top: 3px; }
.sum-edit { margin: 12px 0 0; font-size: .9rem; }
.ship-to { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--c-border); font-size: .92rem; }
.ship-to h3 { font-family: var(--font-sans); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 6px; }
.ship-to address { font-style: normal; }

/* Checkout form */
.form-section { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.form-section legend { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 0; margin-bottom: 16px; font-family: var(--font-serif); font-weight: 700; font-size: 1.25rem; }
.legend-num { width: 30px; height: 30px; border-radius: 50%; background: var(--c-mint); color: var(--c-green); display: inline-flex; align-items: center; justify-content: center; font: 700 .9rem var(--font-sans); }
.legend-note { font: 500 .76rem var(--font-sans); color: var(--c-muted); background: var(--c-sand-light); padding: 3px 10px; border-radius: 999px; }
.pay-options { display: grid; gap: 12px; }
.pay-option {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer;
  border: 1.5px solid var(--c-border); border-radius: 14px; background: var(--c-bg);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.pay-option:hover { border-color: var(--c-sage); }
.pay-option:has(input:checked) { border-color: var(--c-green-600); background: #fff; box-shadow: 0 0 0 4px rgba(61,115,84,.12); }
.pay-option[hidden] { display: none; }
.pay-option input { width: 20px; height: 20px; accent-color: var(--c-green); flex-shrink: 0; }
.pay-body { flex: 1; display: grid; gap: 2px; }
.pay-body small { color: var(--c-muted); font-size: .86rem; line-height: 1.45; }
.pay-tag { font: 700 .74rem var(--font-sans); letter-spacing: .06em; color: var(--c-forest); background: var(--c-sand); padding: 4px 10px; border-radius: 6px; }
.pay-option > svg { width: 26px; height: 26px; color: var(--c-whatsapp); flex-shrink: 0; }
.checkout-layout .form-actions .btn { flex: 1 1 100%; }

/* Order confirmation */
.confirm-head {
  display: flex; gap: 18px; align-items: flex-start; background: var(--c-mint); border: 1px solid var(--c-sage);
  border-radius: var(--radius-lg); padding: 24px; margin-bottom: 28px;
}
.confirm-check { flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; background: var(--c-green); color: #fff; display: inline-flex; align-items: center; justify-content: center; animation: ahp-pop .5s ease; }
.confirm-check svg { width: 30px; height: 30px; }
.confirm-head h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); margin-bottom: 6px; }
.confirm-head p { margin: 0 0 6px; }
.order-id { letter-spacing: .04em; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 4px; vertical-align: middle; cursor: pointer;
  border: 1px solid var(--c-border); background: #fff; color: var(--c-green); border-radius: 999px;
  padding: 3px 10px; font: 600 .78rem var(--font-sans);
}
.copy-btn svg { width: 14px; height: 14px; }
.copy-btn:hover { background: var(--c-mint); }
.confirm-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.confirm-step { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.confirm-num { width: 40px; height: 40px; border-radius: 50%; background: var(--c-forest); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-weight: 700; }
.confirm-step h3 { margin: 6px 0 12px; }
.confirm-step .hint { font-size: .86rem; color: var(--c-muted); margin: 6px 0 0; }
.confirm-step .btn { margin: 4px 0 6px; }
.confirm-step .field { margin-bottom: 14px; max-width: 440px; }
.confirm-step > div > :last-child { margin-bottom: 0; }
.upi-box { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; background: var(--c-sand-light); border-radius: 14px; padding: 16px 18px; margin: 8px 0; }
.upi-qr { width: 200px; height: 200px; border-radius: 12px; background: #fff; padding: 6px; box-shadow: var(--shadow-sm); }
.upi-details { margin: 0; display: grid; gap: 8px; min-width: 0; flex: 1 1 240px; }
.upi-details div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px; align-items: center; }
.upi-details dt { color: var(--c-muted); font-size: .85rem; }
.upi-details dd { margin: 0; overflow-wrap: anywhere; }

/* On cart / checkout pages the WhatsApp button shrinks to an icon so it never hides "Place order" */
.page-cart .wa-float { width: 56px; height: 56px; min-width: 0; padding: 0; justify-content: center; }
.page-cart .wa-float .wa-label { display: none; }
@media (max-width: 959px) { .page-cart .footer-bottom { padding-bottom: 90px; } }
@media (max-width: 639px) {
  .confirm-head { padding: 18px; gap: 14px; }
  .confirm-check { width: 44px; height: 44px; }
  .confirm-check svg { width: 24px; height: 24px; }
  .confirm-step { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 18px; }
  .confirm-num { width: 32px; height: 32px; font-size: .9rem; }
  .checkout-progress li { font-size: .82rem; gap: 6px; }
  .checkout-progress li:not(:last-child)::after { margin: 0 6px; }
}
.filter-search input[type="search"] { padding-left: 46px; }

/* =====================================================================
   ACCOUNTS — header account link, log in, create account, My account
   ===================================================================== */
.account-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 46px; height: 46px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--c-border);
  background: #fff; color: var(--c-forest); font: 600 .92rem/1 var(--font-sans); text-decoration: none;
  white-space: nowrap; transition: background .2s, border-color .2s;
}
.account-link svg { flex-shrink: 0; }
/* Phones: icon only (the "Log in" button with text is in the menu) */
.account-link .account-label { display: none; }
@media (min-width: 640px) { .account-link { padding: 0 16px 0 14px; } .account-link .account-label { display: inline; } }
.account-nav-btn[hidden] { display: none; }
.account-nav-btn svg { width: 20px; height: 20px; }
.account-link[hidden] { display: none; }
.account-link svg { width: 21px; height: 21px; }
.account-link:hover { background: var(--c-mint); color: var(--c-forest); }
.account-link[aria-current="page"], .account-link.is-in { border-color: var(--c-green-600); background: var(--c-mint); }
@media (max-width: 380px) { .cart-link { width: 42px; height: 42px; } .account-link { min-width: 42px; height: 42px; padding: 0 10px; } }

.notice {
  margin: 0 0 16px; padding: 12px 16px; border-radius: var(--radius-sm);
  background: var(--c-mint); border: 1px solid var(--c-sage); color: var(--c-forest); font-size: .94rem;
}
.notice a { font-weight: 600; }
.notice--warn { background: #fdf3e1; border-color: #ecd2a4; color: #6b4513; }
.muted { color: var(--c-muted); }

.auth-wrap { max-width: 460px; margin: 0 auto; }
.auth-card { display: grid; gap: 18px; }
.auth-card form { display: grid; gap: 18px; }
.auth-card .form-actions { margin-top: 0; }
.auth-forgot { margin: 0; font-size: .88rem; color: var(--c-muted); text-align: center; }
.auth-switch { text-align: center; margin: 20px 0 0; color: var(--c-muted); }
.auth-switch a { font-weight: 600; }
.api-offline p { margin: 0; }

.password-field { position: relative; }
.password-field input { padding-right: 52px; width: 100%; }
.pw-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; color: var(--c-muted); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.pw-toggle svg { width: 20px; height: 20px; }
.pw-toggle:hover, .pw-toggle.is-on { color: var(--c-green); background: var(--c-mint); }

.account-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.account-hello { margin: 0; font-size: 1.15rem; }
.account-layout { display: grid; gap: 28px; }
@media (min-width: 960px) { .account-layout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; } }
.account-orders h2, .account-side h2 { font-size: 1.4rem; margin-bottom: 14px; }
.account-side { display: grid; gap: 24px; }
.account-side .form-card { display: grid; gap: 14px; }
.account-side .form-card h2 { margin: 0; }

.my-order {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow-sm); margin-bottom: 16px;
}
.my-order-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.my-order-head h3 { font-family: var(--font-sans); font-size: 1rem; letter-spacing: .02em; margin: 0 0 2px; }
.my-order-head p { margin: 0; color: var(--c-muted); font-size: .9rem; }
.my-order-note { margin: 10px 0 0; font-size: .92rem; color: var(--c-muted); }
.my-order-track { margin: 8px 0 0; font-size: .92rem; }
.my-order-items { list-style: none; padding: 12px 0 0; margin: 14px 0 0; border-top: 1px dashed var(--c-border); display: grid; gap: 6px; font-size: .92rem; }
.my-order-items li { display: flex; justify-content: space-between; gap: 12px; }
.my-order-foot { margin-top: 12px; }
.order-track { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0; margin: 16px 0 0; }
.order-track li {
  position: relative; padding-top: 14px; font-size: .74rem; color: var(--c-muted); text-align: center; line-height: 1.25;
}
.order-track li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; border-radius: 4px; background: var(--c-border); }
.order-track li.is-done::before { background: var(--c-green-600); }
.order-track li.is-current { color: var(--c-forest); font-weight: 600; }

.status-pill {
  display: inline-block; padding: 4px 10px; border-radius: 999px; font: 600 .78rem/1.3 var(--font-sans);
  white-space: nowrap; background: #eee; color: #333;
}
.status-new { background: #fdf0d9; color: #7a4a0e; }
.status-paid { background: #e3eefc; color: #1d4b8f; }
.status-dispatched { background: #ece5f8; color: #533a8a; }
.status-delivered { background: var(--c-mint); color: var(--c-forest); }
.status-cancelled { background: #f6e3e1; color: #8a1c14; }
.checkout-login { margin-bottom: 20px; }
/* Small laptops: full menu + Log in text do not fit, so show the icon only */
@media (min-width: 1100px) and (max-width: 1279px) { .account-link { padding: 0 12px; } .account-link .account-label { display: none; } }

/* Draft article preview banner (only admins see drafts) */
.draft-banner { margin: 0; padding: 10px 16px; text-align: center; background: #fdf3e1; color: #6b4513; border-bottom: 1px solid #ecd2a4; font-weight: 600; font-size: .92rem; }
.prose figure { margin: 1.5em 0; }
.prose figcaption { font-size: .88rem; color: var(--c-muted); text-align: center; }
.prose hr { border: 0; border-top: 1px solid var(--c-border); margin: 2em 0; }

/* ---------- Auto UPI QR, "I have paid", live status, cash on delivery ---------- */
.upi-qr svg { display: block; width: 100%; height: 100%; }
.upi-qr-wrap { margin: 0; display: grid; justify-items: center; gap: 8px; max-width: 220px; }
.upi-qr-wrap figcaption { font-size: .8rem; color: var(--c-muted); text-align: center; line-height: 1.35; }
.upi-app-btn { margin-top: 6px; }
.utr-form { display: grid; gap: 12px; max-width: 460px; }
.utr-form .form-status { margin: 0; }
.pay-state { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 12px; background: #fdf3e1; border: 1px solid #ecd2a4; color: #6b4513; }
.pay-state svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.pay-state--ok { background: var(--c-mint); border-color: var(--c-sage); color: var(--c-forest); }
.order-live { margin: 10px 0 0; font-size: .95rem; }
.order-live:empty { display: none; }
.pay-option.is-disabled { opacity: .55; cursor: not-allowed; }
.pay-tag--cod { background: #e3eefc; color: #1d4b8f; }
.my-order-pay { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--c-border); }
.my-order-pay-body { display: grid; gap: 10px; }
.my-order-qr svg { display: block; border-radius: 10px; box-shadow: var(--shadow-sm); }
.pay-tag--online { background: var(--c-green); color: #fff; }

/* =====================================================================
   PARALLAX DEPTH (premium feel)
   js/main.js sets --sy (how far the section has scrolled, in px) on each
   hero / banner, --mx / --my (mouse position, -1…1) on the home hero, and
   --dy on images marked data-depth. Layers further "back" move less, so
   the hills, ridges and sun feel far away. Off for "reduce motion".
   ===================================================================== */
.hero-sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-sun {
  position: absolute; top: 6%; right: 10%; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle at 45% 45%, rgba(246, 205, 134, .75) 0%, rgba(232, 182, 105, .32) 34%, rgba(226, 178, 103, 0) 68%);
  transform: translate3d(calc(var(--mx, 0) * -14px), calc(var(--sy, 0) * .55px + var(--my, 0) * -10px), 0);
}
.page-hero .hero-sun { width: 200px; height: 200px; top: -4%; right: 8%; }
.hero-ridge { position: absolute; left: -2%; width: 104%; height: 150px; bottom: 96px; }
.hero-ridge--far { opacity: .22; transform: translate3d(calc(var(--mx, 0) * -6px), calc(var(--sy, 0) * .42px), 0); }
.hero-ridge--near { opacity: .2; bottom: 74px; height: 130px; transform: translate3d(calc(var(--mx, 0) * -10px), calc(var(--sy, 0) * .3px), 0); }
.page-hero .hero-ridge { bottom: 58px; height: 110px; }
.page-hero .hero-ridge--near { bottom: 44px; height: 96px; }
.page-hero--compact .hero-ridge { bottom: 34px; height: 80px; }
.page-hero--compact .hero-ridge--near { bottom: 26px; height: 64px; }
@media (min-width: 900px) {
  .hero-ridge { bottom: 128px; height: 190px; }
  .hero-ridge--near { bottom: 104px; height: 160px; }
  .page-hero .hero-ridge { bottom: 92px; height: 150px; }
  .page-hero .hero-ridge--near { bottom: 74px; height: 120px; }
  .page-hero--compact .hero-ridge { bottom: 50px; height: 100px; }
  .page-hero--compact .hero-ridge--near { bottom: 40px; height: 80px; }
}
/* Grain overlay stays above the sky */
.hero::before, .page-hero::before { z-index: 1; }

/* Layered hills: back layer drifts the most, the front layer (joined to the next section) stays put */
.hills .hill--back { transform: translate3d(0, calc(var(--sy, 0) * .24px), 0); }
.hills .hill--mid { transform: translate3d(0, calc(var(--sy, 0) * .11px), 0); }

/* Hero text floats up a little slower and fades as you scroll away */
.js .hero .hero-copy.reveal.is-visible {
  transform: translate3d(0, calc(var(--sy, 0) * .16px), 0);
  opacity: calc(1 - var(--sy, 0) / 750);
}
.page-hero .container { transform: translate3d(0, calc(var(--sy, 0) * .22px), 0); opacity: calc(1 - var(--sy, 0) / 520); }

/* Fanned book covers: each at its own depth, tilting gently towards the mouse */
.hero-visual { perspective: 1200px; }
.hero-visual::before { transform: translate3d(calc(var(--mx, 0) * -8px), calc(var(--sy, 0) * .1px), 0); }
.hero-book--1 { transform: translate3d(calc(var(--mx, 0) * -12px), calc(var(--sy, 0) * -.07px + var(--my, 0) * -8px), 0) rotate(calc(-9deg + var(--mx, 0) * -1.5deg)); }
.hero-book--3 { transform: translate3d(calc(var(--mx, 0) * -16px), calc(var(--sy, 0) * -.12px + var(--my, 0) * -10px), 0) rotate(calc(9deg + var(--mx, 0) * -1.5deg)); }
.hero-book--2 {
  transform: translate3d(calc(-50% + var(--mx, 0) * 8px), calc(var(--sy, 0) * .05px + var(--my, 0) * 6px), 0)
             rotateY(calc(var(--mx, 0) * 7deg)) rotateX(calc(var(--my, 0) * -5deg));
  box-shadow: calc(var(--mx, 0) * -14px) calc(24px + var(--my, 0) * -8px) 50px -18px rgba(31, 59, 45, .45);
}

/* Call-to-action banners: hills inside drift as the banner passes */
.cta-banner .hero-sun { display: none; }

/* Images with data-depth drift slightly against the scroll */
[data-depth] { transform: translate3d(0, var(--dy, 0px), 0); }
.founder-photo [data-depth] { transform: translate3d(0, var(--dy, 0px), 0) scale(1.14); }

.hero-sun, .hero-ridge, .hills .hill, .hero-book, .hero-copy, .page-hero .container, [data-depth] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .hero-sun, .hero-ridge, .hills .hill, .hero-copy, .page-hero .container, [data-depth], .hero-visual::before { transform: none !important; opacity: inherit; }
  .js .hero .hero-copy.reveal.is-visible, .page-hero .container { opacity: 1; }
  .hero-book--1 { transform: rotate(-9deg) !important; }
  .hero-book--3 { transform: rotate(9deg) !important; }
  .hero-book--2 { transform: translateX(-50%) !important; }
}
@media print { .hero-sky { display: none; } }
@media (max-width: 899px) { .hero .hero-sun { width: 170px; height: 170px; top: -2%; right: -40px; } .page-hero .hero-sun { width: 150px; height: 150px; right: -30px; } }
