:root {
  --dark: #2a2829;
  --light: #e0e0db;
  --ink: #000000;
  --paper: #ffffff;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--dark);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; }

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

/* Header */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 2; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 28px; }
.brand { font-family: var(--serif); font-size: clamp(24px, 3vw, 30px); text-decoration: none; letter-spacing: .01em; }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-size: 16px; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }

/* Sections */
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section--dark { background: var(--dark); color: var(--paper); }
.section--light { background: var(--light); color: var(--ink); }
.hero { min-height: 82vh; display: flex; align-items: flex-end; padding-top: 160px; }
.hero > .wrap { width: 100%; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0 0 .5em; overflow-wrap: break-word; hyphens: manual; }
h1 { font-size: clamp(48px, 9vw, 112px); max-width: 12ch; }
h2 { font-size: clamp(36px, 5.5vw, 64px); max-width: 16ch; }
h3 { font-size: clamp(28px, 3.5vw, 40px); }
p { max-width: 62ch; margin: 0 0 1.1em; }
.lede { font-size: clamp(18px, 1.6vw, 20px); }

.two-col { display: grid; gap: clamp(32px, 6vw, 96px); grid-template-columns: 1fr; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1.1fr 1fr; align-items: start; } }

.contact-card { font-size: 17px; line-height: 1.7; }
.contact-card a { text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 0;
  font-family: var(--sans); font-weight: 500; font-size: 16px; text-decoration: none;
  border: 1px solid currentColor; transition: background .15s, color .15s;
}
.section--dark .btn--solid, .btn--solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.section--light .btn--solid { background: var(--dark); color: var(--paper); border-color: var(--dark); }
.btn--solid:hover { opacity: .88; }
.btn--ghost:hover { background: currentColor; }
.section--light .btn--ghost:hover { color: var(--light); background: var(--ink); }
.section--dark .btn--ghost:hover { color: var(--dark); background: var(--paper); }

blockquote { margin: 0; }
blockquote p { font-family: var(--serif); font-size: clamp(30px, 4.5vw, 54px); line-height: 1.15; max-width: 22ch; }
blockquote cite { font-style: normal; font-size: 17px; opacity: .85; }

/* Prose pages */
.page-hero { padding-top: 160px; padding-bottom: 48px; }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(28px, 3.5vw, 38px); margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.muted { opacity: .75; font-size: 15px; }

/* Footer */
.site-footer { background: var(--dark); color: var(--paper); padding: 56px 0 64px; border-top: 1px solid rgba(255,255,255,.12); }
.site-footer .wrap { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr auto; align-items: end; } }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .small { font-size: 14px; opacity: .7; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
