:root {
  color-scheme: light;
  --paper: #f4efe6;
  --paper-dark: #ebe4d6;
  --ink: #1c1917;
  --muted: #5c564e;
  --brass: #8a6230;
  --brass-soft: #c4a574;
  --overlay: rgba(28, 25, 23, 0.58);
  --line: rgba(28, 25, 23, 0.14);
  --focus: #1c1917;
  --max: 68rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 20;
  padding: 0.5rem 0.75rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 239, 230, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.header-inner,
.footer-inner,
.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
}

.brand-name {
  display: block;
  font-family:
    "Iowan Old Style",
    "Palatino Linotype",
    Palatino,
    Georgia,
    serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.brand-ltd {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
}

.menu-button {
  display: none;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 0.35rem 0;
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.hero {
  position: relative;
  min-height: min(78vh, 42rem);
  display: grid;
  align-items: end;
  color: var(--paper);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28, 25, 23, 0.18) 0%,
    rgba(28, 25, 23, 0.72) 100%
  );
}

.hero-copy {
  position: relative;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 5rem 0 3.25rem;
}

.kicker {
  margin: 0 0 0.75rem;
  color: var(--brass-soft);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.section-title {
  margin: 0;
  font-family:
    "Iowan Old Style",
    "Palatino Linotype",
    Palatino,
    Georgia,
    serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
}

.motto {
  margin: 1rem 0 1.75rem;
  max-width: 24ch;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.35;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border: 1px solid transparent;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--paper-dark);
}

.button-ghost {
  background: transparent;
  border-color: #f4efe6;
  color: #f4efe6;
}

.button-ghost:hover {
  background: var(--paper);
  color: var(--ink);
}

.button-solid {
  background: var(--ink);
  color: var(--paper);
}

.button-solid:hover {
  background: #2c2622;
}

.section {
  padding: 4rem 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.lede,
.prose p {
  margin: 0.85rem 0 0;
  color: var(--ink);
  max-width: 62ch;
}

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

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.4rem 1.3rem 1.5rem;
  background: #fffdf8;
  border: 1px solid var(--line);
  text-decoration: none;
}

.card h2,
.card h3 {
  margin: 0 0 0.6rem;
  font-family:
    "Iowan Old Style",
    "Palatino Linotype",
    Palatino,
    Georgia,
    serif;
  font-size: 1.45rem;
  font-weight: 600;
}

.card p {
  margin: 0;
  flex: 1;
  color: var(--muted);
}

.card span {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
}

a.card:hover {
  border-color: var(--ink);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.split img {
  width: 100%;
  height: 100%;
  max-height: 28rem;
  object-fit: cover;
}

.photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.photo-pair figure {
  margin: 0;
}

.photo-pair figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.cta {
  background: var(--ink);
  color: var(--paper);
}

.cta .lede {
  color: #d9d1c4;
}

.cta .actions {
  margin-top: 1.5rem;
}

.page-hero {
  padding: 3.25rem 0 0.5rem;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.contact-panel {
  padding: 1.4rem;
  background: #fffdf8;
  border: 1px solid var(--line);
}

.contact-panel h2 {
  margin: 0 0 0.75rem;
  font-family:
    "Iowan Old Style",
    "Palatino Linotype",
    Palatino,
    Georgia,
    serif;
  font-size: 1.35rem;
}

.contact-panel p {
  margin: 0 0 0.75rem;
}

.contact-panel a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.contact-panel a:hover {
  color: var(--brass);
}

form {
  display: grid;
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.65rem 0.7rem;
  border: 1px solid #cfc6b6;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-note {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer {
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.footer-inner a {
  color: var(--ink);
  text-underline-offset: 0.18em;
}

.footer-inner a:hover {
  color: var(--brass);
}

@media (max-width: 52rem) {
  .cards,
  .split,
  .photo-pair,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split img,
  .photo-pair img {
    max-height: 22rem;
  }
}

@media (max-width: 40rem) {
  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1rem;
  }

  .nav-toggle:checked ~ .site-nav {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .hero-copy {
    padding-top: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
