/* ============================================
   Justice Ahsanuddin Amanullah — Complexity to Clarity
   Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Authority — Deep Charcoal */
  --charcoal-deep: #0d0d1a;
  --charcoal: #1a1a2e;
  --charcoal-mid: #24243e;
  --charcoal-light: #2e2e4a;

  /* Clarity — Soft Ivory */
  --ivory: #f5f0e8;
  --ivory-soft: #faf7f0;
  --ivory-muted: #e8e0d0;

  /* Dignity — Muted Gold */
  --gold: #c9a84c;
  --gold-muted: #b8943e;
  --gold-light: #e0c872;
  --gold-dim: rgba(201, 168, 76, 0.15);

  /* Neutrals */
  --white: #ffffff;
  --white-90: rgba(255, 255, 255, 0.9);
  --white-70: rgba(255, 255, 255, 0.7);
  --white-50: rgba(255, 255, 255, 0.5);
  --white-30: rgba(255, 255, 255, 0.3);
  --white-20: rgba(255, 255, 255, 0.2);
  --white-10: rgba(255, 255, 255, 0.1);
  --white-05: rgba(255, 255, 255, 0.05);

  /* Gradients */
  --gradient-clarity: linear-gradient(135deg, var(--gold-muted), var(--gold), var(--gold-light));
  --gradient-depth: linear-gradient(180deg, var(--charcoal-deep), var(--charcoal), var(--charcoal-mid));
  --gradient-hero: linear-gradient(135deg, rgba(13, 13, 26, 0.95), rgba(201, 168, 76, 0.15), rgba(13, 13, 26, 0.9));
  --gradient-section: linear-gradient(180deg, var(--charcoal-deep) 0%, var(--charcoal) 50%, var(--charcoal-deep) 100%);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --container-padding: 0 40px;

  /* Glassmorphism */
  --glass-bg: rgba(26, 26, 46, 0.7);
  --glass-border: rgba(201, 168, 76, 0.12);
  --glass-blur: blur(20px);

  /* Shadows */
  --shadow-gold: 0 8px 32px rgba(201, 168, 76, 0.15);
  --shadow-deep: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);

  /* Transitions */
  --transition-clarity: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  --transition-smooth: all 0.4s ease;
  --transition-fast: all 0.25s ease;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--charcoal-deep);
  color: var(--white-90);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--charcoal-deep);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-muted), var(--gold));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-light);
}

/* ---------- Container ---------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* ---------- Section ---------- */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--gradient-clarity);
  border-radius: 1px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--white-50);
  max-width: 600px;
  line-height: 1.8;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes clarityReveal {
  0% {
    filter: blur(10px);
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    filter: blur(0);
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes gridAlign {
  0% {
    transform: rotate(var(--chaos-rotate, 5deg)) translate(var(--chaos-x, 10px), var(--chaos-y, -5px));
    opacity: 0.3;
  }
  100% {
    transform: rotate(0deg) translate(0, 0);
    opacity: 1;
  }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(201, 168, 76, 0.3); }
  50% { box-shadow: 0 0 40px rgba(201, 168, 76, 0.6); }
}

@keyframes floatLine {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(100vw + 100%)); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Gateway ---------- */
.gateway {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal-deep);
  position: relative;
  overflow: hidden;
}

.gateway-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.gateway-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 40px;
  max-width: 520px;
}

.gateway-blurred-text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 60px;
  gap: 8px;
  pointer-events: none;
  overflow: hidden;
}

.gateway-blurred-text span {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--white-20);
  filter: blur(4px);
  transition: filter 1.5s ease, color 1.5s ease;
  line-height: 2;
}

.gateway-success .gateway-blurred-text span {
  filter: blur(0);
  color: var(--white-30);
}

.gateway-seal {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid var(--gold-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 30px;
  transition: var(--transition-clarity);
  animation: pulseGlow 3s ease infinite;
  background: rgba(201, 168, 76, 0.05);
}

.gateway-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.gateway-subtitle {
  font-size: 0.95rem;
  color: var(--white-50);
  margin-bottom: 36px;
  line-height: 1.7;
}

.gateway-input-wrap {
  margin-bottom: 20px;
}

.gateway-input {
  width: 100%;
  padding: 16px 24px;
  border: 1px solid var(--white-10);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  text-align: center;
  letter-spacing: 4px;
  outline: none;
  transition: var(--transition-clarity);
}

.gateway-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.2);
}

.gateway-input.success {
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(201, 168, 76, 0.4);
}

.gateway-input.error {
  border-color: #ff4757;
  box-shadow: 0 0 20px rgba(255, 71, 87, 0.2);
  animation: shake 0.5s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

.gateway-btn {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 10px;
  background: var(--gradient-clarity);
  color: var(--charcoal-deep);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-clarity);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.gateway-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.4);
}

.gateway-message {
  margin-top: 16px;
  font-size: 0.9rem;
  min-height: 24px;
  transition: var(--transition-fast);
}

.gateway-message.success {
  color: var(--gold);
}

.gateway-message.error {
  color: #ff4757;
}

.gateway-hint {
  margin-top: 30px;
  font-size: 0.8rem;
  color: var(--white-30);
  letter-spacing: 2px;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-smooth);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(13, 13, 26, 0.95);
  backdrop-filter: var(--glass-blur);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-clarity);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--charcoal-deep);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}

.nav-logo-text span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--white-70);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-clarity);
  transition: var(--transition-clarity);
  border-radius: 1px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: var(--transition-fast);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--charcoal-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 2;
}

.hero-clarity-lines {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
}

.clarity-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.2;
  animation: floatLine 10s linear infinite;
}

.clarity-line:nth-child(1) { top: 20%; width: 60%; left: -60%; animation-delay: 0s; }
.clarity-line:nth-child(2) { top: 40%; width: 80%; left: -80%; animation-delay: 2.5s; }
.clarity-line:nth-child(3) { top: 55%; width: 50%; left: -50%; animation-delay: 5s; }
.clarity-line:nth-child(4) { top: 75%; width: 70%; left: -70%; animation-delay: 7s; }
.clarity-line:nth-child(5) { top: 30%; width: 45%; left: -45%; animation-delay: 1.5s; opacity: 0.1; }
.clarity-line:nth-child(6) { top: 65%; width: 55%; left: -55%; animation-delay: 4s; opacity: 0.15; }

.hero-content {
  position: relative;
  z-index: 5;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
  padding-top: 100px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 30px;
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-label::before {
  content: '';
  width: 50px;
  height: 1px;
  background: var(--gradient-clarity);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 1s ease 0.5s both;
}

.hero-title .highlight {
  background: var(--gradient-clarity);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--white-70);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 40px;
  animation: fadeInUp 1s ease 0.7s both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.9s both;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: var(--transition-clarity);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-clarity);
  color: var(--charcoal-deep);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white-20);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.05);
}

/* ---------- Glass Card ---------- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 32px;
  transition: var(--transition-clarity);
}

.glass-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

/* ---------- Stats Grid ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.stat-card {
  text-align: center;
  padding: 32px 20px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-clarity);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--white-50);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- Career Cards ---------- */
.career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.career-card {
  position: relative;
  overflow: hidden;
}

.career-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-clarity);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-clarity);
}

.career-card:hover::before {
  transform: scaleX(1);
}

.career-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--gold);
}

.career-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.career-card-role {
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.career-card-desc {
  font-size: 0.95rem;
  color: var(--white-50);
  line-height: 1.7;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--gold-muted), var(--gold-dim), transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 60px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
  padding-right: calc(50% + 40px);
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  padding-left: calc(50% + 40px);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--charcoal-deep);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.4);
  z-index: 2;
}

.timeline-content {
  flex: 1;
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--white-50);
  line-height: 1.7;
}

/* ---------- Clarity Map (Courts) ---------- */
.clarity-map {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
  position: relative;
}

.clarity-map::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--gold), var(--gold-muted), var(--gold), transparent);
  transform: translateX(-50%);
  z-index: 0;
}

.clarity-node {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
}

.clarity-node-card {
  position: relative;
  overflow: hidden;
}

.clarity-node-card .clarity-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 15px rgba(201, 168, 76, 0.5);
  position: absolute;
  top: 50%;
  left: -30px;
  transform: translateY(-50%);
}

.clarity-node-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.clarity-node-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.clarity-node-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
}

.clarity-node-role {
  font-size: 0.85rem;
  color: var(--gold);
}

.clarity-node-desc {
  font-size: 0.95rem;
  color: var(--white-50);
  line-height: 1.7;
}

/* ---------- Practice Clarity Channels ---------- */
.clarity-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.clarity-channel {
  position: relative;
  overflow: hidden;
}

.clarity-channel::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-clarity);
  transform: translateX(-100%);
  transition: var(--transition-clarity);
}

.clarity-channel:hover::after {
  transform: translateX(0);
}

.clarity-channel-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.clarity-channel-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold);
}

.clarity-channel-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}

.clarity-channel-desc {
  font-size: 0.95rem;
  color: var(--white-50);
  line-height: 1.7;
  margin-bottom: 16px;
}

.clarity-channel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.clarity-tag {
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  background: var(--gold-dim);
  border: 1px solid rgba(201, 168, 76, 0.15);
  color: var(--gold);
}

/* ---------- Cases Explorer ---------- */
.cases-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 24px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  background: var(--white-05);
  border: 1px solid var(--white-10);
  color: var(--white-70);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--gold);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}

.case-card {
  overflow: hidden;
}

.case-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.case-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold);
  flex-shrink: 0;
}

.case-category {
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.case-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.4;
}

.case-summary {
  font-size: 0.95rem;
  color: var(--white-50);
  line-height: 1.7;
  margin-bottom: 16px;
}

.case-read-more {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--gold);
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  background: none;
  font-family: var(--font-body);
  padding: 0;
}

.case-read-more:hover {
  color: var(--gold-light);
}

.case-expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease;
}

.case-expand.active {
  max-height: 500px;
}

.case-expand-content {
  padding-top: 16px;
  border-top: 1px solid var(--white-10);
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--white-50);
  line-height: 1.7;
}

/* ---------- Resources Grid ---------- */
.resource-search-wrap {
  margin-bottom: 30px;
}

.resource-search {
  width: 100%;
  max-width: 400px;
  padding: 14px 24px;
  border: 1px solid var(--white-10);
  border-radius: 10px;
  background: var(--white-05);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.resource-search:focus {
  border-color: var(--gold);
  box-shadow: 0 0 15px rgba(201, 168, 76, 0.15);
}

.resource-search::placeholder {
  color: var(--white-30);
}

.resource-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

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

.resource-card {
  overflow: hidden;
}

.resource-card-type {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.resource-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.4;
}

.resource-card-desc {
  font-size: 0.9rem;
  color: var(--white-50);
  line-height: 1.7;
  margin-bottom: 16px;
}

.resource-card-link {
  font-size: 0.9rem;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.resource-card-link:hover {
  color: var(--gold-light);
}

/* ---------- Media Grid ---------- */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.media-card {
  overflow: hidden;
}

.media-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  margin: -32px -32px 24px;
  width: calc(100% + 64px);
}

.media-card-date {
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.media-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.4;
}

.media-card-desc {
  font-size: 0.9rem;
  color: var(--white-50);
  line-height: 1.7;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-info-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.contact-info-text {
  font-size: 0.9rem;
  color: var(--white-50);
}

.contact-info-text a {
  color: var(--gold);
}

.contact-info-text a:hover {
  color: var(--gold-light);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white-70);
  margin-bottom: 6px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--white-10);
  border-radius: 8px;
  background: var(--white-05);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 15px rgba(201, 168, 76, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  padding: 16px 40px;
  border: none;
  border-radius: 8px;
  background: var(--gradient-clarity);
  color: var(--charcoal-deep);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-clarity);
  letter-spacing: 1px;
  align-self: flex-start;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.4);
}

/* ---------- Social Links ---------- */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--white-05);
  border: 1px solid var(--white-10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
  color: var(--white-70);
}

.social-link:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--charcoal-deep);
  border-top: 1px solid var(--white-10);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand-name span {
  color: var(--gold);
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--white-50);
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  font-size: 0.9rem;
  color: var(--white-50);
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact-item {
  font-size: 0.9rem;
  color: var(--white-50);
  margin-bottom: 10px;
}

.footer-contact-item a {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--white-10);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-credits {
  font-size: 0.85rem;
  color: var(--white-50);
}

.footer-credits a {
  color: var(--gold);
}

.footer-credits a:hover {
  color: var(--gold-light);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: var(--white-50);
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

/* ---------- Page Hero (Inner Pages) ---------- */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--charcoal-deep);
  padding-top: 80px;
}

.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.page-hero .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 13, 26, 0.95), rgba(201, 168, 76, 0.08), rgba(13, 13, 26, 0.95));
  z-index: 2;
}

.page-hero-content {
  position: relative;
  z-index: 5;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* ---------- About Bio ---------- */
.bio-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.bio-image-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.bio-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.bio-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  pointer-events: none;
}

.bio-text h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 16px;
}

.bio-text p {
  font-size: 0.95rem;
  color: var(--white-50);
  line-height: 1.8;
  margin-bottom: 16px;
}

.bio-quote {
  padding: 24px;
  border-left: 3px solid var(--gold);
  background: var(--white-05);
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--white-70);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
    --container-padding: 0 20px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(13, 13, 26, 0.98);
    backdrop-filter: var(--glass-blur);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    transition: right 0.4s ease;
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

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

  .timeline::before {
    left: 20px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    flex-direction: row;
    padding-right: 0;
    padding-left: 60px;
  }

  .timeline-dot {
    left: 20px;
  }

  .clarity-map::before {
    left: 20px;
  }

  .clarity-node {
    max-width: 100%;
  }

  .bio-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

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

  .clarity-channels {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
  }

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

  .gateway-content {
    padding: 20px;
  }
}
