/* =========================================================
   POLISH 07 — GLOBAL NAVIGATION & BRAND SHELL
   ========================================================= */

.layout--shell-v2 {
  display: block;
  min-height: 100vh;
}

.layout--shell-v2 .layout__main {
  width: 100% !important;
  min-width: 0;
  padding-top: 0;
}

.layout--shell-v2 .content {
  width: 100%;
}

/* ========================= HEADER ========================= */

.shellHeader.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  width: 100%;
  min-height: 74px;
  padding: 0 !important;
  background: rgba(4,42,31,.97);
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 8px 28px rgba(2,30,22,.13);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.shellHeader.site-header::before {
  display: none;
}

.shellHeader__inner {
  width: min(1440px, calc(100% - 48px));
  min-height: 74px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 28px;
}

.shellBrand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: #fff;
  text-decoration: none;
}

.shellBrand__logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.18));
}

.shellBrand__copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.shellBrand__copy strong {
  color: #fff;
  font-size: 16px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.shellBrand__copy small {
  color: rgba(255,255,255,.56);
  font-size: 8px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.shellNav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.shellNav__link {
  position: relative;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 10px;
  color: rgba(255,255,255,.70);
  text-decoration: none;
  font-size: 10px;
  font-weight: 850;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease;
}

.shellNav__link:hover {
  color: #fff;
  background: rgba(255,255,255,.07);
}

.shellNav__link.is-active {
  color: #fff;
  background: rgba(255,255,255,.09);
}

.shellNav__link.is-active::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 3px;
  height: 2px;
  border-radius: 999px;
  background: #42c996;
}

.shellHeader__cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border-radius: 11px;
  color: #073428;
  background: #fff;
  text-decoration: none;
  font-size: 9px;
  font-weight: 950;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease;
}

.shellHeader__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,.14);
}

.shellHeader__more {
  display: none;
}

/* ========================= HOME OPENING ========================= */

.homeOpening {
  width: 100%;
  min-height: 286px;
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(310px,.6fr);
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid rgba(7,51,36,.07);
  border-radius: 28px;
  background:
    radial-gradient(circle at 75% 0%, rgba(41,198,141,.14), transparent 28rem),
    linear-gradient(135deg,#073d2f 0%,#0b5a43 100%);
  box-shadow: 0 20px 56px rgba(5,55,41,.10);
}

.homeOpening__main {
  min-width: 0;
  padding: 42px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.homeOpening__eyebrow {
  display: block;
  margin-bottom: 12px;
  color: rgba(255,255,255,.60);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.homeOpening h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(46px,5.5vw,76px);
  line-height: .88;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.homeOpening__main > p {
  max-width: 610px;
  margin: 17px 0 0;
  color: rgba(255,255,255,.74);
  font-size: 14px;
  line-height: 1.55;
}

.homeOpening__actions {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}

.homeOpening__actions a,
.homeOpening__clubLink {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 10px;
  color: #073428;
  background: #fff;
  text-decoration: none;
  font-size: 9px;
  font-weight: 950;
}

.homeOpening__actions a + a {
  color: #fff;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.08);
}

.homeOpening__side {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  border-left: 1px solid rgba(255,255,255,.10);
  background: rgba(2,32,24,.16);
}

.homeOpening__sideLabel {
  margin-bottom: 14px;
  color: rgba(255,255,255,.55);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.homeOpening__stats {
  display: grid;
  gap: 8px;
}

.homeOpening__stats > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.homeOpening__stats strong {
  color: #fff;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -.045em;
}

.homeOpening__stats span {
  color: rgba(255,255,255,.62);
  font-size: 9px;
  font-weight: 800;
  text-align: right;
}

.homeOpening__clubLink {
  justify-content: space-between;
  margin-top: 16px;
  color: #fff;
  background: rgba(255,255,255,.08);
}

.homeOpening__clubLink span {
  font-size: 14px;
}

/* old hero removed */
.homeHero {
  display: none !important;
}

.homeDashboard {
  margin-top: 0 !important;
}

/* ========================= FOOTER ========================= */

.siteFooter.siteFooter--v2 {
  width: 100%;
  margin: 0;
  padding: 0;
  color: #fff;
  background:
    radial-gradient(circle at 12% 0%, rgba(49,192,140,.13), transparent 26rem),
    #042a20;
}

.siteFooter--v2 .siteFooter__top {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(420px,.75fr);
  gap: 70px;
  padding: 58px 0 42px;
}

.siteFooter--v2 .siteFooter__brand {
  display: grid;
  grid-template-columns: 76px minmax(0,1fr);
  gap: 20px;
  align-items: start;
}

.siteFooter--v2 .siteFooter__brand img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.siteFooter__eyebrow {
  display: block;
  margin: 5px 0 8px;
  color: rgba(255,255,255,.48);
  font-size: 8px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .11em;
}

.siteFooter--v2 .siteFooter__brand h2 {
  max-width: 650px;
  margin: 0;
  color: #fff;
  font-size: clamp(30px,3.3vw,48px);
  line-height: .95;
  letter-spacing: -.05em;
}

.siteFooter--v2 .siteFooter__brand p {
  max-width: 550px;
  margin: 14px 0 0;
  color: rgba(255,255,255,.58);
  font-size: 11px;
  line-height: 1.6;
}

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

.siteFooter__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.siteFooter__nav > span {
  margin-bottom: 3px;
  color: rgba(255,255,255,.43);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.siteFooter__nav a {
  color: rgba(255,255,255,.78);
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}

.siteFooter__nav a:hover {
  color: #fff;
}

.siteFooter__ctaBand {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 18px 22px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
}

.siteFooter__ctaBand span {
  display: block;
  margin-bottom: 3px;
  color: rgba(255,255,255,.47);
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.siteFooter__ctaBand strong {
  color: #fff;
  font-size: 18px;
}

.siteFooter__ctaBand a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 10px;
  color: #073428;
  background: #fff;
  text-decoration: none;
  font-size: 9px;
  font-weight: 950;
  white-space: nowrap;
}

.siteFooter--v2 .siteFooter__bottom {
  width: min(1320px, calc(100% - 48px));
  min-height: 62px;
  margin: 22px auto 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.42);
  background: transparent;
  font-size: 8px;
  font-weight: 750;
}

/* ========================= MOBILE MORE SHEET ========================= */

.mobileMoreBackdrop,
.mobileMoreSheet {
  display: none;
}

/* ========================= TABLET ========================= */

@media (max-width: 1120px) and (min-width: 769px) {
  .shellHeader__inner {
    width: calc(100% - 32px);
    gap: 16px;
  }

  .shellBrand__copy small {
    display: none;
  }

  .shellNav__link {
    padding-inline: 8px;
    font-size: 9px;
  }

  .homeOpening {
    grid-template-columns: 1fr 280px;
  }
}

/* ========================= MOBILE ========================= */

@media (max-width: 768px) {
  .shellHeader.site-header {
    position: fixed !important;
    inset: 0 0 auto;
    height: 58px;
    min-height: 58px;
  }

  .layout--shell-v2 .layout__main {
    padding-top: 58px !important;
  }

  .shellHeader__inner {
    width: calc(100% - 24px);
    min-height: 58px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }

  .shellBrand {
    gap: 8px;
  }

  .shellBrand__logo {
    width: 36px;
    height: 36px;
  }

  .shellBrand__copy strong {
    font-size: 14px;
  }

  .shellBrand__copy small {
    display: none;
  }

  .shellNav,
  .shellHeader__cta {
    display: none;
  }

  .shellHeader__more {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 11px;
    color: #fff;
    background: rgba(255,255,255,.07);
  }

  .shellHeader__more .icon {
    width: 19px;
    height: 19px;
  }

  /* Home opening: no photographic hero */
  .homeOpening {
    min-height: 0;
    display: block;
    margin-bottom: 14px;
    border-radius: 20px;
  }

  .homeOpening__main {
    padding: 24px 20px 18px;
  }

  .homeOpening__eyebrow {
    margin-bottom: 8px;
    font-size: 7px;
  }

  .homeOpening h1 {
    max-width: 290px;
    font-size: 39px;
    line-height: .9;
  }

  .homeOpening__main > p {
    max-width: 295px;
    margin-top: 11px;
    font-size: 10px;
  }

  .homeOpening__actions {
    margin-top: 14px;
  }

  .homeOpening__actions a {
    min-height: 34px;
    font-size: 8px;
  }

  .homeOpening__side {
    padding: 14px 20px 18px;
    border: 0;
    border-top: 1px solid rgba(255,255,255,.08);
  }

  .homeOpening__sideLabel {
    margin-bottom: 8px;
    font-size: 7px;
  }

  .homeOpening__stats {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 7px;
  }

  .homeOpening__stats > div {
    min-width: 0;
    display: block;
    padding: 9px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 11px;
    background: rgba(255,255,255,.05);
  }

  .homeOpening__stats strong {
    display: block;
    font-size: 20px;
  }

  .homeOpening__stats span {
    display: block;
    margin-top: 3px;
    overflow: hidden;
    font-size: 7px;
    text-align: left;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .homeOpening__clubLink {
    display: none;
  }

  /* More sheet */
  .mobileMoreBackdrop {
    position: fixed;
    inset: 0;
    z-index: 1180;
    display: block;
    opacity: 0;
    pointer-events: none;
    background: rgba(2,20,15,.58);
    backdrop-filter: blur(5px);
    transition: opacity .22s ease;
  }

  .mobileMoreSheet {
    position: fixed;
    z-index: 1200;
    left: 8px;
    right: 8px;
    bottom: 8px;
    display: block;
    max-height: min(76vh, 620px);
    padding: 8px 14px calc(18px + env(safe-area-inset-bottom));
    overflow-y: auto;
    border: 1px solid rgba(7,51,36,.08);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 -18px 70px rgba(0,0,0,.22);
    transform: translateY(calc(100% + 20px));
    transition: transform .28s cubic-bezier(.2,.8,.2,1);
  }

  body.more-sheet-open .mobileMoreBackdrop {
    opacity: 1;
    pointer-events: auto;
  }

  body.more-sheet-open .mobileMoreSheet {
    transform: translateY(0);
  }

  body.more-sheet-open {
    overflow: hidden;
  }

  .mobileMoreSheet__handle {
    width: 38px;
    height: 4px;
    margin: 2px auto 13px;
    border-radius: 999px;
    background: #d8dfdc;
  }

  .mobileMoreSheet__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 2px 13px;
    border-bottom: 1px solid rgba(7,51,36,.07);
  }

  .mobileMoreSheet__head span {
    display: block;
    margin-bottom: 3px;
    color: #167054;
    font-size: 7px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .1em;
  }

  .mobileMoreSheet__head h2 {
    margin: 0;
    color: #082c21;
    font-size: 23px;
    line-height: 1;
    letter-spacing: -.04em;
  }

  .mobileMoreSheet__head button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    color: #21473a;
    background: #eff4f1;
    font-size: 21px;
  }

  .mobileMoreSheet__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding-top: 13px;
  }

  .mobileMoreSheet__grid > a {
    min-width: 0;
    min-height: 104px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 12px;
    border: 1px solid rgba(7,51,36,.07);
    border-radius: 15px;
    color: #0a3024;
    background: #f7f9f8;
    text-decoration: none;
  }

  .mobileMoreSheet__grid > a.is-active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(145deg,#073b2d,#086449);
  }

  .mobileMoreSheet__icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    margin-bottom: auto;
    color: #0b674b;
  }

  .mobileMoreSheet__grid > a.is-active .mobileMoreSheet__icon {
    color: #fff;
  }

  .mobileMoreSheet__icon .icon,
  .mobileMoreSheet__icon svg {
    width: 22px;
    height: 22px;
  }

  .mobileMoreSheet__grid strong {
    font-size: 12px;
  }

  .mobileMoreSheet__grid small {
    margin-top: 2px;
    color: #75817b;
    font-size: 7px;
  }

  .mobileMoreSheet__grid > a.is-active small {
    color: rgba(255,255,255,.60);
  }

  /* Footer mobile */
  .siteFooter--v2 .siteFooter__top {
    width: calc(100% - 24px);
    display: block;
    padding: 34px 0 20px;
  }

  .siteFooter--v2 .siteFooter__brand {
    grid-template-columns: 54px minmax(0,1fr);
    gap: 13px;
  }

  .siteFooter--v2 .siteFooter__brand img {
    width: 54px;
    height: 54px;
  }

  .siteFooter--v2 .siteFooter__brand h2 {
    font-size: 26px;
  }

  .siteFooter--v2 .siteFooter__brand p {
    max-width: 260px;
    margin-top: 9px;
    font-size: 9px;
  }

  .siteFooter__navWrap {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.08);
  }

  .siteFooter__nav {
    gap: 8px;
  }

  .siteFooter__nav a {
    font-size: 9px;
  }

  .siteFooter__ctaBand {
    width: calc(100% - 24px);
    min-height: 0;
    display: block;
    padding: 15px;
    border-radius: 15px;
  }

  .siteFooter__ctaBand strong {
    font-size: 15px;
  }

  .siteFooter__ctaBand a {
    width: 100%;
    margin-top: 11px;
  }

  .siteFooter--v2 .siteFooter__bottom {
    width: calc(100% - 24px);
    min-height: 74px;
    margin-top: 14px;
    padding-bottom: calc(var(--ui2-mobile-nav-height) + 18px + env(safe-area-inset-bottom));
    align-items: flex-start;
    padding-top: 15px;
    font-size: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobileMoreBackdrop,
  .mobileMoreSheet,
  .shellNav__link,
  .shellHeader__cta {
    transition: none !important;
  }
}
