/* EduCoCreation GmbH - shared stylesheet.
   Values are lifted from the Claude Design handoff (project "EduCoCreation website
   redesign"): tokens on :root, never hard-code a colour in markup.
   Fonts are self-hosted (GDPR): Nunito (display, 700-900) + Nunito Sans (body). */

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url('/fonts/Nunito-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url('/fonts/Nunito-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/NunitoSans-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/NunitoSans-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/NunitoSans-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/NunitoSans-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #FBFAFF;
  --paper: #FFFFFF;
  --ink: #17122E;
  --ink-deep: #0F0B22;
  --muted: #5B5477;
  --faint: #8A83A6;
  --line: #ECE8F8;
  --accent: #8C52FF;
  --accent-hover: #7A3FF2;
  --link: #6E3CE6;
  --link-hover: #4F22BD;
  --lilac: #C9B3FF;
  --lilac-soft: #E6DAFF;
  --lilac-bg: #F3EEFF;
  --on-dark: #D9D2F2;
  --on-dark-soft: #F3EEFF;
  --sun-1: #FFE9C2;
  --sun-2: #F6B35B;
  --rlh-yellow: #E6FE08;
  --rlh-yellow-soft: #F4FF9E;
  --sun-ink: #4A2C05;
  --sun-ink-soft: #7A4A05;
  --night: #2A1D5C;
  --display: 'Nunito', system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: 'Nunito Sans', system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; font-family: var(--display); }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 0; padding: 8px 12px; background: var(--ink); color: #fff; z-index: 30; }
.skip:focus { left: 16px; top: 16px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }

/* Type helpers */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.eyebrow--light { color: var(--lilac); }
.pretty { text-wrap: pretty; }

/* Buttons */
.btn { display: inline-block; border-radius: 999px; font-weight: 700; font-size: 16px; padding: 14px 26px; color: #fff; background: var(--accent); }
.btn:hover { background: var(--accent-hover); color: #fff; }
.btn--ink { background: var(--ink); padding: 10px 18px; font-size: 15px; }
.btn--ink:hover { background: var(--accent); color: #fff; }
.btn--ghost { background: transparent; border: 1.5px solid rgba(255,255,255,.35); }
.btn--ghost:hover { background: transparent; border-color: #fff; color: #fff; }
.btn--outline { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); padding: 12px 22px; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--sm { padding: 12px 22px; }
.arrow-link { font-weight: 700; font-size: 16px; }

/* Nav */
.nav-bar { position: sticky; top: 0; z-index: 20; background: rgba(251,250,255,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.wordmark { display: flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 900; font-size: 22px; letter-spacing: -.02em; color: var(--accent); }
.wordmark span { background: var(--accent); color: #fff; border-radius: 999px; padding: 2px 12px 3px; }
.wordmark:hover { color: var(--accent); }
.nav__links { display: flex; gap: 28px; align-items: center; font-weight: 600; font-size: 15px; }
.nav__links a { color: var(--ink); }
.nav__links a:hover { color: var(--accent); }
.nav__links a.is-active { color: var(--accent); }
/* The nav colour rules above outrank .btn; restate the button colours at the same specificity. */
.nav__links a.btn--ink { color: #fff; }
.nav__links a.btn--ink:hover { color: #fff; background: var(--accent); }

/* Hero (dark, image-backed) */
.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__img--home { object-position: 50% 45%; opacity: .7; }
.hero__img--services { object-position: 50% 30%; opacity: .22; filter: grayscale(1); }
.hero__shade { position: absolute; inset: 0; }
.hero__shade--home { background: linear-gradient(90deg, rgba(23,18,46,.92) 0%, rgba(23,18,46,.7) 45%, rgba(23,18,46,.25) 100%); }
.hero__shade--services { background: linear-gradient(90deg, rgba(23,18,46,.95) 30%, rgba(23,18,46,.6)); }
.hero__body { position: relative; display: flex; flex-direction: column; gap: 28px; padding-block: 120px 104px; }
.hero__body--services { gap: 22px; padding-block: 104px 96px; }
.hero h1 { font-weight: 900; font-size: clamp(42px, 6vw, 80px); line-height: 1; letter-spacing: -.03em; max-width: 900px; }
.hero__body--services h1 { font-size: clamp(38px, 5.4vw, 70px); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__lede { font-size: 20px; line-height: 1.5; color: var(--on-dark); max-width: 560px; }
.hero__body--services .hero__lede { font-size: 19px; max-width: 600px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Sections */
.section { padding-block: 96px 80px; }
.section--tight { padding-block: 80px; }
.band--paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band--ink { background: var(--ink); color: #fff; }
.band--accent { background: var(--accent); color: #fff; }
.h2 { font-weight: 900; letter-spacing: -.025em; line-height: 1.05; font-size: clamp(32px, 3.8vw, 50px); }
.h2 em { font-style: normal; color: var(--accent); }
.h2--md { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.02em; }
.h2--sm { font-size: clamp(26px, 3vw, 38px); line-height: 1.1; letter-spacing: -.02em; }
.h2--cta { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.04; }
.h2--cta-sm { font-size: clamp(32px, 4vw, 52px); line-height: 1.04; }
.body-lg { color: var(--muted); font-size: 17px; line-height: 1.6; }
.body-md { color: var(--muted); font-size: 16px; line-height: 1.55; }
.body-sm { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* Why us */
.why { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; align-items: center; }
.why__copy { display: flex; flex-direction: column; gap: 22px; }
.why__copy .arrow-link { align-self: flex-start; }
.why__cards { display: grid; gap: 14px; }
.tile { border-radius: 22px; padding: 28px 30px; display: flex; flex-direction: column; gap: 8px; }
.tile--ink { background: var(--ink); color: #fff; }
.tile--accent { background: var(--accent); color: #fff; }
.tile--paper { background: var(--paper); border: 1px solid var(--line); }
.tile__title { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.2; }
.tile__body { font-size: 15px; line-height: 1.5; }
.tile--ink .tile__body { color: var(--on-dark); }
.tile--accent .tile__body { color: var(--on-dark-soft); }
.tile--paper .tile__body { color: var(--muted); }
.tile--accent .eyebrow { color: var(--lilac-soft); }


/* Services overview: sticky intro + nav on the left, services scroll on the right */
.svc { padding-block: 88px 96px; }
.svc__grid { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 88px; align-items: start; }
.svc__aside { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; display: flex; flex-direction: column; gap: 18px; background: var(--ink); color: #fff; border-radius: 24px; padding: 48px 44px; }
.svc__aside .body-lg { color: var(--on-dark); }
.svc__nav { display: flex; flex-direction: column; gap: 4px; margin-top: 18px; }
.svc__nav a { position: relative; padding: 8px 0 8px 18px; font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--faint); transition: color .2s; }
.svc__nav a::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 0; margin-top: 0; border-radius: 2px; background: var(--accent); transition: height .2s, margin-top .2s; }
.svc__nav a:hover, .svc__nav a[aria-current] { color: #fff; }
.svc__nav a:focus-visible { outline: 2px solid var(--lilac); outline-offset: 2px; border-radius: 4px; }
.svc__nav a[aria-current]::before { height: 22px; margin-top: -11px; }
.svc__item { display: flex; flex-direction: column; gap: 16px; padding-block: 40px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.svc__item:first-child { border-top: 0; padding-top: 48px; }
.svc__label { font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--link); }
.svc__label::before { content: ""; display: block; width: 32px; height: 2px; border-radius: 2px; background: var(--accent); margin-bottom: 16px; }
.svc__headline { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(21px, 2.2vw, 29px); line-height: 1.2; letter-spacing: -.015em; }
.svc__item ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.svc__item li::marker { color: var(--accent); }
.svc--anim .svc__item { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.svc--anim .svc__item.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Selected work */
.work__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.work__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.work__features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-block: 20px; }
.feature { position: relative; border-radius: 24px; overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; color: #fff; }
.feature__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature__img--google { object-position: 50% 85%; } /* lift the astronaut above the caption */
.feature__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,18,46,.2), rgba(23,18,46,.65) 45%, rgba(23,18,46,.97)); }
.feature__body { position: relative; padding: 36px; display: flex; flex-direction: column; gap: 8px; }
.feature h3 { font-weight: 900; font-size: 26px; letter-spacing: -.02em; }
.feature p { color: var(--on-dark); font-size: 16px; line-height: 1.5; }
.feature__img { transition: transform .5s ease; }
.feature:has(.feature__link):hover .feature__img { transform: scale(1.03); }
.feature__link { align-self: flex-start; margin-top: 8px; color: #fff; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.feature__link:hover { color: var(--lilac); }
.feature__link::after { content: ""; position: absolute; inset: 0; } /* the whole card is the link's tap target */
.feature__link:focus-visible { outline: none; }
.feature:has(.feature__link:focus-visible) { outline: 2px solid var(--link); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .feature__img { transition: none; } }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.card h3 { font-weight: 800; font-size: 20px; line-height: 1.25; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 40px; margin-top: 56px; }
.logos > div { height: 40px; display: flex; align-items: center; justify-content: center; }
.logos img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .2s, opacity .2s; }
.logos img:hover { filter: grayscale(0); opacity: 1; }
.logos > div:nth-child(1) { width: 90px; }
.logos > div:nth-child(2) { width: 90px; }
.logos > div:nth-child(3) { width: 40px; }
.logos > div:nth-child(4) { width: 100px; }
.logos > div:nth-child(5) { width: 120px; }
.logos > div:nth-child(6) { width: 110px; }
.logos > div:nth-child(7) { width: 130px; }
.logos > div:nth-child(8) { width: 120px; }
.logos > div:nth-child(9) { width: 120px; }
.logos > div:nth-child(10) { width: 80px; }
.logos > div:nth-child(11) { width: 110px; }
.logos > div:nth-child(12) { width: 80px; }

/* Products teaser (home) */
.teaser { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; align-items: center; background: var(--lilac-bg); border-radius: 28px; padding: 48px; }
.teaser__copy { display: flex; flex-direction: column; gap: 14px; }
.teaser__copy .arrow-link { align-self: flex-start; margin-top: 4px; }
.teaser__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ptile { aspect-ratio: 1; border-radius: 20px; display: flex; align-items: flex-end; padding: 20px; font-family: var(--display); font-weight: 800; font-size: 18px; line-height: 1.15; }
.ptile--nuri { background: linear-gradient(180deg, transparent 50%, rgba(23,18,46,.7)), url(/images/nuri-tales.png) center / cover, var(--accent); color: #fff; } /* Nuri is a grey cut-out; the purple comes from the tile */
.ptile--nuri:hover { color: #fff; }
.ptile--rlh { background: linear-gradient(180deg, transparent 50%, rgba(23,18,46,.7)), url(/images/raising-little-humans.jpg) center / cover, var(--night); color: #fff; }
.ptile--rlh:hover { color: #fff; }

/* Contact (home) */
.contact { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 48px; align-items: end; padding-block: 96px; }
.contact__copy { display: flex; flex-direction: column; gap: 20px; }
.contact__lede { color: var(--on-dark); font-size: 18px; line-height: 1.5; max-width: 480px; }
.mail-link { align-self: flex-start; font-family: var(--display); font-weight: 900; font-size: clamp(20px, 2.4vw, 30px); color: #fff; border-bottom: 3px solid var(--accent); padding-bottom: 4px; }
.mail-link:hover { color: var(--lilac); }
.band--accent .mail-link { border-color: #fff; }
.band--accent .mail-link:hover { color: var(--ink); border-color: var(--ink); }

/* Services page */
.cta { display: flex; flex-direction: column; gap: 18px; padding-block: 88px; }
.cta .h2 { max-width: 760px; }
.cta .btn { align-self: flex-start; }
.statement { display: flex; flex-direction: column; gap: 16px; background: var(--lilac-bg); border-radius: 28px; padding: 56px 48px; }
.statement .h2 { max-width: 820px; }
.statement .btn { align-self: flex-start; margin-top: 8px; }

/* Products page */
.wrap--product { padding-bottom: 24px; }
.wrap--product-last { padding-bottom: 88px; }
.page-head { display: flex; flex-direction: column; gap: 20px; padding-block: 96px 64px; }
.page-head h1 { font-weight: 900; font-size: clamp(38px, 5vw, 64px); line-height: 1.02; letter-spacing: -.03em; max-width: 820px; }
.page-head .lede { color: var(--muted); font-size: 19px; line-height: 1.5; max-width: 600px; }
.product { border-radius: 28px; overflow: hidden; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.product--nuri { background: var(--ink); color: #fff; }
.product--rlh { background: var(--paper); border: 1px solid var(--line); }
.product__visual { min-height: 420px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; }
.product--nuri .product__visual { background: linear-gradient(160deg, var(--night), var(--accent)); color: rgba(255,255,255,.7); }
.product__img { width: calc(100% - 72px); max-width: 480px; margin: 36px; border-radius: 20px; }
.product--rlh .product__visual { background: linear-gradient(160deg, var(--rlh-yellow-soft), var(--rlh-yellow) 70%); color: var(--sun-ink-soft); order: 2; }
.product__body { padding: 48px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.product--rlh .product__body { order: 1; }
.product h2 { font-weight: 900; font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -.02em; line-height: 1.05; }
.product p { font-size: 17px; line-height: 1.55; }
.product--nuri p { color: var(--on-dark); }
.product--rlh p { color: var(--muted); }
.pill { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.pill--glass { background: rgba(255,255,255,.12); }
.pill--lilac { background: var(--lilac-bg); color: var(--link); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.product--nuri .meta { color: var(--lilac); }
.product--rlh .meta { color: var(--faint); }
.product .btn { align-self: flex-start; margin-top: 8px; }
.product__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 8px; }
.product__actions .btn { margin-top: 0; }
.product--nuri .product__story { color: var(--lilac); }
.product--nuri .product__story:hover { color: #fff; }

/* Footer */
.footer { background: var(--ink-deep); color: var(--faint); }
.footer__row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; padding-block: 28px; }
.footer__links { display: flex; gap: 24px; }
.footer__links a { color: var(--faint); }
.footer__links a:hover { color: #fff; }

/* Legal pages */
.legal .legal__main { max-width: 760px; padding-block: 72px 96px; display: flex; flex-direction: column; gap: 16px; }
.legal h1 { font-weight: 900; font-size: clamp(34px, 4vw, 48px); letter-spacing: -.025em; line-height: 1.05; margin-bottom: 8px; }
.legal h2 { font-weight: 800; font-size: 24px; margin-top: 28px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; line-height: 1.6; }
.legal address { font-style: normal; color: var(--ink); font-size: 16px; line-height: 1.7; padding: 20px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; }
.legal address strong { font-family: var(--display); font-weight: 800; }

/* About page */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.about-hero { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 48px; align-items: center; padding-block: 96px 88px; }
.about-hero__copy { display: flex; flex-direction: column; gap: 20px; }
.about-hero h1 { font-weight: 900; font-size: clamp(38px, 5vw, 64px); line-height: 1.02; letter-spacing: -.03em; }
.collage { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; justify-self: end; }
.ph { position: absolute; display: flex; align-items: flex-end; padding: 14px 16px; border-radius: 20px; border: 6px solid var(--paper); box-shadow: 0 18px 40px -18px rgba(23,18,46,.35); font-size: 13px; font-weight: 700; color: var(--muted); }
img.ph { padding: 0; object-fit: cover; }
.ph--1 { top: 0; left: 6%; width: 58%; height: 46%; background: var(--lilac-bg); transform: rotate(-4deg); }
.ph--2 { top: 12%; right: 0; width: 44%; height: 38%; background: var(--sun-1); transform: rotate(5deg); z-index: 1; }
.ph--3 { bottom: 4%; left: 0; width: 46%; height: 42%; background: var(--lilac-soft); transform: rotate(3deg); z-index: 2; }
.ph--4 { bottom: 0; right: 6%; width: 52%; height: 44%; background: var(--lilac-bg); transform: rotate(-3deg); z-index: 1; }
.about-who__text { margin: 0; max-width: 34em; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.45; letter-spacing: -.01em; }
/* hand-drawn highlighter: uneven ends, sits low behind the word */
.hl { background: linear-gradient(100deg, transparent .5%, var(--lilac-soft) 2.5%, var(--lilac-soft) 96%, transparent 99%) 0 85% / 100% 62% no-repeat; border-radius: .5em .2em .55em .25em; padding: 0 .14em; margin: 0 -.06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.about-gap { display: flex; flex-direction: column; gap: 40px; }
.about-gap__intro { font-family: var(--body); font-weight: 600; font-size: clamp(19px, 1.8vw, 22px); line-height: 1.5; color: var(--on-dark); max-width: 36em; }
.about-gap__cols { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; }
.about-gap__side { margin: 0; padding: 36px; border-radius: 24px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; }
.about-gap__statement { margin: 16px auto 0; max-width: 24ch; text-align: center; font-family: var(--display); font-weight: 900; font-size: clamp(28px, 3.8vw, 48px); line-height: 1.1; letter-spacing: -.02em; }
.about-gap__statement em { font-style: normal; color: var(--lilac); }
.about-clients { display: flex; flex-direction: column; gap: 56px; }
.about-clients__text { margin: 0; max-width: 46em; font-size: clamp(18px, 1.7vw, 21px); }
.logowall { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 44px 40px; }
.logowall__group { display: flex; flex-direction: column; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.logowall__label { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.logowall__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.logowall__logos img { height: 34px; width: auto; max-width: 130px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .2s, opacity .2s; }
.logowall__logos img:hover { filter: none; opacity: 1; }
.logowall__logos img.logowall__tall { height: 52px; } /* square logos read too small at the wide-logo height */
.logowall__logos img.logowall__opaque { mix-blend-mode: multiply; } /* logos on a white backdrop: let the page colour show through */
.about-how { display: flex; flex-direction: column; gap: 48px; }
.about-how__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.about-how__list li { display: flex; flex-direction: column; gap: 18px; padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: var(--bg); }
.about-how__list p { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(19px, 1.8vw, 22px); line-height: 1.3; }
.about-how__icon { width: 44px; height: 44px; fill: none; stroke: var(--link); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.about-eco { display: flex; flex-direction: column; gap: 40px; }
.about-eco__line { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(32px, 3.8vw, 50px); line-height: 1.05; letter-spacing: -.025em; }
.about-eco__word { color: var(--ink); transition: opacity .4s ease; }
@media (max-width: 600px) { .about-eco__line.is-cycling { min-height: 2.1em; } } /* phones: room for the two-line word, so the band doesn't jump */
.about-eco__word.is-out { opacity: 0; }
.about-eco__text { display: flex; flex-direction: column; gap: 18px; max-width: 40em; }
.about-eco__text p { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(19px, 1.7vw, 21px); line-height: 1.55; }
.about-cta .contact__lede { font-size: 20px; max-width: 34em; }
.about--anim .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.about--anim .reveal.is-in { opacity: 1; transform: none; }

/* Blog (pages generated by tools/build-blog.py) */
.post-list { padding-bottom: 96px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.post-card { position: relative; gap: 12px; background: var(--paper); transition: border-color .2s, box-shadow .2s; }
.post-card:hover { border-color: var(--lilac); box-shadow: 0 18px 40px -24px rgba(23,18,46,.35); }
.post-card__title { font-weight: 800; font-size: 22px; line-height: 1.25; letter-spacing: -.01em; }
.post-card__link { align-self: flex-start; margin-top: auto; padding-top: 10px; }
.post-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* the whole card is the link's tap target */
.post-card__link:focus-visible { outline: none; }
.post-card:has(.post-card__link:focus-visible) { outline: 2px solid var(--link); outline-offset: 3px; }
.post { max-width: 768px; padding-block: 64px 96px; }
.post__head { display: flex; flex-direction: column; gap: 18px; padding-bottom: 40px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.post__back { align-self: flex-start; font-weight: 700; font-size: 15px; }
.post__head h1 { font-weight: 900; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -.025em; }
.post__body { font-size: 18px; line-height: 1.7; color: var(--muted); }
.post__body h2 { margin: 48px 0 16px; font-weight: 900; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; letter-spacing: -.015em; color: var(--ink); }
.post__body h2::before { content: ""; display: block; width: 32px; height: 3px; border-radius: 2px; background: var(--accent); margin-bottom: 14px; }
.post__body h3 { margin: 32px 0 10px; font-weight: 800; font-size: 21px; color: var(--ink); }
.post__body p + p { margin-top: 18px; }
.post__body a { text-decoration: underline; text-underline-offset: 3px; }
.post__body ul, .post__body ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 12px; }
.post__body li::marker { color: var(--accent); }
.post__body ul:has(> .has-lead) { list-style: none; padding: 0; gap: 14px; }
.post__body li.has-lead { padding: 22px 26px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 16px; }
.post__body li.has-lead > strong:first-child { display: block; margin-bottom: 4px; font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1.3; color: var(--ink); }
.post__body strong { color: var(--ink); }
.post-more { display: flex; flex-direction: column; gap: 32px; }
.about-blog__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; }

/* Responsive */
@media (max-width: 900px) {
  .post { padding-block: 40px 72px; }
  .post__head { padding-bottom: 28px; }
  .post__body { font-size: 17px; }
  .post__body h2 { margin-top: 40px; }
  .post__body li.has-lead { padding: 18px 20px; }
  .post-list { padding-bottom: 72px; }
  .about-hero { grid-template-columns: minmax(0,1fr); padding-block: 64px 56px; }
  .collage { justify-self: center; max-width: 420px; }
  .about-gap__cols, .about-how__list { grid-template-columns: minmax(0,1fr); }
  .about-gap__side, .about-how__list li { padding: 28px 24px; }
  .about-gap__statement { text-align: left; margin-left: 0; }
  .logowall { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 36px 24px; }
  .svc__grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .svc__aside { position: static; max-height: none; overflow: visible; padding: 32px 24px; }
  .svc__nav { flex-direction: row; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
  .svc__nav a { padding: 8px 14px; font-size: 15px; color: var(--on-dark); border: 1.5px solid rgba(255,255,255,.22); border-radius: 999px; }
  .svc__nav a::before { display: none; }
  .svc__nav a[aria-current] { color: #fff; border-color: var(--accent); background: rgba(140,82,255,.22); }
  .svc__item, .svc__item:first-child { padding-block: 32px; }
  .why, .teaser, .contact, .product { grid-template-columns: minmax(0,1fr); }
  .product--rlh .product__visual { order: 1; }
  .product--rlh .product__body { order: 2; }
  .product__visual { min-height: 260px; }
  .product__body { padding: 32px 28px; }
  .teaser { padding: 32px 28px; }
  .statement { padding: 36px 28px; }
  .hero__body { padding-block: 80px 72px; }
  .section { padding-block: 72px 64px; }
  .contact { padding-block: 72px; }
  .nav { flex-wrap: wrap; gap: 12px 24px; }
  .nav__links { gap: 18px; flex-wrap: wrap; }
  .nav__links a { display: inline-block; padding-block: 6px; }
  .footer__links a { display: inline-block; padding-block: 6px; }
}
