/* Hallmark · pre-emit critique: P4 H4 E4 S4 R3 V3 · studied-DNA: Mubu/Biji spacious editorial staging · macrostructure: statement → media stage → task modules. */
/* Public-page visual system. The homepage and method catalogue do not load this file. */
body.site-upgrade {
  min-width: 0;
  --upgrade-ink: #202640;
  --upgrade-blue: #385caa;
  --upgrade-violet: #7464bd;
  --upgrade-cyan: #65b9d6;
  --upgrade-glow: rgba(99, 112, 208, .16);
  --upgrade-ease: cubic-bezier(.2,.75,.22,1);
}
html[data-theme="light"] body.site-upgrade:not([data-page="home"]):not([data-page="method"]) .site-header.site-header.site-header .header-contact {
  color: #fff !important;
  background: #4d62ad !important;
  border-color: #5f68b7 !important;
  box-shadow: 0 8px 22px #5d66b329;
}
html[data-theme="light"] body.site-upgrade:not([data-page="home"]):not([data-page="method"]) .site-header.site-header.site-header .header-contact:hover {
  background: #3d539f !important;
  border-color: #445aa6 !important;
  transform: translateY(-2px);
}
html[data-theme] body.site-upgrade:not([data-page="home"]):not([data-page="method"]) .site-header.site-header.site-header .nav-primary::after,
html[data-theme] body.site-upgrade:not([data-page="home"]):not([data-page="method"]) .site-header.site-header.site-header .site-scroll-progress i {
  background: #6271bd !important;
}
body.site-upgrade .site-header .nav-primary,
body.site-upgrade .site-header .header-contact { transition: color .25s,background .3s,border-color .3s,box-shadow .3s,transform .3s; }
body.site-upgrade :is(a,button,summary,[role="tab"]):focus-visible { outline: 3px solid #7e8fe1; outline-offset: 4px; }
body.site-upgrade main :is(.coop-service-card,.rs-channel,.news-channel-nav a,.news-lead-feature,.journal-latest-card,.contact-method-card,.tool-task-card,.archive-release-card,.release-choice-card) {
  transition: transform .55s var(--upgrade-ease),box-shadow .55s var(--upgrade-ease),border-color .4s,background-color .4s;
}
@media (hover:hover) {
  body.site-upgrade main :is(.coop-service-card,.rs-channel,.news-channel-nav a,.news-lead-feature,.journal-latest-card,.contact-method-card,.archive-release-card,.release-choice-card):hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 48px #2d365c1c;
  }
  body.site-upgrade main :is(.coop-service-card,.rs-channel,.news-lead-feature) img { transition: transform .85s var(--upgrade-ease),filter .5s; }
  body.site-upgrade main :is(.coop-service-card,.rs-channel,.news-lead-feature):hover img { transform: scale(1.045); }
}
body.site-upgrade .site-footer { background-image: radial-gradient(ellipse at 10% 0%,#6772bb12,transparent 48%); }
body.site-upgrade .footer-backtop:hover { transform: translateY(-3px); }
body.site-upgrade main [data-upgrade-reveal] { opacity: 1; }
html.site-upgrade-ready body.site-upgrade main [data-upgrade-reveal].is-upgrade-visible { animation: upgrade-title-in .75s backwards var(--upgrade-ease); }
/* Existing portal observers used hidden sections, which left long blank areas in full-page captures. */
body.site-upgrade.portal-motion-ready main [data-portal-reveal] { opacity: 1; transform: none; }
html.site-upgrade-ready body.site-upgrade main > :first-child h1 { animation: upgrade-title-in .65s .04s backwards var(--upgrade-ease); }
html.site-upgrade-ready body.site-upgrade main > :first-child :is(img,picture):not(.tools-feature-window img) { animation: upgrade-image-in 1.1s .08s backwards var(--upgrade-ease); }
@keyframes upgrade-title-in { from { opacity: .65; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes upgrade-image-in { from { opacity: .45; } to { opacity: 1; } }

/* Portal landing pages: larger editorial rhythm and a shared blue-violet accent. */
html[data-theme="light"] body.site-upgrade:is(.portal-news-page,.portal-tools-page) .hemu-portal-main { background: #f9faff; }
html[data-theme="light"] body.site-upgrade.portal-news-page .hemu-portal-masthead.is-news {
  background-color: #e9eeff;
  background-image: radial-gradient(circle at 14% 28%,#e7e0ff 0,transparent 35%),radial-gradient(circle at 78% 85%,#bcecf280 0,transparent 35%);
}
body.site-upgrade.portal-news-page .portal-kicker { color: #4b69b5; }
body.site-upgrade.portal-news-page .news-channel-nav { gap: 10px; }
body.site-upgrade.portal-news-page .news-channel-nav a { border: 1px solid #e0e5f2; border-radius: 16px; background: #fff; box-shadow: 0 12px 32px #263b8110; }
body.site-upgrade.portal-news-page .news-channel-nav a:hover { border-color: #91a4e7; background: #f3f5ff; }
body.site-upgrade.portal-news-page .news-lead-feature { border-radius: 22px; overflow: hidden; }
html[data-theme="light"] body.site-upgrade.portal-news-page :is(.portal-kicker,.portal-kicker > span,.masthead-date,.masthead-date strong,.portal-accent-label,.news-lead-copy h2,.news-lead-copy h2 a,.journal-read-action,.journal-latest-grid h3,.journal-latest-grid h2) { color: #435ba8 !important; }
html[data-theme="light"] body.site-upgrade.portal-news-page .journal-read-action { background: #eef1ff !important; }
html body.site-upgrade.portal-news-page .news-weekly-card { border-top-color: #7586cb !important; }
html body.site-upgrade.portal-news-page .journal-latest-grid > :first-child { background: #f0f2fd; }

/* A functional preview stage for the tools page. */
html[data-theme="light"] body.site-upgrade.portal-tools-page .hemu-portal-masthead.is-tools {
  background: radial-gradient(circle at 23% 14%,#e9e6ff 0,transparent 37%),radial-gradient(circle at 85% 76%,#c3eaf377 0,transparent 33%),#f8faff !important;
  border-bottom: 1px solid #dde4f3;
}
html[data-theme="light"] body.site-upgrade.portal-tools-page .hemu-portal-masthead.is-tools::before { opacity: 0; }
body.site-upgrade.portal-tools-page .tools-feature { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: center; gap: clamp(36px,5vw,92px); min-height: 630px; padding-block: 76px 84px; }
body.site-upgrade.portal-tools-page .tools-feature-copy { min-width: 0; }
body.site-upgrade.portal-tools-page .tools-feature .portal-kicker { margin: 0 0 18px; color: #5268b6; font-size: 11px; font-weight: 750; letter-spacing: .08em; }
html body.site-upgrade.portal-tools-page .hemu-portal-main .tools-feature h1 { margin: 0; color: #1e2848; font-size: clamp(45px,4vw,64px); font-weight: 700; line-height: 1.12; letter-spacing: -.065em; }
body.site-upgrade.portal-tools-page .tools-feature h1 em { font-style: normal; background: linear-gradient(105deg,#3660ab,#7761bf 74%,#5aabc6); color: transparent; -webkit-background-clip: text; background-clip: text; }
body.site-upgrade.portal-tools-page .tools-feature-lead { max-width: 34em; margin: 26px 0 0; color: #626b82; font-size: clamp(16px,1.3vw,19px); line-height: 1.85; }
body.site-upgrade.portal-tools-page .tools-feature-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 17px; margin-top: 28px; color: #7b8294; font-size: 12px; }
body.site-upgrade.portal-tools-page .tools-feature-primary { display: inline-flex; align-items: center; gap: 28px; min-height: 49px; padding: 0 20px; color: white; background: linear-gradient(105deg,#375fb0,#7664bd); border-radius: 10px; text-decoration: none; font-size: 14px; font-weight: 700; box-shadow: 0 14px 28px #525fac3b; transition: transform .3s,box-shadow .3s; }
body.site-upgrade.portal-tools-page .tools-feature-primary:hover { transform: translateY(-3px); box-shadow: 0 19px 34px #525fac4c; }
body.site-upgrade.portal-tools-page .tools-feature-tabs { display: flex; flex-wrap: wrap; gap: 6px; width: fit-content; max-width: 100%; margin-top: 48px; padding: 5px; border: 1px solid #dce3f4; border-radius: 999px; background: #fff9; box-shadow: 0 12px 28px #435b9020; }
body.site-upgrade.portal-tools-page .tools-feature-tabs button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: #66718d; font: inherit; font-size: 12px; font-weight: 680; cursor: pointer; transition: color .25s,background .25s,box-shadow .25s,transform .25s; }
body.site-upgrade.portal-tools-page .tools-feature-tabs button:hover { color: #2c4e98; }
body.site-upgrade.portal-tools-page .tools-feature-tabs button[aria-selected="true"] { color: #fff; background: linear-gradient(105deg,#395eac,#7765bf); box-shadow: 0 5px 12px #505faf44; }
body.site-upgrade.portal-tools-page .tools-feature-stage { min-width: 0; filter: drop-shadow(0 40px 55px #303c7450); transform: perspective(1300px) rotateY(-5deg) rotateX(3deg); transition: transform .8s var(--upgrade-ease); }
body.site-upgrade.portal-tools-page .tools-feature-stage:hover { transform: perspective(1300px) rotateY(0) rotateX(0); }
body.site-upgrade.portal-tools-page .tools-feature-window { overflow: hidden; border: 1px solid #495272; border-radius: 19px; background: #101b2b; box-shadow: 0 0 0 9px #ffffff80,0 34px 55px #25366b33; }
body.site-upgrade.portal-tools-page .tools-feature-window a { display: block; overflow: hidden; aspect-ratio: 890 / 420; }
body.site-upgrade.portal-tools-page .tools-feature-window img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .28s,transform .65s var(--upgrade-ease); }
body.site-upgrade.portal-tools-page .tools-feature-window a:hover img { transform: scale(1.025); }
body.site-upgrade.portal-tools-page .tools-feature-window img.is-switching { opacity: .2; transform: scale(1.025); }
body.site-upgrade.portal-tools-page .tools-feature-stage-foot { display: flex; justify-content: space-between; margin-top: 23px; color: #4e5a7a; font-size: 12px; letter-spacing: .08em; }
html[data-theme="light"] body.site-upgrade.portal-tools-page .portal-content.hemu-portal-shell { padding-block: 88px 100px; }
body.site-upgrade.portal-tools-page .tool-task-head { margin-bottom: 30px; }
body.site-upgrade.portal-tools-page .tool-task-head h2 { font-size: clamp(32px,3vw,46px); }
body.site-upgrade.portal-tools-page .tool-task-card { min-height: 330px; border-radius: 22px; }
body.site-upgrade.portal-tools-page .tool-task-card:first-child { background: #263958; border-color: #263958; }
body.site-upgrade.portal-tools-page .tool-task-card:first-child::after { background: linear-gradient(90deg,#263958 0%,#263958f0 44%,#26395844 100%); }
body.site-upgrade.portal-tools-page .tool-task-card:is(:hover,:focus-visible) { border-color: #7d87d0; box-shadow: 0 22px 50px #354a8129; }
body.site-upgrade.portal-tools-page .tool-task-card:is(:hover,:focus-visible) .tool-task-action b { background: #6172c8; }
body.site-upgrade.portal-tools-page .tool-task-index,
body.site-upgrade.portal-tools-page .tool-task-action,
body.site-upgrade.portal-tools-page .tool-task-secondary b { color: #5b6ebc; }
body.site-upgrade.portal-tools-page .tool-task-card:first-child :is(.tool-task-index,.tool-task-action) { color: #b7c8ff; }
body.site-upgrade.portal-tools-page .tool-task-secondary { margin-top: 24px; border: 0; gap: 12px; }
body.site-upgrade.portal-tools-page .tool-task-secondary a { border: 1px solid #dce3f1; border-radius: 15px; background: #fff; }
body.site-upgrade.portal-tools-page .tool-task-secondary a + a { border-left: 1px solid #dce3f1; }
body.site-upgrade.portal-tools-page .tool-task-secondary a:hover { border-color: #9ba9df; background: #f3f5ff; }

/* Resource, service and secondary sections use the same restrained accent. */
html[data-theme="light"] body.site-upgrade .rs-home { background: #fafbff; }
html[data-theme="light"] body.site-upgrade .rs-home-hero .rs-hero-shade { background: linear-gradient(90deg,#f8faff 0%,#f8faffed 39%,#f8faff00 78%); }
html[data-theme="light"] body.site-upgrade .rs-home-hero h1 { color: #222944; }
body.site-upgrade .rs-home-hero .rs-primary,
body.site-upgrade .coop-button.is-primary,
body.site-upgrade .exp-hero a.exp-primary { background: linear-gradient(110deg,#3e61ad,#7761ba); border-color: #6171bb; box-shadow: 0 13px 27px #4a5ca333; }
body.site-upgrade .rs-channel { overflow: hidden; border-radius: 20px; box-shadow: 0 15px 44px #283c6810; }
body.site-upgrade .rs-channel:is(:hover,:focus-visible) { border-color: #8ba6df; }
html body.site-upgrade .rs-hero-actions .rs-primary { background: linear-gradient(110deg,#3e61ad,#7761ba) !important; border-color: #6372bd !important; color: #fff !important; }
html body.site-upgrade .rs-hero-actions a:not(.rs-primary) { color: #3d56a0 !important; border-color: #a6b4de !important; }
html body.site-upgrade .rs-channel-index { background: #5066b2 !important; }
html body.site-upgrade .rs-channel-copy small,
html body.site-upgrade .rs-channel-copy h3 span { color: #5269b8 !important; }
body.site-upgrade .coop-service-card { overflow: hidden; border-radius: 20px; box-shadow: 0 13px 35px #2c3d6611; }
body.site-upgrade .coop-service-card:is(:hover,:focus-visible) { border-color: #869bd9; }
body.site-upgrade .coop-section-intro em,
body.site-upgrade .coop-hero h1 em { color: #5e67b2; }
body.site-upgrade .coop-fit-nav button[aria-selected="true"] { border-color: #7b88cf; color: #394d9c; }
body.site-upgrade.coop-page-v4 .coop-fit-nav button { background: #27364d; color: #ecf0ff; }
body.site-upgrade.coop-page-v4 .coop-fit-nav button:is(:hover,:focus-visible) { background: #40557c; color: #fff; }
body.site-upgrade.coop-page-v4 .coop-fit-nav button[aria-selected="true"] { background: #bdcaff; color: #202b4b; }
body.site-upgrade.coop-page-v4 .coop-fit-nav button[aria-selected="true"] img { filter: none; }
html body.site-upgrade.coop-page-v4 :is(.coop-eyebrow,.coop-service-link,.coop-text-link) { color: #5265b3 !important; }
html body.site-upgrade .coop-hero .coop-button.is-primary,
html body.site-upgrade .coop-example-actions .coop-button.is-primary,
html body.site-upgrade .coop-contact-band .coop-button.is-primary { background: linear-gradient(110deg,#3e61ad,#7761ba) !important; border-color: #6672bd !important; color: #fff !important; }
html body.site-upgrade .coop-fit .coop-section-intro em { color: #b8c3ff !important; }
html body.site-upgrade .coop-section-nav a:is(:hover,.is-active,[aria-current="true"]) { color: #5265b3 !important; }
body.site-upgrade .coop-process-track li { transition: background .35s,transform .35s,box-shadow .35s; }
body.site-upgrade .coop-process-track li:hover { background: #f4f5ff; transform: translateY(-4px); box-shadow: 0 16px 32px #354b7d12; }
body.site-upgrade .about-x :is(.about-x-work,.about-x-contact) a:hover { transform: translateY(-3px); }
html body.site-upgrade .about-x section:not(.about-x-people) .about-x-label { color: #5266b4 !important; }
html body.site-upgrade .about-x .about-x-hero-actions a:first-child { background: linear-gradient(110deg,#3e61ad,#7761ba) !important; border-color: #6672bd !important; }
html body.site-upgrade .exp-hero .exp-kicker,
html body.site-upgrade .exp-hero h1 em { color: #5a69b7 !important; }
html body.site-upgrade .service-hero.exp-hero :is(.exp-kicker,h1 em) { color: #b5c3ff !important; }
html body.site-upgrade .service-hero.exp-hero .exp-primary,
html body.site-upgrade.feedback-page .exp-hero .exp-primary { color: #fff !important; }
html body.site-upgrade .service-hero.exp-hero .exp-primary img { filter: brightness(0) invert(1); }
html body.site-upgrade.feedback-page .exp-hero .exp-secondary { color: #4e62ae !important; }
html[data-theme="light"] body.site-upgrade.feedback-page { --cr-rust: #586ab8; --cr-blue: #4b5eae; }
html[data-theme="light"] body.site-upgrade.experience-contact .contact-method { --channel-mark: #5b6dbc; }
html[data-theme="light"] body.site-upgrade.experience-contact .contact-method-icon { background: #ebedfa; }
html[data-theme="light"] body.site-upgrade.experience-contact :is(.exp-kicker,.contact-methods-eyebrow,.feedback-eyebrow) { color: #5669b7 !important; }
html body.site-upgrade .contact-methods :is(.contact-methods-eyebrow,.contact-methods h2 span) { color: #5a69b7 !important; }
html body.site-upgrade .contact-methods a:is(:hover,:focus-visible) { border-color: #8e9ed8 !important; }
html body.site-upgrade .feedback-template-grid button[aria-pressed="true"] { border-color: #6d83c9 !important; background: #f0f4ff !important; }
body.site-upgrade .feedback-template-section [role="button"],
body.site-upgrade .contact-methods a { transition: transform .35s,box-shadow .35s,border-color .35s; }
body.site-upgrade .feedback-template-section [role="button"]:hover,
body.site-upgrade .contact-methods a:hover { transform: translateY(-4px); box-shadow: 0 17px 36px #354b7d19; }

@media (max-width: 1000px) {
  body.site-upgrade.portal-tools-page .tools-feature { grid-template-columns: 1fr; gap: 48px; min-height: 0; padding-block: 62px 76px; }
  body.site-upgrade.portal-tools-page .tools-feature-stage { width: min(100%,760px); margin-inline: auto; transform: none; }
  body.site-upgrade.portal-tools-page .tools-feature-tabs { margin-top: 32px; }
}
html[data-theme="dark"] body.site-upgrade:not([data-page="home"]):not([data-page="method"]) .site-header.site-header.site-header .header-contact {
  color: #fff !important; background: linear-gradient(110deg,#4b69bd,#7666c0) !important; border-color: #7581cd !important;
}
html[data-theme="dark"] body.site-upgrade.portal-tools-page .hemu-portal-masthead.is-tools {
  background: radial-gradient(circle at 18% 15%,#354175 0,transparent 42%),radial-gradient(circle at 90% 90%,#23546980 0,transparent 38%),#20263b !important;
  border-color: #4b5574;
}
html[data-theme="dark"] body.site-upgrade.portal-tools-page .tools-feature h1 { color: #f7f8ff !important; }
html[data-theme="dark"] body.site-upgrade.portal-tools-page .tools-feature h1 em { background-image: linear-gradient(105deg,#a5c9ff,#c3abfa 75%,#8dd4e9); }
html[data-theme="dark"] body.site-upgrade.portal-tools-page :is(.tools-feature-lead,.tools-feature-actions,.tools-feature-stage-foot) { color: #c4cee6; }
html[data-theme="dark"] body.site-upgrade.portal-tools-page .tools-feature .portal-kicker { color: #aec0fb; }
html[data-theme="dark"] body.site-upgrade.portal-tools-page .tools-feature-tabs { background: #2b3351; border-color: #56628d; }
html[data-theme="dark"] body.site-upgrade.portal-tools-page .tools-feature-tabs button { color: #c9d3ec; }
html[data-theme="dark"] body.site-upgrade.portal-tools-page .tools-feature-tabs button[aria-selected="true"] { color: #fff; }
html[data-theme="dark"] body.site-upgrade.portal-tools-page .tools-feature-window { box-shadow: 0 0 0 9px #5d668899,0 34px 55px #11192d88; }
html[data-theme="dark"] body.site-upgrade.portal-tools-page .tool-task-card:first-child { background: #243653; border-color: #52648b; }
html[data-theme="dark"] body.site-upgrade.portal-tools-page .tool-task-card:first-child::after { background: linear-gradient(90deg,#243653 0%,#243653ee 44%,#24365344 100%); }
html[data-theme="dark"] body.site-upgrade.portal-tools-page .tool-task-secondary a { background: #343847; border-color: #58647f; }
html[data-theme="dark"] body.site-upgrade.portal-tools-page .tool-task-secondary a + a { border-left-color: #58647f; }
html[data-theme="dark"] body.site-upgrade.portal-news-page .news-channel-nav a { background: #35394b; border-color: #59627d; color: #f3f5ff; box-shadow: 0 12px 32px #10172833; }
html[data-theme="dark"] body.site-upgrade.portal-news-page .news-channel-nav a:is(:hover,:focus-visible) { background: #424b68; border-color: #8da0d5; }
html[data-theme="dark"] body.site-upgrade.portal-news-page .news-channel-nav :is(strong,small,.journal-channel-count) { color: #e3eaff !important; }
html[data-theme="dark"] body.site-upgrade.portal-news-page :is(.portal-kicker,.portal-kicker > span,.masthead-date,.masthead-date strong,.portal-accent-label,.news-lead-copy h2,.news-lead-copy h2 a,.journal-read-action,.journal-latest-grid h3,.journal-latest-grid h2) { color: #b7c8ff !important; }
html[data-theme="dark"] body.site-upgrade.portal-news-page .journal-read-action { background: #354364 !important; }
html[data-theme="dark"] body.site-upgrade.portal-news-page .journal-latest-grid > :first-child { background: #31384b; }
html[data-theme="dark"] body.site-upgrade .rs-home-hero .rs-hero-shade { background: linear-gradient(90deg,#171f31 0%,#171f31e8 38%,transparent 78%); }
html[data-theme="dark"] body.site-upgrade .rs-home-hero h1 { color: #f5f7ff; }
html[data-theme="dark"] body.site-upgrade .rs-hero-actions a:not(.rs-primary) { color: #d0dcff !important; border-color: #8999c5 !important; background: #283551cc; }
html[data-theme="dark"] body.site-upgrade .rs-channel-copy :is(small,h3 span) { color: #b7c7ff !important; }
html[data-theme="dark"] body.site-upgrade .rs-section-heading p { color: #b9bfd2; }
html[data-theme="dark"] body.site-upgrade .coop-fit .coop-section-intro em { color: #b8c3ff !important; }
html[data-theme="dark"] body.site-upgrade .about-x section:not(.about-x-people) .about-x-label,
html[data-theme="dark"] body.site-upgrade .exp-hero h1 em { color: #b2bfff !important; }
html[data-theme="dark"] body.site-upgrade.feedback-page .exp-hero .exp-secondary { color: #c6d3ff !important; }
html[data-theme="dark"] body.site-upgrade.feedback-page .exp-hero .exp-secondary img { filter: brightness(0) invert(1); }
html[data-theme="dark"] body.site-upgrade.experience-contact :is(.exp-breadcrumb,.contact-methods-eyebrow,.contact-methods-head h2 > span) { color: #b8c8ff !important; }
html[data-theme="dark"] body.site-upgrade.feedback-page .feedback-template-grid button[aria-pressed="true"] { color: #f0f3ff !important; background: #303c5b !important; border-color: #8194d2 !important; }
html[data-theme="dark"] body.site-upgrade.feedback-page .feedback-template-grid button :is(span,i),
html[data-theme="dark"] body.site-upgrade.feedback-page .feedback-form-heading p { color: #b9c9ff !important; }
@media (max-width: 700px) {
  body.site-upgrade.portal-tools-page .tools-feature { width: min(calc(100% - 36px),600px); padding-block: 48px 64px; gap: 38px; }
  html body.site-upgrade.portal-tools-page .hemu-portal-main .tools-feature h1 { font-size: clamp(39px,10vw,58px); }
  body.site-upgrade.portal-tools-page .tools-feature-lead { font-size: 15px; }
  body.site-upgrade.portal-tools-page .tools-feature-tabs { width: 100%; justify-content: space-between; }
  body.site-upgrade.portal-tools-page .tools-feature-tabs button { flex: 1; padding-inline: 8px; }
  body.site-upgrade.portal-tools-page .tools-feature-stage-foot { margin-top: 16px; }
  html[data-theme="light"] body.site-upgrade.portal-tools-page .portal-content.hemu-portal-shell { padding-block: 56px 66px; }
  body.site-upgrade.portal-tools-page .tool-task-primary { grid-template-columns: 1fr; }
  body.site-upgrade.portal-tools-page .tool-task-card { min-height: 182px; }
  body.site-upgrade.portal-tools-page .tool-task-secondary { grid-template-columns: 1fr; }
  body.site-upgrade.portal-tools-page .tool-task-secondary a + a { border-left: 1px solid #dce3f1; }
  body.site-upgrade.portal-news-page .news-channel-nav { gap: 8px; }
  html[data-theme="dark"] body.site-upgrade .rs-home-hero .rs-hero-shade { display: block; background: linear-gradient(90deg,#171f31 0%,#171f31ee 58%,#171f3199 100%); }
  body.site-upgrade .rs-channel-copy small { font-size: 11px; }
  body.site-upgrade .rs-channel-copy p { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html.site-upgrade-ready body.site-upgrade main > :first-child :is(h1,img,picture) { animation: none; }
  html.site-upgrade-ready body.site-upgrade main [data-upgrade-reveal],
  html.site-upgrade-ready body.site-upgrade main [data-upgrade-reveal].is-upgrade-visible { opacity: 1; transform: none; animation: none; }
  body.site-upgrade :is(a,button,li,img,.tools-feature-stage) { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Dense discovery pages keep their own layouts, with the public site's blue-violet palette. */
html[data-theme="light"] body.site-upgrade[data-page="standards"] {
  --search-paper: #fafbff;
  --search-panel: #fff;
  --search-soft: #f1f3fc;
  --search-soft-green: #eef1ff;
  --search-line: #e0e5f1;
  --search-line-strong: #bec8df;
  --search-ink: #202943;
  --search-text: #45516c;
  --search-muted: #68748c;
  --search-green: #5165b2;
  --search-green-hover: #3d51a0;
  --search-accent: #7567b8;
}
html[data-theme="light"] body.site-upgrade[data-page="standards"] .standards-search button {
  color: #fff !important;
  border-color: #6171bb !important;
  background: linear-gradient(110deg,#4866b7,#7864bd) !important;
}
html[data-theme="light"] body.site-upgrade[data-page="standards"] .standards-search button:hover {
  color: #fff !important;
  border-color: #5365aa !important;
  background: linear-gradient(110deg,#3755a5,#6652ae) !important;
}
html[data-theme="dark"] body.site-upgrade[data-page="standards"] {
  --search-soft-green: #303a59;
  --search-green: #b6c6ff;
  --search-green-hover: #cfdaff;
  --search-accent: #ab9ce8;
}
html[data-theme="dark"] body.site-upgrade[data-page="standards"] .standards-search button {
  color: #fff !important;
  border-color: #6879c7 !important;
  background: linear-gradient(110deg,#4d69b9,#7864b9) !important;
}
html[data-theme="dark"] body.site-upgrade[data-page="standards"] .standards-search button:hover {
  color: #fff !important;
  border-color: #8a9bdd !important;
  background: linear-gradient(110deg,#607dca,#8975c9) !important;
}
html[data-theme="dark"] body.site-upgrade[data-page="standards"] .standards-search input::placeholder { color: #b7c2d9; }
@media (max-width: 640px) {
  html[data-theme="dark"] body.site-upgrade[data-page="standards"] .standards-category-tabs button[aria-pressed="true"] {
    color: #fff;
    border-color: #7285cb;
    background: #6074bc;
  }
}

html[data-theme="light"] body.site-upgrade.resources-v3.academic-index-page {
  --rs-paper: #fafbff;
  --rs-ink: #222b46;
  --rs-muted: #66718a;
  --rs-green: #5266b4;
  --rs-lime: #edf0ff;
  --rs-line: #e0e5f1;
  --ax-cobalt: #5266b4;
  --ax-cobalt-deep: #3e52a3;
  --ax-copper: #7564ba;
  --ax-violet: #7564ba;
  --ax-mint: #5266b4;
  --ax-ink: #222b46;
  --ax-copy: #66718a;
  --ax-line: #e0e5f1;
  background: #fafbff;
}
html[data-theme="light"] body.site-upgrade.resources-v3.academic-index-page .resource-flow-screen { background: #fafbff; }
html[data-theme="light"] body.site-upgrade.resources-v3.academic-index-page .ad-index-heading,
html[data-theme="light"] body.site-upgrade.resources-v3.academic-index-page .ad-literature-head { background: #f0f2fc; border-color: #e0e5f1; }
html[data-theme="light"] body.site-upgrade.resources-v3.academic-index-page .ad-index-heading .ad-index-eyebrow,
html[data-theme="light"] body.site-upgrade.resources-v3.academic-index-page .ad-mode-tabs button[aria-pressed="true"] { color: #485faf; }
html[data-theme="light"] body.site-upgrade.resources-v3.academic-index-page .ad-mode-tabs button[aria-pressed="true"] { border-bottom-color: #6877c5; }
html[data-theme="light"] body.site-upgrade.resources-v3.academic-index-page .ad-mode-tabs button:is(:hover,:focus-visible) { color: #485faf; background: #eef1ff; }
html[data-theme="light"] body.site-upgrade.resources-v3.academic-index-page .ad-editorial-search { border-color: #c3cce2; }
html[data-theme="light"] body.site-upgrade.resources-v3.academic-index-page .ad-editorial-search button[type="submit"] { background: linear-gradient(110deg,#4967b7,#7865bd); }
html[data-theme="light"] body.site-upgrade.resources-v3.academic-index-page .ad-editorial-search button[type="submit"]:hover { background: linear-gradient(110deg,#3855a4,#6652ae); }
html[data-theme="light"] body.site-upgrade.resources-v3.academic-index-page [data-ap-total] { color: #6478bd; }
html[data-theme="dark"] body.site-upgrade.resources-v3.academic-index-page {
  --rs-green: #b8c8ff;
  --ax-cobalt: #b8c8ff;
  --ax-cobalt-deep: #9fb3f4;
  --ax-copper: #c3b4fa;
  --ax-mint: #b8c8ff;
}
html[data-theme="dark"] body.site-upgrade.resources-v3.academic-index-page .ad-index-heading .ad-index-eyebrow,
html[data-theme="dark"] body.site-upgrade.resources-v3.academic-index-page .ad-mode-tabs button[aria-pressed="true"] { color: #bccaff; }
html[data-theme="dark"] body.site-upgrade.resources-v3.academic-index-page .ad-mode-tabs button[aria-pressed="true"] { border-bottom-color: #a6b8fb; }
html[data-theme="dark"] body.site-upgrade.resources-v3.academic-index-page .ad-editorial-search button[type="submit"] { background: linear-gradient(110deg,#506dc3,#7965bd); }
html[data-theme="dark"] body.site-upgrade.resources-v3.academic-index-page .ad-editorial-search input::placeholder { color: #b7c2d9; }

html[data-theme="light"] body.site-upgrade.news-channel-page {
  --nc-ink: #23304a;
  --nc-muted: #64718a;
  --nc-paper: #fff;
  --nc-bg: #f8faff;
  --nc-line: #e0e6f1;
  --nc-green: #5065b1;
  --nc-lime: #d7dcff;
}
html[data-theme="light"] body.site-upgrade.news-channel-page #main .nc-hero { background: #edf0ff; }
html[data-theme="light"] body.site-upgrade.news-channel-page #main .nc-hero::after {
  background: linear-gradient(90deg,#edf0fff8 0%,#edf0fff2 34%,#edf0ffbc 58%,transparent 88%);
}
html[data-theme="light"] body.site-upgrade.news-channel-page #main .nc-hero h1 { color: #23304a; }
html[data-theme="light"] body.site-upgrade.news-channel-page #main :is(.nc-hero-kicker,.op-hero-facts b,.conference-hero-summary strong) { color: #4a62ae; }
html[data-theme="light"] body.site-upgrade.news-channel-page #main :is(.nc-hero-lead,.op-hero-facts,.nc-op-scope,.conference-hero-summary,.rp-hero-monitor strong) { color: #53617e; }
html[data-theme="light"] body.site-upgrade.news-channel-page #main .conference-region-switch { background: #eef1fb; }
html[data-theme="light"] body.site-upgrade.news-channel-page #main .conference-region-switch button.is-active { background: #5369b8; box-shadow: 0 7px 16px #4056a72c; }
html[data-theme="light"] body.site-upgrade.news-channel-page #main .conference-search { background: #f8faff; border-color: #dce3f2; }
html[data-theme="light"] body.site-upgrade.news-channel-page #main .nc-conference-date { background: #eef1fc; }
html[data-theme="dark"] body.site-upgrade.news-channel-page { --nc-green: #b9caff; --nc-lime: #b9caff; }
html[data-theme="dark"] body.site-upgrade.news-channel-page .nc-channel-nav { background: #202a3c; border-bottom-color: #455370; }
html[data-theme="dark"] body.site-upgrade.news-channel-page #main .conference-command { color: #e9edff; background: #273149; border-color: #485678; }
html[data-theme="dark"] body.site-upgrade.news-channel-page #main .conference-region-switch { background: #202a40; }
html[data-theme="dark"] body.site-upgrade.news-channel-page #main .conference-region-switch button { color: #c7d0e8; background: transparent; }
html[data-theme="dark"] body.site-upgrade.news-channel-page #main .conference-region-switch button.is-active { color: #fff; background: #6178c5; }
html[data-theme="dark"] body.site-upgrade.news-channel-page #main .conference-search,
html[data-theme="dark"] body.site-upgrade.news-channel-page #main .conference-source-select select { color: #e6ebff; background: #202a40; border-color: #536181; }
html[data-theme="dark"] body.site-upgrade.news-channel-page #main .conference-search input { color: #e6ebff; background: transparent; }
html[data-theme="dark"] body.site-upgrade.news-channel-page #main .conference-search input::placeholder { color: #b2bed9; }
html[data-theme="dark"] body.site-upgrade.news-channel-page #main .conference-search input,
html[data-theme="dark"] body.site-upgrade.news-channel-page #main .conference-source-select select { background: #202a40 !important; }
html[data-theme="dark"] body.site-upgrade.news-channel-page #main .conference-search:focus-within { border-color: #91a6e7; box-shadow: 0 0 0 3px #738bd333; }
@media (max-width: 760px) {
  html[data-theme="light"] body.site-upgrade.news-channel-page #main .nc-hero::after {
    background: linear-gradient(90deg,#edf0fffa,#edf0fff0 44%,#edf0ffbf);
  }
}

/* Final pass: keep empty states, playback control, and archive artwork readable. */
html[data-theme="light"] body.site-upgrade.portal-news-page .news-lead-copy h2 [data-nh-focus-title] { color: #435ba8 !important; }
html[data-theme="light"] body.site-upgrade.portal-news-page .news-weekly-card .portal-live-row strong { color: #435ba8 !important; }
html[data-theme="dark"] body.site-upgrade.portal-news-page .news-weekly-card .portal-live-row strong { color: #c5d2ff !important; }
body.site-upgrade.portal-news-page .news-weekly-card .portal-list-empty {
  display: flex;
  align-items: center;
  min-height: 84px;
  color: #596681;
  font-size: 14px;
  line-height: 1.6;
}
html[data-theme="dark"] body.site-upgrade.portal-news-page .news-weekly-card .portal-list-empty { color: #c6d0e8; }
html[data-theme="light"] body.site-upgrade.about-experience-page .about-x .about-film-toggle {
  color: #fff;
  background: #334d9b;
  border-color: #334d9b;
  box-shadow: 0 8px 22px #354d902b;
}
html[data-theme="dark"] body.site-upgrade.about-experience-page .about-x .about-film-toggle {
  color: #fff;
  background: #5269b6;
  border-color: #8a9bd1;
}
body.site-upgrade .standard-record-hero-media { background: #e6ecfc; }
body.site-upgrade .standard-record-hero-media > img { object-fit: cover; object-position: center; }
html[data-theme="light"] body.site-upgrade.missing-page .missing-main {
  background: radial-gradient(circle at 72% 24%,#e6e3ff 0,transparent 36%),radial-gradient(circle at 18% 83%,#dbf0f5 0,transparent 35%),#f9faff;
}
body.site-upgrade.missing-page .missing-layout .about-section-index { color: #566ab5; }
body.site-upgrade.missing-page .missing-layout h1 { color: #242d4e; }
body.site-upgrade.missing-page .missing-layout nav .about-button { color: #3d56a6; border-color: #8799d1; background: #fff9; }
body.site-upgrade.missing-page .missing-layout nav .about-button:is(:hover,:focus-visible) { color: #fff; border-color: #566cb9; background: #566cb9; }
html[data-theme="dark"] body.site-upgrade.missing-page .missing-layout h1 { color: #f1f3ff; }
html[data-theme] body.site-upgrade .site-footer :is(.footer-observatory-head p,.footer-observatory-total output,.footer-observatory-today dd) { color: #596bb6; }
html[data-theme] body.site-upgrade .site-footer .footer-observatory-trend li i { background: linear-gradient(180deg,#91c4e3,#756dc1); }
html[data-theme] body.site-upgrade .site-footer :is(.footer-brand-meta dd i,.footer-observatory-trend-head small i) { background: #6f83c2; }
html[data-theme="dark"] body.site-upgrade .site-footer :is(.footer-observatory-head p,.footer-observatory-total output,.footer-observatory-today dd) { color: #b6c6ff; }
body.site-upgrade.resources-v3 .rs-motion-ready [data-rs-reveal] { opacity: 1; transform: none; }

/* 2026-09-29: one spacious visual language for the public gateways and service details. */
body.site-upgrade:is(.about-experience-page,.portal-resources-page,.portal-news-page,.coop-page-v4,.experience-contact,.service-experience-page) {
  --continuity-ink: #20283a;
  --continuity-muted: #657086;
  --continuity-blue: #536ab6;
  --continuity-line: #dfe5f0;
  --continuity-canvas: #f7f8fc;
  --continuity-shadow: 0 28px 76px rgb(56 70 118 / .13);
  background: var(--continuity-canvas);
}
body.site-upgrade:is(.about-experience-page,.portal-resources-page,.portal-news-page,.coop-page-v4,.experience-contact,.service-experience-page) main {
  overflow-x: clip;
}
html[data-theme="light"] body.site-upgrade:is(.about-experience-page,.portal-resources-page,.portal-news-page,.coop-page-v4,.experience-contact) .site-header.site-header.site-header {
  color: var(--continuity-ink) !important;
  background: rgb(255 255 255 / .9) !important;
  border-bottom-color: var(--continuity-line) !important;
  box-shadow: 0 5px 24px rgb(40 54 92 / .045) !important;
  backdrop-filter: blur(20px);
}

/* The headings lead; imagery follows as a complete, framed scene. */
body.site-upgrade.resources-v3 .rs-home-hero,
body.site-upgrade.portal-news-page .hemu-portal-masthead.is-news,
body.site-upgrade.coop-page-v4 .coop-hero,
body.site-upgrade.experience-contact .exp-hero,
body.site-upgrade.about-experience-page .about-x-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0,1fr);
  grid-template-rows: auto auto;
  justify-items: center;
  align-items: start;
  gap: clamp(42px,5vw,68px);
  min-height: 0;
  padding: clamp(72px,7vw,112px) clamp(20px,4vw,64px) clamp(76px,8vw,120px);
  border: 0;
  color: var(--continuity-ink);
  background: radial-gradient(ellipse 49% 29% at 50% 78%,rgb(151 174 245 / .19),transparent 80%),linear-gradient(180deg,#fbfcff,#f2f5fb);
}
body.site-upgrade.resources-v3 .rs-home-hero .rs-hero-shade,
body.site-upgrade.portal-news-page .hemu-portal-masthead.is-news::after,
body.site-upgrade.coop-page-v4 .coop-hero::before,
body.site-upgrade.experience-contact .exp-hero::before,
body.site-upgrade.experience-contact .exp-hero::after,
body.site-upgrade.about-experience-page .about-x-hero-shade { display: none; }

body.site-upgrade.resources-v3 .rs-home-hero .rs-hero-copy,
body.site-upgrade.portal-news-page .masthead-grid,
body.site-upgrade.coop-page-v4 .coop-hero-content,
body.site-upgrade.experience-contact .exp-hero-content,
body.site-upgrade.about-experience-page .about-x-hero-copy {
  position: relative;
  z-index: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100%,860px);
  max-width: 860px;
  min-height: 0;
  margin: 0 auto;
  padding: 0;
  gap: 0;
  text-align: center;
  color: var(--continuity-ink);
}
body.site-upgrade.resources-v3 .rs-home-hero .rs-hero-photo,
body.site-upgrade.portal-news-page .journal-hero-image,
body.site-upgrade.coop-page-v4 .coop-hero-image,
body.site-upgrade.experience-contact .exp-hero-photo,
body.site-upgrade.about-experience-page .about-x-hero-media {
  position: relative;
  z-index: 0;
  grid-row: 2;
  inset: auto;
  display: block;
  width: min(100%,1240px);
  max-width: 1240px;
  height: clamp(340px,35vw,510px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / .9);
  border-radius: clamp(22px,2.5vw,34px);
  box-shadow: var(--continuity-shadow);
  opacity: 1;
  clip-path: none;
  filter: none;
  -webkit-mask-image: none;
  mask-image: none;
}
body.site-upgrade.resources-v3 .rs-home-hero .rs-hero-photo,
body.site-upgrade.portal-news-page .journal-hero-image { object-fit: cover; object-position: center; }
body.site-upgrade.coop-page-v4 .coop-hero-image img,
body.site-upgrade.experience-contact .exp-hero-photo img,
body.site-upgrade.about-experience-page .about-x-hero-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transform: none;
}
body.site-upgrade.resources-v3 .rs-home-hero h1,
html body.site-upgrade.portal-news-page .hemu-portal-main .masthead-title h1,
body.site-upgrade.coop-page-v4 .coop-main .coop-hero h1,
body.site-upgrade.experience-contact .exp-hero h1,
body.site-upgrade.about-experience-page .about-x-hero h1 {
  max-width: 840px;
  margin: 14px auto 0;
  color: var(--continuity-ink);
  font-family: inherit;
  font-size: clamp(46px,5vw,76px);
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: -.055em;
  text-wrap: balance;
  text-shadow: none;
}
body.site-upgrade.coop-page-v4 .coop-hero h1 em,
body.site-upgrade.experience-contact .exp-hero h1 em { color: var(--continuity-blue); }
body.site-upgrade.resources-v3 .rs-home-hero .rs-hero-lead,
body.site-upgrade.portal-news-page .masthead-intro,
body.site-upgrade.coop-page-v4 .coop-main .coop-hero-lead,
body.site-upgrade.experience-contact .exp-hero .exp-lead,
body.site-upgrade.about-experience-page .about-x-hero-bottom p {
  max-width: 37em;
  margin: 22px auto 0;
  color: var(--continuity-muted);
  font-size: clamp(15px,1.2vw,18px);
  line-height: 1.8;
  text-align: center;
  text-shadow: none;
}
body.site-upgrade.resources-v3 .rs-hero-actions,
body.site-upgrade.coop-page-v4 .coop-hero-actions,
body.site-upgrade.experience-contact .exp-actions,
body.site-upgrade.about-experience-page .about-x-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Page-specific copy and image controls. */
body.site-upgrade.about-experience-page .about-x-kicker { justify-content: center; flex-wrap: wrap; gap: 8px 20px; width: 100%; color: var(--continuity-blue); }
body.site-upgrade.about-experience-page .about-x-kicker span:last-child { color: var(--continuity-muted); }
body.site-upgrade.about-experience-page .about-x-hero h1 span,
body.site-upgrade.about-experience-page .about-x-hero h1 span:last-child { display: inline; margin: 0; color: var(--continuity-ink); text-shadow: none; }
body.site-upgrade.about-experience-page .about-x-hero h1 span:last-child::before { content: " "; }
body.site-upgrade.about-experience-page .about-x-hero h1 {
  align-self: center;
  width: 100%;
  white-space: normal;
  text-align: center;
}
body.site-upgrade.about-experience-page .about-x-hero h1 span,
body.site-upgrade.about-experience-page .about-x-hero h1 span:last-child { display: block; }
body.site-upgrade.about-experience-page .about-x-hero h1 span:last-child::before { content: none; }
body.site-upgrade.about-experience-page .about-x-hero-bottom { display: flex; flex-direction: column; align-items: center; gap: 0; }
body.site-upgrade.about-experience-page .about-x-hero-bottom a { justify-self: auto; color: #fff; background: #344d9b; border-color: #344d9b; }
body.site-upgrade.about-experience-page .about-x-hero-bottom a:hover { color: #fff; background: #263f89; }
body.site-upgrade.about-experience-page .about-x-hero-media { background: #dbe5ee; }
body.site-upgrade.about-experience-page .about-x-flow { background: #263754; border-color: #263754; }
body.site-upgrade.about-experience-page .about-section-nav { background: rgb(255 255 255 / .92); border-color: var(--continuity-line); }
body.site-upgrade.about-experience-page .about-x-belief { background: #f7f8fc; }
body.site-upgrade.about-experience-page .about-x-belief-head { padding-top: clamp(80px,8vw,118px); }

body.site-upgrade.resources-v3 .rs-home-hero .rs-hero-actions a { min-height: 46px; border-radius: 999px; }
body.site-upgrade.resources-v3 .rs-directory { padding-block: clamp(72px,7vw,110px); }
body.site-upgrade.resources-v3 .rs-directory .rs-section-heading { margin-bottom: 34px; }
body.site-upgrade.resources-v3 .rs-directory .rs-section-heading h2 { color: var(--continuity-ink); font-family: inherit; font-size: clamp(30px,3vw,44px); }
body.site-upgrade.resources-v3 .rs-channel-grid { gap: 22px; }
body.site-upgrade.resources-v3 .rs-channel { min-height: 300px; border: 1px solid var(--continuity-line); border-radius: 24px; background: #fff; }

body.site-upgrade.portal-news-page .masthead-grid { gap: 0; }
html[data-theme="light"] body.site-upgrade.portal-news-page .hemu-portal-masthead.is-news {
  background: radial-gradient(ellipse 49% 29% at 50% 78%,rgb(151 174 245 / .19),transparent 80%),linear-gradient(180deg,#fbfcff,#f2f5fb) !important;
}
body.site-upgrade.portal-news-page .masthead-title { max-width: none; }
body.site-upgrade.portal-news-page .masthead-intro,
html:not([data-theme="dark"]) body.site-upgrade.portal-news-page .masthead-date { align-self: center; }
body.site-upgrade.portal-news-page .masthead-date { margin-top: 22px; }
body.site-upgrade.portal-news-page .portal-content { padding-top: clamp(64px,6vw,92px); }
body.site-upgrade.portal-news-page .news-channel-nav { gap: 14px; margin-bottom: 32px; border: 0; }
body.site-upgrade.portal-news-page .news-channel-nav > a { min-height: 118px; padding: 24px !important; border: 1px solid var(--continuity-line); border-radius: 20px; }
body.site-upgrade.portal-news-page .news-channel-nav > a::after { display: none; }

body.site-upgrade.coop-page-v4 .coop-hero-copy { max-width: 100%; }
body.site-upgrade.coop-page-v4 .coop-hero .coop-eyebrow { justify-content: center; color: var(--continuity-blue); }
body.site-upgrade.coop-page-v4 .coop-hero .coop-text-link { color: var(--continuity-blue); }
body.site-upgrade.coop-page-v4 .coop-hero .coop-text-link img { filter: none; }
body.site-upgrade.coop-page-v4 .coop-hero .coop-button.is-primary,
body.site-upgrade.experience-contact .exp-hero .exp-primary { border-radius: 999px; }
body.site-upgrade.coop-page-v4 .coop-hero-paths { margin-top: 35px; }
body.site-upgrade.coop-page-v4 .coop-hero-foot { display: none; }
body.site-upgrade.coop-page-v4 .coop-hero-image img { object-position: center 55%; }
body.site-upgrade.coop-page-v4 .coop-section-intro { padding-top: clamp(76px,7vw,106px); }
body.site-upgrade.coop-page-v4 .coop-service-card { border: 1px solid var(--continuity-line); border-radius: 24px; }

body.site-upgrade.experience-contact .exp-hero-center { max-width: 100%; padding: 0; }
body.site-upgrade.experience-contact .exp-kicker { color: var(--continuity-blue); }
body.site-upgrade.experience-contact .exp-hero-photo { left: auto; }
body.site-upgrade.experience-contact .exp-hero-photo img { object-position: 50% 50%; }
body.site-upgrade.experience-contact .exp-hero-content { width: min(100%,860px); }
body.site-upgrade.experience-contact .exp-hero .exp-hero-foot { display: none; }
body.site-upgrade.experience-contact .exp-hero-center > .exp-actions { margin: 30px auto 0; }
body.site-upgrade.experience-contact .contact-method-card { border: 1px solid var(--continuity-line); border-radius: 24px; }

/* Cross-page entrance: one measured rise, followed by calm media depth. */
@media (prefers-reduced-motion: no-preference) {
  html.site-upgrade-ready body.site-upgrade:is(.about-experience-page,.portal-resources-page,.portal-news-page,.coop-page-v4,.experience-contact) main > :first-child h1 {
    animation: continuity-copy-enter .85s .08s both cubic-bezier(.18,.7,.19,1);
  }
  html.site-upgrade-ready body.site-upgrade:is(.about-experience-page,.portal-resources-page,.portal-news-page,.coop-page-v4,.experience-contact) main > :first-child :is(.about-x-hero-media,.rs-hero-photo,.journal-hero-image,.coop-hero-image,.exp-hero-photo) {
    animation: continuity-stage-enter 1.05s .18s both cubic-bezier(.18,.7,.19,1);
  }
}
@keyframes continuity-copy-enter { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: none; } }
@keyframes continuity-stage-enter { from { opacity: .55; transform: translateY(32px) scale(.982); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  body.site-upgrade.resources-v3 .rs-home-hero,
  body.site-upgrade.portal-news-page .hemu-portal-masthead.is-news,
  body.site-upgrade.coop-page-v4 .coop-hero,
  body.site-upgrade.experience-contact .exp-hero,
  body.site-upgrade.about-experience-page .about-x-hero {
    gap: 34px;
    padding: 60px 18px 66px;
  }
  body.site-upgrade.resources-v3 .rs-home-hero .rs-hero-copy,
  body.site-upgrade.portal-news-page .masthead-grid,
  body.site-upgrade.coop-page-v4 .coop-hero-content,
  body.site-upgrade.experience-contact .exp-hero-content,
  body.site-upgrade.about-experience-page .about-x-hero-copy { width: 100%; }
  body.site-upgrade.resources-v3 .rs-home-hero .rs-hero-photo,
  body.site-upgrade.portal-news-page .journal-hero-image,
  body.site-upgrade.coop-page-v4 .coop-hero-image,
  body.site-upgrade.experience-contact .exp-hero-photo,
  body.site-upgrade.about-experience-page .about-x-hero-media { width: 100%; height: clamp(250px,60vw,360px); border-radius: 22px; }
  body.site-upgrade.resources-v3 .rs-home-hero h1,
  html body.site-upgrade.portal-news-page .hemu-portal-main .masthead-title h1,
  body.site-upgrade.coop-page-v4 .coop-main .coop-hero h1,
  body.site-upgrade.experience-contact .exp-hero h1,
  body.site-upgrade.about-experience-page .about-x-hero h1 { font-size: clamp(35px,10vw,48px); line-height: 1.22; }
  body.site-upgrade.about-experience-page .about-x-hero h1 span,
  body.site-upgrade.about-experience-page .about-x-hero h1 span:last-child { display: block; }
  body.site-upgrade.about-experience-page .about-x-hero h1 span:last-child::before { content: none; }
  body.site-upgrade.portal-news-page .news-channel-nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.site-upgrade.portal-news-page .news-channel-nav > a { min-height: 92px; padding: 16px !important; }
  body.site-upgrade.coop-page-v4 .coop-hero-paths { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  body.site-upgrade:is(.about-experience-page,.portal-resources-page,.portal-news-page,.coop-page-v4,.experience-contact) main > :first-child :is(h1,.about-x-hero-media,.rs-hero-photo,.journal-hero-image,.coop-hero-image,.exp-hero-photo) {
    animation: none !important;
    transform: none !important;
  }
}

/* Dark mode keeps the same hierarchy and avoids inherited low-contrast hero text. */
html[data-theme="dark"] body.site-upgrade:is(.about-experience-page,.portal-resources-page,.portal-news-page,.coop-page-v4,.experience-contact,.service-experience-page) {
  --continuity-ink: #f3f5ff;
  --continuity-muted: #c2cce1;
  --continuity-blue: #aabcf8;
  --continuity-line: #45516b;
  --continuity-canvas: #151b29;
  --continuity-shadow: 0 28px 76px rgb(0 0 0 / .24);
}
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,
html[data-theme="dark"] body.site-upgrade.about-experience-page .about-x-hero {
  color: var(--continuity-ink);
  background: radial-gradient(ellipse 50% 32% at 50% 78%,rgb(82 108 179 / .16),transparent 82%),linear-gradient(180deg,#1d2434,#171f30) !important;
}
html[data-theme="dark"] body.site-upgrade.resources-v3 .rs-home-hero h1,
html[data-theme="dark"] body.site-upgrade.portal-news-page .hemu-portal-main .masthead-title h1,
html[data-theme="dark"] body.site-upgrade.coop-page-v4 .coop-main .coop-hero h1,
html[data-theme="dark"] body.site-upgrade.experience-contact .exp-hero h1,
html[data-theme="dark"] body.site-upgrade.about-experience-page .about-x-hero h1,
html[data-theme="dark"] body.site-upgrade.about-experience-page .about-x-hero h1 span {
  color: var(--continuity-ink) !important;
  text-shadow: none;
}
html[data-theme="dark"] body.site-upgrade.resources-v3 .rs-home-hero .rs-hero-lead,
html[data-theme="dark"] body.site-upgrade.portal-news-page .masthead-intro,
html[data-theme="dark"] body.site-upgrade.coop-page-v4 .coop-main .coop-hero-lead,
html[data-theme="dark"] body.site-upgrade.experience-contact .exp-hero .exp-lead,
html[data-theme="dark"] body.site-upgrade.about-experience-page .about-x-hero-bottom p {
  color: var(--continuity-muted) !important;
}
html[data-theme="dark"] body.site-upgrade:is(.about-experience-page,.portal-resources-page,.portal-news-page,.coop-page-v4,.experience-contact) main > :first-child :is(.about-x-hero-media,.rs-hero-photo,.journal-hero-image,.coop-hero-image,.exp-hero-photo) {
  border-color: #45516b;
}
html[data-theme="dark"] body.site-upgrade.portal-news-page .masthead-date {
  align-self: center !important;
  justify-content: center;
  margin-inline: auto !important;
}
html[data-theme="dark"] body.site-upgrade.coop-page-v4 .coop-hero .coop-text-link,
html[data-theme="dark"] body.site-upgrade.experience-contact .exp-hero .exp-secondary {
  color: #d4dfff !important;
}
html[data-theme="dark"] body.site-upgrade.coop-page-v4 .coop-hero .coop-text-link img,
html[data-theme="dark"] body.site-upgrade.experience-contact .exp-hero .exp-secondary img {
  filter: brightness(0) invert(1);
}
html[data-theme="dark"] body.site-upgrade.about-experience-page .about-x-belief {
  color: var(--continuity-ink);
  background: var(--continuity-canvas);
}
html[data-theme="dark"] body.site-upgrade.coop-page-v4 .coop-main .coop-section-intro h2 em {
  color: var(--continuity-blue);
}

/* The four service-detail gateways share the same editorial first-screen rhythm. */
body.site-upgrade.service-experience-page .service-main > .service-hero.exp-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  min-height: 0;
  padding: clamp(70px,7vw,100px) 32px 82px;
  color: #20283a;
  background: #f7f8fc;
}
body.site-upgrade.service-experience-page .service-hero.exp-hero::before,
body.site-upgrade.service-experience-page .service-hero.exp-hero::after { display: none; }
body.site-upgrade.service-experience-page .service-hero .exp-hero-content {
  order: 1;
  display: flex;
  align-items: center;
  width: min(100%,1000px);
  min-height: 0;
  padding: 0;
}
body.site-upgrade.service-experience-page .service-hero .exp-breadcrumb {
  align-self: flex-start;
  color: #657086;
}
body.site-upgrade.service-experience-page .service-hero .exp-hero-center {
  width: 100%;
  padding: 24px 0 0;
  text-align: center;
}
body.site-upgrade.service-experience-page .service-hero .exp-kicker {
  justify-content: center;
  color: #536ab6 !important;
  letter-spacing: .04em;
}
body.site-upgrade.service-experience-page .service-main .service-hero h1 {
  max-width: 950px;
  margin: 14px auto 0;
  color: #20283a;
  font-size: clamp(46px,5vw,74px);
  line-height: 1.16;
  letter-spacing: -.055em;
  text-align: center;
  text-shadow: none;
}
html body.site-upgrade.service-experience-page .service-hero.exp-hero :is(.exp-kicker,h1 em) { color: #536ab6 !important; }
body.site-upgrade.service-experience-page .service-hero .exp-lead {
  max-width: 42em;
  margin: 22px auto 0;
  color: #657086;
  font-size: clamp(15px,1.2vw,18px);
  line-height: 1.8;
  text-align: center;
}
body.site-upgrade.service-experience-page .service-hero .exp-actions {
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
body.site-upgrade.service-experience-page .service-hero .exp-primary {
  min-height: 50px;
  border-radius: 999px;
  color: #fff;
  background: #4d62ad;
}
body.site-upgrade.service-experience-page .service-hero .exp-primary:hover { background: #3d539f; }
body.site-upgrade.service-experience-page .service-hero .exp-secondary { color: #536ab6; }
body.site-upgrade.service-experience-page .service-hero .exp-secondary img { filter: none; }
body.site-upgrade.service-experience-page .service-hero .exp-hero-foot { display: none; }
body.site-upgrade.service-experience-page .service-hero .exp-hero-photo {
  position: relative;
  inset: auto;
  z-index: 0;
  order: 2;
  width: min(100%,1240px);
  height: clamp(340px,35vw,510px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #fff;
  border-radius: clamp(22px,2.5vw,34px);
  box-shadow: var(--continuity-shadow);
}
body.site-upgrade.service-experience-page .service-hero .exp-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transform: none;
}
@media (max-width: 760px) {
  body.site-upgrade.service-experience-page .service-main > .service-hero.exp-hero {
    gap: 34px;
    padding: 54px 18px 66px;
  }
  body.site-upgrade.service-experience-page .service-hero .exp-hero-center { padding-top: 20px; }
  body.site-upgrade.service-experience-page .service-main .service-hero h1 {
    font-size: clamp(34px,9vw,46px);
    line-height: 1.2;
  }
  body.site-upgrade.service-experience-page .service-hero .exp-hero-photo {
    width: 100%;
    height: clamp(250px,60vw,360px);
    border-radius: 22px;
  }
}
html[data-theme="dark"] body.site-upgrade.service-experience-page .service-main > .service-hero.exp-hero {
  color: #f3f5ff;
  background: #171f30;
}
html[data-theme="dark"] body.site-upgrade.service-experience-page .service-hero .exp-breadcrumb,
html[data-theme="dark"] body.site-upgrade.service-experience-page .service-hero .exp-lead { color: #c2cce1; }
html[data-theme="dark"] body.site-upgrade.service-experience-page .service-main .service-hero h1 { color: #f3f5ff; }
html[data-theme="dark"] body.site-upgrade.service-experience-page .service-hero h1 em,
html[data-theme="dark"] body.site-upgrade.service-experience-page .service-hero .exp-kicker,
html[data-theme="dark"] body.site-upgrade.service-experience-page .service-hero .exp-secondary { color: #aabcf8 !important; }
html[data-theme="dark"] body.site-upgrade.service-experience-page .service-hero .exp-secondary img { filter: brightness(0) invert(1); }
html[data-theme="dark"] body.site-upgrade.service-experience-page .service-hero .exp-hero-photo { border-color: #45516b; }
@media (prefers-reduced-motion: no-preference) {
  html.site-upgrade-ready body.site-upgrade.service-experience-page .service-hero h1 { animation: continuity-copy-enter .85s .08s both cubic-bezier(.18,.7,.19,1); }
  html.site-upgrade-ready body.site-upgrade.service-experience-page .service-hero .exp-hero-photo { animation: continuity-stage-enter 1.05s .18s both cubic-bezier(.18,.7,.19,1); }
}
@media (prefers-reduced-motion: reduce) {
  body.site-upgrade.service-experience-page .service-hero :is(h1,.exp-hero-photo) { animation: none !important; transform: none !important; }
}
