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

:root {
  --gold: #d4af37;
  --gold-dim: rgba(212,175,55,0.15);
  --gold-border: rgba(212,175,55,0.18);
  --dark:  #050505;
  --dark2: #0e0e0e;
  --dark3: #161616;
  --text:  #ddd;
  --dim:   #888;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden; /* fallback */
  overflow-x: clip;   /* modern: does not create a scroll container, so position:sticky works on iOS Safari */
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold); }

/* ── HEADER ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 16px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(4,4,4,0.8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gold-border);
  z-index: 1000;
  transition: padding 0.3s;
}

header.scrolled { padding: 10px 48px; }

.header-logo {
  font-family: 'Merriweather', serif;
  font-size: 0.88rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.header-logo-icon {
  height: 30px;
  width: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(200,149,58,0.5);
  object-fit: contain;
  background: #fff;
  padding: 1px;
  flex-shrink: 0;
}
.header-sub {
  font-size: 0.58rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--dim);
  margin-left: 0.5rem;
}

nav { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }

nav a {
  color: var(--dim);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}

nav a:hover, nav a.active { color: var(--gold); }

/* ── BUTTONS ── */
.btn-gold {
  padding: 0.75rem 2rem;
  background: var(--gold);
  color: #050505;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s;
}
.btn-gold:hover { opacity: 0.85; }

.btn-outline {
  padding: 0.75rem 2rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}
.btn-outline:hover { background: var(--gold-dim); }

/* ── PAGE HERO ── */
.page-hero {
  min-height: 52vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(64px + 4rem) 2rem 4rem;
  position: relative;
  overflow: hidden;
  background: var(--dark2);
  border-bottom: 1px solid var(--gold-border);
}

.page-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.18;
}

.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(5,5,5,0.3) 0%, rgba(5,5,5,0.85) 100%);
}

.page-hero-inner { position: relative; z-index: 1; max-width: 760px; }

.page-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.page-title {
  font-family: 'Merriweather', serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.page-title em { font-style: italic; color: var(--gold); }

.page-desc {
  font-size: 0.95rem;
  color: var(--dim);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 2rem;
}

/* ── SECTIONS ── */
.section { padding: 6rem 5rem; }
.section-dark2 { background: var(--dark2); }
.section-dark3 { background: var(--dark3); }

.section-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

.section-title {
  font-family: 'Merriweather', serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.section-title em { font-style: italic; color: var(--gold); }

.section-body {
  font-size: 0.93rem;
  color: var(--dim);
  line-height: 1.8;
  max-width: 640px;
  margin-bottom: 2.5rem;
}

/* ── DIVIDER ── */
.divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.8rem 5rem;
}

.div-line { flex: 1; height: 1px; background: var(--gold-border); }

.div-text {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── GRIDS ── */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }

/* ── CARD ── */
.card {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s;
  text-decoration: none;
  color: inherit;
}

.card:hover { border-color: rgba(212,175,55,0.45); transform: translateY(-4px); }

.card img {
  width: 100%; height: 190px;
  object-fit: cover; display: block;
  background: var(--dark3);
  transition: transform 0.5s;
}

.card:hover img { transform: scale(1.05); }

.card-body { padding: 0.75rem 0.9rem 0.9rem; }

.card-tag {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.card-title {
  font-family: 'Merriweather', serif;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0;
}

.card-title em {
  font-style: italic;
  font-weight: 300;
  font-size: 0.75rem;
  color: var(--dim);
  display: block;
  margin-top: 3px;
}

.card-desc { display: none; }

.card-status { display: none; }

.status-critical  { color: #e05555; border-color: rgba(224,85,85,0.35); }
.status-endangered{ color: #e09955; border-color: rgba(224,153,85,0.35); }
.status-vulnerable{ color: #b5c455; border-color: rgba(181,196,85,0.35); }
.status-nt        { color: #c9a84c; border-color: rgba(201,168,76,0.35); }
.status-lc        { color: #55b585; border-color: rgba(85,181,133,0.35); }
.status-dd        { color: #9e9e9e; border-color: rgba(158,158,158,0.35); }

/* ── FEATURED CARD (wide) ── */
a.featured-card {
  text-decoration: none;
  color: inherit;
}
.featured-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  background: var(--dark3);
  border: 1px solid var(--gold-border);
  overflow: hidden;
  margin-bottom: 3rem;
}

.featured-card-img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }

.featured-card-body { padding: 2.5rem 3rem; display: flex; flex-direction: column; justify-content: center; }

.featured-label {
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.featured-name {
  font-family: 'Merriweather', serif;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.3rem;
}

.featured-sci {
  font-family: 'Merriweather', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.featured-desc { font-size: 0.9rem; color: var(--dim); line-height: 1.8; margin-bottom: 1.5rem; }

.badge-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.badge {
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--gold-border);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ── GALLERY MASONRY ── */
.masonry { columns: 4; column-gap: 10px; }

.masonry .gal-item {
  break-inside: avoid;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.masonry .gal-item img { width: 100%; display: block; transition: transform 0.5s; }
.masonry .gal-item:hover img { transform: scale(1.05); }

.gal-overlay {
  position: absolute; inset: 0;
  background: rgba(5,5,5,0);
  transition: background 0.3s;
  display: flex; align-items: flex-end;
  padding: 1rem;
}

.gal-item:hover .gal-overlay { background: rgba(5,5,5,0.6); }

.gal-caption {
  font-size: 0.78rem; color: white;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}

.gal-item:hover .gal-caption { opacity: 1; transform: translateY(0); }

/* ── TIMELINE ── */
.timeline { position: relative; padding-left: 2.5rem; }

.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.tl-item { position: relative; padding: 0 0 3rem 2rem; }

.tl-item::before {
  content: '';
  position: absolute;
  left: -5px; top: 5px;
  width: 10px; height: 10px;
  border: 2px solid var(--gold);
  background: var(--dark); border-radius: 50%;
}

.tl-year { font-size: 0.65rem; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; margin-bottom: 0.3rem; }
.tl-event { font-family: 'Merriweather', serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.tl-desc { font-size: 0.85rem; color: var(--dim); line-height: 1.7; max-width: 520px; }

/* ── STATS BAR ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
}

.stat-item {
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(212,175,55,0.1);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: 'Merriweather', serif;
  font-size: 2.4rem; font-weight: 700;
  color: var(--gold); display: block;
}

.stat-lbl {
  font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: #ccc;
  margin-top: 0.4rem; display: block;
}

/* ── FILTER BAR ── */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 2rem; }

.filter-btn {
  padding: 0.5rem 1.2rem;
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--dim);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.filter-btn:hover, .filter-btn.active { border-color: var(--gold); color: var(--gold); }

/* ── MODAL ── */
.modal {
  position: fixed; inset: 0;
  background: rgba(2,2,2,0.93);
  display: none;
  justify-content: center; align-items: center;
  z-index: 2000; padding: 1.5rem;
  cursor: pointer;
}

.modal.open { display: flex; }

.modal-card {
  position: relative;
  display: flex;
  background: var(--dark3);
  border: 1px solid var(--gold-border);
  max-width: 920px;
  width: 100%;
  max-height: 88vh;
  overflow: hidden;
  cursor: default;
}

.modal-card-img { flex: 0 0 44%; }

.modal-card-img img {
  width: 100%; height: 100%;
  object-fit: contain; display: block;
  background: #0a0a0a;
  min-height: 340px;
}

.modal-card-body {
  flex: 1;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}

.modal-card-tag {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.modal-card-title {
  font-family: 'Merriweather', serif;
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.modal-card-title em {
  display: block;
  font-size: 0.85rem;
  font-weight: 300;
  font-style: italic;
  color: var(--dim);
  margin-top: 0.35rem;
}

.modal-card-desc {
  font-size: 0.9rem;
  color: var(--dim);
  line-height: 1.8;
}

.modal-card-status { margin-top: 1.5rem; }
.modal-status-hidden { display: none; }

.modal-card-funfact {
  margin-top: 1.5rem;
  padding: 0.9rem 1.1rem;
  border-left: 2px solid var(--gold);
  background: rgba(212,175,55,0.06);
}
.modal-card-funfact-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.modal-card-funfact-text {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.7;
}

.modal-close {
  position: absolute; top: 1rem; right: 1.2rem;
  color: var(--dim); font-size: 1.3rem;
  cursor: pointer; background: none; border: none;
  transition: color 0.2s; z-index: 10;
}

.modal-close:hover { color: var(--gold); }

@media(max-width:700px) {
  .modal-card { flex-direction: column; max-height: 92vh; overflow-y: auto; }
  .modal-card-img { flex: none; }
  .modal-card-img img { min-height: 200px; max-height: 50vw; }
  .modal-card-body { padding: 1.5rem; }
  .modal-card-title { font-size: 1.3rem; }
}

/* ── GUIDE ── */
.guide {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--dark3);
  border: 1px solid var(--gold-border);
  padding: 1rem 1.25rem; width: 230px; z-index: 900;
}

.guide-title { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; }
.guide-text  { font-size: 0.78rem; color: var(--dim); line-height: 1.5; }

/* ── AUDIO ── */
.audio-btn {
  position: fixed; bottom: 1.5rem; left: 1.5rem;
  display: flex; align-items: center; gap: 0.55rem;
  background: rgba(14, 11, 6, 0.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(200, 160, 60, 0.22);
  border-radius: 2rem;
  color: rgba(255,255,255,0.45);
  padding: 0.55rem 1.1rem 0.55rem 0.85rem;
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer; z-index: 900;
  transition: color 0.25s, border-color 0.25s, box-shadow 0.25s;
  box-shadow: 0 2px 16px rgba(0,0,0,0.45);
}
.audio-btn::before {
  content: '♪';
  font-size: 0.95rem;
  color: var(--gold);
  opacity: 0.6;
  transition: opacity 0.25s;
}
.audio-btn:hover { color: var(--gold); border-color: rgba(200,160,60,0.55); box-shadow: 0 2px 20px rgba(200,160,60,0.12); }
.audio-btn:hover::before { opacity: 1; }
.audio-btn.playing { color: var(--gold); border-color: rgba(200,160,60,0.45); }
.audio-btn.playing::before { opacity: 1; animation: note-pulse 1.8s ease-in-out infinite; }
@keyframes note-pulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%       { transform: scale(1.2); opacity: 0.7; }
}

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── FOOTER ── */
footer {
  background: var(--dark2);
  border-top: 1px solid var(--gold-border);
  padding: 3rem 5rem;
  display: grid;
  grid-template-columns: 1.5fr repeat(4,1fr);
  gap: 3rem;
}

.footer-brand-name {
  font-family: 'Merriweather', serif;
  font-size: 1.1rem; color: var(--gold);
  margin-bottom: 0.6rem;
}

.footer-tagline { font-size: 0.82rem; color: var(--dim); line-height: 1.65; }

.footer-placeholder { font-size: 0.82rem; color: var(--dim); }

footer h4 {
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}

footer ul { list-style: none; }

footer ul li { margin-bottom: 0.5rem; }

footer ul li a {
  font-size: 0.82rem; color: var(--dim);
  text-decoration: none; transition: color 0.2s;
}

footer ul li a:hover { color: var(--gold); }

.footer-bottom {
  background: var(--dark);
  border-top: 1px solid rgba(212,175,55,0.08);
  padding: 1.2rem 5rem;
  display: flex; justify-content: space-between;
  font-size: 0.72rem; color: rgba(136,136,136,0.6);
}

/* ── RESPONSIVE ── */
@media(max-width: 1100px) {
  .section { padding: 5rem 3rem; }
  .divider { padding: 1.5rem 3rem; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .masonry { columns: 3; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-card-img { min-height: 260px; }
  footer { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 3rem 2.5rem; }
  .footer-bottom { padding: 1.2rem 2.5rem; }
}

/* ── HAMBURGER BUTTON ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  transition: transform 0.3s, opacity 0.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); }

@media(max-width: 700px) {
  header { padding: 14px 20px; }
  header.scrolled { padding: 10px 20px; }
  .nav-toggle { display: flex; }
  header nav {
    position: fixed;
    top: 0; right: -100%;
    width: 72%;
    max-width: 280px;
    height: 100vh;
    height: 100svh;
    background: var(--dark2);
    border-left: 1px solid var(--gold-border);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0;
    transition: right 0.3s ease;
    z-index: 1050;
    flex-wrap: nowrap;
    overflow-y: auto;
  }
  header nav.open { right: 0; }
  header nav a {
    font-size: 0.88rem;
    padding: 0.8rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(212,175,55,0.08);
    letter-spacing: 0.1em;
  }
  .hero h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .section { padding: 4rem 1.5rem; }
  .divider { padding: 1.2rem 1.5rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .masonry { columns: 2; }
  .guide { display: none; }
  footer { grid-template-columns: 1fr; padding: 3rem 1.5rem; }
  .footer-bottom { padding: 1.2rem 1.5rem; flex-direction: column; gap: 0.4rem; }
}

/* ── FAUNA HUB GRID ── */
.fauna-hub-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 20px; }
.fauna-hub-card { background: var(--dark3); border: 1px solid rgba(255,255,255,0.05); overflow: hidden; display: flex; flex-direction: column; transition: border-color 0.3s, transform 0.3s; cursor: pointer; }
.fauna-hub-card:hover { border-color: rgba(212,175,55,0.45); transform: translateY(-4px); }
.fauna-hub-img-wrap { position: relative; overflow: hidden; height: 220px; }
.fauna-hub-img-wrap img { width: 100%; height: 100%; object-fit: contain; background: var(--dark3); display: block; transition: transform 0.5s; }
.fauna-hub-card:hover .fauna-hub-img-wrap img { transform: scale(1.05); }
.fauna-hub-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,5,5,0.65) 0%, transparent 60%); }
.fauna-hub-count { position: absolute; bottom: 0.75rem; right: 0.9rem; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); background: rgba(5,5,5,0.7); padding: 0.2rem 0.55rem; border: 1px solid var(--gold-border); }
.fauna-hub-body { padding: 1.4rem 1.5rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.fauna-hub-title { font-family: 'Merriweather', serif; font-size: 1.1rem; font-weight: 700; margin: 0.4rem 0 0.65rem; line-height: 1.35; }
.fauna-hub-title em { font-style: italic; color: var(--gold); }
.fauna-hub-desc { font-size: 0.82rem; color: var(--dim); line-height: 1.65; flex: 1; margin-bottom: 1.25rem; }
.fauna-hub-btn { align-self: flex-start; padding: 0.55rem 1.3rem; font-size: 0.72rem; }
.subpage-breadcrumb { position: fixed; top: 56px; left: 48px; z-index: 999; font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--dim); display: flex; gap: 0.5rem; align-items: center; }
.subpage-breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb-sep { color: var(--dim); }
.card-mb { margin-bottom: 1rem; }
.section-centered { text-align: center; }
.section-title-centered { margin-left: auto; margin-right: auto; }
.section-body-spaced { margin: 1rem auto 2rem; }
.cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── EXTINCT PAGE ── */
.status-lost  { color: #9e9e9e; border-color: rgba(158,158,158,0.35); }
.status-found { color: var(--gold); border-color: var(--gold-border); }

.card-no-img {
  width: 100%; aspect-ratio: 3/2;
  background: var(--dark2);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.card-no-img-icon {
  font-size: 2.6rem; opacity: 0.18;
  -webkit-user-select: none;
  user-select: none;
}

.card-no-img-txt {
  font-size: 0.6rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--dim);
  opacity: 0.5;
}

@media(max-width:1100px) { .fauna-hub-grid { grid-template-columns: repeat(2,1fr) !important; } }
@media(min-width:1101px) { .fauna-hub-grid > .fauna-hub-card:last-child { grid-column: 2; } }
@media(min-width:701px) and (max-width:1100px) { .fauna-hub-grid > .fauna-hub-card:last-child { grid-column: 1 / -1; width: calc(50% - 10px); margin: 0 auto; } }
@media(max-width:700px) { .fauna-hub-grid { grid-template-columns: 1fr !important; } .subpage-breadcrumb { display: none; } }

/* ── HOME HERO ── */
.hero {
  height: 100vh;
  height: 100svh;
  background:
    linear-gradient(to bottom, rgba(5,5,5,0.65) 0%, rgba(5,5,5,0.92) 100%),
    url('image/Pinas.jpg') center top/cover no-repeat,
    #111;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 0 2rem;
  position: relative;
}

.hero-eyebrow { font-size: 0.7rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; }
.hero h1 { font-family: 'Merriweather', serif; font-size: clamp(3rem, 7vw, 6.5rem); font-weight: 700; line-height: 1.15; max-width: 960px; margin-bottom: 1.2rem; color: #fff; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p { font-size: 1rem; color: #bbb; max-width: 560px; line-height: 1.8; margin-bottom: 2.5rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hero-scroll { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--dim); font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; }
.scroll-bar { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--gold), transparent); animation: scroll-pulse 1.8s ease-in-out infinite; }
@keyframes scroll-pulse { 0%,100%{opacity:.3;transform:scaleY(1)} 50%{opacity:1;transform:scaleY(1.15)} }

/* ── ISLAND GROUP EXPLORER ── */
.region-bar { display: flex; gap: 0; margin-bottom: 2.5rem; }
.region-btn { flex: 1; padding: 1rem; background: var(--dark3); border: 1px solid rgba(212,175,55,0.1); color: var(--dim); font-family: 'Merriweather', serif; font-size: 0.9rem; cursor: pointer; transition: background 0.25s, color 0.25s, border-color 0.25s; text-align: center; }
.region-btn:hover { background: rgba(212,175,55,0.08); color: var(--gold); }
.region-btn.active { background: rgba(212,175,55,0.12); border-color: var(--gold); color: var(--gold); }
.region-info { padding: 1.25rem 0 2.25rem; font-size: 0.88rem; color: var(--dim); line-height: 1.7; border-bottom: 1px solid rgba(212,175,55,0.1); margin-bottom: 2rem; min-height: 55px; }
.region-card { background: var(--dark3); border: 1px solid rgba(255,255,255,0.05); overflow: hidden; cursor: pointer; transition: border-color 0.3s, transform 0.3s; }
.region-card:hover { border-color: rgba(212,175,55,0.4); transform: translateY(-4px); }
.region-card img { width: 100%; height: 175px; object-fit: cover; display: block; transition: transform 0.5s; }
.region-card:hover img { transform: scale(1.05); }
.region-card-body { padding: 1rem 1.2rem; }
.region-card-title { font-family: 'Merriweather', serif; font-size: 0.9rem; font-weight: 700; }
.region-card-sub { font-size: 0.7rem; color: var(--dim); margin-top: 0.25rem; }

/* ── PREVIEW LINK ── */
.preview-link { display: inline-block; margin-top: 1.5rem; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(212,175,55,0.3); padding-bottom: 2px; transition: border-color 0.2s; }
.preview-link:hover { border-color: var(--gold); }

/* ── PLACES PAGE ── */
#results-hint {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted, rgba(255,255,255,0.45));
  margin-bottom: 1rem;
}
#type-filter-bar { margin-top: 0.5rem; }
#pa-no-results { display: none; }
.guide-pa-link { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
