/* NOMAD — tours & adventures starter. Sand-white + deep ocean ink,
   sunset-coral brand, lagoon-teal accent. Bricolage Grotesque display /
   Karla body. Tokens feed the CMS block library. */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,800&family=Karla:wght@400;500;700&display=swap');

:root {
  --t-bg: #fdfaf4;
  --t-bg-alt: #f4ede0;
  --t-fg: #11293b;
  --t-muted: #54687a;
  --t-brand: #f25c3d;
  --t-brand-fg: #fff8f3;
  --t-accent: #128a8c;
  --t-dark-bg: #0b1f2e;
  --t-dark-fg: #f3ede1;
  --t-border: #e6dcc9;
  --t-radius: 12px;
  --t-font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --t-font-body: "Karla", system-ui, sans-serif;
  --t-maxw: 1140px;
  --t-shadow: 0 4px 20px rgba(17, 41, 59, .08);
  --t-display-weight: 800;
  --t-display-tracking: -0.02em;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: var(--t-font-body); color: var(--t-fg); background: var(--t-bg); }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(253, 250, 244, .92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--t-border);
}
.site-header .bar {
  max-width: var(--t-maxw); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 26px;
}
.logo { font-family: var(--t-font-display); font-weight: 800; font-size: 22px; color: var(--t-fg);
  text-decoration: none; letter-spacing: -.02em; }
.logo .compass { color: var(--t-brand); }
.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a { color: var(--t-muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.site-nav a:hover { color: var(--t-accent); }
.header-cta {
  background: var(--t-brand); color: var(--t-brand-fg); font-weight: 700; font-size: 15px;
  padding: 11px 20px; border-radius: var(--t-radius); text-decoration: none;
  box-shadow: 0 8px 20px -10px var(--t-brand);
}
.header-cta:hover { filter: brightness(1.07); }
/* filmstrip gallery: the section is also .blk-gallery (a grid), so its wrapper grew to the whole strip and the page scrolled sideways (2026-10-20) */
.blk.v-filmstrip > .blk-wrap { min-width: 0; width: 100%; }
/* phones: two-row header instead of hiding the nav (was display:none with no menu; 2026-10-20) */
@media (max-width: 760px) {
  .site-header .bar { flex-wrap: wrap; column-gap: 12px; row-gap: 8px; padding: 12px 16px 10px; }
  .site-nav { display: flex; order: 3; width: 100%; margin-left: 0; gap: 6px 18px; flex-wrap: wrap; }
  .header-cta { margin-left: auto; padding: 9px 14px; font-size: 14px; max-width: 100%; text-align: center; }
  .blk-logomark { white-space: normal; max-width: 100%; text-align: center; } /* long trust badges no longer push the page sideways */
}

/* footer */
.site-footer { background: var(--t-dark-bg); color: var(--t-dark-fg); }
.site-footer .inner {
  max-width: var(--t-maxw); margin: 0 auto; padding: 46px 24px;
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between;
}
.site-footer p { margin: 0; color: #8ea4b5; font-size: 14px; }
.site-footer .foot-logo { font-family: var(--t-font-display); font-weight: 800; font-size: 19px; color: var(--t-dark-fg); }
/* phones: the email row (icon + 249 px address) was 1 px wider than a 320 px screen (2026-10-20) */
@media (max-width: 360px) { .blk-contact-list li { font-size: 15px; } }
@media (max-width: 430px) {
  .blk-display, .blk-h2, .blk-h3, .blk-contact-list a { overflow-wrap: anywhere; }
}

/* r2 hero on phones (2026-11-03, Ace voice note on the brand kit: demo heroes looked like the same plain site).
   Photo-over-text heroes (v-overlay) lost their side padding (.v-overlay sets padding:0), so the text touched or ran past
   the screen edge; split heroes showed only text on a plain background above the fold. Desktop (>1180 px) unchanged. */
@media (max-width: 1180px) {
  .blk-hero-split.v-overlay .hero-copy { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 760px) {
  .blk-hero-split.v-overlay .hero-copy { padding: 112px 22px 72px; max-width: 100%; }
  .blk-hero-split.v-overlay .hero-media::after { background: linear-gradient(180deg, rgba(8,10,14,.55) 0%, rgba(8,10,14,.78) 55%, rgba(8,10,14,.9) 100%); }
  .blk-hero-split:not(.v-overlay) { padding-top: 0; }
  .blk-hero-split:not(.v-overlay) .hero-split-grid { gap: 26px; }
  .blk-hero-split:not(.v-overlay) .hero-media { order: -1; margin: 0 -20px; }
  .blk-hero-split:not(.v-overlay) .hero-media img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 0; }
  .blk-hero-split:not(.v-overlay) .hero-media::after { display: none; }
  .blk-hero-split .blk-display { overflow-wrap: break-word; }
}
/* r2: ghost button on a photo hero was dark-on-dark on light themes (Vega "Meet our team" was invisible) */
.blk-hero-split.v-overlay:not(.bg-dark) .blk-btn.ghost { color: #fff; border-color: rgba(255,255,255,.7); }
/* r2: a photo hero fills the phone screen, text sits low over the photo */
@media (max-width: 760px) {
  .blk-hero-split.v-overlay .hero-copy { min-height: 86svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 72px; }
}
