/* ==========================================================================
   Theme v2 — "school notebook" look: paper-white pages, rounded cards, coral accent,
   hand-drawn doodle icons, scribble underlines, a different layout per page.
   Loaded AFTER style.css. The header/menu rules in style.css are NOT changed.
   Switch heading font in one line:  --font-display: "Lora", Georgia, serif;
   ========================================================================== */
:root {
  --paper: #f3f8f2;
  --coral: #d6336c;
  --coral-700: #b02558;
  --coral-soft: #fdeaf1;
  --font-display: "Poppins", system-ui, sans-serif;
  --card-r: 22px;
}
body { background: #fff; }
h1, h2 { font-family: var(--font-display); }
h2 { font-weight: 600; letter-spacing: -.01em; }

/* keep the header exactly as it was (orange call-to-action) */
.header-cta, .drawer__foot .btn--primary { background: var(--orange); color: var(--ink); box-shadow: 0 8px 20px -8px rgba(247, 191, 40, .8); }
.header-cta:hover, .drawer__foot .btn--primary:hover { background: #ffcd45; color: var(--ink); }

/* ---------- Buttons: coral primary, soft secondary ---------- */
.btn--primary { background: var(--coral); color: #fff; box-shadow: 0 10px 22px -10px rgba(214, 51, 108, .8); }
.btn--primary:hover { background: var(--coral-700); color: #fff; }
.btn--soft { background: var(--coral-soft); color: var(--coral-700); }
.btn--soft:hover { background: var(--coral); color: #fff; }
.btn--blue { background: var(--blue-900); }
.btn--outline { color: var(--blue-900); }
.hero .btn--primary { background: var(--coral); color: #fff; }

/* ---------- Doodles & decorations ---------- */
.doodle { width: 56px; height: 56px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; color: var(--coral); flex: none; }
.doodle--sm { width: 34px; height: 34px; }
.doodle--lg { width: 84px; height: 84px; }
.doodle--blue { color: var(--blue); }
.doodle--white { color: #fff; }
.deco { position: absolute; pointer-events: none; opacity: .9; }
.deco--tilt { transform: rotate(-12deg); }
.deco--tilt2 { transform: rotate(14deg); }
@media (max-width: 899px) { .deco { display: none; } }
.scribble { position: relative; display: inline-block; white-space: nowrap; }
.scribble::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: -.28em; height: .42em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M3 16C45 6 110 4 197 11' fill='none' stroke='%23d6336c' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M20 21C70 14 130 14 178 18' fill='none' stroke='%23d6336c' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.hero .scribble::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M3 16C45 6 110 4 197 11' fill='none' stroke='%23f7bf28' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M20 21C70 14 130 14 178 18' fill='none' stroke='%23f7bf28' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); }
.coral { color: var(--coral); }
.has-deco { position: relative; overflow: hidden; }
.has-deco::after { content: ""; position: absolute; right: -14px; top: -14px; width: 74px; height: 74px; border-radius: 16px; background: var(--coral-soft); box-shadow: -40px 40px 0 -10px #fff0f5; pointer-events: none; z-index: 0; }
.has-deco > * { position: relative; z-index: 1; }
.grid-bg { background-image: linear-gradient(rgba(15, 42, 23, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 42, 23, .045) 1px, transparent 1px); background-size: 44px 44px; }

.kicker { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-body); font-weight: 500; font-size: .95rem; color: var(--muted); margin: 0 0 .7rem; }
.kicker .doodle { width: 28px; height: 28px; }
.section--paper { background: var(--paper); }
.section--tint { background: var(--paper); }
.sec-head { max-width: 780px; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .kicker { justify-content: center; }
.sec-head h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); line-height: 1.15; }
.sec-head .lead { margin-bottom: 0; }

/* ---------- Hero add-ons ---------- */
.hero h1 { font-weight: 700; }
.hero__lead { display: none; }
@media (min-width: 1080px) {
  .hero__lead { display: block; position: absolute; z-index: 5; right: max(var(--gutter), calc((100vw - var(--container)) / 2)); bottom: 6.6rem; width: 340px; background: #fff; border-radius: 22px; padding: 1.4rem 1.4rem 1.2rem; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); color: var(--text); }
  .hero__lead h2 { font-size: 1.15rem; margin-bottom: .2rem; }
  .hero__lead p { color: var(--muted); font-size: .88rem; margin: 0 0 .8rem; }
  .hero__lead .field label { font-size: .8rem; }
  .hero__lead .field input, .hero__lead .field select { min-height: 42px; padding: .45rem .75rem; font-size: .95rem; }
  .hero__lead .form-grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .hero__lead .form-grid .full { grid-column: 1 / -1; }
  .hero__lead .form-status { font-size: .85rem; padding: .6rem .8rem; }
  .hero__ctrl { justify-content: flex-start; gap: 1.4rem; }
  .hero .deco--hero1 { right: 29%; top: 18%; }
  .hero .deco--hero2 { right: 14%; top: 14%; }
}
.hero .deco { z-index: 3; color: #ffe08a; }
@media (min-width: 900px) { .hero .deco--hero1 { right: 33%; top: 22%; } .hero .deco--hero2 { right: 18%; top: 17%; } .hero .deco--hero3 { right: 9%; top: 30%; } }

/* ---------- Fact cards (under hero) ---------- */
.facts__grid { background: transparent; box-shadow: none; gap: 1rem; border-radius: 0; overflow: visible; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; }
.fact .doodle { width: 44px; height: 44px; }
.fact:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }

/* ---------- Cards (global refresh) ---------- */
.card { border-radius: var(--card-r); }
.card:hover { transform: translateY(-5px); }
.card__icon { background: var(--coral-soft); color: var(--coral); width: 64px; height: 64px; border-radius: 20px; }
.card__icon .doodle { width: 40px; height: 40px; }
.card:hover .card__icon { background: var(--coral); color: #fff; transform: rotate(-6deg); }
.card--accent, .card--blue, .card--red { border-top: 1px solid var(--line); }

/* ---------- Welcome (split with deco) ---------- */
.welcome-photo { position: relative; }
.welcome-photo img { border-radius: 28px; aspect-ratio: 5 / 4; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.welcome-photo::before { content: ""; position: absolute; width: 130px; height: 130px; border-radius: 26px; background: var(--coral-soft); left: -22px; bottom: -22px; z-index: -1; box-shadow: 150px -330px 0 -20px #fff0f5; }
.welcome-photo .tag { position: absolute; right: -10px; top: 24px; background: #fff; border-radius: 16px; padding: .7rem 1rem; box-shadow: var(--shadow); font-weight: 500; font-size: .9rem; display: flex; gap: .6rem; align-items: center; }
.welcome-photo .tag b { color: var(--coral); font-family: var(--font-head); font-size: 1.3rem; }

/* ---------- Stat cards with photo (Why choose) ---------- */
.stat-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-card { display: flex; gap: 1.1rem; align-items: center; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--card-r); }
.stat-card img { width: 116px; height: 116px; border-radius: 16px; object-fit: cover; flex: none; }
.stat-card b { display: block; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.9rem, 4vw, 2.5rem); color: var(--ink); line-height: 1.1; }
.stat-card span { color: var(--muted); font-size: .95rem; line-height: 1.4; display: block; margin-top: .3rem; }
@media (max-width: 420px) { .stat-card img { width: 84px; height: 84px; } }

.why-list { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin-top: 2.2rem; }
.why-item { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 1.2rem; border-radius: 18px; background: #fff; border: 1px dashed #d9c3cb; }
.why-item .doodle { width: 42px; height: 42px; margin-top: .1rem; }
.why-item h3 { font-family: var(--font-body); font-weight: 500; font-size: 1.04rem; margin: 0 0 .2rem; }
.why-item p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.55; }

/* ---------- Learning tabs (accordion + image) ---------- */
.learn { display: grid; gap: 1.6rem; background: #fff; border-radius: 28px; padding: clamp(1.2rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
@media (min-width: 900px) { .learn { grid-template-columns: 1fr 1.05fr; align-items: center; } }
.learn__item { border-bottom: 1px solid var(--line); }
.learn__btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left; background: none; border: 0; padding: 1rem 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--ink); min-height: 56px; }
.learn__btn::after { content: "+"; color: var(--coral); font-size: 1.6rem; font-weight: 400; line-height: 1; }
.learn__item.is-open .learn__btn { color: var(--coral); }
.learn__item.is-open .learn__btn::after { content: "–"; }
.learn__panel { display: none; padding: 0 0 1.1rem; color: var(--muted); }
.learn__item.is-open .learn__panel { display: block; }
.learn__bar { height: 3px; background: var(--line); border-radius: 3px; margin-top: .8rem; overflow: hidden; }
.learn__bar i { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, var(--coral), #f7bf28); border-radius: 3px; }
.learn__img { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper); }
.learn__img img { width: 100%; height: 100%; object-fit: cover; animation: fade .5s; }

/* ---------- About (home) numbered grid ---------- */
.num-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
.num-card { display: flex; gap: 1.2rem; padding: 1.5rem; background: #fff; border-radius: var(--card-r); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.num-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.num-card .n { font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--coral-soft); -webkit-text-stroke: 1.5px var(--coral); }
.num-card h3 { font-family: var(--font-body); font-weight: 500; margin: 0 0 .35rem; font-size: 1.12rem; }
.num-card p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Beliefs ---------- */
.belief { border-top: 0; border: 1px solid var(--line); border-radius: var(--card-r); box-shadow: none; position: relative; }
.belief .doodle { width: 46px; height: 46px; margin-bottom: .6rem; }
.belief:nth-child(even) .doodle { color: var(--blue); }

/* ---------- Founder (home) ---------- */
.founder { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .founder { grid-template-columns: 1.1fr .9fr; } }
.founder h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.05; }
.founder .name { color: var(--coral); font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 3vw, 2.2rem); }
.founder blockquote { margin: 1.4rem 0; font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: var(--ink); line-height: 1.5; font-weight: 400; }
.founder blockquote b { color: var(--coral); font-weight: 500; }
.founder__img { position: relative; justify-self: center; }
.founder__img::before { content: ""; position: absolute; inset: 8% -6% -4% -6%; border-radius: 50% 50% 30% 30%; background: var(--coral-soft); z-index: 0; }
.founder__img img { position: relative; z-index: 1; width: min(340px, 78vw); aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: 28px; box-shadow: var(--shadow); }
.sec-card { margin-top: 2.4rem; display: grid; gap: 1.4rem; background: var(--paper); border-radius: var(--card-r); padding: clamp(1.3rem, 3vw, 2rem); align-items: center; }
@media (min-width: 800px) { .sec-card { grid-template-columns: auto 1fr auto; } }

/* ---------- School life / events / docs refresh ---------- */
.event-card { border-radius: var(--card-r); }
.event-card__date { background: var(--coral); color: #fff; }
.chip[aria-pressed="true"] { background: var(--coral); border-color: var(--coral); }
.doc { border-radius: var(--card-r); }
.doc__head .card__icon { background: var(--coral-soft); color: var(--coral); width: 52px; height: 52px; }
.doc__head .card__icon .icon { width: 24px; height: 24px; }

/* ---------- Achievements (dark) ---------- */
.counter { border-radius: var(--card-r); }
.counter b { color: #f7bf28; }

/* ---------- Admission (blue card) ---------- */
.admission { background: var(--blue-900); }
.admission .steps li::before { background: var(--coral); color: #fff; }
.admission::before { background: radial-gradient(circle, rgba(214, 51, 108, .35), transparent 65%); }
.form-card { border-radius: 26px; }

/* ---------- Contact "Reach Us" card ---------- */
.reach { position: relative; background: var(--blue-900); color: #dcefe1; border-radius: 26px; padding: 3.2rem 1.8rem 1.8rem; }
.reach__tab { position: absolute; left: 1.4rem; top: -1rem; background: var(--coral); color: #fff; font-family: var(--font-head); font-weight: 600; padding: .55rem 1.6rem; border-radius: 8px; transform: rotate(-3deg); box-shadow: var(--shadow-sm); }
.reach ul { display: grid; gap: 1rem; }
.reach li { display: flex; gap: .9rem; align-items: flex-start; overflow-wrap: anywhere; }
.reach li .doodle { width: 30px; height: 30px; color: #f08aa8; margin-top: .1rem; }
.reach a { color: #fff; text-decoration: none; font-weight: 500; }
.reach a:hover { color: #f7bf28; }
.reach small { display: block; color: #a9d3b3; font-size: .8rem; }

/* ==========================================================================
   Inner pages — each page gets its own layout
   ========================================================================== */
body.page-inner { background: #fff; }
.phero { position: relative; overflow: hidden; background: var(--paper); padding: 3.2rem 0 3rem; }
.phero .container { position: relative; z-index: 1; }
.phero h1 { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: clamp(2.2rem, 5.4vw, 4rem); margin: .2rem 0 .8rem; }
.phero p.lead { max-width: 620px; margin: 0; color: var(--muted); }
.crumbs { display: inline-flex; flex-wrap: wrap; gap: .3rem .5rem; align-items: center; font-size: .86rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: .3rem .9rem; margin-bottom: 1rem; }
.crumbs a { color: var(--coral-700); text-decoration: none; }
.phero .deco { z-index: 0; }
.phero .d1 { right: 6%; top: 18%; } .phero .d2 { right: 18%; bottom: 14%; } .phero .d3 { right: 28%; top: 12%; }
.phero.phero--dark { background: var(--blue-900); } .phero.phero--dark h1, .phero.phero--dark .lead { color: #fff; }
.pad { padding-block: clamp(2.6rem, 6vw, 4.4rem); }

/* About: timeline */
.about-grid { display: grid; gap: 2.4rem; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 340px 1fr; } .about-grid aside { position: sticky; top: 100px; align-self: start; } }
.timeline { position: relative; padding-left: 3.2rem; display: grid; gap: 1.6rem; }
.timeline::before { content: ""; position: absolute; left: 1.05rem; top: .5rem; bottom: .5rem; width: 3px; border-radius: 3px; background: repeating-linear-gradient(180deg, var(--coral) 0 10px, transparent 10px 18px); opacity: .55; }
.tl { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--card-r); padding: 1.4rem 1.6rem; }
.tl::before { content: ""; position: absolute; left: -2.65rem; top: 1.5rem; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--coral); }
.tl h3 { font-family: var(--font-body); font-weight: 500; color: var(--coral-700); margin-bottom: .4rem; }
.tl p { margin: 0; }
.vm-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.vm { border-radius: 26px; padding: 2rem 1.6rem; background: var(--paper); position: relative; overflow: hidden; }
.vm:nth-child(3n+2) { background: var(--coral-soft); } .vm:nth-child(3n) { background: #e6f5ea; }
.vm .doodle { width: 64px; height: 64px; margin-bottom: .6rem; }
.vm h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; }
.vm .big { position: absolute; right: 1rem; top: .2rem; font-family: var(--font-head); font-weight: 700; font-size: 5rem; line-height: 1; color: rgba(15, 42, 23, .06); }

/* Founder page: editorial */
.editorial { display: grid; gap: 2.6rem; align-items: start; }
@media (min-width: 960px) { .editorial { grid-template-columns: 380px 1fr; } .editorial .founder__img { position: sticky; top: 100px; } }
.pull { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.35; color: var(--ink); border-left: 6px solid var(--coral); padding-left: 1.4rem; margin: 0 0 2rem; }
.pull b { color: var(--coral); font-weight: 600; }
.cols-2 { column-gap: 2.6rem; }
@media (min-width: 1100px) { .cols-2 { columns: 2; } .cols-2 p { break-inside: avoid-column; } }

/* Secretary: letter */
.letter { max-width: 860px; margin: 0 auto; background: #fff; border-radius: 10px; box-shadow: var(--shadow); border-top: 10px solid var(--coral); padding: clamp(1.6rem, 5vw, 3.2rem); position: relative; }
.letter__head { display: flex; align-items: center; gap: 1rem; border-bottom: 2px dotted var(--line); padding-bottom: 1.2rem; margin-bottom: 1.6rem; }
.letter__head img { height: 64px; }
.letter__head b { display: block; font-family: var(--font-head); color: var(--ink); }
.letter__head span { color: var(--muted); font-size: .9rem; }
.dropcap::first-letter { float: left; font-family: var(--font-head); font-weight: 700; font-size: 4.4rem; line-height: .9; padding: .35rem .6rem 0 0; color: var(--coral); }
.stamp { position: absolute; right: 1.6rem; top: 1.6rem; width: 90px; height: 90px; border: 3px double var(--coral); border-radius: 50%; display: grid; place-items: center; color: var(--coral); transform: rotate(14deg); opacity: .8; }
.stamp .doodle { width: 46px; height: 46px; }
.badge-list { display: grid; gap: .8rem; margin-top: 1rem; }
.badge-list li { display: flex; gap: .9rem; align-items: center; padding: .9rem 1.1rem; background: var(--paper); border-radius: 14px; }
.badge-list .doodle { width: 36px; height: 36px; }

/* Certificates: rows */
.rows { display: grid; gap: .9rem; counter-reset: row; }
.row-doc { display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.2rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem 1.3rem; counter-increment: row; transition: box-shadow .3s, transform .3s var(--ease); }
.row-doc:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.row-doc::before { content: counter(row, decimal-leading-zero); font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--coral-soft); -webkit-text-stroke: 1.2px var(--coral); grid-row: span 2; align-self: center; }
.row-doc h3 { font-family: var(--font-body); font-weight: 500; font-size: 1.08rem; margin: 0; }
.row-doc p { margin: 0; color: var(--muted); font-size: .9rem; }
.row-doc .doc__actions { grid-column: 2; }
@media (min-width: 760px) { .row-doc { grid-template-columns: auto 1fr auto; } .row-doc .doc__actions { grid-column: 3; grid-row: 1 / span 2; } }
.tag-pdf { display: inline-block; font-size: .72rem; font-weight: 600; color: var(--coral-700); background: var(--coral-soft); border-radius: 6px; padding: .1rem .5rem; margin-left: .5rem; vertical-align: middle; }

/* Disclosure: dashboard */
.kpis { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin-bottom: 2.4rem; }
.kpi { background: #fff; border-radius: 20px; padding: 1.3rem; border: 1px solid var(--line); position: relative; }
.kpi:nth-child(odd) { background: var(--blue-900); color: #cfe9d6; border-color: transparent; } .kpi:nth-child(odd) b { color: #fff; } .kpi:nth-child(odd) .doodle { color: #f7bf28; }
.kpi .doodle { width: 38px; height: 38px; margin-bottom: .5rem; }
.kpi b { display: block; font-family: var(--font-head); font-size: 2rem; line-height: 1.1; color: var(--ink); }
.kpi span { font-size: .9rem; }
.dl { display: grid; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
@media (min-width: 900px) { .dl { grid-template-columns: 1fr 1fr; } }
.dl div { display: flex; flex-direction: column; padding: .95rem 1.3rem; border-bottom: 1px solid var(--line); }
.dl dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 500; }
.dl dd { margin: .15rem 0 0; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.split-docs { display: grid; gap: 2rem; }
@media (min-width: 1000px) { .split-docs { grid-template-columns: 1.4fr 1fr; align-items: start; } }

/* Annual report: sidebar + chapters */
.report { display: grid; gap: 2rem; }
@media (min-width: 980px) { .report { grid-template-columns: 270px 1fr; } .toc { position: sticky; top: 100px; align-self: start; } }
.toc { background: var(--paper); border-radius: 20px; padding: 1.3rem; }
.toc h2 { font-size: 1rem; margin: 0 0 .8rem; font-family: var(--font-body); font-weight: 500; color: var(--muted); }
.toc ol { display: grid; gap: .2rem; counter-reset: t; }
.toc a { display: flex; gap: .7rem; padding: .45rem .6rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: .92rem; counter-increment: t; }
.toc a::before { content: counter(t, decimal-leading-zero); color: var(--coral); font-weight: 600; }
.toc a:hover { background: #fff; }
.chapter { padding: 1.8rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .6rem 1.6rem; scroll-margin-top: 90px; }
@media (min-width: 700px) { .chapter { grid-template-columns: 90px 1fr; } }
.chapter .no { font-family: var(--font-head); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--coral-soft); -webkit-text-stroke: 1.5px var(--coral); }
.chapter h2 { font-size: 1.5rem; margin-bottom: .5rem; }
.chapter p:last-child { margin-bottom: 0; }
.medals { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); margin-top: 1rem; }
.medal { background: var(--paper); border-radius: 18px; padding: 1.1rem 1.2rem; }
.medal h3 { font-family: var(--font-body); font-weight: 500; font-size: .98rem; margin-bottom: .6rem; }
.medal ul { display: flex; gap: .5rem; flex-wrap: wrap; }
.medal li { padding: .25rem .7rem; border-radius: 99px; font-size: .85rem; font-weight: 500; }
.medal .g { background: #fff1c2; color: #7a5a00; } .medal .s { background: #e5ece6; color: #47594d; } .medal .b { background: #f5e6c0; color: #874a1b; }

/* Payment rules: big-number cards */
.rule-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.rule { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 2rem 1.6rem 1.6rem; overflow: hidden; }
.rule .no { position: absolute; right: 1rem; top: -.4rem; font-family: var(--font-head); font-weight: 700; font-size: 6rem; color: var(--coral-soft); line-height: 1; }
.rule h3 { position: relative; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; margin-bottom: .6rem; display: flex; gap: .7rem; align-items: center; }
.rule h3 .doodle { width: 38px; height: 38px; }
.rule p { position: relative; margin: 0; color: var(--text); font-size: .98rem; }
.alert-note { display: flex; gap: 1rem; align-items: center; background: var(--coral-soft); border: 1px dashed var(--coral); border-radius: 18px; padding: 1.1rem 1.4rem; margin-top: 1.6rem; color: var(--coral-700); font-weight: 500; }
.fee-cta { margin-top: 1.6rem; display: grid; gap: 1.2rem; background: var(--blue-900); color: #dcefe1; border-radius: 26px; padding: clamp(1.4rem, 4vw, 2.4rem); align-items: center; }
@media (min-width: 800px) { .fee-cta { grid-template-columns: auto 1fr auto; } }
.fee-cta h3 { color: #fff; margin: 0 0 .2rem; }
.fee-cta p { margin: 0; }

/* Activities: zig-zag */
.zig { display: grid; gap: clamp(2.6rem, 6vw, 4.5rem); }
.zig__row { display: grid; gap: 1.6rem; align-items: center; }
@media (min-width: 860px) { .zig__row { grid-template-columns: 1fr 1fr; gap: 3.2rem; } .zig__row:nth-child(even) .zig__media { order: 2; } }
.zig__media { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--coral-soft); display: grid; place-items: center; position: relative; box-shadow: var(--shadow-sm); }
.zig__media img { width: 100%; height: 100%; object-fit: cover; }
.zig__media .doodle { width: 46%; height: 46%; }
.zig__row:nth-child(2n) .zig__media { background: #e6f5ea; } .zig__row:nth-child(2n) .zig__media .doodle { color: var(--blue); }
.zig__body h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.zig__body .no { font-family: var(--font-head); font-weight: 700; color: var(--coral); font-size: .9rem; letter-spacing: .14em; }
.intro-quote { background: var(--paper); border-radius: 26px; padding: clamp(1.4rem, 4vw, 2.4rem); display: grid; gap: 1.2rem; align-items: center; }
@media (min-width: 800px) { .intro-quote { grid-template-columns: auto 1fr; } }

/* Events: date tiles + cards */
.date-list { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.date-tile { display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1rem 1.2rem; }
.date-tile .d { flex: none; width: 86px; min-height: 86px; border-radius: 18px; background: var(--coral); color: #fff; display: grid; place-items: center; text-align: center; font-family: var(--font-head); font-weight: 600; font-size: .95rem; line-height: 1.25; padding: .5rem; }
.date-tile:nth-child(3n+2) .d { background: var(--blue-700); } .date-tile:nth-child(3n) .d { background: #2a9d5c; }
.date-tile h3 { font-family: var(--font-body); font-weight: 500; font-size: 1.08rem; margin: 0; }
.date-tile p { margin: 0; color: var(--muted); font-size: .9rem; }

/* Holidays: month cards */
.months { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.month { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.month header { display: flex; justify-content: space-between; align-items: baseline; padding: .9rem 1.2rem; background: var(--coral-soft); }
.month h3 { margin: 0; font-family: var(--font-display); font-size: 1.1rem; color: var(--coral-700); }
.month header small { color: var(--muted); }
.month ul { padding: .4rem 1.2rem .8rem; }
.month li { display: grid; grid-template-columns: 3.1rem 1fr; gap: .8rem; padding: .6rem 0; border-bottom: 1px dashed var(--line); align-items: start; }
.month li:last-child { border-bottom: 0; }
.month .dt { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--ink); line-height: 1.1; text-align: center; }
.month .dt small { display: block; font-weight: 500; font-size: .66rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.month .nm { font-weight: 500; color: var(--ink); line-height: 1.35; }
.month .nm small { display: block; color: var(--muted); font-weight: 400; }
.month .vac { color: var(--coral-700); }
.legend { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-bottom: 1.6rem; font-size: .9rem; color: var(--muted); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; background: var(--coral); margin-right: .4rem; vertical-align: -1px; }

/* Sports: seasons */
.seasons { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); counter-reset: s; }
.season { position: relative; border-radius: 24px; padding: 1.6rem 1.3rem 1.4rem; background: #fff; border: 1px solid var(--line); text-align: center; counter-increment: s; }
.season:nth-child(odd) { background: var(--paper); }
.season::before { content: counter(s); position: absolute; left: 1rem; top: .8rem; width: 28px; height: 28px; border-radius: 50%; background: var(--coral); color: #fff; font-weight: 600; font-size: .85rem; display: grid; place-items: center; }
.season .doodle { width: 84px; height: 84px; margin: .4rem auto 1rem; }
.season:nth-child(even) .doodle { color: var(--blue); }
.season .when { font-family: var(--font-head); font-weight: 600; color: var(--coral-700); font-size: .98rem; margin-bottom: .3rem; }
.season h3 { font-family: var(--font-body); font-weight: 500; margin: 0; font-size: 1.1rem; }

/* Examination: steppers */
.stepper { display: grid; gap: 0; position: relative; counter-reset: st; }
.stepper li { position: relative; padding: 0 0 1.5rem 3.4rem; counter-increment: st; }
.stepper li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--coral); color: #fff; font-weight: 600; display: grid; place-items: center; z-index: 1; }
.stepper li::after { content: ""; position: absolute; left: 18px; top: 38px; bottom: 0; width: 2px; background: repeating-linear-gradient(180deg, var(--coral) 0 6px, transparent 6px 12px); opacity: .5; }
.stepper li:last-child::after { display: none; }
.stepper b { display: block; font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.1rem; }
.stepper span { color: var(--muted); }
.exam-cols { display: grid; gap: 2.4rem; }
@media (min-width: 900px) { .exam-cols { grid-template-columns: 1fr 1fr; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: clamp(1.3rem, 3vw, 2rem); }
.panel--tint { background: var(--paper); border-color: transparent; }
.panel h2 { font-size: 1.5rem; display: flex; gap: .8rem; align-items: center; }
.panel h2 .doodle { width: 40px; height: 40px; }

/* Gallery: album cards + masonry */
.album-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); margin-bottom: 1rem; }
.album-card { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; display: block; color: #fff; text-decoration: none; }
.album-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.album-card:hover img { transform: scale(1.07); }
.album-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 37, 18, .85), transparent 60%); }
.album-card span { position: absolute; z-index: 2; left: 1rem; right: 1rem; bottom: .9rem; font-family: var(--font-body); font-weight: 500; line-height: 1.25; font-size: .98rem; }
.album-card small { display: block; font-weight: 400; color: #ffe08a; font-size: .8rem; }
.album { margin-top: 3.4rem; }
.album h2 { font-family: var(--font-display); }
.masonry { columns: 2 150px; column-gap: .8rem; }
@media (min-width: 760px) { .masonry { columns: 3; column-gap: 1rem; } }
@media (min-width: 1100px) { .masonry { columns: 4; } }
.masonry a.gallery__item { display: block; margin: 0 0 .8rem; aspect-ratio: auto; break-inside: avoid; border-radius: 16px; }
.masonry a.gallery__item img { height: auto; }

/* Achievements: dashboard */
.score { display: grid; gap: 1.4rem; margin-bottom: 2.4rem; }
@media (min-width: 900px) { .score { grid-template-columns: 340px 1fr; } }
.ring-card { background: var(--blue-900); color: #cfe9d6; border-radius: 28px; padding: 2rem; text-align: center; }
.ring { --p: 97.2; width: 190px; height: 190px; border-radius: 50%; margin: 0 auto 1rem; background: conic-gradient(var(--coral) calc(var(--p) * 1%), rgba(255, 255, 255, .14) 0); display: grid; place-items: center; }
.ring div { width: 150px; height: 150px; border-radius: 50%; background: var(--blue-900); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 2.3rem; color: #fff; }
.ring-card h2 { color: #fff; font-size: 1.15rem; margin: 0 0 .3rem; font-family: var(--font-body); font-weight: 500; }
.bars { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 1.6rem; display: grid; gap: .9rem; align-content: center; }
.bar-row { display: grid; grid-template-columns: 110px 1fr 40px; align-items: center; gap: .8rem; font-size: .92rem; }
@media (max-width: 480px) { .bar-row { grid-template-columns: 84px 1fr 32px; font-size: .84rem; } }
.pbar { height: 16px; background: var(--paper); border-radius: 99px; overflow: hidden; }
.pbar i { display: block; height: 100%; width: calc(var(--v) / 51 * 100%); border-radius: 99px; background: linear-gradient(90deg, var(--coral), #f7bf28); }
.bar-row b { text-align: right; color: var(--ink); }
.podium { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); margin-bottom: 2.4rem; }
.topper { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.3rem; display: flex; gap: 1rem; align-items: center; }
.topper .doodle { width: 54px; height: 54px; }
.topper b { display: block; color: var(--ink); line-height: 1.25; }
.topper span { color: var(--coral-700); font-weight: 600; }
.topper:nth-child(1) { background: #fff6dc; border-color: #f0d68a; }
.search { width: 100%; max-width: 420px; min-height: 48px; padding: .6rem 1rem; border: 1.5px solid #c9d9cd; border-radius: 99px; font: inherit; margin-bottom: 1rem; }
.search:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 4px rgba(214, 51, 108, .15); }
.rank-table { max-height: 640px; overflow: auto; }
.rank-table th { position: sticky; top: 0; z-index: 1; }

/* Meeting: info tiles */
.mt-hero { display: grid; gap: 1.6rem; background: var(--paper); border-radius: 28px; padding: clamp(1.4rem, 4vw, 2.6rem); align-items: center; }
@media (min-width: 860px) { .mt-hero { grid-template-columns: auto 1fr; } }
.cal-tile { width: 150px; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--shadow); text-align: center; margin-inline: auto; }
.cal-tile header { background: var(--coral); color: #fff; padding: .5rem; font-weight: 600; font-family: var(--font-head); }
.cal-tile div { padding: 1rem .6rem 1.2rem; font-family: var(--font-head); font-weight: 600; color: var(--ink); line-height: 1.25; }
.cal-tile .doodle { width: 44px; height: 44px; margin: 0 auto .4rem; }
.tiles { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin-top: 1.6rem; }
.tile { border-radius: 24px; padding: 1.7rem; border: 1px solid var(--line); background: #fff; }
.tile:nth-child(2) { background: var(--coral-soft); border-color: transparent; } .tile:nth-child(3) { background: #e6f5ea; border-color: transparent; }
.tile .doodle { width: 56px; height: 56px; margin-bottom: .6rem; }
.tile h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.tile p { margin: 0; }

/* Contact */
.contact-v2 { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 980px) { .contact-v2 { grid-template-columns: 1fr 1.15fr; } }
.quick-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin-bottom: 2.2rem; }
.quick { display: flex; gap: .9rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.1rem 1.2rem; text-decoration: none; color: var(--ink); overflow-wrap: anywhere; transition: transform .3s var(--ease), box-shadow .3s; }
.quick:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.quick .doodle { width: 44px; height: 44px; }
.quick small { display: block; color: var(--muted); font-size: .8rem; }
.quick b { font-weight: 500; font-size: .98rem; }

/* Footer: friendlier */
.footer { background: var(--blue-900); }

@media (max-width: 640px) { .phero { padding: 2.4rem 0 2.2rem; } .tl::before { left: -2.2rem; } .timeline { padding-left: 2.6rem; } }

/* ---------- Fixes: small screens ---------- */
.facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .facts__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fact { min-width: 0; padding: .9rem 1rem; gap: .7rem; }
.fact strong, .fact span { overflow-wrap: anywhere; }
.alert-note { display: block; overflow-wrap: anywhere; }
.alert-note .doodle { display: inline-block; vertical-align: middle; margin-right: .6rem; }
.toc ol, .stepper, .steps { list-style: none; padding-left: 0; margin: 0; }

/* Admission rules: 3 columns on large screens, 2 on tablets, 1 on phones */
.rules-block { margin-top: clamp(2.2rem, 5vw, 3.4rem); padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .18); }
.rules-block h3 { color: #fff; font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin-bottom: 1.2rem; }
.accordion--grid { display: grid; grid-template-columns: 1fr; gap: .9rem; margin-top: 0; align-items: start; }
@media (min-width: 640px) { .accordion--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .accordion--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.accordion--grid details { height: auto; }

/* Card grids: 3 per row on large screens, 2 on tablets, 1 on phones */
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Child Development Centre: 7 cards -> last one spans the full row */
.grid--cdc > :last-child { grid-column: 1 / -1; }
@media (min-width: 640px) {
  .grid--cdc > :last-child .card { display: grid; grid-template-columns: auto 1fr; column-gap: 1.4rem; align-items: center; }
  .grid--cdc > :last-child .card__icon { grid-row: span 2; margin: 0; }
}

/* Beliefs cards: 3 per row on large, 2 on tablet, 1 on phone */
.belief-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .belief-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .belief-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* a lone last card (the 4-card group) spans the full row */
  .belief-grid > :last-child:nth-child(3n+1) { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 1.2rem; align-items: center; }
  .belief-grid > :last-child:nth-child(3n+1) .doodle { grid-row: span 2; margin: 0; }
}

/* Floating quick actions (right side, icons only) */
.fab-wa { display: none !important; }
.float-actions { position: fixed; right: 1rem; bottom: 1rem; z-index: 90; display: flex; flex-direction: column; align-items: center; gap: .65rem; }
.float-btn { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .5); transition: transform .25s var(--ease), box-shadow .25s; }
.float-btn .icon { width: 26px; height: 26px; }
.float-btn:hover { transform: translateY(-3px) scale(1.06); color: #fff; }
.float-btn--wa { background: #1a7f4b; }
.float-btn--call { background: var(--coral); }
.float-actions .to-top { position: static; display: none; width: 44px; height: 44px; opacity: 1; visibility: visible; transform: none; }
.float-actions .to-top.is-visible { display: grid; }
@media (max-width: 640px) { .float-actions { right: .7rem; bottom: .7rem; } .float-btn { width: 50px; height: 50px; } }
@media (min-width: 1080px) { .hero__ctrl { justify-content: space-between; } }
/* keep slider arrows clear of the floating icons */
.hero__arrows { margin-right: 4.4rem; }

/* Filled brand icons (WhatsApp logo) */
.icon--fill { fill: currentColor; stroke: none; }
.doodle--fill { fill: currentColor; stroke: none; color: #25a455; }
.reach li .doodle--fill { color: #6ee7a0; }
.float-btn--wa .icon { width: 30px; height: 30px; }
.float-btn--wa { background: #25a455; }
.btn--whatsapp .icon { width: 1.3em; height: 1.3em; }

/* Hero: let the photos show. Light shade on the text side + top strip only; text gets its own shadow. */
.hero::before {
  background:
    linear-gradient(180deg, rgba(5, 37, 18, .55) 0%, rgba(5, 37, 18, 0) 24%),
    linear-gradient(90deg, rgba(5, 37, 18, .62) 0%, rgba(5, 37, 18, .38) 40%, rgba(5, 37, 18, .06) 72%, rgba(5, 37, 18, 0) 100%);
}
.hero::after { height: 110px; background: linear-gradient(180deg, transparent, rgba(5, 37, 18, .28)); }
.hero__slide img { object-position: center 30%; }
.hero__slide.is-active img { animation-name: kenburns-soft; }
@keyframes kenburns-soft { to { transform: scale(1.07); } }
.hero h1, .hero__school { text-shadow: 0 2px 22px rgba(0, 0, 0, .55), 0 1px 3px rgba(0, 0, 0, .4); }
.hero__content > p { text-shadow: 0 1px 14px rgba(0, 0, 0, .65), 0 1px 2px rgba(0, 0, 0, .5); }
.hero .btn--light { background: rgba(5, 37, 18, .35); }

/* Hero text: align with the left edge of the logo / content below (container is full width, text limited inside) */
.hero__content { max-width: none; text-align: left; }
.hero__content > * { max-width: 760px; }
.hero__content h1 { max-width: 820px; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.cform-wrap { display: grid; gap: clamp(1.6rem, 4vw, 3.2rem); align-items: center; }
@media (min-width: 900px) { .cform-wrap { grid-template-columns: .95fr 1.05fr; } }
.cphoto { position: relative; border-radius: 30px; overflow: hidden; min-height: 320px; height: 100%; background: var(--coral-soft); box-shadow: var(--shadow-sm); }
.cphoto img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; position: absolute; inset: 0; }
.cphoto::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(0deg, rgba(5, 37, 18, .45), transparent); }
.cphoto__doodle { position: absolute; right: 1.2rem; bottom: 1rem; z-index: 2; width: 64px; height: 64px; }
@media (min-width: 900px) { .cphoto { min-height: 520px; } }
.cf .field input, .cf .field textarea { background: #fafbfd; }
.cf .field { margin-bottom: .2rem; }

.info-bar { margin-top: clamp(2rem, 5vw, 3.4rem); display: grid; grid-template-columns: 1fr; background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-sm); overflow: hidden; }
@media (min-width: 620px) { .info-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .info-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ib { text-align: center; padding: 1.7rem 1.2rem; display: flex; flex-direction: column; align-items: center; gap: .35rem; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.ib h3 { font-family: var(--font-body); font-weight: 500; font-size: 1.05rem; margin: .5rem 0 0; }
.ib p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.ib a { color: var(--muted); text-decoration: none; } .ib a:hover { color: var(--coral); }
.ib p a[href="#map"] { color: var(--coral-700); font-weight: 500; }
.ib__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; flex: none; }
.ib__icon .doodle { width: 32px; height: 32px; color: inherit; }
.ib__icon--coral { background: #fdeaf1; color: var(--coral); }
.ib__icon--blue { background: #e6f5ea; color: #0e7f34; }
.ib__icon--green { background: #e4f6ea; color: #1f8a4c; }
.ib__icon--pink { background: #fbe6f0; color: #c23a7d; }

.help-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .help-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .help-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.help { display: flex; flex-direction: column; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 1.6rem; text-decoration: none; color: var(--text); transition: transform .3s var(--ease), box-shadow .3s; }
.help:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--text); }
.help h3 { font-family: var(--font-body); font-weight: 500; font-size: 1.12rem; margin: .5rem 0 0; }
.help p { margin: 0; color: var(--muted); font-size: .94rem; }
.help__more { margin-top: auto; padding-top: .6rem; color: var(--coral-700); font-weight: 500; font-size: .92rem; display: inline-flex; gap: .4rem; align-items: center; }

.map-wrap { display: grid; gap: 1.2rem; }
@media (min-width: 960px) { .map-wrap { grid-template-columns: 1.7fr 1fr; align-items: stretch; } }
.map-wrap .map { height: clamp(300px, 55vw, 460px); border-radius: 26px; }
@media (min-width: 960px) { .map-wrap .map { height: 100%; min-height: 420px; } }
.map-card { background: var(--blue-900); color: #cfe9d6; border-radius: 26px; padding: clamp(1.4rem, 3vw, 2rem); display: flex; flex-direction: column; gap: .8rem; justify-content: center; }
.map-card h3 { color: #fff; font-family: var(--font-display); margin: 0; font-size: 1.3rem; }
.map-card p { margin: 0; }
.map-card .btn-row { flex-direction: column; align-items: stretch; }
.accordion--faq details { border-radius: 16px; }
.accordion--faq summary { font-family: var(--font-body); font-weight: 500; padding: 1.1rem 1.3rem; }
.accordion--faq .acc-body { padding: 0 1.3rem 1.2rem; }
.accordion--faq .acc-body a { color: var(--coral-700); }

.muted { color: var(--muted); }
.table-light td .btn { margin: .1rem .2rem .1rem 0; }

/* ==========================================================================
   Shared contact form (home + /contact): icons inside fields
   ========================================================================== */
.input-wrap { position: relative; }
.input-wrap > .icon { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); width: 1.15rem; height: 1.15rem; color: #6a7d70; pointer-events: none; }
.input-wrap--area > .icon { top: 1.05rem; transform: none; }
.input-wrap input, .input-wrap textarea { padding-left: 2.8rem; }
.input-wrap:focus-within > .icon { color: var(--blue-700); }
.btn--block { width: 100%; margin-top: 1.2rem; }
.btn--block .icon { width: 1.15em; height: 1.15em; }

/* Home "Contact Us": blue Reach Us card with map + message form */
.contact-split { display: grid; gap: 1.6rem; align-items: stretch; }
@media (min-width: 1000px) { .contact-split { grid-template-columns: 1fr 1.05fr; } }
.reach--v2 { background: linear-gradient(165deg, #0b4a24 0%, #0c4b25 100%); border-radius: 28px; padding: 3.4rem clamp(1.2rem, 3vw, 2rem) clamp(1.2rem, 3vw, 1.8rem); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.reach--v2 .reach__tab { display: inline-flex; align-items: center; gap: .55rem; left: 1.4rem; top: -1.1rem; padding: .65rem 1.5rem .65rem 1.1rem; background: linear-gradient(135deg, #e0a800, #d6336c); border-radius: 12px 12px 12px 0; transform: none; font-size: 1.1rem; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.reach--v2 .reach__tab .icon { width: 1.35rem; height: 1.35rem; }
.reach__list { display: grid; gap: 0; margin: 0; }
.reach__list li { display: flex; gap: 1rem; align-items: center; padding: .95rem 0; border-bottom: 1px solid rgba(255, 255, 255, .13); overflow-wrap: anywhere; line-height: 1.5; }
.reach__list li:first-child { padding-top: 0; }
.reach__ico { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #a9e0b8; }
.reach__ico .icon { width: 22px; height: 22px; }
.reach__ico--wa { color: #5be28f; }
.reach__ico--wa .icon { width: 26px; height: 26px; }
.reach--v2 a { color: #fff; font-weight: 500; text-decoration: none; }
.reach--v2 a:hover { color: #ffd35c; }
.map-embed { position: relative; border-radius: 20px; overflow: hidden; margin-top: 1.3rem; flex: 1; min-height: 300px; background: #dcefe1; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-embed__card { position: absolute; z-index: 2; left: .9rem; top: .9rem; max-width: min(260px, calc(100% - 1.8rem)); background: #fff; color: var(--ink); border-radius: 14px; padding: .85rem 1rem; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); display: flex; flex-direction: column; gap: .35rem; font-size: .8rem; line-height: 1.45; }
.map-embed__card b { font-family: var(--font-body); font-weight: 500; font-size: .95rem; }
.map-embed__card span { color: var(--muted); }
.map-embed__card .btn { align-self: flex-start; margin-top: .2rem; }
@media (max-width: 560px) {
  .map-embed { min-height: 0; flex: none; }
  .map-embed__card { position: static; max-width: none; border-radius: 0; box-shadow: none; border-bottom: 1px solid var(--line); }
  .map-embed iframe { position: static; height: 260px; display: block; }
}
.form-card--v2 { border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: center; }
.form-card__title { display: flex; align-items: center; gap: .85rem; font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin-bottom: 1.2rem; }
.form-card__ico { flex: none; width: 52px; height: 52px; border-radius: 50%; background: #dcefe1; color: var(--blue-700); display: grid; place-items: center; }
.form-card__ico .icon { width: 24px; height: 24px; }
.founder__img img { background: #fff; }

/* Map card: sits ABOVE the map (never overlaps Google's own label, controls or attribution) */
.map-embed { display: flex; flex-direction: column; min-height: 0; background: #fff; }
.map-embed__card { position: static; z-index: auto; max-width: none; width: 100%; flex-direction: row; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; border-radius: 0; box-shadow: none; border-bottom: 1px solid var(--line); padding: .9rem 1.1rem; font-size: .85rem; }
.map-embed__card b, .map-embed__card span { flex: 1 1 220px; }
.map-embed__card b { flex-basis: 100%; }
.map-embed__card .btn { align-self: center; margin: 0; }
.map-embed iframe { position: static; inset: auto; display: block; width: 100%; height: 280px; flex: 1 1 auto; }
@media (min-width: 1000px) { .map-embed iframe { min-height: 300px; } }

/* Home map: the map fills the whole box */
.map-embed iframe { min-height: 320px; height: 100%; flex: 1 1 auto; }
@media (max-width: 560px) { .map-embed iframe { min-height: 300px; } }

/* ==========================================================================
   Home "Documents": photo-tile mosaic (white label pill + orange arrow)
   ========================================================================== */
.dgrid { display: grid; gap: .9rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .dgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dtile--w { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
  .dgrid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .dtile { grid-column: span 4; }
  .dtile--w { grid-column: span 6; }
  .dtile--n { grid-column: span 3; }
}
.dtile { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 215px; border-radius: 22px; overflow: hidden; background: #0b4a24; box-shadow: var(--shadow-sm); }
.dtile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.dtile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 37, 18, .08) 25%, rgba(5, 37, 18, .62) 100%); }
.dtile:hover > img, .dtile:focus-within > img { transform: scale(1.06); }
.dtile__pill { width: calc(100% - 1.4rem); margin: .7rem; background: #fff; border-radius: 16px; padding: .6rem .65rem .6rem .8rem; display: flex; align-items: center; gap: .65rem; box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .5); }
.dtile__ico { flex: none; color: var(--coral); display: grid; place-items: center; }
.dtile__ico .icon { width: 22px; height: 22px; }
.dtile__sep { flex: none; width: 2px; height: 28px; border-radius: 2px; background: var(--orange); }
.dtile__txt { flex: 1; min-width: 0; }
.dtile__txt h3 { margin: 0; font-family: var(--font-body); font-weight: 500; font-size: .92rem; line-height: 1.25; color: var(--ink); }
.dtile__txt p { margin: .15rem 0 0; font-size: .74rem; line-height: 1.4; color: var(--muted); display: none; }
@media (min-width: 640px) { .dtile--w .dtile__txt p { display: block; } }
.dtile__act { flex: none; display: flex; gap: .4rem; }
.dtile__btn { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--orange); color: var(--ink); text-decoration: none; transition: transform .25s var(--ease), background .25s; }
.dtile__btn .icon { width: 18px; height: 18px; }
.dtile__btn:hover { transform: translateY(-2px); background: #ffcd45; color: var(--ink); }
.dtile__btn--ghost { background: var(--paper); color: var(--blue-900); }
.dtile__btn--ghost:hover { background: var(--blue-900); color: #fff; }
@media (min-width: 1000px) { .dtile--n .dtile__sep { display: none; } .dtile--n .dtile__pill { padding-left: .65rem; gap: .5rem; } .dtile--n .dtile__txt h3 { font-size: .85rem; } }

/* About: Vision / Mission / Philosophy cards - 3 per row on large, 2 on tablet, 1 on phone */
.vm-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .vm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vm:nth-child(3n+2) { background: var(--paper); } .vm:nth-child(even) { background: var(--coral-soft); } .vm:nth-child(4n+1), .vm:nth-child(4n+3) { background: #fff; border: 1px solid var(--line); } .vm:nth-child(4n+3) { background: #e6f5ea; border-color: transparent; } }
@media (min-width: 1000px) {
  .vm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vm { background: #fff; border: 1px solid var(--line); }
  .vm:nth-child(3n+2) { background: var(--coral-soft); border-color: transparent; }
  .vm:nth-child(3n) { background: #e6f5ea; border-color: transparent; }
}
@media (max-width: 639px) { .vm { background: #fff; border: 1px solid var(--line); } .vm:nth-child(even) { background: var(--coral-soft); border-color: transparent; } }

/* Payment rules: one full-width row per rule */
.rule-grid { grid-template-columns: 1fr; gap: 1rem; }
.rule { display: grid; gap: .5rem 2rem; align-items: start; padding: 1.5rem 1.6rem; }
.rule h3 { margin: 0; }
.rule .no { top: 50%; transform: translateY(-50%); right: 1.4rem; font-size: 5.5rem; }
@media (min-width: 800px) {
  .rule { grid-template-columns: minmax(230px, 300px) 1fr; padding: 1.7rem 6rem 1.7rem 1.8rem; }
  .rule p { padding-top: .15rem; }
}
@media (max-width: 799px) { .rule { padding-right: 1.4rem; } .rule .no { top: .4rem; transform: none; font-size: 4rem; } }

/* Parent-Teacher Meeting: 2 x 2 equal cards (1 column on phones) */
.tiles { grid-template-columns: 1fr; gap: 1.2rem; align-items: stretch; }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile { display: flex; flex-direction: column; gap: .5rem; padding: clamp(1.4rem, 3vw, 2rem); border-radius: 26px; background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.tile:nth-child(2) { background: var(--coral-soft); border-color: transparent; }
.tile:nth-child(3) { background: #e6f5ea; border-color: transparent; }
.tile:nth-child(4) { background: #fff; border: 1px solid var(--line); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile .doodle { width: 64px; height: 64px; padding: 14px; margin-bottom: .6rem; border-radius: 18px; background: var(--coral-soft); }
.tile:nth-child(2) .doodle, .tile:nth-child(3) .doodle { background: #fff; }
.tile h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; margin-bottom: .3rem; }
.tile p { font-size: .98rem; line-height: 1.75; color: var(--text); }

/* Payment rules: same card design as the Parent-Teacher Meeting page (2 x 2 equal cards, 1 column on phones) */
.rule-grid { grid-template-columns: 1fr; gap: 1.2rem; align-items: stretch; }
@media (min-width: 760px) { .rule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rule { display: flex; flex-direction: column; gap: .5rem; padding: clamp(1.4rem, 3vw, 2rem); border-radius: 26px; background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.rule:nth-child(2) { background: var(--coral-soft); border-color: transparent; }
.rule:nth-child(3) { background: #e6f5ea; border-color: transparent; }
.rule:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.rule h3 { flex-direction: column; align-items: flex-start; gap: .8rem; margin-bottom: .2rem; font-size: 1.2rem; }
.rule h3 .doodle { width: 64px; height: 64px; padding: 14px; border-radius: 18px; background: var(--coral-soft); }
.rule:nth-child(2) h3 .doodle, .rule:nth-child(3) h3 .doodle { background: #fff; }
.rule p { padding-top: 0; font-size: .98rem; line-height: 1.75; }
.rule .no { top: .5rem; right: 1.2rem; transform: none; font-size: 5rem; }

/* Footer: quiet group mention */
.footer__group { color: #8fbf9d; font-size: .86rem; }
.footer__group a { color: #b5dcbf; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(181, 220, 191, .35); }
.footer__group a:hover { color: var(--orange); text-decoration-color: currentColor; }
.footer__bottom { padding-right: 4.8rem; }
.footer__group { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .1rem .4rem; }
.footer__group a { display: inline-flex; align-items: center; gap: .4rem; }
.footer__group img { width: 22px; height: 22px; opacity: .95; }
