:root {
  --background: #f7f7f4;
  --surface: #ffffff;
  --text: #171717;
  --muted: #575757;
  --subtle: #7a7a7a;
  --border: #d9d8d2;
  --accent: #111111;
  --max-width: 1040px;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 10px 30px rgba(17, 17, 17, 0.04);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.65;
}

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

img {
  max-width: 100%;
  display: block;
}

code {
  font-family: "SFMono-Regular", SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.94em;
}

.site-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1.25rem 0 4rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0 1.75rem;
}

.site-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.button-primary:hover,
.button-primary:focus-visible,
.button-secondary:hover,
.button-secondary:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.hero {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: clamp(2rem, 4vw, 4rem);
  margin-bottom: 3rem;
}

.eyebrow,
.section-label,
.entry-meta,
.footer-note,
.placeholder-inline,
.placeholder-block {
  color: var(--subtle);
}

.eyebrow,
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin: 0 0 0.75rem;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-summary {
  max-width: 42rem;
  font-size: 1.18rem;
  margin: 1.25rem 0 0;
}

.hero-note {
  max-width: 38rem;
  margin: 1rem 0 0;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.75rem 0 1rem;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--accent);
  font-size: 0.95rem;
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
}

.button-secondary {
  background: transparent;
  color: var(--text);
}

.content-section {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1.15;
  font-weight: 700;
}

.section-body > *:first-child {
  margin-top: 0;
}

.section-body > *:last-child {
  margin-bottom: 0;
}

.entry + .entry {
  margin-top: 2rem;
}

.entry-header {
  margin-bottom: 0.55rem;
}

.entry h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 600;
}

.entry-meta {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
}

.simple-list,
.contact-list {
  margin: 0;
  padding-left: 1.2rem;
}

.simple-list li + li,
.contact-list li + li {
  margin-top: 0.7rem;
}

.placeholder-inline,
.placeholder-block {
  font-style: italic;
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 780px) {
  .site-shell {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .site-header,
  .content-section,
  .site-footer {
    display: block;
  }

  .site-nav {
    justify-content: flex-start;
    margin-top: 0.85rem;
  }

  .content-section {
    padding: 1.6rem 0;
  }

  .section-heading {
    margin-bottom: 1rem;
  }
}
