/* ---------- Tokens ---------- */
:root {
  --bg: #ffffff;
  --text: #2b2b2b;
  --muted: #7a7a7a;
  --hairline: #ececec;
  --footer-bg: #111111;
  --footer-text: #ededed;
  --footer-muted: #9a9a9a;
  --footer-wordmark: #1d1d1d;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial,
    sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas,
    monospace;

  --container: 1200px;
  --pad: 32px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--text);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 22px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.btn:hover {
  opacity: 0.82;
}

/* ---------- Nav ---------- */
.nav {
  border-bottom: 1px solid var(--hairline);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  display: block;
  width: 28px;
  height: 28px;
}

.brand__name {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(56px, 9vw, 120px) 0;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: start;
}

.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.25px;
  color: #4a4a4a;
}

.hero__aside {
  padding-top: 8px;
}

.hero__blurb {
  margin: 0 0 28px;
  color: var(--muted);
  max-width: 38ch;
}

/* ---------- Centerpiece image placeholder ---------- */
.centerpiece {
  width: 100%;
  background: #f2f2f2;
}

.centerpiece__img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Numbered content ---------- */
.content {
  padding: clamp(64px, 10vw, 130px) var(--pad);
}

.entry {
  display: block;
  max-width: 760px;
  padding: 36px 0;
}

.entry + .entry {
  border-top: 1px solid var(--hairline);
}

.entry__num {
  display: block;
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 22px;
}

.entry__body {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  background: var(--footer-bg);
  color: var(--footer-text);
  padding-top: 90px;
  overflow: hidden;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.footer__mark {
  display: block;
  width: 32px;
  height: 32px;
  margin-bottom: 20px;
}

.footer__copy {
  margin: 0;
  color: var(--footer-muted);
  font-size: 0.95rem;
}

.footer__wordmark {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--footer-wordmark);
  font-size: clamp(5rem, 22vw, 18rem);
  line-height: 0.9;
  letter-spacing: -2px;
  margin-top: 40px;
  margin-bottom: -0.18em;
  white-space: nowrap;
  user-select: none;
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  :root {
    --pad: 22px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer__inner {
    flex-direction: column;
  }
}
