/* IPCI prototype. Brand tokens from ipci.pt (Elementor kit): black, #FFF200 yellow, #414141 grey, Roboto. */
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(fonts/roboto-latin.woff2) format('woff2'); }
:root {
  --ink: #0b0b0b; --graphite: #1c1c1c; --graphite-2: #262626; --grey: #414141; --mute: #a3a3a3;
  --yellow: #fff200; --yellow-ink: #141400; --paper: #f2f2ee; --white: #fafaf7; --line: rgba(255,255,255,.14);
  --radius: 4px; --wrap: 1240px;
  --font: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--white); background: var(--ink); text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 780px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 8px 14px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.small, small { font-size: .875rem; color: var(--mute); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .8em 1.4em; border-radius: var(--radius); font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .15s ease, background-color .2s ease, color .2s ease; font-family: inherit; }
.btn:active { transform: translateY(1px); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-black { background: var(--ink); color: var(--yellow); }
.btn-black:hover { background: var(--grey); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--yellow); }
.btn-block { width: 100%; justify-content: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--yellow); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.linklike { background: none; border: 0; color: var(--yellow); font: inherit; text-decoration: underline; cursor: pointer; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.brand img { height: 46px; width: auto; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; }
.nav a:not(.btn) { display: block; padding: 10px 12px; text-decoration: none; font-weight: 500; color: #e9e9e4; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--yellow); border-bottom-color: var(--yellow); }
.nav-cta { margin-left: 10px; }
.menu-toggle { display: none; align-items: center; gap: 6px; background: none; border: 1px solid var(--line); color: #fff; padding: 8px 12px; border-radius: var(--radius); font: inherit; cursor: pointer; }
.menu-toggle .icon { width: 22px; height: 22px; }
@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: absolute; inset: 72px 0 auto 0; background: var(--ink); border-bottom: 2px solid var(--yellow); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 8px 20px 20px; gap: 0; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-cta { margin: 14px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .brand img { height: 38px; }
}

/* sections */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.bg-ink { background: var(--ink); }
.bg-graphite { background: var(--graphite); }
.bg-yellow { background: var(--yellow); color: var(--ink); }
.bg-paper { background: var(--paper); color: #1d1d1b; }
.section-title { margin-bottom: 28px; }
.section-lead { max-width: 62ch; color: #cfcfca; margin-top: -12px; margin-bottom: 28px; }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--ink); isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,11,.9) 0%, rgba(11,11,11,.45) 55%, rgba(11,11,11,.8) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; min-height: min(calc(100dvh - 72px), 760px); padding: 56px 0; }
.hero-copy .lead { font-size: 1.2rem; color: #deded8; max-width: 46ch; }
.hero-copy h1 { max-width: 16ch; }
.next-up { background: rgba(11,11,11,.78); border: 1px solid var(--line); border-top: 4px solid var(--yellow); border-radius: var(--radius); padding: 24px; backdrop-filter: blur(6px); }
.next-up h2 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--yellow); margin-bottom: 12px; }
.next-up ol { list-style: none; margin: 0 0 16px; padding: 0; }
.next-up li + li { border-top: 1px solid var(--line); }
.next-up li a { display: grid; grid-template-columns: 110px 1fr; column-gap: 14px; padding: 12px 0; text-decoration: none; }
.next-up li a:hover span { color: var(--yellow); }
.next-up time { grid-row: span 2; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.next-up span { font-weight: 600; line-height: 1.3; }
.next-up small { color: var(--mute); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 28px; padding: 40px 0 48px; } .next-up li a { grid-template-columns: 96px 1fr; } }

/* areas */
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.area { position: relative; display: block; min-height: 360px; border-radius: var(--radius); overflow: hidden; text-decoration: none; isolation: isolate; }
.area img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.area::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,11,11,.1) 20%, rgba(11,11,11,.9) 100%); }
.area:hover img { transform: scale(1.03); }
.area-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; }
.area-copy h3 { font-size: 1.8rem; margin-bottom: 6px; }
.area-copy p { color: #e2e2dc; max-width: 42ch; }
.level-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 24px 0 0; }
.level-pills a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 500; }
.level-pills a:hover { border-color: var(--yellow); color: var(--yellow); }
@media (max-width: 800px) { .areas { grid-template-columns: 1fr; } .area { min-height: 280px; } }

/* support band */
.support { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; }
.support-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.support-list li { border-top: 3px solid var(--ink); padding-top: 14px; }
.support-list p { margin: 0; font-size: .97rem; }
@media (max-width: 900px) { .support, .support-list { grid-template-columns: 1fr; gap: 20px; } }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split p { color: #d9d9d3; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* people */
.people { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 20px; }
.person { display: grid; gap: 10px; font-weight: 600; font-size: .95rem; }
.person img, .person-ph { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); filter: grayscale(1); transition: filter .3s; }
.person:hover img { filter: none; }
.person-ph { display: grid; place-items: center; background: var(--grey); color: var(--yellow); font-size: 1.6rem; font-weight: 800; }
.people-sm { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 14px; margin-bottom: 20px; }

/* news */
.news { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news a { display: grid; gap: 10px; text-decoration: none; }
.news img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.news time { color: var(--yellow); font-size: .9rem; font-weight: 600; }
.news h2, .news h3 { font-size: 1.15rem; margin: 0; }
.news p { color: #cfcfca; font-size: .95rem; margin: 0; }
.news a:hover h2, .news a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) { .news { grid-template-columns: 1fr; } }

/* contact band */
.contact-band .row { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.contact-band h2 { margin-bottom: 6px; }
.contact-band p { margin: 0; }

/* page heads */
.page-head { background: var(--ink); padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 4vw, 48px); border-bottom: 4px solid var(--yellow); }
.page-head .lead { color: #d6d6d0; font-size: 1.15rem; max-width: 60ch; }
.page-head time { color: var(--yellow); font-weight: 600; }
.crumbs { font-size: .9rem; color: var(--mute); margin-bottom: 14px; }
.crumbs a { color: #e6e6e0; }

/* catalogue */
.filters { display: grid; gap: 12px; margin-top: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { font: inherit; font-size: .95rem; font-weight: 500; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: #fff; cursor: pointer; }
.chips button:hover { border-color: var(--yellow); }
.chips button[aria-pressed="true"] { background: var(--yellow); color: var(--ink); border-color: var(--yellow); font-weight: 700; }
.result-count { color: var(--mute); margin-bottom: 20px; }
.course-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.course-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--graphite-2); border-radius: var(--radius); overflow: hidden; transition: transform .2s ease; }
.course-card a:hover { transform: translateY(-3px); }
.course-card a:hover h2, .course-card a:hover h3 { color: var(--yellow); }
.cc-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--grey); }
.cc-media img { width: 100%; height: 100%; object-fit: cover; }
.cc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cc-level { font-size: .82rem; font-weight: 600; color: var(--mute); }
.course-card h2, .course-card h3 { font-size: 1.2rem; margin: 0; }
.cc-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: #d6d6d0; font-size: .92rem; margin: 0; }
.cc-meta .icon { color: var(--yellow); }
.cc-price { margin: auto 0 0; padding-top: 8px; font-weight: 800; font-size: 1.15rem; color: var(--yellow); }
.cc-price small { font-weight: 400; color: var(--mute); }
.empty { padding: 32px 0; }
@media (max-width: 1000px) { .course-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .course-grid { grid-template-columns: 1fr; } }

/* course page */
.course-hero { position: relative; isolation: isolate; padding: clamp(48px, 7vw, 96px) 0 40px; overflow: hidden; }
.course-hero-media { position: absolute; inset: 0; z-index: -1; }
.course-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.course-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,11,.95), rgba(11,11,11,.6)); }
.course-hero h1 { max-width: 20ch; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 8px 0 28px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; background: var(--yellow); color: var(--ink); padding: 8px 14px; border-radius: var(--radius); font-weight: 700; }
.price-tag { font-size: 1.4rem; font-weight: 800; color: #fff; }
.price-tag small { font-weight: 400; }
.course-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr) 280px; gap: 36px; padding: 48px 0 72px; }
.toc { min-width: 0; }
.toc ul { list-style: none; margin: 0; padding: 0; position: sticky; top: 96px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 7px 14px; text-decoration: none; color: #cfcfca; font-size: .95rem; margin-left: -2px; border-left: 2px solid transparent; }
.toc a:hover, .toc a.active { color: var(--yellow); border-left-color: var(--yellow); }
.course-body { min-width: 0; }
.course-body > section { padding: 28px 32px; background: var(--paper); color: #1d1d1b; border-radius: var(--radius); margin-bottom: 16px; scroll-margin-top: 96px; }
.prose h2 { margin-bottom: 16px; }
.prose h3 { margin: 24px 0 8px; font-size: 1.05rem; text-transform: none; }
.prose ul.ticks { padding-left: 1.2em; margin: 0 0 1em; }
.prose ul.ticks li { margin-bottom: .35em; }
.prose ul.ticks li::marker { color: var(--grey); }
.course-body .note { border-left: 4px solid var(--yellow); background: #fff; padding: 12px 16px; }
.on-dark ul.ticks li::marker { color: var(--yellow); }
.on-dark p { color: #d9d9d3; }
.gallery { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 860px) {
  .course-layout { grid-template-columns: 1fr; gap: 16px; padding-top: 24px; }
  .toc ul { position: static; display: flex; overflow-x: auto; border-left: 0; border-bottom: 2px solid var(--line); gap: 4px; scrollbar-width: none; }
  .toc a { white-space: nowrap; margin: 0 0 -2px; border-left: 0; border-bottom: 2px solid transparent; }
  .toc a:hover, .toc a.active { border-bottom-color: var(--yellow); }
  .course-body > section { padding: 22px 18px; }
}

/* enrolment / forms */
.enrol { border-top: 4px solid var(--yellow); scroll-margin-top: 72px; }
.enrol-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.enrol-copy p { color: #d6d6d0; }
.enrol-contacts { list-style: none; margin: 20px 0; padding: 0; display: grid; gap: 10px; }
.enrol-contacts a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; }
.enrol-contacts a:hover { color: var(--yellow); }
.enrol-contacts .icon { color: var(--yellow); }
.hours { padding-left: 1.2em; color: #d6d6d0; }
.form-card { background: var(--paper); color: #1d1d1b; border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; }
.form-card h2 { margin: 0; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .field legend { font-weight: 600; font-size: .95rem; }
.field input:not([type=radio]):not([type=checkbox]), .field select, .field textarea, .newsletter input[type=email], .newsletter input[type=text] {
  width: 100%; font: inherit; font-size: 16px; padding: 11px 12px; border: 1.5px solid #8a8a84; border-radius: var(--radius); background: #fff; color: #1d1d1b; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.req { color: #b3261e; }
.choices { display: grid; gap: 8px; margin-top: 4px; }
.choice { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid #c9c9c2; border-radius: var(--radius); background: #fff; cursor: pointer; font-weight: 500; }
.choice:has(input:checked) { border-color: var(--ink); background: #fffbb3; }
.choice input, .check input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: .95rem; }
.field-error { color: #b3261e; font-size: .9rem; min-height: 0; }
.field-error:empty { display: none; }
.form-summary { background: #fdecea; color: #8c1d18; padding: 10px 14px; border-radius: var(--radius); margin: 0; }
.form-note { margin: 0; font-size: .875rem; color: #555550; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) { .enrol-grid { grid-template-columns: 1fr; gap: 28px; } .field-row { grid-template-columns: 1fr; } .form-card { padding: 20px 16px; } }

/* thanks */
.thanks { min-height: 60vh; }
.summary { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; background: var(--graphite); padding: 18px 20px; border-radius: var(--radius); margin: 0 0 18px; }
.summary dt { color: var(--mute); }
.summary dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

/* team page */
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.member { display: grid; grid-template-columns: 120px 1fr; gap: 18px; background: var(--graphite-2); padding: 16px; border-radius: var(--radius); scroll-margin-top: 90px; }
.member img, .member .person-ph { width: 120px; height: 120px; object-fit: cover; border-radius: var(--radius); }
.member h2 { font-size: 1.15rem; margin-bottom: 6px; }
.member details summary { cursor: pointer; color: var(--yellow); font-weight: 600; }
.member details p { font-size: .95rem; color: #d6d6d0; margin-top: 8px; }
.teaches { font-size: .9rem; color: var(--mute); margin: 8px 0 0; }
.teaches a { color: #e6e6e0; }
@media (max-width: 860px) { .team { grid-template-columns: 1fr; } .member { grid-template-columns: 88px 1fr; } .member img, .member .person-ph { width: 88px; height: 88px; } }

/* posts */
.post-cover img { width: 100%; border-radius: var(--radius); }
.post-cover { margin: 0 0 24px; }
.bg-paper .prose a { color: #1d1d1b; }
.bg-paper .link-arrow { color: #1d1d1b; }

/* footer */
.site-footer { background: #000; padding: 64px 0 28px; border-top: 4px solid var(--yellow); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 36px; }
.footer-logo { height: 48px; width: auto; margin-bottom: 16px; }
.site-footer h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--yellow); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: #e6e6e0; }
.site-footer a:hover { color: var(--yellow); }
.site-footer p { color: #bdbdb7; font-size: .95rem; }
.social { display: flex !important; flex-wrap: wrap; gap: 14px !important; }
.newsletter { display: grid; gap: 8px; }
.newsletter label { font-size: .9rem; font-weight: 600; }
.newsletter .check { font-weight: 400; color: #d6d6d0; }
.newsletter .check a { text-decoration: underline; }
.newsletter .field-error { color: #ff8a80; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; font-size: .85rem; color: var(--mute); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* whatsapp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.wa-float .icon { width: 30px; height: 30px; }

/* course: sticky enrol box + mobile bar */
.enrol-aside { min-width: 0; }
.ea-box { position: sticky; top: 96px; background: var(--graphite-2); border-top: 4px solid var(--yellow); border-radius: var(--radius); padding: 20px; display: grid; gap: 12px; }
.ea-title { font-weight: 700; font-size: 1.05rem; margin: 0; line-height: 1.3; }
.ea-line { display: flex; align-items: center; gap: 8px; margin: 0; color: #e6e6e0; }
.ea-line .icon { color: var(--yellow); }
.ea-prices { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .95rem; color: #d6d6d0; }
.ea-prices li + li { border-top: 1px solid var(--line); padding-top: 6px; }
.ea-wa { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; justify-content: center; }
.ea-wa:hover { color: var(--yellow); }
.more summary { cursor: pointer; font-weight: 700; padding: 10px 0; }
.mobile-enrol { display: none; }
@media (max-width: 1100px) {
  .course-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 24px; }
  .toc ul { position: static; display: flex; overflow-x: auto; border-left: 0; border-bottom: 2px solid var(--line); gap: 4px; scrollbar-width: none; }
  .toc a { white-space: nowrap; margin: 0 0 -2px; border-left: 0; border-bottom: 2px solid transparent; }
  .toc a:hover, .toc a.active { border-bottom-color: var(--yellow); }
  .enrol-aside { display: none; }
  .mobile-enrol { display: flex; position: sticky; bottom: 0; z-index: 30; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 20px; background: var(--ink); border-top: 2px solid var(--yellow); font-weight: 800; color: var(--yellow); }
  .mobile-enrol small { color: var(--mute); font-weight: 400; }
  .mobile-enrol ~ * .wa-float, body:has(.mobile-enrol) .wa-float { bottom: 84px; }
}

/* guideline fixes: tap behaviour, anchors clear the sticky header */
a, button, summary, label { touch-action: manipulation; -webkit-tap-highlight-color: rgba(255,242,0,.25); }
[id] { scroll-margin-top: 90px; }
