:root {
  --ink: #20231f;
  --muted: #60665f;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #ded9ce;
  --moss: #536b3f;
  --moss-dark: #31442b;
  --wine: #7b2e35;
  --amber: #bd7a28;
  --blue: #2e6975;
  --shadow: 0 18px 50px rgba(32, 35, 31, 0.14);
  --radius: 8px;
  --wrap: min(1120px, calc(100vw - 40px));
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 30;
  transform: translateY(-140%);
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(20px, calc((100vw - 1120px) / 2));
  background: rgba(251, 250, 246, 0.92);
  border-bottom: 1px solid rgba(222, 217, 206, 0.78);
  backdrop-filter: blur(14px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
}

.brand-name {
  font-size: 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  padding: 9px 12px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  background: #ebe7dc;
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: clamp(590px, 88vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(32, 35, 31, 0.18) 0%, rgba(32, 35, 31, 0.72) 74%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 130px 0 72px;
  color: white;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f2c36f;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 920px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.75rem;
  font-weight: 680;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.24rem;
}

.intro-band {
  background: var(--moss-dark);
  color: white;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 24px 0;
}

.intro-grid p {
  max-width: 760px;
  margin: 0;
}

.button,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: var(--wine);
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 11px 18px;
  text-decoration: none;
}

.button:hover,
.button:focus-visible,
.button-link:hover,
.button-link:focus-visible {
  background: #64232b;
}

.article-body {
  padding: 72px 0 54px;
}

.article-body p {
  max-width: 770px;
  margin: 0 auto 24px;
  color: #30342f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  line-height: 1.78;
}

.article-body .lede {
  color: var(--ink);
  font-size: 1.36rem;
  line-height: 1.64;
}

.article-figure {
  margin: 48px auto;
  max-width: 920px;
}

.article-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article-figure figcaption {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 12px;
  text-align: center;
}

.note-strip {
  margin-bottom: 72px;
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--blue);
  border-radius: var(--radius);
  background: #f4f1e9;
}

.note-strip h2,
.side-panel h2,
.content-grid h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.note-strip p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
}

.page-shell {
  padding: 70px 0 88px;
}

.page-hero {
  padding: 56px 0 44px;
}

.page-hero h1 {
  max-width: 880px;
  color: var(--ink);
  font-size: 4.7rem;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.16rem;
}

.content-grid,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 44px;
  align-items: start;
}

.content-grid p {
  max-width: 720px;
  color: #333831;
  font-size: 1.06rem;
}

.side-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 24px;
}

.side-panel ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.side-panel li + li {
  margin-top: 8px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 8px;
}

label {
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c9c2b6;
  border-radius: var(--radius);
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
.button:focus-visible,
.button-link:focus-visible {
  outline: 3px solid rgba(46, 105, 117, 0.32);
  outline-offset: 2px;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--moss-dark);
  font-weight: 750;
}

.site-footer {
  background: #e9e3d8;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
}

.footer-grid p {
  margin: 0;
  color: var(--muted);
}

.footer-grid nav {
  display: flex;
  gap: 16px;
}

.footer-grid nav a {
  color: var(--muted);
  font-weight: 750;
  text-decoration: none;
}

.footer-grid nav a:hover,
.footer-grid nav a:focus-visible {
  color: var(--ink);
}

.not-found {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: start;
}

.not-found-mark {
  width: 70px;
  height: 70px;
  margin-bottom: 22px;
}

@media (max-width: 760px) {
  :root {
    --wrap: min(100vw - 28px, 1120px);
  }

  .site-header {
    padding-inline: 14px;
  }

  .brand-name {
    font-size: 0.94rem;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: 660px;
  }

  h1 {
    font-size: 3.1rem;
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .article-body p {
    font-size: 1.08rem;
  }

  .article-body .lede {
    font-size: 1.18rem;
  }

  .note-strip h2,
  .side-panel h2,
  .content-grid h2 {
    font-size: 1.55rem;
  }

  .page-hero h1 {
    font-size: 2.7rem;
  }

  .hero-content {
    padding-bottom: 54px;
  }

  .intro-grid,
  .content-grid,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid nav {
    flex-wrap: wrap;
  }

  .page-shell {
    padding-top: 36px;
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  h1 {
    font-size: 4.35rem;
  }

  .page-hero h1 {
    font-size: 3.65rem;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.55rem;
  }

  .page-hero h1 {
    font-size: 2.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
