:root {
  --ink: #151515;
  --paper: #f0eee8;
  --muted: #9c9a92;
  --blue: #3e5cff;
  --line: rgba(21, 21, 21, 0.18);
  --dark-line: rgba(240, 238, 232, 0.22);
  --display: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0;
}

.wordmark {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 28px;
}

nav a,
.text-link {
  font-size: 0.85rem;
  text-decoration: none;
}

nav a:hover,
.text-link:hover {
  color: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
  min-height: 680px;
  padding: 80px 0 112px;
}

.kicker,
.section-index {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h1 {
  max-width: 700px;
  font-size: clamp(4.5rem, 10vw, 9.6rem);
}

h2 {
  max-width: 760px;
  font-size: clamp(3rem, 6.5vw, 6.4rem);
}

h1 em,
h2 em {
  color: var(--blue);
  font-style: italic;
}

.hero-intro {
  max-width: 390px;
  margin: 34px 0 32px;
  color: #494842;
  font-size: 1.1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 15px 18px;
  color: var(--paper);
  background: var(--ink);
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.button:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

.hero-mark {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  min-height: 430px;
  padding: 46px 36px;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}

.hero-mark::before {
  position: absolute;
  inset: 18px;
  border: 1px solid var(--dark-line);
  content: "";
}

.mark-line {
  position: absolute;
  z-index: 1;
  background: var(--dark-line);
}

.mark-line-top {
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
}

.mark-line-bottom {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.mark-letter {
  position: relative;
  z-index: 2;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 6.8rem);
  font-style: italic;
  line-height: 1;
  text-align: center;
}

.mark-letter:nth-of-type(odd) {
  color: var(--blue);
}

.mark-caption {
  position: absolute;
  right: 34px;
  bottom: 28px;
  z-index: 2;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section {
  display: grid;
  grid-template-columns: minmax(100px, 0.22fr) minmax(0, 1fr);
  gap: 36px;
  padding-top: 140px;
  padding-bottom: 140px;
  border-top: 1px solid var(--line);
}

.section-index {
  margin-top: 12px;
}

.large-copy {
  max-width: 670px;
  margin: 52px 0 0;
  color: #494842;
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
  line-height: 1.28;
}

.section-dark {
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100% - 1180px) / 2));
  padding-left: max(24px, calc((100% - 1180px) / 2));
  color: var(--paper);
  background: var(--ink);
  border-top: 0;
}

.section-dark .section-index,
.section-dark h2 em {
  color: var(--blue);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 70px;
  border-top: 1px solid var(--dark-line);
}

.principles p {
  margin: 22px 0 0;
  color: var(--muted);
}

.principles strong {
  display: block;
  margin-bottom: 10px;
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 400;
}

.contact-section {
  padding-bottom: 160px;
}

.contact-copy {
  max-width: 460px;
  margin: 38px 0 24px;
  color: #494842;
}

.text-link {
  display: inline-flex;
  gap: 14px;
  color: var(--blue);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 28px;
  border-top: 1px solid var(--line);
  color: #6f6d66;
  font-size: 0.75rem;
}

@media (max-width: 760px) {
  .shell,
  .site-header {
    width: min(100% - 32px, 560px);
  }

  nav {
    gap: 14px;
  }

  nav a {
    font-size: 0.72rem;
  }

  .hero {
    display: block;
    min-height: auto;
    padding-top: 70px;
    padding-bottom: 80px;
  }

  h1 {
    font-size: clamp(4rem, 18vw, 6.5rem);
  }

  .hero-mark {
    min-height: 280px;
    margin-top: 70px;
    padding: 30px 14px;
  }

  .mark-letter {
    font-size: clamp(2.4rem, 13vw, 4.2rem);
  }

  .mark-caption {
    right: 18px;
    bottom: 18px;
    font-size: 0.56rem;
  }

  .section,
  .section-dark {
    display: block;
    padding-top: 90px;
    padding-bottom: 90px;
  }

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

  .large-copy {
    margin-top: 30px;
  }

  .principles {
    display: block;
    margin-top: 46px;
  }

  .principles p {
    padding: 18px 0;
    border-bottom: 1px solid var(--dark-line);
  }

  .site-footer {
    display: block;
  }

  .site-footer span {
    display: block;
    margin-bottom: 5px;
  }
}

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

  .button {
    transition: none;
  }
}
