:root {
  --deep: #07121e;
  --deep2: #0a1a2e;
  --deep3: #0d2038;
  --paper: #f4f0eb;
  --paper2: #ece8e2;
  --ink: #0c1e2e;
  --ink-light: #2a3e45;
  --ink-faint: #4a6a75;
  --teal: #1a9bb5;
  --teal2: #7dd3e8;
  --teal3: rgba(26, 155, 181, 0.12);
  --teal-rule: rgba(26, 155, 181, 0.28);
  --amber: #c9932a;
  --amber2: #e8b86a;
  --phosphor: #2dd4a0;
  --phosphor2: #7eecd0;
  --rule-dark: rgba(255, 255, 255, 0.07);
  --rule-paper: rgba(0, 0, 0, 0.09);
}

/* ══ FOCUS ══ */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* ══ TOPBAR ══ */
.bc {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  min-width: 0;
}

/* ══ HERO ══ */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--deep);
  overflow: hidden;
  padding: 8rem 2.5rem 6rem;
}
.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  font-family: 'Crimson Pro', serif;
  font-size: clamp(4rem, 13vw, 12rem);
  font-weight: 200;
  color: rgba(255, 255, 255, 0.016);
  line-height: 1;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  letter-spacing: -4px;
  text-align: center;
}
.hero-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  background:
    radial-gradient(
      ellipse 60% 60% at 15% 100%,
      rgba(26, 155, 181, 0.08) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 40% 40% at 85% 80%,
      rgba(26, 155, 181, 0.04) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 80% 50% at 50% 100%,
      rgba(7, 18, 30, 0.95) 0%,
      transparent 60%
    );
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Crimson Pro', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal2);
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.15s forwards;
}
.hero-kicker-line {
  width: 28px;
  height: 1px;
  background: var(--teal);
  opacity: 0.5;
}
.hero-title {
  font-family: 'Crimson Pro', serif;
  font-size: clamp(3.5rem, 10vw, 9.5rem);
  font-weight: 200;
  line-height: 0.88;
  letter-spacing: -4px;
  color: #ffffff;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.3s forwards;
}
.hero-title em {
  font-style: italic;
  color: var(--teal2);
}
.hero-rule {
  width: 56px;
  height: 1px;
  background: var(--teal-rule);
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.45s forwards;
}
.hero-sub {
  font-family: 'Crimson Pro', serif;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(125, 211, 232, 0.85);
  max-width: 620px;
  line-height: 1.6;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.55s forwards;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.7s forwards;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-stat-val {
  font-family: 'Crimson Pro', serif;
  font-size: 2.2rem;
  font-weight: 200;
  color: #fff;
  line-height: 1;
}
.hero-stat-label {
  font-family: 'Crimson Pro', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(232, 240, 248, 0.35);
}
.hero-stat-sep {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  align-self: center;
}

/* ══ WAVE ══ */
.wave {
  display: block;
  width: 100%;
  line-height: 0;
}

/* ══ REVEAL ══ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.rd1 {
  transition-delay: 0.1s;
}
.rd2 {
  transition-delay: 0.2s;
}
.rd3 {
  transition-delay: 0.3s;
}

/* ══ CONVICTION ══ */
.conviction {
  background: var(--paper);
  padding: 5.5rem 2.5rem;
}
.conviction-inner {
  max-width: 780px;
  margin: 0 auto;
}
.conviction-label {
  font-family: 'Crimson Pro', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.conviction-rule {
  width: 20px;
  height: 1px;
  background: var(--teal);
  opacity: 0.5;
}
.conviction-heading {
  font-family: 'Crimson Pro', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.3px;
  margin-bottom: 1.5rem;
}
.conviction-body {
  font-size: 19px;
  font-weight: 400;
  color: var(--ink-light);
  line-height: 1.9;
}

/* ══ SUB-CATEGORIES ══ */
.subcats-sec {
  background: var(--deep);
  padding: 6rem 2.5rem 7rem;
}
.subcats-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.subcats-header {
  margin-bottom: 4rem;
}
.subcats-label {
  font-family: 'Crimson Pro', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(26, 155, 181, 0.5);
  margin-bottom: 0.5rem;
}
.subcats-heading {
  font-family: 'Crimson Pro', serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 300;
  color: #fff;
  letter-spacing: -0.3px;
}

/* ══ CATEGORY CARDS ══ */
.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.cat-card {
  background: var(--deep2);
  padding: 3rem 2.75rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.25s;
  overflow: hidden;
}
.cat-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.cat-card:hover {
  background: var(--deep3);
}
.cat-card:hover::before {
  transform: scaleX(1);
}
.cat-card:hover .cat-title {
  color: var(--card-accent2, var(--teal2));
}

/* Per-card accent colours */
.cat-card.ops {
  --card-accent: var(--teal);
  --card-accent2: var(--teal2);
}
.cat-card.ops::before {
  background: linear-gradient(90deg, var(--teal), var(--teal2));
}
.cat-card.ops .cat-num {
  color: rgba(26, 155, 181, 0.5);
}
.cat-card.ops .cat-tag {
  color: rgba(125, 211, 232, 0.5);
}

.cat-card.live {
  --card-accent: var(--amber);
  --card-accent2: var(--amber2);
}
.cat-card.live::before {
  background: linear-gradient(90deg, var(--amber), var(--amber2));
}
.cat-card.live .cat-num {
  color: rgba(201, 147, 42, 0.5);
}
.cat-card.live .cat-tag {
  color: rgba(232, 184, 106, 0.5);
}

.cat-card.trip {
  --card-accent: var(--phosphor);
  --card-accent2: var(--phosphor2);
}
.cat-card.trip::before {
  background: linear-gradient(90deg, var(--phosphor), var(--phosphor2));
}
.cat-card.trip .cat-num {
  color: rgba(45, 212, 160, 0.5);
}
.cat-card.trip .cat-tag {
  color: rgba(126, 236, 208, 0.5);
}

.cat-ghost {
  position: absolute;
  top: 0.75rem;
  right: 1.25rem;
  font-family: 'Crimson Pro', serif;
  font-size: 6rem;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.025);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  letter-spacing: -4px;
}
.cat-num {
  font-family: 'Crimson Pro', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.cat-title {
  font-family: 'Crimson Pro', serif;
  font-size: clamp(1.7rem, 2.5vw, 2.3rem);
  font-weight: 200;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.3px;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.cat-tag {
  font-family: 'Crimson Pro', serif;
  font-size: 1rem;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.cat-rule {
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 1.5rem;
}
.cat-desc {
  font-size: 16px;
  font-weight: 400;
  color: rgba(232, 240, 248, 0.55);
  line-height: 1.8;
  flex: 1;
}
.cat-meta {
  margin-top: 2rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.cat-count {
  font-family: 'Crimson Pro', serif;
  font-size: 2rem;
  font-weight: 200;
  color: #fff;
  line-height: 1;
}
.cat-count-label {
  font-family: 'Crimson Pro', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(232, 240, 248, 0.3);
}
.cat-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  font-family: 'Crimson Pro', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  transition:
    color 0.2s,
    gap 0.2s;
}
.cat-card:hover .cat-arrow {
  color: rgba(255, 255, 255, 0.7);
  gap: 0.75rem;
}

/* ══ EDITORIAL POSITION ══ */
.position-sec {
  background: var(--paper);
  padding: 5.5rem 2.5rem;
}
.position-inner {
  max-width: 700px;
  margin: 0 auto;
}
.position-label {
  font-family: 'Crimson Pro', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.position-rule {
  width: 20px;
  height: 1px;
  background: var(--teal);
  opacity: 0.5;
}
.position-heading {
  font-family: 'Crimson Pro', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.3px;
  margin-bottom: 1.5rem;
}
.position-body {
  font-size: 19px;
  font-weight: 400;
  color: var(--ink-light);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}
.position-body:last-child {
  margin-bottom: 0;
}
/* ══ ANIMATIONS ══ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══ RESPONSIVE ══ */
@media (max-width: 900px) {
  .cat-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .hero {
    padding: 7rem 1.25rem 4.5rem;
  }
  .hero-bg-text {
    font-size: clamp(3rem, 20vw, 8rem);
  }
  .conviction {
    padding: 3.5rem 1.25rem;
  }
  .subcats-sec {
    padding: 4rem 1.25rem 5rem;
  }
  .cat-card {
    padding: 2.25rem 1.75rem;
  }
  .position-sec {
    padding: 3.5rem 1.25rem;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}
