:root {
  --teal: #147375;
  --teal-dark: #025153;
  --teal-deep: #003d3f;
  --teal-soft: #62a7ac;
  --magenta: #cf0a5b;
  --white: #ffffff;
  --shell: 78rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--teal-deep);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body,
a,
button {
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.shell {
  width: min(var(--shell), calc(100% - 4rem));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 100;
  padding: .75rem 1rem;
  color: var(--teal-deep);
  background: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.stage {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.stage-image,
.stage-tint,
.stage-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.stage-image {
  z-index: -4;
  object-fit: cover;
  object-position: 56% center;
  transform: scale(1.035);
  animation: imageIn 1.2s cubic-bezier(.2, .75, .25, 1) forwards;
}

.stage-tint {
  z-index: -3;
  background: rgba(0, 61, 63, .47);
}

.stage-panel {
  z-index: -2;
  width: min(67rem, 68vw);
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal-dark) 76%, var(--teal-soft) 125%);
  clip-path: polygon(0 0, 78% 0, 100% 100%, 0 100%);
}

.stage::after {
  position: absolute;
  top: 0;
  right: clamp(1.5rem, 5vw, 5rem);
  z-index: -1;
  width: clamp(.55rem, .8vw, .9rem);
  height: 31vh;
  background: var(--magenta);
  content: "";
  transform: translateY(-100%);
  animation: barIn .75s cubic-bezier(.2, .75, .25, 1) .35s forwards;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  border-bottom: 1px solid #d9e4e2;
  color: var(--teal-deep);
  background: var(--white);
}

.header-inner {
  display: flex;
  min-height: 6.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 14rem;
  height: auto;
}

.header-status {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0;
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.header-status span {
  width: .62rem;
  height: .62rem;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 0 .3rem rgba(207, 10, 91, .2);
}

.stage-inner {
  display: flex;
  min-height: 100svh;
  align-items: center;
  padding-top: 7.5rem;
  padding-bottom: 9rem;
}

.stage-copy {
  width: min(52rem, 66vw);
}

.eyebrow {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, .74);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3.8rem, 6vw, 6.25rem);
  font-weight: 800;
  line-height: .94;
}

h1 span {
  color: var(--magenta);
}

.intro {
  max-width: 39rem;
  margin: 1.6rem 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 1.08rem;
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  padding: .9rem 1.35rem;
  border: 1px solid transparent;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.button svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  color: var(--white);
  background: var(--magenta);
}

.button-secondary {
  border-color: rgba(255, 255, 255, .6);
  color: var(--white);
  background: transparent;
}

.button-primary:hover,
.button-primary:focus-visible {
  color: var(--teal-deep);
  background: var(--white);
  transform: translateY(-2px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--white);
  color: var(--teal-deep);
  background: var(--white);
  transform: translateY(-2px);
}

.service-dock {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  display: grid;
  min-height: 6.5rem;
  grid-template-columns: minmax(15rem, 1fr) minmax(15rem, 1fr) 1.25fr;
  padding-left: max(2rem, calc((100vw - var(--shell)) / 2));
  background: rgba(255, 255, 255, .96);
  color: var(--teal-deep);
}

.service-dock > a {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 1.2rem 2rem;
  border-right: 1px solid #d9e4e2;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.service-dock > a:hover,
.service-dock > a:focus-visible {
  color: var(--white);
  background: var(--teal);
}

.dock-label {
  margin-bottom: .35rem;
  color: var(--teal);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.service-dock > a:hover .dock-label,
.service-dock > a:focus-visible .dock-label {
  color: rgba(255, 255, 255, .75);
}

.service-dock strong {
  font-size: 1rem;
}

.legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  padding: 1.2rem max(2rem, calc((100vw - var(--shell)) / 2)) 1.2rem 2rem;
}

.legal a {
  color: var(--teal-dark);
  font-size: .92rem;
  text-underline-offset: .25em;
}

.legal a:hover,
.legal a:focus-visible {
  color: var(--magenta);
}

@keyframes imageIn {
  to { transform: scale(1); }
}

@keyframes barIn {
  to { transform: translateY(0); }
}

@media (max-width: 1100px) {
  .stage-image {
    object-position: 64% center;
  }

  .stage-panel {
    width: 64vw;
    clip-path: polygon(0 0, 65% 0, 100% 100%, 0 100%);
  }

  .intro {
    max-width: 35rem;
  }
}

@media (max-width: 900px) {
  .stage-panel {
    width: 68vw;
  }

  .stage-copy {
    width: min(42rem, 60vw);
  }

  .service-dock {
    grid-template-columns: 1fr 1fr;
    padding-left: 0;
  }

  .legal {
    grid-column: 1 / -1;
    justify-content: center;
    padding: .5rem 1rem;
    border-top: 1px solid #d9e4e2;
  }
}

@media (max-width: 900px) {
  .shell {
    width: calc(100% - 2rem);
  }

  .stage {
    min-height: 100svh;
    overflow-x: hidden;
    overflow-y: auto;
    background: linear-gradient(145deg, var(--teal-deep) 0%, var(--teal-dark) 78%, var(--teal-soft) 135%);
  }

  .stage-image {
    position: relative;
    inset: auto;
    z-index: 0;
    height: 15rem;
    margin-top: 5.5rem;
    object-position: 67% center;
  }

  .stage-tint {
    inset: 5.5rem 0 auto;
    z-index: 1;
    height: 15rem;
    background: rgba(0, 61, 63, .24);
  }

  .stage-panel {
    display: none;
  }

  .stage::after {
    top: 5.5rem;
    right: 1rem;
    z-index: 3;
    height: 6rem;
  }

  .header-inner {
    min-height: 5.5rem;
  }

  .brand {
    padding: 0;
  }

  .brand img {
    width: 12rem;
  }

  .header-status {
    display: none;
  }

  .stage-inner {
    position: relative;
    z-index: 2;
    min-height: 0;
    align-items: flex-start;
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
  }

  .stage-copy {
    width: 100%;
  }

  .eyebrow {
    margin-bottom: 1rem;
    font-size: .7rem;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.9rem, 12.8vw, 3.4rem);
    line-height: .95;
  }

  .intro {
    margin-top: 1.2rem;
    font-size: .96rem;
    line-height: 1.52;
  }

  .actions {
    margin-top: 1.4rem;
  }

  .button {
    min-height: 3.25rem;
    padding: .8rem 1rem;
    font-size: .84rem;
  }

  .service-dock {
    position: relative;
    inset: auto;
    min-height: 7rem;
  }

  .service-dock > a {
    padding: .8rem 1rem;
  }

  .dock-label {
    font-size: .6rem;
  }

  .service-dock strong {
    font-size: .82rem;
  }

  .legal a {
    font-size: .84rem;
  }
}

@media (max-width: 390px) and (max-height: 740px) {
  .header-status {
    display: none;
  }

  .stage-inner {
    padding-top: 2rem;
  }

  h1 {
    font-size: 2.75rem;
  }

  .intro {
    font-size: .9rem;
  }

  .actions {
    margin-top: 1rem;
  }
}

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