/* Sparkling Minds Activity Classes — shared stylesheet */

:root {
  --bg: #fff9ee;
  --fg: #14204a;
  --surface: #fdf1d8;
  --card: #ffffff;
  --muted: #5a6485;
  --border: #e8dec9;
  --primary: #2748d8;
  --primary-dark: #1d3bb8;
  --navy: #14204a;
  --navy-deep: #0b1433;
  --gold: #ffc83d;
  --gold-deep: #f0a500;
  --pink: #ffdce8;
  --sky: #d6efff;
  --success: #1f9d6b;
  --error: #d6334f;
  --wa: #25d366;

  --c-workshops: #f0a500;
  --t-workshops: #fff0c4;
  --c-phonics: #e5508f;
  --t-phonics: #ffe1ee;
  --c-money: #1f9d6b;
  --t-money: #dcf5e6;
  --c-community: #2748d8;
  --t-community: #e3e9ff;
  --c-library: #0fb5c1;
  --t-library: #d4f5f7;
  --c-shop: #ff7a59;
  --t-shop: #ffe4db;

  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fredoka", "Nunito", system-ui, sans-serif;

  --shadow: 0 1px 2px rgba(20, 32, 74, .06), 0 2px 8px rgba(20, 32, 74, .06);
  --shadow-md: 0 4px 12px rgba(20, 32, 74, .08), 0 12px 28px rgba(20, 32, 74, .08);
  --shadow-lg: 0 10px 24px rgba(20, 32, 74, .1), 0 28px 60px rgba(20, 32, 74, .14);

  --r: .875rem;
  --r-md: 1.25rem;
  --r-lg: 2rem;
  --r-full: 9999px;

  /* per-page accent (overridden by body classes) */
  --accent: var(--primary);
  --tint: var(--t-community);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 8rem; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }
svg.lucide { flex-shrink: 0; width: 1.25em; height: 1.25em; }
.search svg { width: 18px; height: 18px; }
.float-wa svg { width: 26px; height: 26px; }
.float-call svg { width: 22px; height: 22px; }
.menu-btn svg { width: 24px; height: 24px; }
.explore-close svg, .modal-close svg { width: 18px; height: 18px; }
.cart-fab svg { width: 22px; height: 22px; }
.logo-text { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 1rem; }
.section { padding: 4rem 0; position: relative; z-index: 1; }
.section.tinted { background: var(--surface); }
.center { display: flex; justify-content: center; margin-top: 2rem; }

/* ---------- Page themes ---------- */
body.theme-workshops { --accent: var(--c-workshops); --tint: var(--t-workshops); }
body.theme-phonics { --accent: var(--c-phonics); --tint: var(--t-phonics); --bg: #fff0f6; --surface: #ffe1ec; }
body.theme-money { --accent: var(--c-money); --tint: var(--t-money); --bg: #eefaf2; --surface: #dcf5e6; }
body.theme-community { --accent: var(--c-community); --tint: var(--t-community); }
body.theme-library { --accent: var(--c-library); --tint: var(--t-library); --bg: #e9fbfc; --surface: #c9f1f4; }
body.theme-shop { --accent: var(--c-shop); --tint: var(--t-shop); --bg: #fff6f2; --surface: #ffe4db; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 249, 238, .95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.topbar { max-width: 1240px; margin: 0 auto; padding: .65rem 1rem; display: flex; align-items: center; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--navy); }
.logo-mark {
  width: 2.4rem; height: 2.4rem; border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow);
}
.logo-mark svg { width: 20px; height: 20px; }
.logo-text { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; line-height: 1; letter-spacing: -.01em; }
.logo-text span { color: var(--primary); }
.footer .logo-text { color: #fff; }
.footer .logo-text span { color: var(--gold); }

.utility { display: none; margin-left: auto; align-items: center; gap: .1rem; }
.utility a { font-weight: 700; font-size: .9rem; color: var(--navy); text-decoration: none; padding: .45rem .75rem; border-radius: var(--r-full); }
.utility a:hover { background: var(--surface); }
.utility a.active { color: var(--primary); }
.utility a.phone { display: inline-flex; align-items: center; gap: .35rem; background: var(--surface); margin-left: .4rem; font-weight: 800; font-size: .88rem; }
.utility a.phone svg { width: 15px; height: 15px; }

.btn-enquire {
  margin-left: auto;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--navy); font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .7rem 1.2rem; border-radius: var(--r-full); text-decoration: none; white-space: nowrap;
  box-shadow: 0 6px 16px rgba(240, 165, 0, .35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-enquire:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(240, 165, 0, .45); }
.menu-btn {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-full);
  width: 2.6rem; height: 2.6rem; display: grid; place-items: center; color: var(--navy); cursor: pointer; flex-shrink: 0;
}
.menu-btn .i-close { display: none; }
.header.open .menu-btn .i-open { display: none; }
.header.open .menu-btn .i-close { display: block; }

/* Programme tab row */
.tabbar { border-top: 1px solid var(--border); }
.tabs { max-width: 1240px; margin: 0 auto; padding: .45rem 1rem; display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; flex-shrink: 0; }
.tab > a {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: var(--navy); text-decoration: none;
  padding: .5rem .95rem; border-radius: var(--r-full); border: 2px solid transparent; white-space: nowrap;
  transition: background .15s ease, border-color .15s ease;
}
.tab > a:hover { background: color-mix(in srgb, var(--tab-c) 12%, white); }
.tab > a.active { background: color-mix(in srgb, var(--tab-c) 16%, white); border-color: var(--tab-c); }
.dot { width: .6rem; height: .6rem; border-radius: var(--r-full); background: var(--tab-c); flex-shrink: 0; }
.tab .chev { display: none; width: 14px; height: 14px; }
.tab-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 13rem; padding: .5rem; z-index: 110;
  background: var(--card); border: 1px solid var(--border); border-top: 4px solid var(--tab-c);
  border-radius: var(--r-md); box-shadow: var(--shadow-lg); flex-direction: column; gap: .1rem;
}
.tab-menu a { padding: .6rem .8rem; border-radius: var(--r); color: var(--navy); text-decoration: none; font-weight: 700; font-size: .92rem; }
.tab-menu a:hover { background: color-mix(in srgb, var(--tab-c) 12%, white); }

/* Mobile menu */
.mobile-nav { display: none; flex-direction: column; padding: .5rem 1rem 1.5rem; gap: .1rem; background: var(--bg); border-top: 1px solid var(--border); max-height: calc(100vh - 7rem); overflow-y: auto; }
.header.open .mobile-nav { display: flex; }
.mobile-nav > a { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; color: var(--navy); text-decoration: none; padding: .7rem .4rem; border-bottom: 1px solid var(--border); }
.m-group { display: flex; flex-direction: column; padding: .4rem 0; border-bottom: 1px solid var(--border); }
.m-group .m-prog { display: flex; align-items: center; gap: .55rem; font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; color: var(--navy); text-decoration: none; padding: .5rem .4rem; }
.m-group .m-sub { color: var(--muted); text-decoration: none; font-weight: 700; padding: .35rem .4rem .35rem 1.6rem; }
.mobile-nav > a.m-enquire { margin-top: 1rem; text-align: center; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); border-radius: var(--r-full); border-bottom: none; font-weight: 700; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: #dfe5ff; position: relative; }
.footer::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--gold), var(--c-phonics), var(--c-library), var(--c-money), var(--gold));
}
.footer-inner { max-width: 1240px; margin: 0 auto; padding: 3rem 1rem; display: grid; grid-template-columns: 1fr; gap: 2rem; }
.footer h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--gold); margin: 0 0 .75rem; }
.footer-inner a { display: block; color: #dfe5ff; text-decoration: none; padding: .25rem 0; font-size: .95rem; }
.footer-inner a:hover { color: #fff; text-decoration: underline; }
.footer-brand p { margin: .75rem 0 1rem; max-width: 28rem; font-size: .95rem; }
.social { display: flex; gap: .75rem; }
.footer-inner .social a { width: 2.6rem; height: 2.6rem; border-radius: var(--r-full); background: rgba(255, 255, 255, .1); display: grid; place-items: center; padding: 0; }
.footer-inner .social a:hover { background: var(--gold); color: var(--navy); text-decoration: none; }
.social svg { width: 20px; height: 20px; }
.footer-bottom { max-width: 1240px; margin: 0 auto; padding: 1rem; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: .5rem; justify-content: space-between; font-size: .85rem; color: #9fb0e8; }

/* ---------- Floating buttons ---------- */
.floating { position: fixed; right: 1rem; bottom: 1rem; z-index: 90; display: flex; flex-direction: column; gap: .75rem; align-items: center; }
.float-wa, .float-call { border-radius: var(--r-full); display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-lg); text-decoration: none; transition: transform .15s ease; }
.float-wa { width: 3.4rem; height: 3.4rem; background: var(--wa); }
.float-call { width: 2.9rem; height: 2.9rem; background: var(--primary); }
.float-wa:hover, .float-call:hover { transform: scale(1.08); }

/* Left-edge "Upcoming Workshops" tab */
.explore { position: fixed; left: 0; top: 50%; transform: translateY(-50%); z-index: 95; display: flex; flex-direction: row-reverse; align-items: center; gap: .75rem; }
.explore-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-weight: 800; font-size: .85rem; letter-spacing: .04em; color: var(--navy);
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  border: 2px solid #fff; border-right: none;
  border-top-left-radius: var(--r-md); border-bottom-left-radius: var(--r-md);
  padding: 1rem .5rem; box-shadow: var(--shadow-lg); cursor: pointer;
  animation: glow 2.8s ease-in-out infinite;
}
.explore-btn svg { transform: rotate(90deg); width: 18px; height: 18px; }
@keyframes glow { 0%, 100% { box-shadow: var(--shadow-lg); } 50% { box-shadow: 0 0 0 6px rgba(255, 200, 61, .35), var(--shadow-lg); } }
.explore-panel { display: none; width: min(20rem, calc(100vw - 4rem)); background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 1rem; flex-direction: column; gap: .35rem; }
.explore.open .explore-panel { display: flex; }
.explore-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .25rem; }
.explore-head strong { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--navy); }
.explore-close { border: none; background: var(--surface); border-radius: var(--r-full); width: 2rem; height: 2rem; display: grid; place-items: center; cursor: pointer; color: var(--navy); }
.explore-link { display: flex; align-items: center; gap: .6rem; padding: .7rem .8rem; border-radius: var(--r); background: color-mix(in srgb, var(--tab-c) 10%, white); color: var(--navy); text-decoration: none; font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; }
.explore-link svg { margin-left: auto; color: var(--tab-c); width: 16px; height: 16px; }
.upcoming-box { margin-top: .4rem; padding: .75rem; border-radius: var(--r-md); background: var(--navy); color: #fff; }
.upcoming-box .up-title { display: flex; align-items: center; gap: .45rem; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--gold); }
.upcoming-box p { margin: .35rem 0 .7rem; font-size: .9rem; color: #dfe5ff; }
.btn-wa-sm { display: inline-flex; align-items: center; gap: .4rem; background: var(--wa); color: #fff; font-weight: 800; font-size: .88rem; padding: .55rem .9rem; border-radius: var(--r-full); text-decoration: none; }
.btn-wa-sm svg { width: 16px; height: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 800; font-size: .95rem;
  padding: .95rem 1.6rem; border-radius: var(--r-full); text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: var(--navy); box-shadow: 0 10px 24px rgba(240, 165, 0, .35); }
.btn-solid { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(39, 72, 216, .3); }
.btn-solid:hover { background: var(--primary-dark); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-outline { background: var(--card); color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .65); }
.btn-light:hover { background: #fff; color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-row.centered { justify-content: center; }
button.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------- Section titles ---------- */
.stitle { max-width: 46rem; margin: 0 auto 3rem; text-align: center; }
.eyebrow {
  display: inline-block; font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, white);
  padding: .35rem .85rem; border-radius: var(--r-full); margin-bottom: .75rem;
}
.stitle h2, .h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 4.2vw, 2.8rem); line-height: 1.15; letter-spacing: -.01em; color: var(--navy); margin: 0 0 .75rem; }
.stitle p { font-size: 1.1rem; color: var(--muted); margin: 0; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; z-index: 1;
  padding: 4rem 1rem 3rem;
  background:
    radial-gradient(60rem 28rem at 85% -10%, var(--tint), transparent 70%),
    radial-gradient(40rem 22rem at 0% 110%, var(--pink), transparent 70%);
}
.page-hero .inner { position: relative; max-width: 54rem; margin: 0 auto; text-align: center; z-index: 2; }
.page-hero .hero-eyebrow {
  display: inline-block; font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); background: var(--card); border: 1px solid var(--border);
  padding: .4rem 1rem; border-radius: var(--r-full); margin-bottom: 1rem; box-shadow: var(--shadow);
}
.page-hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.08; letter-spacing: -.02em; color: var(--navy); margin: 0 0 1rem; }
.page-hero .sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); margin: 0 auto; max-width: 40rem; }
.page-hero .btn-row { justify-content: center; margin-top: 2rem; }
.deco { position: absolute; color: var(--gold-deep); fill: var(--gold); opacity: .85; animation: floaty 6s ease-in-out infinite; z-index: 1; }
.deco.d1 { top: 12%; left: 8%; width: 34px; height: 34px; }
.deco.d2 { top: 24%; right: 10%; width: 26px; height: 26px; color: var(--accent); fill: var(--tint); animation-delay: 1.2s; }
.deco.d3 { bottom: 14%; right: 22%; width: 22px; height: 22px; animation-delay: 2.4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(8deg); } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.card {
  height: 100%; background: var(--card); border: 1px solid var(--border); border-top: 6px solid var(--c, var(--accent));
  border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: .75rem;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card .top { display: flex; align-items: center; gap: .75rem; }
.icon-box { width: 3.4rem; height: 3.4rem; border-radius: var(--r-md); background: var(--t, var(--tint)); color: var(--c, var(--accent)); display: grid; place-items: center; flex-shrink: 0; }
.icon-box svg { width: 28px; height: 28px; }
.tag { align-self: flex-start; font-weight: 800; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c, var(--accent)); background: var(--t, var(--tint)); padding: .3rem .75rem; border-radius: var(--r-full); }
.card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; line-height: 1.2; color: var(--navy); margin: 0; }
.card p { margin: 0; color: var(--muted); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Chips (filters) */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { font-weight: 800; font-size: .88rem; padding: .55rem 1.05rem; border-radius: var(--r-full); border: 2px solid var(--border); background: var(--card); color: var(--navy); cursor: pointer; }
.chip:hover { border-color: var(--accent); }
.chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Forms */
.field { display: flex; flex-direction: column; gap: .4rem; font-weight: 800; font-size: .9rem; color: var(--navy); }
.input, .textarea {
  font: inherit; font-weight: 600; font-size: 1rem; color: var(--navy);
  border: 2px solid var(--border); background: var(--card); border-radius: var(--r);
  padding: .7rem .9rem; width: 100%; outline: none;
}
.input:focus, .textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.textarea { resize: vertical; min-height: 5rem; }
.form-error { margin: 0; color: var(--error); font-weight: 700; font-size: .9rem; }
.search { display: flex; align-items: center; gap: .5rem; background: var(--card); border: 2px solid color-mix(in srgb, var(--accent) 35%, white); border-radius: var(--r-full); padding: .25rem 1rem; max-width: 32rem; color: var(--accent); }
.search input { border: none; outline: none; background: transparent; font: inherit; font-weight: 600; padding: .55rem 0; width: 100%; color: var(--navy); }
.tools { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2rem; }
.empty { text-align: center; font-weight: 700; color: var(--muted); }

/* Modal + drawer */
.overlay { position: fixed; inset: 0; background: rgba(11, 20, 51, .55); z-index: 200; display: none; align-items: center; justify-content: center; padding: 1rem; }
.overlay.open { display: flex; }
.modal { background: var(--card); border-radius: var(--r-lg); padding: 1.5rem; width: 100%; max-width: 28rem; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: .9rem; max-height: 90vh; overflow-y: auto; position: relative; }
.modal h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; margin: 0; color: var(--navy); }
.modal .desc { margin: -.5rem 0 0; color: var(--muted); }
.modal-close { position: absolute; top: .9rem; right: .9rem; border: none; background: var(--surface); width: 2.2rem; height: 2.2rem; border-radius: var(--r-full); cursor: pointer; display: grid; place-items: center; color: var(--navy); }
.modal-actions { display: flex; justify-content: flex-end; gap: .5rem; flex-wrap: wrap; }
.modal-actions .btn { padding: .75rem 1.2rem; }
.overlay.drawer { justify-content: flex-end; align-items: stretch; padding: 0; }
.drawer .modal { max-width: 26rem; max-height: none; height: 100%; border-radius: var(--r-lg) 0 0 var(--r-lg); }

/* Toast */
.toast { position: fixed; left: 50%; top: 1.2rem; transform: translate(-50%, -150%); background: var(--navy); color: #fff; padding: .8rem 1.3rem; border-radius: var(--r-full); font-weight: 800; z-index: 300; box-shadow: var(--shadow-lg); transition: transform .3s ease; max-width: calc(100vw - 2rem); text-align: center; }
.toast.show { transform: translate(-50%, 0); }

/* Placeholder media */
.ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; text-align: center; font-weight: 800; }
.ph small { font-weight: 700; color: var(--muted); }
.ph > svg { width: 32px; height: 32px; }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center; color: #fff; border-radius: var(--r-lg); padding: 4rem 1.5rem; box-shadow: var(--shadow-lg);
  background:
    radial-gradient(28rem 18rem at 0% 0%, rgba(240, 107, 160, .3), transparent 70%),
    radial-gradient(28rem 18rem at 100% 100%, rgba(58, 167, 232, .3), transparent 70%),
    var(--navy);
}
.cta-band .star { color: var(--gold); fill: var(--gold); width: 36px; height: 36px; margin-bottom: .75rem; animation: floaty 5s ease-in-out infinite; }
.cta-band h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 4.5vw, 2.9rem); line-height: 1.12; margin: 0 auto .75rem; max-width: 38rem; }
.cta-band p { font-size: 1.1rem; color: #dfe5ff; max-width: 36rem; margin: 0 auto; }
.cta-band .btn-row { justify-content: center; margin-top: 1.5rem; }
.cta-band .small-link { display: inline-block; margin-top: 1rem; color: #dfe5ff; font-weight: 700; }

/* =================== HOME =================== */
.home-hero { position: relative; overflow: hidden; padding: 4rem 1rem 5rem; background: linear-gradient(160deg, #fff9ee 0%, #fff0d6 55%, #ffe6f0 100%); }
.blob { position: absolute; border-radius: var(--r-full); filter: blur(8px); opacity: .7; pointer-events: none; }
.blob.b1 { width: 22rem; height: 22rem; background: var(--sky); top: -6rem; right: -5rem; }
.blob.b2 { width: 16rem; height: 16rem; background: var(--pink); bottom: -5rem; left: -4rem; }
.blob.b3 { width: 9rem; height: 9rem; background: #ffe7a3; top: 40%; left: 46%; }
.home-hero .deco.s1 { top: 14%; left: 6%; width: 30px; height: 30px; }
.home-hero .deco.s2 { top: 60%; left: 3%; width: 22px; height: 22px; animation-delay: 1.5s; }
.home-hero .deco.s3 { top: 12%; right: 8%; width: 26px; height: 26px; animation-delay: 3s; }
.home-hero-inner > * { min-width: 0; }
.home-hero-inner { position: relative; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; z-index: 2; }
.badge-pill { display: inline-flex; align-items: center; gap: .4rem; background: var(--card); color: var(--primary); font-weight: 800; font-size: .82rem; padding: .45rem 1rem; border-radius: var(--r-full); border: 1px solid var(--border); box-shadow: var(--shadow); margin-bottom: 1rem; }
.badge-pill svg { width: 16px; height: 16px; }
.home-hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.5rem, 7vw, 4.6rem); line-height: 1.04; letter-spacing: -.025em; color: var(--navy); margin: 0 0 1rem; }
.home-hero h1 span { display: block; background: linear-gradient(90deg, var(--primary), #f06ba0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.home-hero .sub { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 34rem; margin: 0 0 2rem; }
.hero-card { width: 100%; max-width: 30rem; margin: 0 auto; background: var(--card); border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--shadow-lg); border: 1px solid var(--border); transform: rotate(1.5deg); }
.hero-card-title { display: flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--navy); margin-bottom: 1rem; }
.hero-card-title svg { width: 18px; height: 18px; }
.chip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.hchip { display: flex; align-items: center; gap: .7rem; padding: .8rem .9rem; border-radius: var(--r-md); background: color-mix(in srgb, var(--hc) 12%, white); font-weight: 800; font-size: .9rem; color: var(--navy); animation: floaty 5s ease-in-out infinite; }
.hchip .ic { width: 2.6rem; height: 2.6rem; border-radius: var(--r); background: var(--hc); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.hchip .ic svg { width: 24px; height: 24px; }
.photo-note { margin: 1rem 0 0; font-size: .8rem; color: var(--muted); text-align: center; }

.feature { text-align: left; border-top: 1px solid var(--border); }
.feature .icon-box { background: linear-gradient(135deg, var(--gold), #ffe08a); color: var(--navy); }
.world { padding: 2rem 1.5rem; border-top-width: 8px; }
.world h3 { font-size: 1.6rem; }
.world p { flex: 1; }
.world-cta { display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start; background: var(--c); color: #fff; font-weight: 800; padding: .8rem 1.3rem; border-radius: var(--r-full); text-decoration: none; margin-top: .5rem; transition: transform .15s ease; }
.world-cta:hover { transform: translateX(4px); }
.world-cta svg { width: 18px; height: 18px; }

.band { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; color: #fff; border-radius: var(--r-lg); padding: 3rem 1.5rem; box-shadow: var(--shadow-lg); background: radial-gradient(30rem 20rem at 100% 0%, rgba(255, 200, 61, .28), transparent 70%), linear-gradient(135deg, var(--navy), #1c3a9e); }
.band .tag { color: var(--navy); background: var(--gold); }
.band h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.1; margin: .75rem 0; }
.band p { font-size: 1.1rem; color: #dfe5ff; margin: 0 0 1.5rem; }
.band-photo { min-height: 14rem; border: 2px dashed rgba(255, 255, 255, .4); border-radius: var(--r-lg); color: var(--gold); background: rgba(255, 255, 255, .06); padding: 1.5rem; }
.band-photo svg { width: 44px; height: 44px; }
.band-photo small { color: #dfe5ff; max-width: 18rem; }

.year-tabs { display: flex; justify-content: center; gap: .5rem; margin-bottom: 1.5rem; }
.tile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.tile { aspect-ratio: 4 / 3; border-radius: var(--r-md); border: 2px dashed var(--border); background: linear-gradient(135deg, #fff0c4, var(--pink), var(--sky)); color: var(--navy); }
.tile svg { width: 30px; height: 30px; }

.why { flex-direction: row; align-items: center; gap: 1rem; border-top: 1px solid var(--border); }
.why .icon-box { background: linear-gradient(135deg, var(--gold), #ffe08a); color: var(--navy); }
.why h3 { font-size: 1.15rem; }

/* =================== PHONICS =================== */
.letters { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.letters span { position: absolute; font-family: var(--font-display); font-weight: 600; opacity: .42; animation: drift 9s ease-in-out infinite; }
@keyframes drift { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-18px) rotate(6deg); } }
.page-wrap { position: relative; overflow: hidden; }
.level-card { text-align: center; align-items: center; border-top: 1px solid #f6c6da; }
.level-num { width: 4rem; height: 4rem; border-radius: var(--r-full); background: linear-gradient(135deg, #f78bb8, var(--c-phonics)); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; display: grid; place-items: center; box-shadow: 0 8px 18px rgba(229, 80, 143, .3); }
.level-label { font-weight: 800; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-phonics); }
.lock { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 800; color: var(--accent); background: var(--tint); padding: .35rem .8rem; border-radius: var(--r-full); margin-top: .5rem; }
.lock svg { width: 14px; height: 14px; }
.price-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; max-width: 40rem; margin: 0 auto 1.5rem; }
.price { background: var(--card); border: 2px solid #f6c6da; border-radius: var(--r-lg); padding: 2rem 1.5rem; text-align: center; display: flex; flex-direction: column; gap: .25rem; box-shadow: var(--shadow); }
.price.featured { border-color: var(--c-phonics); }
.price .lbl { font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.price strong { font-family: var(--font-display); font-weight: 600; font-size: 3rem; color: var(--navy); line-height: 1.1; }
.price small { color: var(--muted); font-weight: 700; }
.perks { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.perk { display: flex; align-items: center; gap: .5rem; background: var(--card); border-radius: var(--r-full); padding: .6rem 1rem; font-weight: 700; color: var(--navy); font-size: .92rem; }
.perk svg { color: var(--accent); width: 22px; height: 22px; }
.online { max-width: 44rem; margin: 2rem auto 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--shadow-md); }
.online .ic { width: 3.6rem; height: 3.6rem; border-radius: var(--r-md); background: var(--c-phonics); display: grid; place-items: center; }
.online .ic svg { width: 28px; height: 28px; }
.online .soon { display: inline-block; font-weight: 800; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); background: var(--gold); padding: .25rem .7rem; border-radius: var(--r-full); }
.online h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; margin: .3rem 0 0; }
.dash-box { max-width: 36rem; margin: 0 auto; text-align: center; padding: 2rem 1.5rem; border-radius: var(--r-lg); border: 2px dashed var(--accent); background: var(--card); }
.dash-box h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; color: var(--navy); margin: .75rem 0 .25rem; }
.dash-box p { margin: 0; color: var(--muted); font-weight: 700; }
.video-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.video { aspect-ratio: 16 / 9; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--navy), #8a2f63); color: #ffd6e6; text-decoration: none; box-shadow: var(--shadow-md); overflow: hidden; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.video .play { width: 3.6rem; height: 3.6rem; border-radius: var(--r-full); background: var(--gold); color: var(--navy); display: grid; place-items: center; }

/* =================== MONEY =================== */
.money-decor { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.money-decor svg { position: absolute; opacity: .85; filter: drop-shadow(0 8px 14px rgba(20, 112, 74, .18)); animation: sway 7s ease-in-out infinite; }
.money-decor .note { width: 8.5rem; }
.money-decor .coin-art { width: 3.2rem; }
.money-decor .n1 { top: 10%; left: 3%; }
.money-decor .n2 { top: 14%; right: 4%; animation-delay: 1.4s; }
.money-decor .n3 { bottom: 8%; left: 12%; width: 7rem; animation-delay: 2.8s; }
.money-decor .c1 { bottom: 14%; right: 12%; animation-delay: .7s; }
.money-decor .c2 { top: 48%; right: 22%; width: 2.4rem; animation-delay: 2s; }
@keyframes sway { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-14px) rotate(6deg); } }
.path { display: grid; grid-template-columns: 1fr; gap: .75rem; max-width: 62rem; margin: 0 auto 2rem; }
.step { display: flex; align-items: center; gap: .75rem; text-align: left; background: var(--card); border: 2px solid #bfe3cc; border-radius: var(--r-lg); padding: .75rem 1rem; cursor: pointer; color: var(--navy); transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step.on { border-color: var(--c-money); background: linear-gradient(135deg, var(--t-money), var(--card)); box-shadow: var(--shadow-md); }
.coin { width: 3.2rem; height: 3.2rem; border-radius: var(--r-full); background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: var(--navy); font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; display: grid; place-items: center; flex-shrink: 0; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12); }
.step small { display: block; font-weight: 800; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-money); }
.step strong { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.panel { max-width: 62rem; margin: 0 auto; background: var(--card); border-radius: var(--r-lg); padding: 2rem 1.5rem; box-shadow: var(--shadow-md); text-align: center; }
.panel h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--navy); margin: 0 0 1.5rem; }
.panel[hidden] { display: none; }
.mystery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.mystery { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: 1rem .5rem; border-radius: var(--r-md); border: 2px dashed #9fd8b5; background: #f4fbf6; transition: transform .15s ease; }
.mystery:hover { transform: rotate(-2deg) scale(1.03); }
.mystery .mi { width: 3.2rem; height: 3.2rem; border-radius: var(--r-full); background: var(--c-money); color: #fff; display: grid; place-items: center; }
.mystery .mi svg { width: 26px; height: 26px; }
.mystery strong { font-family: var(--font-display); font-weight: 600; color: var(--navy); }
.mystery small { display: inline-flex; align-items: center; gap: .25rem; font-weight: 800; font-size: .75rem; color: var(--c-money); }
.mystery small svg { width: 12px; height: 12px; }
.soon-box { display: flex; flex-direction: column; align-items: center; gap: .5rem; color: var(--c-money); padding: 1.5rem 0; }
.soon-box svg { width: 30px; height: 30px; }
.soon-box h3 { margin: 0; }

/* =================== WORKSHOPS =================== */
.teasers { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; max-width: 50rem; margin: 0 auto; }
.teaser { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; color: var(--navy); background: var(--card); border: 2px solid var(--t-workshops); padding: .7rem 1.2rem; border-radius: var(--r-full); box-shadow: var(--shadow); }
.teaser svg { color: var(--gold-deep); width: 15px; height: 15px; }
.teaser.more { background: var(--navy); color: var(--gold); border-color: var(--navy); }
.big-card { max-width: 36rem; margin: 0 auto; text-align: center; background: var(--card); border-radius: var(--r-lg); padding: 3rem 1.5rem; box-shadow: var(--shadow-md); display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.big-card .round { width: 4rem; height: 4rem; border-radius: var(--r-full); background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: var(--navy); display: grid; place-items: center; }
.big-card .round svg { width: 30px; height: 30px; }
.big-card h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--navy); margin: 0; }
.big-card p { margin: 0 0 .5rem; color: var(--muted); font-weight: 700; }

/* =================== COMMUNITY =================== */
.offer { flex-direction: row; align-items: center; }
.offer h3 { font-size: 1.15rem; }
.profile { height: 100%; background: var(--card); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.profile .photo { aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--t-community), var(--sky)); color: var(--c-community); }
.profile .photo img { width: 100%; height: 100%; object-fit: cover; }
.profile .body { padding: 1rem; display: flex; flex-direction: column; gap: .25rem; }
.profile h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--navy); margin: 0; }
.profile small { color: var(--muted); font-weight: 700; }
.visit { margin-top: .5rem; align-self: flex-start; display: inline-flex; align-items: center; gap: .35rem; font-weight: 800; font-size: .85rem; color: var(--c-community); background: var(--t-community); padding: .45rem .9rem; border-radius: var(--r-full); text-decoration: none; }
.visit svg { width: 15px; height: 15px; }
.media-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.media-tile { aspect-ratio: 4 / 3; border-radius: var(--r-md); background: linear-gradient(135deg, var(--navy), #2748d8); color: var(--gold); }
.media-tile small { color: #dfe5ff; }
.consent { display: flex; gap: .5rem; align-items: center; justify-content: center; margin: 2rem auto 0; color: var(--muted); font-weight: 700; text-align: center; }
.consent svg { color: var(--c-community); width: 18px; height: 18px; }

/* =================== CATALOGUE (books + products) =================== */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.item { background: var(--card); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); border: 2px solid transparent; display: flex; flex-direction: column; transition: transform .15s ease, border-color .15s ease; }
.item:hover { transform: translateY(-4px); }
.item.selected { border-color: var(--accent); }
.item .cover { position: relative; aspect-ratio: 3 / 4; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 45%, white), var(--accent)); color: #fff; display: grid; place-items: center; }
.item .cover.square { aspect-ratio: 1; }
.item .cover img { width: 100%; height: 100%; object-fit: cover; }
.item .cover > svg { width: 36px; height: 36px; }
.sample { position: absolute; top: .5rem; left: .5rem; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 255, 255, .92); color: var(--navy); padding: .2rem .5rem; border-radius: var(--r-full); }
.heart { position: absolute; top: .5rem; right: .5rem; width: 2.2rem; height: 2.2rem; border-radius: var(--r-full); border: none; background: #fff; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.heart svg { width: 18px; height: 18px; }
.heart.on { color: var(--error); }
.heart.on svg { fill: var(--error); }
.item .body { padding: .75rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.item h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--navy); margin: 0; }
.item .meta { display: flex; flex-wrap: wrap; gap: .3rem; }
.item .meta span { font-size: .72rem; font-weight: 800; background: var(--tint); color: color-mix(in srgb, var(--accent) 70%, black); padding: .2rem .55rem; border-radius: var(--r-full); }
.item .muted { margin: 0; font-size: .85rem; color: var(--muted); }
.ok { color: var(--success); font-size: .78rem; font-weight: 800; }
.no { color: var(--muted); font-size: .78rem; font-weight: 800; }
.item .price-row { display: flex; align-items: baseline; gap: .45rem; }
.item .price-row strong { font-size: 1.15rem; color: var(--navy); }
.item .price-row s { color: var(--muted); font-size: .85rem; }
.item .actions { margin-top: auto; display: grid; grid-template-columns: 1fr; gap: .4rem; padding-top: .5rem; }
.mini { font-weight: 800; font-size: .85rem; padding: .6rem; border-radius: var(--r-full); cursor: pointer; border: 2px solid var(--accent); background: var(--card); color: color-mix(in srgb, var(--accent) 75%, black); display: inline-flex; align-items: center; justify-content: center; gap: .3rem; }
.mini.fill { border-color: transparent; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: var(--navy); }
.item.selected .mini.pick { background: var(--accent); color: #fff; }
.mini:disabled { opacity: .4; cursor: not-allowed; }
.mini svg { width: 16px; height: 16px; }
.sel-bar { position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); z-index: 96; display: none; align-items: center; gap: .75rem; background: var(--navy); color: #fff; padding: .5rem .5rem .5rem 1.2rem; border-radius: var(--r-full); box-shadow: var(--shadow-lg); font-weight: 800; white-space: nowrap; }
.sel-bar.show { display: flex; }
.sel-bar button { font-weight: 800; border: none; background: var(--gold); color: var(--navy); padding: .65rem 1.1rem; border-radius: var(--r-full); cursor: pointer; }
.cart-fab { position: fixed; right: 1rem; bottom: 9.5rem; z-index: 96; width: 3.4rem; height: 3.4rem; border-radius: var(--r-full); border: none; background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); cursor: pointer; }
.cart-fab svg { width: 22px; height: 22px; }
.cart-badge { position: absolute; top: -.2rem; right: -.2rem; min-width: 1.4rem; height: 1.4rem; border-radius: var(--r-full); background: var(--c-shop); color: #fff; font-size: .75rem; font-weight: 800; display: grid; place-items: center; padding: 0 .3rem; }
.cart-badge:empty { display: none; }
.lines { display: flex; flex-direction: column; gap: .75rem; overflow-y: auto; }
.line { display: flex; align-items: center; gap: .75rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border); }
.line .info { flex: 1; display: flex; flex-direction: column; }
.line .info small { color: var(--muted); }
.qty { display: flex; align-items: center; gap: .4rem; font-weight: 800; }
.qty button, .rm { width: 1.9rem; height: 1.9rem; border-radius: var(--r-full); border: 1px solid var(--border); background: var(--card); display: grid; place-items: center; cursor: pointer; color: var(--navy); }
.rm { color: var(--error); }
.qty svg, .rm svg { width: 14px; height: 14px; }
.total { display: flex; justify-content: space-between; font-size: 1.15rem; font-weight: 800; color: var(--navy); }

/* =================== GALLERY =================== */
.masonry { columns: 2; column-gap: .75rem; }
.g-tile { break-inside: avoid; width: 100%; margin-bottom: .75rem; aspect-ratio: 4 / 3; border: none; border-radius: var(--r-md); background: linear-gradient(135deg, #fff0c4, var(--pink), var(--sky)); color: var(--navy); cursor: pointer; overflow: hidden; padding: 0; transition: transform .15s ease; }
.g-tile:hover { transform: scale(1.02); }
.g-tile.tall { aspect-ratio: 3 / 4; }
.g-tile svg { width: 32px; height: 32px; }
.g-tile img { width: 100%; height: 100%; object-fit: cover; }
.lightbox .modal { max-width: 52rem; }
.big-media { aspect-ratio: 16 / 10; border-radius: var(--r-md); background: linear-gradient(135deg, var(--navy), #2748d8); color: var(--gold); overflow: hidden; }
.big-media svg { width: 52px; height: 52px; }
.big-media small { color: #dfe5ff; }
.big-media img, .big-media iframe { width: 100%; height: 100%; object-fit: contain; border: 0; background: #000; }

/* =================== CONTACT =================== */
.quick { display: grid; grid-template-columns: 1fr; gap: 1rem; max-width: 56rem; margin: 0 auto 3rem; }
.quick a { display: flex; flex-direction: column; align-items: center; gap: .3rem; background: var(--card); border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--shadow); text-decoration: none; color: var(--navy); border-top: 6px solid var(--q); transition: transform .15s ease; }
.quick a:hover { transform: translateY(-4px); }
.quick .qi { width: 3.2rem; height: 3.2rem; border-radius: var(--r-full); background: var(--q); color: #fff; display: grid; place-items: center; margin-bottom: .3rem; }
.quick .qi svg { width: 24px; height: 24px; }
.quick strong { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; }
.quick small { color: var(--muted); font-weight: 700; }
.form-card { max-width: 40rem; margin: 0 auto; background: var(--card); border-radius: var(--r-lg); padding: 2rem 1.5rem; box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 1rem; }
.form-card h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.8rem; color: var(--navy); margin: 0; }
.hp { position: absolute; left: -9999px; }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .grid.g2, .grid.g3, .grid.g4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .tile-grid, .media-grid { grid-template-columns: repeat(3, 1fr); }
  .price-grid, .video-grid { grid-template-columns: repeat(2, 1fr); }
  .mystery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 720px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .item .actions { grid-template-columns: 1fr 1fr; }
  .item .actions.single { grid-template-columns: 1fr; }
  .masonry { columns: 3; }
  .quick { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 800px) {
  .path { grid-template-columns: repeat(3, 1fr); }
  .mystery-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 900px) {
  .home-hero-inner { grid-template-columns: 1.1fr .9fr; }
  .grid.g3 { grid-template-columns: repeat(3, 1fr); }
  .band { grid-template-columns: 1.1fr .9fr; padding: 4rem 3rem; }
  .video-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .masonry { columns: 4; }
  .grid.g4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .utility { display: flex; }
  .btn-enquire { margin-left: 0; }
  .menu-btn { display: none; }
  .tabs { overflow: visible; justify-content: center; }
  .tab .chev { display: inline; }
  .tab:hover .tab-menu, .tab:focus-within .tab-menu { display: flex; }
  .footer-inner { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}
@media (max-width: 640px) {
  .money-decor .note { width: 5.5rem; opacity: .45; }
  .money-decor .n3 { width: 4.5rem; }
  .money-decor .coin-art { opacity: .5; }
}
@media (max-width: 640px) {
  .page-hero, .home-hero { padding-left: 2.75rem; padding-right: 1rem; }
}
@media (max-width: 480px) {
  .topbar { gap: .5rem; padding: .6rem .75rem; }
  .logo { gap: .45rem; }
  .logo-mark { width: 2.1rem; height: 2.1rem; }
  .logo-text { font-size: 1.12rem; }
  .btn-enquire { padding: .55rem .75rem; font-size: .66rem; letter-spacing: .04em; }
  .menu-btn { width: 2.4rem; height: 2.4rem; }
  .explore-btn { font-size: .75rem; padding: .8rem .4rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
