/* The ELARA website stylesheet (card #116). One file: fonts, brand tokens, the editorial look,
   then each component and page, scoped by its root class. Converted from the Astro site
   (16 Oct 2026), where these lived in each component's <style> block. */

/* Poppins 400, 500 and 600 (from @fontsource/poppins, OFL). woff2 only: every browser that
   runs this site's CSS reads it. Each subset loads only when a page uses its characters. */

/* poppins-devanagari-400-normal */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/site/fonts/poppins-devanagari-400-normal.woff2) format('woff2');
  unicode-range: U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09;
}

/* poppins-latin-ext-400-normal */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/site/fonts/poppins-latin-ext-400-normal.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;
}

/* poppins-latin-400-normal */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/site/fonts/poppins-latin-400-normal.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;
}

/* poppins-devanagari-500-normal */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/site/fonts/poppins-devanagari-500-normal.woff2) format('woff2');
  unicode-range: U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09;
}

/* poppins-latin-ext-500-normal */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/site/fonts/poppins-latin-ext-500-normal.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;
}

/* poppins-latin-500-normal */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/site/fonts/poppins-latin-500-normal.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;
}

/* poppins-devanagari-600-normal */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/site/fonts/poppins-devanagari-600-normal.woff2) format('woff2');
  unicode-range: U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09;
}

/* poppins-latin-ext-600-normal */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/site/fonts/poppins-latin-ext-600-normal.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;
}

/* poppins-latin-600-normal */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/site/fonts/poppins-latin-600-normal.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;
}

/* ELARA brand tokens and base styles (card #116).
   Palette from the handover §3. The light theme was agreed with Duane on 16 Oct 2026. Contrast on white:
   --ink 14.2:1, --body 7.2:1. Never use --marine as text on white (1.9:1). Use --pink only for
   accents, large text and the focus ring (4.33:1), not small text; small pink text uses --pink-text. */
:root {
  --white: #FFFFFF;
  --mist: #F5F0FD;
  --ink: #302546;
  --body: #58527B;
  --marine: #6FC8CC;
  --pink: #E91F64;
  --pink-text: #C2185B; /* the pink for small text: 5.9:1 on white, 5.3:1 on #F5F0FD */
  --night: #2F2847;
  --orb: linear-gradient(160deg, #3CD2F6 0%, #4C9CEC 30%, #5333D2 52%, #C12DB2 76%, #F5309A 100%);

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1200px;
  --gutter: 24px;
  --section: clamp(72px, 10vw, 128px);
  --shadow: 0 1px 0 rgb(48 37 70 / .06), 0 12px 32px rgb(48 37 70 / .07);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--body); font: 400 17px/1.6 var(--font); text-rendering: optimizeLegibility; }
img, svg, video, canvas { max-width: 100%; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 640px; text-wrap: pretty; }
a { color: var(--ink); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.alt { background: var(--mist); }
.eyebrow { color: var(--pink-text); font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
.lede { font-size: clamp(18px, 1.6vw, 20px); }
.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; }

.btn { display: inline-flex; align-items: center; gap: .5em; text-decoration: none; font: 600 15px/1 var(--font); border-radius: 999px; padding: 14px 24px; border: 0; cursor: pointer; transition: transform .15s var(--ease), box-shadow .15s var(--ease), border-color .15s; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 6px 18px rgb(48 37 70 / .18); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgb(48 37 70 / .24); }
.btn-secondary { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgb(48 37 70 / .25); }
.btn-secondary:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

.card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card p { font-size: 16px; margin: 0; }
.grid { display: grid; gap: 24px; }
/* minmax(0, 1fr): a column can shrink below its content's widest word, so nothing pushes the
   page sideways on small phones. */
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); } }

.note-bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 18px; background: #FFF8E1; color: #5A4500; font-size: 14px; text-align: center; padding: 8px 16px; }
.note-bar a { color: inherit; }
/* The preview's "Status tags" switch (tags.js): off hides every tag, the legend and the
   status notes beside them */
.tags-switch { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border: 1px solid rgb(90 69 0 / .35); border-radius: 999px; background: #fff; color: #5A4500; font: 600 14px var(--font); cursor: pointer; }
.tags-switch .track { position: relative; width: 30px; height: 18px; border-radius: 999px; background: #8F7B45; transition: background .2s; }
.tags-switch .track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s; }
.tags-switch[aria-checked="true"] .track { background: #1F6B36; }
.tags-switch[aria-checked="true"] .track::after { transform: translateX(12px); }
.tags-switch:focus-visible { outline: 3px solid #5A4500; outline-offset: 2px; }
.tags-off :is(.status, .status-legend, .p-home .tagline) { display: none !important; }
@media (prefers-reduced-motion: reduce) { .tags-switch .track, .tags-switch .track::after { transition: none; } }

/* Concept A's editorial look, shared by every page (card #116, Gate 4). Duane chose concept A
   on 16 Oct 2026; these rules were lifted out of its home page so inner pages match it. */

/* The eyebrow: ink-purple, sentence case, with a pink dot as the accent shape. (Pink text
   fails AA at 14px, 4.33:1.) */
.eyebrow { color: var(--body); text-transform: none; letter-spacing: .01em; font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); flex: none; }

/* Big editorial headings. */
/* Every section heading is one size (Duane, 19 Oct 2026). */
.display, .display.small { font-size: clamp(2.1rem, 1.2rem + 2.9vw, 3.5rem); letter-spacing: -0.035em; line-height: 1.05; }
.statement { max-width: 19em; font-size: clamp(1.75rem, .9rem + 2.9vw, 3.4rem); line-height: 1.16; letter-spacing: -0.03em; font-weight: 500; color: var(--ink); margin: 0; text-wrap: balance; }
.follow { font-size: clamp(18px, 1rem + .5vw, 22px); line-height: 1.5; max-width: 30em; margin: clamp(24px, 3vw, 36px) 0 0; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head .lede { margin-bottom: 0; }

/* A claim with its status tag, on one line where it fits. */
.claim { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; }

/* Bulleted lists with a marine dot. */
.dots { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dots li { position: relative; padding-left: 20px; line-height: 1.5; color: var(--ink); }
.dots li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--marine); }

/* Reveal on scroll (components/Reveal.astro): below the fold only, once, only when motion
   is OK. Without JS (or IntersectionObserver) nothing is hidden. */
.will-reveal { opacity: 0; transform: translateY(20px); }
.will-reveal.is-in { opacity: 1; transform: none; transition: opacity .55s var(--ease), transform .55s var(--ease); }
@media (prefers-reduced-motion: reduce) { .will-reveal { opacity: 1; transform: none; } }

/* Inner-page building blocks (Gate 4). */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 1100px) {
  /* header. first, to outrank the .page-header block further down */
  header.page-header.with-photo .wrap { grid-template-columns: minmax(0, 1fr); }
  header.page-header.with-photo .wrap > :is(.ph-photo, .ph-globe) { grid-column: 1; grid-row: auto; margin-top: 32px; }
  header.page-header .ph-photo img { aspect-ratio: 16 / 9; }
}
.card-a { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 26px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid rgb(48 37 70 / .08); }
.alt .card-a { border-color: transparent; }
.card-a h3 { margin: 0; font-size: 1.25rem; }
.card-a p { font-size: 16px; margin: 0; }
.plain-list { list-style: none; margin: 0; padding: 0; }
.link-more { font-weight: 600; text-decoration-color: var(--marine); text-decoration-thickness: 1.5px; }
.link-more:hover { text-decoration-color: var(--ink); }
.draft-note { display: inline-flex; align-items: center; gap: 8px; margin: 22px 0 0; font-size: 14px; color: var(--body); padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / .7); box-shadow: inset 0 0 0 1px rgb(48 37 70 / .12); max-width: none; }

/* Long-form text (legal pages, statements). */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); margin: 2em 0 .6em; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin: 1.4em 0 .4em; }
.prose p, .prose li { font-size: 16.5px; line-height: 1.7; }
/* A long email address wraps on a phone rather than widening the page */
a[href^="mailto:"] { overflow-wrap: anywhere; }
.prose p { max-width: none; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; display: grid; gap: 6px; }
.prose a { text-decoration-color: var(--marine); text-decoration-thickness: 1.5px; }
/* A detail ELARA still has to fill in or confirm. */
.tbc { background: #FFF1CC; color: #5A3A00; box-shadow: inset 0 -1px 0 #F2C94C; padding: 0 4px; border-radius: 4px; }
.draft-banner { display: flex; gap: 12px; align-items: flex-start; max-width: 760px; margin: 0 0 40px; padding: 16px 18px; border-radius: var(--radius); background: #FFF8E1; box-shadow: inset 0 0 0 1px #F2C94C; color: #5A4500; font-size: 15px; }
.draft-banner strong { color: #3D2E00; }
.draft-banner p { margin: 0; max-width: none; }

/* ===========================================================================================
   Components. Each block is one component, scoped by its root element's class (the Astro site
   scoped them automatically). Rules for the root itself come first, then its parts, nested.
   =========================================================================================== */

/* ---- Layout (Base) ---- */
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 50; text-decoration: none; }
.skip-link:focus { left: 8px; }

/* ---- Header: sticky, translucent; on phones the links move into a full-screen menu ---- */
.site-header {
  position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / .84); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgb(48 37 70 / .08);
  & .bar { display: flex; align-items: center; gap: 28px; height: 72px; }
  & .home { display: inline-block; width: 132px; flex: none; }
  & .main-nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; font-size: 15px; font-weight: 500; }
  & .main-nav a { text-decoration: none; color: var(--ink); opacity: .82; }
  & .main-nav a:hover, & .main-nav a[aria-current="page"] { opacity: 1; }
  & .main-nav a[aria-current="page"] { box-shadow: 0 2px 0 var(--pink); }
  & .book { margin-left: auto; padding: 12px 20px; }
  & .menu-button { display: none; background: none; border: 0; color: var(--ink); padding: 10px; margin-right: -10px; cursor: pointer; border-radius: 10px; }
}
.mobile-menu {
  position: fixed; inset: 0; background: var(--white); z-index: 30; overflow-y: auto;
  & .close-button { display: none; background: none; border: 0; color: var(--ink); padding: 10px; margin-right: -10px; cursor: pointer; border-radius: 10px; }
  & .wrap { padding-top: 16px; padding-bottom: 40px; display: grid; gap: 28px; }
  & .close-button { display: block; justify-self: end; }
  & ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
  & nav a { display: block; padding: 12px 0; font-size: 1.6rem; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid rgb(48 37 70 / .08); }
  & .btn { justify-self: start; }
}
@media (max-width: 900px) {
  .site-header .main-nav, .site-header .book { display: none; }
  .site-header .menu-button { display: block; margin-left: auto; }
  .site-header .bar { height: 64px; }
  .site-header .home { width: 116px; }
}

/* ---- Footer: dark (#2F2847) ---- */
.site-footer {
  background: var(--night); color: var(--mist); padding: 64px 0 40px; font-size: 15px;
  & .bottom { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
  & .bottom .legal { margin: 0; }
  & .motion { background: none; border: 1px solid rgb(245 240 253 / .35); color: var(--mist); border-radius: 999px; font: 500 14px/1 var(--font); padding: 8px 14px; cursor: pointer; }
  & .motion:hover { border-color: rgb(245 240 253 / .7); }
  & .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; align-items: start; }
  & .logo img { width: 170px; height: auto; display: block; }
  & h2 { color: var(--mist); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin: 0 0 14px; opacity: .7; }
  & ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
  & a { color: var(--mist); text-decoration: none; opacity: .88; }
  & a:hover { opacity: 1; text-decoration: underline; }
  & .country { margin-top: 48px; padding-top: 28px; border-top: 1px solid rgb(245 240 253 / .14); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start; }
  /* On the dark footer, a fine light edge keeps the flag's black half visible */
  & .country .flag { width: 84px; height: 42px; box-shadow: 0 0 0 1px rgb(245 240 253 / .4); }
  & .country p { font-size: 14px; max-width: 820px; opacity: .85; margin: 0; }
  & .legal { margin: 28px 0 0; font-size: 14px; opacity: .65; max-width: none; }
}
/* Home has the whole Acknowledgement just above the footer, so the footer doesn't repeat it
   (Duane, 25 Oct 2026: it "appears x2 on mobile") */
main.p-home + .site-footer .country { display: none; }
@media (prefers-reduced-motion: reduce) { .site-footer .motion { display: none; } }
@media (max-width: 900px) { .site-footer .top { grid-template-columns: 1fr 1fr; } .site-footer .logo { grid-column: 1 / -1; } }

/* ---- Page header: the top of every inner page ---- */
.page-header {
  position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid rgb(48 37 70 / .07);
  & .glow { position: absolute; width: 560px; height: 560px; right: -160px; top: -220px; border-radius: 50%; background: var(--orb); opacity: .16; filter: blur(70px); }
  & .wrap { position: relative; }
  & .crumbs { display: flex; gap: 10px; font-size: 14px; margin-bottom: 28px; color: var(--body); }
  & .crumbs a { color: var(--body); }
  & h1 { max-width: 16ch; font-size: clamp(2.6rem, 1.3rem + 4.2vw, 4.75rem); letter-spacing: -0.04em; line-height: 1.02; }
  /* With a photo: the words in the first column, the photo beside them */
  &.with-photo .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); column-gap: clamp(32px, 4vw, 64px); align-items: start; }
  &.with-photo .wrap > * { grid-column: 1; }
  /* Level with the heading (row 3, after the breadcrumb and eyebrow) */
  &.with-photo .wrap > :is(.ph-photo, .ph-globe) { grid-column: 2; grid-row: 3 / span 10; align-self: start; margin: 0; }
  /* The globe in place of a photo (About, Duane, 21 Oct 2026), centred on the words */
  &.with-photo .wrap > .ph-globe { align-self: center; }
  /* 3:2, kept to the left, where the lecturer sits in Applications' photo */
  & .ph-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 15% 50%; border-radius: clamp(18px, 2.4vw, 28px); box-shadow: 0 30px 60px -36px rgb(48 37 70 / .5); }
  & h1.long { max-width: 20ch; font-size: clamp(2.2rem, 1.2rem + 3vw, 3.6rem); line-height: 1.06; }
  & .lede { max-width: 680px; }
}

/* ---- In-page navigation: a sticky "on this page" bar ---- */
.in-page {
  position: sticky; top: 72px; z-index: 10; background: rgb(255 255 255 / .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgb(48 37 70 / .07);
  & ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
  & a { display: block; white-space: nowrap; text-decoration: none; color: var(--body); font-size: 14px; font-weight: 500; padding: 6px 12px; border-radius: 999px; }
  & a:hover { color: var(--ink); background: var(--mist); }
  & a.active { color: var(--ink); background: var(--mist); box-shadow: inset 0 0 0 1px rgb(48 37 70 / .1); }
}
@media (max-width: 900px) { .in-page { top: 64px; } }
/* On wider screens every item shows, on two rows if needed (a scroll there is easy to miss). */
@media (min-width: 901px) { .in-page ul { flex-wrap: wrap; row-gap: 2px; overflow-x: visible; } }

/* ---- Status tag and its legend ---- */
.status { display: inline-block; font: 600 14px/1.45 var(--font); letter-spacing: .03em; border-radius: 999px; padding: 1px 10px; vertical-align: middle; white-space: nowrap; }
.status-available { color: #0F5E3A; background: #DDF5E9; }
.status-development { color: #3B2A7A; background: #ECE6FF; }
.status-planned { color: #4A4560; background: #EEECF3; }
.status-pending { color: #7A4A00; background: #FFF1CC; box-shadow: inset 0 0 0 1px #F2C94C; }
.status-legend {
  list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px;
  & li { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
}

/* ---- Section colours and icons (section labels, and Home's configuration groups) ----
   Each section's colour, by its id, so it moves with the section. Text on its box is at least
   5.7:1. The outline keeps a box visible on the mist sections. */
.tone-overview, .tone-mission { --tone-bg: #EEE9FB; --tone-ink: #3A2D5C; }
.tone-what { --tone-bg: #EEE9FB; --tone-ink: #3B23A0; }
.tone-professional-frameworks { --tone-bg: #E3E8F5; --tone-ink: #2B3F72; }
.tone-client-libraries, .tone-higher-education { --tone-bg: #DDF6FD; --tone-ink: #0B5E73; }
.tone-intervention { --tone-bg: #E9E4FB; --tone-ink: #3B23A0; }
.tone-assessment, .tone-advisory { --tone-bg: #FFEBD9; --tone-ink: #8A3F00; }
.tone-simulator, .tone-government { --tone-bg: #E0EEFC; --tone-ink: #1A5598; }
.tone-supervision, .tone-directors { --tone-bg: #DDF3F4; --tone-ink: #17595C; }
.tone-deliberate-practice, .tone-workforce { --tone-bg: #E2F4E6; --tone-ink: #1F6B36; }
.tone-dashboards { --tone-bg: #F7E1F4; --tone-ink: #84207A; }
.tone-research { --tone-bg: #FDE2EF; --tone-ink: #9C1559; }
.tone-advanced-clinical { --tone-bg: #FDE2EF; --tone-ink: #9C1559; }
.section-badge {
  display: inline-flex; align-items: center; gap: 18px; margin: 0 0 26px; padding: 10px 32px 10px 12px; max-width: none;
  border-radius: 48px; color: var(--tone-ink);
  background: linear-gradient(100deg, var(--tone-bg) 0%, var(--tone-bg) 40%, #fff 100%);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--tone-ink) 20%, transparent), 0 14px 30px -16px color-mix(in srgb, var(--tone-ink) 55%, transparent);
  font-size: clamp(20px, 1rem + .8vw, 27px); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em;
  & .badge-art { position: relative; flex: none; width: 70px; height: 70px; margin: -6px 0; }
  & .living-orb { display: block; width: 70px; height: 70px; }
  & .living-orb img { display: block; width: 100%; height: 100%; }
}
@media (max-width: 600px) {
  .section-badge { gap: 14px; padding: 8px 22px 8px 10px; }
  .section-badge .badge-art, .section-badge .living-orb { width: 56px; height: 56px; }
}
.part-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.part-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--tone-bg); color: var(--tone-ink); }


/* ---- Closing call to action ---- */
.closing {
  position: relative; overflow: hidden; text-align: center;
  & .glow { position: absolute; left: 50%; top: 50%; width: min(820px, 130vw); aspect-ratio: 1; translate: -50% -50%; background: var(--orb); opacity: .16; pointer-events: none;
    -webkit-mask-image: radial-gradient(closest-side, #000 15%, transparent 100%); mask-image: radial-gradient(closest-side, #000 15%, transparent 100%); }
  & .closing-inner { position: relative; }
  & .closing-mark { display: block; width: 72px; height: 72px; margin: 0 auto 28px; }
  & h2 { max-width: 15em; margin-left: auto; margin-right: auto; }
  & .lede { margin: 0 auto; max-width: 32em; }
  & .ctas { justify-content: center; margin-top: 32px; }
}

/* ---- Placeholder: a marked gap for content ELARA will supply ---- */
.placeholder {
  border: 2px dashed rgb(88 82 123 / .35); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 64px) clamp(24px, 5vw, 56px); text-align: center; background: rgb(255 255 255 / .55);
  & .ph-flag { display: inline-block; font: 600 14px/1.5 var(--font); letter-spacing: .03em; color: #7A4A00; background: #FFF1CC; box-shadow: inset 0 0 0 1px #F2C94C; border-radius: 999px; padding: 2px 12px; margin: 0 0 18px; max-width: none; }
  & .ph-title { font-size: clamp(2.1rem, 1.2rem + 2.9vw, 3.5rem); letter-spacing: -0.035em; line-height: 1.05; }
  & .ph-body p { margin: 0 auto 10px; max-width: 36em; }
  & .ph-body p:last-child { margin-bottom: 0; }
  & .ph-body ul { display: inline-grid; text-align: left; gap: 6px; margin: 8px auto 0; padding-left: 1.2em; }
  /* Supplied: ELARA's words are in, so no dashes (About, Duane, 21 Oct 2026) */
  &.supplied { border: 1px solid rgb(48 37 70 / .08); background: var(--white); }
  & .ph-logo { display: block; width: 200px; height: auto; margin: 0 auto 22px; }
}

/* ---- Acknowledgement of Country (home) ---- */
.ack {
  padding: 56px 0; border-top: 1px solid rgb(48 37 70 / .08);
  & .inner { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
  & h2 { font-size: 1.15rem; letter-spacing: 0; margin-bottom: .4em; }
  & p { font-size: 16px; max-width: 780px; margin: 0; }
}

/* The flags beside the Acknowledgement (Home and footer); never stretched or recoloured.
   Larger since 21 Oct 2026 (Duane). */
.flags { display: flex; gap: 10px; }
.flag { display: block; flex: none; width: 120px; height: 60px; margin-top: 4px; }
/* On phones the flag sits above the words, so they keep a readable width */
@media (max-width: 600px) { .ack .inner { grid-template-columns: minmax(0, 1fr); gap: 16px; } .ack .flag { width: 96px; height: 48px; } }

/* ---- Partner strip: logos with each partner's permission ---- */
.partners {
  padding: 40px 0 72px;
  & .head { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 22px; }
  & h2 { font-size: .875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--body); font-weight: 600; margin: 0; }
  & .toggle { background: none; border: 1px solid rgb(48 37 70 / .2); color: var(--body); border-radius: 999px; font: 500 14px/1 var(--font); padding: 6px 12px; cursor: pointer; }
  & .viewport { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  & .track { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; width: max-content; animation: partners-scroll 40s linear infinite; }
  &:hover .track, &:focus-within .track, &.paused .track { animation-play-state: paused; }
  & .logo { flex: none; width: 170px; height: 64px; display: grid; place-items: center; }
  & .logo img { max-width: 140px; max-height: 44px; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
  & .logo:hover img { filter: none; opacity: 1; }
  & .logo-placeholder { width: 100%; height: 100%; display: grid; place-items: center; border-radius: 10px; border: 1.5px dashed rgb(88 82 123 / .35); font-size: 14px; color: var(--body); }
}
@keyframes partners-scroll { to { transform: translateX(calc(-50% - 10px)); } }
@media (prefers-reduced-motion: reduce) {
  .partners .toggle { display: none; }
  .partners .viewport { mask-image: none; -webkit-mask-image: none; }
  .partners .track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter); }
  .partners .logo[aria-hidden="true"] { display: none; }
}

/* ---- Globe: the spinning dotted globe and its gold star ---- */
.globe {
  position: relative; width: 100%; max-width: var(--globe-size); aspect-ratio: 1; margin: 0 auto;
  &::before { content: ""; position: absolute; inset: 6%; border-radius: 50%;
    background: radial-gradient(circle at 45% 40%, rgb(60 210 246 / .22), rgb(83 51 210 / .16) 45%, rgb(245 48 154 / .14) 65%, transparent 72%); filter: blur(36px); }
  & canvas { position: relative; width: 100%; height: 100%; display: block; }
  & .globe-pause { position: absolute; right: 2%; bottom: 4%; z-index: 2; background: rgb(255 255 255 / .85); border: 1px solid rgb(48 37 70 / .2); color: var(--body); border-radius: 999px; font: 500 14px/1 var(--font); padding: 7px 12px; cursor: pointer; }
  & .globe-pause:hover { color: var(--ink); border-color: rgb(48 37 70 / .4); }
  & figcaption { position: absolute; left: 0; right: 0; bottom: -8px; text-align: center; font-size: 14px; color: var(--body); }
}
@media (prefers-reduced-motion: reduce) { .globe .globe-pause { display: none; } }

/* ---- Client strip: a slowly drifting row of simulated clients ---- */
.clients {
  margin-top: clamp(40px, 6vw, 72px);
  & .head { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: var(--max); margin: 0 auto 20px; padding: 0 var(--gutter); }
  & h3 { font-size: 1.05rem; margin: 0; letter-spacing: 0; }
  & .toggle { background: none; border: 1px solid rgb(48 37 70 / .2); color: var(--body); border-radius: 999px; font: 500 14px/1 var(--font); padding: 6px 12px; cursor: pointer; }
  & .viewport { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
  & .viewport:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; }
  & .track { display: flex; align-items: flex-start; gap: 22px; list-style: none; margin: 0; padding: 6px 0 10px; width: max-content; animation: clients-drift 60s linear infinite; }
  &:hover .track, &:focus-within .track, &.paused .track { animation-play-state: paused; }
  & .client { flex: none; width: 200px; display: grid; align-content: start; gap: 4px; justify-items: center; text-align: center; }
  & .ring { display: block; width: 180px; height: 180px; padding: 3px; border-radius: 28px; background: var(--orb); box-shadow: 0 12px 28px rgb(48 37 70 / .12); margin-bottom: 10px; }
  & .ring img { width: 100%; height: 100%; border-radius: 25px; object-fit: cover; display: block; background: var(--mist); }
  & .client strong { color: var(--ink); font-size: 16px; font-weight: 600; }
  & .meta { font-size: 14px; line-height: 1.4; color: var(--body); max-width: 190px; }
  & .note { max-width: var(--max); margin: 14px auto 0; padding: 0 var(--gutter); font-size: 14px; color: var(--body); }
}
html.motion-paused .clients .track { animation-play-state: paused; }  /* the site's Pause animations switch */
@keyframes clients-drift { to { transform: translateX(calc(-50% - 11px)); } }
@media (prefers-reduced-motion: reduce) {
  .clients .toggle { display: none; }
  .clients .viewport { overflow-x: auto; scroll-snap-type: x mandatory; mask-image: none; -webkit-mask-image: none; padding: 0 var(--gutter); }
  .clients .track { animation: none; }
  .clients .client { scroll-snap-align: start; }
  .clients .client[aria-hidden="true"] { display: none; }
}

/* ---- Learner journey: seven steps beside real ELARA screens ---- */
.moments {
  & .wide { max-width: 1320px; }
  & .intro { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 5vw, 72px); }
  & .intro h2 { font-size: clamp(2.1rem, 1.2rem + 2.9vw, 3.5rem); letter-spacing: -0.035em; line-height: 1.05; }
  & .intro .lede { margin: 0 auto; text-wrap: balance; }
  & figure { margin: 0; }
  & figcaption, & .still-caption { margin-top: 14px; font-size: 14px; line-height: 1.45; color: var(--body); max-width: 60em; }
  & .chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(36px, 5vw, 64px); }
  & .chapter { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
  & .eyebrow { display: flex; align-items: center; gap: 10px; color: var(--body); text-transform: none; letter-spacing: .01em; font-size: 15px; margin-bottom: 10px; }
  & .num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 14px; color: var(--ink); background: var(--white); box-shadow: inset 0 0 0 1.5px var(--marine); }
  & h3 { font-size: clamp(1.7rem, 1.1rem + 1.8vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.08; margin-bottom: .35em; }
  & .text { font-size: clamp(16px, 1.2vw, 18px); max-width: 32em; }
  & .text.more { font-size: clamp(15px, 1.05vw, 16.5px); margin-top: -.2em; }
  & .tag { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 10px 0 0; }
  & .note { margin-top: 18px; font-size: 16px; padding: 14px 18px; border-radius: var(--radius); background: var(--white); border-left: 3px solid var(--marine); max-width: 32em; }
  & .note strong { color: var(--ink); }
  & .pin { display: none; }
  & .still-caption { margin-top: 28px; }
  /* Enhanced: a large sticky screen on the left, steps scrolling on the right. */
  & .story.is-pinned { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .7fr); gap: clamp(36px, 4vw, 64px); align-items: start; }
  & .story.is-pinned .pin { display: block; position: sticky; top: clamp(96px, calc(50vh - 280px), 180px); }
  & .story.is-pinned .still, & .story.is-pinned .still-caption { display: none; }
  & .story.is-pinned .chapters { gap: 0; }
  & .story.is-pinned .chapter { display: flex; align-items: center; min-height: min(46vh, 420px); }
  & .story.is-pinned .chapter:first-child { min-height: min(40vh, 360px); align-items: flex-start; padding-top: 24px; }
  & .story.is-pinned .chapter .copy { opacity: .3; transition: opacity .45s var(--ease); }
  & .story.is-pinned .chapter.is-active .copy { opacity: 1; }
}
@media (max-width: 959px) { .moments .chapter { grid-template-columns: 1fr; gap: 22px; } }
/* On a white section, the notes keep a box. */
.moments:not(.alt) .note { background: var(--mist); }
@media (prefers-reduced-motion: reduce) { .moments .story.is-pinned .chapter .copy { transition: none; } }

/* ---- Lightbox: a screen enlarged (the learner journey, the dashboards, Applications' examples) ---- */
.lightbox { padding: 0; border: 0; border-radius: 14px; max-width: min(1424px, 96vw); max-height: 94vh; background: #fff; box-shadow: 0 30px 80px rgb(0 0 0 / .35); }
.lightbox::backdrop { background: rgb(47 40 71 / .7); }
.lightbox img { display: block; width: 100%; height: auto; max-height: 94vh; object-fit: contain; }
/* A whole dashboard page, taller than the screen: it scrolls inside the box, top to bottom,
   with Close kept at the top (Duane, 23 Oct 2026) */
.lightbox.tall { overflow-y: auto; overscroll-behavior: contain; }
.lightbox.tall img { max-height: none; }
.lightbox.tall form { position: sticky; top: 0; height: 0; z-index: 1; }
.lightbox .close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .95); color: var(--ink); font-size: 16px; cursor: pointer; box-shadow: 0 2px 6px rgb(0 0 0 / .2); }

/* ---- Screen frame: real ELARA screens (and two illustration panels) in a window frame ---- */
.frame {
  border-radius: 16px; overflow: hidden; background: #F4F0FB; box-shadow: 0 1px 0 rgb(48 37 70 / .06), 0 24px 60px rgb(48 37 70 / .14); border: 1px solid rgb(48 37 70 / .08);
  & .bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #EEE8F7; border-bottom: 1px solid rgb(48 37 70 / .07); }
  & .bar span { width: 10px; height: 10px; border-radius: 50%; background: rgb(48 37 70 / .14); }
  & .bar em { margin-left: 10px; font-style: normal; font-size: 14px; color: var(--body); }  /* full colour and 14px: readable (Lighthouse contrast), as small as the site goes */
  /* One step: its own natural height. */
  & .item { display: block; width: 100%; }
  & .shot { position: relative; padding: 0; border: 0; background: none; cursor: zoom-in; font: inherit; }
  & .shot img { display: block; width: 100%; height: auto; }
  & .enlarge { position: absolute; right: 10px; bottom: 10px; font-size: 14px; font-weight: 600; color: var(--ink); background: rgb(255 255 255 / .92); padding: 4px 10px; border-radius: 999px; box-shadow: 0 1px 3px rgb(48 37 70 / .15); opacity: 0; transition: opacity .2s; }
  & .shot:hover .enlarge, & .shot:focus-visible .enlarge { opacity: 1; }
  & .shot:focus-visible { outline: 2px solid var(--pink); outline-offset: -4px; }
  /* All steps (pinned): a fixed 16:10 stage, cross-fading. Screens fit inside it whole. */
  &.many .screens { position: relative; aspect-ratio: 16 / 10; }
  &.many .item { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s; }
  &.many .item.is-active { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
  &.many .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
  & .panel { padding: clamp(22px, 3vw, 40px); background: linear-gradient(160deg, #F2F6FD, #F7EEFB); }
  & .p-title { font-size: clamp(17px, 1.6vw, 22px); font-weight: 600; color: var(--ink); margin: 0 0 18px; max-width: none; }
  & .p-foot { position: absolute; left: clamp(22px, 3vw, 40px); bottom: 14px; margin: 0; font-size: 14px; color: var(--body); }
  & .panel { position: relative; min-height: 100%; }
  & .chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
  & .chips li { font-size: clamp(14px, 1.1vw, 15px); padding: 8px 14px; border-radius: 999px; background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px rgb(48 37 70 / .14); }
  & .chips li.on { background: var(--ink); color: #fff; box-shadow: none; }
  & .chips li.more { background: none; box-shadow: none; color: var(--body); font-style: italic; }
  & .levels { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
  & .levels li { display: grid; gap: 4px; padding: 14px 16px; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 1px rgb(48 37 70 / .12); font-size: clamp(14px, 1.1vw, 15px); line-height: 1.45; color: var(--body); }
  & .levels li strong { color: var(--ink); font-size: clamp(14px, 1.2vw, 16px); }
  & .levels li.on { box-shadow: inset 0 0 0 2px var(--marine); }
  &:not(.many) .panel { padding-bottom: 44px; }
}
@media (prefers-reduced-motion: reduce) { .frame.many .item, .frame .enlarge, .platform-part .dash .shot img { transition: none; } }

/* ===========================================================================================
   Pages. Each block is one page, scoped by the class on its <main> (p-home, p-applications …).
   =========================================================================================== */

/* ---- Home ---- */
.p-home {
  /* 1. Hero */
  & .hero { position: relative; overflow-x: clip; padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); text-align: center; }
  & .hero h1 { font-size: clamp(2.6rem, 1rem + 6.4vw, 6rem); letter-spacing: -0.045em; line-height: 1; max-width: 11em; margin: 0 auto .3em; }
  & .hero-sub { font-size: clamp(18px, 1rem + .6vw, 23px); line-height: 1.45; max-width: 30em; margin: 0 auto; }
  & .hero .ctas { justify-content: center; margin-top: 36px; }
  & .hero-globe { padding: 0 var(--gutter); margin-top: clamp(32px, 5vw, 56px); }
  /* With a photo: words left, photo right, cropped a little squarer; stacked on smaller screens */
  & .hero.with-photo { text-align: left; padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); }
  & .hero-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
  & .with-photo h1 { font-size: clamp(2.4rem, 1rem + 3.4vw, 4.4rem); max-width: 12em; margin: 0 0 .35em; }
  & .with-photo .hero-sub { margin: 0; }
  & .with-photo .ctas { justify-content: flex-start; }
  & .hero-photo { margin: 0; }
  & .hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: clamp(18px, 2.4vw, 32px); box-shadow: 0 30px 60px -36px rgb(48 37 70 / .55); }
  /* 1b. A World of Configurations: its world is styled after the Home block */
  /* 2. What is ELARA */
  & .what { padding-top: clamp(48px, 6vw, 80px); }
  & .kicker { margin: 0 0 32px; }
  /* Sophie's welcome video beside the intro; under it on smaller screens */
  & .what-grid.has-video { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
  & .has-video .statement { font-size: clamp(1.6rem, .9rem + 2.2vw, 2.7rem); }
  & .what-video { margin: 0; }
  & .what-video .frame { position: relative; }
  /* A big play button over the poster (site.js); the browser's own controls after that */
  & .what-video .play { position: absolute; left: 50%; bottom: clamp(14px, 2.4vw, 24px); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px 10px 12px; border: 0; border-radius: 999px; background: rgb(255 255 255 / .92); color: var(--ink); font: 600 16px var(--font); cursor: pointer; box-shadow: 0 10px 30px -10px rgb(0 0 0 / .5); }
  & .what-video .play .icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); }
  & .what-video .play .icon::after { content: ""; margin-left: 3px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #fff; }
  & .what-video .play:hover { background: #fff; }
  & .what-video .play:focus-visible { outline: 3px solid var(--marine); outline-offset: 3px; }
  & .what-video :is(.play[hidden]), & .what-video.played .play { display: none; }
  & .what-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: clamp(16px, 2vw, 24px); background: #0b0b10; box-shadow: 0 30px 60px -36px rgb(48 37 70 / .55); }
  & .what-video figcaption { margin-top: 12px; font-size: 14px; color: var(--body); }
  & .claims { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px 32px; font-size: 15px; }
  & .claims li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  /* 4. Inner world */
  & .inner-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
  & .points { max-width: 34em; margin: 0 0 26px; }
  & .points h3 { margin: 26px 0 8px; padding-left: 16px; border-left: 4px solid var(--marine); font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.25; color: var(--ink); }
  & .points p { margin: 0; font-size: clamp(17px, 1rem + .2vw, 19px); line-height: 1.55; }
  /* The same points three across, above the platform cards */
  & .points.cols { max-width: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(24px, 3vw, 48px); margin: 0 0 clamp(32px, 4vw, 48px); }
  & .points.cols h3 { margin-top: 0; }
  & .tagline { display: flex; align-items: center; gap: 10px; font-size: 14px; margin: 0; }
  & .inner-world { margin: 0; max-width: 560px; width: 100%; justify-self: center; }
  & .inner-world svg { display: block; width: 100%; height: auto; overflow: visible; }
  & .inner-world .orbit-track { fill: none; stroke: rgb(111 200 204 / .25); stroke-width: 10; }
  & .inner-world .orbit { fill: none; stroke: var(--marine); stroke-width: 1.5; stroke-dasharray: 2 9; stroke-linecap: round; animation: iw-turn 120s linear infinite; }
  & .inner-world .orbit-title { font: 600 14px var(--font); letter-spacing: .08em; text-transform: uppercase; fill: #23767A; text-anchor: middle; }
  & .inner-world .layer { stroke: #fff; stroke-width: 2; }
  & .inner-world .layer-label { font: 600 16px var(--font); fill: var(--ink); text-anchor: middle; dominant-baseline: middle; }
  & .inner-world .glow { animation: iw-breathe 7s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
  & .inner-world .core { filter: drop-shadow(0 8px 18px rgb(83 51 210 / .35)); }
  & .inner-world .core-label { font: 600 21px var(--font); fill: #fff; text-anchor: middle; }
  & .inner-world .bead { stroke: #fff; stroke-width: 3; transform-origin: center; transform-box: fill-box; animation: iw-pulse 4.2s ease-in-out infinite; }
  & .inner-world .bead-label { font: 500 18px var(--font); fill: var(--ink); }
  /* The list: what screen readers get, and on phones what everyone sees in place of the SVG's labels. */
  & .iw-list { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  /* 3b. Next Generation Supervision: words left, the "Always on" box right */
  & .supervision { padding-top: 0; }
  & .supervision .sub, & #dashboards .sub { margin: 0 0 12px; font-size: clamp(1.25rem, 1rem + .7vw, 1.6rem); line-height: 1.25; color: var(--ink); }
  & .sup-claims { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
  & .sup-claims .claim { align-items: flex-start; flex-wrap: nowrap; font-size: 16px; }
  & .sup-claims .claim span:not(.status) { color: var(--ink); }
  & .more-link { display: inline-block; margin-top: 24px; font-weight: 600; color: var(--ink); text-decoration-color: var(--marine); text-underline-offset: 5px; }
  & .supervision .foundations { margin-top: 0; }
  & .supervision .foundations .dots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* 5. Educator support */
  & .parts { padding-top: clamp(16px, 2vw, 32px); }
}
@keyframes iw-turn { to { transform: rotate(360deg); } }
@keyframes iw-breathe { 50% { transform: scale(1.08); opacity: .75; } }
@keyframes iw-pulse { 50% { transform: scale(1.25); } }
@media (prefers-reduced-motion: reduce) { .inner-world .orbit, .inner-world .glow, .inner-world .bead { animation: none; } }
html.motion-paused .inner-world :is(.orbit, .glow, .bead) { animation-play-state: paused; }
@media (max-width: 900px) {
  .p-home .hero-split { grid-template-columns: minmax(0, 1fr); }
  .p-home .hero.with-photo { text-align: center; }
  .p-home .with-photo h1, .p-home .with-photo .hero-sub { margin-left: auto; margin-right: auto; }
  .p-home .with-photo .ctas { justify-content: center; }
  .p-home .hero-photo img { aspect-ratio: 16 / 9; }
}
@media (max-width: 900px) { .p-home .what-grid.has-video { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .p-home .points.cols { grid-template-columns: minmax(0, 1fr); } }
/* Four points sit two by two, so each keeps a readable line length */
@media (min-width: 901px) { .p-home .points.cols:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .p-home .inner-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .p-home .inner-world .layer-label, .p-home .inner-world .bead-label, .p-home .inner-world .orbit-title { display: none; }
  .p-home .iw-list { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; display: grid; gap: 10px; margin-top: 18px; font-size: 14px; }
  .p-home .iw-core, .p-home .iw-title { font-weight: 600; color: var(--ink); }
  .p-home .iw-list ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
  .p-home .iw-list li { padding: 3px 12px; border-radius: 999px; background: var(--mist); color: var(--ink); }
}

/* Clinical safety in sessions, a box under Home's learner journey in the same shade (Duane, 21 Oct 2026) */
.p-home .session-safety { padding-top: 0; }
.p-home .session-safety .wide { max-width: 1320px; }
.safety-box { max-width: 860px; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid rgb(48 37 70 / .08); border-left: 3px solid var(--marine); }
.safety-box h2 { font-size: 1.3rem; letter-spacing: 0; margin: 0 0 14px; }
.safety-box .dots { margin: 0 0 16px; }
.safety-box .dots .status { margin-left: 4px; vertical-align: 2px; }

/* Foundations of the Psychotherapeutic Relationship, the "Always on" box (Home) */
.foundations { margin-top: clamp(32px, 4vw, 48px); padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid rgb(48 37 70 / .08); border-left: 3px solid var(--marine); }
.foundations .badge { display: inline-block; margin: 0 8px 12px 0; padding: 2px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; letter-spacing: .03em; color: #1C5F62; background: rgb(111 200 204 / .2); }
.foundations h3 { font-size: 1.3rem; margin: 0 0 10px; }
.foundations p { max-width: 52em; }
.foundations .focus-label { font-size: 14px; font-weight: 600; color: var(--ink); margin: 18px 0 10px; }
.foundations .dots { grid-template-columns: repeat(4, max-content); gap: 8px 32px; }
@media (max-width: 600px) { .foundations .dots { grid-template-columns: minmax(0, 1fr); } }
/* The Contextual Relational Practice layer's examples are longer, so they wrap as they fit */
.contextual .foundations .dots { display: flex; flex-wrap: wrap; gap: 8px 32px; }

/* ---- A World of Configurations on Home (Duane, 23 Oct 2026): a soft dawn sky (it was night,
   "a bit harsh"), the globe in the middle with each group as a planet around it, and the
   chosen group's modules in a card. The planets are tabs (site.js). Below 1000px they're
   tiles above the card. ---- */
.configs.world {
  position: relative; overflow: hidden; color: var(--ink);
  padding: clamp(56px, 7vw, 104px) 0;
  background:
    radial-gradient(ellipse 55% 60% at 28% 48%, rgb(60 210 246 / .2), transparent 70%),
    radial-gradient(ellipse 45% 55% at 82% 55%, rgb(245 48 154 / .13), transparent 70%),
    linear-gradient(180deg, #F3EEFD 0%, #E6DCF9 100%);
  & .stars {
    position: absolute; inset: 0; pointer-events: none; opacity: .9;
    background-image:
      radial-gradient(2px 2px at 8% 18%, rgb(83 51 210 / .35), transparent), radial-gradient(1.5px 1.5px at 22% 72%, rgb(83 51 210 / .3), transparent),
      radial-gradient(2px 2px at 35% 12%, rgb(60 150 220 / .4), transparent), radial-gradient(1.5px 1.5px at 48% 88%, rgb(83 51 210 / .3), transparent),
      radial-gradient(1.5px 1.5px at 61% 28%, rgb(245 48 154 / .35), transparent), radial-gradient(2px 2px at 74% 64%, rgb(83 51 210 / .3), transparent),
      radial-gradient(1.5px 1.5px at 86% 16%, rgb(60 150 220 / .4), transparent), radial-gradient(2px 2px at 93% 82%, rgb(245 48 154 / .3), transparent);
  }
  & .wrap { position: relative; }
  & .section-head { margin: 0 auto clamp(24px, 3vw, 40px); text-align: center; }
  & .world-stage { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
  & .orbit { position: relative; width: 100%; max-width: 640px; aspect-ratio: 1 / .94; margin: 0 auto; }
  & .ring { position: absolute; left: 11%; right: 11%; top: 10%; bottom: 10%; border-radius: 50%; border: 1.5px dashed rgb(48 37 70 / .22); }
  /* The globe in the middle; the footer's Pause animations switch stops it */
  & .globe { position: absolute; left: 50%; top: 52%; width: 40%; max-width: none; transform: translate(-50%, -50%); }
  & .globe figcaption, & .globe .globe-pause { display: none; }
  & .planets { position: absolute; inset: 0; }
  & .planet {
    position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -42px);
    display: flex; flex-direction: column; align-items: center; gap: 10px; width: 170px;
    padding: 0; border: 0; background: none; color: var(--ink); font: inherit; cursor: pointer; text-align: center;
  }
  & .sphere {
    display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
    background: radial-gradient(circle at 34% 30%, #fff 0%, var(--tone-bg) 42%, color-mix(in srgb, var(--tone-ink) 45%, var(--tone-bg)) 100%);
    color: var(--tone-ink);
    box-shadow: 0 0 0 1px rgb(255 255 255 / .9), 0 12px 28px -10px color-mix(in srgb, var(--tone-ink) 55%, transparent);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
    animation: world-bob 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1.2s);
  }
  & .sphere svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  & .name { font-weight: 600; font-size: 15px; line-height: 1.3; }
  & .planet:hover .sphere { transform: scale(1.08); }
  & .planet[aria-selected="true"] .sphere { transform: scale(1.12); box-shadow: 0 0 0 3px var(--tone-ink), 0 16px 36px -10px color-mix(in srgb, var(--tone-ink) 65%, transparent); }
  & .planet[aria-selected="true"] .name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
  & .planet:focus-visible { outline: none; }
  & .planet:focus-visible .sphere { outline: 3px solid var(--pink); outline-offset: 5px; }
  /* The chosen group's modules */
  & .world-panel { background: var(--white); color: var(--ink); border-radius: 24px; padding: clamp(24px, 3vw, 36px); box-shadow: 0 24px 60px -30px rgb(48 37 70 / .45); border-top: 5px solid var(--tone-ink); }
  & .world-panel:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; }
  & .world-panel h3 { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; font-size: clamp(1.3rem, 1rem + .9vw, 1.7rem); line-height: 1.2; }
  & .world-panel h3 .part-icon { flex: none; }
  & .chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
  & .chips li { padding: 8px 14px; border-radius: 999px; background: var(--tone-bg); color: var(--tone-ink); font-size: 15px; font-weight: 600; line-height: 1.3; }
  /* A sentence about the group, small, with no link (Duane, 23 Oct 2026) */
  & .world-panel .summary { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid rgb(48 37 70 / .1); font-size: 15px; line-height: 1.55; color: var(--body); }
}
@keyframes world-bob { 50% { translate: 0 -7px; } }
@media (prefers-reduced-motion: reduce) { .configs.world .sphere { animation: none; } }
html.motion-paused .configs.world .sphere { animation-play-state: paused; }
@media (max-width: 999px) {
  .configs.world .world-stage { grid-template-columns: minmax(0, 1fr); }
  .configs.world .orbit { aspect-ratio: auto; max-width: none; }
  .configs.world .ring { display: none; }
  .configs.world .globe { position: relative; left: auto; top: auto; transform: none; width: min(200px, 50vw); margin: 0 auto 24px; }
  .configs.world .planets { position: static; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 12px; }
  .configs.world .planet { position: static; transform: none; width: auto; }
  .configs.world .sphere { width: 68px; height: 68px; }
  .configs.world .sphere svg { width: 28px; height: 28px; }
}
@media (max-width: 600px) {
  .configs.world .planets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .configs.world .planet:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .configs.world .sphere { width: 60px; height: 60px; }
}

/* ---- The platform's parts on other pages: Professional Practice Frameworks on Applications,
   Dashboard Oversight on Home (Duane, 23 Oct 2026, when The Platform page went) ---- */
.platform-part {
  & .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
  & .libraries { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
  & .libraries .card-a > p { margin: 0; padding: 0; }
  /* A library's modules, as dropdowns (from the ELARA admin console). */
  & .modules { align-self: stretch; margin-top: 10px; border-top: 1px solid rgb(48 37 70 / .1); padding-top: 14px; }
  & .modules h4 { margin: 0 0 6px; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #23767A; }
  & .modules details { border-bottom: 1px solid rgb(48 37 70 / .08); }
  & .modules details:last-child { border-bottom: 0; }
  & .modules summary { cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 10px 0; font-weight: 600; font-size: 16px; color: var(--ink); list-style: none; }
  & .modules summary::-webkit-details-marker { display: none; }
  & .modules summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--body); margin-left: auto; }
  & .modules details[open] summary::after { content: "–"; }
  & .modules details p { font-size: 16px; margin: 0 0 8px; }
  & .modules .focus-label { font-size: 14px; font-weight: 600; color: var(--ink); margin: 0 0 6px; }
  & .modules .dots { margin: 0 0 14px; gap: 6px; }
  & .modules .dots li { font-size: 16px; }
  & .card-a { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 26px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid rgb(48 37 70 / .08); }
  &.alt .card-a { border-color: transparent; }
  & .card-a h3 { margin: 0; font-size: 1.25rem; }
  & .card-a p { font-size: 16px; margin: 0 0 auto; padding-bottom: 6px; }
  & .dash { gap: 8px; }
  & .dash .mock { position: relative; width: 100%; height: 120px; border-radius: 10px; background: linear-gradient(180deg, var(--mist), #fff); border: 1px solid rgb(48 37 70 / .08); padding: 18px; display: grid; align-content: start; gap: 10px; margin-bottom: 12px; }
  & .mock .bar { height: 10px; border-radius: 6px; background: linear-gradient(90deg, rgb(83 51 210 / .35), rgb(245 48 154 / .35)); }
  & .dash .shot { position: relative; display: block; width: 100%; padding: 0; background: none; font: inherit; cursor: zoom-in; border-radius: 10px; overflow: hidden; border: 1px solid rgb(48 37 70 / .1); margin-bottom: 12px; aspect-ratio: 800 / 466; }
  & .dash .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; transition: transform .3s var(--ease); }
  & .dash .shot:hover img { transform: scale(1.02); }
  & .dash .shot:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
  /* Always shown, so touch screens see it too */
  & .dash .shot .enlarge { position: absolute; right: 8px; top: 8px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; padding: 3px 10px; border-radius: 999px; box-shadow: 0 1px 3px rgb(48 37 70 / .25); }
  & .dash .shot .label { position: absolute; right: 8px; bottom: 8px; background: rgb(255 255 255 / .92); color: var(--ink); font-size: 14px; font-weight: 600; letter-spacing: .03em; padding: 3px 9px; border-radius: 999px; box-shadow: 0 1px 3px rgb(48 37 70 / .15); }
  & .mock .label { position: absolute; right: 10px; bottom: 8px; font-size: 14px; font-weight: 600; color: var(--body); letter-spacing: .04em; }
}
@media (max-width: 900px) { .platform-part .split { grid-template-columns: 1fr; gap: 32px; } }

/* ---- Applications ---- */
/* Configured for your course (moved from The Platform, 19 Oct 2026). */
.configured {
  /* At the top of Higher education (Duane, 21 Oct 2026), over a rule */
  margin-bottom: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(40px, 5vw, 64px);
  /* A rule as wide as the text, inside the gutters */
  background: linear-gradient(rgb(48 37 70 / .1), rgb(48 37 70 / .1)) center bottom / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  & h4 { font-size: 1.15rem; margin: 10px 0 6px; color: var(--ink); }
  & .subheading { margin: -4px 0 14px; font-size: clamp(19px, 1rem + .4vw, 22px); font-weight: 600; color: var(--ink); }
  & .steps { list-style: none; margin: 0; padding: 0; }
  & .card-a p { margin: 0 0 auto; padding-bottom: 6px; }
  & .step-no { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: 15px; font-weight: 600; color: var(--ink); background: var(--white); box-shadow: inset 0 0 0 1.5px var(--marine); }
  &.alt .step-no { background: var(--mist); }
}
.p-applications {
  /* "Designed to complement, not replace", under Higher education's heading block (Duane, 21 Oct 2026) */
  & .complement { margin-top: clamp(32px, 4vw, 48px); padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); border-left: 3px solid var(--marine); background: var(--mist); max-width: 760px; }
  & .section.alt .complement { background: var(--white); }
  & .complement h4 { font-size: 1.15rem; margin: 0 0 6px; color: var(--ink); }
  & .complement p { margin: 0; }
  /* Illustrative use cases under each setting (Duane's brief, 20 Oct 2026) */
  & .use-cases { margin-top: clamp(40px, 5vw, 64px); }
  & .uc-title { margin: 0 0 18px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #23767A; }
  & .use-cases .card-a { gap: 4px; }
  & .use-cases h4 { margin: 0 0 8px; font-size: 1.15rem; line-height: 1.3; color: var(--ink); }
  & .uc-label { margin: 10px 0 0; font-size: 14px; font-weight: 600; color: var(--ink); }
  & .use-cases .card-a p:not(.uc-label) { margin: 2px 0 0; font-size: 16px; line-height: 1.5; }
  & .uc-note { margin: clamp(32px, 4vw, 48px) 0 0; max-width: 760px; }
  & .intro { margin: 16px 0 0; max-width: 34em; }
  & .need { font-size: 16.5px; margin: 18px 0 0; max-width: 34em; }
  & .need strong { color: var(--ink); }
  & .cta-line { margin: 22px 0 0; }
  & .helps { gap: 16px; }
  & .points { display: grid; gap: 14px; }
  & .points li { display: grid; gap: 6px; justify-items: start; font-size: 16px; color: var(--ink); line-height: 1.5; padding-bottom: 14px; border-bottom: 1px solid rgb(48 37 70 / .08); }
  & .points li:last-child { border-bottom: 0; padding-bottom: 0; }
}

/* ---- About ---- */
.p-about {
  & .person { gap: 12px; padding: clamp(24px, 3vw, 36px); }
  & .photo { display: block; width: 160px; height: 160px; border-radius: 28px; object-fit: cover; padding: 3px; background: var(--orb); margin-bottom: 8px; }
  & .person h3 { font-size: 1.45rem; margin-top: 8px; }
  & .role { font-weight: 500; color: var(--ink); }
  & .person p { font-size: 16px; }
  & .pending-line { align-items: flex-start; flex-wrap: nowrap; font-size: 14.5px; margin-top: 4px; }
}

/* ---- Accessibility ---- */
.p-accessibility {
  & .done { gap: 14px; margin-top: 8px; }
  & .done li { font-size: 16.5px; color: var(--body); }
  & .side { display: grid; gap: 20px; }
  & .side .card-a { background: var(--mist); border: 0; }
  & .fine { font-size: 14px; margin: 0; }
}

/* ---- Book a demo ---- */
.p-contact {
  & .layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
  & .enquiry { display: grid; gap: 20px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid rgb(48 37 70 / .1); padding: clamp(22px, 3.5vw, 40px); }
  & .row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  & .field { display: grid; gap: 6px; align-content: start; }
  & label { font-weight: 600; font-size: 15px; color: var(--ink); }
  & .req { color: var(--pink-text); }
  & .opt { font-weight: 400; color: var(--body); }
  & input[type="text"], & input[type="email"], & input[type="tel"], & select, & textarea { font: 400 16px/1.4 var(--font); color: var(--ink); background: var(--white); border: 1.5px solid rgb(48 37 70 / .25); border-radius: 12px; padding: 12px 14px; width: 100%; }
  & textarea { resize: vertical; min-height: 140px; }
  & input:focus-visible, & select:focus-visible, & textarea:focus-visible { outline: 2px solid var(--pink); outline-offset: 1px; border-color: transparent; }
  & [aria-invalid="true"] { border-color: #B3261E; }
  & .err { color: #B3261E; font-size: 14px; margin: 0; }
  & .hint { font-size: 14px; margin: 0; }
  & .check { grid-template-columns: auto 1fr; column-gap: 12px; align-items: start; }
  & .check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); }
  & .check label { font-weight: 400; font-size: 15px; color: var(--body); }
  & .check .err { grid-column: 2; }
  & .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
  & .fine { font-size: 14px; margin: -8px 0 0; }
  & .enquiry .btn { justify-self: start; }
  & .form-status { font-size: 15px; }
  & .form-status:empty { display: none; }
  & .form-status.ok, & .form-status.info { padding: 14px 16px; border-radius: 12px; background: var(--mist); color: var(--ink); }
  & .form-status.bad { padding: 14px 16px; border-radius: 12px; background: #FDECEA; color: #8C1D18; }
  & .next h2 { font-size: 1.5rem; }
  & .steps { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 18px; }
  & .steps li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
  & .steps span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 14px; font-weight: 600; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--marine); }
  & .steps p { margin: 3px 0 0; font-size: 16px; }
  & .privacy { padding: 22px 24px; border-radius: var(--radius-lg); background: var(--mist); }
  & .privacy h3 { font-size: 1.05rem; }
  & .privacy p { font-size: 15px; margin: 0; }
}
@media (max-width: 900px) { .p-contact .layout { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .p-contact .row.two { grid-template-columns: 1fr; } }

/* ---- Legal pages: Trust & Privacy, Privacy Policy, Terms of Use ---- */
.p-trust, .p-privacy {
  & .toc { max-width: 760px; margin: 0 0 40px; padding: 18px 22px; border-radius: var(--radius); background: var(--mist); }
  & .toc ol { margin: 0; padding-left: 1.3em; columns: 2; column-gap: 32px; font-size: 15px; }
  & .toc li { margin: 3px 0; break-inside: avoid; }
}
@media (max-width: 600px) { .p-trust .toc ol, .p-privacy .toc ol { columns: 1; } }
.p-trust {
  & .claim { margin-top: 4px; font-size: 14px; }
  & .table-wrap { overflow-x: auto; margin: 0 0 1.2em; border-radius: var(--radius); border: 1px solid rgb(48 37 70 / .1); }
  & table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
  & th, & td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid rgb(48 37 70 / .08); line-height: 1.5; }
  & thead th { background: var(--mist); color: var(--ink); font-size: 14px; }
  & tbody th { color: var(--ink); white-space: nowrap; }
  & tbody tr:last-child th, & tbody tr:last-child td { border-bottom: 0; }
}
.p-privacy .updated, .p-terms .updated { margin-top: 2em; font-size: 14px; }
.p-terms .safety { padding: 14px 18px; border-radius: var(--radius); background: var(--mist); border-left: 3px solid var(--pink); }

/* ---- Review pages ---- */
.p-review {
  & .list { margin-top: 40px; }
  & .item { text-decoration: none; display: block; transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
  & .item:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgb(48 37 70 / .06), 0 18px 40px rgb(48 37 70 / .1); }
  & .item h2 { font-size: 1.3rem; }
  & .go { display: inline-block; margin-top: 14px; color: var(--ink); font-weight: 600; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .p-review .item { transition: none; } .p-review .item:hover { transform: none; } }

/* ---- Not found ---- */
.p-not-found {
  & .lost { text-align: center; }
  & .mark { display: block; margin: 0 auto 28px; }
  & h1 { max-width: 14em; margin-left: auto; margin-right: auto; }
  & .lede { margin: 0 auto; }
  & .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
}

/* ---- In Development (Duane, 20 Oct 2026) ---- */
.tone-multi-avatar { --tone-bg: #DDF6FD; --tone-ink: #0B5E73; }
.tone-voice { --tone-bg: #F7E1F4; --tone-ink: #84207A; }
.tone-vr { --tone-bg: #E9E4FB; --tone-ink: #3B23A0; }
.p-in-development {
  & .split { align-items: center; }
  & .areas { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 24px; }
  & .areas li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
  & .area-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--tone-bg); color: var(--tone-ink); }
  & .area-icon svg, & .node svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  & .areas h3 { margin: 4px 0; font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem); }
  & .areas p { margin: 0; font-size: 17px; line-height: 1.5; }
  /* The graphic: the ELARA orb, a turning dotted ring, and each area joined to it */
  & .constellation { margin: 0; max-width: 520px; width: 100%; justify-self: center; }
  & .constellation > svg { display: block; width: 100%; height: auto; overflow: visible; }
  & .halo { fill: rgb(111 200 204 / .08); }
  & .ring { fill: none; stroke: rgb(83 51 210 / .16); stroke-width: 1.5; }
  & .ring.dashed { stroke: var(--marine); stroke-dasharray: 2 10; stroke-linecap: round; transform-origin: center; transform-box: fill-box; animation: iw-turn 90s linear infinite; }
  & .spoke { stroke: rgb(83 51 210 / .25); stroke-width: 1.5; stroke-dasharray: 4 6; }
  & .core { filter: drop-shadow(0 10px 24px rgb(83 51 210 / .35)); }
  & .node .bubble { fill: var(--tone-bg); stroke: #fff; stroke-width: 4; filter: drop-shadow(0 8px 16px rgb(48 37 70 / .18)); }
  & .node { color: var(--tone-ink); }
}
@media (prefers-reduced-motion: reduce) { .p-in-development .ring.dashed { animation: none; } }
html.motion-paused .p-in-development .ring.dashed { animation-play-state: paused; }

/* ---- FAQ (Duane, 21 Oct 2026): each question a dropdown ---- */
.faq {
  max-width: 860px; border-top: 1px solid rgb(48 37 70 / .1);
  & details { border-bottom: 1px solid rgb(48 37 70 / .1); }
  & summary { cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 1.15rem; color: var(--ink); list-style: none; }
  & summary::-webkit-details-marker { display: none; }
  & summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--body); margin-left: auto; flex: none; }
  & details[open] summary::after { content: "–"; }
  & .answer { padding: 0 0 22px; }
  & .answer p { margin: 0 0 10px; max-width: 46em; }
  & .answer .status { margin-left: 4px; vertical-align: 2px; }
}

/* ---- Applications: configuration examples (Duane, 21 Oct 2026), diagrams that enlarge ---- */
.p-applications .config-examples { margin-top: clamp(40px, 5vw, 64px); }
.p-applications .example { gap: 12px; }
.p-applications .example .shot { position: relative; display: block; width: 100%; padding: 0; background: #fff; font: inherit; cursor: zoom-in; border-radius: 10px; overflow: hidden; border: 1px solid rgb(48 37 70 / .1); aspect-ratio: 16 / 9; }
.p-applications .example .shot img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .3s var(--ease); }
.p-applications .example .shot:hover img { transform: scale(1.02); }
.p-applications .example .shot:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.p-applications .example .enlarge { position: absolute; right: 8px; top: 8px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; padding: 3px 10px; border-radius: 999px; box-shadow: 0 1px 3px rgb(48 37 70 / .25); }
.p-applications .example h4 { margin: 0; font-size: 1.05rem; line-height: 1.35; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .p-applications .example .shot img { transition: none; } }
