@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --orange: #ff7424;
  --orange-soft: #ff8a3d;
  --cream: #f2f1eb;
  --muted: #d1d4ce;
  --panel: rgba(7, 19, 17, .88);
  --panel-2: rgba(10, 27, 23, .82);
  --line: rgba(255, 116, 36, .48);
  --border: rgba(126, 164, 151, .32);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgba(4, 16, 14, .82), rgba(4, 16, 14, .92)),
    url("assets/hero.jpg") center top / cover fixed;
  color: var(--cream);
  font-family: Inter, Arial, sans-serif;
}

.site-shell {
  width: min(1214px, calc(100% - 24px));
  margin: 28px auto;
  overflow: hidden;
  border: 1px solid rgba(164, 183, 170, .18);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.48);
  background: rgba(5, 16, 14, .52);
}

.hero {
  position: relative;
  height: 307px;
  background: url("assets/hero-approved.jpg") center center / 100% 100% no-repeat;
}

.panel {
  margin: 12px 20px 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  min-height: 260px;
  box-shadow: inset 0 0 40px rgba(0,0,0,.14);
}

.panel-copy {
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.panel h2 {
  margin: 0 0 18px;
  color: var(--cream);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 37px;
  letter-spacing: .02em;
  line-height: 1;
  border-bottom: 3px solid var(--orange);
  width: fit-content;
  padding-bottom: 7px;
}

.icon {
  color: var(--orange);
  font-size: .72em;
  margin-right: 10px;
}

.panel p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.panel ul {
  margin: 0 0 18px;
  padding-left: 22px;
  color: #f3f3ed;
  line-height: 1.9;
  font-size: 15px;
}

.panel li::marker { color: var(--orange); }

.panel img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}

.bio-panel img {
  object-position: center;
}

.qrz { margin-top: 2px !important; }

.qrz a {
  color: var(--orange-soft);
  font-weight: 700;
  text-decoration: none;
}

.qrz a:hover { text-decoration: underline; }

.pota-section {
  margin: 12px 20px 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel-2);
  box-shadow: inset 0 0 40px rgba(0,0,0,.14);
}

.pota-intro {
  display: grid;
  grid-template-columns: 1.65fr .7fr;
  align-items: center;
  min-height: 300px;
  border-bottom: 1px solid rgba(126, 164, 151, .18);
}

.pota-copy {
  padding: 30px 34px;
}

.pota-copy h2 {
  margin: 0 0 20px;
  color: var(--cream);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 37px;
  letter-spacing: .02em;
  line-height: 1;
  border-bottom: 3px solid var(--orange);
  width: fit-content;
  padding-bottom: 7px;
}

.pota-copy p {
  max-width: 760px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.pota-link {
  margin-top: 20px !important;
}

.pota-link a {
  display: inline-block;
  color: var(--orange-soft);
  font-weight: 700;
  text-decoration: none;
}

.pota-link a:hover { text-decoration: underline; }

.pota-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 24px;
}

.pota-badge img {
  width: min(230px, 75%);
  max-height: 250px;
  object-fit: contain;
  display: block;
}

.pota-gallery {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 12px;
  padding: 12px;
}

.pota-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(126, 164, 151, .22);
  border-radius: 7px;
  background: rgba(0,0,0,.2);
  min-height: 390px;
}

.pota-photo img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: contain;
  background: rgba(0,0,0,.18);
}

.pota-photo-main img {
  height: 360px;
  object-fit: cover;
}

.pota-award img {
  height: 360px;
  padding: 12px;
  background: transparent;
}

.pota-photo figcaption {
  padding: 10px 14px 12px;
  color: #d9ddd6;
  font-size: 12px;
  letter-spacing: .03em;
}

.pota-journey {
  display: flex;
  align-items: stretch;
}

.pota-journey-copy {
  width: 100%;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pota-journey h3 {
  margin: 0 0 20px;
  color: var(--cream);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 32px;
  letter-spacing: .02em;
  line-height: 1;
  border-bottom: 3px solid var(--orange);
  width: fit-content;
  padding-bottom: 7px;
}

.pota-journey p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.pota-profile-button {
  display: inline-block;
  align-self: flex-start;
  margin-top: 6px;
  padding: 12px 18px;
  border: 2px solid var(--orange);
  border-radius: 9px;
  color: var(--orange-soft);
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.pota-profile-button:hover {
  background: var(--orange);
  color: #111;
}

.station-panel {
  min-height: 265px;
}

.station-panel img {
  object-position: center;
}

.equipment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 20px 0;
}

.equipment-grid .panel {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 220px;
  min-height: 0;
}

.equipment-grid .panel.equipment-image-only {
  display: block;
  overflow: hidden;
  align-self: start;
}

.equipment-grid .panel.equipment-image-only img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

.equipment-grid .panel-copy {
  min-height: 300px;
  padding: 25px 26px 18px;
}

.equipment-grid .panel img {
  min-height: 220px;
  height: 220px;
}

.equipment-grid .panel.equipment-image-only img {
  height: auto;
}

#mobile img { object-position: center; }

#portable img {
  object-fit: contain;
  background: rgba(0,0,0,.28);
  padding: 0;
}

footer {
  min-height: 100px;
  margin-top: 12px;
  padding: 30px 52px;
  background:
    linear-gradient(rgba(5,18,15,.56), rgba(5,18,15,.78)),
    url("assets/footer.jpg") center / cover;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #e7e9e4;
}

footer strong {
  display: block;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 24px;
  letter-spacing: .16em;
}

footer span {
  font-size: 10px;
  letter-spacing: .18em;
  margin-right: 14px;
}

.footer-tag {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 18px;
}

@media (max-width: 900px) {
  .hero-inner {
    padding: 70px 24px 24px;
  }
  .logo {
    width: 190px;
    height: 190px;
  }
  .hero-brand {
    margin-left: 25px;
  }
  .nav {
    left: 18px;
    right: 18px;
    justify-content: center;
  }
  .nav a {
    padding: 12px 10px;
    font-size: 12px;
  }
}

@media (max-width: 700px) {
  .site-shell {
    width: calc(100% - 12px);
    margin: 6px auto;
    border-radius: 18px;
  }
  .hero {
    height: auto;
    aspect-ratio: 1214 / 307;
  }

  .panel,
  .equipment-grid,
  .pota-intro,
  .pota-gallery {
    grid-template-columns: 1fr;
  }
  .panel {
    margin-left: 10px;
    margin-right: 10px;
  }
  .panel-copy { padding: 24px 22px; }
  .panel h2 { font-size: 32px; }
  .pota-section { margin-left: 10px; margin-right: 10px; }
  .pota-copy { padding: 24px 22px; }
  .pota-copy h2 { font-size: 32px; }
  .pota-badge { min-height: 220px; }
  .pota-gallery { padding: 10px; }
  .pota-photo { min-height: 0; }
  .pota-photo img, .pota-photo-main img { height: 320px; }
  .pota-award img { height: 320px; }
  .pota-journey-copy { padding: 24px 22px; }
  .pota-journey h3 { font-size: 32px; }
  .panel img { min-height: 210px; }
  .equipment-grid {
    margin-left: 10px;
    margin-right: 10px;
  }
  .equipment-grid .panel {
    grid-template-rows: auto 210px;
  }
  .equipment-grid .panel.equipment-image-only {
    min-height: 0;
  }
  .equipment-grid .panel.equipment-image-only img {
    height: auto;
    min-height: 0;
  }
  footer {
    padding: 25px 25px;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}


/* Current POTA activity + parks map */
.pota-live{margin-top:18px;padding:28px;border:1px solid rgba(255,255,255,.13);border-radius:14px;background:rgba(2,17,15,.72);box-shadow:0 18px 50px rgba(0,0,0,.20)}
.pota-live-heading,.pota-map-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.pota-live-heading h2,.pota-map-heading h2{margin:0}.pota-live-intro,.pota-map-heading p{margin:8px 0 0;color:rgba(255,255,255,.78)}.pota-text-link{color:#ff7626;font-weight:800;text-decoration:none;white-space:nowrap}.pota-text-link:hover{text-decoration:underline}.section-dot{display:inline-block;width:13px;height:13px;margin:0 12px 2px 0;border-radius:50%;background:#ff7626;vertical-align:middle}.pota-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);margin-top:24px;border:1px solid rgba(255,255,255,.10);border-radius:12px;overflow:hidden}.pota-stat-card{display:flex;align-items:center;gap:14px;min-height:105px;padding:18px 22px;background:rgba(0,0,0,.22);border-right:1px solid rgba(255,255,255,.10)}.pota-stat-card:last-child{border-right:0}.pota-stat-icon{font-size:26px;width:34px;text-align:center}.pota-stat-value{color:#f6f3eb;font-size:34px;line-height:1;font-weight:900;letter-spacing:.5px}.pota-stat-label{margin-top:8px;color:#ff7626;font-size:12px;font-weight:900;letter-spacing:1.3px}.pota-updated{margin:10px 2px 20px;color:rgba(255,255,255,.55);font-size:12px}.pota-map-card{padding-top:8px}.pota-map{height:520px;margin-top:18px;border:1px solid rgba(255,255,255,.12);border-radius:12px;overflow:hidden;background:#10201d}.map-legend{color:rgba(255,255,255,.72);font-size:13px;white-space:nowrap}.map-pin-dot{display:inline-block;width:10px;height:10px;margin-right:7px;border-radius:50%;background:#ff7626;box-shadow:0 0 0 3px rgba(255,118,38,.22)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#071713;color:#f4f2eb}.leaflet-popup-content a{color:#ff7626}@media(max-width:850px){.pota-live-heading,.pota-map-heading{align-items:flex-start;flex-direction:column}.pota-stats-grid{grid-template-columns:repeat(2,1fr)}.pota-stat-card:nth-child(2){border-right:0}.pota-stat-card:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.10)}}@media(max-width:560px){.pota-live{padding:20px 15px}.pota-stats-grid{grid-template-columns:1fr}.pota-stat-card{border-right:0;border-bottom:1px solid rgba(255,255,255,.10)}.pota-stat-card:last-child{border-bottom:0}.pota-map{height:420px}}

.pota-leaders-card{margin-top:24px;padding-top:26px;border-top:1px solid rgba(255,255,255,.10)}
.pota-leaders-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}
.pota-leader-panel{border:1px solid rgba(255,255,255,.12);border-radius:12px;overflow:hidden;background:rgba(0,0,0,.20)}
.pota-leader-panel h3{margin:0;padding:16px 18px;color:#f6f3eb;font-size:18px;text-transform:uppercase;letter-spacing:.8px;border-bottom:1px solid rgba(255,255,255,.10)}
.pota-leader-list{display:flex;flex-direction:column}
.pota-leader-row{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;padding:13px 18px;border-bottom:1px solid rgba(255,255,255,.08);font-size:16px}
.pota-leader-row:last-child{border-bottom:0}
.pota-leader-rank{color:rgba(255,255,255,.55);font-weight:800;text-align:center}
.pota-leader-call{color:#f4f2eb;font-weight:700}
.pota-leader-call.is-you{color:#ff7626}
.pota-leader-value{color:#f4f2eb;font-weight:800;font-variant-numeric:tabular-nums}
.pota-leader-empty{padding:18px;color:rgba(255,255,255,.58)}
.pota-leader-source{margin:12px 2px 0;color:rgba(255,255,255,.50);font-size:12px}
@media(max-width:700px){.pota-leaders-grid{grid-template-columns:1fr}}


/* My Favorite Parks */
.favorite-parks-section{
  margin:18px 20px 0;
  padding:28px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:14px;
  background:rgba(2,17,15,.72);
  box-shadow:0 18px 50px rgba(0,0,0,.20);
}
.favorite-parks-heading h2{
  margin:0;
  color:var(--cream);
  font-family:"Barlow Condensed",Impact,sans-serif;
  font-size:37px;
  letter-spacing:.02em;
  line-height:1;
}
.favorite-parks-heading p{
  max-width:1040px;
  margin:10px 0 0;
  color:rgba(255,255,255,.80);
  font-size:14px;
  line-height:1.65;
}
.favorite-parks-gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:22px;
}
.favorite-park-card{
  margin:0;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  background:rgba(0,0,0,.22);
}
.favorite-park-card img{
  display:block;
  width:100%;
  height:330px;
  object-fit:cover;
}
.favorite-park-card figcaption{
  padding:13px 16px 15px;
  color:#f4f2eb;
}
.favorite-park-card figcaption strong{
  display:block;
  font-size:16px;
}
.favorite-park-card figcaption span{
  display:block;
  margin-top:4px;
  color:rgba(255,255,255,.58);
  font-size:12px;
}
@media(max-width:700px){
  .favorite-parks-section{margin-left:10px;margin-right:10px;padding:20px 15px}
  .favorite-parks-heading h2{font-size:32px}
  .favorite-parks-gallery{grid-template-columns:1fr}
  .favorite-park-card img{height:320px}
}


/* YouTube park videos */
.youtube-section{
  margin:18px 20px 0;
  padding:0 8px 18px;
}
.youtube-intro{
  margin:0 0 10px;
  text-align:center;
  color:rgba(255,255,255,.86);
  font-size:20px;
  line-height:1.5;
}
.youtube-banner-link{
  display:block;
  width:100%;
  max-width:900px;
  margin:0 auto;
  line-height:0;
  text-decoration:none;
}
.youtube-banner{
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  object-fit:contain;
  border-radius:12px;
  transition:transform .15s ease, filter .15s ease;
}
.youtube-banner-link:hover .youtube-banner{
  transform:translateY(-1px);
  filter:brightness(1.03);
}
@media(max-width:700px){
  .youtube-section{margin-left:10px;margin-right:10px;padding-left:5px;padding-right:5px}
  .youtube-intro{font-size:17px}
  .youtube-banner-link{max-width:calc(100% - 10px)}
}
