/* G-Kids International School — "Bright, bold, curious"
   Solid colour blocks, never gradients. Fredoka display, DM Sans body. */

:root {
  --paper: #FFFAF0;
  --paper-2: #FFF3DC;
  --white: #FFFFFF;
  --ink: #191B2E;
  --ink-2: #464A63;
  --line: rgba(25, 27, 46, .16);
  --cobalt: #2448D8;
  --cobalt-deep: #1B37A8;
  --tomato: #FF5B3A;
  --sun: #FFC83D;
  --mint: #2FBF8F;
  --error: #9B1C13;

  --font-display: "Fredoka", "Trebuchet MS", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hi: "Noto Sans Devanagari", "Kohinoor Devanagari", "Mangal", sans-serif;

  --r-frame: 40px;
  --r-block: 28px;
  --r-input: 14px;
  --r-pill: 999px;

  --shadow-soft: 0 10px 28px -12px rgba(25, 27, 46, .28), 0 2px 6px rgba(25, 27, 46, .08);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --tabbar-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  overflow-x: clip;
}
@media (max-width: 991.98px) { body { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); } }

::selection { background: var(--sun); color: var(--ink); }
input, textarea, select { caret-color: var(--cobalt); }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--cobalt); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--cobalt-deep); }

:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
.on-cobalt :focus-visible, .on-ink :focus-visible { outline-color: var(--sun); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.25rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
p { margin: 0 0 1em; max-width: 68ch; }
[lang="hi"] { font-family: var(--font-hi); }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); }
.muted { color: var(--ink-2); }
.small { font-size: .92rem; }
.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: fixed; left: 16px; top: -80px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: var(--r-pill);
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus, .skip-link:hover { top: 16px; color: var(--paper); }

/* ---------- Buttons ---------- */
.btn-g {
  --bg: var(--cobalt); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .7em 1.4em;
  background: var(--bg); color: var(--fg);
  border: 3px solid var(--ink); border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; line-height: 1.1;
  text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease-out), background-color .18s;
}
.btn-g:hover { color: var(--fg); transform: translateY(-2px) rotate(-1deg); }
.btn-g:active { transform: translateY(1px) scale(.98); }
.btn-g svg { width: 1.2em; height: 1.2em; flex: none; }
.btn-g--sun { --bg: var(--sun); --fg: var(--ink); }
.btn-g--tomato { --bg: var(--tomato); --fg: var(--ink); }
.btn-g--mint { --bg: var(--mint); --fg: var(--ink); }
.btn-g--paper { --bg: var(--paper); --fg: var(--ink); }
.btn-g--ink { --bg: var(--ink); --fg: var(--paper); border-color: var(--ink); }
.btn-g--sm { min-height: 44px; font-size: .98rem; padding: .5em 1.1em; }
.btn-g[aria-disabled="true"], .btn-g:disabled { opacity: .6; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Placeholder notes ---------- */
.ph {
  border: 2.5px dashed rgba(25, 27, 46, .45);
  border-radius: 20px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, .55);
  color: var(--ink);
}
.ph strong { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; display: block; margin-bottom: 2px; }
.ph p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.ph-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 700; letter-spacing: .01em;
  background: var(--paper); border: 2px dashed rgba(25, 27, 46, .5); color: var(--ink);
  border-radius: var(--r-pill); padding: 3px 10px; margin-bottom: 8px;
}
.on-cobalt .ph, .on-ink .ph { border-color: rgba(255, 250, 240, .6); background: rgba(255, 255, 255, .08); color: var(--paper); }
.on-cobalt .ph p, .on-ink .ph p { color: rgba(255, 250, 240, .86); }

/* ---------- Floating pill nav (desktop) ---------- */
.site-head { position: fixed; inset: 16px 0 auto; z-index: 100; pointer-events: none; }
.pill-nav {
  pointer-events: auto;
  margin-inline: auto; width: max-content; max-width: calc(100% - 32px);
  display: flex; align-items: center; gap: 6px;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--r-pill);
  padding: 6px 6px 6px 10px;
  box-shadow: var(--shadow-soft);
  transition: transform .3s var(--ease-out);
}
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); padding-right: 8px; }
.brand img { width: 40px; height: 40px; }
.brand span { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; letter-spacing: -0.01em; line-height: 1; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .7rem; color: var(--ink-2); letter-spacing: .01em; margin-top: 2px; }
.pill-links { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.pill-links a {
  position: relative; display: block; isolation: isolate;
  padding: 10px 14px; min-height: 44px;
  font-weight: 600; font-size: .98rem; color: var(--ink); text-decoration: none; border-radius: var(--r-pill);
}
.pill-links a::before {
  content: ""; position: absolute; inset: 3px -2px; z-index: -1;
  background: var(--blob, var(--sun));
  border-radius: 58% 42% 55% 45% / 52% 60% 40% 48%;
  transform: scale(.4) rotate(-8deg); opacity: 0;
  transition: transform .35s var(--ease-out), opacity .2s;
}
.pill-links li:nth-child(4n+1) a { --blob: var(--sun); }
.pill-links li:nth-child(4n+2) a { --blob: var(--mint); }
.pill-links li:nth-child(4n+3) a { --blob: var(--tomato); }
.pill-links li:nth-child(4n+4) a { --blob: #9FB2FF; }
.pill-links a:hover::before, .pill-links a[aria-current="page"]::before { transform: scale(1) rotate(-3deg); opacity: 1; }
.pill-links a:hover, .pill-links a[aria-current="page"] { color: var(--ink); }
.pill-cta { margin-left: 4px; }
.menu-btn { display: none; }

@media (max-width: 1100px) and (min-width: 992px) {
  .pill-links a { padding: 10px 10px; font-size: .94rem; }
  .brand small { display: none; }
}

/* ---------- Mobile top bar + sheet + tab bar ---------- */
@media (max-width: 991.98px) {
  .site-head { inset: 10px 0 auto; }
  .pill-nav { width: calc(100% - 20px); justify-content: space-between; padding: 5px 6px 5px 8px; }
  .pill-links, .pill-cta { display: none; }
  .brand img { width: 36px; height: 36px; }
  .brand span { font-size: 1.15rem; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px; padding: 0 16px;
    background: var(--sun); color: var(--ink);
    border: 2.5px solid var(--ink); border-radius: var(--r-pill);
    font: 600 1rem var(--font-display); cursor: pointer;
  }
  .menu-btn svg { width: 18px; height: 18px; }
}

.sheet {
  position: fixed; inset: 0; z-index: 150;
  display: none;
  background: rgba(25, 27, 46, .45);
}
.sheet.is-open { display: block; }
.sheet-panel {
  position: absolute; inset: auto 0 0 0;
  background: var(--paper); border: 3px solid var(--ink); border-bottom: 0;
  border-radius: 32px 32px 0 0;
  padding: 18px 20px calc(24px + env(safe-area-inset-bottom));
  max-height: 88vh; overflow-y: auto;
  transform: translateY(0);
  animation: sheet-up .35s var(--ease-out);
}
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }
.sheet-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.sheet-top p { margin: 0; font: 600 1.2rem var(--font-display); }
.sheet-close {
  width: 48px; height: 48px; border-radius: 50%; border: 2.5px solid var(--ink);
  background: var(--white); display: grid; place-items: center; cursor: pointer; color: var(--ink);
}
.sheet-links { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.sheet-links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-radius: 18px; border: 2.5px solid var(--ink);
  font: 600 1.3rem var(--font-display); color: var(--ink); text-decoration: none; background: var(--white);
}
.sheet-links li:nth-child(4n+1) a[aria-current="page"] { background: var(--sun); }
.sheet-links li:nth-child(4n+2) a[aria-current="page"] { background: var(--mint); }
.sheet-links li:nth-child(4n+3) a[aria-current="page"] { background: var(--tomato); }
.sheet-links li:nth-child(4n+4) a[aria-current="page"] { background: #9FB2FF; }
.sheet .btn-row .btn-g { flex: 1 1 100%; white-space: nowrap; }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none;
  background: var(--ink);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  border-radius: 22px 22px 0 0;
}
@media (max-width: 991.98px) { .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; } }
.tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 54px; border-radius: 16px;
  color: var(--paper); text-decoration: none; font-size: .78rem; font-weight: 600;
}
.tabbar a svg { width: 24px; height: 24px; }
.tabbar a[aria-current="page"] { background: var(--sun); color: var(--ink); }
.tabbar a.tab-call { background: var(--tomato); color: var(--ink); }
.tabbar a:focus-visible { outline-color: var(--sun); }

/* ---------- Home hero ---------- */
.hero { padding-top: clamp(112px, 13vw, 150px); padding-bottom: clamp(48px, 7vw, 96px); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .3em; }
.swash { position: relative; display: inline-block; isolation: isolate; white-space: nowrap; }
.swash::before {
  content: ""; position: absolute; z-index: -1;
  left: -.12em; right: -.14em; top: .5em; bottom: .02em;
  background: var(--sun);
  border-radius: .5em .25em .6em .3em / .4em .5em .35em .45em;
  transform: rotate(-2.5deg) skewX(-6deg);
}
.hero-hi { font-size: 1.15rem; font-weight: 600; color: var(--ink-2); margin-bottom: 14px; }
.hero .lede { margin-bottom: 26px; color: var(--ink); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; padding: 0; list-style: none; }
.hero-facts li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--r-pill); background: var(--white); border: 2px solid var(--line);
  font-size: .95rem; font-weight: 500;
}
.hero-facts svg { width: 18px; height: 18px; color: var(--cobalt); flex: none; }

.collage { position: relative; aspect-ratio: 1 / 1.02; max-width: 600px; justify-self: end; width: 100%; }
.collage .blob {
  position: absolute; overflow: hidden; border: 4px solid var(--ink); background: var(--paper-2);
}
.collage .blob img { width: 100%; height: 100%; object-fit: cover; }
.blob-main { left: 14%; top: 4%; width: 62%; height: 78%; border-radius: 48% 52% 44% 56% / 38% 42% 58% 62%; }
.blob-main img { object-position: 50% 20%; }
.blob-b { left: 0; bottom: 2%; width: 40%; height: 42%; border-radius: 62% 38% 54% 46% / 50% 58% 42% 50%; }
.blob-c { right: 0; top: 46%; width: 38%; height: 36%; border-radius: 40px; transform: rotate(5deg); }
.blob-c img { object-position: 30% 40%; }
.blob-b img { object-position: 50% 25%; }
.collage .block { position: absolute; border: 4px solid var(--ink); }
.block-sun { left: 26%; top: 14%; width: 66%; height: 74%; background: var(--sun); border-radius: 44% 56% 52% 48% / 46% 40% 60% 54%; transform: rotate(8deg); }
.block-mint { left: 4%; bottom: 0; width: 30%; height: 28%; background: var(--mint); border-radius: 30px; transform: rotate(-8deg); }
.sticker { position: absolute; z-index: 2; pointer-events: none; will-change: transform; }
.sticker svg { display: block; width: 100%; height: auto; }
.st-star { width: 15%; right: 6%; top: 0; }
.st-half { width: 14%; left: 2%; top: 22%; }
.st-squiggle { width: 22%; right: 20%; bottom: -2%; }
.st-dot { width: 9%; left: 42%; top: -2%; }
.st-tri { width: 10%; right: -1%; top: 34%; }

.hero-note { margin-top: 14px; font-size: .85rem; color: var(--ink-2); }

@media (max-width: 991.98px) {
  .hero { padding-top: 92px; }
  .hero-grid { grid-template-columns: 1fr; }
  .collage { max-width: 520px; justify-self: center; aspect-ratio: 1 / .82; }
  .blob-main { left: 22%; width: 52%; height: 86%; top: 6%; }
  .blob-b { width: 34%; height: 50%; }
  .blob-c { width: 32%; height: 42%; top: 40%; }
}
@media (max-width: 575.98px) {
  h1 { font-size: clamp(2.3rem, 10.4vw, 3rem); }
  .hero .lede { font-size: 1.05rem; margin-bottom: 20px; }
  .hero .btn-row .btn-g { flex: 1 1 100%; }
  .hero-facts { margin-top: 18px; }
}

/* load moment: stickers pop in once */
@media (prefers-reduced-motion: no-preference) {
  .js .sticker > svg { animation: pop .7s var(--ease-out) both; }
  .js .st-half > svg { animation-delay: .15s; }
  .js .st-tri > svg { animation-delay: .3s; }
  .js .st-squiggle > svg { animation-delay: .45s; }
  .js .st-dot > svg { animation-delay: .6s; }
}
@keyframes pop { from { transform: scale(.2) rotate(-25deg); opacity: 0; } }

/* ---------- Class finder ---------- */
.finder { background: var(--sun); border-block: 3px solid var(--ink); position: relative; }
.finder-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.finder h2 { margin-bottom: .35em; }
.finder .lede { color: var(--ink); }
.finder-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-top: 18px; }
.finder-form .field { flex: 1 1 220px; margin: 0; }
.finder-card {
  background: var(--white); border: 3px solid var(--ink); border-radius: var(--r-frame);
  padding: clamp(22px, 3vw, 36px); min-height: 280px; position: relative;
}
.finder-empty { color: var(--ink-2); }
.finder-empty .fe-title { display: block; font: 600 1.4rem var(--font-display); color: var(--ink); margin-bottom: 6px; }
.finder-result .class-name {
  font: 700 clamp(2.6rem, 6vw, 4.2rem)/1 var(--font-display); color: var(--ink);
  display: inline-block; padding: 4px 18px 8px; border-radius: 22px; background: var(--mint); border: 3px solid var(--ink);
  margin: 6px 0 14px; transform: rotate(-1.5deg);
}
.finder-result p { margin-bottom: .7em; }
.finder-rule { font-size: .9rem; color: var(--ink-2); border-top: 2px dashed var(--line); padding-top: 12px; margin-top: 16px; }
.age-strip { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; padding: 0; list-style: none; }
.age-strip li { font-size: .85rem; font-weight: 600; padding: 4px 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .7); border: 2px solid var(--ink); }
@media (max-width: 991.98px) { .finder-grid { grid-template-columns: 1fr; } }

/* ---------- Form fields ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 700; font-size: .98rem; }
.field .hint { font-size: .86rem; color: var(--ink-2); margin: 0; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 2.5px solid var(--ink); border-radius: var(--r-input);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(36, 72, 216, .35); border-color: var(--cobalt); }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 3px rgba(180, 35, 26, .18); }
.field .err { display: none; color: var(--error); font-size: .9rem; font-weight: 600; margin: 0; }
.field .err.show { display: block; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23191B2E' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; padding-right: 44px; }
.opt { font-weight: 500; color: var(--ink-2); }

/* ---------- Stages (home) ---------- */
.stages { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 16px; margin-top: 36px; }
.stage {
  border: 3px solid var(--ink); border-radius: var(--r-block); padding: clamp(22px, 3vw, 34px);
  display: flex; flex-direction: column; gap: 10px; min-height: 320px; position: relative; overflow: hidden;
}
.stage h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 0; }
.stage .classes { font: 600 1.05rem var(--font-display); }
.stage p { margin: 0; }
.stage .stage-icon { width: 64px; height: 64px; margin-bottom: 6px; }
.stage .more { margin-top: auto; font-weight: 700; color: inherit; }
.stage--tomato { background: var(--tomato); color: var(--ink); }
.stage--cobalt { background: var(--cobalt); color: var(--white); }
.stage--cobalt a { color: var(--white); }
.stage--mint { background: var(--mint); color: var(--ink); }
.stage--tomato a, .stage--mint a { color: var(--ink); }
@media (max-width: 991.98px) { .stages { grid-template-columns: 1fr; } .stage { min-height: 0; } }

.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; }
.head-row > div:first-child { max-width: 640px; }
.head-row .ph { max-width: 420px; }

/* ---------- Sample week (sticker timetable) ---------- */
.week { background: var(--white); border-block: 3px solid var(--ink); }
.week-board { margin-top: 32px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.day { background: var(--paper); border: 2.5px solid var(--ink); border-radius: 22px; padding: 14px 12px 16px; }
.day h3 { font-size: 1.15rem; margin: 0 0 10px; text-align: center; }
.day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.chip {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 10px; border-radius: 14px; border: 2px solid var(--ink);
  font-weight: 600; font-size: .9rem; line-height: 1.2;
}
.chip svg { width: 20px; height: 20px; flex: none; }
.chip:nth-child(odd) { transform: rotate(-1.2deg); }
.chip:nth-child(even) { transform: rotate(1deg); }
.c-sun { background: var(--sun); }
.c-mint { background: var(--mint); }
.c-tomato { background: var(--tomato); }
.c-cobalt { background: var(--cobalt); color: var(--white); }
.c-paper { background: var(--white); }
.week-key { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 20px; font-size: .9rem; color: var(--ink-2); }
@media (max-width: 1100px) { .week-board { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .week-board { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; overscroll-behavior-x: contain; }
  .day { scroll-snap-align: start; }
}

/* ---------- Expect to see (placeholder list) ---------- */
.expect { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin-top: 28px; padding: 0; list-style: none; }
.expect li { display: flex; gap: 14px; align-items: flex-start; }
.expect svg { width: 40px; height: 40px; flex: none; }
.expect .ph { width: 100%; display: flex; gap: 14px; align-items: flex-start; }

/* ---------- Notices + voices ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
@media (max-width: 991.98px) { .split { grid-template-columns: 1fr; } }
.notices { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.notice {
  display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center;
  padding: 16px; border-radius: 22px; background: var(--white); border: 2.5px solid var(--ink);
}
.notice .pin { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; border: 2px solid var(--ink); }
.notice .pin svg { width: 28px; height: 28px; }
.notice h3 { font-size: 1.15rem; margin: 0 0 2px; }
.notice p { margin: 0; font-size: .95rem; color: var(--ink-2); }
.sample-tag { display: inline-block; font-size: .78rem; font-weight: 700; padding: 2px 8px; border-radius: var(--r-pill); background: var(--paper-2); border: 1.5px dashed var(--ink); margin-left: 6px; vertical-align: 2px; }

.voices { background: var(--cobalt); color: var(--white); border-radius: var(--r-frame); padding: clamp(24px, 4vw, 44px); border: 3px solid var(--ink); position: relative; overflow: hidden; }
.voices h2 { color: var(--white); }
.voices .quote-mark { position: absolute; right: 18px; top: 8px; width: 110px; }
.voices h2 { padding-right: 110px; }
@media (max-width: 575.98px) { .voices .quote-mark { width: 64px; right: 12px; } .voices h2 { padding-right: 64px; } }

/* ---------- Photo CTA band ---------- */
.cta-band { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; border: 3px solid var(--ink); border-radius: var(--r-frame); overflow: hidden; background: var(--tomato); }
.cta-band .photo { min-height: 320px; position: relative; }
.cta-band .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.cta-band .copy { padding: clamp(28px, 5vw, 60px); align-self: center; }
.cta-band h2 { margin-bottom: .3em; }
@media (max-width: 767.98px) { .cta-band { grid-template-columns: 1fr; } .cta-band .photo { min-height: 260px; } }

/* ---------- Visit ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; margin-top: 28px; }
.visit-card { background: var(--white); border: 3px solid var(--ink); border-radius: var(--r-block); padding: clamp(22px, 3vw, 34px); }
.visit-card address { font-style: normal; font-size: 1.1rem; margin-bottom: 14px; }
.visit-card .phone { font: 700 clamp(1.6rem, 3vw, 2.1rem) var(--font-display); color: var(--ink); text-decoration: none; display: inline-block; margin-bottom: 14px; }
.hours { width: 100%; border-collapse: collapse; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 8px 10px; border-bottom: 2px dashed var(--line); font-weight: 500; }
.hours th { font-weight: 700; }
.hours tr.today th, .hours tr.today td { background: var(--sun); }
.hours tr.today th { border-radius: 12px 0 0 12px; }
.hours tr.today td { border-radius: 0 12px 12px 0; }
.map-wrap { border: 3px solid var(--ink); border-radius: var(--r-block); overflow: hidden; background: var(--mint); position: relative; min-height: 340px; display: flex; flex-direction: column; }
.map-fallback { padding: 22px; background: var(--white); border-top: 3px solid var(--ink); }
.map-fallback p { margin-bottom: 10px; }
.map-canvas { position: relative; flex: 1; min-height: 300px; }
.map-canvas iframe { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; border: 0; z-index: 1; background: transparent; }
.map-art { position: absolute; inset: 0; display: grid; place-items: center; }
.map-art svg { width: min(260px, 70%); height: auto; }
@media (max-width: 991.98px) { .visit-grid { grid-template-columns: 1fr; } }

/* ---------- Page heads (inner pages) ---------- */
.page-head { padding-top: clamp(116px, 13vw, 160px); padding-bottom: clamp(40px, 6vw, 72px); position: relative; }
.crumbs { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .92rem; font-weight: 600; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--ink-2); }
.crumbs a { color: inherit; }
.page-head--cobalt { background: var(--cobalt); color: var(--white); border-bottom: 3px solid var(--ink); }
.page-head--cobalt .lede, .page-head--cobalt .crumbs li + li::before { color: rgba(255, 255, 255, .88); }
.page-head--cobalt a { color: var(--white); }
.page-head--mint { background: var(--mint); border-bottom: 3px solid var(--ink); }
.page-head--mint .lede { color: var(--ink); }
.page-head--tomato { background: var(--tomato); border-bottom: 3px solid var(--ink); }
.page-head--tomato .lede { color: var(--ink); }
.page-head--sun { background: var(--sun); border-bottom: 3px solid var(--ink); }
.page-head--sun .lede { color: var(--ink); }
.page-head .head-sticker { position: absolute; right: clamp(16px, 6vw, 90px); bottom: -34px; width: clamp(80px, 11vw, 140px); z-index: 2; }

/* ---------- About ---------- */
.statement { font: 600 clamp(1.6rem, 3.4vw, 2.6rem)/1.18 var(--font-display); max-width: 28ch; margin: 0 0 24px; text-wrap: balance; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.photo-frame { border: 3px solid var(--ink); border-radius: var(--r-frame); overflow: hidden; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame--blob { border-radius: 46% 54% 40% 60% / 42% 38% 62% 58%; aspect-ratio: 4 / 5; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.value { border: 3px solid var(--ink); border-radius: var(--r-block); padding: 24px; }
.value h3 { margin-bottom: .3em; }
.value p { margin: 0; }
.value--sun { background: var(--sun); }
.value--mint { background: var(--mint); }
.value--tomato { background: var(--tomato); }
@media (max-width: 991.98px) { .about-grid, .values { grid-template-columns: 1fr; } }
.ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.ledger-col { background: var(--white); border: 3px solid var(--ink); border-radius: var(--r-block); padding: 24px; }
.ledger-col.todo { background: transparent; border-style: dashed; }
.ledger-col h3 { display: flex; align-items: center; gap: 10px; }
.ledger-col h3 svg { width: 28px; height: 28px; flex: none; }
.ledger-col ul { margin: 0; padding-left: 1.1em; }
.ledger-col li { margin-bottom: 8px; }
.ledger-col li span { color: var(--ink-2); font-size: .9rem; }
@media (max-width: 767.98px) { .ledger { grid-template-columns: 1fr; } }

/* ---------- Academics ---------- */
.stage-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(36px, 5vw, 60px); border-bottom: 3px dashed var(--line); }
.stage-row:last-of-type { border-bottom: 0; }
.stage-row:nth-of-type(even) .stage-photo { order: 2; }
.stage-photo { border: 3px solid var(--ink); overflow: hidden; aspect-ratio: 5 / 4; }
.stage-photo img { width: 100%; height: 100%; object-fit: cover; }
.stage-row:nth-of-type(1) .stage-photo { border-radius: 56% 44% 48% 52% / 46% 54% 46% 54%; background: var(--tomato); }
.stage-row:nth-of-type(2) .stage-photo { border-radius: var(--r-frame); background: var(--cobalt); }
.stage-row:nth-of-type(3) .stage-photo { border-radius: 40px 140px 40px 140px; background: var(--mint); }
.stage-badge { display: inline-block; padding: 4px 14px; border-radius: var(--r-pill); border: 2.5px solid var(--ink); font: 600 1rem var(--font-display); margin-bottom: 12px; }
.focus-list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.focus-list li { padding: 6px 12px; border-radius: var(--r-pill); background: var(--white); border: 2px solid var(--ink); font-weight: 600; font-size: .92rem; }
@media (max-width: 767.98px) { .stage-row { grid-template-columns: 1fr; } .stage-row:nth-of-type(even) .stage-photo { order: 0; } }

/* ---------- Admissions ---------- */
.journey { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; }
.journey li { position: relative; padding: 26px 22px 24px; border-radius: var(--r-block); border: 3px solid var(--ink); background: var(--white); counter-increment: step; }
.journey li::before {
  content: counter(step);
  display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 14px;
  font: 700 1.7rem var(--font-display); border: 3px solid var(--ink); border-radius: 50%;
}
.journey li:nth-child(1)::before { background: var(--sun); }
.journey li:nth-child(2)::before { background: var(--mint); }
.journey li:nth-child(3)::before { background: var(--tomato); }
.journey li:nth-child(4)::before { background: var(--cobalt); color: var(--white); }
.journey h3 { font-size: 1.3rem; margin-bottom: .3em; }
.journey p { margin: 0; font-size: .98rem; }
@media (max-width: 991.98px) { .journey { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .journey { grid-template-columns: 1fr; } }

.age-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; font-variant-numeric: tabular-nums; }
.age-table th, .age-table td { padding: 12px 16px; text-align: left; background: var(--white); border-block: 2.5px solid var(--ink); }
.age-table th:first-child, .age-table td:first-child { border-left: 2.5px solid var(--ink); border-radius: 16px 0 0 16px; }
.age-table th:last-child, .age-table td:last-child { border-right: 2.5px solid var(--ink); border-radius: 0 16px 16px 0; }
.age-table thead th { background: var(--ink); color: var(--paper); font-family: var(--font-display); font-weight: 600; }
.age-table td:first-child { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }

.docs { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.docs label { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 18px; background: var(--white); border: 2.5px solid var(--ink); cursor: pointer; font-weight: 600; }
.docs input { width: 24px; height: 24px; accent-color: var(--mint); flex: none; }
.docs input:checked + span { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--ink-2); }

.faq { margin-top: 24px; display: grid; gap: 10px; }
.faq details { background: var(--white); border: 2.5px solid var(--ink); border-radius: 20px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; font: 600 1.15rem var(--font-display); position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--sun); border: 2px solid var(--ink); display: grid; place-items: center; font: 700 1.2rem/1 var(--font-body); transition: transform .25s var(--ease-out); }
.faq details[open] summary::after { content: "–"; background: var(--mint); }
.faq .ans { padding: 0 20px 18px; }
.faq .ans p { margin: 0; }

/* enquiry form block */
.enquire { background: var(--cobalt); color: var(--white); border-block: 3px solid var(--ink); }
.enquire h2 { color: var(--white); }
.enquire .lede { color: rgba(255, 255, 255, .9); }
.enquire-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.form-card { background: var(--paper); color: var(--ink); border: 3px solid var(--ink); border-radius: var(--r-frame); padding: clamp(22px, 3.5vw, 40px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 991.98px) { .enquire-grid { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .form-row { grid-template-columns: 1fr; } }
.form-status { display: none; margin-top: 14px; padding: 14px 16px; border-radius: 16px; border: 2.5px solid var(--ink); font-weight: 600; }
.form-status.show { display: block; }
.form-status.ok { background: var(--mint); }
.form-status.bad { background: #FFD9D2; }
.form-status a { color: var(--ink); }
.form-fine { font-size: .86rem; color: var(--ink-2); margin: 12px 0 0; }
.enquire .contact-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.enquire .contact-list a { color: var(--white); font-weight: 700; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 3px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; display: none; }
.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Campus life ---------- */
.activities { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.activities li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; border-radius: var(--r-pill); border: 2.5px solid var(--ink); font: 600 1.1rem var(--font-display); }
.activities li svg { width: 34px; height: 34px; }
.activities li:nth-child(4n+1) { background: var(--sun); }
.activities li:nth-child(4n+2) { background: var(--mint); }
.activities li:nth-child(4n+3) { background: var(--tomato); }
.activities li:nth-child(4n+4) { background: var(--white); }

.gallery { columns: 3 280px; column-gap: 14px; margin-top: 28px; }
.gallery button {
  display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 3px solid var(--ink); border-radius: 24px; overflow: hidden;
  background: var(--paper-2); cursor: zoom-in; break-inside: avoid; position: relative;
}
.gallery button img { width: 100%; height: auto; transition: transform .5s var(--ease-out); }
.gallery button:hover img { transform: scale(1.04); }
.gallery button span { position: absolute; left: 10px; bottom: 10px; background: var(--white); border: 2px solid var(--ink); border-radius: var(--r-pill); padding: 2px 10px; font-size: .85rem; font-weight: 600; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); width: 100%; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(25, 27, 46, .86); }
.lightbox figure { margin: 0; background: var(--paper); border: 3px solid var(--ink); border-radius: 28px; overflow: hidden; }
.lightbox img { width: 100%; max-height: 74vh; object-fit: contain; background: var(--ink); }
.lightbox figcaption { padding: 12px 18px; display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.lb-btns { display: flex; gap: 8px; }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--sun); cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-btn.close { background: var(--white); }

/* ---------- Contact ---------- */
.contact-board { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.action-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.action-tiles a { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 22px; border: 3px solid var(--ink); text-decoration: none; color: var(--ink); font: 600 1.15rem var(--font-display); min-height: 110px; transition: transform .18s var(--ease-out); }
.action-tiles a:hover { transform: rotate(-1.5deg) translateY(-2px); color: var(--ink); }
.action-tiles a small { font: 500 .9rem var(--font-body); color: var(--ink); }
.action-tiles svg { width: 30px; height: 30px; }
.action-tiles a:nth-child(1) { background: var(--tomato); }
.action-tiles a:nth-child(2) { background: var(--mint); }
.action-tiles a:nth-child(3) { background: var(--sun); }
.action-tiles a:nth-child(4) { background: var(--cobalt); color: var(--white); }
.action-tiles a:nth-child(4) small { color: var(--white); }
@media (max-width: 991.98px) { .contact-board { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: var(--paper); padding-block: clamp(56px, 7vw, 88px) 32px; margin-top: 0; }
.site-foot a { color: var(--paper); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.foot-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.foot-brand img { width: 52px; height: 52px; }
.foot-brand span { font: 700 1.6rem var(--font-display); }
.site-foot h2 { font-size: 1.2rem; color: var(--sun); margin-bottom: 12px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-foot address { font-style: normal; }
.foot-note { border-top: 2px dashed rgba(255, 250, 240, .25); margin-top: 40px; padding-top: 20px; font-size: .88rem; color: rgba(255, 250, 240, .78); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.foot-note p { margin: 0; }
@media (max-width: 991.98px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 575.98px) { .foot-grid { grid-template-columns: 1fr; } }

.photo-note { font-size: .85rem; color: var(--ink-2); margin-top: 14px; }

/* simple pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.center-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-top: 120px; }
.center-page p { margin-inline: auto; }
.center-page .btn-row { justify-content: center; }
.big-sticker { width: 140px; margin: 0 auto 20px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.enquire .contact-list li { display: flex; align-items: center; gap: 10px; }
.enquire .contact-list svg { width: 24px; height: 24px; flex: none; color: var(--sun); }
.sheet-links a svg { width: 24px; height: 24px; flex: none; }
.menu-btn svg, .sheet-close svg { width: 20px; height: 20px; }

.on-cobalt a:hover, .on-ink a:hover, .site-foot a:hover, .stage--cobalt a:hover, .page-head--cobalt a:hover { color: var(--sun); }
.page-head .ph p, .finder .ph p { color: var(--ink); }
.tabbar a:hover { color: var(--sun); }
.tabbar a[aria-current="page"]:hover, .tabbar a.tab-call:hover { color: var(--ink); }
