/* Inspector Play website. Colours and font stacks match the PDAT app (pdas/static/styles.css).
   Cream background, charcoal text, PDAT section colours as accents. No purple.
   The "Dr" switch lives in includes/content.php ('use_dr_title'), not here. */
:root {
  --paper: #f3eee4;
  --paper-2: #faf7f1;
  --card: #fffcf7;
  --ink: #2b2d2f;          /* charcoal, matches the PDAT wordmark */
  --ink-soft: #55595c;
  --rule: #ddd3c3;
  --sec-1: #EF2592; --sec-2: #EF6825; --sec-3: #1BA5DD; --sec-4: #A3C634; --sec-5: #ADAEAF;
  --sec-1-soft: #fde7f3; --sec-2-soft: #fde9df; --sec-3-soft: #e3f4fb; --sec-4-soft: #f1f7df; --sec-5-soft: #efefef;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-sans: "Segoe UI", Calibri, "Liberation Sans", system-ui, sans-serif;
  --radius: 10px;
  --max: 72rem;
}
* { box-sizing: border-box; }
html { font-size: 106.25%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-sans); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 650; line-height: 1.2; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.skip-link { position: absolute; left: .75rem; top: -3rem; background: var(--ink); color: #fff; padding: .4rem .75rem; z-index: 20; }
.skip-link:focus { top: .75rem; }
.eyebrow { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 650; color: var(--ink-soft); margin-bottom: .6rem; }
[id] { scroll-margin-top: 5.5rem; }
.section { padding: 4.5rem 0; }
.section--alt { background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section__head { max-width: 44rem; margin-bottom: 2.25rem; }
.section__head h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); }
.section__head p { margin-top: .75rem; color: var(--ink-soft); font-size: 1.05rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .78rem 1.35rem; border-radius: 999px; font-weight: 650; font-size: .98rem; text-decoration: none; border: 2px solid var(--ink); transition: background .15s, color .15s; white-space: nowrap; }
.btn--primary { background: var(--ink); color: var(--paper-2); }
.btn--primary:hover { background: #000; }
.btn--secondary { background: transparent; color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: var(--paper-2); }
.btn--small { padding: .5rem 1rem; font-size: .9rem; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--sec-3-soft); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(250, 247, 241, .96); border-bottom: 1px solid var(--rule); backdrop-filter: blur(6px); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 4.25rem; }
.wordmark { font-family: var(--font-sans); font-weight: 650; font-size: 1.08rem; letter-spacing: .01em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav__links { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: .96rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav__links a:hover, .nav__links a[aria-current="page"] { border-bottom-color: var(--ink); }
.menu { display: none; }

/* Nav tabs with the original round section icons (desktop tabs and phone menu).
   Underline colour follows each icon; blue and lime darkened to reach 3:1 on the cream header. */
.nav-item--home        { --nav-c: #0E7FAE; } /* section-home.svg, blue house */
.nav-item--about       { --nav-c: #E30E7E; } /* section-aims.svg, pink star */
.nav-item--consultancy { --nav-c: #E95D0C; } /* section-what.svg, orange heart */
.nav-item--contact     { --nav-c: #5F8A12; } /* section-contact.svg, lime @ */
.nav__links { align-items: center; }
.nav__links a.nav-item { display: inline-flex; align-items: center; gap: 8px; padding: .3rem 0; border-bottom: 0; color: var(--ink); }
.nav__links a.nav-item img { width: 26px; height: 26px; flex: none; display: block; }
.nav-item span { position: relative; display: inline-block; }
.nav-item span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 3px; border-radius: 2px; background: var(--nav-c, var(--ink)); opacity: 0; transition: opacity .15s; }
.nav-item:hover span::after { opacity: .4; }
.nav-item[aria-current="page"] span::after { opacity: 1; }

/* Hero */
.hero { padding: 4rem 0 4.5rem; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: center; }
.hero__logo { width: 15rem; margin-bottom: 2rem; }
.hero h1 { font-size: clamp(2rem, 3.3vw, 2.85rem); letter-spacing: -.01em; }
.hero h1 span { display: block; }
.hero__sub { margin-top: 1.1rem; font-size: 1.15rem; color: var(--ink-soft); max-width: 34rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__note { margin-top: .9rem; font-size: .9rem; color: var(--ink-soft); }
.hero__authors { display: flex; align-items: center; gap: .9rem; margin-top: 1.6rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); max-width: 34rem; }
.hero__authors p { font-size: .95rem; color: var(--ink-soft); line-height: 1.5; }
.hero__authors strong { color: var(--ink); font-weight: 700; }
.hero__authors .text-link { white-space: nowrap; color: var(--ink); }

/* Initial avatars (stand-ins for photos) */
.avatar { flex: none; width: 4.5rem; height: 4.5rem; border-radius: 14px; display: grid; place-items: center; font-family: var(--font-serif); font-weight: 700; font-size: 1.55rem; letter-spacing: .02em; color: var(--ink); }
.avatar--nw { background: var(--sec-1-soft); box-shadow: inset 0 0 0 3px var(--sec-1); }
.avatar--hb { background: var(--sec-3-soft); box-shadow: inset 0 0 0 3px var(--sec-3); }
.avatar--sm { width: 2.6rem; height: 2.6rem; border-radius: 9px; font-size: .92rem; box-shadow: inset 0 0 0 2px var(--c-ring, currentColor); }
.avatar--sm.avatar--nw { --c-ring: var(--sec-1); }
.avatar--sm.avatar--hb { --c-ring: var(--sec-3); }
.avatars { display: flex; flex: none; gap: .35rem; }

/* Dashboard illustration */
.dash { background: var(--card); border: 1px solid var(--rule); border-radius: 16px; box-shadow: 0 18px 40px -22px rgba(43,45,47,.35), 0 2px 6px rgba(43,45,47,.05); padding: 1.5rem 1.6rem 1.4rem; position: relative; }
.dash__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.1rem; }
.dash__title { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 650; }
.dash__tag { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 650; border: 1px solid var(--rule); border-radius: 999px; padding: .15rem .6rem; background: var(--paper-2); }
.dash__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.dash__row { display: grid; grid-template-columns: 9.5rem 1fr 3rem 6.4rem; align-items: center; gap: .75rem; font-size: .9rem; }
.dash__name { font-weight: 650; display: flex; align-items: center; gap: .5rem; white-space: nowrap; }
.dash__dot { width: .7rem; height: .7rem; border-radius: 3px; flex: none; }
.dash__track { height: .62rem; background: #ece6da; border-radius: 999px; overflow: hidden; }
.dash__bar { display: block; height: 100%; border-radius: 999px; }
.dash__score { font-variant-numeric: tabular-nums; color: var(--ink-soft); text-align: right; }
.chip { display: inline-block; text-align: center; padding: .12rem .55rem; border-radius: 999px; font-size: .76rem; font-weight: 650; border: 1px solid; }
.chip--emerging { background: #f8d7d4; color: #8b1e1a; border-color: #d4534c; }
.chip--developing { background: #fce8c9; color: #7a4e0a; border-color: #d4a017; }
.chip--embedded { background: #d7eadc; color: #1e5c36; border-color: #3c8f5a; }
.dash__foot { display: grid; grid-template-columns: auto 1fr; gap: 1rem; margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px dashed var(--rule); align-items: stretch; }
.dash__total { background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--radius); padding: .65rem .9rem; }
.dash__total strong { font-family: var(--font-serif); font-size: 1.6rem; display: block; line-height: 1.1; }
.dash__total span { font-size: .78rem; color: var(--ink-soft); }
.dash__plan { border-left: 5px solid var(--sec-5); background: var(--sec-5-soft); border-radius: 0 var(--radius) var(--radius) 0; padding: .6rem .85rem; font-size: .84rem; }
.dash__plan-top { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .3rem; }
.pill { display: inline-block; padding: .08rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 650; background: var(--ink); color: var(--paper-2); }
.pill--outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.dash__caption { margin-top: .8rem; font-size: .78rem; color: var(--ink-soft); text-align: center; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.6rem 1.5rem; position: relative; }
.step__num { width: 2.4rem; height: 2.4rem; border-radius: 8px; display: grid; place-items: center; font-weight: 700; font-family: var(--font-serif); font-size: 1.15rem; margin-bottom: 1rem; color: var(--ink); }
.step:nth-child(1) .step__num { background: var(--sec-1-soft); box-shadow: inset 0 0 0 2px var(--sec-1); }
.step:nth-child(2) .step__num { background: var(--sec-3-soft); box-shadow: inset 0 0 0 2px var(--sec-3); }
.step:nth-child(3) .step__num { background: var(--sec-4-soft); box-shadow: inset 0 0 0 2px var(--sec-4); }
.step h3 { font-size: 1.22rem; margin-bottom: .5rem; }
.step p { color: var(--ink-soft); }
.step .chips { display: flex; gap: .35rem; flex-wrap: wrap; margin-top: .85rem; }
.steps__note { margin-top: 1.5rem; color: var(--ink-soft); font-size: .98rem; }

/* Who's behind PDAT */
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.person { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--rule); border-top: 6px solid var(--c); border-radius: var(--radius); padding: 1.75rem 1.6rem; }
.person__name { font-size: 1.4rem; }
.person__role { font-size: .9rem; font-weight: 650; color: var(--ink); margin: .25rem 0 .8rem; }
.person p { color: var(--ink-soft); }
.person p.person__role { color: var(--ink); }
.person cite { font-style: italic; }
.person__head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.1rem; }
.person__head .person__role { margin: .25rem 0 0; }
.person__body { display: flex; flex-direction: column; flex: 1; }
.person__body p + p { margin-top: .75rem; }
.person__link { margin-top: auto; padding-top: .85rem; }
.awards { list-style: none; margin: 0 0 .9rem; padding: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }
.award { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .8rem .3rem .6rem; border-radius: 12px; text-wrap: balance; background: var(--sec-2-soft); border: 1.5px solid var(--sec-2); color: var(--ink); font-size: .8rem; font-weight: 700; line-height: 1.3; }
.award svg { width: 1.05rem; height: 1.05rem; flex: none; color: var(--sec-2); }
.press { margin-top: 1.5rem; padding: 1rem 1.25rem; border: 1px solid var(--rule); border-left: 5px solid var(--sec-4); border-radius: var(--radius); background: var(--card); display: flex; flex-wrap: wrap; gap: .35rem 1rem; align-items: baseline; font-size: .95rem; }
.press__label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ink-soft); }
.press__label cite { font-style: normal; }
.press a { color: var(--ink); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Section cards */
.sections { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.sec-card { background: var(--card); border: 1px solid var(--rule); border-top: 8px solid var(--c); border-radius: var(--radius); padding: 1.25rem 1.15rem 1.35rem; }
.sec-card__num { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.sec-card h3 { font-size: 1.15rem; margin: .3rem 0 .25rem; }
.sec-card__sub { font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: .6rem; }
.sec-card p.sec-card__desc { font-size: .9rem; color: var(--ink-soft); }

/* What you get */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature { display: grid; grid-template-columns: 2.75rem 1fr; gap: .9rem; align-items: start; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.3rem 1.3rem; }
.feature__icon { width: 2.75rem; height: 2.75rem; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.feature__icon svg { width: 1.5rem; height: 1.5rem; }
.feature h3 { font-family: var(--font-sans); font-size: 1.02rem; font-weight: 700; margin-bottom: .3rem; }
.feature p { font-size: .93rem; color: var(--ink-soft); }
.tiers { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .55rem; }

/* Quotes */
.pilot { background: var(--ink); color: var(--paper-2); }
.pilot .eyebrow { color: #d6d0c4; }
.pilot .section__head p { color: #d6d0c4; }
.pilot__badge { display: inline-block; border: 1px solid #8d8a83; border-radius: 999px; padding: .2rem .75rem; font-size: .8rem; font-weight: 650; margin-bottom: 1rem; color: var(--paper-2); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-bottom: 1.75rem; }
.stat { border-left: 5px solid var(--c); padding: .25rem 0 .25rem 1.1rem; }
.stat strong { font-family: var(--font-serif); font-size: 2.6rem; line-height: 1; display: block; margin-bottom: .35rem; }
.stat span { color: #e6e1d6; font-size: 1.02rem; }
.quotes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.quotes--2 { grid-template-columns: repeat(2, 1fr); }
.quote { background: #37393c; border-radius: var(--radius); padding: 1.5rem 1.4rem; border-top: 5px solid var(--c); display: flex; flex-direction: column; justify-content: space-between; gap: 1.1rem; }
.quote blockquote { margin: 0; font-family: var(--font-serif); font-size: 1.08rem; line-height: 1.5; }
.quote figcaption { font-size: .88rem; color: #d6d0c4; font-weight: 600; }
.pilot__source { margin-top: 1.5rem; font-size: .82rem; color: #bdb7ab; max-width: 52rem; }

/* Framework */
.framework { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3.5rem; align-items: center; }
.framework__img { background: #fff; border: 1px solid var(--rule); border-radius: 16px; padding: 1.25rem; }
.framework h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); margin-bottom: 1rem; }
.framework p + p { margin-top: .9rem; }
.framework p { color: var(--ink-soft); font-size: 1.02rem; }
.framework .credit { font-size: .86rem; margin-top: 1.25rem; color: var(--ink-soft); }
.framework .credit + p { margin-top: .5rem; }
.text-link { font-weight: 650; text-underline-offset: 3px; }

/* Organisations */
.org { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; background: var(--card); border: 1px solid var(--rule); border-radius: 18px; padding: 2.75rem; position: relative; overflow: hidden; }
.org::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 8px; background: linear-gradient(var(--sec-1) 0 20%, var(--sec-2) 20% 40%, var(--sec-3) 40% 60%, var(--sec-4) 60% 80%, var(--sec-5) 80%); }
.org h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: .85rem; }
.org p { color: var(--ink-soft); }
.org__who { margin-top: 1rem; font-size: .95rem; }
.ticks { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: .7rem; }
.ticks li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .6rem; }
.ticks svg { width: 1.3rem; height: 1.3rem; margin-top: .12rem; }

/* Consultancy strip */
.consult { padding: 3rem 0; }
.consult__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: .5rem 0; }
.consult h2 { font-size: 1.4rem; margin-bottom: .4rem; }
.consult p { color: var(--ink-soft); max-width: 46rem; }

/* Footer */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--rule); padding: 2.5rem 0 2rem; font-size: .92rem; }
.site-footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; }
.site-footer a { color: var(--ink); }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 0; padding: 0; }
.site-footer .blocks { display: flex; gap: 4px; margin-top: .6rem; }
.site-footer .blocks span { width: 14px; height: 14px; border-radius: 3px; }
.site-footer__legal { margin-top: 1.5rem; color: var(--ink-soft); font-size: .84rem; }
.site-footer__privacy { margin-left: .5rem; color: var(--ink-soft) !important; }


/* ---------- Inner pages ---------- */
.page-hero { padding: 3.75rem 0 3.25rem; border-bottom: 1px solid var(--rule); background:
  linear-gradient(90deg, var(--sec-1) 0 20%, var(--sec-2) 20% 40%, var(--sec-3) 40% 60%, var(--sec-4) 60% 80%, var(--sec-5) 80%) top / 100% 6px no-repeat, var(--paper); }
.page-hero h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); letter-spacing: -.01em; max-width: 52rem; }
.page-hero__lead { margin-top: 1rem; font-size: 1.15rem; color: var(--ink-soft); max-width: 46rem; }
.page-hero__lead + .page-hero__lead { margin-top: .75rem; }
.page-hero--compact { padding: 3rem 0 2.5rem; }
.section--tight { padding: 3rem 0 4.5rem; }

.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3rem; align-items: start; }
.split h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); }
.split__sub { margin: .85rem 0 1.5rem; color: var(--ink-soft); font-size: 1.05rem; }
.prose { color: var(--ink-soft); font-size: 1.05rem; max-width: 44rem; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: .9rem; }
.prose a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.prose .eyebrow { margin-bottom: .6rem; }

/* Call-to-action band */
.cta-band { background: var(--ink); color: var(--paper-2); padding: 3.25rem 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-band h2 { font-size: clamp(1.4rem, 2.3vw, 1.85rem); margin-bottom: .5rem; }
.cta-band p { color: #e6e1d6; max-width: 40rem; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: .75rem; flex: none; }
.btn--light { background: var(--paper-2); color: var(--ink); border-color: var(--paper-2); }
.btn--light:hover { background: #fff; }
.btn--outline-light { background: transparent; color: var(--paper-2); border-color: var(--paper-2); }
.btn--outline-light:hover { background: var(--paper-2); color: var(--ink); }
.cta-band a:focus-visible, .pilot a:focus-visible { outline-color: var(--paper-2); box-shadow: 0 0 0 6px rgba(27,165,221,.55); }

/* Consultancy: aims message */
.aims-band { padding: 3.5rem 0 0; }
.aims-band__inner { margin: 0; background: var(--card); border: 1px solid var(--rule); border-left: 8px solid var(--sec-2); border-radius: var(--radius); padding: 2rem 2.25rem; }
.aims-band blockquote { margin: 0; font-size: 1.05rem; color: var(--ink-soft); }
.aims-band__question { margin-top: .6rem; font-family: var(--font-serif); font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 650; line-height: 1.3; color: var(--ink); text-wrap: balance; }

/* Consultancy: why movement matters */
.benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.benefit { background: var(--card); border: 1px solid var(--rule); border-top: 8px solid var(--c); border-radius: var(--radius); padding: 1.5rem 1.35rem; }
.benefit__head { margin: 0 0 1.1rem; }
.benefit__head img { display: block; width: 7rem; height: 7rem; }
.benefit h3 { margin-top: .75rem; font-size: 1.3rem; color: var(--ink); }
.benefit ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.benefit li { position: relative; padding-left: 1.1rem; color: var(--ink-soft); font-size: .96rem; }
.benefit li::before { content: ""; position: absolute; left: 0; top: .55em; width: .5rem; height: .5rem; border-radius: 2px; background: var(--c); }

/* Consultancy: services */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.service { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.5rem 1.35rem; border-bottom: 6px solid var(--c); }
.service__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 12px; background: color-mix(in srgb, var(--c) 16%, #fff); box-shadow: inset 0 0 0 2px var(--c); color: var(--ink); margin-bottom: 1rem; }
.service__icon svg { width: 1.55rem; height: 1.55rem; }
.service h3 { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; }
.service p { color: var(--ink-soft); font-size: .95rem; }
.ticks--cards { gap: .85rem; margin: 0; }
.ticks--cards li { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1rem 1.15rem; }
.ticks--cards strong { display: block; color: var(--ink); margin-bottom: .15rem; }
.ticks--cards span { color: var(--ink-soft); }

/* Consultancy: training topics, writing */
.topic-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 2rem; }
.topic-cols__title { font-family: var(--font-sans); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ink-soft); margin-bottom: .9rem; }
.topics, .pubs { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.topics li { background: var(--card); border: 1px solid var(--rule); border-left: 5px solid var(--c); border-radius: var(--radius); padding: .9rem 1.1rem; }
.topics strong { display: block; }
.topics span { display: block; color: var(--ink-soft); font-size: .95rem; margin-top: .2rem; }
.pubs { grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.pubs li { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1rem 1.15rem; display: grid; gap: .25rem; }
.pubs__title { font-weight: 650; color: var(--ink); text-underline-offset: 3px; line-height: 1.4; }
.pubs__meta { font-size: .9rem; color: var(--ink-soft); }

/* Consultancy: about Natalie */
.about-nat { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.about-nat__card .person__head { margin-bottom: 1.25rem; }
.about-nat__lead { font-family: var(--font-serif); font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.4; color: var(--ink); font-weight: 600; }

/* Testimonials (reuses the dark pilot band and quote cards) */
#testimonials .quote { margin: 0; height: 100%; }
.quote figcaption strong { display: block; color: var(--paper-2); }
.quote figcaption span { display: block; font-weight: 500; }

/* Organisation logos */
.logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 1rem; }
.logos li { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); min-height: 6rem; display: grid; place-items: center; padding: 1rem; text-align: center; font-weight: 650; }
.logos a { display: grid; place-items: center; width: 100%; height: 100%; text-decoration: none; }
.logos img { max-height: 3.5rem; width: auto; object-fit: contain; }

/* Photos replacing initials */
.avatar--photo { object-fit: cover; padding: 0; border: 3px solid var(--rule); }
.avatar--photo.avatar--nw { border-color: var(--sec-1); }
.avatar--photo.avatar--hb { border-color: var(--sec-3); }
.avatar--photo.avatar--sm { border-width: 2px; }

/* ---------- Contact form ---------- */
.contact { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: start; }
.form { background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 2rem; display: grid; gap: 1.35rem; }
.form__intro { font-size: .92rem; color: var(--ink-soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: grid; gap: .4rem; margin: 0; min-width: 0; }
.field[hidden] { display: none; }
.field label, .field legend { font-weight: 650; font-size: .98rem; }
.field--choices { border: 0; padding: 0; gap: .5rem; }
.field--choices legend { padding: 0; margin-bottom: .5rem; }
.req { color: #b0136a; font-weight: 700; }
.optional { font-weight: 400; color: var(--ink-soft); font-size: .9rem; }
.form input[type="text"], .form input[type="email"], .form textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 2px solid #8f8a80; border-radius: 8px; padding: .65rem .8rem; }
.form textarea { resize: vertical; min-height: 9rem; }
.form .input--short { max-width: 10rem; }
.form input:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--sec-3); outline-offset: 1px; border-color: var(--ink); }
.choice, .check { display: grid; grid-template-columns: 1.4rem 1fr; gap: .65rem; align-items: start; font-weight: 500 !important; cursor: pointer; }
.choice { background: var(--paper-2); border: 1px solid var(--rule); border-radius: 8px; padding: .65rem .85rem; }
.choice:has(input:checked) { border-color: var(--ink); background: var(--sec-3-soft); }
.choice input, .check input { width: 1.25rem; height: 1.25rem; margin: .12rem 0 0; accent-color: var(--ink); }
.choice input:focus-visible, .check input:focus-visible { outline: 3px solid var(--sec-3); outline-offset: 2px; }
.check a { font-weight: 650; }
.field--error input[type="text"], .field--error input[type="email"], .field--error textarea { border-color: #b3261e; }
.field--error.field--check, .field--error.field--choices { border-left: 4px solid #b3261e; padding-left: .85rem; }
.field__error { color: #9b1c15; font-weight: 650; font-size: .93rem; }
.form .btn { justify-self: start; }
.form .btn[type="submit"] { cursor: pointer; font-family: inherit; }
.form__privacy { font-size: .9rem; color: var(--ink-soft); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 12px; padding: 1.25rem 1.4rem; margin-bottom: 1.5rem; border: 2px solid; }
.notice h2 { font-size: 1.25rem; margin-bottom: .4rem; }
.notice ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.notice a { color: inherit; font-weight: 650; }
.notice:focus { outline: 3px solid var(--sec-3); outline-offset: 3px; }
.notice--error { background: #fbe9e7; border-color: #b3261e; color: #5f1410; }
.notice--warning { background: #fdf0d8; border-color: #c27c0e; color: #4f3304; }
.notice--success { background: #e3f1e6; border-color: #3c8f5a; color: #173f26; padding: 2rem; }
.notice--success h2 { font-size: 1.6rem; }
.notice--success p + p { margin-top: .75rem; }
.contact__side { display: grid; gap: 1rem; }
.side-card { background: var(--card); border: 1px solid var(--rule); border-top: 6px solid var(--c); border-radius: var(--radius); padding: 1.35rem 1.4rem; }
.side-card h2 { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; }
.side-card p { color: var(--ink-soft); font-size: .95rem; }
.side-card p + p { margin-top: .75rem; }

/* ---------- Artwork from the original site ---------- */
/* Children illustrations as friendly section breaks (decorative). */
.kids-break { max-width: var(--max); margin: 0 auto; padding: 2.5rem 1.5rem 0; display: flex; justify-content: center; }
.kids-break img { height: 9.5rem; width: auto; }
.kids-break--wide img { height: auto; width: 100%; max-width: 42rem; }
.kids-break--left { justify-content: flex-start; padding-left: 3rem; }
.kids-break--right { justify-content: flex-end; padding-right: 3rem; }
.section--after-kids { padding-top: 2.25rem; }
.section.section--before-kids { padding-bottom: 1rem; }
.kids-break--above-rule { padding-bottom: 1rem; } /* keeps the children's feet off the next section's top line */
.consult--after-kids { padding-top: 1.5rem; }

/* "Why movement matters" on Home: four round icons with coloured headings. */
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.round-icons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem 1.5rem; }
.round-icon { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
.round-icon img { width: 7.5rem; height: 7.5rem; }
.round-icon h3 { font-family: var(--font-sans); font-size: 1.08rem; font-weight: 700; line-height: 1.35; max-width: 15rem; }
.round-icon--pink h3 { color: #C4106C; }
.round-icon--blue h3 { color: #127199; }
.round-icon--green h3 { color: #56760F; }
.round-icon--orange h3 { color: #B44709; }

/* Phone menu: round section icons, as on the original site. */
.menu__panel a img { width: 2rem; height: 2rem; flex: none; }

/* ---------- Contact: privacy statement ---------- */
.privacy__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.privacy__grid > div { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.2rem 1.25rem; }
.privacy__grid h3 { font-family: var(--font-sans); font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.privacy__grid p { color: var(--ink-soft); font-size: .93rem; }
.privacy__grid p + p { margin-top: .6rem; }
.privacy__grid a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.privacy__updated { margin-top: 1.25rem; font-size: .86rem; color: var(--ink-soft); }

/* Responsive */
@media (max-width: 1100px) {
  .sections { display: flex; flex-wrap: wrap; justify-content: center; }
  .sec-card { flex: 0 1 calc((100% - 2rem) / 3); }
  .features { grid-template-columns: repeat(2, 1fr); }
  /* Hero dashboard: two-row rows (name, score, chip / bar) so the bars never squash on laptops. */
  .dash__row { grid-template-columns: 1fr 3rem 6.4rem; grid-template-areas: "name score chip" "track track track"; row-gap: .35rem; }
  .dash__name { grid-area: name; } .dash__track { grid-area: track; } .dash__score { grid-area: score; } .dash__row .chip { grid-area: chip; }
}
@media (max-width: 900px) {
  .hero__grid, .framework, .org { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps, .quotes, .people { grid-template-columns: 1fr; }
  .nav { gap: .6rem; }
  .nav__links { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; font-weight: 650; border: 2px solid var(--ink); border-radius: 999px; padding: .4rem .95rem; font-size: .9rem; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu__panel { position: absolute; right: 0; top: calc(100% + .6rem); background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1rem; min-width: 14rem; box-shadow: 0 12px 30px -16px rgba(0,0,0,.35); display: grid; gap: .8rem; }
  .menu__panel a { text-decoration: none; font-weight: 600; padding: .15rem 0; display: flex; align-items: center; gap: .75rem; }
  .consult__inner { flex-direction: column; align-items: flex-start; }
  .split, .about-nat, .contact { grid-template-columns: 1fr; gap: 2rem; }
  .benefits, .services { grid-template-columns: repeat(2, 1fr); }
  .round-icons { grid-template-columns: repeat(2, 1fr); }
  .privacy__grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  html { font-size: 100%; }
  .wrap { padding: 0 1.15rem; }
  .section { padding: 3.25rem 0; }
  .hero { padding: 2.5rem 0 3rem; }
  .hero__logo { width: 12rem; margin-bottom: 1.5rem; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .sections { display: grid; grid-template-columns: 1fr; }
  .features, .stats { grid-template-columns: 1fr; }
  .dash { padding: 1.15rem 1rem 1rem; }
  .dash__row { grid-template-columns: 1fr auto auto; }
  .dash__foot { grid-template-columns: 1fr; }
  .org { padding: 1.75rem 1.4rem 1.75rem 1.9rem; }
  .stat strong { font-size: 2.2rem; }
  .person { padding: 1.4rem 1.25rem; }
  .person__head { align-items: flex-start; }
  .avatar:not(.avatar--sm) { width: 3.75rem; height: 3.75rem; font-size: 1.3rem; }
  .hero__authors { flex-direction: column; align-items: flex-start; gap: .7rem; }
  .site-footer__inner { flex-direction: column; gap: 1.25rem; }
  .site-footer ul { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem 1.25rem; width: 100%; }
  .site-footer li a { display: inline-block; padding: .35rem 0; }
  .nav__signin { padding: .45rem .8rem; font-size: .84rem; }
  .menu summary { padding: .35rem .8rem; font-size: .84rem; }
  .page-hero { padding: 2.5rem 0 2.25rem; }
  .page-hero--compact { padding: 2.25rem 0 1.75rem; }
  .benefits, .services, .field-row, .privacy__grid { grid-template-columns: 1fr; }
  .benefit { display: grid; grid-template-columns: 6.25rem 1fr; column-gap: 1.1rem; align-items: center; }
  .benefit__head { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
  .benefit__head img { width: 5.5rem; height: 5.5rem; }
  .benefit h3 { margin-top: .5rem; font-size: 1.1rem; }
  .round-icons { gap: 1.5rem 1rem; }
  .round-icon img { width: 5.75rem; height: 5.75rem; }
  .round-icon h3 { font-size: .98rem; }
  .kids-break { padding: 2rem 1.15rem 0; }
  .kids-break img { height: 7rem; }
  .kids-break--wide img { height: auto; }
  .kids-break--left { padding-left: 1.5rem; }
  .kids-break--right { padding-right: 1.5rem; }
  .kids-break--above-rule { padding-bottom: 1rem; }
  .site-footer__privacy { display: inline-block; margin-left: 0; padding: .35rem 0; }
  .aims-band { padding-top: 2.5rem; }
  .aims-band__inner { padding: 1.4rem 1.25rem; }
  .form { padding: 1.35rem 1.1rem; }
  .cta-band__btns, .cta-band__btns .btn { width: 100%; }
  .topic-cols { grid-template-columns: 1fr; }
  .hero__ctas .btn, .split .btn { white-space: normal; text-align: center; }
}

/* PDAT pricing: three equal-height licence cards (Kandinsky mock-up, 1-website-pricing.html).
   Subgrid lines up each row (name, who, price, works out at, button, note, included) across the cards. */
.pricing__head { text-align: center; margin-left: auto; margin-right: auto; }
.plans { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.plan { position: relative; display: grid; grid-template-rows: subgrid; grid-row: span 7; row-gap: 0; align-content: start; background: var(--card); border: 1px solid var(--rule); border-radius: 18px; padding: 2.1rem 2rem 2rem; overflow: hidden; box-shadow: 0 18px 40px -30px rgba(43,45,47,.45); }
.plan::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 8px; background: var(--c, var(--sec-5)); }
.plan--org::before { background: linear-gradient(90deg, var(--sec-1) 0 20%, var(--sec-2) 20% 40%, var(--sec-3) 40% 60%, var(--sec-4) 60% 80%, var(--sec-5) 80%); }
.plan__name { font-size: 1.5rem; }
.plan__for { margin-top: .45rem; color: var(--ink-soft); font-size: .96rem; }
.plan__price { margin-top: 1.25rem; display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; }
.plan__amount { font-family: var(--font-serif); font-weight: 700; font-size: 2.7rem; line-height: 1; letter-spacing: -.01em; }
.plan__from { font-size: 1rem; font-weight: 650; color: var(--ink-soft); align-self: center; }
.plan__per { font-size: 1rem; color: var(--ink-soft); font-weight: 600; }
.plan__sub { margin-top: .75rem; font-size: .95rem; color: var(--ink-soft); align-self: start; }
.plan__sub strong { color: var(--ink); }
.plan__cta { margin-top: 1.35rem; width: 100%; align-self: start; }
.plan__note { margin-top: .7rem; font-size: .86rem; color: var(--ink-soft); }
.plan__note p + p { margin-top: .3rem; }
.plan__incl { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.plan__incl-title { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ink-soft); margin-bottom: .8rem; }
.plan__incl ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.plan__incl li { display: grid; grid-template-columns: 1.25rem 1fr; gap: .55rem; font-size: .95rem; line-height: 1.45; }
.plan__incl svg { width: 1.1rem; height: 1.1rem; margin-top: .15rem; }
.plan__same { display: none; font-size: .95rem; color: var(--ink); }
.pricing__foot { margin: 2.25rem auto 0; max-width: 48rem; text-align: center; color: var(--ink-soft); font-size: .92rem; display: grid; gap: .4rem; justify-items: center; }
.pricing__charity { font-size: 1.02rem; color: var(--ink); font-weight: 600; margin-bottom: .35rem; }
.pricing__charity a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (max-width: 1100px) {
  .plans { gap: 1.1rem; }
  .plan { padding: 2rem 1.35rem 1.6rem; }
  .plan__amount { font-size: 2.45rem; }
  .plan__incl li { font-size: .92rem; }
}
@media (max-width: 820px) {
  .plans { grid-template-columns: 1fr; max-width: 34rem; }
  .plan { display: flex; flex-direction: column; }
  .plan__same { display: block; }
  .plan__list--dup { display: none !important; }
}
@media (max-width: 640px) {
  .plan { padding: 1.75rem 1.25rem 1.5rem; }
  .plan__amount { font-size: 2.4rem; }
  .plan__cta { white-space: normal; text-align: center; }
}
