.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:root {
  --art-offwhite: #f5f1e9;
  --art-navy: #061936;
  --art-cobalt: #1769e8;
  --art-gold: #b88b3f;
  --art-gutter: clamp(28px, 6.25vw, 96px);
}

.art-scene__media {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  overflow: hidden;
}

.art-scene__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, var(--scene-y, 0), 0) scale(1.002);
  transform-origin: center;
}

.art-hero,
.chapter-scene,
.principles--art,
.careers-teaser,
.contact-cta,
.careers-hero--art {
  position: relative;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}

.art-hero {
  display: block;
  width: 100%;
  height: clamp(760px, 62vw, 900px);
  background: var(--art-offwhite);
}

.art-hero::before,
.art-hero::after {
  display: none;
}

.art-hero__content {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(12px, 1.4vw, 22px);
  padding-inline: var(--art-gutter);
}

.art-hero__copy {
  grid-column: 1 / 7;
  align-self: center;
  max-width: 750px;
  padding-bottom: 44px;
  color: #00152b;
}

.art-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--art-cobalt);
  font-size: clamp(10px, 0.8vw, 12px);
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
}

.art-kicker span {
  display: inline-grid;
  min-width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid currentColor;
  font-size: 9px;
}

.art-hero h1 {
  max-width: none;
  margin: 0;
  color: #00152b;
  font-size: clamp(45px, 4.25vw, 68px);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1.14;
  text-wrap: balance;
}

.art-hero__lead {
  max-width: 40em;
  margin: 25px 0 0;
  color: #334b60;
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.9;
  text-wrap: pretty;
}

.hero-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.hero-capabilities li {
  padding: 7px 11px;
  border: 1px solid rgb(0 21 43 / 16%);
  color: #203b55;
  background: rgb(255 255 255 / 58%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}

.art-hero .hero-actions {
  position: static;
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.art-hero .button {
  min-width: 0;
  min-height: 58px;
  box-shadow: 0 16px 34px rgb(0 21 43 / 13%);
}

.art-hero .button--primary {
  min-width: 264px;
}

.art-hero .button--line {
  min-width: 190px;
  border-color: rgb(0 21 43 / 30%);
  color: #00152b;
  background: rgb(255 255 255 / 72%);
  backdrop-filter: blur(10px);
}

.art-hero .hero-signals {
  position: absolute;
  right: auto;
  bottom: 3.4%;
  left: var(--art-gutter);
  display: flex;
  width: auto;
  border: 0;
  color: #31495f;
  background: transparent;
}

.art-hero .hero-signals span {
  min-height: 40px;
  padding: 0 20px;
  border-right: 1px solid rgb(0 21 43 / 16%);
  color: inherit;
  background: transparent;
}

.art-hero .hero-signals span:first-child {
  padding-left: 0;
}

.art-hero .hero-signals b {
  color: var(--art-cobalt);
}

.chapter-scene,
.principles--art,
.careers-teaser,
.contact-cta,
.careers-hero--art {
  width: 100%;
  height: clamp(740px, 57vw, 860px);
}

#services-story,
#principles-story,
#careers-home,
#contact-story {
  scroll-margin-top: 78px;
}

.chapter-scene {
  color: white;
  background: var(--art-navy);
}

.chapter-scene::after,
.contact-cta::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgb(4 20 44 / 28%) 0%, transparent 58%);
  content: "";
  pointer-events: none;
}

.chapter-scene__content {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: var(--art-gutter);
  display: flex;
  width: min(43%, 620px);
  flex-direction: column;
  justify-content: center;
}

.chapter-scene__content--dark {
  color: white;
}

.chapter-scene__content .art-kicker,
.contact-intro .art-kicker {
  color: #7db4ff;
}

.chapter-scene__content h2 {
  max-width: none;
  margin: 0;
  color: white;
  font-size: clamp(42px, 4.25vw, 66px);
  font-weight: 740;
  letter-spacing: -0.055em;
  line-height: 1.16;
}

.chapter-scene__content > p:not(.art-kicker) {
  max-width: 37em;
  margin: 24px 0 0;
  color: #c7d5e4;
  font-size: clamp(14px, 1vw, 17px);
  line-height: 1.85;
}

.chapter-capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 27px 0 0;
  padding: 0;
  border-top: 1px solid rgb(255 255 255 / 19%);
  list-style: none;
}

.chapter-capabilities li {
  display: flex;
  min-height: 39px;
  align-items: center;
  border-bottom: 1px solid rgb(255 255 255 / 14%);
  color: #f4f7fb;
  font-size: clamp(11px, 0.83vw, 13px);
  font-weight: 650;
}

.chapter-capabilities li::before {
  width: 5px;
  height: 5px;
  margin-right: 9px;
  background: #4f99ff;
  content: "";
}

.chapter-scene__link {
  display: inline-flex;
  align-self: flex-start;
  min-width: 278px;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 0 22px;
  border: 1px solid rgb(255 255 255 / 38%);
  color: white;
  background: rgb(0 21 43 / 62%);
  box-shadow: 0 18px 38px rgb(0 0 0 / 18%);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.chapter-scene__link:hover,
.chapter-scene__link:focus-visible {
  color: #00152b;
  background: white;
  transform: translateY(-2px);
}

.services,
.service-explorer {
  scroll-margin-top: 100px;
}

.principles--art {
  height: clamp(760px, 60vw, 920px);
  color: #00152b;
  background: var(--art-offwhite);
}

.principles-art__intro {
  position: absolute;
  z-index: 2;
  top: 12%;
  left: var(--art-gutter);
  width: min(46%, 660px);
}

.principles-art__intro h2 {
  margin: 0;
  color: #00152b;
  font-size: clamp(50px, 5.15vw, 80px);
  font-weight: 760;
  letter-spacing: -0.06em;
  line-height: 1.08;
}

.principles-art__summary {
  max-width: 38em;
  margin: 24px 0 0;
  color: #425b70;
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.85;
}

.principle-list--overlay {
  position: absolute;
  z-index: 3;
  right: var(--art-gutter);
  bottom: 6.5%;
  left: var(--art-gutter);
  display: grid;
  width: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.principle-list--overlay article {
  display: grid;
  min-height: 188px;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto 1fr;
  align-content: center;
  column-gap: 14px;
  overflow: hidden;
  padding: clamp(20px, 2.1vw, 32px);
  border: 1px solid rgb(0 21 43 / 13%);
  color: #00152b;
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 22px 54px rgb(0 21 43 / 8%);
  backdrop-filter: blur(9px);
}

.principle-list--overlay article::before {
  display: none;
}

.principle-list--overlay span {
  position: static;
  grid-row: 1 / 3;
  align-self: start;
  margin: 2px 0 0;
  color: var(--art-cobalt);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.principle-list--overlay h3 {
  margin: 0 0 10px;
  color: #00152b;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.4;
}

.principle-list--overlay p {
  max-width: none;
  margin: 0;
  color: #50677b;
  font-size: clamp(12px, 0.88vw, 14px);
  line-height: 1.7;
}

.principle-list--overlay article:hover {
  background: rgb(255 255 255 / 94%);
  transform: translateY(-3px);
}

.careers-teaser,
.careers-hero--art {
  color: white;
  background: var(--art-navy);
}

.careers-teaser__layout,
.careers-hero--art .careers-hero__layout {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: grid;
  width: auto;
  min-height: 0;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(12px, 1.4vw, 22px);
  padding-inline: var(--art-gutter);
}

.careers-teaser__copy,
.careers-hero--art .careers-hero__copy {
  position: static;
  grid-column: 1 / 7;
  align-self: center;
  width: auto;
  max-width: 670px;
  color: white;
}

.careers-teaser__copy h2,
.careers-hero--art .careers-hero__copy h1 {
  margin: 0;
  color: white;
  font-size: clamp(46px, 4.65vw, 72px);
  font-weight: 750;
  letter-spacing: -0.06em;
  line-height: 1.12;
}

/* The home recruitment copy sits over a bright visual. Keep its contrast
   independent from the older dark-section rules in home-dynamic.css. */
.careers-teaser .careers-teaser__copy h2 {
  color: #ffffff !important;
  text-shadow: 0 2px 16px rgb(0 0 0 / 30%);
}

.careers-teaser__copy > p:not(.art-kicker),
.careers-hero--art .careers-hero__lead {
  max-width: 35em;
  margin: 25px 0 22px;
  color: #d6e2ee;
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.85;
}

.careers-teaser .careers-teaser__copy > p:not(.art-kicker) {
  color: #dbe6f0 !important;
  font-weight: 560;
  text-shadow: 0 2px 14px rgb(0 0 0 / 28%);
}

.careers-teaser .art-kicker,
.careers-hero--art .art-kicker {
  color: #82b7ff;
}

.careers-teaser__copy .button,
.careers-hero--art .careers-hero__actions .button {
  min-width: 230px;
}

/* The v4 recruitment artboard owns the editorial copy and work imagery.
   Keep only the real, focusable CTA in HTML and align it with the reserved plate. */
.careers-teaser--artboard {
  height: min(66.6667vw, 1024px);
  min-height: 600px;
  background: #061936;
}

.careers-teaser--artboard::before {
  display: none;
}

.careers-teaser--artboard::after {
  position: absolute;
  z-index: 1;
  inset: clamp(12px, 1.35vw, 22px);
  border: 1px solid rgb(255 255 255 / 12%);
  background: none;
  content: "";
  pointer-events: none;
}

.careers-teaser--artboard .art-scene__media img {
  object-fit: cover;
  object-position: center;
  transform: none;
}

.careers-teaser--artboard .careers-teaser__layout {
  display: block;
  padding: 0;
}

.careers-teaser--artboard .careers-teaser__copy--artboard {
  position: absolute;
  top: 69.5%;
  left: 6.1%;
  width: 26.35%;
  height: 10.55%;
  max-width: none;
}

.careers-teaser--artboard .careers-teaser__cta {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  border: 1px solid #c7a65a;
  color: #061936;
  background: rgb(255 255 255 / 97%);
  box-shadow: 0 18px 50px rgb(0 0 0 / 20%);
  font-size: clamp(13px, 1vw, 16px);
}

.careers-teaser--artboard .careers-teaser__cta:hover {
  color: white;
  background: #1769e8;
  border-color: #1769e8;
}

.careers-hero--art .careers-status {
  width: max-content;
  margin-bottom: 18px;
}

.careers-hero--art .art-kicker {
  margin-bottom: 18px;
}

.careers-hero--art .careers-text-link {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 18px;
  border: 1px solid rgb(0 21 43 / 24%);
  color: #00152b;
  background: rgb(255 255 255 / 78%);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.careers-hero--art .careers-hero__actions .button--primary {
  color: #00152b;
  background: white;
  box-shadow: 0 18px 42px rgb(0 0 0 / 22%);
}

.contact-cta {
  color: white;
  background: var(--art-navy);
}

.contact-layout {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  width: auto;
  min-height: 0;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(12px, 1.4vw, 22px);
  padding-inline: var(--art-gutter);
}

.contact-intro {
  grid-column: 1 / 7;
  align-self: start;
  margin-top: 12%;
}

.contact-intro h2 {
  margin: 0;
  color: white;
  font-size: clamp(46px, 4.7vw, 72px);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 1.14;
}

.contact-intro > p:not(.art-kicker) {
  margin: 23px 0 0;
  color: #c8d6e5;
  font-size: clamp(14px, 1vw, 17px);
  line-height: 1.8;
}

.contact-action {
  position: static;
  grid-column: 9 / 13;
  align-self: center;
  width: auto;
  margin-top: 25%;
  padding: clamp(24px, 2.4vw, 38px);
  border: 1px solid rgb(255 255 255 / 28%);
  color: white;
  background: rgb(2 21 39 / 88%);
  box-shadow: 0 30px 74px rgb(0 0 0 / 21%);
  backdrop-filter: blur(10px);
}

.contact-action > p {
  margin: 0 0 18px;
  color: #f4f7fb;
  font-size: 14px;
  line-height: 1.75;
}

.contact-action .button {
  width: 100%;
}

.contact-action small {
  display: block;
  margin-top: 14px;
  color: #b9cad9;
  font-size: 11px;
  line-height: 1.7;
}

@media (max-width: 1100px) {
  .art-hero__copy {
    grid-column: 1 / 8;
  }

  .art-hero h1 {
    font-size: clamp(42px, 5.2vw, 58px);
  }

  .art-hero__lead {
    max-width: 35em;
  }

  .chapter-scene__content {
    width: 48%;
  }

  .principle-list--overlay article {
    min-height: 178px;
    grid-template-columns: 34px 1fr;
    column-gap: 9px;
    padding: 20px;
  }

  .contact-action {
    grid-column: 8 / 13;
  }
}

@media (max-width: 700px) {
  :root {
    --art-gutter: 24px;
  }

  .art-scene__media img {
    object-position: center;
    transform: none;
  }

  .art-hero,
  .chapter-scene,
  .principles--art,
  .careers-teaser,
  .contact-cta,
  .careers-hero--art {
    height: auto;
    min-height: 760px;
  }

  .art-hero::after,
  .principles--art::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: block;
    background: linear-gradient(180deg, rgb(245 241 233 / 98%) 0%, rgb(245 241 233 / 91%) 49%, transparent 72%);
    content: "";
    pointer-events: none;
  }

  .chapter-scene::after,
  .contact-cta::after,
  .careers-teaser::after,
  .careers-hero--art::after {
    z-index: 1;
    inset: 0;
    background: linear-gradient(180deg, rgb(6 25 54 / 98%) 0%, rgb(6 25 54 / 90%) 55%, transparent 78%);
  }

  .art-hero__content,
  .careers-teaser__layout,
  .careers-hero--art .careers-hero__layout,
  .contact-layout {
    display: block;
    padding-inline: var(--art-gutter);
  }

  .art-hero__copy {
    position: absolute;
    top: 92px;
    right: var(--art-gutter);
    left: var(--art-gutter);
    max-width: none;
    padding: 0;
  }

  .art-kicker {
    margin-bottom: 15px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .art-kicker span {
    min-width: 24px;
    height: 24px;
    font-size: 8px;
  }

  .art-hero h1 {
    font-size: clamp(34px, 9.8vw, 43px);
    letter-spacing: -0.05em;
    line-height: 1.15;
  }

  .art-hero__lead {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.75;
  }

  .hero-capabilities {
    gap: 6px;
    margin-top: 15px;
  }

  .hero-capabilities li {
    padding: 6px 8px;
    font-size: 10px;
  }

  .art-hero .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 18px;
  }

  .art-hero .button,
  .art-hero .button--primary,
  .art-hero .button--line {
    width: 100%;
    min-width: 0;
    min-height: 52px;
  }

  .art-hero .hero-signals {
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-inline: 16px;
    border-top: 1px solid rgb(0 21 43 / 12%);
    background: rgb(245 241 233 / 90%);
    backdrop-filter: blur(10px);
  }

  .art-hero .hero-signals span {
    min-height: 54px;
    justify-content: center;
    padding: 6px 5px;
    font-size: 9px;
    line-height: 1.3;
    text-align: center;
    white-space: normal;
  }

  .art-hero .hero-signals span:first-child {
    padding-left: 0;
  }

  .chapter-scene {
    min-height: 810px;
  }

  .chapter-scene__content {
    top: 88px;
    right: var(--art-gutter);
    bottom: auto;
    left: var(--art-gutter);
    display: block;
    width: auto;
  }

  .chapter-scene__content h2 {
    font-size: clamp(35px, 10vw, 44px);
    line-height: 1.16;
  }

  .chapter-scene__content > p:not(.art-kicker) {
    margin-top: 17px;
    font-size: 13px;
    line-height: 1.75;
  }

  .chapter-capabilities {
    margin-top: 18px;
  }

  .chapter-capabilities li {
    min-height: 34px;
    font-size: 10px;
  }

  .chapter-scene__link {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    margin-top: 20px;
  }

  .principles--art {
    min-height: 920px;
  }

  .principles-art__intro {
    top: 92px;
    right: var(--art-gutter);
    left: var(--art-gutter);
    width: auto;
  }

  .principles-art__intro h2 {
    font-size: clamp(43px, 12vw, 54px);
  }

  .principles-art__summary {
    margin-top: 17px;
    font-size: 13px;
    line-height: 1.75;
  }

  .principle-list--overlay {
    right: var(--art-gutter);
    bottom: 28px;
    left: var(--art-gutter);
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .principle-list--overlay article {
    min-height: 132px;
    grid-template-columns: 34px 1fr;
    column-gap: 9px;
    padding: 17px;
  }

  .principle-list--overlay h3 {
    margin-bottom: 4px;
    font-size: 16px;
  }

  .principle-list--overlay p {
    font-size: 11px;
    line-height: 1.55;
  }

  .careers-teaser,
  .careers-hero--art {
    min-height: 720px;
  }

  .careers-teaser__copy,
  .careers-hero--art .careers-hero__copy {
    position: absolute;
    top: 96px;
    right: var(--art-gutter);
    left: var(--art-gutter);
    max-width: none;
  }

  .careers-teaser__copy h2,
  .careers-hero--art .careers-hero__copy h1 {
    font-size: clamp(38px, 10.6vw, 48px);
    line-height: 1.14;
  }

  .careers-teaser__copy > p:not(.art-kicker),
  .careers-hero--art .careers-hero__lead {
    margin: 18px 0;
    font-size: 13px;
    line-height: 1.75;
  }

  .careers-teaser__copy .button,
  .careers-hero--art .careers-hero__actions .button {
    width: 100%;
    min-width: 0;
    min-height: 52px;
  }

  .careers-hero--art .careers-status {
    margin-bottom: 13px;
    font-size: 10px;
  }

  .careers-hero--art .art-kicker {
    margin-bottom: 13px;
  }

  .careers-hero--art .careers-hero__actions {
    display: grid;
    gap: 14px;
  }

  .careers-hero--art .careers-text-link {
    width: 100%;
  }

  .contact-cta {
    min-height: 760px;
  }

  .contact-intro {
    position: absolute;
    top: 92px;
    right: var(--art-gutter);
    left: var(--art-gutter);
    margin: 0;
  }

  .contact-intro h2 {
    font-size: clamp(39px, 10.8vw, 50px);
    line-height: 1.15;
  }

  .contact-intro > p:not(.art-kicker) {
    margin-top: 16px;
    font-size: 13px;
  }

  .contact-action {
    position: absolute;
    top: 390px;
    right: var(--art-gutter);
    left: var(--art-gutter);
    width: auto;
    margin: 0;
    padding: 21px;
  }

  .contact-action > p {
    font-size: 13px;
  }

  .contact-action .button {
    min-height: 52px;
  }
}

@media (max-width: 900px) {
  .careers-teaser--artboard {
    height: 210.7639vw;
    min-height: 0;
  }

  .careers-teaser--artboard::after {
    inset: 12px;
    border-color: rgb(255 255 255 / 10%);
    background: none;
  }

  .careers-teaser--artboard .careers-teaser__layout {
    display: block;
    padding: 0;
  }

  .careers-teaser--artboard .careers-teaser__copy--artboard {
    top: 28.25%;
    right: auto;
    left: 7.3%;
    width: 85.3%;
    height: 7.52%;
    max-width: none;
  }

  .careers-teaser--artboard .careers-teaser__cta {
    width: 100%;
    height: 100%;
    min-height: 0;
    font-size: clamp(13px, 3.8vw, 17px);
  }
}

@media (max-width: 400px) {
  .art-hero {
    min-height: 780px;
  }

  .art-hero h1 {
    font-size: 34px;
  }

  .hero-capabilities li {
    font-size: 9px;
  }

  .principles--art {
    min-height: 940px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .art-scene__media img {
    transform: none !important;
  }
}
