:root {
  --bg: #121310;
  --card: #1a1b17;
  --ink: #ede6dc;
  --soft: #a8a397;
  --muted: #77736a;
  --rule: rgba(237, 230, 220, 0.14);
  --olive: #9b9a6e;
  --olive-ink: #15160f;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Epilogue", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 56px);
  --measure: 640px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:focus-visible, .button:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }
img { display: block; max-width: 100%; }

.bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px var(--gutter) 20px;
  border-bottom: 1px solid var(--rule);
  position: relative; z-index: 2;
}
.bar .wordmark { height: 30px; width: auto; }
.bar .logomark { height: 44px; width: auto; }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.hero-image {
  position: absolute; inset: 0;
  background: url("horses.jpg") center 52% / cover no-repeat;
}
.hero-image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(18,19,16,0.15) 0%, rgba(18,19,16,0.05) 35%,
    rgba(18,19,16,0.75) 62%, var(--bg) 88%);
}
@media (min-width: 900px) and (min-aspect-ratio: 1/1) {
  .hero-image { background-position: center 30%; }
  .hero-image::after {
    background:
      linear-gradient(90deg, rgba(18,19,16,0.85) 0%, rgba(18,19,16,0.35) 45%, rgba(18,19,16,0) 70%),
      linear-gradient(180deg, rgba(18,19,16,0.1) 0%, rgba(18,19,16,0) 40%, rgba(18,19,16,0.6) 80%, var(--bg) 100%);
  }
}
.hero-copy {
  position: relative; z-index: 1;
  margin-top: auto;
  padding: 0 var(--gutter) clamp(40px, 8vh, 88px);
  max-width: calc(var(--measure) + 2 * var(--gutter));
}
h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(44px, 9vw, 84px);
  line-height: 1.02; letter-spacing: -0.01em;
  margin: 0 0 20px;
}
h1 em { font-style: italic; }
.lede { font-size: clamp(18px, 2.4vw, 21px); margin: 0 0 32px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  border-radius: 12px;
  background: var(--olive); color: var(--olive-ink);
  font-size: 17px; text-decoration: none;
}
.note { color: var(--soft); font-size: 15px; margin: 16px 0 0; }

/* Sections */
main section, .page {
  padding: clamp(56px, 10vw, 112px) var(--gutter);
  max-width: calc(var(--measure) + 2 * var(--gutter));
}
.kicker {
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--soft); margin: 0 0 16px;
}
.thesis {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(28px, 4.4vw, 40px); line-height: 1.2;
  margin: 0;
}
.points { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.points li { padding: 28px 0; border-bottom: 1px solid var(--rule); }
.points h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: 24px; line-height: 1.25; margin: 0 0 8px;
}
.points p { margin: 0; color: var(--soft); }

footer {
  padding: 32px var(--gutter) 48px;
  border-top: 1px solid var(--rule);
  color: var(--muted); font-size: 14px;
  display: flex; flex-wrap: wrap; gap: 8px 24px;
}
footer a { color: var(--soft); }

/* Privacy page */
.page h1 { font-size: clamp(40px, 7vw, 60px); margin-bottom: 12px; }
.page .updated { color: var(--soft); margin: 0 0 40px; font-size: 15px; }
.page h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: 26px; line-height: 1.25; margin: 48px 0 12px;
}
.page p, .page li { color: var(--ink); }
.page ul { padding-left: 20px; }
.page li { margin: 6px 0; }
.summary {
  background: var(--card); border: 1px solid var(--rule);
  border-radius: 14px; padding: 20px 24px; margin: 0 0 8px;
}
.summary p { margin: 0; }
