/* Design 2 "Clear": theme layer over styles.css. Text sizes come from the base --fs-* tokens. */

.theme-2 {
  --d2-soft: #F4F6F5;
  --d2-night: #0E1613;
  --d2-green: #016737;
  --d2-green-deep: #014D29;
  --d2-field: #76847D;
  --tile: var(--d2-soft);
  --tile-in: #FFFFFF;

  --forest-900: #101A16;
  --forest-800: #17221D;
  --forest-700: var(--d2-green);
  --forest-600: var(--d2-green);
  --mint: #E9EEEB;
  --mint-2: var(--d2-soft);
  --warm: #FFFFFF;
  --ink: #222C27;
  --muted: #57635D;
  --line: #DFE4E1;

  --section: clamp(84px, 11vw, 168px);
  --header: 96px;
  --r-sm: 12px; --r: 22px; --r-lg: 30px;
  --shadow: 0 30px 60px -34px rgba(16,26,22,.38);
  --ease: cubic-bezier(.22,.8,.24,1);
}
/* Surfaces that are already soft grey flip their tiles to white. */
.theme-2 .surface, .theme-2 .surface-2, .theme-2 .section.on-dark, .theme-2 .page-hero, .theme-2 .site-footer {
  --tile: #FFFFFF; --tile-in: var(--d2-soft);
}

.theme-2 body { line-height: 1.58; }
.theme-2 h1, .theme-2 h2, .theme-2 h3, .theme-2 h4 { font-weight: 600; }
.theme-2 h1 { letter-spacing: -0.042em; line-height: 1.02; }
.theme-2 h2 { letter-spacing: -0.032em; line-height: 1.1; }
.theme-2 h3 { letter-spacing: -0.018em; }
.theme-2 .lead { color: var(--muted); line-height: 1.45; letter-spacing: -0.012em; }
.theme-2 a:hover { color: var(--d2-green-deep); text-decoration-color: currentColor; }
.theme-2 :focus-visible, .theme-2 .on-dark :focus-visible { outline-color: var(--d2-green); }

/* ---------- Surfaces ---------- */
.theme-2 .surface, .theme-2 .surface-2 { background: var(--d2-soft); }
.theme-2 .on-dark { background: var(--d2-soft); color: var(--ink); }
.theme-2 .on-dark h1, .theme-2 .on-dark h2, .theme-2 .on-dark h3, .theme-2 .on-dark h4 { color: var(--forest-900); }
.theme-2 .on-dark a:not(.btn) { color: var(--d2-green); }
.theme-2 .on-dark a:not(.btn):hover { color: var(--d2-green-deep); }
.theme-2 .on-dark .muted { color: var(--muted); }

.theme-2 .eyebrow, .theme-2 .head .eyebrow, .theme-2 .on-dark .eyebrow, .theme-2 .on-dark .head .eyebrow { color: var(--d2-green); margin-bottom: 14px; }
.theme-2 .eyebrow::before { display: none; }

.theme-2 .head { grid-template-columns: 1fr; gap: 20px; align-items: start; margin-bottom: clamp(40px, 5vw, 72px); }
.theme-2 .head h2 { max-width: 22ch; }
.theme-2 .head p, .theme-2 .on-dark .head p { color: var(--muted); max-width: 60ch; }

/* ---------- Buttons ---------- */
.theme-2 .btn { border-radius: 999px; padding: 12px 30px; font-weight: 550; letter-spacing: -0.01em; border-width: 1.5px; }
.theme-2 .btn-primary, .theme-2 .btn-light { background: var(--d2-green); color: #FFFFFF; border-color: var(--d2-green); }
.theme-2 .btn-primary:hover, .theme-2 .btn-light:hover { background: var(--d2-green-deep); border-color: var(--d2-green-deep); color: #FFFFFF; box-shadow: none; }
.theme-2 .btn-secondary, .theme-2 .btn-ghost-light { background: transparent; color: var(--forest-900); border-color: rgba(16,26,22,.55); backdrop-filter: none; }
.theme-2 .btn-secondary:hover, .theme-2 .btn-ghost-light:hover { background: var(--forest-900); color: #FFFFFF; border-color: var(--forest-900); }
.theme-2 .link-arrow { color: var(--d2-green); font-weight: 550; }
.theme-2 .link-arrow::after { width: 9px; height: 9px; border-width: 2px; }

/* ---------- Header: a floating white pill, the one frosted surface ---------- */
.theme-2 .site-header { position: fixed; top: 14px; left: 0; right: 0; padding: 0 clamp(10px, 2.4vw, 28px); background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; pointer-events: none; }
.theme-2 .site-header .wrap {
  position: relative; pointer-events: auto; max-width: 1400px; min-height: 68px; padding: 8px 10px 8px 24px; gap: 14px;
  border-radius: 999px; background: rgba(255,255,255,.97); box-shadow: 0 0 0 1px rgba(16,26,22,.08), 0 24px 46px -28px rgba(16,26,22,.55);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .theme-2 .site-header .wrap { background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%); }
}
.theme-2 .brand img { height: 40px; }
.theme-2 .nav { gap: 0; }
.theme-2 .nav-link, .theme-2 .nav-item > details > summary { font-weight: 500; letter-spacing: -0.012em; border-radius: 999px; padding: 8px 16px; min-height: 48px; }
.theme-2 .nav-link:hover, .theme-2 .nav-item > details > summary:hover, .theme-2 .nav-item > details[open] > summary { background: rgba(16,26,22,.07); color: var(--forest-900); }
.theme-2 .nav-link[aria-current="page"], .theme-2 .nav-item.is-current > details > summary {
  color: var(--d2-green); font-weight: 600; box-shadow: none; border-radius: 999px;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 9px;
}
.theme-2 .nav-cta .btn { min-height: 50px; padding: 10px 24px; }
.theme-2 .menu { top: calc(100% + 18px); padding: 10px; border-radius: 24px; box-shadow: 0 34px 70px -34px rgba(16,26,22,.42), 0 0 0 1px rgba(16,26,22,.07); }
.theme-2 .menu a { border-radius: 16px; font-weight: 550; }
.theme-2 .menu a:hover, .theme-2 .menu a:focus-visible { background: var(--d2-soft); color: var(--forest-900); }
.theme-2 .menu a[aria-current="page"] { background: var(--d2-soft); box-shadow: none; color: var(--d2-green); }
.theme-2 .menu-toggle { min-height: 50px; background: rgba(16,26,22,.07); border-color: transparent; border-radius: 999px; font-weight: 550; }
.theme-2 .menu-toggle:hover, .theme-2 .menu-toggle[aria-expanded="true"] { background: rgba(16,26,22,.13); }
@media (max-width: 1360px) {
  .theme-2 .site-header .wrap { padding-left: 20px; }
  .theme-2 .nav {
    top: calc(100% + 10px); max-height: calc(100vh - var(--header) - 24px); max-height: calc(100svh - var(--header) - 24px);
    padding: 8px 22px 22px; border-radius: 26px; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(16,26,22,.08), 0 40px 70px -34px rgba(16,26,22,.6);
  }
  .theme-2 .nav-link, .theme-2 .nav-item > details > summary { border-radius: 0; padding: 12px 4px; min-height: 56px; border-bottom-color: var(--line); }
  .theme-2 .nav-link:hover, .theme-2 .nav-item > details > summary:hover, .theme-2 .nav-item > details[open] > summary { background: transparent; }
  .theme-2 .nav-link[aria-current="page"], .theme-2 .nav-item.is-current > details > summary { box-shadow: none; padding-left: 4px; border-radius: 0; }
  .theme-2 .menu { padding: 6px 0 12px; border-radius: 0; box-shadow: none; }
  .theme-2 .nav-cta .btn { min-height: 56px; }
}
@media (max-width: 520px) {
  .theme-2 { --header: 86px; }
  .theme-2 .site-header { top: 10px; }
  .theme-2 .site-header .wrap { min-height: 62px; padding: 6px 8px 6px 16px; }
  .theme-2 .brand img { height: 34px; }
  .theme-2 .menu-toggle { min-height: 48px; }
}

.theme-2 .flow { display: none; }

/* ---------- Heroes: daylight photograph, ribbons of light ----------
   The canvas (js/hero-fx.js, preset ribbons-light) draws the ribbons. --fx-top and --fx-bottom set where
   they enter and leave, --fx-calm-x keeps them off the headline. Without JavaScript the photograph,
   the scrim and the wash of daylight at the upper right stand on their own. */
.theme-2 .hero, .theme-2 .page-hero {
  --fx-top: .13; --fx-bottom: .97; --fx-calm-x: .42; --fx-bend: 2.1;
  --d2-scrim: 6,20,14;
  display: flex; flex-direction: column; overflow: hidden; background: #1B2A24; color: #EEF4F0;
}
.theme-2 .hero-fx { position: absolute; inset: 0; z-index: -1; display: block; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1.8s ease; }
.theme-2 .fx-live > .hero-fx { opacity: 1; }
/* Scrim over the photograph and the ribbons, under the text: dark where the words sit, daylight left open at the upper right. */
.theme-2 .hero::after, .theme-2 .page-hero::after, .theme-2 .page-hero.has-media::after {
  content: ""; display: block; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 58% 62% at 92% 4%, rgba(255,255,255,.16), rgba(255,255,255,0) 72%),
    linear-gradient(0deg, rgba(var(--d2-scrim),.8) 0%, rgba(var(--d2-scrim),.34) 30%, rgba(var(--d2-scrim),0) 56%),
    linear-gradient(90deg, rgba(var(--d2-scrim),.88) 0%, rgba(var(--d2-scrim),.72) 36%, rgba(var(--d2-scrim),.06) 70%, rgba(var(--d2-scrim),0) 100%);
}
.theme-2 .hero :focus-visible, .theme-2 .page-hero :focus-visible { outline-color: #FFFFFF; }
.theme-2 .hero .btn-light, .theme-2 .page-hero .btn-light, .theme-2 .page-hero .btn-primary { background: #FFFFFF; color: var(--forest-900); border-color: #FFFFFF; }
.theme-2 .hero .btn-light:hover, .theme-2 .page-hero .btn-light:hover, .theme-2 .page-hero .btn-primary:hover { background: #D5F5E1; border-color: #D5F5E1; color: var(--forest-900); }
.theme-2 .hero .btn-ghost-light, .theme-2 .page-hero .btn-ghost-light, .theme-2 .page-hero .btn-secondary { background: rgba(var(--d2-scrim),.5); color: #FFFFFF; border-color: rgba(255,255,255,.8); }
.theme-2 .hero .btn-ghost-light:hover, .theme-2 .page-hero .btn-ghost-light:hover, .theme-2 .page-hero .btn-secondary:hover { background: #FFFFFF; color: var(--forest-900); border-color: #FFFFFF; }

/* Home: one full screen. The headline stacks at the lower left and the three aims close the frame. */
.theme-2 .hero { min-height: 100vh; min-height: 100svh; border-radius: 0 0 34px 34px; }
.theme-2 .hero > .hero-media img { object-position: 62% 40%; }
.theme-2 .hero > .wrap { flex: 1; justify-content: flex-end; min-height: 0; padding-top: calc(var(--header) + 48px); padding-bottom: clamp(28px, 4.4vh, 52px); }
.theme-2 .hero-company { color: #D5F5E1; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 18px; }
.theme-2 .hero h1 { color: #FFFFFF; max-width: 17ch; }
.theme-2 .hero .lead { color: #EEF4F0; max-width: 35rem; margin: 24px 0 34px; }
.theme-2 .hero-strip { position: static; }
.theme-2 .hero-strip ol { display: flex; flex-wrap: wrap; gap: 6px 0; padding: 18px 0 92px; border-top: 1px solid rgba(255,255,255,.3); }
.theme-2 .hero-strip li { padding: 0 clamp(18px, 2.6vw, 40px); font-size: var(--fs-small); font-weight: 500; letter-spacing: -0.012em; color: #EEF4F0; }
.theme-2 .hero-strip li:first-of-type { padding-left: 0; }
.theme-2 .hero-strip li + li { border-left: 1px solid rgba(255,255,255,.34); }
.theme-2 .hero-strip li::before, .theme-2 .hero-strip ol::before { display: none; }

/* Inner pages: the same scene in a shorter band. */
.theme-2 .page-hero { --fx-top: .1; --fx-bottom: 1.04; --fx-calm-x: .5; justify-content: flex-end; min-height: min(62vh, 640px); }
/* Inner titles and breadcrumbs run wider than the home headline, so the scrim holds further across. */
.theme-2 .page-hero::after, .theme-2 .page-hero.has-media::after {
  background:
    radial-gradient(ellipse 58% 62% at 92% 4%, rgba(255,255,255,.16), rgba(255,255,255,0) 72%),
    linear-gradient(0deg, rgba(var(--d2-scrim),.7) 0%, rgba(var(--d2-scrim),.3) 30%, rgba(var(--d2-scrim),0) 56%),
    linear-gradient(180deg, rgba(var(--d2-scrim),.42) 0%, rgba(var(--d2-scrim),0) 46%),
    linear-gradient(90deg, rgba(var(--d2-scrim),.9) 0%, rgba(var(--d2-scrim),.8) 56%, rgba(var(--d2-scrim),.14) 86%, rgba(var(--d2-scrim),0) 100%);
}
.theme-2 .page-hero .wrap { padding-top: calc(var(--header) + 40px); padding-bottom: clamp(40px, 5.5vw, 72px); }
.theme-2 .page-hero h1 { color: #FFFFFF; max-width: 20ch; }
.theme-2 .page-hero .lead { color: #EEF4F0; max-width: 42rem; margin-top: 22px; }
.theme-2 .page-hero .eyebrow { color: #D5F5E1; }
.theme-2 .page-hero a:not(.btn), .theme-2 .page-hero a:not(.btn):hover { color: #FFFFFF; }
/* Pages without their own photograph take one from their section of the site. */
.theme-2 .page-hero:not(.has-media)::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../assets/img/plant.jpg") 62% 40% / cover no-repeat;
}
.theme-2:has(.nav-item:nth-child(1).is-current) .page-hero:not(.has-media)::before { background-image: url("../assets/img/steam.jpg"); background-position: 50% 30%; }
.theme-2:has(.nav-item:nth-child(2).is-current) .page-hero:not(.has-media)::before { background-image: url("../assets/img/facade.jpg"); background-position: 60% 60%; }
.theme-2:has(.nav-item:nth-child(3).is-current) .page-hero:not(.has-media)::before { background-image: url("../assets/img/drawings.jpg"); background-position: 50% 40%; }
.theme-2:has(.nav-item:nth-child(4).is-current) .page-hero:not(.has-media)::before { background-image: url("../assets/img/cooling.jpg"); background-position: 50% 45%; }
.theme-2 .crumbs { color: #E3ECE7; margin-bottom: 22px; }
.theme-2 .page-hero .crumbs a { color: #FFFFFF; text-decoration-thickness: 1px; }
.theme-2 .crumbs li:not(:last-child)::after { color: rgba(255,255,255,.6); }
.theme-2 .crumbs li[aria-current] { color: #E3ECE7; }

/* Between phone and desktop the words reach most of the way across, so the scrim follows them. */
@media (max-width: 1100px) {
  .theme-2 .hero, .theme-2 .page-hero { --fx-calm-x: .5; }
  .theme-2 .hero::after, .theme-2 .page-hero::after, .theme-2 .page-hero.has-media::after {
    background:
      radial-gradient(ellipse 58% 50% at 94% 2%, rgba(255,255,255,.14), rgba(255,255,255,0) 72%),
      linear-gradient(0deg, rgba(var(--d2-scrim),.8) 0%, rgba(var(--d2-scrim),.3) 34%, rgba(var(--d2-scrim),0) 60%),
      linear-gradient(180deg, rgba(var(--d2-scrim),.4) 0%, rgba(var(--d2-scrim),0) 46%),
      linear-gradient(90deg, rgba(var(--d2-scrim),.9) 0%, rgba(var(--d2-scrim),.8) 60%, rgba(var(--d2-scrim),.64) 100%);
  }
}
@media (max-width: 760px) {
  /* On a phone the words fill the lower frame, so the ribbons keep to the top of it. */
  .theme-2 .hero, .theme-2 .page-hero { --fx-top: .1; --fx-bottom: .46; --fx-calm-x: 0; --fx-bend: 1.5; }
  .theme-2 .hero-fx { -webkit-mask-image: linear-gradient(180deg, #000 26%, rgba(0,0,0,0) 44%); mask-image: linear-gradient(180deg, #000 26%, rgba(0,0,0,0) 44%); }
  .theme-2 .hero::after, .theme-2 .page-hero::after, .theme-2 .page-hero.has-media::after {
    background:
      radial-gradient(ellipse 90% 34% at 90% 2%, rgba(255,255,255,.26), rgba(255,255,255,0) 72%),
      linear-gradient(0deg, rgba(var(--d2-scrim),.94) 0%, rgba(var(--d2-scrim),.86) 58%, rgba(var(--d2-scrim),.3) 80%, rgba(var(--d2-scrim),.12) 100%);
  }
  .theme-2 .hero { border-radius: 0 0 24px 24px; }
  .theme-2 .hero > .wrap { padding-top: calc(var(--header) + 150px); padding-bottom: 26px; }
  .theme-2 .hero-strip ol { flex-direction: column; gap: 4px; padding: 14px 0 92px; }
  .theme-2 .hero-strip li { padding: 0; }
  .theme-2 .hero-strip li + li { border-left: 0; }
  .theme-2 .page-hero { --fx-bottom: .4; min-height: 0; }
  .theme-2 .page-hero .hero-fx { -webkit-mask-image: linear-gradient(180deg, #000 18%, rgba(0,0,0,0) 34%); mask-image: linear-gradient(180deg, #000 18%, rgba(0,0,0,0) 34%); }
  .theme-2 .page-hero .wrap { padding-top: calc(var(--header) + 96px); }
  .theme-2 .page-hero:not(.has-media)::before { background-image: url("../assets/img/plant-sm.jpg"); }
  .theme-2:has(.nav-item:nth-child(1).is-current) .page-hero:not(.has-media)::before { background-image: url("../assets/img/steam-sm.jpg"); }
  .theme-2:has(.nav-item:nth-child(2).is-current) .page-hero:not(.has-media)::before { background-image: url("../assets/img/facade-sm.jpg"); }
  .theme-2:has(.nav-item:nth-child(3).is-current) .page-hero:not(.has-media)::before { background-image: url("../assets/img/drawings-sm.jpg"); }
  .theme-2:has(.nav-item:nth-child(4).is-current) .page-hero:not(.has-media)::before { background-image: url("../assets/img/cooling-sm.jpg"); }
}

/* ---------- Cards and tiles ---------- */
.theme-2 .grid { gap: 20px; }
.theme-2 .card { background: var(--tile); border: 0; border-radius: var(--r-lg); padding: clamp(28px, 3.2vw, 44px); }
.theme-2 a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.theme-2 a.card:hover h3 { color: var(--d2-green); }
.theme-2 .card .icon { border-radius: 50%; background: var(--tile-in); color: var(--d2-green); }
.theme-2 .pillar { padding: 0; }
.theme-2 .pillar .ph { aspect-ratio: 3 / 2; background: var(--mint); }
.theme-2 .pillar .body { padding: clamp(28px, 3.2vw, 44px); }
.theme-2 .pillar .num { color: var(--d2-green); font-weight: 600; font-variant-numeric: tabular-nums; }
.theme-2 .ticks li, .theme-2 .on-dark .ticks li { color: var(--ink); }
.theme-2 .ticks li::before, .theme-2 .on-dark .ticks li::before {
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3.5 9.4l3.4 3.4 7.6-7.6' fill='none' stroke='%23016737' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Facts read as a specification row, without boxes. */
.theme-2 .facts-row { gap: clamp(20px, 3vw, 40px); }
.theme-2 .fact { background: transparent; border: 0; border-top: 1px solid var(--forest-900); border-radius: 0; padding: 22px 0 0; }
.theme-2 .fact b { color: var(--forest-900); font-weight: 600; letter-spacing: -0.035em; margin-bottom: 10px; }

/* Logo files have an opaque white ground, so multiply sits them on the grey tile. */
.theme-2 .logo-wall { gap: 12px; }
.theme-2 .logo-wall li { background: var(--tile); border: 0; border-radius: 18px; }
.theme-2 .logo-wall img { mix-blend-mode: multiply; }

.theme-2 .split { gap: clamp(32px, 6vw, 96px); }
.theme-2 .split .ph { border-radius: 34px; background: var(--mint); }
@media (max-width: 760px) { .theme-2 .split .ph { border-radius: 24px; } }

/* People */
.theme-2 .person { background: var(--tile); border: 0; border-radius: var(--r-lg); }
.theme-2 .person .ph, .theme-2 .people-strip .ph { background: var(--mint); }
.theme-2 .person .role { color: var(--d2-green); }
.theme-2 .people-strip { gap: 16px; }
.theme-2 .people-strip .ph { border-radius: 22px; }
.theme-2 .people-strip a:hover strong { color: var(--d2-green); }

/* Sessions */
.theme-2 .sessions { gap: 12px; }
.theme-2 .session, .theme-2 .on-dark .session { background: var(--tile); border: 0; border-radius: 26px; padding: 24px 30px; }
.theme-2 .session h3, .theme-2 .on-dark .session h3 { color: var(--forest-900); }
.theme-2 .session h3 a:not(.btn) { color: inherit; text-decoration: none; }
.theme-2 .session h3 a:not(.btn):hover { color: var(--d2-green); text-decoration: underline; }
.theme-2 .date-tile, .theme-2 .on-dark .date-tile { background: var(--tile-in); border-radius: 18px; }
.theme-2 .date-tile b, .theme-2 .on-dark .date-tile b { color: var(--forest-900); font-weight: 600; letter-spacing: -0.03em; }
.theme-2 .date-tile span, .theme-2 .on-dark .date-tile span { color: var(--d2-green); }
.theme-2 .meta, .theme-2 .on-dark .meta { color: var(--muted); }
.theme-2 .meta svg, .theme-2 .on-dark .meta svg { color: var(--d2-green); }
.theme-2 .badge { border-radius: 14px; }
.theme-2 .badge.green { background: #E2ECE6; color: var(--d2-green); border-color: transparent; }
.theme-2 .badge.closed { background: #E6EAE7; color: #3F4944; border-color: transparent; }
.theme-2 .session.closed { background: var(--tile); }
.theme-2 .session.closed .date-tile { background: var(--tile-in); }
.theme-2 .session.closed h3, .theme-2 .session.closed .date-tile b { color: var(--muted); }
.theme-2 .empty, .theme-2 .on-dark .empty { background: var(--tile); border: 1.5px dashed var(--d2-field); border-radius: 26px; }

/* Inside article columns the session row is narrow, so the button drops below. */
.theme-2 .prose ul.sessions, .theme-2 .prose ul.meta { padding-left: 0; max-width: none; }
.theme-2 .prose .session { grid-template-columns: auto minmax(0, 1fr); margin-bottom: 0; }
.theme-2 .prose .session .btn, .theme-2 .prose .session > .badge { grid-column: 1 / -1; justify-self: start; }
.theme-2 .prose .meta li { margin-bottom: 0; }

/* Contact options */
.theme-2 .contact-options { gap: 12px; }
.theme-2 .contact-options a,
.theme-2 .white .contact-options a, .theme-2 .surface .contact-options a { background: var(--tile); border: 0; border-radius: 26px; color: var(--forest-900); padding: 28px; }
.theme-2 .contact-options a:hover { background: var(--mint); color: var(--forest-900); transform: translateY(-3px); }
.theme-2 .contact-options span, .theme-2 .white .contact-options span, .theme-2 .surface .contact-options span { color: var(--muted); }
.theme-2 .contact-options svg, .theme-2 .white .contact-options svg, .theme-2 .surface .contact-options svg { color: var(--d2-green); }
.theme-2 .contact-options .primary a { background: var(--d2-green); color: #FFFFFF; }
.theme-2 .contact-options .primary a span { color: #FFFFFF; }
.theme-2 .contact-options .primary svg { color: #FFFFFF; }
.theme-2 .contact-options .primary a:hover { background: var(--d2-green-deep); color: #FFFFFF; }

/* Service detail */
.theme-2 .aside-card { background: var(--tile); border: 0; border-radius: var(--r-lg); padding: 34px; }
.theme-2 .steps li::before { background: var(--tile); color: var(--d2-green); font-weight: 600; font-variant-numeric: tabular-nums; }
.theme-2 .note { background: var(--tile); border-left: 0; border-radius: 22px; padding: 24px 28px; }
.theme-2 .prose h2 { letter-spacing: -0.028em; }

/* Closing band: the one dark surface on a page */
.theme-2 .section.tight.on-dark, .theme-2 .section.tight.surface { background: #FFFFFF; padding: 0 0 var(--section); }
.theme-2 .callout-band { width: calc(100% - var(--gutter) * 2); max-width: var(--max); padding: clamp(36px, 6vw, 88px); border-radius: 38px; gap: 28px 48px; }
/* The closing band returns to the hero photograph, so the page ends where it began. */
.theme-2 .on-dark > .callout-band {
  background: linear-gradient(90deg, rgba(6,20,14,.95) 0%, rgba(6,20,14,.84) 52%, rgba(6,20,14,.58) 100%), var(--d2-night) url("../assets/img/plant.jpg") 62% 46% / cover no-repeat;
  color: #E6ECE8; min-height: clamp(300px, 34vw, 440px);
}
.theme-2 .on-dark > .callout-band h2 { color: #FFFFFF; }
.theme-2 .on-dark > .callout-band .muted { color: #DCE5E0; }
.theme-2 .on-dark > .callout-band a:not(.btn) { color: #7BD389; }
.theme-2 .on-dark > .callout-band :focus-visible { outline-color: #7BD389; }
.theme-2 .on-dark > .callout-band .btn-light { background: #FFFFFF; color: var(--d2-night); border-color: #FFFFFF; }
.theme-2 .on-dark > .callout-band .btn-light:hover { background: #7BD389; border-color: #7BD389; color: var(--d2-night); }
.theme-2 .on-dark > .callout-band .btn-ghost-light { background: rgba(6,20,14,.5); color: #FFFFFF; border-color: rgba(255,255,255,.7); }
.theme-2 .on-dark > .callout-band .btn-ghost-light:hover { background: #FFFFFF; color: var(--d2-night); border-color: #FFFFFF; }
.theme-2 .surface > .callout-band { background: var(--d2-soft); }
@media (max-width: 760px) { .theme-2 .on-dark > .callout-band { background: linear-gradient(rgba(6,20,14,.9), rgba(6,20,14,.9)), var(--d2-night) url("../assets/img/plant-sm.jpg") 62% 46% / cover no-repeat; } .theme-2 .callout-band { border-radius: 28px; } .theme-2 .callout-band .btn { width: 100%; } .theme-2 .callout-band .btn-row { width: 100%; } }

/* Method */
.theme-2 .method { gap: 12px; }
.theme-2 .method li { background: var(--tile); border: 0; border-radius: 26px; padding: 30px 28px; }
.theme-2 .method li::before { content: counter(m, decimal-leading-zero); width: auto; height: auto; display: block; border-radius: 0; background: none; color: var(--d2-green); font-weight: 600; font-variant-numeric: tabular-nums; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--forest-900); }

/* Timeline */
.theme-2 .timeline li::before { width: 12px; height: 12px; left: 113px; top: 24px; background: var(--d2-green); border: 0; box-shadow: 0 0 0 5px #FFFFFF; }
.theme-2 .surface .timeline li::before, .theme-2 .section.on-dark .timeline li::before { box-shadow: 0 0 0 5px var(--d2-soft); }
.theme-2 .timeline .yr { color: var(--forest-900); font-weight: 600; }
@media (max-width: 600px) { .theme-2 .timeline li::before { left: 2px; top: 20px; } }

.theme-2 .cred-list, .theme-2 .profile-list { border-top-color: var(--forest-900); }

/* Values */
.theme-2 .values { gap: 12px; }
.theme-2 .values li { background: var(--tile); border: 0; border-radius: 26px; padding: 30px 28px; }
.theme-2 .values svg { color: var(--d2-green); }
.theme-2 .values p { color: var(--muted); }

/* Resources */
.theme-2 .article-list { gap: 12px; }
.theme-2 .article-list a { background: var(--tile); border: 0; border-radius: 26px; padding: 30px 32px; transition: transform .25s var(--ease), box-shadow .25s ease; }
.theme-2 .article-list a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.theme-2 .article-list a:hover h3 { color: var(--d2-green); }
.theme-2 .article-list .topic { color: var(--d2-green); font-weight: 600; }
.theme-2 .article-list a > * { grid-column: 1; }
.theme-2 .article-list a > .go { grid-column: 2; grid-row: 1 / span 3; }
.theme-2 .article-list .go { border: 0; background: var(--tile-in); color: var(--d2-green); width: 52px; height: 52px; }
.theme-2 .video-grid { gap: 28px 20px; }
.theme-2 .video-grid .thumb { border-radius: 26px; }
.theme-2 .video-grid a:hover h3 { color: var(--d2-green); }
.theme-2 .video-grid .play { box-shadow: none; }
.theme-2 .gallery { gap: 16px; }
.theme-2 .gallery figure { background: var(--d2-soft); border: 0; border-radius: 26px; }
.theme-2 .gallery figcaption { padding: 18px 22px 20px; }
.theme-2 .gallery-download { display: inline-flex; margin: 0 22px 20px; }

/* ---------- Forms ---------- */
.theme-2 .form-card { background: var(--d2-soft); border: 0; border-radius: 34px; padding: clamp(24px, 4vw, 56px); --tile: #FFFFFF; --tile-in: var(--d2-soft); }
.theme-2 .field label, .theme-2 .field legend, .theme-2 .fieldset legend { font-weight: 550; letter-spacing: -0.01em; }
.theme-2 .field input, .theme-2 .field select, .theme-2 .field textarea { border: 1.5px solid var(--d2-field); border-radius: 16px; padding: 12px 18px; }
.theme-2 .field input:focus, .theme-2 .field select:focus, .theme-2 .field textarea:focus { border-color: var(--d2-green); box-shadow: 0 0 0 4px rgba(1,103,55,.24); }
.theme-2 .field.invalid input, .theme-2 .field.invalid select, .theme-2 .field.invalid textarea { border-color: var(--error); border-width: 2px; }
.theme-2 .choice { border: 1.5px solid var(--d2-field); border-radius: 999px; padding: 10px 24px 10px 18px; }
.theme-2 .choice:has(input:checked) { border-color: var(--d2-green); background: #E2ECE6; box-shadow: none; }
.theme-2 .choice:has(input:focus-visible) { outline-color: var(--d2-green); }
.theme-2 .error-summary { border-width: 2px; border-radius: 22px; background: #FFFFFF; }
.theme-2 .form-status { border-radius: 26px; padding: 30px 32px; }
.theme-2 .form-status.ok { background: #FFFFFF; border: 2px solid var(--d2-green); }
.theme-2 .selection { background: #FFFFFF; border: 0; border-radius: 22px; padding: 24px 28px; }
.theme-2 .side-help .card { background: var(--d2-soft); }

/* ---------- Footer ---------- */
.theme-2 .site-footer { background: var(--d2-soft); color: var(--muted); padding-top: clamp(64px, 8vw, 104px); }
.theme-2 .site-footer a, .theme-2 .site-footer.on-dark a:not(.btn) { color: var(--ink); }
.theme-2 .site-footer a:hover, .theme-2 .site-footer.on-dark a:not(.btn):hover { color: var(--d2-green); }
.theme-2 .footer-top h2 { color: var(--forest-900); font-weight: 600; letter-spacing: 0; }
.theme-2 .footer-brand img { height: 84px; }
.theme-2 .footer-brand p, .theme-2 .footer-related { color: var(--muted); }
.theme-2 .footer-related img { height: 30px; margin: 0; }
.theme-2 .site-footer li[style] { color: var(--muted) !important; }
.theme-2 .footer-bottom { border-top-color: var(--line); color: var(--muted); }

/* ---------- Organisation chart ---------- */
.theme-2 .org-node { background: var(--tile); border: 0; border-radius: 22px; padding: 22px; transition: background-color .2s ease, transform .2s var(--ease); }
.theme-2 .org-node:hover { background: var(--mint); transform: translateY(-2px); }
.theme-2 .org-lead { background: var(--d2-night); color: #B9C6BF; padding: 26px 28px; }
.theme-2 .org-lead strong { color: #FFFFFF; }
.theme-2 .org-lead:hover { background: var(--d2-night); color: #FFFFFF; }
.theme-2 .org-lead::after, .theme-2 .org-row li::before, .theme-2 .org-row li::after { background: #C3CBC6; width: 1.5px; }
.theme-2 .org-row li::after { width: auto; height: 1.5px; }

/* ---------- Events table ---------- */
.theme-2 .table-scroll { background: var(--d2-soft); border-radius: 30px; padding: 12px clamp(20px, 3vw, 40px) 16px; }
.theme-2 .events-table tbody tr:last-child th, .theme-2 .events-table tbody tr:last-child td { border-bottom: 0; }
.theme-2 .events-table thead th { border-bottom-color: var(--forest-900); font-weight: 600; }
@media (max-width: 600px) {
  .theme-2 .table-scroll { background: transparent; border-radius: 0; padding: 0; }
  .theme-2 .events-table tbody { display: grid; gap: 12px; }
  .theme-2 .events-table tr { background: var(--d2-soft); border-bottom: 0; border-radius: 22px; padding: 20px 22px; }
  .theme-2 .events-table tbody th { padding-bottom: 6px; }
}

/* ---------- Staging tools and design switcher ---------- */
.theme-2 .staging-bar, .theme-2 #design-switcher { border-color: rgba(16,26,22,.1); box-shadow: 0 18px 40px -18px rgba(16,26,22,.45); }

/* ---------- Page loader ---------- */
.theme-2 #page-loader { --loader-bg: #FFFFFF; --loader-line: var(--d2-green); --loader-dot: #2FCB6E; --loader-track: #DDEBE2; --loader-glow: rgba(47,203,110,.34); --loader-shade: rgba(16,26,22,.3); }

/* ---------- Motion ---------- */
@keyframes d2-rise { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes d2-settle { from { transform: scale(1.14); } to { transform: none; } }
@keyframes d2-push { from { transform: scale(1); } to { transform: scale(1.1); } }
@keyframes d2-drift { to { transform: translateY(14%); } }
@keyframes d2-unveil { from { clip-path: inset(7% 6% round 34px); } to { clip-path: inset(0 round 34px); } }
@media (prefers-reduced-motion: no-preference) {
  /* One slow push-in on the hero photograph. It runs once and holds. */
  .theme-2 .hero-media img, .theme-2 .page-hero:not(.has-media)::before { animation: d2-push 26s cubic-bezier(.2,.5,.3,1) both; transform-origin: 62% 42%; }
  /* The hero words arrive as the loader lifts clear: after `loaded` with the script, on the fallback timer without it. */
  .theme-2:not(.js) { --d2-in: 1.9s; }
  .theme-2:is(.loaded, :not(.js)) .hero > .wrap > *, .theme-2:is(.loaded, :not(.js)) .page-hero .wrap > *, .theme-2:is(.loaded, :not(.js)) .hero-strip { animation: d2-rise .9s var(--ease) both; animation-delay: calc(var(--d2-in, .3s) + var(--d2-step, 0) * 90ms); }
  .theme-2 .hero > .wrap > :nth-child(2), .theme-2 .page-hero .wrap > :nth-child(2) { --d2-step: 1; }
  .theme-2 .hero > .wrap > :nth-child(3), .theme-2 .page-hero .wrap > :nth-child(3) { --d2-step: 2; }
  .theme-2 .hero > .wrap > :nth-child(n+4), .theme-2 .page-hero .wrap > :nth-child(n+4) { --d2-step: 3; }
  .theme-2 .hero-strip { --d2-step: 5; }
  @supports (animation-timeline: view()) {
    /* backwards fill only: a finished reveal must not leave a stacking context over the staging tooltips. */
    .theme-2 main > .section > .wrap > *, .theme-2 .callout-band {
      animation: d2-rise linear backwards; animation-timeline: view(); animation-range: entry 0% entry 220px;
    }
    .theme-2 body.show-confirm main > .section > .wrap > * { animation: none; }
    .theme-2 .split .ph img {
      animation: d2-settle linear both; animation-timeline: view(); animation-range: entry 0% cover 55%;
    }
    .theme-2 .split .ph { animation: d2-unveil linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    /* The photograph falls behind as the hero scrolls away. */
    .theme-2 .hero > .hero-media, .theme-2 .page-hero > .hero-media { animation: d2-drift linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  }
}

/* ==========================================================================
   Inner pages: set like a printed report. Hairline rules, a left margin column
   for headings and labels, numerals in a light weight. No boxed cards.
   Markup comes from _build/pages_d2_inner.py.
   ========================================================================== */
.theme-2 {
  --d2-rule: var(--forest-900);
  --d2-cols: minmax(0, 3.4fr) minmax(0, 8.6fr);
  --d2-gap: clamp(28px, 4.5vw, 72px);
  --d2-pad: clamp(48px, 6.5vw, 96px);
}

/* Title block: breadcrumb, title, one rule, then the lead in the text column. */
.theme-2 .d2-hero { padding-top: calc(var(--header) + clamp(36px, 6vw, 88px)); background: #FFFFFF; }
.theme-2 .d2-hero .crumbs { color: var(--muted); margin-bottom: clamp(24px, 3.5vw, 44px); }
.theme-2 .d2-hero .crumbs a { color: var(--ink); text-decoration-thickness: 1px; }
.theme-2 .d2-hero .crumbs a:hover { color: var(--d2-green); }
.theme-2 .d2-hero .crumbs li:not(:last-child)::after { color: var(--d2-field); }
.theme-2 .d2-hero .crumbs li[aria-current] { color: var(--muted); }
.theme-2 .d2-hero h1 { font-size: var(--fs-page); max-width: 26ch; }
.theme-2 .d2-hero-foot { display: grid; grid-template-columns: var(--d2-cols); gap: 12px var(--d2-gap); margin-top: clamp(28px, 4vw, 56px); padding-top: 24px; border-top: 1px solid var(--d2-rule); }
.theme-2 .d2-hero-lead .lead { max-width: 44rem; margin: 0; }
.theme-2 .d2-hero-lead .btn-row { margin-top: 28px; }
.theme-2 .d2-kicker { margin: 0 0 10px; color: var(--d2-green); font-size: var(--fs-small); font-weight: 600; }

/* Sections and the margin column. */
.theme-2 .d2-sec { padding-top: var(--d2-pad); background: #FFFFFF; }
.theme-2 .d2-sec:last-child { padding-bottom: clamp(72px, 9vw, 128px); }
.theme-2 .d2-sec + .section.tight, .theme-2 .section.d2-plain + .section.tight { padding-top: clamp(72px, 9vw, 128px); }
.theme-2 .section.d2-plain { padding-top: var(--d2-pad); }
.theme-2 .d2-band { display: grid; grid-template-columns: var(--d2-cols); gap: 24px var(--d2-gap); align-items: start; padding-top: 26px; border-top: 1px solid var(--d2-rule); }
.theme-2 .d2-margin { position: sticky; top: calc(var(--header) + 20px); }
.theme-2 .d2-margin h2 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.022em; }
.theme-2 .d2-margin p { margin: 14px 0 0; max-width: 36ch; color: var(--muted); font-size: var(--fs-small); }
.theme-2 .d2-margin p.d2-kicker { margin: 0 0 10px; color: var(--d2-green); }
.theme-2 .d2-margin p.lead { margin: 0; color: var(--ink); font-size: var(--fs-body); }
.theme-2 .d2-main > p { max-width: var(--read); }
/* Wide tables: the heading runs above the body and the note sits beside it. */
.theme-2 .d2-stack { grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 3.5vw, 48px); }
.theme-2 .d2-stack > .d2-margin { position: static; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 var(--d2-gap); align-items: end; }
.theme-2 .d2-stack > .d2-margin .d2-kicker { grid-column: 1 / -1; }
.theme-2 .d2-stack > .d2-margin h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.032em; max-width: 20ch; }
.theme-2 .d2-stack > .d2-margin p:not(.d2-kicker) { margin: 0; max-width: none; }
.theme-2 .d2-foot { margin-top: clamp(28px, 3.5vw, 44px); }
.theme-2 .d2-more { margin: 18px 0 0; }
.theme-2 .d2-subhead { margin: clamp(40px, 5vw, 64px) 0 20px; }
.theme-2 .d2-intro { max-width: 44rem; margin-bottom: clamp(28px, 4vw, 48px); }

/* Photographs are plates set into the page, not card headers. */
.theme-2 .d2-plate { margin: 0; overflow: hidden; border-radius: 6px; background: var(--mint); }
.theme-2 .d2-plate img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.theme-2 .d2-prose > .d2-plate { margin-bottom: clamp(28px, 3.5vw, 44px); }
.theme-2 .d2-prose > .d2-plate img { aspect-ratio: 16 / 7; }
.theme-2 .d2-with-plate { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(28px, 4vw, 56px); align-items: start; }

/* Ruled lists. */
.theme-2 .d2-rules, .theme-2 .d2-prose .ticks { list-style: none; display: block; margin: 0; padding: 0; max-width: var(--read); border-top: 1px solid var(--line); }
.theme-2 .d2-rules li, .theme-2 .d2-prose .ticks li { margin: 0; padding: 13px 0; border-bottom: 1px solid var(--line); line-height: 1.4; }
.theme-2 .d2-prose .ticks li::before { display: none; }
.theme-2 p + .d2-rules { margin-top: 20px; }
.theme-2 .d2-note, .theme-2 .d2-prose .note, .theme-2 .d2-plain .note { max-width: var(--read); margin: 32px 0; padding: 20px 0; background: none; border: 0; border-top: 1px solid var(--d2-rule); border-bottom: 1px solid var(--d2-rule); border-radius: 0; }
.theme-2 .d2-note strong { color: var(--forest-900); }

/* Numbered rows: the numeral hangs in its own column. */
.theme-2 .d2-numbered { list-style: none; margin: 0; padding: 0; counter-reset: d2n; border-top: 1px solid var(--line); }
.theme-2 .d2-numbered > li { counter-increment: d2n; position: relative; padding: 20px 0 20px 5.5rem; border-bottom: 1px solid var(--line); }
.theme-2 .d2-numbered > li::before { content: counter(d2n, decimal-leading-zero); position: absolute; left: 0; top: 14px; color: var(--d2-green); font-size: var(--fs-h2); font-weight: 300; line-height: 1.1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.theme-2 .d2-numbered h3 { font-size: var(--fs-body); line-height: 1.35; letter-spacing: -0.012em; }
.theme-2 .d2-numbered p { margin: 6px 0 0; color: var(--muted); font-size: var(--fs-small); }
.theme-2 .d2-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 56px); border-top: 0; }
.theme-2 .d2-two > li { border-top: 1px solid var(--line); border-bottom: 0; }
.theme-2 .d2-ledger > li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4px 32px; align-items: baseline; }
.theme-2 .d2-ledger p { margin: 0; }
.theme-2 .d2-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 28px; border-top: 0; }
.theme-2 .d2-steps > li { padding: 18px 0 0; border-bottom: 0; border-top: 1px solid var(--d2-rule); }
.theme-2 .d2-steps > li::before { position: static; display: block; margin-bottom: clamp(20px, 3vw, 40px); }

/* Sessions as a dated agenda. */
.theme-2 .d2-agenda { list-style: none; margin: 0; padding: 0; max-width: none; }
.theme-2 .d2-agenda-row { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) auto; gap: 10px 32px; align-items: start; margin: 0; padding: 26px 0; border-bottom: 1px solid var(--line); }
.theme-2 .d2-agenda-row:first-child { padding-top: 0; }
.theme-2 .d2-date { margin: 0; }
.theme-2 .d2-date b { display: block; color: var(--forest-900); font-size: var(--fs-h2); font-weight: 300; line-height: 1; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.theme-2 .d2-date span { display: block; margin-top: 8px; color: var(--d2-green); font-size: var(--fs-small); font-weight: 600; }
.theme-2 .d2-agenda-body h3 { margin: 0; }
.theme-2 .d2-agenda-body h3 a, .theme-2 .d2-ix-course h3 a { color: inherit; text-decoration: none; }
.theme-2 .d2-agenda-body h3 a:hover, .theme-2 .d2-ix-course h3 a:hover { color: var(--d2-green); text-decoration: underline; text-decoration-thickness: 1px; }
.theme-2 .d2-agenda-row.is-closed .d2-date b, .theme-2 .d2-agenda-row.is-closed h3 { color: var(--muted); }
.theme-2 .d2-agenda-act .btn { padding: 10px 24px; }
.theme-2 .d2-sec .badge.closed { border-radius: 4px; }
.theme-2 .d2-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 0; margin: 10px 0 0; padding: 0; max-width: none; color: var(--muted); font-size: var(--fs-small); }
.theme-2 .d2-facts li { margin: 0 14px 0 0; padding-right: 14px; border-right: 1px solid var(--line); }
.theme-2 .d2-facts li:last-child { margin-right: 0; padding-right: 0; border-right: 0; }
.theme-2 .d2-facts .badge { padding: 0; background: none; border: 0; border-radius: 0; color: var(--d2-green); font-weight: 600; }
.theme-2 .d2-prose > .d2-facts { margin: 0 0 clamp(28px, 3.5vw, 44px); }
.theme-2 .d2-empty { margin: 0; padding: 4px 0 26px; border-bottom: 1px solid var(--line); }
.theme-2 .d2-empty p { margin: 8px 0 0; color: var(--muted); }
.theme-2 .d2-empty .btn-row { margin-top: 18px; }

/* Courses as a ruled index: course | duration | format | next date | action. */
.theme-2 .d2-index { list-style: none; margin: 0; padding: 0; counter-reset: d2ix; }
.theme-2 .d2-ix-head, .theme-2 .d2-ix-row { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr) 6.5rem 9rem 12rem 13rem; gap: 8px 24px; align-items: start; }
.theme-2 .d2-index-landing .d2-ix-head, .theme-2 .d2-index-landing .d2-ix-row { grid-template-columns: 3.25rem 9rem minmax(0, 1fr) 5.5rem 8rem 11rem 10.5rem; }
.theme-2 .d2-ix-head { padding-bottom: 12px; border-bottom: 1px solid var(--d2-rule); color: var(--muted); font-size: var(--fs-small); font-weight: 600; }
.theme-2 .d2-ix-head::before { content: ""; }
.theme-2 .d2-index-landing .d2-ix-head span:first-child { grid-column: 2 / 4; }
/* Each course keeps its photograph, as a small plate beside the title. */
.theme-2 .d2-ix-thumb { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: var(--mint); }
.theme-2 .d2-ix-thumb img { width: 100%; height: 100%; object-fit: cover; }
.theme-2 .d2-ix-row { counter-increment: d2ix; padding: 26px 0; border-bottom: 1px solid var(--line); }
.theme-2 .d2-ix-row::before { content: counter(d2ix, decimal-leading-zero); color: var(--d2-green); font-size: var(--fs-h3); font-weight: 300; line-height: 1.3; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.theme-2 .d2-flag { display: block; margin-bottom: 4px; color: var(--d2-green); font-size: var(--fs-small); font-weight: 600; }
.theme-2 .d2-ix-course p { margin: 8px 0 0; max-width: 54ch; color: var(--muted); font-size: var(--fs-small); }
.theme-2 .d2-ix-cell { margin: 0; padding-top: .3em; font-size: var(--fs-small); }
.theme-2 .d2-ix-next b { display: block; color: var(--forest-900); font-weight: 600; }
.theme-2 .d2-ix-next span { display: block; color: var(--muted); }
.theme-2 .d2-ix-act { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.theme-2 .d2-ix-act .btn { padding: 10px 22px; }
.theme-2 .d2-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--d2-rule); }
.theme-2 .d2-pair > div { padding: 28px var(--d2-gap) 0 0; }
.theme-2 .d2-pair > div + div { padding-left: var(--d2-gap); padding-right: 0; border-left: 1px solid var(--line); }
.theme-2 .d2-pair h3 { margin-bottom: 12px; }
.theme-2 .d2-pair .btn { margin-top: 26px; }

/* Detail pages: a sticky "at a glance" column on the left of the prose. */
.theme-2 .d2-detail { display: grid; grid-template-columns: var(--d2-cols); gap: 32px var(--d2-gap); align-items: start; }
.theme-2 .d2-glance { position: sticky; top: calc(var(--header) + 20px); margin: 0; padding-top: 22px; border-top: 1px solid var(--d2-rule); }
.theme-2 .d2-glance h2 { margin-bottom: 12px; font-size: var(--fs-h3); letter-spacing: -0.022em; }
.theme-2 .d2-glance p { color: var(--muted); font-size: var(--fs-small); }
.theme-2 .d2-glance dl { margin: 0; border-top: 1px solid var(--line); }
.theme-2 .d2-glance dl > div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-small); }
.theme-2 .d2-glance dt { flex: none; color: var(--muted); }
.theme-2 .d2-glance dd { margin: 0; color: var(--forest-900); font-weight: 600; text-align: right; }
.theme-2 .d2-glance .btn { width: 100%; margin-top: 22px; }
.theme-2 .d2-glance hr { margin: 22px 0 0; border: 0; border-top: 1px solid var(--line); }
.theme-2 .d2-glance .direct { list-style: none; display: grid; gap: 2px; margin-top: 14px; font-size: var(--fs-small); }
.theme-2 .d2-prose { min-width: 0; }
.theme-2 .d2-prose > p, .theme-2 .d2-prose > ul, .theme-2 .d2-prose > ol { max-width: var(--read); }
.theme-2 .d2-prose h2 { margin: clamp(40px, 5vw, 60px) 0 18px; padding-top: 24px; border-top: 1px solid var(--line); font-size: var(--fs-h3); letter-spacing: -0.022em; }
.theme-2 .d2-prose > h2:first-child, .theme-2 .d2-prose > .d2-kicker + h2 { margin-top: 0; padding-top: 0; border-top: 0; font-size: var(--fs-h2); letter-spacing: -0.032em; }
.theme-2 .d2-prose > .lead { max-width: 40rem; }
/* The numbered steps of a method keep their order; the numeral loses its disc. */
.theme-2 .d2-prose .steps { display: block; padding: 0; border-top: 1px solid var(--line); }
.theme-2 .d2-prose .steps li { margin: 0; padding: 16px 0 16px 4.5rem; border-bottom: 1px solid var(--line); }
.theme-2 .d2-prose .steps li::before { content: counter(s, decimal-leading-zero); top: 14px; display: block; width: auto; height: auto; border-radius: 0; background: none; color: var(--d2-green); font-size: var(--fs-h3); font-weight: 300; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
/* The two child services read as a ruled pair of links. */
.theme-2 .d2-prose .grid { gap: 0; border-top: 1px solid var(--d2-rule); border-bottom: 1px solid var(--line); }
.theme-2 .d2-prose .grid .card { padding: 24px 28px 24px 0; background: none; border-radius: 0; }
.theme-2 .d2-prose .grid .card + .card { padding-left: 28px; border-left: 1px solid var(--line); }
.theme-2 .d2-prose .grid .card .icon { display: none; }
.theme-2 .d2-prose .grid a.card:hover { transform: none; box-shadow: none; }
.theme-2 .d2-founder .d2-portrait { aspect-ratio: 4 / 5; }
.theme-2 .d2-founder figcaption { margin-top: 20px; }
.theme-2 .d2-founder figcaption img { height: 44px; width: auto; }
.theme-2 .d2-founder.d2-glance { padding-top: 0; border-top: 0; }

/* Chronology: the year is the label. */
.theme-2 .d2-chron { list-style: none; margin: 0; padding: 0; }
.theme-2 .d2-chron li { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 4px 32px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.theme-2 .d2-chron li:first-child { padding-top: 0; }
.theme-2 .d2-chron .yr { color: var(--forest-900); font-size: var(--fs-h3); font-weight: 300; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.theme-2 .d2-chron strong { display: block; color: var(--forest-900); font-weight: 600; line-height: 1.35; }
.theme-2 .d2-chron div span { display: block; margin-top: 4px; color: var(--muted); font-size: var(--fs-small); }

/* Credentials grouped under their holder. */
.theme-2 .d2-quals-head, .theme-2 .d2-holder { display: grid; grid-template-columns: minmax(0, 3.4fr) minmax(0, 5.2fr) minmax(0, 3.4fr); column-gap: clamp(20px, 3vw, 48px); }
.theme-2 .d2-quals-head { margin: 0; padding-bottom: 12px; border-bottom: 1px solid var(--d2-rule); color: var(--muted); font-size: var(--fs-small); font-weight: 600; }
.theme-2 .d2-holders { list-style: none; margin: 0; padding: 0; }
.theme-2 .d2-holder { padding: 22px 0; border-bottom: 1px solid var(--d2-field); }
.theme-2 .d2-holder h3 { font-size: var(--fs-body); line-height: 1.35; padding: 9px 0; }
.theme-2 .d2-holder > ul { list-style: none; grid-column: 2 / -1; display: grid; grid-template-columns: subgrid; margin: 0; padding: 0; }
.theme-2 .d2-holder > ul > li { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; padding: 9px 0; border-top: 1px solid var(--line); }
.theme-2 .d2-holder > ul > li:first-child { border-top: 0; }
.theme-2 .d2-holder strong { color: var(--forest-900); font-weight: 550; }
.theme-2 .d2-holder li span { color: var(--muted); }

/* Clients: a quiet ruled grid, the group named in the margin. */
.theme-2 .d2-clients + .d2-clients { margin-top: clamp(44px, 6vw, 88px); }
.theme-2 .d2-clients .d2-margin h2 { text-wrap: balance; }
.theme-2 .d2-logos { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.theme-2 .d2-logos li { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; aspect-ratio: 3 / 2; padding: 12%; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.theme-2 .d2-logos img { width: auto; max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .82; }
.theme-2 .d2-logos li:hover img { filter: none; opacity: 1; }

/* Team: a contents list, then people in two columns with a portrait beside the text. */
.theme-2 .d2-roster ul { list-style: none; margin: 0; padding: 0 0 0 clamp(20px, 4vw, 56px); }
.theme-2 .d2-roster a { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 24px; align-items: baseline; min-height: 44px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); text-decoration: none; }
.theme-2 .d2-roster strong { color: var(--forest-900); font-weight: 600; }
.theme-2 .d2-roster a:hover strong { color: var(--d2-green); text-decoration: underline; text-decoration-thickness: 1px; }
.theme-2 .d2-roster .d2-roster-lead { padding-top: 0; border-bottom-color: var(--d2-rule); }
.theme-2 .d2-roster-lead strong { font-size: var(--fs-h3); letter-spacing: -0.02em; }
.theme-2 .d2-people { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--d2-gap); margin: 0; padding: 0; border-top: 1px solid var(--d2-rule); }
.theme-2 .d2-person { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 16px 28px; align-items: start; padding: 32px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header) + 16px); }
.theme-2 .d2-person.is-lead { grid-column: 1 / -1; grid-template-columns: var(--d2-cols); column-gap: var(--d2-gap); padding: clamp(32px, 4vw, 56px) 0; border-bottom-color: var(--d2-rule); }
.theme-2 .d2-portrait { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: var(--mint); }
.theme-2 .d2-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.theme-2 .d2-person.is-lead h3 { font-size: var(--fs-h2); letter-spacing: -0.032em; }
.theme-2 .d2-person .role { margin: 4px 0 12px; color: var(--d2-green); font-size: var(--fs-small); font-weight: 600; }
.theme-2 .d2-person p:not(.role):not(.d2-kicker) { margin: 0; max-width: var(--read); }
.theme-2 .d2-person:not(.is-lead) p:not(.role) { font-size: var(--fs-small); }
.theme-2 .d2-person .d2-more { margin-top: 14px; }

/* Articles: a magazine contents page, the topic set in the margin. */
.theme-2 .d2-mag { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--d2-rule); }
.theme-2 .d2-mag a { position: relative; display: grid; grid-template-columns: var(--d2-cols); gap: 6px var(--d2-gap); padding: clamp(26px, 3.2vw, 40px) 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.theme-2 .d2-mag a > div { padding-right: 68px; }
.theme-2 .d2-topic { margin: 0; padding-top: .3em; color: var(--d2-green); font-size: var(--fs-small); font-weight: 600; }
.theme-2 .d2-mag h3 { max-width: 30ch; }
.theme-2 .d2-mag li:first-child h3 { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.032em; max-width: 20ch; }
.theme-2 .d2-mag p:not(.d2-topic) { margin: 10px 0 0; max-width: 58ch; color: var(--muted); }
.theme-2 .d2-mag a:hover h3 { color: var(--d2-green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .16em; }
.theme-2 .d2-go { position: absolute; right: 0; top: clamp(26px, 3.2vw, 40px); display: grid; place-items: center; width: 44px; height: 44px; color: var(--d2-green); }
.theme-2 .d2-go svg { width: 24px; height: 24px; }

/* Videos: a playlist. The first is the feature, the rest run in two columns. */
.theme-2 .d2-reel { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--d2-gap); margin: 0; padding: 0; border-top: 1px solid var(--d2-rule); }
.theme-2 .d2-reel a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 14px 24px; align-items: start; height: 100%; padding: 24px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.theme-2 .d2-reel li:first-child { grid-column: 1 / -1; }
.theme-2 .d2-reel li:first-child a { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--d2-gap); padding: clamp(28px, 3.5vw, 44px) 0; border-bottom-color: var(--d2-rule); }
.theme-2 .d2-reel li:first-child h3 { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.032em; }
.theme-2 .d2-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: var(--forest-800); }
.theme-2 .d2-thumb img { width: 100%; height: 100%; object-fit: cover; }
.theme-2 .d2-play { position: absolute; left: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; background: #FFFFFF; }
.theme-2 .d2-play::after { content: ""; position: absolute; left: 14px; top: 11px; border-left: 11px solid var(--d2-green); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.theme-2 .d2-reel h3 { font-size: var(--fs-body); line-height: 1.3; letter-spacing: -0.012em; }
.theme-2 .d2-reel h3 + span { display: block; margin-top: 8px; color: var(--muted); font-size: var(--fs-small); }
.theme-2 .d2-reel a:hover h3 { color: var(--d2-green); text-decoration: underline; text-decoration-thickness: 1px; }

/* Events: the same table, set as a dated list. */
.theme-2 .d2-events { padding: 0; background: none; border-radius: 0; }
.theme-2 .d2-events .events-table thead th { padding-top: 0; }
.theme-2 .d2-events .events-table tbody td:first-child { color: var(--forest-900); font-size: var(--fs-h3); font-weight: 300; letter-spacing: -0.035em; line-height: 1.2; }
.theme-2 .d2-events .events-table tbody tr:last-child th, .theme-2 .d2-events .events-table tbody tr:last-child td { border-bottom: 1px solid var(--line); }

/* Gallery: plates of two widths with a numbered caption underneath. */
.theme-2 .d2-plates { list-style: none; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(36px, 4.5vw, 64px) clamp(20px, 3vw, 44px); margin: 0; padding: 0; counter-reset: d2pl; }
.theme-2 .d2-plates li { grid-column: span 7; counter-increment: d2pl; }
.theme-2 .d2-plates li:nth-child(4n+2), .theme-2 .d2-plates li:nth-child(4n+3) { grid-column: span 5; }
.theme-2 .d2-plates li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.theme-2 .d2-plates figure { margin: 0; }
.theme-2 .d2-plates img { width: 100%; height: clamp(260px, 34vw, 460px); object-fit: cover; border-radius: 6px; background: var(--mint); }
.theme-2 .d2-plates figcaption { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--d2-rule); color: var(--forest-900); font-weight: 600; line-height: 1.35; }
.theme-2 .d2-plates figcaption::before { content: counter(d2pl, decimal-leading-zero); display: block; margin-bottom: 6px; color: var(--d2-green); font-size: var(--fs-small); font-variant-numeric: tabular-nums; }
.theme-2 .d2-plates figcaption span { display: block; margin-top: 4px; color: var(--muted); font-size: var(--fs-small); font-weight: 400; }
.theme-2 .d2-plates .gallery-download { display: inline-flex; margin: 6px 0 0; }

/* Forms: the same fields on ruled paper. Underlined inputs, no card. */
.theme-2 .form-card { padding: 0; background: none; border-radius: 0; }
.theme-2 .form-section-title { margin-top: 20px; padding-top: 24px; border-top-color: var(--d2-rule); }
.theme-2 .form-section-title:first-child { margin-top: 0; padding-top: 0; }
.theme-2 .field input, .theme-2 .field select, .theme-2 .field textarea { border: 0; border-bottom: 1.5px solid var(--d2-field); border-radius: 4px 4px 0 0; background-color: var(--d2-soft); padding: 13px 16px; }
.theme-2 .field.invalid input, .theme-2 .field.invalid select, .theme-2 .field.invalid textarea { border-width: 0 0 2px; }
.theme-2 .choice { border-radius: 4px; padding: 10px 20px 10px 16px; }
.theme-2 .selection { padding: 22px 0; background: none; border-top: 1px solid var(--d2-rule); border-bottom: 1px solid var(--d2-rule); border-radius: 0; }
.theme-2 .error-summary, .theme-2 .form-status { border-radius: 6px; }
.theme-2 .side-help .card { padding: 22px 0 0; background: none; border-top: 1px solid var(--d2-rule); border-radius: 0; }
.theme-2 .side-help .steps li::before { background: none; color: var(--d2-green); font-weight: 300; font-size: var(--fs-h3); }
/* Policy pages sit in the text column, under the lead. */
.theme-2 .d2-plain > .wrap > .prose { width: calc((100% - var(--d2-gap)) * 8.6 / 12); margin-left: auto; }
.theme-2 .d2-plain .prose h2 { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: var(--fs-h3); }

@media (prefers-reduced-motion: no-preference) {
  .theme-2 .d2-go { transition: transform .25s var(--ease); }
  .theme-2 .d2-mag a:hover .d2-go { transform: translateX(6px); }
  .theme-2 .d2-logos img { transition: filter .25s ease, opacity .25s ease; }
}

/* Below a laptop the index drops its header row and labels each cell. */
@media (max-width: 1180px) {
  .theme-2 .d2-ix-head { display: none; }
  .theme-2 .d2-index { border-top: 1px solid var(--d2-rule); }
  .theme-2 .d2-ix-row, .theme-2 .d2-index-landing .d2-ix-row { grid-template-columns: 3.25rem 11rem repeat(3, minmax(0, 1fr)); gap: 18px 28px; }
  .theme-2 .d2-index:not(.d2-index-landing) .d2-ix-row { grid-template-columns: 3.25rem 0 repeat(3, minmax(0, 1fr)); column-gap: 0; }
  .theme-2 .d2-index:not(.d2-index-landing) .d2-ix-row > * { margin-left: 28px; }
  .theme-2 .d2-ix-row::before { grid-column: 1; grid-row: 1; }
  .theme-2 .d2-ix-thumb { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
  .theme-2 .d2-ix-course, .theme-2 .d2-ix-act { grid-column: 3 / -1; }
  .theme-2 .d2-ix-cell { grid-row: 2; padding-top: 0; }
  .theme-2 .d2-ix-row > p:nth-of-type(1) { grid-column: 3; }
  .theme-2 .d2-ix-row > p:nth-of-type(2) { grid-column: 4; }
  .theme-2 .d2-ix-row > p:nth-of-type(3) { grid-column: 5; }
  .theme-2 .d2-ix-cell::before { content: attr(data-label); display: block; margin-bottom: 2px; color: var(--muted); font-weight: 600; }
  .theme-2 .d2-ix-act { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
}
@media (max-width: 960px) {
  .theme-2 { --d2-cols: minmax(0, 1fr); }
  .theme-2 .d2-margin, .theme-2 .d2-glance { position: static; }
  .theme-2 .d2-hero-margin:empty { display: none; }
  .theme-2 .d2-stack > .d2-margin { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .theme-2 .d2-quals-head { display: none; }
  .theme-2 .d2-quals { border-top: 1px solid var(--d2-rule); }
  .theme-2 .d2-holder { grid-template-columns: minmax(0, 1fr); }
  .theme-2 .d2-holder > ul { grid-column: 1; grid-template-columns: minmax(0, 1fr); }
  .theme-2 .d2-holder > ul > li { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: 2px 24px; }
  .theme-2 .d2-founder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: end; }
  .theme-2 .d2-founder figcaption { margin: 0; }
  .theme-2 .d2-person.is-lead { grid-template-columns: 12rem minmax(0, 1fr); column-gap: 28px; }
  .theme-2 .d2-people { grid-template-columns: minmax(0, 1fr); }
  .theme-2 .d2-reel, .theme-2 .d2-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-2 .d2-reel a { grid-template-columns: minmax(0, 1fr); }
  .theme-2 .d2-reel li:first-child a { grid-template-columns: minmax(0, 1fr); }
  .theme-2 .d2-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .theme-2 .d2-plain > .wrap > .prose { width: auto; }
}
@media (max-width: 700px) {
  .theme-2 .d2-agenda-row { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 22px 0; }
  .theme-2 .d2-date { display: flex; align-items: baseline; gap: 10px; }
  .theme-2 .d2-date b { font-size: var(--fs-h3); font-weight: 400; }
  .theme-2 .d2-date span { margin: 0; }
  .theme-2 .d2-agenda-act .btn, .theme-2 .d2-ix-act .btn, .theme-2 .d2-pair .btn, .theme-2 .d2-empty .btn { width: 100%; }
  .theme-2 .d2-ix-row, .theme-2 .d2-index-landing .d2-ix-row, .theme-2 .d2-index:not(.d2-index-landing) .d2-ix-row { grid-template-columns: 2.5rem repeat(2, minmax(0, 1fr)); gap: 14px 16px; padding: 22px 0; }
  .theme-2 .d2-index:not(.d2-index-landing) .d2-ix-row > * { margin-left: 0; }
  .theme-2 .d2-ix-thumb { grid-column: 2 / -1; grid-row: 1; aspect-ratio: 16 / 9; }
  .theme-2 .d2-ix-course, .theme-2 .d2-ix-act { grid-column: 2 / -1; }
  .theme-2 .d2-ix-cell { grid-row: 3; }
  .theme-2 .d2-ix-row > p:nth-of-type(1) { grid-column: 2; }
  .theme-2 .d2-ix-row > p:nth-of-type(2) { grid-column: 3; }
  .theme-2 .d2-ix-row > p.d2-ix-next { grid-column: 2 / -1; grid-row: 4; }
  .theme-2 .d2-ix-act { grid-row: 5; flex-direction: column; align-items: stretch; }
  .theme-2 .d2-index-landing .d2-ix-course { grid-row: 2; }
  .theme-2 .d2-pair, .theme-2 .d2-with-plate, .theme-2 .d2-two, .theme-2 .d2-ledger > li, .theme-2 .d2-prose .grid { grid-template-columns: minmax(0, 1fr); }
  .theme-2 .d2-pair > div, .theme-2 .d2-pair > div + div { padding: 24px 0 28px; border-left: 0; }
  .theme-2 .d2-pair > div + div { border-top: 1px solid var(--line); }
  .theme-2 .d2-prose .grid .card, .theme-2 .d2-prose .grid .card + .card { padding: 22px 0; border-left: 0; }
  .theme-2 .d2-prose .grid .card + .card { border-top: 1px solid var(--line); }
  .theme-2 .d2-numbered > li { padding-left: 3.75rem; }
  .theme-2 .d2-numbered > li::before { font-size: var(--fs-h3); top: 20px; }
  .theme-2 .d2-steps > li { padding-left: 0; }
  .theme-2 .d2-chron li { grid-template-columns: minmax(0, 1fr); padding: 16px 0; }
  .theme-2 .d2-holder > ul > li, .theme-2 .d2-roster a { grid-template-columns: minmax(0, 1fr); }
  .theme-2 .d2-roster ul { padding-left: 20px; }
  .theme-2 .d2-person, .theme-2 .d2-person.is-lead { grid-template-columns: 5.5rem minmax(0, 1fr); column-gap: 18px; }
  .theme-2 .d2-mag a > div { padding-right: 0; }
  .theme-2 .d2-go { position: static; justify-self: start; }
  .theme-2 .d2-reel { grid-template-columns: minmax(0, 1fr); }
  .theme-2 .d2-reel a { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 16px; }
  .theme-2 .d2-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .theme-2 .d2-plates li, .theme-2 .d2-plates li:nth-child(n) { grid-column: 1 / -1; }
  .theme-2 .d2-plates img { height: auto; aspect-ratio: 3 / 2; }
  .theme-2 .d2-prose > .d2-plate img { aspect-ratio: 3 / 2; }
  .theme-2 .d2-founder { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
}
@media (max-width: 600px) {
  /* The base stylesheet turns each event into a block here; keep it ruled instead of tiled. */
  .theme-2 .d2-events .events-table tbody { display: block; }
  .theme-2 .d2-events .events-table tr { padding: 18px 0; background: none; border-bottom: 1px solid var(--line); border-radius: 0; }
  .theme-2 .d2-events .events-table tbody tr:last-child th, .theme-2 .d2-events .events-table tbody tr:last-child td { border-bottom: 0; }
  .theme-2 .d2-events .events-table tbody td:first-child::before { display: none; }
}
/* In an agenda row the facts stack, one to a line. */
.theme-2 .d2-agenda-body .d2-facts { display: grid; gap: 2px; }
.theme-2 .d2-agenda-body .d2-facts li { margin: 0; padding: 0; border: 0; }
/* Between tablet and laptop the agenda button drops under the details so the title keeps its width. */
@media (min-width: 701px) and (max-width: 1180px) {
  .theme-2 .d2-agenda-row { grid-template-columns: 8rem minmax(0, 1fr); }
  .theme-2 .d2-agenda-act { grid-column: 2; }
}
/* The title block can carry one photograph in its margin column. */
.theme-2 .d2-hero-margin .d2-plate img { aspect-ratio: 4 / 3; }

/* Training overview, wide screens: a large photo beside each course, specs on a second line under the summary. */
@media (min-width: 1181px) {
  .theme-2 .d2-index-landing .d2-ix-head { display: none; }
  .theme-2 .d2-index-landing .d2-ix-row {
    grid-template-columns: 3.25rem 20rem repeat(3, minmax(0, 1fr)) 11rem;
    grid-template-areas: "num thumb course course course act" "num thumb dur fmt next act";
    gap: 18px 28px; padding: 32px 0;
  }
  .theme-2 .d2-index-landing .d2-ix-row::before { grid-area: num; }
  .theme-2 .d2-index-landing .d2-ix-thumb { grid-area: thumb; aspect-ratio: 4 / 3; }
  .theme-2 .d2-index-landing .d2-ix-course { grid-area: course; }
  .theme-2 .d2-index-landing .d2-ix-cell[data-label="Duration"] { grid-area: dur; }
  .theme-2 .d2-index-landing .d2-ix-cell[data-label="Format"] { grid-area: fmt; }
  .theme-2 .d2-index-landing .d2-ix-next { grid-area: next; }
  .theme-2 .d2-index-landing .d2-ix-act { grid-area: act; }
  .theme-2 .d2-index-landing .d2-ix-cell::before { content: attr(data-label); display: block; margin-bottom: 2px; color: var(--muted); font-weight: 600; }
}
