:root {
  --color-bg: #F5F3EE;
  --color-ink: #0B0B0B;
  --color-muted: #8A8A8A;
  --color-rule: #E5E2DA;
  --max-width: 1100px;
  --gutter: 2rem;
}

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

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

body {
  margin: 0;
  font-family: 'Fraunces', 'Times New Roman', Georgia, serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-ink);
  background-color: var(--color-bg);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Header */
.site-header {
  padding: 2.5rem 0 0;
}

.wordmark {
  display: inline-block;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.22em;
  color: var(--color-ink);
  text-decoration: none;
  padding: 0.5rem 0;
}

.wordmark:hover {
  color: var(--color-muted);
}

/* Hero */
.hero {
  padding: 6rem 0 8rem;
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(2.25rem, 7.5vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 2.5rem 0;
  max-width: 900px;
  text-wrap: balance;
}

.lede {
  font-size: clamp(1.0625rem, 1.6vw, 1.375rem);
  line-height: 1.55;
  color: var(--color-ink);
  font-weight: 300;
  max-width: 640px;
  margin: 0;
  text-wrap: pretty;
}

/* Sections */
.section {
  padding: 5rem 0;
  border-top: 1px solid var(--color-rule);
}

.eyebrow {
  font-family: 'Fraunces', serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--color-muted);
  margin: 0 0 3rem 0;
}

/* Approach columns */
.columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem;
}

.column h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  text-wrap: balance;
}

.column p {
  margin: 0;
  color: var(--color-ink);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.55;
  text-wrap: pretty;
}

/* Prose */
.prose {
  font-size: 1.25rem;
  line-height: 1.55;
  font-weight: 300;
  max-width: 640px;
  margin: 0 0 1.25rem 0;
  text-wrap: pretty;
}

.prose:last-child {
  margin-bottom: 0;
}

.prose a {
  display: inline-block;
  color: var(--color-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--color-ink);
  padding: 0.25rem 0;
  margin: -0.25rem 0;
  transition: color 0.2s ease, border-color 0.2s ease;
  word-break: break-word;
}

.prose a:hover {
  color: var(--color-muted);
  border-color: var(--color-muted);
}

/* Footer */
.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--color-rule);
  color: var(--color-muted);
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
}

.site-footer p {
  margin: 0;
}

/* ============================================== */
/* Responsive                                     */
/* ============================================== */

/* Tablet / small laptop — tighten gaps before stacking */
@media (max-width: 1024px) {
  .hero {
    padding: 5rem 0 6.5rem;
  }

  .columns {
    gap: 2.5rem;
  }

  .column h3 {
    font-size: 1.25rem;
  }
}

/* Medium — stack columns earlier to avoid cramped 3-col on tablet */
@media (max-width: 900px) {
  .columns {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 640px;
  }

  .column p {
    font-size: 1.0625rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --gutter: 1.25rem;
  }

  .site-header {
    padding: 1.25rem 0 0;
  }

  .wordmark {
    font-size: 0.9375rem;
    letter-spacing: 0.18em;
  }

  .hero {
    padding: 3rem 0 4.5rem;
  }

  .hero h1 {
    line-height: 1.08;
    margin-bottom: 1.75rem;
  }

  .section {
    padding: 3rem 0;
  }

  .eyebrow {
    margin-bottom: 1.75rem;
  }

  .columns {
    gap: 2rem;
  }

  .prose {
    font-size: 1.0625rem;
  }

  .site-footer {
    padding: 2.5rem 0;
  }
}

/* Small phone */
@media (max-width: 480px) {
  :root {
    --gutter: 1rem;
  }

  .site-header {
    padding: 1rem 0 0;
  }

  .wordmark {
    letter-spacing: 0.14em;
  }

  .hero {
    padding: 2.5rem 0 3.75rem;
  }

  .hero h1 {
    margin-bottom: 1.5rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .eyebrow {
    margin-bottom: 1.5rem;
  }

  .site-footer {
    padding: 2rem 0;
    font-size: 0.75rem;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
