/* ============================================================
   HIIT & RUN — Component styles
   ============================================================ */

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 16px var(--gutter);
  background: rgba(13,13,13,0);
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13,13,13,.6), rgba(13,13,13,0));
  opacity: 1; transition: opacity .4s var(--ease);
  pointer-events: none;
}
.header.scrolled::before { opacity: 0; }
.header.scrolled {
  background: rgba(13,13,13,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(255,255,255,0.07);
  padding-top: 12px; padding-bottom: 12px;
}

.header__cta { justify-self: start; }
.header__cta .btn { padding: 13px 26px; }

.brand { justify-self: center; display: flex; align-items: center; gap: 14px; }
.brand img { height: 42px; width: auto; transition: height .4s var(--ease); }
.header.scrolled .brand img { height: 36px; }
.brand__txt { display: flex; flex-direction: column; line-height: 0.86; }
.brand__txt .l1 { font-family: var(--head); font-size: 23px; letter-spacing: 2px; }
.brand__txt .l1 b { color: var(--yellow); font-weight: 400; }
.brand__txt .l2 { font-family: var(--body); font-size: 9px; font-weight: 600; letter-spacing: 4px; color: var(--text-2); }

.nav { justify-self: end; display: flex; align-items: center; }
/* wp_nav_menu outputs a <ul> — reset it and make it flex */
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 34px; }
.nav li { position: relative; }
.nav a {
  font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; white-space: nowrap;
  color: var(--white); position: relative; padding: 6px 0; transition: color .25s var(--ease);
  display: inline-flex; align-items: center;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--yellow); transition: width .3s var(--ease);
}
.nav a:hover { color: var(--yellow); }
.nav a:hover::after { width: 100%; }
/* If a menu item has the 'btn' class, style it as a button (hides the underline effect) */
.nav .btn::after { display: none; }

.hamburger {
  justify-self: end; display: none; background: none; border: 0;
  width: 44px; height: 44px; position: relative;
}
.hamburger span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--white); transition: .3s var(--ease); }
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 22px; }
.hamburger span:nth-child(3) { top: 29px; }
.hamburger.open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(13,13,13,0.98); backdrop-filter: blur(8px);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: var(--gutter);
  transform: translateY(-100%); transition: transform .5s var(--ease);
  visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }
/* wp_nav_menu outputs <ul><li><a> — flatten the list into a column */
.drawer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.drawer a {
  font-family: var(--head); font-size: 44px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--white); padding: 6px 0; transition: color .2s, padding-left .25s var(--ease);
  display: inline-block;
}
.drawer a:hover { color: var(--yellow); padding-left: 14px; }
/* Register / CTA button inside drawer */
.drawer .btn {
  margin-top: 28px; font-family: var(--body);
  padding: 18px 42px; font-size: 13px; letter-spacing: 2px;
}
.drawer li:has(> .btn) { margin-top: 20px; }
.drawer .btn:hover { padding-left: 42px; /* override the link hover indent */ }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  padding: 120px var(--gutter) 90px;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.06); }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,13,13,.62) 0%, rgba(13,13,13,.35) 38%, rgba(13,13,13,.8) 100%),
    rgba(13,13,13,.32);
}
.hero__inner { position: relative; z-index: 2; max-width: 1000px; }
.hero h1 {
  font-size: clamp(64px, 11.5vw, 168px);
  letter-spacing: 3px; line-height: 0.86;
}
.hero h1 .ln { display: block; }
.hero h1 .dot { color: var(--yellow); }
.hero__sub { font-size: clamp(17px, 2vw, 22px); color: rgba(255,255,255,.92); margin-top: 26px; font-weight: 400; }
.hero__meta {
  margin-top: 22px; color: var(--yellow);
  font-size: clamp(13px, 1.5vw, 18px); font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
}
.hero__cta { margin-top: 44px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.scroll-ind {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 3px; color: rgba(255,255,255,.65); text-transform: uppercase;
}
.scroll-ind svg { animation: arrowy 1.8s var(--ease) infinite; }
@keyframes arrowy { 0%,100% { transform: translateY(0); opacity: .55; } 50% { transform: translateY(7px); opacity: 1; } }

/* ---------- TICKER ---------- */
.ticker { background: #000; border-top: 1px solid var(--gray-line-2); border-bottom: 1px solid var(--gray-line-2); overflow: hidden; padding: 16px 0; }
.ticker__track { display: flex; width: max-content; animation: scrollx 32s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span {
  font-family: var(--head); font-size: 26px; letter-spacing: 3px; color: var(--yellow);
  text-transform: uppercase; padding: 0 26px; display: inline-flex; align-items: center; gap: 26px;
}
.ticker__track span::after { content: "/"; color: rgba(245,255,0,.4); }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- ABOUT ---------- */
.about__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.about__text h2 { font-size: clamp(46px, 5.5vw, 68px); letter-spacing: 2px; padding-left: 26px; border-left: 3px solid var(--yellow); }
.about__content p { color: var(--text-2); margin-top: 26px; max-width: 56ch; }
.about__content p strong { color: var(--white); font-weight: 600; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 25%; }
.about__media::before {
  content: ""; position: absolute; inset: -14px -14px auto auto; width: 64%; height: 64%;
  border: 2px solid var(--yellow); z-index: -1;
}

/* ---------- STATS ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 18px clamp(16px, 3vw, 44px); text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 14%; height: 72%; width: 1px; background: var(--gray-line); }
.stat__num { font-family: var(--head); font-size: clamp(64px, 8vw, 104px); color: var(--yellow); line-height: 1; letter-spacing: 1px; }
.stat__label { font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--text-2); margin-top: 8px; }

/* ---------- RACE FORMAT ---------- */
.rf { background: var(--black-alt); position: relative; overflow: hidden; }
.rf__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.rf__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .08; filter: grayscale(1) contrast(1.1); }
.rf__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--black-alt), rgba(17,17,17,.6) 50%, var(--black-alt)); }
.rf .container { position: relative; z-index: 1; }

/* THE LOOP — diagonal race ribbon */
.loop { max-width: 1040px; margin: 16px auto 64px; }
.loop__head { text-align: center; margin-bottom: 26px; }
.loop__title { display: block; font-family: var(--head); font-size: 32px; letter-spacing: 3px; color: var(--white); text-transform: uppercase; }
.loop__meta { display: block; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-2); margin-top: 4px; }
.loop__track { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
.loop__cap, .loop__node, .loop__leg {
  display: inline-flex; align-items: center; justify-content: center;
  height: 54px; transform: skewX(-13deg); transition: transform .3s var(--ease), background .3s var(--ease);
}
.loop__cap span, .loop__node span, .loop__leg span { display: inline-block; transform: skewX(13deg); }
.loop__node { width: 60px; background: var(--yellow); }
.loop__node span { font-family: var(--head); font-size: 30px; color: #000; letter-spacing: 1px; }
.loop__node:hover { transform: skewX(-13deg) translateY(-6px); }
.loop__leg { padding: 0 14px; background: var(--gray); border: 1px solid var(--gray-line-2); gap: 6px; position: relative; }
.loop__leg span { font-size: 10.5px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #8a8a8a; }
.loop__leg::after { content: "›"; transform: skewX(13deg); font-size: 18px; color: var(--yellow); line-height: 1; margin-left: 2px; }
.loop__leg--sprint { background: rgba(245,255,0,.12); border-color: var(--yellow); }
.loop__leg--sprint span { color: var(--yellow); }
.loop__cap { padding: 0 20px; background: var(--white); }
.loop__cap span { font-family: var(--head); font-size: 22px; letter-spacing: 2px; color: #000; text-transform: uppercase; }
.loop__cap--finish { background: var(--yellow); }

/* Station photo cards — 2-up desktop, 1-up mobile, clickable */
.stations__hint { text-align: center; font-size: 12.5px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--text-2); margin-bottom: 22px; }
.stations { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 8px; }
.station { position: relative; border: 1px solid var(--gray-line-2); background: var(--black); overflow: hidden; cursor: pointer; transition: border-color .35s var(--ease), transform .35s var(--ease); }
.station:hover, .station:focus-visible { border-color: var(--yellow); transform: translateY(-5px); outline: none; }
.station__cue {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  background: rgba(13,13,13,.6); border: 1px solid rgba(255,255,255,.25); color: var(--white);
  font-family: var(--head); font-size: 26px; line-height: 1; backdrop-filter: blur(3px);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.station:hover .station__cue, .station:focus-visible .station__cue { background: var(--yellow); color: #000; border-color: var(--yellow); transform: rotate(90deg); }
.station__media { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.station__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.32) contrast(1.05); transition: transform .6s var(--ease), filter .4s var(--ease); }
.station:hover .station__media img { transform: scale(1.07); filter: none; }
.station__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13,13,13,.55)); }
.station__media-placeholder { width: 100%; height: 100%; background: repeating-linear-gradient(135deg, #181818 0 10px, #141414 10px 20px); }
.station__body { display: flex; align-items: center; gap: 12px; padding: 15px 18px; }
.station__num { font-family: var(--head); font-size: 30px; color: var(--yellow); line-height: 1; letter-spacing: 1px; flex-shrink: 0; }
.station__title { font-family: var(--head); font-size: 21px; color: var(--white); letter-spacing: 1px; line-height: 1; }
.station__title .dim { color: var(--text-2); }

/* Station data list (inside breakdown) */
.breakdown { max-width: 920px; margin: 0 auto; }
.breakdown__head { text-align: center; margin-bottom: 30px; }
.breakdown__title { font-family: var(--head); font-size: clamp(34px, 4.5vw, 52px); letter-spacing: 2px; margin-top: 14px; text-transform: uppercase; }
.breakdown__sub { color: var(--text-2); font-size: 15px; margin: 12px auto 0; max-width: 52ch; }
.tabs { display: inline-flex; margin-top: 26px; border: 1px solid var(--gray-line); }
.tab {
  background: transparent; border: 0; color: var(--text-2);
  font-family: var(--head); font-size: 20px; letter-spacing: 2px; text-transform: uppercase;
  padding: 12px 38px; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease);
}
.tab + .tab { border-left: 1px solid var(--gray-line); }
.tab:hover { color: var(--white); }
.tab.is-active { background: var(--yellow); color: #000; }

.stations2 { list-style: none; }
.stations2.mode-m .wt-f, .stations2.mode-f .wt-m { display: none; }
.stations2.mode-f .wt-f::before { content: none; }
.st2 {
  display: flex; align-items: center; gap: 22px;
  padding: 18px 4px 18px 0; border-bottom: 1px solid var(--gray-line-2);
  transition: background .3s var(--ease), padding-left .3s var(--ease);
}
.st2:first-child { border-top: 1px solid var(--gray-line-2); }
.st2:hover { background: rgba(245,255,0,.04); padding-left: 12px; }
.st2__no {
  flex-shrink: 0; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--yellow); color: #000; font-family: var(--head); font-size: 25px; letter-spacing: 1px;
}
.st2__main { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-grow: 1; flex-wrap: wrap; }
.st2__main h3 { font-family: var(--head); font-size: 27px; color: var(--white); letter-spacing: 1.5px; line-height: 1; }
.st2__main h3 .dim { color: var(--text-2); }
.st2__metrics { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.st2__metrics .amt { font-family: var(--head); font-size: 23px; color: var(--white); letter-spacing: 1px; }
.wt { display: inline-flex; align-items: center; gap: 9px; }
.wt-m, .wt-f { font-family: var(--head); font-size: 21px; letter-spacing: 1px; color: var(--yellow); display: inline-flex; align-items: baseline; gap: 5px; }
.wt-m i, .wt-f i { font-style: normal; font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--text-2); }
.wt-m + .wt-f::before { content: "/"; color: var(--gray-line); margin-right: 9px; font-family: var(--body); }
.st2__note { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-2); border: 1px solid var(--gray-line-2); padding: 4px 9px; }

.rf__note { color: #777; font-size: 13px; letter-spacing: .4px; margin-top: 26px; text-align: center; }

/* Station description modal */
.station-modal__panel { max-width: 620px; }
.sm__metrics { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 22px 0 4px; }
.sm__metrics .amt { font-family: var(--head); font-size: 26px; color: var(--yellow); letter-spacing: 1px; }
.sm__metrics .wt { display: inline-flex; align-items: center; gap: 9px; }
.sm__metrics .chip { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-2); border: 1px solid var(--gray-line-2); padding: 5px 11px; }
.sm__desc { color: var(--text-2); font-size: 16px; line-height: 1.7; margin-top: 18px; max-width: 52ch; }

/* ---------- MODAL ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.open { display: block; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal__panel {
  position: relative; z-index: 1; max-width: 840px; margin: 6vh auto; max-height: 88vh; overflow-y: auto;
  background: var(--black-alt); border: 1px solid var(--gray-line);
  padding: clamp(28px, 4vw, 54px); animation: pop .4s var(--ease);
}
.modal__close {
  position: absolute; top: 16px; right: 16px; width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--gray-line); color: var(--white); font-size: 15px;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.modal__close:hover { background: var(--yellow); color: #000; border-color: var(--yellow); }
.modal__title { font-family: var(--head); font-size: clamp(40px, 5.5vw, 62px); letter-spacing: 2px; margin-top: 16px; text-transform: uppercase; }
.modal__sub { color: var(--text-2); font-size: 15px; margin: 12px 0 30px; max-width: 56ch; }

/* ---------- CATEGORIES ---------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat {
  background: var(--black); border: 1px solid var(--gray-line); padding: 36px 30px 34px;
  display: flex; flex-direction: column; min-height: 340px; position: relative; overflow: hidden;
  transition: border-color .35s var(--ease), transform .35s var(--ease), background .35s var(--ease);
}
.cat::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--yellow); transition: width .4s var(--ease); }
.cat:hover { border-color: var(--yellow); transform: translateY(-6px); }
.cat:hover::after { width: 100%; }
.cat__no { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--gray-line); }
.cat__title { font-family: var(--head); font-size: 36px; color: var(--yellow); letter-spacing: 1.5px; margin-top: 14px; }
.cat__tag { font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--white); margin-top: 4px; }
.cat__desc { color: var(--text-2); font-size: 14.5px; margin-top: 18px; flex-grow: 1; }
.cat__price { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--gray-line-2); font-size: 13px; color: var(--white); }
.cat__price b { font-family: var(--head); font-size: 26px; color: var(--yellow); letter-spacing: 1px; vertical-align: -2px; margin-left: 4px; }

.cats-cta { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 54px; text-align: center; }
.cats-cta .note { font-size: 12.5px; color: var(--text-2); letter-spacing: .5px; max-width: 480px; }

/* ---------- VENUE ---------- */
.venue__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.venue__text h2 { font-size: clamp(48px, 6vw, 84px); letter-spacing: 2px; }
.venue__text .city { color: var(--yellow); font-size: 14px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; display: block; margin-bottom: 14px; }
.venue__text p { color: var(--text-2); margin-top: 22px; max-width: 50ch; }
.venue__facts { display: flex; gap: 40px; margin-top: 34px; flex-wrap: wrap; }
.venue__fact .n { font-family: var(--head); font-size: 46px; color: var(--white); line-height: 1; }
.venue__fact .l { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-2); margin-top: 6px; }
.venue__media {
  aspect-ratio: 4/3; position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, #161616 0 14px, #131313 14px 28px);
  border: 1px solid var(--gray-line-2);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; text-align: center;
}
.venue__media .ph-label { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: 1.5px; color: var(--text-2); text-transform: uppercase; }
.venue__media .ph-icon { width: 54px; height: 54px; border: 2px solid var(--gray-line); display: flex; align-items: center; justify-content: center; }
.venue__media .ph-icon svg { stroke: var(--text-2); }

/* ---------- EARLY BIRD ---------- */
.eb { position: relative; background: var(--black-alt); overflow: hidden; }
.eb::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(120% 80% at 80% 0%, rgba(245,255,0,.10), transparent 60%);
}
.eb__inner { position: relative; z-index: 1; max-width: 960px; margin: 0 auto; text-align: center; }
.eb h2 { font-size: clamp(52px, 7vw, 96px); letter-spacing: 2px; }
.eb h2 em { font-style: normal; color: var(--yellow); }
.eb__sub { color: var(--text-2); font-size: 18px; margin-top: 16px; }
.eb__note { margin-top: 26px; font-size: 12.5px; color: #777; letter-spacing: .4px; }
/* The original form styles remain for backwards-compat if used without CF7 */
.eb__form {
  margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px;
  text-align: left; max-width: 760px; margin-left: auto; margin-right: auto;
}
.eb__field { display: flex; flex-direction: column; }
.eb__field input,
.eb__cf7-wrap .eb__field input {
  background: #0a0a0a; border: 1px solid var(--gray-line); color: var(--white);
  padding: 18px; font-family: var(--body); font-size: 15px; border-radius: 0;
  transition: border-color .25s var(--ease);
  width: 100%;
}
.eb__field input::placeholder { color: #666; }
.eb__field input:focus { outline: none; border-color: var(--yellow); }
.eb__form .btn { height: 100%; }
.eb__gdpr { display: flex; align-items: center; gap: 10px; justify-content: center; margin-top: 20px; font-size: 13px; color: var(--text-2); }
.eb__gdpr input { width: 16px; height: 16px; accent-color: var(--yellow); }
.eb__gdpr a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- INSTAGRAM ---------- */
.ig__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin-bottom: 40px; }
.ig__head h2 { font-size: clamp(38px, 4.5vw, 56px); letter-spacing: 2px; }
.ig__head a { font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--yellow); }
/* Static grid (used only if not replaced by Smash Balloon) */
.ig__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.ig__cell { position: relative; aspect-ratio: 1; overflow: hidden; }
.ig__cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ig__cell::after {
  content: ""; position: absolute; inset: 0; background: rgba(13,13,13,.65);
  opacity: 0; transition: opacity .3s var(--ease);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='%23F5FF00' stroke-width='2'%3E%3Crect x='2' y='2' width='20' height='20' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='%23F5FF00' stroke='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.ig__cell:hover::after { opacity: 1; }
.ig__cell:hover img { transform: scale(1.08); }

/* ---------- FOOTER ---------- */
.footer { background: var(--black); border-top: 1px solid var(--gray-line-2); padding: 80px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer__brand img { height: 56px; width: auto; margin-bottom: 20px; }
.footer__brand .name { font-family: var(--head); font-size: 28px; letter-spacing: 2px; }
.footer__brand .name b { color: var(--yellow); font-weight: 400; }
.footer__brand p { color: var(--text-2); font-size: 14px; margin-top: 12px; }
.footer__brand a:hover { color: var(--yellow); }
.footer__col h4 { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-2); margin-bottom: 20px; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: 14.5px; color: var(--white); transition: color .2s, padding-left .25s var(--ease); }
.footer__col a:hover { color: var(--yellow); padding-left: 6px; }
.footer__col .soon { color: #666; font-size: 12px; margin-left: 6px; }
.footer__bottom {
  margin-top: 70px; border-top: 1px solid var(--gray-line-2); padding: 26px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--text-2);
}
.footer__bottom a { color: var(--text-2); }
.footer__bottom a:hover { color: var(--yellow); }
.footer__bottom .legal { display: flex; gap: 22px; }

/* ============================================================
   CONTACT FORM 7 — Early Bird section overrides
   Matches the 3-column eb__form grid from the design.
   ============================================================ */
.eb__cf7-wrap { margin-top: 44px; max-width: 760px; margin-left: auto; margin-right: auto; text-align: left; }
.eb__cf7-wrap .wpcf7 { width: 100%; }
.eb__cf7-wrap .wpcf7 > form { margin: 0; padding: 0; }

/* Make CF7 form a 3-col grid matching .eb__form */
.eb__cf7-wrap .wpcf7-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: stretch; }

/* CF7 control wrappers */
.eb__cf7-wrap .wpcf7-form-control-wrap { display: block; }

/* GDPR row spans full width — target the direct grid child (the control-wrap), not the inner .wpcf7-acceptance */
.eb__cf7-wrap .wpcf7-form-control-wrap[data-name="gdpr"] {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 6px;
}
.eb__cf7-wrap .wpcf7-form-control-wrap input[type="text"],
.eb__cf7-wrap .wpcf7-form-control-wrap input[type="email"] {
  width: 100%;
  background: #0a0a0a;
  border: 1px solid var(--gray-line);
  color: var(--white);
  padding: 18px;
  font-family: var(--body);
  font-size: 15px;
  border-radius: 0;
  transition: border-color .25s var(--ease);
  display: block;
}
.eb__cf7-wrap .wpcf7-form-control-wrap input::placeholder { color: #666; }
.eb__cf7-wrap .wpcf7-form-control-wrap input:focus { outline: none; border-color: var(--yellow); }

/* CF7 submit button */
.eb__cf7-wrap input[type="submit"].wpcf7-submit {
  background: var(--yellow);
  border: 2px solid var(--yellow);
  color: #000;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 18px 42px;
  cursor: pointer;
  border-radius: 0;
  width: 100%;
  white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.eb__cf7-wrap input[type="submit"].wpcf7-submit:hover { background: var(--white); border-color: var(--white); }

/* GDPR acceptance — inner layout */
.eb__cf7-wrap .wpcf7-acceptance {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.eb__cf7-wrap .wpcf7-list-item { margin: 0 !important; display: flex; align-items: center; gap: 10px; }
.eb__cf7-wrap .wpcf7-acceptance input[type="checkbox"] {
  width: 16px; height: 16px; accent-color: var(--yellow); flex-shrink: 0;
}
.eb__cf7-wrap .wpcf7-list-item-label { font-size: 13px; color: var(--text-2); }
.eb__cf7-wrap .wpcf7-list-item-label a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* CF7 response messages */
.eb__cf7-wrap .wpcf7-response-output {
  grid-column: 1 / -1;
  margin: 10px 0 0 !important;
  padding: 16px 20px !important;
  font-size: 14px !important;
  border-radius: 0 !important;
  text-align: center;
}
.eb__cf7-wrap .wpcf7-mail-sent-ok {
  border-color: var(--yellow) !important;
  background: rgba(245,255,0,.05) !important;
  color: var(--white) !important;
}
.eb__cf7-wrap .wpcf7-validation-errors,
.eb__cf7-wrap .wpcf7-acceptance-missing {
  border-color: #ff4444 !important;
  color: #ff4444 !important;
  background: transparent !important;
}
.eb__cf7-wrap .wpcf7-not-valid-tip {
  color: #ff4444;
  font-size: 12px;
  margin-top: 4px;
  display: block;
}

/* CF7 spinner */
.eb__cf7-wrap .wpcf7-spinner { display: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1040px) {
  .nav { display: none; }
  .hamburger { display: block; }
  .header__cta { display: none; }
  .header { grid-template-columns: auto 1fr auto; }
  .brand { justify-self: start; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .ig__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { order: -1; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .stat:nth-child(3)::before, .stat:nth-child(2)::before { content: none; }
  .venue__grid { grid-template-columns: 1fr; }
  .eb__form { grid-template-columns: 1fr; }
  .eb__cf7-wrap .wpcf7-form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .st2__main { gap: 6px 20px; }
  .stations { grid-template-columns: 1fr; }
  .tab { padding: 11px 30px; font-size: 18px; }
}
@media (max-width: 460px) {
  .cats { grid-template-columns: 1fr; }
  .st2 { gap: 16px; }
  .st2__no { width: 42px; height: 42px; font-size: 22px; }
  .st2__main h3 { font-size: 24px; }
  .loop__cap, .loop__node, .loop__leg { height: 46px; }
  .loop__node { width: 50px; }
  .loop__node span { font-size: 25px; }
}
