/* ─── Design Tokens ──────────────────────────────────────── */
:root {
  --bg: #000000;
  --panel: #111111;
  --panel-light: #181818;
  --border: rgba(201,164,76,0.12);
  --border-h: rgba(201,164,76,0.28);
  --text: #F4F1E8;
  --text-sec: #E8E4DA;
  --text-muted: #CFC9BC;
  --gold: #C9A44C;
  --gold-glow: rgba(201,164,76,0.22);
  --green: #2ecc71;
  --red: #e74c3c;
  
  --font-serif: 'Cinzel Decorative', serif;
  --font-sans: 'DM Sans', sans-serif;
  --font-tech: 'Space Grotesk', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  overflow-x: hidden;
  margin: 0;
}

.sk-main {
  margin-top: 0;
}

.sk-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 4vw, 3rem);
}

.max-w-780 {
  max-width: 780px;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ─── Typography & Shared Elements ──────────────────────── */
.sk-eyebrow {
  display: block;
  font-family: var(--font-tech);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.sk-sec-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1.5rem;
  line-height: 1.15;
}

.sk-hero__subtitle {
  font-family: var(--font-tech);
  font-size: clamp(0.85rem, 1.8vw, 1.1rem);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.sk-sec-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: var(--text-sec);
  margin-bottom: 3.5rem;
}

.sk-lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.sk-body-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-sec);
  margin-bottom: 1rem;
}

.sk-back-link {
  display: inline-block;
  font-family: var(--font-tech);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 240ms ease;
}

.sk-back-link:hover {
  color: var(--gold);
}

/* ─── Buttons ──────────────────────────────────────────── */
.sk-btn {
  font-family: var(--font-tech);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.75rem 1.2rem;
  border-radius: 0;
  cursor: pointer;
  transition: all 250ms ease;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.sk-btn--primary {
  background: var(--gold);
  color: #000;
}

.sk-btn--primary:hover {
  background: #e5bd5c;
  box-shadow: 0 0 15px rgba(201,164,76,0.3);
}

.sk-btn--secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text-sec);
}

.sk-btn--secondary:hover {
  border-color: var(--border-h);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

/* ─── Hero Structure ───────────────────────────────────── */
.sk-hero {
  position: relative;
  min-height: 100vh;
  padding-top: 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.sk-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.sk-hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(0, 0, 0,0.65) 0%, rgba(0, 0, 0,0.92) 100%);
  z-index: 1;
}

.sk-hero > .sk-container {
  position: relative;
  z-index: 2;
}

.sk-hero-grid {
  display: grid;
  justify-items: center;
  text-align: center;
}

.sk-hero-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 820px;
}

.sk-hero-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-sec);
  margin-bottom: 1.2rem;
}

.sk-hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* Hero Radar Visualizer Panel */
.sk-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-radar-dashboard {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  background: #000000;
  border: 1px solid var(--border);
  border-radius: 0;
  position: relative;
  box-shadow: 0 25px 65px rgba(0,0,0,0.75);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  overflow: hidden;
}

.hr-border-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
}

.hr-corner-label {
  position: absolute;
  font-family: var(--font-tech);
  font-size: 0.58rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  pointer-events: none;
}

.hr-corner-label.tl { top: 0.6rem; left: 0.8rem; }
.hr-corner-label.tr { top: 0.6rem; right: 0.8rem; }
.hr-corner-label.bl { bottom: 0.6rem; left: 0.8rem; }
.hr-corner-label.br { bottom: 0.6rem; right: 0.8rem; }

.radar-canvas-wrap {
  width: 100%;
  height: calc(100% - 20px);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

#hero-radar-canvas {
  width: 100%;
  height: 100%;
  max-width: 320px;
  max-height: 320px;
  display: block;
}

.hr-telemetry-overlay {
  position: absolute;
  bottom: 0.8rem;
  left: 0.8rem;
  right: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-tech);
  font-size: 0.58rem;
  pointer-events: none;
}

.pulse-indicator-label {
  color: var(--green);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.pulse-indicator-label .status-pulse {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  display: inline-block;
  animation: pulseLight 1.8s infinite;
}

.pulse-indicator-label .status-pulse.gold {
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

.node-count-label {
  color: var(--gold);
  font-weight: 600;
}

@keyframes pulseLight {
  0% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.5; }
}

/* ─── Simulator Panel ───────────────────────────────────── */
.sk-clubs-section {
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.sk-clubs-section.alt-bg {
  background: #000000;
}

.sk-clubs-simulator-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 30px 65px rgba(0,0,0,0.65);
  margin-top: 2rem;
}

.panel-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #000000;
  padding: 0.9rem 1.4rem;
  border-bottom: 1px solid var(--border);
}

.pch-title {
  font-family: var(--font-tech);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-sec);
}

.pch-desc {
  font-family: var(--font-tech);
  font-size: 0.58rem;
  color: var(--text-muted);
}

.simulator-left {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
}

.canvas-container {
  flex: 1;
  position: relative;
  background: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
}

#constellation-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.simulator-right {
  display: flex;
  flex-direction: column;
  background: #000000;
}

.telemetry-category-badge {
  font-family: var(--font-tech);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #000;
  background: var(--gold);
  padding: 0.2rem 0.5rem;
  border-radius: 0;
  text-transform: uppercase;
}

.telemetry-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  flex: 1;
}

.telemetry-identity h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin: 0 0 0.6rem;
  color: var(--text);
}

.telemetry-meta {
  display: flex;
  gap: 1.5rem;
  font-family: var(--font-tech);
  font-size: 0.75rem;
}

.meta-item {
  display: flex;
  gap: 0.4rem;
}

.meta-label {
  color: var(--text-muted);
}

.meta-value {
  color: var(--gold);
  font-weight: 600;
}

/* Attributes meters */
.telemetry-attributes {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1.2rem;
}

.telemetry-attributes .sub-title {
  font-family: var(--font-tech);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin: 0 0 0.2rem;
}

.attribute-rows {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.attr-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-tech);
  font-size: 0.72rem;
}

.attr-label {
  width: 140px;
  color: var(--text-sec);
}

.attr-bar-track {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 0;
  overflow: hidden;
}

.attr-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--green) 100%);
  border-radius: 0;
  transition: width 600ms cubic-bezier(0.22, 1, 0.36, 1);
  width: 0%;
}

.attr-val {
  width: 35px;
  text-align: right;
  color: var(--gold);
  font-weight: 600;
}

/* Micro simulation viewport */
.telemetry-viewport {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.viewport-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-tech);
  font-size: 0.62rem;
}

.vh-title {
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.vh-status {
  color: var(--green);
  font-weight: 700;
}

.viewport-canvas-wrap {
  width: 100%;
  height: 160px;
  background: #000000;
  border: 1px solid rgba(201,164,76,0.08);
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

#viewport-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Technical logs overlay console */
.viewport-console {
  position: absolute;
  inset: 0;
  background: rgba(4,4,4,0.92);
  padding: 0.6rem 0.8rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.65rem;
  color: var(--green);
  overflow-y: auto;
  display: none; /* activated dynamically via JS for tech nodes */
  flex-direction: column;
  gap: 0.2rem;
}

.console-line {
  line-height: 1.3;
}

.console-line.status {
  color: var(--gold);
}

/* ─── Involvements Card Grid ────────────────────────────── */
.involvements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.club-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 300ms ease, transform 280ms ease, box-shadow 300ms ease;
}

.club-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0; width: 3px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 300ms ease;
}

.club-card:hover {
  border-color: var(--border-h);
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.55);
}

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

.cc-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.4rem;
  padding-right: 84px;
}

.cc-logo-wrap {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.15),
    inset 0 1px 3px rgba(255, 255, 255, 0.6),
    inset 0 -1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 2;
}

.cc-logo-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cc-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.club-card:hover .cc-logo-wrap {
  border-color: var(--gold);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 
    0 12px 30px rgba(0, 0, 0, 0.35),
    0 0 15px var(--gold-glow),
    inset 0 1px 3px rgba(255, 255, 255, 0.6);
}

.club-card:hover .cc-logo {
  transform: scale(1.08);
}

/* Tech rotating dashed outline */
.cc-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -3px;
  border: 1px dashed rgba(201, 164, 76, 0.25);
  border-radius: 50%;
  opacity: 0.5;
  transition: transform 12s linear, opacity 0.4s ease, border-color 0.4s ease;
  pointer-events: none;
}

/* Outer solid accent bracket ring */
.cc-logo-wrap::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1.5px solid transparent;
  border-top-color: var(--gold);
  border-bottom-color: var(--gold);
  border-radius: 50%;
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease, border-color 0.4s ease;
  pointer-events: none;
}

.club-card:hover .cc-logo-wrap::before {
  transform: rotate(90deg);
  opacity: 0.8;
  border-color: var(--gold);
}

.club-card:hover .cc-logo-wrap::after {
  transform: rotate(180deg);
  opacity: 1;
}

/* Category-specific dynamic coloring and glows */
.club-card:has(.tag-technical):hover .cc-logo-wrap {
  border-color: #00c8ff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 15px rgba(0, 200, 255, 0.3), inset 0 1px 3px rgba(255, 255, 255, 0.6);
}
.club-card:has(.tag-technical):hover .cc-logo-wrap::before {
  border-color: rgba(0, 200, 255, 0.5);
}
.club-card:has(.tag-technical):hover .cc-logo-wrap::after {
  border-top-color: #00c8ff;
  border-bottom-color: #00c8ff;
}

.club-card:has(.tag-academic):hover .cc-logo-wrap {
  border-color: #9b59b6;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 15px rgba(155, 89, 182, 0.3), inset 0 1px 3px rgba(255, 255, 255, 0.6);
}
.club-card:has(.tag-academic):hover .cc-logo-wrap::before {
  border-color: rgba(155, 89, 182, 0.5);
}
.club-card:has(.tag-academic):hover .cc-logo-wrap::after {
  border-top-color: #9b59b6;
  border-bottom-color: #9b59b6;
}

.club-card:has(.tag-physical):hover .cc-logo-wrap {
  border-color: #e67e22;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 15px rgba(230, 126, 34, 0.3), inset 0 1px 3px rgba(255, 255, 255, 0.6);
}
.club-card:has(.tag-physical):hover .cc-logo-wrap::before {
  border-color: rgba(230, 126, 34, 0.5);
}
.club-card:has(.tag-physical):hover .cc-logo-wrap::after {
  border-top-color: #e67e22;
  border-bottom-color: #e67e22;
}

.club-card:has(.tag-creative):hover .cc-logo-wrap {
  border-color: #2ecc71;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 15px rgba(46, 204, 113, 0.3), inset 0 1px 3px rgba(255, 255, 255, 0.6);
}
.club-card:has(.tag-creative):hover .cc-logo-wrap::before {
  border-color: rgba(46, 204, 113, 0.5);
}
.club-card:has(.tag-creative):hover .cc-logo-wrap::after {
  border-top-color: #2ecc71;
  border-bottom-color: #2ecc71;
}

/* Ensure normal card contents are layered above watermarks */
.cc-title, .cc-sub, .cc-role-row, .cc-recognition, .cc-desc, .cc-footer {
  position: relative;
  z-index: 1;
}

.cc-title {
  padding-right: 84px;
}

.club-card .cc-sub {
  padding-right: 84px;
}

/* ─── Logo Background Watermarks ────────────────────────── */
.cc-watermark {
  display: none;
}


.cc-index {
  font-family: var(--font-tech);
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(201,164,76,0.18);
}

.cc-tag {
  font-family: var(--font-tech);
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  border-radius: 0;
}

.tag-technical { background: rgba(0,200,255,0.08); color: #00c8ff; border: 1px solid rgba(0,200,255,0.2); }
.tag-academic  { background: rgba(155,89,182,0.08); color: #9b59b6; border: 1px solid rgba(155,89,182,0.2); }
.tag-physical  { background: rgba(230,126,34,0.08); color: #e67e22; border: 1px solid rgba(230,126,34,0.2); }
.tag-creative  { background: rgba(46,204,113,0.08); color: #2ecc71; border: 1px solid rgba(46,204,113,0.2); }

.cc-title {
  font-family: var(--font-tech);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}

.club-card .cc-sub {
  font-family: var(--font-tech);
  font-size: 0.72rem;
  color: var(--text-sec);
  margin-top: -0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cc-role-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-tech);
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding-bottom: 0.6rem;
}

.cc-role {
  color: var(--gold);
  font-weight: 600;
}

.cc-period {
  color: var(--text-sec);
}

.cc-recognition {
  font-family: var(--font-tech);
  font-size: 0.72rem;
  background: rgba(201,164,76,0.06);
  padding: 0.4rem 0.75rem;
  border-radius: 0;
  border-left: 2px solid var(--gold);
  color: var(--text-sec);
}

.cc-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-sec);
  margin: 0;
  flex-grow: 1;
}

.cc-footer {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 0.8rem;
  margin-top: auto;
}

.cc-cores {
  font-family: var(--font-tech);
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.4;
}

.cc-actions {
  display: flex;
  gap: 0.6rem;
  width: 100%;
}

.cc-actions .link-btn {
  flex: 1;
  padding: 0.5rem;
  font-size: 0.65rem;
}

.cc-actions .view-node-btn {
  flex: 1;
  padding: 0.5rem;
  font-size: 0.65rem;
}

.club-card .view-node-btn {
  width: 100%;
  padding: 0.55rem;
  font-size: 0.65rem;
}

/* Active highlighted card state from simulator interactions */
.club-card.focused-highlight {
  border-color: var(--gold);
  box-shadow: 0 0 25px rgba(201,164,76,0.18);
  transform: translateY(-2px);
}

/* ─── Summary Metrics Grid ─────────────────────────────── */
.sk-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
  text-align: left;
}

.summary-metric {
  background: #000000;
  border: 1px solid var(--border);
  padding: 1.4rem;
  border-radius: 0;
}

.sm-title {
  display: block;
  font-family: var(--font-tech);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.sm-desc {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-sec);
  margin: 0;
}

/* ─── Responsive Breakdown ─────────────────────────────── */
@media (max-width: 980px) {
  .sk-hero-grid {
    grid-template-columns: 1fr;
  }
  
  .sk-hero-visual {
    margin-top: 2rem;
  }
  
  .sk-clubs-simulator-panel {
    grid-template-columns: 1fr;
  }
  
  .simulator-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  
  .canvas-container {
    min-height: 380px;
  }
  
  .sk-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .involvements-grid {
    grid-template-columns: 1fr;
  }
  
  .sk-summary-grid {
    grid-template-columns: 1fr;
  }
  
  .attr-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }
  
  .attr-label {
    width: 100%;
  }
  
  .attr-val {
    width: 100%;
    text-align: left;
  }
}

/* ─── Category Split Headers & Widescreen Telemetry Frames ─── */
.cc-section-header {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: 3.5rem;
}

.cc-header-info {
  display: flex;
  flex-direction: column;
}

.cc-header-info .sk-sec-lead {
  margin-bottom: 0;
}

.cc-header-visual {
  width: 100%;
}

.chv-frame {
  position: relative;
  aspect-ratio: 2.5 / 1;
  background: #000000;
  border: 1px solid var(--border);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  display: flex;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.chv-frame:hover {
  border-color: var(--border-h);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 15px rgba(201, 164, 76, 0.05);
}

.chv-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.85) contrast(1.05) brightness(0.9);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

.chv-frame:hover .chv-img {
  transform: scale(1.03);
  filter: grayscale(0.2) contrast(1.02) brightness(1);
}

.chv-scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(201, 164, 76, 0.012) 50%,
    rgba(255, 255, 255, 0)
  );
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.75;
}

.chv-tag {
  position: absolute;
  bottom: 0.6rem;
  left: 0.8rem;
  font-family: var(--font-tech);
  font-size: 0.52rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  background: rgba(0, 0, 0, 0.82);
  border: 1px solid var(--border);
  padding: 0.2rem 0.5rem;
  border-radius: 0;
  z-index: 3;
  transition: color 0.3s ease, border-color 0.3s ease;
  text-transform: uppercase;
}

.chv-frame:hover .chv-tag {
  color: var(--gold);
  border-color: var(--border-h);
}

.chv-corner {
  position: absolute;
  width: 6px;
  height: 6px;
  border: 1px solid rgba(201, 164, 76, 0.22);
  z-index: 3;
  pointer-events: none;
  transition: border-color 0.3s ease;
}

.chv-frame:hover .chv-corner {
  border-color: rgba(201, 164, 76, 0.5);
}

.chv-corner.tl { top: 0.6rem; left: 0.8rem; border-right: none; border-bottom: none; }
.chv-corner.tr { top: 0.6rem; right: 0.8rem; border-left: none; border-bottom: none; }

.chv-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 980px) {
  .cc-section-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }
  
  .chv-frame {
    max-width: 500px;
    margin: 0 auto;
    aspect-ratio: 2.8 / 1;
  }
}

/* ─── Heriot-Watt societies: monogram in place of a logo file ─────────── */
.cc-logo-inner--mono { background: #000; border: 1px solid rgba(201, 164, 76, 0.45); }
.cc-logo-mono { font: 700 1.05rem/1 'Cinzel Decorative', serif; letter-spacing: 0.06em; color: #C9A44C; }
.cc-inline-link { color: #C9A44C; text-decoration: none; border-bottom: 1px solid rgba(201, 164, 76, 0.4); }
.cc-inline-link:hover { border-bottom-color: #C9A44C; }

/* square society artwork fills the round frame edge to edge */
.cc-logo.cc-logo--fill { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
