/* ═══════════════════════════════════════
   SLICK CITY — UTILITY CLASSES
   ═══════════════════════════════════════ */

/* ─── Primary Button ─── */
/*
  Usage: <a href="..." class="btn-primary">Label</a>
         <button class="btn-primary">Label</button>
  Variants: .btn-primary.ghost — transparent + yellow border
*/
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--y);
  color: var(--dk);
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  padding: 15px 32px;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  border: none;
  cursor: pointer;
  overflow: hidden;
  z-index: 0;
  transition: color .2s ease, box-shadow .3s ease, transform .15s ease;
}

/* Dark fill — slams in from the left */
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #151515;
  transform: translateX(-102%);
  transition: transform .32s cubic-bezier(.22, 1, .36, 1);
  z-index: -1;
}

/* Speed lines — diagonal stripes that flash in */
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    72deg,
    transparent,
    transparent 9px,
    rgba(255, 207, 1, .12) 9px,
    rgba(255, 207, 1, .12) 11px
  );
  opacity: 0;
  transition: opacity .25s ease .1s;
  z-index: -1;
}

.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover::after  { opacity: 1; }

.btn-primary:hover {
  color: var(--y);
  transform: scale(1.04);
  box-shadow:
    0 0 0 2px var(--y),
    0 0 24px rgba(255, 207, 1, .5),
    0 8px 32px rgba(0, 0, 0, .45);
}

.btn-primary:active {
  transform: scale(.95);
  box-shadow: 0 0 12px rgba(255, 207, 1, .35);
  transition-duration: .08s;
}

/* Ghost variant */
.btn-primary.ghost {
  background: transparent;
  color: var(--y);
  box-shadow: inset 0 0 0 2px var(--y);
}
.btn-primary.ghost::before {
  background: var(--y);
}
.btn-primary.ghost:hover {
  color: var(--dk);
  box-shadow:
    0 0 0 2px var(--y),
    0 0 24px rgba(255, 207, 1, .5),
    0 8px 32px rgba(0, 0, 0, .45);
}

/* ─── Secondary Button ─── */
/* Ghost by default — blue (#2296F9) slams in on hover */
.btn-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  padding: 15px 32px;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  border: none;
  cursor: pointer;
  overflow: hidden;
  z-index: 0;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.5);
  transition: color .2s ease, box-shadow .3s ease, transform .15s ease;
}

/* Blue fill slams in from left on hover */
.btn-secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #2296F9;
  transform: translateX(-102%);
  transition: transform .32s cubic-bezier(.22, 1, .36, 1);
  z-index: -1;
}

/* Speed lines */
.btn-secondary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    72deg,
    transparent,
    transparent 9px,
    rgba(255, 255, 255, .1) 9px,
    rgba(255, 255, 255, .1) 11px
  );
  opacity: 0;
  transition: opacity .25s ease .1s;
  z-index: -1;
}

.btn-secondary:hover::before { transform: translateX(0); }
.btn-secondary:hover::after  { opacity: 1; }

.btn-secondary:hover {
  color: #fff;
  transform: scale(1.04);
  box-shadow:
    0 0 0 2px #2296F9,
    0 0 24px rgba(34, 150, 249, .5),
    0 8px 32px rgba(0, 0, 0, .45);
}

.btn-secondary:active {
  transform: scale(.95);
  box-shadow: 0 0 12px rgba(34, 150, 249, .35);
  transition-duration: .08s;
}

/* ─── Section Eyebrow / Marker Text ─── */
/*
  Usage: <span class="sc-eyebrow" style="color:var(--p)">pick your rush</span>
  Color is always set via inline style. Extra modifiers (filter, animation)
  may be added inline for context-specific needs (e.g. hero drop-shadow).
*/
.sc-eyebrow {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  display: block;
  transform: rotate(-2deg);
  margin-bottom: 10px;
}

/* ─── Rail Nav Buttons ─── */
.rail-btn {
  width: 54px;
  height: 54px;
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.rail-btn--outline {
  border: 2px solid #2A2A2A;
  background: #fff;
  color: #2A2A2A;
}
.rail-btn--outline:hover { background: #2A2A2A; color: var(--y); }
.rail-btn--fill {
  border: 2px solid #2A2A2A;
  background: #2A2A2A;
  color: var(--y);
}
.rail-btn--fill:hover { background: var(--y); color: #2A2A2A; border-color: var(--y); }

/* ─── Experience Rail Cards ─── */
.exp-rail-card {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: min(78vw, 560px);
  height: 580px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), 0 100%);
  background: #151515;
  scroll-snap-align: start;
  text-decoration: none;
}
.exp-rail-card:hover .exp-rail-img { transform: scale(1.06); }

.exp-rail-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.exp-rail-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(21,21,21,.92) 0%, rgba(21,21,21,.1) 55%);
}
.exp-rail-stripe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
}
.exp-rail-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 12px;
}
.exp-rail-content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 28px;
}
.exp-rail-title {
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: clamp(34px, 3.4vw, 46px);
  text-transform: uppercase;
  line-height: .95;
  color: #fff;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}
.exp-rail-body {
  font-family: var(--font-primary);
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,.85);
  max-width: 38ch;
  margin-bottom: 16px;
}
.exp-rail-cta {
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ─── Headliner Attractions — sticky stack ─── */
/*
  Each .hl-row is position:sticky;top:0 with increasing z-index.
  As you scroll, each new row slides up and stacks on top of the previous.
  No JS/GSAP needed — pure CSS sticky layering.

  Usage: set z-index inline: style="z-index:1" → "z-index:4"
  Text children: use .sc-reveal-x (right) or .sc-reveal-left (left).
  IO fires as each row enters the viewport from below, triggering the reveal.
*/
.hl-row {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}
@media (min-width: 900px) {
  .hl-row--odd  { grid-template-columns: 55% 45%; }
  .hl-row--even { grid-template-columns: 45% 55%; }
}

.hl-img {
  position: relative;
  min-height: 52vw;
  overflow: hidden;
}
@media (min-width: 900px) { .hl-img { min-height: 0; } }

.hl-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s linear;  /* subtle slow drift while pinned */
}
.hl-row:hover .hl-img img { transform: scale(1.04); }

/* Angled edge between image and text on desktop */
@media (min-width: 900px) {
  .hl-img--cut-r { clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%); }
  .hl-img--cut-l { clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%); }
}

.hl-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 60px;
}
@media (max-width: 899px) { .hl-text { padding: 48px 28px; } }

/* Colour schemes */
.hl-dk { background: #151515; }
.hl-lt { background: #f5f5f5; }
.hl-dk .hl-h, .hl-dk .hl-spec-val { color: #fff; }
.hl-lt .hl-h, .hl-lt .hl-spec-val { color: #111; }
.hl-dk .hl-p  { color: rgba(255,255,255,.68); }
.hl-lt .hl-p  { color: rgba(0,0,0,.6); }
.hl-dk .hl-spec-lbl { color: rgba(255,255,255,.38); }
.hl-lt .hl-spec-lbl { color: rgba(0,0,0,.38); }

/* Heading */
.hl-h {
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: clamp(52px, 5.5vw, 88px);
  text-transform: uppercase;
  line-height: .88;
  letter-spacing: -.02em;
  margin: 0 0 18px;
}

/* Body */
.hl-p {
  font-family: var(--font-primary);
  font-size: 15px;
  line-height: 1.65;
  max-width: 38ch;
  margin: 0 0 30px;
}

/* Specs row */
.hl-specs {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}
.hl-spec-val {
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: clamp(26px, 2.6vw, 40px);
  display: block;
  line-height: 1;
}
.hl-spec-lbl {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  display: block;
  margin-top: 6px;
}

/* Accent number watermark */
.hl-num {
  position: absolute;
  right: 28px;
  bottom: -0.1em;
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: clamp(120px, 18vw, 240px);
  line-height: 1;
  color: rgba(255,255,255,.04);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.hl-lt .hl-num { color: rgba(0,0,0,.05); }

/* ─── Footer Grid ─── */
.pm-foot {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 900px) {
  .pm-foot {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

/* ─── Footer typography ─── */
.footer-heading {
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 2.5px;
  color: var(--y);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.footer-link {
  font-family: var(--font-primary);
  color: rgba(255,255,255,.75);
  font-size: 14px;
  text-decoration: none;
  transition: color .2s;
}
.footer-link:hover { color: var(--y); }
.footer-link.pink:hover { color: var(--p); }

/* ─── Social buttons ─── */
.social-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: 11px;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.social-btn:hover {
  border-color: var(--y);
  color: var(--y);
}

/* Layout */
.fx   { display: flex; }
.fxc  { display: flex; align-items: center; }
.fxcc { display: flex; align-items: center; justify-content: center; }
.col  { flex-direction: column; }
.wrap { flex-wrap: wrap; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 32px; }

/* Image helpers */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mosaic cards */
.mosaic-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out);
  display: block;
}
.mosaic-cell {
  overflow: hidden;
  position: relative;
}
.mosaic-cell:hover .mosaic-img {
  transform: scale(1.06);
}

/* Experience cards */
.exp-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  flex: 0 0 82vw;
  max-width: 340px;
  height: 460px;
  display: block;
  text-decoration: none;
  cursor: pointer;
  scroll-snap-align: center;
  transition: transform .15s ease;
}
.exp-card:active {
  transform: scale(.97);
}
.exp-card .card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.exp-card:hover .card-img {
  transform: scale(1.06);
}

/* Stats */
.stat-bar {
  height: 3px;
  background: rgba(255,255,255,.1);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 8px;
}

/* Responsive overrides */
@media (min-width: 768px) {
  .exp-cards-track {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: visible;
    padding-bottom: 0 !important;
  }
  .exp-card {
    flex: none;
    max-width: none;
    height: 500px;
  }
  .mosaic-inner {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  .mc-lg {
    grid-column: span 2 !important;
    grid-row: span 2 !important;
  }
  .mc-wide {
    grid-column: span 2 !important;
  }
  .hero-h1 {
    font-size: clamp(56px, 7.5vw, 120px) !important;
  }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0 !important;
  }
  .stat-item {
    border-left: 3px solid;
    border-bottom: none !important;
  }
}
