:root {
  color-scheme: dark;

  --bg: #060912;
  --ink: #edf1f9;
  --muted: #8e9ab2;
  --royal: #1d4ed8;
  --royal-hover: #2a5bf0;
  --royal-light: #6c93ff;
  --line: rgba(237, 241, 249, 0.16);

  --pad: clamp(1.25rem, 4vw, 3.25rem);
  --display: "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --text: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 4vh, 2.5rem);
  padding: var(--pad);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(237, 241, 249, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(237, 241, 249, 0.05) 1px, transparent 1px);
  background-size: 120px 120px;
  -webkit-mask-image: radial-gradient(130% 90% at 18% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(130% 90% at 18% 0%, #000 0%, transparent 72%);
  pointer-events: none;
}

.masthead,
.stage,
.colophon {
  position: relative;
  z-index: 1;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1500px;
  margin-inline: auto;
}

.lockup {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.lockup__mark {
  display: block;
  width: 38px;
  height: 38px;
}

.lockup__name {
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.26em;
  white-space: nowrap;
}

.lockup__legal {
  color: var(--muted);
  font-weight: 500;
}

.stage {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(17rem, 0.55fr);
  align-content: center;
  align-items: end;
  column-gap: clamp(2rem, 5vw, 5rem);
  width: 100%;
  max-width: 1500px;
  margin-inline: auto;
  padding-block: clamp(2rem, 6vh, 4rem) clamp(1.5rem, 5vh, 3.5rem);
}

.kicker {
  margin: 0 0 clamp(1rem, 2.5vh, 1.75rem);
  font-family: var(--display);
  font-size: clamp(0.66rem, 1vw, 0.8rem);
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--royal-light);
}

.wordmark {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.25rem, 12.5vw, 11.5rem);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.wordmark__legal {
  display: block;
  margin-top: clamp(0.8rem, 2.2vh, 1.35rem);
  font-size: clamp(0.85rem, 1.55vw, 1.4rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--muted);
}

.stage__note {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 27rem;
  justify-self: end;
  align-self: stretch;
  padding-left: clamp(1.25rem, 2.5vw, 2.5rem);
  padding-bottom: 0.35rem;
  border-left: 1px solid var(--line);
}

.note {
  margin: 0 0 1.75rem;
  max-width: 28ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.075rem);
  line-height: 1.65;
}

.contact {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.9rem 1.5rem;
  border-radius: 4px;
  background: var(--royal);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.contact:hover {
  background: var(--royal-hover);
}

.contact:active {
  transform: translateY(1px);
}

.contact:focus-visible {
  outline: 2px solid var(--royal-light);
  outline-offset: 3px;
}

.colophon {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  width: 100%;
  max-width: 1500px;
  margin-inline: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.colophon p {
  margin: 0;
}

@media (max-width: 820px) {
  body {
    gap: 1.25rem;
  }

  .stage {
    grid-template-columns: 1fr;
    align-items: start;
    row-gap: 2.75rem;
    padding-block: clamp(2.5rem, 7vh, 4rem) 2rem;
  }

  .wordmark {
    font-size: clamp(3rem, 15vw, 6rem);
  }

  .stage__note {
    max-width: none;
    justify-self: stretch;
    padding-left: 0;
    padding-bottom: 0;
    padding-top: 1.75rem;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .note {
    max-width: none;
  }
}

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