:root {
  color-scheme: light;
  --paper: #f4f3ee;
  --paper-strong: #fbfaf6;
  --ink: #171816;
  --muted: #676963;
  --line: #d6d5cd;
  --line-strong: #aaa9a0;
  --serif: "Iowan Old Style", "Baskerville", "Songti SC", "STSong", serif;
  --sans: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible,
.disabled-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 9px 13px;
  background: var(--ink);
  color: var(--paper-strong);
  font: 600 12px/1.2 var(--sans);
  transform: translateY(-180%);
}

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

.page-shell {
  width: min(1200px, calc(100% - 56px));
  min-height: 100svh;
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  border-bottom: 1px solid var(--ink);
}

.wordmark {
  font: 700 33px/1 var(--sans);
  letter-spacing: -0.09em;
}

.site-header nav {
  display: flex;
  gap: clamp(18px, 3vw, 40px);
  font: 600 12px/1.2 var(--sans);
  letter-spacing: 0.08em;
}

.site-header nav a {
  color: var(--muted);
  transition: color 160ms ease;
}

.site-header nav a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  column-gap: clamp(32px, 9vw, 140px);
  align-items: end;
  min-height: 620px;
  padding: 100px 0 108px;
  border-bottom: 1px solid var(--ink);
}

.kicker,
.section-index {
  color: var(--muted);
  font: 600 11px/1.3 var(--sans);
  letter-spacing: 0.16em;
}

.hero .kicker {
  grid-column: 1 / -1;
  align-self: start;
  margin: 0 0 34px;
}

.hero h1 {
  grid-column: 1;
  margin: 0;
  font-size: clamp(56px, 9vw, 124px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.98;
}

.hero h1 em {
  font-weight: 400;
}

.hero-lede {
  grid-column: 2;
  max-width: 31em;
  margin: 0 0 25px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.8;
}

.text-link {
  grid-column: 2;
  justify-self: start;
  border-bottom: 1px solid currentColor;
  padding-bottom: 7px;
  font: 600 12px/1.2 var(--sans);
  letter-spacing: 0.08em;
}

.text-link span {
  display: inline-block;
  margin-left: 9px;
  font-size: 17px;
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translate(3px, 3px);
}

.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(150px, 0.27fr) minmax(0, 0.73fr);
  gap: clamp(32px, 8vw, 120px);
}

.section h2,
.contact-section h2 {
  max-width: 17ch;
  margin: 0 0 28px;
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.section p,
.contact-copy p {
  max-width: 60ch;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.95;
}

.principles {
  max-width: 760px;
  border-top: 1px solid var(--line-strong);
}

.principles > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.principles strong {
  font: 600 12px/1.3 var(--sans);
  letter-spacing: 0.08em;
}

.principles span {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  gap: clamp(32px, 9vw, 140px);
  padding: 112px 0 124px;
  border-bottom: 1px solid var(--ink);
}

.contact-section .kicker {
  margin: 0 0 24px;
}

.contact-copy {
  align-self: end;
}

.contact-copy p + p {
  margin-top: 18px;
}

.status-note {
  font-size: 14px !important;
}

.disabled-link {
  display: inline-block;
  margin-top: 26px;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 7px;
  color: var(--muted);
  font: 600 12px/1.2 var(--sans);
  letter-spacing: 0.08em;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 34px;
  color: var(--muted);
  font: 500 11px/1.5 var(--sans);
  letter-spacing: 0.04em;
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 36px, 1200px);
  }

  .site-header {
    min-height: 72px;
  }

  .wordmark {
    font-size: 29px;
  }

  .site-header nav {
    gap: 14px;
    font-size: 10px;
  }

  .hero,
  .section-grid,
  .contact-section {
    display: block;
  }

  .hero {
    min-height: 0;
    padding: 76px 0 82px;
  }

  .hero .kicker {
    margin-bottom: 30px;
  }

  .hero h1 {
    margin-bottom: 38px;
    font-size: clamp(50px, 16vw, 82px);
  }

  .hero-lede {
    margin-bottom: 23px;
    font-size: 17px;
  }

  .section {
    padding: 68px 0;
  }

  .section-index {
    margin-bottom: 26px;
  }

  .section h2,
  .contact-section h2 {
    margin-bottom: 23px;
    font-size: clamp(35px, 11vw, 54px);
  }

  .principles > div {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
  }

  .contact-section {
    padding: 78px 0 88px;
  }

  .contact-copy {
    margin-top: 38px;
  }

  .site-footer {
    display: block;
  }

  .site-footer span {
    display: block;
  }

  .site-footer span + span {
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
