/* Kingston Bridge School — public site
   Palette follows the supplied purple/pink reference; orange comes from the school crest. */
:root {
  --brand: #F96501;
  --brand-d: #C94F00;
  --dark: #2E2F31;
  --brand-l: #FF9A4D;
  --brand-soft: #FFE7D4;
  --charcoal: #47484A;
  --charcoal-l: #FFE1CC;
  --amber: #E89400;
  --coral: #E2502A;
  --gold: #FFC233;
  --steel: #6B6D72;
  --ink: #222326;
  --text: #4A4B4E;
  --muted: #77787D;
  --line: #EDEAE7;
  --bg: #ffffff;
  --soft: #FFF8F2;
  --radius: 22px;
  --shadow: 0 18px 40px -18px rgba(80, 45, 15, .35);
  --shadow-sm: 0 8px 22px -12px rgba(80, 45, 15, .3);
  --grad: linear-gradient(90deg, #E85A00, #FF9A1F);
  --hero-bg: linear-gradient(135deg, #FFF1E5 0%, #FFE3CC 45%, #EEEEEF 100%);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15.5px; line-height: 1.7; color: var(--text); background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-d); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.12rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ic { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }
.ic.big { width: 38px; height: 38px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brand-l); outline-offset: 2px; border-radius: 6px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em; justify-content: center;
  padding: .82em 1.6em; border-radius: 12px; font: 600 .95rem/1.2 inherit; font-family: inherit;
  border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, #FF7A1A, #E85A00); color: #fff; box-shadow: 0 12px 24px -10px rgba(249, 101, 1, .7); }
.btn-primary:hover { color: #fff; box-shadow: 0 16px 30px -10px rgba(249, 101, 1, .8); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: rgba(255, 255, 255, .6); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-white { background: #fff; color: var(--brand-d); }
.btn-white:hover { color: var(--dark); box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .35); }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.btn-sm { padding: .6em 1.15em; font-size: .88rem; border-radius: 10px; }
.btn-block { width: 100%; }
.link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; }
.link .ic { transition: transform .2s; }
.link:hover .ic { transform: translateX(4px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .45em; font-size: .78rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand); background: #fff; padding: .45em 1em; border-radius: 99px;
  box-shadow: var(--shadow-sm); margin-bottom: 1rem;
}
.eyebrow.light { background: rgba(255, 255, 255, .18); color: #fff; box-shadow: none; }

/* ---------- top bar & header ---------- */
/* top bar: one tidy line on every screen — announcement on the left (shortened with … if space runs out),
   links on the right lined up with the logo and menu; links drop out one by one as the screen narrows */
.topbar { background: var(--dark); color: #FFE7D4; font-size: .82rem; line-height: 1.4; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 38px; padding-top: 6px; padding-bottom: 6px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: .5em; flex: 1 1 auto; min-width: 0; white-space: nowrap; }
.topbar p > .ic { flex: none; }
.topbar .ann { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.topbar a { color: #fff; display: inline-flex; align-items: center; gap: .4em; white-space: nowrap; }
.topbar a:hover { color: var(--gold); }
.topbar .ic { width: 15px; height: 15px; flex: none; }
.topbar p a { font-weight: 600; color: var(--gold); flex: none; }
.topbar p a:hover { color: #fff; }
.topbar-links { display: flex; align-items: center; gap: 20px; flex: none; }
@media (max-width: 1140px) { .topbar-links .tb-mail { display: none; } }
@media (max-width: 960px) { .topbar-links .tb-phone { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(249, 101, 1, .08); transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(45, 30, 20, .45); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand .logo { width: 48px; height: 48px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.22rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.brand-text strong b { color: var(--brand); font-weight: 800; margin-left: 2px; }
.brand-text small { font-size: .68rem; color: var(--muted); font-weight: 500; letter-spacing: .04em; }
.brand-light strong, .brand-light strong b { color: #fff; }
.brand-light small { color: #CFCFD2; }

.nav { display: flex; align-items: center; gap: 10px; }
.nav > ul { margin-right: 12px !important; }
.nav-portal { background: #fff; color: var(--brand); border-color: var(--brand); box-shadow: none; }
.nav-portal:hover { background: var(--brand); color: #fff; }
.nav-portal .ic { width: 15px; height: 15px; }
.nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.nav li { position: relative; }
.nav > ul > li > a {
  display: flex; align-items: center; gap: 4px; padding: 10px 12px; color: var(--ink); font-weight: 500; font-size: .93rem;
  border-radius: 10px; position: relative;
}
.nav > ul > li > a.active { color: var(--brand); }
.nav > ul > li > a.active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--brand);
}
.nav > ul > li > a:hover { color: var(--brand); background: var(--soft); }
.caret { width: 14px; height: 14px; transition: transform .2s; }
.sub {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px;
  background: #fff; border-radius: 16px; box-shadow: 0 24px 50px -20px rgba(45, 30, 20, .45); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s;
}
.sub a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--text); font-size: .9rem; }
.sub a:hover { background: var(--soft); color: var(--brand); }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .caret { transform: rotate(180deg); }
.nav-toggle { display: none; background: var(--soft); border: 0; width: 46px; height: 46px; border-radius: 12px; color: var(--brand); cursor: pointer; }
.nav-toggle .ic { width: 24px; height: 24px; }

/* ---------- shared decoration ---------- */
.bubble { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(2px); opacity: .7; }
.dot { position: absolute; border-radius: 50%; pointer-events: none; }
.wave { position: absolute; left: 0; width: 100%; display: block; pointer-events: none; }
.wave-bottom { bottom: -1px; height: 90px; fill: #fff; }
.wave-bottom.purple { fill: #FFA35C; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--hero-bg); padding: 70px 0 150px; overflow: hidden; }
.hero .b1 { width: 120px; height: 120px; left: 8%; top: 8%; background: radial-gradient(circle at 35% 35%, #FFD3AD, #FFA866 60%, transparent 70%); }
.hero .b2 { width: 70px; height: 70px; left: 46%; top: 66%; background: radial-gradient(circle at 35% 35%, #DCDCDE, #A7A8AC 65%, transparent 72%); }
.hero .b3 { width: 46px; height: 46px; right: 6%; top: 14%; background: radial-gradient(circle at 35% 35%, #fff, #FFD9BC 60%, transparent 72%); }
.hero .b4 { width: 160px; height: 160px; left: -40px; bottom: 60px; background: radial-gradient(circle, rgba(255, 154, 77, .4), transparent 70%); }
.hero .d1 { width: 34px; height: 34px; left: 30%; top: 4%; background: radial-gradient(circle at 30% 30%, #fff, #FFC66E 55%, #F29A00); box-shadow: 0 8px 18px -6px rgba(61, 139, 255, .7); }
.hero .d2 { width: 16px; height: 16px; right: 40%; top: 10%; background: var(--charcoal); }
.hero .d3 { width: 12px; height: 12px; left: 4%; top: 52%; background: var(--brand-l); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-copy h1 { margin-bottom: .45em; }
.hero-copy > p { font-size: 1.04rem; max-width: 34em; color: #4A4B4E; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 0; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; font-weight: 500; color: var(--ink); }
.hero-points li { display: flex; align-items: center; gap: 6px; }
.hero-points .ic { color: #fff; background: var(--brand); border-radius: 50%; padding: 3px; width: 20px; height: 20px; }

.hero-art { position: relative; padding: 30px 30px 30px 0; }
.frame { position: relative; z-index: 1; }
.frame::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; background: linear-gradient(135deg, #FF7A1A, #C94F00); border-radius: 6px; z-index: -1; }
.frame-img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 6px; box-shadow: var(--shadow); }
.hero-arrow { position: absolute; width: 150px; top: -26px; right: 18%; color: var(--brand); }
.hero-note { position: absolute; top: -34px; right: -6px; font-size: .78rem; font-weight: 600; line-height: 1.2; color: var(--brand-d); text-align: right; }
.chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px;
  padding: 10px 14px; box-shadow: var(--shadow); font-size: .78rem; color: var(--muted); animation: float 6s ease-in-out infinite;
}
.chip b { display: block; color: var(--ink); font-size: .9rem; }
.chip .ic { width: 38px; height: 38px; padding: 9px; border-radius: 12px; color: #fff; }
.chip-a { left: -34px; bottom: 30px; }
.chip-a .ic { background: var(--charcoal); }
.chip-b { right: -10px; top: 46%; animation-delay: -3s; }
.chip-b .ic { background: var(--coral); }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- section heads ---------- */
section { position: relative; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.sec-head h2 span:not(.grad) { color: var(--brand); }
.sec-head p { color: var(--muted); }
.sec-head.light h2 { color: var(--ink); }
.sec-head.light h2 span { color: #fff; }
.sec-head.light p { color: var(--ink); font-weight: 600; }
.sec-head.row { display: flex; justify-content: space-between; align-items: end; text-align: left; max-width: none; gap: 20px; flex-wrap: wrap; }
.sec-head.row h2 { margin: 0; }
.h-xl { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }

/* ---------- what we give ---------- */
.gives { background: linear-gradient(180deg, #FF9F57 0%, #FFB880 45%, #FFE6D2 100%); padding: 40px 0 150px; margin-top: -1px; overflow: hidden; }
.gives .sec-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.path { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.path-line { position: absolute; left: 4%; right: 4%; top: 30px; width: 92%; height: 170px; color: var(--dark); opacity: .55; }
.give { position: relative; text-align: center; padding: 0 6px; }
.give.low { margin-top: 80px; }
.give h3 { font-size: 1rem; margin: 18px 0 6px; }
.give p { font-size: .84rem; color: #3A3B3E; margin: 0; }
.blob {
  width: 124px; height: 124px; margin: 0 auto; display: grid; place-items: center; color: #fff;
  border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%; border: 5px solid #fff;
  box-shadow: 0 18px 30px -14px rgba(45, 30, 20, .6); transition: transform .35s, border-radius .6s;
}
.give:hover .blob { transform: translateY(-6px) rotate(-4deg); border-radius: 42% 58% 48% 52% / 56% 44% 56% 44%; }
.blob-pink { background: linear-gradient(135deg, #5f6064, #36373a); }
.blob-blue { background: linear-gradient(135deg, #FFC233, #E89400); }
.blob-purple { background: linear-gradient(135deg, #FF8A2A, #E85A00); }
.blob-orange { background: linear-gradient(135deg, #F2683A, #CC3D12); }
.blob-green { background: linear-gradient(135deg, #9a9ca1, #6b6d72); }

/* ---------- about (home) ---------- */
.about-home { padding: 40px 0 90px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.orbit { position: relative; max-width: 470px; margin: 0 auto; aspect-ratio: 1; display: grid; place-items: center; }
.orbit-lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--dark); stroke-width: 1.4; opacity: .55; }
.circle { width: 74%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 4px solid #fff; box-shadow: 0 0 0 3px var(--brand-l), var(--shadow); }
.circle-img, .circle .ph { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.odot { position: absolute; border-radius: 50%; }
.o1 { width: 26px; height: 26px; top: 2%; left: 58%; background: var(--coral); }
.o2 { width: 34px; height: 34px; bottom: 14%; right: 6%; background: radial-gradient(circle at 30% 30%, #8a8b90, var(--charcoal)); }
.o3 { width: 14px; height: 14px; bottom: 26%; left: 2%; background: var(--amber); }
.o4 { width: 12px; height: 12px; top: 22%; right: 2%; background: var(--brand); }

/* ---------- programmes ---------- */
.programmes { padding: 90px 0; background: var(--soft); }
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.prog { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.prog:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.prog-media { position: relative; }
.prog-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.prog-media .ph { aspect-ratio: 16 / 10; border-radius: 0; }
.tag { position: absolute; left: 16px; bottom: -14px; color: #fff; font-size: .78rem; font-weight: 600; padding: 5px 14px; border-radius: 99px; box-shadow: var(--shadow-sm); }
.tag-orange { background: var(--coral); } .tag-pink { background: var(--charcoal); } .tag-blue { background: var(--amber); }
.prog-body { padding: 30px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.prog-body p { flex: 1; font-size: .93rem; }

/* ---------- values ---------- */
.values { padding: 90px 0 70px; }
.value-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.value { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 10px; transition: transform .25s, box-shadow .25s; }
.value:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.value b { display: block; color: var(--ink); margin-top: 12px; font-weight: 600; }
.vletter { display: inline-grid; place-items: center; width: 66px; height: 66px; font-size: 1.8rem; font-weight: 800; color: #fff; border-radius: 44% 56% 50% 50% / 52% 46% 54% 48%; }
.tone-pink { background: linear-gradient(135deg, #5f6064, #36373a); }
.tone-blue { background: linear-gradient(135deg, #FFC233, #E89400); }
.tone-purple { background: linear-gradient(135deg, #FF8A2A, #E85A00); }
.tone-orange { background: linear-gradient(135deg, #F2683A, #CC3D12); }
.tone-green { background: linear-gradient(135deg, #9a9ca1, #6b6d72); }

/* ---------- steps band ---------- */
.steps-band { margin: 40px 0; }
.steps-in {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; color: #F2F2F3;
  background: linear-gradient(135deg, #2E2F31, #47484A 60%, #5c5d60); border-radius: 32px; padding: 56px; position: relative; overflow: hidden;
}
.steps-in::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; right: -120px; top: -160px; background: rgba(255, 255, 255, .08); }
.steps-in h2 { color: #fff; }
.steps-in h2 span { color: var(--gold); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; }
.steps li { display: flex; gap: 16px; align-items: flex-start; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); border-radius: 18px; padding: 16px 18px; font-size: .9rem; }
.steps li b { display: block; color: #fff; font-size: 1rem; }
.steps li > span { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #fff; color: var(--brand); font-weight: 800; font-size: 1.1rem; }

/* ---------- gallery ---------- */
.gallery-home { padding: 70px 0; }
/* Always 5 photos: one large + four small, filling an exact 4×2 rectangle (2 columns on smaller screens). */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; margin-bottom: 30px; }
.mosaic-item { border-radius: 18px; overflow: hidden; display: block; }
.mosaic-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic-item:nth-child(n+6) { display: none; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mosaic-item:hover img { transform: scale(1.06); }

/* ---------- testimonials ---------- */
.testimonials { padding: 80px 0; background: var(--hero-bg); overflow: hidden; }
.slider { position: relative; }
.slides { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 10px 4px 26px; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.quote { margin: 0; background: #fff; border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); scroll-snap-align: start; display: flex; flex-direction: column; }
.qmark { width: 36px; height: 36px; color: var(--brand-l); margin-bottom: 8px; }
.quote blockquote { margin: 0 0 22px; font-size: .95rem; flex: 1; color: var(--text); }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: .82rem; color: var(--muted); }
.quote figcaption b { display: block; color: var(--ink); font-size: .95rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--grad); }
.slider-nav { display: flex; justify-content: center; gap: 12px; }
.slider-nav button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); cursor: pointer; transition: .2s; }
.slider-nav button:hover { background: var(--brand); color: #fff; }

/* ---------- news cards ---------- */
.news-home { padding: 90px 0 40px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px -16px rgba(45, 30, 20, .35); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-media img, .card-media .ph { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0; }
.card-body { padding: 20px 22px 24px; }
.card-body h3 { font-size: 1.02rem; margin-bottom: 6px; }
.card-body h3 a { color: var(--ink); }
.card-body h3 a:hover { color: var(--brand); }
.card-body p { font-size: .88rem; margin: 0; }
.card-body .meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .78rem; margin-bottom: 10px; }

/* ---------- CTA ---------- */
.cta { padding: 60px 0 100px; }
.cta-box {
  position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
  padding: 46px 52px; border-radius: 30px; color: #FFF1E5; background: linear-gradient(120deg, #FF9A2E 0%, #F96501 50%, #D94F00 100%);
}
.cta-box h2 { color: #fff; margin-bottom: .25em; }
.cta-box p { margin: 0; }
.cta-box .b1 { width: 200px; height: 200px; right: 30%; top: -120px; background: rgba(255, 255, 255, .14); filter: none; }
.cta-box .b2 { width: 90px; height: 90px; left: -30px; bottom: -40px; background: rgba(255, 255, 255, .14); filter: none; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }

/* ---------- placeholder panels (until real photos are uploaded) ---------- */
.ph { position: relative; display: grid; place-items: center; overflow: hidden; border-radius: inherit; width: 100%; height: 100%; min-height: 160px; aspect-ratio: 5 / 4; }
.ph svg { width: 56%; max-width: 260px; opacity: .9; }
.ph span { position: absolute; right: 14px; bottom: 10px; font-weight: 800; font-size: .8rem; letter-spacing: .12em; color: rgba(255, 255, 255, .85); }
.ph .ph-a { fill: rgba(255, 255, 255, .85); } .ph .ph-b { fill: rgba(255, 255, 255, .45); } .ph .ph-c { fill: rgba(255, 255, 255, .6); }
.ph-grape { background: linear-gradient(135deg, #FFA05A, #E85A00); }
.ph-berry { background: linear-gradient(135deg, #7a7b80, #47484A); }
.ph-sky { background: linear-gradient(135deg, #FFD066, #F29A00); }
.ph-sun { background: linear-gradient(135deg, #FFB36B, #F2541B); }

/* ---------- inner pages ---------- */
.banner { position: relative; background: var(--hero-bg); padding: 70px 0 120px; overflow: hidden; text-align: center; }
.banner .b1 { width: 110px; height: 110px; left: 6%; top: 18%; background: radial-gradient(circle at 35% 35%, #FFD3AD, #FFA866 60%, transparent 70%); }
.banner .b2 { width: 60px; height: 60px; right: 10%; top: 20%; background: radial-gradient(circle at 35% 35%, #DCDCDE, #A7A8AC 65%, transparent 72%); }
.banner .b3 { width: 36px; height: 36px; right: 26%; bottom: 34%; background: radial-gradient(circle at 30% 30%, #fff, #FFC66E 55%, #F29A00); filter: none; opacity: 1; }
.banner-in { position: relative; }
.banner h1 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: .3em; }
.banner .lead { max-width: 680px; margin: 0 auto; font-size: 1.03rem; color: #4A4B4E; }
.crumbs { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); background: rgba(255, 255, 255, .7); padding: 6px 14px; border-radius: 99px; margin-bottom: 18px; }
.crumbs .ic { width: 14px; height: 14px; }
/* photo banner: the school photo behind the title, tinted so white text always reads */
.banner.has-photo { background: #2E2F31; color: #fff; padding: 96px 0 140px; isolation: isolate; }
.banner.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--banner-img) center 40% / cover no-repeat; transform: scale(1.06); animation: banner-zoom 14s ease-out forwards; }
.banner.has-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(30, 31, 33, .62) 0%, rgba(30, 31, 33, .5) 55%, rgba(30, 31, 33, .7) 100%), linear-gradient(90deg, rgba(249, 101, 1, .35), rgba(249, 101, 1, 0) 60%); }
.banner.has-photo h1 { color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.banner.has-photo .lead { color: rgba(255, 255, 255, .92); }
.banner.has-photo .crumbs { background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .22); }
.banner.has-photo .crumbs a { color: #fff; }
.banner.has-photo .crumbs span { color: #FFC08F; }
.banner.has-photo .wave { z-index: 1; }
@keyframes banner-zoom { to { transform: scale(1); } }
@media (max-width: 600px) { .banner.has-photo { padding: 64px 0 104px; } }

.section { padding: 70px 0; }
.section.soft { background: var(--soft); }
.section.tight { padding: 40px 0; }
.prose { max-width: 780px; }
.prose.mx { margin: 0 auto; }
.prose p, .prose li { font-size: 1rem; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.4em; }
.media-rounded { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.media-rounded img, .media-rounded .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; }
.blob-media { position: relative; }
.blob-media::before { content: ""; position: absolute; inset: -18px 30px 30px -18px; border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%; background: linear-gradient(135deg, #FFE1CC, #EDEDEE); z-index: -1; }

.vmv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vmv-card { background: #fff; border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); border-top: 5px solid var(--brand); }
.vmv-card:nth-child(2) { border-color: var(--charcoal); }
.vmv-card:nth-child(3) { border-color: var(--coral); }
.vmv-card .ic { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); margin-bottom: 14px; }

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 22px; }
.person { background: #fff; border-radius: var(--radius); padding: 26px 20px; text-align: center; box-shadow: var(--shadow-sm); }
.person .avatar { width: 74px; height: 74px; margin: 0 auto 14px; font-size: 1.6rem; }
.person b { display: block; color: var(--ink); }
.person span { font-size: .85rem; color: var(--muted); }
.person em { display: inline-block; margin-top: 8px; font-style: normal; font-size: .75rem; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 3px 12px; border-radius: 99px; }

.leaders { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.leader { margin: 0; width: 280px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); text-align: center; }
.leader-img, .leader .ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 0; }
.leader figcaption { padding: 18px 16px 22px; }
.leader b { display: block; color: var(--ink); font-size: 1.05rem; }
.leader span { display: block; font-size: .85rem; color: var(--muted); }
.leader em { display: inline-block; margin-top: 8px; font-style: normal; font-size: .78rem; font-weight: 600; color: #fff; background: var(--brand); padding: 4px 14px; border-radius: 99px; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 20px; }
.feature { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; transition: .25s; }
.feature:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.feature .ic { width: 46px; height: 46px; padding: 11px; border-radius: 14px; color: #fff; flex: none; }
.feature b { display: block; color: var(--ink); font-weight: 600; line-height: 1.35; }
.feature span { font-size: .85rem; color: var(--muted); }
.feature:nth-child(5n+1) .ic { background: var(--brand); }
.feature:nth-child(5n+2) .ic { background: var(--charcoal); }
.feature:nth-child(5n+3) .ic { background: var(--amber); }
.feature:nth-child(5n+4) .ic { background: var(--coral); }
.feature:nth-child(5n+5) .ic { background: var(--steel); }

.pills { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.pills li { background: #fff; border: 1px solid var(--line); padding: 8px 16px; border-radius: 99px; font-size: .88rem; font-weight: 500; color: var(--ink); }
.pills.color li:nth-child(4n+1) { background: #FFF1E5; border-color: #FFDCC2; }
.pills.color li:nth-child(4n+2) { background: #EFEFF0; border-color: #DEDEE0; }
.pills.color li:nth-child(4n+3) { background: #FFF6E0; border-color: #FFE6B3; }
.pills.color li:nth-child(4n+4) { background: #fff0e8; border-color: #ffdcc9; }

.panel { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.panel.purple { background: linear-gradient(135deg, #2E2F31, #4f5053); color: #F2F2F3; border: 0; }
.panel.purple h2, .panel.purple h3 { color: #fff; }

.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.timeline li { position: relative; background: #fff; border-radius: var(--radius); padding: 30px 24px 26px; box-shadow: var(--shadow-sm); overflow-wrap: anywhere; }
.timeline li::before { counter-increment: s; content: counter(s); position: absolute; top: -20px; left: 24px; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--grad); box-shadow: var(--shadow-sm); }
.timeline h3 { margin-top: 10px; }

/* ---------- forms ---------- */
.form-card { background: #fff; border-radius: 28px; padding: 38px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card h2 { margin-bottom: .2em; }
.fieldset { border: 0; padding: 0; margin: 0 0 26px; }
.fieldset legend { font-weight: 700; color: var(--ink); font-size: 1.02rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.fieldset legend span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: var(--grad); font-size: .85rem; }
/* admission form: one card per child once there is more than one */
.kid + .kid { margin-top: 14px; }
.kid .grid-2, .kid .grid-3 { margin-bottom: 16px; }
.kid-head { display: none; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.kid-head h3 { margin: 0; font-size: .95rem; color: var(--ink); }
.many .kid { border: 1.5px dashed #F3CDAE; border-radius: 16px; padding: 16px 16px 2px; background: #FFFAF6; }
.many .kid-head { display: flex; }
.kid-remove { border: 0; background: none; color: #c8264b; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.kid-remove:hover { background: #fff0f3; }
.kid-add { margin-top: 4px; }
.kid-add[hidden], .kid-remove[hidden] { display: none; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.grid-2 .field, .grid-3 .field { margin-bottom: 0; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.field label i { color: var(--charcoal); font-style: normal; }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--ink); background: var(--soft); border: 1.5px solid var(--line);
  border-radius: 12px; padding: 12px 14px; width: 100%; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand-l); background: #fff; box-shadow: 0 0 0 4px rgba(255, 154, 77, .18); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; margin: 6px 0 22px; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand); }
.form-note { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }

.alert { margin: 20px 0 0; padding: 14px 18px; border-radius: 14px; font-size: .93rem; border: 1px solid; }
.alert-error { background: #fff0f3; border-color: #ffc9d6; color: #a3123a; }
.alert-success { background: #ecfbf4; border-color: #b5ecd2; color: #0d7a50; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: start; }
.info-list { display: grid; gap: 16px; }
.info { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: 18px; padding: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.info .ic { width: 48px; height: 48px; padding: 12px; border-radius: 14px; color: #fff; background: var(--grad); flex: none; }
.info b { display: block; color: var(--ink); }
.info > div { min-width: 0; overflow-wrap: anywhere; }
.contact-grid > * { min-width: 0; }
.info-list .btn { white-space: normal; text-align: center; }
.info a { color: var(--text); }
.info a:hover { color: var(--brand); }
.map { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-sm); margin-top: 40px; }
.map iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- news / post ---------- */
.post-hero { border-radius: 26px; overflow: hidden; margin: -80px auto 36px; max-width: 980px; position: relative; z-index: 2; box-shadow: var(--shadow); }
.post-hero img, .post-hero .ph { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 0; }
.post-body { max-width: 760px; margin: 0 auto; font-size: 1.04rem; }
.post-body p:first-child::first-letter { float: left; font-size: 3.4em; line-height: .9; font-weight: 800; color: var(--brand); margin: 6px 10px 0 0; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pager a, .pager span { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 600; }
.pager span { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- gallery page ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 30px; }
.filters button { font: inherit; font-size: .88rem; font-weight: 600; padding: 8px 18px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; color: var(--text); cursor: pointer; }
.filters button.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.gallery-grid { columns: 3 260px; column-gap: 16px; }
.gallery-grid a { display: block; margin-bottom: 16px; border-radius: 18px; overflow: hidden; break-inside: avoid; position: relative; }
.gallery-grid img { width: 100%; transition: transform .5s; }
.gallery-grid a:hover img { transform: scale(1.04); }
.gallery-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; font-size: .82rem; color: #fff; background: linear-gradient(transparent, rgba(34, 35, 38, .75)); }
.empty { text-align: center; padding: 50px 20px; border: 2px dashed var(--line); border-radius: 24px; color: var(--muted); }
.empty .ic { width: 48px; height: 48px; color: var(--brand-l); margin: 0 auto 10px; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20, 20, 22, .92); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 82vh; max-width: 92vw; border-radius: 14px; }
.lightbox p { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #fff; margin: 0; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .15); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lightbox button .ic { width: 24px; height: 24px; }
.lb-close { top: 20px; right: 20px; } .lb-prev { left: 20px; } .lb-next { right: 20px; }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--brand); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; margin: 0; }

/* ---------- thanks ---------- */
/* message pages (thank-you, payment result, 404): school photo behind, message on a white card */
.photo-section { position: relative; isolation: isolate; padding: 90px 0; background: #2E2F31; }
.photo-section::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--banner-img) center 40% / cover no-repeat; }
.photo-section::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(30, 31, 33, .55), rgba(30, 31, 33, .7)), linear-gradient(90deg, rgba(249, 101, 1, .3), rgba(249, 101, 1, 0) 60%); }
.photo-section .thanks { background: #fff; border-radius: 28px; padding: 44px 32px 36px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); }
@media (max-width: 600px) { .photo-section { padding: 48px 0; } .photo-section .thanks { padding: 32px 20px 26px; border-radius: 22px; } }
.thanks { max-width: 620px; margin: 0 auto; text-align: center; }
.thanks .badge { width: 90px; height: 90px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #9a9ca1, #6b6d72); box-shadow: var(--shadow); }
.thanks .badge .ic { width: 44px; height: 44px; }
.ref + .ref { margin-left: 8px; }
.ref { display: inline-block; font-weight: 800; letter-spacing: .06em; font-size: 1.3rem; color: var(--brand); background: var(--brand-soft); padding: 8px 20px; border-radius: 14px; margin: 6px 0 18px; }

/* ---------- footer ---------- */
.site-footer { position: relative; margin-top: 30px; color: #D6D6D8; }
.footer-wave { display: block; width: 100%; height: 70px; fill: #2E2F31; }
.footer-body { background: #2E2F31; padding: 30px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #D6D6D8; }
.site-footer a:hover { color: #fff; }
.footer-about p { font-size: .9rem; margin: 18px 0; }
.footer-contact p { display: flex; gap: 10px; font-size: .9rem; margin-bottom: 12px; }
.footer-contact .ic { color: var(--gold); margin-top: 4px; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #fff; transition: .2s; }
.social a:hover { background: var(--charcoal); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; padding-bottom: 24px; font-size: .82rem; }
.footer-base p { margin: 0; }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; gap: 8px; background: #25d366; color: #fff;
  padding: 12px 18px 12px 14px; border-radius: 99px; font-weight: 600; font-size: .88rem; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7);
}
.wa-float:hover { color: #fff; transform: translateY(-2px); }
.wa-float .ic { width: 24px; height: 24px; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .chip { animation: none; }
  .banner.has-photo::before { animation: none; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: grid; place-items: center; }
  /* backdrop-filter would make the header the containing block of the fixed drawer */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); background: #fff; flex-direction: column; align-items: stretch;
    padding: 90px 20px 30px; gap: 16px; transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility 0s .3s;
    box-shadow: -20px 0 60px rgba(34, 35, 38, .25); overflow-y: auto;
  }
  .nav.open { transform: none; visibility: visible; transition: transform .3s; }
  .nav > ul { flex-direction: column; }
  .nav > ul > li > a { padding: 12px; justify-content: space-between; }
  .nav > ul > li > a.active::after { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 12px; min-width: 0; display: none; }
  .has-sub.open .sub { display: block; }
  .has-sub:hover .caret { transform: none; }
  .has-sub.open .caret { transform: rotate(180deg); }
  .nav-toggle { position: relative; z-index: 60; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(34, 35, 38, .4); z-index: 45; }
  .site-header { z-index: 55; }
  .path { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .path-line { display: none; }
  .give.low { margin-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  /* phones: the whole announcement, centred over up to two lines, with “Apply online” at the end */
  .topbar-links { display: none; }
  .topbar-in { justify-content: center; }
  .topbar p { display: block; flex: 1 1 auto; width: 100%; min-width: 0; white-space: normal; text-align: center; font-size: .78rem; }
  .topbar p > .ic { display: none; }
  .topbar p a { display: inline-flex; vertical-align: middle; margin-left: .35em; }
  .hero { padding: 50px 0 130px; }
  .hero-in, .two, .contact-grid, .steps-in { grid-template-columns: 1fr; }
  .hero-art { padding: 30px 26px 30px 0; max-width: 560px; }
  .chip-a { left: -6px; }
  .prog-grid, .cards, .vmv, .timeline { grid-template-columns: 1fr 1fr; }
  .value-row { grid-template-columns: repeat(3, 1fr); }
  .slides { grid-auto-columns: calc((100% - 24px) / 2); }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .mosaic-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .mosaic-item:nth-child(1) img { object-position: center 35%; }
  .steps-in { padding: 40px 30px; }
  .timeline { row-gap: 36px; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .nav-in { min-height: 66px; }
  .brand .logo { width: 40px; height: 40px; }
  .brand-text strong { font-size: 1.06rem; }
  .path { grid-template-columns: 1fr 1fr; }
  .blob { width: 100px; height: 100px; }
  .prog-grid, .cards, .vmv, .timeline, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-2 .field, .grid-3 .field { margin-bottom: 0; }
  .grid-2, .grid-3 { gap: 14px; }
  .value-row { grid-template-columns: repeat(2, 1fr); }
  .slides { grid-auto-columns: 88%; }
  .hero-note, .hero-arrow { display: none; }
  .chip { font-size: .7rem; padding: 8px 10px; }
  .chip .ic { width: 30px; height: 30px; padding: 7px; }
  .chip-b { right: -6px; top: auto; bottom: -14px; }
  .form-card, .panel { padding: 24px 18px; border-radius: 22px; }
  .cta-box { padding: 34px 24px; }
  .steps-in { padding: 34px 20px; border-radius: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .post-hero { margin-top: -60px; border-radius: 18px; }
  .mosaic { grid-auto-rows: 130px; }
}

/* ---------- website pages built in Admin → Pages ---------- */
.lede p { font-size: 1.12rem; color: var(--ink); }
.cols-auto { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 24px; align-items: start; }
.cols-auto h3 .ic { width: 22px; height: 22px; vertical-align: -4px; color: var(--brand); }
.cols-auto ul { margin: 0; }
@media (max-width: 760px) { .cols-auto { grid-template-columns: 1fr; } }
.policy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.policy-card { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; color: var(--text); transition: .25s; }
.policy-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); border-color: #FFC9A0; color: var(--text); }
.policy-card > .ic:first-child { flex: none; width: 46px; height: 46px; padding: 11px; border-radius: 14px; color: #fff; background: var(--brand); }
.policy-card span { flex: 1; min-width: 0; }
.policy-card b { display: block; color: var(--ink); font-weight: 600; line-height: 1.35; }
.policy-card small { display: block; color: var(--muted); font-size: .84rem; margin-top: 2px; }
.policy-card .go { flex: none; width: 20px; height: 20px; color: var(--brand); }
.draft-tag { font-style: normal; font-size: .72rem; font-weight: 700; color: #8a5a00; background: #FFF3CD; border-radius: 99px; padding: 3px 9px; }
.draft-bar { position: sticky; top: 0; z-index: 60; background: #FFF3CD; color: #6b4a00; text-align: center; padding: 9px 16px; font-size: .9rem; border-bottom: 1px solid #f1d98a; }
.draft-bar .ic { width: 18px; height: 18px; vertical-align: -4px; }
.doc-card { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; box-shadow: var(--shadow-sm); }
.doc-card > div { flex: 1; min-width: min(240px, 100%); }
.doc-card h3 { margin: 0 0 4px; }
.doc-card p { margin: 0 0 4px; }
.doc-ic { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.doc-ic .ic { width: 26px; height: 26px; }
.policy-card:nth-child(5n+2) > .ic:first-child { background: var(--charcoal); }
.policy-card:nth-child(5n+3) > .ic:first-child { background: var(--amber); }
.policy-card:nth-child(5n+4) > .ic:first-child { background: var(--coral); }
.policy-card:nth-child(5n+5) > .ic:first-child { background: var(--steel); }
