/* Global Kids School: "Stamped for the world". Postage stamps and a passport.
   Bootstrap 5.3.3 grid only (container/row/col); everything else is ours. */

:root {
  --paper: #FAF5EA;
  --page: #FFFDF7;
  --ink: #20232A;
  --ink-2: #4A4E57;
  --red: #C8372D;
  --red-d: #A42A22;
  --blue: #1E5AA8;
  --blue-d: #17467F;
  --grey: #6B6F76;
  --gum: #EBC867;
  --gum-l: #F7E9BC;
  --line: #D9D0BC;
  --display: "Alfa Slab One", "Rockwell", Georgia, serif;
  --body: "Inclusive Sans", "Segoe UI", system-ui, sans-serif;
  --hi: "Noto Sans Devanagari", "Kohinoor Devanagari", "Devanagari Sangam MN", "Mangal", sans-serif;
  --r: 4px;
  --perf: 5px;
  --shadow: 0 1px 2px rgba(32, 35, 42, .08), 0 10px 24px -12px rgba(32, 35, 42, .28);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --airmail: repeating-linear-gradient(-45deg, var(--red) 0 10px, var(--page) 10px 16px, var(--blue) 16px 26px, var(--page) 26px 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}
[lang="hi"] { font-family: var(--hi), var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
a:hover { color: var(--blue-d); text-decoration-thickness: 2.5px; }
::selection { background: var(--gum); color: var(--ink); }
input, select, textarea { caret-color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0 0 1rem; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--grey); font-size: .9375rem; }
strong { font-weight: 700; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--page); padding: .75rem 1rem; border-radius: var(--r); }
.skip:focus, .skip:hover { top: 1rem; color: var(--page); }

/* perforated edge: a mask of bites around the box (whole bites only) */
.perf {
  -webkit-mask: radial-gradient(var(--perf), #0000 97%, #000) round calc(-1.5 * var(--perf)) calc(-1.5 * var(--perf)) / calc(3 * var(--perf)) calc(3 * var(--perf)),
    linear-gradient(#000 0 0) no-repeat 50% / calc(100% - 3 * var(--perf)) calc(100% - 3 * var(--perf));
  mask: radial-gradient(var(--perf), #0000 97%, #000) round calc(-1.5 * var(--perf)) calc(-1.5 * var(--perf)) / calc(3 * var(--perf)) calc(3 * var(--perf)),
    linear-gradient(#000 0 0) no-repeat 50% / calc(100% - 3 * var(--perf)) calc(100% - 3 * var(--perf));
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.2rem; border-radius: var(--r);
  font: 700 1rem/1.2 var(--body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn .ic { width: 20px; height: 20px; flex: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-d); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-d); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover, a.btn-line:hover { background: var(--ink); color: var(--page); }
.btn-ghost { background: transparent; color: var(--blue); padding-inline: .5rem; text-decoration: underline; text-underline-offset: .25em; }
.btn-ghost:hover { color: var(--blue-d); }
.btn:active { transform: translateY(1px); }
.text-link { font-weight: 700; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 40; background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-head::after { /* perforation line under the bar */
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 4px;
  background: radial-gradient(circle, var(--line) 1.5px, transparent 2px) 0 0 / 10px 4px repeat-x;
}
.head-row { display: flex; align-items: center; gap: 1rem; min-height: 76px; }
.brand { flex: none; display: block; }
.brand img { width: 196px; height: auto; }
.main-nav { margin-left: auto; display: none; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .5rem; }
.nav-stamp { display: block; text-decoration: none; padding: 4px; border-radius: 2px; filter: drop-shadow(0 1px 1px rgba(32, 35, 42, .18)); }
.nav-stamp span {
  --perf: 3px;
  display: block; padding: 10px 14px; background: var(--page); color: var(--ink);
  font-weight: 700; font-size: .9375rem; line-height: 1.2; position: relative;
  box-shadow: inset 0 0 0 5px var(--page), inset 0 0 0 6px var(--line);
  -webkit-mask: radial-gradient(var(--perf), #0000 97%, #000) round calc(-1.5 * var(--perf)) calc(-1.5 * var(--perf)) / calc(3 * var(--perf)) calc(3 * var(--perf)), linear-gradient(#000 0 0) no-repeat 50% / calc(100% - 3 * var(--perf)) calc(100% - 3 * var(--perf));
  mask: radial-gradient(var(--perf), #0000 97%, #000) round calc(-1.5 * var(--perf)) calc(-1.5 * var(--perf)) / calc(3 * var(--perf)) calc(3 * var(--perf)), linear-gradient(#000 0 0) no-repeat 50% / calc(100% - 3 * var(--perf)) calc(100% - 3 * var(--perf));
  transition: transform .25s var(--ease), background-color .2s, color .2s;
}
.nav-stamp:hover span { transform: translateY(-2px) rotate(-1.5deg); color: var(--blue); }
.nav-stamp[aria-current="page"] span {
  background: var(--red); color: #fff; box-shadow: inset 0 0 0 5px var(--red), inset 0 0 0 6px rgba(255, 255, 255, .55);
}
.nav-stamp[aria-current="page"] span::after { /* postmark waves across the used stamp */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 24'%3E%3Cpath d='M0 7c5-3 10-3 15 0s10 3 15 0 10-3 15 0 10 3 15 0M0 13c5-3 10-3 15 0s10 3 15 0 10-3 15 0 10 3 15 0M0 19c5-3 10-3 15 0s10 3 15 0 10-3 15 0 10 3 15 0' fill='none' stroke='%23fff' stroke-width='1.3'/%3E%3C/svg%3E") 60% 50% / 60px 24px no-repeat;
}
.head-call { display: none; align-items: center; gap: .4rem; font-weight: 700; color: var(--blue); text-decoration: none; white-space: nowrap; min-height: 44px; }
.head-call .ic { width: 20px; height: 20px; }
.menu-btn {
  margin-left: auto; display: inline-flex; align-items: center; gap: .45rem; min-height: 48px; padding: .5rem 1rem;
  background: var(--blue); color: #fff; border: 0; border-radius: var(--r); font: 700 1rem var(--body); cursor: pointer;
}
.menu-btn .ic { width: 20px; height: 20px; }
@media (min-width: 992px) {
  .main-nav { display: block; }
  .menu-btn { display: none; }
  .brand img { width: 214px; }
}
@media (min-width: 1280px) { .head-call { display: inline-flex; } }

/* phone sheet: an airmail envelope that drops down */
.sheet-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(23, 70, 127, .45); opacity: 0; transition: opacity .3s; }
.sheet-scrim.open { opacity: 1; }
.sheet {
  position: fixed; z-index: 61; left: 8px; right: 8px; top: 8px; max-height: calc(100dvh - 16px); overflow: auto;
  background: var(--page); border: 10px solid transparent; border-image: var(--airmail) 10;
  padding: 1rem 1.1rem 1.3rem; transform: translateY(-110%); transition: transform .45s var(--ease);
}
.sheet.open { transform: none; }
.sheet-flap { height: 18px; margin: -1rem -1.1rem .5rem; background: var(--paper); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.sheet-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .5rem; }
.sheet-title { margin: 0; font: 400 1.25rem/1.1 var(--display); color: var(--blue); }
.sheet-title span { display: block; font: 700 .9375rem var(--hi); color: var(--red); margin-top: .2rem; }
.sheet-close { display: inline-flex; align-items: center; gap: .35rem; min-height: 48px; padding: .4rem .8rem; background: none; border: 2px solid var(--ink); border-radius: var(--r); font: 700 1rem var(--body); color: var(--ink); cursor: pointer; }
.sheet-close .ic { width: 20px; height: 20px; }
.sheet-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.sheet-a { display: block; padding: .8rem .25rem; border-bottom: 1px dashed var(--line); font: 400 1.5rem/1.2 var(--display); color: var(--ink); text-decoration: none; }
.sheet-a[aria-current="page"] { color: var(--red); }
.sheet-a[aria-current="page"]::after { content: " \2713"; font-family: var(--body); font-size: 1rem; }
.sheet-acts { display: grid; gap: .6rem; }
body.sheet-open { overflow: hidden; }

/* ---------- section scaffolding ---------- */
section { padding: 4.5rem 0; }
.sec-h { font: 400 clamp(1.75rem, 3.2vw, 2.5rem)/1.1 var(--display); color: var(--ink); margin-bottom: 1rem; letter-spacing: -.005em; }
.sec-h-2 { margin-top: 2.5rem; }
.sec-lead { color: var(--ink-2); max-width: 60ch; }
.on-blue { color: var(--page); }
.sec-lead.on-blue { color: #E9EEF7; }

/* ---------- placeholders ---------- */
.tbc { border: 2px dashed var(--grey); border-radius: var(--r); padding: .9rem 1rem; background: rgba(255, 253, 247, .7); color: var(--ink-2); max-width: 62ch; }
.tbc-k { display: block; font-weight: 700; color: var(--blue); font-size: .875rem; margin-bottom: .15rem; }
.tbc-inline { color: var(--ink-2); border-bottom: 2px dashed var(--grey); padding-bottom: 1px; }

/* ---------- hero: the passport spread ---------- */
.hero { padding: 2rem 0 3.5rem; }
.passport {
  background: var(--blue); border-radius: 22px; padding: 10px; box-shadow: var(--shadow);
  display: grid; gap: 0; position: relative;
}
.pp-page {
  background-color: var(--page);
  background-image:
    repeating-radial-gradient(circle at 0 100%, transparent 0 13px, rgba(30, 90, 168, .055) 13px 14px),
    repeating-radial-gradient(circle at 100% 0, transparent 0 17px, rgba(200, 55, 45, .04) 17px 18px);
  border-radius: 14px; padding: 1.4rem 1.25rem 1.6rem; position: relative;
}
.pp-run { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 1.1rem; padding-bottom: .5rem; border-bottom: 1px dashed var(--line); color: var(--grey); font-size: .8125rem; font-weight: 700; }
.hero-h { font: 400 clamp(2.35rem, 6.4vw, 4.25rem)/1.02 var(--display); letter-spacing: -.01em; color: var(--ink); max-width: 14ch; }
.hero-hi { font-size: 1.125rem; color: var(--red); font-weight: 700; margin: .8rem 0 1.2rem; }
.pp-fields { margin: 0 0 1.5rem; display: grid; gap: 0; }
.pp-fields > div { display: grid; grid-template-columns: 8.5rem 1fr; gap: .75rem; padding: .55rem 0; border-bottom: 1px dotted #CFC6B2; }
.pp-fields dt { color: var(--grey); font-size: .875rem; font-weight: 700; padding-top: .1rem; }
.pp-fields dd { margin: 0; }
.pp-fields dd [lang="hi"] { color: var(--ink-2); margin-left: .25rem; }
.open-pill { display: inline-block; font-size: .8125rem; font-weight: 700; padding: .05rem .5rem; border-radius: 99px; margin-left: .3rem; }
.open-pill:empty { display: none; }
[data-hours].is-open .open-pill { background: #DDEBD5; color: #24502A; }
[data-hours].is-closed .open-pill { background: #EFE7D6; color: #5A4A2A; }
.hero-acts { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }

.pp-visa { overflow: hidden; margin-top: 10px; padding-bottom: 5rem; }
@media (max-width: 991.98px) {
  .pp-id { display: flex; flex-direction: column; }
  .pp-id .hero-acts { order: 3; margin-bottom: 1.25rem; }
  .pp-id .pp-fields { order: 4; margin-bottom: 0; }
}
.visa-photo { margin: 0 auto; width: min(320px, 78%); background: #fff; padding: 8px 8px 0; box-shadow: var(--shadow); transform: rotate(1.5deg); position: relative; z-index: 1; }
.visa-photo img { width: 100%; aspect-ratio: 420 / 518; object-fit: cover; filter: saturate(.92) contrast(1.02); }
.visa-photo figcaption { font-size: .75rem; color: var(--grey); padding: .35rem 0 .45rem; }
.rubber { position: absolute; width: 150px; height: 150px; color: var(--red-d); z-index: 2; mix-blend-mode: multiply; }
.rubber .rt { font: 700 13px var(--body); letter-spacing: .14em; fill: currentColor; }
.rubber .rm { font: 400 19px var(--display); fill: currentColor; }
.rb-place { right: 4%; top: 46%; transform: rotate(-14deg); opacity: 1; animation: thud .5s .55s var(--ease) backwards; }
.rect-stamp {
  position: absolute; left: 5%; bottom: 74px; z-index: 2; transform: rotate(8deg); color: var(--blue);
  border: 3px solid currentColor; outline: 1.5px solid currentColor; outline-offset: 3px; padding: .3rem .7rem; text-align: center;
  font-size: .75rem; font-weight: 700; line-height: 1.25; mix-blend-mode: multiply; opacity: .9; background: rgba(255, 253, 247, .35);
  animation: thud2 .5s .85s var(--ease) backwards;
}
.rect-stamp strong { display: block; font: 400 1.25rem/1.1 var(--display); }
.rect-stamp span { display: block; }
.mrz { position: absolute; left: 1.25rem; right: 1.25rem; bottom: .9rem; margin: 0; font: 600 .78rem/1.5 "OCR B", "OCR-B", ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .12em; color: var(--grey); white-space: nowrap; overflow: hidden; }
@keyframes thud { from { opacity: 0; transform: rotate(-14deg) scale(1.7); } 70% { opacity: .95; transform: rotate(-14deg) scale(.96); } to { opacity: 1; transform: rotate(-14deg) scale(1); } }
@keyframes thud2 { from { opacity: 0; transform: rotate(8deg) scale(1.7); } 70% { opacity: 1; transform: rotate(8deg) scale(.96); } to { opacity: .9; transform: rotate(8deg) scale(1); } }

@media (min-width: 768px) {
  .pp-page { padding: 1.8rem 2rem 2rem; }
  .pp-fields > div { grid-template-columns: 10rem 1fr; }
}
@media (min-width: 992px) {
  .hero { padding: 2.5rem 0 4.5rem; }
  .passport { grid-template-columns: 1.18fr 1fr; padding: 12px; }
  .pp-id { border-radius: 14px 4px 4px 14px; }
  .pp-id::after { /* the spine shadow */
    content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 38px; pointer-events: none;
    background: linear-gradient(to left, rgba(32, 35, 42, .12), transparent); border-radius: 0 4px 4px 0;
  }
  .pp-visa { margin: 0 0 0 2px; border-radius: 4px 14px 14px 4px; min-height: 0; display: flex; flex-direction: column; justify-content: center; padding-bottom: 5rem; }
  .pp-visa::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 30px; pointer-events: none; background: linear-gradient(to right, rgba(32, 35, 42, .1), transparent); }
  .visa-photo { width: min(340px, 74%); }
  .rubber { width: 168px; height: 168px; }
  .rb-place { right: 3%; top: 44%; }
}

/* ---------- voices: airmail notes on the blue band ---------- */
.voices { background: var(--blue); color: var(--page); position: relative; }
.voices::before, .voices::after { content: ""; position: absolute; left: 0; right: 0; height: 8px; background: var(--airmail); }
.voices::before { top: 0; }
.voices::after { bottom: 0; }
.voices-hi { font: 700 1.25rem var(--hi); color: var(--gum); text-align: right; margin: 0; }
.notes { display: grid; gap: 1.25rem; margin-top: 2rem; }
.air-note {
  margin: 0; background: var(--page); color: var(--ink); padding: 1.4rem 1.4rem 1.1rem; position: relative;
  border: 8px solid transparent; border-image: var(--airmail) 8; box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .5);
}
.air-note blockquote { margin: 0 0 .8rem; }
.air-note blockquote p { margin: 0; font-size: 1.1875rem; line-height: 1.45; }
.air-note figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .8rem; font-size: .875rem; color: var(--grey); }
.air-note .who { font-weight: 700; color: var(--ink); }
.stars { display: inline-flex; gap: 1px; color: #A86B00; }
.stars .st { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.air-note-1 blockquote p { font-family: var(--display); font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.25; }
.voices-more { margin: 2rem 0 0; }
.voices-more a { color: var(--page); font-weight: 700; }
.voices-more a:hover { color: var(--gum); }
.air-note-wide { margin-bottom: 1.25rem; }
@media (min-width: 768px) {
  .notes { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .air-note-1 { grid-column: 1 / span 7; grid-row: span 2; transform: rotate(-1deg); }
  .air-note-2 { grid-column: 8 / span 5; transform: rotate(1.2deg); }
  .air-note-3 { grid-column: 8 / span 5; transform: rotate(-.6deg); }
}

/* ---------- stamp album ---------- */
.album {
  background: #F3EDDF;
  background-image: linear-gradient(rgba(32, 35, 42, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(32, 35, 42, .05) 1px, transparent 1px);
  background-size: 24px 24px; border-radius: 6px; padding: 1.25rem; box-shadow: inset 0 0 0 1px var(--line);
}
.album-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; margin-bottom: 1.25rem; }
.stamp { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; border-radius: 2px; filter: drop-shadow(0 2px 2px rgba(32, 35, 42, .2)); transition: transform .3s var(--ease); }
.stamp:hover { transform: translateY(-3px) rotate(-1deg); }
.stamp-in {
  --perf: 4px; --frame: var(--blue);
  display: grid; justify-items: center; gap: .2rem; position: relative; text-align: center;
  background: var(--page); padding: 14px 10px 12px;
  box-shadow: inset 0 0 0 8px var(--page), inset 0 0 0 11px var(--frame);
  -webkit-mask: radial-gradient(var(--perf), #0000 97%, #000) round calc(-1.5 * var(--perf)) calc(-1.5 * var(--perf)) / calc(3 * var(--perf)) calc(3 * var(--perf)), linear-gradient(#000 0 0) no-repeat 50% / calc(100% - 3 * var(--perf)) calc(100% - 3 * var(--perf));
  mask: radial-gradient(var(--perf), #0000 97%, #000) round calc(-1.5 * var(--perf)) calc(-1.5 * var(--perf)) / calc(3 * var(--perf)) calc(3 * var(--perf)), linear-gradient(#000 0 0) no-repeat 50% / calc(100% - 3 * var(--perf)) calc(100% - 3 * var(--perf));
}
.stamp:nth-child(even) .stamp-in { --frame: var(--red); }
.stamp-pic { width: 56%; max-width: 64px; height: auto; color: var(--blue); margin-top: 8px; }
.stamp:nth-child(even) .stamp-pic { color: var(--ink); }
.stamp-name { font-weight: 700; font-size: .8125rem; line-height: 1.2; padding: 0 6px; min-height: 2.4em; display: flex; align-items: center; }
.stamp-val { position: absolute; top: 14px; right: 16px; font: 400 1.05rem/1 var(--display); color: var(--red); }
.stamp[aria-selected="true"] { transform: translateY(-4px) rotate(-1.5deg); }
.stamp[aria-selected="true"] .stamp-in::after { /* cancelled by a postmark */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Ccircle cx='38' cy='40' r='26' fill='none' stroke='%2320232A' stroke-opacity='.55' stroke-width='2.5'/%3E%3Cpath d='M58 30c10-6 20-6 30 0s20 6 30 0M58 40c10-6 20-6 30 0s20 6 30 0M58 50c10-6 20-6 30 0s20 6 30 0' fill='none' stroke='%2320232A' stroke-opacity='.5' stroke-width='2.5'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
.stamp-panel { background: var(--page); border-radius: 4px; padding: 1.2rem 1.25rem .4rem; box-shadow: var(--shadow); }
.stamp-panel h3 { font: 400 1.5rem/1.15 var(--display); margin-bottom: .6rem; }
.stamp-panel .ask { padding-top: .7rem; border-top: 1px dashed var(--line); }
.stamp-src { color: var(--grey); font-size: .875rem; }
@media (min-width: 576px) { .stamp-name { font-size: .9375rem; } }
@media (min-width: 1200px) { .album { padding: 1.75rem; } .album-strip { gap: 1.25rem; } }

/* ---------- postmarks ---------- */
.facts-sec { padding-top: 1.5rem; }
.postmarks { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1rem; }
.pmark { display: grid; justify-items: center; text-align: center; gap: .6rem; }
.pm-c {
  width: 148px; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; gap: .1rem; position: relative;
  border: 3px solid var(--ink); box-shadow: inset 0 0 0 6px var(--paper), inset 0 0 0 8px var(--ink); color: var(--ink);
}
.pm-c::after { /* cancellation waves trailing to the right */
  content: ""; position: absolute; left: 82%; top: 30%; width: 70px; height: 40%; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 40'%3E%3Cpath d='M0 8c6-5 12-5 18 0s12 5 18 0 12-5 18 0 12 5 16 0M0 20c6-5 12-5 18 0s12 5 18 0 12-5 18 0 12 5 16 0M0 32c6-5 12-5 18 0s12 5 18 0 12-5 18 0 12 5 16 0' fill='none' stroke='%2320232A' stroke-width='2.4'/%3E%3C/svg%3E") 0 50% / 100% 100% no-repeat;
}
.pm-a { font: 400 1.2rem/1.05 var(--display); max-width: 110px; }
.pm-b { font-weight: 700; font-size: .9375rem; }
.pm-l { font-size: .9375rem; color: var(--ink-2); font-weight: 700; }
.pm-l .tbc-k { font-weight: 400; color: var(--grey); margin: 0; }
.pm-tbc .pm-c { border: 3px dashed var(--grey); box-shadow: none; color: var(--grey); }
.pm-tbc .pm-c::after { display: none; }
.pm-tbc .pm-b { font: 400 1.6rem/1 var(--display); color: var(--red); transform: rotate(-10deg); }
@media (max-width: 767.98px) { .pm-c::after { display: none; } }
@media (min-width: 768px) { .postmarks { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .postmarks { grid-template-columns: repeat(6, 1fr); } .pm-c { width: 140px; } .pm-c::after { width: 40px; left: 88%; } }

/* ---------- name / postcard ---------- */
.name-sec { background: var(--page); border-block: 1px solid var(--line); }
.name-sec p { max-width: 62ch; }
.postcard { margin: 0; background: #fff; padding: 10px 10px 0; box-shadow: var(--shadow); }
.postcard img { width: 100%; }
.postcard figcaption { font-size: .75rem; color: var(--grey); padding: .4rem 0 .5rem; }
.postcard.tilt { transform: rotate(-1.6deg); }

/* ---------- FAQ ---------- */
.qa-list { border-top: 2px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 1rem 2.5rem 1rem 0; font-weight: 700; font-size: 1.0625rem; position: relative; min-height: 48px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: .25rem; top: .7rem; font: 400 1.5rem/1 var(--display); color: var(--red); transition: transform .25s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 0 1rem; max-width: 65ch; color: var(--ink-2); }

/* ---------- application steps ---------- */
.app-steps { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: grid; gap: 1rem; }
.app-steps li { display: grid; grid-template-columns: 3.25rem 1fr; column-gap: 1rem; align-items: start; padding-bottom: 1rem; border-bottom: 1px dashed var(--line); }
.app-steps .sn {
  grid-row: span 2; width: 3.25rem; height: 3.25rem; border-radius: 50%; display: grid; place-items: center;
  border: 2.5px solid var(--red); box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 4.5px var(--red); color: var(--red);
  font: 400 1.35rem/1 var(--display); transform: rotate(-8deg);
}
.app-steps h3 { font-size: 1.125rem; font-weight: 700; margin: .35rem 0 .2rem; }
.app-steps p { margin: 0; color: var(--ink-2); }

/* ---------- envelope ---------- */
.envelope {
  position: relative; background: var(--page); padding: 1.6rem 1.4rem 1.5rem; box-shadow: var(--shadow);
  border: 10px solid transparent; border-image: var(--airmail) 10;
}
.env-stamp { position: absolute; top: 14px; right: 14px; width: 72px; transform: rotate(3deg); }
.env-postmark {
  position: absolute; top: 8px; right: 92px; width: 84px; height: 84px; border-radius: 50%; border: 2px solid rgba(32, 35, 42, .55);
  display: grid; place-content: center; text-align: center; color: rgba(32, 35, 42, .7); font-size: .625rem; font-weight: 700; line-height: 1.25; transform: rotate(-12deg);
}
.env-postmark .pm-mid { font: 400 .95rem/1.1 var(--display); }
.env-h { font: 400 1.6rem/1.15 var(--display); margin: 0 0 1.25rem; max-width: 12ch; }
.env-addr { font-style: normal; font-size: 1.1875rem; line-height: 1.5; padding-left: 1rem; border-left: 1px solid var(--ink); margin: 2.25rem 0 1rem; }
.env-to { display: block; font-size: .875rem; color: var(--grey); font-weight: 700; }
.env-hours { display: flex; gap: .5rem; align-items: flex-start; color: var(--ink-2); }
.env-hours .ic { width: 20px; height: 20px; flex: none; margin-top: .15rem; }
.env-hours .open-txt { display: block; font-weight: 700; color: var(--ink); }
.env-acts { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
@media (min-width: 576px) { .env-addr { margin-top: 1rem; } }

/* ---------- inner page band (passport cover) ---------- */
.band {
  background-color: var(--blue); color: var(--page); padding: 2.5rem 0 3rem; position: relative; overflow: hidden;
  background-image: repeating-radial-gradient(circle at 85% 120%, transparent 0 18px, rgba(255, 255, 255, .06) 18px 19px);
}
.band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--airmail); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.25rem; padding: 0; font-size: .9375rem; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .7; }
.crumbs a { color: var(--page); }
.band-row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.band-h { font: 400 clamp(2.2rem, 5.5vw, 3.75rem)/1.05 var(--display); color: var(--page); max-width: 18ch; }
.band-lead { color: #E9EEF7; max-width: 58ch; font-size: 1.125rem; margin: 1rem 0 .5rem; }
.band-hi { color: #F8E7B0; font-weight: 700; margin: 0; }
.band-stamp { width: 120px; flex: none; transform: rotate(4deg); display: none; }
.band .rubber { position: static; flex: none; color: var(--page); mix-blend-mode: normal; opacity: .9; transform: rotate(-10deg); display: none; }
.band .rubber .rm { font-size: 17px; }
@media (min-width: 768px) { .band-stamp, .band .rubber { display: block; } }
.band-center { text-align: center; padding: 4rem 0; }
.band-center .band-h, .band-center .band-lead { margin-inline: auto; }
.band-center .rubber { display: block; margin: 0 auto 1.25rem; width: 150px; height: 150px; position: static; animation: none; }
.band-center .btn-blue { background: var(--page); color: var(--blue); margin-top: 1rem; }
.band-center .btn-blue:hover { background: var(--gum-l); color: var(--blue-d); }
.band-center a:not(.btn) { color: var(--page); font-weight: 700; }
.lost-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.25rem; margin: 1rem 0 0; }
.lost-links a { color: var(--page); font-weight: 700; }

/* ---------- about ---------- */
.holder { padding-bottom: 1rem; }
.story-sec { background: var(--page); border-block: 1px solid var(--line); }
.blank-stamps { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.blank-stamps li {
  --perf: 5px; aspect-ratio: 4 / 5; display: grid; place-content: center; text-align: center; gap: .3rem; padding: 1rem;
  background: var(--page); color: var(--grey); font-size: .875rem;
  box-shadow: inset 0 0 0 12px var(--page), inset 0 0 0 14px var(--grey);
  outline: 2px dashed var(--grey); outline-offset: -26px;
}
.blank-stamps li span { font: 400 1.25rem var(--display); color: var(--ink-2); }
@media (min-width: 768px) { .blank-stamps { grid-template-columns: repeat(4, 1fr); } }

/* ---------- classes ---------- */
.visa-slots { list-style: none; padding: 0; margin: 1.5rem 0 1.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
.visa-slot {
  background: var(--page); border-radius: 6px; padding: 1rem; min-height: 132px; position: relative; box-shadow: inset 0 0 0 1px var(--line);
  background-image: repeating-radial-gradient(circle at 100% 100%, transparent 0 11px, rgba(30, 90, 168, .05) 11px 12px);
}
.vs-name { font: 400 1.35rem/1.1 var(--display); display: block; }
.vs-stamp {
  position: absolute; right: 12px; bottom: 12px; border: 2.5px dashed var(--red); color: var(--red); border-radius: 6px;
  padding: .15rem .6rem; font: 400 1.15rem/1.2 var(--display); transform: rotate(-9deg);
}
@media (min-width: 768px) { .visa-slots { grid-template-columns: repeat(3, 1fr); } }
.guide-sec { background: var(--page); border-block: 1px solid var(--line); }
.guide { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin-top: 1rem; }
.guide th, .guide td { text-align: left; padding: .7rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.guide thead th { font-size: .875rem; color: var(--ink-2); border-bottom: 2px solid var(--ink); }
.guide tbody th { font-weight: 700; }
.evidence { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: 1rem; }
.evidence li { padding-left: 1.4rem; position: relative; }
.evidence li::before { content: ""; position: absolute; left: 0; top: .5rem; width: 10px; height: 10px; background: var(--red); transform: rotate(45deg); }
.evidence .who { display: block; color: var(--grey); font-size: .875rem; }
.evidence-row { gap: 1.25rem; }
@media (min-width: 992px) { .evidence-row { grid-template-columns: repeat(4, 1fr); } }

/* ---------- admissions ---------- */
.enquiry {
  background-color: var(--page); border-radius: 10px; padding: 1.4rem 1.2rem; box-shadow: var(--shadow); position: relative;
  background-image: repeating-radial-gradient(circle at 100% 0, transparent 0 15px, rgba(30, 90, 168, .045) 15px 16px);
}
.app-head { margin-bottom: 1rem; }
.form-h { font: 400 clamp(1.4rem, 2.6vw, 1.85rem)/1.15 var(--display); margin-bottom: .5rem; }
.form-lead { color: var(--ink-2); margin: 0; }
.form-lead [lang="hi"] { display: block; margin-top: .2rem; }
.field label { display: flex; align-items: center; gap: .5rem; font-weight: 700; margin-bottom: .35rem; }
.fno { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border: 1.5px solid var(--ink); font-size: .8125rem; border-radius: 2px; flex: none; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .65rem .75rem; font: 400 1.0625rem/1.4 var(--body); color: var(--ink);
  background: #fff; border: 1.5px solid var(--ink); box-shadow: inset 0 -2px 0 var(--ink); border-radius: 0;
  transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--blue); outline-offset: 1px; background: #FFFCF0; }
.field input::placeholder, .field textarea::placeholder { color: #6E6A62; }
.field [aria-invalid="true"] { border-color: var(--red); box-shadow: inset 0 -2px 0 var(--red); background: #FDF2F0; }
.hint { font-size: .875rem; color: var(--ink-2); margin: .3rem 0 0; }
.err { font-size: .9375rem; color: var(--red-d); font-weight: 700; margin: .35rem 0 0; }
.form-summary { border: 2px solid var(--red); background: #FDF2F0; padding: .8rem 1rem; border-radius: var(--r); margin-bottom: 1rem; color: var(--ink); }
.form-summary ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.form-summary a { color: var(--red-d); font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.app-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; }
.btn-send[disabled] { opacity: .7; cursor: progress; }
.office-use { border: 1.5px dashed var(--grey); padding: .4rem .7rem; min-width: 150px; min-height: 64px; position: relative; color: var(--grey); font-size: .75rem; font-weight: 700; }
.office-use .approved {
  position: absolute; right: 10px; bottom: 6px; color: var(--red); border: 2.5px solid currentColor; padding: .1rem .5rem;
  font: 400 1.1rem/1.2 var(--display); transform: rotate(-10deg) scale(1.6); opacity: 0; transition: transform .35s var(--ease), opacity .25s;
}
.enquiry.sent .office-use .approved { transform: rotate(-10deg) scale(1); opacity: .9; }
.note { margin: 1rem 0 0; padding: .9rem 1rem; border-radius: var(--r); }
.form-ok { background: #E4EFDD; border: 2px solid #3E7A3A; }
.form-fail { background: #FDF2F0; border: 2px solid var(--red); }
.form-small { font-size: .875rem; color: var(--ink-2); margin: 1rem 0 0; }
@media (min-width: 768px) { .enquiry { padding: 1.8rem 1.8rem 1.5rem; } }
.docs-sec { background: var(--page); border-block: 1px solid var(--line); }
.checklist { list-style: none; padding: 0; margin: 1rem 0 0; }
.checklist li { border-bottom: 1px dashed var(--line); }
.checklist label { display: flex; gap: .75rem; align-items: center; min-height: 48px; padding: .5rem 0; cursor: pointer; }
.checklist input { width: 22px; height: 22px; accent-color: var(--blue); flex: none; }
.checklist input:checked + span { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2px; color: var(--ink-2); }

/* ---------- campus life ---------- */
.said-sec { background: var(--page); border-bottom: 1px solid var(--line); }
.gallery { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(2, 1fr); }
.g-btn { display: block; width: 100%; background: none; border: 0; padding: 0; cursor: zoom-in; font: inherit; color: inherit; text-align: left; border-radius: 2px; }
.g-perf {
  --perf: 6px; display: block; background: #fff; padding: 12px; filter: none;
  -webkit-mask: radial-gradient(var(--perf), #0000 97%, #000) round calc(-1.5 * var(--perf)) calc(-1.5 * var(--perf)) / calc(3 * var(--perf)) calc(3 * var(--perf)), linear-gradient(#000 0 0) no-repeat 50% / calc(100% - 3 * var(--perf)) calc(100% - 3 * var(--perf));
  mask: radial-gradient(var(--perf), #0000 97%, #000) round calc(-1.5 * var(--perf)) calc(-1.5 * var(--perf)) / calc(3 * var(--perf)) calc(3 * var(--perf)), linear-gradient(#000 0 0) no-repeat 50% / calc(100% - 3 * var(--perf)) calc(100% - 3 * var(--perf));
}
.g-perf img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s var(--ease); }
.g-btn:hover .g-perf img { transform: scale(1.03); }
.g-cap { display: block; font-weight: 700; margin-top: .4rem; }
.g-football, .g-bigball { grid-column: span 2; }
.g-football .g-perf img, .g-bigball .g-perf img { aspect-ratio: 16 / 9; }
@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(6, 1fr); }
  .g-item { grid-column: span 2; }
  .g-football, .g-bigball { grid-column: span 3; }
  .g-item:nth-child(3) { transform: rotate(-1deg); }
  .g-item:nth-child(5) { transform: rotate(1deg); }
}
.expect { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 1rem; }
.expect li { border: 2px dashed var(--grey); border-radius: var(--r); padding: 1rem 1.1rem; background: rgba(255, 253, 247, .7); }
.expect h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: .25rem; }
.expect p { margin: 0 0 .4rem; color: var(--ink-2); }
.expect .tbc-k { margin: 0; font-size: .8125rem; }
@media (min-width: 768px) { .expect { grid-template-columns: repeat(2, 1fr); } }
.notices { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 1rem; }
.notice { background: var(--page); padding: 1rem 1.1rem .4rem; box-shadow: var(--shadow); position: relative; border-top: 6px solid transparent; border-image: var(--airmail) 6; }
.notice h3 { font-size: 1.0625rem; font-weight: 700; margin: .4rem 0 .25rem; }
.notice p { color: var(--ink-2); }
.sample { display: inline-block; font-size: .75rem; font-weight: 700; color: var(--red-d); border: 1.5px solid currentColor; padding: 0 .4rem; border-radius: 2px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(960px, 94vw); width: 100%; color: var(--page); }
.lightbox::backdrop { background: rgba(20, 22, 28, .86); }
.lightbox figure { margin: 0; background: #fff; padding: 10px; }
.lightbox img { width: 100%; max-height: 74vh; object-fit: contain; background: #111; }
.lightbox figcaption { color: var(--ink); font-size: .9375rem; padding: .5rem .2rem .2rem; }
.lb-acts { display: flex; gap: .5rem; justify-content: center; margin-top: .75rem; flex-wrap: wrap; }
.lb-acts button { display: inline-flex; align-items: center; gap: .35rem; min-height: 48px; padding: .5rem 1rem; background: var(--page); color: var(--ink); border: 0; border-radius: var(--r); font: 700 1rem var(--body); cursor: pointer; }
.lb-acts .ic { width: 20px; height: 20px; }

/* ---------- contact ---------- */
.contact-hours { margin-top: 1.5rem; }
.hours { width: 100%; border-collapse: collapse; background: var(--page); box-shadow: inset 0 0 0 1px var(--line); font-variant-numeric: tabular-nums; }
.hours caption { text-align: left; font-weight: 700; padding: 0 0 .5rem; color: var(--ink-2); font-size: .9375rem; }
.hours th, .hours td { text-align: left; padding: .6rem .9rem; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 400; }
.hours tr.today { background: var(--gum-l); }
.hours tr.today th { font-weight: 700; }
.today-tag { font-size: .8125rem; color: var(--ink-2); }
.map-card { position: relative; background: var(--page); box-shadow: var(--shadow); border-radius: 6px; overflow: hidden; min-height: 320px; }
.map-fallback { padding: 1.5rem; background-image: repeating-linear-gradient(0deg, transparent 0 31px, rgba(30, 90, 168, .06) 31px 32px), repeating-linear-gradient(90deg, transparent 0 31px, rgba(30, 90, 168, .06) 31px 32px); min-height: 320px; }
.map-name { font: 400 1.4rem/1.2 var(--display); margin-bottom: .5rem; }
.map-plus { color: var(--ink-2); font-size: .9375rem; }
.map-acts { display: flex; flex-wrap: wrap; gap: .6rem; }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card.loaded .map-fallback { visibility: hidden; }
.contact-form-sec { padding-top: 0; }
.prose { max-width: 68ch; }
.prose h2 { font: 400 1.5rem/1.2 var(--display); margin: 2rem 0 .6rem; }
.prose h2:first-child { margin-top: 0; }

/* ---------- footer ---------- */
.site-foot { background: var(--blue); color: #E9EEF7; padding: 0 0 6rem; position: relative; }
.airmail-edge { height: 10px; background: var(--airmail); margin-bottom: 3rem; }
.foot-logo { width: 214px; margin-bottom: .4rem; }
.foot-note { font-size: .8125rem; color: #D3DDEE; }
.foot-addr { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .6rem; }
.foot-addr .ic { width: 20px; height: 20px; flex: none; margin-top: .15rem; }
.foot-addr .open-txt { display: block; font-weight: 700; color: #fff; }
.site-foot a { color: #fff; }
.site-foot a:hover { color: var(--gum); }
.foot-h { font: 400 1.2rem var(--display); color: #fff; margin-bottom: .75rem; }
.foot-links { list-style: none; padding: 0; margin: 0; }
.foot-links a { display: inline-block; padding: .35rem 0; min-height: 44px; line-height: 1.9; }
.foot-small { font-size: .8125rem; color: #D3DDEE; border-top: 1px solid rgba(255, 255, 255, .25); margin-top: 2rem; padding-top: 1rem; }
.site-foot :focus-visible { outline-color: var(--gum); }
.skip:focus-visible { outline-color: var(--gum); }
@media (min-width: 992px) { .site-foot { padding-bottom: 2.5rem; } }

/* ---------- phone action bar ---------- */
.act-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--page); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px -10px rgba(32, 35, 42, .35);
  padding-bottom: env(safe-area-inset-bottom);
}
.act-bar a { display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .55rem 0 .5rem; min-height: 56px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .8125rem; }
.act-bar a:first-child { color: var(--red); }
.act-bar a + a { border-left: 1px dashed var(--line); }
.act-bar .ic { width: 22px; height: 22px; }
@media (min-width: 992px) { .act-bar { display: none; } }

@media (max-width: 575.98px) {
  section { padding: 3.25rem 0; }
  .hero { padding-top: 1rem; }
  .pp-fields > div { grid-template-columns: 1fr; gap: .1rem; }
  .hero-acts .btn { flex: 1 1 auto; }
  .hero-acts .btn-red { flex-basis: 100%; }
  .env-postmark { display: none; }
  .rubber { width: 120px; height: 120px; }
  .rb-place { right: 2%; top: 46%; }
  .rect-stamp { bottom: auto; top: 64px; left: 3%; }
  .album-strip { grid-template-columns: repeat(2, 1fr); }
  .pm-c { width: 136px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .sheet { transition: none; }
}

@media print {
  .site-head, .act-bar, .site-foot, .sheet, .sheet-scrim { display: none !important; }
  body { background: #fff; }
}
