/* ============================================================================
   HA — STYLES
   Design tokens derived from the HaFi PDF brand identity.
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  /* ── Dark mode (default) ── */
  --bg:           #07142A;
  --bg-void:      #020408;
  --bg-raised:    #0F2040;
  --bg-card:      #0C1C38;
  --border:       rgba(201,168,76,0.16);
  --border-soft:  rgba(168,196,224,0.10);

  --gold:         #C9A84C;
  --gold-light:   #E8C97A;
  --gold-dim:     #6B5A2C;
  --ice:          #A8C4E0;
  --text:         #DCE6F5;
  --text-muted:   #7E94B5;

  --green:        #34D399;
  --red:          #F87171;
  --amber:        #FBBF24;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  --font-display: 'Fraunces', serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg:           #F7F4EC;
  --bg-void:      #EFE9DA;
  --bg-raised:    #FFFFFF;
  --bg-card:      #FFFFFF;
  --border:       rgba(107,90,44,0.18);
  --border-soft:  rgba(21,35,61,0.08);

  --gold:         #9C7A2E;
  --gold-light:   #B8943F;
  --gold-dim:     #C9A84C;
  --ice:          #3D5876;
  --text:         #15233D;
  --text-muted:   #5C6F8A;

  --green:        #1A8F63;
  --red:          #C0392B;
  --amber:        #B7791F;

  color-scheme: light;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Diamond signature mark ── */
.mark {
  display: inline-block;
  position: relative;
}
.mark svg { display: block; }

/* ── Typography ── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--gold);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.3rem; font-weight: 500; }

p { color: var(--text-muted); }

.lead {
  font-size: 1.15rem;
  color: var(--ice);
  max-width: 620px;
  line-height: 1.65;
}

/* ── Header / Nav ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.3rem;
}
.brand-ha { font-weight: 600; color: var(--gold); }
.brand-suffix { color: var(--text-muted); font-size: 0.95rem; font-family: var(--font-mono); letter-spacing: 0.04em; }

nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
}
nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
nav a:hover { color: var(--gold); }

.nav-right { display: flex; align-items: center; gap: 18px; }

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}
.theme-btn {
  width: 30px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s;
  background: none;
  border: none;
}
.theme-btn.active {
  background: var(--gold);
  color: var(--bg-void);
}
.theme-btn svg { width: 14px; height: 14px; }

.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary {
  background: var(--gold);
  color: var(--bg-void);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ── Hero ── */
.hero {
  position: relative;
  padding: 110px 0 90px;
  overflow: hidden;
}

.hero-bg-mark {
  position: absolute;
  top: -120px;
  right: -160px;
  width: 560px;
  height: 560px;
  opacity: 0.08;
  pointer-events: none;
}

.signal-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.signal {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  opacity: 0;
  white-space: nowrap;
  animation: drift-up linear infinite;
}
@keyframes drift-up {
  0%   { opacity: 0; transform: translateY(0); }
  10%  { opacity: 0.35; }
  85%  { opacity: 0.2; }
  100% { opacity: 0; transform: translateY(-420px); }
}

.hero-content { position: relative; z-index: 2; max-width: 760px; }

.hero h1 { margin: 18px 0 22px; }
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-cta-row { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

/* ── Section base ── */
section { padding: 96px 0; }
.section-border-top { border-top: 1px solid var(--border-soft); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}
.about-text p { margin-bottom: 18px; font-size: 1.02rem; }

.goals-list { display: flex; flex-direction: column; gap: 0; }
.goal-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--border-soft);
}
.goal-item:last-child { border-bottom: 1px solid var(--border-soft); }
.goal-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 2px;
}
.goal-text { font-size: 0.95rem; color: var(--text); }

/* ── Services ── */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.tier-card {
  background: var(--bg-card);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.tier-card.highlighted {
  background: var(--bg-raised);
}
.tier-card.highlighted::before {
  content: 'Most Popular';
  position: absolute;
  top: 0; left: 0; right: 0;
  background: var(--gold);
  color: var(--bg-void);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 5px;
  font-weight: 600;
}
.tier-card.highlighted { padding-top: 56px; }

.tier-name { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 6px; }
.tier-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 10px; }
.tier-price-amount { font-family: var(--font-display); font-size: 2rem; color: var(--gold); }
.tier-price-period { font-size: 0.8rem; color: var(--text-muted); }
.tier-desc { font-size: 0.85rem; margin-bottom: 22px; min-height: 40px; }

.tier-features { list-style: none; flex: 1; margin-bottom: 24px; }
.tier-features li {
  font-size: 0.85rem;
  padding: 8px 0;
  border-top: 1px solid var(--border-soft);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.tier-features li::before {
  content: '◆';
  color: var(--gold);
  font-size: 7px;
  margin-top: 6px;
  flex-shrink: 0;
}

.tier-cta { width: 100%; justify-content: center; }

.one-time-banner {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  flex-wrap: wrap;
}
.one-time-banner h4 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; margin-bottom: 4px; }
.one-time-banner p { font-size: 0.85rem; max-width: 460px; }
.one-time-price { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold); white-space: nowrap; }

/* ── Benefits ── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.benefit-card {
  background: var(--bg-card);
  padding: 36px;
}
.benefit-card h3 { margin-bottom: 12px; font-size: 1.15rem; }
.benefit-card p { font-size: 0.92rem; }

.testimonial-empty {
  margin-top: 48px;
  text-align: center;
  padding: 48px 24px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
}

/* ── Team ── */
.tier-legend {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 48px;
}
.tier-legend-item {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.tier-diamond {
  width: 30px; height: 30px;
  flex-shrink: 0;
  position: relative;
}
.tier-legend-text h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  color: var(--text);
}
.tier-legend-text p { font-size: 0.78rem; line-height: 1.5; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 26px;
}
.team-card-top { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.team-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-raised);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
}
.team-name { font-family: var(--font-display); font-size: 1.05rem; }
.team-role { font-size: 0.78rem; color: var(--gold); font-family: var(--font-mono); letter-spacing: 0.03em; }
.team-bio { font-size: 0.85rem; margin-bottom: 14px; }
.team-spec { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 14px; }
.team-spec strong { color: var(--text); }
.team-achievements { list-style: none; }
.team-achievements li {
  font-size: 0.78rem;
  padding: 6px 0;
  border-top: 1px solid var(--border-soft);
  display: flex; gap: 8px;
}
.team-achievements li::before { content: '—'; color: var(--gold); flex-shrink: 0; }

.team-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 24px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
}
.team-empty .eyebrow { justify-content: center; }
.team-empty .eyebrow::before { display: none; }

/* ── Blog ── */
.blog-list { display: flex; flex-direction: column; }
.blog-post {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  padding: 32px 0;
  border-top: 1px solid var(--border-soft);
}
.blog-post:last-child { border-bottom: 1px solid var(--border-soft); }
.blog-date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-top: 4px;
}
.blog-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: color-mix(in srgb, var(--gold) 12%, transparent);
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.blog-title { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 8px; font-weight: 500; }
.blog-excerpt { font-size: 0.92rem; }

/* ── Coming Soon banner ── */
.coming-soon {
  background: linear-gradient(135deg, var(--bg-void), var(--bg-raised));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px;
  position: relative;
  overflow: hidden;
}
.coming-soon::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: 0.15;
}
.coming-soon-date {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--bg-void);
  background: var(--gold);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.coming-soon h2 { margin-bottom: 16px; max-width: 560px; }
.coming-soon p { max-width: 560px; font-size: 1rem; }

/* ── Contact ── */
.contact-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.contact-links { display: flex; flex-direction: column; gap: 18px; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text);
  transition: color 0.2s;
}
.contact-link:hover { color: var(--gold); }
.contact-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-raised);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 16px; height: 16px; color: var(--gold); }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border-soft);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: 0.8rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.8rem; color: var(--text-muted); }
.footer-links a:hover { color: var(--gold); }

/* ── Reveal on scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Mobile nav ── */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
}

/* ── Responsive ── */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .tier-legend { grid-template-columns: repeat(2, 1fr); }
  .contact-box { grid-template-columns: 1fr; padding: 40px 28px; }
}

@media (max-width: 680px) {
  nav ul { display: none; }
  .mobile-toggle { display: block; }
  .tier-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .tier-legend { grid-template-columns: 1fr; }
  .blog-post { grid-template-columns: 1fr; gap: 8px; }
  .hero { padding: 80px 0 60px; }
  .one-time-banner { flex-direction: column; align-items: flex-start; }
  .coming-soon { padding: 36px 24px; }
  section { padding: 64px 0; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ── Focus visibility ── */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ── Slideshow ── */
.slideshow-wrap {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 360px;
}
.slideshow { position: relative; }
.slide { display: none; padding: 36px 44px 28px; }
.slide.active { display: block; }
.slide-inner { max-width: 680px; }
.slide-header { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.slide-icon { flex-shrink: 0; }
.slide-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 2px; }
.slide-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; }
.slide-desc { font-size: .88rem; color: var(--text-muted); margin-top: 18px; line-height: 1.6; }

.slide-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.slide-stat { background: var(--bg-raised); border-radius: var(--radius-md); padding: 16px; text-align: center; }
.slide-stat-value { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }
.slide-stat-label { font-size: .75rem; color: var(--text-muted); margin-top: 4px; font-family: var(--font-mono); }

.slide-bars { display: flex; flex-direction: column; gap: 10px; }
.slide-bar-row { display: grid; grid-template-columns: 160px 1fr 56px 54px; gap: 10px; align-items: center; }
.slide-bar-name { font-size: .82rem; }
.slide-bar-track { background: var(--bg-raised); border-radius: 999px; height: 8px; overflow: hidden; }
.slide-bar-fill { height: 100%; border-radius: 999px; transition: width .6s ease; }
.slide-bar-val { font-family: var(--font-mono); font-size: .8rem; text-align: right; }
.slide-bar-margin { font-family: var(--font-mono); font-size: .78rem; color: var(--text-muted); text-align: right; }

.slide-signals { display: flex; flex-direction: column; gap: 10px; }
.slide-signal { display: flex; align-items: flex-start; gap: 12px; background: var(--bg-raised); border-radius: var(--radius-sm); padding: 12px 14px; }
.slide-signal-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; }
.slide-signal-text { font-size: .85rem; line-height: 1.5; }

.slide-timeline { border-radius: var(--radius-md); overflow: hidden; background: var(--bg-raised); }
.slide-tl-head { display: grid; grid-template-columns: 90px 80px 70px 80px; gap: 0; padding: 10px 16px; background: var(--bg-void); font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; color: var(--text-muted); text-transform: uppercase; }
.slide-tl-row { display: grid; grid-template-columns: 90px 80px 70px 80px; gap: 0; padding: 12px 16px; border-top: 1px solid var(--border-soft); font-size: .88rem; }
.slide-tl-period { font-family: var(--font-mono); font-size: .8rem; }
.slide-tl-profit { font-family: var(--font-display); color: var(--gold); }
.slide-tl-footer { padding: 12px 16px; border-top: 1px solid var(--border-soft); font-size: .82rem; color: var(--text-muted); }

.slide-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: var(--bg-raised); border: 1px solid var(--border);
  color: var(--text); width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1rem; transition: all .2s;
  z-index: 5;
}
.slide-arrow:hover { background: var(--gold); color: var(--bg-void); border-color: var(--gold); }
.slide-prev { left: 10px; }
.slide-next { right: 10px; }

.slide-dots { display: flex; justify-content: center; gap: 8px; padding: 16px; }
.slide-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); border: none; cursor: pointer; transition: background .2s; }
.slide-dot.active { background: var(--gold); }

.sample-cta { text-align: center; margin-top: 28px; }
.sample-cta p { color: var(--text-muted); margin-bottom: 14px; }

/* ── Divisions grid ── */
.divisions-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
  margin-bottom: 48px;
}
.division-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; text-align: center; cursor: pointer;
  transition: all .2s;
}
.division-card:hover { border-color: var(--gold); background: var(--bg-raised); transform: translateY(-2px); }
.division-icon svg { width: 40px; height: 40px; }
.division-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; }
.division-arrow { font-size: 1.2rem; color: var(--text-muted); }

/* ── Tier legend with link ── */
.tier-legend { display: flex; flex-direction: column; gap: 0; }
.tier-legend-item { display: grid; grid-template-columns: 46px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-top: 1px solid var(--border-soft); }
.tier-legend-item:last-child { border-bottom: 1px solid var(--border-soft); }
.tier-legend-text h4 { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; margin-bottom: 3px; }
.tier-legend-text p { font-size: .78rem; }
.tier-legend-link { font-size: .82rem; font-family: var(--font-mono); cursor: pointer; }
.tier-legend-link:hover { text-decoration: underline; }

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .82rem; color: var(--text-muted);
  margin-bottom: 32px; font-family: var(--font-mono);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }

/* ── Division hero ── */
.division-hero {
  display: grid; grid-template-columns: auto 1fr; gap: 28px;
  align-items: flex-start; margin-bottom: 32px;
}
.division-hero-icon svg { width: 56px; height: 56px; }

/* ── Tier drill ── */
.tiers-drill { display: flex; flex-direction: column; gap: 2px; }
.tier-drill-card {
  display: grid; grid-template-columns: 60px 1fr auto;
  gap: 20px; align-items: center;
  background: var(--bg-card); border: 1px solid var(--border-soft);
  border-radius: var(--radius-md); padding: 20px 22px;
  cursor: pointer; transition: all .2s;
}
.tier-drill-card:hover { border-color: var(--gold); background: var(--bg-raised); }
.tier-drill-name { font-family: var(--font-mono); font-size: .82rem; letter-spacing: .04em; margin-bottom: 4px; }
.tier-drill-desc { font-size: .82rem; color: var(--text-muted); }
.tier-drill-comm { font-size: .78rem; color: var(--text-muted); margin-top: 6px; }
.tier-drill-comm strong { color: var(--gold); }
.tier-drill-arrow { font-size: 1.2rem; }

/* ── Staff profile ── */
.profile { text-align: center; padding: 48px 0; }
.profile-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--bg-raised); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.8rem; color: var(--gold);
  margin: 0 auto 20px;
}
.profile h2 { margin-bottom: 8px; }
.profile-tier { display: flex; align-items: center; gap: 8px; justify-content: center; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em; margin-bottom: 12px; }
.profile-spec { font-size: .9rem; color: var(--text-muted); margin-bottom: 20px; }
.profile-bio { font-size: 1rem; color: var(--text-muted); max-width: 580px; margin: 0 auto 28px; line-height: 1.7; }
.profile-achievements { text-align: left; max-width: 480px; margin: 0 auto; }
.profile-achievements .eyebrow { justify-content: flex-start; }
.profile-achievements .eyebrow::before { display: none; }
.profile-achievements ul { list-style: none; margin-top: 12px; }
.profile-achievements li { padding: 8px 0; border-top: 1px solid var(--border-soft); font-size: .88rem; display: flex; gap: 8px; }
.profile-achievements li::before { content: '—'; color: var(--gold); }

/* ── Tier commission badge ── */
.tier-comm-badge {
  display: inline-block; margin-top: 16px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 8px 16px;
  font-size: .85rem; color: var(--text-muted);
}
.tier-comm-badge strong { color: var(--gold); }

/* ── Team empty state ── */
.team-empty {
  text-align: center; padding: 56px 24px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
}
.team-empty .eyebrow { justify-content: center; }
.team-empty .eyebrow::before { display: none; }

/* ── Responsive additions ── */
@media (max-width:980px) {
  .divisions-grid { grid-template-columns: 1fr; }
  .slide-stats { grid-template-columns: repeat(2,1fr); }
  .slide-bar-row { grid-template-columns: 120px 1fr 48px 48px; }
  .division-hero { grid-template-columns: 1fr; }
  .tier-drill-card { grid-template-columns: 50px 1fr auto; }
}
@media (max-width:680px) {
  .slide { padding: 24px 20px 18px; }
  .slide-stats { grid-template-columns: repeat(2,1fr); }
  .slide-bar-row { grid-template-columns: 1fr 60px; gap: 6px; }
  .slide-bar-track { display: none; }
  .slide-tl-head,.slide-tl-row { grid-template-columns: 80px 70px 60px 70px; font-size: .75rem; }
}

/* ── Careers Teaser (homepage) ── */
.careers-teaser {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  margin-bottom: 24px;
}
.careers-teaser h2 { font-size: clamp(1.5rem,2.5vw,2.2rem); margin-bottom: 10px; }
.careers-teaser-right { text-align: center; flex-shrink: 0; }
.open-count { font-family: var(--font-display); font-size: 4rem; color: var(--gold); line-height: 1; }
.open-label { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-top: 4px; }

.careers-cats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
}
.careers-cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; text-align: center; cursor: pointer;
  transition: all .2s;
}
.careers-cat-card:hover { border-color: var(--gold); background: var(--bg-raised); transform: translateY(-2px); }
.careers-cat-icon { font-size: 1.6rem; line-height: 1; }
.careers-cat-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; }
.careers-cat-count { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; color: var(--text-muted); }
.careers-cat-arrow { font-size: 1rem; color: var(--text-muted); }

/* ── Job list ── */
.jobs-list { display: flex; flex-direction: column; gap: 2px; }
.job-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; cursor: pointer; transition: all .2s;
}
.job-card:hover { border-color: var(--gold); background: var(--bg-raised); }
.job-card-left { flex: 1; }
.job-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.job-tier { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; color: var(--gold); background: color-mix(in srgb, var(--gold) 12%, transparent); padding: 3px 8px; border-radius: 999px; }
.job-meta { font-size: .8rem; color: var(--text-muted); font-family: var(--font-mono); display: flex; gap: 8px; margin-bottom: 8px; }
.job-summary { font-size: .87rem; color: var(--text-muted); }
.job-card-arrow { font-size: 1.4rem; flex-shrink: 0; }

/* ── Job detail page ── */
.job-detail { padding: 8px 0 60px; }
.job-detail-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 32px;
}
.job-detail-meta { font-size: .85rem; color: var(--text-muted); margin-top: 8px; }
.job-detail-intro { font-size: 1.05rem; color: var(--text); line-height: 1.7; margin-bottom: 32px; }

.job-detail-body { display: flex; flex-direction: column; gap: 32px; }
.job-section h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; margin-bottom: 14px; }
.job-section ul { list-style: none; display: flex; flex-direction: column; gap: 0; }
.job-section li {
  font-size: .92rem; padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
  display: flex; gap: 12px; align-items: flex-start;
}
.job-section li::before { content: '◆'; color: var(--gold); font-size: .55rem; margin-top: 6px; flex-shrink: 0; }

.job-comp-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}
.job-comp-box .eyebrow { margin-bottom: 10px; }
.job-comp-box p { font-size: .92rem; }

.job-apply-box {
  background: var(--bg-raised);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
}
.job-apply-box h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 12px; }
.job-apply-box p { font-size: .92rem; margin-bottom: 10px; }
.job-apply-email {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: .95rem;
  margin: 14px 0;
}
.job-apply-email a { color: var(--gold); }
.job-apply-note { font-size: .82rem !important; color: var(--text-muted) !important; }

/* ── Responsive careers ── */
@media (max-width: 980px) {
  .careers-teaser { grid-template-columns: 1fr; }
  .careers-cats { grid-template-columns: 1fr; }
  .job-detail-header { flex-direction: column; }
}
@media (max-width: 680px) {
  .careers-teaser { padding: 28px 22px; }
  .job-card { flex-direction: column; align-items: flex-start; }
}

/* ── Nav active state and hiring link ── */
nav a.nav-active {
  color: var(--gold) !important;
}
nav a.nav-hiring {
  color: var(--gold);
  font-weight: 600;
  border: 1px solid var(--gold);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  transition: all 0.2s;
}
nav a.nav-hiring:hover,
nav a.nav-hiring.nav-active {
  background: var(--gold);
  color: var(--bg-void) !important;
}
nav a:hover { color: var(--gold); }

/* ── Apply action row ── */
.apply-action-row { display: flex; flex-direction: column; }

/* ── Legal pages (privacy / terms) ── */
.legal-page { padding: 8px 0 60px; }
.legal-page h2 { margin-bottom: 6px; }
.legal-updated { font-family: var(--font-mono); font-size: .78rem; color: var(--text-muted); margin-bottom: 32px; }
.legal-page h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; margin: 28px 0 10px; }
.legal-page h3:first-of-type { margin-top: 0; }
.legal-page p { font-size: .92rem; color: var(--text-muted); line-height: 1.7; }
.legal-page a { color: var(--gold); }

/* ── Instagram Posts section (Elfsight embed) ── */
.posts-divider {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border-soft);
}
.ig-feed-wrap {
  margin-top: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  /* Elfsight renders its own internal styling -- this wrapper just gives it
     breathing room and a consistent border so it doesn't look like a
     foreign object dropped onto the page */
  border: 1px solid var(--border-soft);
  background: var(--bg-card);
  padding: 20px;
}
@media (max-width: 680px) {
  .ig-feed-wrap { padding: 12px; }
}