/* ───────────────────────── TOKENS ───────────────────────── */
:root {
  --bg-base: #080808;
  --bg-surface: rgba(255,255,255,0.045);
  --border-subtle: rgba(255,255,255,0.09);
  --border-hover: rgba(255,255,255,0.2);
  --text-primary: #f2f2f2;
  --text-muted: rgba(240,240,240,0.52);
  --accent-gold: #e8c06a;
  --accent-blue: #4fa3e0;
  --accent-pink: #f472b6;
  --shadow-card: 0 4px 28px rgba(0,0,0,0.38);
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* ───────────────────────── RESET ────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-width: none;
}
html::-webkit-scrollbar { display: none; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  overflow-x: hidden;
  background: var(--bg-base);
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }

:focus-visible { outline: 2px solid var(--accent-gold); outline-offset: 2px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent-gold); outline-offset: 2px; border-radius: 4px; }

/* ───────────────────── GLASS ────────────────────────────── */
.glass {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255,255,255,0.06);
}

/* ──────────────────── HERO BANNER ───────────────────────── */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-base);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  transform: scale(1.12) translateZ(0);
  transform-origin: center center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  filter: blur(0) brightness(0.9);
  transition: filter 1.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-img[src=""] { display: none; }
.hero.hero-intro-ready .hero-img {
  filter: blur(6px) brightness(0.42);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, transparent 0%, rgba(8,8,8,0.35) 100%),
    linear-gradient(
      to bottom,
      rgba(10,10,10,0.15) 0%,
      rgba(10,10,10,0.04) 38%,
      rgba(10,10,10,0.45) 68%,
      rgba(8,8,8,0.94) 100%
    );
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 clamp(16px, 5vw, 32px);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.hero-title {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(72px, 14vw, 180px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  z-index: 1;
  text-align: center;
  max-width: 100%;
  opacity: 0;
  transform: scale(0.92) translate3d(0, 14px, 0);
  transform-origin: center center;
  transition: opacity 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.08s,
              transform 1.35s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.hero.hero-intro-ready .hero-title {
  opacity: 1;
  transform: scale(1) translate3d(0, 0, 0);
  text-shadow:
    0 0 100px rgba(255,255,255,0.08),
    0 8px 48px rgba(0,0,0,0.55);
}

.parallax-ghost {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(0);
  font-family: var(--font-display);
  font-size: clamp(90px, 17vw, 220px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.05);
  z-index: 0;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
  backface-visibility: hidden;
}
.hero.hero-intro-ready .parallax-ghost {
  opacity: 1;
}

.scroll-indicator {
  position: absolute;
  bottom: max(28px, env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%) translateZ(0);
  z-index: 3;
  opacity: 0;
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1) 1.05s;
}
.hero.hero-intro-ready .scroll-indicator {
  opacity: 1;
}
.scroll-indicator svg {
  color: rgba(255,255,255,0.4);
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ──────────────────── SCROLL REVEAL ───────────────────────── */
.scroll-reveal {
  width: 100%;
  opacity: 0;
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.scroll-reveal-up { transform: translate3d(0, 36px, 0); }
.scroll-reveal-left { transform: translate3d(-40px, 0, 0); }
.scroll-reveal-right { transform: translate3d(40px, 0, 0); }
.scroll-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.scroll-reveal[data-reveal-delay="1"] { transition-delay: 0.08s; }
.scroll-reveal[data-reveal-delay="2"] { transition-delay: 0.16s; }
.scroll-reveal[data-reveal-delay="3"] { transition-delay: 0.24s; }

/* ──────────────────── SECTION HEADING ─────────────────────── */
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 48px;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.82) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ──────────────────── CHANNELS ────────────────────────────── */
#channels {
  position: relative;
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.02) 45%, transparent 100%);
}
.channels {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 32px;
}

.channels > .scroll-reveal + .scroll-reveal {
  margin-top: 28px;
}

.channel-row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.channel-row .card-wrapper {
  flex: 0 0 320px;
  perspective: 800px;
}

.channel-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 190px;
  padding: 24px;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  transition: border-color 0.3s ease, box-shadow 0.35s ease;
  will-change: transform;
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255,255,255,0.07);
}
.channel-card.gold { --card-accent: var(--accent-gold); }
.channel-card.blue { --card-accent: var(--accent-pink); }
.channel-card:hover {
  border-color: rgba(255,255,255,0.28);
  box-shadow:
    0 12px 48px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 0 0 1px rgba(255,255,255,0.04);
}

.card-glass {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: var(--bg-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 0;
  overflow: hidden;
}

.card-shimmer {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(
    110deg,
    transparent 0%, transparent 28%,
    rgba(255,255,255,0.15) 40%,
    rgba(255,255,255,0.25) 50%,
    rgba(255,255,255,0.15) 60%,
    transparent 72%, transparent 100%
  );
  background-size: 250% 100%;
  background-position: 100% 0;
  pointer-events: none;
  z-index: 4;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.channel-card:hover .card-shimmer {
  opacity: 1;
  animation: shimmer 0.8s ease-out forwards;
}
@keyframes shimmer {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.channel-card .card-pfp {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  pointer-events: none;
  border-radius: 14px;
  z-index: 1;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}
.card-handle {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  display: block;
  margin-top: 6px;
}
.card-yt-icon { color: var(--text-muted); flex-shrink: 0; }
.card-name {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
  z-index: 2;
}
.card-views {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--card-accent);
}
.card-views-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-top: 2px;
  text-transform: uppercase;
}
.channel-card.blue .card-views-label {
  color: rgba(244, 114, 182, 0.55);
}

/* ──────────────────── VIDEO CAROUSEL ──────────────────────── */
.video-carousel {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  mask-image: linear-gradient(to right, transparent, black 28px, black calc(100% - 28px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 28px, black calc(100% - 28px), transparent);
}

.carousel-track {
  display: flex;
  flex-shrink: 0;
  width: max-content;
  will-change: transform;
  animation: carousel-scroll 28s linear infinite;
}
.video-carousel:hover .carousel-track {
  animation-play-state: paused;
}

.video-thumb {
  flex: 0 0 220px;
  margin-right: 12px;
  aspect-ratio: 16/9;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: block;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.video-thumb:hover img {
  transform: scale(1.05);
}

.thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.3) 40%, transparent 70%);
  display: flex;
  align-items: flex-end;
  padding: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.video-thumb:hover .thumb-overlay {
  opacity: 1;
}

.thumb-views {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
}

.thumb-title {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}

@keyframes carousel-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.video-carousel.single-video {
  mask-image: none;
  -webkit-mask-image: none;
  flex: 0 0 auto;
}
.video-carousel.single-video .video-thumb {
  width: clamp(160px, 19vw, 220px);
  margin-right: 0;
}

/* ──────────────────── OPEN POSITIONS ────────────────────────── */
#positions {
  position: relative;
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
  background: linear-gradient(180deg, transparent 0%, rgba(80, 120, 200, 0.03) 50%, transparent 100%);
}
.positions {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px 80px;
}
.positions-header {
  text-align: center;
  margin-bottom: 40px;
}
.positions-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.85) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.positions-header p {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
}

.positions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.role-card {
  border-radius: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease;
}
.role-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.07);
}
.role-header {
  display: flex;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  gap: 14px;
  user-select: none;
}

.role-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-muted);
}

.role-text { flex: 1; min-width: 0; }
.role-title { font-weight: 600; font-size: 15px; }
.role-meta {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}
.role-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.role-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
}
.role-dot:not(.closed) {
  animation: role-dot-glow 1s ease-in-out infinite;
}
.role-dot.closed {
  background: #ef4444;
  box-shadow: none;
  animation: none;
}
@keyframes role-dot-glow {
  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(74, 222, 128, 0.65),
      0 0 6px 2px rgba(74, 222, 128, 0.5);
  }
  50% {
    box-shadow:
      0 0 0 14px rgba(74, 222, 128, 0),
      0 0 14px 4px rgba(74, 222, 128, 0.75);
  }
}
.role-card.closed { opacity: 0.55; }
.role-card.closed:hover {
  transform: none;
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255,255,255,0.06);
}
.role-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  white-space: nowrap;
}
.role-chevron { color: var(--text-muted); transition: transform 0.3s ease; flex-shrink: 0; }
.role-card.expanded .role-chevron { transform: rotate(90deg); }

.role-drawer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.role-drawer-inner { padding: 0 20px 20px 76px; }
.role-desc { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin-bottom: 12px; }
.apply-btn {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border: none;
  border-radius: 8px;
  white-space: nowrap;
  background: var(--accent-blue);
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}
.apply-btn:hover {
  background: #3d94d4;
  transform: translateY(-1px);
}
.apply-btn:active { transform: translateY(0); }

/* ──────────────────── CONTACT CTA ────────────────────────── */
.contact-cta {
  width: 100%;
  padding: 120px 32px;
  text-align: center;
  background:
    radial-gradient(ellipse 120% 60% at 50% 0%, rgba(74, 222, 128, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 40%, rgba(15, 100, 40, 0.5) 0%, rgba(8, 50, 20, 0.22) 42%, transparent 75%);
}
.contact-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  text-shadow: 0 2px 28px rgba(0,0,0,0.35);
}
.contact-subtitle {
  font-family: var(--font-body);
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto 36px;
}
.contact-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.apply-drawer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}
.apply-drawer.is-open {
  max-height: 920px;
}
.apply-drawer[aria-hidden="true"] { pointer-events: none; }
.apply-drawer[aria-hidden="false"] { pointer-events: auto; }
.apply-drawer-inner {
  padding-top: 28px;
  text-align: left;
}
.apply-form {
  position: relative;
  padding: 24px;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255,255,255,0.06);
}
.apply-form-hint {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 18px;
}
.apply-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.apply-field-grow textarea { min-height: 100px; resize: vertical; }
.apply-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.apply-label-hint {
  font-weight: 500;
  color: rgba(240,240,240,0.38);
}
.apply-word-count {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  text-align: right;
}
.apply-word-count.is-under {
  color: #fbbf24;
}
.apply-word-count.is-over {
  color: #f87171;
  font-weight: 600;
}
textarea.apply-field-over-limit {
  border-color: rgba(248, 113, 113, 0.5);
}
textarea.apply-field-under-limit {
  border-color: rgba(251, 191, 36, 0.35);
}
.apply-submit.apply-submit-confirm {
  animation: applyConfirmPulse 1.1s ease-in-out infinite;
  box-shadow: 0 0 0 2px rgba(232, 192, 106, 0.4);
}
@keyframes applyConfirmPulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(232, 192, 106, 0.45); }
  50% { box-shadow: 0 0 0 8px rgba(232, 192, 106, 0.12); }
}
.apply-form-status.is-pending {
  color: rgba(232, 192, 106, 0.85);
}
.apply-form input,
.apply-form select,
.apply-form textarea {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-primary);
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.06);
  width: 100%;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.apply-form input::placeholder,
.apply-form textarea::placeholder {
  color: rgba(240,240,240,0.35);
}
.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  outline: none;
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.08);
}
.apply-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(240,240,240,0.45)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.apply-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.apply-form-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-top: 8px;
}
.apply-submit {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  background: var(--text-primary);
  color: #0f2a14;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.apply-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
}
.apply-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.apply-form-status {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  min-height: 1.25em;
}
.apply-form-status.is-error { color: #f87171; }
.apply-form-status.is-success { color: #86efac; }

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.cta-btn:hover { transform: translateY(-2px); }

.cta-btn.primary {
  padding: 14px 32px;
  font-size: 15px;
  background: var(--text-primary);
  color: #0f2a14;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.cta-btn.primary:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}

.cta-btn.secondary {
  padding: 14px 24px;
  font-size: 14px;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cta-btn.secondary:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.contact-cta.pulse-gold { animation: goldPulse 1.2s ease; }
@keyframes goldPulse {
  0%   { box-shadow: 0 0 0 0 rgba(232,192,106,0); }
  30%  { box-shadow: 0 0 30px 4px rgba(232,192,106,0.25); }
  100% { box-shadow: 0 0 0 0 rgba(232,192,106,0); }
}

/* ──────────────────── FOOTER BAR ────────────────────────── */
.footer-bar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  position: relative;
}
.footer-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100% - 48px, 520px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}

/* ──────────────────── RESPONSIVE ────────────────────────── */

/* Fluid channel card width */
.channel-row .card-wrapper { flex: 0 0 clamp(240px, 28vw, 320px); }
.channel-card { height: clamp(160px, 18vw, 190px); padding: clamp(16px, 2vw, 24px); }
.card-name { font-size: clamp(22px, 3vw, 32px); }
.card-views { font-size: clamp(20px, 2.5vw, 28px); }
.video-thumb { flex: 0 0 clamp(160px, 19vw, 220px); }

@media (max-width: 900px) {
  .channels { padding-top: 56px; padding-bottom: 56px; }
}

@media (max-width: 768px) {
  .hero.hero-intro-ready .hero-img {
    filter: blur(4px) brightness(0.45);
  }
  .hero-content {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  .hero-title { font-size: clamp(44px, 12.5vw, 120px); }
  .parallax-ghost { font-size: clamp(56px, 15vw, 150px); }

  .channel-row {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .channel-row .card-wrapper {
    flex: none;
    width: 100%;
  }
  .channel-card { height: auto; min-height: 160px; }
  .card-name { font-size: 28px; }
  .card-views { font-size: 24px; }
  .video-carousel { width: 100%; height: 130px; }
  .video-thumb { flex: 0 0 200px; }
}

@media (max-width: 640px) {
  .hero { min-height: 100svh; }
  .channels, .positions {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  /* Extra air between channel blocks when stacked (card + carousel per row) */
  .channels > .scroll-reveal + .scroll-reveal {
    margin-top: 36px;
  }
  .positions-grid { gap: 14px; }
  .positions-header { margin-bottom: 28px; }
  .contact-cta {
    padding-top: 64px;
    padding-bottom: max(64px, calc(40px + env(safe-area-inset-bottom, 0px)));
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  .footer-bar {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding-top: 16px;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
  }
  .role-header { padding: 16px 14px; min-height: 48px; gap: 10px; }
  .role-icon { width: 36px; height: 36px; }
  .role-drawer-inner { padding-left: 16px; }
  .apply-btn { min-height: 44px; padding: 12px 20px; }
  .cta-btn { min-height: 48px; }
  .video-thumb { flex: 0 0 170px; }
  .contact-actions { flex-direction: column; }
  .role-badge { font-size: 9px; padding: 3px 8px; }
  .section-heading { margin-bottom: 32px; }
}

@media (max-width: 420px) {
  .channel-card { padding: 14px; min-height: 140px; }
  .card-name { font-size: 24px; }
  .card-views { font-size: 20px; }
  .role-header { padding: 14px 12px; gap: 8px; }
  .role-icon { width: 32px; height: 32px; }
  .role-icon svg { width: 18px; height: 18px; }
  .role-title { font-size: 14px; }
  .role-badge { font-size: 8px; padding: 2px 6px; }
  .video-thumb { flex: 0 0 150px; }
  .contact-cta {
    padding-top: 56px;
    padding-bottom: max(56px, calc(36px + env(safe-area-inset-bottom, 0px)));
    padding-left: max(14px, env(safe-area-inset-left, 0px));
    padding-right: max(14px, env(safe-area-inset-right, 0px));
  }
  .contact-subtitle { font-size: 14px; }
  .channels > .scroll-reveal + .scroll-reveal { margin-top: 40px; }
}

/* ──────────────── REDUCED MOTION ────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-indicator svg { animation: none; }
  .channel-card:hover .card-shimmer { animation: none; opacity: 0; }
  .role-drawer { transition: none; }
  .apply-drawer { transition: none; }
  .apply-submit.apply-submit-confirm { animation: none; }
  .role-dot:not(.closed) { animation: none; box-shadow: 0 0 8px 2px rgba(74, 222, 128, 0.4); }
}
