/* Shared public header and footer. Desktop matches the home page: 96px logo, about 118px bar. */
.sw-header {
  box-sizing: border-box;
  min-height: 118px;
  padding: 10px 44px 12px;
  background: #000;
  color: var(--sw-on-dark, #e9ecee);
  display: flex;
  align-items: center;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 20;
}
.sw-logo { display: flex; align-items: center; flex: none; margin-right: auto; }
.sw-logo img { height: 96px; width: auto; display: block; }
.sw-header nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
  order: 2;
}
.sw-cart { order: 3; }
.sw-header nav a {
  padding: 2px 0;
  font-family: var(--font-heading, Georgia, serif);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--sw-on-dark, #e9ecee);
  text-decoration: none;
}
.sw-header nav a:hover,
.sw-header nav a[aria-current="page"] { color: var(--sw-green-bright, #7fbf3c); text-decoration: none; }
.sw-header nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--sw-green-bright, #7fbf3c); }
.sw-cart {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--color-accent, #35660f);
  color: #fff !important;
  font-family: var(--font-heading, Georgia, serif);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  white-space: nowrap;
}
.sw-nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.sw-bars { display: none; }
@media (min-width: 1440px) {
  .sw-header nav { gap: 22px; }
  .sw-header nav a { font-size: 14px; }
}
@media (max-width: 1439px) and (min-width: 1280px) {
  .sw-header { min-height: 100px; }
  .sw-logo img { height: 78px; }
}
@media (max-width: 1279px) {
  .sw-header { min-height: 60px; height: 60px; padding: 0 12px; gap: 8px; }
  .sw-logo img { height: 36px; }
  .sw-cart { min-height: 44px; padding: 8px 14px; color: #102208 !important; }
  .sw-nav-toggle {
    position: relative;
    order: 4;
    width: 44px;
    height: 44px;
    margin: 0;
    clip: auto;
    overflow: visible;
    opacity: 0;
    z-index: 2;
    cursor: pointer;
    flex: none;
  }
  .sw-nav-toggle:focus-visible { outline: none; }
  .sw-nav-toggle:focus-visible + .sw-bars { outline: 2px solid var(--sw-green-bright, #7fbf3c); outline-offset: 8px; }
  .sw-bars {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--sw-on-dark, #e9ecee);
    box-shadow: 0 -7px 0 var(--sw-on-dark, #e9ecee), 0 7px 0 var(--sw-on-dark, #e9ecee);
    position: absolute;
    right: 23px;
    top: 50%;
    margin-top: -1px;
    pointer-events: none;
  }
  .sw-header nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    order: 5;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    background: #000;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    padding: 0 14px;
    z-index: 19;
  }
  .sw-header nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 17px;
    border-top: 1px solid color-mix(in srgb, var(--sw-on-dark, #e9ecee) 18%, transparent);
  }
  .sw-nav-toggle:checked ~ nav { max-height: 760px; visibility: visible; padding: 4px 14px 12px; }
}
@media (max-width: 1279px) and (prefers-reduced-motion: no-preference) {
  .sw-header nav { transition: max-height 200ms ease; }
}
@media (prefers-reduced-motion: reduce) {
  .sw-header nav { transition: none !important; }
}
footer.sw-footer { padding: 34px clamp(20px, 6vw, 80px); display: flex; gap: 28px; flex-wrap: wrap; align-items: center; font-size: 14px; background: #000; color: color-mix(in srgb, var(--sw-on-dark, #e9ecee) 65%, transparent); }
footer.sw-footer a { color: var(--sw-on-dark, #e9ecee); }
footer.sw-footer img { height: 62px; width: auto; display: block; }
footer.sw-footer .links { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; }
