/* Shared interior-page helpers retained for compatibility. */
:root { --rd-space: clamp(2.5rem, 4vw, 3.75rem); }
.rd-main { padding-block: 0 72px; }
.rd-main h1 { font-size: clamp(2.2rem, 4.6vw, 4.4rem); line-height: 1.08; letter-spacing: -.035em; }
.rd-main h2 { font-size: clamp(1.65rem, 2.8vw, 2.6rem); line-height: 1.2; letter-spacing: -.025em; }
.rd-main h3 { font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.35; }
.rd-main p { max-width: 76ch; }
.rd-main > *, .rd-grid > *, .rd-split > *, .rd-feature > *, .rd-home-hero > * { min-width: 0; }
.rd-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: baseline; padding-block: 24px; color: var(--site-muted); font-size: 12px; }
.rd-breadcrumb a { text-decoration: underline !important; text-underline-offset: 4px; }
.rd-language-note { padding: 12px 16px; background: var(--site-surface); border-left: 3px solid var(--site-purple); font-size: 13px; }
.rd-language-note[hidden] { display: none; }
.rd-hero { padding: 28px 0 48px; border-bottom: 1px solid var(--site-line); }
.rd-hero .site-page-heading::before, .rd-hero .site-page-heading::after { display: none; }
.rd-hero .site-page-heading h1 { font-size: clamp(2.2rem,4.6vw,4.4rem); }
.rd-hero .site-page-heading { max-width: 960px; padding: 0; margin: 0; }
.rd-hero .site-page-heading > p:not(.eyebrow) { max-width: 70ch; font-size: 18px; }
.rd-hero .site-page-visual { display: none; }
.rd-hero-dldpe { border-bottom: 5px solid var(--site-purple); }
.rd-hero-didpe { border-bottom: 5px solid var(--site-blue); }
.rd-hero-wide { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
.rd-hero-wide h1 { font-size: clamp(2.3rem, 4.5vw, 4rem); }
.rd-section { padding-block: var(--rd-space); border-bottom: 1px solid var(--site-line); scroll-margin-top: 24px; }
.rd-section-title { max-width: 850px; margin-bottom: 30px; }
.rd-section-title h2 { margin: 8px 0 0; }
.rd-section-title .eyebrow { margin: 0; }
.rd-section > .site-text-link { display: inline-flex; margin-top: 24px; }
.rd-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
.rd-grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3,minmax(0,1fr)); }
.rd-card { border: 1px solid var(--site-line); background: var(--site-white); display: flex; flex-direction: column; }
.rd-card > img { width: 100%; height: 245px; object-fit: cover; }
.rd-card > img[src*="logo-pilar"] { height: 150px; object-fit: contain; padding: 25px; background: var(--site-surface); }
.rd-card > div { padding: clamp(22px,3vw,36px); display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.rd-card h3 { margin: 4px 0 10px; }
.rd-card p { margin: 0 0 22px; }
.rd-card .eyebrow { margin-bottom: 8px; }
.rd-card .site-text-link { margin-top: auto; }
.rd-card h3 a:hover { color: var(--site-purple); text-decoration: underline; text-underline-offset: 4px; }
.rd-photo { margin: 0; }
.rd-photo img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.rd-photo figcaption { padding: 12px 0; font-size: 12px; color: var(--site-muted); line-height: 1.5; }
.rd-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px,5vw,64px); }
.rd-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px,5vw,60px); align-items: center; }
.rd-feature h3 { font-size: 2rem; margin: 12px 0; }
.rd-feature hr { border: 0; border-top: 1px solid var(--site-line); margin: 32px 0; }
.rd-home-hero { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; padding-block: 58px 44px; border-bottom: 1px solid var(--site-line); }
.rd-home-hero .site-home-welcome { text-align: left; padding: 0; margin: 0; max-width: none; }
.rd-home-hero h1 { font-size: clamp(2.8rem,4.8vw,4.7rem); margin: 18px 0 24px; }
.rd-home-hero .site-home-welcome-copy { font-size: 17px; line-height: 1.75; }
.rd-home-hero .rd-photo img { aspect-ratio: 3/2; object-position: center; }
.rd-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 30px; }
.rd-gallery { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.rd-gallery figure:first-child { grid-row: span 2; }
.rd-gallery figure:first-child img { aspect-ratio: auto; height: auto; min-height: 0; }
.rd-gallery figure:not(:first-child) img { aspect-ratio: auto; height: auto; object-position: center top; }
.rd-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.rd-steps li { counter-increment: step; position: relative; padding: 0 0 28px 70px; border-left: 1px solid var(--site-line); margin-left: 22px; }
.rd-steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: -23px; top: 0; display: grid; place-items: center; width: 46px; height: 46px; background: var(--site-surface); color: var(--site-purple); border: 1px solid var(--site-line); font-weight: 700; }
.rd-steps h3 { margin: 0 0 10px; }
.rd-steps p { margin: 0; }
.rd-steps li:last-child { padding-bottom: 0; border-color: transparent; }
.rd-reading { max-width: 960px; margin-inline: auto; }
.rd-toc { display: flex; flex-wrap: wrap; gap: 12px 24px; padding-block: 22px; border-bottom: 1px solid var(--site-line); }
.rd-toc a { font-size: 14px; font-weight: 600; text-decoration: underline !important; text-underline-offset: 5px; }
.rd-status { padding: 28px; margin-block: 28px; border-left: 4px solid var(--site-purple); background: var(--site-surface); }
.rd-status h2 { font-size: 1.4rem; margin: 0 0 12px; }
.rd-status [data-opportunity-links] { display: flex; gap: 14px; flex-wrap: wrap; }
.rd-faq details { border-top: 1px solid var(--site-line); padding: 22px 0; }
.rd-faq details:last-child { border-bottom: 1px solid var(--site-line); }
.rd-faq summary { cursor: pointer; font-size: 18px; font-weight: 600; padding-right: 16px; }
.rd-faq p { margin: 18px 0 0; }
.rd-agenda { display: grid; grid-template-columns: 180px 1fr; gap: 36px; align-items: start; }
.rd-date { display: grid; padding: 28px 18px; background: var(--site-purple-dark); color: var(--site-white); text-align: center; }
.rd-date strong { font-size: 36px; line-height: 1.2; }
.rd-date span { font-size: 14px; margin-top: 10px; }
.rd-agenda h3 { margin: 0 0 12px; }
.rd-partners { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.rd-partners .site-partner-card { display: block; padding: 24px; border: 1px solid var(--site-line); }
.rd-partners .site-partner-mark { margin-bottom: 22px; }
.rd-org > .rd-card { max-width: 700px; margin: 0 auto 32px; border-top: 4px solid var(--site-purple); }
.rd-org .rd-grid { border-top: 1px solid var(--site-line); padding-top: 32px; }
.rd-join { border: 0; }
.site-footer a[href^="mailto:"] { overflow-wrap: anywhere; }
.site-home a:focus-visible, .site-home button:focus-visible, .site-home summary:focus-visible { outline: 3px solid var(--site-blue); outline-offset: 5px; }
@media (max-width: 1080px) {
 .rd-home-hero { gap: 28px; }
 .rd-home-hero h1 { font-size: 3.1rem; }
 .rd-grid:has(> :nth-child(3):last-child), .rd-partners { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
 .rd-home-hero, .rd-hero-wide, .rd-split, .rd-feature { grid-template-columns: 1fr; gap: 24px; }
 .rd-home-hero { padding-block: 36px; }
 .rd-home-hero h1 { font-size: clamp(2.7rem,10vw,4rem); }
 .rd-home-hero .rd-photo img { aspect-ratio: 3/2; }
 .rd-grid, .rd-grid:has(> :nth-child(3):last-child), .rd-partners { grid-template-columns: 1fr; }
 .rd-hero { padding-top: 12px; }
 .rd-gallery { grid-template-columns: 1fr 1fr; gap: 16px; }
 .rd-gallery figure:first-child { grid-column: 1/-1; grid-row: auto; }
 .rd-gallery figure:first-child img { aspect-ratio: 3/2; height: auto; min-height: 0; }
 .rd-gallery figure:not(:first-child) img { aspect-ratio: auto; }
 .rd-agenda { grid-template-columns: 1fr; gap: 24px; }
 .rd-date { max-width: 180px; }
 .rd-toc { gap: 10px 18px; }
 .rd-steps li { padding-left: 42px; }
 .rd-hero h1 { overflow-wrap: anywhere; }
 .rd-status { padding: 22px; }
 .rd-card > img { height: auto; aspect-ratio: 3/2; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* DDPE institutional portal. Load after site.css and any legacy home styles.
   Brand colors are taken from the existing main.css palette. */
:root {
  --portal-purple: #24104f;
  --portal-navy: #1b2a4a;
  --portal-gold: #c89b3c;
  --portal-muted: #616c7c;
  --portal-line: #e4e2e9;
  --portal-surface: #f6f5f8;
  --portal-radius: 14px;
  --portal-shadow: 0 12px 32px rgb(27 42 74 / 9%);
}

/* Compact two-level header. site.js inserts the language switcher into the
   existing quick-links container; no duplicate menu or language handler. */
.portal-header { position: relative; background: white; border-bottom: 0; }
.portal-header::before { content: ""; position: absolute; inset: 0 0 auto; height: 36px; background: var(--portal-purple); pointer-events: none; }
.portal-header .site-nav-wrap {
  position: static;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: 36px 86px;
  grid-template-areas: "utility utility" "brand nav";
  gap: 0 30px;
  min-height: 0;
  padding: 0;
}
.portal-header .portal-utility { position: relative; grid-area: utility; min-height: 0; background: transparent; }
.portal-header .site-utility-inner { min-height: 36px; gap: 16px; }
.portal-header .portal-location { color: #ede7f5; font-size: 11px; font-weight: 500; white-space: nowrap; }
.portal-header .site-quick-links { display: flex; gap: 20px; align-items: center; padding: 0; margin: 0; }
.portal-header .site-quick-links > a { color: #fff; font-size: 11px; line-height: 1.2; padding: 9px 0; }
.portal-header .site-quick-links > a:hover { color: #e8c77d; }
.portal-header .site-lang-switcher { gap: 0; border: 0; border-radius: 0; padding: 0; background: transparent; }
.portal-header .site-lang-switcher button { position: relative; min-width: 30px; min-height: 32px; padding: 4px 6px; border-radius: 0; background: transparent; color: #c5bcd5; font-size: 11px; }
.portal-header .site-lang-switcher button + button::before { content: "|"; position: absolute; left: -2px; color: #897d9e; font-weight: 400; }
.portal-header .site-lang-switcher button.is-active { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.portal-header .site-brand { gap: 10px; width: fit-content; }
.portal-header .site-brand img { width: 51px; height: 51px; border: 0; border-radius: 0; }
.portal-header .site-brand strong { color: var(--portal-purple); font-size: 16px; }
.portal-header .site-brand small { color: var(--portal-navy); font-size: 12px; }
.portal-header .site-nav { justify-content: flex-end; gap: 24px; margin: 0; padding: 0; border: 0; }
.portal-header .site-nav-primary { width: auto; justify-content: flex-end; gap: clamp(12px, 1.5vw, 24px); }
.portal-header .site-nav-trigger { min-height: 86px; padding: 0; gap: 7px; color: var(--portal-navy); font-size: 13px; }
.portal-header .site-nav-trigger.is-open { border-bottom-color: var(--portal-gold); color: var(--portal-purple); }
.portal-header .site-nav-trigger:hover { color: var(--portal-purple); }
.portal-header .site-mega-panel { max-height: calc(100dvh - 122px); border-top-color: var(--portal-line); }
.portal-header .site-mega-group h2 { color: var(--portal-purple); }
.portal-header .site-mega-group a:hover { color: var(--portal-purple); text-decoration: underline; text-underline-offset: 4px; }
.portal-header .site-mega-home span[aria-hidden] { color: var(--portal-purple); }
.portal-header .site-menu-toggle { grid-area: toggle; }
.portal-header .portal-nav-cta { min-height: 42px; padding: 10px 16px; white-space: nowrap; font-size: 12px; }
.ddpe-portal .skip-link { z-index: 50; }

/* Shared controls and spacing. Home styles are scoped so interior templates
   retain the layout helpers below. */
.ddpe-portal { --site-width: 1240px; --site-ink: var(--portal-navy); }
.ddpe-portal .site-container { width: min(var(--site-width), calc(100% - 64px)); }
.ddpe-portal .portal-main { width: 100%; margin: 0; padding: 0; }
.ddpe-portal [hidden] { display: none !important; }
.portal-main *, .portal-main *::before, .portal-main *::after { box-sizing: border-box; }
.portal-main h1, .portal-main h2, .portal-main h3 { font-family: var(--site-display); text-wrap: balance; }
.portal-main h2 { margin: 0; color: var(--portal-navy); font-size: clamp(27px, 2.65vw, 38px); line-height: 1.16; letter-spacing: -.035em; }
.portal-main h3 { margin: 0; font-size: 24px; line-height: 1.25; letter-spacing: -.025em; }
.portal-main p { margin: 0; }
.portal-main section[id], .portal-main article[id], .portal-main div[id] { scroll-margin-top: 24px; }
.ddpe-portal .rd-language-note { margin-block: 12px; }
.portal-main .portal-section { padding-block: 56px; }
.portal-section-heading.rd-section-title { display: flex; max-width: none; align-items: end; justify-content: space-between; gap: 32px; margin: 0 0 28px; }
.portal-section-heading > p { max-width: 36ch; margin: 0 0 2px; color: var(--portal-muted); font-size: 14px; line-height: 1.7; }
.portal-eyebrow { margin: 0 0 9px !important; color: var(--portal-purple); font-size: 10px; line-height: 1.5; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.portal-button { display: inline-flex; min-height: 46px; justify-content: center; align-items: center; gap: 20px; padding: 12px 21px; border: 1px solid transparent; border-radius: 6px; font-size: 13px; line-height: 1.4; font-weight: 700; transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
body.site-home .portal-button-gold { color: var(--portal-purple); background: var(--portal-gold); }
body.site-home .portal-button-gold:hover { background: #dab15c; box-shadow: 0 5px 18px rgb(200 155 60 / 18%); }
body.site-home .portal-button-outline { color: #fff; border-color: rgb(255 255 255 / 45%); background: transparent; }
body.site-home .portal-button-outline:hover { background: rgb(255 255 255 / 10%); border-color: white; }
.portal-text-link { display: inline-flex; min-height: 40px; align-items: center; gap: 16px; flex-shrink: 0; color: var(--portal-purple) !important; font-size: 13px; font-weight: 700; }
.portal-text-link:hover { text-decoration: underline !important; text-underline-offset: 5px; }
.portal-button span[aria-hidden], .portal-text-link span[aria-hidden], .portal-card-link span[aria-hidden] { font-size: 19px; line-height: 1; }
.portal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.ddpe-portal a:focus-visible, .ddpe-portal button:focus-visible { outline: 3px solid var(--portal-gold); outline-offset: 4px; }

/* Split hero: the photo frame follows the original 2000:1333 ratio.
   Cover fills the card without cropping the top row of faces. */
.portal-hero { color: #fff; background: linear-gradient(115deg, var(--portal-purple) 0%, #30204f 52%, var(--portal-navy) 100%); }
.portal-hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 48px; padding-block: 52px 92px; }
.portal-hero-grid > * { min-width: 0; }
.ddpe-portal .portal-hero-copy.site-home-welcome { padding: 0; margin: 0; text-align: left; }
.portal-location-badge { display: inline-flex; align-items: center; gap: 9px; padding: 6px 10px; border: 1px solid rgb(200 155 60 / 40%); border-radius: 4px; color: #e8c77d; font-size: 10px; font-weight: 700; letter-spacing: .12em; line-height: 1.5; }
.portal-location-badge > span { width: 5px; height: 5px; border-radius: 50%; background: var(--portal-gold); }
.ddpe-portal .portal-hero-copy h1 { max-width: 10.6ch; margin: 20px 0 18px; color: #fff; font-size: clamp(38px, 4.1vw, 58px); font-weight: 700; line-height: 1.06; letter-spacing: -.045em; }
.ddpe-portal .portal-hero-copy .site-home-welcome-copy { max-width: 49ch; margin: 0; color: #ded9e6; font-size: 15px; line-height: 1.75; }
.portal-hero-footnote { margin-top: 22px !important; color: #bfb7d0; font-size: 11px; }
.portal-hero-photo { position: relative; margin: 0 0 18px; isolation: isolate; }
.portal-hero-photo::before { content: ""; position: absolute; z-index: -1; inset: 16px -12px -12px 16px; border: 1px solid rgb(200 155 60 / 45%); border-radius: var(--portal-radius); }
.portal-hero-photo > img { width: 100%; height: auto; aspect-ratio: 2000 / 1333; object-fit: cover; object-position: center top; border-radius: var(--portal-radius); }
.portal-hero-photo figcaption { position: absolute; right: 18px; bottom: -25px; left: 18px; display: flex; align-items: center; gap: 12px; width: fit-content; max-width: calc(100% - 36px); padding: 12px 17px 12px 12px; background: white; color: var(--portal-navy); border-radius: 8px; box-shadow: var(--portal-shadow); }
.portal-caption-mark { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 50%; background: #f6eedc; color: var(--portal-purple); font-size: 20px; }
.portal-hero-photo figcaption strong { display: block; font-size: 11px; line-height: 1.5; }
.portal-hero-photo figcaption small { display: block; margin-top: 2px; color: var(--portal-muted); font-size: 10px; line-height: 1.5; }

/* Quick access overlaps the hero while remaining in normal document flow. */
.portal-main .portal-quick { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin-top: -35px; background: #fff; border: 1px solid var(--portal-line); border-radius: 10px; box-shadow: var(--portal-shadow); }
.portal-quick > a { display: flex; position: relative; align-items: center; gap: 12px; padding: 22px 18px; min-width: 0; border-right: 1px solid var(--portal-line); transition: background-color 180ms ease; }
.portal-quick > a:first-child { border-radius: 10px 0 0 10px; }
.portal-quick > a:last-child { border-right: 0; border-radius: 0 10px 10px 0; }
.portal-quick > a:hover { background: #f8f5ed; }
.portal-quick-icon { display: grid; place-items: center; color: var(--portal-purple); flex: 0 0 24px; }
.portal-quick-copy { min-width: 0; }
.portal-quick small { display: block; margin-bottom: 3px; color: var(--portal-muted); font-size: 10px; line-height: 1.3; }
.portal-quick strong { display: block; color: var(--portal-navy); font-size: 13px; line-height: 1.4; }
.portal-quick .portal-arrow { margin-left: auto; color: var(--portal-purple); font-size: 18px; }

/* Two equal pillar cards, then an asymmetric event / involvement layout. */
.portal-pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.portal-main .rd-card { min-width: 0; margin: 0; border: 1px solid var(--portal-line); border-radius: var(--portal-radius); background: #fff; box-shadow: none; overflow: hidden; }
.portal-main .rd-card > div { display: block; flex: initial; padding: 0; }
.portal-main .rd-card p { margin: 0; }
.portal-main .rd-card h3 { margin: 0; font-size: 24px; line-height: 1.25; }
.portal-pillar-header { display: flex; min-height: 64px; align-items: center; justify-content: space-between; padding: 14px 26px; color: #fff; background: var(--portal-purple); }
.portal-pillar-innovation .portal-pillar-header { background: var(--portal-navy); }
.portal-badge { display: inline-flex; padding: 5px 10px; border: 1px solid rgb(255 255 255 / 25%); border-radius: 4px; font-size: 10px; font-weight: 600; letter-spacing: .04em; }
.portal-pillar-number { color: #e8c77d; font-size: 27px; font-weight: 500; line-height: 1; }
.portal-main .rd-card > .portal-pillar-body { display: flex; flex: 1; flex-direction: column; padding: 26px; }
.portal-pillar-title { display: flex; align-items: center; gap: 16px; margin-bottom: 17px; }
.portal-pillar-title > img { width: 62px; height: 62px; flex: 0 0 62px; object-fit: contain; }
.portal-main .portal-pillar-title h3 { max-width: 26ch; font-size: 18px; line-height: 1.35; }
.portal-acronym { color: var(--portal-purple); font-size: 11px; font-weight: 700; letter-spacing: .12em; margin-bottom: 5px !important; }
.portal-pillar-body > p { color: var(--portal-muted); font-size: 14px; line-height: 1.65; }
.portal-focus { display: grid; gap: 7px; list-style: none; margin: 18px 0 23px; padding: 0; font-size: 13px; }
.portal-focus li { position: relative; padding-left: 18px; }
.portal-focus li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 1px; background: var(--portal-gold); }
.portal-card-link { display: flex; justify-content: space-between; align-items: center; gap: 20px; width: 100%; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--portal-line); color: var(--portal-purple) !important; font-size: 13px; font-weight: 700; }
.portal-card-link:hover { text-decoration: underline !important; text-underline-offset: 4px; }
.portal-agenda-band { background: var(--portal-surface); border-block: 1px solid var(--portal-line); }
.portal-agenda-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.portal-main .portal-event { display: flex; flex-direction: column; }
.portal-event-visual { position: relative; }
.portal-event-photo { display: block; width: 100%; height: auto; aspect-ratio: 2.3; object-fit: cover; object-position: center 63%; }
.portal-event-label { position: absolute; bottom: 16px; left: 24px; padding: 6px 10px; color: white; background: var(--portal-purple); border-radius: 4px; font-size: 10px; font-weight: 600; }
.portal-main .rd-card > .portal-event-body { display: grid; grid-template-columns: 100px minmax(0, 1fr); flex: 1; align-items: start; gap: 24px; padding: 26px; }
.portal-date { display: flex; flex-direction: column; align-items: center; padding: 15px 8px; border: 1px solid #e3d3ad; border-top: 4px solid var(--portal-gold); border-radius: 6px; color: var(--portal-purple); background: #faf5e9; }
.portal-date strong { font-size: 31px; line-height: 1.3; letter-spacing: -.06em; }
.portal-date span { font-size: 11px; }
.portal-main img.portal-amex-logo { width: 112px; height: 63px; object-fit: contain; margin: -9px 0 4px; }
.portal-event-copy > p { margin: 12px 0 8px !important; color: var(--portal-muted); font-size: 13px; line-height: 1.7; }
.portal-involvement { display: grid; grid-template-rows: 1.05fr 1fr; gap: 20px; min-width: 0; }
.portal-main .portal-invite { position: relative; padding: 25px; }
.portal-main .portal-invite-volunteer { color: white; background: var(--portal-purple); border-color: var(--portal-purple); }
.portal-invite-icon { position: absolute; top: 24px; right: 24px; color: var(--portal-gold); }
.portal-invite .portal-eyebrow { padding-right: 32px; }
.portal-invite-volunteer .portal-eyebrow { color: #e8c77d; }
.portal-main .portal-invite h3 { max-width: 22ch; font-size: 23px; margin-bottom: 10px; }
.portal-main .portal-invite > p:not(.portal-eyebrow) { max-width: 38ch; color: var(--portal-muted); font-size: 13px; line-height: 1.65; margin-bottom: 20px; }
.portal-main .portal-invite-volunteer > p:not(.portal-eyebrow) { color: #ded9e6; }
.portal-invite-volunteer .portal-card-link { color: #fff !important; border-top-color: rgb(255 255 255 / 22%); }
.portal-invite-partner { border-top: 4px solid var(--portal-gold) !important; }

/* API-driven news. The two original IDs and legacy classes stay valid. */
.ddpe-portal .site-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ddpe-portal .site-news-grid > a { display: flex; min-width: 0; min-height: 0; flex-direction: column; justify-content: flex-start; padding: 0; border: 1px solid var(--portal-line); border-radius: 10px; overflow: hidden; background: white; transition: box-shadow 180ms ease, transform 180ms ease; }
.ddpe-portal .site-news-grid > a > img { display: block; width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; background: var(--portal-surface); }
.ddpe-portal .site-news-grid > a > .site-news-placeholder { display: grid; width: 100%; aspect-ratio: 16 / 9; place-content: center; color: var(--portal-purple); background: var(--portal-surface); font-size: 15px; font-weight: 700; letter-spacing: .16em; }
.ddpe-portal .site-news-grid > a > div:not(.site-news-placeholder) { display: flex; flex: 1; align-self: stretch; flex-direction: column; align-items: flex-start; padding: 22px; }
.ddpe-portal .site-news-label { padding: 4px 8px; border-radius: 3px; color: var(--portal-purple); background: #eee8f6; font-size: 9px; line-height: 1.4; letter-spacing: .05em; }
.ddpe-portal .site-news-date { margin: 11px 0 0; color: var(--portal-muted); font-size: 10px; }
.ddpe-portal .site-news-grid h3 { margin: 10px 0; color: var(--portal-navy); font-size: 20px; line-height: 1.35; letter-spacing: -.025em; overflow-wrap: anywhere; }
.ddpe-portal .site-news-grid p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; color: var(--portal-muted); font-size: 13px; line-height: 1.65; }
.ddpe-portal .site-news-state { margin: 0; padding: 24px; border: 1px solid var(--portal-line); border-left: 3px solid var(--portal-gold); border-radius: 6px; color: var(--portal-muted); background: var(--portal-surface); }
.portal-partners-band { background: #faf9fb; border-top: 1px solid var(--portal-line); }
.portal-partners-band .portal-section { padding-block: 40px; }
.portal-partners-band h2 { font-size: clamp(24px, 2.3vw, 30px); }
.portal-partners-band .rd-partners { gap: 16px; }
.portal-partners-band .site-partner-card { padding: 20px; border-color: var(--portal-line); border-radius: 8px; background: white; }
.portal-partners-band .site-partner-name { font-size: 16px; }
.ddpe-portal .site-footer { padding-top: 36px; background: var(--portal-navy); color: #f0edf5; }
.ddpe-portal .site-footer p, .ddpe-portal .site-footer small, .ddpe-portal .site-footer-links a { color: #d4d8e2; }
.ddpe-portal .site-footer-bottom { color: #d4d8e2; border-color: rgb(255 255 255 / 18%); }

/* Restrained entrance and hover motion, using refinement-motion.js hooks. */
@media (prefers-reduced-motion: no-preference) {
  .ddpe-portal .portal-hero-copy { animation: portal-enter 550ms ease both; }
  .ddpe-portal .portal-hero-photo { animation: portal-enter 650ms 100ms ease both; }
  .motion-watch { opacity: 0; transform: translateY(14px); transition: opacity 500ms ease, transform 500ms ease; }
  .motion-watch.motion-visible, .motion-watch:focus-within { opacity: 1; transform: none; }
  .portal-button:hover { transform: translateY(-2px); }
  .ddpe-portal .site-news-grid > a:hover { transform: translateY(-3px); box-shadow: var(--portal-shadow); }
}
@keyframes portal-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* Matches the 1080px breakpoint used by site.js for mobile navigation. */
@media (max-width: 1080px) {
  .portal-header .site-nav-wrap { display: grid; grid-template-columns: 1fr 44px; grid-template-rows: 36px 74px; grid-template-areas: "utility utility" "brand toggle"; gap: 0 12px; }
  .portal-header .site-nav { position: absolute; display: none; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; justify-content: flex-start; max-height: calc(100dvh - 110px); overflow-y: auto; gap: 0; padding: 8px 24px 20px; border-top: 1px solid var(--portal-line); }
  .portal-header .site-nav.is-open { display: flex; }
  .portal-header .site-nav-primary { width: 100%; flex-direction: column; align-items: stretch; gap: 0; }
  .portal-header .site-nav-trigger { width: 100%; min-height: 50px; padding: 10px 0; font-size: 14px; }
  .portal-header .site-mega-panel { position: static; max-height: none; border-left-color: var(--portal-gold); }
  .portal-header .portal-nav-cta { align-self: flex-start; margin-top: 16px; }
  .portal-hero-grid { gap: 30px; padding-block: 44px 78px; }
  .ddpe-portal .portal-hero-copy h1 { font-size: clamp(36px, 4.6vw, 47px); }
  .portal-hero-copy .portal-actions { gap: 10px; }
  .portal-hero-copy .portal-button { padding-inline: 14px; font-size: 12px; gap: 12px; }
  .portal-quick > a { padding: 20px 13px; gap: 8px; flex-wrap: wrap; }
  .portal-quick-copy { flex: 1 1 calc(100% - 34px); }
  .portal-quick .portal-arrow { display: none; }
  .portal-quick strong { font-size: 12px; }
  .portal-agenda-grid { grid-template-columns: 1.3fr 1fr; gap: 20px; }
  .portal-event-photo { aspect-ratio: 1.65; }
  .portal-main .rd-card > .portal-event-body { grid-template-columns: 80px minmax(0, 1fr); gap: 18px; padding: 22px; }
  .portal-main .portal-invite { padding: 22px; }
  .ddpe-portal .site-news-grid { gap: 20px; }
  .ddpe-portal .site-news-grid > a > div:not(.site-news-placeholder) { padding: 18px; }
}
@media (max-width: 760px) {
  .ddpe-portal .site-container { width: calc(100% - 40px); }
  .portal-main .portal-section { padding-block: 40px; }
  .portal-hero-grid { grid-template-columns: 1fr; gap: 32px; padding-block: 32px 68px; }
  .ddpe-portal .portal-hero-copy h1 { max-width: 14ch; font-size: clamp(38px, 7.8vw, 52px); }
  .ddpe-portal .portal-hero-copy .site-home-welcome-copy { max-width: 56ch; font-size: 14px; }
  .portal-hero-footnote { margin-top: 16px !important; }
  .portal-hero-photo { margin: 0 6px 18px 0; }
  .portal-hero-photo figcaption { left: 14px; right: 14px; max-width: calc(100% - 28px); }
  .portal-main .portal-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -28px; }
  .portal-quick > a { padding: 16px; flex-wrap: nowrap; gap: 12px; border-bottom: 1px solid var(--portal-line); border-radius: 0 !important; }
  .portal-quick > a:nth-child(even) { border-right: 0; }
  .portal-quick > a:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .portal-quick > a:first-child { border-top-left-radius: 10px !important; }
  .portal-quick > a:nth-child(2) { border-top-right-radius: 10px !important; }
  .portal-quick > a:last-child { border-radius: 0 0 10px 10px !important; }
  .portal-quick .portal-arrow { display: block; }
  .portal-section-heading.rd-section-title { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
  .portal-section-heading > p { max-width: 54ch; }
  .portal-pillars { gap: 18px; }
  .portal-pillar-header { padding-inline: 20px; }
  .portal-main .rd-card > .portal-pillar-body { padding: 20px; }
  .portal-pillar-title { align-items: flex-start; flex-direction: column; gap: 12px; }
  .portal-agenda-grid { grid-template-columns: 1fr; }
  .portal-event-photo { aspect-ratio: 2.15; }
  .portal-involvement { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; gap: 18px; }
  .portal-main .portal-invite h3 { font-size: 21px; }
  .ddpe-portal .site-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .ddpe-portal .site-footer-main { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 540px) {
  .ddpe-portal .site-container { width: calc(100% - 32px); }
  .portal-header .site-nav-wrap { grid-template-rows: 36px 72px; }
  .portal-header .site-utility-inner { gap: 6px; }
  .portal-header .portal-location { font-size: 9px; letter-spacing: -.01em; }
  .portal-header .site-quick-links { gap: 10px; }
  .portal-header .site-quick-links > a, .portal-header .site-lang-switcher button { font-size: 9px; }
  .portal-header .site-lang-switcher button { min-width: 24px; padding-inline: 4px; }
  .portal-header .site-brand img { width: 45px; height: 45px; }
  .portal-header .site-brand strong { font-size: 15px; }
  .portal-header .site-brand small { font-size: 11px; }
  .portal-header .site-nav { padding-inline: 16px; }
  .ddpe-portal .portal-hero-copy h1 { font-size: clamp(36px, 10vw, 46px); }
  .portal-location-badge { font-size: 9px; }
  .portal-hero-photo figcaption { padding: 10px; gap: 9px; }
  .portal-hero-photo figcaption strong { font-size: 10px; }
  .portal-hero-photo figcaption small { font-size: 9px; }
  .portal-hero-photo::before { inset: 10px -8px -10px 12px; }
  .portal-quick > a { padding: 14px 12px; gap: 9px; }
  .portal-quick-icon svg { width: 21px; height: 21px; }
  .portal-quick small { font-size: 9px; }
  .portal-quick .portal-arrow { font-size: 15px; }
  .portal-pillars, .portal-involvement, .ddpe-portal .site-news-grid { grid-template-columns: 1fr; }
  .portal-pillar-title { flex-direction: row; align-items: center; gap: 14px; }
  .portal-main .rd-card > .portal-event-body { grid-template-columns: 70px minmax(0, 1fr); gap: 16px; padding: 20px; }
  .portal-date strong { font-size: 26px; }
  .portal-date span { font-size: 10px; }
  .portal-main .portal-event h3 { font-size: 22px; }
  .portal-event-label { bottom: 12px; left: 16px; }
  .portal-main .portal-invite { padding: 24px; }
  .portal-partners-band .rd-partners { grid-template-columns: 1fr; }
  .ddpe-portal .site-news-grid > a > div:not(.site-news-placeholder) { padding: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ddpe-portal *, .ddpe-portal *::before, .ddpe-portal *::after { animation: none !important; transition: none !important; }
  .motion-watch, .site-reveal { opacity: 1; transform: none; }
}
@media print {
  .portal-header, .portal-quick, .portal-actions, .skip-link { display: none !important; }
  .motion-watch, .site-reveal { opacity: 1; transform: none; }
  .portal-hero { background: white; color: black; }
  .ddpe-portal .portal-hero-copy h1, .ddpe-portal .portal-hero-copy .site-home-welcome-copy { color: black; }
  .portal-hero-grid { padding: 24px 0; }
}
/* V6: consistent photographic frames. Logos retain their intrinsic proportions. */
body.site-home .rd-card > img:not([src*="logo"]),
body.site-home .rd-grid .rd-photo img,
body.site-home .rd-gallery .rd-photo img,
body.site-home .rd-media img:not([src*="logo"]) {
  width: 100%; height: auto; min-height: 0; max-height: 260px;
  aspect-ratio: 16 / 10; object-fit: cover; object-position: center;
}
body.site-home .rd-photo > img,
body.site-home .rd-photo > a > img {
  width: 100%; height: auto; min-height: 0; max-height: 420px;
  aspect-ratio: 16 / 10; object-fit: cover; object-position: center;
}
body.site-home .rd-grid .rd-photo img,
body.site-home .rd-gallery .rd-photo img { max-height: 260px; }
body.site-home .portal-event-photo { aspect-ratio: 16 / 10; max-height: 260px; object-fit: cover; object-position: center; }
body.site-home .rd-card > img[src*="logo"] { max-height: 140px; object-fit: contain; }
