
:root {
  --gold: #ffcc00;
  --red: #ff2818;
  --white: #ffffff;
  --text: #f4f4f4;
  --panel-width: 700px;
  --shadow: 0 12px 30px rgba(0,0,0,.45);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  font-family: Verdana, Arial, sans-serif;
  color: var(--text);
  background-color: #171918;
  background-image: url('../images/theme/browser-bg.jpg');
  background-position: top center;
  background-repeat: repeat-x;
}

a { color: var(--gold); }
a:hover { color: #ffd95e; }

.site-shell {
  width: min(var(--panel-width), calc(100% - 24px));
  margin: 0 auto;
}

.page-panel {
  background: #111 url('../images/theme/content-bg.jpg') top center repeat-y;
  min-height: 100vh;
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  min-height: 250px;
  background: #000 url('../images/theme/spotlight.jpg') top center no-repeat;
  overflow: hidden;
}

.hero .corner-left,
.hero .corner-right {
  position: absolute;
  top: 4px;
  width: 256px;
  max-width: 38%;
  height: auto;
  opacity: .95;
  pointer-events: none;
}
.hero .corner-left { left: 0; }
.hero .corner-right { right: 0; }

.hero-title {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 46px 16px 10px;
}
.hero-title img {
  width: min(500px, 92%);
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.4));
}

.top-nav {
  position: relative;
  z-index: 2;
  background: rgba(0,0,0,.55);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.top-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.top-nav a {
  display: block;
  padding: 14px 24px;
  color: #cbcbcb;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 700;
}
.top-nav a:hover,
.top-nav a.active {
  color: var(--gold);
  background: rgba(255,255,255,.05);
}

.content {
  padding: 28px 28px 36px;
}

.section-title {
  margin: 0 0 20px;
  color: var(--red);
  font-family: "Courier New", Courier, monospace;
  font-style: italic;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.15;
  text-align: center;
  text-shadow: 1px 1px 0 rgba(0,0,0,.65);
}

.lead {
  max-width: 620px;
  margin: 0 auto 24px;
  text-align: center;
  line-height: 1.7;
  color: #efefef;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}
.home-grid .feature {
  grid-column: 1 / -1;
  max-width: 320px;
  margin: 0 auto;
}

.photo-card {
  background: rgba(20,20,20,.68);
  border: 1px solid rgba(255,255,255,.08);
  padding: 8px;
  box-shadow: 0 10px 22px rgba(0,0,0,.35);
}
.photo-card img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-wrap {
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}
.contact-card {
  background: rgba(15,15,15,.72);
  border: 1px solid rgba(255,255,255,.08);
  padding: 22px;
}
.contact-card h2 {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 22px;
}
.contact-card p {
  margin: 8px 0;
  line-height: 1.6;
}
.contact-note {
  color: #ffd56d;
  font-weight: 700;
}

.footer {
  padding: 12px 20px 30px;
  text-align: center;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .site-shell { width: calc(100% - 12px); }
  .content { padding: 22px 16px 28px; }
  .home-grid,
  .gallery { grid-template-columns: 1fr; }
  .hero { min-height: 225px; }
  .top-nav a { padding: 12px 16px; }
}


.photo-card img {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,.88);
  z-index: 9999;
}
.lightbox.is-open {
  display: flex;
}
.lightbox-dialog {
  position: relative;
  max-width: min(1000px, 92vw);
  max-height: 90vh;
}
.lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  border: 8px solid rgba(255,255,255,.08);
  box-shadow: 0 16px 40px rgba(0,0,0,.6);
  background: #111;
}
.lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #1b1b1b;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0,0,0,.4);
}
.lightbox-close:hover {
  background: #2a2a2a;
}
body.lightbox-open {
  overflow: hidden;
}


.pedigree-section {
  margin-top: 34px;
  padding-top: 12px;
}

.pedigree-title {
  margin: 0 0 10px;
  text-align: center;
  color: var(--gold);
  font-size: 26px;
}

.pedigree-note {
  margin: 0 0 18px;
  text-align: center;
  color: #e9e1b2;
}

.pedigree-table-wrap {
  overflow-x: auto;
}

.pedigree-table {
  width: min(100%, 620px);
  margin: 0 auto;
  border-collapse: collapse;
  background: rgba(15,15,15,.78);
  box-shadow: 0 10px 22px rgba(0,0,0,.35);
}

.pedigree-table td {
  border: 1px solid rgba(255,255,255,.14);
  padding: 16px 14px;
  color: var(--gold);
  vertical-align: middle;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.35;
}

.pedigree-table td:first-child {
  width: 38%;
}

.pedigree-table td:last-child {
  width: 62%;
}

.pedigree-name {
  color: var(--gold);
  font-weight: 700;
  font-size: 20px;
  text-transform: none;
  letter-spacing: 0;
}

.pedigree-allcaps {
  text-transform: uppercase;
}


.home-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 640px;
  margin: 0 auto;
}

.home-photo {
  margin: 0;
}

.photo-label {
  margin: 10px 0 2px;
  text-align: center;
  color: var(--gold);
  font-weight: 700;
  font-size: 20px;
}
