/* Commercial "experience" pages: mascot packages, match night partner, jersey sponsorship, the equipment
   locker and hospitality. Each one is built around a picture you click through: numbered gold spots on the
   picture, and a panel beside it that explains the spot you are on. xp.js draws them. */

.xp-page main { padding-bottom: 0; }
.xp-top { padding-top: 150px; padding-bottom: 8px; }
.xp-top h1 { margin-top: 14px; font-size: clamp(44px, 6.4vw, 92px); font-weight: 900; line-height: .9; letter-spacing: -1px; }
.xp-top h1 em { font-style: normal; color: var(--gold); }
.xp-lede { margin-top: 16px; max-width: 62ch; font-size: 18px; line-height: 1.55; color: #d6dae6; }

/* Option buttons (Option 1 / Option 2, Home / Away / Cup): each shows its price. */
.xp-opts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.xp-opts button { display: grid; gap: 4px; min-width: 150px; padding: 14px 20px; text-align: left; background: #0f1d47; border: 1px solid var(--line); color: #fff; cursor: pointer; transition: border-color .2s, background .2s; }
.xp-opts button b { font: 800 20px/1 var(--display); text-transform: uppercase; letter-spacing: .3px; }
.xp-opts button span { font-size: 14px; color: #c5cadb; }
.xp-opts button:hover { border-color: rgba(246, 208, 0, .6); }
.xp-opts button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #0a1430; }
.xp-opts button[aria-pressed="true"] span { color: #0a1430; }

/* The picture and the panel. */
.xp-stage { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 36px; align-items: start; margin-top: 30px; }
.xp-stage.tall { grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); }
.xp-scene { position: relative; overflow: hidden; aspect-ratio: var(--ratio, 3 / 2); background: #0b1533; border: 1px solid var(--line); }
.xp-zoom { position: absolute; inset: 0; transform-origin: 0 0; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.xp-zoom > img, .xp-zoom > svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; }
.xp-zoom > img { object-fit: cover; }
.xp-scene::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(8, 16, 40, .5) 0%, rgba(8, 16, 40, 0) 26%); }

/* The numbered spots. */
.xp-dot { position: absolute; z-index: 2; width: 38px; height: 38px; margin: -19px 0 0 -19px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: var(--gold); color: #0a1430; font: 800 16px/1 var(--display); cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .5); transition: transform .25s, background .2s; }
.xp-dot::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid rgba(246, 208, 0, .75); opacity: 0; animation: xp-pulse 2.2s ease-out infinite; }
.xp-dot:hover { transform: scale(1.12); }
.xp-dot.on { background: #fff; transform: scale(1.18); }
.xp-dot.on::before { animation: none; opacity: 1; inset: -7px; border-color: var(--gold); }
@keyframes xp-pulse { 0% { opacity: .9; transform: scale(.7); } 100% { opacity: 0; transform: scale(1.5); } }

.xp-panel { padding: 28px 30px 26px; background: #0f1d47; border: 1px solid var(--line); border-top: 3px solid var(--gold); }
.xp-count { font: 600 14px/1 var(--body); color: var(--gold); }
.xp-panel h2 { margin-top: 12px; font: 900 clamp(26px, 2.6vw, 38px)/1 var(--display); text-transform: uppercase; letter-spacing: -.3px; }
.xp-panel .xp-text { margin-top: 14px; font-size: 17px; line-height: 1.55; color: #d6dae6; }
.xp-panel .xp-price { margin-top: 16px; font: 900 34px/1 var(--display); color: var(--gold); }
.xp-panel .xp-price small { font: 500 14px/1 var(--body); color: #c5cadb; margin-left: 6px; }
.xp-panel .xp-act { margin-top: 18px; }
.xp-nav { display: flex; gap: 10px; margin-top: 24px; }
.xp-nav .btn { flex: 1; justify-content: center; }
.xp-steps { list-style: none; margin: 22px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 2px; counter-reset: s; }
.xp-steps button { counter-increment: s; display: flex; align-items: baseline; gap: 12px; width: 100%; padding: 8px 0; background: none; border: 0; color: #c5cadb; font: 500 15px/1.3 var(--body); text-align: left; cursor: pointer; transition: color .2s; }
.xp-steps button::before { content: counter(s); flex: none; width: 18px; font-weight: 700; color: var(--muted); }
.xp-steps button:hover { color: #fff; }
.xp-steps button[aria-current="true"] { color: #fff; font-weight: 700; }
.xp-steps button[aria-current="true"]::before { color: var(--gold); }

/* Everything that is included, as a plain list (also what a screen reader or a search engine reads). */
.xp-all { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; }
.xp-all h2 { font: 900 clamp(28px, 3vw, 42px)/1 var(--display); text-transform: uppercase; }
.xp-all .xp-note { margin-top: 14px; font-size: 15px; line-height: 1.55; color: #c5cadb; }
.xp-all ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.xp-all li { position: relative; padding: 13px 0 13px 34px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.45; color: #e7eaf3; }
.xp-all li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 14px; height: 7px; border-left: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold); transform: rotate(-45deg); }

/* Price and the buttons to buy or enquire. */
.xp-buy { margin-top: 56px; margin-bottom: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding: 30px 34px; background: var(--gold); color: #0a1430; }
.xp-buy h2 { font: 900 clamp(26px, 3vw, 40px)/1 var(--display); text-transform: uppercase; }
.xp-buy p { margin-top: 8px; font-size: 16px; line-height: 1.45; max-width: 56ch; }
.xp-buy .xp-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.xp-buy .btn.navy { background: #0a1430; color: #fff; }
.xp-buy .xp-buttons { align-items: center; }
.xp-buy .btn { white-space: nowrap; }
.xp-buy .btn.edge { background: transparent; color: #0a1430; border: 2px solid #0a1430; }
.xp-buy .btn.edge:hover { background: #0a1430; color: #fff; }

/* The same links without the yellow box (used on the equipment locker page). */
.xp-buy.plain { justify-content: flex-start; padding: 0; background: none; color: #fff; }
.xp-buy.plain > div:first-child { display: none; }
.xp-buy.plain .btn.navy { background: var(--gold); color: #0a1430; }
.xp-buy.plain .btn.edge { color: #fff; border-color: rgba(255, 255, 255, .45); }
.xp-buy.plain .btn.edge:hover { background: #fff; color: #0a1430; border-color: #fff; }

@media (max-width: 980px) {
  .xp-stage, .xp-stage.tall { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .xp-stage.tall .xp-scene { max-width: 460px; margin: 0 auto; width: 100%; }
  .xp-all { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 760px) {
  .xp-top { padding-top: 128px; }
  .xp-opts button { flex: 1 1 140px; min-width: 0; }
  .xp-panel { padding: 22px 20px; }
  .xp-dot { width: 34px; height: 34px; margin: -17px 0 0 -17px; font-size: 15px; }
  .xp-buy { padding: 24px 20px; margin-bottom: 56px; }
  .xp-buy .xp-buttons, .xp-buy .xp-buttons .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .xp-zoom { transition: none; } .xp-dot::before { animation: none; } }

/* ---------- The equipment locker ---------- */
.lk-pick { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.lk-pick label { font: 600 15px/1 var(--body); color: #c5cadb; }
.lk-pick select { min-width: 260px; height: 52px; padding: 0 44px 0 16px; background: #0f1d47 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23f6d000' stroke-width='2'/%3E%3C/svg%3E") right 16px center / 12px no-repeat; border: 1px solid var(--line); color: #fff; font: 700 17px/1 var(--body); -webkit-appearance: none; appearance: none; }
.lk-pick select:focus { outline: 0; border-color: var(--gold); }
/* The sticks are dark against a dark locker, so they get a faint light edge. */
.lk-scene .lk-rim { filter: drop-shadow(0 0 1px rgba(255, 255, 255, .35)); }
.lk-scene .lk-part { cursor: pointer; transition: filter .25s, opacity .25s; }
.lk-scene.has-on .lk-part { opacity: .5; }
.lk-scene.has-on .lk-part.is-on { opacity: 1; filter: drop-shadow(0 0 14px rgba(246, 208, 0, .75)); }
.lk-scene::after { display: none; }
.lk-scene svg text { font-family: var(--display); text-transform: uppercase; }
/* The jersey choices inside the panel: one row each, with its price and a Buy link or "Taken". */
.lk-list { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--line); }
.lk-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto 76px; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: #fff; }
.lk-list b { font: 800 19px/1 var(--display); color: var(--gold); }
.lk-list a { justify-self: end; padding: 7px 14px; background: var(--gold); color: #0a1430; font: 700 14px/1 var(--body); }
.lk-list a:hover { background: #fff; }
.lk-list i { justify-self: end; font: 500 14px/1 var(--body); font-style: normal; color: var(--muted); }
.lk-list li.gone span, .lk-list li.gone b { color: var(--muted); }
.lk-sold { display: inline-block; margin-top: 12px; padding: 6px 10px; background: rgba(255, 255, 255, .1); font: 600 13px/1 var(--body); color: #fff; }

/* ---------- Hospitality: the Sponsors Lounge, in club colours ----------
   Navy and gold like the rest of the site. The picture at the top is drawn (no photograph): the view from a
   padded seat in the lounge, through the glass, onto the ice. As you scroll, the seats come towards you and the
   rink drifts back, so it feels as though you are settling into the seat. */
.hs-page { background: var(--ink); }
.hs-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: 100vh; min-height: 100svh; padding: 150px 0 64px; }
.hs-view { position: absolute; inset: 0; z-index: -2; }
.hs-view svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.hs-view .hs-rink, .hs-view .hs-seats { will-change: transform; }
.hs-view .hs-rink { transform: translateY(calc(var(--p, 0) * 46px)) scale(calc(1 + var(--p, 0) * .05)); transform-origin: 50% 42%; }
.hs-view .hs-seats { transform: translateY(calc(var(--p, 0) * -70px)) scale(calc(1 + var(--p, 0) * .2)); transform-origin: 50% 100%; }
.hs-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 16, 40, .93) 0%, rgba(8, 16, 40, .62) 40%, rgba(8, 16, 40, 0) 72%), linear-gradient(0deg, var(--ink) 0%, rgba(8, 16, 40, 0) 26%); }
.hs-hero h1 { margin-top: 16px; font: 900 clamp(44px, 6.4vw, 94px)/.92 var(--display); text-transform: uppercase; letter-spacing: -1px; }
.hs-hero h1 em, .hs-evening h2 em, .hs-seat h2 em, .hs-close h2 em { font-style: normal; color: var(--gold); }
.hs-hero .hs-lede { margin-top: 18px; max-width: 48ch; font-size: 19px; line-height: 1.55; color: #e3e6ef; }
.hs-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hs-price b { font: 900 58px/1 var(--display); color: var(--gold); }
.hs-price span { font-size: 16px; color: #c5cadb; }
.hs-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.hs-evening { padding: 84px 0 30px; }
.hs-evening h2, .hs-seat h2, .hs-close h2 { font: 900 clamp(32px, 4.2vw, 58px)/.96 var(--display); text-transform: uppercase; letter-spacing: -.5px; }
.hs-sub { margin-top: 14px; max-width: 58ch; font-size: 17px; line-height: 1.6; color: #c5cadb; }
.hs-walk { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; margin-top: 44px; align-items: start; }
.hs-times { list-style: none; margin: 0; padding: 0; border-left: 1px solid rgba(246, 208, 0, .35); }
.hs-times button { position: relative; display: block; width: 100%; padding: 15px 0 15px 30px; background: none; border: 0; text-align: left; cursor: pointer; color: #aab2c8; transition: color .25s; }
.hs-times button::before { content: ""; position: absolute; left: -6px; top: 22px; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 1px solid rgba(246, 208, 0, .7); transition: background .25s, box-shadow .25s; }
.hs-times button small { display: block; font: 600 13px/1 var(--body); color: var(--muted); }
.hs-times button b { display: block; margin-top: 6px; font: 800 21px/1.15 var(--display); text-transform: uppercase; letter-spacing: .2px; }
.hs-times button:hover, .hs-times button[aria-current="true"] { color: #fff; }
.hs-times button[aria-current="true"] b { color: var(--gold); }
.hs-times button[aria-current="true"]::before { background: var(--gold); box-shadow: 0 0 0 6px rgba(246, 208, 0, .16), 0 0 26px rgba(246, 208, 0, .6); }
.hs-card { position: sticky; top: 130px; padding: 40px 42px 38px; background: linear-gradient(160deg, #16275c, #0d1840 70%); border-top: 3px solid var(--gold); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.hs-card .hs-step { font: 600 14px/1 var(--body); color: var(--gold); }
.hs-card h3 { margin-top: 14px; font: 900 clamp(28px, 3.2vw, 44px)/.98 var(--display); text-transform: uppercase; }
.hs-card p { margin-top: 14px; font-size: 18px; line-height: 1.6; color: #d6dae6; }
.hs-card .hs-nav { display: flex; gap: 10px; margin-top: 28px; }

.hs-seat { margin-top: 70px; padding: 76px 0; background: radial-gradient(50% 110% at 78% 50%, rgba(246, 208, 0, .1), rgba(8, 16, 40, 0) 70%), #0c1838; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hs-seat .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hs-seat ul { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 0; }
.hs-seat li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.5; color: #d6dae6; }
.hs-seat li b { color: #fff; }
.hs-chair { width: 100%; max-width: 440px; justify-self: center; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .6)); }

.hs-close { padding: 80px 0 96px; text-align: center; }
.hs-close p { margin: 16px auto 0; max-width: 56ch; font-size: 18px; line-height: 1.6; color: #d6dae6; }
.hs-close .hs-cta { justify-content: center; }
.hs-close .hs-small { margin-top: 22px; font-size: 15px; color: var(--muted); }
.hs-close .hs-small a { color: var(--gold); border-bottom: 1px solid rgba(246, 208, 0, .5); }

@media (max-width: 900px) {
  .hs-walk, .hs-seat .wrap { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hs-card { position: static; padding: 28px 22px; }
  .hs-hero { padding: 150px 0 44px; }
  .hs-hero::after { background: linear-gradient(0deg, var(--ink) 0%, rgba(8, 16, 40, .86) 46%, rgba(8, 16, 40, .25) 100%); }
  .hs-evening { padding-top: 56px; }
  .hs-seat { padding: 56px 0; margin-top: 48px; }
  .hs-close { padding: 56px 0 72px; }
  .hs-cta .btn { flex: 1 1 100%; justify-content: center; }
}
