:root {
  --navy: #003457;
  --orange: #ff7c0f;
  --paper: #fcfbf8;
  --ink-muted: #526877;
  --line: rgba(0, 52, 87, 0.16);
  --content-width: 72rem;
}

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

html {
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--navy);
  background: var(--paper);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--paper);
  background: var(--navy);
  font-size: 0.875rem;
  font-weight: 700;
  transform: translateY(-150%);
}

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

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.page {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: min(calc(100% - 3rem), var(--content-width));
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
}

.identity {
  display: grid;
  align-items: center;
  padding-block: clamp(4rem, 10vh, 7rem);
}

.identity__inner {
  display: grid;
  grid-template-columns: minmax(16rem, 20rem) minmax(0, 1fr);
  gap: clamp(4rem, 9vw, 8.5rem);
  align-items: center;
}

.hero__brand {
  position: relative;
  padding: clamp(1rem, 2.5vw, 2rem);
}

.hero__brand::before,
.hero__brand::after {
  position: absolute;
  width: 2.75rem;
  height: 2.75rem;
  content: "";
  pointer-events: none;
}

.hero__brand::before {
  top: 0;
  left: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.hero__brand::after {
  right: 0;
  bottom: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero__copy h1 {
  margin: 0;
  font-weight: inherit;
}

.hero__lead {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--ink-muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.72rem, 1.15vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero__lead::before {
  width: 2.25rem;
  height: 2px;
  background: var(--orange);
  content: "";
  flex: 0 0 auto;
}

.hero__statement {
  display: block;
  max-width: 12ch;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: clamp(3.8rem, 6.25vw, 6.25rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.94;
  text-wrap: balance;
}

.hero__intro {
  max-width: 36rem;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.7;
}

.site-footer {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 5.25rem;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer > span:first-child {
  color: var(--navy);
}

.site-footer > span:nth-child(2)::before {
  margin-right: 1rem;
  color: var(--orange);
  content: "/";
}

.site-footer__domain {
  justify-self: end;
}

@media (max-width: 52rem) {
  .identity {
    padding-block: clamp(3.5rem, 8vh, 5rem);
  }

  .identity__inner {
    grid-template-columns: 1fr;
    gap: clamp(3.5rem, 8vh, 5rem);
  }

  .hero__brand {
    width: min(67vw, 18rem);
  }

  .hero__statement {
    max-width: 13ch;
    font-size: clamp(3.75rem, 11vw, 5.5rem);
  }
}

@media (max-width: 36rem) {
  .page {
    width: min(calc(100% - 2rem), var(--content-width));
  }

  .identity {
    padding-block: clamp(3rem, 7vh, 4rem);
  }

  .identity__inner {
    gap: clamp(3.25rem, 7vh, 4.25rem);
  }

  .hero__brand {
    width: min(72vw, 16.5rem);
    margin-inline: auto;
  }

  .hero__lead {
    margin-bottom: 1.35rem;
  }

  .hero__statement {
    max-width: 11ch;
    font-size: clamp(3.15rem, 15vw, 4.25rem);
    line-height: 0.96;
  }

  .hero__intro {
    max-width: 31rem;
    margin-top: 1.75rem;
    font-size: 1rem;
    line-height: 1.65;
  }

  .site-footer {
    min-height: 4.75rem;
    font-size: 0.63rem;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 23rem) {
  .site-footer {
    grid-template-columns: auto 1fr;
  }

  .site-footer__domain {
    display: none;
  }
}
