/* Shared contrast, section rhythm, and responsive rules. */
@media (min-width: 600px) and (max-width: 1100px) {
  .journal-grid-query .wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .journal-grid-query .article-card h3 {
    font-size: 25px !important;
  }
}
.page
  .wp-block-post-content
  > .wp-block-group:nth-child(even):not(.journal-topics)
  .visual-service-card {
  background: #133a50;
  border-color: #416779;
}
body {
  color: #102b3a;
}
p,
li {
  color: #304b5b;
}
p:not(.eyebrow) {
  font-weight: 400;
}
h1,
h2,
h3,
h4 {
  color: #102b3a;
  overflow-wrap: anywhere;
}
a {
  color: #00658c;
}
::selection {
  background: #087caa;
  color: #fff;
}
body
  :is(
    .intro,
    .journal-intro,
    .footer-brand-description,
    .footer-place,
    .contact-placeholder,
    .footer-legal-row p,
    .wp-block-post-excerpt__excerpt,
    .wp-block-post-date,
    .footer-links a,
    .article-meta,
    .contact-channel
  ) {
  color: #40596a !important;
}
body :is(.eyebrow, .footer-label, .cover-topic) {
  color: #00648b;
}
body .article-card .wp-block-post-excerpt__excerpt {
  font-size: 14px;
}
body .article-meta {
  font-size: 12px;
}
body .article-card .wp-block-read-more {
  font-size: 13px;
}
body .editorial-footer .footer-links > p:not(.footer-label) {
  font-size: 14px;
}
body .editorial-footer :is(.contact-placeholder, .contact-channel) {
  font-size: 13px;
}
body .footer-legal-row p {
  font-size: 12px;
}
.wp-site-blocks > header.wp-block-template-part {
  background:
    radial-gradient(ellipse at 75% 0, #145d7a, transparent 65%),
    linear-gradient(110deg, #071e30, #0c354e) !important;
  border-bottom-color: #226381;
  box-shadow: 0 4px 20px #071e3020;
}
.brand-header .custom-logo {
  background: #fff;
  border-radius: 8px;
  padding: 7px 10px;
  box-sizing: content-box;
}
.brand-navigation .wp-block-navigation-item__content {
  color: #fff !important;
}
.brand-navigation .wp-block-navigation-submenu__toggle {
  color: #fff;
}
.brand-navigation .wp-block-navigation-item__content:before,
.brand-navigation .wp-block-navigation-submenu__toggle:before {
  background: #77d8f7 !important;
}
.brand-navigation
  .wp-block-navigation__container
  > .wp-block-navigation-item:last-child
  > .wp-block-navigation-item__content {
  background: #087faa !important;
  border: 1px solid #57c4e8;
}
.brand-navigation .wp-block-navigation__submenu-container {
  background: #0d3045 !important;
  border-color: #2c596d !important;
}
.brand-navigation .wp-block-navigation__submenu-container a:hover {
  background: #17465e !important;
}
.brand-navigation .wp-block-navigation__responsive-container-open {
  color: #fff;
}
.brand-navigation .wp-block-navigation__responsive-container.is-menu-open {
  background: #09283d !important;
  color: #fff !important;
}
.brand-navigation .wp-block-navigation__responsive-container-close {
  color: #fff;
}
.journal-topics {
  justify-content: flex-start;
  align-items: center;
  gap: 10px !important;
  width: 100%;
}
.journal-topics > .topic-pill {
  margin: 0 !important;
  flex: 0 0 auto;
  max-width: 100% !important;
}
.journal-topics a {
  font-size: 13px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.journal-topics a[aria-current="page"] {
  background: #075d81;
  color: #fff;
  border-color: #075d81;
}
.category .topic-all a {
  background: white;
  color: #304b5b;
  border-color: #a5bac6;
}
.page
  .wp-block-post-content
  > .wp-block-group:nth-child(even):not(.journal-topics) {
  background:
    radial-gradient(ellipse at 100% 0, #164d64, transparent 65%), #0b293d;
  border-radius: 16px;
  padding: clamp(28px, 4vw, 56px);
  margin-block: 28px !important;
  color: #fff;
  --section-ink: #fff;
}
.page
  .wp-block-post-content
  > .wp-block-group:nth-child(even):not(.journal-topics)
  :is(h2, h3, h4, p, li, summary, label, .wp-block-post-date) {
  color: #e9f3f9 !important;
}
.page
  .wp-block-post-content
  > .wp-block-group:nth-child(even):not(.journal-topics)
  :is(h2, h3, h4) {
  color: #fff !important;
}
.page
  .wp-block-post-content
  > .wp-block-group:nth-child(even):not(.journal-topics)
  :is(a, em, .eyebrow) {
  color: #86ddfa !important;
}
.page
  .wp-block-post-content
  > .wp-block-group:nth-child(even):not(.journal-topics)
  :is(
    .ep-card,
    .scope-card,
    .fit-panel,
    .process-card,
    .founder-card,
    .article-card,
    .contact-form-shell,
    .form-notice
  ) {
  background: #133a50;
  border-color: #416779;
}
.page
  .wp-block-post-content
  > .wp-block-group:nth-child(even):not(.journal-topics)
  .wp-block-button__link {
  background: #087ba4;
  color: #fff !important;
  border-color: #74d6f5;
}
.page
  .wp-block-post-content
  > .wp-block-group:nth-child(even):not(.journal-topics)
  :is(input, textarea, select) {
  color: #102b3a;
  background: #fff;
}
.page
  .wp-block-post-content
  > .wp-block-group:nth-child(even):not(.journal-topics)
  .field
  > span {
  color: #fff;
}
.page
  .wp-block-post-content
  > .wp-block-group:nth-child(even):not(.journal-topics)
  .article-meta
  a {
  color: #86ddfa !important;
}
.founder-section {
  padding: 64px 0;
}
.founder-section > h2 {
  margin-left: 0 !important;
}
.founder-columns {
  margin-top: 32px;
}
.founder-card {
  padding: 28px;
  border: 1px solid #c7d8e2;
  border-radius: 12px;
  background: #f3f8fb;
  height: 100%;
}
.founder-card h3 {
  font-size: 30px;
}
.founder-card p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.8;
}
.ep-back-top {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 90;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid #70d6f6;
  border-radius: 50%;
  background: #07577d;
  color: white;
  box-shadow: 0 5px 18px #082a3d40;
  cursor: pointer;
}
.ep-back-top[hidden] {
  display: none;
}
.ep-back-top:hover {
  background: #08364f;
}
.ep-back-top:focus-visible {
  outline: 3px solid #00a5d9;
  outline-offset: 4px;
}
.wp-block-column,
.wp-block-group {
  min-width: 0;
}
img,
svg,
video {
  max-width: 100%;
}
input,
select,
textarea {
  max-width: 100%;
}
.wp-block-button__link {
  white-space: normal;
}
main {
  scroll-margin-top: 120px;
}
.wp-block-post-content :is(p, li) {
  overflow-wrap: break-word;
}
@media (min-width: 1600px) {
  .wp-site-blocks > main,
  .fullwidth-header,
  .editorial-footer {
    max-width: 1360px !important;
    margin-inline: auto !important;
  }
  .wp-block-post-content {
    max-width: 1360px !important;
  }
  .wp-block-post-content > .wp-block-group {
    max-width: 1360px !important;
  }
}
@media (min-width: 782px) and (max-width: 1100px) {
  .wp-block-columns {
    gap: 22px !important;
  }
  .landing-hero-columns {
    flex-wrap: wrap !important;
  }
  .landing-hero-columns > .wp-block-column {
    flex-basis: 100% !important;
  }
  .orbit-scene {
    max-width: 520px !important;
    margin-inline: auto !important;
  }
  .footer-editorial-columns {
    grid-template-columns: 1fr 1fr !important;
  }
  .footer-connect {
    border-left: 0;
    padding-left: 0;
  }
  .journal-intro-row {
    gap: 28px !important;
  }
  .featured-article {
    grid-template-columns: 1fr 1fr;
  }
  .featured-article .article-card-copy {
    padding: 24px;
  }
  .featured-article h2 {
    font-size: 30px;
  }
}
@media (max-width: 900px) {
  .modern-header-main {
    flex-wrap: nowrap !important;
    justify-content: space-between;
  }
  .brand-navigation .wp-block-navigation__responsive-container.is-menu-open {
    padding: 24px;
  }
  .brand-navigation
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-content {
    align-items: flex-start;
    padding-top: 45px;
  }
  .brand-navigation .wp-block-navigation__submenu-container {
    min-width: 0 !important;
    width: 100%;
  }
  .brand-navigation
    .wp-block-navigation__submenu-container
    .wp-block-navigation-item__content {
    white-space: normal;
  }
}
@media (max-width: 781px) {
  .page
    .wp-block-post-content
    > .wp-block-group:nth-child(even):not(.journal-topics) {
    padding: 28px 22px;
    margin-block: 20px !important;
  }
  .wp-block-columns {
    gap: 26px !important;
  }
  .journal-topics {
    gap: 8px !important;
  }
  .journal-topics a {
    font-size: 12px;
    padding: 9px 12px;
  }
  .founder-card {
    padding: 23px;
  }
  .journal-hero h1 {
    font-size: clamp(37px, 10vw, 58px);
  }
  .footer-legal-row {
    padding-right: 44px;
  }
  .brand-header .custom-logo {
    padding: 5px 8px;
  }
  .article-card-copy {
    padding: 22px;
  }
  .journal-grid-query .article-card h3 {
    font-size: clamp(25px, 6.4vw, 32px);
  }
}
@media (max-width: 380px) {
  .wp-site-blocks {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .wp-site-blocks > header.wp-block-template-part {
    margin-inline: -16px !important;
    width: calc(100% + 32px);
    padding-inline: 16px !important;
  }
  .wp-site-blocks > footer.wp-block-template-part {
    margin-inline: -16px;
    padding-inline: 16px;
  }
  .page
    .wp-block-post-content
    > .wp-block-group:nth-child(even):not(.journal-topics) {
    padding: 24px 17px;
  }
  .footer-editorial-columns {
    grid-template-columns: 1fr !important;
  }
  .footer-editorial-columns > .wp-block-column {
    grid-column: 1 !important;
  }
  .journal-hero h1 {
    letter-spacing: -1px;
  }
  .orbit-chip {
    max-width: 150px;
    white-space: normal;
  }
  .contact-form-shell {
    padding: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
