/* Hunt Venture Safaris — page layout. Components come from components.css; values only from tokens.css. */
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--field); color: var(--ink); font-family: var(--font-sans); font-size: 17px; line-height: 28px; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: var(--brass); }
:focus-visible { outline: var(--focus-width) solid var(--brass-bright); outline-offset: 2px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 16px; background: var(--plate); color: #1B211E; font-weight: 600; border-radius: var(--radius-2); }
.skip-link:focus { top: 16px; }
.muted { color: var(--ink-muted); }

.wrap { max-width: var(--container-max); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.narrow { max-width: 760px; }
.stack { display: flex; flex-direction: column; gap: var(--space-6); }
.stack p, .two-col p, .narrow p { margin: var(--space-3) 0 0; }
.h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 36px; line-height: 42px; }
.h3 { margin: 0; font-family: var(--font-sans); font-weight: 600; font-size: 22px; line-height: 28px; }
.big { font-size: 22px; line-height: 30px; font-weight: 600; }

/* Header: floating glass nav over the page */
.site-header { position: sticky; top: 0; z-index: var(--z-nav); padding: var(--space-3) max(var(--space-3), env(safe-area-inset-right, 0px)) 0 max(var(--space-3), env(safe-area-inset-left, 0px)); height: 0; overflow: visible; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--field); }
.hvs-nav { top: 0; padding-left: var(--space-4); }
.site-logo { display: inline-flex; align-items: center; min-height: var(--target-min); }
.site-logo img { display: block; height: 50px; width: auto; }
.nav-lang a { font-variant-caps: all-small-caps; letter-spacing: .06em; }
.nav-cta-mobile { display: none; }
@media (max-width: 860px) {
  .site-logo img { height: 40px; }
  .nav-cta-mobile { display: inline-flex; margin-left: auto; }
  .hvs-nav-toggle { margin-left: 0; }
}
main { display: block; }
main > :first-child:not(.hero) { padding-top: calc(var(--nav-height) + var(--space-8)); }

/* Bands */
.band { padding: var(--space-9) 0; }
.band-tight { padding: var(--space-6) 0 var(--space-9); }
.band-deep { background: var(--field-deep); }
.band .hvs-heading { margin-bottom: var(--space-6); }
.display { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 6.4vw, 72px); line-height: 1.04; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
.hvs-heading h1, .hvs-heading h2 { text-wrap: balance; }
@media (max-width: 640px) {
  .band { padding: var(--space-8) 0; }
  .hvs-heading h1 { font-size: 36px; line-height: 42px; }
  .hvs-heading h2, .h2 { font-size: 30px; line-height: 36px; }
}

/* Hero */
.hero { position: relative; isolation: isolate; min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: #F4F1EA; background: var(--brand-field); }
.hero-hunt { min-height: min(78vh, 720px); }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,25,22,.55) 0%, rgba(20,25,22,.25) 35%, rgba(20,25,22,.80) 78%, rgba(20,25,22,.92) 100%); }
.hero-inner { display: flex; flex-direction: column; gap: var(--space-4); padding-top: calc(var(--nav-height) + var(--space-9)); padding-bottom: var(--space-9); max-width: var(--container-max); width: 100%; }
.hero .hvs-eyebrow { color: #E3C47F; }
.hero .hvs-eyebrow, .hero h1, .hero .lede, .hero .hero-sci, .hero .crumbs { text-shadow: 0 1px 2px rgba(10,13,11,.55), 0 0 24px rgba(10,13,11,.45); }
.hero .lede { max-width: 60ch; margin: 0; font-size: 20px; line-height: 32px; color: rgba(244,241,234,.92); }
.hero-sci { margin: 0; font-style: italic; color: rgba(244,241,234,.85); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-3); }
.hvs-btn.on-photo { color: #F4F1EA; border-color: rgba(244,241,234,.7); }
.hvs-btn.on-photo:hover { background: rgba(244,241,234,.12); color: #F4F1EA; }
.hero .crumbs a, .hero .crumbs span { color: rgba(244,241,234,.85); }

/* Breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0 0 var(--space-4); padding: 0; list-style: none; font-size: 14px; line-height: 20px; }
.crumbs li { display: flex; align-items: center; gap: var(--space-2); }
.crumbs li + li::before { content: "/"; color: var(--ink-muted); }
.hero .crumbs li + li::before { color: rgba(244,241,234,.6); }
.crumbs a { color: var(--ink-muted); text-decoration: none; }
.crumbs a:hover { color: var(--brass); text-decoration: underline; }
.crumbs span { color: var(--ink); }

.page-head { padding-bottom: var(--space-6); }
.page-head-center { text-align: center; min-height: 50vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.center-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-6); }
.page-media { margin-bottom: var(--space-4); }
.page-media img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius-1); }

/* Grids */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.card-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1000px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .card-grid, .card-grid-2 { grid-template-columns: 1fr; } }
.hunt-card[hidden] { display: none; }
.hvs-card-media { display: block; overflow: hidden; }
.hvs-card-media picture { display: block; width: 100%; height: 100%; }
.card-grid-5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.card-grid-5 > :nth-child(-n+3) { grid-column: span 2; }
.card-grid-5 > :nth-child(n+4) { grid-column: span 3; }
.card-grid-5 > :nth-child(n+4) .hvs-card-media { aspect-ratio: 16 / 9; }
@media (max-width: 1000px) { .card-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .card-grid-5 > * { grid-column: auto !important; } .card-grid-5 > :nth-child(n+4) .hvs-card-media { aspect-ratio: 3 / 2; } }
@media (max-width: 640px) { .card-grid-5 { grid-template-columns: 1fr; } }
.card-link { color: inherit; text-decoration: none; }
.card-link:hover { color: var(--brass); }
.card-link::after { content: ""; position: absolute; inset: 0; }
.hunt-card { position: relative; }
.hunt-card .hvs-card-foot a { position: relative; z-index: 1; }
.card-text { margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 24px; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-8); align-items: center; }
.split-top { align-items: start; }
.split-photo .split-media img { width: 100%; border-radius: var(--radius-1); aspect-ratio: 4 / 3; object-fit: cover; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: start; }
@media (max-width: 860px) { .split, .two-col { grid-template-columns: 1fr; gap: var(--space-6); } }
.south-note { margin: var(--space-5) 0 0; color: var(--ink-muted); font-size: 15px; }
.hvs-elev-col a { text-decoration: none; }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6); }
.why-item { border-top: var(--rule-width) solid var(--brass-rule); padding-top: var(--space-4); }
.why-item h3 { margin: 0 0 var(--space-2); font-size: 19px; line-height: 26px; }
.why-item p { margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 24px; }
@media (max-width: 1000px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.guide-list { margin: var(--space-4) 0 0; padding: 0; list-style: none; border-top: var(--rule-width) solid var(--line); }
.guide-list li { border-bottom: var(--rule-width) solid var(--line); }
.guide-link { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); min-height: 56px; color: var(--ink); text-decoration: none; font-weight: 600; }
.guide-link:hover { color: var(--brass); }
.beyond { display: flex; flex-wrap: wrap; gap: var(--space-5); align-items: end; justify-content: space-between; }
.beyond .hvs-heading { margin-bottom: 0; }

/* CTA band */
.cta-band { background: var(--panel); border-top: var(--rule-width) solid var(--brass-rule); }
.cta-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-5); }
.cta-inner h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 36px; line-height: 42px; }
.cta-inner p { margin: var(--space-2) 0 0; color: var(--ink-muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* Hunt page */
.rate-note { margin-top: var(--space-5); }
.faq details { border-bottom: var(--rule-width) solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--space-4); align-items: center; min-height: 56px; padding: var(--space-3) 0; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--brass); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 var(--space-4); color: var(--ink-muted); }
.gallery-h { margin-top: var(--space-8); margin-bottom: var(--space-5); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-1); }
.gallery figcaption { margin-top: var(--space-2); font-size: 13px; line-height: 20px; color: var(--ink-muted); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } }
.sticky-bar { display: none; }
@media (max-width: 760px) {
  .sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-menu); display: flex; gap: var(--space-2); padding: var(--space-2) max(var(--space-3), env(safe-area-inset-right, 0px)) calc(var(--space-2) + env(safe-area-inset-bottom, 0px)) max(var(--space-3), env(safe-area-inset-left, 0px)); background: var(--glass); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-top: var(--rule-width) solid var(--line); }
  .sticky-bar .hvs-btn { flex: 1; }
  body.has-sticky { padding-bottom: 72px; }
}

/* Compare table */
.table-wrap { overflow-x: auto; border: var(--rule-width) solid var(--line); border-radius: var(--radius-1); }
table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 22px; font-variant-numeric: tabular-nums; }
th, td { padding: var(--space-3) var(--space-4); text-align: left; vertical-align: top; border-bottom: var(--rule-width) solid var(--line); }
thead th { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); background: var(--panel); border-bottom-color: var(--brass-rule); white-space: nowrap; }
tbody th a { color: var(--ink); font-weight: 600; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td { min-width: 140px; }

/* Filter */
.filter { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin-top: var(--space-5); }
.filter .hvs-select { width: auto; min-width: 200px; }
.filter-status { margin: 0; }

/* Plan page */
.reply-badge { display: inline-flex; align-items: center; gap: var(--space-2); margin: var(--space-4) 0 0; padding: var(--space-2) var(--space-3); background: var(--panel); border-radius: var(--radius-2); font-weight: 600; font-size: 15px; color: var(--ink); }
.reply-badge .hvs-icon { color: var(--brass); }
.plan-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--space-8); align-items: start; }
@media (max-width: 960px) { .plan-grid { grid-template-columns: 1fr; } }
.plan-aside { display: flex; flex-direction: column; gap: var(--space-6); }
.next-steps ol { margin: var(--space-4) 0 0; padding: 0; list-style: none; counter-reset: s; }
.next-steps li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; column-gap: var(--space-3); padding: var(--space-3) 0; border-bottom: var(--rule-width) solid var(--line); }
.next-steps li::before { content: counter(s); grid-row: span 2; width: 28px; height: 28px; display: grid; place-items: center; border: var(--rule-width) solid var(--brass-rule); border-radius: var(--radius-full); color: var(--brass); font-size: 13px; font-weight: 600; }
.next-steps b { font-weight: 600; }
.next-steps span { color: var(--ink-muted); font-size: 15px; line-height: 24px; }
.chip-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.two-num { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.two-num > div { display: flex; flex-direction: column; gap: var(--space-2); }
.consent { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 15px; line-height: 24px; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--brass-bright); }
.form-error { margin-bottom: var(--space-5); }
.form-error .hvs-icon, .form-error strong { color: var(--crimson-on-dark); }
.send-panel { display: flex; flex-direction: column; gap: var(--space-4); margin-top: var(--space-6); }
.send-preview { margin: 0; padding: var(--space-4); background: var(--field-deep); border: var(--rule-width) solid var(--line); border-radius: var(--radius-1); white-space: pre-wrap; font: 15px/24px var(--font-sans); color: var(--ink); }
.send-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hvs-contact { max-width: none; }
.hvs-contact .card-h { margin: 0; font-size: 22px; line-height: 28px; }
.reply-note { margin: 0; font-size: 15px; color: var(--ink-muted); }

/* Prose (guides, about, etc.) */
.guide-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--space-8); align-items: start; }
.guide-aside { position: sticky; top: 104px; }
@media (max-width: 960px) { .guide-grid { grid-template-columns: 1fr; } .guide-aside { position: static; } }
.updated { margin: var(--space-3) 0 0; font-size: 14px; color: var(--ink-muted); }
.prose { max-width: 72ch; }
.prose h2 { margin: var(--space-8) 0 var(--space-3); font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 38px; text-wrap: balance; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: var(--space-6) 0 var(--space-2); font-size: 20px; line-height: 28px; }
.prose p { margin: 0 0 var(--space-4); }
.prose ul, .prose ol { margin: 0 0 var(--space-4); padding-left: 1.3em; }
.prose li { margin: var(--space-1) 0; }
.prose li::marker { color: var(--brass); }
.prose a { color: var(--ink); text-decoration-color: var(--brass-rule); text-underline-offset: 3px; }
.prose a:hover { color: var(--brass); }
.prose blockquote { margin: 0 0 var(--space-6); padding: var(--space-4) var(--space-5); background: var(--panel); border-top: var(--rule-width) solid var(--brass-rule); border-radius: var(--radius-1); }
.prose blockquote p:last-child { margin: 0; }
.prose .table-wrap { margin: 0 0 var(--space-5); }
.prose strong { font-weight: 650; }

/* Footer */
.footer-logo { width: 240px; height: auto; margin-bottom: var(--space-4); }
.footer-brand p { margin: 0 0 var(--space-3); }
.footer-brand address { font-style: normal; }
.footer-brand address a { min-height: 32px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .site-header, .sticky-bar, .cta-band, .hvs-footer { display: none; } }
