@font-face {
  font-family: "Dancing Script";
  font-style: normal;
  font-weight: 400 700;
  src: url("/assets/fonts/dancing-script-v24-latin-ext-regular.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif";
  font-style: normal;
  font-weight: 400;
  src: url("/assets/fonts/noto-serif-v21-latin-ext-regular.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif";
  font-style: normal;
  font-weight: 700;
  src: url("/assets/fonts/noto-serif-v21-latin-ext-700.woff2") format("woff2");
  font-display: swap;
}

:root {
  --ink: #26312a;
  --muted: #667061;
  --line: rgba(143, 174, 126, 0.28);
  --leaf: #457047;
  --leaf-dark: #2f5632;
  --honey: #c68b32;
  --sky: #e8f5f8;
  --cream: #fbfaf6;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(38, 49, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Noto Serif", Georgia, serif;
  line-height: 1.7;
}

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

a {
  color: var(--leaf-dark);
  text-underline-offset: 0.2em;
}

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

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.brand {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.25rem 1rem;
  text-align: center;
}

.brand-mark {
  width: 86px;
  height: 86px;
  margin: 0 auto 0.35rem;
  border-radius: 50%;
  object-fit: cover;
}

.site-title,
.site-description,
h1,
h2,
.footer-title {
  font-family: "Dancing Script", "Brush Script MT", cursive;
  font-weight: 400;
  letter-spacing: 0;
}

.site-title {
  margin: 0;
  color: var(--leaf-dark);
  font-size: 4rem;
  line-height: 1;
}

.site-description {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 1.65rem;
}

.main-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  justify-content: center;
  padding: 0 1.25rem 1.4rem;
  font-family: "Dancing Script", "Brush Script MT", cursive;
  font-size: 1.55rem;
}

.main-navigation a {
  color: var(--ink);
  text-decoration: none;
}

.main-navigation a:hover,
.main-navigation a:focus {
  color: var(--leaf-dark);
  box-shadow: 0 2px 0 var(--leaf);
}

.header-image {
  width: 100%;
  min-height: 180px;
  max-height: 310px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.05);
}

main {
  overflow: hidden;
}

.intro,
.section,
.gallery-section,
.contact {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4.5rem 1.25rem;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 2rem;
  align-items: center;
}

.intro h1,
.section-heading h2,
.post-preview h2,
.contact h2 {
  margin: 0;
  color: var(--leaf-dark);
  line-height: 1.05;
}

.intro h1 {
  font-size: 4.5rem;
}

.intro p {
  font-size: 1.08rem;
}

.eyebrow,
.date {
  margin: 0 0 0.4rem;
  color: var(--honey);
  font-family: "Noto Serif", Georgia, serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.button {
  border: 1px solid var(--leaf);
  border-radius: 4px;
  color: var(--leaf-dark);
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0.55rem 1rem;
  text-decoration: none;
}

.button.primary {
  background: var(--leaf-dark);
  color: var(--white);
}

.featured-photo img,
.news-row img {
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.featured-photo {
  margin: 0;
}

.featured-photo img {
  aspect-ratio: 4 / 3;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading h2,
.post-preview h2,
.contact h2 {
  font-size: 3.1rem;
}

.content-grid,
.news-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.content-grid article,
.news-row article {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  padding: 1.25rem;
}

h3 {
  margin: 0 0 0.5rem;
  color: var(--leaf-dark);
  font-size: 1.25rem;
}

.content-grid p,
.news-row p,
.post-body p,
.post-body li,
.contact p {
  color: var(--muted);
}

.band {
  background: linear-gradient(180deg, var(--sky), var(--cream));
  border-block: 1px solid var(--line);
}

.post-preview {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4.5rem 1.25rem;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
}

.post-body ul {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.news-row img {
  aspect-ratio: 4 / 3;
  margin-bottom: 1rem;
}

.gallery-section {
  padding-top: 1rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  border-radius: 4px;
  object-fit: cover;
}

.gallery img:nth-child(1),
.gallery img:nth-child(4) {
  grid-column: span 3;
}

.gallery img:nth-child(2),
.gallery img:nth-child(3),
.gallery img:nth-child(5),
.gallery img:nth-child(6) {
  grid-column: span 2;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: start;
}

.contact-panel {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--cream);
  padding: 1.25rem;
}

.contact-panel a {
  display: block;
  margin-top: 0.75rem;
}

.site-footer {
  padding: 3rem 1.25rem;
  text-align: center;
  box-shadow: inset 0 0 150px rgba(234, 249, 228, 0.9);
}

.footer-title {
  margin: 0;
  color: var(--leaf-dark);
  font-size: 2.5rem;
}

.site-footer p:last-child {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

@media (max-width: 820px) {
  .site-title {
    font-size: 3.2rem;
  }

  .site-description,
  .main-navigation {
    font-size: 1.35rem;
  }

  .intro,
  .post-preview,
  .contact {
    grid-template-columns: 1fr;
  }

  .intro h1 {
    font-size: 3.4rem;
  }

  .section-heading h2,
  .post-preview h2,
  .contact h2 {
    font-size: 2.6rem;
  }

  .content-grid,
  .news-row {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery img,
  .gallery img:nth-child(n) {
    grid-column: span 1;
  }
}

@media (max-width: 520px) {
  .brand {
    padding-top: 1.25rem;
  }

  .site-title {
    font-size: 2.65rem;
  }

  .intro,
  .section,
  .gallery-section,
  .contact,
  .post-preview {
    padding-block: 3rem;
  }

  .intro h1 {
    font-size: 2.75rem;
  }

  .section-heading h2,
  .post-preview h2,
  .contact h2 {
    font-size: 2.25rem;
  }

  .gallery {
    grid-template-columns: 1fr;
  }
}
