/* Demzy Baye High School Tour — Lidelle Movement Family */
:root {
  --purple: #332561;
  --purple-deep: #24183e;
  --purple-ink: #2a1f4f;
  --pink: #e0357c;
  --pink-soft: #fce8f1;
  --red: #c8203a;
  --red-soft: #fbe9ec;
  --lavender: #caa7c7;
  --lavender-soft: #f1ecf6;
  --text: #2b2440;
  --muted: #5d5578;
  --line: #e4dfee;
  --bg: #ffffff;
  --bg-alt: #f7f5fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(36, 24, 62, .10);
  --wrap: 1160px;
  --font: "Source Sans 3", "Myriad Pro", "Segoe UI", system-ui, sans-serif;
  --font-display: "Fira Sans Extra Condensed", "Myriad Pro Condensed", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink); }
h1, h2, h3, h4 { color: var(--purple); line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4.4vw, 2.9rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--purple); color: #e9e4f3; }
.section.dark h2, .section.dark h3 { color: #fff; }

.kicker {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.dark .lead { color: #cfc6e2; }
.note {
  border-left: 3px solid var(--lavender);
  padding: 4px 0 4px 16px;
  color: var(--muted);
  font-size: .92rem;
  margin-top: 28px;
}
.dark .note { color: #bdb2d6; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .25s, box-shadow .25s;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.site-header .logo img { height: 40px; width: auto; }
.site-header .logo .on-light { display: none; }
.site-header.scrolled { background: rgba(255,255,255,.96); box-shadow: 0 2px 14px rgba(36,24,62,.08); backdrop-filter: blur(8px); }
.site-header.scrolled .logo .on-dark { display: none; }
.site-header.scrolled .logo .on-light { display: block; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-header.scrolled .nav a { color: var(--purple); }
.nav a:hover { color: var(--pink); }
.nav .btn { color: #fff !important; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .2s; }
.site-header.scrolled .nav-toggle span { background: var(--purple); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; box-shadow: 0 12px 24px rgba(36,24,62,.12);
    display: none; padding: 8px 16px 18px;
  }
  .nav.open { display: flex; }
  .nav a { color: var(--purple); padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; text-align: center; border: 0; }
  .site-header.menu-open { background: #fff; }
  .site-header.menu-open .logo .on-dark { display: none; }
  .site-header.menu-open .logo .on-light { display: block; }
  .site-header.menu-open .nav-toggle span { background: var(--purple); }
}

/* ---------- Buttons & pills ---------- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  background: var(--pink); color: #fff; text-decoration: none; font-weight: 700;
  border: 2px solid var(--pink); transition: transform .15s, background .15s;
  font-size: 1rem; cursor: pointer; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); background: #c92a6b; border-color: #c92a6b; }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,.6); }
.btn.ghost:hover { background: rgba(255,255,255,.1); }
.btn.small { padding: 9px 18px; font-size: .9rem; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.pills li {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  padding: 7px 16px; font-size: .9rem; font-weight: 600; color: #fff;
  background: rgba(255,255,255,.06);
}
.pills li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--dot, var(--pink)); }

.tag {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  background: var(--pink); color: #fff; margin-bottom: 12px;
}
.tag.red { background: var(--red); }
.tag.lav { background: var(--lavender); color: var(--purple); }
.tag.purple { background: var(--purple); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: #fff;
  background: var(--purple-deep) url("../img/hero.jpg") center 20% / cover no-repeat;
  padding: 120px 0 60px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(36,24,62,.25) 0%, rgba(36,24,62,.55) 30%, rgba(36,24,62,.9) 55%, var(--purple-deep) 100%);
}
.hero .wrap { position: relative; }
.hero .presents { font-size: .82rem; letter-spacing: .3em; text-transform: uppercase; color: #d9cfe8; font-weight: 600; }
.hero .name { font-family: var(--font-display); color: var(--pink); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); text-transform: uppercase; margin: 8px 0 0; letter-spacing: .01em; }
.hero h1 {
  font-family: var(--font-display); color: #fff; text-transform: uppercase; font-weight: 800;
  font-size: clamp(3.6rem, 12vw, 8rem); line-height: .92; margin: 0 0 22px; letter-spacing: -.005em;
}
.hero .tagline { font-size: clamp(1.1rem, 2.2vw, 1.35rem); max-width: 640px; color: #e4dcf0; font-weight: 600; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero .motto { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .95rem; color: #d9cfe8; }
.hero .motto em { color: #fff; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.split.media { grid-template-columns: 1fr 1.15fr; align-items: center; }
@media (max-width: 960px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .split, .split.media { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
}

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; position: relative;
}
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }
.card.pink { background: var(--pink-soft); border-color: transparent; }
.card.red { background: var(--red-soft); border-color: transparent; }
.card.purple { background: var(--purple); border-color: transparent; color: #e3dcf0; }
.card.purple h3 { color: #fff; }
.card.purple p { color: #d5cce6; }
.card.ink { background: #1d1530; border-color: transparent; }
.card.ink h3 { color: #fff; }
.card.ink p { color: #cbc2dc; }
.card .by { margin-top: 14px; font-size: .88rem; font-weight: 700; color: var(--pink); }
.card.red .by { color: var(--red); }
.card.purple .by, .card.ink .by { color: var(--lavender); }

ul.dots { list-style: none; padding: 0; margin: 12px 0 0; }
ul.dots li { position: relative; padding-left: 22px; margin: 6px 0; color: var(--text); font-size: .98rem; }
ul.dots li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 9px; height: 9px; border-radius: 50%; background: var(--pink); }
.card.purple ul.dots li { color: #ece6f6; }
.dots.cols { columns: 2; column-gap: 32px; }
@media (max-width: 620px) { .dots.cols { columns: 1; } }

/* ---------- Glance ---------- */
.glance {
  background: var(--purple); color: #fff; border-radius: var(--radius); padding: 28px;
  position: sticky; top: 96px;
}
.glance h3 { color: #fff; font-size: .8rem; letter-spacing: .28em; text-transform: uppercase; margin-bottom: 18px; }
.glance dl { margin: 0; }
.glance dt { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--lavender); font-weight: 700; margin-top: 16px; }
.glance dd { margin: 2px 0 0; font-weight: 600; color: #f1ecf8; }
.glance dd.free { color: var(--pink); font-size: 1.4rem; font-weight: 800; }
.big-quote { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--purple); line-height: 1.15; margin-bottom: 26px; }

/* ---------- Flier ---------- */
.flier img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- About ---------- */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 34px 0 48px; }
.mv .card h4 { font-size: .75rem; letter-spacing: .26em; text-transform: uppercase; color: var(--lavender); margin-bottom: 8px; }
@media (max-width: 620px) { .mv { grid-template-columns: 1fr; } }
.values .card { border-top: 3px solid var(--pink); }
.pillars { margin-top: 26px; }
.pillar { border-radius: var(--radius); padding: 26px; color: #fff; }
.pillar .num { font-size: 2.2rem; font-weight: 800; line-height: 1; display: block; margin-bottom: 10px; }
.pillar h3 { color: #fff; }
.pillar p { color: rgba(255,255,255,.88); margin: 0; font-size: .97rem; }
.pillar.p1 { background: var(--purple); }
.pillar.p2 { background: var(--pink); }
.pillar.p3 { background: #1d1530; }
.slogan { text-align: center; font-weight: 700; color: var(--purple); font-size: 1.2rem; margin-top: 36px; }

/* ---------- Demzy ---------- */
.portrait { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.portrait img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.portrait figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 22px; background: linear-gradient(transparent, rgba(36,24,62,.9)); color: #fff; }
.portrait figcaption strong { display: block; font-size: 1.6rem; }
.portrait figcaption span { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: #ddd3ec; }
.facts { margin-top: 28px; }
.facts .card { padding: 20px; }
.facts .card h3 { font-size: 1rem; }

/* ---------- Social reach ---------- */
.reach-head { font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 800; color: #fff; line-height: 1; margin: 18px 0 4px; }
.reach-head small { font-size: .45em; color: var(--pink); display: block; margin-top: 6px; }
.bars { margin-top: 26px; display: grid; gap: 12px; }
.bar { display: grid; grid-template-columns: 96px 1fr 64px; align-items: center; gap: 12px; font-size: .92rem; }
.bar .track { height: 10px; background: rgba(255,255,255,.12); border-radius: 99px; overflow: hidden; }
.bar .fill { height: 100%; background: linear-gradient(90deg, var(--pink), #f06aa2); border-radius: 99px; }
.bar b { text-align: right; color: #fff; }
.platforms { margin-top: 48px; }
.platform { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 18px; text-align: center; }
.platform b { display: block; font-size: 1.7rem; color: #fff; }
.platform span { display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--lavender); font-weight: 700; }
.platform small { display: block; color: #cfc6e2; margin-top: 6px; font-size: .85rem; }
.why-cards { margin-top: 28px; }
.why-cards .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.why-cards .card h3 { color: #fff; font-size: 1.05rem; }
.why-cards .card p { color: #cfc6e2; }

/* ---------- Stats ---------- */
.stats { margin: 40px 0 56px; }
.stat { border-radius: var(--radius); padding: 24px; color: #fff; }
.stat b { display: block; font-size: 2.4rem; font-weight: 800; line-height: 1; margin-bottom: 10px; }
.stat p { margin: 0; color: rgba(255,255,255,.88); font-size: .95rem; }
.stat:nth-child(odd) { background: var(--pink); }
.stat:nth-child(even) { background: var(--purple); }

ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
ol.steps li { counter-increment: s; position: relative; padding: 4px 0 4px 52px; min-height: 36px; }
ol.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%; background: var(--purple); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: .95rem;
}
ol.steps li strong { display: block; color: var(--purple); }
.dark ol.steps li::before { background: var(--pink); }
.dark ol.steps li strong { color: #fff; }

/* ---------- Schools ---------- */
.school-feature {
  display: flex; align-items: center; gap: 24px;
  background: var(--purple); color: #fff; border-radius: var(--radius); padding: 26px; margin: 34px 0 22px;
}
.school-feature h3 { color: #fff; font-size: 1.5rem; margin-bottom: 4px; }
.school-feature p { margin: 0; color: #d8cfea; }
.school-feature .badge { display: inline-block; margin-top: 8px; font-size: .8rem; font-weight: 700; color: var(--pink); background: #fff; padding: 3px 10px; border-radius: 99px; }
.crest { flex: none; width: 92px; height: 92px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.crest img { width: 80%; height: 80%; object-fit: contain; }
.school { display: flex; align-items: center; gap: 18px; }
.school .crest { width: 72px; height: 72px; }
.school h3 { font-size: 1.08rem; margin-bottom: 2px; }
.school .where { color: var(--pink); font-weight: 600; font-size: .9rem; display: block; }
.school .type { color: var(--muted); font-size: .9rem; }
.school.more { border-style: dashed; }
.school.more .crest { background: var(--bg-alt); color: var(--pink); font-size: 1.8rem; font-weight: 300; box-shadow: none; border: 2px dashed var(--lavender); }

.route { margin-top: 64px; }
.route-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin: 22px 0; }
.route-tools input {
  flex: 1 1 260px; max-width: 420px; padding: 12px 16px; border-radius: 999px;
  border: 1px solid var(--line); font: inherit; font-size: .98rem; background: #fff;
}
.route-tools input:focus { outline: 2px solid var(--pink); border-color: transparent; }
.districts { columns: 2; column-gap: 22px; }
@media (max-width: 760px) { .districts { columns: 1; } }
.district { break-inside: avoid; background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 18px; overflow: hidden; }
.district summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px;
  background: var(--purple); color: #fff; padding: 12px 16px; font-weight: 700;
}
.district summary::-webkit-details-marker { display: none; }
.district summary .n { background: var(--pink); border-radius: 6px; padding: 1px 8px; font-size: .8rem; }
.district summary .town { margin-left: auto; font-weight: 500; font-size: .85rem; color: var(--lavender); }
.district summary::after { content: "+"; font-weight: 400; font-size: 1.2rem; width: 14px; text-align: center; }
.district[open] summary::after { content: "–"; }
.district ol { margin: 0; padding: 12px 16px 14px 46px; font-size: .95rem; }
.district li { margin: 4px 0; }
.district li span { color: var(--muted); }
.district li span::before { content: " · "; }
.private { display: inline-block; font-size: .62rem; letter-spacing: .14em; font-weight: 700; background: var(--pink); color: #fff; border-radius: 99px; padding: 1px 8px; vertical-align: 2px; margin-left: 4px; }
.district li.hidden { display: none; }
.district.empty { display: none; }

/* ---------- Activities ---------- */
.activities { margin-top: 34px; display: grid; gap: 20px; }
.checks { margin-top: 34px; }
.checks .card h3 { font-size: 1.1rem; }
.beyond { margin-top: 34px; }
.beyond-photo { margin-top: 22px; border-radius: var(--radius); overflow: hidden; }
.beyond-photo img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; object-position: center 30%; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 34px 0 0; padding: 0 0 0 28px; border-left: 2px solid var(--pink-soft); }
.timeline li { position: relative; padding: 0 0 26px 18px; }
.timeline li::before { content: ""; position: absolute; left: -37px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--pink); }
.timeline time { font-size: .8rem; font-weight: 700; letter-spacing: .14em; color: var(--pink); }
.timeline h3 { margin: 2px 0 2px; font-size: 1.08rem; }
.timeline p { margin: 0; color: var(--muted); font-size: .96rem; }
.phases { margin-top: 18px; }
.phases .card .tag { background: var(--lavender-soft); color: var(--purple); }
.phases .card:first-child { border: 2px solid var(--pink); }

/* ---------- Impact ---------- */
.targets .stat b small { font-size: .5em; font-weight: 700; margin-left: 2px; }
.targets .stat:nth-child(5) { background: var(--pink); }
.targets .stat:nth-child(6) { background: #1d1530; }
.measure { margin-top: 18px; }
.measure .card { border-left: 3px solid var(--pink); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: 1.1fr 1fr 1fr; grid-template-rows: auto auto; gap: 14px; margin-top: 34px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .tall { grid-row: span 2; }
.gallery .motto-card { background: var(--purple); color: #fff; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; border-radius: var(--radius); }
.gallery .motto-card blockquote { margin: 0; font-size: 1.6rem; font-weight: 800; line-height: 1.15; }
.gallery .motto-card p { color: #d8cfea; margin: 18px 0 0; font-size: .95rem; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .tall { grid-row: auto; grid-column: span 2; }
  .gallery .tall img { aspect-ratio: 4/5; }
}
.partners { margin-top: 40px; }

/* ---------- Form ---------- */
.form-card { background: #fff; border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.form-card label { display: block; font-weight: 700; color: var(--purple); font-size: .9rem; margin-bottom: 6px; }
.form-card input[type=text], .form-card input[type=email], .form-card input[type=tel], .form-card textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 1rem; background: var(--bg-alt);
}
.form-card input:focus, .form-card textarea:focus { outline: 2px solid var(--pink); border-color: transparent; background: #fff; }
.form-card fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.form-card legend { font-weight: 700; color: var(--purple); font-size: .9rem; margin-bottom: 8px; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.choices.two { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .choices.two { grid-template-columns: 1fr; } }
.choices label { font-weight: 500; color: var(--text); display: flex; gap: 10px; align-items: center; margin: 0; font-size: .98rem; cursor: pointer; }
.choices input { accent-color: var(--pink); width: 18px; height: 18px; }
.form-foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 8px; }
.form-foot small { color: var(--muted); }

/* ---------- CTA / Contact ---------- */
.cta {
  position: relative; color: #fff; overflow: hidden;
  background: var(--purple-deep);
}
.cta .split { align-items: stretch; }
.cta h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.cta-photo { border-radius: var(--radius); overflow: hidden; min-height: 420px; }
.cta-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.contact-box { margin-top: 30px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 22px; background: rgba(255,255,255,.05); }
.contact-box dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; }
.contact-box dt { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--lavender); font-weight: 700; padding-top: 3px; }
.contact-box dd { margin: 0; font-weight: 600; word-break: break-word; }
.contact-box a { color: #fff; text-decoration: none; }
.contact-box a:hover { color: var(--pink); }

.site-footer { background: #170f28; color: #a99fbf; padding: 34px 0; font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.site-footer img { height: 38px; width: auto; }
.site-footer a { color: #d8cfea; text-decoration: none; }
.site-footer em { color: #e9e3f4; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
.cta ol.steps li::before { background: var(--pink); }
.cta ol.steps li strong { color: #fff; }
.cta ol.steps li { color: #d8cfea; }
#form .split { grid-template-columns: 1fr 1.35fr; }
@media (max-width: 960px) { #form .split { grid-template-columns: 1fr; } }

.flier img { width: 100%; height: auto; aspect-ratio: 1100 / 1254; object-fit: contain; }

/* =========================================================
   Brochure match: closer to the A4 brochure pages
   ========================================================= */
:root { --font-head: "Fira Sans Condensed", "Myriad Pro Condensed", var(--font); --lav-card: #f2eef8; --lav-line: #d9cfe6; }
h2 { font-family: var(--font-head); font-weight: 700; letter-spacing: -.005em; line-height: 1.08; max-width: 14ch; }
h3 { font-family: var(--font-head); font-weight: 600; letter-spacing: .005em; }
.big h2, .cta h2 { max-width: 16ch; }
h2.underline::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 2px; background: var(--pink); margin-top: 18px; }
.kicker { letter-spacing: .32em; font-size: .74rem; }
.kicker.lav { color: var(--lavender); }

/* Page head: label left, logo right, thin rule — top of every brochure page */
.pagehead {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--lav-line); padding-bottom: 12px; margin-bottom: 44px;
}
.pagehead span { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.pagehead img { height: 30px; width: auto; }
.pagehead.dark { border-color: rgba(255,255,255,.18); }
.pagehead.dark span { color: #cfc6e2; }
.split > .pagehead, .split.media > .pagehead { margin-bottom: 8px; }

/* Faint LMF mark watermark on light pages */
.wm { position: relative; overflow: hidden; }
.wm::before {
  content: ""; position: absolute; right: -6%; top: 8%; width: 46%; aspect-ratio: 600 / 553;
  background: url("../img/mark-purple.png") center / contain no-repeat; opacity: .045; pointer-events: none;
}
.wm > .wrap { position: relative; }

/* Cards: soft lavender panels, no borders (brochure style) */
.card { background: var(--lav-card); border: 0; border-radius: 10px; }
.card.outline { background: #fff; border: 1.5px solid var(--lav-line); }
.card.lav { background: var(--lav-card); }
.card.lav h4 { color: var(--purple); }
.card.lav p { color: var(--muted); }
.tag.text { background: none; padding: 0; color: var(--pink); letter-spacing: .24em; font-size: .68rem; }
.card.purple .tag.text { color: var(--lavender); }

/* Core values: rule above, no box */
.values .card { background: none; border: 0; border-top: 2px solid var(--lav-line); border-radius: 0; padding: 16px 0 6px; }
.values .card h3 { color: var(--purple); }

/* Glance box closer to brochure */
.glance { border-radius: 10px; }

/* Meet Demzy: full-height photo column */
.demzy { background: #fff; }
.demzy-grid { display: grid; grid-template-columns: minmax(320px, 38%) 1fr; min-height: 100vh; }
.demzy-photo { margin: 0; position: relative; overflow: hidden; background: var(--purple-deep); }
.demzy-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.demzy-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 120px clamp(20px, 3vw, 40px) 36px; background: linear-gradient(transparent, rgba(36,24,62,.95)); color: #fff; }
.demzy-photo figcaption strong { display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 700; }
.demzy-photo figcaption span { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: #ddd3ec; }
.demzy-body { padding: clamp(56px, 7vw, 96px) clamp(20px, 5vw, 72px); max-width: 820px; }
.demzy-body .facts .card { padding: 18px 20px; }
.demzy-body .facts .card h3 { font-size: 1rem; margin-bottom: 4px; }
.demzy-body .facts .card p { font-size: .93rem; }
@media (max-width: 860px) {
  .demzy-grid { grid-template-columns: 1fr; min-height: 0; }
  .demzy-photo { aspect-ratio: 4 / 5; max-height: 80vh; }
}

/* Why students listen */
.reach-split { grid-template-columns: 1.25fr 1fr; align-items: center; }
.reach-head { font-family: var(--font-head); font-size: clamp(3rem, 7vw, 4.6rem); }
.reach-head em { font-style: normal; font-size: .5em; }
.reach-head small { font-size: .42em; margin-top: 4px; }
.reach-sub { color: #d5cce6; max-width: 520px; }
.reach-sub b { color: #fff; }
.bars { max-width: 520px; }
.reach-photo { margin: 0; border-radius: 12px; overflow: hidden; }
.reach-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.platforms { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 48px; }
.platform { border-radius: 10px; padding: 20px 12px; background: rgba(255,255,255,.07); }
.platform .ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; margin: 0 auto 12px; color: #fff; }
.platform .ico svg { width: 22px; height: 22px; fill: currentColor; }
.platform small { line-height: 1.4; }
.linefacts { margin-top: 36px; }
.linefacts > div { border-top: 2px solid rgba(255,255,255,.25); padding-top: 14px; }
.linefacts h3 { color: #fff; font-size: 1.05rem; margin-bottom: 4px; }
.linefacts p { color: #cfc6e2; font-size: .93rem; margin: 0; }
@media (max-width: 960px) { .reach-split { grid-template-columns: 1fr; } .platforms { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .platforms { grid-template-columns: repeat(2, 1fr); } }

/* Schools: crest rings and soft cards */
.crest { border: 3px solid #f3c6d9; box-shadow: none; }
.school-feature .crest { width: 112px; height: 112px; border-color: #f3c6d9; }
.school-feature { border-radius: 12px; padding: 30px; }
.school.more { background: #fff; border: 1.5px dashed var(--lav-line); }

/* Beyond: wide photo below */
.beyond-photo { margin: 22px 0 0; border-radius: 12px; }
.beyond-photo img { aspect-ratio: 16 / 7; max-height: none; object-position: center 35%; }
@media (max-width: 620px) { .beyond-photo img { aspect-ratio: 4 / 3; } }

/* Measurement & partners: rule-top style */
.measure .card { background: none; border: 0; border-top: 2px solid var(--lav-line); border-radius: 0; padding: 14px 0 4px; }

/* Closing page */
.cta { padding-bottom: clamp(64px, 9vw, 110px); background: var(--purple); }
.cta-bg {
  position: absolute; top: 0; right: 0; bottom: 0; width: 52%;
  background: url("../img/demzy-closing.jpg") center 15% / cover no-repeat;
}
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--purple) 0%, rgba(51,37,97,.55) 35%, rgba(51,37,97,.05) 75%); }
.cta-inner { position: relative; }
.cta-inner > .reveal { max-width: 620px; }
.cta .kicker { color: #cfc6e2; }
.contact-box { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); border-radius: 10px; }
.cta-sign { margin-top: 48px; }
.cta-sign img { height: 46px; width: auto; margin-bottom: 10px; }
.cta-sign em { color: #e3dcf0; font-size: .95rem; }
@media (max-width: 860px) {
  .cta-bg { position: relative; width: auto; height: 60vh; margin: calc(-1 * clamp(64px, 9vw, 110px)) 0 32px; }
  .cta-bg::after { background: linear-gradient(180deg, rgba(51,37,97,0) 40%, var(--purple) 100%); }
}
h2 { max-width: 19ch; }
.stat b, .glance dd.free, .pillar .num { font-family: var(--font-head); }
.beyond-photo img { aspect-ratio: 2 / 1; object-position: center 40%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 14px 0 0; font-weight: 600; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.ok { color: #1f7a4d; }
.form-status.err { color: var(--red); }
.btn:disabled { opacity: .7; cursor: wait; transform: none; }

/* Visit dates & calendar */
.district li time.visit { display: inline-block; min-width: 6.4em; margin-right: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--pink); white-space: nowrap; }
.calendar { margin-top: 64px; }
.calendar .grid { margin-top: 26px; }
.calendar .card h3 { margin-top: 8px; }
.calendar .days { margin: 6px 0 0; font-weight: 600; color: var(--purple); }
.calendar .card.pink .days { color: inherit; }

/* Tour film in Moments */
.tour-film { margin: 34px 0 0; }
.tour-film video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 14px; box-shadow: var(--shadow); }
.tour-film figcaption { margin-top: 10px; font-size: .95rem; color: var(--muted); }
.tour-film figcaption strong { font-family: var(--font-head); color: var(--purple); margin-right: 6px; }

/* Link to the media page from Moments */
.media-promo {
  display: flex; align-items: center; gap: 24px; margin-top: 34px; padding: 18px 24px 18px 18px;
  background: var(--purple); color: #fff; border-radius: var(--radius); text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.media-promo:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.media-promo-pics { display: flex; flex: none; }
.media-promo-pics img { width: 76px; height: 96px; object-fit: cover; border-radius: 8px; border: 3px solid var(--purple); }
.media-promo-pics img + img { margin-left: -26px; }
.media-promo-pics img:nth-child(2) { transform: rotate(4deg); }
.media-promo-txt { flex: 1; }
.media-promo-txt .kicker { margin-bottom: 4px; }
.media-promo-txt strong { display: block; font-family: var(--font-head); font-size: 1.3rem; line-height: 1.2; }
.media-promo-txt > span:last-child { color: #d5cce6; font-size: .95rem; }
@media (max-width: 700px) {
  .media-promo { flex-wrap: wrap; }
  .media-promo .btn { width: 100%; text-align: center; }
}

/* Visited stamp: white rubber-stamp mark on schools the tour has been to */
.school-feature { position: relative; overflow: hidden; }
.stamp-visited {
  margin-left: auto; flex: none; display: grid; justify-items: center; gap: 2px;
  padding: 12px 20px 10px; border: 3px solid rgba(255,255,255,.85); border-radius: 10px;
  outline: 1.5px solid rgba(255,255,255,.5); outline-offset: 3px;
  color: #fff; opacity: .92; transform: rotate(-9deg); text-transform: uppercase; line-height: 1;
}
.stamp-visited svg { width: 26px; height: 26px; fill: currentColor; }
.stamp-visited b { font-family: 'Fira Sans Extra Condensed', sans-serif; font-weight: 800; font-size: 1.9rem; letter-spacing: .14em; }
.stamp-visited small { font-size: .68rem; font-weight: 700; letter-spacing: .16em; }
@media (max-width: 620px) {
  .school-feature { padding-bottom: 92px; }
  .stamp-visited { position: absolute; bottom: 14px; right: 18px; padding: 7px 11px 6px; border-width: 2px; outline-offset: 2px; transform: rotate(-12deg); opacity: .8; }
  .stamp-visited svg { width: 16px; height: 16px; }
  .stamp-visited b { font-size: 1.05rem; }
  .stamp-visited small { font-size: .52rem; }
}
.visited { display: inline-block; font-size: .62rem; letter-spacing: .14em; font-weight: 700; background: #1f8a5b; color: #fff; border-radius: 99px; padding: 1px 8px; vertical-align: 2px; margin-left: 2px; }

/* Up next stamp: same rubber-stamp look as Visited, for the next school on the tour */
.stamp-next {
  position: absolute; top: 50%; right: 16px; transform: translateY(-50%) rotate(-9deg);
  padding: 6px 12px 5px; border: 2.5px solid currentColor; border-radius: 8px;
  outline: 1.5px solid currentColor; outline-offset: 2px;
  color: #fff; opacity: .9; text-transform: uppercase; line-height: 1; pointer-events: none;
}
.stamp-next b { font-family: 'Fira Sans Extra Condensed', sans-serif; font-weight: 800; font-size: 1.1rem; letter-spacing: .14em; white-space: nowrap; }
.card.school.is-next { position: relative; background: var(--purple); padding-right: 130px; }
.card.school.is-next h3 { color: #fff; }
.card.school.is-next .where, .card.school.is-next .type { color: #d8cfea; }
@media (max-width: 480px) {
  .card.school.is-next { padding-right: 20px; padding-top: 68px; }
  .card.school.is-next .stamp-next { top: 16px; right: 14px; transform: rotate(-9deg); }
}
