/* Header + footer — Figma Innerpages */

.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: transparent;
}

body.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

.announcement-bar {
  position: relative;
  z-index: 201;
  background: var(--color-announce);
  color: var(--color-announce-text);
  height: var(--announce-height);
}

.announcement-bar__inner {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: var(--announce-height);
  width: 100%;
}

.announcement-bar__item {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 17px;
  color: var(--color-announce-text);
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
}

.announcement-bar__rule {
  width: 1px;
  height: 40px;
  background: var(--color-announce-text);
  flex-shrink: 0;
  align-self: stretch;
}

.announcement-bar a {
  color: inherit;
  text-decoration: none;
}

.announcement-bar a:hover {
  color: inherit;
  opacity: 0.75;
}

.site-header__bar {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: var(--nav-height);
  padding: 0 64px;
  background: rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5.5px);
  -webkit-backdrop-filter: blur(5.5px);
}

@media (min-width: 1024px) {
  .site-header__bar {
    isolation: isolate;
  }
}

.site-header--solid {
  background: #000;
}

.site-header--solid .site-header__bar {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header--transparent.is-stuck,
.site-header--transparent.is-nav-open {
  background: #000;
}

.site-header--transparent.is-stuck .site-header__bar,
.site-header--transparent.is-nav-open .site-header__bar {
  background: #000;
}

.site-header__inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1600px;
  height: var(--nav-height);
}

.site-branding {
  flex-shrink: 0;
  z-index: 1;
}

.site-header__end {
  display: flex;
  flex-direction: row;
  align-items: center;
  align-self: stretch;
  gap: 8px;
  height: var(--nav-height);
  z-index: 2;
}

.site-nav {
  display: flex;
  align-items: center;
  align-self: stretch;
  margin: 0;
}

.site-logo {
  display: flex;
  flex-direction: column;
  color: var(--color-gold);
  text-transform: uppercase;
  text-decoration: none;
  line-height: 0.88;
  flex-shrink: 0;
}

.site-logo:hover {
  color: var(--color-gold);
  opacity: 0.9;
}

.site-logo__the {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.42em;
  padding-top: 3px;
  border-top: 1px solid currentColor;
  width: max-content;
  margin-left: 3px;
}

.site-logo__herd {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin: 0;
}

.site-logo--lockup {
  display: block;
  width: 176px;
  height: 37.59px;
  margin: 0;
  line-height: 0;
}

.site-logo--lockup img {
  display: block;
  width: 176px;
  height: 37.59px;
}

.site-logo--header {
  height: 69.59px;
}

.site-logo--header img {
  width: 176px;
  height: 70px;
}

.custom-logo-link img {
  display: block;
  height: 38px;
  width: auto;
}

.menu-toggle {
  display: none;
  position: relative;
  z-index: 210;
  width: 44px;
  height: 44px;
  margin-left: 0.15rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--color-gold);
}

.menu-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 22px;
  margin: 0 auto;
}

.menu-toggle__bars span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: currentColor;
}

.menu-close {
  display: none;
}

.site-nav__list {
  list-style: none;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 8px;
  margin: 0;
  padding: 0;
  height: 100%;
}

.site-nav__list > li {
  display: flex;
  align-items: center;
  align-self: stretch;
  height: 100%;
}

.site-nav__list a {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 16px;
  height: 40px;
  border-radius: 40px;
}

.site-nav__list a:hover {
  color: #fff;
  opacity: 0.85;
}

.site-nav__list .current-menu-item,
.site-nav__list .current_page_item,
.site-nav__list .current-menu-parent,
.site-nav__list .current_page_parent {
  background: var(--color-nav-active);
}

.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a,
.site-nav__list .current-menu-parent > a,
.site-nav__list .current_page_parent > a,
.site-nav__list .current-menu-item > a:hover,
.site-nav__list .current_page_item > a:hover,
.site-nav__list .current-menu-parent > a:hover,
.site-nav__list .current_page_parent > a:hover {
  background: transparent;
  color: #fff;
  opacity: 1;
}

.site-header__actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0 8px 0 24px;
  gap: 24px;
  height: 24px;
}

.header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 24px;
  height: 24px;
  color: var(--color-gold);
  text-decoration: none;
}

.header-icon:hover {
  color: var(--color-gold);
  opacity: 0.8;
}

.header-icon img,
.header-icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.header-icon__count {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--color-gold);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

.header-icon__count[hidden] {
  display: none;
}

body.is-nav-open {
  overflow: hidden;
}

body.is-nav-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 150;
}

/* Footer — full viewport width, 64px gutters */
.site-footer {
  background: #000;
  color: var(--color-white-100);
  margin-top: 0;
  padding: 0 64px;
  font-family: var(--font-sans);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 64px 0 32px;
  gap: 40px;
}

.site-footer__grid {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  width: 522px;
  flex: none;
}

.site-footer__about {
  width: 100%;
  margin: 0;
  color: var(--color-white-100);
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
}

.site-footer__meta {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: 0;
}

.site-footer__meta li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  width: 100%;
  height: 40px;
}

.site-footer__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #fff;
}

.site-footer__icon img,
.site-footer__icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.site-footer__meta a {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 40px;
}

.site-footer__meta a:hover {
  color: var(--color-gold);
}

.site-footer__cols {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  flex: 1 1 0;
  min-width: 0;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 32px;
  flex: 1 1 0;
  min-width: 0;
  width: 261.5px;
}

.site-footer__heading {
  width: 100%;
  min-height: 40px;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-white-100);
}

.site-footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin: 0;
  padding: 0;
  gap: 8px;
  line-height: 17px;
}

.site-footer__list li {
  line-height: 17px;
}

.site-footer__list a {
  color: var(--color-white-100);
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
}

.site-footer__list a:hover {
  color: var(--color-gold);
}

.site-footer__rule-row {
  position: relative;
  align-self: stretch;
  width: 100%;
}

.site-footer__pay {
  position: absolute;
  right: 0;
  bottom: 16px;
  z-index: 3;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  width: 168px;
  height: 24px;
}

.site-footer__pay-list {
  list-style: none;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  width: 168px;
  height: 24px;
  margin: 0;
  padding: 0;
}

.site-footer__pay-list li {
  width: 36px;
  height: 24px;
  flex: none;
}

.site-footer__pay-list img {
  display: block;
  width: 36px;
  height: 24px;
}

.site-footer__rule {
  box-sizing: border-box;
  width: 100%;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--color-white-100);
  background: none;
  z-index: 1;
}

.site-footer__legal {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 21px;
  z-index: 2;
}

.site-footer__legal p {
  margin: 0;
  font-family: var(--font-legal);
  font-weight: 600;
  font-size: 14px;
  line-height: 21px;
  color: var(--color-white-100);
  text-align: center;
}

@media (max-width: 1023px) {
  .menu-toggle {
    display: block;
  }

  .site-header__bar {
    padding: 0 var(--page-gutter);
  }

  .site-header--transparent .site-header__bar {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--announce-height) + var(--nav-height));
    right: 0;
    bottom: 0;
    left: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(20rem, 100%);
    max-height: none;
    margin: 0;
    padding: 0.5rem 1.5rem 2rem;
    background: #000;
    border-left: 1px solid rgba(167, 131, 89, 0.35);
    overflow: auto;
    z-index: 202;
    visibility: hidden;
    pointer-events: none;
    opacity: 1;
    transform: translateX(100%);
    transition: transform 0.25s ease, visibility 0.25s ease;
  }

  .menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    margin: 0.15rem -0.6rem 1rem auto;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--color-gold);
  }

  .menu-close__icon {
    position: relative;
    display: block;
    width: 22px;
    height: 22px;
  }

  .menu-close__icon span {
    position: absolute;
    left: 0;
    top: 50%;
    width: 22px;
    height: 2px;
    background: currentColor;
  }

  .menu-close__icon span:first-child {
    transform: rotate(45deg);
  }

  .menu-close__icon span:last-child {
    transform: rotate(-45deg);
  }

  .site-header.is-stuck .site-nav {
    top: var(--nav-height);
  }

  body.is-nav-open .announcement-bar {
    display: none;
  }

  .site-header.is-nav-open {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background: #000;
  }

  .site-header.is-nav-open .site-header__bar {
    z-index: 210;
    background: #000;
  }

  .site-header.is-nav-open .site-nav,
  .site-header.is-stuck.is-nav-open .site-nav {
    top: var(--nav-height);
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  .site-header.is-nav-open .menu-close {
    display: none;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    width: 100%;
    height: auto;
  }

  .site-nav__list > li {
    height: auto;
    width: 100%;
  }

  .site-nav__list .current-menu-item,
  .site-nav__list .current_page_item,
  .site-nav__list .current-menu-parent,
  .site-nav__list .current_page_parent {
    background: transparent;
  }

  .site-nav__list .current-menu-item > a,
  .site-nav__list .current_page_item > a,
  .site-nav__list .current-menu-parent > a,
  .site-nav__list .current_page_parent > a {
    background: var(--color-nav-active);
  }

  .site-nav__list a {
    justify-content: flex-start;
    width: 100%;
    min-height: 48px;
    height: auto;
    padding: 0.85rem 1rem;
    font-size: 1.125rem;
    line-height: 1.3;
    text-align: left;
    border-radius: 8px;
  }

  .site-header__actions {
    padding: 0;
    gap: 0.15rem;
    height: auto;
  }

  .header-icon {
    width: 44px;
    height: 44px;
  }

  .announcement-bar {
    overflow: hidden;
  }

  .announcement-bar__inner {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 12px;
  }

  .announcement-bar__inner::-webkit-scrollbar {
    display: none;
  }

  .announcement-bar__item {
    flex-shrink: 0;
    padding: 6px 10px;
    font-size: 12px;
    line-height: 15px;
    white-space: nowrap;
  }

  .site-header.is-nav-open .menu-toggle__bars span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .site-header.is-nav-open .menu-toggle__bars span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-nav-open .menu-toggle__bars span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .menu-toggle__bars span {
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
}

@media (max-width: 767px) {
  .site-header {
    --nav-height: 64px;
    --header-height: calc(var(--announce-height) + var(--nav-height));
  }

  .site-nav {
    left: 0;
    width: 100%;
    border-left: 0;
  }

  .site-header__bar,
  .site-header__inner,
  .site-header__end {
    height: var(--nav-height);
  }

  .site-logo--header {
    height: 48px;
  }

  .site-logo--lockup {
    width: auto;
    height: 48px;
  }

  .site-logo--lockup img,
  .site-logo--header img {
    width: auto;
    height: 48px;
  }
}

@media (max-width: 1199px) {
  .site-footer {
    padding: 0 var(--page-gutter);
  }

  .site-footer__inner {
    padding: 40px 0 24px;
    gap: 24px;
  }
}

@media (max-width: 1023px) {
  .site-footer__grid {
    flex-direction: column;
    gap: 28px;
  }

  .site-footer__brand {
    width: 100%;
    max-width: 522px;
    gap: 16px;
  }

  .site-footer__cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 32px;
    width: 100%;
  }

  .site-footer__col {
    width: auto;
    gap: 12px;
  }

  .site-footer__heading {
    min-height: 0;
    line-height: 1.3;
  }

  .site-footer__rule-row {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
  }

  .site-footer__pay {
    position: static;
    width: auto;
    height: auto;
  }
}

@media (max-width: 639px) {
  .site-footer__inner {
    padding: 32px 0 20px;
    gap: 20px;
  }

  .site-footer__brand {
    max-width: none;
  }

  .site-footer__cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .site-footer__list {
    gap: 2px;
  }

  .site-footer__list a {
    display: inline-flex;
    min-height: 0;
    padding: 6px 0;
    align-items: center;
    line-height: 20px;
  }

  .site-footer__rule-row {
    align-items: flex-end;
  }

  .site-footer__legal {
    height: auto;
    min-height: 21px;
  }
}
