:root {
  --accent: #857251;
  --activity-accent: #783f04;
  --contact-accent: #4c1130;
  --ink: #212121;
  --white: #ffffff;
  --social: #686d72;
  --compact-footer-height: 42px;
  --safe-area-bottom: env(safe-area-inset-bottom, 0px);
  --body-font: "Open Sans", Arial, Helvetica, sans-serif;
  --brand-font: Roboto, Arial, Helvetica, sans-serif;
  --hero-font: Montserrat, Arial, Helvetica, sans-serif;
  --heading-font: Roboto, Arial, Helvetica, sans-serif;
  --contact-heading-font: Merriweather, Georgia, serif;
  --code-font: "Source Code Pro", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--accent);
  color-scheme: only light;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  min-width: 320px;
  margin: 0;
  padding-bottom: calc(var(--compact-footer-height) + var(--safe-area-bottom));
  overflow-x: hidden;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 24.96px;
  -webkit-font-smoothing: antialiased;
}

body[data-footer-expanded] {
  padding-bottom: 0;
}

main {
  background: var(--white);
}

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

a {
  color: inherit;
  text-underline-offset: 0.14em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid #d0ac65;
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.site-width {
  width: min(calc(100% - 40px), 1154px);
  margin-inline: auto;
}

.content-width {
  width: min(calc(100% - 54px), 942px);
  margin-inline: auto;
}

.narrow-width {
  width: min(calc(100% - 54px), 744px);
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
}

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

/* Loading screen */

html.page-loading {
  overflow: hidden;
  animation: site-page-loader-failsafe 8s steps(1, end) forwards;
}

.site-loader {
  position: fixed;
  z-index: 1001;
  inset: 0;
  display: grid;
  visibility: hidden;
  align-items: center;
  justify-items: center;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, visibility 0s linear 200ms;
}

.site-loader[hidden] {
  display: none;
}

.site-loader::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: var(--accent);
  content: "";
}

.site-loader img {
  position: relative;
  z-index: 1;
  width: min(80vmin, 720px);
  max-width: 80vw;
  max-height: 80vh;
  height: auto;
  object-fit: contain;
}

html.page-loading .site-loader {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
  animation: site-loader-failsafe 8s steps(1, end) forwards;
}

html.page-loading.page-loading-leaving .site-loader {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition-delay: 0s, 200ms;
  animation: none;
}

html.page-loading.page-loading-leaving .site-loader[data-loader-flight] {
  visibility: visible;
  opacity: 1;
  transition: none;
}

html.page-loading.page-loading-leaving .site-loader[data-loader-flight]::before {
  opacity: 0;
  transition: opacity 400ms ease;
}

@keyframes site-loader-failsafe {
  to {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
}

@keyframes site-page-loader-failsafe {
  to {
    overflow: auto;
  }
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 64px;
  color: var(--white);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.header-over-hero {
  background: transparent;
}

.site-header[data-scrolled] {
  background: var(--white);
  box-shadow: 0 2px 14px rgb(0 0 0 / 18%);
  color: #363636;
}

.site-header[data-scrolled] .main-nav a[aria-current]::after {
  background: var(--accent);
}

@media (min-width: 721px) {
  .site-header {
    transition: background-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
  }

  .header-over-hero {
    background: rgb(46 37 24 / 28%);
    -webkit-backdrop-filter: blur(14px) saturate(125%);
    backdrop-filter: blur(14px) saturate(125%);
  }

  .site-header[data-scrolled] {
    background: rgb(255 255 255 / 90%);
  }

}

.header-inner.site-width {
  display: flex;
  width: calc(100% - 56px);
  max-width: none;
  height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--brand-font);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 1.5px;
  line-height: 20px;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  box-sizing: border-box;
  background: transparent;
  object-fit: contain;
  transition: background-color 180ms ease, padding 180ms ease;
}

.site-header[data-scrolled] .brand img {
  padding: 4px;
  border-radius: 50%;
  background: var(--accent);
}

@media (min-width: 721px) {
  .brand {
    gap: 0;
    transition: gap 180ms ease;
  }

  .brand img {
    width: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    filter: brightness(0.14);
    opacity: 0;
    transition: opacity 180ms ease, width 180ms ease;
  }

  .site-header[data-scrolled] .brand {
    gap: 16px;
  }

  .site-header[data-scrolled] .brand img {
    width: 40px;
    padding: 0;
    background: transparent;
    opacity: 1;
  }
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-right: 32px;
}

.main-nav a {
  position: relative;
  padding: 20px 0 17px;
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a[aria-current] {
  font-weight: 700;
}

.main-nav a[aria-current]::after {
  position: absolute;
  right: 0;
  bottom: 9px;
  left: 0;
  height: 2px;
  background: currentcolor;
  content: "";
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 0;
  background: transparent;
  color: currentcolor;
  cursor: pointer;
}

.menu-toggle span[aria-hidden="true"] {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: currentcolor;
  transition: opacity 150ms ease, transform 150ms ease;
}

.menu-toggle[aria-expanded="true"] span[aria-hidden="true"]:nth-of-type(2) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span[aria-hidden="true"]:nth-of-type(3) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span[aria-hidden="true"]:nth-of-type(4) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Home */

.nav-section {
  scroll-margin-top: 64px;
}

.events,
.contact {
  min-height: calc(100vh - 64px - var(--compact-footer-height) - var(--safe-area-bottom));
  min-height: calc(100svh - 64px - var(--compact-footer-height) - var(--safe-area-bottom));
}

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

.hero-media img {
  object-fit: cover;
}

.home-hero {
  position: relative;
  display: flex;
  height: 484px;
  align-items: center;
  overflow: hidden;
  background: #506e32;
  color: var(--white);
}

.home-hero::after,
.activities-hero::after,
.events-hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
}

.home-hero::after {
  background: linear-gradient(90deg, rgb(0 0 0 / 26%), rgb(0 0 0 / 2%) 70%);
}

.home-hero .hero-media img {
  object-position: center 100%;
}

.home-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 56px 8px 0;
  transform: translateY(17px);
}

.home-hero-logo {
  width: clamp(140px, 13vw, 210px);
  height: auto;
  flex: 0 0 auto;
}

.home-hero-logo[data-loader-flight] {
  opacity: 0;
}

.home-hero-copy-text {
  min-width: 0;
}

.home-hero h1 {
  display: grid;
  gap: 22px;
  font-family: var(--hero-font);
  font-size: 40px;
  font-weight: 700;
  line-height: 62.4px;
}

.home-hero h1 span,
.home-hero h1 strong {
  display: block;
  font-weight: 700;
}

.home-hero p {
  margin-top: 24px;
  font-family: var(--hero-font);
  font-size: 14.6667px;
  font-style: italic;
  font-weight: 700;
  line-height: 22.88px;
}

.home-gallery {
  padding: 24px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 365fr 760fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 26px 29px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.gallery-riding,
.gallery-play {
  aspect-ratio: 4 / 3;
}

.gallery-dog {
  grid-column: 2;
  grid-row: 1 / span 2;
  aspect-ratio: 4 / 3;
}

.about {
  min-height: 167px;
  padding: 30px 0 25px;
  text-align: center;
}

.about h2 {
  color: var(--accent);
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: 700;
  line-height: 37.44px;
  text-transform: capitalize;
}

.about p {
  margin-top: 8px;
  line-height: 1.56;
}

.compact-footer {
  position: fixed;
  z-index: 15;
  right: 0;
  bottom: -1px;
  left: 0;
  height: calc(var(--compact-footer-height) + var(--safe-area-bottom) + 1px);
  padding-bottom: calc(var(--safe-area-bottom) + 1px);
  overflow-x: auto;
  overflow-y: hidden;
  background: var(--accent);
  color: var(--white);
  font-family: var(--body-font);
  font-size: clamp(11px, 0.83vw, 12px);
  line-height: 1;
  transition: opacity 200ms ease, visibility 0s linear 200ms;
}

[data-expanded-footer-content] {
  transition: opacity 200ms ease, visibility 0s linear 200ms;
}

.compact-footer:focus-visible {
  outline-offset: -3px;
}

.compact-footer-row.site-width {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: max(calc(100% - 40px), 1290px);
  max-width: none;
  height: var(--compact-footer-height);
  align-items: center;
}

.compact-footer-row > * {
  min-width: 0;
  justify-self: center;
  white-space: nowrap;
}

.compact-footer a {
  text-decoration: none;
}

.compact-footer a:hover {
  text-decoration: underline;
}

.compact-footer-social {
  gap: 8px;
}

.compact-footer-social a {
  width: 24px;
  height: 24px;
}

.compact-footer-iban {
  display: flex;
  align-items: center;
}

.compact-iban-code {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 3px 3px 5px;
  border: 1px solid rgb(255 255 255 / 36%);
  border-radius: 3px;
  background: rgb(0 0 0 / 14%);
  color: var(--white);
  font-family: var(--code-font);
  font-size: 11px;
  line-height: 1.2;
}

.compact-iban-code > span {
  white-space: nowrap;
}

.compact-iban-copy-button {
  display: inline-grid;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 2px;
  background: rgb(255 255 255 / 12%);
  color: var(--white);
  cursor: pointer;
  place-items: center;
}

.compact-iban-copy-button:hover {
  background: rgb(255 255 255 / 24%);
}

.compact-iban-copy-button:focus-visible {
  outline-color: var(--white);
  outline-offset: 2px;
}

.compact-iban-copy-button svg {
  flex: 0 0 auto;
}

.footer-transition-ready[data-footer-expanded] .compact-footer,
.footer-transition-ready:not([data-footer-expanded]) [data-expanded-footer-content] {
  visibility: hidden;
  opacity: 0;
}

.footer-transition-ready:not([data-footer-expanded]) .compact-footer,
.footer-transition-ready[data-footer-expanded] [data-expanded-footer-content] {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.home-footer {
  position: relative;
  z-index: 1;
  padding: 24px 0 16px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--body-font);
  text-align: center;
  font-size: 14px;
  line-height: 1;
}

.home-contact > p + p {
  margin-top: 12px;
}

.home-contact.site-width {
  width: min(calc(100% - 54px), 941px);
  margin-inline: auto;
  overflow-wrap: anywhere;
}

.home-contact a {
  text-decoration: none;
}

.home-contact a:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.footer-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
  white-space: nowrap;
}

.social-links a {
  display: grid;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--social);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.72;
  text-decoration: none;
  transition: opacity 180ms;
  place-items: center;
}

.social-links a:hover,
.social-links a:focus-visible {
  opacity: 1;
  text-decoration: none;
}

.social-links a:first-child span {
  transform: translate(-1px, 1px);
}

.social-links a:last-child {
  font-size: 13px;
}

.social-links-light a {
  border: 1px solid rgb(255 255 255 / 25%);
}

/* Activities */

.activities-hero {
  position: relative;
  display: grid;
  height: 480px;
  overflow: hidden;
  background: #64804a;
  color: var(--white);
  place-items: center;
}

.activities-hero::after {
  background: rgb(0 0 0 / 24%);
}

.section-hero-content {
  position: relative;
  z-index: 2;
}

.activities-hero h2,
.events-hero h2 {
  font-family: var(--heading-font);
  font-size: 60px;
  font-weight: 500;
  letter-spacing: -0.5px;
  line-height: 75.6px;
  text-align: center;
}

.activities-hero h2::after,
.events-hero h2::after {
  display: block;
  width: 100px;
  height: 6px;
  margin: 12px auto 0;
  background: var(--accent);
  content: "";
}

.activities-list {
  padding: 24px 0 38px;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.activity-grid article {
  min-width: 0;
  text-align: center;
}

.activity-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
}

.activity-grid h3 {
  margin-top: 12px;
  color: var(--activity-accent);
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 700;
  line-height: 24.96px;
}

/* Events */

.events-hero {
  position: relative;
  display: grid;
  height: 310px;
  overflow: hidden;
  background: #721325;
  color: var(--white);
  place-items: center;
}

.events-hero::after {
  background: rgb(0 0 0 / 34%);
}

.events-hero .hero-media img {
  object-position: center 48%;
}

.events-message {
  padding: 28px 0 32px;
}

.events-message .content-width {
  width: min(calc(100% - 40px), 942px);
}

@media (min-width: 1920px) and (min-aspect-ratio: 21 / 9) {
  .home-hero {
    height: clamp(484px, 62vh, 900px);
    height: clamp(484px, 62svh, 900px);
  }

  .home-hero .hero-media img {
    object-position: center 100%;
  }

  .activities-hero {
    height: clamp(480px, 62vh, 900px);
    height: clamp(480px, 62svh, 900px);
  }

  .activities-hero .hero-media img {
    object-position: center 50%;
  }

  .events-hero {
    height: clamp(310px, 40vh, 580px);
    height: clamp(310px, 40svh, 580px);
  }

  .events-hero .hero-media img {
    object-position: center 48%;
  }
}

.events-calendar {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(230px, 0.75fr);
  overflow: hidden;
  border: 1px solid rgb(133 114 81 / 42%);
  border-radius: 8px;
  background: #fffcf7;
  color: var(--ink);
  text-align: left;
}

.calendar-month-panel {
  min-width: 0;
  padding: 22px 24px 24px;
}

.calendar-month-panel h3 {
  color: var(--accent);
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
}

.calendar-grid {
  margin-top: 15px;
}

.calendar-weekdays,
.calendar-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays {
  margin-bottom: 5px;
  color: var(--accent);
  font-family: var(--heading-font);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.calendar-weekdays span {
  display: grid;
  min-height: 24px;
  align-items: center;
}

.calendar-week > [role="gridcell"] {
  display: grid;
  min-width: 0;
  min-height: 44px;
}

.calendar-empty {
  opacity: 0;
  pointer-events: none;
}

.calendar-day {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.calendar-day:hover {
  border-color: rgb(133 114 81 / 58%);
  background: rgb(133 114 81 / 10%);
}

.calendar-day.is-today:not(.is-selected) {
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 700;
}

.calendar-day.is-selected {
  border-color: var(--contact-accent);
  background: var(--contact-accent);
  color: var(--white);
  font-weight: 700;
}

.calendar-detail {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 28px 30px;
  border-left: 1px solid rgb(133 114 81 / 32%);
  background: rgb(133 114 81 / 10%);
}

.calendar-detail time {
  color: var(--contact-accent);
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
}

.calendar-detail p {
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.56;
}

/* Contact */

.contact-section {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  min-height: 445px;
  padding: 20px 0 24px;
}

.contact {
  position: relative;
  display: flex;
  min-height: calc(100vh - 64px);
  min-height: calc(100svh - 64px);
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
}

.contact-constellations {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

@media (min-width: 721px) {
  .contact-constellations {
    display: block;
  }

  .contact-constellations[data-visible] {
    opacity: 1;
    transition-duration: 2s;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 365px minmax(0, 546px);
  gap: 37px;
}

.contact-grid > img {
  width: 365px;
  height: 360px;
  border-radius: 8px;
  object-fit: cover;
}

.contact-copy {
  padding-top: 5px;
}

.contact-copy h3 {
  color: var(--contact-accent);
  font-family: var(--contact-heading-font);
  font-weight: 700;
  font-size: 34.6667px;
  line-height: 52px;
}

.contact-copy .donation-title {
  margin-top: 22px;
  font-size: 32px;
  line-height: 49.92px;
}

.contact-copy p {
  line-height: 1.56;
}

.contact-copy h3 + p {
  margin-top: 4px;
}

.contact-copy p + p {
  margin-top: 16px;
}

.iban-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
  margin-top: 16px;
}

.iban-code {
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 3px 4px 3px 6px;
  border-radius: 4px;
  background: #e6e6e6;
  color: #000000;
  font-family: var(--code-font);
  font-size: 14px;
  line-height: 1.3;
}

.iban-code > span {
  white-space: nowrap;
}

.iban-copy-button {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 4px;
  border: 1px solid #a6a6a6;
  border-radius: 3px;
  background: #c9c9c9;
  color: #000000;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.3;
  cursor: pointer;
}

.iban-copy-button:hover {
  background: #b8b8b8;
}

.iban-copy-button:focus-visible {
  border-color: #4a4a4a;
}

.iban-copy-button svg {
  flex: 0 0 auto;
}

.contact-copy a {
  overflow-wrap: anywhere;
}

.contact-copy a[href^="tel:"] {
  text-decoration: none;
}

.form-link {
  margin-top: 14px !important;
}

.form-link a {
  text-decoration: underline;
}

.form-link a:hover {
  text-decoration-thickness: 2px;
}

@media (max-width: 900px) {
  .main-nav {
    gap: 16px;
  }

  .contact-grid {
    grid-template-columns: minmax(300px, 365px) minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  :root {
    --compact-footer-height: 38px;
  }

  .site-header,
  .header-over-hero,
  .site-header[data-scrolled] {
    background: var(--accent);
    color: var(--white);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .site-header[data-scrolled] .brand img,
  .brand img {
    padding: 0;
    border-radius: 0;
    background: transparent;
    opacity: 1;
  }

  .site-header[data-scrolled] .main-nav a[aria-current]::after,
  .main-nav a[aria-current]::after {
    background: var(--white);
  }

  .site-header .brand:focus-visible,
  .site-header .menu-toggle:focus-visible,
  .site-header .main-nav a:focus-visible {
    outline-color: var(--white);
  }

  .site-width {
    width: calc(100% - 38px);
  }

  .header-inner.site-width {
    width: calc(100% - 10px);
    justify-content: flex-start;
    gap: 0;
  }

  .compact-footer-row.site-width {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    padding-inline: 4px;
  }

  .compact-footer {
    overflow-x: hidden;
  }

  .compact-footer-row > :nth-child(n + 3) {
    display: none;
  }

  .site-header,
  .header-inner.site-width {
    height: 64px;
  }

  .brand {
    gap: 0;
  }

  .brand img {
    width: 40px;
    height: 40px;
    box-sizing: border-box;
  }

  .brand span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .menu-toggle {
    display: block;
    order: -1;
  }

  .main-nav {
    position: absolute;
    z-index: 30;
    top: 58px;
    right: 0;
    display: none;
    width: min(280px, calc(100vw - 22px));
    padding: 10px 18px 14px;
    border: 1px solid rgb(255 255 255 / 28%);
    background: var(--accent);
    box-shadow: 0 12px 26px rgb(0 0 0 / 18%);
    color: var(--white);
    margin-right: 0;
  }

  .main-nav[data-open] {
    display: grid;
    gap: 0;
  }

  .main-nav a {
    padding: 13px 4px;
    font-size: 16px;
  }

  .main-nav a[aria-current]::after {
    right: auto;
    bottom: 7px;
    left: 4px;
    width: 44px;
    background: var(--white);
  }

  .home-hero {
    height: 493px;
  }

  .home-hero .hero-media img {
    object-position: center 50%;
  }

  .home-hero-copy {
    display: block;
    padding: 52px 8px 0;
    transform: translateY(28px);
  }

  .home-hero-logo {
    display: none;
  }

  .home-hero h1 {
    gap: 16px;
    font-size: 30.6667px;
    line-height: 47.84px;
  }

  .home-hero p {
    margin-top: 36px;
  }

  .home-gallery {
    padding: 24px 0 23px;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
    gap: 10px;
  }

  .gallery-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .gallery-play {
    margin-top: 0;
  }

  .gallery-dog {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0;
  }

  .about {
    min-height: 211px;
    padding: 25px 0 24px;
  }

  .about h2 {
    font-size: 20px;
    line-height: 31.2px;
  }

  .about p {
    margin-top: 8px;
  }

  .activities-hero {
    height: 320px;
  }

  .activities-list {
    padding: 24px 0 38px;
  }

  .activity-grid {
    width: calc(100% - 38px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px 18px;
  }

  .activity-grid article:nth-child(2) {
    margin-bottom: 0;
  }

  .activity-grid h3 {
    margin-top: 12px;
  }

  .events-hero {
    height: 250px;
  }

  .activities-hero h2,
  .events-hero h2 {
    font-size: 40px;
    line-height: 50.4px;
  }

  .activities-hero h2::after,
  .events-hero h2::after {
    width: 72px;
    height: 4px;
    margin-top: 9px;
  }

  .events-message {
    padding: 24px 0 28px;
  }

  .events-message .content-width {
    width: calc(100% - 32px);
  }

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

  .calendar-month-panel {
    padding: 18px 14px 20px;
  }

  .calendar-detail {
    gap: 8px;
    padding: 20px 18px;
    border-top: 1px solid rgb(133 114 81 / 32%);
    border-left: 0;
  }

  .calendar-detail time {
    font-size: 21px;
  }

  .contact-section {
    min-height: 869px;
    padding: 18px 0 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .contact-grid > img {
    width: 100%;
    height: auto;
    aspect-ratio: 352 / 347;
  }

  .gallery-grid img,
  .activity-grid img,
  .contact-grid > img {
    border-radius: 6px;
  }

  .contact-copy {
    padding-top: 0;
    margin-inline: 8px;
  }

  .contact-copy h3 {
    font-size: 26.6667px;
    line-height: 40px;
  }

  .contact-copy .donation-title {
    margin-top: 34px;
    font-size: 26.6667px;
    line-height: 41.6px;
  }

  .contact-copy h3 + p {
    margin-top: 16px;
  }

  .contact-copy h3 + p a {
    display: block;
  }

  .form-link {
    max-width: 310px;
  }

}

@media (max-width: 359px) {
  .activity-grid {
    width: min(232px, calc(100% - 38px));
    grid-template-columns: 1fr;
    gap: 48px;
  }

}

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