@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-extralight.ttf") format("truetype");
  font-style: normal;
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-light-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 300;
  font-display: swap;
}

:root {
  --ink: #070b0e;
  --warm: #f7f4ed;
  --signal: #18b9b7;
  --support: #a8d8d6;
  --muted: #899496;
  --edge: rgba(247, 244, 237, 0.14);
  background: var(--ink);
  color: var(--warm);
  font-family: "Manrope", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--ink);
  min-width: 280px;
}

.cover {
  background: var(--ink);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding: max(32px, env(safe-area-inset-top)) clamp(34px, 4.5vw, 72px)
    max(56px, env(safe-area-inset-bottom));
  position: relative;
}

.cover__glow {
  background: radial-gradient(
    circle at 78% 45%,
    rgba(24, 185, 183, 0.09),
    rgba(24, 185, 183, 0.025) 48%,
    transparent 72%
  );
  inset: 0;
  position: absolute;
  z-index: -2;
}

.cover__header {
  align-items: center;
  border-bottom: 1px solid var(--edge);
  display: flex;
  justify-content: space-between;
  min-height: clamp(70px, 8vh, 80px);
  padding-bottom: clamp(22px, 3.2vh, 32px);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: clamp(14px, 1.4vw, 18px);
}

.brand__symbol {
  fill: none;
  height: clamp(44px, 4.5vw, 52px);
  overflow: visible;
  width: clamp(44px, 4.5vw, 52px);
}

.brand__symbol .gv-symbol__frame,
.cover__monogram .gv-symbol__frame {
  fill: none;
  stroke: var(--warm);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 7.2;
}

.brand__symbol .gv-symbol__signal,
.cover__monogram .gv-symbol__signal {
  fill: none;
  stroke: var(--signal);
  stroke-linecap: round;
  stroke-width: 7.8;
}

.brand__name {
  font-size: clamp(0.8rem, 1.25vw, 1.25rem);
  font-weight: 200;
  letter-spacing: 0.1775em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: clamp(0.6rem, 0.875vw, 0.875rem);
  font-weight: 300;
  gap: 16px;
  letter-spacing: 0.214em;
  margin: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.status i {
  background: var(--signal);
  border-radius: 999px;
  height: 8px;
  width: 8px;
}

.cover__message {
  align-self: center;
  margin: clamp(38px, 6vh, 64px) 0 clamp(28px, 4.5vh, 46px);
  position: relative;
  z-index: 2;
}

.category {
  align-items: center;
  color: var(--signal);
  display: flex;
  font-size: clamp(0.65rem, 1vw, 1rem);
  font-weight: 400;
  gap: 24px;
  letter-spacing: 0.3em;
  margin: 0 0 clamp(44px, 7vh, 74px) 6px;
  text-transform: uppercase;
}

.category i {
  background: var(--signal);
  display: block;
  height: 2px;
  width: 48px;
}

.headline {
  font-size: clamp(3.75rem, min(7vw, 11.8vh), 7rem);
  font-weight: 200;
  letter-spacing: -0.04em;
  line-height: 1.07;
  margin: 0;
  max-width: 15ch;
  text-transform: uppercase;
}

.headline > span {
  display: block;
  white-space: nowrap;
}

.mobile-only {
  display: none;
}

.cover__monogram {
  fill: none;
  height: min(72vw, 88vh);
  opacity: 1;
  position: absolute;
  right: -4vw;
  top: 9vh;
  width: min(72vw, 88vh);
  z-index: -1;
}

.cover__monogram .gv-symbol__frame {
  opacity: 0.075;
}

.cover__monogram .gv-symbol__signal {
  opacity: 0.92;
}

.cover__footer {
  align-self: end;
  position: relative;
  z-index: 2;
}

.cover__footer p {
  color: var(--support);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 2.75vw, 2.75rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1;
  margin: 0 0 clamp(30px, 5.5vh, 56px) 6px;
}

.cover__footer > span {
  align-items: center;
  display: flex;
  margin-left: 6px;
  width: min(26vw, 420px);
}

.cover__footer > span::before {
  background: rgba(247, 244, 237, 0.18);
  content: "";
  height: 1px;
  width: calc(100% - 20px);
}

.cover__footer > span i {
  background: var(--signal);
  border-radius: 999px;
  height: 8px;
  margin-left: 16px;
  width: 8px;
}

@media (max-width: 760px) {
  .cover {
    grid-template-rows: auto minmax(0, 1fr) auto;
    padding: max(28px, env(safe-area-inset-top)) 24px max(42px, env(safe-area-inset-bottom));
  }

  .cover__glow {
    background: radial-gradient(
      circle at 68% 73%,
      rgba(24, 185, 183, 0.11),
      rgba(24, 185, 183, 0.025) 52%,
      transparent 76%
    );
  }

  .cover__header {
    align-items: flex-start;
    display: block;
    min-height: 180px;
    padding-bottom: 26px;
  }

  .brand {
    gap: 12px;
  }

  .brand__symbol {
    height: 42px;
    width: 42px;
  }

  .brand__name {
    font-size: clamp(0.71rem, 3.3vw, 0.86rem);
    letter-spacing: 0.17em;
  }

  .status {
    font-size: clamp(0.56rem, 2.65vw, 0.7rem);
    gap: 12px;
    letter-spacing: 0.2em;
    margin-top: 54px;
  }

  .status i {
    height: 7px;
    width: 7px;
  }

  .cover__message {
    align-self: start;
    margin: clamp(62px, 9vh, 96px) 0 32px;
  }

  .category {
    align-items: flex-start;
    font-size: clamp(0.55rem, 2.65vw, 0.72rem);
    gap: 14px;
    letter-spacing: 0.22em;
    line-height: 1.9;
    margin: 0 0 clamp(58px, 8.5vh, 86px);
    max-width: 28ch;
  }

  .category i {
    flex: 0 0 26px;
    margin-top: 0.72em;
    width: 26px;
  }

  .headline {
    font-size: clamp(2.68rem, min(10.7vw, 7.5vh), 5rem);
    letter-spacing: -0.0375em;
    line-height: 1.14;
    max-width: none;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: inline;
  }

  .cover__monogram {
    bottom: 2vh;
    height: min(104vw, 60vh);
    right: -18vw;
    top: auto;
    width: min(104vw, 60vh);
  }

  .cover__monogram .gv-symbol__frame {
    opacity: 0.065;
  }

  .cover__monogram .gv-symbol__signal {
    opacity: 0.72;
  }

  .cover__footer p {
    font-size: clamp(2rem, 7.8vw, 2.7rem);
    margin: 0 0 32px;
  }

  .cover__footer > span {
    margin-left: 0;
    width: min(52vw, 270px);
  }
}

@media (max-width: 374px) {
  .cover {
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    padding-left: 20px;
    padding-right: 20px;
    padding-top: max(18px, env(safe-area-inset-top));
  }

  .cover__header {
    min-height: 120px;
  }

  .status {
    margin-top: 26px;
  }

  .cover__message {
    margin-bottom: 18px;
    margin-top: 22px;
  }

  .category {
    margin-bottom: 28px;
  }

  .headline {
    font-size: clamp(2.05rem, min(11.4vw, 7.5vh), 2.35rem);
    line-height: 1.1;
  }

  .cover__footer p {
    font-size: 1.65rem;
    margin-bottom: 18px;
  }
}

@media (min-width: 761px) and (max-height: 820px) {
  .cover {
    padding-bottom: 30px;
    padding-top: 24px;
  }

  .cover__message {
    margin-bottom: 18px;
    margin-top: 30px;
  }

  .category {
    margin-bottom: 28px;
  }

  .cover__footer p {
    margin-bottom: 24px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .brand,
  .status,
  .category,
  .headline > span,
  .cover__footer {
    animation: reveal 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .status {
    animation-delay: 80ms;
  }

  .category {
    animation-delay: 150ms;
  }

  .headline > span:nth-child(1) {
    animation-delay: 210ms;
  }

  .headline > span:nth-child(2) {
    animation-delay: 260ms;
  }

  .headline > span:nth-child(3) {
    animation-delay: 310ms;
  }

  .headline > span:nth-child(4) {
    animation-delay: 360ms;
  }

  .cover__footer {
    animation-delay: 440ms;
  }

  .cover__monogram .gv-symbol__signal {
    animation: signal 1.25s 180ms cubic-bezier(0.22, 1, 0.36, 1) both;
    stroke-dasharray: 70;
    stroke-dashoffset: 70;
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(13px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes signal {
  to {
    stroke-dashoffset: 0;
  }
}
