/* Design 5 "Showroom": square geometry, heavy headlines, edge-to-edge bands in white, mint and grey,
   photo splits that run to the viewport edge. Only buttons are pills. Text sizes stay on the shared --fs-* tokens. */

.theme-5 {
  --d5-grey: #F4F4F4;
  --d5-hair: rgba(0,0,0,.16);
  --tile: #F4F4F4;
  --forest-700: #016737;
  --forest-600: #0A7A45;
  --mint: #E6F2EA;
  --mint-2: #EEF6F0;
  --warm: #FFFFFF;
  --ink: #111111;
  --muted: #4A4A4A;
  --line: #D9D9D9;
  --r-sm: 0px; --r: 0px; --r-lg: 0px;
  --header: 72px;
  --shadow: none;
}
.theme-5 body { background: #FFFFFF; }
.theme-5 h1, .theme-5 h2, .theme-5 h3, .theme-5 h4 { color: var(--ink); font-weight: 700; }
.theme-5 h1 { font-weight: 800; letter-spacing: -0.038em; }
.theme-5 h2 { letter-spacing: -0.032em; }
.theme-5 h3 { letter-spacing: -0.02em; }
.theme-5 .on-dark h1, .theme-5 .on-dark h2, .theme-5 .on-dark h3, .theme-5 .on-dark h4 { color: #FFFFFF; }
.theme-5 :focus-visible { outline-color: var(--ink); border-radius: 0; }
.theme-5 .btn:focus-visible { border-radius: 999px; }
.theme-5 .on-dark :focus-visible { outline-color: var(--fresh); }
.theme-5 .lead { color: #333333; }

/* ---------- Bands: a section paints edge to edge, and its tiles take the opposite tone ---------- */
.theme-5 .surface { background: var(--mint); --tile: #FFFFFF; }
.theme-5 .surface-2 { background: var(--d5-grey); --tile: #FFFFFF; }
.theme-5 .on-dark { --tile: rgba(255,255,255,.08); }
/* Two white sections in a row read as one band, so the second drops its top padding. */
.theme-5 .section:not(.surface):not(.surface-2):not(.on-dark) + .section:not(.surface):not(.surface-2):not(.on-dark) { padding-top: 0; }

.theme-5 .head { display: block; max-width: 48rem; }
.theme-5 .head p:not(.eyebrow) { margin-top: 18px; }
.theme-5 .eyebrow { display: block; margin-bottom: 10px; font-weight: 700; color: var(--forest-700); }
.theme-5 .eyebrow::before { display: none; }
.theme-5 .on-dark .eyebrow { color: var(--fresh); }

/* ---------- Buttons are the only rounded shape; the paired action is an underlined link ---------- */
.theme-5 .btn { min-height: 48px; padding: 10px 26px; border-radius: 999px; border-width: 1.5px; font-weight: 700; letter-spacing: -0.01em; }
.theme-5 .btn:hover { transform: none; box-shadow: none; }
.theme-5 .btn-primary { background: var(--forest-700); border-color: var(--forest-700); }
.theme-5 .btn-primary:hover { background: var(--forest-900); border-color: var(--forest-900); }
.theme-5 .btn-secondary { color: var(--ink); border-color: var(--ink); }
.theme-5 .btn-secondary:hover { background: var(--ink); color: #FFFFFF; }
.theme-5 .btn-light:hover { background: var(--mint); }
.theme-5 .btn-ghost-light { background: transparent; border-color: #FFFFFF; -webkit-backdrop-filter: none; backdrop-filter: none; }
.theme-5 .btn .arrow { display: none; }
.theme-5 .link-arrow, .theme-5 .d5-more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .3em; }
.theme-5 .link-arrow::after { display: none; }
.theme-5 .link-arrow:hover, .theme-5 .d5-more:hover { color: var(--forest-700); text-decoration-color: currentColor; }
.theme-5 a.card .link-arrow, .theme-5 .card .link-arrow { padding-top: 8px; }
.theme-5 .d5-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin: 28px 0 0; }

/* ---------- Header: flat white bar, nav beside the logo, action at the far right ---------- */
.theme-5 .site-header { background: #FFFFFF; box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; }
.theme-5 .brand img { height: 36px; }
.theme-5 .nav-link, .theme-5 .nav-item > details > summary { min-height: 44px; padding: 6px 11px; font-size: var(--fs-small); font-weight: 700; letter-spacing: -0.015em; color: var(--ink); }
.theme-5 .nav-link:hover, .theme-5 .nav-item > details > summary:hover, .theme-5 .nav-item > details[open] > summary { background: transparent; color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.theme-5 .nav-link[aria-current="page"], .theme-5 .nav-item.is-current > details > summary { color: var(--forest-700); box-shadow: inset 0 -2px 0 var(--forest-700); }
.theme-5 .menu { top: 100%; padding: 8px 0; box-shadow: 0 0 0 1px var(--line), 0 18px 30px -22px rgba(0,0,0,.4); }
.theme-5 .menu a { padding: 12px 20px; color: var(--ink); font-size: var(--fs-small); font-weight: 700; }
.theme-5 .menu a span { font-weight: 400; }
.theme-5 .menu a:hover, .theme-5 .menu a:focus-visible { background: var(--d5-grey); }
.theme-5 .menu a[aria-current="page"] { background: var(--mint); box-shadow: none; }
.theme-5 .nav-cta .btn { min-height: 44px; padding: 8px 20px; font-size: var(--fs-small); }
.theme-5 .menu-toggle { min-height: 44px; padding: 6px 4px 6px 12px; background: transparent; border: 0; color: var(--ink); font-size: var(--fs-small); font-weight: 700; }
.theme-5 .menu-toggle .bars::before, .theme-5 .menu-toggle .bars::after, .theme-5 .menu-toggle .bars i { border-radius: 0; }
@media (min-width: 1361px) {
  .theme-5 .nav { flex: 1; margin-left: 20px; gap: 0; }
  .theme-5 .nav-cta { margin-left: auto; }
}
/* The compact bar fits the full menu down to 1280px, so the shared 1360px collapse is undone in between. */
@media (min-width: 1280px) and (max-width: 1360px) {
  .theme-5 .menu-toggle { display: none; }
  .theme-5 .nav { display: flex; flex: 1; position: static; max-height: none; overflow: visible; flex-direction: row; align-items: center; gap: 0; margin-left: 12px; padding: 0; background: none; box-shadow: none; }
  .theme-5 .nav-link, .theme-5 .nav-item > details > summary { width: auto; padding-inline: 9px; border-bottom: 0; }
  .theme-5 .menu { position: absolute; min-width: 340px; }
  .theme-5 .menu a span { display: block; }
  .theme-5 .nav-cta { margin: 0 0 0 auto; }
  .theme-5 .nav-cta .btn { width: auto; padding-inline: 16px; }
}
@media (max-width: 1279px) {
  .theme-5 .nav { padding-top: 0; background: #FFFFFF; box-shadow: 0 1px 0 var(--line) inset, 0 24px 36px -26px rgba(0,0,0,.4); }
  .theme-5 .nav-link, .theme-5 .nav-item > details > summary { min-height: 56px; padding: 12px 0; font-size: var(--fs-ui); border-bottom-color: var(--line); }
  .theme-5 .nav-link:hover, .theme-5 .nav-item > details > summary:hover, .theme-5 .nav-item > details[open] > summary { box-shadow: none; }
  .theme-5 .nav-link[aria-current="page"], .theme-5 .nav-item.is-current > details > summary { box-shadow: none; padding-left: 0; }
  .theme-5 .menu { padding: 4px 0 12px; box-shadow: none; }
  .theme-5 .menu a { padding: 12px 16px; }
  .theme-5 .nav-cta .btn { min-height: 52px; font-size: var(--fs-ui); }
}
@media (max-width: 520px) { .theme-5 { --header: 64px; } .theme-5 .brand img { height: 30px; } }

/* ---------- Split: text on one half, a photo that runs to the viewport edge on the other ---------- */
.theme-5 .d5-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #FFFFFF; }
.theme-5 .d5-split.mint { background: var(--mint); --tile: #FFFFFF; }
.theme-5 .d5-split > figure { position: relative; margin: 0; min-height: clamp(420px, 44vw, 640px); background: var(--d5-grey); overflow: hidden; }
.theme-5 .d5-split > figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* The outer padding lines the text up with the page wrap: a percentage here is measured on the text column. */
.theme-5 .d5-split-text { align-self: center; padding: clamp(48px, 6vw, 96px) max(var(--gutter), calc(100% - var(--max) / 2)) clamp(48px, 6vw, 96px) clamp(24px, 5vw, 72px); }
.theme-5 .d5-split.is-flip > figure { order: 2; }
.theme-5 .d5-split.is-flip .d5-split-text { padding-left: max(var(--gutter), calc(100% - var(--max) / 2)); padding-right: clamp(24px, 5vw, 72px); }
.theme-5 .d5-split-text > p:not([class]) { max-width: 36rem; margin: 18px 0 0; color: var(--muted); }
@media (max-width: 899px) {
  .theme-5 .d5-split { grid-template-columns: minmax(0, 1fr); }
  .theme-5 .d5-split > figure { min-height: 0; aspect-ratio: 4 / 3; }
  .theme-5 .d5-split-text, .theme-5 .d5-split.is-flip .d5-split-text { padding: 40px var(--gutter) 56px; }
}

/* ---------- Home hero ---------- */
.theme-5 .d5-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.theme-5 .d5-hero > figure { min-height: min(calc(100svh - var(--header)), 720px); }
.theme-5 .d5-hero > figure img { object-position: 62% center; }
.theme-5 .d5-hero .d5-split-text { padding-right: max(var(--gutter), calc(91.667% - var(--max) / 2)); }
.theme-5 .d5-kicker { margin: 0 0 14px; font-size: var(--fs-ui); font-weight: 700; letter-spacing: -0.01em; color: var(--forest-700); }
.theme-5 .d5-hero h1 { max-width: 13ch; }
.theme-5 .d5-hero .lead { max-width: 34rem; margin: 24px 0 0; }
.theme-5 .d5-pace { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(36px, 5vw, 64px); padding-top: 20px; border-top: 1px solid var(--d5-hair); }
.theme-5 .d5-pace li { padding: 0 16px; font-size: var(--fs-small); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
.theme-5 .d5-pace li:first-child { padding-left: 0; }
.theme-5 .d5-pace li + li { border-left: 1px solid var(--d5-hair); }
@media (max-width: 899px) {
  .theme-5 .d5-hero { grid-template-columns: minmax(0, 1fr); }
  .theme-5 .d5-hero > figure { min-height: 0; }
  .theme-5 .d5-hero .d5-split-text { padding-right: var(--gutter); }
}
@media (max-width: 479px) {
  .theme-5 .d5-pace { grid-template-columns: minmax(0, 1fr); padding-top: 0; }
  .theme-5 .d5-pace li { padding: 12px 0; }
  .theme-5 .d5-pace li + li { border-left: 0; border-top: 1px solid var(--d5-hair); }
  .theme-5 .d5-hero .d5-actions .btn { width: 100%; }
}

/* ---------- Home bands ---------- */
.theme-5 .d5-band { padding: var(--section) 0; background: #FFFFFF; }
.theme-5 .d5-band.mint { background: var(--mint); --tile: #FFFFFF; }
.theme-5 .d5-band.grey { background: var(--d5-grey); --tile: #FFFFFF; }
.theme-5 .d5-cred .d5-band { padding: clamp(56px, 7vw, 96px) 0; }
.theme-5 .d5-head { max-width: 48rem; margin-bottom: clamp(32px, 4vw, 56px); }
.theme-5 .d5-head > p:not([class]) { margin: 18px 0 0; color: var(--muted); }
.theme-5 .d5-cred .d5-head { margin-bottom: 0; }

.theme-5 .d5-stats { padding: clamp(40px, 5vw, 72px) 0; background: var(--forest-900); color: #D4E4DA; }
.theme-5 .d5-stats ul { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 36px; }
.theme-5 .d5-stats li { padding: 4px clamp(16px, 2.4vw, 36px); }
.theme-5 .d5-stats li:first-child { padding-left: 0; }
.theme-5 .d5-stats li + li { border-left: 1px solid rgba(255,255,255,.24); }
.theme-5 .d5-stats b { display: block; margin-bottom: 10px; font-size: var(--fs-h2); font-weight: 800; line-height: 1.1; letter-spacing: -0.035em; color: #FFFFFF; }
.theme-5 .d5-stats span { display: block; font-size: var(--fs-small); line-height: 1.45; }
@media (max-width: 1023px) {
  .theme-5 .d5-stats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-5 .d5-stats li:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 519px) {
  .theme-5 .d5-stats ul { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .theme-5 .d5-stats li { padding: 20px 0; }
  .theme-5 .d5-stats li + li { border-left: 0; border-top: 1px solid rgba(255,255,255,.24); }
}

.theme-5 .d5-logos { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.theme-5 .d5-logos li { position: relative; aspect-ratio: 1; background: #FFFFFF; }
.theme-5 .d5-logos img { position: absolute; inset: 18%; width: 64%; height: 64%; object-fit: contain; }
@media (max-width: 1023px) { .theme-5 .d5-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 599px) { .theme-5 .d5-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } }

/* ---------- Tiles: title on top, picture below, links at the foot ---------- */
.theme-5 .d5-tiles { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 600px) { .theme-5 .d5-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .theme-5 .d5-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .theme-5 .d5-tiles.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .theme-5 .d5-tiles.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.theme-5 .d5-tile { display: flex; flex-direction: column; align-items: center; padding: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 36px); background: var(--tile); text-align: center; }
.theme-5 .d5-tile h3 a { color: inherit; text-decoration: none; }
.theme-5 .d5-tile h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.theme-5 .d5-tile > p:not([class]) { max-width: 32rem; margin: 10px 0 0; font-size: var(--fs-small); line-height: 1.5; color: var(--muted); }
.theme-5 .d5-tile figure { width: 100%; margin: 24px 0 0; aspect-ratio: 16 / 10; overflow: hidden; background: #E4E4E4; }
.theme-5 .d5-tile figure img { width: 100%; height: 100%; object-fit: cover; }
.theme-5 .d5-tile .d5-actions { justify-content: center; margin-top: auto; padding-top: 20px; }
.theme-5 .d5-pipes { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-top: 22px; font-size: var(--fs-small); font-weight: 600; line-height: 1.35; }
.theme-5 .d5-pipes li { display: inline-flex; align-items: baseline; gap: 10px; text-align: left; }
.theme-5 .d5-pipes li::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--logo-green); }
.theme-5 .d5-after { margin-top: clamp(28px, 4vw, 44px); }

.theme-5 .d5-date { margin: 0 0 6px; font-size: var(--fs-ui); font-weight: 600; color: var(--forest-700); }
.theme-5 .d5-date b { font-weight: 800; }
.theme-5 .d5-session .meta { flex-direction: column; align-items: center; gap: 6px; margin-top: 22px; }
.theme-5 .d5-session .meta li { align-items: flex-start; text-align: left; }
.theme-5 .d5-session .meta svg { margin-top: .3em; }
.theme-5 .d5-claims { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }

/* Team: the text holds the left third and the people tiles fill the rest. */
.theme-5 .d5-team { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 36px clamp(32px, 5vw, 72px); align-items: start; }
.theme-5 .d5-team .d5-head { margin-bottom: 0; }
.theme-5 .d5-people { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.theme-5 .d5-person { display: flex; flex-direction: column; height: 100%; padding-top: 22px; background: var(--tile); color: var(--ink); text-align: center; text-decoration: none; }
.theme-5 .d5-person strong { padding: 0 14px; font-size: var(--fs-small); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.theme-5 .d5-person .role { padding: 4px 14px 18px; font-size: var(--fs-small); line-height: 1.35; color: var(--muted); }
.theme-5 .d5-person .ph { display: block; margin-top: auto; aspect-ratio: 1; overflow: hidden; background: #E4E4E4; }
.theme-5 .d5-person .ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.theme-5 .d5-person:hover strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
@media (max-width: 1023px) { .theme-5 .d5-team { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 599px) { .theme-5 .d5-people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }

.theme-5 .d5-reach { list-style: none; max-width: 36rem; margin-top: 30px; border-top: 1px solid var(--d5-hair); }
.theme-5 .d5-reach a { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 18px; align-items: center; min-height: 64px; padding: 14px 18px; border-bottom: 1px solid var(--d5-hair); color: var(--ink); text-decoration: none; }
.theme-5 .d5-reach svg { grid-row: span 2; width: 28px; height: 28px; color: var(--forest-700); }
.theme-5 .d5-reach b { font-size: var(--fs-ui); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.theme-5 .d5-reach span { font-size: var(--fs-small); line-height: 1.4; color: var(--muted); overflow-wrap: anywhere; }
.theme-5 .d5-reach a:hover b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.theme-5 .d5-reach li:first-child a { background: var(--tile); }

/* ---------- Section landing pages ---------- */
.theme-5 .d5-split > figure.is-portrait img { object-position: center 18%; }
.theme-5 .d5-split-text > p:not([class]) + .d5-actions { margin-top: 24px; }
.theme-5 .d5-rows { list-style: none; max-width: 36rem; margin-top: 30px; border-top: 1px solid var(--d5-hair); }
.theme-5 .d5-rows li { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--d5-hair); font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; color: var(--ink); }
.theme-5 .d5-rows li::before { content: ""; flex: none; width: 9px; height: 9px; background: var(--logo-green); }

/* Heading in the left third, content in the rest. */
.theme-5 .d5-cols { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(32px, 5vw, 72px); align-items: start; }
.theme-5 .d5-cols .d5-head { margin-bottom: 0; }
.theme-5 .d5-cols .profile-list { border-top-color: var(--ink); }
.theme-5 .d5-cols .profile-list > div { border-bottom-color: var(--d5-hair); }
.theme-5 .d5-cols .profile-list dt { color: var(--ink); font-weight: 700; }
@media (max-width: 1023px) { .theme-5 .d5-cols { grid-template-columns: minmax(0, 1fr); } }

.theme-5 .d5-tag { margin: 0 0 12px; }
.theme-5 .d5-tile > .meta { flex-direction: column; align-items: center; gap: 6px; margin-top: 20px; }
/* Tiles in a row share one picture line: the gap above the picture takes up the difference in text length. */
@supports selector(:has(+ a)) {
  .theme-5 .d5-tiles > .d5-tile > :has(+ figure) { margin-bottom: 24px; }
  .theme-5 .d5-tile > figure { margin-top: auto; }
  .theme-5 .d5-tiles > .d5-tile:has(> figure) .d5-actions { margin-top: 0; }
}
/* Two tiles on a wide row put the text beside the picture. */
@media (min-width: 1024px) {
  .theme-5 .d5-rowtiles .d5-tile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(20px, 2.4vw, 36px); align-content: center; justify-items: start; text-align: left; }
  .theme-5 .d5-rowtiles .d5-tile > * { grid-column: 1; }
  .theme-5 .d5-rowtiles .d5-tile > figure { position: relative; grid-column: 2; grid-row: 1 / span 6; align-self: stretch; min-height: 260px; margin: 0; aspect-ratio: auto; }
  .theme-5 .d5-rowtiles .d5-tile > figure img { position: absolute; inset: 0; }
  .theme-5 .d5-rowtiles .d5-tile > .meta { align-items: flex-start; }
  .theme-5 .d5-rowtiles .d5-tile .d5-actions { justify-content: flex-start; margin-top: 0; }
}
.theme-5 .d5-band.mint .note, .theme-5 .d5-band.grey .note { background: #FFFFFF; }
.theme-5 .d5-wide-note { max-width: none; margin: 16px 0 0; }
.theme-5 .d5-subhead { margin: clamp(40px, 5vw, 64px) 0 20px; }
.theme-5 .d5-statement { justify-content: center; padding-block: clamp(40px, 5vw, 72px); }
.theme-5 .d5-statement h2 { max-width: 30ch; font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -0.02em; }
.theme-5 .d5-point > svg { width: 40px; height: 40px; margin-bottom: 18px; color: var(--forest-700); }

.theme-5 .d5-steps { list-style: none; max-width: 36rem; margin-top: 30px; border-top: 1px solid var(--d5-hair); counter-reset: d5-step; }
.theme-5 .d5-steps li { position: relative; min-height: 76px; padding: 18px 0 18px 60px; border-bottom: 1px solid var(--d5-hair); counter-increment: d5-step; }
.theme-5 .d5-steps li::before { content: counter(d5-step); position: absolute; left: 0; top: 18px; display: grid; place-items: center; width: 40px; height: 40px; background: var(--ink); color: #FFFFFF; font-weight: 800; }
.theme-5 .d5-steps p { margin: 4px 0 0; font-size: var(--fs-small); line-height: 1.5; color: var(--muted); }

.theme-5 .d5-articles { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.theme-5 .d5-articles a { display: flex; flex-direction: column; align-items: center; height: 100%; padding: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 36px); text-align: center; }
.theme-5 .d5-articles .go { margin-top: auto; }
.theme-5 .d5-articles p { padding-bottom: 24px; }
@media (min-width: 900px) { .theme-5 .d5-articles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Video tiles: title on top, the thumbnail flush with the foot of the tile. */
.theme-5 .d5-videos { gap: 16px; }
.theme-5 .d5-videos a { display: flex; flex-direction: column; height: 100%; padding: clamp(24px, 2.6vw, 36px) clamp(18px, 2vw, 28px) 0; background: var(--tile); text-align: center; }
.theme-5 .d5-videos .thumb { order: 2; margin: auto calc(clamp(18px, 2vw, 28px) * -1) 0; }
.theme-5 .d5-videos a > span { padding-bottom: 24px; }
.theme-5 .d5-videos a:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }

@media (prefers-reduced-motion: no-preference) {
  .theme-5 .d5-tile figure img, .theme-5 .d5-person .ph img { transition: transform .6s var(--ease); }
  .theme-5 .d5-tile:hover figure img, .theme-5 .d5-person:hover .ph img { transform: scale(1.03); }
}

/* ---------- Inner page hero: flat grey band, and a photo on the right half when the page has one ---------- */
.theme-5 .page-hero { background: var(--d5-grey); color: var(--ink); }
.theme-5 .page-hero::after, .theme-5 .page-hero.has-media::after { display: none; }
.theme-5 .page-hero .flow { display: none; }
.theme-5 .page-hero .wrap { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(32px, 4.5vw, 56px); }
.theme-5 .page-hero h1 { color: var(--ink); max-width: 18ch; letter-spacing: -0.035em; }
.theme-5 .page-hero .lead { color: #333333; }
.theme-5 .page-hero .eyebrow { color: var(--forest-700); }
.theme-5 .page-hero a:not(.btn) { color: var(--forest-700); }
.theme-5 .page-hero a:not(.btn):hover { color: var(--ink); }
.theme-5 .page-hero :focus-visible { outline-color: var(--ink); }
.theme-5 .page-hero .muted { color: var(--muted); }
.theme-5 .crumbs { color: var(--muted); }
.theme-5 .crumbs li:not(:last-child)::after { color: #767676; }
.theme-5 .page-hero .crumbs a { color: var(--ink); }
.theme-5 .page-hero .btn-light { background: var(--forest-700); border-color: var(--forest-700); color: #FFFFFF; }
.theme-5 .page-hero .btn-light:hover { background: var(--forest-900); border-color: var(--forest-900); color: #FFFFFF; }
.theme-5 .page-hero .btn-ghost-light { color: var(--ink); border-color: var(--ink); }
.theme-5 .page-hero .btn-ghost-light:hover { background: var(--ink); color: #FFFFFF; }
@media (min-width: 900px) {
  .theme-5 .page-hero.has-media .hero-media { inset: 0 0 0 54%; z-index: 0; }
  .theme-5 .page-hero.has-media .wrap { display: flex; flex-direction: column; justify-content: center; min-height: clamp(380px, 34vw, 480px); }
  .theme-5 .page-hero.has-media .wrap > * { max-width: calc(50% - 24px); }
}
@media (max-width: 899px) {
  .theme-5 .page-hero.has-media .hero-media { position: static; aspect-ratio: 16 / 9; }
}

/* ---------- Shared components as flat square tiles ---------- */
.theme-5 .card, .theme-5 .fact, .theme-5 .person, .theme-5 .session, .theme-5 .aside-card, .theme-5 .method li,
.theme-5 .article-list a, .theme-5 .gallery figure, .theme-5 .form-card, .theme-5 .org-node, .theme-5 .values li { background: var(--tile); border: 0; }
.theme-5 a.card:hover, .theme-5 .article-list a:hover { transform: none; box-shadow: none; }
.theme-5 a.card:hover h3, .theme-5 .article-list a:hover h3 { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
.theme-5 .card p { color: var(--muted); }
.theme-5 .card .icon { background: #FFFFFF; }
.theme-5 .surface .card .icon, .theme-5 .surface-2 .card .icon { background: var(--d5-grey); }
.theme-5 .pillar .ph { background: #E4E4E4; }
.theme-5 .pillar .num { color: var(--forest-700); font-weight: 700; }
.theme-5 .ticks li::before { top: .5em; left: 6px; width: 9px; height: 9px; border-radius: 0; background: var(--logo-green); }
.theme-5 .on-dark .ticks li::before { background: var(--fresh); }

.theme-5 .fact b { font-weight: 800; letter-spacing: -0.035em; color: var(--ink); }
.theme-5 .logo-wall { gap: 12px; }
.theme-5 .logo-wall li { background: #FFFFFF; border: 1px solid var(--line); }
.theme-5 .surface .logo-wall li, .theme-5 .surface-2 .logo-wall li { border-color: transparent; }
.theme-5 .split .ph, .theme-5 .people-strip .ph, .theme-5 .person .ph { background: #E4E4E4; }
.theme-5 .person .role { color: var(--forest-700); font-weight: 700; }
.theme-5 .people-strip strong { color: var(--ink); font-weight: 700; }

.theme-5 .date-tile { background: #FFFFFF; }
.theme-5 .surface .date-tile, .theme-5 .surface-2 .date-tile { background: var(--d5-grey); }
.theme-5 .date-tile b { color: var(--ink); font-weight: 800; }
.theme-5 .session h3 a { color: var(--ink); text-decoration: none; }
.theme-5 .session h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.theme-5 .session.closed { background: var(--tile); }
.theme-5 .session.closed .date-tile { background: #E4E4E4; }
.theme-5 .on-dark .session h3 a { color: #FFFFFF; }
.theme-5 .on-dark .date-tile { background: rgba(255,255,255,.1); }
.theme-5 .on-dark .date-tile b { color: #FFFFFF; }
/* Inside the narrower detail column the register button drops under the session text. */
.theme-5 .prose ul.sessions, .theme-5 .prose ul.meta { padding-left: 0; }
@media (min-width: 861px) {
  .theme-5 .detail .session, .theme-5 .d5-specrow .session { grid-template-columns: 150px minmax(0, 1fr); }
  .theme-5 .detail .session > .btn, .theme-5 .detail .session > .badge, .theme-5 .d5-specrow .session > .btn, .theme-5 .d5-specrow .session > .badge { grid-column: 2; justify-self: start; }
}
.theme-5 .badge { border-radius: 0; font-weight: 700; }
.theme-5 .badge.green { background: var(--mint); border-color: transparent; }
.theme-5 .surface .badge.green { background: #FFFFFF; border-color: #A9CBB5; }
.theme-5 .empty { border: 1px solid var(--ink); background: transparent; }
.theme-5 .on-dark .empty { border-color: rgba(255,255,255,.5); }

.theme-5 .contact-options a { background: var(--tile); border: 0; }
.theme-5 .contact-options a:hover { transform: none; }
.theme-5 .white .contact-options a, .theme-5 .surface .contact-options a { background: var(--tile); }
.theme-5 .contact-options b { font-weight: 700; }

.theme-5 .steps li::before, .theme-5 .method li::before { border-radius: 0; background: var(--ink); font-weight: 800; }
.theme-5 .note { background: var(--mint); border-left: 0; }
.theme-5 .surface .note { background: #FFFFFF; }
.theme-5 .timeline li::before { border-radius: 0; border-color: var(--ink); }
.theme-5 .timeline .yr { color: var(--ink); font-weight: 800; }
.theme-5 .cred-list, .theme-5 .profile-list { border-top-color: var(--ink); }
.theme-5 .article-list .go { border-radius: 0; border-color: var(--ink); color: var(--ink); }
.theme-5 .article-list .topic { color: var(--forest-700); font-weight: 700; }
.theme-5 .video-grid .play { border-radius: 0; box-shadow: none; }
.theme-5 .org-node:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.theme-5 .org-lead { background: var(--forest-900); }

.theme-5 .table-scroll { padding: 8px clamp(16px, 2.4vw, 32px); background: var(--tile); }
.theme-5 .events-table thead th { color: var(--ink); font-weight: 700; border-bottom-color: var(--ink); }
.theme-5 .events-table tbody tr:last-child th, .theme-5 .events-table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) { .theme-5 .events-table tbody tr:last-child { border-bottom: 0; } }

/* ---------- Inner pages ---------- */
/* Topic, title and summary stack in the first column; the arrow box holds the second. */
.theme-5 .article-list a > * { grid-column: 1; }
.theme-5 .article-list a > .go { grid-column: 2; grid-row: 1 / span 3; }
.theme-5 .d5-articles a > .go { grid-column: auto; grid-row: auto; }
.theme-5 .prose .eyebrow + h2 { margin-top: 0; }
.theme-5 .steps strong { color: var(--ink); }
/* A hero photo sits on the right, so the split that follows it shows its photo on the left. */
.theme-5 .page-hero.has-media + .section .split > .ph:last-child { order: -1; }
.theme-5 .form > .error-summary + .form-section-title { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- Forms ---------- */
.theme-5 .field input, .theme-5 .field select, .theme-5 .field textarea { border: 1.5px solid #6B6B6B; border-radius: 0; background-color: #FFFFFF; }
.theme-5 .field input:focus, .theme-5 .field select:focus, .theme-5 .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 5px var(--ink); }
.theme-5 .field.invalid input, .theme-5 .field.invalid select, .theme-5 .field.invalid textarea { border-color: var(--error); }
.theme-5 .field.invalid .err::before { border-radius: 0; }
.theme-5 .field label, .theme-5 .field legend, .theme-5 .fieldset legend { color: var(--ink); font-weight: 700; }
.theme-5 .choice { border: 1.5px solid #6B6B6B; border-radius: 0; }
.theme-5 .choice:has(input:checked) { border-color: var(--ink); background: var(--mint); box-shadow: inset 0 0 0 1.5px var(--ink); }
.theme-5 .choice:has(input:focus-visible) { outline-color: var(--ink); }
.theme-5 .selection { background: #FFFFFF; border: 1px solid var(--ink); }
.theme-5 .form-status.ok { border-width: 1.5px; }

/* ---------- Footer: light grey band; columns fold into accordions under 768px ---------- */
.theme-5 .site-footer { background: var(--d5-grey); color: var(--muted); border-top: 1px solid var(--line); }
.theme-5 .site-footer a { color: var(--ink); }
.theme-5 .site-footer a:hover { color: var(--forest-700); }
.theme-5 .site-footer :focus-visible { outline-color: var(--ink); }
.theme-5 .footer-top h2, .theme-5 .footer-top summary { color: var(--ink); font-size: var(--fs-small); font-weight: 800; letter-spacing: -0.01em; }
.theme-5 .footer-brand p, .theme-5 .footer-related, .theme-5 .d5-address { color: var(--muted); }
.theme-5 .footer-brand img { height: 72px; }
.theme-5 .footer-related img { height: 30px; }
.theme-5 .footer-top details { display: none; }
.theme-5 .footer-bottom { border-top-color: var(--line); color: var(--muted); }
.theme-5 .footer-bottom a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.theme-5 .footer-top li a, .theme-5 .footer-bottom li a { display: inline-block; padding: 4px 0; }
@media (max-width: 767px) {
  .theme-5 .footer-top { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .theme-5 .footer-brand { margin-bottom: 28px; }
  .theme-5 .footer-top h2 { display: none; }
  .theme-5 .footer-top details { display: block; border-top: 1px solid var(--d5-hair); }
  .theme-5 .footer-top > :last-child { border-bottom: 1px solid var(--d5-hair); }
  .theme-5 .footer-top summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; list-style: none; cursor: pointer; }
  .theme-5 .footer-top summary::-webkit-details-marker { display: none; }
  .theme-5 .footer-top summary::after { content: ""; width: 10px; height: 10px; margin-right: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
  .theme-5 .footer-top details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
  /* The summary's panel is the list that follows it, so the links stay out of the tab order while it is closed. */
  .theme-5 .footer-top details:not([open]) + ul { display: none; }
  .theme-5 .footer-top details + ul { padding: 0 0 20px; }
  .theme-5 .footer-top li a { padding: 8px 0; }
  .theme-5 .footer-bottom { margin-top: 32px; }
}

/* ---------- Staging tools and the design switcher ---------- */
.theme-5 .staging-bar, .theme-5 #design-switcher { border: 1px solid var(--ink); border-radius: 0; box-shadow: none; }
.theme-5 .staging-bar button { border-width: 1.5px; border-color: var(--ink); color: var(--ink); }
.theme-5 .staging-bar button[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; }
.theme-5 #design-switcher a { border-radius: 0; color: var(--ink); }
.theme-5 #design-switcher a:hover { background: var(--d5-grey); }
.theme-5 #design-switcher a[aria-current="page"] { background: var(--ink); color: #FFFFFF; }
.theme-5 #design-switcher a:focus-visible { outline-color: var(--ink); }
.theme-5 body.show-confirm [data-confirm]:hover::after, .theme-5 body.show-confirm [data-confirm]:focus-visible::after { border-radius: 0; }
.theme-5 .skip-link { box-shadow: 0 0 0 2px var(--ink); }

/* ---------- Page loader: grey sheet, black pulse line, green dot, a forest hem ---------- */
.theme-5 #page-loader {
  --loader-bg: #F4F4F4;
  --loader-line: #111111;
  --loader-dot: #00A131;
  --loader-track: #CFCFCF;
  box-shadow: none;
}
.theme-5 #page-loader::after { height: 6px; background: var(--forest-900); }
.theme-5 .loader-stage { width: min(420px, 82vw); }
.theme-5 .loader-pulse { filter: none; }
.theme-5 .pulse-line { stroke-width: 3; }

/* ---------- Inner pages: sticky tab bar of same-page anchors, with the page action at the far right ---------- */
.theme-5 .d5-chips { position: sticky; top: var(--header); z-index: 50; background: #FFFFFF; box-shadow: 0 1px 0 var(--line); }
.theme-5 .d5-chips .wrap { display: flex; align-items: center; gap: 40px; }
.theme-5 .d5-chips ul { list-style: none; display: flex; flex: 1; gap: clamp(20px, 2.6vw, 36px); min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.theme-5 .d5-chips ul::-webkit-scrollbar { display: none; }
.theme-5 .d5-chips li { flex: none; }
.theme-5 .d5-chips ul a { display: inline-flex; align-items: center; min-height: 56px; color: var(--muted); font-size: var(--fs-small); font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; text-decoration: none; box-shadow: inset 0 -3px 0 transparent; }
.theme-5 .d5-chips ul a:hover, .theme-5 .d5-chips ul a:focus-visible, .theme-5 .d5-chips ul a[aria-current] { color: var(--ink); box-shadow: inset 0 -3px 0 #016737; }
.theme-5 .d5-chips ul a:focus-visible { outline-offset: -3px; }
.theme-5 .d5-chips .btn { flex: none; min-height: 40px; margin-left: auto; padding: 6px 22px; font-size: var(--fs-small); }
.theme-5 [id] { scroll-margin-top: 16px; }
.theme-5:has(.d5-chips) { scroll-padding-top: calc(var(--header) + 56px); }
/* On a phone the page already shows the action, and the tabs swipe under a soft fade at the right edge. */
@media (max-width: 767px) {
  .theme-5 .d5-chips .btn { display: none; }
  .theme-5 .d5-chips ul { padding-right: 36px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
  .theme-5 .d5-chips ul a { min-height: 48px; }
  .theme-5:has(.d5-chips) { scroll-padding-top: calc(var(--header) + 48px); }
}

/* ---------- Card grid: 3, 2, 1 columns. Every card has the same parts in the same places ---------- */
.theme-5 .d5-grid { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 600px) { .theme-5 .d5-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-5 .d5-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.theme-5 .d5-prod { display: flex; flex-direction: column; min-width: 0; background: var(--tile); }
.theme-5 .d5-prod figure { position: relative; flex: none; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: #E4E4E4; }
.theme-5 .d5-prod figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-5 .d5-prod-body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 24px clamp(18px, 1.8vw, 26px) 26px; }
.theme-5 .d5-prod h3 a { color: inherit; text-decoration: none; }
.theme-5 .d5-prod h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
.theme-5 .d5-prod-body > p:not([class]) { margin: 10px 0 0; font-size: var(--fs-small); line-height: 1.5; color: var(--muted); }
.theme-5 .d5-prod .d5-tag { margin: 0 0 10px; }
.theme-5 .d5-when { margin: 0 0 6px; font-size: var(--fs-h3); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; color: var(--forest-700); }
.theme-5 .d5-when b { font-weight: 800; color: var(--ink); }
.theme-5 .d5-spec { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 14px; font-size: var(--fs-small); font-weight: 600; line-height: 1.35; color: var(--ink); }
.theme-5 .d5-spec li + li { padding-left: 12px; border-left: 1px solid var(--d5-hair); }
.theme-5 .d5-price { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--d5-hair); font-size: var(--fs-small); line-height: 1.4; color: var(--muted); }
.theme-5 .d5-price b { display: block; font-size: var(--fs-ui); font-weight: 800; letter-spacing: -0.015em; color: var(--ink); }
.theme-5 .d5-price span { display: block; }
.theme-5 .d5-pdp .d5-claims { justify-content: flex-start; }
.theme-5 .d5-buy { display: flex; flex-direction: column; gap: 6px; margin: auto 0 0; padding-top: 22px; }
.theme-5 .d5-buy .btn { width: 100%; text-align: center; }
.theme-5 .d5-buy .d5-more { align-self: center; }
/* The spec line takes the spare height, so spec, date and actions sit on one line across a row of cards. */
.theme-5 .d5-prod-course .d5-spec { margin-top: auto; padding-top: 18px; }
.theme-5 .d5-prod-course .d5-buy { margin-top: 0; }
/* Cards without a photo keep a badge row of one height, so the names still line up. */
.theme-5 .d5-prod-course .d5-tag { min-height: 34px; margin: 0 0 12px; }
.theme-5 .d5-tag .d5-flag { position: static; background: var(--mint); }
.theme-5 .d5-guide .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-block: clamp(28px, 3.5vw, 44px); background: var(--d5-grey); padding-inline: clamp(20px, 3.5vw, 48px); width: calc(100% - var(--gutter) * 2); max-width: var(--max); }
.theme-5 .d5-guide .wrap > div > p:not([class]) { margin: 12px 0 0; color: var(--muted); }
.theme-5 .d5-guide h2 a { color: inherit; text-decoration: none; }
.theme-5 .d5-guide h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .14em; }
.theme-5 .d5-guide .d5-actions { margin: 0; }
/* A split with no photo: heading on the left, its list on the right, inside the page width. */
.theme-5 .d5-split.no-photo { grid-template-columns: minmax(0, 1fr); }
.theme-5 .d5-split.no-photo .d5-split-text, .theme-5 .d5-split.no-photo.is-flip .d5-split-text { padding: var(--section) max(var(--gutter), calc(50% - var(--max) / 2)); }
@media (min-width: 1024px) {
  .theme-5 .d5-split.no-photo .d5-split-text { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto auto auto 1fr; column-gap: clamp(32px, 5vw, 72px); }
  .theme-5 .d5-split.no-photo .d5-split-text > * { grid-column: 1; }
  .theme-5 .d5-split.no-photo .d5-split-text > ul, .theme-5 .d5-split.no-photo .d5-split-text > ol { grid-column: 2; grid-row: 1 / -1; max-width: none; margin-top: 0; }
}
.theme-5 .d5-flag { position: absolute; left: 0; top: 0; background: #FFFFFF; }
.theme-5 .surface .d5-flag { border-color: transparent; }
.theme-5 .d5-topic { margin: 0 0 8px; font-size: var(--fs-small); font-weight: 700; color: var(--forest-700); }
.theme-5 .d5-prod .ext { color: var(--muted); }
/* A listing band that opens straight under the page hero sits closer to it. */
.theme-5 .page-hero + .d5-band, .theme-5 .d5-chips + script + .d5-band:not(.d5-specs) { padding-top: clamp(40px, 5vw, 72px); }
.theme-5 .d5-listlead { max-width: 44rem; margin: 0 0 clamp(28px, 4vw, 44px); }

/* One column: course cards shrink the photo to a thumbnail so several fit a phone screen. */
@media (max-width: 599px) {
  .theme-5 .d5-prod-course { flex-direction: row; align-items: flex-start; }
  .theme-5 .d5-prod-course figure { flex: 0 0 88px; aspect-ratio: 1; margin: 20px 0 0 16px; }
  .theme-5 .d5-prod-course .d5-prod-body { padding: 20px 16px 22px 14px; }
  .theme-5 .d5-flag { position: static; display: none; }
}

/* ---------- Session rows: date block, course and spec, fee and claims, action ---------- */
.theme-5 .d5-lines { list-style: none; border-top: 1px solid var(--ink); }
.theme-5 .d5-line { display: grid; grid-template-columns: 128px minmax(0, 5fr) minmax(0, 4fr) 190px; gap: 16px clamp(20px, 2.6vw, 36px); align-items: center; padding: 24px 0; border-bottom: 1px solid var(--d5-hair); }
.theme-5 .d5-line-date { display: grid; place-content: center; align-self: stretch; min-height: 104px; margin: 0; padding: 12px; background: var(--tile); text-align: center; line-height: 1.2; }
.theme-5 .d5-line-date b { font-size: var(--fs-h3); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.theme-5 .d5-line-date span { margin-top: 4px; font-size: var(--fs-small); font-weight: 700; color: var(--forest-700); }
.theme-5 .d5-line h3 a { color: inherit; text-decoration: none; }
.theme-5 .d5-line h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
.theme-5 .d5-line .d5-spec { margin-top: 8px; font-weight: 400; color: var(--muted); }
.theme-5 .d5-line-fee p { margin: 0; font-size: var(--fs-small); font-weight: 700; line-height: 1.4; color: var(--ink); }
.theme-5 .d5-line .d5-claims { justify-content: flex-start; margin-top: 10px; }
.theme-5 .d5-line-act { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 0; }
.theme-5 .d5-line-act .btn { width: 100%; text-align: center; }
.theme-5 .d5-line.closed .d5-line-date b, .theme-5 .d5-line.closed h3 { color: var(--muted); }
@media (max-width: 1099px) {
  .theme-5 .d5-line { grid-template-columns: 128px minmax(0, 1fr) 190px; }
  .theme-5 .d5-line-date { grid-row: span 2; }
  .theme-5 .d5-line-act { grid-row: span 2; }
  .theme-5 .d5-line-fee { grid-column: 2; }
}
.theme-5 .d5-line.d5-read { grid-template-columns: minmax(0, 3fr) minmax(0, 7fr) 190px; align-items: start; }
.theme-5 .d5-read .d5-topic { margin: 4px 0 0; }
.theme-5 .d5-read .d5-line-main p { max-width: 44rem; margin: 8px 0 0; font-size: var(--fs-small); line-height: 1.5; color: var(--muted); }
@media (max-width: 899px) { .theme-5 .d5-line.d5-read { grid-template-columns: minmax(0, 1fr); gap: 8px; } .theme-5 .d5-read .d5-line-act { margin-top: 8px; align-items: stretch; } }
.theme-5 .d5-specrow .d5-line-date { align-self: start; }
/* In a spec row the list is narrower, so the fee and action drop under the course. */
@media (min-width: 700px) {
  .theme-5 .d5-specrow .d5-line { grid-template-columns: 128px minmax(0, 1fr) auto; }
  .theme-5 .d5-specrow .d5-line-date, .theme-5 .d5-specrow .d5-line-act { grid-row: span 2; }
  .theme-5 .d5-specrow .d5-line-fee { grid-column: 2; }
}
@media (max-width: 699px) {
  .theme-5 .d5-line { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .theme-5 .d5-line-date { display: flex; align-items: baseline; justify-content: flex-start; gap: 8px; min-height: 0; grid-row: auto; padding: 10px 14px; justify-self: start; }
  .theme-5 .d5-line-date span { margin-top: 0; }
  .theme-5 .d5-line-fee { grid-column: auto; }
  .theme-5 .d5-line-act { grid-row: auto; align-items: stretch; }
  .theme-5 .d5-line-act .d5-more { align-self: center; }
}

.theme-5 .d5-video > a { display: flex; flex: 1; flex-direction: column; color: inherit; text-decoration: none; }
.theme-5 .d5-video > a:focus-visible { outline-offset: -3px; }
.theme-5 .d5-video figure { aspect-ratio: 16 / 9; }
.theme-5 .d5-video .play { position: absolute; left: 0; bottom: 0; display: grid; place-items: center; width: 52px; height: 52px; background: #FFFFFF; }
.theme-5 .d5-video .play::before { content: ""; margin-left: 4px; border-left: 15px solid var(--ink); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.theme-5 .d5-src { margin: 6px 0 20px; font-size: var(--fs-small); color: var(--muted); }
.theme-5 .d5-video .btn { align-self: flex-start; min-height: 44px; margin-top: auto; padding: 6px 22px; font-size: var(--fs-small); }
.theme-5 .d5-video > a:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
.theme-5 .d5-video > a:hover .btn { background: var(--ink); color: #FFFFFF; }

.theme-5 .d5-event .d5-when { font-size: var(--fs-h2); }
.theme-5 .d5-kv { margin: 18px 0 0; border-top: 1px solid var(--d5-hair); font-size: var(--fs-small); line-height: 1.4; }
.theme-5 .d5-kv > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--d5-hair); }
.theme-5 .d5-kv dt { color: var(--muted); }
.theme-5 .d5-kv dd { margin: 0; font-weight: 700; color: var(--ink); }

.theme-5 .d5-shot { min-width: 0; }
.theme-5 .d5-shot figure { display: flex; flex-direction: column; height: 100%; margin: 0; background: var(--tile); }
.theme-5 .d5-shot img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.theme-5 .d5-shot figcaption { padding: 18px 20px; font-size: var(--fs-small); font-weight: 700; line-height: 1.4; color: var(--ink); }
.theme-5 .d5-shot figcaption span { display: block; margin-top: 4px; font-weight: 400; color: var(--muted); }
.theme-5 .d5-shot .gallery-download { align-self: flex-start; min-height: 44px; margin: auto 20px 22px; padding: 6px 20px; font-size: var(--fs-small); }

/* ---------- Rail: tiles in one row that scrolls inside its own box ---------- */
/* Positioned, so the visually hidden link text inside a tile scrolls with the rail and cannot widen the page. */
.theme-5 .d5-rail { position: relative; list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 300px); gap: 16px; padding-bottom: 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; }
.theme-5 .d5-rail > li { scroll-snap-align: start; }
.theme-5 .d5-rail:focus-visible { outline-offset: 4px; }
.theme-5 .d5-years > li { display: flex; flex-direction: column; padding: 22px 22px 26px; background: var(--tile); border-top: 3px solid var(--ink); }
.theme-5 .d5-years .yr { margin-bottom: 14px; font-size: var(--fs-h2); font-weight: 800; line-height: 1.1; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; color: var(--ink); }
.theme-5 .d5-years strong { font-weight: 700; line-height: 1.3; color: var(--ink); }
.theme-5 .d5-years strong + span { margin-top: 8px; font-size: var(--fs-small); line-height: 1.5; color: var(--muted); }

/* ---------- Product split: a framed photo on the left, title, spec and action on the right ---------- */
/* The block stays inside the page width and the photo keeps a 16:10 frame, so no photo is drawn larger than its file. */
.theme-5 .d5-pdp, .theme-5 .d5-split.is-framed { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px clamp(32px, 4.5vw, 64px); align-items: start; padding: clamp(28px, 3.5vw, 48px) max(var(--gutter), calc(50% - var(--max) / 2)) clamp(40px, 5vw, 72px); }
.theme-5 .d5-pdp { background: #FFFFFF; }
.theme-5 .d5-pdp > figure, .theme-5 .d5-split.is-framed > figure { position: relative; min-height: 0; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--d5-grey); }
.theme-5 .d5-pdp > figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-5 .d5-pdp-text { min-width: 0; }
.theme-5 .d5-split.is-framed { align-items: center; padding-block: clamp(48px, 6vw, 88px); }
.theme-5 .d5-split.is-framed .d5-split-text, .theme-5 .d5-split.is-framed.is-flip .d5-split-text { padding: 0; }
@media (min-width: 900px) { .theme-5 .d5-pdp > figure { position: sticky; top: calc(var(--header) + 24px); } }
.theme-5 .d5-pdp .crumbs a { color: var(--ink); }
.theme-5 .d5-pdp h1 { font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -0.032em; }
.theme-5 .d5-pdp .lead { max-width: 36rem; margin: 18px 0 0; font-size: var(--fs-body); }
.theme-5 .d5-pdp .d5-tag { margin: 0 0 12px; }
.theme-5 .d5-pdp .d5-claims { margin-top: 20px; }
.theme-5 .d5-pdp .d5-buy { flex-flow: row wrap; gap: 12px; margin-top: 0; padding-top: 28px; }
.theme-5 .d5-pdp .d5-buy .btn { width: auto; }
.theme-5 .d5-glance { max-width: 36rem; margin-top: 26px; }
.theme-5 .d5-glance h2 { font-size: var(--fs-ui); font-weight: 800; letter-spacing: -0.015em; }
.theme-5 .d5-glance .d5-kv { margin-top: 10px; border-top-color: var(--ink); }
.theme-5 .d5-direct { list-style: none; display: flex; flex-wrap: wrap; gap: 0 26px; margin-top: 10px; font-size: var(--fs-small); }
@media (max-width: 899px) {
  .theme-5 .d5-pdp, .theme-5 .d5-split.is-framed { grid-template-columns: minmax(0, 1fr); }
  .theme-5 .d5-split.is-framed.is-flip > figure { order: 0; }
}
@media (max-width: 479px) { .theme-5 .d5-pdp .d5-buy .btn { width: 100%; } }

/* ---------- Spec rows: heading in the left third, content in the rest, a black rule between rows ---------- */
.theme-5 .d5-specs { padding-top: 0; }
.theme-5 .d5-specrow { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px clamp(32px, 5vw, 72px); padding: clamp(32px, 4vw, 56px) 0; border-bottom: 1px solid var(--ink); }
.theme-5 .d5-specrow:last-child { border-bottom: 0; padding-bottom: 0; }
.theme-5 .d5-specrow > h2 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.02em; }
.theme-5 .d5-specrow .prose > :first-child, .theme-5 .d5-specrow > ul { margin-top: 0; }
.theme-5 .d5-specrow .prose > :last-child { margin-bottom: 0; }
.theme-5 .d5-specrow .d5-rows { max-width: none; }
.theme-5 .d5-specrow .grid { margin: 20px 0 0; gap: 16px; }
.theme-5 .d5-specrow .note { margin-bottom: 0; }
.theme-5 .d5-intro { max-width: 52rem; padding: clamp(32px, 4vw, 56px) 0; border-bottom: 1px solid var(--ink); }
.theme-5 .d5-intro .lead { color: var(--ink); }
@media (max-width: 1023px) { .theme-5 .d5-specrow { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 699px) { .theme-5 .d5-specrow .grid { grid-template-columns: minmax(0, 1fr); } }

.theme-5 .d5-buybox { padding: clamp(40px, 5vw, 72px) 0; background: var(--mint); }
.theme-5 .d5-buybox .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(32px, 5vw, 72px); align-items: start; }
.theme-5 .d5-buybox .wrap > * { grid-column: 1; }
.theme-5 .d5-buybox p { max-width: 40rem; margin: 12px 0 0; color: var(--muted); }
.theme-5 .d5-buybox hr { display: none; }
.theme-5 .d5-buybox .wrap > .btn { grid-column: 2; grid-row: 1; justify-self: start; }
.theme-5 .d5-buybox .direct { grid-column: 2; grid-row: 2; list-style: none; display: flex; flex-wrap: wrap; gap: 0 26px; margin-top: 10px; font-size: var(--fs-small); }
@media (max-width: 899px) {
  .theme-5 .d5-buybox .wrap { grid-template-columns: minmax(0, 1fr); }
  .theme-5 .d5-buybox .wrap > .btn, .theme-5 .d5-buybox .direct { grid-column: 1; grid-row: auto; }
  .theme-5 .d5-buybox .wrap > .btn { margin-top: 22px; }
}

/* ---------- Flat lists used by the credential, team and in-house pages ---------- */
/* Organisation chart: founder node, a connector, then the specialists in a row. */
.theme-5 .d5-tree { --d5-stem: 28px; display: grid; justify-items: center; }
.theme-5 .d5-node { display: grid; align-content: center; gap: 4px; height: 100%; min-height: 96px; padding: 16px 18px; background: #FFFFFF; color: var(--ink); line-height: 1.3; text-align: center; text-decoration: none; }
.theme-5 .d5-node strong { font-weight: 700; letter-spacing: -0.01em; }
.theme-5 .d5-node span { font-size: var(--fs-small); color: var(--muted); }
.theme-5 .d5-node:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.theme-5 .d5-node.is-lead { position: relative; width: min(100%, 380px); height: auto; background: var(--forest-900); color: #FFFFFF; }
.theme-5 .d5-node.is-lead span { color: #D4E4DA; }
.theme-5 .d5-node.is-lead:hover { box-shadow: inset 0 0 0 2px #FFFFFF; }
.theme-5 .d5-node.is-lead:focus-visible { outline-offset: 3px; }
.theme-5 .d5-node.is-lead::after { content: ""; position: absolute; left: calc(50% - 1px); top: 100%; width: 2px; height: var(--d5-stem); background: var(--ink); }
.theme-5 .d5-tree ul { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: calc(var(--d5-stem) * 2) 16px; width: 100%; margin-top: calc(var(--d5-stem) * 2); }
.theme-5 .d5-tree li { position: relative; min-width: 0; }
.theme-5 .d5-tree li::before { content: ""; position: absolute; left: calc(50% - 1px); top: calc(var(--d5-stem) * -1); width: 2px; height: var(--d5-stem); background: var(--ink); }
.theme-5 .d5-tree li::after { content: ""; position: absolute; left: -8px; right: -8px; top: calc(var(--d5-stem) * -1); height: 2px; background: var(--ink); }
.theme-5 .d5-tree li:first-child::after { left: calc(50% - 1px); }
.theme-5 .d5-tree li:last-child::after { right: calc(50% - 1px); }
@media (min-width: 600px) and (max-width: 1023px) {
  .theme-5 .d5-tree ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .theme-5 .d5-tree li:nth-child(3n+1)::after { left: calc(50% - 1px); }
  .theme-5 .d5-tree li:nth-child(3n)::after { right: calc(50% - 1px); }
  /* The second row hangs from the middle column, straight under the founder. */
  .theme-5 .d5-tree li:nth-child(5)::before { top: calc(var(--d5-stem) * -2); height: calc(var(--d5-stem) * 2); }
}
@media (max-width: 599px) {
  .theme-5 .d5-tree { justify-items: stretch; }
  .theme-5 .d5-node { min-height: 0; text-align: left; }
  .theme-5 .d5-node.is-lead { width: 100%; }
  .theme-5 .d5-node.is-lead::after { display: none; }
  .theme-5 .d5-tree ul { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 12px; padding-left: var(--d5-stem); }
  .theme-5 .d5-tree li::before { left: calc(var(--d5-stem) * -1 + 10px); top: 50%; width: calc(var(--d5-stem) - 10px); height: 2px; }
  .theme-5 .d5-tree li::after, .theme-5 .d5-tree li:first-child::after, .theme-5 .d5-tree li:last-child::after { left: calc(var(--d5-stem) * -1 + 10px); right: auto; top: -12px; bottom: 50%; width: 2px; height: auto; }
}

/* Team: person rows two to a line, every portrait on the same grey square. */
/* Portraits sit in a fixed frame, cropped from the top, and blend into the grey behind them. */
.theme-5 .d5-founder .wrap { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 40rem); gap: 28px clamp(32px, 5vw, 72px); align-items: center; }
.theme-5 .d5-founder figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--d5-grey); }
.theme-5 .d5-founder figure img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.theme-5 .d5-founder figure img, .theme-5 .d5-prow figure img { mix-blend-mode: multiply; }
.theme-5 .d5-founder .wrap > div > p:not([class]) { margin: 16px 0 0; color: var(--muted); }
@media (max-width: 767px) {
  .theme-5 .d5-founder .wrap { grid-template-columns: minmax(0, 1fr); }
  .theme-5 .d5-founder figure { max-width: 280px; }
}
.theme-5 .d5-founder .role, .theme-5 .d5-prow .role { margin: 6px 0 0; font-size: var(--fs-small); font-weight: 700; line-height: 1.35; color: var(--forest-700); }
.theme-5 .d5-prows { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.theme-5 .d5-prow { display: grid; grid-template-columns: 180px minmax(0, 1fr); background: var(--d5-grey); }
.theme-5 .d5-prow figure { align-self: start; margin: 0; aspect-ratio: 1; overflow: hidden; background: var(--d5-grey); }
.theme-5 .d5-prow figure img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.theme-5 .d5-prow > div { align-self: start; padding: 22px 26px 24px; }
.theme-5 .d5-prow > div > p:not([class]) { margin: 10px 0 0; font-size: var(--fs-small); line-height: 1.5; color: var(--muted); }
.theme-5 .d5-prow-note { display: grid; align-content: center; padding: 22px 26px; border: 1px solid var(--line); font-size: var(--fs-small); line-height: 1.5; color: var(--muted); }
@media (max-width: 1023px) { .theme-5 .d5-prows { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 519px) {
  .theme-5 .d5-prow { grid-template-columns: 104px minmax(0, 1fr); }
  .theme-5 .d5-prow > div { align-self: start; padding: 16px 16px 18px; }
}

.theme-5 .d5-flat { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; padding: 1px; }
.theme-5 .d5-flat li { position: relative; aspect-ratio: 4 / 3; background: #FFFFFF; outline: 1px solid var(--line); }
.theme-5 .d5-flat img { position: absolute; inset: 16%; width: 68%; height: 68%; object-fit: contain; }
@media (max-width: 1023px) { .theme-5 .d5-flat { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 699px) { .theme-5 .d5-flat { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.theme-5 .d5-fineprint { padding: 28px 0; border-top: 1px solid var(--line); }

/* Qualifications: one spec card per holder. */
.theme-5 .d5-qcards { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.theme-5 .d5-qcard { padding: clamp(22px, 2.6vw, 34px); background: var(--d5-grey); }
.theme-5 .d5-qcard .who { padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.theme-5 .d5-qcard .role { margin: 4px 0 0; font-size: var(--fs-small); font-weight: 700; line-height: 1.35; color: var(--forest-700); }
.theme-5 .d5-qcard ul { list-style: none; }
.theme-5 .d5-qcard ul li { padding: 14px 0; border-bottom: 1px solid var(--d5-hair); line-height: 1.4; break-inside: avoid; }
.theme-5 .d5-qcard ul strong { display: block; font-weight: 700; color: var(--ink); }
.theme-5 .d5-qcard ul li:last-child { border-bottom: 0; padding-bottom: 0; }
.theme-5 .d5-qcard ul span { display: block; margin-top: 2px; font-size: var(--fs-small); color: var(--muted); }
@media (min-width: 1024px) {
  .theme-5 .d5-qcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-5 .d5-qcard.is-wide { grid-column: 1 / -1; }
  .theme-5 .d5-qcard.is-wide ul { columns: 2; column-gap: clamp(32px, 4vw, 56px); }
}

.theme-5 .d5-sectors { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); border-top: 1px solid var(--ink); }
.theme-5 .d5-sectors li { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 16px; align-content: start; padding: 22px 0; border-bottom: 1px solid var(--d5-hair); }
.theme-5 .d5-sectors svg { grid-row: span 2; width: 30px; height: 30px; margin-top: 2px; color: var(--forest-700); }
.theme-5 .d5-sectors h3 { font-size: var(--fs-ui); }
.theme-5 .d5-sectors p { margin: 4px 0 0; font-size: var(--fs-small); line-height: 1.5; color: var(--muted); }
@media (max-width: 699px) { .theme-5 .d5-sectors { grid-template-columns: minmax(0, 1fr); } }

.theme-5 .d5-pricelist { list-style: none; border-top: 1px solid var(--ink); }
.theme-5 .d5-pricelist li { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 24px; padding: 16px 0; border-bottom: 1px solid var(--d5-hair); }
.theme-5 .d5-pricelist b { font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; color: var(--ink); }
.theme-5 .d5-pricelist span:not(.visually-hidden) { flex: none; font-size: var(--fs-small); font-weight: 700; color: var(--forest-700); }
@media (max-width: 519px) { .theme-5 .d5-pricelist li { flex-direction: column; } }
.theme-5 .d5-cols .d5-steps, .theme-5 .d5-cols .cred-list { max-width: none; margin-top: 0; }
.theme-5 .d5-steps h3 { font-size: var(--fs-ui); }

.theme-5 .d5-profile { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 72px); align-items: start; }
.theme-5 .d5-profile .founder-fig { margin: 0; }
.theme-5 .d5-profile .founder-fig .ph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--d5-grey); }
.theme-5 .d5-profile .founder-fig .ph img { width: 100%; height: 100%; object-fit: cover; object-position: center top; mix-blend-mode: multiply; }
@media (min-width: 900px) { .theme-5 .d5-profile .founder-fig { position: sticky; top: calc(var(--header) + 88px); } }
@media (max-width: 899px) {
  .theme-5 .d5-profile { grid-template-columns: minmax(0, 1fr); }
  .theme-5 .d5-profile .founder-fig { max-width: 300px; }
}
.theme-5 .d5-split-text h2 a { color: inherit; text-decoration: none; }
.theme-5 .d5-split-text h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .14em; }
.theme-5 .d5-split-text > .eyebrow + h2 + p:not([class]) { margin-top: 18px; }

@media (prefers-reduced-motion: no-preference) {
  .theme-5 .d5-prod figure img { transition: transform .6s var(--ease); }
  .theme-5 .d5-prod:hover figure img { transform: scale(1.03); }
}

/* ---------- Forms: contact rail on the left, fields two to a row under black section rules ---------- */
.theme-5 .form-card { padding: 0; background: transparent; }
.theme-5 .form { max-width: none; }
.theme-5 .form-section-title { padding-top: 20px; border-top: 2px solid var(--ink); }
.theme-5 .form > .form-section-title:first-child, .theme-5 .form > .error-summary + .form-section-title { padding-top: 20px; border-top: 2px solid var(--ink); }
.theme-5 .side-help .card { background: var(--d5-grey); }
@media (min-width: 961px) {
  .theme-5 .form-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .theme-5 .form-layout > .side-help { order: -1; position: sticky; top: calc(var(--header) + 24px); }
}
@media (min-width: 700px) {
  .theme-5 .form { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .theme-5 .form > * { grid-column: 1 / -1; }
  .theme-5 .form > .field:not(:has(textarea)) { grid-column: auto; align-self: end; }
}

/* ---------- Year lists (milestones, track record): one vertical line, year left, text right ---------- */
.theme-5 .d5-rail { scrollbar-width: none; }
.theme-5 .d5-rail::-webkit-scrollbar { display: none; }
.theme-5 .d5-rail.d5-years { display: block; max-width: 860px; overflow: visible; padding: 0; scroll-snap-type: none; }
.theme-5 .d5-years > li { position: relative; display: grid; grid-template-columns: 140px minmax(0, 1fr); column-gap: 32px; padding: 0 0 32px 34px; background: none; border-top: 0; }
.theme-5 .d5-years > li::before { content: ""; position: absolute; top: 6px; bottom: 0; left: 6px; width: 2px; background: #C9D3CD; }
.theme-5 .d5-years > li:last-child { padding-bottom: 0; }
.theme-5 .d5-years > li:last-child::before { bottom: auto; height: 14px; }
.theme-5 .d5-years > li::after { content: ""; position: absolute; top: 6px; left: 0; width: 14px; height: 14px; background: #016737; }
.theme-5 .d5-years .yr { grid-row: span 2; margin: 0; font-size: var(--fs-h3); line-height: 1.2; }
.theme-5 .d5-years strong { font-size: var(--fs-body); font-weight: 700; line-height: 1.4; }
.theme-5 .d5-years strong + span { margin-top: 6px; font-size: var(--fs-small); line-height: 1.55; }
@media (max-width: 600px) {
  .theme-5 .d5-years > li { grid-template-columns: 1fr; padding-bottom: 26px; }
  .theme-5 .d5-years .yr { grid-row: auto; margin-bottom: 6px; }
}
