:root {
  --night: #11110f;
  --night-soft: #181714;
  --ivory: #eee9df;
  --silver: #9d9a92;
  --muted: #aaa69d;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--night);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--ivory);
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.055), transparent 29%),
    radial-gradient(circle at 50% 85%, rgba(150, 139, 116, 0.04), transparent 34%),
    linear-gradient(118deg, #0d0d0c, var(--night-soft) 50%, #0f0f0e),
    var(--night);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 0 140px rgba(0, 0, 0, 0.34);
}

.card {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: 64px 28px;
}

.identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 720px);
  text-align: center;
  opacity: 0;
  animation: reveal 900ms 80ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.mark {
  width: clamp(230px, 24vw, 320px);
}

.mark svg {
  display: block;
  width: 100%;
  overflow: visible;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.34));
}

.mark .frame {
  fill: none;
  stroke: var(--silver);
  stroke-width: 7;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.mark .letter {
  fill: var(--ivory);
}

.brand-lockup {
  margin-top: 40px;
}

.brand-lockup h1 {
  margin: 0;
  font-family: Didot, "Bodoni MT", "Times New Roman", serif;
  font-size: clamp(4.8rem, 9vw, 7.7rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.045em;
}

.brand-lockup p {
  margin: 26px 0 0;
  padding-left: 0.54em;
  color: var(--muted);
  font-size: clamp(0.78rem, 1.3vw, 1.05rem);
  font-weight: 520;
  letter-spacing: 0.54em;
}

.email-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: clamp(56px, 9vh, 86px);
  color: var(--ivory);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 430;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.email-contact > span:last-child {
  position: relative;
}

.email-contact > span:last-child::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 280ms ease;
}

.email-contact:hover > span:last-child::after,
.email-contact:focus-visible > span:last-child::after {
  transform: scaleX(1);
  transform-origin: left;
}

.email-contact:focus-visible {
  outline: 2px solid var(--ivory);
  outline-offset: 8px;
}

.contact-icon {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--silver);
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}

.contact-icon::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 14px;
  content: "";
  background: currentColor;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

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

@media (max-width: 600px) {
  body::before {
    box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.32);
  }

  .card {
    padding: 54px 24px;
  }

  .mark {
    width: min(64vw, 245px);
  }

  .brand-lockup {
    margin-top: 30px;
  }

  .brand-lockup h1 {
    font-size: clamp(4rem, 21vw, 5.4rem);
  }

  .brand-lockup p {
    margin-top: 20px;
    font-size: clamp(0.65rem, 3.4vw, 0.86rem);
  }

  .email-contact {
    gap: 16px;
    margin-top: 58px;
    font-size: clamp(1rem, 5vw, 1.18rem);
  }

  .contact-icon {
    width: 31px;
    height: 31px;
  }
}

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