/* ============================================================
   GEISON CAISABANDA — HOJA DE VIDA · TEMA MILITAR / CIBERDEFENSA
   ============================================================ */

:root {
  /* paleta militar */
  --verde-oscuro: #171d13;
  --verde-panel: #202b19;
  --verde-militar: #3e4a2d;
  --verde-medio: #5c6b3f;
  --khaki: #c9c2a6;
  --khaki-suave: #efe9d8;
  --dorado: #c9a227;
  --dorado-suave: #e8c766;
  --negro: #0d100c;
  --blanco: #f7f5ef;
  --cian-tactico: #7fd8c8;
  --sombra: rgba(0, 0, 0, 0.45);

  --fuente-display: "Oswald", "Arial Narrow", sans-serif;
  --fuente-mono: "Share Tech Mono", monospace;
  --fuente-texto: "Inter", "Segoe UI", sans-serif;

  --clip-lg: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  --clip-md: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  --clip-sm: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--fuente-texto);
  background: var(--verde-oscuro);
  color: var(--khaki-suave);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* scanlines overlay (HUD feel) */
.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.015) 0px,
    rgba(255, 255, 255, 0.015) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: overlay;
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 18px 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

.navbar.scrolled {
  background: rgba(23, 29, 19, 0.92);
  backdrop-filter: blur(6px);
  padding: 10px 0;
  box-shadow: 0 4px 20px var(--sombra);
  border-bottom: 1px solid rgba(201, 162, 39, 0.25);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fuente-display);
  letter-spacing: 1px;
}

.brand-mark {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, var(--dorado-suave), var(--dorado));
  color: var(--verde-oscuro);
  font-weight: 700;
  clip-path: var(--clip-sm);
}

.brand-text {
  color: var(--blanco);
  font-size: 15px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-link {
  position: relative;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: var(--khaki);
  padding: 4px 0;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--dorado);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--dorado-suave);
}

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

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

.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--khaki-suave);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ BUTTONS ============ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  font-family: var(--fuente-display);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  clip-path: var(--clip-md);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:active { transform: scale(0.96); }

.btn-primary {
  background: linear-gradient(120deg, var(--dorado-suave), var(--dorado));
  color: var(--verde-oscuro);
  font-weight: 600;
}

.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(201, 162, 39, 0.45);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(247, 245, 239, 0.05);
  color: var(--khaki-suave);
  border: 1px solid var(--khaki);
}

.btn-outline:hover {
  border-color: var(--dorado-suave);
  color: var(--dorado-suave);
  transform: translateY(-2px);
}

.btn::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before { left: 100%; }

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleAnim {
  to { transform: scale(3); opacity: 0; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 140px 0 40px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('Fondo.png');
  background-size: cover;
  background-position: center 15%;
  filter: saturate(0.85) brightness(0.55);
  transform: scale(1.08);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(23, 29, 19, 0.35) 0%, rgba(13, 16, 12, 0.85) 75%),
    linear-gradient(180deg, rgba(13, 16, 12, 0.55) 0%, rgba(13, 16, 12, 0.75) 60%, var(--verde-oscuro) 100%);
  z-index: 1;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(201, 194, 166, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 194, 166, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
}

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

.eyebrow {
  font-family: var(--fuente-mono);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--cian-tactico);
}

.hero-name {
  font-family: var(--fuente-display);
  font-size: clamp(42px, 9vw, 96px);
  line-height: 0.98;
  font-weight: 700;
  color: var(--blanco);
  margin-top: 14px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.hero-name span { color: var(--dorado-suave); }

.flag-accent {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin: 16px auto;
}

.flag-accent i {
  display: block;
  height: 4px;
  border-radius: 2px;
}

.flag-accent i:nth-child(1) { width: 34px; background: #ffd100; }
.flag-accent i:nth-child(2) { width: 17px; background: #0033a0; }
.flag-accent i:nth-child(3) { width: 17px; background: #ef3340; }

.hero-rank {
  font-family: var(--fuente-display);
  font-size: clamp(14px, 2vw, 18px);
  letter-spacing: 1.5px;
  color: var(--khaki-suave);
  margin-top: 6px;
}

.hero-tagline {
  max-width: 560px;
  margin: 18px auto 0;
  color: var(--khaki);
  font-size: 15.5px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(201, 194, 166, 0.15);
  width: min(760px, 90%);
}

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

.stat-number {
  font-family: var(--fuente-mono);
  font-size: clamp(26px, 4vw, 38px);
  color: var(--dorado-suave);
  font-weight: 700;
}

.stat-plus {
  font-family: var(--fuente-mono);
  color: var(--dorado-suave);
  font-size: 20px;
}

.stat-item p {
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--khaki);
  margin-top: 4px;
}

.scroll-indicator {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 2px solid var(--khaki);
  border-radius: 14px;
}

.scroll-indicator span {
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--dorado-suave);
  border-radius: 2px;
  animation: scrollDown 1.6s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { top: 6px; opacity: 1; }
  70% { top: 22px; opacity: 0; }
  100% { top: 22px; opacity: 0; }
}

/* ============ SECTIONS (generic) ============ */
.section { padding: 110px 0; }
.section-alt { background: var(--verde-panel); }
.section-dark {
  background: var(--negro);
  color: var(--khaki-suave);
}

.section-header { text-align: center; margin-bottom: 56px; }

.section-tag {
  font-family: var(--fuente-mono);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--cian-tactico);
}

.section-header h2 {
  font-family: var(--fuente-display);
  font-size: clamp(28px, 4vw, 42px);
  color: var(--blanco);
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-line {
  width: 70px; height: 3px;
  background: linear-gradient(90deg, var(--dorado), transparent);
  margin: 16px auto 0;
}

.section-sub {
  margin-top: 14px;
  color: var(--khaki);
  font-size: 14.5px;
}

/* ============ DATOS PERSONALES ============ */
.datos-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

.id-card {
  background: var(--verde-panel);
  border: 1px solid rgba(201, 162, 39, 0.25);
  clip-path: var(--clip-lg);
  overflow: hidden;
}

.id-card-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--negro);
}

.id-card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}

.id-card-body { padding: 20px; text-align: center; }

.id-card-name {
  font-family: var(--fuente-display);
  font-size: 17px;
  letter-spacing: 0.5px;
  color: var(--blanco);
}

.id-card-rank {
  font-size: 12.5px;
  color: var(--khaki);
  margin-top: 6px;
}

.id-card-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-family: var(--fuente-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--cian-tactico);
}

.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cian-tactico);
  box-shadow: 0 0 0 0 rgba(127, 216, 200, 0.6);
  animation: pulseDot 1.8s ease-out infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(127, 216, 200, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(127, 216, 200, 0); }
  100% { box-shadow: 0 0 0 0 rgba(127, 216, 200, 0); }
}

.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(201, 194, 166, 0.2);
}

.info-label {
  font-family: var(--fuente-mono);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--cian-tactico);
  text-transform: uppercase;
}

.info-value {
  color: var(--khaki-suave);
  font-weight: 500;
  text-align: right;
}

.info-value a { color: var(--dorado-suave); }

.rank-progress { margin-top: 34px; }

.rank-progress-title {
  font-family: var(--fuente-mono);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--khaki);
  margin-bottom: 16px;
}

.rank-steps {
  display: flex;
  align-items: center;
  gap: 0;
}

.rank-step {
  flex: 1;
  position: relative;
  text-align: center;
  font-family: var(--fuente-display);
  font-size: 13px;
  color: var(--khaki);
}

.rank-step::before {
  content: "";
  position: absolute;
  top: 6px; left: -50%;
  width: 100%; height: 2px;
  background: var(--verde-medio);
  z-index: 0;
}

.rank-step:first-child::before { display: none; }

.rank-step-dot {
  display: block;
  width: 14px; height: 14px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: var(--verde-medio);
  border: 2px solid var(--khaki);
  position: relative;
  z-index: 1;
}

.rank-step.current .rank-step-dot {
  background: var(--dorado);
  border-color: var(--dorado-suave);
  box-shadow: 0 0 12px rgba(201, 162, 39, 0.7);
}

.rank-step.current { color: var(--dorado-suave); }

.rank-step small { display: block; color: var(--khaki); opacity: 0.7; }

/* ============ CURSOS ============ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 44px;
}

.filter-btn {
  font-family: var(--fuente-mono);
  font-size: 12.5px;
  letter-spacing: 0.5px;
  padding: 9px 18px;
  background: transparent;
  border: 1px solid var(--verde-medio);
  color: var(--khaki);
  cursor: pointer;
  clip-path: var(--clip-sm);
  transition: all 0.25s ease;
}

.filter-btn:hover { border-color: var(--dorado); color: var(--dorado-suave); }

.filter-btn.active {
  background: var(--dorado);
  border-color: var(--dorado);
  color: var(--verde-oscuro);
  font-weight: 700;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
}

.course-card {
  background: var(--verde-oscuro);
  border: 1px solid rgba(201, 194, 166, 0.12);
  border-left: 3px solid var(--verde-medio);
  padding: 20px;
  clip-path: var(--clip-md);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-4px);
  border-left-color: var(--dorado);
  box-shadow: 0 10px 30px var(--sombra);
}

.course-card.hidden { display: none; }

.course-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.course-tag {
  font-family: var(--fuente-mono);
  font-size: 10.5px;
  letter-spacing: 0.5px;
  color: var(--cian-tactico);
  text-transform: uppercase;
}

.course-hours {
  font-family: var(--fuente-mono);
  font-size: 11px;
  background: rgba(201, 162, 39, 0.12);
  color: var(--dorado-suave);
  padding: 3px 9px;
  border-radius: 20px;
}

.course-card h3 {
  font-family: var(--fuente-display);
  font-size: 16px;
  color: var(--blanco);
  font-weight: 500;
  line-height: 1.3;
}

.course-inst {
  font-size: 13px;
  color: var(--khaki);
  margin-top: 8px;
}

.course-date {
  font-family: var(--fuente-mono);
  font-size: 11.5px;
  color: var(--verde-medio);
  margin-top: 14px;
  display: block;
}

/* ============ TIMELINE ============ */
.timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--dorado), var(--verde-medio));
}

.timeline-item {
  position: relative;
  margin-bottom: 52px;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-marker {
  position: absolute;
  left: -40px; top: 0;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: var(--verde-oscuro);
  border: 2px solid var(--dorado);
  border-radius: 50%;
  font-family: var(--fuente-mono);
  font-size: 12px;
  color: var(--dorado-suave);
}

.timeline-content {
  background: var(--verde-panel);
  padding: 20px 24px;
  clip-path: var(--clip-md);
  border: 1px solid rgba(201, 162, 39, 0.15);
}

.timeline-date {
  font-family: var(--fuente-mono);
  font-size: 12px;
  color: var(--cian-tactico);
  letter-spacing: 0.5px;
}

.timeline-content h3 {
  font-family: var(--fuente-display);
  font-size: 19px;
  color: var(--blanco);
  margin-top: 8px;
}

.timeline-role {
  color: var(--dorado-suave);
  font-size: 14px;
  margin-top: 4px;
}

.timeline-region {
  color: var(--khaki);
  font-size: 13px;
  margin-top: 2px;
}

/* ============ MÉRITOS ============ */
.medals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
}

.medal-card {
  background: var(--verde-panel);
  border: 1px solid rgba(201, 162, 39, 0.18);
  padding: 28px 22px;
  text-align: center;
  clip-path: var(--clip-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.medal-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 14px 34px var(--sombra);
}

.medal-badge {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, var(--dorado-suave), var(--dorado));
  color: var(--verde-oscuro);
  font-size: 22px;
  clip-path: polygon(50% 0%, 100% 15%, 100% 60%, 50% 100%, 0% 60%, 0% 15%);
}

.medal-date {
  font-family: var(--fuente-mono);
  font-size: 12px;
  color: var(--cian-tactico);
}

.medal-card h3 {
  font-family: var(--fuente-display);
  font-size: 16.5px;
  color: var(--blanco);
  margin-top: 8px;
}

.medal-card p {
  font-size: 13px;
  color: var(--khaki);
  margin-top: 10px;
  line-height: 1.5;
}

/* ============ CONCLUSIÓN ============ */
.conclusion-section { text-align: center; }

.conclusion-text {
  max-width: 700px;
  margin: 0 auto;
  color: var(--khaki-suave);
  font-size: 16px;
  line-height: 1.8;
}

.conclusion-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--verde-oscuro);
  border-top: 1px solid rgba(201, 162, 39, 0.15);
  padding: 26px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--khaki);
}

.footer-inner a { color: var(--dorado-suave); }

/* ============ BACK TO TOP ============ */
.back-to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--dorado);
  color: var(--verde-oscuro);
  font-size: 18px;
  border: none;
  cursor: pointer;
  clip-path: var(--clip-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 150;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover { box-shadow: 0 6px 20px rgba(201, 162, 39, 0.5); }

/* ============ SCROLL REVEAL ============ */
/* Visible by default: content must not depend on JS to be readable
   (no-JS browsers, crawlers, or a slow/broken script). Only browsers
   that got the early `has-js` class (see index.html <head>) get the
   animated version, driven by script.js adding .is-visible. */
.reveal { opacity: 1; transform: none; }

html.has-js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.has-js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-content .reveal,
.hero-stats.reveal { transition-delay: 0.1s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 860px) {
  .datos-grid { grid-template-columns: 1fr; }
  .id-card { max-width: 320px; margin: 0 auto; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--verde-oscuro);
    border-left: 1px solid rgba(201, 162, 39, 0.2);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 26px;
    padding: 40px;
    transition: right 0.4s ease;
    z-index: 199;
  }

  .nav-links.open { right: 0; }
  .nav-toggle { display: flex; }
  .section { padding: 80px 0; }
  .rank-steps { flex-wrap: wrap; gap: 20px; }
}

@media (max-width: 480px) {
  .hero-stats { gap: 26px 30px; }
  .info-list li { flex-direction: column; gap: 4px; }
  .info-value { text-align: left; }
  .timeline { padding-left: 34px; }
  .timeline-marker { left: -34px; width: 28px; height: 28px; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============ PRINT (Descargar CV) ============
   A plain, high-contrast layout for window.print(). Rather than
   patching individual text colors (easy to miss one and end up with
   the dark theme's light text on white paper), every element is
   reset to dark-on-white first, then the few decorative lines that
   depend on background-color are explicitly restored. */
@media print {
  .navbar, .scanlines, .hero-bg, .hero-overlay, .hero-grid,
  .scroll-indicator, .back-to-top, .filter-bar, .hero-actions,
  .conclusion-actions, .site-footer, .status-dot { display: none !important; }

  * {
    background: #fff !important;
    color: #111 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    animation: none !important;
    clip-path: none !important;
  }

  body { background: #fff; }

  .hero { min-height: auto; padding: 10px 0 24px; }
  .flag-accent i { background: #999 !important; }

  .section, .section-alt, .section-dark { padding: 22px 0; }

  .id-card, .course-card, .medal-card, .timeline-content {
    border: 1px solid #999 !important;
    break-inside: avoid;
  }

  .medal-badge {
    border-radius: 50%;
    border: 1px solid #111 !important;
  }

  .rank-step-dot, .timeline-marker { border: 1px solid #111 !important; }
  .rank-step::before, .timeline::before, .section-line { background: #999 !important; }

  .info-list li { border-bottom: 1px solid #ddd; }

  .courses-grid, .medals-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .reveal { opacity: 1 !important; transform: none !important; }

  a { text-decoration: underline; }
}
