:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --ink: #141414;
  --muted: #77736b;
  --line: #ded9cf;
  --soft: #efebe1;
  --accent: #8f3f25;
  font-family: ui-serif, Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
  background: var(--paper);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(251, 250, 247, 0) 34%),
    var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
  outline: none;
}

.page {
  width: min(100% - 40px, 980px);
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 34px 0 28px;
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.4;
}

.wordmark {
  color: var(--ink);
  font-weight: 650;
}

.email {
  white-space: nowrap;
}

.quiet {
  align-self: center;
  display: grid;
  grid-template-columns: clamp(118px, 14vw, 168px) minmax(0, 1fr);
  column-gap: clamp(28px, 7vw, 88px);
  align-items: center;
  padding: clamp(72px, 14vh, 150px) 0;
}

.mark-wrap {
  width: clamp(118px, 14vw, 168px);
  aspect-ratio: 502 / 529;
  overflow: visible;
  border: 0;
  background: transparent;
}

.mark-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

h1 {
  margin: 0;
  font-size: clamp(58px, 10vw, 128px);
  line-height: 0.92;
  font-weight: 500;
  letter-spacing: 0;
}

.footer {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

@media (max-width: 720px) {
  .page {
    width: min(100% - 30px, 980px);
    padding-top: 24px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .quiet {
    grid-template-columns: 1fr;
    padding: 76px 0 88px;
  }

  .mark-wrap {
    width: 104px;
  }

  h1 {
    font-size: clamp(48px, 16vw, 78px);
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
