/* Kids Care Montessori School — "Little hands at work"
   Felt quiet-book world: pastel felt pieces, running-stitch seams, cocoa ink. */

:root {
  --ground: #FFF9F3;
  --cotton: #FFFFFF;
  --linen: #F7EDE2;
  --cocoa: #3B2F2F;
  --cocoa-2: #5E4B47;
  --cocoa-deep: #2E2424;
  --peach: #F6B89A;
  --pistachio: #B9D7A8;
  --lilac: #C9B6E4;
  --sky: #A7D3EE;
  --peach-soft: #FCE3D6;
  --pistachio-soft: #E6F0DF;
  --lilac-soft: #EDE5F6;
  --sky-soft: #E2F0F9;
  --error: #A3311F;
  --ok: #2F5E2A;
  --stitch: rgba(59, 47, 47, .5);
  --felt-shadow: 0 1px 0 rgba(59, 47, 47, .06), 0 14px 28px -16px rgba(59, 47, 47, .45);
  --felt-shadow-lift: 0 2px 0 rgba(59, 47, 47, .06), 0 22px 36px -18px rgba(59, 47, 47, .5);
  --r-felt: 22px;
  --r-tab: 14px;
  --display: "Mali", "Comic Neue", "Trebuchet MS", system-ui, sans-serif;
  --body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --hindi: "Noto Sans Devanagari", "Kohinoor Devanagari", "Mukta", "Nirmala UI", sans-serif;
  --header-h: 76px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

/* ---------- Bootstrap grid values repeated so layout holds while the grid CSS loads ---------- */
.container { width: 100%; padding-right: calc(var(--bs-gutter-x, 1.5rem) * .5); padding-left: calc(var(--bs-gutter-x, 1.5rem) * .5); margin-right: auto; margin-left: auto; }
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }
.row { --bs-gutter-x: 1.5rem; --bs-gutter-y: 0; display: flex; flex-wrap: wrap; margin-top: calc(-1 * var(--bs-gutter-y)); margin-right: calc(-.5 * var(--bs-gutter-x)); margin-left: calc(-.5 * var(--bs-gutter-x)); }
.row > * { flex-shrink: 0; width: 100%; max-width: 100%; padding-right: calc(var(--bs-gutter-x) * .5); padding-left: calc(var(--bs-gutter-x) * .5); margin-top: var(--bs-gutter-y); }
.g-4 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 1.5rem; }
@media (min-width: 768px) {
  .col-md-6 { flex: 0 0 auto; width: 50%; }
}
@media (min-width: 992px) {
  .col-lg-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-lg-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-lg-6 { flex: 0 0 auto; width: 50%; }
  .col-lg-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-lg-8 { flex: 0 0 auto; width: 66.66666667%; }
  .g-lg-5 { --bs-gutter-x: 3rem; --bs-gutter-y: 3rem; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--cocoa);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-variant-numeric: lining-nums;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cocoa); text-decoration-thickness: 1.5px; text-underline-offset: .2em; text-decoration-color: rgba(59, 47, 47, .45); }
a:hover { text-decoration-color: var(--cocoa); }
::selection { background: var(--lilac); color: var(--cocoa); }
input, textarea, select, button { font: inherit; color: inherit; }
input, textarea { caret-color: var(--cocoa); }
:focus-visible { outline: 3px solid var(--cocoa); outline-offset: 3px; border-radius: 6px; }
.site-footer :focus-visible, .band-cocoa :focus-visible { outline-color: var(--peach); }
html { scrollbar-color: var(--peach) var(--linen); }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2.35rem, 1.6rem + 3.4vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 1.35rem + 1.9vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + .45vw, 1.45rem); }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: clamp(1.1rem, 1.02rem + .35vw, 1.25rem); color: var(--cocoa-2); }
[lang="hi"] { font-family: var(--hindi); }
.hindi-line { font-family: var(--hindi); font-size: 1.15rem; font-weight: 600; color: var(--cocoa-2); margin-bottom: .9rem; }
.muted { color: var(--cocoa-2); }
.small { font-size: .9rem; }
.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; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--cocoa); color: var(--ground); padding: .7rem 1rem; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

.section { padding-block: clamp(64px, 8vw, 112px); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.section-head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--cocoa-2); }
.band-linen { background: var(--linen); }
.band-cocoa { background: var(--cocoa); color: var(--ground); }
.band-cocoa a { color: var(--ground); text-decoration-color: rgba(255, 249, 243, .5); }

/* ---------- shape icons ---------- */
.shape { width: 1.05em; height: 1.05em; flex: none; display: inline-block; vertical-align: -.12em; }
.shape path, .shape circle, .shape rect { fill: var(--shape-fill, transparent); stroke: var(--cocoa); stroke-width: 2.2; stroke-linejoin: round; transition: fill .25s var(--ease-out); }
.sh-peach { --shape-on: var(--peach); }
.sh-pistachio { --shape-on: var(--pistachio); }
.sh-lilac { --shape-on: var(--lilac); }
.sh-sky { --shape-on: var(--sky); }

/* ---------- buttons: felt tabs with a stitched inner edge ---------- */
.btn {
  --btn-bg: var(--cocoa); --btn-fg: var(--ground); --btn-stitch: rgba(255, 249, 243, .55);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .7rem 1.6rem .7rem 1.35rem; border: 0; border-radius: var(--r-tab);
  background: var(--btn-bg); color: var(--btn-fg); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; box-shadow: var(--felt-shadow);
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background-color .2s;
}
.btn::after { content: ""; position: absolute; inset: 4px; border: 1.5px dashed var(--btn-stitch); border-radius: calc(var(--r-tab) - 4px); pointer-events: none; }
.btn::before { content: ""; position: absolute; right: 9px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: currentColor; opacity: .45; pointer-events: none; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--felt-shadow-lift); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-peach { --btn-bg: var(--peach); --btn-fg: var(--cocoa); --btn-stitch: var(--stitch); }
.btn-sky { --btn-bg: var(--sky); --btn-fg: var(--cocoa); --btn-stitch: var(--stitch); }
.btn-pistachio { --btn-bg: var(--pistachio); --btn-fg: var(--cocoa); --btn-stitch: var(--stitch); }
.btn-lilac { --btn-bg: var(--lilac); --btn-fg: var(--cocoa); --btn-stitch: var(--stitch); }
.btn-cotton { --btn-bg: var(--cotton); --btn-fg: var(--cocoa); --btn-stitch: var(--stitch); }
.btn-small { min-height: 44px; padding: .5rem 1.45rem .5rem 1rem; font-size: .95rem; }
.header-actions .btn-cotton::before { display: none; }
.btn-small::before { right: 8px; width: 5px; height: 5px; margin-top: -2.5px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.text-link { font-weight: 700; }

/* ---------- placeholder: a pinned paper note (not felt) ---------- */
.placeholder {
  position: relative; background: var(--cotton); border: 2px dashed rgba(59, 47, 47, .55); border-radius: 12px;
  padding: 1.1rem 1.2rem 1.1rem 3.1rem; color: var(--cocoa-2);
}
.placeholder::before {
  content: ""; position: absolute; left: 1rem; top: 1.25rem; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0 18%, transparent 20%), var(--peach); border: 2px solid var(--cocoa);
}
.placeholder strong { color: var(--cocoa); display: block; margin-bottom: .15rem; }
.placeholder p { margin: 0; }
.tag-confirm {
  display: inline-block; font-size: .8rem; font-weight: 700; line-height: 1.3; padding: .15rem .55rem; border-radius: 999px;
  border: 1.5px dashed rgba(59, 47, 47, .6); background: var(--cotton); color: var(--cocoa); vertical-align: .1em; white-space: nowrap;
}
.photo-note { font-size: .82rem; color: var(--cocoa-2); margin-top: .6rem; }
.general-note { display: flex; gap: .55rem; align-items: flex-start; font-size: .92rem; color: var(--cocoa-2); background: var(--cotton); border-radius: 12px; padding: .7rem .9rem; border: 1.5px solid rgba(59, 47, 47, .14); max-width: 46rem; }
.general-note svg { flex: none; margin-top: .2rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 249, 243, .94); border-bottom: 1.5px dashed rgba(59, 47, 47, .22); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255, 249, 243, .86); backdrop-filter: blur(10px); } }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 48px; width: auto; }
.main-nav { display: none; margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
.main-nav a {
  display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .7rem; border-radius: 12px;
  font-weight: 700; font-size: .98rem; text-decoration: none; color: var(--cocoa);
}
.main-nav a:hover .shape, .main-nav a:focus-visible .shape, .main-nav a[aria-current="page"] .shape { --shape-fill: var(--shape-on); }
.main-nav a[aria-current="page"] { background: var(--cotton); box-shadow: inset 0 0 0 1.5px rgba(59, 47, 47, .14); }
.header-actions { display: none; align-items: center; gap: .5rem; }
.menu-toggle {
  margin-left: auto; display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: .45rem .95rem;
  border-radius: var(--r-tab); border: 0; background: var(--peach); font-weight: 700; cursor: pointer; box-shadow: var(--felt-shadow); position: relative;
}
.menu-toggle::after { content: ""; position: absolute; inset: 4px; border: 1.5px dashed var(--stitch); border-radius: 10px; pointer-events: none; }
.menu-toggle .grid4 { display: grid; grid-template-columns: repeat(2, 8px); gap: 3px; }
.menu-toggle .grid4 i { width: 8px; height: 8px; background: var(--cocoa); display: block; }
.menu-toggle .grid4 i:nth-child(1) { border-radius: 50%; }
.menu-toggle .grid4 i:nth-child(2) { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.menu-toggle .grid4 i:nth-child(4) { border-radius: 8px 8px 0 0; height: 5px; align-self: end; }
@media (min-width: 1140px) {
  .main-nav, .header-actions { display: flex; }
  .menu-toggle { display: none; }
  .main-nav { margin-left: auto; }
}
@media (max-width: 420px) { .brand img { height: 42px; } :root { --header-h: 68px; } }

/* status pill */
.status-pill { display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; font-weight: 700; color: var(--cocoa); }
.status-pill .dot { width: .7rem; height: .7rem; border-radius: 50%; background: var(--cocoa-2); border: 2px solid var(--cocoa); flex: none; }
.status-pill.is-open .dot { background: var(--pistachio); }
.status-pill.is-closed .dot { background: var(--peach); }

/* ---------- mobile drawer of icon tiles ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; display: none; }
.drawer.is-open { display: block; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(46, 36, 36, .45); }
.drawer-panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); background: var(--ground); overflow-y: auto; overscroll-behavior: contain;
  padding: 1rem 1rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; box-shadow: -20px 0 40px -20px rgba(46, 36, 36, .5);
}
@media (prefers-reduced-motion: no-preference) {
  .drawer.is-open .drawer-panel { animation: drawer-in .38s var(--ease-out); }
  .drawer.is-open .drawer-scrim { animation: fade-in .3s ease-out; }
}
@keyframes drawer-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.drawer-top { display: flex; align-items: center; justify-content: space-between; }
.drawer-top img { height: 42px; width: auto; }
.drawer-close { min-height: 46px; padding: .4rem 1rem; border-radius: var(--r-tab); border: 2px solid var(--cocoa); background: var(--cotton); font-weight: 700; cursor: pointer; }
.tile-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 1.6rem; min-height: 118px; padding: 1rem;
  border-radius: 18px; background: var(--tile-bg, var(--cotton)); text-decoration: none; color: var(--cocoa); font-weight: 700; font-size: 1.1rem;
  box-shadow: var(--felt-shadow);
}
.tile .snap { position: absolute; right: 14px; bottom: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--cotton); box-shadow: inset 0 0 0 2px var(--cocoa); }
.tile::after { content: ""; position: absolute; inset: 5px; border: 1.5px dashed var(--stitch); border-radius: 13px; pointer-events: none; }
.tile .shape { width: 2.1rem; height: 2.1rem; --shape-fill: var(--cotton); }
.tile[aria-current="page"] .shape { --shape-fill: var(--cocoa); }
.tile[aria-current="page"]::before { content: "You are here"; position: absolute; right: .9rem; top: .9rem; font-size: .72rem; font-weight: 700; }
.tile-peach { --tile-bg: var(--peach); } .tile-pistachio { --tile-bg: var(--pistachio); } .tile-lilac { --tile-bg: var(--lilac); } .tile-sky { --tile-bg: var(--sky); } .tile-cotton { --tile-bg: var(--cotton); }
.tile-wide { grid-column: 1 / -1; min-height: 86px; flex-direction: row; align-items: center; }
.drawer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.drawer-actions .btn { width: 100%; }
.drawer-meta { font-size: .92rem; color: var(--cocoa-2); }

/* ---------- hero: the shape sorter ---------- */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(56px, 7vw, 96px); }
.hero h1 { margin-bottom: .35em; }
.hero .lead { margin-bottom: 1.4rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; align-items: center; margin-top: 1.4rem; font-size: .95rem; }
.review-chip { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; text-decoration: none; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 16px; height: 16px; }
.stars path { fill: var(--cocoa); }

.sorter { position: relative; }
.sorter-board {
  position: relative; aspect-ratio: 1.08 / 1; width: 100%; max-width: 640px; margin-inline: auto;
  background: var(--pistachio-soft); border-radius: 36px; box-shadow: var(--felt-shadow);
}
.sorter-board::after { content: ""; position: absolute; inset: 10px; border: 2px dashed var(--stitch); border-radius: 28px; pointer-events: none; }
.piece {
  position: absolute; border: 0; padding: 0; margin: 0; background: none; cursor: pointer; z-index: 2;
  filter: drop-shadow(0 12px 14px rgba(59, 47, 47, .22));
  transition: transform .45s var(--ease-out), filter .3s;
}
.piece svg { width: 100%; height: 100%; display: block; overflow: visible; }
.piece .felt { fill-opacity: .68; transition: fill-opacity .35s var(--ease-out); }
.piece:hover .felt, .piece:focus-visible .felt { fill-opacity: .85; }
.piece[aria-pressed="true"] .felt { fill-opacity: 1; }
.piece .seam { fill: none; stroke: var(--stitch); stroke-width: 2.2; stroke-dasharray: 7 6; stroke-linecap: round; }
.piece .hole { fill: none; stroke: var(--cocoa); stroke-width: 2.4; stroke-dasharray: 3 7; stroke-linecap: round; opacity: 0; transition: opacity .3s; }
.piece:hover { transform: translateY(-4px) rotate(-2deg); }
.piece[aria-pressed="true"] { filter: drop-shadow(0 18px 18px rgba(59, 47, 47, .3)); }
.piece[aria-pressed="true"] .hole { opacity: .9; }
.piece .piece-label {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: -1.9rem; white-space: nowrap; font-weight: 700; font-size: .88rem;
  background: var(--cotton); padding: .1rem .6rem; border-radius: 999px; box-shadow: 0 0 0 1.5px rgba(59, 47, 47, .18);
}
.piece[aria-pressed="true"] .piece-label { background: var(--cocoa); color: var(--ground); }
.piece-photo { left: 6%; top: 8%; width: 58%; aspect-ratio: 1; border-radius: 50%; }
.piece-photo .photo-ring { position: absolute; inset: 0; border-radius: 50%; background: rgba(246, 184, 154, .68); padding: 12px; transition: background-color .35s var(--ease-out); }
.piece-photo[aria-pressed="true"] .photo-ring { background: var(--peach); }
.piece-photo .photo-ring::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 2px dashed var(--stitch); }
.piece-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.piece-photo .piece-label { bottom: 2%; }
.piece-tri { right: 7%; top: 7%; width: 30%; aspect-ratio: 1 / .9; }
.piece-sq { right: 9%; top: 47%; width: 25%; aspect-ratio: 1; }
.piece-semi { left: 30%; bottom: 7%; width: 34%; aspect-ratio: 2 / 1.08; }
.piece-semi .piece-label { bottom: -1.7rem; }
@media (prefers-reduced-motion: no-preference) {
  .piece.just-placed { animation: settle .55s var(--ease-out); }
}
@keyframes settle { 0% { transform: translateY(-14px) rotate(-5deg); } 60% { transform: translateY(2px) rotate(1deg); } 100% { transform: none; } }
.idea-tag {
  position: relative; margin: 2.6rem auto 0; max-width: 640px; background: var(--cotton); border-radius: 18px; padding: 1.1rem 1.25rem 1.1rem 1.25rem;
  box-shadow: var(--felt-shadow); min-height: 9.5rem;
}
.idea-tag::after { content: ""; position: absolute; inset: 6px; border: 1.5px dashed rgba(59, 47, 47, .25); border-radius: 13px; pointer-events: none; }
.idea-tag h2 { font-size: 1.35rem; margin-bottom: .3rem; display: flex; align-items: center; gap: .5rem; }
.idea-tag h2 .shape { width: 1.3rem; height: 1.3rem; --shape-fill: var(--shape-on); }
.idea-tag p { margin-bottom: .4rem; }
.idea-tag .small { margin: 0; }
@media (prefers-reduced-motion: no-preference) { .idea-tag.swap .idea-body { animation: drop-in .4s var(--ease-out); } }
@keyframes drop-in { from { transform: translateY(-6px); opacity: .2; } to { transform: none; opacity: 1; } }
@media (max-width: 991.98px) {
  .sorter { margin-top: 1rem; }
}
@media (min-width: 992px) {
  .sorter-board, .idea-tag { max-width: min(600px, calc((100vh - var(--header-h) - 230px) * 1.08)); }
  .idea-tag { margin-top: 2.4rem; min-height: 0; }
  .hero { padding-top: clamp(20px, 3vw, 40px); }
}
@media (max-width: 575.98px) {
  .sorter-board { border-radius: 26px; }
  .piece .piece-label { font-size: .78rem; bottom: -1.6rem; }
  .idea-tag { margin-top: 2.2rem; }
}

/* ---------- reviews quilt ---------- */
.quilt { display: grid; gap: 1.25rem; }
@media (min-width: 992px) { .quilt { grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; } .quilt .q-main { grid-row: 1 / 3; } }
.q {
  position: relative; margin: 0; border-radius: var(--r-felt); padding: 1.6rem 1.6rem 1.4rem; background: var(--q-bg, var(--peach-soft)); box-shadow: var(--felt-shadow);
}
.q::after { content: ""; position: absolute; inset: 7px; border: 1.5px dashed var(--stitch); border-radius: 16px; pointer-events: none; }
.q blockquote { margin: 0 0 1rem; font-family: var(--display); font-weight: 500; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.45; }
.q-main blockquote { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.85rem); }
.q figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; font-weight: 700; font-size: .95rem; }
.q-2 { --q-bg: var(--sky-soft); } .q-3 { --q-bg: var(--lilac-soft); }
.review-summary { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; margin-top: 1.5rem; }

/* ---------- practical life flip cards ---------- */
.tray { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 992px) { .tray { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
@media (max-width: 575.98px) {
  .tray { grid-auto-flow: column; grid-auto-columns: 78%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .8rem; margin-inline: -12px; padding-inline: 12px; scroll-padding-inline: 12px; scrollbar-width: thin; }
  .tray > li { scroll-snap-align: start; }
}
.flip { position: relative; perspective: 1200px; height: 100%; }
.flip-inner { position: relative; display: grid; height: 100%; transition: transform .6s var(--ease-out); transform-style: preserve-3d; }
.flip.is-flipped .flip-inner { transform: rotateY(180deg); }
.flip-face {
  grid-area: 1 / 1; border-radius: var(--r-felt); overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: var(--cotton); box-shadow: var(--felt-shadow); display: flex; flex-direction: column; min-height: 100%;
}
.flip-front img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; height: auto; }
.flip-front .flip-cap { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.flip-front h3 { margin: 0; }
.flip-back { transform: rotateY(180deg); background: var(--face-bg, var(--pistachio)); padding: 1.3rem 1.2rem 1.1rem; position: relative; }
.flip-back::after { content: ""; position: absolute; inset: 7px; border: 1.5px dashed var(--stitch); border-radius: 16px; pointer-events: none; }
.flip-back h3 { margin-bottom: .6rem; }
.flip-back ul { margin: 0 0 1rem; padding-left: 1.1rem; }
.flip-back li { margin-bottom: .35rem; }
.flip-back .btn { margin-top: auto; align-self: flex-start; }
.flip-btn { align-self: flex-start; }
.flip.is-flipped .flip-front { visibility: hidden; transition: visibility 0s .3s; }
.flip:not(.is-flipped) .flip-back { visibility: hidden; transition: visibility 0s .3s; }
@media (prefers-reduced-motion: reduce) { .flip-inner { transition: none; } .flip.is-flipped .flip-inner { transform: none; } .flip-back { transform: none; } }

/* ---------- Montessori, simply explained ---------- */
.compare { display: grid; gap: 0; border-radius: var(--r-felt); overflow: hidden; box-shadow: var(--felt-shadow); background: var(--cotton); }
.compare-row { display: grid; grid-template-columns: 1fr; border-top: 1.5px dashed rgba(59, 47, 47, .2); }
.compare-row:first-child { border-top: 0; }
.compare-head { display: none; background: var(--cocoa); color: var(--ground); font-weight: 700; }
.compare-row > * { padding: 1rem 1.2rem; margin: 0; }
.compare-q { font-family: var(--display); font-weight: 700; font-size: 1.1rem; background: var(--lilac-soft); }
.compare-a { position: relative; }
.compare-a b { display: block; font-size: .85rem; color: var(--cocoa-2); margin-bottom: .1rem; }
.compare-a.m { background: var(--pistachio-soft); }
@media (min-width: 768px) {
  .compare-row { grid-template-columns: .8fr 1.1fr 1.1fr; }
  .compare-head { display: grid; }
  .compare-a b { display: none; }
}
.compare-head > * { padding: .9rem 1.2rem; }

/* ---------- visit checklist ---------- */
.checklist-wrap { display: grid; gap: 1.5rem; }
@media (min-width: 992px) { .checklist-wrap { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.check {
  position: relative; display: flex; gap: .85rem; align-items: flex-start; padding: .85rem 1rem; border-radius: 16px; background: var(--cotton);
  box-shadow: 0 0 0 1.5px rgba(59, 47, 47, .12); cursor: pointer; transition: background-color .25s;
}
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .box {
  flex: none; width: 28px; height: 28px; margin-top: .05rem; border-radius: 8px; border: 2px dashed var(--cocoa); background: var(--cotton); display: grid; place-items: center;
  transition: background-color .25s, border-style .25s;
}
.check .box svg { width: 16px; height: 16px; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .3s var(--ease-out); }
.check input:checked + .box { background: var(--pistachio); border-style: solid; }
.check input:checked + .box svg { opacity: 1; transform: none; }
.check input:focus-visible + .box { outline: 3px solid var(--cocoa); outline-offset: 3px; }
.check:has(input:checked) { background: var(--pistachio-soft); }
.check .why { display: block; font-size: .9rem; color: var(--cocoa-2); }
.check-group-title { font-family: var(--display); font-weight: 700; font-size: 1.15rem; margin: 1.2rem 0 .5rem; }
.check-group-title:first-child { margin-top: 0; }
.share-card { position: sticky; top: calc(var(--header-h) + 16px); background: var(--lilac-soft); border-radius: var(--r-felt); padding: 1.4rem; box-shadow: var(--felt-shadow); }
.share-card::after { content: ""; position: absolute; inset: 7px; border: 1.5px dashed var(--stitch); border-radius: 16px; pointer-events: none; }
.share-card > * { position: relative; z-index: 1; }
.progress-line { font-weight: 700; margin-bottom: .6rem; }
.progress-track { height: 12px; border-radius: 999px; background: var(--cotton); box-shadow: inset 0 0 0 1.5px rgba(59, 47, 47, .2); overflow: hidden; margin-bottom: 1rem; }
.progress-fill { height: 100%; width: 0; background: var(--pistachio); box-shadow: inset -2px 0 0 var(--cocoa); transition: width .4s var(--ease-out); }
.msg-preview { background: var(--cotton); border-radius: 14px; padding: .8rem 1rem; font-size: .9rem; white-space: pre-line; max-height: 13rem; overflow: auto; margin-bottom: 1rem; box-shadow: inset 0 0 0 1.5px rgba(59, 47, 47, .14); }
.share-card .btn { width: 100%; margin-bottom: .6rem; }
.linkish { background: none; border: 0; padding: .3rem 0; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }

/* ---------- facts ledger ---------- */
.ledger { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .ledger { grid-template-columns: 1fr 1fr; } }
.ledger-col { border-radius: var(--r-felt); padding: 1.4rem; position: relative; }
.ledger-col h3 { display: flex; align-items: center; gap: .5rem; }
.ledger-col ul { list-style: none; margin: 0; padding: 0; }
.ledger-col li { padding: .65rem 0; border-top: 1.5px solid rgba(59, 47, 47, .12); }
.ledger-col li:first-child { border-top: 0; }
.ledger-col li span { display: block; font-size: .88rem; color: var(--cocoa-2); }
.ledger-ok { background: var(--pistachio-soft); box-shadow: var(--felt-shadow); }
.ledger-ok::after { content: ""; position: absolute; inset: 7px; border: 1.5px dashed var(--stitch); border-radius: 16px; pointer-events: none; }
.ledger-todo { background: var(--cotton); border: 2px dashed rgba(59, 47, 47, .55); }
.ledger-todo li { border-top-style: dashed; }

/* ---------- visit band ---------- */
.visit { display: grid; gap: 1.5rem; }
@media (min-width: 992px) { .visit { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.visit-card { background: var(--cocoa); color: var(--ground); border-radius: var(--r-felt); padding: 1.5rem; }
.visit-card h3 { color: var(--ground); }
.visit-card .status-pill { color: var(--ground); }
.visit-card .status-pill .dot { border-color: var(--ground); }
.visit-card .muted { color: #E9DCD3; }
.visit-card :focus-visible { outline-color: var(--peach); }
.band-visit { background: var(--pistachio-soft); border-top: 2px dashed var(--stitch); }
.addr { font-style: normal; font-size: 1.1rem; margin-bottom: .5rem; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: .45rem .2rem; border-top: 1px dashed rgba(255, 249, 243, .25); font-weight: 400; }
.hours tr:first-child th, .hours tr:first-child td { border-top: 0; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; }
.hours tr.is-today th::after { content: " (today)"; font-weight: 400; }
.light .hours th, .light .hours td { border-top-color: rgba(59, 47, 47, .18); }
.band-cocoa .status-pill { color: var(--ground); }
.band-cocoa .status-pill .dot { border-color: var(--ground); }
.band-cocoa .muted { color: #E9DCD3; }
.band-cocoa .btn-peach, .band-cocoa .btn-sky, .band-cocoa .btn-pistachio, .band-cocoa .btn-lilac { --btn-bg: var(--lilac); --btn-fg: var(--cocoa); --btn-stitch: var(--stitch); }
.btn-cotton { color: var(--cocoa); }

/* map */
.map-box { border-radius: var(--r-felt); overflow: hidden; background: var(--sky-soft); position: relative; min-height: 300px; box-shadow: var(--felt-shadow); }
.map-box iframe { width: 100%; height: 360px; border: 0; display: block; }
.map-fallback { padding: 1.4rem; display: flex; flex-direction: column; gap: .8rem; min-height: 300px; justify-content: center; position: relative; }
.map-fallback::after { content: ""; position: absolute; inset: 8px; border: 1.5px dashed var(--stitch); border-radius: 16px; pointer-events: none; }
.map-fallback > * { position: relative; z-index: 1; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(36px, 6vw, 80px) clamp(32px, 5vw, 64px); position: relative; }
.page-hero .crumbs { font-size: .9rem; margin-bottom: 1rem; color: var(--cocoa-2); }
.page-hero .crumbs a { color: var(--cocoa-2); }
.page-hero .crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.page-hero .crumbs li + li::before { content: "/"; margin-right: .4rem; }
.page-hero-grid { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 992px) { .page-hero-grid { grid-template-columns: 1.4fr 1fr; } }
.felt-badge { justify-self: center; width: min(280px, 70vw); aspect-ratio: 1; position: relative; }
.felt-badge .badge-text { position: absolute; inset: 22% 18%; display: grid; place-content: center; text-align: center; font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 1rem + .8vw, 1.6rem); line-height: 1.2; color: var(--cocoa); margin: 0; }
.felt-badge .badge-text small { display: block; font-family: var(--body); font-weight: 700; font-size: 1rem; margin-top: .4rem; }
.felt-badge .badge-text a { position: relative; z-index: 1; }
.felt-badge.b-triangle .badge-text { inset: 42% 22% 10%; }
.felt-badge.b-semi { aspect-ratio: 2 / 1.1; }
.felt-badge.b-semi .badge-text { inset: 30% 18% 6%; }
.felt-badge svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 16px 18px rgba(59, 47, 47, .22)); }
.seam, .felt-badge .seam { fill: none; stroke: var(--stitch); stroke-width: 2.2; stroke-dasharray: 7 6; stroke-linecap: round; }
@media (max-width: 991.98px) { .felt-badge { width: 170px; justify-self: start; } .felt-badge .badge-text { font-size: 1.05rem; } .felt-badge .badge-text small { font-size: .88rem; } .felt-badge.b-semi { width: 220px; } }

/* ---------- inner page components ---------- */
.topic-cloud { display: flex; flex-wrap: wrap; gap: .7rem; list-style: none; margin: 0; padding: 0; }
.topic { position: relative; display: inline-flex; align-items: baseline; gap: .5rem; padding: .65rem 1.05rem; border-radius: 16px; background: var(--t-bg, var(--peach-soft)); box-shadow: var(--felt-shadow); font-weight: 700; }
.topic::after { content: ""; position: absolute; inset: 4px; border: 1.5px dashed var(--stitch); border-radius: 12px; pointer-events: none; }
.topic b { font-family: var(--display); font-size: 1.35rem; }
.topic.t-xl { font-size: 1.25rem; padding: .9rem 1.4rem; }
.topic.t-l { font-size: 1.1rem; }
.topic:nth-child(4n+2) { --t-bg: var(--sky-soft); } .topic:nth-child(4n+3) { --t-bg: var(--lilac-soft); } .topic:nth-child(4n+4) { --t-bg: var(--pistachio-soft); }

.stack-rows { display: grid; gap: clamp(40px, 6vw, 80px); }
.area-row .area-photo { position: relative; }
.area-row .area-photo img { border-radius: 30px; box-shadow: var(--felt-shadow); width: 100%; height: auto; }
.area-row .area-photo .piece-cut { position: absolute; width: 22%; aspect-ratio: 1; right: -10px; bottom: -14px; filter: drop-shadow(0 10px 12px rgba(59, 47, 47, .22)); }
.area-row .area-photo .piece-cut svg { width: 100%; height: 100%; overflow: visible; }
.area-row h3 { display: flex; align-items: center; gap: .55rem; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); }
.area-row h3 .shape { width: 1.4rem; height: 1.4rem; --shape-fill: var(--shape-on); }
.area-row ul { padding-left: 1.2rem; }

.age-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--cotton); border-radius: var(--r-felt); overflow: hidden; box-shadow: var(--felt-shadow); font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; border-radius: var(--r-felt); padding-bottom: 4px; }
@media (max-width: 575.98px) { .age-table th, .age-table td { padding: .7rem .65rem; font-size: .95rem; } .age-table .tag-confirm { white-space: normal; } }
.age-table caption { caption-side: bottom; text-align: left; padding-top: .8rem; font-size: .9rem; color: var(--cocoa-2); }
.age-table th, .age-table td { text-align: left; padding: .9rem 1.1rem; border-top: 1.5px dashed rgba(59, 47, 47, .18); vertical-align: top; }
.age-table thead th { background: var(--cocoa); color: var(--ground); border-top: 0; }
.age-table tbody th { font-family: var(--display); font-size: 1.1rem; }
.age-table tbody tr:nth-child(odd) { background: var(--sky-soft); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 992px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { position: relative; border-radius: var(--r-felt); padding: 1.3rem 1.2rem 1.2rem; background: var(--s-bg, var(--peach-soft)); box-shadow: var(--felt-shadow); counter-increment: step; }
.steps li::after { content: ""; position: absolute; inset: 7px; border: 1.5px dashed var(--stitch); border-radius: 16px; pointer-events: none; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--cocoa); color: var(--ground); font-family: var(--display); font-weight: 700; font-size: 1.2rem; margin-bottom: .8rem; }
.steps li:nth-child(2) { --s-bg: var(--pistachio-soft); } .steps li:nth-child(3) { --s-bg: var(--lilac-soft); } .steps li:nth-child(4) { --s-bg: var(--sky-soft); }
.steps h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.steps p { margin: 0; font-size: .98rem; }

.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
@media (min-width: 768px) { .doc-list { grid-template-columns: 1fr 1fr; } }
.doc-list li { display: flex; gap: .6rem; align-items: flex-start; padding: .75rem .9rem; border-radius: 14px; background: var(--cotton); box-shadow: 0 0 0 1.5px rgba(59, 47, 47, .12); }
.doc-list .shape { margin-top: .25rem; --shape-fill: var(--shape-on); }

.faq { display: grid; gap: .7rem; }
.faq details { background: var(--cotton); border-radius: 16px; box-shadow: 0 0 0 1.5px rgba(59, 47, 47, .14); }
.faq summary { list-style: none; cursor: pointer; padding: 1rem 3rem 1rem 1.1rem; font-weight: 700; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 1.1rem; top: 50%; width: 1rem; height: 1rem; margin-top: -.5rem; background: var(--lilac); border: 2px solid var(--cocoa); border-radius: 3px; transition: border-radius .3s var(--ease-out), background-color .3s; }
.faq details[open] summary::after { border-radius: 50%; background: var(--pistachio); }
.faq .faq-a { padding: 0 1.1rem 1.1rem; }
.faq .faq-a p:last-child { margin-bottom: 0; }

.expect { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
@media (min-width: 768px) { .expect { grid-template-columns: 1fr 1fr; } }

.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 992px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; } .gallery .g-tall { grid-row: span 2; } .gallery .g-wide { grid-column: span 2; } .gallery .g-big { grid-column: span 2; grid-row: span 2; } }
.gallery button { border: 0; padding: 0; background: none; cursor: zoom-in; border-radius: 22px; overflow: hidden; display: block; width: 100%; height: 100%; box-shadow: var(--felt-shadow); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; transition: transform .5s var(--ease-out); }
@media (min-width: 992px) { .gallery img { aspect-ratio: auto; } }
.gallery button:hover img { transform: scale(1.03); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(46, 36, 36, .82); }
.lightbox figure { margin: 0; background: var(--ground); border-radius: 22px; overflow: hidden; }
.lightbox img { max-height: 74vh; width: auto; max-width: 100%; margin-inline: auto; }
.lightbox figcaption { padding: .8rem 1rem; display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: space-between; }
.lightbox .lb-controls { display: flex; gap: .5rem; }

.notices { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.notice { position: relative; background: var(--cotton); border-radius: 18px; padding: 1.1rem 1.2rem; box-shadow: 0 0 0 1.5px rgba(59, 47, 47, .12); }
.notice .tag-confirm { margin-bottom: .4rem; }
.notice h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.notice p { margin: 0; }

.contact-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.contact-rows li { display: grid; grid-template-columns: 2.6rem 1fr; gap: .8rem; align-items: start; background: var(--cotton); border-radius: 18px; padding: 1rem; box-shadow: 0 0 0 1.5px rgba(59, 47, 47, .12); }
.contact-rows .ci { width: 2.6rem; height: 2.6rem; border-radius: 12px; display: grid; place-items: center; background: var(--ci-bg, var(--peach)); }
.contact-rows .ci svg { width: 1.3rem; height: 1.3rem; }
.contact-rows b { display: block; }
.contact-rows p { margin: 0; }

/* ---------- enquiry form ---------- */
.form-card { position: relative; background: var(--cotton); border-radius: var(--r-felt); padding: clamp(1.2rem, 3vw, 2rem); box-shadow: var(--felt-shadow); color: var(--cocoa); }
.form-card a { color: var(--cocoa); }
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 768px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 700; margin-bottom: .3rem; }
.field .opt { font-weight: 400; color: var(--cocoa-2); font-size: .9rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .7rem .9rem; border-radius: 12px; border: 2px solid rgba(59, 47, 47, .35); background: var(--ground);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cocoa); box-shadow: 0 0 0 4px var(--lilac); }
.field input::placeholder, .field textarea::placeholder { color: #7A6863; }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 3px rgba(163, 49, 31, .15); }
.field .hint { font-size: .88rem; color: var(--cocoa-2); margin-top: .25rem; }
.field .err { font-size: .9rem; color: var(--error); font-weight: 700; margin-top: .3rem; min-height: 0; }
.field .err:empty { display: none; }
.form-status { margin-top: 1rem; border-radius: 14px; padding: 0; font-weight: 700; }
.form-status:not(:empty) { padding: .9rem 1rem; }
.form-status.is-ok { background: var(--pistachio-soft); color: var(--ok); }
.form-status.is-error { background: var(--peach-soft); color: var(--error); }
.form-status.is-busy { background: var(--sky-soft); }
.form-foot { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1.2rem; }
.honey { position: absolute !important; left: -9999px; }

/* ---------- footer ---------- */
.site-footer { background: var(--cocoa); color: var(--ground); padding-block: clamp(48px, 6vw, 80px) 28px; }
.site-footer a { color: var(--ground); text-decoration-color: rgba(255, 249, 243, .45); }
.site-footer .foot-logo { height: 56px; width: auto; margin-bottom: 1rem; }
.site-footer h2 { font-size: 1.2rem; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.site-footer .fine { border-top: 1.5px dashed rgba(255, 249, 243, .25); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .88rem; color: #E9DCD3; }
.site-footer .fine p { max-width: none; margin-bottom: .4rem; }
.foot-hindi { font-family: var(--hindi); color: #E9DCD3; }

/* mobile action bar */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--cocoa); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); gap: 6px; }
.action-bar a { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 48px; border-radius: 12px; color: var(--cocoa); text-decoration: none; font-weight: 700; font-size: .95rem; }
.action-bar a:nth-child(1) { background: var(--peach); } .action-bar a:nth-child(2) { background: var(--pistachio); } .action-bar a:nth-child(3) { background: var(--sky); }
.action-bar svg { width: 1.1rem; height: 1.1rem; }
@media (min-width: 1140px) { .action-bar { display: none; } }
@media (max-width: 1139.98px) { body { padding-bottom: 64px; } }

/* thank-you / 404 */
.simple-page { min-height: 60vh; display: grid; align-items: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .piece:hover, .btn:hover { transform: none; }
}

@media print {
  .site-header, .action-bar, .site-footer, .drawer { display: none !important; }
}
