:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: #22251f;
  background: #f5f1e8;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
  font-weight: 400;
  --color-ink: #22251f;
  --color-muted: #65675e;
  --color-paper: #f5f1e8;
  --color-green: #344a38;
  --page-gutter: clamp(1.25rem, 6vw, 6rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f5f1e8;
  min-height: 100vh;
  min-height: 100svh;
  min-width: 320px;
  margin: 0;
  overflow: hidden;
}

.image-toggle {
  display: grid;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #f5f1e8;
  cursor: zoom-out;
  place-items: center;
}

.image-toggle:focus-visible {
  outline: 3px solid #9a6c36;
  outline-offset: -6px;
}

.image-toggle[aria-pressed="true"] {
  cursor: zoom-in;
}

.page-background {
  display: block;
  width: min(100vw, 183.333svh, 110rem);
  height: auto;
  object-position: center;
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 8%, #000 92%, transparent),
    linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent, #000 8%, #000 92%, transparent),
    linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
  mask-composite: intersect;
}

.image-toggle[aria-pressed="false"] .page-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid #9a6c36;
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  z-index: 1;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  transform: translateY(-200%);
  background: white;
}

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

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem var(--page-gutter);
}

.site-header {
  border-bottom: 1px solid rgb(34 37 31 / 12%);
}

.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.06em;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  gap: clamp(1.25rem, 4vw, 3rem);
}

.site-header nav a,
.site-footer a {
  font-size: 0.9rem;
  text-decoration: none;
}

.site-header nav a:hover,
.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  min-height: min(44rem, 82vh);
  padding: 4rem var(--page-gutter);
}

.hero__copy {
  max-width: 34rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--color-green);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.75rem, 8vw, 7.5rem);
  line-height: 0.98;
}

.hero__intro {
  max-width: 30rem;
  margin: 1.5rem 0 2rem;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

.button {
  display: inline-block;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--color-green);
  border-radius: 999px;
  background: var(--color-green);
  color: white;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.button:hover {
  background: transparent;
  color: var(--color-green);
}

.hero__art {
  display: block;
  width: 100%;
  max-height: 34rem;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.content-section,
.contact-section {
  padding: clamp(5rem, 11vw, 10rem) var(--page-gutter);
}

.content-section {
  max-width: 56rem;
}

h2 {
  max-width: 18ch;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
}

.content-section > p:last-child,
.contact-section > p:last-child {
  max-width: 38rem;
  margin: 1.5rem 0 0;
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.contact-section {
  background: #e9e5da;
}

.site-footer {
  min-height: 5rem;
  color: var(--color-muted);
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 4rem;
  }

  .hero__art {
    max-height: none;
  }
}

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