:root {
  --hm-night: #101a31;
  --hm-ink: #13203c;
  --hm-paper: #f7f4ed;
  --hm-orange: #ff774e;
  --hm-pad: clamp(22px, 6.4vw, 100px);
}
.hm-hero, .hm-media { font-family: Manrope, system-ui, sans-serif; }
.hm-hero {
  position: relative;
  isolation: isolate;
  color: var(--hm-paper);
  background: radial-gradient(ellipse at 78% 32%, #273864 0%, #172442 42%, var(--hm-night) 72%);
}
.hm-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.hm-grid::after {
  content: "";
  position: absolute;
  inset: -25% -10%;
  transform: rotate(-14deg) skewX(-11deg);
  background-image: linear-gradient(#b4c1fa23 1px,transparent 1px), linear-gradient(90deg,#b4c1fa23 1px,transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(90deg,transparent 12%,#000 66%,#000 100%);
}
.hm-hero-inner {
  width: min(100%, 1600px);
  margin-inline: auto;
  padding: clamp(100px, 12vw, 168px) var(--hm-pad) 0;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: center;
  gap: 18px 22px;
}
.hm-copy { position: relative; z-index: 2; padding-block: 30px 44px; min-width: 0; }
.hm-location { margin: 0 0 19px; display: flex; align-items: center; gap: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; font-size: 11px; }
.hm-location span { width: 8px; height: 8px; background: var(--hm-orange); border-radius: 50%; }
.hm-copy h1 {
  margin: 0; font-size: clamp(55px,8.5vw,132px); font-weight: 850; line-height: .87; letter-spacing: -.106em;
  color: var(--hm-paper); white-space: nowrap; text-transform: none;
}
.hm-copy h1 span { display: block; color: var(--hm-orange); margin-top: .07em; }
.hm-lead { color: #d2dbed; max-width: 29rem; font-size: clamp(14px,1.55vw,20px); line-height: 1.55; margin: 26px 0 24px; }
.hm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 17px; }
.hm-actions a, .hm-hero-footer nav a, .hm-media-head a { text-decoration: none; font-weight: 800; font-size: 13px; }
.hm-primary {
  display: inline-flex; align-items: center; gap: 14px; padding: 13px 17px;
  color: #10192b; background: var(--hm-paper); border-radius: 999px;
}
.hm-primary:hover { background: var(--hm-orange); }
.hm-secondary { display: inline-flex; align-items: center; gap: 8px; color: var(--hm-paper); }
.hm-secondary span { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #e1ebff60; border-radius: 50%; font-size: 9px; }
.hm-composition { position: relative; min-height: clamp(365px, 42vw, 610px); isolation: isolate; min-width: 0; }
.hm-type { pointer-events: none; position: absolute; top: 12%; right: 1%; color: transparent; -webkit-text-stroke: 1px #b0beef8c; line-height: .8; font-size: clamp(110px, 16vw, 250px); font-weight: 900; letter-spacing: -.12em; }
.hm-orbit { position: absolute; inset: 5% 3% 10% 14%; border: 1px solid #ced6ff4d; border-radius: 50%; transform: rotate(-28deg) scaleY(.62); }
.hm-photo { position: absolute; margin: 0; box-shadow: 0 18px 40px #0d132b80; }
.hm-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hm-photo-main { inset: 25% 8% 11% 11%; background: #d7dded; transform: rotate(-6deg); border: 7px solid var(--hm-paper); }
.hm-photo-main img { filter: saturate(.72); object-position: 50% 46%; }
.hm-photo-main figcaption { position: absolute; left: -1px; right: -1px; bottom: -1px; background: var(--hm-paper); color: var(--hm-ink); display: flex; align-items: center; justify-content: space-between; font-weight: 800; font-size: 11px; padding: 7px 9px 3px; }
.hm-photo-small { right: 2%; bottom: 7%; width: 30%; height: 24%; transform: rotate(11deg); border: 5px solid var(--hm-paper); }
.hm-stamp {
  position: absolute; left: 8%; bottom: 6%; z-index: 2; color: #1b1835;
  background: var(--hm-orange); padding: 8px 11px; border-radius: 4px;
  font-size: clamp(13px,2.1vw,27px); font-weight: 800; white-space: nowrap; transform: rotate(-10deg);
}
.hm-stamp span { padding-inline: 3px; }
.hm-hero-footer { grid-column: 1/-1; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid #dfeaff31; min-height: 63px; }
.hm-hero-footer nav { display: flex; align-items: center; gap: clamp(12px,3vw,38px); }
.hm-hero-footer nav a { color: #dce4f3; }
.hm-hero-footer nav a:hover { color: var(--hm-orange); }
.hm-ask { position: relative; z-index: 5; }
.hm-ask summary { cursor: pointer; list-style: none; font-weight: 800; color: #fff4e9; font-size: 13px; white-space: nowrap; }
.hm-ask summary::-webkit-details-marker { display: none; }
.hm-ask summary span { margin-left: 4px; }
.hm-ask .hero-dialogue {
  position: absolute !important; top: auto !important; bottom: 31px !important; right: 0 !important; left: auto !important;
  display: block !important; width: min(338px, calc(100vw - 45px)) !important; max-width: none !important; transform: none !important; margin: 0 !important;
}
.hm-media {
  background: #ede9e0; color: var(--hm-ink); padding: clamp(38px,6.5vw,104px) var(--hm-pad); scroll-margin-top: 70px;
}
.hm-media-head, .hm-gallery { width: min(100%,1400px); margin-inline: auto; }
.hm-media-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: clamp(19px,3vw,42px); }
.hm-media-head h2 { color: inherit; font-weight: 850; margin: 0; font-size: clamp(42px,8vw,104px); letter-spacing: -.1em; line-height: .88; }
.hm-media-head a { color: inherit; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.hm-gallery { display: grid; grid-template-columns: minmax(0,1fr) minmax(235px,32%); gap: clamp(12px,2vw,28px); align-items: start; }
.hm-screen { overflow: hidden; background: #18243f; aspect-ratio: 16/9; border-radius: 12px; }
.hm-screen [hidden] { display: none !important; }
.hm-screen-image { height: 100%; overflow: hidden; }
.hm-screen-image img, .hm-screen video { display: block; width: 100%; height: 100%; }
.hm-screen-image img { object-fit: cover; }
.hm-screen video { object-fit: contain; }
.hm-gallery-nav { display: grid; gap: 8px; }
.hm-scene {
  display: grid; grid-template-columns: 62px 1fr auto; align-items: center; gap: 10px; padding: 7px;
  text-align: left; width: 100%; min-height: 57px; border: 1px solid #1a25452b; border-radius: 8px;
  color: var(--hm-ink); background: transparent; font: 800 13px/1.25 Manrope,system-ui,sans-serif; cursor: pointer;
}
.hm-scene[aria-pressed="true"] { color: #fff7ec; background: var(--hm-ink); border-color: var(--hm-ink); }
.hm-scene > span:last-child { padding: 0 6px 0 0; color: inherit; }
.hm-scene img { width: 62px; height: 41px; object-fit: cover; border-radius: 4px; }
html[data-theme="dark"] .hm-media { background: #171e34; color: #f9f4e9; }
html[data-theme="dark"] .hm-scene { border-color: #8494c460; color: #f9f4e9; }
html[data-theme="dark"] .hm-scene[aria-pressed="true"] { background: #e9e4d9; color: #14203d; }
.hm-hero :focus-visible, .hm-media :focus-visible { outline: 3px solid var(--hm-orange); outline-offset: 3px; }

.hm-program .p28-intro, .hm-editorial .page-intro {
  isolation: isolate; position: relative; overflow: hidden; color: #f7f4ed;
  background: radial-gradient(ellipse at 92% 20%, #303f6e, #17233e 58%, #101a31 100%) !important;
}
.hm-program .p28-intro { padding-inline: clamp(18px,4.8vw,76px); padding-block: clamp(33px,5vw,85px); margin-bottom: clamp(18px,3vw,42px); border-radius: 15px; }
.hm-program .p28-intro::after, .hm-editorial .page-intro::after {
  content:""; position:absolute; z-index:-1; inset:-70% -25% -70% 32%; pointer-events:none; rotate:-15deg;
  background: repeating-linear-gradient(0deg,transparent 0 48px,#d4e4ff2a 48px 49px), repeating-linear-gradient(90deg,transparent 0 48px,#d4e4ff2a 48px 49px);
  mask-image: linear-gradient(90deg,transparent 0%,#000 55%);
}
.hm-program .p28-intro h1, .hm-editorial .page-intro h1 { color: #fff7ee !important; letter-spacing: -.08em; }
.hm-program .p28-intro p, .hm-editorial .page-intro p { color: #e0e6f5 !important; }
.hm-program .p28-intro :is(.eyebrow, .p28-kicker), .hm-editorial .page-intro .eyebrow { color: #ff9774 !important; }

@media(prefers-reduced-motion:no-preference) {
  .hm-photo-main { animation: hm-arrive 780ms cubic-bezier(.21,.7,.27,1) both; }
  .hm-photo-small { animation: hm-pop 950ms 100ms cubic-bezier(.21,.7,.27,1) both; }
  .hm-screen-image.is-animate { animation: hm-media-cut 440ms cubic-bezier(.21,.7,.27,1); }
}
@keyframes hm-arrive { from { opacity: 0; transform: translate(14px,18px) rotate(-1deg); } to { opacity: 1; transform: rotate(-6deg); } }
@keyframes hm-pop { from { opacity: 0; transform: translate(-12px,10px) rotate(3deg); } to { opacity: 1; transform: rotate(11deg); } }
@keyframes hm-media-cut { from { opacity: .2; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }
@media(max-width: 820px) {
  .hm-hero-inner { padding-top: 104px; }
  .hm-copy h1 { font-size: clamp(43px,9.3vw,76px); }
  .hm-composition { min-height: clamp(260px,49vw,400px); }
  .hm-photo-main { inset: 27% 9% 9% 9%; }
}
@media(max-width: 620px) {
  .hm-hero-inner { grid-template-columns: minmax(0,1fr); gap: 0; padding-top: 68px; }
  .hm-copy { padding: 29px 0 12px; }
  .hm-location { margin-bottom: 14px; font-size: 10px; }
  .hm-copy h1 { font-size: clamp(50px,15.3vw,91px); }
  .hm-lead { margin: 18px 0; }
  .hm-composition { min-height: clamp(215px,69vw,365px); margin-top: 4px; }
  .hm-photo-main { inset: 22% 10% 13% 8%; border-width: 5px; }
  .hm-photo-small { border-width: 3px; }
  .hm-type { top: 6%; font-size: clamp(105px,30vw,170px); }
  .hm-hero-footer { min-height: 57px; }
  .hm-hero-footer nav a, .hm-ask summary { font-size: 11px; }
  .hm-gallery { grid-template-columns: minmax(0,1fr); }
  .hm-gallery-nav { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .hm-scene { grid-template-columns: 1fr; align-content: start; padding: 5px; gap: 5px; font-size: 10px; }
  .hm-scene img { width: 100%; height: auto; aspect-ratio: 2.05; }
  .hm-scene > span:last-child { display: none; }
  .hm-media-head a { font-size: 11px; }
}
