@font-face {
  font-family: Geist;
  src: url("assets/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  font-family: Geist, Arial, sans-serif;
  --navy: #0a1045;
  --navy-hover: #1b2465;
  --ivory: #fffce8;
  color: var(--ivory);
  background: var(--navy);
  font-synthesis: none;
  --menu-ease: cubic-bezier(.22, .75, .25, 1);
  --panel-glass: rgb(232 233 228 / 80%);
  --panel-edge: inset 0 1px rgb(255 255 255 / 65%);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 99px;
  background: var(--ivory);
  color: var(--navy);
  font-size: 14px;
  font-weight: 520;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}
.skip-link:focus { transform: none; }

.stage {
  --u: min(.078125cqw, .135svh);
  --hero-photo: url("assets/red-centre.webp");
  --hero-blur: 6px;
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  min-height: 420px;
  height: 100svh;
  overflow: clip;
}

.landscape {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: clip;
  background: var(--navy);
}
.landscape::before, .landscape::after {
  position: absolute;
  content: "";
}
.landscape::before {
  inset: calc(-2 * var(--hero-blur));
  background: var(--hero-photo) center / 100% 100% no-repeat;
  filter: blur(var(--hero-blur));
}
.landscape::after {
  inset: 0;
  background: linear-gradient(180deg,
    rgb(7 25 52 / 68%),
    rgb(12 44 77 / 28%) 36%,
    rgb(8 38 73 / 31%) 65%,
    rgb(7 25 52 / 69%));
}

.wordmark {
  position: absolute;
  z-index: 1;
  top: 3.489583%;
  left: 5.078125%;
  display: block;
  padding-block: calc(7 * var(--u));
  color: var(--ivory);
}
.wordmark-logo {
  display: block;
  width: auto;
  height: calc(19 * var(--u));
  overflow: visible;
}

.nav-items {
  position: absolute;
  z-index: 2;
  top: 3.3854%;
  left: 49.21875%;
  display: flex;
  align-items: center;
  gap: calc(4 * var(--u));
  white-space: nowrap;
}
.nav-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(8 * var(--u));
  min-width: calc(114 * var(--u));
  height: calc(37.5 * var(--u));
  padding: 0 calc(13 * var(--u));
  border: 0;
  border-radius: 99px;
  background: transparent;
  color: var(--ivory);
  font-size: calc(16.5 * var(--u));
  font-weight: 430;
  line-height: 1;
  transition: background-color 180ms ease;
}
.nav-item:nth-child(2) { min-width: calc(126.5 * var(--u)); }
.nav-item:nth-child(3) { min-width: calc(112 * var(--u)); }
.nav-item:hover, .nav-item[aria-expanded="true"], .nav-item[aria-current="page"] {
  background: rgb(248 248 240 / 12%);
}
.plus { position: relative; width: calc(9 * var(--u)); height: calc(9 * var(--u)); }
.plus::before, .plus::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: max(.75px, calc(1.1 * var(--u)));
  background: currentColor;
}
.plus::after {
  transform: rotate(90deg);
}

.menu-panels {
  position: absolute;
  z-index: 3;
  display: grid;
  top: 9.739583%;
  right: 5.078125%;
  width: min(calc(1011.5 * var(--u)), 89.84375%);
  margin-top: calc(-8 * var(--u));
  pointer-events: none;
}
.mega-menu {
  display: grid;
  grid-area: 1 / 1;
  grid-template-rows: minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  padding-top: calc(8 * var(--u));
  visibility: hidden;
  pointer-events: none;
}
.mega-menu.is-open, .mega-menu.is-closing { visibility: visible; }
.mega-menu.is-open { pointer-events: auto; }
.panel {
  display: grid;
  grid-template-columns: calc(744.5 * var(--u)) minmax(0, 1fr);
  min-height: calc(226 * var(--u));
  overflow: clip;
  border-radius: calc(22 * var(--u));
  background: var(--panel-glass);
  backdrop-filter: blur(calc(19 * var(--u)));
  box-shadow: var(--panel-edge);
  color: #171a17;
  transform-origin: top left;
}
.mega-menu.is-open .panel {
  animation: menu-in 300ms var(--menu-ease) both;
}
.mega-menu.is-closing .panel {
  animation: menu-out 185ms cubic-bezier(.32, 0, .65, .55) both;
}
@keyframes menu-in {
  from { clip-path: inset(0 0 100% 0 round calc(22 * var(--u))); opacity: 0; transform: translateY(calc(-9 * var(--u))); }
  38% { opacity: .83; }
  to { clip-path: inset(0 round calc(22 * var(--u))); opacity: 1; transform: none; }
}
@keyframes menu-out {
  from { clip-path: inset(0 round calc(22 * var(--u))); opacity: 1; transform: none; }
  to { clip-path: inset(0 0 28% 0 round calc(22 * var(--u))); opacity: 0; transform: translateY(calc(-8 * var(--u))); }
}

.tiles {
  display: grid;
  grid-template-rows: repeat(2, minmax(calc(98 * var(--u)), auto));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(5.5 * var(--u)) calc(4.5 * var(--u));
  margin: 0;
  padding: calc(13 * var(--u));
  list-style: none;
}
.tiles li { min-width: 0; }
.tile {
  --tile-glow: 0;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: calc(26 * var(--u)) minmax(0, 1fr);
  align-items: start;
  column-gap: calc(8 * var(--u));
  height: 100%;
  padding: calc(12.5 * var(--u)) calc(9 * var(--u)) calc(8 * var(--u));
  border-radius: calc(12 * var(--u));
  font-size: calc(13.5 * var(--u));
  line-height: 1.25;
}
.tile::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: rgb(255 255 255 / 48%);
  content: "";
  opacity: var(--tile-glow);
  transition: opacity 190ms ease;
}
.tile:hover { --tile-glow: 1; }
.tile img { display: block; width: calc(26 * var(--u)); height: calc(26 * var(--u)); object-fit: contain; }
.tile-heading { display: flex; align-items: center; flex-wrap: wrap; gap: calc(5 * var(--u)); }
.tile strong { display: block; font-weight: 500; line-height: 1.16; }
.tile-tag {
  padding: calc(1.5 * var(--u)) calc(6 * var(--u));
  border: max(.5px, calc(.65 * var(--u))) solid #4c4f4955;
  border-radius: calc(6 * var(--u));
  color: #4c4f49;
  font: calc(10.8 * var(--u)) / 1.15 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .025em;
  text-transform: uppercase;
}
.tile-description {
  display: block;
  margin-top: calc(6 * var(--u));
  color: #464842;
  line-height: 1.25;
}
.feature {
  --feature-blur: calc(var(--hero-blur) * 1.35);
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: end;
  gap: calc(9.5 * var(--u));
  overflow: clip;
  padding: calc(13 * var(--u));
  background: var(--navy);
  color: var(--ivory);
  font-size: calc(13.5 * var(--u));
  line-height: 1.25;
}
.feature::before, .feature::after {
  position: absolute;
  z-index: -1;
  content: "";
}
.feature::before {
  inset: calc(-2 * var(--feature-blur));
  background: var(--hero-photo) 63% center / cover no-repeat;
  filter: blur(var(--feature-blur));
}
.feature::after {
  inset: 0;
  background: linear-gradient(180deg,
    rgb(15 42 76 / 58%),
    rgb(14 43 78 / 47%) 42%,
    rgb(6 20 40 / 86%));
}
.feature > * { max-width: calc(206 * var(--u)); }
.feature strong, .brand-statement { font-weight: 510; }
.feature-link {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: calc(6 * var(--u));
  min-height: calc(34 * var(--u));
  padding: 0 calc(13 * var(--u));
  border-radius: 99px;
  background: var(--ivory);
  color: var(--navy);
  font-weight: 520;
  transition: background-color 180ms ease;
}
.feature-link:hover { background: #fff; }
.brand-statement { margin: 0; }

.hero-copy {
  position: absolute;
  left: 5.25%;
  bottom: 7.83%;
}
.hero-copy h1 {
  margin: 0 0 calc(21.5 * var(--u));
  font-size: calc(48 * var(--u));
  font-weight: 380;
  letter-spacing: -.012em;
  line-height: 1.1;
}
.hero-copy h1 span, .page-intro h1 span { color: #d6ccbb; }
.hero-copy p {
  margin: 0;
  font-size: calc(26 * var(--u));
  font-weight: 380;
  letter-spacing: -.014em;
  line-height: 1.33;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: calc(10 * var(--u));
  margin-top: calc(30 * var(--u));
}
.hero-button {
  display: inline-flex;
  align-items: center;
  gap: calc(8 * var(--u));
  min-height: max(40px, calc(46 * var(--u)));
  padding: 0 max(16px, calc(20 * var(--u)));
  border-radius: 99px;
  background: var(--ivory);
  color: var(--navy);
  font-size: max(14px, calc(16.5 * var(--u)));
  font-weight: 520;
  line-height: 1;
  transition: background-color 180ms ease;
}
.hero-button:hover { background: #fff; }
.hero-button.is-quiet {
  background: rgb(248 248 240 / 12%);
  color: var(--ivory);
  box-shadow: inset 0 0 0 1px rgb(255 252 232 / 22%);
  backdrop-filter: blur(12px);
}
.hero-button.is-quiet:hover { background: rgb(248 248 240 / 20%); }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 24px;
  color: rgb(255 252 232 / 66%);
  font-size: max(12px, calc(13 * var(--u)));
  line-height: 1.4;
}
.stage > .site-footer {
  position: absolute;
  right: 5.078125%;
  bottom: calc(22 * var(--u));
  left: 5.25%;
}
.site-footer p { margin: 0; }
.footer-legal { margin-left: 0.5em; color: rgb(255 252 232 / 50%); white-space: nowrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-links a { transition: color 160ms ease; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--ivory); }


@media (max-width: 720px) {
  .stage { --u: 1px; min-height: 470px; }
  .landscape::before { background-size: cover; background-position: 56% center; }
  .wordmark { top: 22px; left: 20px; padding-block: 4px; }
  .wordmark-logo { height: 16px; }
  .nav-items { top: 17px; right: 12px; left: auto; gap: 0; }
  .nav-item, .nav-item:nth-child(2), .nav-item:nth-child(3) {
    min-width: 0;
    height: 40px;
    padding: 0 9px;
    gap: 5px;
    font-size: 12px;
  }
  .plus { width: 7px; height: 7px; }

  .menu-panels { top: 68px; left: 12px; right: 12px; width: auto; }
  .feature-link { min-height: 32px; padding-inline: 12px; }
  .panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) 116px;
    min-height: 0;
    max-height: calc(100svh - 80px);
    border-radius: 16px;
  }
  .tiles {
    grid-template-rows: repeat(2, auto);
    gap: 4px;
    min-height: 0;
    padding: 8px;
    overflow: auto;
    overscroll-behavior: contain;
  }
  .tiles:empty { grid-template-rows: repeat(2, minmax(98px, auto)); }
  .tile { padding: 8px 6px; grid-template-columns: 21px minmax(0, 1fr); gap: 5px; font-size: 12px; }
  .tile img { width: 21px; height: 21px; }
  .tile-description { margin-top: 4px; }
  .tile-tag { font-size: 8px; padding: 1px 4px; }
  .feature {
    min-height: 116px;
    gap: 4px;
    padding: 12px;
    font-size: 12px;
  }
  .feature::before { background-position: 60% 60%; }

  .hero-copy { bottom: 92px; left: 20px; right: 20px; }
  .hero-actions { margin-top: 22px; }
  .stage > .site-footer { right: 20px; bottom: 20px; left: 20px; }
  .footer-legal { display: block; margin-left: 0; }
  .hero-copy h1 { margin-bottom: 13px; font-size: clamp(34px, 7.25vw, 48px); }
  .hero-copy p { max-width: 420px; font-size: clamp(16px, 4.35vw, 22px); }
  .desktop-break { display: none; }
}

@media (max-width: 345px) {
  .wordmark { left: 13px; }
  .wordmark-logo { height: 14px; }
  .nav-items { right: 7px; }
  .nav-item, .nav-item:nth-child(2), .nav-item:nth-child(3) {
    padding-inline: 6px;
    gap: 4px;
  }
  .tile { grid-template-columns: 16px minmax(0, 1fr); }
  .tile img { width: 16px; height: 16px; }
}

@media (max-width: 460px) {
  .nav-items {
    top: 56px;
    left: 12px;
    right: 12px;
    justify-content: center;
  }
  .nav-item, .nav-item:nth-child(2), .nav-item:nth-child(3) {
    padding-inline: 6px;
  }
  .menu-panels { top: 104px; }
  .panel { max-height: calc(100svh - 116px); }
  .tiles { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .tile { padding: 9px 8px; }
}

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