/* Design 6 "Clarity": each hero is one wide screen in a thin glass bezel (the home hero is the plant photo), glass tiles on a
   soft green canvas, pill buttons with a round icon chip. Text sizes stay on the shared --fs-* tokens. */

.theme-6 {
  --d6-deep: #016737;
  --d6-fresh: #00A131;
  --d6-tint: #EEF6F0;
  --d6-stage: radial-gradient(70% 90% at 80% 4%, rgba(255,255,255,.32), rgba(255,255,255,0) 62%), linear-gradient(135deg, #016737 0%, #018A35 58%, #00A131 100%);
  /* The band carries white text, so it stays at the deep end of the stage gradient. */
  --d6-band: radial-gradient(60% 90% at 100% 0%, rgba(0,161,49,.1), rgba(0,161,49,0) 64%), linear-gradient(135deg, #0D3123 0%, #016737 78%);
  --d6-inset: max(var(--gutter), calc((100% - var(--max)) / 2));
  --d6-edge: clamp(8px, 1.5vw, 24px);
  --tile: rgba(255,255,255,.62);
  --tile-edge: rgba(255,255,255,.92);
  --tile-blur: blur(14px) saturate(140%);
  --tile-shadow: 0 24px 44px -34px rgba(13,49,35,.45);
  /* Light enough for small text on the band and on the glass cards over it. */
  --fresh: #C8F4CE;
  --forest-700: #016737;
  --forest-600: #0A7A45;
  --mint: #E3F0E7;
  --mint-2: #EEF6F0;
  --warm: #EEF6F0;
  --muted: #43534B;
  --line: #D3E3D8;
  --r-sm: 12px; --r: 24px; --r-lg: 32px;
  --header: 76px;
}
.theme-6 body { background: var(--d6-tint); }
/* Soft green light behind the canvas gives the glass tiles something to blur. */
.theme-6 main {
  background:
    radial-gradient(52rem 34rem at 100% 22%, rgba(0,161,49,.12), rgba(0,161,49,0) 70%),
    radial-gradient(44rem 32rem at 0% 52%, rgba(1,103,55,.1), rgba(1,103,55,0) 70%),
    radial-gradient(48rem 32rem at 92% 84%, rgba(0,161,49,.1), rgba(0,161,49,0) 70%);
}
.theme-6 h1, .theme-6 h2, .theme-6 h3, .theme-6 h4 { color: var(--forest-900); }
.theme-6 h1 { letter-spacing: -0.034em; }
.theme-6 h2 { letter-spacing: -0.026em; }
.theme-6 .on-dark h1, .theme-6 .on-dark h2, .theme-6 .on-dark h3, .theme-6 .on-dark h4 { color: #FFFFFF; }
.theme-6 :focus-visible { outline-color: var(--d6-deep); border-radius: 8px; }
.theme-6 .on-dark :focus-visible { outline-color: #FFFFFF; }
.theme-6 .btn:focus-visible, .theme-6 .nav-link:focus-visible, .theme-6 summary:focus-visible { border-radius: 999px; }

.theme-6 .eyebrow { display: block; margin-bottom: 12px; font-weight: 650; color: var(--d6-deep); }
.theme-6 .eyebrow::before { display: none; }
.theme-6 .on-dark .eyebrow { color: var(--fresh); }

/* ---------- Buttons: pills. The primary carries a round light chip with its icon on the left ---------- */
.theme-6 .btn { min-height: 56px; padding: 10px 26px; border-radius: 999px; border-width: 1.5px; letter-spacing: -0.01em; }
.theme-6 .btn-primary { padding-left: 10px; background: var(--d6-deep); border-color: var(--d6-deep); color: #FFFFFF; }
.theme-6 .btn-primary:hover { background: var(--forest-900); border-color: var(--forest-900); box-shadow: 0 14px 26px -16px rgba(13,49,35,.8); }
.theme-6 .d6-chip, .theme-6 .btn-primary:not(.has-chip)::before, .theme-6 .btn-light::before {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background-color: var(--d6-tint); color: var(--d6-deep);
}
.theme-6 .d6-chip svg { width: 18px; height: 18px; }
.theme-6 .btn-primary:not(.has-chip)::before, .theme-6 .btn-light::before {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10h11M11 5l5 5-5 5' fill='none' stroke='%23016737' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center; background-size: 18px; background-repeat: no-repeat;
}
/* Course and registration actions take the calendar. */
.theme-6 a.btn-primary[href*="/register/"]:not(.has-chip)::before, .theme-6 a.btn-primary[href*="/public-courses/"]:not(.has-chip)::before,
.theme-6 a.btn-light[href*="/register/"]::before, .theme-6 a.btn-light[href*="/public-courses/"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect x='3' y='4.5' width='14' height='12.5' rx='2' fill='none' stroke='%23016737' stroke-width='1.8'/%3E%3Cpath d='M3 8.5h14M7 2.8v3.4M13 2.8v3.4' stroke='%23016737' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}
.theme-6 .btn-primary .arrow, .theme-6 .btn-light .arrow { display: none; }
.theme-6 .btn.is-submitting::before { display: none; }
.theme-6 .btn.is-submitting { padding-left: 26px; }
.theme-6 .btn-secondary { background: rgba(255,255,255,.6); border-color: var(--d6-deep); color: var(--d6-deep); }
.theme-6 .btn-secondary:hover { background: var(--d6-deep); color: #FFFFFF; }
.theme-6 .btn-light { padding-left: 10px; background: #FFFFFF; border-color: #FFFFFF; color: var(--forest-900); }
.theme-6 .btn-light:hover { background: var(--d6-tint); border-color: var(--d6-tint); }
.theme-6 .btn-ghost-light { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.8); -webkit-backdrop-filter: none; backdrop-filter: none; }
.theme-6 .link-arrow { color: var(--d6-deep); font-weight: 650; }
.theme-6 .link-arrow:hover { color: var(--forest-900); }
.theme-6 .on-dark .link-arrow { color: var(--fresh); }
.theme-6 .d6-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin: 0; }

/* ---------- Header: light bar, logo left, links centred, action pill right ---------- */
.theme-6 .site-header { background: rgba(255,255,255,.97); box-shadow: 0 1px 0 rgba(13,49,35,.1); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .theme-6 .site-header { background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); }
}
.theme-6 .brand img { height: 38px; }
.theme-6 .nav-link, .theme-6 .nav-item > details > summary { min-height: 44px; padding: 6px 14px; border-radius: 999px; font-size: var(--fs-small); font-weight: 550; color: var(--forest-900); }
.theme-6 .nav-link:hover, .theme-6 .nav-item > details > summary:hover, .theme-6 .nav-item > details[open] > summary { background: var(--d6-tint); color: var(--forest-900); }
.theme-6 .nav-link[aria-current="page"], .theme-6 .nav-item.is-current > details > summary { background: var(--d6-tint); color: var(--d6-deep); box-shadow: none; border-radius: 999px; }
.theme-6 .menu { top: calc(100% + 10px); padding: 10px; border-radius: 24px; box-shadow: 0 0 0 1px rgba(13,49,35,.08), 0 30px 60px -30px rgba(13,49,35,.5); }
.theme-6 .menu a { border-radius: 16px; font-size: var(--fs-small); }
.theme-6 .menu a:hover, .theme-6 .menu a:focus-visible { background: var(--d6-tint); }
.theme-6 .menu a[aria-current="page"] { background: var(--d6-tint); box-shadow: none; color: var(--d6-deep); }
.theme-6 .nav-cta .btn { min-height: 44px; padding: 8px 22px; font-size: var(--fs-small); }
.theme-6 .nav-cta .btn::before { display: none; }
.theme-6 .menu-toggle { min-height: 44px; padding: 6px 16px; background: var(--d6-tint); border: 0; border-radius: 999px; font-size: var(--fs-small); color: var(--forest-900); }
@media (min-width: 1361px) {
  .theme-6 .nav { flex: 1; }
  .theme-6 .nav-item:first-child, .theme-6 .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-6 .menu-toggle { display: none; }
  .theme-6 .nav { display: flex; flex: 1; position: static; max-height: none; overflow: visible; flex-direction: row; align-items: center; gap: 0; padding: 0; background: none; box-shadow: none; }
  .theme-6 .nav-link, .theme-6 .nav-item > details > summary { width: auto; padding-inline: 11px; border-bottom: 0; border-radius: 999px; }
  .theme-6 .menu { position: absolute; min-width: 340px; padding: 10px; border-radius: 24px; box-shadow: 0 0 0 1px rgba(13,49,35,.08), 0 30px 60px -30px rgba(13,49,35,.5); }
  .theme-6 .menu a span { display: block; }
  .theme-6 .nav-item:first-child { margin-left: auto; }
  .theme-6 .nav-cta { margin: 0 0 0 auto; }
  .theme-6 .nav-cta .btn { width: auto; padding-inline: 18px; }
}
@media (max-width: 1279px) {
  .theme-6 .nav { background: #FFFFFF; border-radius: 0 0 24px 24px; box-shadow: 0 1px 0 var(--line) inset, 0 30px 44px -30px rgba(13,49,35,.5); }
  .theme-6 .nav-link, .theme-6 .nav-item > details > summary { min-height: 56px; padding: 12px 4px; border-radius: 0; font-size: var(--fs-ui); background: none; }
  .theme-6 .nav-link[aria-current="page"], .theme-6 .nav-item.is-current > details > summary { padding-left: 4px; border-radius: 0; background: none; }
  .theme-6 .menu { top: auto; padding: 4px 0 12px; border-radius: 0; box-shadow: none; }
  .theme-6 .menu a { font-size: var(--fs-ui); }
  .theme-6 .nav-cta .btn { min-height: 56px; font-size: var(--fs-ui); }
}
@media (max-width: 520px) { .theme-6 { --header: 68px; } .theme-6 .brand img { height: 32px; } }

/* ---------- Glass tile: translucent white, a 1px white inner border, a little blur ---------- */
.theme-6 .d6-glass, .theme-6 .card, .theme-6 .fact, .theme-6 .person, .theme-6 .session, .theme-6 .aside-card, .theme-6 .method li,
.theme-6 .article-list a, .theme-6 .gallery figure, .theme-6 .form-card, .theme-6 .org-node:not(.org-lead), .theme-6 .values li, .theme-6 .table-scroll, .theme-6 .contact-options a, .theme-6 .course-row {
  background: var(--tile); border: 0; border-radius: 24px;
  box-shadow: inset 0 0 0 1px var(--tile-edge), var(--tile-shadow);
  -webkit-backdrop-filter: var(--tile-blur); backdrop-filter: var(--tile-blur);
}
/* A sheet is itself a pane of glass, so the tiles on it are whiter and take a faint green edge. */
.theme-6 .is-sheet, .theme-6 .section.white { --tile: rgba(255,255,255,.78); --tile-edge: rgba(1,103,55,.12); --tile-blur: none; }
.theme-6 .on-dark { --tile: rgba(255,255,255,.07); --tile-edge: rgba(255,255,255,.3); --tile-blur: none; --tile-shadow: 0 0 0 0 transparent; }

/* ---------- Stage and frame: a hero is one near full-width screen in a thin glass bezel ---------- */
.theme-6 .d6-stage { margin: var(--d6-edge) var(--d6-edge) 0; }
.theme-6 .d6-frame { padding: 6px; border-radius: 32px; background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px #FFFFFF, 0 40px 70px -46px rgba(13,49,35,.7); }
.theme-6 .d6-screen { position: relative; overflow: hidden; border-radius: 26px; background: #FFFFFF; }

/* ---------- Home hero: text straight on the plant photo. The wash is dark behind the text and clears to the right ---------- */
.theme-6 .d6-hero {
  --d6-text: 44rem;
  display: grid; align-content: end; justify-items: start; gap: 0; min-height: clamp(540px, calc(100vh - var(--header) - 96px), 900px);
  padding: clamp(200px, 30vw, 260px) var(--d6-inset) clamp(24px, 4vw, 64px); background: var(--forest-900); isolation: isolate;
}
.theme-6 .d6-hero > * { position: relative; z-index: 1; max-width: min(100%, var(--d6-text)); }
.theme-6 .d6-hero > .d6-hero-photo { position: absolute; inset: 0; z-index: 0; max-width: none; margin: 0; overflow: hidden; }
.theme-6 .d6-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
/* Narrow screens: the photo shows clear at the top, then the wash holds at 86% or more under the stacked text. */
.theme-6 .d6-hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,49,35,0) 0, rgba(13,49,35,.2) 70px, rgba(13,49,35,.86) 180px, rgba(13,49,35,.92) 100%);
}
.theme-6 .d6-company { margin: 0 0 14px; font-size: var(--fs-ui); font-weight: 650; color: var(--fresh); }
.theme-6 .d6-hero h1 { max-width: 13ch; color: #FFFFFF; }
.theme-6 .d6-hero .lead { margin: 20px 0 0; max-width: min(100%, 38rem); color: #F2F8F4; }
.theme-6 .d6-hero .d6-actions { margin-top: 28px; }
/* Three separate smoked-glass labels: their own dark ground keeps the white text at AA wherever they wrap. */
.theme-6 .d6-pace { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(24px, 3vw, 40px); }
.theme-6 .d6-pace li {
  padding: 8px 16px; border-radius: 999px; background: rgba(13,49,35,.6); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
  font-size: var(--fs-small); font-weight: 600; line-height: 1.35; color: #FFFFFF;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.theme-6 .d6-hero :focus-visible { outline-color: #FFFFFF; }
@media (min-width: 1000px) {
  .theme-6 .d6-hero { align-content: center; padding-block: clamp(40px, 5vw, 80px); }
  /* Stops are tied to the text column, so the wash is at least 70% wherever text can sit, at any screen width. */
  .theme-6 .d6-hero-photo::after {
    background:
      linear-gradient(0deg, rgba(13,49,35,.5), rgba(13,49,35,0) 30%),
      linear-gradient(90deg, rgba(13,49,35,.94) 0, rgba(13,49,35,.86) calc(var(--d6-inset) + 26rem), rgba(13,49,35,.7) calc(var(--d6-inset) + var(--d6-text)), rgba(13,49,35,.12) calc(var(--d6-inset) + 64rem), rgba(13,49,35,0) calc(var(--d6-inset) + 76rem));
  }
}
@media (max-width: 479px) {
  .theme-6 .d6-hero .d6-actions { width: 100%; }
  .theme-6 .d6-hero .d6-actions .btn { width: 100%; }
}

/* ---------- Home bands ---------- */
.theme-6 .d6-band { padding: var(--section) 0; }
.theme-6 .is-sheet { margin-inline: var(--d6-edge); border-radius: 32px; background: rgba(255,255,255,.56); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9); }
.theme-6 .d6-head { max-width: 48rem; margin-bottom: clamp(32px, 4vw, 56px); }
.theme-6 .d6-head p:not(.eyebrow) { margin: 18px 0 0; color: var(--muted); }
.theme-6 .d6-head.is-centre { margin-inline: auto; text-align: center; }
.theme-6 .d6-head.is-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px clamp(24px, 4vw, 64px); align-items: end; max-width: none; }
.theme-6 .d6-head.is-split > p { margin: 0; }
.theme-6 .d6-head.is-split > .d6-head-link { justify-self: end; }
@media (max-width: 899px) { .theme-6 .d6-head.is-split > .d6-head-link { justify-self: start; } }
@media (max-width: 899px) { .theme-6 .d6-head.is-split { grid-template-columns: minmax(0, 1fr); } }

.theme-6 .d6-stats { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.theme-6 .d6-stats li { padding: clamp(22px, 2.4vw, 32px); }
.theme-6 .d6-stats b { display: block; margin-bottom: 10px; font-size: var(--fs-h2); font-weight: 650; line-height: 1.1; letter-spacing: -0.03em; color: var(--d6-deep); }
.theme-6 .d6-stats span { display: block; font-size: var(--fs-small); line-height: 1.45; color: var(--muted); }
@media (max-width: 1099px) { .theme-6 .d6-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 519px) { .theme-6 .d6-stats { grid-template-columns: minmax(0, 1fr); } }

/* Client logos sit in one white tray, because the logo files have white grounds. */
.theme-6 .d6-tray { margin-top: 16px; padding: clamp(20px, 3vw, 40px); border-radius: 24px; background: #FFFFFF; box-shadow: var(--tile-shadow); }
.theme-6 .d6-logos { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px) clamp(12px, 2vw, 32px); align-items: center; }
.theme-6 .d6-logos li { display: grid; place-items: center; height: 68px; }
.theme-6 .d6-logos img { max-width: 100%; max-height: 60px; width: auto; object-fit: contain; }
.theme-6 .d6-tray .d6-actions { justify-content: center; margin-top: clamp(16px, 2.4vw, 28px); }
.theme-6 .d6-tray .d4-foot { margin-top: clamp(16px, 2.4vw, 28px); }
.theme-6 .d6-marquee-track > ul[aria-hidden="true"] { display: none; }
@media (max-width: 899px) { .theme-6 .d6-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 519px) { .theme-6 .d6-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } .theme-6 .d6-logos li { height: 56px; } }

/* Services: two wide tiles, the photo inset on one side and swapping sides on the second. */
.theme-6 .d6-services { list-style: none; display: grid; gap: 20px; }
.theme-6 .d6-service { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 3.4vw, 56px); align-items: center; padding: 12px; }
.theme-6 .d6-service figure { margin: 0; aspect-ratio: 16 / 11; border-radius: 14px; overflow: hidden; background: var(--mint); }
.theme-6 .d6-service figure img { width: 100%; height: 100%; object-fit: cover; }
.theme-6 .d6-service > div { padding: clamp(12px, 2vw, 28px) clamp(12px, 2.4vw, 36px) clamp(16px, 2vw, 28px) 0; }
.theme-6 .d6-service.is-flip figure { order: 2; }
.theme-6 .d6-service.is-flip > div { padding-left: clamp(12px, 2.4vw, 36px); padding-right: 0; }
.theme-6 .d6-service h3 a, .theme-6 .d6-session h3 a { color: inherit; text-decoration: none; }
.theme-6 .d6-service h3 a:hover, .theme-6 .d6-session h3 a:hover { color: var(--d6-deep); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
.theme-6 .d6-service > div > p:not([class]) { margin: 12px 0 0; color: var(--muted); }
.theme-6 .d6-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.theme-6 .d6-tags li { padding: 6px 14px; border-radius: 999px; background: var(--d6-tint); font-size: var(--fs-small); font-weight: 600; line-height: 1.35; color: var(--forest-900); }
.theme-6 .d6-service .d6-actions { margin-top: 26px; }
@media (max-width: 899px) {
  .theme-6 .d6-service { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .theme-6 .d6-service.is-flip figure { order: 0; }
  .theme-6 .d6-service > div, .theme-6 .d6-service.is-flip > div { padding: 22px 12px 16px; }
}
@media (max-width: 479px) { .theme-6 .d6-service .d6-actions .btn { width: 100%; } }

/* ---------- Carousel rail: a plain scroll row until carousel.js adds the buttons ---------- */
.theme-6 .d4-rail { list-style: none; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: var(--d6-inset); padding: 8px var(--d6-inset) 28px; }
.theme-6 .d4-rail > li { flex: none; scroll-snap-align: start; width: clamp(210px, 21%, 270px); }
.theme-6 .d6-carousel.is-enhanced .d4-rail { scrollbar-width: none; }
.theme-6 .d6-carousel.is-enhanced .d4-rail::-webkit-scrollbar { display: none; }
.theme-6 .d4-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.theme-6 .d4-ctl { display: flex; gap: 10px; margin-left: auto; }
.theme-6 .d4-ctl[hidden] { display: none; }
.theme-6 .d4-ctl-btn { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.8); box-shadow: inset 0 0 0 1px rgba(1,103,55,.3); color: var(--d6-deep); cursor: pointer; }
.theme-6 .d4-ctl-btn:hover { background: var(--d6-deep); color: #FFFFFF; }
.theme-6 .d4-ctl-btn[disabled] { background: rgba(255,255,255,.5); box-shadow: inset 0 0 0 1px rgba(13,49,35,.12); color: #7A8A81; cursor: default; }
.theme-6 .d4-ctl-btn:focus-visible { border-radius: 50%; }
.theme-6 .d4-ctl-btn svg { width: 20px; height: 20px; }
.theme-6 .d4-ctl-btn.is-prev svg { transform: scaleX(-1); }

.theme-6 .d6-person { display: block; height: 100%; padding: 10px 10px 20px; color: inherit; text-decoration: none; }
.theme-6 .d6-person .ph { display: block; aspect-ratio: 4 / 5; margin-bottom: 14px; border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, #F2F6F3, #DDE8E1); }
.theme-6 .d6-person img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.theme-6 .d6-person strong { display: block; padding: 0 8px; font-size: var(--fs-small); line-height: 1.35; color: var(--forest-900); }
.theme-6 .d6-person .role { display: block; margin-top: 4px; padding: 0 8px; font-size: var(--fs-small); line-height: 1.4; color: var(--muted); }
.theme-6 .d6-person:hover strong { color: var(--d6-deep); }
.theme-6 .d6-person:focus-visible { border-radius: 24px; }

/* ---------- Sessions as glass cards ---------- */
.theme-6 .d6-sessions { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 700px) { .theme-6 .d6-sessions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .theme-6 .d6-sessions { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.theme-6 .d6-session { display: flex; flex-direction: column; padding: clamp(22px, 2.4vw, 32px); }
.theme-6 .d6-date { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 14px; color: var(--d6-deep); }
.theme-6 .d6-date b { font-size: var(--fs-h3); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.theme-6 .d6-date span { font-size: var(--fs-small); font-weight: 600; }
.theme-6 .d6-session .meta { flex-direction: column; gap: 8px; margin-top: 16px; }
.theme-6 .d6-session .meta li { align-items: flex-start; }
.theme-6 .d6-session .meta svg { margin-top: .28em; }
.theme-6 .d6-claims { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }
.theme-6 .d6-claims .badge { border-radius: 16px; }
.theme-6 .d6-session .d6-actions { margin-top: auto; }
.theme-6 .d6-after { margin-top: clamp(28px, 4vw, 44px); }
@media (max-width: 479px) { .theme-6 .d6-after .btn { width: 100%; } }

/* ---------- Closing band: the page's second and last green gradient, with glass cards on it ---------- */
.theme-6 .d6-closing { padding-top: clamp(20px, 3vw, 40px); }
.theme-6 .d6-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding: clamp(28px, 5vw, 72px); border-radius: 32px; background: var(--d6-band); color: #E3EEE7; }
.theme-6 .d6-panel .d6-head { margin-bottom: 0; }
.theme-6 .d6-panel .d6-head p:not(.eyebrow) { color: #E3EEE7; }
.theme-6 .d6-reach { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.theme-6 .d6-reach a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 24px; border-radius: 24px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); color: #FFFFFF; text-decoration: none; overflow-wrap: anywhere; }
.theme-6 .d6-reach a:hover { background: rgba(255,255,255,.12); color: #FFFFFF; }
.theme-6 .d6-reach svg { width: 28px; height: 28px; margin-bottom: 8px; color: var(--fresh); }
.theme-6 .d6-reach b { font-size: var(--fs-ui); }
.theme-6 .d6-reach span { font-size: var(--fs-small); line-height: 1.4; color: #FFFFFF; }
.theme-6 .d6-reach .is-primary a { background: #FFFFFF; box-shadow: none; color: var(--forest-900); }
.theme-6 .d6-reach .is-primary a:hover { background: var(--d6-tint); color: var(--forest-900); }
.theme-6 .d6-reach .is-primary svg { color: var(--d6-deep); }
.theme-6 .d6-reach .is-primary span { color: var(--muted); }
.theme-6 .d6-reach a:focus-visible { border-radius: 24px; }
@media (max-width: 999px) { .theme-6 .d6-panel { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 519px) { .theme-6 .d6-reach { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Hover and focus: linked cards lift, the glass brightens, the chip nudges, links draw an underline ---------- */
.theme-6 .d6-glass, .theme-6 .course-row { position: relative; isolation: isolate; }
/* The brighter pane and deeper shadow live on a layer behind the content, so the change is an opacity fade. */
.theme-6 .d6-glass::after, .theme-6 .course-row::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(255,255,255,.55);
  box-shadow: inset 0 0 0 1px rgba(1,103,55,.26), 0 34px 54px -30px rgba(13,49,35,.6); opacity: 0; pointer-events: none;
}
.theme-6 .on-dark .d6-glass::after { display: none; }
.theme-6 .d6-glass:hover::after, .theme-6 a.d6-glass:focus-visible::after, .theme-6 .course-row:hover::after { opacity: 1; }
.theme-6 .d6-glass:has(:focus-visible)::after, .theme-6 .course-row:has(:focus-visible)::after { opacity: 1; }
.theme-6 .d6-stats b { font-variant-numeric: tabular-nums; }
.theme-6 .link-arrow, .theme-6 .footer-top li a { position: relative; }
.theme-6 .link-arrow::before, .theme-6 .footer-top li a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: left center;
}
.theme-6 .link-arrow::before { right: 20px; bottom: 7px; }
.theme-6 .link-arrow:hover::before, .theme-6 .link-arrow:focus-visible::before, .theme-6 .footer-top li a:hover::after, .theme-6 .footer-top li a:focus-visible::after { transform: scaleX(1); }
.theme-6 .link-arrow:focus-visible::after { transform: translateX(3px) rotate(45deg); }

@media (prefers-reduced-motion: no-preference) {
  .theme-6 { --d6-out: cubic-bezier(.16,.84,.3,1); }
  .theme-6 .d6-service figure img, .theme-6 .d6-person img, .theme-6 .d6-course figure img { transition: transform .6s var(--d6-out); }
  .theme-6 .d6-service:hover figure img, .theme-6 .d6-person:hover img, .theme-6 .d6-person:focus-visible img, .theme-6 .d6-course:hover figure img { transform: scale(1.04); }
  .theme-6 .d6-reach a, .theme-6 .d4-ctl-btn { transition: background-color .2s ease, color .2s ease, transform .3s var(--d6-out); }
  .theme-6 .d6-reach a:hover, .theme-6 .d6-reach a:focus-visible { transform: translateY(-3px); }
  .theme-6 .d6-glass, .theme-6 .course-row { transition: transform .35s var(--d6-out); }
  .theme-6 .d6-glass::after, .theme-6 .course-row::after { transition: opacity .35s ease-out; }
  .theme-6 a.d6-glass:hover, .theme-6 a.d6-glass:focus-visible { transform: translateY(-4px); }
  .theme-6 .d6-glass:has(a):hover, .theme-6 .d6-glass:has(a:focus-visible), .theme-6 .course-row:hover, .theme-6 .course-row:has(a:focus-visible) { transform: translateY(-4px); }
  .theme-6 a.card:focus-visible, .theme-6 .article-list a:focus-visible, .theme-6 .d6-videos a:hover, .theme-6 .d6-videos a:focus-visible { transform: translateY(-3px); }
  .theme-6 .d6-videos a { transition: transform .35s var(--d6-out); }
  .theme-6 .d6-chip, .theme-6 .btn-primary:not(.has-chip)::before, .theme-6 .btn-light::before { transition: transform .3s var(--d6-out); }
  .theme-6 .btn:hover .d6-chip, .theme-6 .btn:focus-visible .d6-chip,
  .theme-6 .btn-primary:not(.has-chip):hover::before, .theme-6 .btn-primary:not(.has-chip):focus-visible::before,
  .theme-6 .btn-light:hover::before, .theme-6 .btn-light:focus-visible::before { transform: translateX(4px); }
  .theme-6 .btn:focus-visible { transform: translateY(-1px); }
  .theme-6 .btn:active { transform: scale(.98); }
  .theme-6 .link-arrow::before, .theme-6 .footer-top li a::after { transition: transform .35s var(--d6-out); }

  /* Hero entrance waits for the loader: main.js adds `loaded` on release, and the head script adds it within 4s regardless. */
  .theme-6.js:not(.loaded) :is(.d6-hero > :not(.d6-hero-photo), .d6-pagehero-text > *, .d6-pagehero-media, .page-hero .wrap) { opacity: 0; }
  .theme-6.js.loaded :is(.d6-hero > :not(.d6-hero-photo), .d6-pagehero-text > *, .d6-pagehero-media, .page-hero .wrap) { animation: d6-rise .7s var(--d6-out) calc(.18s + var(--d6-i, 0) * .1s) backwards; }
  .theme-6 .d6-hero h1, .theme-6 .d6-pagehero-text > :nth-child(2) { --d6-i: 1; }
  .theme-6 .d6-hero .lead, .theme-6 .d6-pagehero-text > :nth-child(3), .theme-6 .d6-pagehero-media { --d6-i: 2; }
  .theme-6 .d6-hero .d6-actions, .theme-6 .d6-pagehero-text > :nth-child(4) { --d6-i: 3; }
  .theme-6 .d6-pace { --d6-i: 4; }
  /* The photo starts slightly enlarged and settles once; it does not loop. */
  .theme-6.js:not(.loaded) .d6-hero-photo img { transform: scale(1.12) translate3d(-1.5%, 1%, 0); }
  .theme-6.js.loaded .d6-hero-photo img { animation: d6-settle 9s cubic-bezier(.12,.6,.3,1) backwards; }

  /* Scroll reveal: d6-motion.js adds these classes, so without it nothing is hidden. */
  .theme-6.d6-motion .d6-rv { opacity: 0; transform: translateY(22px); }
  .theme-6.d6-motion .d6-rv.is-in { opacity: 1; transform: none; transition: opacity .6s var(--d6-out) var(--d6-d, 0s), transform .6s var(--d6-out) var(--d6-d, 0s); }

  .theme-6 .d6-marquee.is-live .d6-marquee-view { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
  .theme-6 .d6-marquee.is-live .d6-marquee-track { display: flex; width: max-content; animation: d6-marquee 72s linear infinite; }
  .theme-6 .d6-marquee.is-live .d6-logos { display: flex; gap: 0; }
  .theme-6 .d6-marquee.is-live .d6-logos li { flex: none; width: 184px; padding-inline: 26px; }
  .theme-6 .d6-marquee.is-live .d6-marquee-view:hover .d6-marquee-track,
  .theme-6 .d6-marquee.is-live .d6-marquee-view:focus-within .d6-marquee-track,
  .theme-6 .d6-marquee.is-paused .d6-marquee-track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .theme-6 .btn:hover, .theme-6 a.card:hover, .theme-6 .contact-options a:hover { transform: none; }
  .theme-6 .d6-marquee .d4-ctl { display: none; }
}
@media print { .theme-6.d6-motion .d6-rv { opacity: 1; transform: none; } }
@keyframes d6-rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes d6-settle { from { transform: scale(1.12) translate3d(-1.5%, 1%, 0); } }
@keyframes d6-marquee { to { transform: translateX(-50%); } }

/* ---------- Landing pages: a light screen with the photo on the right, then glass cards on the canvas ---------- */
.theme-6 .d6-pagehero { display: grid; gap: 28px; padding: clamp(28px, 4.4vw, 72px) var(--d6-inset); background: radial-gradient(60% 120% at 100% 0%, rgba(0,161,49,.14), rgba(0,161,49,0) 70%), linear-gradient(120deg, #FFFFFF 30%, #E6F3EA 100%); }
.theme-6 .d6-pagehero .crumbs { justify-content: flex-start; margin-bottom: 18px; }
.theme-6 .d6-pagehero .crumbs a { color: var(--d6-deep); }
.theme-6 .d6-pagehero .crumbs a:hover { color: var(--forest-900); }
.theme-6 .d6-pagehero h1 { max-width: 16ch; font-size: var(--fs-page); }
.theme-6 .d6-pagehero .lead { max-width: 38rem; margin: 20px 0 0; color: var(--ink); }
.theme-6 .d6-pagehero .d6-actions { margin-top: 28px; }
.theme-6 .d6-pagehero-media { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 34px 60px -36px rgba(13,49,35,.7); }
.theme-6 .d6-pagehero-media > img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--mint); }
@media (min-width: 900px) {
  .theme-6 .d6-pagehero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(28px, 4vw, 64px); align-items: center; }
}
@media (max-width: 899px) {
  .theme-6 .d6-pagehero-media > img { aspect-ratio: 16 / 9; }
  .theme-6 .d6-photo { justify-self: center; width: 100%; max-width: 560px; }
}
@media (max-width: 479px) { .theme-6 .d6-pagehero .d6-actions .btn { width: 100%; } }

.theme-6 .d6-band.is-tight { padding: clamp(28px, 4vw, 56px) 0; }
.theme-6 .d6-grid { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 700px) { .theme-6 .d6-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .theme-6 .d6-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .theme-6 .d6-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.theme-6 .d6-card { display: flex; flex-direction: column; padding: clamp(22px, 2.4vw, 32px); }
.theme-6 .d6-card h3 a, .theme-6 .d6-course h3 a { color: inherit; text-decoration: none; }
.theme-6 .d6-card h3 a:hover, .theme-6 .d6-course h3 a:hover { color: var(--d6-deep); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
.theme-6 .d6-card > p:not([class]) { margin: 10px 0 0; color: var(--muted); }
.theme-6 .d6-grid.cols-4 .d6-card > p:not([class]) { font-size: var(--fs-small); }
.theme-6 .d6-card .d6-tags { margin-top: 18px; }
.theme-6 .d6-card .d6-actions { margin-top: auto; padding-top: 22px; }
.theme-6 .d6-icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 50%; background: var(--d6-tint); box-shadow: inset 0 0 0 1px rgba(1,103,55,.16); color: var(--d6-deep); }
.theme-6 .d6-icon svg { width: 26px; height: 26px; }
.theme-6 .d6-statement .eyebrow { margin-bottom: 10px; }
.theme-6 .d6-statement h2 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -0.015em; }
.theme-6 .d6-num { margin: 0 0 8px; font-size: var(--fs-small); font-weight: 650; color: var(--d6-deep); }

.theme-6 .d6-course { display: flex; flex-direction: column; padding: 12px; }
.theme-6 .d6-course figure { margin: 0; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--mint); }
.theme-6 .d6-course figure img { width: 100%; height: 100%; object-fit: cover; }
.theme-6 .d6-course > div { flex: 1; display: flex; flex-direction: column; padding: 20px 12px 8px; }
.theme-6 .d6-course > div > p:not([class]) { margin: 10px 0 0; color: var(--muted); }
.theme-6 .d6-course .meta { flex-direction: column; gap: 8px; margin-top: 16px; }
.theme-6 .d6-course .d6-actions { margin-top: auto; padding-top: 12px; }
.theme-6 .d6-flag { margin: 0 0 12px; }
.theme-6 .note.d6-wide-note { max-width: none; margin: 16px 0 0; }
.theme-6 .d6-subhead { margin: clamp(40px, 5vw, 56px) 0 20px; }

.theme-6 .d6-split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
.theme-6 .d6-split .d6-head { margin-bottom: 28px; }
.theme-6 .d6-cols { display: grid; gap: 24px clamp(28px, 4vw, 64px); align-items: start; }
.theme-6 .d6-cols .d6-head { margin-bottom: 0; }
@media (min-width: 900px) {
  .theme-6 .d6-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-6 .d6-split.is-wide-left { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .theme-6 .d6-cols { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
}
/* A photo takes the hero's bezel. */
.theme-6 .d6-photo { margin: 0; padding: 10px; border-radius: 32px; background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 1px var(--tile-edge), var(--tile-shadow); }
.theme-6 .d6-photo img { width: 100%; aspect-ratio: 4 / 3; border-radius: 22px; object-fit: cover; background: var(--mint); }
.theme-6 .d6-photo.is-tall img { aspect-ratio: 4 / 5; }
.theme-6 .d6-prose h2 + p { margin-top: 18px; }
.theme-6 .d6-prose .d6-actions { margin-top: 26px; }
.theme-6 .d6-checks { list-style: none; display: grid; gap: 12px; }
.theme-6 .d6-checks li { position: relative; padding: 18px 20px 18px 66px; font-weight: 550; line-height: 1.4; color: var(--forest-900); }
.theme-6 .d6-checks li::before {
  content: ""; position: absolute; left: 18px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%;
  background: var(--d6-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8' fill='none' stroke='%23FFFFFF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.theme-6 .d6-profile { padding: 6px clamp(20px, 2.6vw, 36px); }
.theme-6 .d6-profile .profile-list { border-top: 0; }
.theme-6 .d6-profile .profile-list > div { border-bottom-color: rgba(13,49,35,.12); }
.theme-6 .d6-profile .profile-list > div:last-child { border-bottom: 0; }

.theme-6 .d6-steps { list-style: none; counter-reset: d6-step; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 700px) { .theme-6 .d6-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .theme-6 .d6-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.theme-6 .d6-steps li { counter-increment: d6-step; padding: clamp(22px, 2.4vw, 30px); }
.theme-6 .d6-steps li::before { content: counter(d6-step, decimal-leading-zero); display: block; margin-bottom: 18px; font-size: var(--fs-h3); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--d6-deep); }
.theme-6 .d6-steps p { margin: 8px 0 0; font-size: var(--fs-small); color: var(--muted); }
.theme-6 .d6-actions.is-centre { justify-content: center; }

.theme-6 .d6-videos a { height: 100%; padding: 10px 10px 20px; border-radius: 24px; background: var(--tile); box-shadow: inset 0 0 0 1px var(--tile-edge), var(--tile-shadow); }
.theme-6 .d6-videos .thumb { border-radius: 14px; }
.theme-6 .d6-videos h3, .theme-6 .d6-videos a > span { padding: 0 8px; }
.theme-6 .d6-videos a:hover h3 { color: var(--d6-deep); }
.theme-6 .d6-videos a:focus-visible { border-radius: 24px; }

.theme-6 .d6-panel.is-cta { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.theme-6 .d6-panel.is-cta h2 { max-width: 20ch; }
@media (min-width: 1000px) { .theme-6 .d6-panel.is-cta .d6-actions { justify-content: flex-end; } }
@media (max-width: 999px) { .theme-6 .d6-panel.is-cta { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 479px) { .theme-6 .d6-panel.is-cta .btn, .theme-6 .d6-after.is-centre .btn, .theme-6 .d6-prose .d6-actions .btn, .theme-6 .d6-card .d6-actions .btn { width: 100%; } }

/* ---------- Inner page hero: open type on the canvas; with a photo it is the photo in one thin bezel, like the home hero ---------- */
.theme-6 .page-hero { overflow: visible; background: none; color: var(--ink); }
.theme-6 .page-hero .flow { display: none; }
.theme-6 .page-hero .wrap { padding-top: clamp(36px, 5vw, 76px); padding-bottom: clamp(4px, 1.4vw, 20px); }
.theme-6 .page-hero h1 { max-width: 20ch; color: var(--forest-900); }
.theme-6 .page-hero .lead { max-width: 40rem; margin-top: 18px; color: var(--muted); }
.theme-6 .page-hero .eyebrow { color: var(--d6-deep); }
.theme-6 .page-hero a:not(.btn) { color: var(--d6-deep); }
.theme-6 .page-hero a:not(.btn):hover { color: var(--forest-900); }
.theme-6 .page-hero :focus-visible { outline-color: var(--d6-deep); }
.theme-6 .page-hero .muted { color: var(--muted); }
.theme-6 .crumbs { margin-bottom: 18px; color: var(--muted); }
.theme-6 .crumbs li:not(:last-child)::after { color: #6B7C73; }
.theme-6 .page-hero .btn-light { background: var(--d6-deep); border-color: var(--d6-deep); color: #FFFFFF; }
.theme-6 .page-hero .btn-light:hover { background: var(--forest-900); border-color: var(--forest-900); color: #FFFFFF; }
.theme-6 .page-hero .btn-ghost-light { background: rgba(255,255,255,.6); border-color: var(--d6-deep); color: var(--d6-deep); }
.theme-6 .page-hero .btn-ghost-light:hover { background: var(--d6-deep); color: #FFFFFF; }
.theme-6 .page-hero.has-media {
  margin: calc(var(--d6-edge) + 6px) calc(var(--d6-edge) + 6px) 0; overflow: hidden; border-radius: 26px; background: var(--forest-900); color: #F2F8F4;
  box-shadow: 0 0 0 6px rgba(255,255,255,.7), 0 40px 70px -40px rgba(13,49,35,.7);
}
/* Narrow screens keep an even 86% wash, because the text covers the whole photo. */
.theme-6 .page-hero.has-media::after { background: linear-gradient(180deg, rgba(13,49,35,.82), rgba(13,49,35,.92)); }
.theme-6 .page-hero.has-media .wrap { padding-top: clamp(40px, 7vw, 104px); padding-bottom: clamp(48px, 8vw, 120px); }
.theme-6 .page-hero.has-media h1 { color: #FFFFFF; }
.theme-6 .page-hero.has-media .lead { max-width: 36rem; color: #F2F8F4; }
.theme-6 .page-hero.has-media .crumbs, .theme-6 .page-hero.has-media .crumbs a:not(.btn) { color: #E3EEE7; }
.theme-6 .page-hero.has-media .crumbs a:not(.btn):hover { color: #FFFFFF; }
.theme-6 .page-hero.has-media .crumbs li:not(:last-child)::after { color: rgba(255,255,255,.6); }
.theme-6 .page-hero.has-media .eyebrow { color: var(--fresh); }
.theme-6 .page-hero.has-media :focus-visible { outline-color: #FFFFFF; }
.theme-6 .page-hero.has-media .btn-light { background: #FFFFFF; border-color: #FFFFFF; color: var(--forest-900); }
.theme-6 .page-hero.has-media .btn-light:hover { background: var(--d6-tint); border-color: var(--d6-tint); color: var(--forest-900); }
.theme-6 .page-hero.has-media .btn-ghost-light { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.8); color: #FFFFFF; }
.theme-6 .page-hero.has-media .btn-ghost-light:hover { background: #FFFFFF; color: var(--forest-900); }
@media (min-width: 1000px) {
  /* Same wash as the home hero: at least 70% wherever the 40rem text column can sit, clear photo to the right. */
  .theme-6 .page-hero.has-media::after {
    background: linear-gradient(90deg, rgba(13,49,35,.94) 0, rgba(13,49,35,.86) calc(var(--d6-inset) + 24rem), rgba(13,49,35,.7) calc(var(--d6-inset) + 40rem), rgba(13,49,35,.12) calc(var(--d6-inset) + 60rem), rgba(13,49,35,0) calc(var(--d6-inset) + 72rem));
  }
  .theme-6 .page-hero.has-media h1, .theme-6 .page-hero.has-media .btn-row { max-width: 40rem; }
}
@media (max-width: 599px) { .theme-6 .page-hero .btn-row .btn { width: 100%; } }

/* ---------- Shared sections ---------- */
.theme-6 .surface, .theme-6 .surface-2 { background: transparent; }
.theme-6 .section.white { margin-inline: var(--d6-edge); border-radius: 32px; background: rgba(255,255,255,.56); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9); }
.theme-6 .section.white + .section.white { margin-top: 12px; }
.theme-6 .page-hero + .section.white { margin-top: var(--d6-edge); }
.theme-6 main > .page-hero:last-child { margin-bottom: clamp(28px, 5vw, 64px); }
/* A dark section becomes an inset forest panel; the last one on the page takes the green gradient. */
.theme-6 .section.on-dark { margin: clamp(12px, 2vw, 28px) var(--d6-inset); border-radius: 32px; background: var(--forest-900); }
.theme-6 .section.on-dark > .wrap { padding-inline: clamp(22px, 4vw, 64px); }
.theme-6 main > .section.on-dark:last-child { margin-bottom: clamp(28px, 5vw, 64px); background: var(--d6-band); }
.theme-6 .head p { color: var(--muted); }
.theme-6 .on-dark .head p { color: #E3EEE7; }

.theme-6 a.card:hover, .theme-6 .article-list a:hover { border-color: transparent; box-shadow: inset 0 0 0 1px rgba(1,103,55,.4), var(--tile-shadow); }
.theme-6 .card .icon { border-radius: 50%; background: var(--d6-tint); color: var(--d6-deep); }
.theme-6 .pillar { padding: 12px; overflow: visible; }
.theme-6 .pillar .ph { border-radius: 14px; }
.theme-6 .pillar .num { color: var(--d6-deep); }
.theme-6 .fact b { color: var(--d6-deep); }
.theme-6 .logo-wall li { border: 0; border-radius: 16px; background: #FFFFFF; }
.theme-6 .split .ph { border-radius: 24px; }
.theme-6 .people-strip .ph { border-radius: 20px; }
.theme-6 .person { overflow: hidden; }
.theme-6 .date-tile { border-radius: 16px; background: var(--d6-tint); }
.theme-6 .on-dark .date-tile { background: rgba(13,49,35,.4); }
.theme-6 .on-dark .date-tile span { color: #FFFFFF; }
.theme-6 .on-dark .meta, .theme-6 .on-dark .muted { color: #F2F8F4; }
.theme-6 .session h3 a { color: var(--forest-900); text-decoration: none; }
.theme-6 .session h3 a:hover { color: var(--d6-deep); text-decoration: underline; text-decoration-thickness: 2px; }
.theme-6 .on-dark .session h3 a, .theme-6 .on-dark .session h3 a:hover { color: #FFFFFF; }
.theme-6 .session.closed { background: rgba(255,255,255,.34); }
.theme-6 .prose ul.sessions, .theme-6 .prose ul.meta { padding-left: 0; }
@media (min-width: 861px) {
  .theme-6 .detail .session { grid-template-columns: 150px minmax(0, 1fr); }
  .theme-6 .detail .session > .btn, .theme-6 .detail .session > .badge { grid-column: 2; justify-self: start; }
}
.theme-6 .badge.green { background: var(--d6-tint); border-color: #A9CBB5; color: var(--d6-deep); }
.theme-6 .empty { border: 1.5px dashed #8FB59C; border-radius: 24px; background: rgba(255,255,255,.4); }
.theme-6 .on-dark .empty { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.5); }
.theme-6 .contact-options a { color: var(--forest-900); }
.theme-6 .contact-options a:hover { background: #FFFFFF; color: var(--forest-900); }
.theme-6 .contact-options span { color: var(--muted); }
.theme-6 .contact-options svg { color: var(--d6-deep); }
.theme-6 .on-dark .contact-options a, .theme-6 .on-dark .contact-options a:hover { color: #FFFFFF; }
.theme-6 .on-dark .contact-options a:hover { background: rgba(255,255,255,.12); }
.theme-6 .on-dark .contact-options span { color: #FFFFFF; }
.theme-6 .on-dark .contact-options svg { color: var(--fresh); }
.theme-6 .on-dark .contact-options .primary a { background: #FFFFFF; color: var(--forest-900); }
.theme-6 .on-dark .contact-options .primary span { color: var(--muted); }
.theme-6 .on-dark .contact-options .primary svg { color: var(--d6-deep); }
.theme-6 .values p { color: #F2F8F4; }
.theme-6 .aside-card hr { border-top-color: rgba(13,49,35,.14); }
.theme-6 .steps li::before, .theme-6 .method li::before { background: var(--d6-deep); }
.theme-6 .note { border-left: 0; border-radius: 20px; background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px rgba(1,103,55,.16); }
.theme-6 .timeline li::before { border-color: var(--d6-fresh); }
.theme-6 .article-list .go { border-color: var(--d6-deep); background: var(--d6-tint); color: var(--d6-deep); }
.theme-6 .article-list .topic { color: var(--d6-deep); }
/* Text in the first column, the round arrow beside all three lines. */
.theme-6 .article-list a > * { grid-column: 1; }
.theme-6 .article-list a > .go { grid-column: 2; grid-row: 1 / span 3; }
.theme-6 .video-grid .thumb { border-radius: 20px; }
.theme-6 .gallery figure { overflow: hidden; }
.theme-6 .gallery-download { display: inline-flex; }
.theme-6 .org-node:hover { box-shadow: inset 0 0 0 2px var(--d6-deep), var(--tile-shadow); }
.theme-6 .org-lead { border-radius: 24px; background: var(--forest-900); border-color: var(--forest-900); }
.theme-6 .table-scroll { padding: 8px clamp(16px, 2.4vw, 32px); }
.theme-6 .events-table tbody tr:last-child th, .theme-6 .events-table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) { .theme-6 .events-table tbody tr:last-child { border-bottom: 0; } }
.theme-6 .profile-list { border-top-color: rgba(13,49,35,.2); }
/* The qualifications table reads as one glass tile. */
.theme-6 .cred-list { padding: 6px clamp(16px, 2.4vw, 32px); border-top: 0; border-radius: 24px; background: var(--tile); box-shadow: inset 0 0 0 1px var(--tile-edge), var(--tile-shadow); }
.theme-6 .cred-list li { border-bottom-color: rgba(13,49,35,.12); }
.theme-6 .cred-list li:last-child { border-bottom: 0; }

/* Public courses: each course is a glass row. An open date is marked by a green edge all round, not a side stripe. */
.theme-6 .course-row.has-date { box-shadow: inset 0 0 0 1.5px rgba(1,103,55,.55), var(--tile-shadow); }
.theme-6 .course-row h3 a:hover { color: var(--d6-deep); text-decoration-thickness: 2px; text-underline-offset: .18em; }
.theme-6 .cr-next b { color: var(--d6-deep); }
.theme-6 .cr-act .btn { min-height: 52px; }

/* ---------- Forms ---------- */
.theme-6 .form-card { border-radius: 32px; }
.theme-6 .field input, .theme-6 .field select, .theme-6 .field textarea { border: 1.5px solid #6F8A7B; border-radius: 16px; background-color: #FFFFFF; }
.theme-6 .field input:focus, .theme-6 .field select:focus, .theme-6 .field textarea:focus { border-color: var(--d6-deep); box-shadow: 0 0 0 4px rgba(0,161,49,.24); }
.theme-6 .field.invalid input, .theme-6 .field.invalid select, .theme-6 .field.invalid textarea { border-color: var(--error); }
.theme-6 .choice { border: 1.5px solid #6F8A7B; border-radius: 999px; background: #FFFFFF; }
.theme-6 .choice:has(input:checked) { border-color: var(--d6-deep); background: var(--d6-tint); box-shadow: inset 0 0 0 1.5px var(--d6-deep); }
.theme-6 .choice:has(input:focus-visible) { outline-color: var(--d6-deep); border-radius: 999px; }
.theme-6 .selection { border: 0; border-radius: 20px; background: var(--d6-tint); box-shadow: inset 0 0 0 1px #A9CBB5; }
.theme-6 .error-summary, .theme-6 .form-status { border-radius: 20px; }

/* ---------- Footer: a light sheet with the full-colour logos ---------- */
.theme-6 .site-footer { background: #FFFFFF; color: var(--muted); border-radius: 32px 32px 0 0; box-shadow: 0 -1px 0 rgba(13,49,35,.08); }
.theme-6 .site-footer a { color: var(--forest-900); }
.theme-6 .site-footer a:hover { color: var(--d6-deep); }
.theme-6 .footer-top h2 { color: var(--d6-deep); font-weight: 650; }
.theme-6 .footer-brand p, .theme-6 .footer-related, .theme-6 .d6-address { color: var(--muted); }
.theme-6 .footer-brand img { height: 76px; }
.theme-6 .footer-related img { height: 30px; }
.theme-6 .footer-bottom { border-top-color: var(--line); color: var(--muted); }
.theme-6 .footer-bottom a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.theme-6 .footer-top li a, .theme-6 .footer-bottom li a { display: inline-block; padding: 4px 0; }

/* ---------- Staging tools and the design switcher ---------- */
.theme-6 .staging-bar, .theme-6 #design-switcher { background: rgba(255,255,255,.96); border: 1px solid rgba(13,49,35,.18); box-shadow: 0 18px 34px -20px rgba(13,49,35,.6); }
.theme-6 .staging-bar button { border-width: 1.5px; border-color: var(--d6-deep); color: var(--d6-deep); }
.theme-6 .staging-bar button[aria-pressed="true"] { background: var(--d6-deep); color: #FFFFFF; }
.theme-6 #design-switcher a { color: var(--d6-deep); }
.theme-6 #design-switcher a:hover { background: var(--d6-tint); }
.theme-6 #design-switcher a[aria-current="page"] { background: var(--d6-deep); color: #FFFFFF; }
.theme-6 #design-switcher a:focus-visible { outline-color: var(--d6-deep); border-radius: 999px; }
.theme-6 body.show-confirm [data-confirm]:hover::after, .theme-6 body.show-confirm [data-confirm]:focus-visible::after { border-radius: 12px; }
.theme-6 .skip-link { border-radius: 999px; }

/* ---------- Page loader: the pulse line runs inside a small framed screen on the green stage ---------- */
.theme-6 #page-loader {
  --loader-bg: var(--d6-stage);
  --loader-line: #016737;
  --loader-dot: #00A131;
  --loader-track: #D3E3D8;
  --loader-glow: rgba(0,161,49,.2);
  box-shadow: none;
}
.theme-6 #page-loader::after { height: 3px; background: var(--d6-tint); }
.theme-6 .loader-stage {
  width: min(430px, 82vw); padding: clamp(26px, 6vw, 44px) clamp(22px, 5vw, 40px) clamp(18px, 4vw, 30px); border-radius: 22px; background: #FFFFFF;
  box-shadow: 0 0 0 10px rgba(255,255,255,.28), 0 0 0 11px rgba(255,255,255,.5), 0 44px 80px -40px rgba(6,48,27,.8);
}

/* ---------- Inner pages: chips, appointment rail, booking cards, glance card ---------- */
.theme-6 main [id] { scroll-margin-top: calc(var(--header) + 24px); }
.theme-6 .d6-chips ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.theme-6 .d6-chips a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: 999px; background: rgba(255,255,255,.72);
  box-shadow: inset 0 0 0 1px rgba(1,103,55,.32); font-size: var(--fs-small); font-weight: 600; color: var(--d6-deep); text-decoration: none;
}
.theme-6 .d6-chips a:hover, .theme-6 .d6-chips a:focus-visible { background: var(--d6-deep); color: #FFFFFF; }
.theme-6 .d6-chips a:focus-visible { border-radius: 999px; }
.theme-6 .d6-chips + * { margin-top: clamp(20px, 3vw, 32px); }
.theme-6 main li:target > .d6-glass, .theme-6 main .d6-glass:target { box-shadow: inset 0 0 0 2px var(--d6-deep), var(--tile-shadow); }
.theme-6 .d6-intro { max-width: 44rem; margin: 0 0 clamp(20px, 3vw, 32px); color: var(--ink); }
.theme-6 .d6-foot-note { margin-top: 28px; }

.theme-6 .d6-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.theme-6 .d6-pills li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--d6-tint); font-size: var(--fs-small); font-weight: 600; line-height: 1.35; color: var(--forest-900); }
.theme-6 .d6-pills svg { flex: none; width: 16px; height: 16px; color: var(--d6-deep); }
.theme-6 .d6-pills li:has(.badge) { padding: 0; background: none; }
.theme-6 .d6-pills.is-large { margin: 0 0 24px; }
.theme-6 .d6-facts { display: grid; margin: 14px 0 20px; }
.theme-6 .d6-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(13,49,35,.12); }
.theme-6 .d6-facts dt { font-size: var(--fs-small); color: var(--muted); }
.theme-6 .d6-facts dd { margin: 0; font-size: var(--fs-small); font-weight: 650; text-align: right; color: var(--forest-900); }
.theme-6 .d6-facts.is-inline { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 10px 0 0; }
.theme-6 .d6-facts.is-inline > div { justify-content: flex-start; gap: 8px; padding: 0; border: 0; }

/* The date chip sits on a rail, so a list of sessions, events or milestones reads as a sequence in time. */
.theme-6 .d6-appts { list-style: none; display: grid; gap: 14px; }
.theme-6 .d6-appt { position: relative; display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 0 20px; }
.theme-6 .d6-appt::before { content: ""; position: absolute; left: 65px; top: 8px; bottom: -14px; width: 2px; background: rgba(1,103,55,.22); }
.theme-6 .d6-appt:last-child::before { display: none; }
.theme-6 .d6-when { margin: 0; }
.theme-6 .d6-appt > .d6-when { position: relative; align-self: start; display: grid; gap: 2px; padding: 14px 8px; border-radius: 20px; background: var(--d6-deep); text-align: center; color: #FFFFFF; }
.theme-6 .d6-when b { font-size: var(--fs-h3); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.theme-6 .d6-when span { font-size: var(--fs-small); font-weight: 600; line-height: 1.3; }
.theme-6 .d6-appt.is-closed > .d6-when { background: #56645D; }
.theme-6 .d6-appt-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: clamp(18px, 2vw, 26px); }
.theme-6 .d6-appt-card > div { flex: 1 1 320px; min-width: 0; }
.theme-6 .d6-appt-card h2, .theme-6 .d6-appt-card h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.015em; }
.theme-6 .d6-appt-card h3 a { color: inherit; text-decoration: none; }
.theme-6 .d6-appt-card h3 a:hover { color: var(--d6-deep); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
.theme-6 .d6-appt-card p:not([class]) { margin: 6px 0 0; font-size: var(--fs-small); color: var(--muted); }
.theme-6 .d6-appts > .empty { padding: clamp(20px, 3vw, 32px); }
.theme-6 .d6-appts > .empty .d6-actions { margin-top: 16px; }
@media (max-width: 639px) {
  .theme-6 .d6-appt { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .theme-6 .d6-appt::before { display: none; }
  .theme-6 .d6-appt > .d6-when { justify-self: start; display: flex; align-items: baseline; gap: 8px; padding: 8px 16px; }
  .theme-6 .d6-appt-card .d6-actions, .theme-6 .d6-appt-card .d6-actions .btn { width: 100%; }
}

.theme-6 .d6-books { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 700px) { .theme-6 .d6-books { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .theme-6 .d6-books { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.theme-6 .d6-book { display: flex; flex-direction: column; padding: 12px; }
.theme-6 .d6-book > .d6-when { display: grid; gap: 2px; padding: 18px 20px; border-radius: 16px; background: var(--d6-tint); color: var(--forest-900); }
.theme-6 .d6-book > .d6-when .cr-label { font-weight: 500; color: var(--muted); }
.theme-6 .d6-book > .d6-when span:last-child { color: var(--muted); }
.theme-6 .d6-book.has-date > .d6-when { background: var(--d6-deep); color: #FFFFFF; }
.theme-6 .d6-book.has-date > .d6-when b { font-size: var(--fs-h2); }
.theme-6 .d6-book.has-date > .d6-when .cr-label, .theme-6 .d6-book.has-date > .d6-when span:last-child { color: #E3EEE7; }
.theme-6 .d6-book-body { flex: 1; padding: 20px 12px 8px; }
.theme-6 .d6-book-body h3 { margin-top: 10px; }
.theme-6 .d6-book-body h3:first-child { margin-top: 0; }
.theme-6 .d6-book-body h3 a { color: inherit; text-decoration: none; }
.theme-6 .d6-book-body h3 a:hover { color: var(--d6-deep); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
.theme-6 .d6-book-body > p { margin: 10px 0 0; font-size: var(--fs-small); color: var(--muted); }
.theme-6 .d6-book-act { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px; }

/* Detail pages: the at-a-glance card is frosted glass that rides up over the hero photo. */
.theme-6 .d6-detail-grid { display: grid; gap: 28px; }
.theme-6 .d6-glance, .theme-6 .page-hero.has-media + .section > .detail > .aside-card {
  position: relative; z-index: 2; padding: clamp(22px, 2.4vw, 30px); border: 0; border-radius: 24px; background: rgba(255,255,255,.88);
  box-shadow: inset 0 0 0 1px #FFFFFF, 0 34px 60px -34px rgba(13,49,35,.75); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
}
.theme-6 .d6-glance { margin-top: calc(-1 * (clamp(28px, 4vw, 56px) + 36px)); }
.theme-6 .d6-glance h2 { font-size: var(--fs-h3); }
.theme-6 .d6-glance .d6-actions .btn { width: 100%; }
.theme-6 .d6-glance .direct { list-style: none; display: grid; gap: 2px; margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(13,49,35,.12); font-size: var(--fs-small); }
.theme-6 .d6-detail-main .d6-card h2 { font-size: var(--fs-h3); letter-spacing: -0.015em; }
.theme-6 .d6-detail-main .ticks { margin-top: 14px; }
.theme-6 .d6-dates-title { margin: clamp(36px, 5vw, 56px) 0 20px; }
@media (min-width: 1100px) {
  .theme-6 .d6-detail-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); column-gap: clamp(32px, 5vw, 72px); align-items: start; }
  .theme-6 .d6-detail-main { grid-column: 1; grid-row: 1; }
  .theme-6 .d6-glance { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header) + 24px); margin-top: calc(-1 * (clamp(28px, 4vw, 56px) + 150px)); }
  .theme-6 .page-hero.has-media + .section > .detail > .aside-card { margin-top: calc(-1 * (var(--section) + 230px)); }
}

.theme-6 .d6-topics { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.theme-6 .d6-topics li { padding: 14px 22px; border-radius: 24px; background: rgba(255,255,255,.82); box-shadow: inset 0 0 0 1px rgba(1,103,55,.16); }
.theme-6 .d6-topics h3 { font-size: var(--fs-ui); font-weight: 600; line-height: 1.35; letter-spacing: 0; }

/* ---------- Inner pages: articles, videos, gallery ---------- */
.theme-6 .d6-articles2 { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 900px) { .theme-6 .d6-articles2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.theme-6 .d6-article { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 20px; align-content: start; height: 100%; padding: clamp(20px, 2.2vw, 28px); color: inherit; text-decoration: none; }
.theme-6 .d6-article > * { grid-column: 1; }
.theme-6 .d6-article .topic { justify-self: start; padding: 4px 12px; border-radius: 999px; background: var(--d6-tint); font-size: var(--fs-small); font-weight: 650; color: var(--d6-deep); }
.theme-6 .d6-article h2 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -0.015em; }
.theme-6 .d6-article p { margin: 0; font-size: var(--fs-small); color: var(--muted); }
.theme-6 .d6-article .go { grid-column: 2; grid-row: 1 / span 3; align-self: center; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--d6-tint); box-shadow: inset 0 0 0 1px rgba(1,103,55,.4); color: var(--d6-deep); }
.theme-6 .d6-article .go svg { width: 18px; height: 18px; }
.theme-6 .d6-article:hover h2 { color: var(--d6-deep); }
.theme-6 .d6-article:focus-visible, .theme-6 .d6-video:focus-visible { border-radius: 24px; }

.theme-6 .d6-vgroup { display: grid; gap: 14px 32px; padding: 24px 0; border-top: 1px solid rgba(13,49,35,.14); }
.theme-6 .d6-vgroup:first-child { border-top: 0; padding-top: 0; }
.theme-6 .d6-vgroup h2 { font-size: var(--fs-h3); letter-spacing: -0.015em; }
@media (min-width: 900px) { .theme-6 .d6-vgroup { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); } }
.theme-6 .d6-vrow { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.theme-6 .d6-video { display: block; height: 100%; padding: 10px 10px 18px; color: inherit; text-decoration: none; }
.theme-6 .d6-video .thumb { position: relative; aspect-ratio: 16 / 9; margin-bottom: 12px; border-radius: 14px; overflow: hidden; background: var(--forest-900); }
.theme-6 .d6-video .thumb img { width: 100%; height: 100%; object-fit: cover; }
.theme-6 .d6-video .play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(255,255,255,.9); box-shadow: 0 10px 22px -10px rgba(0,0,0,.6); }
.theme-6 .d6-video .play::before { content: ""; margin-left: 4px; border-left: 15px solid var(--d6-deep); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.theme-6 .d6-video h3 { padding: 0 8px; font-size: var(--fs-ui); line-height: 1.35; letter-spacing: 0; }
.theme-6 .d6-video > span { display: block; margin-top: 4px; padding: 0 8px; font-size: var(--fs-small); color: var(--muted); }
.theme-6 .d6-video:hover h3 { color: var(--d6-deep); }

.theme-6 .d6-masonry { list-style: none; columns: 1; column-gap: 16px; }
@media (min-width: 700px) { .theme-6 .d6-masonry { columns: 2; } }
@media (min-width: 1100px) { .theme-6 .d6-masonry { columns: 3; } }
.theme-6 .d6-shot { display: inline-block; width: 100%; margin-bottom: 16px; padding: 10px 10px 14px; break-inside: avoid; }
.theme-6 .d6-shot figure { margin: 0; }
.theme-6 .d6-shot img { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: 14px; object-fit: cover; background: var(--mint); }
.theme-6 .d6-shot:nth-child(3n + 1) img { aspect-ratio: 4 / 5; }
.theme-6 .d6-shot figcaption { padding: 14px 8px 0; font-weight: 600; line-height: 1.35; color: var(--forest-900); }
.theme-6 .d6-shot figcaption span { display: block; margin-top: 4px; font-size: var(--fs-small); font-weight: 400; color: var(--muted); }
.theme-6 .d6-shot .gallery-download { margin: 4px 8px 0; }

/* ---------- Inner pages: team, clients, qualifications, experience ---------- */
.theme-6 .d6-face { flex: none; width: 132px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: linear-gradient(180deg, #F2F6F3, #DDE8E1); box-shadow: 0 0 0 6px rgba(255,255,255,.85), 0 0 0 7px rgba(1,103,55,.22); }
.theme-6 .d6-face img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.theme-6 .d6-team { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 700px) { .theme-6 .d6-team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .theme-6 .d6-team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.theme-6 .d6-member { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: clamp(26px, 2.8vw, 36px) clamp(20px, 2.4vw, 32px); text-align: center; }
.theme-6 .d6-member .role { margin: 6px 0 0; font-size: var(--fs-small); font-weight: 600; color: var(--d6-deep); }
.theme-6 .d6-member .role + p { margin: 12px 0 0; font-size: var(--fs-small); color: var(--muted); }
.theme-6 .d6-member .d6-actions { margin-top: 12px; }
@media (min-width: 700px) {
  .theme-6 .d6-member.is-lead { grid-column: 1 / -1; flex-direction: row; gap: clamp(24px, 4vw, 56px); text-align: left; }
  .theme-6 .d6-member.is-lead .d6-face { width: clamp(160px, 18vw, 220px); }
  .theme-6 .d6-member.is-lead .role + p { max-width: 46rem; }
}
@media (max-width: 699px) { .theme-6 .d6-member .d6-actions { justify-content: center; } }
/* Organisation chart: the founder node on top, a line down to the team. One row with a branch bar when five cards fit. */
.theme-6 .d6-org { --d6-line: rgba(1,103,55,.34); display: grid; }
.theme-6 .d6-orgchip { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 76px; padding: 14px 20px; border-radius: 20px; background: rgba(255,255,255,.78); box-shadow: inset 0 0 0 1px rgba(1,103,55,.26), var(--tile-shadow); line-height: 1.3; color: var(--forest-900); text-decoration: none; }
.theme-6 .d6-orgchip strong { font-size: var(--fs-small); font-weight: 700; }
.theme-6 .d6-orgchip span { font-size: var(--fs-small); color: var(--muted); }
.theme-6 .d6-orgchip.is-lead { padding: 18px 28px; border-radius: 24px; background: var(--d6-deep); box-shadow: 0 26px 44px -28px rgba(13,49,35,.8); color: #FFFFFF; }
.theme-6 .d6-orgchip.is-lead strong { font-size: var(--fs-ui); }
.theme-6 .d6-orgchip.is-lead span { color: #E3EEE7; }
.theme-6 .d6-orgchip:hover, .theme-6 .d6-orgchip:focus-visible { box-shadow: inset 0 0 0 2px var(--d6-deep), var(--tile-shadow); }
.theme-6 .d6-orgchip.is-lead:hover, .theme-6 .d6-orgchip.is-lead:focus-visible { background: var(--forest-900); box-shadow: 0 26px 44px -28px rgba(13,49,35,.8); }
.theme-6 .d6-orgchip:focus-visible { border-radius: 20px; }
/* Narrow: a stack on a left rail, each node joined to it by a short tick. */
.theme-6 .d6-org ul { list-style: none; position: relative; display: grid; gap: 10px; margin: 0 0 0 26px; padding: 18px 0 2px 22px; border-left: 2px solid var(--d6-line); }
.theme-6 .d6-org li { position: relative; }
.theme-6 .d6-org li::before { content: ""; position: absolute; left: -22px; top: 50%; width: 22px; height: 2px; margin-top: -1px; background: var(--d6-line); }
@media (min-width: 700px) {
  .theme-6 .d6-org { justify-items: center; }
  .theme-6 .d6-orgchip { height: 100%; align-items: center; text-align: center; }
  .theme-6 .d6-orgchip.is-lead { min-width: min(100%, 320px); }
  /* Medium: the founder's line drops into one outlined group holding the team, three then two, centred. */
  .theme-6 .d6-org ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; width: 100%; margin: 36px 0 0; padding: 16px; border: 2px solid var(--d6-line); border-radius: 30px; }
  .theme-6 .d6-org ul::before { content: ""; position: absolute; left: 50%; top: -38px; width: 2px; height: 36px; margin-left: -1px; background: var(--d6-line); }
  .theme-6 .d6-org li { flex: 0 1 calc((100% - 28px) / 3); }
  .theme-6 .d6-org li::before { display: none; }
}
@media (min-width: 1100px) {
  .theme-6 .d6-org ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 32px; padding: 30px 0 0; border: 0; border-radius: 0; }
  .theme-6 .d6-org ul::before { top: -32px; height: 32px; }
  /* The bar runs from the centre of the first card to the centre of the last. */
  .theme-6 .d6-org ul::after { content: ""; position: absolute; top: 0; left: calc((100% - 64px) / 10); right: calc((100% - 64px) / 10); height: 2px; background: var(--d6-line); }
  .theme-6 .d6-org li::before { display: block; left: 50%; top: -30px; width: 2px; height: 30px; margin: 0 0 0 -1px; }
}

.theme-6 .d6-logo-groups { display: grid; gap: 16px; }
.theme-6 .d6-logo-group { margin-top: 0; }
.theme-6 .d6-logo-group .d6-head { margin-bottom: 24px; }
.theme-6 .d6-logo-group h2 { font-size: var(--fs-h3); letter-spacing: -0.015em; }
.theme-6 .d6-logos.is-wall { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); }

.theme-6 .d6-holders { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
@media (min-width: 900px) { .theme-6 .d6-holders { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.theme-6 .d6-holder { padding: clamp(20px, 2.4vw, 30px); }
.theme-6 .d6-holder-top { margin-bottom: 18px; }
.theme-6 .d6-holder-top .eyebrow { margin-bottom: 2px; }
.theme-6 .d6-cols-label { display: flex; justify-content: space-between; gap: 16px; margin: 0; padding-bottom: 8px; border-bottom: 1px solid rgba(13,49,35,.2); font-size: var(--fs-small); color: var(--muted); }
.theme-6 .d6-quals { list-style: none; }
.theme-6 .d6-quals li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 12px 0; border-bottom: 1px solid rgba(13,49,35,.1); }
.theme-6 .d6-quals li:last-child { padding-bottom: 0; border-bottom: 0; }
.theme-6 .d6-quals strong { flex: 1 1 220px; font-weight: 600; line-height: 1.35; color: var(--forest-900); }
.theme-6 .d6-quals span:not(.visually-hidden) { padding: 4px 12px; border-radius: 16px; background: var(--d6-tint); font-size: var(--fs-small); font-weight: 600; color: var(--d6-deep); }

.theme-6 .d6-rows { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 800px) { .theme-6 .d6-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.theme-6 .d6-rows li { display: flex; align-items: center; gap: 18px; padding: 18px 22px; }
.theme-6 .d6-rows .d6-icon { margin-bottom: 0; }
.theme-6 .d6-rows h3 { font-size: var(--fs-ui); letter-spacing: 0; }
.theme-6 .d6-rows p { margin: 2px 0 0; font-size: var(--fs-small); color: var(--muted); }
.theme-6 .d6-founder { position: relative; align-self: start; }
.theme-6 .d6-founder figcaption { position: absolute; left: 22px; bottom: 26px; padding: 12px 18px; border-radius: 18px; background: rgba(255,255,255,.88); }
.theme-6 .d6-photo.d6-founder figcaption img { display: block; width: 132px; height: auto; aspect-ratio: auto; border-radius: 0; background: none; }

/* ---------- Forms read as a short booking flow: each part of the form is a numbered step ---------- */
.theme-6 .form { counter-reset: d6-form; }
.theme-6 .form-section-title { counter-increment: d6-form; display: flex; align-items: center; gap: 14px; border-top-color: rgba(13,49,35,.12); }
.theme-6 .form-section-title::before { content: counter(d6-form); flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--d6-deep); font-size: var(--fs-small); font-weight: 700; color: #FFFFFF; }
