/* Kashmir Public School, Qazigund
   Layout: a cream page of generous white space; rounded photo cards set in a 12-col grid,
   yellow reserved for actions and one full-width banner per page. */
:root {
  --sun: #FFC42E;
  --sun-deep: #E8A600;
  --sun-soft: #FFF0C2;
  --cream: #FFFAF0;
  --paper: #FFFFFF;
  --ink: #2B2825;
  --ink-soft: #5D554E;
  --line: #F0E4CC;
  --mint: #DDF2E6;
  --sky: #DFEDFB;
  --blush: #FCE4DE;
  --lilac: #EDE6FB;
  --peach: #FFEBD6;
  --mint-ink: #2F6B4B;
  --sky-ink: #2D5A86;
  --blush-ink: #9A3F2E;
  --lilac-ink: #5B45A0;
  --open: #1F7A4A;
  --closed: #B03A2E;
  --font-display: "Fredoka", "Nunito", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-sm: 12px; --r: 18px; --r-lg: 24px;
  --shadow: 0 1px 2px rgba(64, 44, 10, .05), 0 8px 24px -8px rgba(64, 44, 10, .14);
  --shadow-lg: 0 2px 4px rgba(64, 44, 10, .06), 0 24px 48px -16px rgba(64, 44, 10, .22);
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --maxw: 1200px;
  --header-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* page transitions (cross-document view transitions) */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out .22s ease both; }
::view-transition-new(root) { animation: vt-in .38s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

.skip-link {
  position: fixed; left: 16px; top: calc(env(safe-area-inset-top, 0px) + 12px); z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px;
  font-weight: 600; text-decoration: none; transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--white { background: var(--paper); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
}
.eyebrow::before { content: ""; width: 18px; height: 18px; flex: none; background: var(--sun); -webkit-mask: var(--leaf) center/contain no-repeat; mask: var(--leaf) center/contain no-repeat; }
:root { --leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5l2.1 5.4 5.6-2.2-2 5.6 5.3 2.3-5.6 1.9.9 5.8-5-3-1.3 6.2h-.4l-1.3-6.2-5 3 .9-5.8-5.6-1.9 5.3-2.3-2-5.6 5.6 2.2z'/%3E%3C/svg%3E"); }
.section-head { display: grid; gap: 12px; max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); }
.h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
.h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-soft); max-width: 40rem; }
.prose { max-width: 65ch; display: grid; gap: 1em; color: var(--ink-soft); }
.prose strong { color: var(--ink); }
.muted { color: var(--ink-soft); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background-color .18s, box-shadow .18s, border-color .18s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn--sun { background: var(--sun); color: var(--ink); box-shadow: 0 6px 16px -6px rgba(232, 166, 0, .7); }
.btn--sun:hover { background: #FFCD4D; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--wa { background: #1FA855; color: #fff; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover svg, a:hover > .link-arrow svg, a:hover .link-arrow svg { transform: translateX(4px); }

/* header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(64, 44, 10, .4); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand svg, .brand img { width: 44px; height: 44px; flex: none; }
.brand-text { display: grid; line-height: 1.1; min-width: 0; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; white-space: nowrap; }
.brand-place { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }

.nav { display: none; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-link, .nav-trigger {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px;
  font: 600 .95rem/1 var(--font-body); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav-trigger svg { width: 16px; height: 16px; transition: transform .2s; }
.nav-link:hover, .nav-trigger:hover, .nav-item.is-open > .nav-trigger { background: var(--sun-soft); }
.nav-link[aria-current="page"], .nav-trigger.is-current { box-shadow: inset 0 -3px 0 var(--sun); border-radius: 999px 999px 8px 8px; }
.nav-item { position: relative; }
.nav-item.is-open > .nav-trigger svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; translate: -50% 0; min-width: 240px;
  list-style: none; margin: 0; padding: 8px; background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.dropdown::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.nav-item.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 10px 14px; border-radius: var(--r-sm); text-decoration: none; font-weight: 500; }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--cream); }
.dropdown a[aria-current="page"] { background: var(--sun-soft); font-weight: 600; }
.header-cta { display: none; }

.menu-toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--sun-soft); border: 0; cursor: pointer; color: var(--ink);
}
.menu-toggle svg { width: 24px; height: 24px; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
.menu-toggle[aria-expanded="true"] .i-menu { display: none; }

.mobile-nav { border-top: 1px solid var(--line); background: var(--paper); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav .wrap { padding-block: 12px 24px; display: grid; gap: 4px; }
.m-link, .m-trigger {
  display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 14px 4px;
  font: 600 1.05rem/1.2 var(--font-display); color: var(--ink); text-decoration: none; background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; text-align: left;
}
.m-trigger svg { width: 20px; height: 20px; transition: transform .2s; }
.m-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.m-sub { padding: 6px 0 10px 12px; display: grid; }
.m-sub a { padding: 10px 8px; text-decoration: none; border-radius: var(--r-sm); color: var(--ink-soft); font-weight: 500; }
.m-sub a[aria-current="page"] { color: var(--ink); background: var(--sun-soft); }
.mobile-nav .btn { margin-top: 16px; }

@media (min-width: 1040px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle, .mobile-nav { display: none !important; }
}

/* hero */
.hero { padding-block: clamp(20px, 3vw, 36px) clamp(40px, 6vw, 72px); }
.hero-card { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--sky); box-shadow: var(--shadow-lg); isolation: isolate; }
.hero-card img { width: 100%; height: clamp(420px, 62vw, 640px); object-fit: cover; }
.hero-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255, 250, 240, .96) 0%, rgba(255, 250, 240, .86) 36%, rgba(255, 250, 240, 0) 66%); z-index: 1; }
.hero-copy { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: clamp(24px, 5vw, 64px); max-width: 640px; }
.hero-copy .lead { color: var(--ink); }
.hero-tag { align-self: flex-start; background: var(--paper); border-radius: 999px; padding: 6px 14px 6px 8px; box-shadow: var(--shadow); font-size: .85rem; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.hero-tag b { background: var(--sun); border-radius: 999px; padding: 2px 10px; font-weight: 700; }
@media (max-width: 720px) {
  .hero-card img { height: 300px; }
  .hero-card::after { display: none; }
  .hero-copy { position: static; padding: 24px 20px 28px; background: var(--paper); max-width: none; }
}

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: clamp(20px, 3vw, 36px); display: grid; gap: 4px; align-content: start; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.stat-num span { color: var(--sun-deep); }
.stat-label { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } .stat + .stat { border-left: 0; border-top: 1px solid var(--line); } }

/* split layouts */
.split { display: grid; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--flip > :first-child { order: 2; } }
.split > * { min-width: 0; }
.media { position: relative; }
.media img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.badge-est {
  position: absolute; right: -10px; bottom: 28px; background: var(--sun); color: var(--ink);
  border-radius: 50%; width: 120px; height: 120px; display: grid; place-content: center; text-align: center;
  box-shadow: var(--shadow-lg); font-family: var(--font-display); rotate: -8deg; border: 6px solid var(--paper);
}
.badge-est small { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.badge-est b { font-size: 1.9rem; line-height: 1; font-weight: 600; }
@media (max-width: 520px) { .badge-est { right: 8px; width: 96px; height: 96px; } .badge-est b { font-size: 1.5rem; } }
.stack { display: grid; gap: 20px; align-content: start; }
.stack > .btn, .stack > .btn-row { justify-self: start; margin-top: 8px; }

.features { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 16px; }
.feature { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.feature-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.08rem; margin-bottom: 2px; }
.feature p { color: var(--ink-soft); font-size: .95rem; }
.tint-mint { background: var(--mint); color: var(--mint-ink); }
.tint-sky { background: var(--sky); color: var(--sky-ink); }
.tint-blush { background: var(--blush); color: var(--blush-ink); }
.tint-lilac { background: var(--lilac); color: var(--lilac-ink); }
.tint-sun { background: var(--sun-soft); color: #7A5600; }

/* cards */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid > * { min-width: 0; }
@media (min-width: 680px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(20px, 2.6vw, 28px); display: grid; gap: 10px; align-content: start; }
.card h3 { font-size: 1.2rem; }
.card p { color: var(--ink-soft); }
.card .feature-icon { margin-bottom: 4px; }
.card-list { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; color: var(--ink-soft); }
.card-list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.card-list svg { width: 20px; height: 20px; color: var(--mint-ink); margin-top: 3px; }

.photo-card {
  display: grid; grid-template-rows: auto 1fr; background: var(--paper); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease;
}
.photo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.photo-card figure { margin: 0; overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo-card:hover img { transform: scale(1.05); }
.photo-card .body { padding: 22px 24px 24px; display: grid; gap: 8px; align-content: start; }
.photo-card .tag { justify-self: start; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.photo-card h3 { font-size: 1.35rem; }
.photo-card p { color: var(--ink-soft); }
.photo-card .link-arrow { margin-top: 6px; }

/* banner */
.banner { background: var(--sun); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 64px); position: relative; overflow: hidden; display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .banner { grid-template-columns: 1.4fr auto; } }
.banner > * { position: relative; z-index: 1; min-width: 0; }
.banner .eyebrow { color: var(--ink); }
.banner .eyebrow::before { background: var(--ink); }
.banner p { max-width: 44rem; font-size: 1.08rem; }
.banner-deco { position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; color: rgba(255, 255, 255, .35); z-index: 0; }

/* testimonials */
.carousel { position: relative; max-width: 860px; margin-inline: auto; }
.carousel-viewport { overflow: hidden; border-radius: var(--r-lg); }
.carousel-track { display: flex; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
@media (prefers-reduced-motion: reduce) { .carousel-track { transition: none; } }
.quote { flex: 0 0 100%; background: var(--paper); padding: clamp(28px, 5vw, 56px); display: grid; gap: 24px; justify-items: center; text-align: center; }
.quote-mark { width: 44px; height: 44px; color: var(--sun); }
.quote blockquote { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.45; max-width: 36rem; }
.quote figcaption { display: flex; align-items: center; gap: 12px; text-align: left; }
.avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; flex: none; }
.quote cite { font-style: normal; font-weight: 700; display: block; }
.quote figcaption span { color: var(--ink-soft); font-size: .9rem; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; display: inline-grid; place-items: center; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--ink); color: var(--paper); }
.icon-btn svg { width: 20px; height: 20px; }
.dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: #E3D6BD; cursor: pointer; transition: width .3s, background .3s; }
.dot[aria-current="true"] { width: 28px; background: var(--ink); }
.sample-note { text-align: center; color: var(--ink-soft); font-size: .8rem; margin-top: 12px; }

/* video */
.video { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; max-width: 100%; background: var(--ink); box-shadow: var(--shadow-lg); }
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: rgba(43, 40, 37, .12); cursor: pointer; transition: background .2s; }
.video-play:hover { background: rgba(43, 40, 37, .24); }
.video-play span { width: clamp(72px, 10vw, 104px); aspect-ratio: 1; border-radius: 50%; background: var(--sun); display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(255, 196, 46, .35); transition: transform .2s; }
.video-play:hover span { transform: scale(1.08); }
.video-play svg { width: 38%; height: 38%; margin-left: 6%; color: var(--ink); }
.video-note { position: absolute; left: 16px; bottom: 16px; right: 16px; background: var(--paper); border-radius: var(--r-sm); padding: 10px 14px; font-size: .9rem; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(6, 1fr); } }
.gallery button { border: 0; padding: 0; background: var(--line); border-radius: var(--r); overflow: hidden; cursor: zoom-in; aspect-ratio: 1; max-width: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, filter .3s; }
.gallery button:hover img { transform: scale(1.07); }
.lightbox { border: 0; padding: 0; margin: 0; width: 100%; height: 100%; max-width: none; max-height: none; background: rgba(28, 25, 22, .94); color: #fff; }
.lightbox::backdrop { background: rgba(28, 25, 22, .6); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: calc(12px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px)); }
.lb-count { font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: .06em; }
.lb-stage { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding-inline: max(8px, env(safe-area-inset-left, 0px)) max(8px, env(safe-area-inset-right, 0px)); min-height: 0; }
.lb-stage figure { margin: 0; display: grid; gap: 12px; justify-items: center; min-height: 0; min-width: 0; height: 100%; align-content: center; }
.lb-stage img { max-height: calc(100dvh - 180px); width: auto; border-radius: var(--r); object-fit: contain; }
.lb-stage figcaption { text-align: center; color: #E8DFD2; font-size: .95rem; padding-inline: 8px; }
.lightbox .icon-btn { border-color: rgba(255, 255, 255, .5); background: transparent; color: #fff; }
.lightbox .icon-btn:hover { background: #fff; color: var(--ink); }
.lb-bottom { height: calc(16px + env(safe-area-inset-bottom, 0px)); }

/* visit */
.visit { display: grid; gap: clamp(20px, 3vw, 32px); }
@media (min-width: 1000px) { .visit { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.visit > * { min-width: 0; }
.info-cards { display: grid; gap: 16px; }
.info-card { background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 22px 24px; display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.info-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.info-card p, .info-card li { color: var(--ink-soft); }
.info-card a:not(.link-arrow) { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.phones { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; padding: 4px 12px 4px 10px; border-radius: 999px; margin-bottom: 8px; background: var(--cream); }
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.status[data-state="open"] { color: var(--open); background: #E2F4E9; }
.status[data-state="open"]::before { box-shadow: 0 0 0 0 rgba(31, 122, 74, .5); animation: pulse 2s infinite; }
.status[data-state="closed"] { color: var(--closed); background: #FBE6E3; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(31, 122, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 122, 74, 0); } }
@media (prefers-reduced-motion: reduce) { .status::before { animation: none !important; } }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 5px 0; text-align: left; font-weight: 500; color: var(--ink-soft); }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--ink); font-weight: 700; }
.hours tr.is-today th::after { content: " · today"; font-weight: 500; color: var(--ink-soft); }
.map { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 380px; background: var(--mint); box-shadow: var(--shadow); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-overlay { position: absolute; left: 16px; right: 16px; bottom: 16px; background: var(--paper); border-radius: var(--r); padding: 16px 18px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; box-shadow: var(--shadow); }
.map-overlay p { font-weight: 600; }
.map-overlay small { display: block; color: var(--ink-soft); font-weight: 400; }

/* page header */
.page-hero { padding-block: clamp(20px, 3vw, 32px) 0; }
.page-hero-inner { border-radius: var(--r-lg); padding: clamp(32px, 6vw, 72px) clamp(24px, 5vw, 64px); position: relative; overflow: hidden; display: grid; gap: 16px; }
.page-hero-inner > * { position: relative; z-index: 1; max-width: 46rem; }
.page-hero .deco { position: absolute; right: -40px; bottom: -70px; width: 300px; height: 300px; opacity: .45; z-index: 0; max-width: none; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; font-weight: 500; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; opacity: .45; }
.crumbs a { text-decoration: none; opacity: .8; }
.crumbs a:hover { opacity: 1; text-decoration: underline; }
.crumbs [aria-current] { font-weight: 700; }
.bg-sun { background: var(--sun); } .bg-mint { background: var(--mint); } .bg-sky { background: var(--sky); }
.bg-blush { background: var(--blush); } .bg-lilac { background: var(--lilac); } .bg-peach { background: var(--peach); }

/* steps, table, accordion, team */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 24px; display: grid; gap: 8px; align-content: start; counter-increment: step; }
.steps li::before { content: counter(step); width: 40px; height: 40px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--ink-soft); font-size: .95rem; }
.table-wrap { overflow-x: auto; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.table { width: 100%; border-collapse: collapse; min-width: 520px; font-variant-numeric: tabular-nums; }
.table th, .table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.table thead th { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); background: var(--cream); }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table tbody th { font-family: var(--font-display); font-weight: 600; }
.accordion { display: grid; gap: 12px; }
.accordion details { background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow); }
.accordion summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary svg { width: 22px; height: 22px; flex: none; transition: transform .2s; }
.accordion details[open] summary svg { transform: rotate(45deg); }
.accordion .acc-body { padding: 0 24px 22px; color: var(--ink-soft); display: grid; gap: 10px; max-width: 70ch; }
.person { background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 24px; display: grid; gap: 10px; justify-items: start; }
.person .avatar { width: 72px; height: 72px; font-size: 1.4rem; }
.person h3 { font-size: 1.15rem; }
.person .role { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--ink-soft); }
.person p { color: var(--ink-soft); font-size: .95rem; }
.placeholder-name { color: var(--ink-soft); }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.timeline li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; background: var(--paper); border-radius: var(--r); padding: 16px 20px; box-shadow: var(--shadow); }
.timeline time, .timeline b { font-family: var(--font-display); font-weight: 600; font-variant-numeric: tabular-nums; }
.timeline p { color: var(--ink-soft); }
@media (max-width: 480px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 6px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600; }
.quote-block { background: var(--paper); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); font-family: var(--font-display); font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.45; display: grid; gap: 16px; }
.quote-block footer { font-family: var(--font-body); font-size: .95rem; color: var(--ink-soft); }

/* forms */
.form { background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 40px); display: grid; gap: 18px; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; }
.field .req { color: var(--closed); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--cream); border: 2px solid var(--line);
  border-radius: var(--r-sm); padding: 12px 14px; min-height: 50px; transition: border-color .15s, background .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--paper); }
.field [aria-invalid="true"] { border-color: var(--closed); background: #FFF6F4; }
.field .error { color: var(--closed); font-size: .85rem; font-weight: 600; }
.form-note { font-size: .85rem; color: var(--ink-soft); }
.form-done { background: var(--mint); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 36px); display: grid; gap: 14px; }
.form-done h3 { font-size: 1.4rem; }
.form-done pre { white-space: pre-wrap; font: .92rem/1.6 var(--font-body); background: var(--paper); border-radius: var(--r-sm); padding: 14px 16px; margin: 0; }

/* footer */
.site-footer { background: var(--ink); color: #EDE6DA; margin-top: clamp(56px, 8vw, 96px); }
.site-footer a { color: #EDE6DA; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.footer-top { display: grid; gap: 40px; padding-block: clamp(48px, 7vw, 80px) 40px; }
@media (min-width: 980px) { .footer-top { grid-template-columns: 1.4fr repeat(3, 1fr); } }
@media (min-width: 600px) and (max-width: 979px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-top > * { min-width: 0; }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand .brand-place { color: #BFB5A6; }
.footer-brand p { color: #BFB5A6; max-width: 32ch; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background .2s, color .2s; }
.socials a:hover { background: var(--sun); color: var(--ink); }
.socials svg { width: 20px; height: 20px; }
.footer-col h2 { font-size: 1rem; color: var(--sun); margin-bottom: 14px; letter-spacing: .02em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col li { color: #BFB5A6; font-size: .95rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .9rem; color: #BFB5A6; }
.footer-bottom a { color: var(--sun); font-weight: 600; }
.footer-credit { flex-basis: 100%; }

.wa-float {
  position: fixed; z-index: 40; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 60px; height: 60px; border-radius: 50%; background: #1FA855; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px -6px rgba(31, 168, 85, .6); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* scroll reveal: elements start visible; JS only hides those below the fold */
.reveal.is-pending { opacity: 0; transform: translateY(24px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
@media (prefers-reduced-motion: reduce) { .reveal.is-pending { opacity: 1; transform: none; } }

/* small-screen refinements */
.quote figcaption > div { min-width: 0; }
.hours th, .hours td { white-space: nowrap; }
@media (max-width: 480px) {
  .info-card { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
  .hours tr.is-today th::after { content: ""; }
  .map { min-height: 420px; }
}
[hidden] { display: none !important; }
.bg-sun .eyebrow::before { background: var(--ink); }
.page-hero .deco { color: #FFFFFF; opacity: .55; }
@media (max-width: 640px) { .page-hero .deco { width: 180px; height: 180px; right: -50px; bottom: -60px; opacity: .4; } }

.footer-brand .motto { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; line-height: 1.25; color: var(--sun); max-width: none; }

.brand img { width: 48px; height: 48px; flex: none; }
.footer-logo { display: inline-block; width: 210px; max-width: 100%; }
.footer-logo img { width: 100%; height: auto; }

/* full-bleed hero: edge to edge, copy aligned to the page container */
.hero { padding-block: 0 clamp(40px, 6vw, 72px); }
.hero-card { border-radius: 0 0 clamp(20px, 3vw, 36px) clamp(20px, 3vw, 36px); box-shadow: none; }
.hero-card img { height: clamp(440px, 44vw, 700px); object-position: 70% 100%; }
.hero-card::after { background: linear-gradient(100deg, rgba(255, 250, 240, .97) 0%, rgba(255, 250, 240, .88) 30%, rgba(255, 250, 240, 0) 58%); }
.hero-copy {
  --edge: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + 16px));
  padding-left: var(--edge); padding-right: 24px; max-width: calc(var(--edge) + 620px);
}
.hero-stats { position: relative; z-index: 3; margin-top: clamp(20px, 2.4vw, 32px); }
@media (max-width: 720px) {
  .hero-card { border-radius: 0; }
  .hero-card img { height: 280px; object-position: 78% 100%; }
  .hero-copy { padding: 24px var(--gutter-r) 32px var(--gutter); max-width: none; }
  .hero-stats { margin-top: 0; }
}

/* reviews: centred slides + raised card */
.quote { margin: 0; min-width: 0; }
.reviews { position: relative; overflow: hidden; }
.reviews::before, .reviews::after { content: ""; position: absolute; border-radius: 50%; z-index: 0; }
.reviews::before { width: 340px; height: 340px; left: -120px; top: 60px; background: var(--sun-soft); }
.reviews::after { width: 260px; height: 260px; right: -90px; bottom: 40px; background: var(--mint); }
.reviews .wrap { position: relative; z-index: 1; }
.carousel::before {
  content: ""; position: absolute; inset: 18px -14px auto auto; width: 70%; height: calc(100% - 120px);
  background: var(--sun); border-radius: var(--r-lg); transform: rotate(2.5deg); z-index: 0;
}
.carousel-viewport { position: relative; z-index: 1; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.quote { padding: clamp(32px, 5vw, 60px) clamp(22px, 6vw, 72px); gap: 22px; }
.quote-badge { width: 64px; height: 64px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; box-shadow: 0 8px 20px -8px rgba(232, 166, 0, .8); }
.quote-badge .quote-mark { width: 28px; height: 28px; color: var(--ink); }
.quote blockquote { overflow-wrap: anywhere; }
.quote figcaption { padding-top: 20px; border-top: 1px dashed var(--line); }
.quote .avatar { width: 56px; height: 56px; box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px var(--line); }
.carousel-controls { position: relative; z-index: 1; margin-top: 28px; }
@media (max-width: 640px) { .carousel::before { inset: 12px -6px auto auto; } .reviews::before, .reviews::after { display: none; } }

/* tighter vertical rhythm between sections */
.section { padding-block: clamp(36px, 5.5vw, 76px); }
.section--tight { padding-block: clamp(24px, 3.5vw, 48px); }
.hero { padding-block: 0 clamp(20px, 3vw, 40px); }
.page-hero + .section { padding-top: clamp(28px, 4vw, 56px); }
.section-head { margin-bottom: clamp(20px, 3vw, 36px); }
.split { gap: clamp(24px, 4.5vw, 64px); }
.site-footer { margin-top: clamp(36px, 5vw, 64px); }
.footer-top { padding-block: clamp(40px, 5vw, 64px) 32px; }
@media (max-width: 899px) {
  .split .media img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; object-position: 50% 70%; }
}
@media (max-width: 640px) {
  .section { padding-block: 32px; }
  .section--tight { padding-block: 20px; }
}
@media (max-width: 899px) { .badge-est { right: 12px; } }
@media (max-width: 899px) { .split .media img.img-welcome { object-position: 50% 100%; } }

/* notice board (home section + notices / announcements / circulars pages) */
.board-card { gap: 16px; }
.board-card-head { display: flex; align-items: center; gap: 12px; }
.board-card-head h3 { font-size: 1.3rem; }
.board-list { list-style: none; margin: 0; padding: 0; display: grid; }
.board-list li + li { border-top: 1px solid var(--line); }
.board-list a { display: grid; gap: 2px; padding: 12px 0; text-decoration: none; }
.board-list a:hover span { text-decoration: underline; text-decoration-color: var(--sun-deep); text-underline-offset: 3px; }
.board-list time, .board-meta time { font-size: .8rem; font-weight: 600; color: var(--ink-soft); }
.board-list span { font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.board-empty { color: var(--ink-soft); }
.board-card .link-arrow { margin-top: auto; }
.board-items { display: grid; gap: 16px; max-width: 52rem; }
.board-item { background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 32px); display: grid; gap: 12px; scroll-margin-top: calc(var(--header-h) + 16px); }
.board-item:target { outline: 3px solid var(--sun); outline-offset: 2px; }
.board-item h2 { overflow-wrap: anywhere; }
.board-item .btn { justify-self: start; }
.board-item .prose ul, .board-item .prose ol { margin: 0; padding-left: 1.3em; }
.board-item .prose h3 { font-size: 1.1rem; color: var(--ink); }
.board-item .prose a { color: var(--sky-ink); }
.board-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.board-meta .tag { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.board-others { margin-top: 32px; }
.board-others a { font-weight: 600; color: var(--ink); }
