/* Sanctum Higher Secondary School: a stepwell seen from above.
   Sandstone terraces step down to teal water; Philosopher for carved display, Cambay for reading. */
:root {
  --floor: #F5EFE4;
  --ink: #241D16;
  --ink-2: #5A4634;
  --sand: #C99A62;
  --sand-light: #E3C79F;
  --sand-pale: #EFDFC6;
  --shadow: #8C6239;
  --shadow-ink: #6F4C2B;
  --deep: #3D2E21;
  --teal: #2A7F86;
  --teal-deep: #1F6268;
  --lime: #FBF8F2;
  --line: rgba(36, 29, 22, .16);
  --display: "Philosopher", "Palatino Linotype", Palatino, Georgia, serif;
  --body: "Cambay", "Noto Sans Devanagari", "Segoe UI", system-ui, sans-serif;
  --step: 8px;
  --r: 2px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--floor); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--teal-deep); color: var(--lime); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.005em; }
h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem); }
h2 { font-size: clamp(1.85rem, 1.4rem + 1.6vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 3px; border-radius: var(--r); }
.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: -60px; z-index: 100; background: var(--ink); color: var(--lime); padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 12px; }
.skip:hover { color: var(--lime); }
.ic { width: 20px; height: 20px; flex: none; }

/* ------------------------------------------------ buttons: cut stone and water */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 20px;
  font: 700 1rem/1.2 var(--body); text-decoration: none; border-radius: var(--r); cursor: pointer;
  border: 0; transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.btn-water { background: var(--teal-deep); color: var(--lime); box-shadow: inset 0 0 0 1px #164A4F, 0 3px 0 #164A4F; }
.btn-water:hover { background: #174E53; color: #fff; }
.btn-stone { background: var(--lime); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(36, 29, 22, .28), 0 3px 0 rgba(140, 98, 57, .45); }
.btn-stone:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--shadow), 0 3px 0 rgba(140, 98, 57, .6); }
.btn-sand { background: var(--sand-light); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(36, 29, 22, .22), 0 3px 0 rgba(36, 29, 22, .25); }
.btn-sand:hover { background: var(--lime); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .65; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.actions-stack { flex-direction: column; align-items: stretch; }
.actions-stack .btn { justify-content: center; }
.tlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--teal-deep); text-decoration: underline; }

/* ------------------------------------------------ header: a carved stone band */
.band {
  position: sticky; top: 0; z-index: 40; background: var(--shadow); color: var(--lime);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -2px 0 var(--shadow-ink), 0 6px 18px -10px rgba(36, 29, 22, .55);
}
.band-row { display: flex; align-items: center; gap: 16px; min-height: 76px; position: relative; z-index: 1; }
.brand { flex: none; display: block; padding: 4px 0; }
.brand img { width: 208px; height: auto; }
.carved { margin-left: auto; }
.carved ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.cv {
  display: block; padding: 10px 14px; color: var(--lime); text-decoration: none;
  font: 700 1.0625rem/1 var(--display); border-radius: var(--r);
  text-shadow: 0 -1px 0 rgba(36, 29, 22, .45);
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.cv:hover { background: rgba(36, 29, 22, .16); color: #fff; box-shadow: inset 0 2px 3px rgba(36, 29, 22, .35); }
.cv[aria-current="page"] { background: var(--shadow-ink); color: #fff; box-shadow: inset 0 3px 5px rgba(36, 29, 22, .55), 0 1px 0 rgba(255, 255, 255, .16); }
.cv:focus-visible, .band .btn:focus-visible, .menu-btn:focus-visible, .brand:focus-visible { outline-color: var(--lime); }
.band-call { flex: none; }
.menu-btn {
  display: none; margin-left: auto; align-items: center; gap: 8px; min-height: 48px; padding: 8px 16px;
  background: var(--shadow-ink); color: var(--lime); border: 0; border-radius: var(--r); font: 700 1rem/1 var(--body); cursor: pointer;
  box-shadow: inset 0 2px 4px rgba(36, 29, 22, .45);
}

/* ------------------------------------------------ phone sheet: descends like steps */
.sheet { position: fixed; inset: 0; z-index: 60; background: var(--deep); color: var(--lime); overflow-y: auto; padding: 16px; display: flex; flex-direction: column; }
.sheet[hidden] { display: none; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.sheet-close { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 16px; background: var(--lime); color: var(--ink); border: 0; border-radius: var(--r); font: 700 1rem/1 var(--body); cursor: pointer; }
.sheet-close:focus-visible, .st:focus-visible, .sheet .btn:focus-visible { outline-color: var(--sand-light); }
.sheet-steps { list-style: none; margin: 0; padding: 0; }
.sheet-steps li { margin-left: calc(var(--i) * 14px); }
.st {
  display: flex; align-items: center; min-height: 58px; padding: 0 18px; margin-bottom: 4px;
  font: 700 1.35rem/1 var(--display); color: var(--ink); text-decoration: none; border-radius: var(--r);
  background: var(--sand-light);
  box-shadow: inset 0 0 0 1px rgba(36, 29, 22, .18), 0 4px 0 rgba(36, 29, 22, .22);
}
.sheet-steps li:nth-child(2) .st { background: #D8B686; }
.sheet-steps li:nth-child(3) .st { background: var(--sand); }
.sheet-steps li:nth-child(4) .st { background: var(--shadow); color: var(--lime); }
.sheet-steps li:nth-child(5) .st { background: #7A5431; color: var(--lime); }
.sheet-steps li:nth-child(6) .st { background: var(--shadow-ink); color: var(--lime); }
.st[aria-current="page"] { outline: 2px solid var(--ink); outline-offset: -6px; }
.sheet-steps li:nth-child(n+4) .st[aria-current="page"] { outline-color: var(--lime); }
.sheet-acts { display: flex; gap: 12px; margin-top: auto; padding-top: 24px; }
.sheet-acts .btn { flex: 1; justify-content: center; }
@media (prefers-reduced-motion: no-preference) {
  .sheet:not([hidden]) .sheet-steps li { animation: descend .5s var(--ease) both; animation-delay: calc(var(--i) * 55ms); }
  @keyframes descend { from { opacity: 0; transform: translateY(-14px); } }
}

/* ------------------------------------------------ hero: the stepwell */
.well {
  position: relative; background: var(--sand); padding: 56px 0 48px;
  background-image: repeating-linear-gradient(180deg, transparent 0 47px, rgba(140, 98, 57, .22) 47px 48px);
}
.landing { max-width: 820px; margin: 0 auto 40px; text-align: center; }
.landing h1 { color: var(--ink); margin-bottom: 16px; }
.landing .lead { font-size: 1.1875rem; color: var(--deep); max-width: 62ch; margin: 0 auto 8px; }
.landing .hi { font-family: var(--body); font-weight: 700; color: var(--deep); margin-bottom: 0; }
.landing .actions { justify-content: center; }
.landing .btn-stone { background: var(--lime); }

.terraces { position: relative; }
.t { --tw: 6px; position: relative; padding: 48px; border-radius: var(--r); }
/* each terrace: a full thin edge plus two stepped insets (a riser and a tread), the same on all four sides */
.t1 { background: #BE8E57; border: 1px solid #9E7240; box-shadow: inset 0 0 0 var(--tw) #D7B282, inset 0 0 0 calc(var(--tw) + 1px) rgba(36, 29, 22, .28); }
.t2 { background: #A97B48; border: 1px solid #845A31; box-shadow: inset 0 0 0 var(--tw) #C49864, inset 0 0 0 calc(var(--tw) + 1px) rgba(36, 29, 22, .3); }
.t3 { background: var(--shadow); border: 1px solid #6A4625; box-shadow: inset 0 0 0 var(--tw) #A57A4A, inset 0 0 0 calc(var(--tw) + 1px) rgba(36, 29, 22, .35); padding: 40px 48px; }
.fl { position: absolute; pointer-events: none; z-index: 0; }
.fl-n, .fl-s { left: 50%; width: 88px; height: 48px; transform: translateX(-50%);
  background: repeating-linear-gradient(180deg, var(--sand-pale) 0 8px, rgba(36, 29, 22, .38) 8px 10px); }
.fl-n { top: 0; }
.fl-s { bottom: 0; background: repeating-linear-gradient(0deg, var(--sand-pale) 0 8px, rgba(36, 29, 22, .38) 8px 10px); }
.fl-w, .fl-e { top: 50%; height: 88px; width: 48px; transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, var(--sand-pale) 0 8px, rgba(36, 29, 22, .38) 8px 10px); }
.fl-w { left: 0; }
.fl-e { right: 0; background: repeating-linear-gradient(270deg, var(--sand-pale) 0 8px, rgba(36, 29, 22, .38) 8px 10px); }
.t3 .fl-n, .t3 .fl-s { height: 40px; width: 72px; }
.t > .t, .t > .water { position: relative; z-index: 1; }
.carve {
  position: absolute; margin: 0; z-index: 1; font: 700 .9375rem/1 var(--display); color: var(--ink);
  background: var(--lime); padding: 5px 10px 4px; border-radius: 0;
  box-shadow: inset 0 0 0 1px rgba(140, 98, 57, .5), 0 1px 0 rgba(36, 29, 22, .25);
}
.carve-n { top: 10px; left: 20px; }
.carve-s { bottom: 10px; right: 20px; }
.water {
  margin: 0 auto; position: relative; overflow: hidden; max-width: 600px;
  border: 10px solid var(--teal); border-radius: var(--r); background: var(--teal);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
}
.water-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 28%; }
.ripple { position: absolute; inset: 0; pointer-events: none; }
.water-cap { margin: 12px 0 0; font-size: .875rem; color: var(--deep); text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .t2, .t3, .water { animation: settle 1.1s var(--ease) both; }
  .t3 { animation-delay: .12s; }
  .water { animation-delay: .24s; }
  @keyframes settle { from { transform: scale(1.025); opacity: .4; } }
  .ripple::after {
    content: ""; position: absolute; left: 50%; top: 55%; width: 40px; height: 40px; margin: -20px 0 0 -20px;
    border: 2px solid rgba(251, 248, 242, .8); border-radius: 50%; opacity: 0;
    animation: ripple 2.4s .9s var(--ease) 1 both;
  }
  @keyframes ripple { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(14); } }
}

/* ------------------------------------------------ sections */
.sec { padding: 88px 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec.calm { background: var(--sand-pale); border-top: 0; }
.sec-lead { font-size: 1.125rem; color: var(--ink-2); max-width: 62ch; }
.legend { font-size: .9375rem; color: var(--ink-2); line-height: 2; margin: 0; }
.lg { display: inline-block; width: 22px; height: 14px; margin-right: 10px; vertical-align: -1px; border-radius: 1px; }
.lg-k { background: var(--lime); box-shadow: inset 0 0 0 1px var(--shadow), inset 0 0 0 4px var(--lime), inset 0 0 0 5px var(--sand); }
.lg-b { border: 2px dashed var(--shadow); background: rgba(239, 223, 198, .5); }
.tablets { margin-top: 24px; }

/* tablet: a carved slab, known */
.tablet {
  height: 100%; background: var(--lime); padding: 28px 28px 24px; border-radius: var(--r);
  box-shadow: inset 0 0 0 1px rgba(140, 98, 57, .55), inset 0 0 0 7px var(--lime), inset 0 0 0 8px var(--sand), 0 10px 22px -18px rgba(36, 29, 22, .7);
}
.tablet h3 { color: var(--shadow-ink); font-size: 1.375rem; }
.tablet p { color: var(--ink); }
/* blank: an uncarved stone, a visible placeholder */
.blank {
  height: 100%; padding: 24px 26px 20px; border: 2px dashed rgba(140, 98, 57, .7); border-radius: var(--r);
  background: rgba(239, 223, 198, .35);
}
.blank-title { font-size: 1.25rem; color: var(--ink); }
.blank p { color: var(--ink-2); }
.blank .blank-tag { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 0; font-size: .875rem; font-weight: 700; color: var(--shadow-ink); }
.blank-tag .ic { width: 16px; height: 16px; }
.blank-tablet { min-height: 220px; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.blank-tablet .blank-tag { justify-content: center; }
.blank-photo { min-height: 240px; display: flex; flex-direction: column; justify-content: center; }
.mt-blank { margin-top: 8px; }

/* ------------------------------------------------ step by step: a descending staircase */
.staircase { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.step { position: relative; margin-left: calc(var(--n) * 7%); margin-bottom: 0; }
.step-tread {
  position: relative; padding: 22px 26px 18px;
  border-bottom: 10px solid transparent;
}
.step.known .step-tread { background: var(--teal-deep); color: var(--lime); border-bottom-color: #164A4F; }
.step.ghost .step-tread { background: transparent; border: 2px dashed rgba(140, 98, 57, .65); border-bottom-width: 10px; border-bottom-style: solid; border-bottom-color: rgba(201, 154, 98, .35); }
.step + .step { margin-top: 10px; }
.step-level { margin: 0 0 4px; font: 700 .9375rem/1 var(--display); color: var(--shadow-ink); }
.step.known .step-level { color: var(--lime); }
.step-name { margin: 0 0 4px; font-size: 1.5rem; }
.step-classes { margin: 0 0 6px; font-weight: 700; }
.step-ages { font-weight: 400; }
.step-note { margin: 0; font-size: .9375rem; color: var(--ink-2); }
.step.known .step-note { color: var(--sand-pale); }
.st-text { margin: 0 0 8px; max-width: 62ch; }
.staircase.full .step { margin-left: calc(var(--n) * 9%); }
.staircase.full .step-tread { padding: 28px 32px 22px; }
.steps-fig { margin: 24px 0 0; }
.steps-fig img { border-radius: var(--r); }
.after-steps { margin: 24px 0 0 calc(3 * 7%); }
figcaption { font-size: .8125rem; color: var(--ink-2); margin-top: 8px; }
@media (prefers-reduced-motion: no-preference) {
  .js .staircase .step { opacity: 0; transform: translateY(-12px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--n) * 110ms); }
  .js .staircase.in .step { opacity: 1; transform: none; }
}

/* ------------------------------------------------ calm FAQ: stone tabs */
.faq { border-top: 1px solid var(--line); }
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; gap: 16px; padding: 18px 4px; cursor: pointer; list-style: none; font: 700 1.1875rem/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq-tab { flex: none; display: grid; place-items: center; width: 40px; height: 40px; background: var(--sand-light); color: var(--ink); border-radius: var(--r); box-shadow: inset 0 0 0 1px rgba(140, 98, 57, .5), 0 3px 0 rgba(140, 98, 57, .45); transition: transform .3s var(--ease), background-color .2s; }
.faq[open] .faq-tab { background: var(--teal-deep); color: var(--lime); transform: rotate(45deg); box-shadow: none; }
.faq summary:hover .faq-tab { background: var(--sand); }
.faq-a { margin: 0 0 18px 56px; padding: 16px 20px; background: var(--lime); border-radius: var(--r); box-shadow: inset 0 0 0 1px rgba(140, 98, 57, .35); }
.faq-a p { margin: 0; }
.calm .faq-a { background: var(--floor); }
.ask-slab { margin-top: 28px; padding: 24px; background: var(--lime); border-radius: var(--r); box-shadow: inset 0 0 0 1px rgba(140, 98, 57, .45); }
.ask-slab p { margin: 0; font-weight: 700; }
.ask-slab .actions { margin-top: 16px; }

/* ------------------------------------------------ inner page head: the landing, smaller */
.ph { position: relative; background: var(--sand); padding: 64px 0 0; overflow: hidden;
  background-image: repeating-linear-gradient(180deg, transparent 0 47px, rgba(140, 98, 57, .22) 47px 48px); }
.ph-slab { max-width: 760px; padding-bottom: 40px; position: relative; z-index: 1; }
.ph h1 { font-size: clamp(2.25rem, 1.5rem + 2.8vw, 3.5rem); }
.ph-lead { font-size: 1.1875rem; color: var(--deep); max-width: 60ch; }
.ph-hi { font-weight: 700; color: var(--deep); margin: 0; }
.ph-courses { display: block; }
.ph-courses span { display: block; height: 14px; }
.ph-courses span:nth-child(1) { background: #BE8E57; margin: 0 4%; }
.ph-courses span:nth-child(2) { background: #A97B48; margin: 0 8%; }
.ph-courses span:nth-child(3) { background: var(--shadow); margin: 0 12%; }

/* figures */
.framed { margin: 0; }
.framed img { border-radius: var(--r); box-shadow: 0 0 0 8px var(--lime), 0 0 0 9px rgba(140, 98, 57, .5), 0 22px 40px -28px rgba(36, 29, 22, .7); }
.framed figcaption { margin-top: 18px; }
.ledger { margin: 0 0 12px; }
.ledger > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ledger dt { font: 700 1rem/1.5 var(--display); color: var(--shadow-ink); }
.ledger dd { margin: 0; }
.checked { font-size: .9375rem; color: var(--ink-2); }

/* table */
.table-wrap { overflow-x: auto; }
.ages { width: 100%; border-collapse: collapse; background: var(--lime); font-variant-numeric: tabular-nums; }
.ages caption { text-align: left; font-size: .875rem; color: var(--ink-2); padding-bottom: 8px; caption-side: top; }
.ages th, .ages td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.ages thead th { font-family: var(--display); background: var(--shadow); color: var(--lime); }
.ages tbody th { font-family: var(--display); }

/* admissions steps: numbered descent */
.adm-steps { list-style: none; padding: 0; margin: 0 0 16px; }
.adm { display: flex; gap: 20px; align-items: flex-start; margin-left: calc(var(--n) * 6%); padding: 20px 0; border-bottom: 1px solid var(--line); }
.adm-n { flex: none; display: grid; place-items: center; width: 52px; height: 52px; font: 700 1.5rem/1 var(--display); color: var(--lime); background: var(--shadow); border-radius: var(--r); box-shadow: inset 0 0 0 3px var(--shadow-ink), inset 0 0 0 4px rgba(251, 248, 242, .25); }
.adm:nth-child(4) .adm-n { background: var(--teal-deep); box-shadow: inset 0 0 0 3px #164A4F, inset 0 0 0 4px rgba(251, 248, 242, .25); }
.adm h3 { margin-bottom: 4px; }
.adm p { margin: 0; }
.small-note { font-size: .9375rem; color: var(--ink-2); }
.docs { padding-left: 1.2em; margin: 0 0 16px; }
.docs li { margin-bottom: 6px; }
.docs li::marker { color: var(--shadow); }
.confirm { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--shadow-ink); border: 2px dashed rgba(140, 98, 57, .7); padding: 6px 12px; border-radius: var(--r); }

/* enquiry form */
.enquiry-box { background: var(--lime); padding: 32px; border-radius: var(--r); box-shadow: inset 0 0 0 1px rgba(140, 98, 57, .45), 0 20px 40px -32px rgba(36, 29, 22, .7); }
.enq-title { font-size: 1.75rem; }
.enq-intro { color: var(--ink-2); }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid rgba(90, 70, 52, .55); border-radius: var(--r); caret-color: var(--teal-deep);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--teal-deep); outline-offset: 0; border-color: var(--teal-deep); }
.field [aria-invalid="true"] { border-color: #9E2A1F; box-shadow: inset 0 0 0 1px #9E2A1F; }
.hint { font-size: .875rem; color: var(--ink-2); margin: 6px 0 0; }
.err { font-size: .9375rem; font-weight: 700; color: #9E2A1F; margin: 6px 0 0; }
.form-summary { margin-bottom: 16px; padding: 12px 16px; background: #FBEAE6; color: #7E2118; font-weight: 700; 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: .875rem; color: var(--ink-2); }
.form-result:empty { display: none; }
.form-result { margin-top: 16px; padding: 12px 16px; border-radius: var(--r); font-weight: 700; }
.form-result.ok { background: #E3F0EE; color: #154D52; }
.form-result.bad { background: #FBEAE6; color: #7E2118; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* gallery + lightbox */
.g-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--r); overflow: hidden; }
.g-btn img { width: 100%; height: 320px; object-fit: cover; transition: transform .6s var(--ease); }
.g-btn:hover img { transform: scale(1.03); }
.lightbox { max-width: min(1000px, 94vw); padding: 16px; border: 0; border-radius: var(--r); background: var(--deep); color: var(--lime); }
.lightbox::backdrop { background: rgba(36, 29, 22, .82); }
.lb-img { width: 100%; height: auto; max-height: 70vh; object-fit: contain; }
.lb-cap { margin: 12px 0; font-size: .9375rem; }
.lb-row { display: flex; flex-wrap: wrap; gap: 10px; }
.lb-row .lb-close { margin-left: auto; }

/* notices */
.notices { list-style: none; margin: 0; padding: 0; }
.notices li { padding: 20px 24px; margin-bottom: 12px; background: var(--lime); border-radius: var(--r); box-shadow: inset 0 0 0 1px rgba(140, 98, 57, .4); }
.notices h3 { margin-bottom: 4px; }
.notices p { margin: 0; color: var(--ink-2); }

/* contact */
.reach { list-style: none; padding: 0; margin: 0 0 8px; }
.reach li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.reach .ic { margin-top: 4px; color: var(--shadow); }
.reach h3 { font-size: 1.3rem; margin-bottom: 2px; }
.reach p { margin: 0; }
.map-card { position: relative; min-height: 420px; height: 100%; background: var(--sand); border-radius: var(--r); overflow: hidden;
  background-image: repeating-linear-gradient(0deg, transparent 0 47px, rgba(140, 98, 57, .25) 47px 48px), repeating-linear-gradient(90deg, transparent 0 47px, rgba(140, 98, 57, .25) 47px 48px); }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-fallback { position: absolute; left: 24px; right: 24px; bottom: 24px; padding: 24px; background: var(--lime); border-radius: var(--r); box-shadow: 0 12px 30px -18px rgba(36, 29, 22, .7); z-index: 1; }
.map-card.loaded .map-fallback { left: auto; right: 16px; bottom: 16px; max-width: 320px; padding: 16px; }
.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; padding: 12px 14px; } }
.map-title { font: 700 1.25rem/1.2 var(--display); margin-bottom: 4px; }

.prose h2 { font-size: 1.75rem; margin-top: 1.4em; }
.prose .container { max-width: 760px; }

/* ------------------------------------------------ footer: the deepest step */
.deep { background: var(--ink); color: var(--sand-light); padding: 64px 0 40px; }
.foot-logo { width: 250px; height: auto; margin-bottom: 20px; }
.foot-addr { color: var(--sand-pale); }
.foot-phone a { display: inline-flex; gap: 10px; align-items: center; color: var(--lime); font: 700 1.25rem/1 var(--display); text-decoration: none; }
.foot-h { font: 700 1.25rem/1.2 var(--display); color: var(--sand); margin-bottom: 12px; }
.foot-links { list-style: none; padding: 0; margin: 0; }
.foot-links li { margin-bottom: 8px; }
.foot-links a { color: var(--sand-pale); }
.foot-links a:hover { color: #fff; }
.foot-note { font-size: .9375rem; color: var(--sand-light); }
.deep a:focus-visible { outline-color: var(--sand-light); }
.deep a:hover, .foot-phone a:hover { color: #fff; }

/* phone dock */
.dock { display: none; }

/* ------------------------------------------------ responsive */
@media (max-width: 1199.98px) {
  .cv { padding: 10px 10px; font-size: 1rem; }
  .brand img { width: 180px; }
}
@media (max-width: 991.98px) {
  .carved, .band-call { display: none; }
  .menu-btn { display: inline-flex; }
  .band-row { min-height: 64px; }
  .brand img { width: 172px; }
  .sec { padding: 64px 0; }
  .t { padding: 36px; }
  .t3 { padding: 32px 36px; }
  .fl-n, .fl-s { height: 36px; width: 72px; }
  .fl-w, .fl-e { width: 36px; height: 72px; }
  .t3 .fl-n, .t3 .fl-s { height: 32px; width: 60px; }
  .carve-n { top: 6px; left: 14px; font-size: .8125rem; }
  .carve-s { bottom: 6px; right: 14px; font-size: .8125rem; }
  .after-steps { margin-left: 0; }
  body { padding-bottom: 68px; }
  .dock {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: var(--shadow); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .14), 0 -6px 18px -10px rgba(36, 29, 22, .6);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; color: var(--lime); text-decoration: none; font-weight: 700; font-size: .9375rem; }
  .dock a + a { box-shadow: inset 1px 0 0 rgba(36, 29, 22, .35); }
  .dock a:focus-visible { outline-color: var(--lime); outline-offset: -4px; }
}
@media (max-width: 767.98px) {
  .well { padding: 32px 0 32px; }
  .landing { margin-bottom: 28px; }
  .landing .lead { font-size: 1.0625rem; }
  .landing .actions .btn-stone { display: none; }
  .landing .actions .btn-water { width: 100%; justify-content: center; }
  .t { --tw: 4px; padding: 22px; }
  .t3 { padding: 22px 16px; }
  .fl-n, .fl-s { height: 22px; width: 48px; background-size: auto; }
  .t3 .fl-n, .t3 .fl-s { height: 22px; width: 40px; }
  .fl-w, .fl-e { display: none; }
  .carve { display: none; }
  .water { border-width: 6px; }
  .water-img { aspect-ratio: 4 / 5; object-position: 50% 30%; }
  .step, .staircase.full .step { margin-left: calc(var(--n) * 12px); }
  .adm { margin-left: calc(var(--n) * 10px); }
  .ledger > div { grid-template-columns: 1fr; gap: 2px; }
  .enquiry-box { padding: 22px 18px; }
  .faq-a { margin-left: 0; }
  .g-btn img { height: 240px; }
  .ph { padding-top: 40px; }
  .ph-slab { padding-bottom: 28px; }
}
@media (max-width: 400px) {
  .t { padding: 18px; }
  .t3 { padding: 18px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
@media (max-width: 991.98px) {
  .steps-fig img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
}
@media (max-width: 991.98px) {
  .t2 > .carve { display: none; }
}
@media (max-width: 575.98px) {
  body .container { padding-left: 16px; padding-right: 16px; }
}
