/* ===== Lobb Careers Portal Brand Styles ===== */

:root {
  --yellow: #FCD21F;
  --black: #0A0B09;
  --dark: #161819;
  --dark-surface: #1E2023;
  --grey: #AFB2B7;
  --purple: #670EAB;
  --blue: #163BAC;
  --gold: #A68901;
  --orange: #FF7E03;
  --white: #FFFFFF;
  --light-bg: #F8F8F6;
  --card-bg: #FFFFFF;
  --text-primary: #0A0B09;
  --text-secondary: #4A4B4D;
  --border: #E5E5E5;
  --font-body: "Nunito Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Rajdhani", "Helvetica Neue", "Arial Narrow", Arial, sans-serif;
}

/* ===== Subtle Pattern Backgrounds ===== */
.pattern-dots {
  background-image: radial-gradient(circle, rgba(252, 210, 31, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
}

.pattern-grid {
  background-image:
    linear-gradient(rgba(252, 210, 31, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(252, 210, 31, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.pattern-diagonal {
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(252, 210, 31, 0.03) 20px,
    rgba(252, 210, 31, 0.03) 21px
  );
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--light-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--purple); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue); }

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.015em;
}

/* ===== Layout ===== */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.site-header {
  background: var(--yellow);
  border-bottom: 3px solid var(--black);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo-link { display: flex; align-items: center; gap: 12px; }
.logo-link img { height: 48px; width: auto; }

.site-nav { display: flex; gap: 8px; }
.site-nav a {
  font-family: var(--font-display);
  color: var(--black);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 8px 18px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.site-nav a:hover { background: var(--black); color: var(--yellow); }
.site-nav a.active { background: var(--black); color: var(--yellow); }

/* ===== Animations ===== */
@keyframes gradientDrift {
  0%   { background-position: 0% 50%, 0 0; }
  25%  { background-position: 50% 0%, 14px 14px; }
  50%  { background-position: 100% 50%, 28px 28px; }
  75%  { background-position: 50% 100%, 14px 14px; }
  100% { background-position: 0% 50%, 0 0; }
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(30px, -20px) scale(1.05); }
  66%      { transform: translate(-20px, 15px) scale(0.95); }
}

@keyframes floatOrbReverse {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(-25px, 20px) scale(0.96); }
  66%      { transform: translate(20px, -25px) scale(1.04); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 0.8; }
}

@keyframes driftDots {
  0%   { background-position: 0 0; }
  100% { background-position: 28px 28px; }
}

/* ===== Hero ===== */
.hero {
  background-color: var(--dark);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(103, 14, 171, 0.14) 0%, transparent 60%),
    radial-gradient(circle, rgba(252, 210, 31, 0.05) 1px, transparent 1px);
  background-size: 200% 200%, 28px 28px;
  animation: driftDots 4s linear infinite;
  color: var(--white);
  padding: 80px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Animated gradient overlay */
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 40% 30%, rgba(103, 14, 171, 0.12) 0%, transparent 60%),
              radial-gradient(ellipse 60% 50% at 70% 70%, rgba(22, 59, 172, 0.1) 0%, transparent 60%);
  background-size: 200% 200%;
  animation: gradientDrift 12s ease-in-out infinite;
  pointer-events: none;
}

/* Floating orbs */
.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(252, 210, 31, 0.07) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatOrb 8s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(22, 59, 172, 0.09) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatOrbReverse 10s ease-in-out infinite;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.hero h1 span { color: var(--yellow); }

.hero p {
  font-size: 1.22rem;
  color: var(--grey);
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.hero-cta { position: relative; z-index: 1; }

/* Hero illustrations */
.hero-illustration {
  position: absolute;
  opacity: 0.85;
  pointer-events: none;
}

.hero-ill-left {
  left: -40px;
  bottom: -5%;
  width: 420px;
  height: auto;
  animation: floatOrbReverse 14s ease-in-out infinite;
}

.hero-ill-right {
  right: -30px;
  top: -2%;
  width: 400px;
  height: auto;
  animation: floatOrb 12s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  background: rgba(252, 210, 31, 0.12);
  border: 1px solid rgba(252, 210, 31, 0.25);
  color: var(--yellow);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 36px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
}

.stat-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.86rem;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
}

.hero-cta {
  display: inline-block;
  font-family: var(--font-display);
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  padding: 14px 36px;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(252, 210, 31, 0.4);
  color: var(--black);
}

/* ===== Positions Grid ===== */
.positions-section { padding: 64px 0 80px; }

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--black);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.08rem;
  margin-bottom: 40px;
}

.positions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

/* ===== Position Card ===== */
.position-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.position-card.has-cover {
  padding-top: 0;
}

.card-cover {
  margin: -1px -1px 20px -1px;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  max-height: 180px;
}

.card-cover-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.position-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10, 11, 9, 0.08);
  border-color: var(--yellow);
}

.position-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  border-radius: 12px 12px 0 0;
  opacity: 0;
  transition: opacity 0.2s;
}

.position-card:hover::before { opacity: 1; }

.card-department {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
  width: fit-content;
}

.dept-design { background: #F3E5F5; color: var(--purple); }
.dept-frontend { background: #E8EAF6; color: var(--blue); }
.dept-mobile { background: #FFF3E0; color: var(--orange); }
.dept-backend { background: #FFF8E1; color: var(--gold); }

.position-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 10px;
  color: var(--black);
}

.position-card h3 a { color: var(--black); }
.position-card h3 a:hover { color: var(--purple); }

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.card-meta span { display: flex; align-items: center; gap: 4px; }

.card-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 18px;
}

.card-link {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link:hover { gap: 10px; }
.card-link::after { content: "\2192"; }

/* ===== Single Position Page ===== */
.position-page { padding: 48px 0 80px; }

.position-cover {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  max-height: 360px;
}

.position-cover .cover-img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;
}

.position-header {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 32px;
}

.position-header h1 {
  font-size: 2.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.position-header .subtitle {
  font-size: 1.14rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.pill {
  background: var(--light-bg);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.92rem;
  font-weight: 500;
}

.apply-btn {
  display: inline-block;
  font-family: var(--font-display);
  background: var(--purple);
  color: var(--white);
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 8px;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.2s;
}
.apply-btn:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.position-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 0.96rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.share-btn:hover {
  border-color: var(--yellow);
  color: var(--black);
  transform: translateY(-2px);
}

.share-btn.copied {
  border-color: var(--purple);
  color: var(--purple);
}

.position-content {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
}

.position-content h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 14px;
  color: var(--black);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--yellow);
}

.position-content h2:first-child { margin-top: 0; }

.position-content p {
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.position-content ul {
  margin-bottom: 18px;
  padding-left: 0;
  list-style: none;
}

.position-content ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.position-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 2px;
  transform: rotate(45deg);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
  color: var(--text-secondary);
}
.back-link:hover { color: var(--purple); }
.back-link::before { content: "\2190"; }

/* ===== About Page ===== */
.about-page { padding: 48px 0 80px; }

.about-hero {
  background-color: var(--dark);
  background-image:
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(103, 14, 171, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(22, 59, 172, 0.08) 0%, transparent 60%),
    radial-gradient(circle, rgba(252, 210, 31, 0.04) 1px, transparent 1px);
  background-size: 200% 200%, 200% 200%, 32px 32px;
  animation: gradientDrift 14s ease-in-out infinite, driftDots 5s linear infinite;
  color: var(--white);
  padding: 64px 0;
  text-align: center;
  margin-bottom: 48px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.about-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.about-hero h1 span { color: var(--yellow); }

.about-hero p {
  font-size: 1.18rem;
  color: var(--grey);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.about-section {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 32px;
}

.about-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--black);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--yellow);
}

.about-section p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}

.about-why-grid {
  margin-top: 20px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.value-card {
  background: var(--light-bg);
  border-radius: 10px;
  padding: 24px;
  border-left: 4px solid var(--yellow);
}

.value-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--black);
}

.value-card p {
  font-size: 0.98rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.product-surfaces {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.surface-item {
  background: var(--light-bg);
  border-radius: 8px;
  padding: 18px;
  border-top: 3px solid var(--purple);
}

.surface-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.surface-item p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

.brand-link {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 8px;
  font-size: 1.05rem;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 8px;
}
.brand-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(252, 210, 31, 0.4);
  color: var(--black);
}

/* ===== Department slugs (derived from `department` field) ===== */
/* Kept lowercased so `{{ .department | urlize }}` maps cleanly. */
.dept-other { background: #EFEFEF; color: var(--text-secondary); }

/* ===== Why Lobb ===== */
.why-lobb {
  padding: 40px 0 24px;
  background: linear-gradient(180deg, #FCFCFB 0%, var(--white) 140px);
}
.why-head {
  max-width: 560px;
  margin-bottom: 24px;
}
.why-head .section-title {
  margin-bottom: 6px;
}
.why-head .section-subtitle {
  margin-bottom: 0;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.why-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(10, 11, 9, 0.06);
  border-color: var(--yellow);
}
.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(252,210,31,0.18), rgba(255,126,3,0.14));
  color: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.why-card h3 { font-size: 1.14rem; font-weight: 700; margin-bottom: 8px; color: var(--black); }
.why-card p  { font-size: 1rem; color: var(--text-secondary); line-height: 1.65; }

/* ===== Benefits ===== */
.benefits { padding: 56px 0; background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 12px;
}
.benefit-card {
  background: var(--light-bg);
  border-radius: 12px;
  padding: 24px;
  border-left: 4px solid var(--yellow);
}
.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(103, 14, 171, 0.08);
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.benefit-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 6px; color: var(--black); }
.benefit-card p  { font-size: 0.98rem; color: var(--text-secondary); line-height: 1.65; }

/* ===== Backers ===== */
.backers { padding: 64px 0; }
.backer-feature {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin: 0 auto 28px;
  padding: 22px 30px;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s;
}
.backer-feature:hover {
  border-color: var(--yellow);
  transform: translateY(-2px);
}
.backer-feature-logo {
  max-height: 42px;
  max-width: 220px;
  object-fit: contain;
}
.backers-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: stretch;
  justify-content: center;
}
.backer-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 20px;
  border-radius: 10px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text-primary);
  min-width: 180px;
  transition: border-color 0.2s, transform 0.2s;
}
.backer-text-only {
  min-width: 220px;
  padding: 16px 18px;
}
.backer-item:hover {
  border-color: var(--yellow);
  transform: translateY(-2px);
}
.backer-name {
  font-weight: 700;
  color: var(--black);
  font-size: 1rem;
  text-align: center;
}
.backer-aff {
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.4;
}
.backer-logo {
  max-height: 22px;
  max-width: 100px;
  object-fit: contain;
  margin-top: 4px;
}

/* ===== Recently Filled ===== */
.recently-filled { padding: 48px 0; background: var(--light-bg); }
.filled-list {
  list-style: none;
  padding: 0;
  margin-top: 16px;
  display: grid;
  gap: 8px;
}
.filled-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 0.98rem;
}
.filled-title { font-weight: 600; color: var(--text-primary); }
.filled-dept {
  font-size: 0.84rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.filled-date { color: var(--text-secondary); font-size: 0.92rem; }

/* ===== General CTA ===== */
.general-cta { padding: 72px 0; background: var(--dark); color: var(--white); text-align: center; }
.general-cta-inner { max-width: 640px; margin: 0 auto; }
.general-cta h2 { font-size: 1.95rem; font-weight: 800; margin-bottom: 12px; color: var(--white); }
.general-cta p  { color: var(--grey); font-size: 1.08rem; margin-bottom: 24px; line-height: 1.7; }

/* ===== Empty state ===== */
.empty-state {
  background: var(--card-bg);
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 36px;
  text-align: center;
  color: var(--text-secondary);
}

/* ===== Closed role banner ===== */
.closed-banner {
  background: rgba(255, 126, 3, 0.08);
  border: 1px solid rgba(255, 126, 3, 0.35);
  color: var(--text-primary);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.98rem;
  margin-bottom: 20px;
}
.closed-banner strong { color: var(--orange); margin-right: 6px; }
.apply-btn-disabled {
  background: var(--border) !important;
  color: var(--text-secondary) !important;
  cursor: not-allowed;
  pointer-events: none;
}

/* ===== Share group ===== */
.share-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.share-icon-btn {
  padding: 14px;
  width: 44px;
  height: 44px;
  justify-content: center;
  display: inline-flex;
  align-items: center;
}
.share-icon-btn:hover { color: var(--purple); }

/* ===== Footer (expanded) ===== */
.site-footer {
  background-color: var(--dark);
  background-image:
    radial-gradient(circle, rgba(252, 210, 31, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  animation: driftDots 6s linear infinite;
  color: var(--grey);
  padding: 56px 0 24px;
  font-size: 0.98rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-col h4 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  font-weight: 700;
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--grey); }
.footer-col a:hover { color: var(--yellow); }
.footer-brand .footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
  /* Source logo is black-on-transparent; invert for the dark footer bg. */
  filter: invert(1) brightness(1.05);
}
.footer-company { color: var(--grey); font-size: 0.96rem; line-height: 1.65; max-width: 300px; }
.footer-social { display: grid; gap: 10px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-social a svg {
  color: var(--yellow);
  flex: 0 0 18px;
  overflow: visible;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}
.footer-bottom a { color: var(--yellow); font-weight: 600; }
.footer-bottom a:hover { color: var(--white); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero { padding: 56px 0 48px; }
  .hero-illustration { display: none; }
  .hero-stats { gap: 28px; }
  .stat-number { font-size: 1.6rem; }
  .positions-grid { grid-template-columns: 1fr; }
  .header-inner { flex-direction: column; gap: 12px; }
  .position-header { padding: 24px; }
  .position-content { padding: 24px; }
  .about-hero { padding: 40px 20px; }
  .about-hero h1 { font-size: 1.8rem; }
  .about-section { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero, .about-hero, .site-footer, .hero-bg-gradient,
  .hero::before, .hero::after, .hero-ill-left, .hero-ill-right {
    animation: none;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .container { padding: 0 16px; }
  .meta-pills { gap: 6px; }
}

/* Responsive overrides for new sections */
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .filled-item { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .backers-row { gap: 16px; }
  .backer-item { min-width: auto; width: 100%; }
  .backer-feature { width: 100%; padding: 18px 20px; }
  .backer-feature-logo { max-width: 180px; }
  .position-actions { flex-wrap: wrap; }
  .share-group { width: 100%; justify-content: flex-start; }
}
