:root {
  --color-bg: #eef3f8;
  --color-surface: #ffffff;
  --color-primary: #12355b;
  --color-primary-soft: #d9e8f6;
  --color-accent: #1f7a8c;
  --color-text: #1f2a37;
  --color-muted: #607083;
  --shadow-card: 0 24px 60px rgba(18, 53, 91, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: linear-gradient(135deg, var(--color-bg), #f8fbff);
  color: var(--color-text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--color-primary);
  box-shadow: 0 8px 24px rgba(18, 53, 91, 0.2);
}

.top-nav {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 4px;
  min-height: 100px;
  max-width: 1180px;
  margin: 0 auto;
  overflow: visible;
  padding: 0.45rem 1rem;
}

.brand,
.nav-links a {
  color: #ffffff;
  text-decoration: none;
}

.brand {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
  line-height: 1.25;
  max-width: 100%;
  padding-inline: 0.25rem;
}

.brand-primary {
  margin-bottom: 0.15rem;
}

.brand-tagline {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  opacity: 0.92;
  margin-top: 0.2rem;
  padding-bottom: 0.15rem;
}

.nav-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  flex-wrap: nowrap;
}

.nav-links-main {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.nav-exit-cmdp {
  flex: 0 0 auto;
}

.nav-links a {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  flex: 0 0 auto;
  padding: 0.28rem 0.48rem;
  font-size: 0.72rem;
  line-height: 1.05;
  text-align: center;
  white-space: normal;
  transition: background-color 160ms ease, color 160ms ease;
}

.nav-links a span {
  display: block;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a.is-active {
  background: #ffffff;
  color: var(--color-primary);
}

.slide-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.45rem 1rem 0.5rem;
}

.slide-card {
  --slide-content-gap: 4px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: var(--slide-content-gap);
  align-items: stretch;
  background: var(--color-surface);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
  padding: clamp(0.55rem, 1.6vw, 1.1rem) clamp(4.5rem, 6vw, 5.5rem);
}

.slide-page-footer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.35rem 1rem 0.85rem;
  text-align: center;
}

.slide-footer-meta {
  margin: 0;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  grid-column: 1 / -1;
  margin: 0 0 0.2rem;
  color: var(--color-primary);
  font-size: clamp(1.45rem, 2.9vw, 2.4rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.two-line-title span {
  display: block;
}

.two-line-title span:last-child {
  font-size: clamp(1rem, 1.9vw, 1.45rem);
  white-space: normal;
  text-wrap: balance;
}

.slide-figure {
  --slide-image-max-height: clamp(10rem, calc(100dvh - 11rem), 740px);
  grid-column: 1;
  position: relative;
  display: grid;
  justify-items: center;
  min-width: 0;
}

.slide-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: var(--slide-image-max-height);
  object-fit: contain;
  border: 1px solid var(--color-primary-soft);
  border-radius: 22px;
  background: #f7fbff;
}

.slide-image-wrap {
  position: relative;
  display: block;
  justify-self: center;
  aspect-ratio: 2056 / 1015;
  width: 100%;
  max-width: calc(var(--slide-image-max-height) * 2056 / 1015);
  min-width: 0;
}

.slide-image-wrap .slide-image {
  width: 100%;
  height: 100%;
  max-height: none;
}

.slide-hotspot-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.slide-hotspot {
  position: absolute;
  left: var(--zone-x);
  top: var(--zone-y);
  width: var(--zone-w);
  height: var(--zone-h);
  border: 2px solid transparent;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.slide-hotspot:hover,
.slide-hotspot:focus {
  border-color: #ffffff;
  background: rgba(31, 122, 140, 0.22);
  box-shadow: 0 0 0 3px rgba(18, 53, 91, 0.8);
  outline: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.slide-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(18, 53, 91, 0.86);
  box-shadow: 0 10px 24px rgba(18, 53, 91, 0.26);
  transform: translateY(-50%);
  transition: background-color 160ms ease, transform 160ms ease;
}

.slide-arrow:hover,
.slide-arrow:focus {
  background: var(--color-accent);
  transform: translateY(-50%) scale(1.06);
}

.slide-arrow::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 0.48rem solid transparent;
  border-bottom: 0.48rem solid transparent;
}

.slide-arrow-left {
  left: -3.5rem;
}

.slide-arrow-left::before {
  margin-right: 0.14rem;
  border-right: 0.72rem solid #ffffff;
}

.slide-arrow-right {
  right: calc(-1 * (var(--slide-content-gap) + 50% + 3.5rem));
}

.slide-arrow-right::before {
  margin-left: 0.14rem;
  border-left: 0.72rem solid #ffffff;
}

.fullscreen-toggle {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  width: 2.2rem;
  height: 2.2rem;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 0.65rem;
  background: rgba(18, 53, 91, 0.86);
  box-shadow: 0 10px 24px rgba(18, 53, 91, 0.26);
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.fullscreen-toggle:hover,
.fullscreen-toggle:focus {
  background: var(--color-accent);
  transform: scale(1.06);
}

.fullscreen-toggle::before,
.fullscreen-toggle::after {
  content: "";
  position: absolute;
  width: 0.72rem;
  height: 0.72rem;
}

.fullscreen-toggle::before {
  top: 0.62rem;
  left: 0.62rem;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  box-shadow: 0.9rem 0 0 -2px rgba(0, 0, 0, 0);
}

.fullscreen-toggle::after {
  right: 0.62rem;
  bottom: 0.62rem;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
}

.is-fullscreen-open {
  overflow: hidden;
}

.is-zone-modal-open {
  overflow: hidden;
}

.fullscreen-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  align-items: start;
  justify-items: center;
  overflow: hidden;
  padding: 4px;
  background: rgba(4, 15, 28, 0.92);
}

.fullscreen-overlay[hidden] {
  display: none;
}

.fullscreen-content {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(220px, 1fr);
  gap: 4px;
  align-items: start;
  width: 100%;
  max-width: 1800px;
  max-height: calc(100dvh - 8px);
}

.fullscreen-image-pane {
  display: grid;
  align-items: start;
  justify-items: start;
  min-height: 0;
}

.fullscreen-image {
  width: 100%;
  max-width: 100%;
  max-height: calc(100dvh - 8px);
  height: auto;
  border-radius: 10px;
  background: #ffffff;
}

.fullscreen-copy {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: 0;
  overflow-y: auto;
  max-height: calc(100dvh - 8px);
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid var(--color-primary-soft);
  border-radius: 10px;
  background: #ffffff;
  color: var(--color-text);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.fullscreen-copy p {
  margin: 0;
}

.fullscreen-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(18, 53, 91, 0.92);
  cursor: pointer;
}

.fullscreen-close:hover,
.fullscreen-close:focus {
  background: var(--color-accent);
}

.fullscreen-close::before,
.fullscreen-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.35rem;
  height: 2px;
  background: #ffffff;
}

.fullscreen-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.fullscreen-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.fullscreen-arrow {
  position: fixed;
  top: 50%;
  z-index: 1001;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(18, 53, 91, 0.88);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
  transform: translateY(-50%);
  transition: background-color 160ms ease, transform 160ms ease;
}

.fullscreen-arrow:hover,
.fullscreen-arrow:focus {
  background: var(--color-accent);
  transform: translateY(-50%) scale(1.06);
}

.fullscreen-arrow::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 0.58rem solid transparent;
  border-bottom: 0.58rem solid transparent;
}

.fullscreen-arrow-left {
  left: 1.25rem;
}

.fullscreen-arrow-left::before {
  margin-right: 0.18rem;
  border-right: 0.85rem solid #ffffff;
}

.fullscreen-arrow-right {
  right: 1.25rem;
}

.fullscreen-arrow-right::before {
  margin-left: 0.18rem;
  border-left: 0.85rem solid #ffffff;
}

.slide-copy {
  display: grid;
  grid-column: 2;
  align-content: start;
  gap: 1rem;
  margin-top: 0;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid var(--color-primary-soft);
  border-radius: 22px;
  background: #f7fbff;
  color: var(--color-text);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.slide-copy p {
  margin: 0;
}

@media (min-width: 1000px) {
  h1 {
    white-space: nowrap;
  }
}

@media (max-width: 1800px) {
  .slide-shell {
    max-width: none;
  }

  .slide-page-footer {
    max-width: none;
  }

  .slide-card {
    grid-template-columns: 1fr;
  }

  h1,
  .slide-figure,
  .slide-copy {
    grid-column: 1;
  }

  .slide-copy {
    justify-self: start;
    width: 100%;
    max-width: 100%;
  }

  .slide-arrow-right {
    right: 0.5rem;
  }
}

@media (max-width: 1800px) and (min-width: 761px) {
  .slide-image {
    width: 56vw;
    max-width: 100%;
    max-height: none;
  }

  .slide-image-wrap {
    width: 56vw;
    max-width: 100%;
  }

  .slide-image-wrap .slide-image {
    width: 100%;
    max-height: none;
  }

  .slide-copy {
    max-width: 100%;
  }
}

@media (max-width: 999px) {
  .slide-shell {
    padding-top: 0.35rem;
  }

  .slide-card {
    gap: 1rem;
    padding: clamp(1rem, 3vw, 1.75rem);
  }
}

.zone-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.zone-modal[hidden] {
  display: none;
}

.zone-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 15, 28, 0.72);
}

.zone-modal-panel {
  position: relative;
  z-index: 1;
  width: min(92vw, 36rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--color-primary-soft);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(4, 15, 28, 0.32);
}

.zone-modal-panel h2 {
  margin: 0 3rem 0.75rem 0;
  color: var(--color-primary);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.15;
}

.zone-modal-panel p {
  margin: 0;
  color: var(--color-text);
  font-size: 1.05rem;
}

.zone-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.45rem;
  height: 2.45rem;
  border: 0;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.zone-modal-close:hover,
.zone-modal-close:focus {
  background: var(--color-accent);
  outline: none;
  transform: scale(1.05);
}

.zone-modal-close::before,
.zone-modal-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.15rem;
  height: 2px;
  background: #ffffff;
}

.zone-modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.zone-modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 760px) {
  .top-nav {
    align-items: stretch;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 6px;
  }

  .nav-links-main {
    flex: 1 1 100%;
    justify-content: center;
    overflow-x: visible;
    flex-wrap: wrap;
  }

  .nav-exit-cmdp {
    margin-left: auto;
  }

  .nav-links a {
    font-size: 0.8rem;
  }

  .slide-card {
    --slide-content-gap: 1.25rem;
    grid-template-columns: 1fr;
    overflow: hidden;
    padding: clamp(1.25rem, 3vw, 2.4rem);
  }

  .slide-figure {
    --slide-image-max-height: clamp(10rem, calc(100dvh - 13rem), 560px);
    justify-items: center;
    width: 100%;
  }

  h1,
  .slide-figure,
  .slide-copy {
    grid-column: 1;
  }

  .slide-footer-meta {
    overflow-wrap: anywhere;
  }

  .slide-image {
    width: 70%;
    height: auto;
    max-height: none;
  }

  .slide-image-wrap {
    width: 70%;
    max-width: 100%;
  }

  .slide-arrow {
    width: 2.45rem;
    height: 2.45rem;
  }

  .slide-arrow-left {
    left: 0.5rem;
  }

  .slide-arrow-right {
    right: 0.5rem;
  }

  .fullscreen-toggle {
    right: 0.75rem;
    bottom: 0.75rem;
    width: 1.9rem;
    height: 1.9rem;
  }

  .fullscreen-overlay {
    padding: 4px;
  }

  .fullscreen-content {
    grid-template-columns: 1fr;
    gap: 4px;
    max-height: calc(100dvh - 8px);
  }

  .fullscreen-image {
    max-height: calc(65dvh - 8px);
  }

  .fullscreen-copy {
    max-height: calc(35dvh - 8px);
  }

  .fullscreen-arrow {
    width: 2.75rem;
    height: 2.75rem;
  }

  .fullscreen-arrow-left {
    left: 0.5rem;
  }

  .fullscreen-arrow-right {
    right: 0.5rem;
  }

  .slide-copy {
    width: 100%;
    max-width: 100%;
  }

  .slide-shell {
    padding-top: 1.25rem;
  }
}
