*, *::before, *::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body.hhx-index-self-protected {
  margin: 0;
  min-height: 100vh;
  background: #050b09;
  color: var(--info-card-text);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.hhx {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #050b09;
}

/* =========================================================
   ATRIUM BACKGROUNDS
   ========================================================= */

.atrium-bg,
.atrium-bg-next {
  position: fixed;
  inset: 0;
  z-index: -5;
  pointer-events: none;
  background-image: var(--atrium-background-image);
  background-position: var(--atrium-background-position);
  background-size: var(--atrium-background-size);
  background-repeat: var(--atrium-background-repeat);
  transform: scale(1.04);
}

.atrium-bg {
  transition: filter 0.22s ease;
}

.atrium-bg-next {
  z-index: -4;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
}

.atrium-bg-next.wipe-in {
  opacity: 1;
  animation: atrium-wipe 0.82s cubic-bezier(0.19, 0.83, 0.2, 1)
    forwards;
}

@keyframes atrium-wipe {
  0% {
    clip-path: inset(0 100% 0 0);
    filter: blur(10px) brightness(0.72);
  }

  55% {
    filter: blur(4px) brightness(0.88);
  }

  100% {
    clip-path: inset(0);
    filter: none;
  }
}

.theme-wash {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: var(--atrium-overlay-opacity);
  background:
    var(--division-texture),
    radial-gradient(
      circle at 78% 45%,
      var(--atrium-transition-accent),
      transparent 30%
    );
  transition:
    background 0.4s ease,
    opacity 0.4s ease;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 58% 50%,
      transparent 13%,
      rgba(0, 0, 0, 0.34) 60%,
      rgba(0, 0, 0, 0.82) 100%
    ),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.06),
      rgba(0, 0, 0, 0.25) 52%,
      rgba(0, 0, 0, 0.12)
    );
}

/* =========================================================
   TOP BAR
   ========================================================= */

.hhx-topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 30px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55),
    transparent
  );
}

.hhx-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e7d4bc;
  font-weight: 950;
  text-decoration: none;
}

.hhx-brand img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 7px;
  background: #efdec7;
  flex: 0 0 auto;
}

.hhx-topbar nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hhx-topbar nav a {
  color: rgba(231, 212, 188, 0.92);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 950;
  text-decoration: none;
}

.hhx-topbar a:hover {
  color: var(--atrium-active-color);
}

/* =========================================================
   MAIN LOBBY LAYOUT
   ========================================================= */

.lobby {
  width: 100%;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 50%) minmax(0, 50%);
  column-gap: 0;
  align-items: end;
  padding:
    clamp(72px, 8svh, 96px)
    0
    clamp(42px, 6.2svh, 86px);
}

/* =========================================================
   GEAR NAVIGATION
   ========================================================= */

.gear-zone {
  position: relative;
  grid-column: 1;
  justify-self: center;
  align-self: end;
  width: min(
    43vw,
    675px,
    calc((100svh - 170px) * 0.86268)
  );
  min-width: min(520px, 43vw);
  aspect-ratio: 1024 / 1187;
}

.hero-nav-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(
    0 35px 45px rgba(0, 0, 0, 0.66)
  );
}

.nav-tab-hit {
  cursor: pointer;
  pointer-events: all;
  transition: filter 0.2s ease;
}

.nav-tab-hit[aria-selected="true"] {
  filter: drop-shadow(
    0 0 13px var(--gear-active-glow)
  );
}

.nav-tab-hit:focus-visible {
  outline: none;
  filter:
    drop-shadow(
      0 0 5px var(--gear-focus-ring)
    )
    drop-shadow(
      0 0 14px var(--gear-active-glow)
    );
}

.active-glow {
  position: absolute;
  z-index: 4;
  width: 16%;
  height: 11%;
  border-radius: 999px;
  background: var(--gear-active-color);
  border: 1px solid var(--gear-active-border);
  box-shadow:
    0 0 28px var(--gear-center-ring-glow);
  filter: blur(19px);
  opacity: 0;
  transition:
    left 0.4s ease,
    top 0.4s ease,
    opacity 0.3s ease,
    background 0.3s ease;
  pointer-events: none;
  mix-blend-mode: screen;
}

.active-glow.on {
  opacity: 0.62;
}

/* =========================================================
   MADE BY HARDMAN PLAQUE
   ========================================================= */

.builder-plaque {
  position: absolute;
  z-index: 6;
  left: 0;
  bottom: 0;
  width: 175px;
  padding: 7px 9px;
  transform: scale(0.88);
  transform-origin: left bottom;
  border-radius: 10px;
  background:
    linear-gradient(
      135deg,
      #4f3218,
      #d4a867 50%,
      #3c2513
    );
  color: #130d07;
  text-align: center;
  border:
    1px solid rgba(255, 235, 190, 0.4);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  text-decoration: none;
}

.builder-plaque strong,
.builder-plaque span {
  display: block;
}

.builder-plaque strong {
  text-transform: uppercase;
  font-size: 0.64rem;
  letter-spacing: 1.4px;
}

.builder-plaque span {
  font-size: 0.62rem;
  font-weight: 900;
}

/* =========================================================
   STANDARD INFO CARD
   ========================================================= */

.info-frame {
  position: relative;
  grid-column: 2;
  justify-self: start;
  align-self: end;
  width: min(385px, 34vw);
  max-height: min(
    540px,
    calc(100svh - 158px)
  );
  overflow: auto hidden;
  padding: 19px;
  border-radius: 21px;
  color: var(--info-card-text);
  background:
    color-mix(
      in srgb,
      var(--info-card-surface)
        var(--info-card-opacity-percent),
      transparent
    );
  border: 1px solid var(--info-card-border);
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.55),
    0 0 30px
      color-mix(
        in srgb,
        var(--division-glow),
        transparent 78%
      );
  backdrop-filter: blur(14px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    border-color 0.3s ease,
    background 0.3s ease;
  scrollbar-width: thin;
}

.info-frame__content {
  position: relative;
  z-index: 2;
}

.info-frame__art {
  display: none;
}

/* =========================================================
   ILLUSTRATED INFO FRAMES
   Shared alignment:
   left edge 48px left of the atrium center line
   bottom aligned with the plaque baseline
   ========================================================= */

.info-frame--art {
  width: min(
    var(--frame-max-width),
    46vw
  );
  max-height: none;
  aspect-ratio: var(--frame-aspect-ratio);
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transform: translateX(-48px);
}

.info-frame--art .info-frame__art {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  user-select: none;
}

.info-frame--art .info-frame__content {
  position: absolute;
  inset:
    var(--frame-content-top)
    var(--frame-content-right)
    var(--frame-content-bottom)
    var(--frame-content-left);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.24rem;
  overflow: hidden;
  padding: 0.15rem 0.25rem;
  text-align: center;
}

.info-frame--art .division-logo,
.info-frame--art .frame-label,
.info-frame--art ul {
  display: none;
}

.info-frame--art h1 {
  margin: 0 0 0.12rem;
  color: var(--info-card-text);
  font-size: clamp(
    0.82rem,
    1.25vw,
    1.18rem
  );
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.info-frame--art p {
  margin: 0 0 0.16rem;
  color: var(--info-card-text-muted);
  font-size: clamp(
    0.52rem,
    0.68vw,
    0.66rem
  );
  line-height: 1.18;
}

.info-frame--art .frame-cta {
  align-self: center;
  min-width: 126px;
  padding: 0.45rem 0.76rem;
  font-size: clamp(
    0.56rem,
    0.7vw,
    0.68rem
  );
}

/* =========================================================
   SECURITY FRAME
   ========================================================= */

.security-frame-layout .info-frame__content {
  justify-content: center;
}

.security-frame-layout h1 {
  font-size: clamp(
    0.8rem,
    1.18vw,
    1.08rem
  );
}

.security-frame-layout p {
  font-size: clamp(
    0.5rem,
    0.64vw,
    0.62rem
  );
}

/* =========================================================
   PROPERTY FRAME
   ========================================================= */

.property-frame-layout .info-frame__content {
  justify-content: center;
  color: #2b160b;
}

.property-frame-layout h1 {
  color: #2b160b;
  font-size: clamp(
    0.78rem,
    1.12vw,
    1.04rem
  );
}

.property-frame-layout p {
  color: #68472f;
  font-size: clamp(
    0.5rem,
    0.63vw,
    0.61rem
  );
}

.property-frame-layout .frame-cta {
  border-color: rgba(91, 56, 28, 0.65);
  background: #2d1b10;
  color: #f7dfba;
}

/* =========================================================
   BUSINESS FRAME
   ========================================================= */

.business-frame-layout .info-frame__content {
  justify-content: center;
  color: #f8f6ef;
}

.business-frame-layout h1 {
  color: #f8f6ef;
  font-size: clamp(
    0.8rem,
    1.15vw,
    1.08rem
  );
}

.business-frame-layout p {
  color: #c7d0d8;
  font-size: clamp(
    0.5rem,
    0.64vw,
    0.62rem
  );
}

/* =========================================================
   INNOVATION LAB FRAME
   ========================================================= */

.innovation-frame-layout .info-frame__content {
  justify-content: center;
}

.innovation-frame-layout h1 {
  font-size: clamp(
    0.82rem,
    1.2vw,
    1.12rem
  );
}

.innovation-frame-layout p {
  font-size: clamp(
    0.5rem,
    0.65vw,
    0.63rem
  );
}

/* =========================================================
   INTERACTIVE STUDIOS FRAME
   ========================================================= */

.interactive-frame-layout .info-frame__content {
  justify-content: flex-start;
  padding-top: 5%;
}

.interactive-frame-layout h1 {
  font-size: clamp(
    0.95rem,
    1.55vw,
    1.35rem
  );
}

.interactive-frame-layout p {
  font-size: clamp(
    0.58rem,
    0.78vw,
    0.72rem
  );
  line-height: 1.22;
}

/* =========================================================
   KLYMAX FRAME
   ========================================================= */

.klymax-frame-layout .info-frame__content {
  justify-content: center;
  gap: 0.2rem;
  padding: 0.12rem 0.2rem;
}

.klymax-frame-layout h1 {
  font-size: clamp(
    0.8rem,
    1.2vw,
    1.08rem
  );
}

.klymax-frame-layout p {
  font-size: clamp(
    0.5rem,
    0.64vw,
    0.62rem
  );
}

/* =========================================================
   FRAME RETURN BUTTON
   ========================================================= */

.frame-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-width: 126px;
  margin-top: 0.08rem;
  padding: 0.43rem 0.72rem;
  border:
    1px solid
    color-mix(
      in srgb,
      var(--info-card-cta-border) 86%,
      white 14%
    );
  border-radius: 999px;
  background:
    color-mix(
      in srgb,
      var(--info-card-surface) 88%,
      transparent
    );
  color: var(--info-card-text);
  font-size: clamp(
    0.54rem,
    0.68vw,
    0.66rem
  );
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    0 0 18px
    color-mix(
      in srgb,
      var(--division-glow),
      transparent 75%
    );
}

.frame-back:hover {
  background:
    color-mix(
      in srgb,
      var(--division-glow) 22%,
      var(--info-card-surface)
    );
}

.frame-back:focus-visible {
  outline:
    3px solid var(--gear-focus-ring);
  outline-offset: 3px;
}

.frame-back[hidden] {
  display: none !important;
}

/* =========================================================
   CARD SWITCH ANIMATION
   ========================================================= */

.info-frame.soft-switching {
  opacity: 0.7;
}

.info-frame:not(.info-frame--art).soft-switching {
  transform: translateX(8px);
}

.info-frame--art.soft-switching {
  transform: translateX(-40px);
}

/* =========================================================
   STANDARD CARD CONTENT
   ========================================================= */

.division-logo {
  display: block;
  width: 100%;
  height: 58px;
  margin: 0 0 9px;
  object-fit: contain;
  object-position: left center;
}

.frame-label {
  color: var(--gear-label-highlight);
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: 1.8px;
  font-size: 0.62rem;
  margin-bottom: 8px;
}

.info-frame h1 {
  color: var(--info-card-text);
  font-size: clamp(
    1.45rem,
    2.35vw,
    2.55rem
  );
  line-height: 1.02;
  margin: 0 0 10px;
  letter-spacing: -0.8px;
}

.info-frame p {
  color: var(--info-card-text-muted);
  font-size: 0.82rem;
  line-height: 1.34;
  margin: 0 0 10px;
}

.info-frame ul {
  display: grid;
  gap: 6px;
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.info-frame li {
  padding: 7px 9px;
  font-size: 0.72rem;
  line-height: 1.2;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border:
    1px solid rgba(255, 255, 255, 0.09);
  color: var(--info-card-text);
  font-weight: 750;
}

.frame-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--info-card-cta-background);
  color: var(--info-card-cta-text);
  border:
    1px solid var(--info-card-cta-border);
  font-size: 0.75rem;
  font-weight: 950;
  text-decoration: none;
  box-shadow:
    0 0 24px var(--info-card-cta-glow);
}

.frame-cta:focus-visible,
.hhx-topbar a:focus-visible,
.builder-plaque:focus-visible {
  outline:
    3px solid var(--gear-focus-ring);
  outline-offset: 3px;
}

/* =========================================================
   CONTACT DIALOG
   ========================================================= */

.contact-dialog[hidden] {
  display: none;
}

.contact-dialog {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.contact-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
}

.contact-dialog__card {
  position: relative;
  width: min(100%, 760px);
  max-height: calc(100svh - 2rem);
  overflow: auto;
  padding:
    clamp(1.2rem, 3vw, 2rem);
  border:
    1px solid var(--info-card-border);
  border-radius: 22px;
  background: #091713;
  box-shadow:
    0 35px 100px rgba(0, 0, 0, 0.72);
}

.contact-dialog__card h2 {
  margin: 0 0 0.5rem;
  font-size:
    clamp(1.7rem, 4vw, 2.6rem);
}

.contact-dialog__card > p {
  color: #c6d8cf;
  line-height: 1.5;
}

.contact-dialog__card a {
  color: #d6b98a;
}

.contact-dialog__close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 2.7rem;
  height: 2.7rem;
  border:
    1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background:
    rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.contact-dialog__grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.contact-dialog label {
  display: grid;
  gap: 0.35rem;
  color: #d9e5df;
  font-size: 0.78rem;
  font-weight: 800;
}

.contact-dialog input,
.contact-dialog select,
.contact-dialog textarea {
  width: 100%;
  min-height: 2.8rem;
  border:
    1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #020806;
  color: #fff;
  padding: 0.65rem 0.75rem;
  font: inherit;
}

.contact-dialog textarea {
  min-height: 8rem;
  resize: vertical;
}

.contact-dialog__full {
  grid-column: 1 / -1;
}

.contact-dialog__status {
  min-height: 1.4rem;
  margin: 0.7rem 0;
  color: #ffd67a;
}

.contact-dialog__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-dialog-open {
  overflow: hidden;
}

/* =========================================================
   DIVISION ENTER TRANSITION
   ========================================================= */

.door-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  pointer-events: none;
  overflow: hidden;
}

.door-light {
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    radial-gradient(
      circle at 82% 45%,
      var(--atrium-transition-accent),
      transparent 12%
    ),
    radial-gradient(
      circle at 82% 45%,
      rgba(255, 255, 255, 0.82),
      transparent 5%
    );
}

.door-transition.zooming .door-light {
  animation:
    door-zoom 1.05s ease forwards;
}

@keyframes door-zoom {
  0% {
    opacity: 0;
    transform: scale(1);
  }

  45% {
    opacity: 0.75;
    transform: scale(1.35);
  }

  100% {
    opacity: 1;
    transform: scale(2.7);
  }
}

.door-transition.blackout {
  background: #000;
  transition: background 0.55s ease;
}

.splash-core {
  opacity: 0;
  transform: scale(0.92);
  width: min(620px, 72vw);
  filter:
    drop-shadow(
      0 0 42px
      var(--atrium-transition-accent)
    );
}

.door-transition.show-logo .splash-core {
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.splash-core img {
  display: block;
  width: 100%;
  max-height: 65vh;
  object-fit: contain;
  border-radius: 24px;
}

/* =========================================================
   SHARED COMING-SOON DIVISION PAGES
   ========================================================= */

.subpage-shell {
  min-height: 100vh;
  padding: 70px 22px;
  display: grid;
  place-items: center;
  color: var(--division-text);
  background:
    radial-gradient(
      circle at 50% 20%,
      color-mix(
        in srgb,
        var(--division-primary) 42%,
        transparent
      ),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #030807,
      var(--division-secondary) 52%,
      #030403
    );
}

.subpage-card {
  width: 100%;
  max-width: 1040px;
  display: grid;
  grid-template-columns:
    minmax(260px, 410px) 1fr;
  gap: clamp(22px, 4vw, 46px);
  align-items: center;
  padding: clamp(24px, 5vw, 48px);
  border:
    1px solid var(--division-border);
  border-radius: 34px;
  background:
    color-mix(
      in srgb,
      var(--division-surface) 88%,
      transparent
    );
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
}

.subpage-logo {
  display: block;
  width: 100%;
  max-height: 430px;
  object-fit: contain;
  object-position: center;
  border-radius: 20px;
  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.55),
    0 0 35px
      color-mix(
        in srgb,
        var(--division-glow),
        transparent 58%
      );
}

.subpage-copy .eyebrow {
  margin-bottom: 14px;
  color: var(--division-accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 950;
  font-size: 0.85rem;
}

.subpage-copy h1 {
  margin: 0 0 18px;
  color: var(--division-text);
  font-size:
    clamp(2.3rem, 5vw, 5rem);
  line-height: 0.92;
  letter-spacing: -2px;
}

.subpage-copy p {
  margin: 0 0 18px;
  color: var(--division-text-muted);
  font-size: 1.1rem;
  line-height: 1.55;
}

.subpage-copy ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 20px 0 28px;
  padding: 0;
}

.subpage-copy li {
  padding: 12px 14px;
  color: var(--division-text);
  background:
    rgba(255, 255, 255, 0.07);
  border:
    1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  font-weight: 800;
}

.subpage-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-built {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--division-text-muted);
  font-size: 0.78rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.footer-built:hover {
  color: var(--division-accent);
}

/* =========================================================
   SHORT DESKTOP SCREENS
   ========================================================= */

@media (max-height: 780px) and (min-width: 951px) {
  .lobby {
    padding-top: 66px;
    padding-bottom: 28px;
  }

  .gear-zone {
    width: min(
      38vw,
      560px,
      calc((100svh - 118px) * 0.86268)
    );
    min-width: 430px;
  }

  .info-frame:not(.info-frame--art) {
    width: min(370px, 33vw);
    max-height:
      calc(100svh - 122px);
    padding: 16px;
  }

  .info-frame--art {
    width: min(
      var(--frame-max-width),
      47vw
    );
    max-height:
      calc(100svh - 92px);
    padding: 0;
  }

  .interactive-frame-layout {
    width: min(
      var(--frame-max-width),
      40vw
    );
  }
}

/* =========================================================
   TABLET AND SMALL DESKTOP
   ========================================================= */

@media (max-width: 950px) {
  .hhx {
    min-height: 100svh;
    overflow: visible;
  }

  .hhx-topbar {
    position: relative;
    padding: 12px 14px;
  }

  .hhx-topbar nav {
    gap: 14px;
  }

  .lobby {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 18px 14px 44px;
    gap: 18px;
  }

  .gear-zone {
    width: min(92%, 520px);
    min-width: 0;
    align-self: center;
    flex: 0 0 auto;
  }

  .info-frame {
    width: min(100%, 520px);
    max-height: none;
    overflow: visible;
    align-self: center;
  }

  .info-frame--art {
    width: min(
      100%,
      var(--frame-max-width)
    );
    transform: none;
  }

  .info-frame--art.soft-switching {
    transform: translateX(8px);
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 620px) {
  .info-frame--art {
    aspect-ratio: auto;
    overflow: visible;
    padding: 19px;
    border:
      1px solid var(--info-card-border);
    border-radius: 21px;
    background:
      color-mix(
        in srgb,
        var(--info-card-surface)
          var(--info-card-opacity-percent),
        transparent
      );
    box-shadow:
      0 30px 100px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(14px);
  }

  .info-frame--art .info-frame__art {
    position: relative;
    height: auto;
    max-height: 310px;
    margin-bottom: 0.85rem;
  }

  .info-frame--art .info-frame__content {
    position: relative;
    inset: auto;
    display: block;
    overflow: visible;
    padding: 0;
    text-align: left;
  }

  .info-frame--art .frame-label {
    display: block;
  }

  .info-frame--art h1 {
    font-size: 1.55rem;
  }

  .info-frame--art p {
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .info-frame--art .frame-cta,
  .info-frame--art .frame-back {
    width: 100%;
    min-width: 0;
    margin-top: 0.55rem;
    font-size: 0.75rem;
  }

  .contact-dialog__grid {
    grid-template-columns: 1fr;
  }

  .contact-dialog__full {
    grid-column: auto;
  }
}

/* =========================================================
   DIVISION SUBPAGES
   ========================================================= */

@media (max-width: 800px) {
  .subpage-shell {
    padding: 34px 16px;
  }

  .subpage-card {
    grid-template-columns:
      minmax(0, 1fr);
  }

  .subpage-logo {
    max-width: 420px;
    max-height: 320px;
    margin: auto;
  }

  .footer-built {
    position: static;
    transform: none;
    margin-top: 22px;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .hhx-brand span {
    font-size: 0.82rem;
  }

  .hhx-topbar nav a {
    font-size: 0.72rem;
    letter-spacing: 0.8px;
  }

  .builder-plaque {
    width: 150px;
  }

  .division-logo {
    height: 48px;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }

  .atrium-bg-next.wipe-in {
    animation:
      atrium-fade 0.16s linear forwards;
  }

  .info-frame,
  .active-glow,
  .theme-wash {
    transition-duration: 0.12s;
  }

  .door-transition.zooming .door-light {
    animation:
      door-fade 0.18s linear forwards;
  }

  @keyframes atrium-fade {
    to {
      opacity: 1;
      clip-path: inset(0);
      filter: none;
    }
  }

  @keyframes door-fade {
    to {
      opacity: 1;
    }
  }
}