/* =========================================================
   Rainbow Productions — rainbowproduction.co.uk
   Soft pastel rainbow theme. No animations.
   Fonts (Google Fonts): Quicksand (display) + Nunito (text)
   ========================================================= */
:root {
  /* base */
  --bg: #fffbf7;
  --surface: #ffffff;
  --ink: #2f2a3d;
  --muted: #6e6880;
  --line: #eee6f3;

  /* soft rainbow (backgrounds) */
  --red-soft: #ffe3e1;
  --orange-soft: #ffead6;
  --yellow-soft: #fff4cc;
  --green-soft: #ddf5e8;
  --blue-soft: #dcecff;
  --violet-soft: #ece4ff;

  /* rainbow (text / accents – readable on light backgrounds) */
  --red: #e0605a;
  --orange: #e2832f;
  --yellow: #d9a514;
  --green: #3ba67a;
  --blue: #4a86d9;
  --violet: #8a63d2;

  --rainbow: linear-gradient(90deg, #ffb3ad, #ffcf9f, #ffe58a, #a9e5c4, #a8cdfa, #cdb8fb);
  --rainbow-soft: linear-gradient(120deg, #ffe3e1 0%, #fff4cc 30%, #ddf5e8 55%, #dcecff 78%, #ece4ff 100%);

  --radius: 28px;
  --radius-sm: 18px;
  --shadow: 0 20px 50px -28px rgba(80, 60, 120, .35);
  --shadow-sm: 0 10px 30px -22px rgba(80, 60, 120, .4);
  --container: 1240px;
  --gutter: 28px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: "Quicksand", sans-serif; font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.35rem; line-height: 1.25; }
p + p { margin-top: 1em; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding: 100px 0; }
.section--surface { background: var(--surface); }
.section--ink { background: var(--violet-soft); }        /* soft lavender block */
.section--accent { background: var(--rainbow-soft); }     /* soft rainbow block */
.muted { color: var(--muted); }

/* Section label: pill with colour dot */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 8px; margin-bottom: 22px;
  background: var(--surface); border-radius: 100px; box-shadow: var(--shadow-sm);
  font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
}
.label b {
  display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 100px;
  background: var(--rainbow); color: var(--ink); font-family: "Quicksand", sans-serif; font-size: .8rem; letter-spacing: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 100px; border: 2px solid transparent;
  background: var(--ink); color: #fff;
  font: 800 .98rem/1 "Nunito", sans-serif; text-decoration: none; cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.btn:hover { background: var(--violet); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--violet-soft); border-color: var(--violet-soft); }
.btn--light { background: var(--surface); color: var(--ink); }
.btn--light:hover { background: var(--yellow-soft); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.link-arrow { font-weight: 800; color: var(--violet); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Header ---------- */

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 46px; height: 46px; flex: none; }
.brand__name { font-family: "Quicksand", sans-serif; font-weight: 700; font-size: 1.2rem; line-height: 1; }
.brand__name small { display: block; font-family: "Nunito", sans-serif; font-weight: 700; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

/* ---------- Home hero ---------- */
.hero { padding: 40px 0 0; }
.hero > .container {
  background: var(--rainbow-soft); border-radius: 40px; padding: 70px 60px 40px; position: relative; overflow: hidden;
}
.hero > .container::after { /* soft rainbow arc decoration */
  content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%;
  border: 26px solid rgba(255,255,255,.45); pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; position: relative; z-index: 1; }
.hero h1 .accent {
  background: linear-gradient(90deg, var(--red), var(--orange), var(--green), var(--blue), var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__intro { font-size: 1.2rem; max-width: 520px; margin-top: 24px; }
.hero__media img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 50% 50% var(--radius) var(--radius); box-shadow: var(--shadow); border: 8px solid #fff; }
.hero__caption { font-size: .85rem; color: var(--muted); margin-top: 12px; text-align: center; }
.hero__bar { margin-top: 50px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; z-index: 1; }
.hero__bar div { background: rgba(255,255,255,.8); border-radius: var(--radius-sm); padding: 22px 24px; }
.hero__bar strong { display: block; font-family: "Quicksand", sans-serif; font-size: 2.2rem; line-height: 1.1; }
.hero__bar div:nth-child(1) strong { color: var(--red); }
.hero__bar div:nth-child(2) strong { color: var(--orange); }
.hero__bar div:nth-child(3) strong { color: var(--green); }
.hero__bar div:nth-child(4) strong { color: var(--blue); }
.hero__bar span { font-size: .92rem; color: var(--muted); font-weight: 600; }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding: 40px 0 0; }
.page-head > .container { background: var(--rainbow-soft); border-radius: 40px; padding: 60px; }
.crumbs { font-size: .88rem; font-weight: 700; color: var(--muted); margin-bottom: 24px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--violet); }
.page-head__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 50px; align-items: end; }
.page-head p { font-size: 1.12rem; }
.page-banner { width: min(var(--container), 100% - 2 * var(--gutter)); margin: 24px auto 0; }
.page-banner img { width: 100%; aspect-ratio: 21/8; object-fit: cover; border-radius: 40px; }

/* ---------- Award ---------- */
.award { display: grid; grid-template-columns: 190px 1fr auto; gap: 44px; align-items: center; background: var(--yellow-soft); border-radius: 40px; padding: 50px; }
.award__seal { width: 190px; height: 190px; }

/* ---------- Two-column text ---------- */
.cols { display: grid; grid-template-columns: 5fr 7fr; gap: 70px; align-items: center; }
.cols--even { grid-template-columns: 1fr 1fr; }
.cols__media img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.cols__media figcaption { font-size: .86rem; color: var(--muted); margin-top: 12px; text-align: center; }
.lead { font-size: 1.25rem; line-height: 1.55; }

/* Numbered list with rainbow bubbles */
.numbered { counter-reset: n; margin-top: 26px; display: grid; gap: 12px; }
.numbered li {
  counter-increment: n; display: flex; align-items: center; gap: 16px;
  background: var(--surface); border-radius: var(--radius-sm); padding: 14px 18px; font-weight: 700; box-shadow: var(--shadow-sm);
}
.numbered li::before {
  content: counter(n); flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-family: "Quicksand", sans-serif; font-weight: 700; background: var(--red-soft); color: var(--red);
}
.numbered li:nth-child(6n+2)::before { background: var(--orange-soft); color: var(--orange); }
.numbered li:nth-child(6n+3)::before { background: var(--yellow-soft); color: var(--yellow); }
.numbered li:nth-child(6n+4)::before { background: var(--green-soft); color: var(--green); }
.numbered li:nth-child(6n+5)::before { background: var(--blue-soft); color: var(--blue); }
.numbered li:nth-child(6n+6)::before { background: var(--violet-soft); color: var(--violet); }

/* ---------- Service tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 50px; }
.tile {
  display: flex; flex-direction: column; text-decoration: none;
  background: var(--blue-soft); border-radius: 36px; padding: 40px 40px 0; overflow: hidden;
}
.tile:nth-child(2) { background: var(--green-soft); }
.tile h3 { font-size: 1.8rem; margin-bottom: 12px; }
.tile p { color: var(--muted); margin-bottom: 30px; max-width: 460px; }
.tile img { width: calc(100% + 0px); aspect-ratio: 16/9; object-fit: cover; margin-top: auto; border-radius: 24px 24px 0 0; }
.tile:hover h3 { color: var(--violet); }
.tile__tag { align-self: flex-start; background: rgba(255,255,255,.75); border-radius: 100px; padding: 6px 14px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.step { background: var(--surface); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.step__n {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px;
  font-family: "Quicksand", sans-serif; font-size: 1.8rem; font-weight: 700; background: var(--red-soft); color: var(--red);
}
.step:nth-child(2) .step__n { background: var(--yellow-soft); color: var(--yellow); }
.step:nth-child(3) .step__n { background: var(--blue-soft); color: var(--blue); }
.step p { color: var(--muted); margin-top: 8px; }

/* ---------- Testimonials (Flickity, manual) ---------- */
.quotes-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.quote-nav { display: flex; gap: 10px; }
.quote-nav button {
  width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--surface); color: var(--ink);
  font-size: 1.25rem; cursor: pointer; box-shadow: var(--shadow-sm);
}
.quote-nav button:hover { background: var(--yellow-soft); }
.quotes { margin-top: 44px; }
.quote { width: 33.333%; padding: 0 12px; }
.quote__inner { background: var(--surface); border-radius: var(--radius); padding: 34px; height: 100%; min-height: 270px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.quote__inner::before { content: "“"; font-family: "Quicksand", sans-serif; font-size: 4rem; line-height: .7; color: var(--violet); opacity: .45; margin-bottom: 8px; }
.quote:nth-child(3n+2) .quote__inner::before { color: var(--green); }
.quote:nth-child(3n+3) .quote__inner::before { color: var(--orange); }
.quote blockquote { font-size: 1.1rem; line-height: 1.55; flex: 1; }
.quote cite { display: block; font-style: normal; margin-top: 22px; font-weight: 800; }
.quote cite span { display: block; font-weight: 600; color: var(--muted); font-size: .9rem; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chips li { padding: 8px 18px; border-radius: 100px; font-size: .95rem; font-weight: 700; background: var(--red-soft); }
.chips li:nth-child(6n+2) { background: var(--orange-soft); }
.chips li:nth-child(6n+3) { background: var(--yellow-soft); }
.chips li:nth-child(6n+4) { background: var(--green-soft); }
.chips li:nth-child(6n+5) { background: var(--blue-soft); }
.chips li:nth-child(6n+6) { background: var(--violet-soft); }

/* ---------- News ---------- */
.news { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news__item {
  display: flex; flex-direction: column; text-decoration: none; background: var(--surface);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
}
.news__item img { order: -1; width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.news__item time { display: inline-block; margin: 22px 26px 0; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--violet); }
.news__item div { padding: 8px 26px 28px; }
.news__item h3 { font-size: 1.3rem; }
.news__item p { color: var(--muted); margin-top: 8px; }
.news__item:hover h3 { color: var(--violet); }

/* ---------- Clients ---------- */
.clients { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 44px; }
.clients li {
  min-height: 110px; display: grid; place-items: center; text-align: center; padding: 16px;
  background: var(--bg); border-radius: var(--radius-sm); border: 2px solid var(--line);
  font-family: "Quicksand", sans-serif; font-weight: 700; color: var(--muted);
}

/* ---------- CTA ---------- */
.section--ink:has(.cta) { background: transparent; }
.cta {
  display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: center;
  background: var(--rainbow-soft); border-radius: 40px; padding: 64px 60px;
}
.cta h2 { font-size: clamp(1.9rem, 3.8vw, 3.2rem); }
.cta > div { text-align: right; }

/* ---------- Grids / panels ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.grid-3 > div { background: var(--surface); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); border-top: 8px solid #ffb3ad; }
.grid-3 > div:nth-child(6n+2) { border-top-color: #ffcf9f; }
.grid-3 > div:nth-child(6n+3) { border-top-color: #ffe58a; }
.grid-3 > div:nth-child(6n+4) { border-top-color: #a9e5c4; }
.grid-3 > div:nth-child(6n+5) { border-top-color: #a8cdfa; }
.grid-3 > div:nth-child(6n+6) { border-top-color: #cdb8fb; }
.grid-3 h3 { margin-bottom: 8px; }
.grid-3 p { color: var(--muted); }

.note { margin-top: 26px; padding: 16px 22px; border-radius: var(--radius-sm); background: var(--orange-soft); color: #8a4a12; font-weight: 800; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.facts > div { background: var(--yellow-soft); border-radius: var(--radius); padding: 40px; }
.facts > div + div { background: var(--green-soft); }
.facts .big { font-family: "Quicksand", sans-serif; font-size: 3rem; font-weight: 700; line-height: 1.05; margin: 6px 0 14px; }

.process { margin-top: 44px; display: grid; gap: 14px; }
.process li {
  display: grid; grid-template-columns: 70px 1fr 1.5fr; gap: 26px; align-items: center;
  background: var(--bg); border-radius: var(--radius); padding: 22px 28px;
}
.process .n {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-family: "Quicksand", sans-serif; font-size: 1.2rem; font-weight: 700; background: var(--red-soft); color: var(--red);
}
.process li:nth-child(2) .n { background: var(--orange-soft); color: var(--orange); }
.process li:nth-child(3) .n { background: var(--yellow-soft); color: var(--yellow); }
.process li:nth-child(4) .n { background: var(--green-soft); color: var(--green); }
.process li:nth-child(5) .n { background: var(--blue-soft); color: var(--blue); }
.process p { color: var(--muted); }

.photo-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 18px; margin-top: 40px; }
.photo-row img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.photo-row img:first-child { aspect-ratio: auto; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.4fr .6fr; gap: 30px; align-items: start; }
.form { background: var(--surface); border-radius: 36px; padding: 44px; box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .9rem; font-weight: 800; margin-bottom: 8px; }
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 18px; border-radius: 16px; border: 2px solid var(--line); background: var(--bg);
  font: inherit; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #cdb8fb; background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.field.has-error input, .field.has-error textarea { border-color: var(--red); background: #fff6f5; }
.field--check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; font-weight: 600 !important; }
.field--check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--violet); }
.field--check a { color: var(--violet); }
.is-hidden { display: none !important; }
.form__msg { margin-top: 20px; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--green-soft); color: #22694b; font-weight: 800; }

.office { background: var(--violet-soft); border-radius: 36px; padding: 40px; }
.office dt { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--violet); margin-top: 24px; }
.office dt:first-child { margin-top: 0; }
.office dd { font-size: 1.05rem; margin-top: 6px; font-weight: 600; }
.office a { text-decoration: none; }
.office a:hover { color: var(--violet); }

.map { width: min(var(--container), 100% - 2 * var(--gutter)); margin: 0 auto 100px; height: 440px; border-radius: 40px; overflow: hidden; box-shadow: var(--shadow); border: 8px solid #fff; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.stripe { height: 10px; background: var(--rainbow); }
.footer { background: #f6f0ff; color: var(--ink); padding: 80px 0 0; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; }
.footer h4 { font-size: 1.05rem; margin-bottom: 16px; color: var(--violet); }
.footer li { margin-bottom: 9px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--violet); }
.footer__tagline { margin-top: 20px; max-width: 340px; color: var(--muted); }
.footer__wordmark {
  font-family: "Quicksand", sans-serif; font-weight: 700; letter-spacing: -0.03em;
  font-size: clamp(2.8rem, 11.5vw, 10.5rem); line-height: 1; margin-top: 60px; white-space: nowrap; overflow: hidden;
  background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .55;
}
.footer__bottom { border-top: 2px solid #e6dcf7; padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: .86rem; color: var(--muted); }
.footer__bottom nav { display: flex; gap: 22px; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; }
.member { background: var(--surface); border-radius: var(--radius); padding: 30px 24px; text-align: center; box-shadow: var(--shadow-sm); }
.member__avatar {
  width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center;
  font-family: "Quicksand", sans-serif; font-size: 2rem; font-weight: 700; background: var(--red-soft); color: var(--red);
}
.member:nth-child(6n+2) .member__avatar { background: var(--orange-soft); color: var(--orange); }
.member:nth-child(6n+3) .member__avatar { background: var(--yellow-soft); color: var(--yellow); }
.member:nth-child(6n+4) .member__avatar { background: var(--green-soft); color: var(--green); }
.member:nth-child(6n+5) .member__avatar { background: var(--blue-soft); color: var(--blue); }
.member:nth-child(6n+6) .member__avatar { background: var(--violet-soft); color: var(--violet); }
.member h3 { font-size: 1.15rem; }
.member p { color: var(--muted); font-size: .95rem; margin-top: 4px; }

/* ---------- FAQ (native details, no animation) ---------- */
.faq { display: grid; gap: 12px; margin-top: 30px; }
.faq details { background: var(--surface); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; position: relative;
  font-family: "Quicksand", sans-serif; font-weight: 700; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--violet-soft); color: var(--violet); font-size: 1.2rem;
}
.faq details[open] summary::after { content: "–"; background: var(--yellow-soft); color: var(--ink); }
.faq details > div { padding: 0 24px 22px; color: var(--muted); }
.faq-group + .faq-group { margin-top: 60px; }

/* ---------- Character list ---------- */
.char-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-top: 36px; }
.char-search { flex: 1 1 260px; max-width: 360px; padding: 14px 20px; border-radius: 100px; border: 2px solid var(--line); background: var(--surface); font: inherit; }
.char-search:focus { outline: none; border-color: #cdb8fb; }
.letters { display: flex; flex-wrap: wrap; gap: 6px; }
.letters button {
  min-width: 36px; height: 36px; padding: 0 10px; border-radius: 100px; border: 0; background: var(--surface);
  font: 800 .85rem/1 "Nunito", sans-serif; color: var(--ink); cursor: pointer; box-shadow: var(--shadow-sm);
}
.letters button:hover { background: var(--yellow-soft); }
.letters button.is-active { background: var(--violet); color: #fff; }
.letters button:disabled { opacity: .35; cursor: default; box-shadow: none; }
.char-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.char-grid li {
  background: var(--surface); border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: var(--shadow-sm);
  font-family: "Quicksand", sans-serif; font-weight: 700; display: flex; align-items: center; gap: 12px;
}
.char-grid li::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; background: #ffb3ad; }
.char-grid li:nth-child(6n+2)::before { background: #ffcf9f; }
.char-grid li:nth-child(6n+3)::before { background: #ffe58a; }
.char-grid li:nth-child(6n+4)::before { background: #a9e5c4; }
.char-grid li:nth-child(6n+5)::before { background: #a8cdfa; }
.char-grid li:nth-child(6n+6)::before { background: #cdb8fb; }
.char-empty { margin-top: 24px; color: var(--muted); font-weight: 700; }

/* ---------- Filters (blog) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.filters button {
  padding: 10px 20px; border-radius: 100px; border: 0; background: var(--surface); box-shadow: var(--shadow-sm);
  font: 800 .92rem/1 "Nunito", sans-serif; color: var(--ink); cursor: pointer;
}
.filters button:hover { background: var(--yellow-soft); }
.filters button.is-active { background: var(--violet); color: #fff; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 820px; background: var(--surface); border-radius: 36px; padding: 56px; box-shadow: var(--shadow-sm); }
.prose h2, .prose h3 { margin: 34px 0 10px; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul { list-style: disc; padding-left: 22px; margin-top: 10px; }
.prose a { color: var(--violet); }
.prose .updated { margin-top: 34px; color: var(--muted); font-size: .92rem; }

/* ---------- Bullet list (soft) ---------- */
.soft-list { display: grid; gap: 10px; margin-top: 20px; }
.soft-list li { position: relative; padding-left: 30px; }
.soft-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 14px; border-radius: 50%; background: var(--rainbow); }

.stack > * + * { margin-top: 1em; }
.mt-l { margin-top: 60px; }

/* =========================================================
   Brand layer – closer to the original Rainbow Productions look:
   Lato, uppercase spaced headings, thin 7-colour rainbow rule,
   teal pill buttons with plum hover, pastel rainbow bands.
   ========================================================= */
:root {
  --rb-red: #ff0909; --rb-orange: #f99031; --rb-yellow: #ffd32a; --rb-green: #119061;
  --rb-blue: #1679bf; --rb-teal: #14a3a3; --rb-lilac: #8f93c9; --rb-plum: #601b51;
  --rainbow-line: linear-gradient(90deg, #ff0909, #f99031, #ffd32a, #119061, #1679bf, #8f93c9, #601b51);
  --rainbow-band: linear-gradient(90deg, #fff2f2, #fef9f4, #fffdf4, #e8f4f0, #f3f8fc, #f9f9fc, #f7f3f6);
  --ink: #1e1e1e;
  --muted: #5f5f66;
  --radius: 20px;
  --radius-sm: 10px;
}
body { font-family: "Lato", system-ui, sans-serif; }
h1, h2, h3, h4, .brand__name, .footer__wordmark { font-family: "Lato", sans-serif; }
h1 { font-weight: 900; text-transform: uppercase; letter-spacing: .04em; line-height: 1.08; }
h2 { font-weight: 900; text-transform: uppercase; letter-spacing: .1em; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.25; }
h3 { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 1.1rem; }
.tile h3, .cta h2 { letter-spacing: .08em; }
.quote blockquote, .faq summary, .char-grid li, .member h3 { text-transform: none; letter-spacing: 0; }

/* thin rainbow rule under every section heading (like the original) */
.section h2::after, .page-head h1::after {
  content: ""; display: block; width: 100%; max-width: 420px; height: .3rem; border-radius: 20px;
  background: var(--rainbow-line); margin-top: 18px;
}
.center h2::after, .cta h2::after { margin-inline: auto; }
.cta h2::after { margin-inline: 0; }

/* labels become simple coloured kicker text */
.label { background: none; box-shadow: none; padding: 0; color: var(--rb-plum); letter-spacing: .2em; margin-bottom: 14px; }
.label b { background: var(--rb-teal); color: #fff; min-width: 26px; height: 26px; font-family: "Lato", sans-serif; font-weight: 900; }

/* pill buttons */
.btn {
  border-radius: 50px; padding: 16px 32px; background: var(--rb-teal); border: 1px solid var(--rb-teal); color: #fff;
  text-transform: uppercase; font-family: "Lato", sans-serif; font-weight: 800; letter-spacing: .3em; font-size: .82rem; box-shadow: none;
}
.btn:hover { background: var(--rb-plum); border-color: var(--rb-plum); color: #fff; }
.btn--ghost { background: #fff; color: var(--rb-teal); border-color: var(--rb-teal); }
.btn--ghost:hover { background: var(--rb-plum); border-color: var(--rb-plum); color: #fff; }
.btn--light { background: #fff; color: var(--rb-plum); border-color: #fff; }
.btn--light:hover { background: var(--rb-plum); color: #fff; border-color: var(--rb-plum); }
.link-arrow { color: var(--rb-teal); }

/* header: white bar with rainbow rule */

/* full-width photo hero (like the original 65vh banner) */
.hero { padding: 0; position: relative; }
.hero > .container { background: none; border-radius: 0; padding: 0; overflow: visible; }
.hero > .container::after { display: none; }
.hero__banner {
  position: relative; min-height: 68vh; display: grid; place-items: center; text-align: center; color: #fff;
  background: #333 center / cover no-repeat; padding: 90px 20px 120px;
}
.hero__banner::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.38); }
.hero__banner > div { position: relative; max-width: 900px; }
.hero__banner h1 { color: #fff; }
.hero__banner h1::after { margin-inline: auto; max-width: 260px; }
.hero__banner p { font-size: 1.3rem; margin-top: 18px; }
.hero__banner .btns { justify-content: center; }
.hero__banner .btn--ghost { background: transparent; color: #fff; border-color: #fff; }
.hero__banner .btn--ghost:hover { background: var(--rb-plum); border-color: var(--rb-plum); }
.hero__bar { margin: -60px auto 0; width: min(var(--container), 100% - 2 * var(--gutter)); background: #fff; border-radius: 20px; padding: 10px; box-shadow: var(--shadow); gap: 0; }
.hero__bar div { background: none; border-radius: 0; text-align: center; }
.hero__bar div + div { border-left: 1px solid #eee; }
.hero__bar strong { font-family: "Lato", sans-serif; font-weight: 900; }
.hero__bar div:nth-child(1) strong { color: var(--rb-red); }
.hero__bar div:nth-child(2) strong { color: var(--rb-orange); }
.hero__bar div:nth-child(3) strong { color: var(--rb-green); }
.hero__bar div:nth-child(4) strong { color: var(--rb-blue); }

/* inner page title band */
.page-head > .container { background: var(--rainbow-band); border-radius: 20px; }
.crumbs a:hover { color: var(--rb-teal); }

/* pastel bands */
.section--accent { background: var(--rainbow-band); }
.section--ink { background: #f7f3f6; }
.section--surface { background: #fff; }
.award { background: var(--rainbow-band); border-radius: 20px; }
.cta { background: var(--rainbow-band); border-radius: 20px; }

/* images: soft 10–20px corners, oval accents */
.cols__media img, .page-banner img, .photo-row img, .tile img, .news__item img { border-radius: 20px; }
.page-banner img { border-radius: 20px; }
.hero__media img { border-radius: 20px; }
.cols--even .cols__media img { border-radius: 50% / 42%; } /* oval portraits */
.cols:not(.cols--even) .cols__media img { border-radius: 20px; }
.member__avatar { border: 4px solid #fff; box-shadow: 0 0 0 .3rem transparent; background-clip: padding-box; outline: .3rem solid; outline-color: #e8f4f0; }

/* cards */
.tile { border-radius: 20px; background: #e8f4f0; }
.tile:nth-child(2) { background: #f3f8fc; }
.tile:hover h3 { color: var(--rb-plum); }
.tile__tag { border-radius: 50px; color: var(--rb-plum); }
.news__item, .step, .grid-3 > div, .quote__inner, .member, .faq details, .char-grid li, .prose, .form, .numbered li { border-radius: 20px; }
.news__item time { color: var(--rb-teal); }
.news__item:hover h3 { color: var(--rb-plum); }
.news__item h3 { text-transform: none; letter-spacing: 0; font-size: 1.15rem; }
.grid-3 > div { border-top: .3rem solid transparent; border-image: none; background-image: linear-gradient(#fff, #fff), var(--rainbow-line); background-origin: border-box; background-clip: padding-box, border-box; }
.step__n { background: var(--rb-teal) !important; color: #fff !important; }
.step:nth-child(2) .step__n { background: var(--rb-orange) !important; }
.step:nth-child(3) .step__n { background: var(--rb-plum) !important; }
.process .n { background: var(--rb-teal); color: #fff; }
.process li:nth-child(2) .n { background: var(--rb-orange); color: #fff; }
.process li:nth-child(3) .n { background: var(--rb-green); color: #fff; }
.process li:nth-child(4) .n { background: var(--rb-blue); color: #fff; }
.process li:nth-child(5) .n { background: var(--rb-plum); color: #fff; }
.numbered li::before { background: var(--rb-teal) !important; color: #fff !important; }
.soft-list li::before { background: var(--rb-teal); }
.facts .big { font-family: "Lato", sans-serif; font-weight: 900; color: var(--rb-teal); }

/* testimonials: teal quote marks + round arrows */
.quote__inner::before { color: var(--rb-teal) !important; opacity: 1; font-family: Georgia, serif; font-size: 4.5rem; }
.quote cite { color: var(--rb-plum); text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; }
.quote-nav button { border-radius: 50%; background: var(--rb-teal); color: #fff; }
.quote-nav button:hover { background: var(--rb-plum); color: #fff; }

/* filters / letters / chips */
.filters button.is-active, .letters button.is-active { background: var(--rb-teal); }
.chips li { border-radius: 50px; }
.note { border-radius: 10px; background: #fff2f2; color: #8a1c1c; border-left: .3rem solid var(--rb-red); }
.office { background: #e8f4f0; border-radius: 20px; }
.office dt { color: var(--rb-teal); }
.field input, .field select, .field textarea { border-radius: 10px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--rb-teal); }
.map { border-radius: 20px; }

/* footer like original: white, rainbow rule, plum headings */
.stripe { height: .3rem; background: var(--rainbow-line); }
.footer { background: #fff; }
.footer h4 { color: var(--rb-plum); text-transform: uppercase; letter-spacing: .12em; font-size: .9rem; }
.footer a:hover { color: var(--rb-teal); }
.footer__wordmark { background: var(--rainbow-line); -webkit-background-clip: text; background-clip: text; opacity: .18; font-weight: 900; text-transform: uppercase; }
.footer__bottom { border-top-color: #eee; }

/* Real photos */
.member__photo { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; margin: 0 auto 18px; border: 5px solid #fff; outline: .3rem solid #e8f4f0; }
.member:nth-child(3n+2) .member__photo { outline-color: #fef9f4; }
.member:nth-child(3n+3) .member__photo { outline-color: #f7f3f6; }
img[src$=".png"] { object-fit: contain !important; background: #fff; border-radius: 20px !important; }
.hero__banner { background-position: center 35%; }

/* Client logos */
.clients li { background: #fff; border: 1px solid #eee; border-radius: 20px; min-height: 130px; padding: 22px; }
.clients img { max-width: 100%; max-height: 80px; width: auto; height: auto; object-fit: contain; background: none !important; border-radius: 0 !important; filter: grayscale(1); opacity: .75; }
.clients li:hover img { filter: none; opacity: 1; }
.award__seal { object-fit: contain; background: none !important; border-radius: 0 !important; }

/* Client logos – single row, infinite loop (the only animation on the site) */
.logo-marquee {
  margin-top: 44px; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-track { display: flex; gap: 20px; width: max-content; animation: logo-loop 45s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-track li {
  flex: none; width: 200px; height: 120px; display: grid; place-items: center; padding: 20px;
  background: #fff; border: 1px solid #eee; border-radius: 20px;
}
.logo-track img { max-width: 100%; max-height: 76px; width: auto; height: auto; object-fit: contain; background: none !important; border-radius: 0 !important; filter: grayscale(1); opacity: .75; }
.logo-track li:hover img { filter: none; opacity: 1; }
/* track holds the list twice; moving by half (+ half a gap) makes the loop seamless */
@keyframes logo-loop { to { transform: translateX(calc(-50% - 10px)); } }
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .logo-track li[aria-hidden="true"] { display: none; }
}
@media (max-width: 600px) {
  .logo-track li { width: 150px; height: 96px; }
  .logo-track { animation-duration: 35s; }
}

/* =========================================================
   KIDS THEME – soft, rounded, playful (overrides the layers above)
   Fredoka (headings) + Nunito (text). No animations.
   ========================================================= */
:root {
  --ink: #3b3355;
  --muted: #6f6886;
  --radius: 32px;
  --radius-sm: 22px;
  --kid-pink: #ff8fab; --kid-orange: #ffb35c; --kid-yellow: #ffd84d; --kid-green: #5cc995;
  --kid-blue: #5aa9f0; --kid-purple: #a17ef0; --kid-teal: #2bb8b0; --kid-teal-dark: #1c8f88;
  --kid-bg: #fffaf2;
  --rainbow-line: linear-gradient(90deg, #ff8fab, #ffb35c, #ffd84d, #5cc995, #5aa9f0, #a17ef0);
  --rainbow-band: linear-gradient(120deg, #ffeef2 0%, #fff3e3 22%, #fff9d9 42%, #e6f8ee 62%, #e4f1fd 80%, #f0e9fd 100%);
  --soft-shadow: 0 14px 34px -18px rgba(90, 70, 140, .38);
}
body { font-family: "Nunito", system-ui, sans-serif; background: var(--kid-bg); color: var(--ink); }
h1, h2, h3, h4, .brand__name, .footer__wordmark, .hero__bar strong, .facts .big, .step__n, .process .n {
  font-family: "Fredoka", sans-serif;
}
h1 { text-transform: none; letter-spacing: -0.01em; font-weight: 700; font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.08; }
h2 { text-transform: none; letter-spacing: -0.005em; font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.15; }
h3 { text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 1.3rem; }
.tile h3, .cta h2 { letter-spacing: 0; }

/* wavy rainbow underline instead of the hard line */
.section h2::after, .page-head h1::after {
  height: 12px; max-width: 180px; border-radius: 0; margin-top: 16px;
  background: var(--rainbow-line);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12'%3E%3Cpath d='M0 6 Q10 0 20 6 T40 6' fill='none' stroke='black' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x 0 0 / 40px 12px;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12'%3E%3Cpath d='M0 6 Q10 0 20 6 T40 6' fill='none' stroke='black' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x 0 0 / 40px 12px;
}
.hero__banner h1::after { max-width: 200px; }

/* kicker labels: soft bubble */
.label {
  display: inline-flex; background: #fff; box-shadow: var(--soft-shadow); padding: 6px 16px 6px 6px; border-radius: 100px;
  color: var(--kid-purple); letter-spacing: .06em; font-family: "Fredoka", sans-serif; font-weight: 600; text-transform: none; font-size: .95rem;
}
.label b { background: var(--kid-yellow); color: var(--ink); border-radius: 50%; min-width: 30px; height: 30px; font-family: "Fredoka", sans-serif; font-weight: 700; }

/* chunky, squishy-looking buttons (static "3D" shadow) */
.btn {
  border-radius: 100px; padding: 15px 30px 17px; border: 0; background: var(--kid-teal); color: #fff;
  font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1.05rem; text-transform: none; letter-spacing: .01em;
  box-shadow: 0 5px 0 var(--kid-teal-dark), 0 12px 22px -10px rgba(28, 143, 136, .6);
}
.btn:hover { background: #35c7bf; color: #fff; }
.btn--ghost { background: #fff; color: var(--kid-teal-dark); box-shadow: 0 5px 0 #d9ece9, 0 12px 22px -12px rgba(28,143,136,.4); }
.btn--ghost:hover { background: #f1fbfa; color: var(--kid-teal-dark); }
.btn--light { background: var(--kid-yellow); color: var(--ink); box-shadow: 0 5px 0 #e0b800, 0 12px 22px -10px rgba(224,184,0,.6); }
.btn--light:hover { background: #ffe170; color: var(--ink); }
.hero__banner .btn--ghost { background: #fff; color: var(--kid-teal-dark); border: 0; }
.hero__banner .btn--ghost:hover { background: #f1fbfa; }
.link-arrow { color: var(--kid-teal-dark); border-bottom: 3px dotted currentColor; }

/* header: floating rounded bar */

.brand__mark { width: 50px; height: 50px; }
.brand__name { font-weight: 700; font-size: 1.3rem; }

/* hero: rounded photo card with wavy bottom */
.hero { padding: 6px 0 0; }
.hero__banner {
  width: min(1320px, 100% - 2 * var(--gutter)); margin: 0 auto; border-radius: 48px; overflow: hidden; min-height: 64vh;
}
.hero__banner::before { background: linear-gradient(180deg, rgba(59,51,85,.15), rgba(59,51,85,.55)); }
.hero__banner h1 { text-shadow: 0 3px 18px rgba(0,0,0,.25); }
.hero__bar { border-radius: 36px; margin-top: -54px; padding: 14px; box-shadow: var(--soft-shadow); }
.hero__bar div + div { border-left: 2px dashed #f0e9fd; }
.hero__bar strong { font-weight: 700; }
.hero__bar div:nth-child(1) strong { color: var(--kid-pink); }
.hero__bar div:nth-child(2) strong { color: var(--kid-orange); }
.hero__bar div:nth-child(3) strong { color: var(--kid-green); }
.hero__bar div:nth-child(4) strong { color: var(--kid-blue); }

/* page heads: big rounded rainbow bubble with little decorations */
.page-head > .container { border-radius: 48px; background: var(--rainbow-band); position: relative; overflow: hidden; }
.page-head > .container::before, .page-head > .container::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.page-head > .container::before { width: 180px; height: 180px; right: -40px; top: -50px; background: rgba(255, 216, 77, .35); }
.page-head > .container::after { width: 90px; height: 90px; right: 140px; bottom: -30px; background: rgba(161, 126, 240, .18); }
.page-banner img { border-radius: 48px; }

/* wavy dividers on coloured bands */
.section--ink, .section--accent { position: relative; margin: 50px 0; }
.section--ink::before, .section--ink::after, .section--accent::before, .section--accent::after {
  content: ""; position: absolute; left: 0; right: 0; height: 50px; background: inherit; pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 50' preserveAspectRatio='none'%3E%3Cpath d='M0 50 V25 Q15 0 30 25 T60 25 T90 25 T120 25 V50 Z'/%3E%3C/svg%3E") repeat-x 0 0 / 240px 50px;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 50' preserveAspectRatio='none'%3E%3Cpath d='M0 50 V25 Q15 0 30 25 T60 25 T90 25 T120 25 V50 Z'/%3E%3C/svg%3E") repeat-x 0 0 / 240px 50px;
}
.section--ink::before, .section--accent::before { top: -49px; }
.section--ink::after, .section--accent::after { bottom: -49px; transform: scaleY(-1); }
.section--ink { background: #f0e9fd; }
.section--accent { background: #e6f8ee; }
.section--accent:has(.quotes) { background: #fff3e3; }

/* award + cta bubbles */
.award, .cta { border-radius: 48px; background: var(--rainbow-band); position: relative; overflow: hidden; }
.cta::before { content: "★"; position: absolute; right: 36px; top: 18px; font-size: 3rem; color: rgba(255, 216, 77, .9); }
.cta::after { content: "☁"; position: absolute; left: 30px; bottom: 6px; font-size: 4rem; color: rgba(255,255,255,.9); }
.cta > * { position: relative; z-index: 1; }

/* playful blob-shaped photos */
.cols__media img, .cols--even .cols__media img, .cols:not(.cols--even) .cols__media img { border-radius: 58% 42% 46% 54% / 48% 56% 44% 52%; border: 8px solid #fff; box-shadow: var(--soft-shadow); }
.section:nth-of-type(even) .cols__media img { border-radius: 44% 56% 60% 40% / 56% 44% 56% 44%; }
.cols__media { position: relative; }
.cols__media::before {
  content: ""; position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; left: -6%; top: -6%;
  background: var(--kid-yellow); opacity: .45; z-index: -1;
}
.cols__media::after {
  content: ""; position: absolute; width: 22%; aspect-ratio: 1; border-radius: 50%; right: -3%; bottom: 2%;
  background: var(--kid-pink); opacity: .35; z-index: -1;
}
.section .container { position: relative; z-index: 0; }
.photo-row img, .tile img, .news__item img { border-radius: 28px; }
img[src$=".png"] { border-radius: 32px !important; }

/* cards: soft, rounded, coloured tops */
.news__item, .step, .grid-3 > div, .quote__inner, .member, .faq details, .char-grid li, .prose, .form, .numbered li, .office, .tile, .facts > div, .process li {
  border-radius: 32px; box-shadow: var(--soft-shadow);
}
.news__item { border: 0; }
.news__item time { color: var(--kid-purple); }
.news__item h3 { font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1.2rem; }
.tile { background: #e4f1fd; padding: 36px 36px 0; }
.tile:nth-child(2) { background: #ffeef2; }
.tile img { border-radius: 28px 28px 0 0; }
.tile__tag { color: var(--kid-purple); font-family: "Fredoka", sans-serif; font-weight: 600; text-transform: none; letter-spacing: 0; font-size: .9rem; }
.grid-3 > div { border-top: 0; background: #fff; background-image: none; position: relative; padding-top: 38px; }
.grid-3 > div::before { content: ""; position: absolute; left: 30px; top: 18px; width: 46px; height: 8px; border-radius: 8px; background: var(--kid-pink); }
.grid-3 > div:nth-child(6n+2)::before { background: var(--kid-orange); }
.grid-3 > div:nth-child(6n+3)::before { background: var(--kid-yellow); }
.grid-3 > div:nth-child(6n+4)::before { background: var(--kid-green); }
.grid-3 > div:nth-child(6n+5)::before { background: var(--kid-blue); }
.grid-3 > div:nth-child(6n+6)::before { background: var(--kid-purple); }

/* number bubbles */
.step__n, .process .n, .numbered li::before { border-radius: 50% !important; font-weight: 700; }
.step__n { width: 72px; height: 72px; background: var(--kid-pink) !important; box-shadow: 0 5px 0 #e9718f; }
.step:nth-child(2) .step__n { background: var(--kid-yellow) !important; color: var(--ink) !important; box-shadow: 0 5px 0 #e0b800; }
.step:nth-child(3) .step__n { background: var(--kid-blue) !important; box-shadow: 0 5px 0 #3f8bd1; }
.process li { background: #fff; }
.process .n { background: var(--kid-pink); }
.process li:nth-child(2) .n { background: var(--kid-orange); }
.process li:nth-child(3) .n { background: var(--kid-green); }
.process li:nth-child(4) .n { background: var(--kid-blue); }
.process li:nth-child(5) .n { background: var(--kid-purple); }
.numbered li::before { background: var(--kid-green) !important; }
.numbered li:nth-child(2)::before { background: var(--kid-orange) !important; }
.numbered li:nth-child(3)::before { background: var(--kid-blue) !important; }
.numbered li:nth-child(4)::before { background: var(--kid-pink) !important; }
.numbered li:nth-child(5)::before { background: var(--kid-purple) !important; }
.soft-list li::before { background: var(--kid-yellow); box-shadow: 0 0 0 4px #fff3c4; }
.facts > div { background: #fff9d9; }
.facts > div + div { background: #e6f8ee; }
.facts .big { color: var(--kid-teal-dark); font-weight: 700; }

/* testimonials */
.quote__inner::before { color: var(--kid-pink) !important; font-family: "Fredoka", sans-serif; }
.quote:nth-child(3n+2) .quote__inner::before { color: var(--kid-blue) !important; }
.quote:nth-child(3n+3) .quote__inner::before { color: var(--kid-green) !important; }
.quote cite { color: var(--kid-purple); text-transform: none; letter-spacing: 0; font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1rem; }
.quote-nav button { background: #fff; color: var(--ink); box-shadow: 0 5px 0 #eadff9; }
.quote-nav button:hover { background: var(--kid-yellow); color: var(--ink); }

/* chips, filters, letters */
.chips li { border-radius: 100px; font-family: "Fredoka", sans-serif; font-weight: 500; }
.filters button, .letters button { font-family: "Fredoka", sans-serif; font-weight: 600; }
.filters button.is-active, .letters button.is-active { background: var(--kid-purple); }
.char-grid li { font-family: "Fredoka", sans-serif; font-weight: 500; }
.char-search { border-radius: 100px; }

/* team: wobbly round frames */
.member__photo { border-radius: 50%; outline: 6px solid #ffeef2; }
.member:nth-child(4n+2) .member__photo { outline-color: #fff3e3; }
.member:nth-child(4n+3) .member__photo { outline-color: #e6f8ee; }
.member:nth-child(4n+4) .member__photo { outline-color: #e4f1fd; }
.member h3 { font-family: "Fredoka", sans-serif; }

/* forms */
.field label { font-family: "Fredoka", sans-serif; font-weight: 500; font-size: .95rem; text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea { border-radius: 18px; border: 2px solid #efe7fb; background: #fffdf8; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--kid-purple); }
.office { background: #e4f1fd; }
.office dt { color: var(--kid-blue); font-family: "Fredoka", sans-serif; font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 1rem; }
.note { border-radius: 22px; border-left: 0; background: #fff3e3; color: #8a4f0d; }
.note::before { content: "☝ "; }
.map { border-radius: 40px; border: 8px solid #fff; }

/* faq */
.faq summary { font-family: "Fredoka", sans-serif; font-weight: 500; }
.faq summary::after { background: #fff9d9; color: var(--ink); }

/* logos strip */
.logo-track li { border-radius: 28px; border: 0; box-shadow: var(--soft-shadow); }
.logo-marquee { padding: 16px 0 24px; }

/* footer: wavy top, soft lilac */
.stripe { height: 14px; border-radius: 0; background: var(--rainbow-line); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 14'%3E%3Cpath d='M0 7 Q10 0 20 7 T40 7 V14 H0Z'/%3E%3C/svg%3E") repeat-x 0 0 / 40px 14px; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 14'%3E%3Cpath d='M0 7 Q10 0 20 7 T40 7 V14 H0Z'/%3E%3C/svg%3E") repeat-x 0 0 / 40px 14px; }
.footer { background: #f0e9fd; }
.footer h4 { color: var(--kid-purple); font-family: "Fredoka", sans-serif; text-transform: none; letter-spacing: 0; font-size: 1.15rem; font-weight: 600; }
.footer a:hover { color: var(--kid-teal-dark); }
.footer__wordmark { text-transform: none; font-family: "Fredoka", sans-serif; font-weight: 700; opacity: .35; }
.footer__bottom { border-top: 2px dashed #ddd0f7; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  
  
  
  
  
  
  
  
  
  .clients { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .news { grid-template-columns: 1fr 1fr; }
  .team, .char-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  :root { --gutter: 16px; }
  .hero__banner { min-height: 60vh; padding: 70px 16px 100px; }
  .hero__bar div + div { border-left: 0; }
  .cols--even .cols__media img { border-radius: 20px; }
  .section { padding: 64px 0; }
  .hero > .container, .page-head > .container { padding: 40px 24px; border-radius: 30px; }
  .hero__grid, .page-head__grid, .cols, .cols--even, .contact, .cta, .award { grid-template-columns: 1fr; gap: 32px; }
  .award { padding: 34px 24px; text-align: center; }
  .award__seal { width: 140px; height: 140px; margin: 0 auto; }
  .award .btn { justify-self: center; }
  .cta { padding: 40px 26px; text-align: center; }
  .cta > div { text-align: center; }
  .hero__bar { grid-template-columns: 1fr 1fr; }
  .tiles, .steps, .grid-3, .facts { grid-template-columns: 1fr; }
  .tile { padding: 30px 24px 0; }
  .quote { width: 88%; }
  .process li { grid-template-columns: 56px 1fr; }
  .process li p { grid-column: 2; }
  .photo-row { grid-template-columns: 1fr 1fr; }
  .photo-row img:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }
  .page-banner img { border-radius: 30px; aspect-ratio: 16/9; }
  .map { height: 340px; border-radius: 30px; margin-bottom: 64px; }
  .form, .office { padding: 30px 22px; border-radius: 30px; }
  
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr; }
  .news { grid-template-columns: 1fr; }
  
  
  .hero__bar strong { font-size: 1.8rem; }
  .brand__name small { display: none; }
  .team, .char-grid { grid-template-columns: 1fr 1fr; }
  .prose { padding: 30px 22px; border-radius: 28px; }
}

/* =========================================================
   HEADER v2 – masthead + sticky rainbow menu bar (kids theme)
   ========================================================= */

.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 18px 7px 7px; border-radius: 100px;
  background: #fff; box-shadow: var(--soft-shadow); text-decoration: none; font-weight: 800; font-size: .92rem; line-height: 1.2;
}
.chip small { display: block; font-weight: 700; font-size: .72rem; color: var(--muted); }
a.chip:hover { background: #fff9d9; }
.chip__icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 1.05rem; color: #fff; flex: none; }
.chip__icon--pink { background: var(--kid-pink); }
.chip__icon--blue { background: var(--kid-blue); }

.navbar { position: sticky; top: 0; z-index: 80; background: var(--kid-bg); padding: 8px 0 18px; }
.navbar::after { /* wavy rainbow line under the bar */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--rainbow-line);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 10'%3E%3Cpath d='M0 5 Q10 0 20 5 T40 5' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x 0 0 / 40px 10px;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 10'%3E%3Cpath d='M0 5 Q10 0 20 5 T40 5' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x 0 0 / 40px 10px;
}
.navbar__inner { display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 100px; padding: 8px; box-shadow: var(--soft-shadow); }
.navbar__brand { display: none; }
.navbar__toggle { display: none; }

.menu > ul { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: center; }
.menu__item { position: relative; --c: var(--kid-pink); --cbg: #ffeef2; }
.menu__item:nth-child(2) { --c: var(--kid-orange); --cbg: #fff3e3; }
.menu__item:nth-child(3) { --c: #e0b800; --cbg: #fff9d9; }
.menu__item:nth-child(4) { --c: var(--kid-green); --cbg: #e6f8ee; }
.menu__item:nth-child(5) { --c: var(--kid-blue); --cbg: #e4f1fd; }
.menu__item:nth-child(6) { --c: var(--kid-purple); --cbg: #f0e9fd; }
.menu__link {
  display: flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 100px; text-decoration: none;
  font-family: "Fredoka", sans-serif; font-weight: 500; font-size: 1.02rem; color: var(--ink);
}
.menu__link::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--c); flex: none; }
.menu__item.has-sub > .menu__link::after {
  content: ""; width: 7px; height: 7px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor;
  border-radius: 2px; transform: rotate(45deg) translate(-2px, -2px); margin-left: 2px; opacity: .55;
}
.menu__link:hover, .menu__item:focus-within > .menu__link { background: var(--cbg); }
.menu__link[aria-current="page"] { background: var(--c); color: #fff; }
.menu__link[aria-current="page"]::before { background: #fff; }
.menu__item:nth-child(3) .menu__link[aria-current="page"] { color: var(--ink); }

.dropdown {
  display: none; position: absolute; top: calc(100% + 12px); left: 50%; translate: -50% 0; min-width: 270px; z-index: 5;
  background: #fff; border-radius: 26px; padding: 14px 10px 10px; box-shadow: 0 22px 44px -20px rgba(90,70,140,.45);
  border-top: 7px solid var(--c);
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; } /* hover bridge */
.menu__item:hover > .dropdown, .menu__item:focus-within > .dropdown { display: block; }
.dropdown a { display: block; padding: 11px 16px; border-radius: 16px; text-decoration: none; font-weight: 700; font-size: .96rem; }
.dropdown a:hover { background: var(--cbg); }
.menu__contact { display: none; }

/* remove the old header layers if any remain */

@media (max-width: 1180px) {
  .menu__link { padding: 10px 13px; font-size: .96rem; }
  
}
@media (max-width: 1000px) {
  
  .navbar { padding: 10px 0 16px; }
  .navbar__inner { justify-content: space-between; border-radius: 30px; padding: 8px 8px 8px 14px; flex-wrap: wrap; }
  .navbar__brand { display: flex; }
  .navbar__brand .brand__mark { width: 42px; height: 42px; }
  .navbar__brand .brand__name { font-size: 1.15rem; }
  .navbar__toggle {
    display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; border-radius: 100px;
    padding: 12px 18px; background: var(--kid-yellow); color: var(--ink); font: 600 1rem/1 "Fredoka", sans-serif;
    box-shadow: 0 4px 0 #e0b800;
  }
  .navbar__burger, .navbar__burger::before, .navbar__burger::after { display: block; width: 18px; height: 2.5px; border-radius: 3px; background: currentColor; position: relative; }
  .navbar__burger::before, .navbar__burger::after { content: ""; position: absolute; left: 0; }
  .navbar__burger::before { top: -6px; }
  .navbar__burger::after { top: 6px; }
  .navbar__toggle[aria-expanded="true"] .navbar__burger { background: transparent; }
  .navbar__toggle[aria-expanded="true"] .navbar__burger::before { top: 0; transform: rotate(45deg); }
  .navbar__toggle[aria-expanded="true"] .navbar__burger::after { top: 0; transform: rotate(-45deg); }

  .menu { display: none; width: 100%; padding: 14px 4px 8px; max-height: calc(100vh - 110px); overflow-y: auto; }
  .menu.is-open { display: block; }
  .menu > ul { flex-direction: column; align-items: stretch; gap: 8px; }
  .menu__link { background: var(--cbg); padding: 14px 18px; font-size: 1.08rem; }
  .menu__item.has-sub > .menu__link::after { display: none; }
  .dropdown { display: block; position: static; translate: none; min-width: 0; box-shadow: none; border-top: 0; padding: 4px 0 4px 26px; background: transparent; }
  .dropdown::before { display: none; }
  .dropdown a { padding: 8px 12px; font-size: .95rem; }
  .menu__contact { display: grid; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 2px dashed #efe7fb; }
  .menu__contact .chip { box-shadow: none; background: var(--kid-bg); }
  .menu__contact .btn { justify-content: center; }
}
@media (max-width: 420px) {
  .navbar__brand .brand__name { font-size: 1rem; }
  .navbar__toggle-text { display: none; }
}

/* =========================================================
   HEADER v2.1 – compact single bar
   ========================================================= */
.navbar { padding: 6px 0 12px; }
.navbar::after { height: 8px; -webkit-mask-size: 32px 8px; mask-size: 32px 8px; }
.navbar__inner { justify-content: space-between; gap: 12px; padding: 5px 6px 5px 12px; }
.navbar__brand { display: flex; flex: none; gap: 8px; }
.navbar__brand .brand__mark { width: 38px; height: 38px; }
.navbar__brand .brand__name { font-size: 1.05rem; white-space: nowrap; }
.navbar .menu { order: 2; flex: 1; }
.navbar__cta { order: 3; flex: none; padding: 9px 18px 11px; font-size: .92rem; box-shadow: 0 3px 0 #e0b800; }
.navbar__toggle { order: 4; }
.menu > ul { gap: 2px; flex-wrap: nowrap; }
.menu__link { padding: 8px 12px; font-size: .93rem; gap: 7px; white-space: nowrap; }
.menu__link::before { width: 9px; height: 9px; }
.dropdown { top: calc(100% + 10px); }

@media (max-width: 1240px) {
  .navbar__brand .brand__name { display: none; }
}
@media (max-width: 1080px) {
  .navbar { padding: 6px 0 10px; }
  .navbar__inner { flex-wrap: wrap; border-radius: 26px; padding: 5px 5px 5px 10px; }
  .navbar__brand .brand__name { display: inline; }
  .navbar__cta { display: none; }
  .navbar .menu { order: 5; flex-basis: 100%; }
  .menu > ul { flex-wrap: wrap; }
  .menu__link { white-space: normal; }
  .navbar__toggle { padding: 9px 14px; font-size: .92rem; box-shadow: 0 3px 0 #e0b800; }
}
@media (min-width: 1001px) and (max-width: 1080px) {
  /* between breakpoints use the mobile drawer too */
  .navbar__toggle { display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; border-radius: 100px; background: var(--kid-yellow); color: var(--ink); font: 600 .92rem/1 "Fredoka", sans-serif; }
  .navbar__burger, .navbar__burger::before, .navbar__burger::after { display: block; width: 18px; height: 2.5px; border-radius: 3px; background: currentColor; position: relative; }
  .navbar__burger::before, .navbar__burger::after { content: ""; position: absolute; left: 0; }
  .navbar__burger::before { top: -6px; }
  .navbar__burger::after { top: 6px; }
  .menu { display: none; padding: 12px 4px 6px; }
  .menu.is-open { display: block; }
  .menu > ul { flex-direction: column; align-items: stretch; gap: 8px; }
  .menu__link { background: var(--cbg); padding: 12px 16px; }
  .menu__item.has-sub > .menu__link::after { display: none; }
  .dropdown { display: block; position: static; translate: none; min-width: 0; box-shadow: none; border-top: 0; padding: 4px 0 4px 26px; background: transparent; }
  .dropdown::before { display: none; }
  .menu__contact { display: grid; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 2px dashed #efe7fb; }
}
@media (max-width: 1000px) {
  .navbar__brand .brand__mark { width: 36px; height: 36px; }
  .navbar__brand .brand__name { font-size: 1rem; }
}

/* =========================================================
   RESPONSIVE LAYER (final authority)
   Breakpoints: 1240 / 1080 / 900 / 700 / 480 / 360
   ========================================================= */
:root {
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(56px, 8vw, 104px);
}
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 90px; }
body { font-size: clamp(16px, .95rem + .15vw, 17px); overflow-x: hidden; }
body.menu-open { overflow: hidden; }
h1, h2, h3, p, li, dd, blockquote { overflow-wrap: break-word; }
h1 { font-size: clamp(2rem, 1.35rem + 3.2vw, 4.4rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.9vw, 2.9rem); }
h3 { font-size: clamp(1.12rem, 1.02rem + .4vw, 1.3rem); }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); }
.section { padding-block: var(--section-y); }
.container { width: min(var(--container), 100% - 2 * var(--gutter)); }

/* accessibility: visible keyboard focus everywhere */
:focus-visible { outline: 3px solid var(--kid-purple); outline-offset: 3px; border-radius: 12px; }
.btn:focus-visible, .menu__link:focus-visible { outline-offset: 4px; }

/* small text minimums */
.footer .brand__name small, .brand__name small { font-size: .78rem; }
.news__item time { font-size: .85rem; }

/* comfortable tap targets */
.crumbs a { display: inline-block; padding: 10px 2px; }
.footer li { margin-bottom: 2px; }
.footer li a, .footer__bottom nav a, .footer p a { display: inline-block; padding: 9px 0; }
.footer__bottom nav { gap: 18px; flex-wrap: wrap; }
.filters button { min-height: 44px; padding: 10px 20px; }
.letters button { min-width: 44px; height: 44px; }
.field--check { min-height: 44px; align-items: center; }
.field--check input { width: 24px; height: 24px; margin-top: 0; flex: none; }
.field--check a { display: inline-block; padding: 4px 0; }
.navbar__brand { min-height: 44px; }
.quote-nav button { width: 52px; height: 52px; }

/* media never overflows; blob photos limited when stacked */
img, svg, iframe { max-width: 100%; }
.member__photo { width: min(150px, 100%); height: auto; aspect-ratio: 1; }

/* character grid: fluid columns, long names wrap */
.char-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.char-grid li { min-width: 0; overflow-wrap: anywhere; }

/* team + news + tiles fluid grids */
.team { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.news { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }

/* hero stats: tighter text */
.hero__bar span { display: block; line-height: 1.35; margin-top: 4px; }
.hero__bar strong { font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.4rem); }

/* footer wordmark always fits */
.footer__wordmark { font-size: min(10.5rem, 8.4vw); overflow: visible; }

@media (max-width: 1240px) {
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__top > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 1080px) {
  .menu.is-open { max-height: calc(100dvh - 90px); overflow-y: auto; overscroll-behavior: contain; }
  .navbar__toggle { min-height: 44px; min-width: 44px; padding: 10px 16px; justify-content: center; }
  .navbar__toggle-text { display: inline !important; }
  .menu__link { min-height: 48px; }
  .dropdown a { min-height: 44px; display: flex; align-items: center; }
  .menu__contact .chip { min-height: 52px; }
  .menu__contact .btn { min-height: 48px; }
}

@media (max-width: 900px) {
  .cols, .cols--even, .page-head__grid, .contact, .cta, .award { grid-template-columns: 1fr; }
  .cols__media { max-width: 520px; margin-inline: auto; width: 100%; }
  .cols--even .cols__media img, .cols:not(.cols--even) .cols__media img { border-radius: 58% 42% 46% 54% / 48% 56% 44% 52%; }
  .page-head > .container { padding: clamp(28px, 6vw, 48px) clamp(20px, 5vw, 40px); border-radius: 36px; }
  .page-head__grid { gap: 18px; }
  .page-banner img { aspect-ratio: 16 / 9; border-radius: 32px; }
  .hero__banner { min-height: 0; padding: clamp(64px, 14vw, 110px) 20px clamp(96px, 16vw, 130px); border-radius: 36px; }
  .hero__banner::before { background: linear-gradient(180deg, rgba(59,51,85,.35), rgba(59,51,85,.7)); }
  .hero__banner p { font-size: 1.08rem; line-height: 1.5; }
  .hero__bar { grid-template-columns: 1fr 1fr; gap: 6px; margin-top: -60px; padding: 10px; border-radius: 28px; }
  .hero__bar div { padding: 14px 10px; }
  .hero__bar div + div { border-left: 0; }
  .award { text-align: center; padding: 36px 22px; border-radius: 36px; }
  .award .btn { justify-self: center; }
  .cta { text-align: left; padding: 40px 26px; border-radius: 36px; }
  .cta > div { text-align: left; }
  .tiles { grid-template-columns: 1fr; }
  .quote { width: 50%; }
  .facts, .two-col-lists { grid-template-columns: 1fr; }
  .photo-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .photo-row img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .section--ink, .section--accent { margin: 36px 0; }
  .contact { gap: 24px; }
}

@media (max-width: 700px) {
  .quote { width: 88%; }
  .quote__inner { padding: 26px; min-height: 0; }
  .cta::before, .cta::after, .page-head > .container::before, .page-head > .container::after { display: none; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .step { padding: 26px; }
  .process li { grid-template-columns: 52px 1fr; padding: 18px; gap: 6px 14px; }
  .process li p { grid-column: 2; }
  .process .n { width: 48px; height: 48px; font-size: 1.05rem; }
  .form, .office, .prose { padding: 26px 20px; border-radius: 28px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .tile { padding: 26px 22px 0; }
  .tile h3 { font-size: 1.45rem; }
  .list-panel, .facts > div { padding: 26px 22px; }
  .numbered li { padding: 12px 14px; gap: 12px; }
  .map { height: 320px; border-radius: 28px; border-width: 6px; }
  .footer { padding-top: 60px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer__top > div:first-child, .footer__top > div:last-child { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 4px; }
  /* A–Z letters become one horizontal scroller */
  .char-tools { flex-direction: column; align-items: stretch; }
  .char-search { max-width: none; }
  .letters { flex-wrap: nowrap; overflow-x: auto; padding: 6px 2px 12px; margin-inline: -2px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .letters button { flex: none; scroll-snap-align: start; }
  .filters { flex-wrap: nowrap; overflow-x: auto; padding: 6px 2px 12px; scrollbar-width: none; }
  .filters button { flex: none; }
}

@media (max-width: 480px) {
  .hero__banner .btns, .cta .btns { flex-direction: column; align-items: stretch; }
  .hero__banner .btn { justify-content: center; }
  .btns { gap: 14px; }
  .btn { padding: 14px 24px 16px; }
  .award__seal { width: 120px; height: 120px; }
  .photo-row { grid-template-columns: 1fr; }
  .photo-row img, .photo-row img:first-child { aspect-ratio: 4 / 3; }
  .label { font-size: .85rem; }
  .team { grid-template-columns: 1fr 1fr; gap: 14px; }
  .member { padding: 20px 12px; }
  .member h3 { font-size: 1rem; }
  .member p { font-size: .88rem; }
  .logo-track li { width: 140px; height: 90px; padding: 16px; }
}

@media (max-width: 360px) {
  .navbar__brand .brand__name { display: none; }
  .team { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}

/* touch devices: dropdowns open on tap (JS adds .is-open) */
.menu__item.is-open > .dropdown { display: block; }
@media (hover: none) and (min-width: 1081px) {
  .menu__item:hover > .dropdown { display: none; }
  .menu__item.is-open > .dropdown { display: block; }
}

/* responsive fixes from audit */
.char-tools > * { min-width: 0; max-width: 100%; }
@media (max-width: 700px) {
  .char-tools { display: grid; grid-template-columns: minmax(0, 1fr); }
  .char-search, .letters { width: 100%; flex: none; }
}
.footer li a, .footer__bottom nav a { min-width: 44px; }
@media (max-width: 360px) { .navbar__brand .brand__mark { width: 44px; height: 44px; } }

.footer .brand__name small, .brand__name small { font-size: .84rem; }

/* visual review fixes */
.news__item img { border-radius: 0; }
.field--check span { line-height: 1.5; }
@media (max-width: 1240px) and (min-width: 901px) {
  .award { grid-template-columns: 150px 1fr; gap: 20px 40px; }
  .award__seal { width: 150px; height: 150px; grid-row: span 2; align-self: start; }
  .award .btn { grid-column: 2; justify-self: start; }
}
@media (max-width: 900px) {
  .award h2::after { margin-inline: auto; }
}
@media (max-width: 700px) {
  .char-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 145px), 1fr)); gap: 10px; }
  .char-grid li { padding: 14px; font-size: .95rem; gap: 10px; }
  .char-grid li::before { width: 10px; height: 10px; }
}
