/* Home */
.home-hero {
  position: relative;
  display: flex;
  height: 100svh;
  min-height: 620px;
  align-items: flex-end;
  overflow: hidden;
  background: var(--green-dark);
  color: #fff;
  isolation: isolate;
  touch-action: pan-y;
}

.page-home .site-header {
  position: fixed;
  right: 0;
  left: 0;
}

.page-home .site-header:not(.is-scrolled) {
  border-bottom-color: transparent;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: var(--white);
}

.page-home .site-header:not(.is-scrolled) .brand__mark {
  border-color: rgba(255, 255, 255, 0.72);
}

.page-home .site-header:not(.is-scrolled) .brand__words strong,
.page-home .site-header:not(.is-scrolled) .primary-nav,
.page-home .site-header:not(.is-scrolled) .icon-button {
  color: var(--white);
}

.page-home .site-header:not(.is-scrolled) .brand__words small {
  color: rgba(255, 255, 255, 0.78);
}

.page-home .site-header:not(.is-scrolled) .icon-button:hover {
  background: rgba(255, 255, 255, 0.14);
}

.page-home .site-header:not(.is-scrolled) .account-link__status,
.page-home .site-header:not(.is-scrolled) .bag-link__count {
  border-color: rgba(15, 45, 30, 0.35);
}

.page-home .site-header.is-panel-open {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 10px 32px rgba(15, 45, 30, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
  color: var(--ink);
}

.page-home .site-header.is-panel-open .brand__mark {
  border-color: #ccb98e;
}

.page-home .site-header.is-panel-open .brand__words strong,
.page-home .site-header.is-panel-open .primary-nav,
.page-home .site-header.is-panel-open .icon-button {
  color: var(--heritage-green);
}

.page-home .site-header.is-panel-open .brand__words small {
  color: var(--muted);
}

.page-home .site-header.is-panel-open .icon-button:hover {
  background: #eef1ed;
}

.home-hero__slides,
.home-hero__slide,
.home-hero__media,
.home-hero__veil {
  position: absolute;
  inset: 0;
}

.home-hero__slide {
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 900ms var(--ease-standard),
    visibility 900ms step-end;
  will-change: opacity;
}

.home-hero__slide.is-active {
  visibility: visible;
  opacity: 1;
  transition:
    opacity 900ms var(--ease-standard),
    visibility 0ms step-start;
}

.home-hero__slide--video {
  background: var(--green-dark);
}

.home-hero__slide--video::before {
  position: absolute;
  inset: 0;
  background-image: var(--hero-video-poster);
  background-position: center;
  background-size: cover;
  content: "";
  opacity: 1;
}

.home-hero__slide--responsive-video::before {
  background-image: var(--hero-responsive-poster-desktop);
}

.home-hero__slides {
  z-index: 0;
}

.home-hero__media {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: #dfe4de;
}

.home-hero__video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(0.96);
}

.home-hero__slide--responsive-video .home-hero__video {
  transform: none;
}

.home-hero__panel {
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border-right: 1px solid rgba(15, 45, 30, 0.2);
  background: #e8ebe6;
}

.home-hero__panel:nth-child(2n) {
  background: var(--sky);
}

.home-hero__panel:nth-child(3n) {
  background: #e9ddc3;
}

.home-hero__panel img {
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-image-settle 1100ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home-hero__panel:nth-child(2) img {
  animation-delay: 70ms;
}

.home-hero__panel:nth-child(3) img {
  animation-delay: 140ms;
}

.home-hero__panel:nth-child(4) img {
  animation-delay: 210ms;
}

.home-hero__panel:nth-child(5) img {
  animation-delay: 280ms;
}

.home-hero__media .home-hero__brand-art {
  grid-column: 1 / -1;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  object-position: center 45%;
}

.home-hero__veil {
  z-index: 1;
  background: rgba(6, 27, 19, 0.64);
}

.home-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  padding-bottom: 72px;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.home-hero__content .button {
  position: relative;
  z-index: 1;
  transform: translateZ(0);
}

.home-hero h1 {
  max-width: 900px;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 76px;
  line-height: 0.96;
}

.home-hero__lead {
  max-width: 620px;
  margin-bottom: 28px;
  color: #edf2ed;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.4;
}

.home-hero__scroll {
  position: absolute;
  right: 28px;
  bottom: 25px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}

.home-hero__scroll svg {
  width: 15px;
  height: 15px;
  transform: rotate(90deg);
  transition: transform 180ms ease;
}

.home-hero__scroll:hover svg {
  transform: translateY(3px) rotate(90deg);
}

.home-hero__carousel-controls {
  position: absolute;
  bottom: 22px;
  left: 50%;
  z-index: 3;
  display: flex;
  min-height: 40px;
  padding: 4px;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(6, 27, 19, 0.32);
  color: var(--white);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

.home-hero__carousel-button,
.home-hero__carousel-toggle,
.home-hero__carousel-dot {
  border: 0;
  color: inherit;
}

.home-hero__carousel-button {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  place-items: center;
  transition: background-color var(--motion-fast) ease;
}

.home-hero__carousel-button:hover,
.home-hero__carousel-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
}

.home-hero__carousel-button svg {
  width: 14px;
  height: 14px;
}

.home-hero__carousel-button--previous svg {
  transform: rotate(180deg);
}

.home-hero__carousel-dots {
  display: flex;
  padding-inline: 5px;
  align-items: center;
  gap: 8px;
}

.home-hero__carousel-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.48);
  transition:
    width var(--motion-standard) var(--ease-emphasized),
    border-radius var(--motion-standard) ease,
    background-color var(--motion-standard) ease;
}

.home-hero__carousel-dot.is-active {
  width: 24px;
  border-radius: 5px;
  background: var(--white);
}

.home-hero__carousel-toggle {
  min-width: 52px;
  height: 30px;
  padding-inline: 9px;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color var(--motion-fast) ease;
}

@keyframes hero-image-settle {
  from {
    opacity: 0.72;
    transform: scale(1.1);
  }

  to {
    opacity: 1;
    transform: scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__slide {
    transition: none;
  }

  .home-hero__panel img {
    animation: none;
  }
}

.arrow-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--patina-gold);
  color: var(--heritage-green);
  font-size: 13px;
  font-weight: 700;
}

.arrow-link svg {
  width: 17px;
  height: 17px;
  transition: transform 180ms ease;
}

.shop-index {
  border-bottom: 1px solid #d7d3c8;
  background: #f2f0e9;
}

.side-selector {
  overflow: hidden;
  border: 1px solid #d7d3c8;
  background: #e8e5dc;
  box-shadow: 0 20px 55px rgba(15, 45, 30, 0.08);
}

.side-selector__tabs {
  display: grid;
  padding: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  background: var(--green-dark);
}

.side-selector__tab {
  position: relative;
  display: flex;
  min-height: 76px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
  transition: background var(--motion-standard) var(--ease-standard),
    border-color var(--motion-standard) var(--ease-standard),
    color var(--motion-standard) var(--ease-standard);
}

.side-selector__tab::after {
  position: absolute;
  right: 20px;
  bottom: 0;
  left: 20px;
  height: 3px;
  background: var(--patina-gold);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity var(--motion-fast) var(--ease-standard),
    transform var(--motion-standard) var(--ease-emphasized);
}

.side-selector__tab span {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
}

.side-selector__tab small {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.side-selector__tab:hover {
  color: #fff;
}

.side-selector__tab.is-active {
  border-color: rgba(196, 146, 42, 0.45);
  background: var(--heritage-green);
  color: #fff;
}

.side-selector__tab.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.side-selector__tab:focus-visible,
.side-card:focus-visible,
.side-selector__more:focus-visible {
  outline: 3px solid var(--patina-gold);
  outline-offset: -3px;
}

.side-selector__panel {
  padding: 30px;
  background-color: #174a32;
  background-image:
    repeating-linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.032) 0,
      rgba(255, 255, 255, 0.032) 1px,
      transparent 1px,
      transparent 4px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.035) 0,
      rgba(255, 255, 255, 0.035) 92px,
      rgba(0, 0, 0, 0.045) 92px,
      rgba(0, 0, 0, 0.045) 184px
    ),
    linear-gradient(180deg, #1c5b3d 0%, #15452f 100%);
  box-shadow:
    inset 0 18px 30px rgba(5, 25, 17, 0.14),
    inset 0 -18px 30px rgba(5, 25, 17, 0.18);
}

.side-selector__intro {
  display: flex;
  margin-bottom: 24px;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.side-selector__intro .eyebrow {
  margin: 0;
  flex: 0 0 auto;
  color: #f0c967;
}

.side-selector__intro > p:last-child {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  text-align: right;
}

.side-selector__grid {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.side-selector__item {
  min-width: 0;
}

.side-card {
  position: relative;
  display: grid;
  min-height: 210px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  grid-template-rows: minmax(112px, 1fr) auto;
  background: rgba(255, 255, 255, 0.94);
  color: var(--green-dark);
  isolation: isolate;
  box-shadow: 0 8px 22px rgba(4, 26, 17, 0.12);
  transition: border-color var(--motion-standard) var(--ease-standard),
    box-shadow var(--motion-standard) var(--ease-standard),
    transform var(--motion-standard) var(--ease-emphasized);
}

.side-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0), rgba(196, 146, 42, 0.13));
  content: "";
  opacity: 0;
  transition: opacity var(--motion-standard) var(--ease-standard);
}

.side-card:hover {
  border-color: var(--patina-gold);
  box-shadow: 0 14px 28px rgba(15, 45, 30, 0.12);
  transform: translateY(-4px);
}

.side-card:hover::before {
  opacity: 1;
}

.side-card__visual {
  position: relative;
  display: grid;
  min-width: 0;
  place-items: center;
}

.side-card__emblem {
  position: relative;
  display: grid;
  place-items: center;
  transition: transform var(--motion-standard) var(--ease-emphasized);
}

.side-card--national_team .side-card__emblem {
  width: 100px;
  height: 100px;
  filter: drop-shadow(0 8px 9px rgba(15, 45, 30, 0.2));
}

.side-card--club .side-card__emblem {
  width: 98px;
  height: 64px;
  overflow: hidden;
  border: 5px solid #fff;
  border-radius: var(--radius-small);
  background: #fff;
  box-shadow: 0 7px 20px rgba(15, 45, 30, 0.16);
}

.side-card__emblem img {
  display: block;
  width: 100%;
  height: 100%;
}

.side-card--national_team .side-card__emblem img {
  object-fit: contain;
}

.side-card--club .side-card__emblem img {
  object-fit: cover;
}

.side-card:hover .side-card__emblem {
  transform: scale(1.055);
}

.side-card__code {
  position: absolute;
  top: 0;
  right: 0;
  color: var(--gold-dark);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.side-card__copy {
  display: flex;
  min-width: 0;
  padding-top: 13px;
  padding-right: 22px;
  border-top: 1px solid rgba(15, 45, 30, 0.12);
  flex-direction: column;
}

.side-card__name {
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-card__count {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.side-card__arrow {
  position: absolute;
  right: 15px;
  bottom: 17px;
  width: 15px;
  height: 15px;
  color: var(--heritage-green);
  transition: transform var(--motion-fast) var(--ease-standard);
}

.side-card:hover .side-card__arrow {
  transform: translateX(3px);
}

.side-selector__more {
  display: flex;
  min-height: 46px;
  margin: 28px auto 0;
  padding: 0 4px 3px;
  border: 0;
  border-bottom: 1px solid var(--patina-gold);
  align-items: center;
  gap: 9px;
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.side-selector__more svg {
  width: 15px;
  height: 15px;
  transform: rotate(90deg);
  transition: transform var(--motion-standard) var(--ease-standard);
}

.side-selector__more[aria-expanded="true"] svg {
  transform: rotate(-90deg);
}

.side-selector__panel[hidden],
.side-selector__item[hidden],
.side-selector__tabs[hidden],
.side-selector__more[hidden] {
  display: none;
}

.brand-story {
  overflow: hidden;
  border-top: 1px solid #e2d4c1;
  background: #f6e9d8;
  color: var(--green-dark);
}

.brand-story__inner {
  display: grid;
  min-height: 500px;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  align-items: center;
  gap: 64px;
}

.brand-story__art {
  position: relative;
  display: grid;
  height: 100%;
  min-height: 500px;
  place-items: center;
}

.brand-story__art img {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  max-height: 450px;
  object-fit: contain;
}

.brand-story__copy {
  max-width: 650px;
  padding-block: 60px;
}

.brand-story h2 {
  margin-bottom: 20px;
  color: var(--green-dark);
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 1.08;
}

.brand-story__copy > p:not(.eyebrow) {
  max-width: 580px;
  margin-bottom: 28px;
  color: #455349;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.7;
}
