/* Sandipani School preview: "Every year, a little higher".
   Mountain trail, flags at every switchback. Oswald (display) + Source Serif 4 (body).
   Bootstrap 5.3.3 supplies only the grid (bootstrap-grid.min.css); everything else is restyled here. */
:root {
  --ground: #F5F4EF;
  --paper: #ECEAE2;
  --ink: #1B2128;
  --snow: #FFFFFF;
  --slate: #5B6B7A;
  --slate-d: #3D4A56;
  --mist: #E3EAEF;
  --ochre: #D79A45;
  --pine: #2F6B4F;
  --pine-d: #234F3B;
  --flag: #D9443B;
  --flag-d: #B5342C;
  --line: #D3D1C6;
  --night-text: #E8ECEF;
  --night-mute: #AEB9C3;
  --r: 4px;
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --hindi: "Noto Serif Devanagari", "Source Serif 4", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.65;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, figure { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: 1.05; letter-spacing: .01em; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 4.4vw, 2.6rem); margin-bottom: .5em; }
h3 { font-size: 1.2rem; font-weight: 500; letter-spacing: .04em; margin-bottom: .35em; }
p { text-wrap: pretty; }
a { color: var(--pine-d); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -64px; z-index: 200; background: var(--ink); color: var(--snow); padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 12px; }
.skip:hover { color: var(--snow); }
.ic { flex: none; }
[hidden] { display: none !important; }

/* grid fallbacks that must hold before the Bootstrap grid file arrives */
.container { padding-left: 20px; padding-right: 20px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 11px 20px; border: 2px solid var(--ink); border-radius: var(--r);
  font-family: var(--display); font-weight: 500; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1.1;
  text-decoration: none; cursor: pointer; background: transparent; color: var(--ink);
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { text-decoration: none; }
.btn-pine { background: var(--pine); border-color: var(--pine); color: var(--snow); }
.btn-pine:hover { background: var(--pine-d); border-color: var(--pine-d); color: var(--snow); }
.btn-flag { background: var(--flag-d); border-color: var(--flag-d); color: var(--snow); }
.btn-flag:hover { background: var(--ink); border-color: var(--ink); color: var(--snow); }
.btn-line:hover { background: var(--ink); color: var(--snow); }
.btn[disabled] { opacity: .6; cursor: progress; }
.night .btn-line, .sheet .btn-line { color: var(--snow); border-color: var(--snow); }
.night .btn-line:hover { background: var(--snow); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.actions-stack { flex-direction: column; align-items: stretch; max-width: 340px; }
.tlink { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-size: .95rem; color: inherit; }
.after { margin: 28px 0 0; }

/* ---------------------------------------------------------------- header: trail markers on a winding path */
.top { position: sticky; top: 0; z-index: 60; background: var(--ground); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: block; flex: none; line-height: 0; }
.brand img { height: 44px; width: auto; }
.trail { display: none; position: relative; flex: 1; margin: 0 8px; }
.trail ul { display: grid; grid-template-columns: repeat(6, 1fr); list-style: none; margin: 0; padding: 0; position: relative; height: 56px; }
.trail-line { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ochre); pointer-events: none; }
.tm { display: block; height: 56px; padding-top: 34px; text-align: center; position: relative; text-decoration: none;
  font-family: var(--display); font-weight: 500; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.tm .mk { position: absolute; left: 50%; width: 12px; height: 12px; margin-left: -6px; transform: rotate(45deg); background: var(--snow); border: 2px solid var(--slate-d); transition: background-color .2s, transform .2s; }
.trail li:nth-child(odd) .mk { top: 6px; }
.trail li:nth-child(even) .mk { top: 20px; }
.tm:hover { color: var(--ink); text-decoration: none; }
.tm:hover .mk { background: var(--ochre); }
.tm[aria-current="page"] .mk { background: var(--flag-d); border-color: var(--flag-d); transform: rotate(45deg) scale(1.35); }
.tm[aria-current="page"] .lb { text-decoration: underline; text-decoration-color: var(--ochre); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.top-call { display: none; min-height: 44px; padding: 8px 16px; white-space: nowrap; }
.menu-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 14px; background: var(--ink); color: var(--snow); border: 2px solid var(--ink); border-radius: var(--r);
  font-family: var(--display); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-size: .95rem; cursor: pointer; }
.menu-btn:focus-visible { outline-color: var(--ochre); }
@media (min-width: 992px) {
  .top-row { min-height: 78px; gap: 24px; }
  .brand img { height: 48px; }
  .trail { display: block; }
  .top-call { display: inline-flex; }
  .menu-btn { display: none; }
}

/* phone sheet: a trail map that unfolds */
.sheet { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; padding: 14px 20px 24px; overflow-y: auto;
  background:
    linear-gradient(to bottom, rgba(255,255,255,.4) 0 33.33%, rgba(27,33,40,.05) 33.33% 66.66%, rgba(255,255,255,.25) 66.66% 100%),
    repeating-radial-gradient(circle at 85% 12%, transparent 0 26px, rgba(91,107,122,.16) 26px 27px),
    var(--paper); }
.sheet::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, transparent calc(33.33% - 1px), rgba(27,33,40,.22) calc(33.33% - 1px) 33.33%, transparent 33.33% calc(66.66% - 1px), rgba(27,33,40,.22) calc(66.66% - 1px) 66.66%, transparent 66.66%); }
.sheet > * { position: relative; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; }
.sheet-top img { height: 38px; width: auto; }
.sheet-close { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 14px; background: var(--snow); border: 2px solid var(--ink); border-radius: var(--r); color: var(--ink); cursor: pointer;
  font-family: var(--display); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-size: .95rem; }
.sheet-title { margin: 22px 0 4px; font-family: var(--display); font-weight: 500; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--slate-d); }
.sheet-trail { list-style: none; margin: 0; padding: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 128' preserveAspectRatio='none'%3E%3Cpath d='M9 32L33 96L9 160' fill='none' stroke='%23B07A2C' stroke-width='2.4' stroke-dasharray='2 7' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") repeat-y 0 0 / 100% 128px; }
.sheet-trail li { height: 64px; display: flex; align-items: center; }
.sheet-trail li:nth-child(odd) { padding-left: 4%; }
.sheet-trail li:nth-child(even) { padding-left: 27%; }
.sm { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.7rem; letter-spacing: .02em; text-transform: uppercase; min-height: 52px; background: var(--paper); padding-right: 8px; }
.sm .mk { width: 14px; height: 14px; transform: rotate(45deg); background: var(--snow); border: 2px solid var(--slate-d); flex: none; }
.sm[aria-current="page"] .mk { background: var(--flag-d); border-color: var(--flag-d); }
.sm[aria-current="page"] .lb { text-decoration: underline; text-decoration-color: var(--ochre); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.sheet-acts { display: flex; gap: 12px; margin-top: auto; padding-top: 20px; }
.sheet-acts .btn { flex: 1; }
.sheet .btn-line { color: var(--ink); border-color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .sheet:not([hidden]) { animation: unfold .55s cubic-bezier(.2, .8, .2, 1); }
  @keyframes unfold { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
}

/* ---------------------------------------------------------------- hero */
.hero { background: var(--mist); padding: 32px 0 56px; overflow: hidden; }
.kicker { font-family: var(--display); font-weight: 500; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-d); margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.6rem, 11vw, 4.6rem); line-height: .98; margin-bottom: 16px; }
.lead { font-size: 1.2rem; line-height: 1.55; max-width: 38ch; }
.hi { font-family: var(--hindi); font-weight: 500; font-size: 1.15rem; color: var(--pine-d); margin: 0; line-height: 1.7; }
.hero .actions { margin-top: 22px; }
.peak { position: relative; max-width: 640px; margin: 0 auto; aspect-ratio: 640 / 560; }
.peak-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.summit { position: absolute; left: 51.5%; top: 3%; width: 46%; margin: 0; transform: translateX(-50%); background: var(--snow); padding: 5px; outline: 2px solid var(--ink); border-radius: 2px; }
.summit img { display: block; width: 100%; height: auto; }
.post { position: absolute; top: 100%; width: 6px; height: 28px; background: var(--ink); }
.post-l { left: 22%; } .post-r { right: 22%; }
.hexbadge { position: absolute; width: 104px; height: 92px; left: 1%; top: 34%; display: grid; place-content: center; text-align: center; color: var(--snow); background: var(--pine); clip-path: polygon(25% 3%, 75% 3%, 98% 50%, 75% 97%, 25% 97%, 2% 50%); }
.hexbadge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hexbadge p { position: relative; margin: 0; }
.hb-big { font-family: var(--display); font-weight: 700; font-size: 1.7rem; line-height: 1; }
.hb-small { font-size: .7rem; line-height: 1.2; letter-spacing: .02em; margin-top: 2px !important; }
.scene-cap { margin: 10px auto 0; max-width: 640px; font-size: .85rem; color: var(--slate-d); }
@media (min-width: 992px) {
  .hero { padding: 48px 0 72px; }
  .hexbadge { width: 132px; height: 116px; }
  .hb-big { font-size: 2.2rem; } .hb-small { font-size: .74rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .trail-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s .3s ease-out forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  .flag { transform-box: fill-box; transform-origin: 50% 100%; animation: pop .5s var(--d) cubic-bezier(.2, .8, .2, 1) both; }
  @keyframes pop { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
}

/* ---------------------------------------------------------------- sections */
.sec { padding: 56px 0; }
.sec.paper { background: var(--paper); }
.sec.night { background: var(--ink); color: var(--night-text); }
.night h2, .night h3 { color: var(--snow); }
.night a { color: var(--snow); }
.night :focus-visible { outline-color: var(--ochre); }
.sec-lead { font-size: 1.1rem; max-width: 52ch; }
.night .sec-lead { color: var(--night-mute); }
.lead-light { font-size: 1.15rem; color: var(--night-text); }
@media (min-width: 992px) { .sec { padding: 88px 0; } }
.legend { font-size: .95rem; color: var(--night-mute); line-height: 1.9; margin-top: 18px; }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 10px; vertical-align: -1px; }
.lg-k { background: var(--ochre); }
.lg-b { border: 2px dashed var(--night-mute); }

/* altitude markers */
.altitude { list-style: none; margin: 0; padding: 0; position: relative; }
.altitude::before { content: ""; position: absolute; left: 11px; top: 26px; bottom: 26px; width: 2px;
  background: repeating-linear-gradient(to bottom, var(--slate) 0 6px, transparent 6px 12px); }
.alt-row { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 16px; padding: 12px 0; }
.alt-dot { width: 24px; height: 24px; border-radius: 50%; margin-top: 2px; position: relative; background: var(--ink); }
.alt-known .alt-dot { background: var(--ochre); box-shadow: 0 0 0 4px var(--ink), 0 0 0 6px var(--ochre); }
.alt-tbc .alt-dot { border: 2px dashed var(--night-mute); }
.alt-k { margin: 0; font-family: var(--display); font-weight: 500; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; color: var(--night-mute); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.alt-tag { font-size: .74rem; letter-spacing: .08em; padding: 2px 8px; border-radius: 2px; }
.alt-known .alt-tag { background: var(--pine); color: var(--snow); }
.alt-tbc .alt-tag { border: 1px dashed var(--night-mute); color: var(--night-mute); }
.alt-v { margin: 2px 0 0; font-size: 1.12rem; color: var(--snow); line-height: 1.5; }
.alt-tbc .alt-v { color: var(--night-mute); }
.alt-v a { color: var(--snow); }
/* light version on the ground colour */
.alt-light .alt-dot { background: var(--ground); }
.alt-light .alt-known .alt-dot { background: var(--ochre); box-shadow: 0 0 0 4px var(--ground), 0 0 0 6px var(--ochre); }
.alt-light .alt-tbc .alt-dot { border-color: var(--slate); }
.alt-light .alt-k { color: var(--slate-d); }
.alt-light .alt-v { color: var(--ink); }
.alt-light .alt-tbc .alt-v { color: var(--slate-d); }
.alt-light .alt-v a { color: var(--pine-d); }
.alt-light .alt-tbc .alt-tag { border-color: var(--slate); color: var(--slate-d); }

/* camps: an elevation profile with five camps */
.camps { margin-top: 36px; }
.profile { display: none; position: relative; height: 260px; }
.profile > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.camp-mark { position: absolute; width: 36px; height: 36px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--ground); border: 2px dashed var(--slate-d); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: .95rem; color: var(--slate-d); }
.summit-flag { position: absolute; right: 0; top: -14px; color: var(--flag-d); }
.summit-flag .ic { width: 34px; height: 34px; stroke-width: 2.2; }
.camp-list { list-style: none; margin: 0; padding: 0; position: relative; }
.camp { position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 0 0 26px; }
.camp::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 4px; width: 2px; background: repeating-linear-gradient(to bottom, var(--slate) 0 5px, transparent 5px 10px); }
.camp:last-child::before { display: none; }
.camp-num { grid-row: 1 / span 5; width: 44px; height: 44px; border-radius: 50%; border: 2px dashed var(--slate-d); display: grid; place-items: center; font-family: var(--display); font-weight: 700; color: var(--slate-d); background: var(--ground); position: relative; }
.paper .camp-num { background: var(--paper); }
.camp > :not(.camp-num) { grid-column: 2; }
.camp-label { margin: 0; font-family: var(--display); font-weight: 500; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-d); }
.camp-name { margin: 2px 0 2px; font-size: 1.5rem; font-weight: 700; }
.camp-classes { margin: 0 0 4px; font-weight: 600; }
.camp-ages { font-weight: 400; color: var(--slate-d); }
.camp-text { margin: 0 0 6px; max-width: 46ch; }
.camp-note { margin: 4px 0 0; display: flex; align-items: flex-start; gap: 7px; font-size: .9rem; color: var(--slate-d); }
.camp-note .ic { width: 16px; height: 16px; margin-top: 3px; }
@media (min-width: 992px) {
  .profile { display: block; margin-bottom: 8px; }
  .camp-list { display: grid; grid-template-columns: repeat(5, 1fr); }
  .camp { display: block; padding: 8px 14px 0; text-align: center; }
  .camp::before, .camp-num { display: none; }
  .camp-label, .camp-note { justify-content: center; }
  .camp-note { text-align: left; }
  .camp-text { margin-left: auto; margin-right: auto; font-size: .98rem; }
  .camp-name { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .camps .camp-mark, .js .camps .camp, .js .camps .summit-flag { opacity: 0; transform-origin: center; }
  .js .camps .camp-mark { transform: translate(-50%, -50%) scale(.4); }
  .js .camps.in .camp-mark { opacity: 1; transform: translate(-50%, -50%) scale(1); transition: opacity .5s calc(var(--k, 0) * 1s), transform .5s cubic-bezier(.2, .8, .2, 1) calc(var(--k, 0) * 1s); }
  .js .camps .camp-mark:nth-of-type(1) { --k: .1; } .js .camps .camp-mark:nth-of-type(2) { --k: .3; } .js .camps .camp-mark:nth-of-type(3) { --k: .5; }
  .js .camps .camp-mark:nth-of-type(4) { --k: .7; } .js .camps .camp-mark:nth-of-type(5) { --k: .9; }
  .js .camps.in .camp, .js .camps.in .summit-flag { opacity: 1; transition: opacity .6s calc(.15s + var(--n, 5) * .18s); }
}

/* photos */
.framed { margin: 0; }
.framed img { display: block; width: 100%; height: auto; border-radius: 2px; }
.framed figcaption, .small-fig figcaption { margin-top: 8px; font-size: .85rem; color: var(--slate-d); }
.small-fig { max-width: 280px; margin-left: auto; }
@media (max-width: 991.98px) { .small-fig { margin-left: 0; } }
.checked { margin-top: 16px; font-size: .95rem; color: var(--slate-d); }

/* admissions route: flag by flag */
.route { list-style: none; margin: 0; padding: 0; position: relative; }
.route::before { content: ""; position: absolute; left: 21px; top: 30px; bottom: 30px; width: 2px;
  background: repeating-linear-gradient(to bottom, var(--slate) 0 6px, transparent 6px 12px); }
.stop { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding-bottom: 26px; }
.stop-flag { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ground); border: 2px solid var(--ink); color: var(--flag-d); }
.paper .stop-flag { background: var(--paper); }
.stop:nth-child(even) .stop-flag .ic { transform: scaleX(-1); }
.stop-flag .ic { width: 22px; height: 22px; }
.stop-flag b { position: absolute; top: -7px; left: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ink); color: var(--snow); font-family: var(--display); font-weight: 500; font-size: .75rem; line-height: 20px; text-align: center; }
.route-top .stop-flag { background: var(--ochre); }
.stop-body h3 { margin-top: 6px; }
.stop-body p { margin: 0; max-width: 46ch; }
@media (prefers-reduced-motion: no-preference) {
  .js .route .stop { opacity: 0; transform: translateY(14px); }
  .js .route.in .stop { opacity: 1; transform: none; transition: opacity .5s calc(var(--n) * .15s), transform .5s calc(var(--n) * .15s); }
}
.small-note { margin-top: 16px; font-size: .92rem; color: var(--slate-d); }
.docs { list-style: none; margin: 18px 0 0; padding: 0; }
.docs li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.docs .ic { color: var(--pine); width: 20px; height: 20px; margin-top: 3px; }
.confirm { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0; padding: 6px 12px; border: 2px dashed var(--slate); font-family: var(--display); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; color: var(--slate-d); }

/* signpost FAQ */
.faq { margin: 0 0 10px; }
.faq summary { list-style: none; cursor: pointer; display: block; }
.faq summary::-webkit-details-marker { display: none; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 40px 14px 18px; min-height: 52px; background: var(--ochre); color: var(--ink);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%); transition: background-color .2s; }
.faq summary:hover .faq-q { background: #E6AC5C; }
.faq-text { font-family: var(--display); font-weight: 500; font-size: 1.05rem; letter-spacing: .03em; text-transform: uppercase; line-height: 1.2; }
.faq .ic { transition: transform .25s; }
.faq[open] .ic { transform: rotate(45deg); }
.faq-a { padding: 14px 18px; background: var(--snow); border: 1px solid var(--line); margin-right: 20px; }
.faq-a p { margin: 0; }

/* placeholders */
.blank { height: 100%; padding: 22px; border: 2px dashed var(--slate); border-radius: var(--r); background: rgba(255, 255, 255, .5); }
.blank-title { font-size: 1.15rem; margin-bottom: 6px; }
.blank p { margin-bottom: 10px; }
.blank-tag { display: inline-flex; align-items: center; gap: 7px; margin: 0 !important; font-family: var(--display); font-weight: 500; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-d); }
.blank-tag .ic { width: 16px; height: 16px; }
.blank-photo { display: flex; flex-direction: column; justify-content: center; min-height: 220px; }

/* summit badges */
.badge-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 32px; }
.badge-blank { position: relative; color: var(--slate); text-align: center; }
.badge-blank svg { width: 100%; max-width: 190px; height: auto; display: block; margin: 0 auto; }
.bb-text { position: absolute; inset: 0; display: grid; place-content: center; padding: 0 22%; }
.bb-n { margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--slate-d); font-size: 1rem; }
.bb-t { margin: 2px 0 0; font-size: .74rem; line-height: 1.25; color: var(--slate-d); }
@media (min-width: 768px) { .badge-row { grid-template-columns: repeat(4, 1fr); } }

/* page heads */
.ph { position: relative; background: var(--slate-d); color: var(--snow); padding: 36px 0 92px; overflow: hidden; }
.ph-crumb { margin: 0 0 12px; font-size: 1rem; color: #D2DAE1; }
.ph-crumb a { color: var(--snow); }
.ph h1 { font-size: clamp(2.3rem, 7vw, 3.8rem); margin-bottom: 14px; color: var(--snow); }
.ph-lead { font-size: 1.2rem; max-width: 56ch; margin-bottom: 8px; color: #EEF2F5; }
.ph-hi { font-family: var(--hindi); font-weight: 500; margin: 0; color: #F3D9A6; }
.ph .actions { margin-top: 20px; }
.ph .btn-line { color: var(--snow); border-color: var(--snow); }
.ph .btn-line:hover { background: var(--snow); color: var(--ink); }
.ph :focus-visible { outline-color: var(--ochre); }
.ph-ridge { position: absolute; left: 0; bottom: -1px; width: 100%; height: 64px; fill: var(--ground); display: block; }
@media (min-width: 992px) { .ph { padding: 52px 0 112px; } .ph-ridge { height: 84px; } }

/* tables */
.table-wrap { overflow-x: auto; margin-top: 18px; }
.ages { width: 100%; border-collapse: collapse; font-size: 1rem; }
.ages caption { text-align: left; font-size: .9rem; color: var(--slate-d); padding-bottom: 8px; }
.ages th, .ages td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.ages thead th { font-family: var(--display); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; border-bottom: 2px solid var(--ink); }
.ages tbody th { font-weight: 600; }

/* form */
.enquiry-box { background: var(--snow); padding: 28px 22px; border: 1px solid var(--line); border-radius: var(--r); }
.enq-title { font-size: 1.7rem; margin-bottom: 6px; }
.enq-intro { margin-bottom: 20px; color: var(--slate-d); }
.field label { display: block; font-family: var(--display); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; margin-bottom: 6px; }
.opt { text-transform: none; letter-spacing: 0; font-family: var(--body); font-weight: 400; color: var(--slate-d); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; font: inherit; font-size: 1rem; background: var(--ground); color: var(--ink); border: 1.5px solid var(--slate); border-radius: 3px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--pine); outline-offset: 0; border-color: var(--pine); }
.field [aria-invalid="true"] { border-color: var(--flag-d); box-shadow: inset 0 0 0 1px var(--flag-d); }
.hint { font-size: .9rem; color: var(--slate-d); margin: 5px 0 0; }
.err { font-size: .95rem; font-weight: 600; color: var(--flag-d); margin: 6px 0 0; }
.form-summary { margin-bottom: 16px; padding: 12px 16px; background: #FBE9E7; color: #7E2118; font-weight: 600; border-radius: var(--r); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.form-foot .small { margin: 0; font-size: .9rem; color: var(--slate-d); }
.form-result:empty { display: none; }
.form-result { margin-top: 16px; padding: 12px 16px; border-radius: var(--r); font-weight: 600; }
.form-result.ok { background: #E1EFE7; color: #17432F; }
.form-result.bad { background: #FBE9E7; color: #7E2118; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* gallery and lightbox */
.g-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 2px; overflow: hidden; }
.g-btn img { display: block; width: 100%; height: auto; transition: transform .4s; }
.g-btn:hover img { transform: scale(1.03); }
.lightbox { max-width: min(1000px, 94vw); padding: 16px; border: 0; border-radius: var(--r); background: var(--ink); color: var(--snow); }
.lightbox::backdrop { background: rgba(27, 33, 40, .85); }
.lb-img { display: block; width: 100%; height: auto; max-height: 70vh; object-fit: contain; }
.lb-cap { margin: 12px 0; font-size: .9rem; color: var(--night-mute); }
.lb-row { display: flex; flex-wrap: wrap; gap: 10px; }
.lb-row .btn-line { color: var(--snow); border-color: var(--snow); }
.lb-row .btn-line:hover { background: var(--snow); color: var(--ink); }
.lightbox :focus-visible { outline-color: var(--ochre); }

/* camp kit, trail board */
.kitlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 32px; grid-template-columns: 1fr; }
.kit { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.kit > .ic { width: 26px; height: 26px; color: var(--pine); margin-top: 2px; }
.kit h3 { margin-bottom: 2px; font-size: 1.1rem; }
.kit p { margin: 0 0 6px; font-size: .98rem; }
@media (min-width: 768px) { .kitlist { grid-template-columns: 1fr 1fr; } }
.notices { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
.notices li { position: relative; padding: 28px 18px 16px; background: var(--snow); border: 1px solid var(--line); border-radius: 2px; }
.notices h3 { font-size: 1.05rem; }
.notices p { margin: 0 0 8px; font-size: .98rem; }
.notices .pin { position: absolute; top: 10px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--flag-d); }
.sample { display: inline-block; font-family: var(--display); font-weight: 500; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; padding: 2px 8px; border: 1px dashed var(--slate); color: var(--slate-d); }
@media (min-width: 768px) { .notices { grid-template-columns: repeat(3, 1fr); } }

/* contact */
.reach { list-style: none; margin: 18px 0 0; padding: 0; }
.reach li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.reach .ic { width: 28px; height: 28px; color: var(--pine); margin-top: 3px; }
.reach h3 { margin-bottom: 2px; }
.reach p { margin: 0; }
.map-card { position: relative; min-height: 420px; height: 100%; background: var(--mist); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-fallback { position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 22px; background: var(--snow); border: 1px solid var(--line); border-radius: var(--r); z-index: 1; }
.map-fallback p { margin-bottom: 6px; }
.map-title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.3rem; }
.map-card.loaded .map-fallback { left: auto; right: 14px; bottom: 14px; max-width: 320px; padding: 14px; }
.map-card.loaded .map-fallback .small, .map-card.loaded .map-load { display: none; }
.map-card.loaded .map-fallback p:nth-of-type(2) { margin-bottom: 0; }
@media (max-width: 575.98px) { .map-card.loaded .map-fallback { left: 12px; right: 12px; bottom: 12px; max-width: none; } }
.prose h2 { font-size: 1.5rem; margin-top: 1.4em; }
.prose p { max-width: 62ch; }

/* footer, dock */
.base { background: var(--ink); color: #C9D2DA; padding: 56px 0 40px; }
.base a { color: var(--snow); }
.base :focus-visible { outline-color: var(--ochre); }
.foot-logo { width: 250px; height: auto; margin-bottom: 14px; }
.foot-addr { margin-bottom: 8px; }
.foot-phone a { display: inline-flex; gap: 8px; align-items: center; font-family: var(--display); font-weight: 500; letter-spacing: .06em; font-size: 1.15rem; }
.foot-h { font-family: var(--display); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; color: var(--snow); margin-bottom: 8px; }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links li { margin-bottom: 4px; }
.foot-note { font-size: .92rem; max-width: 40ch; }
.dock { display: none; }
@media (max-width: 991.98px) {
  body { padding-bottom: 62px; }
  .dock { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--ink); }
  .dock a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 62px; color: var(--snow); text-decoration: none; font-family: var(--display); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }
  .dock a + a { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .18); }
  .dock a:focus-visible { outline-color: var(--ochre); outline-offset: -4px; }
}
@media (min-width: 992px) {
  .hero .col-lg-5 { padding-right: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 575.98px) {
  .actions:not(.actions-stack) .btn-pine { flex: 1 1 100%; }
  .actions:not(.actions-stack) .btn-line { flex: 1 1 calc(50% - 6px); padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 575.98px) { .hide-s { display: none; } }
.route { margin-top: 24px; }
.gallery { align-items: start; }
