/* Nqabara Eco River Lodge
   Palette follows the land into the sea: forest and mangrove greens
   at the top of each page, ocean blues at the bottom. */

:root {
  --forest: #173f2c;
  --forest-deep: #0f2c1f;
  --mangrove: #4a7350;
  --moss: #dfe8dc;
  --ocean: #0e3a5b;
  --ocean-deep: #0a2a42;
  --surf: #2b7f99;
  --sea-mist: #dcebef;
  --sand: #e3d6b8;
  --mist: #f1f4f0;
  --white: #ffffff;
  --ink: #15241c;
  --ink-soft: #4b5a51;
  --line: #c9d3c8;

  --serif: "Young Serif", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 1.4rem + 2.4vw, 2.75rem);
  --step-4: clamp(2.5rem, 1.6rem + 4vw, 4.25rem);
  --step-5: clamp(2.5rem, 1.4rem + 4.6vw, 5.25rem);

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --wrap: 72rem;
  --radius: 6px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.25; }
p { margin: 0 0 1em; max-width: 64ch; }

a { color: var(--ocean); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--surf); }

:focus-visible { outline: 3px solid var(--surf); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: -999px; top: 0.5rem; z-index: 100;
  background: var(--white); padding: 0.5rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { left: 0.5rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--forest);
  color: var(--white);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 4.5rem;
}
.brand { color: inherit; text-decoration: none; display: flex; flex-direction: column; line-height: 1.05; }
.brand:hover { color: inherit; }
.brand img { height: 2.75rem; width: auto; }
@media (max-width: 24rem) { .brand img { height: 2.25rem; } }

.nav-list { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  color: var(--white); text-decoration: none; font-size: 0.9375rem;
  padding: 0.5rem 0.65rem; border-radius: var(--radius); display: block;
}
.nav-list a:hover { background: rgb(255 255 255 / 0.1); color: var(--white); }
.nav-list a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--sand); border-radius: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: 600 0.9375rem/1 var(--sans);
  padding: 0.85rem 1.3rem; border-radius: var(--radius);
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-book { background: var(--sand); color: var(--forest-deep); }
.btn-book:hover { background: var(--white); color: var(--forest-deep); }
.btn-ocean { background: var(--ocean); color: var(--white); }
.btn-ocean:hover { background: var(--surf); color: var(--white); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgb(255 255 255 / 0.12); color: inherit; }
.on-light .btn-ghost:hover { background: var(--moss); }

.nav-toggle {
  display: none; background: none; border: 2px solid rgb(255 255 255 / 0.4); color: var(--white);
  font: 600 0.9375rem var(--sans); padding: 0.5rem 0.8rem; border-radius: var(--radius); cursor: pointer;
}

@media (max-width: 77rem) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute; inset: 100% 0 auto 0;
    background: var(--forest); padding: 0.5rem var(--gutter) 1.25rem;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list a { padding: 0.8rem 0.25rem; border-bottom: 1px solid rgb(255 255 255 / 0.12); border-radius: 0; }
  .nav-list a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--sand); padding-left: 0.8rem; }
  .nav-list .btn { margin-top: 1rem; border-bottom: 0; padding: 0.95rem; }
}

/* ---------- Home hero ---------- */

.hero {
  position: relative; color: var(--white);
  min-height: min(92vh, 52rem);
  display: grid; align-items: end;
  overflow: hidden; isolation: isolate;
}
.hero img, .hero video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgb(10 30 22 / 0.82) 0%, rgb(10 30 22 / 0.35) 45%, rgb(10 30 22 / 0) 75%);
}
.hero .wrap { padding-block: 4rem clamp(3rem, 8vh, 6rem); }
.hero h1 { font-size: var(--step-5); max-width: 15ch; margin-bottom: 0.35em; }
.hero p { font-size: var(--step-1); max-width: 40ch; opacity: 0.95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero-credit { font-size: var(--step--1); opacity: 0.7; margin-top: 2.5rem; }

/* Inner page heading over a photo */
.page-hero {
  position: relative; color: var(--white); isolation: isolate;
  min-height: 22rem; display: grid; align-items: end; overflow: hidden;
}
.page-hero img, .page-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgb(10 30 22 / 0.78), rgb(10 30 22 / 0.1) 70%);
}
.page-hero .wrap { padding-block: 3rem 2.5rem; }
.page-hero h1 { margin-bottom: 0.2em; }
.page-hero p { font-size: var(--step-1); margin: 0; opacity: 0.95; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.bg-moss { background: var(--moss); }
.bg-forest { background: var(--forest); color: var(--white); }
.bg-forest a:not(.btn) { color: var(--sand); }
.bg-ocean { background: var(--ocean); color: var(--white); }
.bg-ocean a:not(.btn) { color: var(--sea-mist); }
.bg-sea-mist { background: var(--sea-mist); }

.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink); }
.muted { color: var(--ink-soft); }
.bg-forest .muted, .bg-ocean .muted { color: rgb(255 255 255 / 0.75); }

/* Text beside photo */
.split {
  display: grid; gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 52rem) {
  .split { grid-template-columns: 1.05fr 1fr; }
  .split.reverse > :first-child { order: 2; }
  .split.wide-img { grid-template-columns: 1.4fr 1fr; }
}
.split img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }

/* Intro + key facts */
.intro { display: grid; gap: 3rem; }
@media (min-width: 56rem) { .intro { grid-template-columns: 1.6fr 1fr; align-items: start; } }

.facts { margin: 0; border-top: 2px solid var(--forest); }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink-soft); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }

/* River / sea / forest columns */
.habitats { display: grid; gap: 2rem; margin-top: 2rem; }
@media (min-width: 52rem) { .habitats { grid-template-columns: repeat(3, 1fr); } }
.habitat img, .habitat video { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.25rem; }
.habitat h3 { font-size: var(--step-2); }
.habitat p { color: var(--ink-soft); }

.section-head { max-width: 46rem; }

/* Full-width photo with text */
.feature-band { position: relative; isolation: isolate; color: var(--white); overflow: hidden; }
.feature-band img, .feature-band video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.feature-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgb(10 42 66 / 0.88) 0%, rgb(10 42 66 / 0.55) 50%, rgb(10 42 66 / 0.05) 100%);
}
.feature-band .wrap { padding-block: clamp(5rem, 12vw, 9rem); }
.feature-band .content { max-width: 34rem; }

/* Call to action at the foot of each page */
.cta {
  display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between;
}
.cta h2 { margin: 0; max-width: 20ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Accommodation ---------- */

.stay { padding-block: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line); }
.stay:last-of-type { border-bottom: 0; }
.stay-gallery { display: grid; gap: 0.75rem; grid-template-columns: 2fr 1fr; }
.stay-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.stay-gallery img:first-child { grid-row: span 2; aspect-ratio: 4 / 3.4; }
.stay-gallery img:not(:first-child) { aspect-ratio: 4 / 3; }
.stay .sleeps { font-weight: 600; color: var(--mangrove); margin-bottom: 0.75rem; }

.tick-list { list-style: none; margin: 1rem 0 1.5rem; padding: 0; }
.tick-list li { padding: 0.45rem 0 0.45rem 1.75rem; position: relative; border-bottom: 1px solid var(--line); }
.tick-list li::before {
  content: ""; position: absolute; left: 0.2rem; top: 0.95rem;
  width: 0.7rem; height: 0.4rem; border-left: 2px solid var(--mangrove); border-bottom: 2px solid var(--mangrove);
  transform: rotate(-45deg);
}
.bg-forest .tick-list li { border-color: rgb(255 255 255 / 0.15); }
.bg-forest .tick-list li::before { border-color: var(--sand); }

.eco-points { display: grid; gap: 2rem; margin-top: 2rem; }
@media (min-width: 48rem) { .eco-points { grid-template-columns: repeat(3, 1fr); } }
.eco-points h3 { color: var(--sand); }

/* ---------- Rates ---------- */

.rate-block + .rate-block { margin-top: 3.5rem; }
.rate-block h3 { font-size: var(--step-2); margin-bottom: 0.25em; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 1rem; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 30rem; }
caption { text-align: left; color: var(--ink-soft); padding-bottom: 0.5rem; }
th, td { text-align: left; padding: 0.85rem 1rem 0.85rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: var(--step--1); color: var(--ink-soft); font-weight: 600; border-bottom: 2px solid var(--forest); }
td.price, th.price { text-align: right; padding-right: 0; white-space: nowrap; }
td.price { font-weight: 600; font-size: var(--step-1); color: var(--forest); }
tbody th { font-weight: 600; }
/* Phones: let the rate tables wrap so the price column stays on screen */
@media (max-width: 34rem) {
  table { min-width: 0; }
  th, td { padding-right: 0.6rem; }
  td.price { font-size: var(--step-0); }
}

.rate-notes { display: grid; gap: 0.25rem 2rem; margin-top: 1rem; color: var(--ink-soft); font-size: 0.9375rem; }
@media (min-width: 40rem) { .rate-notes { grid-template-columns: auto 1fr; } }
.rate-notes dt { font-weight: 600; color: var(--ink); }
.rate-notes dd { margin: 0 0 0.5rem; }

.extras { columns: 2 22rem; column-gap: 3rem; margin-top: 2rem; }
.extras-group { break-inside: avoid; margin-bottom: 2rem; }
.extras-group h3 { margin-bottom: 0.25rem; }
.extras-group table { min-width: 0; }
.extras-group td.price { font-size: var(--step-0); }

.booking-options { display: grid; gap: 3rem; }
@media (min-width: 56rem) { .booking-options { grid-template-columns: 1fr 1.3fr; } }

/* ---------- Forms ---------- */

.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 40rem) { .form-row { grid-template-columns: 1fr 1fr; } }
label { display: block; font-weight: 600; font-size: 0.9375rem; margin-bottom: 0.35rem; }
.hint { font-weight: 400; color: var(--ink-soft); }
input, textarea, select {
  width: 100%; font: inherit; color: var(--ink);
  padding: 0.75rem 0.85rem; border: 1.5px solid #aebcae; border-radius: var(--radius); background: var(--white);
}
input:focus, textarea:focus, select:focus { outline: 3px solid rgb(43 127 153 / 0.35); border-color: var(--surf); }
textarea { min-height: 8rem; resize: vertical; }
.form-note { font-size: 0.9375rem; color: var(--ink-soft); margin: 0; }
.form-status { font-weight: 600; color: var(--forest); margin: 0; min-height: 1.5em; }
.form .btn { justify-self: start; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 56rem) { .contact-grid { grid-template-columns: 1fr 1.3fr; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.contact-list li { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.contact-list span { display: block; color: var(--ink-soft); font-size: 0.9375rem; }
.contact-list a { font-size: var(--step-1); font-family: var(--serif); text-decoration: none; }

.map-frame { width: 100%; aspect-ratio: 16 / 10; border: 0; border-radius: var(--radius); background: var(--moss); }

.distances { margin: 0; }
.distances div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid rgb(255 255 255 / 0.18); }
.distances dt { opacity: 0.85; }
.distances dd { margin: 0; font-weight: 600; }

/* ---------- Gallery ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filters button {
  font: 600 0.9375rem var(--sans); padding: 0.55rem 1rem; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--forest); background: transparent; color: var(--forest);
}
.filters button[aria-pressed="true"] { background: var(--forest); color: var(--white); }

.masonry { columns: 3 18rem; column-gap: 0.75rem; }
.masonry figure { margin: 0 0 0.75rem; break-inside: avoid; }
.masonry button {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden;
}
.masonry img { width: 100%; transition: transform 0.4s ease; }
.masonry button:hover img { transform: scale(1.03); }
.masonry figure[hidden] { display: none; }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh;
}
.lightbox::backdrop { background: rgb(8 22 16 / 0.92); }
.lightbox-inner { height: 100%; display: grid; grid-template-rows: auto 1fr auto; color: var(--white); }
.lightbox-bar { display: flex; justify-content: flex-end; gap: 0.5rem; padding: 0.75rem; }
.lightbox figure { margin: 0; display: grid; place-items: center; min-height: 0; padding: 0 3.5rem; }
.lightbox img { max-height: calc(100vh - 9rem); max-width: 100%; object-fit: contain; border-radius: 4px; }
.lightbox figcaption { text-align: center; padding: 0.75rem 1rem 1.25rem; opacity: 0.9; }
.lb-btn {
  background: rgb(255 255 255 / 0.12); color: var(--white); border: 0; border-radius: var(--radius);
  font: 600 0.9375rem var(--sans); padding: 0.6rem 0.9rem; cursor: pointer;
}
.lb-btn:hover { background: rgb(255 255 255 / 0.22); }
.lb-prev, .lb-next { position: fixed; top: 50%; transform: translateY(-50%); font-size: 1.5rem; padding: 0.6rem 0.9rem; }
.lb-prev { left: 0.5rem; }
.lb-next { right: 0.5rem; }
@media (max-width: 40rem) {
  .lightbox figure { padding: 0 0.5rem; }
  .lb-prev, .lb-next { top: auto; bottom: 0.75rem; transform: none; }
}

/* ---------- Ratings ---------- */

.on-light .btn-ghost { color: var(--forest); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.quotes { display: grid; gap: 2.5rem 3rem; margin-top: 2rem; }
@media (min-width: 44rem) { .quotes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 70rem) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { margin: 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.quote blockquote { margin: 0; }
.quote p { font-family: var(--serif); font-size: var(--step-1); line-height: 1.4; color: var(--forest); margin: 0 0 1rem; }
.quote figcaption { font-size: var(--step--1); color: var(--ink-soft); }
.quote figcaption strong { display: block; font-weight: 600; color: var(--ink); }
.space-top-lg { margin-top: 4.5rem; }

.rating-grid { display: grid; gap: 3rem; }
@media (min-width: 56rem) { .rating-grid { grid-template-columns: 1fr 1.4fr; gap: 5rem; } }
.rating-score { font-family: var(--serif); font-size: var(--step-1); margin: 0; color: var(--ink-soft); }
.rating-score span { display: block; font-size: clamp(5rem, 3rem + 8vw, 8.5rem); line-height: 0.95; color: var(--forest); }
.rating-word { font-family: var(--serif); font-size: var(--step-2); margin: 0.75rem 0 0.5rem; }
.rating-heading { font-size: var(--step-1); margin-bottom: 1rem; }

table.bars { min-width: 0; }
.bars th, .bars td { border-bottom: 0; padding: 0.4rem 0; vertical-align: middle; }
.bars th { width: 6.5rem; font-weight: 400; color: var(--ink-soft); }
.bars td:nth-child(2) { width: 100%; padding-right: 0.75rem; }
.bar {
  display: block; height: 0.75rem; width: max(var(--v), 0px); min-width: 0;
  background: var(--forest); border-radius: 0 4px 4px 0;
}
.bar-value { text-align: right; font-weight: 600; width: 2.5rem; }
.bars-note { font-size: var(--step--1); margin-top: 0.5rem; }

.scores { margin: 0; display: grid; gap: 0.25rem 2.5rem; }
@media (min-width: 40rem) { .scores { grid-template-columns: 1fr 1fr; } }
.scores div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.scores dt { color: var(--ink-soft); }
.scores dd { margin: 0; display: flex; align-items: center; gap: 0.75rem; }
.scores dd span { font-weight: 600; width: 1.75rem; text-align: right; }
.scores meter {
  width: 5.5rem; height: 0.5rem; border: 0; border-radius: 4px; background: var(--line);
  appearance: none; -webkit-appearance: none;
}
.scores meter::-webkit-meter-bar { background: var(--line); border: 0; border-radius: 4px; height: 0.5rem; }
.scores meter::-webkit-meter-optimum-value { background: var(--surf); border-radius: 4px; }
.scores meter::-moz-meter-bar { background: var(--surf); border-radius: 4px; }

/* Tripadvisor review widget: let it fill the column instead of its fixed width */
.ta-widget { margin-top: 2rem; max-width: 46rem; background: var(--white); border-radius: var(--radius); padding: 1rem; }
.ta-widget #CDSWIDSSP { width: 100% !important; max-width: 100%; }
.ta-widget .TA_links a { font-weight: 600; }
.ta-widget .widSSPQuote, .ta-widget .widSSPQuote * { font-size: 1rem !important; line-height: 1.5 !important; }
.ta-widget .widSSPQuote { margin-bottom: 0.6rem !important; }
.ta-widget .widSSPH11 { font-size: 0.8125rem !important; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ocean-deep); color: rgb(255 255 255 / 0.85); padding-block: 4rem 2rem; font-size: 0.9375rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--sand); }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid h2 { font-size: var(--step-1); color: var(--white); margin-bottom: 0.75rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.4rem; }
.footer-logo { width: 13rem; height: auto; margin-bottom: 1.25rem; }
.footer-base {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.15);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: rgb(255 255 255 / 0.6);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.site-footer .footer-legal a { color: inherit; }
.site-footer .footer-legal a:hover { color: var(--sand); }

/* ---------- Booking terms and privacy ---------- */

.legal { max-width: 46rem; }
.legal h2 { font-size: var(--step-2); margin-top: 2.5rem; }
.legal ul { padding-left: 1.25rem; margin: 0 0 1em; }
.legal li { margin-bottom: 0.6rem; max-width: 64ch; }

.space-top { margin-top: 2rem; }

.flush-top { padding-top: 0; }

/* ---------- Video ---------- */

.clip-portrait { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 52rem) { .clip-portrait { max-height: 34rem; } }

/* ---------- Experiences & fishing ---------- */

.xp-grid { display: grid; gap: 2.5rem 2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.xp[hidden] { display: none; }
.xp-media { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: 1rem; }
.xp h3 { margin-bottom: 0.4em; }
.xp p { margin-bottom: 0.6rem; }
.xp-meta { font-size: var(--step--1); font-weight: 600; color: var(--mangrove); }
.xp-link { font-weight: 600; }

.explore-links { display: grid; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 48rem) { .explore-links { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.explore-link { display: block; color: var(--ink); text-decoration: none; }
.explore-link img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 1rem; }
.explore-title { display: block; font-family: var(--serif); font-size: var(--step-2); color: var(--forest); }
.explore-link:hover .explore-title { text-decoration: underline; text-underline-offset: 0.15em; text-decoration-thickness: 2px; }
.explore-text { display: block; color: var(--ink-soft); margin-top: 0.25rem; max-width: 46ch; }

.photo-grid { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, 1fr); margin-top: 2rem; }
@media (min-width: 48rem) { .photo-grid { grid-template-columns: repeat(4, 1fr); } }
.photo-grid figure { margin: 0; }
.photo-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.photo-grid figcaption { font-size: var(--step--1); color: var(--ink-soft); margin-top: 0.4rem; }
.bg-forest .photo-grid figcaption { color: rgb(255 255 255 / 0.75); }

.bird-list { columns: 2 14rem; column-gap: 2rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.bird-list li { padding: 0.35rem 0; border-bottom: 1px solid rgb(255 255 255 / 0.15); break-inside: avoid; }

.price-list { margin-top: 1rem; }
.price-list table { min-width: 0; }
.price-list td.price { font-size: var(--step-0); }
.split img.tall-photo { aspect-ratio: 3 / 4; }
@media (min-width: 52rem) { .split img.tall-photo { max-height: 36rem; width: auto; max-width: 100%; margin-inline: auto; } }
.rating-grid .ta-widget { margin-top: 0; }
[id] { scroll-margin-top: 5.5rem; }

/* Header: room for eight menu items on one line */
.site-header .wrap { max-width: 92rem; }
.nav-list a { white-space: nowrap; padding-inline: 0.55rem; }
.nav-list .btn { margin-left: 0.5rem; }

/* Hide the browser's own play button (shown by iOS in Low Power Mode) so the poster image shows cleanly */
video::-webkit-media-controls,
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-overlay-play-button { display: none !important; -webkit-appearance: none; }
.form-status.is-error { color: #a12c1f; }
button[disabled] { opacity: 0.6; cursor: progress; }
