/* CCM Honours Page — page-specific styles */
/* Shared styles (nav, variables, reset) are in ccm.css */

/* HERO */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: flex-end; padding-bottom: 80px;
  overflow: hidden; padding-top: 64px;
}
.hero-stripes {
  position: absolute; left: 0; top: 0; bottom: 0;
  display: flex; flex-direction: row; width: 12px;
}
.s-blk { background: #111; flex: 4; }
.s-wht { background: #fff; flex: 1.5; }
.s-red { background: var(--red); flex: 2.5; }
.s-yel { background: var(--yellow); flex: 2.5; }

.hero-year {
  position: absolute; right: -30px; bottom: 20px;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(180px, 26vw, 360px);
  color: transparent; -webkit-text-stroke: 1px var(--border);
  line-height: 1; user-select: none; letter-spacing: -0.04em;
}
.hero-dots {
  position: absolute; top: 64px; right: 0; width: 280px; height: 280px;
  background-image: radial-gradient(circle, var(--red) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  mask-image: radial-gradient(ellipse 80% 80% at 80% 20%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 80% 20%, black 30%, transparent 80%);
  opacity: 0.2;
}
.hero-content { position: relative; z-index: 2; padding: 0 80px 0 60px; max-width: 880px; }
.hero-eyebrow {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--red);
  margin-bottom: 20px; display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--red); display: block; }
.hero-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(60px, 9vw, 120px); line-height: 0.9;
  letter-spacing: -0.02em; text-transform: uppercase; margin-bottom: 32px;
}
.hero-title .accent { color: var(--red); }
.hero-desc {
  font-size: 1.05rem; font-weight: 300; color: var(--muted);
  max-width: 520px; line-height: 1.75; margin-bottom: 48px;
}
.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; }
.stat { border-left: 2px solid var(--red); padding-left: 16px; }
.stat-num {
  font-family: var(--font-display); font-weight: 900;
  font-size: 2.6rem; line-height: 1; color: var(--white);
}
.stat-num em { color: var(--red); font-style: normal; font-size: 1.5rem; }
.stat-lbl {
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--light); margin-top: 2px;
}

/* STRIPE DIVIDER */
.divider {
  height: 4px;
  background: linear-gradient(to right, var(--black), var(--red) 30%, var(--yellow) 70%, var(--black));
}

/* SECTIONS */
.section { padding: 96px 60px; }
.section.dark { background: var(--dark); }
.section.darker { background: var(--black); }

.sec-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: 60px; }
.sec-lbl {
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); white-space: nowrap;
}
.sec-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(34px, 5vw, 60px); text-transform: uppercase;
  line-height: 0.95; letter-spacing: -0.01em;
}
.sec-title em { font-style: normal; color: var(--red); }
.sec-rule { flex: 1; height: 1px; background: linear-gradient(to right, var(--border), transparent); margin-bottom: 3px; }

/* FEATURED CARDS */
.feat-grid { display: grid; gap: 2px; }

/* Hero card */
.card-hero {
  background: var(--dark2);
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 460px; overflow: hidden;
}
.card-hero .visual {
  background: var(--dark3); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; padding: 40px;
}
.card-hero .visual .bg-num {
  position: absolute; bottom: -30px; right: -20px;
  font-family: var(--font-display); font-weight: 900; font-size: 200px;
  color: transparent; -webkit-text-stroke: 2px var(--border);
  line-height: 1; user-select: none; letter-spacing: -0.05em;
}
.medal-list { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 8px; min-width: 260px; }
.medal {
  display: flex; align-items: center; gap: 12px;
  background: rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.08);
  padding: 10px 16px; border-radius: 2px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot.gold { background: #FFD700; box-shadow: 0 0 8px #ffd70055; }
.dot.silver { background: #C0C0C0; }
.dot.red { background: var(--red); box-shadow: 0 0 8px rgba(204,18,25,0.35); }
.medal-txt { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.06em; color: var(--muted); line-height: 1.4; }
.medal-txt strong { color: var(--white); display: block; }

.card-hero .body { padding: 52px 52px 44px; display: flex; flex-direction: column; justify-content: space-between; }
.card-flag {
  font-family: var(--font-mono); font-size: 0.63rem;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--red);
  margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
}
.card-flag::before { content: ''; width: 20px; height: 1px; background: var(--red); display: block; }
.card-name {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(44px, 5vw, 70px); text-transform: uppercase;
  line-height: 0.88; letter-spacing: -0.02em; margin-bottom: 10px;
}
.card-role {
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow); margin-bottom: 24px;
}
.card-bio { font-size: 0.93rem; font-weight: 300; color: var(--muted); line-height: 1.72; margin-bottom: 28px; }
.card-bio em { color: var(--white); font-style: italic; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  font-family: var(--font-mono); font-size: 0.58rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 11px; border: 1px solid var(--border); color: var(--muted);
}
.tag.r { border-color: var(--red); color: var(--red); background: rgba(204,18,25,0.07); }
.tag.y { border-color: var(--yellow); color: var(--yellow); background: rgba(184,134,11,0.07); }

/* Standard card */
.card-std {
  background: var(--dark2);
  display: grid; grid-template-columns: 240px 1fr; overflow: hidden;
}
.card-std .accent {
  background: var(--dark3); position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px;
}
.card-std .accent .athlete-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top; opacity: 0.55;
}
.card-hero .visual .athlete-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top; opacity: 0.45;
}
.accent-bg {
  position: absolute; bottom: -10px; left: -10px;
  font-family: var(--font-display); font-weight: 900; font-size: 110px;
  color: transparent; -webkit-text-stroke: 1px var(--border);
  line-height: 1; user-select: none; letter-spacing: -0.04em;
}
.accent-stat { position: relative; z-index: 2; }
.accent-big { font-family: var(--font-display); font-weight: 900; font-size: 3.2rem; line-height: 1; color: var(--red); }
.accent-lbl { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--light); margin-top: 2px; }
.card-std .body { padding: 36px 44px; }
.card-std .card-name { font-size: clamp(28px, 3vw, 44px); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 2px; }

/* ROLL OF HONOUR */
.honours-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1px; background: var(--border); border: 1px solid var(--border);
}
.honour-card {
  background: var(--dark2); padding: 28px 26px;
  position: relative; overflow: hidden; transition: background 0.2s;
}
.honour-card:hover { background: var(--dark); }
.honour-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--red); transform: scaleY(0); transform-origin: bottom; transition: transform 0.3s;
}
.honour-card:hover::before { transform: scaleY(1); }
.h-name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; margin-bottom: 3px; }
.h-era { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.h-desc { font-size: 0.83rem; color: var(--muted); line-height: 1.5; }

/* FAMILY CARDS */
.family-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2px; }
.family-card {
  background: var(--dark2); padding: 36px 32px;
  border-top: 3px solid var(--border); transition: border-color 0.25s;
}
.family-card:hover { border-color: var(--red); }
.fam-name { font-family: var(--font-display); font-weight: 900; font-size: 1.9rem; text-transform: uppercase; margin-bottom: 2px; }
.fam-name em { font-style: normal; color: var(--red); }
.fam-sub { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.fam-members { display: flex; flex-direction: column; gap: 10px; }
.fam-row { display: flex; align-items: baseline; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.fam-row:last-child { border-bottom: none; padding-bottom: 0; }
.fam-person { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; text-transform: uppercase; min-width: 100px; }
.fam-detail { font-size: 0.8rem; color: var(--muted); }

/* LINEAGE */
.lineage { display: flex; flex-direction: column; max-width: 780px; margin: 0 auto; }
.lin-item { display: grid; grid-template-columns: 72px 1fr; gap: 28px; position: relative; }
.lin-item::before {
  content: ''; position: absolute; left: 36px; top: 44px; bottom: -1px;
  width: 1px; background: var(--border);
}
.lin-item:last-child::before { display: none; }
.lin-year { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.1em; color: var(--red); padding-top: 24px; text-align: right; }
.lin-body { padding: 18px 0 36px; border-bottom: 1px solid var(--border); }
.lin-item:last-child .lin-body { border-bottom: none; }
.lin-name { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; margin-bottom: 2px; }
.lin-record { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; color: var(--yellow); margin-bottom: 8px; }
.lin-detail { font-size: 0.84rem; color: var(--muted); line-height: 1.6; }

/* FOOTER */
footer {
  background: var(--black); border-top: 1px solid var(--border);
  padding: 44px 60px; display: flex; align-items: center; justify-content: space-between;
}
.f-brand { font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; text-transform: uppercase; }
.f-brand em { font-style: normal; color: var(--red); }
.f-est { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.f-note { font-size: 0.78rem; color: var(--muted); text-align: right; }

/* REVEAL */
.reveal { opacity: 1; transform: none; transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.hidden { opacity: 0; transform: translateY(20px); }
.reveal.vis { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; } .d4 { transition-delay: 0.4s; }

.card-std .accent { min-height: 260px; }
.card-hero .visual { min-height: 400px; }

@media (max-width: 860px) {
  nav { padding: 0 20px; } .nav-links { display: none; }
  .hero-content { padding: 0 20px; }
  .card-hero { grid-template-columns: 1fr; }
  .card-hero .visual { min-height: 260px; }
  .card-std { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .section { padding: 60px 20px; }
  footer { flex-direction: column; gap: 20px; }
  .f-note { text-align: left; }
}
