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

.skip-link {
  position: absolute;
  top: -64px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 0 0 10px 10px;
  background: var(--ink, #38372f);
  color: var(--bg, #f7f3ea);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 3px solid var(--yellow, #c99542);
  outline-offset: 2px;
}

.site-footer .footer-brand a {
  color: var(--bg, #f7f3ea);
}

.site-footer .footer-brand a:hover {
  color: var(--white, #fcf9f2);
  text-decoration: underline;
}

.footer-credit {
  flex-basis: 100%;
  margin-top: 4px;
  font-size: 13px;
  color: #c9d2cc;
  text-align: center;
}

.footer-credit a {
  color: var(--bg, #f7f3ea);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-credit a:hover {
  color: var(--white, #fcf9f2);
}

.nav-toggle {
  display: none;
}

.brand-short {
  display: none;
  color: var(--ink, #38372f);
  font-family: var(--display, Georgia, serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-poster img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 380px;
  margin-inline: auto;
}

.page-hero .brand-banner:not(.brand-banner--image) img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 380px;
  margin-inline: auto;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .js .nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 1px solid var(--line, #dcc8a7);
    border-radius: 50%;
    background: var(--paper, #fcf9f2);
    color: var(--ink, #38372f);
    cursor: pointer;
  }

  .js .nav-toggle::before {
    content: "";
    width: 18px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor;
  }

  .js .site-header.is-nav-open .nav-toggle {
    border-color: var(--ink, #38372f);
    background: var(--ink, #38372f);
    color: var(--cream, #f7f3ea);
  }

  .js .site-header:not(.is-nav-open) .main-nav {
    display: none;
  }

  .js .site-header.is-nav-open .main-nav {
    display: flex;
    flex: 1 0 100%;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    order: 3;
    gap: 0;
    margin: 8px 0 0;
    padding: 6px 0 10px;
    border-top: 1px solid var(--line, #dcc8a7);
    overflow: visible;
  }

  .js .site-header.is-nav-open .main-nav a {
    padding: 13px 16px;
    border-bottom: 1px solid var(--line-soft, var(--line, #e8ddca));
    border-radius: 0;
    white-space: normal;
  }

  .js .site-header.is-nav-open .main-nav a:hover {
    background: var(--cream-2, var(--mint, #efe7d6));
  }

  .js .site-header.is-nav-open .main-nav a:last-child {
    border-bottom: 0;
  }

  .js .site-header.is-nav-open .main-nav a.nav-contact {
    margin: 8px 16px 0;
    border-bottom: 0;
    border-radius: 999px;
    text-align: center;
  }

  .brand-poster img,
  .page-hero .brand-banner:not(.brand-banner--image) img {
    max-height: 260px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    gap: 12px 20px;
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    height: 34px;
  }

  .brand-name {
    font-size: 14px;
    letter-spacing: 0.04em;
  }

  .brand-sub {
    display: none;
  }

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

@media (max-width: 720px) {
  .wk-grid {
    flex-direction: column;
    gap: 12px;
  }

  #wk-calendar table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (max-width: 400px) {
  .subpage-hero .kicker {
    padding: 8px 11px;
    font-size: 11px;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }

  .subpage-hero .kicker-icon {
    height: 18px;
  }
}

@media (max-width: 380px) {
  .brand-name,
  .brand-sub {
    display: none;
  }

  .brand-short {
    display: inline;
  }
}

/* Shared chrome: identical dimensions on editorial and generated pages. */
.site-header .header-inner {
  width: min(1360px, calc(100% - 48px));
  max-width: none;
  margin: 0 auto;
  padding: 12px 0;
  gap: 16px;
  flex-wrap: nowrap;
}
.site-header .brand { flex: 0 0 auto; gap: 10px; }
.site-header .brand img { height: 42px; width: auto; }
.site-header .brand-name { font-size: 18px; letter-spacing: .06em; }
.site-header .main-nav { flex-wrap: nowrap; gap: 4px; font-size: 14px; }
.site-header .main-nav a { padding: 10px; white-space: nowrap; }
.site-header .main-nav a.nav-contact { padding: 10px 18px; background: #354533; color: #f7f3ea; }
.action-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.visit-card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fcf9f2; }
.visit-card h2 { margin: 0 0 12px; font-family: var(--display); font-size: 30px; line-height: 1.15; color: var(--ink); }
.visit-card p { margin: 12px 0; font-size: 16px; }
.page-hero .visit-card { margin-top: 24px; max-width: 860px; }
.page-hero .brand-banner { margin-top: 24px; }
.page-hero .brand-banner:not(.brand-banner--image) img { max-height: 180px; }
.contact-directory { display: grid; gap: 24px; }
.subpage-hero { flex-direction: row; align-items: center; }
.subpage-hero-copy { order: -1; flex: 1; min-width: 0; }
.subpage-hero .brand-poster { flex: 0 1 30%; width: 30%; margin: 0; }
.subpage-hero .brand-poster img { max-height: 280px; }

@media (min-width: 1101px) {
  .site-header .main-nav { width: auto; order: initial; overflow: visible; padding-bottom: 0; }
}
@media (max-width: 1100px) {
  .site-header { position: static; }
  .site-header .header-inner { flex-wrap: wrap; }
  .js .nav-toggle { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; height: 44px; margin-left: auto; border: 1px solid var(--line); border-radius: 50%; background: #fcf9f2; color: var(--ink); cursor: pointer; }
  .js .nav-toggle::before { content: ""; width: 18px; height: 2px; background: currentColor; box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor; }
  .js .site-header:not(.is-nav-open) .main-nav { display: none; }
  .js .site-header.is-nav-open .main-nav { display: flex; flex: 1 0 100%; width: 100%; flex-direction: column; align-items: stretch; order: 3; gap: 0; margin: 0; padding: 8px 0; overflow: visible; }
  .js .site-header.is-nav-open .main-nav a { padding: 13px 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .js .site-header.is-nav-open .main-nav a.nav-contact { margin: 8px 0 0; border-radius: 999px; text-align: center; }
  .site-header .main-nav { flex-wrap: wrap; } /* Navigation remains available without JS. */
}
@media (max-width: 640px) {
  .site-header .header-inner { width: calc(100% - 32px); gap: 12px; }
  .site-header .brand { gap: 8px; }
  .site-header .brand img { height: 34px; }
  .site-header .brand-name { font-size: 14px; letter-spacing: .04em; }
  .subpage-hero { flex-direction: column; gap: 24px; padding-top: 28px; }
  .subpage-hero-copy { order: -1; width: 100%; }
  .subpage-hero .brand-poster { width: 100%; flex: auto; }
  .subpage-hero .brand-poster img { max-height: 140px; }
  .subnav .subnav-inner { width: 100%; max-width: none; flex-wrap: nowrap; overflow-x: auto; padding: 12px 16px; }
  .subnav a { flex: 0 0 auto; white-space: nowrap; }
  .page-hero { padding: 32px 0 24px; }
  .page-body { padding-top: 24px; }
  .visit-card { padding: 20px; }
  .visit-card a { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
