/* dmk.kids public app — additions to the frozen tokens.css + site.css (which stay byte-identical).
   S6A-F2 (Launch Step 6a): honour the HTML `hidden` attribute. In the frozen site.css, component display rules
   (.field, .success__card) override the browser's [hidden] rule, so the Visit Request notice and the Contact
   "not active" card were visible before the form was submitted. */
[hidden]{display:none !important}

/* Batch 1 closure 2026-10-14 — trust clouds keep one size for every label: a label longer than 48 characters is
   typeset denser inside the standard 244×132 cloud (.cloud--dense, set by trustCloudFor). Container units, like the
   frozen cloud text; no transition or animation. */
.page-home .trust .cloud--dense .n{margin-block-start:calc(22 * 100cqi / 244)}
.page-home .trust .cloud--dense .l{margin-block-start:calc(5 * 100cqi / 244);font-size:calc(11.5 * 100cqi / 244);line-height:calc(16 * 100cqi / 244)}

/* Hotfix 2026-10-08 — homepage without the testimonial band: the age-groups bus (inset-block-start:-150px on desktop,
   site.css H-06/C2) would overlap the pillar cards by ~94px. The pillars section keeps that room below its cards so the
   bus body stays clear and its wheels still sit on the divider wave. Removed automatically once a testimonial is live. */
@media (min-width:1024px){
  .page-home main>#pillars.section--bus-below{padding-block-end:calc(var(--space-6) + 112px)}
}

/* Hotfix 2026-10-08 — mobile drawer brand: the approved bar logo (same asset as the header), compact for the drawer
   header (213x47 → 160x35, same ratio). The drawer brand is not a link, so the hover/pressed logo variants are held at
   the default artwork (no false affordance). */
.drawer__top .brand__logo{inline-size:160px;block-size:35px}
.drawer__top .brand:hover .brand__logo,.drawer__top .brand:active .brand__logo{background-image:url("assets/brand/logo-bar-default.svg")}

/* Family Voice 2026-10-13 (final batch, customer file item 4) — Home «صدای خانواده‌ها» carousel (.fv*). Every card is a
   real testimonial in one grid cell (the stage is as tall as the longest quote, so nothing moves while it turns); the
   front card is a little larger, two cards per side sit behind it, scaled down and faded, the rest are hidden. Front
   heart filled red (--color-feedback-error); back hearts keep the frozen neutral outline. The badges sit inside the
   stage, which never clips them; on the right-hand back cards the badge would sit half under the front card (an
   «incomplete circle»), so it is not drawn there. The controls are real buttons (44px targets). Below the controls the section keeps
   room for the age-groups bus (desktop: it sits 150px above the next section). Transitions only in the
   no-preference media query (reduced motion: instant). Tokens only for colours. */
.fv{position:relative;margin-inline:auto;margin-block-start:var(--space-6)}
.fv__stage{position:relative;display:grid;place-items:center;padding-block-start:30px;touch-action:pan-y}
.fv .fv__card{grid-area:1/1;align-self:stretch;margin:0;max-inline-size:540px;box-sizing:border-box}
.fv .fv__card blockquote{overflow-wrap:anywhere}  /* Batch 1 C1: no line clamp — the 230-character limit (server) bounds the height; never truncated */
.fv .fv__card figcaption{margin-block-start:auto}
.fv .fv__card:not(.fv__card--active){visibility:hidden;opacity:0;pointer-events:none}
.fv .fv__card--active{z-index:5}
.fv .fv__badge{color:color-mix(in srgb,var(--color-text-muted) 55%,var(--color-action-accent-tint))}
.fv .fv__heart{inline-size:26px;block-size:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.fv .fv__card--active .fv__heart--on{fill:var(--color-feedback-error);stroke:var(--color-feedback-error)}
.fv__controls{display:flex;align-items:center;justify-content:center;gap:var(--space-2);margin-block-start:var(--space-5)}
.fv .fv__btn{color:var(--color-text-heading)}
.fv .fv__btn:focus-visible,.fv .fv__dot:focus-visible{outline:2px solid var(--color-action-primary);outline-offset:2px}
.fv .fv__icon{inline-size:20px;block-size:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.fv .fv__btn--pause .fv__icon{fill:currentColor;stroke:none;inline-size:16px;block-size:16px}
.fv__dots{display:flex;align-items:center;gap:2px}
.fv .fv__dot{inline-size:28px;block-size:44px;padding:0;border:0;background:transparent;cursor:pointer;display:grid;place-items:center}
.fv .fv__dot::before{content:"";inline-size:10px;block-size:10px;border-radius:var(--radius-pill);background:color-mix(in srgb,var(--color-action-primary) 22%,var(--ill-cream))}
.fv .fv__dot--on::before{inline-size:14px;block-size:14px;background:var(--fd-sky,var(--ill-blue))}
.fv__live{position:absolute;inline-size:1px;block-size:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
@media (min-width:1024px){
  .fv{max-inline-size:1045px;margin-block-start:78px}
  .fv .fv__card{inline-size:540px}
  .fv .fv__card--active{inline-size:560px;max-inline-size:560px}
  .fv .fv__card[data-pos="1"],.fv .fv__card[data-pos="-1"],.fv .fv__card[data-pos="2"],.fv .fv__card[data-pos="-2"]{visibility:visible;box-shadow:none}
  .fv .fv__card[data-pos="1"]{transform:translateX(-178px) scale(.86);opacity:.9;z-index:4}
  .fv .fv__card[data-pos="-1"]{transform:translateX(178px) scale(.86);opacity:.9;z-index:4}
  .fv .fv__card[data-pos="2"]{transform:translateX(-262px) scale(.74);opacity:.55;z-index:3}
  .fv .fv__card[data-pos="-2"]{transform:translateX(262px) scale(.74);opacity:.55;z-index:3}
  .fv .fv__card:not(.fv__card--active) blockquote{opacity:.45}
  .fv .fv__card:not(.fv__card--active) figcaption{opacity:.6}
  .fv .fv__card[data-pos="-1"] .fv__badge,.fv .fv__card[data-pos="-2"] .fv__badge{visibility:hidden}
  .page-home main>.section.section--voices{padding-block-end:calc(var(--space-6) + 96px)}
}
@media (min-width:1024px) and (prefers-reduced-motion:no-preference){
  .fv .fv__card{transition:transform .55s ease,opacity .55s ease}
}
@media (max-width:1023px) and (prefers-reduced-motion:no-preference){
  .fv .fv__card{transition:opacity .35s ease}
}

/* Parent sign-in, account and courses & events 2026-10-13 (final batch, customer file items 1 and 3) — /login (.login*),
   /account (.acct*), /courses and /courses/[slug] (.crs*), the Programs link to them (.prog-courses*, .prog__cards--after).
   Frozen form, card, chip and button classes are reused as they are; information cards do not react to hover. Tokens
   only; no transition or animation. */
.login-wrap{display:grid;justify-items:center;gap:var(--space-4)}
.login-card{inline-size:100%;max-inline-size:480px}
.login-card form{display:grid;gap:var(--space-4)}
.login-card h2{margin:0}
.login-info{margin:0}
.login-info--ok{padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);background:var(--color-feedback-success-tint);color:var(--color-text-heading)}  /* Batch 1 A4: sign-in success */
.login-card form[aria-busy="true"] .btn--primary{cursor:progress}
.login-actions{display:flex;flex-wrap:wrap;gap:var(--space-2);justify-content:space-between;margin:0}
.login-note{max-inline-size:480px;margin:0;text-align:center}
.acct{display:grid;gap:var(--space-5);grid-template-columns:minmax(0,1fr)}
.acct__card h2,.acct__bookings h2{margin:0}
.acct__dl{display:grid;gap:var(--space-3);margin:var(--space-4) 0}
.acct__dl div{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:var(--space-2);padding-block-end:var(--space-2);border-block-end:var(--stroke-border) solid var(--color-border-soft)}
.acct__dl dt{color:var(--color-text-muted);font-size:var(--size-body-sm)}
.acct__dl dd{margin:0;font-weight:var(--fw-semibold);color:var(--color-text-heading)}
.acct__chip--member{border-color:var(--ill-teal)}
.acct__help{margin:0 0 var(--space-4)}
.acct__actions{display:flex;flex-wrap:wrap;gap:var(--space-2)}
.acct__list{list-style:none;padding:0;margin:var(--space-4) 0 0;display:grid;gap:var(--space-3)}
.acct__item:hover{box-shadow:var(--shadow-xs);transform:none}
.acct__title{margin:0;font-weight:var(--fw-bold);color:var(--color-text-heading)}
.acct__meta{margin:var(--space-1) 0 0;font-size:var(--size-body-sm);color:var(--color-text-body)}
.crs-sec__head p{margin:0;color:var(--color-text-body)}
.crs__grid{list-style:none;padding:0;margin:0;display:grid;gap:var(--space-5);grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr))}
.crs__card{display:flex;flex-direction:column;gap:var(--space-3);block-size:100%}
.crs__card:hover{box-shadow:var(--shadow-xs);transform:none}
.crs__cover{margin:calc(-1 * var(--layout-card-pad)) calc(-1 * var(--layout-card-pad)) 0;aspect-ratio:16/9;overflow:hidden;border-start-start-radius:var(--radius-lg);border-start-end-radius:var(--radius-lg)}
.crs__cover img{inline-size:100%;block-size:100%;object-fit:cover;display:block}
.crs__top{display:flex;flex-wrap:wrap;gap:var(--space-2)}
.crs__title{margin:0}
.crs__title a{color:inherit;text-decoration:none}
.crs__title a:hover,.crs__title a:focus-visible{text-decoration:underline;text-underline-offset:3px}
.crs__summary{margin:0;color:var(--color-text-body)}
.crs__meta{margin:0;display:grid;gap:var(--space-1);font-size:var(--size-body-sm)}
.crs__meta div{display:flex;flex-wrap:wrap;gap:var(--space-2)}
.crs__meta dt{min-inline-size:8em;color:var(--color-text-muted)}
.crs__meta dd{margin:0;font-weight:var(--fw-medium);color:var(--color-text-heading)}
.crs__more{margin-block-start:auto;align-self:flex-start}
.crs__status--open{border-color:var(--ill-teal)}
.crs__status--closed,.crs__status--full,.crs__status--finished{color:var(--color-text-muted)}
.crs-item__grid{display:grid;gap:var(--space-6);grid-template-columns:minmax(0,1fr)}
.crs-item__main{display:grid;gap:var(--space-4);align-content:start}
.crs-item__main h2{margin:0}
.crs__text{max-inline-size:var(--dmk-measure)}
.crs__action{display:grid;gap:var(--space-3);align-content:start}
.crs__action h2,.crs__price{margin:0}
.crs__price{font-weight:var(--fw-bold);color:var(--color-text-heading)}
.crs__reserve{display:grid;gap:var(--space-3)}
.crs__reserve .help{margin:0}
.crs__done p{margin:0 0 var(--space-3);color:var(--color-text-heading)}
.crs__err{margin:0;font-size:var(--size-caption);color:var(--color-feedback-error)}
.crs__faq{display:grid;gap:var(--space-2)}
.crs__faq details{padding:var(--space-3) var(--space-4);border:var(--stroke-border) solid var(--color-border-soft);border-radius:var(--radius-md);background:var(--color-surface-card)}
.crs__faq summary{cursor:pointer;font-weight:var(--fw-semibold);color:var(--color-text-heading)}
.crs__faq p{margin:var(--space-2) 0 0}
.prog__cards--after{margin-block-start:var(--space-5)}
.prog-courses__card{display:grid;gap:var(--space-3);justify-items:start;max-inline-size:760px;margin-inline:auto}
.prog-courses__card h2,.prog-courses__card p{margin:0}
@media (min-width:1024px){
  .acct{grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:start}
  .crs-item__grid{grid-template-columns:minmax(0,7fr) minmax(0,4fr);align-items:start}
  .crs__action{position:sticky;inset-block-start:96px}
}

/* Long-form reading typography 2026-10-12 (d) — one rule set for long Persian copy; supersedes the About-only block (c).
   Measure: --dmk-measure (50rem = 800px ≈ 100 Persian characters a line at 16px) replaces the former 72ch, which is
   only 486px in Vazirmatn (its «0» is narrow) — about 42% of the 1152px container. Used by the shared rich text
   (.ed-text) and the Programs/article rules that repeated 72ch. On phones the measure never binds.
   Justify: last line at start (= right in RTL), so one-line items and final lines are never stretched; the centred
   heads of the two Home sections from the Programs record keep a centred last line. Scope: rich text and card body
   copy on About, Programs and blog articles, Home pillar cards and the two Home Programs sections. Headings, card
   titles, chips, buttons, navigation, hero intros, gallery and Terms/Privacy are untouched; list markers stay outside. */
:root{--dmk-measure:50rem}
:is(.about-sec,.prog-sec,.prog-group,.blog-art) .ed-text :is(p,li,blockquote),.about__pillars .pillar :is(p,li),.about__timeline p,.prog__cards .card p,.prog__summary,.page-home #pillars .pillar p{text-align:justify;text-align-last:start}
.page-home .home-extra .section-head p{max-inline-size:min(100%,var(--dmk-measure));text-align:justify;text-align-last:center}

/* Home fixes 2026-10-12 (b) — hero darkening behind the title only, balanced trust labels, album name on the Home
   gallery print, two extra Home sections from the Programs record, footer divider flush with the footer. Tokens only
   for colours (the two rgba values are the frozen Home hero scrim colour); no frozen selector is restyled at its own
   specificity; no transition or animation. Placed first so the scope checks of the later blocks keep their boundaries. */
.page-home .hero__scrim{background:none}
.page-home .hero__text{position:relative;inline-size:fit-content;max-inline-size:min(560px,100%)}
.page-home .hero__text::before{content:"";position:absolute;inset:calc(-1 * var(--space-4)) calc(-1 * var(--space-5));z-index:-1;border-radius:var(--radius-xl);background:rgba(31,21,13,.8);box-shadow:0 0 48px 24px rgba(31,21,13,.5);pointer-events:none}
.page-home .trust .cloud .l{text-wrap:balance}
.page-home .hgc__label{position:absolute;inset-block-end:var(--space-3);inset-inline-start:var(--space-3);max-inline-size:calc(100% - 2 * var(--space-3));padding:2px var(--space-3);border-radius:var(--radius-pill);background:var(--color-surface-page);color:var(--color-text-heading);font-size:var(--size-body-sm);font-weight:var(--fw-bold);line-height:1.8;box-shadow:var(--shadow-xs);pointer-events:none;overflow-wrap:anywhere}
.page-home .hgc__link:hover .hgc__label{text-decoration:underline;text-underline-offset:3px}
.page-home .home-extra__tiles{max-inline-size:none}
.page-home .home-extra--band{background:var(--color-surface-field)}
.wave+.ftr,.dv+.ftr{margin-block-start:-1px;border-block-start-color:transparent}
@media (max-width:767px){
  .page-home .hero__text::before{inset:calc(-1 * var(--space-3))}
}

/* Customer update 2026-10-12 — client dividers and motifs on inner pages, About/Programs in the Home visual language,
   gallery albums, Terms numbering and justified legal text. Tokens only for colours and sizes; no frozen selector is
   restyled; no transition or animation. Dividers and motifs are decorative images (aria-hidden, no pointer events) in
   fixed boxes, so they never shift the layout; motifs sit in the top padding of the first section after the hero.
   Information cards and tiles do not react to hover. Placed first so the scope checks of the later blocks keep their
   boundaries; where a later block styles the same element, these selectors are more specific on purpose. */
.dv{display:block;inline-size:100%;block-size:24px}
.motifs{position:relative;block-size:0;pointer-events:none}
.motif{position:absolute;inline-size:auto;block-size:56px;max-inline-size:96px;opacity:.9;user-select:none;-webkit-user-select:none}
.motif--a{inset-block-start:16px;inset-inline-start:max(16px,3vw)}
.motif--b{inset-block-start:28px;inset-inline-end:max(16px,4vw);block-size:44px}
.about__pillars .card:hover{box-shadow:var(--shadow-xs);transform:none}
.about__pillars .pillar p{margin:0}
.prog-sec--band{background:var(--color-surface-field)}
.prog-sec .prog__text{max-inline-size:none}
.prog-sec .prog__text>p{max-inline-size:var(--dmk-measure)}
.prog-sec .prog__text ul{list-style:none;padding-inline-start:0;columns:2 380px;column-gap:var(--space-8)}
.prog-sec .prog__text ul:has(>li:only-child){columns:1}
.prog-sec .prog__text ul li+li{margin-block-start:0}
.prog-sec .prog__text ul>li{position:relative;padding-inline-start:var(--space-5);margin-block-end:var(--space-3);break-inside:avoid}
.prog-sec .prog__text ul>li::before{content:"";position:absolute;inset-inline-start:0;inset-block-start:.75em;inline-size:10px;block-size:10px;border-radius:50%;background:var(--ill-teal)}
.prog-sec .prog__text ul>li:nth-child(4n+2)::before{background:var(--ill-coral)}
.prog-sec .prog__text ul>li:nth-child(4n+3)::before{background:var(--ill-blue)}
.prog-sec .prog__text ul>li:nth-child(4n+4)::before{background:var(--ill-orange)}
.prog-sec .prog__tiles{max-inline-size:none;margin-block-start:var(--space-5)}
.prog-sec .prog__tile{cursor:default}
.gal-albums__grid{list-style:none;margin:0;padding:0;display:grid;gap:var(--layout-grid-gap);grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr))}
.gal-albums__item{min-inline-size:0}
.gal-albums__card{display:flex;flex-direction:column;block-size:100%;border-radius:var(--radius-lg);overflow:hidden;background:var(--color-surface-card);border:var(--stroke-border) solid var(--color-border-soft);box-shadow:var(--shadow-xs);color:var(--color-text-heading)}
.gal-albums__card:hover{box-shadow:var(--shadow-md)}
.gal-albums__card:hover .gal-albums__title{text-decoration:underline;text-underline-offset:3px}
.gal-albums__card:focus-visible{outline:var(--stroke-focus) solid var(--color-border-focus);outline-offset:3px}
.gal-albums__media{display:block;aspect-ratio:4/3;overflow:hidden;background:var(--color-surface-page)}
.gal-albums__media img{display:block;inline-size:100%;block-size:100%;object-fit:cover}
.gal-albums__body{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:var(--space-2) var(--space-3);padding:var(--space-4) var(--space-5)}
.gal-albums__title{font-size:var(--size-body-lg);font-weight:var(--fw-bold);overflow-wrap:anywhere}
.gal-albums__count{font-size:var(--size-body-sm);color:var(--color-text-muted)}
.gal-albums__nav{margin-block-end:var(--space-6)}
.gal-albums__nav .gal__chip[aria-current="page"]{background:var(--color-action-primary-tint);border-color:var(--color-action-accent-press);color:var(--color-text-heading)}
.gal-albums__back{margin-block-start:var(--space-6)}
.legal--terms .legal__text ol{list-style:none;padding-inline-start:0;counter-reset:dmk-rule}
.legal--terms .legal__text ol>li{counter-increment:dmk-rule}
.legal--terms .legal__text ol>li::before{content:counter(dmk-rule,persian) "- "}
.legal--terms .legal__text p,.legal--terms .legal__text li,.legal--privacy .legal__text p,.legal--privacy .legal__text li{text-align:justify}
@media (max-width:1023px){
  .motif{block-size:40px}
  .motif--a{inset-block-start:10px}
  .motif--b{inset-block-start:14px;block-size:32px}
}
@media (max-width:767px){
  .dv{block-size:14px}
  .motif{block-size:28px}
  .motif--a{inset-block-start:8px;inset-inline-start:8px}
  .motif--b{inset-block-start:10px;inset-inline-end:8px;block-size:24px}
}

/* Home gallery carousel (2026-10-10) — .hgc* only; the frozen .pstack prints are reused as they are. Controls come
   first in the DOM (play/pause → previous → next in the tab order) and sit below the stack, in Final Draft style:
   bordered 44px buttons and four pins (9px dots, active 26px bar) that follow the shown slide. RTL row: play/pause
   and «previous» on the right, «next» on the left. No transition or animation: slides swap instantly. */
.hgc{display:flex;flex-direction:column}
.hgc__ctl{order:2;display:flex;align-items:center;justify-content:center;gap:var(--space-3);margin-block-start:var(--space-5)}
.hgc__btn{border:1px solid var(--color-border-strong);background:var(--color-surface-page);border-radius:var(--radius-lg);color:var(--color-text-body)}
.hgc__btn svg{inline-size:20px;block-size:20px}
.hgc__btn:focus-visible,.hgc__link:focus-visible{outline:var(--stroke-focus) solid var(--color-border-focus);outline-offset:3px}
.hgc__play{margin-inline-end:var(--space-3)}
.hgc__dots{display:flex;align-items:center;gap:16px}
.hgc__dot{display:block;flex:none;inline-size:9px;block-size:9px;border-radius:var(--radius-pill);background:var(--color-border-strong)}
.hgc__dot--on{inline-size:26px;background:var(--color-action-primary)}
.hgc__stage{inline-size:100%;touch-action:pan-y;user-select:none;-webkit-user-select:none}  /* flex item: keep the frozen .pstack width (max 525px, centred) */
.hgc__link{display:block;inline-size:100%;block-size:100%}
@media (forced-colors:active){.hgc__dot{forced-color-adjust:none}}

/* Step 6c, batch 6c-2 (2026-09-27) — Gallery (.gal*, .gal-lb*). Tokens only; no frozen selector is restyled (the
   Home band keeps .gallery); no transition or animation. GL-1: section-jump links reuse the frozen .chip; GL-3: the
   lightbox is a native modal dialog with a dimmed backdrop; GL-4: images only. Grid links show the focus ring outside
   the image. Placed first so the scope checks of the later blocks keep their boundaries (no overlapping selector). */
.gal__jump-wrap{padding-block-start:var(--space-6)}
.gal__jump ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:var(--space-2)}
.gal__chip:hover{text-decoration:underline;text-underline-offset:3px}
.gal-sec{scroll-margin-block-start:calc(65px + var(--space-5))}
.gal-sec__head{max-inline-size:72ch;margin-block-end:var(--space-5)}
.gal-sec__head .t-h2{overflow-wrap:anywhere}
.gal__grid{list-style:none;margin:0;padding:0;display:grid;gap:var(--layout-grid-gap);grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr))}
.gal__item{min-inline-size:0}
.gal__link{display:block;aspect-ratio:4/3;border-radius:var(--radius-lg);overflow:hidden;background:var(--color-surface-page)}
.gal__link img{display:block;inline-size:100%;block-size:100%;object-fit:cover}
.gal__link:focus-visible{outline:var(--stroke-focus) solid var(--color-border-focus);outline-offset:3px}
.gal-lb{inline-size:min(calc(100vw - 2 * var(--space-4)),1100px);max-inline-size:none;max-block-size:calc(100dvh - 2 * var(--space-4));padding:var(--space-4);border:0;border-radius:var(--radius-lg);background:var(--color-surface-card);color:var(--color-text-body)}
.gal-lb::backdrop{background:var(--color-surface-dark-50)}
.gal-lb__inner{display:flex;flex-direction:column;gap:var(--space-3)}
.gal-lb__bar{display:flex;justify-content:flex-end}
.gal-lb__figure{margin:0;display:flex;justify-content:center}
.gal-lb__figure img{display:block;max-inline-size:100%;max-block-size:calc(100dvh - 12rem);inline-size:auto;block-size:auto;object-fit:contain;border-radius:var(--radius-md)}
.gal-lb__nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-3)}
.gal-lb__count{margin:0;color:var(--color-text-muted);font-size:var(--size-body-sm)}
.gal-lb__step,.gal-lb__close{min-block-size:44px}

/* Step 6c, batch 6c-1 (2026-09-27) — Blog listing and article (.blog*). Tokens only; no frozen selector is restyled;
   no transition. Cards reuse the frozen .card.post of the Home blog band; the title is the card's only link. Category
   and page links are 44 px targets marked with aria-current; article chips are information, not links (no hover tint).
   Placed first so the scope checks of the later blocks keep their boundaries (the selectors do not overlap). */
.blog__cats ul{list-style:none;margin:0 0 var(--space-6);padding:0;display:flex;flex-wrap:wrap;gap:var(--space-2)}
.blog__cat:hover{text-decoration:underline;text-underline-offset:3px}
.blog__cat[aria-current="page"]{background:var(--color-action-primary-tint);border-color:var(--color-action-accent-press);color:var(--color-text-heading)}
.blog__grid{display:grid;gap:var(--layout-grid-gap);grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}
.blog-card{min-inline-size:0}
.blog-card__media{margin:0;aspect-ratio:16/10;overflow:hidden;background:var(--color-surface-page)}
.blog-card__media img{display:block;inline-size:100%;block-size:100%;object-fit:cover}
.blog-card__title{overflow-wrap:anywhere}
.blog-card__title a{color:inherit}
.blog-card__title a:hover{text-decoration:underline;text-underline-offset:3px}
.blog-card__excerpt{color:var(--color-text-muted);font-size:var(--size-body-sm)}
.blog-card--feature{margin-block-end:var(--layout-grid-gap)}
.blog__pager ul{list-style:none;margin:var(--space-7) 0 0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:var(--space-2)}
.blog__num,.blog__step{display:inline-flex;align-items:center;justify-content:center;min-inline-size:44px;min-block-size:44px;padding-inline:var(--space-3);border-radius:var(--radius-lg);border:var(--stroke-border) solid var(--color-border-soft);background:var(--color-surface-card);color:var(--color-text-heading);font-weight:var(--fw-bold)}
.blog__num:hover,.blog__step:hover{border-color:var(--color-action-accent-press);text-decoration:underline;text-underline-offset:3px}
.blog__num[aria-current="page"]{background:var(--color-action-primary);border-color:var(--color-action-primary);color:var(--color-text-on-primary)}
.blog__gap{min-inline-size:24px;text-align:center;color:var(--color-text-muted)}
.blog-hero .crumb{flex-wrap:wrap}
.blog-hero .crumb [aria-current],.blog-hero .t-h1{overflow-wrap:anywhere}
.blog-art__chips,.blog-art__tags{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:var(--space-2)}
.blog-art__chips{margin:var(--space-4) 0 0}
.blog-art__tags{margin:0}
.blog-art__chip{cursor:default}
.blog-art__chip:hover{background:var(--color-surface-page)}
.blog-art__wrap{display:flex;flex-direction:column;gap:var(--space-6);min-inline-size:0}
.blog-art__cover{margin:0;border-radius:var(--radius-lg);overflow:hidden;background:var(--color-surface-page)}
.blog-art__cover img{display:block;inline-size:100%;block-size:auto;max-block-size:560px;object-fit:cover}
.blog-art__pdf{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-3);max-inline-size:var(--dmk-measure);padding:var(--space-4) var(--space-5);border:var(--stroke-border) solid var(--color-border-soft);border-radius:var(--radius-lg);background:var(--color-surface-card)}
.blog-art__pdf-label{font-weight:var(--fw-bold);color:var(--color-text-heading)}
.blog-art__pdf .btn{white-space:normal;block-size:auto;min-block-size:44px;text-align:start}
.blog-art__source{max-inline-size:var(--dmk-measure);color:var(--color-text-muted);font-size:var(--size-body-sm);overflow-wrap:anywhere}
.blog-art__source a{color:var(--color-action-accent-press);text-decoration:underline;text-underline-offset:3px}
.blog-art+.blog-related{padding-block-start:0}
.blog-related .t-h2{margin-block-end:var(--space-5)}
@media (min-width:1024px){
  .blog-card--feature{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:stretch}
  .blog-card--feature .blog-card__media{aspect-ratio:auto;block-size:100%;min-block-size:320px}
}

/* Step 6b, batch 6b-3 (2026-09-26) — About (.about*), Programs (.prog*) and their shared rich text (.ed-text).
   Tokens only; no frozen selector is restyled; no transition. These cards and chips are information, not links:
   the frozen hover lift/tint is neutralised on them so nothing looks clickable that is not. Placed before the 6b-1
   block so the scope checks of the 6b-1 and HDR-1 blocks keep their boundaries (the selectors do not overlap). */
.ed-text{color:var(--color-text-body);font-size:var(--size-body);line-height:calc(var(--leading-body)/var(--size-body));max-inline-size:var(--dmk-measure);overflow-wrap:anywhere}
.ed-text>*+*{margin-block-start:var(--space-4)}
.ed-text h2,.ed-text h3,.ed-text h4{color:var(--color-text-heading);font-weight:var(--fw-bold);font-size:var(--size-body-lg);line-height:1.6}
.ed-text ul,.ed-text ol{padding-inline-start:var(--space-5)}
.ed-text ul{list-style:disc}
.ed-text ol{list-style:decimal}
.ed-text li+li{margin-block-start:var(--space-2)}
.ed-text blockquote{border-inline-start:4px solid var(--color-border-strong);padding-inline-start:var(--space-4);color:var(--color-text-muted)}
.ed-text a{color:var(--color-action-accent-press);text-decoration:underline;text-underline-offset:3px}
.about-sec,.prog-sec,.prog__entry{scroll-margin-block-start:calc(65px + var(--space-5))}
.about-sec+.about-sec,.prog-sec+.prog-sec,.prog-sec+.prog-group,.prog-group+.prog-group{padding-block-start:0}
.about__head{display:flex;flex-direction:column;gap:var(--space-4);min-inline-size:0}
.about__split{display:grid;gap:var(--space-6);align-items:center}
.about__figure{margin:0;border-radius:var(--radius-lg);overflow:hidden}
.about__figure img,.about__gallery img,.prog__cover img{display:block;inline-size:100%;block-size:auto}
.about__timeline{list-style:none;margin:var(--space-6) 0 0;padding:0;padding-inline-start:var(--space-5);border-inline-start:2px solid var(--color-border-soft);display:grid;gap:var(--space-5)}
.about__timeline li{position:relative}
.about__timeline li::before{content:"";position:absolute;inset-inline-start:calc(-1 * var(--space-5) - 7px);inset-block-start:.55em;inline-size:12px;block-size:12px;border-radius:50%;background:var(--color-action-accent-press)}
.about__tl-title{font-size:var(--size-body-lg);font-weight:var(--fw-bold);color:var(--color-text-heading);line-height:1.6}
.about__timeline p{color:var(--color-text-body);margin-block-start:var(--space-1)}
.about__cards,.prog__cards{margin-block-start:var(--space-6)}
.about__cards .card p,.prog__cards .card p{color:var(--color-text-body);margin-block-start:var(--space-2)}
.about__cards .card:hover,.prog__cards .card:hover,.prog__entry:hover{box-shadow:var(--shadow-xs);transform:none}
.about__gallery{list-style:none;margin:var(--space-6) 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:var(--space-4)}
.about__gallery li{border-radius:var(--radius-lg);overflow:hidden}
.prog-sec .t-h2,.prog-group .t-h2{margin-block-end:var(--space-4)}
.prog__chips{list-style:none;margin:var(--space-5) 0 0;padding:0;display:flex;flex-wrap:wrap;gap:var(--space-2)}
.prog__chip{cursor:default}
.prog__chip:hover{background:var(--color-surface-page)}
.prog__entries{display:grid;gap:var(--layout-grid-gap);grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}
.prog__entry{display:flex;flex-direction:column;gap:var(--space-3);min-inline-size:0}
.prog__cover{margin:calc(-1 * var(--layout-card-pad)) calc(-1 * var(--layout-card-pad)) 0;overflow:hidden;border-start-start-radius:var(--radius-lg);border-start-end-radius:var(--radius-lg)}
.prog__summary{color:var(--color-text-muted)}
@media (min-width:1024px){
  .about__split{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
}

/* Step 6b, batch 6b-1 (2026-09-26) — Privacy and Terms (.legal*) and the Terms link of the Visit Request consent
   label (.legal-link, shown only while Terms is live). Tokens only; no frozen selector is restyled; no transition.
   Links are underlined because the frozen reset removes underlines (colour alone is not enough, WCAG 1.4.1). */
.legal__wrap{display:grid;gap:var(--space-6);align-items:start}
.legal__toc{background:var(--color-surface-card);border:var(--stroke-border) solid var(--color-border-soft);border-radius:var(--radius-lg);padding:var(--space-4) var(--space-5);box-shadow:var(--shadow-xs)}
.legal__toc-title{font-size:var(--size-body);font-weight:var(--fw-bold);color:var(--color-text-heading);margin-block-end:var(--space-1)}
.legal__toc ol{list-style:none;margin:0;padding:0}
.legal__toc a{display:flex;align-items:center;min-block-size:44px;padding-block:var(--space-1);color:var(--color-text-body);font-size:var(--size-body-sm);border-block-end:var(--stroke-border) solid var(--color-border-soft)}
.legal__toc li:last-child a{border-block-end:0}
.legal__toc a:hover{color:var(--color-action-accent-press);text-decoration:underline;text-underline-offset:3px}
.legal__body{display:flex;flex-direction:column;gap:var(--space-7);max-inline-size:72ch;min-inline-size:0}
.legal__sec{scroll-margin-block-start:calc(65px + var(--space-5))}
.legal__sec>.t-h3{margin-block-end:var(--space-3)}
.legal__text{color:var(--color-text-body);font-size:var(--size-body);line-height:calc(var(--leading-body)/var(--size-body));overflow-wrap:anywhere}
.legal__text>*+*{margin-block-start:var(--space-4)}
.legal__text h2,.legal__text h3,.legal__text h4{color:var(--color-text-heading);font-weight:var(--fw-bold);font-size:var(--size-body-lg);line-height:1.6}
.legal__text ul,.legal__text ol{padding-inline-start:var(--space-5)}
.legal__text ul{list-style:disc}
.legal__text ol{list-style:decimal}
.legal__text li+li{margin-block-start:var(--space-2)}
.legal__text blockquote{border-inline-start:4px solid var(--color-border-strong);padding-inline-start:var(--space-4);color:var(--color-text-muted)}
.legal__text a,.legal-link{color:var(--color-action-accent-press);text-decoration:underline;text-underline-offset:3px}
.legal__updated{font-size:var(--size-body-sm);color:var(--color-text-muted);border-block-start:var(--stroke-border) solid var(--color-border-soft);padding-block-start:var(--space-4)}
@media (min-width:1024px){
  .legal__wrap{grid-template-columns:280px minmax(0,1fr);gap:var(--space-8)}
  .legal__wrap--single{grid-template-columns:minmax(0,1fr)}
  .legal__toc{position:sticky;inset-block-start:calc(65px + var(--space-5))}
}

/* HDR-1 (Step 6a header fix, 2026-09-26) — Home header entry ↔ compact change.
   Applied by ShellBehavior only after it has measured the header, so without JavaScript the frozen sticky header is
   unchanged. The header leaves the document flow and `.hdr-spacer` keeps the entry height, so the change never alters
   the page height: no content jump, no scroll-anchoring correction, no threshold oscillation.
   Desktop (>= 1024 px): the bar, the logo and the search row fold over 0.24 s; none with reduced motion. */
.hdr-spacer{display:none}
.hdr.hdr--fixed{position:fixed;inset-block-start:0;inset-inline:0}
.hdr--fixed+.hdr-spacer{display:block}
.hdr--measure,.hdr--measure *{transition:none !important}
@media (min-width:1024px){
  /* The search row stays in the layout so it can fold; 4 px inner top padding (cancelled by the margin) keeps its focus
     ring unclipped. Compact: 0 net height, invisible and not focusable. Entry: same net height as the frozen row. */
  .hdr--fixed .hdr__search{display:block;overflow:hidden;max-block-size:0;padding-block:4px 0;margin-block-start:-4px;opacity:0;visibility:hidden}
  .hdr--fixed.hdr--entry .hdr__search{max-block-size:var(--hdr-search-h,none);padding-block-end:var(--space-4);opacity:1;visibility:visible}
}
@media (min-width:1024px) and (prefers-reduced-motion:no-preference){
  .hdr--fixed .hdr__bar{transition:min-height .24s cubic-bezier(.25,.1,.25,1)}
  .hdr--fixed .brand__logo{transition:inline-size .24s cubic-bezier(.25,.1,.25,1),block-size .24s cubic-bezier(.25,.1,.25,1),width .24s cubic-bezier(.25,.1,.25,1),height .24s cubic-bezier(.25,.1,.25,1)}
  .hdr--fixed .hdr__search{transition:max-block-size .24s cubic-bezier(.25,.1,.25,1),max-height .24s cubic-bezier(.25,.1,.25,1),padding-block-end .24s cubic-bezier(.25,.1,.25,1),padding-bottom .24s cubic-bezier(.25,.1,.25,1),opacity .12s linear,visibility 0s linear .24s}
  .hdr--fixed.hdr--entry .hdr__search{transition:max-block-size .24s cubic-bezier(.25,.1,.25,1),max-height .24s cubic-bezier(.25,.1,.25,1),padding-block-end .24s cubic-bezier(.25,.1,.25,1),padding-bottom .24s cubic-bezier(.25,.1,.25,1),opacity .18s linear .06s,visibility 0s}
}
