/* Immersive homepage. Other pages retain the light editorial system. */
body:has(.hero-immersive) .site-header {
  background: #081f1cf5;
  border-bottom-color: #d5e4db1f;
  color: #f3f2ed;
}
body:has(.hero-immersive) .brand-mark { stroke: #d1e0d3; }
body:has(.hero-immersive) .brand-type > span { color: #a6bcb1; }
body:has(.hero-immersive) .desktop-nav a { color: #c5d3cd; }
body:has(.hero-immersive) .desktop-nav a:hover,
body:has(.hero-immersive) .desktop-nav a[aria-current] { color: #fff; }
body:has(.hero-immersive) .header-contact { border-color: #b3c8bc55; color: #edf1e9; }
body:has(.hero-immersive) .header-contact:hover { background: #edf1e9; color: #102c25; }
body:has(.hero-immersive) .menu-toggle { border-color: #b3c8bc55; }
body:has(.hero-immersive) .menu-toggle span { background: #edf1e9; }

.hero.hero-immersive {
  --hero-paper: #f3f3e9;
  position: relative;
  max-width: none;
  min-height: 680px;
  height: calc(100svh - 100px);
  max-height: 980px;
  padding-inline: max(var(--gutter), calc((100vw - 1600px) / 2 + 84px));
  display: flex;
  flex-direction: column;
  color: var(--hero-paper);
  background: #071e1b;
  overflow: hidden;
}
.hero-immersive .hero-art {
  position: absolute;
  inset: -2%;
  width: 104%;
  height: 104%;
  max-width: none;
  margin: 0;
  z-index: 0;
  mix-blend-mode: normal;
  mask-image: none;
  aspect-ratio: auto;
  transform: translate(var(--art-x, 0px), var(--art-y, 0px));
  transition: transform 1.5s var(--ease);
}
.hero-immersive .hero-art img {
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  object-fit: cover;
  object-position: center 53%;
}
.hero-immersive .hero-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #071e1bdb 0%, #071e1b80 36%, #071e1b00 65%), linear-gradient(0deg, #071e1bf2 0%, #071e1b00 28%);
}
.hero-immersive .hero-copy {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 56%;
  max-width: 800px;
  padding: 0 0 116px;
}
.hero-immersive .hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 30px;
  color: #b7cdc1;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .18em;
}
.hero-immersive .hero-eyebrow::before { content: ''; display: block; width: 26px; height: 1px; background: #b7cdc1; }
.hero-immersive h1 {
  font-size: clamp(58px, 5.5vw, 88px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.045em;
  color: var(--hero-paper);
}
.hero-immersive h1 > span { display: block; white-space: nowrap; }
.hero-immersive h1 > span + span { margin-top: 5px; }
.hero-immersive h1 .hero-emphasis { color: #c3d8bd; }
.hero-immersive .hero-copy > p {
  margin-top: 30px;
  color: #c0cec7;
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: .055em;
}
.hero-immersive .hero-actions { margin-top: 35px; gap: 14px; }
.hero-immersive .hero-actions .button { min-height: 54px; padding: 17px 22px; font-size: 12px; gap: 32px; border: 1px solid transparent; }
.hero-immersive .button-primary { color: #18392d; background: var(--hero-paper); }
.hero-immersive .button-primary:hover { background: #d4e3cd; transform: translateY(-2px); }
.hero-immersive .button-secondary { color: #edf2e8; background: #0e30252b; border-color: #b5cbbe66 !important; backdrop-filter: blur(8px); }
.hero-immersive .button-secondary:hover { background: #d6e6d41c; border-color: #d2e0d0 !important; transform: translateY(-2px); }
.hero-immersive .hero-actions .button > span { font-size: 20px; line-height: 1; }
.hero-immersive a:focus-visible { outline: 2px solid #e4efdb; outline-offset: 6px; }
.hero-immersive .hero-bottom {
  z-index: 2;
  left: max(var(--gutter), calc((100vw - 1600px) / 2 + 84px));
  right: max(var(--gutter), calc((100vw - 1600px) / 2 + 84px));
  bottom: 0;
  min-height: 106px;
  padding: 25px 0 29px;
  border-top: 1px solid #c3d9c92e;
  border-bottom: 0;
  gap: 40px;
}
.hero-capabilities { display: flex; width: 76%; justify-content: space-between; gap: 32px; }
.hero-capability { display: flex; align-items: baseline; gap: 13px; }
.hero-capability .mono { color: #94b3a1; font-size: 9px; }
.hero-capability strong { display: block; font-size: 15px; font-weight: 400; letter-spacing: .07em; }
.hero-capability small { display: block; color: #9bb6a7; font-size: 10px; letter-spacing: .05em; margin-top: 9px; }
.hero-immersive .scroll-link { color: #a8c0b0; gap: 12px; font-size: 10px; flex-shrink: 0; }
.hero-immersive .scroll-icon { width: 31px; height: 31px; border-color: #b2cbb63d; }
.hero-immersive .scroll-link:hover { color: #f3f3e9; }
.hero-immersive .hero-visual-note { position: absolute; z-index: 2; right: max(var(--gutter), calc((100vw - 1600px) / 2 + 84px)); bottom: 138px; color: #bccfc0; font-size: 9px; letter-spacing: .16em; }

@media (prefers-reduced-motion: no-preference) {
  .hero-immersive .hero-copy { animation: immersive-copy-in .85s var(--ease) both; }
  .hero-immersive .hero-art img { animation: immersive-art-in 1.8s var(--ease) both; }
}
@keyframes immersive-copy-in { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
@keyframes immersive-art-in { from { opacity: .35; scale: 1.04; } to { opacity: 1; scale: 1; } }

@media (max-width: 1100px) {
  .hero.hero-immersive { min-height: 650px; }
  .hero-immersive .hero-copy { width: 65%; }
  .hero-immersive h1 { font-size: 60px; }
  .hero-immersive .hero-art img { object-position: 57% center; }
  .hero-capabilities { width: 78%; gap: 24px; }
  .hero-capability { gap: 10px; }
  .hero-capability strong { font-size: 13px; }
  .hero-capability small { font-size: 9px; }
}
@media (max-width: 900px) {
  .hero.hero-immersive { height: calc(100svh - 82px); max-height: 860px; }
  .hero-immersive .hero-copy { width: 74%; padding-bottom: 120px; }
  .hero-immersive h1 { font-size: clamp(48px, 7.2vw, 62px); }
  .hero-immersive .hero-eyebrow { font-size: 10px; }
  .hero-immersive .hero-copy > p { font-size: 14px; }
  .hero-immersive .hero-art img { object-position: 60% center; }
  .hero-immersive .hero-art::after { background: linear-gradient(90deg,#071e1be0 0%,#071e1b80 45%,#071e1b00 100%),linear-gradient(0deg,#071e1bf2,#071e1b00 35%); }
  .hero-immersive .hero-bottom { gap: 20px; }
  .hero-capabilities { width: 100%; }
  .hero-immersive .scroll-link { font-size: 0; gap: 0; }
  .hero-immersive .scroll-icon { font-size: 13px; }
  .hero-immersive .hero-visual-note { font-size: 8px; }
}
@media (max-width: 680px) {
  .hero.hero-immersive { height: 780px; min-height: 0; max-height: none; display: block; padding-bottom: 0; }
  .hero-immersive .hero-copy { display: block; width: 100%; padding: 56px 0 0; }
  .hero-immersive .hero-eyebrow { font-size: 9px; gap: 10px; margin-bottom: 25px; letter-spacing: .14em; }
  .hero-immersive .hero-eyebrow::before { width: 20px; }
  .hero-immersive h1 { font-size: clamp(42px, 11.8vw, 66px); letter-spacing: -.045em; line-height: 1.3; }
  .hero-immersive h1 > span + span { margin-top: 6px; }
  .hero-immersive .hero-copy > p { margin-top: 22px; font-size: 12px; line-height: 1.95; letter-spacing: .035em; }
  .hero-immersive .hero-actions { margin-top: 26px; gap: 12px; }
  .hero-immersive .hero-actions .button { font-size: 11px; min-height: 49px; padding: 15px 17px; gap: 22px; }
  .hero-immersive .hero-actions .button > span { font-size: 18px; }
  .hero-immersive .hero-art { top: 285px; left: 0; right: 0; bottom: 0; width: 100%; height: calc(100% - 285px); transform: none; }
  .hero-immersive .hero-art img { width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; object-position: 75% center; }
  .hero-immersive .hero-art::after { background: linear-gradient(180deg,#071e1b 0%,#071e1bb0 17%,#071e1b00 40%,#071e1b33 70%,#071e1b 100%); }
  .hero-immersive .hero-bottom { min-height: 88px; padding: 20px 0; gap: 0; }
  .hero-capabilities { gap: 12px; }
  .hero-capability { gap: 0; }
  .hero-capability .mono { display: none; }
  .hero-capability strong { font-size: 11px; letter-spacing: .025em; }
  .hero-capability small { font-size: 8px; letter-spacing: 0; margin-top: 7px; }
  .hero-immersive .scroll-link { display: none; }
  .hero-immersive .hero-visual-note { bottom: 111px; font-size: 8px; }
}
@media (max-width: 370px) {
  .hero.hero-immersive { height: 750px; }
  .hero-immersive .hero-copy { padding-top: 46px; }
  .hero-immersive h1 { font-size: 42px; }
  .hero-immersive .hero-actions .button { padding-inline: 15px; gap: 18px; }
  .hero-capability strong { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-immersive .hero-art { transform: none !important; }
}
.article-image{margin:32px 0}.article-image img{display:block;width:100%;height:auto;border-radius:6px}.article-image figcaption{font-size:12px;color:#7d8d80;margin-top:8px}

/* Perception lens: the pointer (or an automatic patrol) reveals and locks onto scene targets. */
.hero-immersive .hero-art > img { filter: brightness(.8) saturate(.92); }
.hero-immersive .hero-art::after { background: linear-gradient(90deg, #071e1be6 0%, #071e1b99 34%, #071e1b00 62%), linear-gradient(0deg, #071e1bf2 0%, #071e1b00 30%), linear-gradient(180deg, #071e1b80 0%, #071e1b00 22%); }
.perception { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 1s var(--ease) .4s; }
.perception.is-ready { opacity: 1; }
.perception-stage { position: absolute; }
.hero-immersive .hero-art .perception-lens {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; animation: none;
  filter: brightness(1.22) contrast(1.06) saturate(1.05);
  -webkit-mask-image: radial-gradient(circle var(--lr, 150px) at var(--lx, 70%) var(--ly, 40%), #000 52%, transparent 100%);
  mask-image: radial-gradient(circle var(--lr, 150px) at var(--lx, 70%) var(--ly, 40%), #000 52%, transparent 100%);
}
.perception-box {
  --c: #d6e6d8;
  position: absolute; opacity: .3; color: var(--c);
  background:
    linear-gradient(var(--c), var(--c)) left top / 9px 1.5px, linear-gradient(var(--c), var(--c)) left top / 1.5px 9px,
    linear-gradient(var(--c), var(--c)) right top / 9px 1.5px, linear-gradient(var(--c), var(--c)) right top / 1.5px 9px,
    linear-gradient(var(--c), var(--c)) left bottom / 9px 1.5px, linear-gradient(var(--c), var(--c)) left bottom / 1.5px 9px,
    linear-gradient(var(--c), var(--c)) right bottom / 9px 1.5px, linear-gradient(var(--c), var(--c)) right bottom / 1.5px 9px;
  background-repeat: no-repeat;
  transition: opacity .35s var(--ease), transform .45s var(--ease), box-shadow .35s;
}
.perception-box > span {
  position: absolute; left: -1px; bottom: calc(100% + 5px); display: flex; align-items: baseline; gap: 7px;
  padding: 4px 7px; white-space: nowrap; background: #061b17d9; border-left: 2px solid var(--c);
  font-size: 11px; letter-spacing: .06em; color: #eef4ee;
  opacity: 0; transform: translateY(5px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.perception-box b { font-weight: 500; }
.perception-box i { font-style: normal; font-size: 9px; color: #a9c2b4; }
.perception-box.is-near { opacity: 1; }
.perception-box.is-muted { visibility: hidden; }
.perception-box.is-near > span { opacity: 1; transform: none; }
.perception-box.is-locked { --c: #ef7a5d; transform: scale(1.06); box-shadow: inset 0 0 0 1px #ef7a5d55, 0 0 24px #ef7a5d22; }
.perception-cursor { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.perception-cursor > i {
  position: absolute; left: -58px; top: -58px; width: 116px; height: 116px; border-radius: 50%;
  border: 1px solid #d6e6d866; transition: transform .45s var(--ease), border-color .3s;
}
.perception-cursor > i::before, .perception-cursor > i::after { content: ''; position: absolute; background: #d6e6d8aa; }
.perception-cursor > i::before { left: 50%; top: -7px; bottom: -7px; width: 1px; transform: translateX(-.5px); -webkit-mask: linear-gradient(#000 0 9px, transparent 9px calc(100% - 9px), #000 calc(100% - 9px)); mask: linear-gradient(#000 0 9px, transparent 9px calc(100% - 9px), #000 calc(100% - 9px)); }
.perception-cursor > i::after { top: 50%; left: -7px; right: -7px; height: 1px; transform: translateY(-.5px); -webkit-mask: linear-gradient(90deg, #000 0 9px, transparent 9px calc(100% - 9px), #000 calc(100% - 9px)); mask: linear-gradient(90deg, #000 0 9px, transparent 9px calc(100% - 9px), #000 calc(100% - 9px)); }
.perception-cursor.is-locked > i { transform: scale(.82); border-color: #ef7a5dcc; }
.perception-cursor > .mono {
  position: absolute; left: 70px; top: -9px; white-space: nowrap; font-size: 10px; letter-spacing: .1em;
  color: #d6e6d8; padding: 3px 6px; background: #061b17b3;
}
.perception-cursor.is-locked > .mono { color: #ffd9cd; }
.perception.is-tracking .perception-cursor > i { border-color: #e9f2eaa6; }
.perception-cursor.is-flipped > .mono { left: auto; right: 70px; }
@media (max-width: 680px) {
  .perception-cursor > i { left: -40px; top: -40px; width: 80px; height: 80px; }
  .perception-cursor > .mono { left: 50px; }
  .perception-box > span { font-size: 10px; padding: 3px 6px; }
  .perception-cursor.is-flipped > .mono { right: 50px; }
  .perception-box { opacity: 0; }
  .perception-box.is-near { opacity: .9; }
  .perception-box > span { display: none; }
  .perception-box.is-locked > span { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  .perception, .perception-box, .perception-box > span, .perception-cursor > i { transition: none; }
}
