/* EuroWorld School Khajrana — "Explore the world": one survey map, many sheets.
   Pinned palette: map paper, deep ocean ink, compass red, sea green, contour lines. */

:root {
  --paper: #F5F1E6;
  --paper-2: #ECE5D3;
  --paper-3: #FBF8F0;
  --ocean: #0D2B3E;
  --ocean-2: #16405A;
  --ink-2: #3E5566;
  --red: #C2402F;
  --red-d: #A23423;
  --red-l: #F08A78;
  --sea: #2E7D6E;
  --sea-t: #24675A;
  --sea-l: #8FD0C0;
  --contour: #D8CFBC;
  --field: #6E7F87;
  --display: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
  --body: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hdr: 76px;
  --r: 6px;
  --shadow: 0 10px 30px -12px rgba(13, 43, 62, .28), 0 2px 6px -2px rgba(13, 43, 62, .12);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ocean);
  font: 400 1.0625rem/1.65 var(--body); text-rendering: optimizeLegibility;
  scrollbar-color: var(--ocean-2) var(--paper-2);
}
:lang(hi) { font-family: "Noto Sans Devanagari", "Kohinoor Devanagari", var(--body); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--ocean); color: var(--paper); }
input, textarea, select { caret-color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.sea :focus-visible, .ftr :focus-visible, .pcover :focus-visible { outline-color: var(--paper); }
main { overflow-x: clip; }
main:focus { outline: none; }
p { margin: 0 0 1rem; text-wrap: pretty; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0 0 .9rem; text-wrap: balance; letter-spacing: -.005em; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
h2, .h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
h3, .h3 { font-size: 1.45rem; line-height: 1.2; }
.lead { font-size: 1.1875rem; color: var(--ink-2); max-width: 36rem; }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hi { font-size: 1rem; color: var(--sea-t); margin-bottom: 1.2rem; }
.hi--light { color: var(--sea-l); }
.link { font-weight: 600; color: var(--sea-t); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ocean); color: var(--paper); padding: 10px 16px; border-radius: var(--r); font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: 0 1.25rem;
  border-radius: var(--r); border: 1.5px solid transparent; font: 600 1rem/1.2 var(--body);
  text-decoration: none; cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn .ic { flex: none; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-d); }
.btn--line { border-color: var(--ocean); color: var(--ocean); background: transparent; }
.btn--line:hover { background: var(--ocean); color: var(--paper); }
.btn--line-light { border-color: rgba(245, 241, 230, .7); color: var(--paper); }
.btn--line-light:hover { background: var(--paper); color: var(--ocean); }
.btn--sm { min-height: 44px; padding: 0 1rem; font-size: .9375rem; }
.btn[disabled] { opacity: .7; cursor: progress; }
.acts { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.acts--tight { margin: 1rem 0 0; gap: .5rem; }
.acts--center { justify-content: center; }

/* ---------- contour lines */
.sheet, .sea, .ftr, .phead { position: relative; isolation: isolate; overflow: hidden; }
.contours { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; fill: none; stroke: var(--contour); stroke-width: 1; }
.contours .ix { stroke-width: 1.9; }
.sea .contours, .ftr .contours { stroke: rgba(245, 241, 230, .09); }
@media (prefers-reduced-motion: no-preference) {
  .hero .contours { animation: drift 60s ease-in-out infinite alternate; }
}
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-18px, 10px, 0); } }

/* ---------- header */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--ocean); }
.hdr::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 6px; pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--ocean) 0 1px, transparent 1px 24px); opacity: .35; }
.hdr__in { display: flex; align-items: center; gap: 1.5rem; min-height: var(--hdr); }
.brand { display: block; flex: none; }
.brand img { height: 56px; width: auto; }
.nav { display: none; align-items: center; gap: .25rem; margin-left: auto; }
.nav a, .nav__explore { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 .85rem; border-radius: var(--r);
  font: 600 .9375rem/1 var(--body); color: var(--ocean); text-decoration: none; background: none; border: 0; cursor: pointer; }
.nav a:hover, .nav__explore:hover { background: var(--paper-2); }
.nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.nav__explore[aria-expanded="true"] { background: var(--ocean); color: var(--paper); }
.ic--chev { width: 16px; height: 16px; transition: transform .2s ease; }
.nav__explore[aria-expanded="true"] .ic--chev { transform: rotate(180deg); }
.hdr__acts { display: flex; align-items: center; gap: .75rem; margin-left: auto; }
.hdr__call { display: none; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; min-height: 44px; }
.hdr__acts .btn { display: none; }
@media (min-width: 992px) {
  .nav { display: flex; }
  .hdr__acts { margin-left: .5rem; }
  .hdr__call, .hdr__acts .btn { display: inline-flex; }
}

/* legend panel (desktop "Explore") */
.legend { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper-3); border-bottom: 1px solid var(--ocean);
  box-shadow: 0 24px 40px -24px rgba(13, 43, 62, .45); padding: 2rem 0 2.25rem; }
.legend[hidden] { display: none; }
.legend__grid { display: grid; gap: 2rem; grid-template-columns: 1.2fr 1fr 1fr; border: 1px solid var(--ocean); outline: 1px solid var(--ocean); outline-offset: 4px; padding: 1.5rem 1.75rem; }
.legend__h { font: 600 .8125rem/1.3 var(--body); letter-spacing: .04em; color: var(--ink-2); margin-bottom: .75rem; }
.legend ul, .drawer ul { list-style: none; margin: 0; padding: 0; }
.legend__places a, .legend__routes a { display: flex; align-items: center; gap: .75rem; min-height: 44px; text-decoration: none; font-weight: 600; }
.legend__places a:hover span:last-child, .legend__routes a:hover span { text-decoration: underline; }
.legend__places a[aria-current] span:last-child { color: var(--red); }
.legend__places span:last-child { font-family: var(--display); font-size: 1.25rem; }
.lsym { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--ocean); color: var(--ocean); flex: none; }
.lsym .ic { width: 18px; height: 18px; }
.legend__routes .ic { color: var(--red); }
.legend__key li { display: flex; gap: .7rem; align-items: center; font-size: .9375rem; margin-bottom: .6rem; }
.legend__coords { margin-top: 1rem; font-size: .875rem; color: var(--ink-2); }

.kswatch { display: inline-block; flex: none; width: 28px; height: 16px; border-radius: 2px; vertical-align: middle; margin-right: .5rem; }
.kswatch--solid { background: var(--ocean); }
.kswatch--hatch { border: 1.5px dashed var(--ocean); background: repeating-linear-gradient(135deg, transparent 0 4px, rgba(13, 43, 62, .35) 4px 5px); }
.kswatch--route { height: 4px; background: radial-gradient(circle, var(--red) 1.6px, transparent 2px) 0 50% / 7px 4px repeat-x; }

/* bottom bar + drawer (phones and tablets) */
.bbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--ocean); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); gap: 4px; }
.bbar__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 54px; border-radius: var(--r);
  color: var(--paper); background: none; border: 0; font: 600 .75rem/1.1 var(--body); text-decoration: none; cursor: pointer; }
.bbar__btn--red { background: var(--red); }
.bbar__btn[aria-expanded="true"] { background: var(--ocean-2); }
body { padding-bottom: 72px; }
@media (min-width: 992px) { .bbar { display: none; } body { padding-bottom: 0; } }

.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer[hidden] { display: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(13, 43, 62, .55); }
.drawer__sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; overflow-y: auto; background: var(--paper-3);
  border-radius: 18px 18px 0 0; padding: .5rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom)); box-shadow: 0 -20px 40px -20px rgba(13, 43, 62, .5); }
@media (prefers-reduced-motion: no-preference) {
  .drawer.is-open .drawer__sheet { animation: rise .32s cubic-bezier(.16, 1, .3, 1); }
  .drawer.is-open .drawer__scrim { animation: fade .25s ease; }
}
@keyframes rise { from { transform: translateY(100%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } }
.drawer__bar { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: var(--paper-3); padding: .75rem 0; z-index: 1; }
.drawer__bar::before { content: ""; position: absolute; top: 2px; left: 50%; width: 44px; height: 4px; margin-left: -22px; border-radius: 2px; background: var(--contour); }
.drawer__title { font: 600 1.4rem/1.2 var(--display); margin: 0; }
.drawer__close { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--ocean); background: none; color: var(--ocean); cursor: pointer; }
.drawer .legend__grid { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.1rem 1.1rem; }
body.is-locked { overflow: hidden; }

/* ---------- neat-line map sheet frame */
.neat { position: absolute; inset: 20px 4px; border: 1px solid rgba(13, 43, 62, .55); pointer-events: none; }
.neat::before, .neat::after { content: ""; position: absolute; left: 0; right: 0; height: 7px; background: repeating-linear-gradient(90deg, rgba(13, 43, 62, .55) 0 1px, transparent 1px 32px); }
.neat::before { top: 0; } .neat::after { bottom: 0; }
.neat__l { position: absolute; font: 600 .6875rem/1 var(--body); color: var(--ink-2); background: var(--paper); padding: 0 4px; }
.neat__l--a { top: -6px; left: 16%; } .neat__l--b { top: -6px; left: 50%; } .neat__l--c { top: -6px; left: 84%; }
.neat__l--1 { left: -5px; top: 30%; padding: 4px 0; } .neat__l--2 { left: -5px; top: 72%; padding: 4px 0; }

/* ---------- hero */
.hero__in { position: relative; padding: clamp(3rem, 7vw, 5.5rem) 1.25rem clamp(2.5rem, 5vw, 4rem); }
.hero__in > .row { position: relative; }
.hero__t { font-size: clamp(2.75rem, 6.2vw, 5.4rem); line-height: 1; max-width: 11.5ch; margin-bottom: 1rem; letter-spacing: -.012em; }
.hero__hi { font-size: 1.125rem; color: var(--sea-t); margin-bottom: 1rem; }
.hero__lead { font-size: 1.1875rem; max-width: 34rem; color: var(--ink-2); }
.keyrow { list-style: none; padding: 0; margin: .5rem 0 0; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; font-size: .9375rem; align-items: center; }
.keyrow li { display: flex; align-items: center; gap: .5rem; }
.keyrow .ic { color: var(--red); }
.keyrow .status { margin: 0; }
.photo-note { font-size: .8125rem; color: var(--ink-2); margin: .75rem 0 0; }
.hero .photo-note { text-align: right; margin-top: 1.25rem; }

.status { display: inline-flex; align-items: center; gap: .5rem; font-size: .9375rem; font-weight: 600; margin: 0 0 1rem; }
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--field); box-shadow: 0 0 0 3px rgba(110, 127, 135, .2); }
.status.is-open .status__dot { background: var(--sea); box-shadow: 0 0 0 3px rgba(46, 125, 110, .22); }

.lens { position: relative; margin: 0 auto; width: min(100%, 460px); aspect-ratio: 1; }
@media (min-width: 992px) { .lens { margin-top: 1.5rem; } }
.lens__glass { position: absolute; inset: 7.5%; border-radius: 50%; overflow: hidden; background: var(--paper-2);
  box-shadow: 0 0 0 10px var(--paper-3), 0 0 0 11.5px var(--ocean), 0 30px 50px -24px rgba(13, 43, 62, .55); }
.lens__glass img { width: 100%; height: 100%; object-fit: cover; }
.lens__bezel { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lens__rim { fill: none; stroke: var(--ocean); stroke-width: .5; }
.lens__ticks line { stroke: var(--ocean); stroke-width: .35; }
.lens__n, .lens__d { font: 600 4.6px var(--body); text-anchor: middle; fill: var(--ocean); paint-order: stroke; stroke: var(--paper); stroke-width: 1.6px; }
.lens__n { fill: var(--red); font-family: var(--display); font-size: 6.2px; }
.maplabel { position: absolute; left: -2%; bottom: 3%; display: flex; gap: .6rem; align-items: flex-start; background: var(--paper-3);
  border: 1px solid var(--ocean); padding: .55rem .8rem; font-size: .8125rem; line-height: 1.4; box-shadow: var(--shadow); }
.maplabel__pin { width: 12px; height: 12px; margin-top: 3px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--red); flex: none; }

/* ---------- map key strip */
.mapkey { padding: 3rem 0; border-top: 1px solid var(--ocean); border-bottom: 1px solid var(--ocean); background: var(--paper-3); }
.mapkey__k { font-weight: 600; display: flex; align-items: center; margin-bottom: .75rem; }
.mapkey__list { list-style: none; padding: 0; margin: 0; font-size: .9375rem; }
.mapkey__list li { padding: .45rem 0; border-bottom: 1px solid var(--contour); }
.mapkey__list--tbc li { color: var(--ink-2); background: repeating-linear-gradient(135deg, transparent 0 9px, rgba(13, 43, 62, .045) 9px 10px); padding-left: .5rem; }

/* ---------- sections */
.sec { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.sec--tint { background: var(--paper-2); }
.sec--flush { padding-top: 0; }
.sec h3 { margin-top: 2rem; }
.sec h3:first-child { margin-top: 0; }

.ph { position: relative; border: 1.5px dashed rgba(13, 43, 62, .55); border-radius: var(--r); padding: 1rem 1.15rem; color: var(--ink-2);
  background: repeating-linear-gradient(135deg, transparent 0 9px, rgba(13, 43, 62, .05) 9px 10px); margin-bottom: 1.25rem; }
.ph__k, .ph__tag { display: inline-block; font: 600 .75rem/1 var(--body); letter-spacing: .03em; color: var(--red-d); background: var(--paper-3);
  border: 1px solid currentColor; border-radius: 99px; padding: .3rem .55rem; margin-right: .35rem; vertical-align: .1em; }

/* passport + stamps */
.stampsec { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.stampsec__ph { margin: 1.5rem 0 0; max-width: 420px; }
@media (max-width: 991px) { .stampsec__ph { max-width: 260px; } }
.stampsec__ph img { border-radius: var(--r); aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow); }
.passport { position: relative; background: var(--paper-3); border: 1px solid var(--contour); border-radius: 16px; padding: 1.5rem;
  box-shadow: var(--shadow), inset 0 0 0 8px var(--paper-3), inset 0 0 0 9px var(--contour); }
.passport__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1rem;
  border-bottom: 1px dashed var(--contour); padding: .5rem .5rem 1rem; margin-bottom: 1rem; }
.passport__t { font: 600 1.6rem/1.1 var(--display); margin: 0; }
.passport__s { font-size: .8125rem; color: var(--ink-2); margin: 0; }
.stamps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem .75rem; }
.st { text-align: center; }
.st__btn { position: relative; display: grid; place-items: center; width: min(100%, 170px); aspect-ratio: 1; margin: 0 auto; background: none; border: 0;
  padding: 0; cursor: pointer; color: inherit; transform: rotate(var(--tilt)); border-radius: 50%; transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.st__btn:hover { transform: rotate(0deg) scale(1.03); }
.st__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.st__o, .st__i { fill: none; stroke: var(--red); stroke-width: 3; }
.st__i { stroke-width: 1.4; }
.st__o--tbc { stroke: var(--field); stroke-width: 2; stroke-dasharray: 5 5; }
.st__arc { font: 600 8.5px var(--body); letter-spacing: .12em; fill: var(--red); }
.st--tbc .st__arc { fill: var(--ink-2); }
.st__name { position: relative; font: 600 1.3rem/1.05 var(--display); color: var(--red-d); max-width: 7ch; margin-top: .4rem; }
.st__status { position: absolute; bottom: 22%; font: 600 .6875rem/1 var(--body); letter-spacing: .04em; color: var(--red-d); }
.st--tbc .st__name { color: var(--ink-2); }
.st--tbc .st__status { color: var(--ink-2); }
.st__btn::after { content: ""; position: absolute; inset: -9% -14%; border: 2.5px solid var(--ocean); border-radius: 50%; transform: rotate(-12deg) scale(.8);
  opacity: 0; transition: opacity .2s ease, transform .3s cubic-bezier(.16, 1, .3, 1); pointer-events: none; }
.st__btn[aria-pressed="true"]::after { opacity: 1; transform: rotate(-12deg) scale(1); }
.st__age { font-size: .8125rem; color: var(--ink-2); margin: .6rem 0 0; }
.st__note { font-size: .8125rem; margin: .35rem auto 0; max-width: 24ch; }
.passport__foot { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; justify-content: space-between;
  border-top: 1px dashed var(--contour); margin-top: 1.25rem; padding: 1rem .5rem 0; }
.passport__pick { margin: 0; font-size: .9375rem; }
@media (min-width: 768px) { .passport { padding: 2rem; } .stamps { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 992px) and (max-width: 1199px) { .stampsec .stamps { grid-template-columns: repeat(2, 1fr); } }

/* parents' voices */
.voices { padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--paper-2); }
.voices__score { display: flex; gap: 1rem; align-items: center; color: var(--ink-2); max-width: 30rem; }
.voices__big { font: 600 4.75rem/1 var(--display); color: var(--ocean); }
.notes { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.note { background: var(--paper-3); border: 1px solid var(--contour); border-radius: var(--r); padding: 1.25rem 1.4rem; }
.note blockquote { margin: 0; }
.note blockquote p { font: 600 1.3rem/1.35 var(--display); margin: 0 0 .6rem; }
.note__by { font-weight: 600; font-size: .9375rem; margin: 0; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.note__by::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.note__by span { font-weight: 400; color: var(--ink-2); }

/* journey map (sea band) */
.sea { background: var(--ocean); color: var(--paper); }
.sea h1, .sea h2, .sea h3 { color: var(--paper); }
.sea .lead, .journey__lead { color: rgba(245, 241, 230, .82); }
.journey { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.jm-wrap { display: none; margin: 1.5rem 0 0; }
.jm { width: 100%; height: auto; overflow: visible; }
.jm__route { fill: none; stroke: rgba(245, 241, 230, .16); stroke-width: 12; stroke-linecap: round; }
.jm__dots { fill: none; stroke: var(--red-l); stroke-width: 5; stroke-linecap: round; stroke-dasharray: .1 14; }
.jm__stop circle { fill: var(--paper); stroke: var(--red-l); stroke-width: 3; }
.jm__stop text { font: 600 15px var(--body); fill: var(--ocean); text-anchor: middle; }
.jm__x path { stroke: var(--red-l); stroke-width: 7; stroke-linecap: round; }
.jm__lbl { font: 600 22px var(--display); fill: var(--paper); text-anchor: middle; paint-order: stroke; stroke: var(--ocean); stroke-width: 8px; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  .js .jm { clip-path: inset(0 100% 0 0); transition: clip-path 2.2s cubic-bezier(.45, 0, .2, 1); }
  .js .jm.is-drawn { clip-path: inset(0 0 0 0); }
}
.jl { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 0; position: relative; }
.jl li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; position: relative; padding-bottom: 1.25rem; }
.jl li::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 3px;
  background: radial-gradient(circle, var(--red) 1.4px, transparent 1.8px) 50% 0 / 3px 9px repeat-y; }
.jl li:last-child::before { display: none; }
.jl__n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; border: 2px solid var(--red); color: var(--red-d); background: var(--paper-3); }
.jl__t { font-size: 1.3rem; margin: .45rem 0 .3rem; }
.jl p { margin: 0; color: var(--ink-2); font-size: .9688rem; }
.sea .jl li::before { background-image: radial-gradient(circle, var(--red-l) 1.4px, transparent 1.8px); }
.sea .jl__n { background: var(--paper); border-color: var(--red-l); color: var(--ocean); }
.sea .jl p { color: rgba(245, 241, 230, .8); }
.journey__end .acts { margin-bottom: 0; }
@media (min-width: 992px) {
  .jm-wrap { display: block; }
  .journey .jl { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; margin-top: .5rem; }
  .journey .jl li { grid-template-columns: 1fr; padding: 0; }
  .journey .jl li::before, .journey .jl__n { display: none; }
  .journey .jl__t { margin-top: 0; font-size: 1.05rem; font-family: var(--body); }
}

/* locator */
.locator { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.loc { position: relative; border: 1px solid var(--ocean); outline: 1px solid var(--ocean); outline-offset: 5px; background: var(--paper-3); border-radius: 2px; margin: 6px; }
.loc__svg { width: 100%; height: auto; }
.loc__ground { fill: #EFE9DA; }
.loc__grid path { stroke: var(--contour); stroke-width: 1; }
.loc__lake { fill: #CFE3DC; stroke: var(--sea); stroke-width: 1.5; }
.loc__water { font: italic 600 16px var(--display); fill: var(--sea-t); text-anchor: middle; }
.loc__road { fill: none; stroke-linecap: round; }
.loc__road--minor { stroke: #FBF8F0; stroke-width: 12; filter: drop-shadow(0 0 .5px rgba(13, 43, 62, .7)); }
.loc__road--ring { stroke: var(--ocean); stroke-width: 22; }
.loc__road-c { fill: none; stroke: #F3D9A2; stroke-width: 14; }
.loc__rl { font: 600 12px var(--body); fill: var(--ink-2); letter-spacing: .04em; }
.loc__rl--ring { fill: var(--ocean); font-size: 13px; }
.loc__bldg { fill: var(--paper-3); stroke: var(--ocean); stroke-width: 1.5; }
.loc__lbl { font: 600 13px var(--body); fill: var(--ocean); }
.loc__pin path { fill: var(--red); stroke: var(--paper-3); stroke-width: 2; }
.loc__dot { fill: var(--paper-3); }
.loc__pulse { fill: none; stroke: var(--red); stroke-width: 2; opacity: .35; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) { .loc__pulse { animation: pulse 2.8s ease-out infinite; } }
@keyframes pulse { from { transform: scale(.5); opacity: .35; } to { transform: scale(1.6); opacity: 0; } }
.loc__name { font: 600 21px var(--display); fill: var(--ocean); }
.loc__sub { font: 400 12px var(--body); fill: var(--ink-2); }
.loc__rose circle { fill: var(--paper-3); stroke: var(--ocean); }
.loc__rose path { fill: var(--ocean); }
.loc__rose .loc__north { fill: var(--red); }
.loc__rose text { font: 600 13px var(--display); fill: var(--red); text-anchor: middle; }
.loc__note { font: 400 13px var(--body); fill: var(--ink-2); }

.visit__addr { font-style: normal; margin-bottom: .75rem; line-height: 1.55; }
.visit__lm { color: var(--ink-2); }
.hours { width: 100%; border-collapse: collapse; font-size: .9375rem; margin: .5rem 0 0; }
.hours caption { caption-side: bottom; text-align: left; font-size: .8125rem; color: var(--ink-2); padding-top: .6rem; }
.hours th, .hours td { text-align: left; padding: .45rem .6rem; border-bottom: 1px solid var(--contour); font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { background: var(--ocean); color: var(--paper); font-weight: 600; }

/* google map (click to load) */
.gmap { position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--ocean); border-radius: 2px; overflow: hidden;
  background: repeating-linear-gradient(0deg, transparent 0 39px, var(--contour) 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, var(--contour) 39px 40px), var(--paper-3); }
.gmap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gmap__card { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(88%, 420px); background: var(--paper-3); border: 1px solid var(--ocean); padding: 1.25rem; box-shadow: var(--shadow); }
.gmap__t { font: 600 1.35rem/1.2 var(--display); margin-bottom: .4rem; }
.gmap.is-loaded .gmap__card { display: none; }
@media (max-width: 575px) { .gmap { aspect-ratio: auto; min-height: 380px; } }

/* ---------- page heads (each inner page opens differently) */
.phead { padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--ocean); }
.cartouche { width: 100%; border-collapse: collapse; background: var(--paper-3); border: 3px double var(--ocean); font-size: .9375rem; }
.cartouche caption { text-align: left; font: 600 1.15rem/1.2 var(--display); padding-bottom: .5rem; }
.cartouche th, .cartouche td { text-align: left; padding: .55rem .9rem; border-bottom: 1px solid var(--contour); vertical-align: top; }
.cartouche th { font-weight: 600; color: var(--ink-2); width: 36%; border-right: 1px solid var(--contour); }

.phead--passport { background: var(--paper-2); }
.pcover { position: relative; aspect-ratio: 3 / 4; max-width: 250px; margin: 0 auto; background: var(--ocean); color: var(--paper);
  border-radius: 6px 16px 16px 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .6rem;
  transform: rotate(-3deg); box-shadow: -6px 0 0 -2px var(--ocean-2) inset, 0 30px 40px -20px rgba(13, 43, 62, .6); padding: 1.5rem; }
.pcover::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(245, 241, 230, .35); border-radius: 4px 10px 10px 4px; }
.pcover img { width: 88px; height: 88px; }
.pcover__t { font: 600 1.5rem/1.1 var(--display); margin: .4rem 0 0; }
.pcover__s { font-size: .75rem; letter-spacing: .03em; opacity: .85; margin: 0; }
.pdata { margin: 1.5rem 0 0; max-width: 30rem; }
.pdata div { display: flex; gap: .75rem; align-items: baseline; padding: .4rem 0; }
.pdata dt { font-size: .8125rem; color: var(--ink-2); flex: none; }
.pdata dd { margin: 0; font-weight: 600; flex: 1; text-align: right; border-bottom: 1px dotted var(--field); }

.phead--route .lead { color: rgba(245, 241, 230, .85); }
.rs { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.rs::before { content: ""; position: absolute; left: 10%; right: 10%; top: 21px; height: 4px; background: radial-gradient(circle, var(--red-l) 1.8px, transparent 2.2px) 0 50% / 12px 4px repeat-x; }
.rs li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem; }
.rs__n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--ocean); font-weight: 600; border: 3px solid var(--red-l); }
.rs li:last-child .rs__n { background: var(--red); color: #fff; border-color: var(--red); }
.rs__t { font-size: .8125rem; font-weight: 600; max-width: 12ch; line-height: 1.3; }

.phead--tiles { border-bottom: 0; }
.photo-note--box { border: 1px solid var(--ocean); padding: .8rem 1rem; background: var(--paper-3); }

.phead--locator { background: var(--paper-2); }
.bigphone { display: inline-block; font: 600 clamp(2.4rem, 5vw, 3.4rem)/1 var(--display); color: var(--ocean); text-decoration: none; margin: .5rem 0 1rem; border-bottom: 3px solid var(--red); padding-bottom: .2rem; }
.coords { font-size: .9375rem; color: var(--ink-2); line-height: 1.5; }
.coords span { font-weight: 600; color: var(--ocean); }
.compass { margin: 1rem 0 0; width: 120px; }
.compass img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 0 0 4px var(--paper-3), 0 0 0 5px var(--ocean); }

/* ---------- about */
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--contour); }
.facts dt { font-weight: 600; color: var(--ink-2); font-size: .9375rem; }
.facts dd { margin: 0; }
.framed { margin: 0; }
.framed img { border-radius: 2px; box-shadow: 0 0 0 8px var(--paper-3), 0 0 0 9px var(--ocean), var(--shadow); }
.framed--tilt { margin-top: 1.5rem; max-width: 440px; }
.framed figcaption { margin-top: 1.1rem; }
.topics { list-style: none; padding: 0; margin: 0; }
.topics li { display: flex; align-items: baseline; gap: 1.25rem; padding: 1rem 0; border-bottom: 1px solid var(--contour); font-size: 1.125rem; }
.topics__n { font: 600 3rem/1 var(--display); color: var(--red-d); min-width: 2.2ch; }

/* ---------- academics */
.areas { list-style: none; padding: 0; margin: 0; counter-reset: a; }
.areas li { padding: 1.1rem 0 1.1rem 3.25rem; border-bottom: 1px solid var(--contour); position: relative; }
.areas li::before { content: ""; position: absolute; left: .4rem; top: 1.45rem; width: 26px; height: 26px; border-radius: 50%; border: 2px dashed var(--sea); }
.areas h3 { font-size: 1.3rem; margin: 0 0 .25rem; }
.areas p { margin: 0; color: var(--ink-2); }

/* ---------- admissions */
.age { margin-top: 2.25rem; }
.agetable { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.agetable th, .agetable td { text-align: left; padding: .55rem .5rem; border-bottom: 1px solid var(--contour); }
.agetable th { font-weight: 600; color: var(--ink-2); font-size: .8125rem; border-bottom-color: var(--ocean); }
.docs { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.docs label { display: flex; gap: .85rem; align-items: center; min-height: 52px; padding: .5rem 1rem; background: var(--paper-3); border: 1px solid var(--contour); border-radius: var(--r); cursor: pointer; }
.docs input { width: 22px; height: 22px; accent-color: var(--sea); flex: none; }
.docs input:checked + span { text-decoration: line-through; text-decoration-color: var(--sea); color: var(--ink-2); }
.faq { border-bottom: 1px solid var(--contour); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; font: 600 1.25rem/1.3 var(--display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(45deg); transition: transform .2s ease; }
.faq[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq p { margin: 0 0 1.2rem; color: var(--ink-2); max-width: 60ch; }

/* ---------- enquiry form */
.enq { margin: 0 0 clamp(3.5rem, 7vw, 6rem); padding: clamp(1.5rem, 4vw, 3rem); background: var(--paper-3); border: 1px solid var(--ocean); outline: 1px solid var(--ocean); outline-offset: 6px; }
.enq__head { max-width: 40rem; margin-bottom: 1.5rem; }
.field label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: .35rem; }
.opt { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .7rem .85rem; font: 400 1rem/1.4 var(--body); color: var(--ocean);
  background: #FFFDF8; border: 1.5px solid var(--field); border-radius: var(--r); }
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--red); outline-offset: 1px; border-color: var(--ocean); }
.field [aria-invalid="true"] { border-color: var(--red-d); background: #FFF7F4; }
.field__hint { font-size: .8125rem; color: var(--ink-2); margin: .3rem 0 0; }
.field__err { font-size: .875rem; color: var(--red-d); font-weight: 600; margin: .3rem 0 0; }
.form__summary { border: 1.5px solid var(--red-d); color: var(--red-d); background: #FFF7F4; padding: .8rem 1rem; border-radius: var(--r); margin-bottom: 1rem; font-weight: 600; }
.form__foot { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1.5rem; }
.form__small { font-size: .8125rem; color: var(--ink-2); margin: 0; max-width: 32rem; }
.form__ok, .form__fail { margin-top: 1.25rem; padding: 1rem 1.2rem; border-radius: var(--r); border: 1.5px solid var(--sea-t); background: #EEF6F2; }
.form__fail { border-color: var(--red-d); background: #FFF7F4; }
.form__ok-t { font: 600 1.3rem/1.2 var(--display); margin-bottom: .25rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- school life */
.tiles { list-style: none; padding: 1px; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--ocean); }
@media (min-width: 768px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile__btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--paper-2); cursor: zoom-in; overflow: hidden; }
.tile__btn img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.tile__btn:hover img { transform: scale(1.04); }
.tile__ref { position: absolute; left: 0; top: 0; background: var(--paper-3); color: var(--ocean); font: 600 .75rem/1 var(--body); padding: .4rem .5rem; border-right: 1px solid var(--ocean); border-bottom: 1px solid var(--ocean); }
.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.lb::backdrop { background: rgba(13, 43, 62, .92); }
.lb__in { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4rem 1rem 2rem; }
.lb__img { max-height: 76vh; width: auto; max-width: min(92vw, 1000px); object-fit: contain; box-shadow: 0 0 0 6px var(--paper-3); }
.lb__cap { color: var(--paper); margin: 1rem 0 0; text-align: center; max-width: 40rem; font-size: .9375rem; }
.lb__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-3); color: var(--ocean); border: 0; cursor: pointer; }
.lb__btn:focus-visible { outline-color: var(--paper); }
.lb__prev { left: 1rem; top: 50%; } .lb__next { right: 1rem; top: 50%; } .lb__close { right: 1rem; top: 1rem; }
.expect { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
@media (min-width: 768px) { .expect { grid-template-columns: 1fr 1fr; } }
.ph-item { border: 1.5px dashed rgba(13, 43, 62, .5); border-radius: var(--r); padding: 1.15rem 1.25rem; background: repeating-linear-gradient(135deg, transparent 0 9px, rgba(13, 43, 62, .045) 9px 10px), var(--paper-3); }
.ph-item h3 { font-size: 1.2rem; margin: 0 0 .3rem; }
.ph-item p { margin: 0 0 .7rem; color: var(--ink-2); font-size: .9375rem; }
.ph-item .ph__tag { margin: 0; }
.nb { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--ocean); }
.nb li { padding: 1.1rem 0; border-bottom: 1px solid var(--contour); display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: baseline; }
.nb h3 { font-size: 1.2rem; margin: 0; }
.nb p { grid-column: 2; margin: .25rem 0 0; color: var(--ink-2); font-size: .9375rem; }
.nb__tag { grid-row: span 2; font: 600 .75rem/1 var(--body); color: var(--red-d); border: 1px solid currentColor; border-radius: 99px; padding: .3rem .55rem; }

/* ---------- misc pages */
.prose .container { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 2rem; }
.center-sheet { text-align: center; padding: clamp(5rem, 12vw, 9rem) 0; }
.center-sheet .lead { margin-inline: auto; }
.thanks-ph { width: 200px; margin: 0 auto 2rem; }
.thanks-ph img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 0 0 8px var(--paper-3), 0 0 0 9px var(--ocean); }

/* ---------- footer */
.ftr { background: var(--ocean); color: var(--paper); padding: 4rem 0 2rem; }
.ftr a { color: var(--paper); }
.ftr__logo { width: 280px; height: auto; margin-bottom: 1.25rem; }
.ftr__hi { color: var(--sea-l); }
.ftr__nap { font-size: .9375rem; color: rgba(245, 241, 230, .85); }
.ftr__h { font: 600 .8125rem/1 var(--body); letter-spacing: .05em; color: rgba(245, 241, 230, .7); margin-bottom: 1rem; }
.ftr__links { list-style: none; padding: 0; margin: 0; }
.ftr__links a { display: inline-flex; min-height: 40px; align-items: center; text-decoration: none; }
.ftr__links a:hover { text-decoration: underline; }
.ftr__fine { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(245, 241, 230, .2); font-size: .8125rem; color: rgba(245, 241, 230, .72);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.ftr__fine p { margin: 0; max-width: 34rem; }

/* ---------- small screens */
@media (max-width: 991px) {
  .legend__grid { grid-template-columns: 1fr; }
  .hero .photo-note { text-align: center; }
  .lens { width: min(86%, 400px); margin-top: .5rem; }
}
@media (max-width: 575px) {
  :root { --hdr: 64px; }
  .brand img { height: 42px; }
  .hero__in { padding-left: .75rem; padding-right: .75rem; }
  .neat { inset: 12px 0; }
  .neat__l { display: none; }
  .hero__t { font-size: clamp(2.5rem, 11.5vw, 3.2rem); }
  .acts .btn { flex: 1 1 100%; justify-content: center; }
  .maplabel { left: 0; bottom: -2%; font-size: .75rem; }
  .facts div { grid-template-columns: 1fr; gap: .2rem; }
  .rs__t { font-size: .6875rem; }
  .rs__n { width: 36px; height: 36px; }
  .rs::before { top: 17px; }
  .voices__big { font-size: 3.75rem; }
  .st__name { font-size: 1.1rem; }
  .enq { outline-offset: 3px; }
}

/* ---------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- print: the documents checklist only */
@media print {
  body.print-docs * { visibility: hidden; }
  body.print-docs #docs-h, body.print-docs #docs-h ~ p, body.print-docs .docs, body.print-docs .docs * { visibility: visible; }
  body.print-docs .docs { position: absolute; top: 4rem; left: 0; right: 0; }
  body.print-docs::before { content: "EuroWorld School Khajrana · Scheme No. 94, Plot No. 172, Ring Road, Khajrana, Indore 452016 · 097139 91111 — Documents to keep ready (confirm with the school)"; visibility: visible; position: absolute; top: 0; left: 0; font: 600 12pt/1.4 var(--body); }
  .bbar, .hdr, .ftr { display: none; }
}
