:root {
  color-scheme: dark;
  --blue-950: #06265f;
  --blue-900: #073b8f;
  --blue-700: #0d5ac7;
  --blue-500: #2f83ed;
  --gold: #f5c63c;
  --ink: #0d1b36;
  --paper: #ffffff;
  --mist: #eef7ff;
  --text: #f8fbff;
  --muted: #c9d8f2;
  --shadow: 0 28px 80px rgb(3 24 66 / 34%);
  --radius: 34px;
}

* { box-sizing: border-box; }

html { min-width: 320px; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: Inter, ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(circle at 14% 12%, rgb(47 131 237 / 42%), transparent 29rem),
    radial-gradient(circle at 88% 38%, rgb(245 198 60 / 16%), transparent 25rem),
    linear-gradient(145deg, var(--blue-950), var(--blue-900) 55%, #064aa8);
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  width: 22rem;
  height: 22rem;
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: 50%;
  content: "";
}

body::before { top: -9rem; right: -6rem; }
body::after { bottom: -14rem; left: -8rem; width: 30rem; height: 30rem; }

button, a { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }

.page-shell {
  width: min(1120px, calc(100% - 34px));
  margin-inline: auto;
  padding: 0 0 26px;
}

/* White top band keeps the blue emblem distinct from the blue page background. */
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-bottom: 30px;
  padding: clamp(20px, 3.2vw, 34px) max(20px, calc((100vw - 1120px) / 2));
  border-bottom: 4px solid var(--gold);
  background: var(--paper);
  box-shadow: 0 18px 46px rgb(3 24 66 / 24%);
}

.brand__logo {
  width: min(940px, calc(100vw - 40px));
  height: auto;
}

.hero { text-align: center; }

.hero__tagline {
  min-height: 1.25em;
  margin: 0 0 30px;
  font-size: clamp(2rem, 6vw, 4.75rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.hero__tagline span { color: #5fa7ff; }

.carousel {
  position: relative;
  max-width: 1020px;
  margin-inline: auto;
}

.carousel__stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 5px solid rgb(255 255 255 / 80%);
  border-radius: var(--radius);
  background: var(--mist);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.carousel__stage::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: calc(var(--radius) - 5px);
  box-shadow: inset 0 0 0 1px rgb(13 90 199 / 10%);
  pointer-events: none;
  content: "";
}

.slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity .7s ease, transform 1.2s ease;
}

.slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel__hit-area {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.carousel__hit-area:focus-visible {
  outline: 4px solid var(--gold);
  outline-offset: -8px;
  border-radius: calc(var(--radius) - 4px);
}

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 58px;
}

.carousel__arrow {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0 0 3px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 50%;
  background: rgb(255 255 255 / 10%);
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.carousel__arrow:hover { background: rgb(255 255 255 / 18%); transform: translateY(-1px); }
.carousel__arrow:focus-visible,
.dot:focus-visible,
.contact__link:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.carousel__dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 38%);
  cursor: pointer;
  transition: width .25s ease, border-radius .25s ease, background .25s ease;
}

.dot.is-active {
  width: 30px;
  border-radius: 999px;
  background: var(--gold);
}

.contact {
  padding: 32px 18px 4px;
  text-align: center;
}

.contact__message {
  margin: 0 0 20px;
  font-size: clamp(1.35rem, 3.6vw, 2.35rem);
  font-weight: 780;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.contact__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 999px;
  color: #fff;
  background: rgb(255 255 255 / 10%);
  font-size: clamp(1rem, 2.3vw, 1.25rem);
  font-weight: 760;
  text-decoration: none;
  box-shadow: 0 12px 30px rgb(3 24 66 / 18%);
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}

.contact__link:hover {
  border-color: rgb(245 198 60 / 72%);
  background: rgb(255 255 255 / 16%);
  transform: translateY(-2px);
}

.contact__signature {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: .82rem;
  letter-spacing: .02em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 680px) {
  .page-shell { width: min(100% - 22px, 1120px); }
  .brand { margin-bottom: 22px; padding-block: 18px; border-bottom-width: 3px; }
  .brand__logo { width: min(96vw, 860px); }
  .hero__tagline { margin-bottom: 16px; }
  .carousel__stage { border-width: 3px; border-radius: 24px; }
  .carousel__stage::after { border-radius: 21px; }
  .carousel__arrow { width: 34px; height: 34px; }
  .contact { padding-top: 22px; }
}

@media (max-width: 430px) {
  .brand { padding-block: 15px; }
  .brand__logo { width: calc(100vw - 24px); }
  .carousel__controls { min-height: 50px; }
  .carousel__arrow { display: none; }
  .contact__link { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
