/* Matchday Workforce Careers — inspired by jobs.mlssoccer.com structure */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800&family=Barlow+Condensed:wght@600;700;800&display=swap');

:root {
  --ink: #212121;
  --ink-deep: #111111;
  --muted: #9b9b9b;
  --line: #bdc5c7;
  --paper: #f6f6f6;
  --white: #ffffff;
  --red: #e2231a;
  --red-deep: #c82828;
  --red-wash: #fdeceb;
  --pitch: #0d7a4f;
  --pitch-deep: #065c3a;
  --pitch-wash: #e8f6ef;
  --amber: #e8a317;
  --amber-wash: #fff6e0;
  --danger: #c0392b;
  --info: #1a6bb5;
  --info-wash: #e8f2fb;
  --shadow: 0 18px 50px rgba(17, 17, 17, 0.1);
  --radius: 0;
  --nav-h: 88px;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --indent: clamp(1rem, 4.5vw, 6.5rem);
  --container-pad: clamp(1rem, 3vw, 1.5rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  min-height: 100vh;
  font-size: clamp(15px, 1.6vw, 17px);
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul { list-style: none; }

.container {
  width: min(1200px, calc(100% - (var(--container-pad) * 2)));
  margin-inline: auto;
}

.container-wide {
  width: min(1440px, 100%);
  margin-inline: auto;
}

/* ——— Header (MLS Careers style) ——— */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--white);
  border: none;
  box-shadow: none;
}

.site-nav.scrolled {
  border: none;
  box-shadow: none;
}

.nav-inner {
  position: relative;
  height: 100%;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--indent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  flex-shrink: 1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-deep);
}

.logo-shield {
  height: clamp(44px, 6vw, 56px);
  width: auto;
  display: block;
  flex-shrink: 0;
}

.logo-sep-img {
  height: clamp(36px, 5vw, 44px);
  width: auto;
  display: block;
  opacity: 0.9;
  flex-shrink: 0;
}

.logo-wordmark {
  height: clamp(42px, 7vw, 58px);
  width: auto;
  max-width: min(62vw, 340px);
  object-fit: contain;
  object-position: left center;
  display: block;
}

.site-footer a.logo {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  width: max-content;
  max-width: 100%;
}

.footer-leagues {
  display: block;
  width: min(100%, 640px);
  height: auto;
  margin: 0 auto 1.1rem;
}

.footer-brand {
  padding: 0 var(--indent) 1.75rem;
  max-width: 1440px;
  margin: 0 auto;
}

.footer-brand .footer-leagues {
  margin-top: 1rem;
  margin-bottom: 0;
}

.site-footer .logo-shield {
  height: 52px;
  flex-shrink: 0;
}
.site-footer .logo-wordmark {
  height: 38px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
  filter: brightness(1.15) contrast(1.2);
}
.site-footer .logo-sep-img {
  height: 34px;
  opacity: 0.95;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.1rem;
}

.nav-links a {
  padding: 0.5rem 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  white-space: nowrap;
}

.nav-links a:not(.nav-jobs)::after {
  content: '';
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-links a:not(.nav-jobs):hover::after,
.nav-links a:not(.nav-jobs).active::after {
  transform: scaleX(1);
}

.nav-links a.nav-jobs {
  color: var(--red);
}
.nav-links a.nav-jobs:hover { color: var(--red-deep); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  box-shadow: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  width: 20px;
  transition: transform 0.2s var(--ease), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 1rem 2rem;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary,
.mls-cta-prime {
  background: var(--red);
  color: white;
}
.btn-primary:hover,
.mls-cta-prime:hover { background: var(--red-deep); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-secondary:hover { border-color: var(--ink); }

.btn-ghost { background: transparent; color: var(--ink); padding: 0.6rem 1rem; }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.btn-lg { padding: 1.15rem 2.4rem; font-size: 1.05rem; }

.mls-cta-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
  border-bottom: 2px solid var(--red);
  padding-bottom: 0.2rem;
}
.mls-cta-inline:hover { color: var(--red-deep); border-color: var(--red-deep); }

/* ——— Hero ——— */
.hero,
.mls-hero {
  position: relative;
  height: clamp(480px, 68vh, 720px);
  min-height: 480px;
  max-height: none;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
  background: #111;
}

.mls-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(100px, 18vh, 180px);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 42%,
    rgba(255, 255, 255, 0.82) 78%,
    #ffffff 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #111;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center center;
}

/* Fallback for browsers that size video elements differently */
@supports (object-fit: cover) {
  .hero-video {
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    transform: none;
  }
}

.hero-mask {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(17,17,17,0.5) 0%, rgba(17,17,17,0.18) 48%, rgba(17,17,17,0.06) 100%),
    linear-gradient(180deg, rgba(17,17,17,0.08) 0%, rgba(17,17,17,0.12) 45%, rgba(255,255,255,0.08) 72%, rgba(255,255,255,0.45) 100%);
  pointer-events: none;
}

.hero-media::before,
.hero-media::after {
  display: none;
}

.hero-inner,
.mls-hero-txt {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 4vw, 3.5rem) var(--indent);
  max-width: min(960px, 100%);
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.65rem;
  opacity: 0;
  animation: rise 0.7s var(--ease) 0.05s forwards;
}

.hero h1,
.mls-hero-txt .h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  opacity: 0;
  animation: rise 0.8s var(--ease) 0.15s forwards;
  word-wrap: break-word;
}

.mls-hero-txt .h2 {
  font-size: clamp(1.45rem, 4.2vw, 3.25rem);
  white-space: nowrap;
  word-wrap: normal;
}

@media (max-width: 720px) {
  .mls-hero-txt .h2 {
    white-space: normal;
    max-width: 14ch;
    font-size: clamp(1.55rem, 8.2vw, 2.35rem);
    line-height: 0.98;
  }
}

.hero-cta {
  opacity: 0;
  animation: rise 0.8s var(--ease) 0.35s forwards;
}

.hero-cta .btn-lg {
  padding: 0.55rem 0.95rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  width: fit-content;
  max-width: none;
}

.floating-jobs-cta {
  position: fixed;
  right: clamp(1rem, 4vw, 2rem);
  bottom: clamp(1rem, 3vw, 1.5rem);
  z-index: 200;
  padding: 0.65rem 1.1rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  box-shadow: 0 14px 36px rgba(17, 17, 17, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition:
    opacity 0.28s var(--ease),
    transform 0.28s var(--ease),
    visibility 0.28s;
  pointer-events: none;
}

.floating-jobs-cta.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  animation: floating-jobs-motion 4.5s ease-in-out infinite;
}

@keyframes floating-jobs-motion {
  0%, 100% { transform: translateY(0) rotate(0); }
  15% { transform: translateY(-7px) rotate(0); }
  30% { transform: translateY(0) rotate(0); }
  45% { transform: translateY(-9px) rotate(0); }
  60% { transform: translateY(0) rotate(0); }
  74% { transform: translateY(-5px) rotate(0); }
  76% { transform: translateY(-5px) rotate(-5deg); }
  78% { transform: translateY(-5px) rotate(5deg); }
  80% { transform: translateY(-5px) rotate(-5deg); }
  82% { transform: translateY(-5px) rotate(5deg); }
  84% { transform: translateY(-5px) rotate(-3deg); }
  88% { transform: translateY(0) rotate(0); }
}

@media (prefers-reduced-motion: reduce) {
  .floating-jobs-cta.is-visible {
    animation: none;
    transform: translateY(0);
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ——— Intro / Who We Are ——— */
.mls-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 4vw, 4rem);
  align-items: start;
  padding: clamp(3.5rem, 6vw, 6rem) var(--indent) clamp(5rem, 9vw, 8rem);
  max-width: 1440px;
  margin-inline: auto;
  background: #ffffff;
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}

.mls-intro .eyebrow {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
  color: var(--ink-deep);
}

.mls-intro h2,
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
  color: var(--ink-deep);
}

.mls-intro p,
.lead {
  font-size: 1.15rem;
  color: #555;
  max-width: 38ch;
}

.intro-media {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 4vw, 3.5rem);
  min-width: 0;
}

.intro-values {
  min-width: 0;
  padding-top: clamp(1.5rem, 2.5vw, 2rem);
  border-top: 1px solid rgba(189, 197, 199, 0.55);
}

.intro-values-head {
  margin-bottom: 0.85rem;
}

.intro-values-head .eyebrow {
  margin-bottom: 0;
}

.intro-values-hint {
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 1.15rem;
}

.intro-values-track {
  padding: 0.35rem 0 1.25rem;
}

.intro-values .value-card {
  flex: 0 0 min(100%, 300px);
  min-height: 200px;
  padding-top: 1.25rem;
}

.intro-values .value-card h3 {
  font-size: 1.5rem;
}

.intro-values .value-card p {
  font-size: 0.95rem;
  line-height: 1.55;
}

.intro-visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #111 center/cover no-repeat;
}

.intro-visual::before,
.intro-visual::after {
  display: none;
}

.intro-visual .bg-lines {
  position: absolute;
  inset: 0;
  background: url('../assets/mls/ui/line-pattern.svg') center/cover;
  opacity: 0.35;
  pointer-events: none;
  mix-blend-mode: soft-light;
}

/* ——— Multi / We are... ——— */
.mls-multi {
  position: relative;
  background: #111;
  color: white;
  min-height: clamp(380px, 58vh, 520px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4rem) var(--indent);
}

.mls-multi::before {
  display: none;
}

.multi-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.multi-slide {
  position: absolute;
  inset: 0;
  background: #111 center/cover no-repeat;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.7s var(--ease), transform 2.2s linear;
}

.multi-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.multi-slide-mask {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.2) 50%, rgba(10,10,10,0.1) 100%),
    linear-gradient(180deg, rgba(10,10,10,0.08) 0%, rgba(10,10,10,0.28) 100%);
  pointer-events: none;
}

.multi-inner {
  position: relative;
  z-index: 3;
  display: block;
  max-width: 1200px;
  width: 100%;
  margin-inline: auto;
}

.multi-txt {
  max-width: 22ch;
}

.mls-multi .eyebrow {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 0.55rem;
}

.multi-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  line-height: 0.96;
  text-transform: uppercase;
  margin: 0.3rem 0 1.25rem;
  text-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

.multi-headline em {
  font-style: normal;
  color: var(--red);
}

.mls-multi .mls-cta-inline {
  color: white;
  border-bottom-color: white;
  font-size: 1rem;
}
.mls-multi .mls-cta-inline:hover {
  color: #f2f2f2;
  border-bottom-color: #f2f2f2;
}

.multi-dots {
  position: absolute;
  z-index: 4;
  left: var(--indent);
  bottom: 1.5rem;
  display: flex;
  gap: 0.5rem;
}

.multi-dots button {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  padding: 0;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.multi-dots button.is-active {
  background: white;
  transform: scale(1.15);
}

.multi-dots button:hover {
  background: rgba(255,255,255,0.7);
}

.cta-band {
  background: var(--ink-deep);
  color: white;
  padding: clamp(3rem, 6vw, 4.5rem) var(--indent);
}

.cta-band-inner {
  max-width: 1200px;
  margin-inline: auto;
}

.cta-band .eyebrow {
  color: rgba(255,255,255,0.55);
}

.cta-band .multi-headline {
  margin-bottom: 1.5rem;
}

.page-header {
  position: relative;
  padding: 5rem var(--indent) 3.5rem;
  background: var(--ink-deep) center/cover no-repeat;
  color: white;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17,17,17,0.82) 0%, rgba(17,17,17,0.45) 70%);
  z-index: 0;
}

.page-header > * {
  position: relative;
  z-index: 1;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 2rem 0 1rem;
}

.photo-grid figure {
  margin: 0;
  min-height: 220px;
  background: #111 center/cover no-repeat;
}

.photo-grid.two { grid-template-columns: 1.2fr 1fr; }
.photo-grid.two figure:first-child { min-height: 320px; }

.dept-card {
  position: relative;
  min-height: 240px;
  padding: 1.5rem;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #1a1a1a center/cover no-repeat;
  overflow: hidden;
  transition: transform 0.25s var(--ease);
}

.dept-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,0.75) 100%);
  z-index: 0;
}

.dept-card > * { position: relative; z-index: 1; }

.dept-card:nth-child(n) { background-color: #1a1a1a; }
.dept-card:hover { transform: translateY(-4px); }
.dept-card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.dept-card p { opacity: 0.9; font-size: 0.95rem; }

/* ——— Values carousel ——— */
.mls-carousel {
  padding: 5rem 0 6rem;
  background: var(--white);
  overflow: hidden;
}

.carousel-head {
  padding-inline: var(--indent);
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}

.carousel-hint {
  color: var(--muted);
  font-size: 0.9rem;
}

.values-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem var(--indent) 1.5rem;
  scrollbar-width: thin;
}

.values-track::-webkit-scrollbar { height: 6px; }
.values-track::-webkit-scrollbar-thumb { background: #ddd; }

.value-card {
  flex: 0 0 min(320px, 78vw);
  scroll-snap-align: start;
  border-top: 3px solid var(--ink-deep);
  padding-top: 1.5rem;
  min-height: 280px;
  transition: border-color 0.25s;
}
.value-card:hover { border-color: var(--red); }

.value-card .counter {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.value-card .counter b { color: var(--ink); }

.value-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 1rem;
}

.value-card p { color: #555; font-size: 1rem; }

/* ——— Page header typography ——— */
.page-header .section-kicker { color: rgba(255,255,255,0.55); }
.page-header h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.01em;
}
.page-header p {
  margin-top: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 48ch;
  font-size: 1.1rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.breadcrumbs a:hover { color: var(--red); }

/* ——— Jobs / filters (kept functional) ——— */
.section { padding: 4.5rem 0; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
}
.section-head p { color: var(--muted); margin-top: 0.35rem; max-width: 42ch; }

.search-panel {
  margin: -2rem auto 0;
  position: relative;
  z-index: 5;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 1rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 0.75rem;
  width: min(1120px, calc(100% - 2.5rem));
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.5rem 0.75rem;
  background: var(--paper);
}
.search-field label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.search-field input,
.search-field select {
  border: none;
  background: transparent;
  outline: none;
  color: var(--ink);
  font-weight: 500;
}

.job-grid { display: grid; gap: 0.85rem; }

.job-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.35rem;
  background: var(--white);
  border: 1px solid #e8e8e8;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}
.job-row:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.job-row h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.25rem;
}
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.job-meta span { display: inline-flex; align-items: center; gap: 0.35rem; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-open { background: var(--pitch-wash); color: var(--pitch-deep); }
.badge-urgent { background: var(--red-wash); color: var(--red-deep); }
.badge-event { background: var(--amber-wash); color: #8a5b00; }
.badge-status { background: var(--info-wash); color: var(--info); }
.badge-closed { background: #eef1f6; color: var(--muted); }

.pay { font-weight: 700; color: var(--ink-deep); white-space: nowrap; }

.stadium-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stadium-tile {
  position: relative;
  min-height: 200px;
  overflow: hidden;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.35rem;
  background: linear-gradient(160deg, #1a1a1a, #0d3d2c);
  transition: transform 0.3s var(--ease);
}
.stadium-tile:nth-child(2) { background: linear-gradient(160deg, #111, #3a1515); }
.stadium-tile:nth-child(3) { background: linear-gradient(160deg, #0d3d2c, #222); }
.stadium-tile:nth-child(4) { background: linear-gradient(160deg, #1a1a1a, #1a3a55); }
.stadium-tile:hover { transform: translateY(-4px); }
.stadium-tile h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  text-transform: uppercase;
  z-index: 1;
}
.stadium-tile p { font-size: 0.9rem; opacity: 0.8; z-index: 1; }

.event-list { display: grid; gap: 0.85rem; }
.event-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.15rem 1.25rem;
  background: var(--white);
  border: 1px solid #e8e8e8;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.event-item:hover { border-color: var(--red); box-shadow: var(--shadow); }
.event-date {
  text-align: center;
  background: var(--paper);
  padding: 0.75rem 0.5rem;
}
.event-date .month {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
}
.event-date .day {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
}

.layout-split {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.75rem;
  padding: 2rem 0 4rem;
}

.layout-split:has(> :only-child) {
  grid-template-columns: min(360px, 100%);
}

.jobs-layout {
  display: grid;
  gap: 1rem;
  padding: 1.35rem 0 3.5rem;
}

.jobs-main {
  min-width: 0;
}

.jobs-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid #e8e8e8;
}

.jobs-tab {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  position: relative;
  transition: color 0.2s var(--ease);
}

.jobs-tab.is-active {
  color: var(--ink-deep);
}

.jobs-tab.is-active::after {
  content: '';
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: -1px;
  height: 3px;
  background: var(--red);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.event-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin-bottom: 1.1rem;
}

.event-search {
  flex: 1 1 16rem;
  min-width: 0;
}

.event-search input {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 0.55rem;
  padding: 0.7rem 0.85rem;
  font: inherit;
  background: #fff;
}

.event-search input:focus {
  outline: 2px solid rgba(200, 16, 46, 0.25);
  border-color: var(--red);
}

.event-kind {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.2rem;
  border-radius: 0.55rem;
  background: #efefef;
}

.event-kind-btn {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0.45rem 0.85rem;
  border-radius: 0.4rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}

.event-kind-btn.is-active {
  background: #fff;
  color: var(--ink-deep);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.role-detail__notice,
.apply-demo-banner {
  margin: 0.85rem 0 0;
  padding: 0.65rem 0.8rem;
  border-radius: 0.45rem;
  background: #fff7e8;
  border: 1px solid #f0d9a8;
  color: #6b4e16;
  font-size: 0.88rem;
  line-height: 1.4;
}

.apply-demo-banner--inline {
  margin: 1rem 0 0;
}

.jobs-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 1.15rem;
}

.jobs-panel-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.jobs-panel-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

.results-count {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}

.fixture-feed,
.role-feed,
.club-job-feed {
  display: grid;
  gap: 0.65rem;
}

.fixture-card {
  width: 100%;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.85rem;
  align-items: center;
  text-align: left;
  padding: 1rem 1rem;
  min-height: 96px;
  border: 1px solid #e8e8e8;
  background: #1a1a1a;
  color: var(--white);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  animation: fixture-in 0.45s var(--ease) both;
  animation-delay: calc(min(var(--i, 0), 12) * 35ms);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.fixture-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.fixture-bg,
.match-hero-bg,
.venue-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

.fixture-card::after,
.match-hero::after,
.venue-hero.has-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(105deg, rgba(17, 17, 17, 0.82) 0%, rgba(17, 17, 17, 0.58) 55%, rgba(17, 17, 17, 0.4) 100%);
}

.fixture-card > *:not(.fixture-bg) {
  position: relative;
  z-index: 2;
}

.fixture-date {
  text-align: center;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.55rem 0.35rem;
}

.fixture-date .month,
.match-hero-date .month {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffb4b0;
}

.fixture-date .day,
.match-hero-date .day {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
  color: var(--white);
}

.fixture-match {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--white);
}

.fixture-match span,
.match-hero h3 span {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  padding: 0 0.25rem;
}

.fixture-meta,
.fixture-openings {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  margin-top: 0.15rem;
  line-height: 1.3;
}

.fixture-openings {
  color: #9be7c2;
  font-weight: 600;
}

.fixture-cta {
  justify-self: end;
  white-space: nowrap;
  pointer-events: none;
}

.match-back {
  appearance: none;
  border: none;
  background: none;
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0;
  min-height: 44px;
}

.match-back:hover { color: var(--ink); }

.match-hero {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 1rem 1.1rem;
  margin-bottom: 1.15rem;
  min-height: 0;
  background-color: #111;
  color: var(--white);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  animation: match-hero-in 0.4s var(--ease) both;
}

.match-hero > *:not(.match-hero-bg) {
  position: relative;
  z-index: 2;
}

.match-hero.has-photo {
  min-height: 0;
}

.match-hero-date {
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.55rem 0.35rem;
}

.match-hero-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.25rem;
}

.match-hero h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.8vw, 1.55rem);
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 0.25rem;
}

.match-hero-when {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
}

.match-hero-address {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  margin-top: 0.35rem;
  line-height: 1.35;
}

.venue-hero-address {
  opacity: 0.9;
  margin-top: 0.45rem;
  font-size: 0.95rem;
}

.role-card,
.club-job-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.95rem 1rem;
  border: 1px solid #e8e8e8;
  background: var(--white);
  transition: border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}

.role-card:hover,
.club-job-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.role-card.is-filled,
.club-job-card.is-filled {
  opacity: 0.62;
}

.role-card.is-filled:hover,
.club-job-card.is-filled:hover {
  transform: none;
  box-shadow: none;
  border-color: #e8e8e8;
}

.role-card h3,
.club-job-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.2rem;
}

.role-card-meta,
.role-card-slots,
.club-job-org,
.club-job-loc,
.club-job-level {
  color: var(--muted);
  font-size: 0.9rem;
}

.role-card-slots {
  margin-top: 0.2rem;
  color: var(--pitch-deep);
  font-weight: 600;
}

.club-job-card {
  grid-template-columns: 52px 1fr auto;
  animation: fixture-in 0.45s var(--ease) both;
  animation-delay: calc(min(var(--i, 0), 10) * 40ms);
}

.club-job-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--white);
  background: linear-gradient(145deg, #1a1a1a, #0d3d2c);
  flex-shrink: 0;
  object-fit: contain;
}

.club-job-mark.club-job-logo {
  background: var(--white);
  border: 1px solid #ececec;
  padding: 4px;
  object-fit: contain;
}

.event-job-mark {
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(145deg, #1a1a1a 0%, #3a1515 55%, #c8102e 160%);
  border-radius: 0.55rem;
}

.club-job-card:nth-child(3n) .club-job-mark:not(.club-job-logo):not(.event-job-mark) {
  background: linear-gradient(145deg, #111, #3a1515);
}

.club-job-card:nth-child(3n + 2) .club-job-mark:not(.club-job-logo):not(.event-job-mark) {
  background: linear-gradient(145deg, #0d3d2c, #1a3a55);
}

.club-job-org {
  color: var(--ink);
  font-weight: 600;
}

.club-job-level {
  margin-top: 0.15rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.club-job-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  min-width: 96px;
  padding: 0.65rem 1rem;
  border: 1px solid var(--ink-deep);
  background: var(--ink-deep);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.club-job-view svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}

.club-job-view:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: translateY(-1px);
}

.club-job-view:hover svg {
  transform: translateX(2px);
}

.club-job-view:active {
  transform: translateY(0);
}

@keyframes fixture-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes match-hero-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.filter-panel {
  background: var(--white);
  border: 1px solid #e6e6e6;
  padding: 0;
  position: sticky;
  top: calc(var(--nav-h) + 0.65rem);
  z-index: 20;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.04);
  overflow: hidden;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
  min-height: 64px;
  background:
    linear-gradient(120deg, rgba(17, 17, 17, 0.03), transparent 42%),
    var(--white);
}

.filter-toggle {
  appearance: none;
  border: 1px solid #e8e8e8;
  background: var(--white);
  color: var(--ink-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: 1;
  min-width: 0;
  min-height: 52px;
  padding: 0.45rem 0.75rem 0.45rem 0.5rem;
  font-family: var(--font-body);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.filter-toggle:hover {
  border-color: #d0d0d0;
  background: #fafafa;
}

.filter-panel:not(.is-collapsed) .filter-toggle {
  border-color: var(--ink-deep);
  background: var(--ink-deep);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.14);
}

.filter-toggle-icon-wrap {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #f3f3f3;
  color: var(--ink-deep);
}

.filter-panel:not(.is-collapsed) .filter-toggle-icon-wrap {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.filter-funnel {
  width: 18px;
  height: 18px;
}

.filter-toggle-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  flex: 1;
}

.filter-toggle-label {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}

.filter-toggle-hint {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.filter-panel:not(.is-collapsed) .filter-toggle-hint {
  color: rgba(255, 255, 255, 0.7);
}

.filter-toggle-chevron {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.7;
  transition: transform 0.2s var(--ease);
}

.filter-panel:not(.is-collapsed) .filter-toggle-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.filter-active-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 0.35rem;
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}

.filter-panel:not(.is-collapsed) .filter-active-count {
  background: var(--white);
  color: var(--ink-deep);
}

.filter-active-count[hidden] {
  display: none;
}

.filter-clear-inline {
  appearance: none;
  border: 1px solid #e8e8e8;
  background: var(--white);
  color: var(--ink);
  min-height: 52px;
  padding: 0.55rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.filter-clear-inline:hover {
  border-color: var(--ink);
  background: #fafafa;
}

.filter-clear-inline:disabled {
  opacity: 0.35;
  cursor: default;
  border-color: #eee;
}

.filter-drawer {
  display: none;
  padding: 0 0.75rem 0.85rem;
  border-top: 1px solid #efefef;
  background: #fcfcfc;
}

.filter-panel:not(.is-collapsed) .filter-drawer {
  display: block;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem 0.75rem;
  padding-top: 0.75rem;
}

.filter-group {
  margin-bottom: 0;
  min-width: 0;
}

.filter-group-wide {
  grid-column: span 1;
}

.filter-group label,
.filter-group .label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.filter-group select,
.filter-group input[type="text"],
.filter-group input[type="number"],
.filter-group input[type="search"],
.form-control {
  width: 100%;
  padding: 0.55rem 1.85rem 0.55rem 0.65rem;
  border: 1px solid #e4e4e4;
  background: #fafafa;
  color: var(--ink);
  outline: none;
  appearance: none;
  border-radius: 0;
  font-size: 0.9rem;
  transition: border-color 0.15s, background 0.15s;
}

.filter-group select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 12px) 52%,
    calc(100% - 7px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  background-color: #fafafa;
}

.filter-group select:hover,
.filter-group input:hover,
.form-control:hover {
  border-color: #cfcfcf;
  background-color: var(--white);
}

.filter-group select:focus,
.filter-group input:focus,
.form-control:focus {
  border-color: var(--ink);
  background-color: var(--white);
}

@media (max-width: 1100px) {
  .filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .filter-group-wide {
    grid-column: span 3;
  }
}

.check-list { display: grid; gap: 0.45rem; }
.check-list label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  cursor: pointer;
}

.results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  padding: 2rem 0 4rem;
}
.detail-main h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  margin: 1.75rem 0 0.75rem;
}
.detail-main ul { margin: 0.5rem 0 0 1.1rem; list-style: disc; }
.detail-main li { margin-bottom: 0.4rem; color: #555; }

.side-panel {
  background: var(--paper);
  padding: 1.35rem;
  height: fit-content;
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}
.side-panel .pay-lg {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--ink-deep);
  margin: 0.5rem 0 1rem;
}
.meta-stack { display: grid; gap: 0.75rem; margin-bottom: 1.25rem; }
.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.92rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #e0e0e0;
}
.meta-row span:first-child { color: var(--muted); }
.meta-row span:last-child { font-weight: 600; text-align: right; }

.form-shell {
  max-width: 720px;
  margin: 2rem auto 4rem;
  background: var(--white);
  border: 1px solid #e8e8e8;
  padding: 1.75rem;
}
.progress-steps {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  overflow-x: auto;
}
.step-pill {
  flex: 1;
  min-width: 90px;
  text-align: center;
  padding: 0.55rem 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--paper);
  color: var(--muted);
}
.step-pill.active { background: var(--red-wash); color: var(--red-deep); }
.step-pill.done { background: var(--red); color: white; }
.form-step { display: none; }
.form-step.active { display: block; animation: rise 0.4s var(--ease); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: 0.85rem; font-weight: 600; }
.field .hint { font-size: 0.8rem; color: var(--muted); font-weight: 400; }
.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid #eee;
}

.dash-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0 3rem;
  min-height: 70vh;
}
.dash-nav {
  background: var(--paper);
  padding: 1rem;
  height: fit-content;
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}
.dash-nav a {
  display: block;
  padding: 0.65rem 0.85rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: #555;
  margin-bottom: 0.15rem;
}
.dash-nav a:hover,
.dash-nav a.active { background: white; color: var(--red); }
.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.stat-tile {
  background: var(--paper);
  padding: 1.15rem;
}
.stat-tile .label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-tile .value {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-top: 0.25rem;
}
.panel {
  background: var(--white);
  border: 1px solid #e8e8e8;
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.panel h2,
.panel h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.table th {
  text-align: left;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 0.5rem 0.4rem;
  border-bottom: 1px solid #eee;
}
.table td {
  padding: 0.85rem 0.4rem;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.4rem;
  background: var(--pitch);
}
.status-dot.review { background: var(--amber); }
.status-dot.interview { background: var(--info); }
.status-dot.offer { background: var(--pitch); }
.status-dot.declined { background: var(--danger); }

.course-list { display: grid; gap: 0.75rem; }
.course-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid #e8e8e8;
  background: var(--paper);
}
.progress-bar {
  height: 8px;
  background: #e2e8f0;
  overflow: hidden;
  margin-top: 0.5rem;
}
.progress-bar > span {
  display: block;
  height: 100%;
  background: var(--red);
}

.venue-hero {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  isolation: isolate;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  margin: 1.5rem 0;
  background: linear-gradient(135deg, #111 0%, #0d3d2c 55%, #3a1515 100%);
}
.venue-hero.has-photo::after {
  background: linear-gradient(120deg, rgba(17, 17, 17, 0.72), rgba(17, 17, 17, 0.42));
}
.venue-hero > *:not(.venue-hero-bg) { position: relative; z-index: 2; }
.venue-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
}

.assignment {
  background: linear-gradient(135deg, #111, #0d3d2c);
  color: white;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.assignment h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.assignment .sub { opacity: 0.8; margin-bottom: 1.25rem; }
.assignment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.assignment-grid dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.7;
}
.assignment-grid dd { font-weight: 600; margin-bottom: 0.75rem; }

/* Departments grid */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 3rem 0 5rem;
}

.content-block {
  padding: 3rem 0;
  max-width: 720px;
}
.content-block h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  text-transform: uppercase;
  margin: 2rem 0 0.75rem;
}
.content-block p { color: #555; margin-bottom: 1rem; font-size: 1.05rem; }

.legal-doc .legal-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.legal-doc h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 1.25rem 0 0.5rem;
}

.legal-doc ul,
.legal-doc ol {
  margin: 0 0 1.1rem 1.2rem;
  color: #555;
  font-size: 1.05rem;
}

.legal-doc li {
  margin-bottom: 0.45rem;
  line-height: 1.5;
}

.prefs-form {
  margin: 1.5rem 0 2rem;
}

.prefs-fieldset {
  border: 1px solid #e8e8e8;
  padding: 1rem 1.1rem 1.15rem;
  margin: 0 0 1rem;
}

.prefs-fieldset legend {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0 0.35rem;
  font-size: 0.95rem;
}

.prefs-option {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0.65rem 0;
  color: #555;
  font-size: 1rem;
  line-height: 1.45;
}

.prefs-option input {
  margin-top: 0.2rem;
}

.prefs-note {
  margin: 0.35rem 0 0;
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
}

.prefs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.prefs-status {
  margin-top: 0.85rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.about-steps {
  list-style: none;
  counter-reset: about-step;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.about-steps li {
  counter-increment: about-step;
  position: relative;
  padding: 0.85rem 0 0.85rem 3.1rem;
  color: #555;
  font-size: 1.05rem;
  line-height: 1.55;
  border-bottom: 1px solid #ececec;
}

.about-steps li:last-child {
  border-bottom: none;
}

.about-steps li::before {
  content: counter(about-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.85rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--red);
}

.about-steps strong {
  color: var(--ink-deep);
  font-weight: 700;
}

/* Footer
   Parked extras (search restore:start in HTML to bring back):
   we-are-slideshow, training-link, learn-more-column,
   independent-disclaimer, prototype-meta.
   training.html is kept on disk.
*/
.site-footer {
  background: var(--ink-deep);
  color: white;
  padding: 3.5rem 0 2rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  /* restore Learn more column: use 1.3fr 1fr 1fr 1fr */
  grid-template-columns: minmax(200px, 0.9fr) minmax(280px, 1.15fr);
  gap: 2rem 3rem;
  align-items: start;
  margin-bottom: 2.5rem;
  padding-inline: var(--indent);
  max-width: 1440px;
  margin-inline: auto;
}

.footer-drops {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.footer-drops .footer-leagues {
  margin: 0 auto 1.35rem;
}

.footer-drop {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-drop:first-of-type {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-drop summary {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  min-height: 48px;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: color 0.2s;
}

.footer-drop[open] summary {
  color: rgba(255, 255, 255, 0.82);
}

.footer-drop summary::-webkit-details-marker,
.footer-drop summary::marker {
  display: none;
  content: '';
}

.footer-drop summary::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1.5px solid rgba(255, 255, 255, 0.45);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.45);
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease), border-color 0.2s;
  flex-shrink: 0;
  margin-top: -2px;
}

.footer-drop[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 2px;
  border-color: rgba(255, 255, 255, 0.7);
}

.footer-drop-list {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0 0 1rem;
}

.footer-drop-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}
.site-footer h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.site-footer a {
  display: block;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}
.site-footer a:hover { color: white; }

.footer-social {
  padding: 0 var(--indent) 1.75rem;
  max-width: 1440px;
  margin: 0 auto 0.5rem;
}

.footer-social-label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.7rem;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin: 0;
  background: #2a2a2a;
  color: white;
  transition: background 0.2s, transform 0.2s;
}

.footer-social-links a:hover {
  background: #3a3a3a;
  color: white;
  transform: translateY(-1px);
}

.footer-social-links svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
  display: block;
}

.footer-legal {
  padding: 0.35rem var(--indent) 0;
  max-width: 1440px;
  margin: 0 auto;
}

.footer-policy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0.35rem 0 1.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-policy-logo {
  display: inline-flex !important;
  align-items: center;
  margin: 0 !important;
  width: auto;
}

.footer-policy-shield {
  height: 22px;
  width: auto;
  display: block;
}

.footer-policy-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.85rem;
}

.footer-policy-links a {
  display: inline !important;
  margin: 0 !important;
  font-size: 0.68rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.footer-policy-links a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-legal p {
  max-width: 72ch;
  margin: 0 0 0.55rem;
  font-size: 0.65rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.48);
  text-wrap: pretty;
}

.footer-bottom {
  padding: 0.7rem 0 0;
  margin-top: 0.1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.42);
  font-size: 0.65rem;
  line-height: 1.45;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.4rem 1.25rem;
  flex-wrap: wrap;
  width: 100%;
}

.footer-bottom span,
.footer-bottom a {
  display: inline;
  margin: 0;
  font-size: inherit;
  color: inherit;
}

.footer-bottom a:hover {
  color: white;
}
.disclaimer {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  max-width: 42ch;
  margin-top: 0.75rem;
}

.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }

.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--ink-deep);
  color: white;
  padding: 0.9rem 1.2rem;
  z-index: 200;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* Home jobs band after storytelling */
.home-jobs-band {
  background: var(--paper);
  padding: clamp(3rem, 6vw, 5rem) var(--indent);
}

.events-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  padding: 2rem 0 4rem;
}

/* ——— Responsive system ——— */
@media (max-width: 1100px) {
  .nav-links a {
    padding: 0.45rem 0.55rem;
    font-size: 0.92rem;
  }
  .dash-grid { grid-template-columns: repeat(2, 1fr); }
  .dept-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  :root { --nav-h: 80px; }

  .mls-intro,
  .multi-inner,
  .layout-split,
  .detail-layout,
  .dash-layout,
  .footer-grid,
  .dept-grid,
  .photo-grid,
  .photo-grid.two,
  .operator-band .container,
  .dash-grid,
  .events-layout { grid-template-columns: 1fr; }

  .footer-grid {
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .footer-drops .footer-leagues {
    width: min(100%, 520px);
    margin-bottom: 1.5rem;
  }

  .footer-drop summary {
    padding: 1rem 0;
    min-height: 52px;
  }

  .footer-drop-list a {
    min-height: 48px;
    padding: 0.45rem 0;
  }

  .footer-social {
    padding-top: 0.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .multi-photos {
    height: auto;
  }

  .stadium-strip { grid-template-columns: 1fr 1fr; }
  .search-panel { grid-template-columns: 1fr 1fr; }
  .filter-panel,
  .dash-nav,
  .side-panel { position: static; }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-item {
    grid-template-columns: 72px 1fr;
    gap: 1rem;
  }
  .event-item .btn { grid-column: 1 / -1; width: 100%; }

  .carousel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .job-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .pay { margin-top: 0.35rem; }

  .jobs-layout {
    padding: 1rem 0 3rem;
    gap: 0.9rem;
  }

  .jobs-panel-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
  }

  .jobs-panel-head h2 {
    font-size: 1.3rem;
  }

  .jobs-panel-sub {
    font-size: 0.88rem;
  }

  .jobs-tabs {
    margin-bottom: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .jobs-tab {
    padding: 0.75rem 0.85rem;
    font-size: 0.95rem;
    flex: 1;
    text-align: center;
  }

  .filter-bar {
    min-height: 56px;
    padding: 0.45rem;
    gap: 0.45rem;
  }

  .filter-toggle,
  .filter-clear-inline {
    min-height: 48px;
  }

  .filter-toggle-hint {
    display: none;
  }

  .filter-clear-inline {
    padding: 0.5rem 0.75rem;
    font-size: 0.72rem;
  }

  .filter-grid {
    grid-template-columns: 1fr 1fr;
  }

  .filter-group-wide {
    grid-column: 1 / -1;
  }

  .fixture-card {
    grid-template-columns: 52px 1fr auto;
    gap: 0.6rem;
    padding: 0.9rem 0.75rem;
    min-height: 108px;
  }

  .fixture-date {
    padding: 0.4rem 0.25rem;
  }

  .fixture-date .day {
    font-size: 1.35rem;
  }

  .fixture-match {
    font-size: 0.95rem;
  }

  .fixture-meta,
  .fixture-openings {
    font-size: 0.78rem;
  }

  .fixture-cta {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    min-height: 40px;
    font-size: 0.72rem;
  }

  .match-hero {
    grid-template-columns: 56px 1fr;
    gap: 0.7rem;
    padding: 0.85rem;
  }

  .match-hero h3 {
    font-size: 1.1rem;
  }

  .match-hero-when,
  .match-hero-address {
    font-size: 0.78rem;
  }

  .role-card,
  .club-job-card {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.85rem;
  }

  .club-job-card {
    grid-template-columns: 40px 1fr;
  }

  .club-job-mark {
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
  }

  .role-card h3,
  .club-job-card h3 {
    font-size: 1.05rem;
  }

  .role-card .btn {
    width: 100%;
    grid-column: 1 / -1;
    min-height: 44px;
  }

  .club-job-view {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 48px;
    padding: 0.8rem 1rem;
    font-size: 0.88rem;
  }

  .club-job-view svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 560px) {
  .fixture-openings {
    display: none;
  }

  .fixture-body .fixture-meta {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* Tablet → phone: collapse nav */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; flex-shrink: 0; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    background: white;
    border: none;
    border-top: none;
    padding: 0.5rem var(--indent) 1.25rem;
    box-shadow: none;
    z-index: 120;
    gap: 0.15rem;
  }

  .nav-links.open a {
    padding: 0.85rem 0.75rem;
    font-size: 1.15rem;
    border-bottom: 1px solid #f0f0f0;
    white-space: normal;
  }

  .nav-links.open a:last-child { border-bottom: none; }
  .nav-links.open a::after { display: none; }
  .nav-links.open a.nav-jobs { color: var(--red); }
}

@media (max-width: 790px) {
  .search-panel {
    grid-template-columns: 1fr;
    margin-top: -1.25rem;
  }

  .stadium-strip,
  .form-grid,
  .assignment-grid,
  .dept-grid { grid-template-columns: 1fr; }

  .logo-shield {
    height: 40px;
  }

  .logo-sep-img {
    height: 30px;
  }

  .logo-wordmark {
    height: 40px;
    max-width: min(48vw, 200px);
  }

  .hero,
  .mls-hero {
    height: clamp(360px, 56vh, 520px);
    min-height: 360px;
    align-items: flex-end;
  }

  .mls-hero::after {
    height: clamp(72px, 16vh, 130px);
  }

  .mls-hero-txt {
    z-index: 3;
    padding: 0 var(--indent) clamp(2.75rem, 8vw, 4rem);
    width: 100%;
    max-width: none;
  }

  .hero-cta .btn-lg {
    width: fit-content;
    max-width: none;
  }

  .hero-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .floating-jobs-cta {
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
  }

  .form-shell {
    margin: 1.25rem var(--container-pad) 3rem;
    padding: 1.25rem;
    max-width: none;
    width: auto;
  }

  .progress-steps {
    gap: 0.35rem;
  }

  .step-pill {
    min-width: 70px;
    font-size: 0.68rem;
    padding: 0.45rem 0.3rem;
  }

  .page-header {
    min-height: 220px;
    padding: 3rem var(--indent) 2rem;
  }

  .mls-intro {
    padding: 2.5rem var(--indent) 3.5rem;
    gap: 2rem;
  }

  .mls-intro .eyebrow {
    font-size: clamp(1.35rem, 6.5vw, 1.85rem);
    margin-bottom: 0.85rem;
  }

  .mls-intro p,
  .lead {
    font-size: 1.02rem;
    line-height: 1.6;
    max-width: none;
  }

  .intro-media {
    gap: 1.75rem;
  }

  .intro-values {
    padding-top: 1.35rem;
  }

  .intro-values-hint {
    font-size: 0.78rem;
    margin-bottom: 0.85rem;
  }

  .intro-visual {
    min-height: 220px;
    aspect-ratio: 16 / 10;
  }

  .intro-values-track {
    margin-inline: calc(var(--indent) * -1);
    padding-inline: var(--indent);
    padding-bottom: 0.5rem;
    scroll-padding-inline: var(--indent);
    -webkit-overflow-scrolling: touch;
  }

  .intro-values .value-card {
    flex: 0 0 min(78vw, 280px);
    min-height: 190px;
  }

  .intro-values .value-card h3 {
    font-size: 1.35rem;
  }

  .intro-values .value-card p {
    font-size: 0.9rem;
  }

  .mls-multi {
    min-height: 380px;
    padding-bottom: 3.5rem;
  }

  .photo-grid figure,
  .photo-grid.two figure:first-child { min-height: 180px; }

  .values-track {
    padding-bottom: 1rem;
  }

  .value-card {
    flex: 0 0 min(280px, 82vw);
    min-height: 240px;
  }

  .form-actions {
    flex-direction: column-reverse;
  }
  .form-actions .btn { width: 100%; }

  .home-jobs-band .section-head .btn {
    width: 100%;
  }

  .toast {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .footer-legal p {
    max-width: none;
    font-size: 0.62rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding-top: 0.65rem;
    font-size: 0.62rem;
  }

  .footer-meta {
    display: none;
  }

  .footer-leagues {
    width: min(100%, 560px);
  }

  .footer-policy {
    gap: 0.65rem;
    margin-bottom: 1rem;
  }

  .footer-policy-links {
    gap: 0.45rem 0.75rem;
  }

  .footer-policy-links a {
    font-size: 0.64rem;
  }

  .site-footer a.logo {
    flex-wrap: nowrap;
  }

  .site-footer {
    padding: 2.5rem 0 1.5rem;
  }

  .footer-grid {
    margin-bottom: 1.5rem;
  }

  .site-footer .logo-shield {
    height: 42px;
  }

  .site-footer .logo-wordmark {
    height: 30px;
  }

  .site-footer .logo-sep-img {
    height: 28px;
  }
}

@media (max-width: 480px) {
  :root {
    --nav-h: 72px;
    --indent: 1rem;
  }

  .footer-legal p {
    font-size: 0.6rem;
    line-height: 1.48;
  }

  .logo { gap: 0.35rem; }
  .logo-shield { height: 36px; }
  .logo-sep-img { height: 26px; }
  .logo-wordmark { height: 34px; max-width: 46vw; }

  .mls-hero {
    height: clamp(340px, 62vh, 460px);
    min-height: 340px;
  }

  .mls-hero-txt .h2,
  .hero h1 {
    font-size: clamp(1.45rem, 8.5vw, 2rem);
    max-width: 12ch;
    letter-spacing: 0.01em;
    margin-bottom: 0.9rem;
  }

  .hero-cta .btn-lg {
    padding: 0.6rem 1rem;
    font-size: 0.76rem;
  }

  .btn,
  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .hero-cta .btn {
    width: fit-content;
    max-width: none;
  }

  .mls-intro {
    padding: 2rem var(--indent) 3rem;
    gap: 1.5rem;
  }

  .intro-visual {
    min-height: 190px;
  }

  .intro-values .value-card {
    flex: 0 0 82vw;
    min-height: 180px;
  }

  .floating-jobs-cta {
    left: max(1rem, env(safe-area-inset-left));
    right: max(1rem, env(safe-area-inset-right));
    width: auto;
    justify-content: center;
  }

  .stat-tile .value { font-size: 1.6rem; }

  .event-date .day { font-size: 1.5rem; }
}

/* ——— Apply / role detail flow ——— */
.flow-page {
  min-height: 100vh;
  background: #f7f7f7;
}

.flow-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  min-height: 72px;
  padding: 0.65rem clamp(1rem, 3vw, 1.5rem);
  background: var(--white);
  border-bottom: 1px solid #ebebeb;
  position: sticky;
  top: 0;
  z-index: 40;
}

.flow-back {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0.35rem 0.25rem;
  font-weight: 600;
  cursor: pointer;
  justify-self: start;
}

.flow-back svg {
  width: 20px;
  height: 20px;
}

.flow-logo {
  justify-self: center;
}

.flow-header-spacer {
  justify-self: end;
}

.flow-main {
  padding-bottom: 5rem;
}

.flow-container {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

.flow-loading {
  color: var(--muted);
  padding: 2rem 0;
}

.flow-footer {
  padding: 1.25rem clamp(1rem, 3vw, 1.5rem) 1.75rem;
  border-top: 1px solid #ebebeb;
  background: var(--white);
}

.flow-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.role-detail {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid #ebebeb;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.role-detail__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.55rem;
}

.role-detail__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 0.45rem;
}

.role-detail__summary {
  color: var(--muted);
  font-size: 1.05rem;
}

.role-detail__slots {
  margin-top: 0.75rem;
  color: var(--pitch-deep);
  font-weight: 700;
}

.role-detail__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  margin: 1.5rem 0;
  padding: 1.1rem 0;
  border-top: 1px solid #efefef;
  border-bottom: 1px solid #efefef;
}

.role-detail__meta-item span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.role-detail__meta-item strong {
  font-weight: 600;
  color: var(--ink);
}

.role-detail__section {
  margin-top: 1.5rem;
}

.role-detail__section h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.role-detail__section p,
.role-detail__section li {
  color: #444;
  line-height: 1.55;
}

.role-detail__section ul {
  padding-left: 1.15rem;
  display: grid;
  gap: 0.4rem;
}

.floating-cta {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 50;
  min-height: 48px;
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.22);
}

.apply-shell {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  max-width: 1120px;
  margin: 0 auto;
  min-height: calc(100vh - 140px);
  background: var(--white);
  border-left: 1px solid #ebebeb;
  border-right: 1px solid #ebebeb;
}

.apply-shell--single {
  display: block;
  max-width: 720px;
  margin: 1.5rem auto 0;
  border: none;
  background: transparent;
  min-height: 0;
  padding: 0 1rem;
}

.apply-sidebar {
  padding: 1.75rem 1.35rem;
  background: var(--ink-deep);
  color: rgba(255, 255, 255, 0.92);
}

.apply-sidebar__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.apply-sidebar__title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  text-transform: uppercase;
  line-height: 1.1;
  color: #fff;
}

.apply-sidebar__summary {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.72);
}

.apply-sidebar__meta {
  display: grid;
  gap: 0.9rem;
  margin: 0 0 1.25rem;
}

.apply-sidebar__item {
  margin: 0;
}

.apply-sidebar__label {
  margin: 0 0 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.apply-sidebar__value {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.4;
  color: #fff;
}

.apply-sidebar__note {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

.apply-panel {
  padding: 1.75rem clamp(1rem, 3vw, 2rem) 2.5rem;
  background: var(--white);
}

.apply-panel--message {
  padding: 1.75rem 1.35rem;
  background: var(--white);
  border: 1px solid #ebebeb;
}

.apply-panel--success {
  border-left: 4px solid var(--pitch);
}

.apply-panel__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pitch-deep);
}

.apply-panel__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.apply-panel__text {
  color: #555;
  margin-bottom: 0.85rem;
  line-height: 1.55;
}

.thank-you-next {
  margin: 1.15rem 0 1.35rem;
  padding: 0.85rem 0 0;
  border-top: 1px solid #ececec;
  color: #6b7280;
  font-size: 0.92rem;
  line-height: 1.5;
}

.apply-form__section {
  padding-bottom: 1.75rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #efefef;
}

.apply-form__section--submit {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.apply-form__section-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.apply-form__section-number {
  color: var(--red);
  margin-right: 0.25rem;
}

.apply-form__section-intro {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.apply-form__field {
  margin-bottom: 0.95rem;
}

.apply-form__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.apply-form__optional {
  color: var(--muted);
  font-weight: 500;
}

.apply-form__field-note {
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 0.45rem;
}

.apply-form__input,
.apply-form__textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid #ddd;
  background: #fafafa;
  font: inherit;
  color: var(--ink);
}

.apply-form__input:focus,
.apply-form__textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--white);
}

.apply-form__subsection {
  margin-bottom: 1.15rem;
  padding: 0.95rem;
  background: #f7f7f7;
}

.apply-form__location-question {
  font-weight: 600;
  margin-bottom: 0.7rem;
  line-height: 1.4;
}

.apply-form__yes-no {
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.apply-form__yes-no-option {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.35rem 0.75rem;
  background: var(--white);
  border: 1px solid #ddd;
  cursor: pointer;
  font-weight: 600;
}

.apply-form__yes-no-option:has(input:checked) {
  border-color: var(--ink);
  background: #111;
  color: #fff;
}

.apply-form__choice {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 1rem 0 1.25rem;
}

.apply-form__checkbox {
  margin-top: 0.2rem;
}

.apply-form__actions {
  display: flex;
  gap: 0.75rem;
}

.apply-form__submit {
  min-height: 48px;
}

.apply-form__error {
  margin-top: 0.85rem;
  color: var(--danger);
  font-weight: 600;
}

@media (max-width: 900px) {
  .apply-shell {
    grid-template-columns: 1fr;
    border: none;
  }

  .apply-sidebar {
    padding: 1.35rem 1.1rem;
  }

  .role-detail__meta {
    grid-template-columns: 1fr;
  }

  .floating-cta {
    left: max(1rem, env(safe-area-inset-left));
    right: max(1rem, env(safe-area-inset-right));
    text-align: center;
    justify-content: center;
  }
}

/* ——— Onboarding / role-fee payment page ——— */
.payment-shell {
  max-width: 40rem;
  margin: 0 auto;
}

.payment-panel {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(11, 18, 32, 0.08);
  padding: 1.75rem 1.4rem 2rem;
  overflow: hidden;
}

.payment-steps {
  margin: 0 0 1.25rem;
  padding: 0.85rem 0.95rem 0.85rem 1.7rem;
  background: #0b1f3a;
  color: #fff;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.payment-steps li {
  margin: 0.2rem 0;
}

.payment-panel__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pitch-deep, #0d3d2c);
}

.payment-panel__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  text-transform: uppercase;
  line-height: 1.1;
}

.payment-panel__intro,
.payment-section__text,
.payment-section__meta,
.payment-method-card__note,
.payment-actions__hint {
  color: #555;
  line-height: 1.55;
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.payment-notice {
  margin: 1.15rem 0 1.35rem;
  padding: 1rem 1.05rem;
  border: 1px solid #e5e5e5;
  background: #fafafa;
}

.payment-notice__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  margin: 0 0 0.55rem;
}

.payment-notice__text {
  margin: 0 0 0.55rem;
  color: #555;
  font-size: 0.92rem;
  line-height: 1.5;
}

.payment-notice__text:last-child {
  margin-bottom: 0;
}

.payment-fee-rules {
  margin: 0.75rem 0 1rem;
  padding: 0.85rem 0.95rem;
  background: #f7f7f7;
  border-left: 3px solid #ccc;
}

.payment-fee-rules p {
  margin: 0 0 0.55rem;
  color: #555;
  font-size: 0.88rem;
  line-height: 1.5;
}

.payment-fee-rules p:last-child {
  margin-bottom: 0;
}

.payment-fee-row__badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.12rem 0.4rem;
  border: 1px solid #ddd;
  border-radius: 0.25rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #666;
  vertical-align: middle;
}

.payment-fee-row__badge--deposit {
  border-color: #b7d7c4;
  color: #1f6b45;
  background: #eef8f2;
}

.payment-id-card {
  margin: 1.25rem 0;
  padding: 1rem 1.1rem;
  border: 2px dashed #c9d8cf;
  background: #f4faf6;
}

.payment-id-card__label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--pitch-deep, #0d3d2c);
}

.payment-id-card__value {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.02em;
}

.payment-id-card__note {
  margin: 0.45rem 0 0;
  font-size: 0.85rem;
  color: #6b7280;
}

.payment-reporting,
.payment-fees,
.payment-methods {
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid #ececec;
}

.payment-section__title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
}

.payment-pay-compare {
  margin: 0 0 0.85rem;
  padding: 0.7rem 0.8rem;
  background: #f7f7f7;
  border: 1px solid #ececec;
  color: #444;
  font-size: 0.9rem;
  line-height: 1.45;
}


.payment-fee-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.85rem;
  padding: 0.85rem 0.95rem;
  border-bottom: 1px solid #f0f0f0;
}

.payment-fee-row:last-child {
  border-bottom: 0;
}

.payment-fee-row__label,
.payment-fee-row__amount {
  margin: 0;
  font-weight: 650;
  font-size: 0.95rem;
}

.payment-fee-row__description {
  margin: 0.25rem 0 0;
  color: #6b7280;
  font-size: 0.85rem;
  line-height: 1.4;
}

.payment-fee-totals {
  margin-top: 0.85rem;
}

.payment-fee-total-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  font-size: 0.95rem;
}

.payment-fee-total-row--grand {
  margin-top: 0.35rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e5e5e5;
  font-size: 1.05rem;
}

.payment-method-card {
  margin-top: 0.85rem;
  padding: 1rem 1.05rem;
  border: 1px solid #ebebeb;
  background: #fafafa;
}

.payment-method-card--primary {
  border-color: #c9d8cf;
  background: #f4faf6;
}

.payment-method-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.payment-method-card__title {
  margin: 0;
  font-size: 1rem;
}

.payment-method-card__badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  background: #0d3d2c;
  color: #fff;
}

.chime-info__section {
  margin-bottom: 0.85rem;
}

.chime-info__section--last {
  margin-bottom: 0.35rem;
}

.chime-info__label {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6b7280;
}

.chime-info__value {
  margin: 0;
  font-weight: 650;
}

.chime-info__value--mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92rem;
}

.chime-info__copy {
  margin-top: 0.35rem;
  appearance: none;
  border: 1px solid #d5d5d5;
  background: #fff;
  padding: 0.35rem 0.65rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.chime-info__copy:hover {
  border-color: #999;
}

.chime-info__copy:disabled {
  opacity: 0.7;
  cursor: default;
}

@media (max-width: 640px) {
  .payment-fee-row {
    grid-template-columns: 1fr;
  }
}
