/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V5 */
/* Five public gateways share type and navigation, not a homepage hero template. */
body.site-upgrade:is(.about-experience-page,.resources-v3,.portal-news-page,.coop-page-v4,.experience-contact) {
  --gw-field-ink: #142626;
  --gw-dark-surface: #1d2634;
  --gw-solution-ink: #202d2a;
  --gw-solution-link: #23352e;
  --gw-solution-dark-card: #283447;
  --gw-solution-dark-line: #46556c;
  --gw-accent: #536ab6;
  --gw-solution-muted: #63716c;
  --gw-solution-muted-2: #6e7d75;
  --gw-solution-hover: #aebfc8;
  --gw-solution-muted-dark: #b4c2d0;
  --gw-solution-line: #dce6e0;
  --gw-white-blue: #dce9f9;
  --gw-white-muted: #e5ecf2;
  --gw-white-dark: #eef2fa;
  --gw-solution-canvas: #f4f7f5;
  --gw-news-canvas: #f5f7fb;
  --gw-canvas: #f7f8fc;
  --gw-white: #fff;
  --gw-field-shade-strong: rgb(7 23 28 / .76);
  --gw-field-shade-mid: rgb(7 23 28 / .3);
  --gw-field-shade-bottom: rgb(7 23 28 / .68);
  --gw-photo-shadow: rgb(40 54 92 / .1);
  --gw-card-shadow: rgb(22 51 45 / .1);
  --gw-accent-dark: #aabcf8;
  --gw-dark-strip: #263754;
  --gw-contact-card-dark: #2a354a;
  --gw-contact-line-dark: #485b79;
  --gw-contact-muted-dark: #c5d0e4;
}

/* About: a documentary opening, with the field film as the setting. */
body.site-upgrade.about-experience-page .about-x-hero {
  display: block;
  min-height: min(760px, calc(100svh - 60px));
  padding: 0;
  overflow: hidden;
  background: var(--gw-field-ink);
}
body.site-upgrade.about-experience-page .about-x-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body.site-upgrade.about-experience-page .about-x-hero-media video { object-position: center 49%; }
body.site-upgrade.about-experience-page .about-x-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  background: linear-gradient(90deg, var(--gw-field-shade-strong), var(--gw-field-shade-mid) 58%, transparent),
              linear-gradient(0deg, var(--gw-field-shade-bottom), transparent 63%);
  pointer-events: none;
}
body.site-upgrade.about-experience-page .about-x-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  width: min(calc(100% - 80px), 1280px);
  max-width: 1280px;
  min-height: min(760px, calc(100svh - 60px));
  margin: 0 auto;
  padding: 90px 0 76px;
  text-align: left;
  color: var(--gw-white);
}
body.site-upgrade.about-experience-page .about-x-kicker {
  justify-content: flex-start;
  width: auto;
  color: var(--gw-white-blue);
}
body.site-upgrade.about-experience-page .about-x-kicker span:last-child { color: var(--gw-white-blue); }
body.site-upgrade.about-experience-page .about-x-hero h1 {
  align-self: auto;
  width: auto;
  max-width: 900px;
  margin: 25px 0 0;
  color: var(--gw-white);
  font-size: clamp(46px, 5.2vw, 78px);
  line-height: 1.19;
  text-align: left;
}
body.site-upgrade.about-experience-page .about-x-hero h1 span,
body.site-upgrade.about-experience-page .about-x-hero h1 span:last-child,
html[data-theme="dark"] body.site-upgrade.about-experience-page .about-x-hero h1 span { color: var(--gw-white) !important; }
body.site-upgrade.about-experience-page .about-x-hero-bottom {
  align-items: flex-start;
  max-width: 680px;
  margin-top: 0;
  text-align: left;
}
body.site-upgrade.about-experience-page .about-x-hero-bottom p,
html[data-theme="dark"] body.site-upgrade.about-experience-page .about-x-hero-bottom p {
  max-width: 38em;
  margin: 24px 0 0;
  color: var(--gw-white-muted) !important;
  text-align: left;
}
body.site-upgrade.about-experience-page .about-x-hero-actions { justify-content: flex-start; }

/* Resources: a compact task directory, not a promotional photo stage. */
body.site-upgrade.resources-v3 .rs-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  grid-template-rows: auto;
  align-items: center;
  justify-items: stretch;
  gap: clamp(30px, 5vw, 90px);
  min-height: 0;
  padding: clamp(54px, 5vw, 80px) max(32px, calc((100vw - 1280px) / 2)) 60px;
  background: var(--gw-canvas);
}
body.site-upgrade.resources-v3 .rs-home-hero .rs-hero-copy {
  grid-column: 1;
  grid-row: 1;
  align-items: flex-start;
  width: 100%;
  max-width: 660px;
  margin: 0;
  text-align: left;
}
.gateway-eyebrow {
  margin: 0;
  color: var(--gw-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
}
body.site-upgrade.resources-v3 .rs-home-hero h1 {
  max-width: none;
  margin: 20px 0 0;
  font-size: clamp(42px, 4.4vw, 65px);
  line-height: 1.2;
  text-align: left;
}
body.site-upgrade.resources-v3 .rs-home-hero .rs-hero-lead {
  max-width: 30em;
  margin: 22px 0 0;
  text-align: left;
}
body.site-upgrade.resources-v3 .rs-hero-actions { justify-content: flex-start; }
body.site-upgrade.resources-v3 .rs-home-hero .rs-hero-photo {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  max-width: none;
  height: clamp(300px, 28vw, 390px);
  margin: 0;
  border-radius: 18px;
  box-shadow: 0 20px 48px var(--gw-photo-shadow);
}
body.site-upgrade.resources-v3 .rs-directory { padding-top: clamp(40px, 4vw, 62px); }

/* News: a publication masthead followed immediately by channels and stories. */
body.site-upgrade.portal-news-page .hemu-portal-masthead.is-news,
html[data-theme="light"] body.site-upgrade.portal-news-page .hemu-portal-masthead.is-news {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 37%);
  grid-template-rows: auto;
  align-items: center;
  justify-items: stretch;
  gap: clamp(32px, 5vw, 76px);
  min-height: 0;
  padding: 48px max(32px, calc((100vw - 1280px) / 2));
  background: var(--gw-news-canvas) !important;
}
body.site-upgrade.portal-news-page .masthead-grid {
  grid-column: 1;
  grid-row: 1;
  align-items: flex-start;
  width: 100%;
  max-width: 760px;
  min-height: 0;
  margin: 0;
  text-align: left;
}
body.site-upgrade.portal-news-page .journal-hero-image {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  max-width: none;
  height: 260px;
  margin: 0;
  border: 0;
  border-radius: 12px;
  box-shadow: none;
  object-position: center 56%;
}
html body.site-upgrade.portal-news-page .hemu-portal-main .masthead-title h1 {
  max-width: 690px;
  margin: 18px 0 0;
  font-size: clamp(39px, 4vw, 61px);
  line-height: 1.2;
  text-align: left;
}
body.site-upgrade.portal-news-page .masthead-intro {
  max-width: 37em;
  margin: 18px 0 0;
  text-align: left;
}
body.site-upgrade.portal-news-page .masthead-date,
html:not([data-theme="dark"]) body.site-upgrade.portal-news-page .masthead-date,
html[data-theme="dark"] body.site-upgrade.portal-news-page .masthead-date {
  align-self: flex-start !important;
  justify-content: flex-start;
  margin: 22px 0 0 !important;
}
body.site-upgrade.portal-news-page .portal-content { padding-top: 28px; }
body.site-upgrade.portal-news-page .news-channel-nav { margin-bottom: 26px; }
body.site-upgrade.portal-news-page .news-channel-nav > a { min-height: 92px; border-radius: 12px; }

/* Solutions: service chooser on one side, field context on the other. */
body.site-upgrade.coop-page-v4 .coop-hero {
  display: grid;
  grid-template-columns: minmax(0, 56%) minmax(0, 44%);
  grid-template-rows: auto;
  align-items: stretch;
  justify-items: stretch;
  gap: 0;
  min-height: 620px;
  padding: 0;
  background: var(--gw-solution-canvas);
}
body.site-upgrade.coop-page-v4 .coop-hero-image {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 620px;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body.site-upgrade.coop-page-v4 .coop-hero-image img { object-position: 54% center; }
body.site-upgrade.coop-page-v4 .coop-hero-content {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 34px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 64px clamp(32px, 5vw, 88px) 64px max(32px, calc((100vw - 1280px) / 2));
  text-align: left;
  color: var(--gw-solution-ink);
}
body.site-upgrade.coop-page-v4 .coop-hero-copy { width: 100%; max-width: 640px; }
body.site-upgrade.coop-page-v4 .coop-hero .coop-eyebrow { justify-content: flex-start; }
body.site-upgrade.coop-page-v4 .coop-main .coop-hero h1 {
  max-width: 680px;
  margin: 22px 0 0;
  font-size: clamp(43px, 4vw, 61px);
  line-height: 1.2;
  text-align: left;
}
body.site-upgrade.coop-page-v4 .coop-main .coop-hero-lead {
  max-width: 34em;
  margin: 22px 0 0;
  text-align: left;
}
body.site-upgrade.coop-page-v4 .coop-hero-actions { justify-content: flex-start; }
body.site-upgrade.coop-page-v4 .coop-hero-paths {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  max-width: 650px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}
body.site-upgrade.coop-page-v4 .coop-hero-paths > p { width: 100%; margin: 0 0 2px; color: var(--gw-solution-muted); }
body.site-upgrade.coop-page-v4 .coop-hero-paths a {
  flex: 1 1 145px;
  min-height: 80px;
  padding: 12px;
  border: 1px solid var(--gw-solution-line);
  border-radius: 10px;
  color: var(--gw-solution-link);
  background: var(--gw-white);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
body.site-upgrade.coop-page-v4 .coop-hero-paths a:hover,
body.site-upgrade.coop-page-v4 .coop-hero-paths a:focus-visible {
  padding: 12px;
  transform: translateY(-3px);
  border-color: var(--gw-solution-hover);
  box-shadow: 0 10px 24px var(--gw-card-shadow);
  background: var(--gw-white);
}
body.site-upgrade.coop-page-v4 .coop-hero-paths a small { color: var(--gw-solution-muted-2); }
body.site-upgrade.coop-page-v4 .coop-hero-paths a strong { font-size: 14px; }
body.site-upgrade.coop-page-v4 .coop-hero-paths a b { color: var(--gw-accent); font-size: 18px; }
body.site-upgrade.coop-page-v4 .coop-hero-foot { display: none; }

/* Contact: remove the decorative stage so real channels lead. */
body.site-upgrade.experience-contact .exp-hero {
  display: block;
  min-height: 0;
  padding: 52px 28px 34px;
  background: var(--gw-canvas);
}
body.site-upgrade.experience-contact .exp-hero-photo { display: none; }
body.site-upgrade.experience-contact .exp-hero-content {
  display: flex;
  align-items: flex-start;
  width: min(100%, 1280px);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  text-align: left;
}
body.site-upgrade.experience-contact .exp-hero-center {
  align-items: flex-start;
  width: min(100%, 840px);
  padding: 26px 0 0;
  text-align: left;
}
body.site-upgrade.experience-contact .exp-kicker { text-align: left; }
body.site-upgrade.experience-contact .exp-hero h1 {
  max-width: 880px;
  margin: 16px 0 0;
  font-size: clamp(42px, 4.5vw, 66px);
  line-height: 1.2;
  text-align: left;
}
body.site-upgrade.experience-contact .exp-hero .exp-lead {
  max-width: 42em;
  margin: 20px 0 0;
  text-align: left;
}
body.site-upgrade.experience-contact .exp-hero-center > .exp-actions,
body.site-upgrade.experience-contact .exp-actions {
  justify-content: flex-start;
  margin: 24px 0 0;
}
body.site-upgrade.experience-contact .contact-methods { padding-top: 20px; }

@media (max-width: 900px) {
  body.site-upgrade.resources-v3 .rs-home-hero,
  body.site-upgrade.portal-news-page .hemu-portal-masthead.is-news,
  html[data-theme="light"] body.site-upgrade.portal-news-page .hemu-portal-masthead.is-news { gap: 28px; }
  body.site-upgrade.coop-page-v4 .coop-hero { grid-template-columns: minmax(0, 58%) minmax(0, 42%); }
  body.site-upgrade.coop-page-v4 .coop-hero-paths { display: none; }
}

@media (max-width: 760px) {
  body.site-upgrade.about-experience-page .about-x-hero,
  body.site-upgrade.about-experience-page .about-x-hero-copy { min-height: min(690px, calc(100svh - 60px)); }
  body.site-upgrade.about-experience-page .about-x-hero-copy { width: calc(100% - 40px); padding: 74px 0 48px; }
  body.site-upgrade.about-experience-page .about-x-hero h1 { font-size: clamp(35px, 9.3vw, 52px); }
  body.site-upgrade.about-experience-page .about-x-hero-bottom p { font-size: 15px; }

  body.site-upgrade.resources-v3 .rs-home-hero,
  body.site-upgrade.portal-news-page .hemu-portal-masthead.is-news,
  html[data-theme="light"] body.site-upgrade.portal-news-page .hemu-portal-masthead.is-news {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 48px 20px 42px;
  }
  body.site-upgrade.resources-v3 .rs-home-hero .rs-hero-copy,
  body.site-upgrade.portal-news-page .masthead-grid { grid-column: 1; grid-row: 1; }
  body.site-upgrade.resources-v3 .rs-home-hero .rs-hero-photo,
  body.site-upgrade.portal-news-page .journal-hero-image {
    grid-column: 1;
    grid-row: 2;
    height: 220px;
    border-radius: 14px;
  }
  body.site-upgrade.resources-v3 .rs-home-hero h1,
  html body.site-upgrade.portal-news-page .hemu-portal-main .masthead-title h1 { font-size: clamp(35px, 9vw, 48px); }
  body.site-upgrade.resources-v3 .rs-home-hero .rs-hero-lead,
  body.site-upgrade.portal-news-page .masthead-intro { font-size: 15px; }
  body.site-upgrade.resources-v3 .rs-hero-actions { gap: 8px; }
  body.site-upgrade.resources-v3 .rs-home-hero .rs-hero-actions a { padding-inline: 16px; }
  body.site-upgrade.portal-news-page .portal-content { padding-top: 18px; }

  body.site-upgrade.coop-page-v4 .coop-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  body.site-upgrade.coop-page-v4 .coop-hero-content {
    grid-column: 1;
    grid-row: 1;
    padding: 50px 20px 44px;
  }
  body.site-upgrade.coop-page-v4 .coop-hero-image {
    grid-column: 1;
    grid-row: 2;
    height: 260px;
    min-height: 0;
  }
  body.site-upgrade.coop-page-v4 .coop-main .coop-hero h1 { font-size: clamp(36px, 9.5vw, 50px); }
  body.site-upgrade.coop-page-v4 .coop-main .coop-hero-lead { font-size: 15px; }
  body.site-upgrade.experience-contact .exp-hero { padding: 42px 20px 28px; }
  body.site-upgrade.experience-contact .exp-hero h1 { font-size: clamp(36px, 9.4vw, 50px); }
  body.site-upgrade.experience-contact .exp-hero .exp-lead { font-size: 15px; }
}

/* Preserve page-specific composition in dark mode. */
html[data-theme="dark"] body.site-upgrade.about-experience-page .about-x-hero { background: var(--gw-field-ink) !important; }
html[data-theme="dark"] body.site-upgrade.resources-v3 .rs-home-hero,
html[data-theme="dark"] body.site-upgrade.portal-news-page .hemu-portal-masthead.is-news,
html[data-theme="dark"] body.site-upgrade.coop-page-v4 .coop-hero,
html[data-theme="dark"] body.site-upgrade.experience-contact .exp-hero { background: var(--gw-dark-surface) !important; }
html[data-theme="dark"] body.site-upgrade.coop-page-v4 .coop-hero-paths a {
  color: var(--gw-white-dark);
  border-color: var(--gw-solution-dark-line);
  background: var(--gw-solution-dark-card);
}
html[data-theme="dark"] body.site-upgrade.coop-page-v4 .coop-hero-paths a small { color: var(--gw-solution-muted-dark); }
html[data-theme="dark"] body.site-upgrade.coop-page-v4 .coop-hero h1 em { color: var(--gw-accent-dark) !important; }
html[data-theme="dark"] body.site-upgrade.about-experience-page .about-x-flow {
  color: var(--gw-white);
  background: var(--gw-dark-strip);
  border-color: var(--gw-dark-strip);
}
html[data-theme="dark"] body.site-upgrade.experience-contact .contact-methods .contact-method {
  color: var(--gw-white-dark);
  background: var(--gw-contact-card-dark) !important;
  border-color: var(--gw-contact-line-dark) !important;
}
html[data-theme="dark"] body.site-upgrade.experience-contact .contact-methods .contact-method :is(strong,.contact-method-type,.contact-method-action) {
  color: var(--gw-white-dark);
}
html[data-theme="dark"] body.site-upgrade.experience-contact .contact-methods .contact-method .contact-method-icon {
  background: var(--gw-dark-strip);
}

@media (prefers-reduced-motion: reduce) {
  body.site-upgrade:is(.about-experience-page,.resources-v3,.portal-news-page,.coop-page-v4,.experience-contact) main > :first-child * {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* A common opening baseline keeps page identity while aligning the first reading point. */
body.site-upgrade:is(.about-experience-page,.resources-v3,.portal-news-page,.coop-page-v4,.experience-contact) {
  --gw-opening-space: clamp(46px, 4.5vw, 68px);
  --gw-search-line: #cfd9ee;
  --gw-search-shadow: rgb(40 54 92 / .08);
}
body.site-upgrade.about-experience-page .about-x-hero-copy {
  justify-content: flex-start;
  padding-top: var(--gw-opening-space);
}
body.site-upgrade.about-experience-page .about-x-hero h1 { max-width: 950px; margin-top: 20px; }
body.site-upgrade.about-experience-page .about-x-hero-bottom p { margin-top: 20px; }

body.site-upgrade.resources-v3 .rs-home-hero {
  align-items: start;
  min-height: 510px;
  padding-top: var(--gw-opening-space);
  padding-bottom: 48px;
}
body.site-upgrade.resources-v3 .rs-home-hero .rs-hero-copy { max-width: 670px; }
body.site-upgrade.resources-v3 .rs-home-hero h1 { margin-top: 17px; }
body.site-upgrade.resources-v3 .rs-home-hero .rs-hero-photo { height: 380px; }
body.site-upgrade.resources-v3 .rs-resource-search {
  display: grid;
  grid-template-columns: 24px minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  width: min(100%, 620px);
  min-height: 60px;
  margin-top: 27px;
  padding: 6px 7px 6px 19px;
  border: 1px solid var(--gw-search-line);
  border-radius: 13px;
  background: var(--gw-white);
  box-shadow: 0 14px 36px var(--gw-search-shadow);
}
body.site-upgrade.resources-v3 .rs-resource-search:focus-within { border-color: var(--gw-accent); box-shadow: 0 0 0 3px rgb(83 106 182 / .17); }
body.site-upgrade.resources-v3 .rs-resource-search > span { color: var(--gw-accent); font-size: 26px; line-height: 1; }
body.site-upgrade.resources-v3 .rs-resource-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--gw-field-ink);
  background: transparent;
  font: inherit;
  font-size: 15px;
}
body.site-upgrade.resources-v3 .rs-resource-search input::placeholder { color: #738096; }
body.site-upgrade.resources-v3 .rs-resource-search button {
  min-height: 46px;
  padding: 0 19px;
  border: 0;
  border-radius: 9px;
  color: var(--gw-white);
  background: var(--gw-accent);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
body.site-upgrade.resources-v3 .rs-resource-search button:hover { background: #425998; }
body.site-upgrade.resources-v3 .rs-resource-search button:focus-visible { outline: 3px solid #8aa1e6; outline-offset: 3px; }
body.site-upgrade.resources-v3 .rs-hero-actions { gap: 0; margin-top: 15px; }
body.site-upgrade.resources-v3 .rs-home-hero .rs-hero-actions a,
html body.site-upgrade.resources-v3 .rs-hero-actions a:not(.rs-primary) {
  min-height: 34px;
  padding: 5px 15px 5px 0;
  border: 0 !important;
  color: #435b9e !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
body.site-upgrade.resources-v3 .rs-hero-actions a:hover { text-decoration: underline; text-underline-offset: 4px; }

body.site-upgrade.portal-news-page .hemu-portal-masthead.is-news,
html[data-theme="light"] body.site-upgrade.portal-news-page .hemu-portal-masthead.is-news {
  align-items: start;
  padding-top: var(--gw-opening-space);
  padding-bottom: 35px;
}
body.site-upgrade.portal-news-page .journal-hero-image { height: 240px; }
body.site-upgrade.portal-news-page .masthead-grid { align-self: start; }
body.site-upgrade.coop-page-v4 .coop-hero-content {
  justify-content: flex-start;
  padding-top: var(--gw-opening-space);
}
body.site-upgrade.experience-contact .exp-hero { padding-top: calc(var(--gw-opening-space) - 31px); padding-bottom: 20px; }
body.site-upgrade.experience-contact .exp-hero-center { padding-top: 0; }
body.site-upgrade.experience-contact .contact-methods { padding-top: 12px; }

@media (max-width: 760px) {
  body.site-upgrade:is(.about-experience-page,.resources-v3,.portal-news-page,.coop-page-v4,.experience-contact) { --gw-opening-space: 38px; }
  body.site-upgrade.about-experience-page .about-x-hero-copy { padding-top: 45px; }
  body.site-upgrade.about-experience-page .about-x-hero h1 { margin-top: 17px; }
  body.site-upgrade.resources-v3 .rs-home-hero,
  body.site-upgrade.portal-news-page .hemu-portal-masthead.is-news,
  html[data-theme="light"] body.site-upgrade.portal-news-page .hemu-portal-masthead.is-news { min-height: 0; padding-top: 60px; }
  body.site-upgrade.resources-v3 .rs-home-hero,
  body.site-upgrade.portal-news-page .hemu-portal-masthead.is-news { padding-top: 60px; }
  body.site-upgrade.portal-news-page .hemu-portal-masthead.is-news,
  html[data-theme="light"] body.site-upgrade.portal-news-page .hemu-portal-masthead.is-news { padding-top: 55px !important; }
  body.site-upgrade.resources-v3 .rs-home-hero .rs-hero-photo { height: 195px; }
  body.site-upgrade.resources-v3 .rs-resource-search { min-height: 54px; margin-top: 22px; padding-left: 12px; }
  body.site-upgrade.resources-v3 .rs-resource-search button { min-height: 42px; padding-inline: 12px; }
  body.site-upgrade.resources-v3 .rs-hero-actions { justify-content: flex-start; flex-wrap: wrap; }
  body.site-upgrade.coop-page-v4 .coop-hero-content { padding-top: var(--gw-opening-space); }
  body.site-upgrade.experience-contact .exp-hero { padding-top: calc(var(--gw-opening-space) - 16px); }
}
html[data-theme="dark"] body.site-upgrade.resources-v3 .rs-resource-search {
  border-color: #4b5875;
  background: #26334b;
}
html[data-theme="dark"] body.site-upgrade.resources-v3 .rs-resource-search input { color: #eef2fa; }
html[data-theme="dark"] body.site-upgrade.resources-v3 .rs-resource-search input::placeholder { color: #b5c2dc; }
html[data-theme="dark"] body.site-upgrade.resources-v3 .rs-home-hero .rs-hero-actions a { color: #b9c9ff !important; }

/* Navigation and the main message must be readable on the first painted frame. */
body.site-upgrade.about-experience-page .about-x-hero :is(.about-x-kicker,h1,.about-x-hero-bottom,.about-x-hero-bottom p,.about-x-hero-actions),
body.site-upgrade.resources-v3 .rs-home-hero :is(.gateway-eyebrow,h1,.rs-hero-lead,.rs-resource-search,.rs-hero-actions),
body.site-upgrade.portal-news-page .hemu-portal-masthead :is(.portal-kicker,.masthead-title,h1,.masthead-intro,.masthead-date,.journal-hero-image),
body.site-upgrade.coop-page-v4 .coop-hero :is(.coop-eyebrow,h1,.coop-hero-lead,.coop-hero-actions,.coop-hero-paths),
body.site-upgrade.experience-contact .exp-hero :is(.exp-breadcrumb,.exp-kicker,h1,.exp-lead,.exp-actions) {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

/* Carry the contact page's public accent through its actual request form. */
body.site-upgrade.experience-contact.feedback-page { --cr-blue: #536ab6; }
body.site-upgrade.experience-contact .feedback-section-head > div > p,
body.site-upgrade.experience-contact .feedback-template-grid > button > :is(span,i) { color: var(--continuity-blue); }
body.site-upgrade.experience-contact .feedback-form-guide { background: #24344d; }
body.site-upgrade.experience-contact .feedback-form-guide-body > p:first-child,
body.site-upgrade.experience-contact .feedback-form-guide a > span { color: #c3d0fb; }
body.site-upgrade.experience-contact .feedback-form-guide a { color: #d5dff1; }
body.site-upgrade.experience-contact .feedback-form-guide a small { color: #b6c3d9; }
body.site-upgrade.experience-contact .feedback-fields :is(input,textarea,select):focus {
  border-color: #536ab6;
  box-shadow: 0 0 0 3px rgb(83 106 182 / .18);
}
body.site-upgrade.experience-contact .feedback-submit {
  border-color: #536ab6;
  border-radius: 9px;
  color: #fff;
  background: #536ab6;
}
body.site-upgrade.experience-contact .feedback-submit:hover { background: #425998; }

/* Keep the about story readable throughout a scroll, including the first
   frames before an IntersectionObserver callback runs. */
body.site-upgrade.about-experience-page main.about-x.about-v7-motion > :not(.about-x-hero) [data-about-reveal] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
