/* =============================================
   ROCKY MARCIANO – CAMPIONE IMBATTUTO
   Stylesheet – Vintage Boxing Aesthetic
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Oswald:wght@300;400;500;600;700&family=Crimson+Text:ital,wght@0,400;0,600;1,400&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --gold:        #C8973A;
  --gold-light:  #E8B84B;
  --gold-pale:   #F5E6C8;
  --red:         #8B1A1A;
  --red-dark:    #5C0F0F;
  --cream:       #F7F0E3;
  --off-white:   #EDE5D0;
  --ink:         #1A1208;
  --charcoal:    #2D2418;
  --mid-gray:    #6B5D4A;
  --warm-gray:   #9E8E78;
  --shadow:      rgba(0,0,0,0.55);
  --font-display: 'Oswald', sans-serif;
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-body:    'Crimson Text', Georgia, serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background-color: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.75;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-light); }

/* ---------- Texture overlay on body ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: .5;
}

/* ---------- Navigation ---------- */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(10,6,2,.98) 0%, rgba(10,6,2,.92) 100%);
  border-bottom: 2px solid var(--gold);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  backdrop-filter: blur(6px);
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .12em;
  color: var(--gold);
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-logo span { color: var(--cream); }
#nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
}
#nav-menu li a {
  display: block;
  padding: .3rem .9rem;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--off-white);
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
#nav-menu li a:hover,
#nav-menu li a.active { color: var(--gold); border-bottom-color: var(--gold); }

/* Hamburger */
#nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
#nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--gold); transition: transform .3s, opacity .3s;
}
#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); }

/* ---------- Page wrapper ---------- */
.page { padding-top: 64px; min-height: 100vh; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ink);
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0d0804 0%, #1e0f06 40%, #0a0502 100%);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(200,151,58,.13) 0%, transparent 70%);
}
/* Decorative ring ropes */
.hero-ropes {
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-ropes::before,
.hero-ropes::after {
  content: '';
  position: absolute;
  left: -5%; right: -5%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-light) 50%, var(--gold) 80%, transparent);
  opacity: .35;
}
.hero-ropes::before { top: 28%; }
.hero-ropes::after  { top: 58%; }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1rem;
  max-width: 860px;
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeUp .8s .2s forwards;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 8rem);
  font-weight: 700;
  line-height: .9;
  text-transform: uppercase;
  letter-spacing: -.02em;
  color: var(--cream);
  margin-bottom: .4rem;
  opacity: 0;
  animation: fadeUp .8s .4s forwards;
}
.hero-title em {
  color: var(--gold);
  font-style: normal;
  display: block;
}
.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--warm-gray);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp .8s .6s forwards;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .8s .8s forwards;
}
.stat-box {
  text-align: center;
  border: 1px solid rgba(200,151,58,.3);
  padding: .8rem 1.4rem;
  background: rgba(200,151,58,.05);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-display);
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-top: .3rem;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  opacity: 0;
  animation: fadeIn 1s 1.2s forwards;
}
.hero-scroll span {
  font-family: var(--font-display);
  font-size: .65rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--warm-gray);
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 1.8s infinite;
}

/* ---------- Section base ---------- */
section { padding: 5rem 1.5rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-inner-wide { max-width: 1280px; margin: 0 auto; }

/* ---------- Section headings ---------- */
.section-label {
  font-family: var(--font-display);
  font-size: .72rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .8rem;
  display: flex;
  align-items: center;
  gap: .8rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 30px; height: 1px;
  background: var(--gold);
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.section-title em { color: var(--gold); font-style: normal; }
.section-lead {
  font-size: 1.2rem;
  color: var(--warm-gray);
  max-width: 640px;
  margin-bottom: 3rem;
}
.divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 1.5rem 0 2.5rem;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(200,151,58,.18);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
  border-color: rgba(200,151,58,.45);
}
.card-img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover;
  filter: grayscale(30%) contrast(1.05);
  transition: filter .4s, transform .4s;
}
.card:hover .card-img {
  filter: grayscale(0%) contrast(1.1);
  transform: scale(1.03);
}
.card-body { padding: 1.5rem; }
.card-tag {
  font-family: var(--font-display);
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
}
.card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: .6rem;
  line-height: 1.3;
}
.card-text {
  font-size: 1rem;
  color: var(--warm-gray);
  line-height: 1.65;
}

/* ---------- Quote / Blockquote ---------- */
.quote-block {
  border-left: 4px solid var(--gold);
  padding: 1.5rem 2rem;
  background: rgba(200,151,58,.06);
  margin: 2.5rem 0;
}
.quote-block p {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--gold-pale);
  line-height: 1.6;
}
.quote-block cite {
  display: block;
  margin-top: .8rem;
  font-family: var(--font-display);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--warm-gray);
  font-style: normal;
}

/* ---------- Record Table ---------- */
.record-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: .95rem;
}
.record-table th {
  background: var(--red-dark);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .75rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--gold);
}
.record-table td {
  padding: .65rem 1rem;
  color: var(--off-white);
  border-bottom: 1px solid rgba(200,151,58,.12);
  vertical-align: middle;
}
.record-table tr:nth-child(even) td { background: rgba(255,255,255,.025); }
.record-table tr:hover td { background: rgba(200,151,58,.07); }
.result-win  { color: #7EC87E; font-weight: 600; font-family: var(--font-display); font-size: .8rem; letter-spacing: .12em; }
.result-draw { color: var(--gold); }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(200,151,58,.2));
}
.timeline-item {
  position: relative;
  padding: 0 0 2.5rem 2rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -7px; top: .35rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--ink);
  box-shadow: 0 0 0 3px rgba(200,151,58,.3);
}
.timeline-year {
  font-family: var(--font-display);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .3rem;
}
.timeline-heading {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: .5rem;
}
.timeline-text { color: var(--warm-gray); font-size: 1rem; }

/* ---------- Two-col layout ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .two-col.reverse { direction: ltr; }
}
.col-img-wrap {
  position: relative;
}
.col-img-wrap img {
  width: 100%;
  filter: grayscale(20%) contrast(1.08);
  border: 1px solid rgba(200,151,58,.25);
}
.col-img-wrap::after {
  content: '';
  position: absolute;
  bottom: -12px; right: -12px;
  width: 70%; height: 70%;
  border: 2px solid rgba(200,151,58,.2);
  pointer-events: none;
  z-index: -1;
}

/* ---------- Photo gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: #111;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(25%) contrast(1.05);
  transition: transform .5s, filter .5s;
}
.gallery-item:hover img {
  transform: scale(1.08);
  filter: grayscale(0%) contrast(1.12);
}
.gallery-item .caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: .8rem;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  font-family: var(--font-display);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream);
  transform: translateY(100%);
  transition: transform .3s;
}
.gallery-item:hover .caption { transform: translateY(0); }

/* ---------- Lightbox ---------- */
#lightbox {
  display: none;
  position: fixed; inset: 0;
  z-index: 5000;
  background: rgba(0,0,0,.95);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border: 1px solid rgba(200,151,58,.3);
}
#lightbox-caption {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--warm-gray);
}
#lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none; border: none;
  color: var(--gold);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* ---------- Medals / badges ---------- */
.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin: 1.5rem 0;
}
.badge {
  font-family: var(--font-display);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .4rem .9rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: rgba(200,151,58,.06);
}

/* ---------- Stat bar ---------- */
.stat-bar-list { display: flex; flex-direction: column; gap: 1rem; }
.stat-bar-item {}
.stat-bar-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: .35rem;
}
.stat-bar-label strong { color: var(--gold); }
.stat-bar-track {
  height: 4px;
  background: rgba(255,255,255,.08);
  position: relative;
  overflow: hidden;
}
.stat-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transition: width 1.5s ease;
}

/* ---------- Footer ---------- */
footer {
  background: #0d0804;
  border-top: 1px solid rgba(200,151,58,.2);
  padding: 3rem 1.5rem;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem 1.2rem;
  margin-bottom: 2rem;
  list-style: none;
}
.footer-nav a {
  font-family: var(--font-display);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--warm-gray);
}
.footer-nav a:hover { color: var(--gold); }
.footer-copy {
  font-size: .85rem;
  color: var(--mid-gray);
}
.footer-copy a { color: var(--warm-gray); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  height: 38vh;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0d0804 0%, #1a0a04 50%, #0a0502 100%);
}
.page-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(200,151,58,.1) 0%, transparent 65%);
}
.page-hero-img {
  position: absolute; inset: 0;
  object-fit: cover;
  width: 100%; height: 100%;
  opacity: .2;
  filter: grayscale(60%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
.page-hero-eyebrow {
  font-family: var(--font-display);
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
}
.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 3.8rem);
  font-weight: 900;
  color: var(--cream);
  line-height: 1.05;
}
.page-hero-title em { color: var(--gold); font-style: normal; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-family: var(--font-display);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--warm-gray);
  padding: 1rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: .5rem;
  align-items: center;
}
.breadcrumb a { color: var(--warm-gray); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ---------- Rich text body ---------- */
.rich-text p { margin-bottom: 1.4rem; color: var(--off-white); font-size: 1.1rem; }
.rich-text h2 {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--cream);
  margin: 2.5rem 0 1rem;
  border-left: 4px solid var(--gold);
  padding-left: 1rem;
}
.rich-text h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold-pale);
  margin: 2rem 0 .8rem;
}
.rich-text ul {
  padding-left: 1.5rem;
  margin-bottom: 1.4rem;
  color: var(--off-white);
}
.rich-text ul li { margin-bottom: .4rem; }
.rich-text strong { color: var(--gold-pale); }

/* ---------- Flag/origin boxes ---------- */
.origin-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}
@media (max-width: 600px) { .origin-boxes { grid-template-columns: 1fr; } }
.origin-box {
  border: 1px solid rgba(200,151,58,.25);
  padding: 1.8rem;
  background: rgba(200,151,58,.04);
  text-align: center;
}
.origin-box .flag { font-size: 2.5rem; margin-bottom: .8rem; }
.origin-box h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--cream);
  margin-bottom: .5rem;
}
.origin-box p { font-size: .95rem; color: var(--warm-gray); }

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes scrollPulse {
  0%,100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(.6); opacity: .5; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  #nav-menu {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(10,6,2,.98);
    border-top: 1px solid rgba(200,151,58,.3);
    padding: .5rem 0 1rem;
  }
  #nav-menu.open { display: flex; }
  #nav-menu li a { padding: .7rem 1.5rem; font-size: .85rem; border-bottom: none; }
  #nav-toggle { display: flex; }
}
@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 3rem 1rem; }
}

/* ---------- Utility ---------- */
.text-gold  { color: var(--gold); }
.text-red   { color: var(--red); }
.text-cream { color: var(--cream); }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .75rem 1.8rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  transition: background .25s, color .25s;
  cursor: pointer;
  background: transparent;
}
.btn:hover { background: var(--gold); color: var(--ink); }
.btn-solid { background: var(--gold); color: var(--ink); }
.btn-solid:hover { background: var(--gold-light); }
.red-band {
  background: var(--red-dark);
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  padding: 3rem 1.5rem;
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s, transform .7s;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* =============================================
   ICON IMAGES (replace emojis)
   ============================================= */
.icon-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 0;
  display: block;
  margin: 0 auto 1rem;
  filter: grayscale(20%) contrast(1.05);
  border: 1px solid rgba(200,151,58,.25);
}
.icon-img-sm {
  width: 28px;
  height: 28px;
  object-fit: cover;
  display: inline-block;
  vertical-align: middle;
  margin-right: .4rem;
  border: 1px solid rgba(200,151,58,.2);
  border-radius: 0;
}
.icon-img-lg {
  width: 120px;
  height: 90px;
  object-fit: cover;
  display: block;
  margin: 0 auto 1rem;
  border: 1px solid rgba(200,151,58,.25);
}



/* =============================================
   HIGH CONTRAST ENHANCEMENTS v2
   ============================================= */

/* Stronger body text contrast */
body { color: #EDE5D0; }
.rich-text p { color: #EDE5D0; }
.card-text { color: #C8B89A; }
.timeline-text { color: #C8B89A; }
.section-lead { color: #C8B89A; }
.hero-subtitle { color: #C8B89A; }

/* Gold brighter */
:root {
  --gold:        #D4A240;
  --gold-light:  #F0C050;
  --gold-pale:   #FAF0D8;
}

/* Nav higher contrast */
#nav-menu li a { color: #EDE5D0; }
#nav { border-bottom-width: 3px; }

/* Hero stats box borders */
.stat-box {
  border-color: rgba(212,162,64,.5);
  background: rgba(212,162,64,.08);
}

/* Card titles brighter */
.card-title { color: #FAF0D8; }

/* Section titles brighter */
.section-title { color: #FAF0D8; }

/* Red band stronger contrast */
.red-band {
  background: #5C0F0F;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}

/* Quote text high contrast */
.quote-block p { color: #FAF0D8; }

/* Table: white text on dark rows */
.record-table td { color: #EDE5D0; }
.record-table th { color: #FAF0D8; letter-spacing:.12em; }

/* Timeline heading */
.timeline-heading { color: #FAF0D8; }

/* Rich text h2 border brighter */
.rich-text h2 { border-left-color: var(--gold); color: #FAF0D8; }
.rich-text h3 { color: var(--gold-pale); }

/* Stat bar label */
.stat-bar-label { color: #C8B89A; }
.stat-bar-label strong { color: var(--gold-light); }

/* Icon image styling - high contrast border */
.icon-img { border-color: rgba(212,162,64,.4); }
.icon-img-sm { border-color: rgba(212,162,64,.3); }



/* Breadcrumb higher contrast */
.breadcrumb { color: #C8B89A; }
.breadcrumb a { color: #C8B89A; }

/* Page hero eyebrow */
.page-hero-eyebrow { color: var(--gold-light); }

/* Badge border and text */
.badge { border-color: var(--gold-light); color: var(--gold-light); }

/* Buttons */
.btn { border-color: var(--gold); color: var(--gold); }
.btn:hover { background: var(--gold); color: #050300; }

/* Origin boxes */
.origin-box h3 { color: #FAF0D8; }
.origin-box p { color: #C8B89A; }

/* Footer */
footer { border-top-color: rgba(212,162,64,.3); }
.footer-copy { color: #6B5D4A; }
.footer-nav a { color: #9E8E78; }

/* Skip to content link for accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--gold);
  color: #050300;
  padding: .5rem 1rem;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* Focus indicators for accessibility */
a:focus, button:focus { outline: 2px solid var(--gold); outline-offset: 3px; }
a:focus:not(:focus-visible) { outline: none; }

/* Print styles */
@media print {
  #nav, .hero-scroll, #lightbox { display: none !important; }
  .page { padding-top: 0; }
  body { background: white; color: black; }
  .section-title, .card-title { color: black; }
  .gold, .text-gold { color: #8B6914; }
}



/* =============================================
   JOOMA FOOTER BAND
   ============================================= */
.footer-jooma {
  background: #050300;
  border-top: 2px solid #D4A240;
  padding: 1.4rem 1.5rem 1.6rem;
  text-align: center;
}
.footer-jooma-inner {
  max-width: 700px;
  margin: 0 auto;
}
.footer-jooma p {
  font-family: 'Oswald', sans-serif;
  font-size: .60rem;
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 2.1;
  color: #6E6256;
  margin: 0;
  text-align: center;
}
.footer-jooma strong {
  color: #9E8E78;
  font-weight: 600;
}
.footer-jooma a {
  color: #9E8E78;
  text-decoration: none;
  border-bottom: 1px solid rgba(158,142,120,.35);
  transition: color .2s, border-color .2s;
}
.footer-jooma a:hover {
  color: #D4A240;
  border-bottom-color: #D4A240;
}
.yr-auto {
  display: inline;
}
