@font-face {
  font-family: "INEF Josefin";
  src: url("./assets/fonts/JosefinSans-Variable.ttf") format("truetype");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

/* Macro Plex from Base 13, isolated from navigation and the other page heros. */
.hero.hero-macro { position: relative; isolation: isolate; overflow: hidden; padding: 0; background: #1b3b4a; color: #faf8f6; font-family: "INEF Josefin", "Manrope", sans-serif; animation: none; }
.hero.hero-macro::before, .hero.hero-macro::after { content: none; }
.mh-background, .mh-video { position: absolute; inset: 0; width: 100%; height: 100%; }
.mh-background { z-index: -1; overflow: hidden; background: #1b3b4a url("./assets/videos/macro-plex-poster.webp") center / cover; pointer-events: none; }
.mh-video { object-fit: cover; pointer-events: none; }
.mh-background::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(27 59 74 / 68%), rgb(17 46 60 / 66%) 55%, rgb(17 46 60 / 94%)); }
.mh-media-unavailable .mh-video { visibility: hidden; }
.mh-layout { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; width: min(1400px, 100%); min-height: max(720px, calc(100svh - 88px)); margin-inline: auto; padding: clamp(48px, 7svh, 88px) 32px 20px; }
.mh-center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; min-width: 0; text-align: center; }
.hero.hero-macro h1 { width: 100%; max-width: 1120px; margin: 0; color: #fff; font-family: inherit; font-size: clamp(36px, 5.8vw, 80px); font-weight: 600; line-height: 1.12; letter-spacing: -.035em; text-shadow: 0 2px 20px #00000026; }
.hero-macro h1 > span { display: block; text-wrap: balance; }
.hero-macro h1 > span:last-child { color: #dfb687; }
.hero.hero-macro h1[tabindex="-1"]:focus { outline: none; }
.mh-lead { max-width: 660px; margin: 25px 0 27px; color: #faf8f6; font-size: clamp(16px, 1.7vw, 20px); font-weight: 400; line-height: 1.6; }
.mh-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }
.mh-cta, .mh-secondary { display: inline-flex; align-items: center; justify-content: center; min-width: 240px; min-height: 52px; padding: 14px 25px; border: 1px solid #f2efea; border-radius: 99px; background: #f2efea; color: #1b3b4a; font-size: 16px; font-weight: 600; line-height: 1.4; text-decoration: none; transition: background 300ms, border-color 300ms; }
.mh-paths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; width: min(920px, 100%); flex: none; padding: 18px 0 23px; }
.mh-path { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; padding: 14px 12px; border-radius: 8px; color: #faf8f6; text-align: center; text-decoration: none; transition: background 300ms; }
.mh-path > svg { width: 28px; height: 28px; margin-bottom: 5px; color: #dfb687; transition: transform 300ms; }
.mh-path > strong { font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -.025em; }
.mh-path > span { color: #e4edef; font-size: 14px; line-height: 1.45; }
.hero.hero-macro :focus-visible { outline: 3px solid #dfb687; outline-offset: 4px; }
.hero-macro a:hover { text-decoration: none; }
.mh-cta:hover, .mh-secondary:hover { background: #ddd9d4; color: #1b3b4a; border-color: #ddd9d4; }
.mh-path:hover { background: #faf8f61a; }
@media (hover: hover) { .mh-path:hover > svg { transform: translateY(-4px); } }

/* A second composition shares the original content and video. */
.hero-macro--split .mh-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; column-gap: clamp(32px, 4vw, 64px); row-gap: 32px; min-height: 0; padding-block: clamp(48px, 6vw, 88px); }
.hero-macro--split .mh-center { align-items: flex-start; text-align: left; }
.hero.hero-macro--split :is(h1, h2) { width: 100%; margin: 0; color: #fff; font-family: inherit; font-size: clamp(36px, 4.25vw, 64px); font-weight: 600; line-height: 1.12; letter-spacing: -.035em; text-shadow: 0 2px 20px #00000026; }
.hero-macro--split :is(h1, h2) > span { display: block; text-wrap: pretty; }
.hero-macro--split :is(h1, h2) > span:last-child { color: #dfb687; }
.hero-macro--split :is(h1, h2)[tabindex="-1"]:focus { outline: none; }
.hero-macro--split .mh-lead { max-width: 540px; }
.hero-macro--split .mh-gallery-panel { display: grid; gap: 24px; width: 100%; max-width: 460px; min-width: 0; justify-self: end; }
.hero-macro--split .mh-image-column {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
}
.hero-macro--split .mh-image-column:nth-child(2) { margin-top: 44px; }
.mh-image-link { display: flex; flex-direction: column; text-decoration: none; }
.hero-macro--split .mh-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: clamp(12px, 1.5vw, 22px); width: 100%; }
.hero-macro--split .mh-gallery--cards { display: grid; }
body[data-hero-buttons="cards"] .mh-gallery--cards { display: grid; }
body[data-hero-buttons="cards"] .mh-gallery--image-buttons { display: none; }
.hero-macro--split .mh-gallery--image-buttons { align-items: center; gap: 12px; }
.mh-image-button { display: block; min-width: 0; border-radius: 18px; background: transparent; text-decoration: none; transform-origin: center; transition: transform 450ms cubic-bezier(.22,1,.36,1), filter 450ms ease; }
.mh-image-button:nth-child(2) { margin-top: 36px; }
.mh-image-button > img { display: block; width: 100%; height: auto; }
.mh-image-button:focus-visible { outline: 3px solid #dfb687; outline-offset: 6px; }
@media (hover: hover) {
  .mh-image-button:hover { transform: translateY(-6px) scale(1.025); filter: brightness(1.08) drop-shadow(0 8px 16px rgb(25 170 212 / 22%)); }
}
.mh-image-slot { position: relative; min-width: 0; aspect-ratio: 3 / 4.2; overflow: hidden; border: 1px solid rgb(250 248 246 / 28%); border-radius: 16px; background: rgb(250 248 246 / 6%); }
.mh-image-slot > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mh-image-slot--illustration { aspect-ratio: auto; border: 0; border-radius: 18px; background: #0b2939; }
.mh-image-column { filter: drop-shadow(0 16px 14px rgb(4 24 36 / 26%)); }
.mh-image-slot--illustration > img { position: static; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.mh-card-caption { position: relative; z-index: 1; margin-top: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 56px; padding: 10px 12px; border-top: 0; background: #0b2939; color: #fff; font-size: clamp(14px, 1.35vw, 18px); font-weight: 600; line-height: 1.35; }
.mh-image-slot--illustration:has(.mh-card-label) { container-type: inline-size; }
.mh-card-label { display: grid; flex: 1; min-width: 0; justify-items: start; gap: 2px; text-align: left; font-size: clamp(11px, 6.4cqi, 16px); line-height: 1.12; letter-spacing: .015em; font-weight: 700; }
.mh-card-label > span { white-space: nowrap; }
.mh-card-label::before { content: ""; display: block; width: 28px; height: 2px; margin-bottom: 6px; background: #dfb687; }
.mh-card-caption:has(.mh-card-label) { display: grid; grid-template-columns: minmax(0, 1fr) 40px; align-items: center; gap: 4px; min-height: 72px; padding: 4px 14px 12px; }
.mh-card-label { grid-column: 1; width: 100%; transition: color 300ms ease; }
.mh-card-caption:has(.mh-card-label) .mh-card-arrow { grid-column: 2; flex: none; width: 40px; height: 40px; border: 1px solid rgb(255 255 255 / 65%); background: transparent; }
.mh-card-caption:has(.mh-card-label) .mh-card-arrow svg { width: 34px; height: 34px; }
.mh-image-slot--illustration:has(.mh-card-label) > img { aspect-ratio: 1 / .88; object-fit: contain; padding: 14px 18px 0; box-sizing: border-box; }
.mh-image-slot--illustration:has(.mh-card-label):is(:hover, :focus-visible) .mh-card-label { color: #dfb687; }
.mh-card-arrow { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg,#dfb687,#b67d40); color: #fff; transition: background 300ms ease, border-color 300ms ease, color 300ms ease; }
.mh-card-arrow svg { width: 22px; height: 22px; }
.mh-image-slot--illustration:is(:hover, :focus-visible) .mh-card-arrow { background: #b67d40; border-color: #b67d40; color: #fff; }
.mh-image-slot { transition: transform 650ms cubic-bezier(.22,1,.36,1), box-shadow 650ms ease; }
.mh-image-slot > img { transition: filter 650ms ease, transform 650ms cubic-bezier(.22,1,.36,1); transform-origin: center 70%; }

@media (hover: hover) {
  .mh-image-column:hover .mh-image-link { box-shadow: 0 14px 32px rgb(7 30 43 / 22%); }
  .mh-image-column:hover img { filter: brightness(1.12) drop-shadow(0 0 9px rgb(94 190 220 / 28%));  }
}
.mh-image-link:focus-visible { outline: 3px solid #dfb687; outline-offset: 4px; }
@media (max-width: 700px) {
  .hero-macro--split .mh-layout { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .hero-macro--split .mh-center { max-width: 680px; justify-self: center; }
  .hero.hero-macro--split :is(h1, h2) { font-size: clamp(36px, 6.4vw, 56px); }
  .hero-macro--split .mh-lead { max-width: 620px; }
  .hero-macro--split .mh-gallery-panel { justify-self: center; max-width: 560px; }
}
@media (max-width: 1024px) {
  .mh-layout { padding: 48px 28px 20px; }
  .hero.hero-macro:not(.hero-macro--split) h1 { font-size: clamp(36px, 6.8vw, 64px); }
  .mh-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 660px; gap: 12px; padding: 0; }
  .mh-lead { margin-block: 24px; }
}
@media (max-width: 600px) {
  .mh-layout { min-height: calc(100svh - 76px); padding: 44px 20px 16px; gap: 28px; }
  .hero.hero-macro h1 { font-size: clamp(32px, 8.4vw, 48px); }
  .mh-lead { font-size: 16px; }
  .mh-actions { flex-direction: column; width: 100%; gap: 12px; }
  .mh-cta, .mh-secondary { width: 100%; min-width: 0; max-width: 360px; }
  .mh-paths { gap: 8px; }
  .mh-path { padding: 12px 4px; }
  .mh-path > strong { font-size: 18px; }
  .mh-path > span { font-size: 13px; }
  .hero.hero-macro--split :is(h1, h2) { font-size: clamp(32px, 8.4vw, 48px); }
  .hero-macro--split .mh-image-column:nth-child(2) { margin-top: 28px; }
  .hero-macro--split .mh-gallery-panel { max-width: 400px; gap: 20px; }
  .hero-macro--split .mh-gallery { gap: 14px; }
  .mh-image-slot:not(.mh-image-slot--illustration) { border-radius: 12px; }
  .mh-card-caption { gap: 7px; padding: 10px 9px; min-height: 62px; }
  .mh-card-arrow { flex-basis: 28px; width: 28px; height: 28px; }
  .mh-card-caption:has(.mh-card-label) { padding: 4px 6px 10px; gap: 4px; }
  .mh-card-caption:has(.mh-card-label) .mh-card-arrow { width: 40px; height: 40px; }
  .mh-card-caption:has(.mh-card-label) .mh-card-arrow svg { width: 34px; height: 34px; }
}
@media (max-width: 479px) {
  .hero-macro--split .mh-gallery--image-buttons { grid-template-columns: minmax(0, 1fr); max-width: 280px; margin-inline: auto; gap: 24px; }
  .mh-image-button:nth-child(2) { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .mh-image-button:hover { transform: none; }
  .mh-image-column:hover .mh-image-link, .mh-image-column:hover img, .mh-image-link:hover .mh-card-arrow { transform: none; }
  .hero-macro *, .hero-macro *::before, .hero-macro *::after { animation: none !important; transition: none !important; }
  .mh-path:hover > svg, .mh-cta:hover, .mh-secondary:hover { transform: none; }
}
@media print {
  .hero.hero-macro { background: #fff; color: #111; }
  .mh-background { display: none; }
  .mh-layout { min-height: 0; padding-block: 24px; }
  .hero.hero-macro h1, .hero-macro h1 > span:last-child, .mh-lead, .mh-path, .mh-path > span { color: #111; }
  .hero.hero-macro--split :is(h1, h2), .hero-macro--split :is(h1, h2) > span:last-child { color: #111; }
}

.hero-macro--split[data-hero-primary="true"] .mh-layout {
  min-height: clamp(680px, 88svh, 900px);
  padding-top: calc(var(--header-height, 88px) + clamp(36px, 5svh, 64px));
  padding-bottom: clamp(40px, 5svh, 64px);
}
.hero-macro--split .mh-paths { grid-column: 1 / -1; justify-self: center; width: 100%; max-width: 1040px; margin-top: 8px; }
@media (min-width: 701px) and (max-width: 1100px) {
  .hero-macro--split .mh-layout { column-gap: 28px; }
  .hero.hero-macro--split :is(h1, h2) { font-size: clamp(32px, 4.3vw, 48px); }
  .hero-macro--split .mh-lead { font-size: 17px; margin-block: 22px 0; }
  .hero-macro--split .mh-card-caption { font-size: 14px; }
  .hero-macro--split[data-hero-primary="true"] .mh-layout { min-height: 0; }
}
@media (max-width: 700px) {
  .hero-macro--split[data-hero-primary="true"] .mh-layout {
    min-height: 0;
    padding-top: calc(var(--header-height, 72px) + 28px);
    padding-bottom: 36px;
    row-gap: 24px;
  }
  .hero-macro--split .mh-gallery-panel { max-width: 400px; }
  .hero-macro--split .mh-lead { margin-block: 20px 0; }
}
@media print {
  .hero-macro--split[data-hero-primary="true"] .mh-layout { min-height: 0; padding-block: 24px; }
}






@container (max-width: 150px) {
  .mh-card-caption:has(.mh-card-label) { grid-template-columns: minmax(0, 1fr) 30px; justify-items: start; gap: 4px; }
  .mh-card-caption .mh-card-label { grid-column: 1; font-size: 11px; }
  .mh-card-caption:has(.mh-card-label) .mh-card-arrow { grid-column: 2; width: 30px; height: 30px; }
  .mh-card-caption:has(.mh-card-label) .mh-card-arrow svg { width: 26px; height: 26px; }
}




/* Base 24: text and artwork form one synchronized slide. */
.hero-macro--split .mh-unified-layout { display: flex; flex-direction: column; justify-content: center; }
.mh-slider { width: 100%; min-width: 0; border: 0; background: transparent; }
.mh-slide { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 4vw, 64px); }
.mh-slide[hidden] { display: none; }
.mh-slide-art { display: flex; flex-direction: column; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.mh-slide-art img { display: block; width: 100%; height: clamp(280px, 30vw, 420px); object-fit: contain; }
.mh-slide-art span { font-size: 18px; font-weight: 600; transition: color .25s ease; }
.mh-slide-art:hover { color: #dfb687; }
.mh-slider-dots { display: flex; justify-content: center; gap: 4px; margin-top: 20px; }
.mh-slider-dots button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.mh-slider-dots button::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: rgb(255 255 255 / 40%); }
.mh-slider-dots button[aria-pressed="true"]::after { width: 24px; border-radius: 6px; background: #dfb687; }
@media (max-width: 700px) {
  .mh-slide { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .mh-slide-art img { height: clamp(230px, 65vw, 320px); }
  .mh-slider-dots { margin-top: 12px; }
}
