:root {
  color-scheme: light;
  --background: #b5c0c4;
  --foreground: #f3f3f3;
  --display-serif: "ivypresto-display", "IvyPresto Display", "IvyPrestoDisplay", "Iowan Old Style", Baskerville, "Times New Roman", serif;
  --plain-sans: "instrument-sans-variable", "Instrument Sans", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: var(--background);
}

body {
  color: var(--foreground);
  font-family: var(--plain-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

button,
a {
  color: inherit;
}

button {
  font: inherit;
}

.site-shell,
.landing,
.info-panel {
  min-height: 100svh;
  min-height: 100dvh;
}

.landing {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.panel-toggle {
  position: fixed;
  z-index: 30;
  top: 27px;
  left: 50%;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--display-serif);
  font-size: 25px;
  font-weight: 600;
  line-height: 65px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transform: translateX(-50%);
  cursor: pointer;
}

.panel-toggle::after {
  position: absolute;
  right: 0;
  bottom: 12px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.toggle-label {
  display: block;
}

.close-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  display: none;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
}

.close-icon::before,
.close-icon::after {
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  content: "";
}

.close-icon::before {
  transform: rotate(45deg);
}

.close-icon::after {
  transform: rotate(-45deg);
}

.panel-toggle[aria-expanded="true"] {
  width: 44px;
  height: 65px;
}

.panel-toggle[aria-expanded="true"] .toggle-label {
  visibility: hidden;
}

.panel-toggle[aria-expanded="true"] .close-icon {
  display: block;
}

.panel-toggle[aria-expanded="true"]::after {
  transform: scaleX(0);
}

.panel-toggle[aria-expanded="true"]:hover::after,
.panel-toggle[aria-expanded="true"]:focus-visible::after {
  transform: scaleX(0);
}

.panel-toggle:hover::after,
.panel-toggle:focus-visible::after {
  transform: scaleX(1);
}

.panel-toggle:focus-visible,
.info-content a:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 8px;
}

.landing-title {
  position: absolute;
  z-index: 5;
  top: 35.45dvh;
  left: 50%;
  width: min(86.25vw, 1242px);
  height: 310px;
  margin: 0;
  font-family: var(--display-serif);
  font-size: clamp(52px, 5.9vw, 85px);
  font-style: normal;
  font-weight: 400;
  line-height: 74px;
  letter-spacing: 0.01em;
  text-align: center;
  text-wrap: balance;
  transform: translateX(-50%);
}

.landing-title em {
  font-style: italic;
  font-weight: 400;
}

.with-word {
  margin-right: -2px;
}

.title-line {
  display: block;
}

.mobile-copy {
  display: none;
}

@media (min-width: 701px) {
  .desktop-copy em {
    letter-spacing: 0.02em;
  }

  .desktop-copy .agency-prefix {
    margin-right: -3px;
  }
}

.showcase {
  position: absolute;
  z-index: 10;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.showcase-media {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: min(var(--image-width, 650px), 78vw);
  max-width: none;
  max-height: 62svh;
  object-fit: contain;
  opacity: 0;
  transform: translate(-50%, -50%);
}

.showcase-video {
  background: transparent;
}

.showcase-media.is-cropped {
  width: min(590px, 78vw, 83.71svh);
  height: min(437px, 57.76vw, 62svh);
  aspect-ratio: var(--crop-ratio);
  object-fit: cover;
  object-position: center;
}

.showcase-video-frame {
  overflow: hidden;
}

.showcase-video-frame .showcase-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.72);
  transform-origin: center 38%;
}

.showcase-media.is-visible {
  opacity: 1;
}

.info-panel {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 120px clamp(24px, 5vw, 72px) 72px;
  background: var(--background);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms step-end;
}

.info-panel[hidden] {
  display: none;
}

.info-panel.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 180ms ease, visibility 0s;
}

.info-content {
  position: absolute;
  inset: 0;
  width: 100%;
  text-align: center;
}

.info-content p {
  position: absolute;
  top: calc(50svh - 123px);
  left: 50%;
  width: min(71.39vw, 1028px);
  margin: 0;
  font-family: var(--plain-sans);
  font-size: 26px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0.01em;
  transform: translateX(-50%);
}

.info-content a {
  position: absolute;
  top: calc(50dvh + 29px);
  left: 50%;
  font-family: var(--display-serif);
  font-size: 25px;
  font-weight: 600;
  line-height: 65px;
  letter-spacing: 2.5px;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.info-content a::after {
  position: absolute;
  right: 0;
  bottom: 12px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.info-content a:hover,
.info-content a:focus-visible {
  text-decoration: none;
}

.info-content a:hover::after,
.info-content a:focus-visible::after {
  transform: scaleX(1);
}

.visually-hidden {
  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: 700px) {
  .panel-toggle {
    top: max(60px, calc(env(safe-area-inset-top) + 16px));
    font-size: 25px;
    line-height: 65px;
    letter-spacing: 2.5px;
  }

  .landing-title {
    top: 50%;
    width: min(calc(100vw - 60px), 330px);
    height: auto;
    font-size: 50px;
    line-height: 47px;
    letter-spacing: 0.01em;
    transform: translate(-50%, -50%);
  }

  .desktop-copy {
    display: none;
  }

  .mobile-copy {
    display: block;
  }

  .with-word {
    margin-right: 0;
  }

  .showcase-media {
    max-height: 60dvh;
  }

  .showcase-media.is-landscape {
    width: 100vw;
    max-height: none;
  }

  .showcase-media.is-landscape.is-cropped {
    width: 100vw;
    height: 74.07vw;
  }

  .showcase-media.is-portrait {
    width: auto;
    max-width: min(calc(100vw - 60px), 330px);
    max-height: 60dvh;
  }

  .info-panel {
    padding: 100px 24px 48px;
  }

  .info-content {
    max-width: 560px;
  }

  .info-content p {
    top: 218px;
    width: min(calc(100vw - 60px), 330px);
    font-size: 22px;
    line-height: 30px;
    letter-spacing: 0;
    transform: translateX(-50%);
  }

  .desktop-break {
    display: none;
  }

  .info-content a {
    top: 571px;
    bottom: auto;
    font-size: 25px;
    font-weight: 600;
    line-height: 65px;
    letter-spacing: 2.5px;
  }
}

@media (max-width: 700px) and (max-height: 740px) {
  .landing-title {
    font-size: 46px;
    line-height: 43px;
  }

  .info-content p {
    top: 170px;
    font-size: 20px;
    line-height: 27px;
  }

  .info-content a {
    top: auto;
    bottom: max(28px, env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
