/* ============================================================
   LUMI BOOKS — Design System
   Soft neo-brutalist "storybook sticker" theme
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Core palette */
  --paper:      #FFF6E9;   /* warm paper background          */
  --paper-2:    #FFEFD8;   /* deeper paper panel             */
  --card:       #FFFFFF;
  --ink:        #173B3A;   /* deep teal — text & borders     */
  --ink-soft:   #4A6664;   /* muted text                     */

  --teal:       #1FA39B;   /* primary                        */
  --teal-dk:    #14807A;
  --teal-tint:  #DBF3F0;
  --tang:       #FF7A3C;   /* tangerine accent               */
  --tang-tint:  #FFE6D7;
  --sunny:      #FFC23C;   /* yellow                         */
  --sunny-tint: #FFF0CC;
  --berry:      #FF5C8A;   /* pink                           */
  --berry-tint: #FFDCE7;
  --sky:        #4FA9E0;   /* blue                           */
  --sky-tint:   #D9ECF9;
  --leaf:       #5FBE6B;   /* green                          */
  --leaf-tint:  #DBF2DD;

  /* Type */
  --font-head: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;

  /* Shape */
  --bw: 2.5px;                 /* border width                 */
  --r-sm: 14px;
  --r:    22px;
  --r-lg: 32px;
  --r-pill: 999px;

  /* Hard offset shadows (signature look) */
  --sh:    5px 5px 0 var(--ink);
  --sh-lg: 8px 8px 0 var(--ink);
  --sh-sm: 3px 3px 0 var(--ink);

  --container: 1180px;
  --gut: clamp(1rem, 4vw, 2rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--paper);
  /* subtle dotted "paper" grid */
  background-image: radial-gradient(rgba(23,59,58,.07) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
input, textarea, select { font-family: inherit; }

h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 600; line-height: 1.1; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gut); }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; position: relative; }
[id] { scroll-margin-top: 92px; }
.center { text-align: center; }
.stack-sm > * + * { margin-top: .75rem; }

/* Section headings */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .04em; text-transform: uppercase;
  background: var(--sunny); color: var(--ink);
  border: var(--bw) solid var(--ink); border-radius: var(--r-pill);
  padding: .35rem 1rem; box-shadow: var(--sh-sm);
  transform: rotate(-2deg);
}
.section-head { max-width: 640px; margin: 0 auto clamp(2rem,5vw,3.25rem); }
.section-title {
  font-size: clamp(1.9rem, 5vw, 3rem); margin: 1rem 0 .65rem;
}
.section-title .squiggle { color: var(--tang); position: relative; white-space: nowrap; }
.section-sub { color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: .8rem 1.5rem; border-radius: var(--r-pill);
  border: var(--bw) solid var(--ink); box-shadow: var(--sh);
  transition: transform .12s ease, box-shadow .12s ease, background .2s;
  white-space: nowrap;
}
.btn:hover  { transform: translate(-2px,-2px); box-shadow: var(--sh-lg); }
.btn:active { transform: translate(3px,3px);  box-shadow: 1px 1px 0 var(--ink); }
.btn-teal   { background: var(--teal);  color: #fff; }
.btn-tang   { background: var(--tang);  color: #fff; }
.btn-sunny  { background: var(--sunny); color: var(--ink); }
.btn-white  { background: #fff; color: var(--ink); }
.btn-ghost  { background: transparent; color: var(--ink); box-shadow: var(--sh-sm); }
.btn-ghost:hover { background: #fff; }
.btn-lg { font-size: 1.08rem; padding: .95rem 1.9rem; }
.btn-sm { font-size: .85rem; padding: .55rem 1.05rem; box-shadow: var(--sh-sm); }
.btn-block { width: 100%; }
.btn i { font-size: 1.05em; }

/* ---------- Sticker card primitive ---------- */
.sticker {
  background: var(--card);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--sh);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: var(--bw) solid transparent;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.nav.scrolled {
  border-bottom-color: var(--ink);
  box-shadow: 0 4px 0 rgba(23,59,58,.08);
  background: rgba(255,246,233,.95);
  backdrop-filter: blur(6px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }

.brand { display: flex; align-items: center; gap: .65rem; }
.brand-badge {
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--teal); border: var(--bw) solid var(--ink);
  border-radius: 14px; box-shadow: var(--sh-sm); transform: rotate(-6deg);
}
.brand-badge svg { width: 26px; height: 26px; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; line-height: 1; }
.brand-tag  { font-size: .68rem; font-weight: 600; color: var(--ink-soft); letter-spacing: .03em; }

.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a {
  font-family: var(--font-head); font-weight: 500; font-size: .98rem;
  padding: .5rem .9rem; border-radius: var(--r-pill);
  border: var(--bw) solid transparent; transition: all .15s;
}
.nav-links a:hover { background: var(--teal-tint); }
.nav-links a.active { background: var(--sunny); border-color: var(--ink); box-shadow: var(--sh-sm); }

.nav-right { display: flex; align-items: center; gap: .75rem; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: var(--bw) solid var(--ink); background: #fff; box-shadow: var(--sh-sm);
  place-items: center; font-size: 1.3rem;
}
.nav-toggle:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }

@media (max-width: 940px) {
  .nav-links, .nav-right .btn { display: none; }
  .nav-toggle { display: grid; }
  .nav-links {
    position: absolute; top: 90px; left: var(--gut); right: var(--gut);
    flex-direction: column; align-items: stretch; gap: .4rem;
    background: #fff; border: var(--bw) solid var(--ink); border-radius: var(--r);
    box-shadow: var(--sh-lg); padding: 1rem;
    transform-origin: top; transform: scaleY(0); opacity: 0; pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav-links.open { transform: scaleY(1); opacity: 1; pointer-events: auto; display: flex; }
  .nav-links a { text-align: center; }
  .nav-links .menu-cta { display: inline-flex; justify-content: center; margin-top: .35rem; }
}
.menu-cta { display: none; }
@media (max-width: 940px) { .menu-cta { display: inline-flex; } }

/* ============================================================
   HERO BANNER (full-width illustrated storyland)
   ============================================================ */
.hero-banner {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(580px, 90vh, 860px);
  display: flex; align-items: center;
  padding: clamp(5.5rem,11vh,8rem) 0 clamp(9rem,16vh,13rem);
  background:
    radial-gradient(92% 70% at 84% -10%, rgba(255,194,60,.45), transparent 56%),
    radial-gradient(70% 55% at 6% 112%, rgba(95,190,107,.22), transparent 60%),
    linear-gradient(180deg, #FFFCF5 0%, #FFF3E0 40%, var(--teal-tint) 100%);
}
.hero-banner.compact { min-height: clamp(440px, 64vh, 620px); padding: clamp(4.5rem,8vh,6.5rem) 0 clamp(8rem,13vh,11rem); }
.hero-banner .wrap { position: relative; z-index: 3; width: 100%; }
.hb-content .crumb { margin-bottom: .9rem; }
.hb-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,5vw,4.5rem);
  align-items: center;
}

/* Staggered entrance */
@keyframes heroIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.hb-anim { animation: heroIn .7s cubic-bezier(.22,1,.36,1) both; }
.hb-anim.a1 { animation-delay: .12s; }
.hb-anim.a2 { animation-delay: .25s; }
.hb-anim.a3 { animation-delay: .38s; }
.hb-anim.a4 { animation-delay: .51s; }
.hb-anim.a5 { animation-delay: .64s; }

/* Social-proof trust row */
.hb-trust { display: flex; align-items: center; gap: .85rem; }
.hb-avatars { display: flex; }
.hb-avatars img { width: 42px; height: 42px; border-radius: 50%; border: 3px solid #fff; object-fit: cover; margin-left: -14px; box-shadow: 0 3px 8px rgba(23,59,58,.18); }
.hb-avatars img:first-child { margin-left: 0; }
.hb-trust .ht-stars { color: var(--sunny); font-size: .95rem; letter-spacing: 1px; }
.hb-trust b { font-family: var(--font-head); font-weight: 600; }
.hb-trust small { color: var(--ink-soft); display: block; font-size: .78rem; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff; border: var(--bw) solid var(--ink); border-radius: var(--r-pill);
  padding: .4rem 1rem; font-weight: 600; font-size: .85rem; box-shadow: var(--sh-sm);
  transform: rotate(-1.5deg);
}
.hero-badge .pulse {
  width: 10px; height: 10px; border-radius: 50%; background: var(--leaf);
  box-shadow: 0 0 0 0 rgba(95,190,107,.6); animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(95,190,107,.6); }
  70%  { box-shadow: 0 0 0 10px rgba(95,190,107,0); }
  100% { box-shadow: 0 0 0 0 rgba(95,190,107,0); }
}
.hero-title { font-size: clamp(2.4rem, 6.5vw, 4.3rem); margin: 1.1rem 0; font-weight: 700; }
.hero-title .hl { position: relative; color: var(--teal); display: inline-block; }
.hero-title .hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: 6%; height: 38%;
  background: var(--sunny); z-index: -1; border-radius: 6px; transform: rotate(-1deg);
}
.hero-sub { font-size: 1.12rem; color: var(--ink-soft); max-width: 30rem; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.2rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.75rem; }
.hero-stat .n { font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; color: var(--tang); }
.hero-stat .l { font-size: .78rem; font-weight: 600; color: var(--ink-soft); }

@keyframes floaty { 0%,100% { transform: translateY(0) rotate(var(--rot,0)); } 50% { transform: translateY(-14px) rotate(var(--rot,0)); } }

/* ---- Background scenery layers ---- */
.hb-sky { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hb-sun {
  position: absolute; top: -110px; right: -70px; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,194,60,.9), rgba(255,194,60,.15) 58%, transparent 70%);
  animation: sunPulse 6s ease-in-out infinite;
}
@keyframes sunPulse { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.08); opacity: 1; } }

.hb-cloud { position: absolute; animation: drift linear infinite; }
.hb-cloud.c1 { top: 15%; width: 150px; animation-duration: 48s; }
.hb-cloud.c2 { top: 30%; width: 100px; animation-duration: 64s; animation-delay: -22s; opacity: .8; }
.hb-cloud.c3 { top: 8%;  width: 120px; animation-duration: 56s; animation-delay: -38s; opacity: .85; }
@keyframes drift { from { transform: translateX(-30vw); } to { transform: translateX(135vw); } }

.hb-spark { position: absolute; animation: twinkle 3s ease-in-out infinite; }
.hb-spark.s1 { top: 24%; left: 42%; }
.hb-spark.s2 { top: 58%; left: 14%; animation-delay: .8s; }
.hb-spark.s3 { top: 34%; right: 32%; animation-delay: 1.4s; }
.hb-spark.s4 { top: 68%; right: 18%; animation-delay: 2s; }
@keyframes twinkle { 0%,100% { transform: scale(.55); opacity: .25; } 50% { transform: scale(1); opacity: 1; } }

.hb-hills { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: auto; z-index: 2; display: block; }

/* ---- Floating book cluster ---- */
.hb-visual { position: relative; height: clamp(340px, 38vw, 460px); animation: popIn .8s cubic-bezier(.22,1,.36,1) both; animation-delay: .45s; }
@keyframes popIn { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
.hb-stage { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: min(74%, 300px); aspect-ratio: 3/4; }
.hb-glow { position: absolute; inset: -14%; border-radius: 50%; z-index: -1; filter: blur(4px);
  background: radial-gradient(circle, rgba(31,163,155,.35), transparent 65%); animation: sunPulse 5s ease-in-out infinite; }
.hb-book { position: absolute; border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh-lg); overflow: hidden; background: #fff; }
.hb-book img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.hb-book.main  { inset: 0; --rot: -3deg; z-index: 3; animation: floaty 6s ease-in-out infinite; }
.hb-book.mini1 { width: 40%; left: -18%; bottom: 4%; --rot: -11deg; z-index: 4; animation: floaty 5s ease-in-out infinite .4s; }
.hb-book.mini2 { width: 36%; right: -16%; top: 2%;  --rot: 10deg;  z-index: 2; animation: floaty 7s ease-in-out infinite .9s; }
.hb-chip { position: absolute; z-index: 5; background: #fff; border: var(--bw) solid var(--ink); border-radius: var(--r-pill);
  box-shadow: var(--sh-sm); padding: .45rem .85rem; font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  display: inline-flex; align-items: center; gap: .4rem; --rot: 0deg; animation: floaty 4.5s ease-in-out infinite; }
.hb-chip i { font-size: 1.05rem; }
.hb-chip.cTop { top: -4%; right: -2%; --rot: 4deg; animation-delay: .3s; color: var(--teal-dk); }
.hb-chip.cBot { bottom: -2%; left: -8%; --rot: -4deg; background: var(--sunny); animation-delay: 1s; }
.hb-bug { position: absolute; top: -12%; left: 2%; z-index: 6; width: 78px; --rot: 0deg; animation: floaty 4s ease-in-out infinite; }

/* Floating doodles */
.doodle { position: absolute; pointer-events: none; z-index: 1; animation: floaty 7s ease-in-out infinite; }
.doodle svg { display: block; }

/* ============================================================
   MARQUEE TICKER
   ============================================================ */
.marquee {
  background: var(--ink); color: var(--paper);
  border-top: var(--bw) solid var(--ink); border-bottom: var(--bw) solid var(--ink);
  overflow: hidden; padding: .85rem 0;
}
.marquee-track { display: flex; gap: 2.5rem; white-space: nowrap; width: max-content; animation: scroll 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; display: inline-flex; align-items: center; gap: 2.5rem; }
.marquee-track .star { color: var(--sunny); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band { background: var(--teal); border-block: var(--bw) solid var(--ink); padding: clamp(2rem,5vw,3rem) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.stat-box {
  background: var(--paper); border: var(--bw) solid var(--ink); border-radius: var(--r);
  box-shadow: var(--sh); padding: 1.4rem 1rem; text-align: center;
}
.stat-box .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.8rem,4vw,2.6rem); color: var(--teal-dk); }
.stat-box .lbl { font-size: .82rem; font-weight: 600; color: var(--ink-soft); }

/* ============================================================
   BOOK CARDS / BENTO
   ============================================================ */
.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; }
.book {
  background: var(--card); border: var(--bw) solid var(--ink); border-radius: var(--r);
  box-shadow: var(--sh); overflow: hidden;
  transition: transform .16s ease, box-shadow .16s ease;
}
.book:hover { transform: translate(-3px,-4px) rotate(-.6deg); box-shadow: var(--sh-lg); }
.book-cover { position: relative; aspect-ratio: 4/3; overflow: hidden; border-bottom: var(--bw) solid var(--ink); }
.book-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.book:hover .book-cover img { transform: scale(1.06); }
.book-tag {
  position: absolute; top: .7rem; left: .7rem; transform: rotate(-4deg);
  font-family: var(--font-head); font-weight: 600; font-size: .72rem;
  padding: .25rem .7rem; border-radius: var(--r-pill);
  border: var(--bw) solid var(--ink); box-shadow: var(--sh-sm);
}
.t-best { background: var(--berry);  color: #fff; }
.t-award{ background: var(--sunny);  color: var(--ink); }
.t-new  { background: var(--leaf);   color: #fff; }
.t-pop  { background: var(--sky);    color: #fff; }
.book-body { padding: 1.1rem 1.15rem 1.25rem; }
.book-name { font-family: var(--font-head); font-weight: 600; font-size: 1.18rem; }
.book-author { font-size: .8rem; color: var(--ink-soft); margin: .15rem 0 .8rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.chip {
  font-size: .7rem; font-weight: 700; padding: .25rem .65rem; border-radius: var(--r-pill);
  background: var(--teal-tint); color: var(--teal-dk);
}
.chip.alt { background: var(--tang-tint); color: var(--tang); }
.book-actions { display: flex; gap: .5rem; }

/* ============================================================
   FEATURE CARDS (bento)
   ============================================================ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.feature {
  background: var(--card); border: var(--bw) solid var(--ink); border-radius: var(--r);
  box-shadow: var(--sh); padding: 1.7rem 1.5rem;
  transition: transform .16s ease, box-shadow .16s ease;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.feature-ico {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
  font-size: 1.6rem; border: var(--bw) solid var(--ink); box-shadow: var(--sh-sm);
  margin-bottom: 1rem; transform: rotate(-4deg);
}
.feature:hover .feature-ico { transform: rotate(4deg) scale(1.06); transition: transform .25s; }
.ico-teal  { background: var(--teal-tint);  color: var(--teal-dk); }
.ico-tang  { background: var(--tang-tint);  color: var(--tang); }
.ico-sunny { background: var(--sunny-tint); color: #C98A00; }
.ico-berry { background: var(--berry-tint); color: var(--berry); }
.ico-sky   { background: var(--sky-tint);   color: var(--sky); }
.ico-leaf  { background: var(--leaf-tint);  color: var(--leaf); }
.feature h3 { font-size: 1.22rem; margin-bottom: .5rem; }
.feature p  { font-size: .92rem; color: var(--ink-soft); }

/* ============================================================
   SPLIT SECTIONS (teaser / story)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.checklist { display: grid; gap: .7rem; margin: 1.4rem 0 1.8rem; }
.checklist li { display: flex; align-items: center; gap: .7rem; font-weight: 600; }
.checklist .tick {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 9px; display: grid; place-items: center;
  background: var(--leaf); color: #fff; border: var(--bw) solid var(--ink); font-size: .8rem;
}

/* Tablet mockup */
.tablet {
  background: var(--ink); border: var(--bw) solid var(--ink); border-radius: 30px;
  box-shadow: var(--sh-lg); padding: 16px; max-width: 360px; margin: 0 auto;
  position: relative;
}
.tablet::after { content:""; position:absolute; top:50%; right:6px; width:8px; height:40px; transform:translateY(-50%); background:#0c2423; border-radius:4px; }
.tablet-screen { background: var(--paper); border-radius: 18px; padding: 1.1rem; }
.tablet-hi { font-family: var(--font-head); font-weight: 600; font-size: 1rem; }
.tablet-streak { font-size: .72rem; color: var(--ink-soft); font-weight: 600; margin-bottom: .85rem; }
.tablet-now { background: var(--teal-tint); border: var(--bw) solid var(--ink); border-radius: 14px; padding: .7rem .8rem; margin-bottom: .85rem; }
.tablet-now .k { font-size: .6rem; font-weight: 700; letter-spacing: .05em; color: var(--teal-dk); }
.tablet-now .b { font-family: var(--font-head); font-weight: 600; font-size: .9rem; }
.bar { height: 8px; background: #fff; border: 2px solid var(--ink); border-radius: 999px; margin: .4rem 0 .3rem; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--tang); border-radius: 999px; }
.tablet-shelf { display: grid; grid-template-columns: repeat(4,1fr); gap: .4rem; }
.tablet-shelf img { aspect-ratio: 3/4; object-fit: cover; border-radius: 8px; border: 2px solid var(--ink); }

/* ============================================================
   TESTIMONIALS (slider)
   ============================================================ */
.tm-stage { max-width: 720px; margin: 0 auto; position: relative; }
.tm-track { display: flex; overflow: hidden; }
.tm {
  flex: 0 0 100%; opacity: 0; transition: opacity .4s; padding: 0 .4rem;
  display: none;
}
.tm.active { display: block; opacity: 1; }
.tm-card { background: var(--card); border: var(--bw) solid var(--ink); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: clamp(1.6rem,4vw,2.6rem); text-align: center; }
.tm-stars { color: var(--sunny); font-size: 1.15rem; letter-spacing: 2px; margin-bottom: 1rem; }
.tm-text { font-size: 1.18rem; font-weight: 500; font-family: var(--font-head); line-height: 1.5; }
.tm-who { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-top: 1.4rem; }
.tm-av { width: 52px; height: 52px; border-radius: 50%; border: var(--bw) solid var(--ink); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; overflow: hidden; }
.tm-av img { width: 100%; height: 100%; object-fit: cover; }
.tm-name { font-family: var(--font-head); font-weight: 600; }
.tm-role { font-size: .8rem; color: var(--ink-soft); }
.tm-nav { display: flex; justify-content: center; gap: .9rem; margin-top: 1.6rem; align-items: center; }
.tm-arrow { width: 46px; height: 46px; border-radius: 50%; border: var(--bw) solid var(--ink); background: #fff; box-shadow: var(--sh-sm); display: grid; place-items: center; font-size: 1.2rem; transition: transform .12s, box-shadow .12s; }
.tm-arrow:hover { transform: translate(-2px,-2px); box-shadow: var(--sh); background: var(--sunny); }
.tm-dots { display: flex; gap: .5rem; }
.tm-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; cursor: pointer; }
.tm-dot.active { background: var(--tang); }

/* ============================================================
   NEWSLETTER / CTA BAND
   ============================================================ */
.cta-band { background: var(--tang); border-block: var(--bw) solid var(--ink); }
.cta-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center; }
.cta-title { font-size: clamp(1.8rem,4.5vw,2.7rem); color: #fff; }
.cta-sub { color: rgba(255,255,255,.92); font-weight: 500; margin: .6rem 0 1.3rem; }
.nl-form { display: flex; gap: .6rem; flex-wrap: wrap; max-width: 460px; }
.nl-form input {
  flex: 1; min-width: 200px; border: var(--bw) solid var(--ink); border-radius: var(--r-pill);
  padding: .85rem 1.2rem; font-size: 1rem; box-shadow: var(--sh-sm); background: #fff;
}
.nl-form input:focus { outline: none; box-shadow: var(--sh); }
.cta-collage { display: flex; justify-content: center; align-items: flex-end; gap: .5rem; }
.cta-collage img { width: 92px; aspect-ratio: 3/4; object-fit: cover; border: var(--bw) solid var(--ink); border-radius: var(--r-sm); box-shadow: var(--sh); }
.cta-collage img:nth-child(1) { transform: rotate(-8deg); }
.cta-collage img:nth-child(2) { transform: rotate(3deg) translateY(-14px); width: 108px; z-index: 2; }
.cta-collage img:nth-child(3) { transform: rotate(9deg); }

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */
.page-head { background: var(--sunny-tint); border-bottom: var(--bw) solid var(--ink); padding: clamp(2.5rem,6vw,4rem) 0; position: relative; overflow: hidden; }
.page-head h1 { font-size: clamp(2.2rem,6vw,3.4rem); }
.crumb { display: flex; gap: .5rem; align-items: center; font-weight: 600; font-size: .88rem; margin-top: .6rem; }
.crumb a { color: var(--teal-dk); }
.crumb .sep { color: var(--ink-soft); }

/* ============================================================
   FILTER CHIPS
   ============================================================ */
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.5rem; }
.filter {
  font-family: var(--font-head); font-weight: 500; font-size: .92rem;
  padding: .55rem 1.15rem; border-radius: var(--r-pill);
  border: var(--bw) solid var(--ink); background: #fff; box-shadow: var(--sh-sm);
  transition: transform .12s, box-shadow .12s, background .2s;
}
.filter:hover { transform: translate(-2px,-2px); box-shadow: var(--sh); }
.filter.active { background: var(--teal); color: #fff; }
.book-item.hide { display: none; }

/* ============================================================
   DIGITAL / APP page
   ============================================================ */
.pill-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pill {
  border: var(--bw) solid var(--ink); border-radius: var(--r); padding: 1.5rem; text-align: center;
  box-shadow: var(--sh);
}
.pill .pi { font-size: 2rem; margin-bottom: .4rem; }
.pill b { font-family: var(--font-head); font-weight: 600; display: block; }
.pill span { font-size: .8rem; color: var(--ink-soft); }

.digital-card { background: var(--card); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; transition: transform .16s, box-shadow .16s; }
.digital-card:hover { transform: translate(-3px,-4px); box-shadow: var(--sh-lg); }
.digital-cover { position: relative; aspect-ratio: 16/10; overflow: hidden; border-bottom: var(--bw) solid var(--ink); }
.digital-cover img { width: 100%; height: 100%; object-fit: cover; }
.play-btn {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(23,59,58,.35); opacity: 0; transition: opacity .25s;
}
.digital-card:hover .play-btn { opacity: 1; }
.play-btn i { width: 60px; height: 60px; border-radius: 50%; background: #fff; border: var(--bw) solid var(--ink); display: grid; place-items: center; font-size: 1.6rem; color: var(--teal); box-shadow: var(--sh); }
.fmt { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .7rem; padding: .25rem .7rem; border-radius: var(--r-pill); border: var(--bw) solid var(--ink); margin-bottom: .6rem; }
.fmt-ebook { background: var(--sky-tint); color: var(--sky); }
.fmt-audio { background: var(--berry-tint); color: var(--berry); }
.fmt-inter { background: var(--leaf-tint); color: var(--leaf); }
.digital-body { padding: 1.1rem 1.2rem 1.25rem; }
.digital-body .dt { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; }
.digital-body .dm { font-size: .78rem; color: var(--ink-soft); margin: .15rem 0 .9rem; }

/* app download band */
.app-band { background: var(--ink); color: var(--paper); border-block: var(--bw) solid var(--ink); }
.app-band .eyebrow { background: var(--sunny); }
.app-band .section-title { color: #fff; }
.store-btns { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.4rem 0 2rem; }
.store {
  display: inline-flex; align-items: center; gap: .6rem; background: var(--paper); color: var(--ink);
  border: var(--bw) solid #000; border-radius: var(--r); padding: .65rem 1.2rem; box-shadow: 4px 4px 0 rgba(0,0,0,.4);
  transition: transform .12s;
}
.store:hover { transform: translateY(-3px); }
.store .si { font-size: 1.8rem; }
.store .su { font-size: .65rem; display: block; line-height: 1; }
.store .sn { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.app-stats { display: flex; gap: 2rem; flex-wrap: wrap; }
.app-stats .n { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--sunny); }
.app-stats .l { font-size: .76rem; color: rgba(255,246,233,.7); }

/* ============================================================
   VALUES / TEAM (about)
   ============================================================ */
.value { text-align: center; padding: 1.6rem 1.2rem; background: var(--card); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); transition: transform .16s; }
.value:hover { transform: translateY(-5px) rotate(-1deg); }
.value h4 { font-size: 1.1rem; margin: .8rem 0 .4rem; }
.value p { font-size: .86rem; color: var(--ink-soft); }

.team-card { background: var(--card); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; transition: transform .16s, box-shadow .16s; }
.team-card:hover { transform: translate(-3px,-4px); box-shadow: var(--sh-lg); }
.team-img { position: relative; aspect-ratio: 1; overflow: hidden; border-bottom: var(--bw) solid var(--ink); }
.team-img img { width: 100%; height: 100%; object-fit: cover; }
.team-soc { position: absolute; inset: auto 0 0 0; display: flex; gap: .5rem; justify-content: center; padding: .8rem; background: linear-gradient(transparent, rgba(23,59,58,.75)); transform: translateY(100%); transition: transform .25s; }
.team-card:hover .team-soc { transform: translateY(0); }
.team-soc a { width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); display: grid; place-items: center; transition: transform .15s; }
.team-soc a:hover { transform: scale(1.12) rotate(-6deg); background: var(--sunny); }
.team-body { padding: 1rem 1.2rem; text-align: center; }
.team-name { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; }
.team-role { font-size: .82rem; color: var(--teal-dk); font-weight: 600; }

/* about story image */
.story-photo { position: relative; }
.story-photo > img { width: 100%; border: var(--bw) solid var(--ink); border-radius: var(--r-lg); box-shadow: var(--sh-lg); aspect-ratio: 4/3; object-fit: cover; }
.float-badge {
  position: absolute; background: #fff; border: var(--bw) solid var(--ink); border-radius: var(--r);
  box-shadow: var(--sh); padding: .8rem 1.1rem; display: flex; align-items: center; gap: .6rem;
}
.float-badge .fn { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--tang); line-height: 1; }
.float-badge .fl { font-size: .72rem; color: var(--ink-soft); font-weight: 600; }
.fb-1 { bottom: -22px; left: -18px; animation: floaty 5s ease-in-out infinite; }
.fb-2 { top: -22px; right: -14px; background: var(--teal); color: #fff; animation: floaty 6s ease-in-out infinite .8s; }
.fb-2 .fn { color: #fff; } .fb-2 .fl { color: rgba(255,255,255,.8); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }
.contact-card { text-align: center; padding: 1.8rem 1.1rem; border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); transition: transform .16s; }
.contact-card:hover { transform: translateY(-6px); }
.contact-card .ci { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin: 0 auto 1rem; font-size: 1.4rem; color: #fff; border: var(--bw) solid var(--ink); box-shadow: var(--sh-sm); }
.contact-card b { font-family: var(--font-head); font-weight: 600; display: block; margin-bottom: .35rem; }
.contact-card span { font-size: .86rem; color: var(--ink-soft); }

.form-card { background: var(--card); border: var(--bw) solid var(--ink); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: clamp(1.6rem,4vw,2.5rem); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .88rem; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; border: var(--bw) solid var(--ink); border-radius: var(--r-sm); padding: .75rem 1rem;
  font-size: .95rem; background: var(--paper); transition: box-shadow .15s, background .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: var(--sh-sm); }
.field textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.info-item { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1.1rem; }
.info-item .ii { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0; border: var(--bw) solid var(--ink); box-shadow: var(--sh-sm); font-size: 1.1rem; }
.info-item .il { font-size: .72rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; }
.info-item .iv { font-family: var(--font-head); font-weight: 500; }

.soc-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.soc-pill { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 500; font-size: .82rem; padding: .4rem 1rem; border-radius: var(--r-pill); border: var(--bw) solid var(--ink); box-shadow: var(--sh-sm); transition: transform .12s; }
.soc-pill:hover { transform: translate(-2px,-2px); box-shadow: var(--sh); }

.map-frame { border: var(--bw) solid var(--ink); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); height: 380px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(1.05); }

/* FAQ accordion */
.faq { display: grid; gap: .9rem; max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh-sm); overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left; padding: 1.1rem 1.3rem; font-family: var(--font-head); font-weight: 500; font-size: 1.02rem; }
.faq-q .pm { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: var(--teal-tint); border: 2px solid var(--ink); display: grid; place-items: center; font-size: 1.1rem; transition: transform .25s, background .2s; }
.faq-item.open .faq-q .pm { transform: rotate(135deg); background: var(--tang); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 1.3rem 1.1rem; color: var(--ink-soft); font-size: .92rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: var(--paper); border-top: var(--bw) solid var(--ink); padding-top: clamp(3rem,6vw,4rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer .brand-name { color: #fff; }
.footer .brand-tag { color: rgba(255,246,233,.6); }
.footer-desc { color: rgba(255,246,233,.7); font-size: .9rem; margin: 1rem 0 1.2rem; max-width: 30ch; }
.footer h5 { font-size: 1.05rem; margin-bottom: 1rem; color: #fff; }
.footer-list li { margin-bottom: .55rem; }
.footer-list a { color: rgba(255,246,233,.72); font-size: .9rem; transition: color .15s, padding-left .15s; }
.footer-list a:hover { color: var(--sunny); padding-left: .3rem; }
.footer-soc { display: flex; gap: .55rem; }
.footer-soc a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,246,233,.1); border: 2px solid rgba(255,246,233,.25); display: grid; place-items: center; transition: transform .15s, background .2s; }
.footer-soc a:hover { background: var(--teal); transform: translateY(-3px) rotate(-6deg); }
.foot-nl { display: flex; gap: .4rem; }
.foot-nl input { flex: 1; border: 2px solid rgba(255,246,233,.25); background: rgba(255,246,233,.08); color: #fff; border-radius: var(--r-pill); padding: .6rem 1rem; font-size: .88rem; }
.foot-nl input::placeholder { color: rgba(255,246,233,.5); }
.foot-nl button { background: var(--sunny); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--r-pill); padding: .6rem 1.1rem; font-family: var(--font-head); font-weight: 600; }
.footer-bottom { border-top: 2px solid rgba(255,246,233,.15); padding: 1.4rem 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; color: rgba(255,246,233,.6); }
.footer-bottom a { color: rgba(255,246,233,.6); margin-left: 1rem; }
.footer-bottom a:hover { color: var(--sunny); }

/* ============================================================
   MASCOT + BACK TO TOP + PRELOADER
   ============================================================ */
.mascot { position: fixed; bottom: 18px; left: 18px; z-index: 60; width: 72px; pointer-events: none; animation: floaty 4s ease-in-out infinite; }
@media (max-width: 600px) { .mascot { width: 54px; bottom: 12px; left: 10px; } }

.to-top {
  position: fixed; bottom: 22px; right: 22px; z-index: 70;
  width: 52px; height: 52px; border-radius: 50%; background: var(--tang); color: #fff;
  border: var(--bw) solid var(--ink); box-shadow: var(--sh); display: grid; place-items: center; font-size: 1.3rem;
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: all .25s;
}
.to-top.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.to-top:hover { transform: translateY(-3px) rotate(8deg); }

#preloader {
  position: fixed; inset: 0; z-index: 9999; background: var(--paper);
  display: grid; place-items: center; transition: opacity .4s, visibility .4s;
}
#preloader.done { opacity: 0; visibility: hidden; }
.loader-bug { animation: bob 1s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px) scale(.96); transition: opacity .55s ease, transform .55s cubic-bezier(.34,1.56,.64,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero-banner { min-height: auto; padding: clamp(4.5rem,9vh,6rem) 0 clamp(8rem,14vh,11rem); text-align: center; }
  .hb-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hb-content .hero-sub { margin-inline: auto; }
  .hb-content .hero-actions, .hb-content .hero-stats, .hb-trust, .hb-content .crumb { justify-content: center; }
  .hb-visual { max-width: 360px; margin: 0 auto; width: 100%; }
  .split, .cta-inner { grid-template-columns: 1fr; }
  .feature-grid, .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-collage { display: none; }
}
@media (max-width: 560px) {
  .feature-grid, .grid-4, .pill-grid, .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
}
