:root {
  --bg: #f8f5ef;
  --surface: #fffdf9;
  --surface-alt: #f2ebe1;
  --text: #1f2422;
  --muted: #4f5a55;
  --accent: #8c6a4a;
  --accent-soft: #e7d7c3;
  --line: #ded4c7;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow: 0 16px 45px rgba(64, 44, 21, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Nunito Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 6%, rgba(140, 106, 74, 0.1), transparent 30%),
    radial-gradient(circle at 84% 0%, rgba(230, 203, 174, 0.3), transparent 34%),
    var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
}

.wrapper {
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 1.2rem 0 3rem;
}

.topbar {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  margin: 0.7rem 0 1.5rem;
  padding: 0.9rem 1rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  position: relative;
  top: auto;
  z-index: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
  margin-left: 20px;
}

.brand img {
  display: block;
  width: auto;
  height: 104px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--accent);
  cursor: pointer;
  padding: 10px;
}

.nav-toggle .line {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle .line + .line {
  margin-top: 5px;
}

.nav-toggle[aria-expanded="true"] .line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav a {
  text-decoration: none;
  font-size: 1rem;
  color: var(--muted);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 0.2s ease;
  white-space: nowrap;
}

.nav a:hover,
.nav a:focus-visible {
  border-color: var(--line);
  background: var(--surface-alt);
  color: var(--text);
  outline: none;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 2.6vw, 2.4rem);
  margin-bottom: 1.1rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.hero h2 {
  margin: 0.55rem 0 0;
  color: rgb(158, 168, 119);
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  font-weight: 600;
}

.eyebrow {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-alt);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  margin-bottom: 0.85rem;
}

.lead {
  font-size: 1.07rem;
  color: var(--muted);
  max-width: 64ch;
}

.stork-word {
  display: inline-block;
  letter-spacing: 0.16em;
  margin-right: -0.16em;
}

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

.section {
  display: flow-root;
}

.section h3 {
  margin: 0 0 0.5rem;
  color: rgb(158, 168, 119);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  letter-spacing: -0.01em;
}

.section h4 {
  margin: 0.2rem 0 0.55rem;
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  color: var(--accent);
}

p {
  margin: 0.72rem 0;
}

ul {
  margin: 0.55rem 0 0.2rem 1.2rem;
  padding: 0;
}

li {
  margin: 0.32rem 0;
}

.quote {
  margin-top: 1rem;
  border-left: 4px solid var(--accent-soft);
  background: #f9f4ec;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.8rem 1rem;
  font-weight: 500;
  color: #594937;
}

.partner-link-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1rem;
  align-items: center;
  margin-top: 1.2rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(244, 237, 227, 0.95));
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card h4 + .partner-link-card {
  margin-top: 0.35rem;
  margin-bottom: 1rem;
}

.partner-link-card:hover,
.partner-link-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(64, 44, 21, 0.12);
  border-color: #ccb8a1;
  outline: none;
}

.partner-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.partner-thumb-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.partner-thumb--stork {
  height: 100%;
  border: 0;
  object-fit: contain;
  padding: 0.3rem;
  transform: none;
}

.partner-link-card small {
  display: block;
  margin-bottom: 0.28rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.partner-link-card strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--accent);
  font-size: 1.04rem;
}

.partner-link-card span {
  color: var(--muted);
}

.button {
  display: inline-flex;
  text-decoration: none;
  margin-top: 0.8rem;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 0.72rem 1.05rem;
  font-weight: 600;
  transition: 0.2s ease;
}

.button:hover,
.button:focus-visible {
  background: #6f5138;
  outline: none;
  transform: translateY(-1px);
}

.full {
  grid-column: 1 / -1;
}

.section-heading {
  margin: 1.5rem 0 0.6rem;
  padding: 0 0.35rem;
}

.events-block {
  margin-top: 1.5rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(244, 237, 227, 0.95));
}

.events-header {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.events-label {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.events-header h5 {
  margin: 0;
  font-size: 1.05rem;
}

.events-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.event-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.9rem;
  padding: 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.75);
}

.event-date {
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 0.7rem 0.5rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: center;
}

.event-month {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.event-day {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  margin-top: 0.25rem;
}

.event-copy h5 {
  margin: 0 0 0.2rem;
  font-size: 1.02rem;
}

.event-meta,
.event-location {
  margin: 0.14rem 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.events-empty {
  margin: 0;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.65);
  color: var(--muted);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1rem, 2.2vw, 1.8rem);
  align-items: start;
}

.contact-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-copy p:first-child {
  margin-top: 0;
}

.contact-copy p:last-child {
  margin-bottom: 0;
}

.contact-photo-frame {
  width: clamp(220px, 16vw, 260px);
  min-height: 0;
  justify-self: end;
}

.contact-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 1.2rem;
  padding: 0.6rem;
}

@media (max-width: 900px) {
  .topbar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    border-radius: var(--radius-md);
    position: sticky;
    top: 0.6rem;
    z-index: 10;
  }

  .nav-toggle {
    display: inline-block;
    margin-right: 0.35rem;
  }

  .nav {
    width: 100%;
    order: 3;
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible;
    padding-top: 0.35rem;
    padding-bottom: 0;
    row-gap: 0.45rem;
  }

  .js-nav-ready .topbar .nav {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: max-height 220ms ease, opacity 200ms ease, transform 220ms ease;
  }

  .js-nav-ready .topbar .nav.is-open {
    max-height: 220px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

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

  .event-item {
    grid-template-columns: 1fr;
  }

  .partner-link-card {
    grid-template-columns: 1fr;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-photo-frame {
    width: min(100%, 180px);
    justify-self: start;
  }

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

  .event-date {
    justify-items: center;
    text-align: center;
  }

  .full {
    grid-column: auto;
  }
}
