@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans-medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f7f2;
  --ink: #202d26;
  --muted: #586159;
  --green: #173d31;
  --line: #d7dbd2;
  --light: #edf2e9;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 0.25em; }
::selection { color: var(--paper); background: var(--green); }
:focus-visible { outline: 3px solid #99622a; outline-offset: 6px; }
section { scroll-margin-top: 2rem; }
p { margin: 0; font-size: 1.0625rem; line-height: 1.7; }
h1, h2, h3 { margin: 0; font-weight: 400; overflow-wrap: anywhere; }
h1, h2 { font-family: "Newsreader", Georgia, serif; }
.page-width { width: min(100% - 7rem, 78rem); margin-inline: auto; }
.skip-link { position: absolute; top: 1rem; left: 1rem; z-index: 1; padding: 0.75rem 1rem; background: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: 2.25rem; border-bottom: 1px solid var(--line); }
.brand { font-family: "Newsreader", Georgia, serif; font-size: 1.875rem; font-weight: 400; letter-spacing: -0.01em; text-decoration: none; overflow-wrap: anywhere; max-width: 100%; }
.brand-mark { color: #557740; }
nav { display: flex; flex-wrap: wrap; gap: 2rem; }
nav a { padding-block: 0.5rem; font-size: 0.9375rem; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.hero { padding-block: 6.5rem 6rem; }
h1 { max-width: 70rem; font-size: clamp(3.1rem, 6.4vw, 6rem); line-height: 1.03; letter-spacing: -0.03em; text-wrap: balance; }
h1 span { color: var(--green); }
.hero-details { display: grid; grid-template-columns: 1fr 1.4fr auto; align-items: start; column-gap: 3rem; margin-top: 3.5rem; }
.hero-details p { max-width: 42ch; min-width: 0; overflow-wrap: anywhere; }
.hero-details p:nth-child(2) { color: var(--muted); }
.contact-button { display: inline-flex; justify-content: center; align-items: center; min-height: 3.25rem; max-width: 100%; padding: 0.85rem 1.65rem; background: var(--green); color: var(--paper); border-radius: 0.25rem; font-size: 1rem; font-weight: 500; text-decoration: none; text-align: center; overflow-wrap: anywhere; }
.contact-button:hover { background: #275542; }
.focus { display: grid; grid-template-columns: 1.15fr 1fr; gap: 7rem; padding-block: 4.5rem 5rem; border-top: 1px solid var(--line); }
h2 { font-size: clamp(2.5rem, 3.8vw, 3.75rem); line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
.focus-intro { min-width: 0; }
.focus-intro p { max-width: 44ch; margin-top: 1.5rem; color: var(--muted); }
.focus-topics { display: grid; align-content: start; gap: 2rem; min-width: 0; }
h3 { margin-bottom: 0.65rem; font-size: 1.1875rem; font-weight: 500; line-height: 1.4; }
.focus-topics p { color: var(--muted); max-width: 44ch; }
.focus-topics article + article { border-top: 1px solid var(--line); padding-top: 2rem; }
.contact { color: var(--light); background: var(--green); }
.contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 3rem; padding-block: 3.5rem; }
.availability { font-size: 0.9375rem; margin-bottom: 1.25rem; color: #c5d4bd; }
.contact-description { margin-top: 0.75rem; color: #d3dfcc; }
.email-link { font-size: clamp(1.2rem, 2.15vw, 1.875rem); line-height: 1.4; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.email-link:hover { text-decoration-thickness: 2px; }
.contact :focus-visible { outline-color: #e1c28b; }
.site-footer { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.75rem; color: var(--muted); font-size: 0.875rem; line-height: 1.5; }
.footer-brand { color: var(--ink); font-family: "Newsreader", Georgia, serif; font-size: 1.125rem; }

@media (max-width: 64rem) {
  .page-width { width: calc(100% - 4rem); }
  .hero { padding-block: 5rem; }
  .hero-details { grid-template-columns: 1fr 1.4fr; gap: 1.5rem 2.5rem; }
  .contact-button { justify-self: start; }
  .focus { gap: 3.5rem; }
}

@media (max-width: 42rem) {
  .page-width { width: calc(100% - 2.5rem); }
  .site-header { padding-block: 1.5rem; gap: 1rem; }
  .brand { font-size: 1.5rem; }
  nav { gap: 1rem; }
  nav a { font-size: 0.875rem; }
  .hero { padding-block: 3.5rem; }
  h1 { font-size: clamp(2.85rem, 9.2vw, 3.9rem); line-height: 1.08; }
  .desktop-break { display: none; }
  .hero-details { grid-template-columns: minmax(0, 1fr); gap: 1.15rem; margin-top: 2rem; }
  .contact-button { margin-top: 0.5rem; }
  .focus { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 3rem 3.5rem; }
  .contact-inner { align-items: flex-start; flex-direction: column; gap: 2rem; padding-block: 3rem; }
  .site-footer { flex-direction: column; gap: 0.4rem; }
}

@media (max-width: 23rem) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 0.65rem; }
}

@media (prefers-reduced-motion: no-preference) {
  a { transition: background-color 140ms ease-out; }
}
