/* ============================================================
   GRINGOS BRASIL — shared stylesheet
   Mobile-first. All breakpoints scale up from 360px.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --ink:        #0E1B14;
  --ink-2:      #1A2C22;
  --ink-3:      #2A3F33;
  --paper:      #F4EFE6;
  --paper-2:    #EBE4D5;
  --paper-3:    #E0D6BF;
  --line:       rgba(14, 27, 20, 0.12);
  --line-soft:  rgba(14, 27, 20, 0.06);

  --green:      #1F8A4C;
  --green-dark: #166639;
  --green-soft: #DCEEDF;
  --yellow:     #F4C430;
  --yellow-dark:#D4A815;
  --sky:        #4A7FB8;
  --rust:       #C2542C;
  --sand:       #D8B98C;

  --paper-glass: rgba(244, 239, 230, 0.78);
  --ink-glass:   rgba(14, 27, 20, 0.55);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(14,27,20,0.06), 0 2px 6px rgba(14,27,20,0.04);
  --shadow-md: 0 6px 18px rgba(14,27,20,0.08), 0 2px 6px rgba(14,27,20,0.04);
  --shadow-lg: 0 24px 64px rgba(14,27,20,0.18), 0 8px 24px rgba(14,27,20,0.08);

  --font-display: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --font-body:    "Geist", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-script:  "Caveat", "Brush Script MT", cursive;
  --font-mono:    "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container:    1240px;
  --gutter:       24px;
  --section-pad:  88px;

  --ease:         cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 720px) {
  :root { --gutter: 40px; --section-pad: 112px; }
}
@media (min-width: 1080px) {
  :root { --gutter: 56px; --section-pad: 144px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 400; font-family: var(--font-display); line-height: 1.05; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--green); color: var(--paper); }

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
.section-sm { padding-top: calc(var(--section-pad) * 0.6); padding-bottom: calc(var(--section-pad) * 0.6); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green-dark);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--green-dark);
}
.eyebrow.on-dark { color: var(--yellow); }
.eyebrow.on-dark::before { background: var(--yellow); }

.headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 8.4vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.015em;
}
.headline .script {
  font-family: var(--font-script);
  font-style: italic;
  font-weight: 400;
  color: var(--yellow);
  font-size: 1.05em;
  letter-spacing: 0;
  position: relative;
  white-space: nowrap;
}
.headline .script::after {
  content: ""; position: absolute; left: 4%; right: 4%; bottom: 0.12em; height: 0.08em;
  background: var(--yellow);
  border-radius: 2px;
  opacity: 0.85;
}

.lede { font-size: 17px; line-height: 1.55; color: var(--ink-3); max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 22px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: transform 0.4s var(--ease-out), background 0.3s, color 0.3s, box-shadow 0.4s var(--ease-out);
  min-height: 52px;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 24px rgba(31,138,76,0.28); }
.btn-primary:hover { background: var(--green-dark); box-shadow: 0 12px 32px rgba(31,138,76,0.4); }

.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 8px 24px rgba(244,196,48,0.32); }
.btn-yellow:hover { background: var(--yellow-dark); }

.btn-ghost { background: rgba(255,255,255,0.06); color: #fff; backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-2); }

.btn-outline { border: 1px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }

.btn .arrow { width: 18px; height: 18px; transition: transform 0.4s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s, box-shadow 0.4s;
}
.nav.on-light { color: var(--ink); }
.nav.on-dark { color: #fff; }
.nav.scrolled {
  background: var(--paper-glass);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line-soft);
}

.nav-brand {
  display: flex; align-items: center; gap: 10px;
}
.nav-brand .brand-logo {
  height: 44px;
  width: auto;
  display: block;
  transition: opacity 0.3s var(--ease-out);
}
.nav-brand .brand-logo--dark { display: none; }

/* When the nav is scrolled (light bg), swap to the dark-text logo */
.nav.scrolled .brand-logo--light { display: none; }
.nav.scrolled .brand-logo--dark  { display: block; }

/* Inside the dark mobile drawer, always show the light logo */
.nav-drawer .brand-logo--dark { display: none; }
.nav-drawer .brand-logo--light { display: block; }

.nav-links {
  display: none;
  align-items: center; gap: 4px;
}
@media (min-width: 1080px) {
  .nav-links { display: flex; }
}
.nav-links a {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  position: relative;
  transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { background: rgba(255,255,255,0.1); }
.nav.scrolled .nav-links a:hover { background: rgba(14,27,20,0.06); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}

.nav-actions { display: flex; align-items: center; gap: 6px; }
.nav-icon-btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 999px;
  transition: background 0.25s;
}
.nav-icon-btn:hover { background: rgba(255,255,255,0.1); }
.nav.scrolled .nav-icon-btn:hover { background: rgba(14,27,20,0.06); }
.nav-icon-btn svg { width: 20px; height: 20px; }
.nav-search-desktop { display: none; }
@media (min-width: 1080px) {
  .nav-search-desktop { display: grid; }
  .nav-menu-toggle { display: none; }
}

/* Mobile hamburger */
.nav-menu-toggle {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 999px;
  position: relative;
}
.nav-menu-toggle span {
  position: absolute;
  width: 22px; height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.25s, top 0.35s var(--ease-out);
}
.nav-menu-toggle span:nth-child(1) { top: 17px; }
.nav-menu-toggle span:nth-child(2) { top: 23px; }
.nav-menu-toggle span:nth-child(3) { top: 29px; }
body.menu-open .nav-menu-toggle span:nth-child(1) { top: 23px; transform: rotate(45deg); }
body.menu-open .nav-menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-menu-toggle span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(14, 27, 20, 0.45);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
  display: flex; flex-direction: column;
  color: #fff;
  padding: 88px var(--gutter) 32px;
}
body.menu-open .nav-drawer { opacity: 1; pointer-events: auto; }
.nav-drawer-inner {
  background: rgba(14, 27, 20, 0.85);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-xl);
  padding: 24px;
  flex: 1;
  display: flex; flex-direction: column;
  overflow-y: auto;
  transform: translateY(20px) scale(0.98);
  opacity: 0;
  transition: transform 0.45s var(--ease-out) 0.05s, opacity 0.4s var(--ease-out) 0.05s;
}
body.menu-open .nav-drawer-inner { transform: translateY(0) scale(1); opacity: 1; }
.nav-drawer ul { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.nav-drawer li { border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav-drawer li:last-child { border-bottom: 0; }
.nav-drawer a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 8px;
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: -0.01em;
  transition: padding 0.3s var(--ease-out), color 0.3s;
}
.nav-drawer a:hover { padding-left: 16px; color: var(--yellow); }
.nav-drawer a .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  opacity: 0.5;
}
.nav-drawer-foot {
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}
.nav-drawer-foot .socials { display: flex; gap: 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(180deg, #1a4d6e 0%, #4178a8 50%, #2a5a85 100%);
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform-origin: 60% 55%;
  animation: hero-kenburns 22s var(--ease-out) infinite alternate;
  will-change: transform;
}
@keyframes hero-kenburns {
  0%   { transform: scale(1.05) translate3d(0, 0, 0); }
  100% { transform: scale(1.18) translate3d(-2%, -1.5%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; transform: scale(1.05); }
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,27,20,0.45) 0%, rgba(14,27,20,0.1) 30%, rgba(14,27,20,0.1) 60%, rgba(14,27,20,0.55) 100%),
    linear-gradient(90deg, rgba(14,27,20,0.55) 0%, transparent 50%);
}
.hero-content {
  margin-top: auto;
  padding: 100px var(--gutter) 56px;
  max-width: var(--container);
  width: 100%;
  margin-left: auto; margin-right: auto;
  position: relative;
  z-index: 2;
}
@media (min-width: 720px) { .hero-content { padding-bottom: 80px; } }
@media (min-width: 1080px) { .hero-content { padding-bottom: 120px; } }

.hero h1 { font-size: clamp(52px, 11vw, 124px); line-height: 0.96; max-width: 14ch; }
.hero p.lede { color: rgba(255,255,255,0.85); margin-top: 24px; max-width: 38ch; font-size: 17px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-side {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  display: none;
  flex-direction: column; gap: 12px;
  z-index: 2;
}
@media (min-width: 720px) { .hero-side { display: flex; } }
.hero-side a {
  width: 44px; height: 44px; border-radius: 999px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  transition: background 0.25s, transform 0.4s var(--ease-out);
}
.hero-side a:hover { background: rgba(255,255,255,0.2); transform: scale(1.08); }
.hero-side a svg { width: 16px; height: 16px; }

.hero-badge {
  position: absolute; top: 96px; right: var(--gutter);
  width: 110px; height: 110px;
  display: none;
  align-items: center; justify-content: center;
}
@media (min-width: 720px) { .hero-badge { display: flex; right: calc(var(--gutter) + 60px); } }
.hero-badge svg { width: 100%; height: 100%; animation: spin 22s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-scroll {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 24px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}
.hero-scroll .mouse {
  width: 22px; height: 36px; border-radius: 14px;
  border: 1.5px solid rgba(255,255,255,0.5);
  position: relative;
}
.hero-scroll .mouse::after {
  content: ""; position: absolute; left: 50%; top: 7px;
  width: 2px; height: 6px; background: #fff;
  border-radius: 2px; transform: translateX(-50%);
  animation: scroll-bob 1.8s var(--ease-out) infinite;
}
@keyframes scroll-bob { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* =============================================================
   Hero left editorial frame
   Thin vertical line + glassmorphic chapter marker + soft glow.
   Hidden on small mobile to keep the hero clean.
   ============================================================= */
.hero-frame {
  display: none;
  position: absolute;
  left: clamp(20px, 4vw, 56px);
  top: 0; bottom: 0;
  width: 1px;
  z-index: 3;
  pointer-events: none;
  color: #fff;
}
@media (min-width: 720px) {
  .hero-frame { display: block; }
}

.hero-frame__line {
  position: absolute;
  left: 0; top: 12%; bottom: 12%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255,255,255,0.05) 10%,
    rgba(255,255,255,0.5) 40%,
    rgba(255,255,255,0.5) 60%,
    rgba(255,255,255,0.05) 90%,
    transparent 100%
  );
}

.hero-frame__glow {
  position: absolute;
  left: -8px; right: -8px;
  top: 28%; height: 220px;
  background: radial-gradient(
    ellipse at center,
    rgba(244,196,48,0.45) 0%,
    rgba(244,196,48,0.18) 35%,
    transparent 70%
  );
  filter: blur(16px);
  opacity: 0.55;
  animation: hero-frame-glow 7s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes hero-frame-glow {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50%      { transform: translateY(80px); opacity: 0.7; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-frame__glow { animation: none; }
}

.hero-frame__badge {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.hero-frame__badge em {
  font-style: normal;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0;
  color: var(--yellow);
  padding-right: 10px;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.hero-frame__badge span {
  line-height: 1.4;
}

.hero-frame__tick {
  position: absolute;
  left: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.45);
}
.hero-frame__tick--top { top: 11%; }
.hero-frame__tick--bot { bottom: 11%; }
.hero-frame__tick::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  width: 4px;
  height: 1px;
  background: rgba(255,255,255,0.4);
}

/* Soft gradient column from the left edge inward — adds depth */
.hero::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 30%;
  background: linear-gradient(90deg, rgba(0,0,0,0.35) 0%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}

/* ---------- Section header ---------- */
.section-head {
  display: flex; flex-direction: column; gap: 16px;
  margin-bottom: 40px;
}
@media (min-width: 720px) {
  .section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 56px; }
}
.section-head .lhs { display: flex; flex-direction: column; gap: 14px; }
.section-head h2 {
  font-size: clamp(34px, 5.4vw, 56px);
  font-weight: 500;
}
.section-head .view-all {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: gap 0.4s var(--ease-out);
}
.section-head .view-all:hover { gap: 14px; }
.section-head .view-all .arrow { width: 16px; height: 16px; }

/* ---------- Destination cards (horizontal scroll on mobile) ---------- */
.dest-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(260px, 1fr));
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: var(--gutter);
  padding-bottom: 8px;
  margin: 0 calc(var(--gutter) * -1);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  scrollbar-width: none;
}
.dest-rail::-webkit-scrollbar { display: none; }
@media (min-width: 1080px) {
  .dest-rail { overflow: visible; margin: 0; padding: 0; gap: 20px; }
}
.dest-card {
  position: relative;
  aspect-ratio: 3/4.4;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-2);
  scroll-snap-align: start;
  transition: transform 0.5s var(--ease-out);
  isolation: isolate;
  color: #fff;
}
.dest-card:hover { transform: translateY(-4px); }
.dest-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}
.dest-card:hover img { transform: scale(1.06); }
.dest-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(14,27,20,0.85) 100%);
}
.dest-card .pin {
  position: absolute; top: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 2;
}
.dest-card .pin svg { width: 10px; height: 10px; color: var(--yellow); }
.dest-card .body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px;
  z-index: 2;
  display: flex; flex-direction: column; gap: 6px;
}
.dest-card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.01em;
}
.dest-card p {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255,255,255,0.78);
  max-width: 26ch;
}
.dest-card .go {
  position: absolute; bottom: 20px; right: 20px;
  width: 36px; height: 36px; border-radius: 999px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  transition: background 0.3s, transform 0.4s var(--ease-out);
  z-index: 3;
}
.dest-card:hover .go { background: var(--yellow); color: var(--ink); transform: rotate(-45deg); }
.dest-card .go svg { width: 14px; height: 14px; }

/* ---------- Experiences block (dark) ---------- */
.experiences {
  background: #0A1F2E;
  color: #fff;
  border-radius: var(--r-xl);
  padding: 56px 28px;
  display: grid;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.experiences::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 5%, rgba(31,138,76,0.35), transparent 45%),
    radial-gradient(circle at 5% 95%, rgba(74,127,184,0.25), transparent 55%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 18px);
  pointer-events: none;
}
@media (min-width: 880px) {
  .experiences { grid-template-columns: 320px 1fr; gap: 56px; padding: 72px 56px; align-items: center; }
}
@media (min-width: 1080px) {
  .experiences { grid-template-columns: 360px 1fr; padding: 88px 72px; }
}
.experiences-text { position: relative; }
.experiences-text h2 {
  font-size: clamp(38px, 5.2vw, 56px);
  font-weight: 500;
  margin: 14px 0 20px;
}
.experiences-text p { color: rgba(255,255,255,0.7); font-size: 16px; max-width: 32ch; margin-bottom: 28px; }
.experiences-grid {
  position: relative;
  display: grid; gap: 14px;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 880px) { .experiences-grid { grid-template-columns: 1fr 1fr 1fr; gap: 18px; } }
.exp-card {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--ink-2);
  color: #fff;
  transition: transform 0.5s var(--ease-out);
}
.exp-card:hover { transform: translateY(-3px); }
.exp-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.exp-card:hover img { transform: scale(1.08); }
.exp-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,27,20,0.0) 30%, rgba(14,27,20,0.85) 100%);
}
.exp-card .badge {
  position: absolute; top: 14px; left: 14px;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  display: grid; place-items: center;
  z-index: 2;
}
.exp-card .badge svg { width: 14px; height: 14px; color: var(--yellow); }
.exp-card .title {
  position: absolute; left: 16px; bottom: 14px; right: 16px;
  z-index: 2;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Article cards ---------- */
.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 600px) { .article-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .article-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; } }

.article-card {
  display: flex; flex-direction: column; gap: 16px;
}
.article-card .media {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--ink-2);
}
.article-card .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.article-card:hover .media img { transform: scale(1.05); }
.article-card .tag {
  position: absolute; top: 14px; left: 14px;
  padding: 5px 10px;
  background: rgba(244,239,230,0.95);
  color: var(--green-dark);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  z-index: 2;
}
.article-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.article-card .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  opacity: 0.7;
}
.article-card .meta::before { content: ""; }

/* ---------- About strip ---------- */
.about-strip { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 880px) { .about-strip { grid-template-columns: 5fr 7fr; gap: 56px; } }
.about-strip .text { display: flex; flex-direction: column; gap: 16px; }
.about-strip h2 { font-size: clamp(36px, 5.2vw, 56px); font-weight: 500; }
.about-strip .script-line {
  font-family: var(--font-script);
  color: var(--sky);
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  margin: 6px 0 10px;
}
.about-strip .media {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-2);
}
.about-strip .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

/* ---------- Newsletter ---------- */
.newsletter {
  position: relative;
  border-radius: var(--r-xl);
  padding: 40px 24px;
  color: #fff;
  overflow: hidden;
  display: grid; gap: 24px;
}
.newsletter::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(31,138,76,0.35) 0%, rgba(33,107,170,0.55) 60%, rgba(74,127,184,0.45) 100%),
    url("https://images.unsplash.com/photo-1505228395891-9a51e7e86bf6?w=1800&q=78&auto=format&fit=crop") center/cover;
  z-index: -1;
}
.newsletter::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 15% 30%, rgba(244,196,48,0.18), transparent 35%);
  pointer-events: none;
}
@media (min-width: 720px) {
  .newsletter { padding: 56px 48px; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
}
@media (min-width: 1080px) {
  .newsletter { padding: 72px 72px; }
}
.newsletter h3 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 500;
  line-height: 1.0;
}
.newsletter h3 .script { font-family: var(--font-script); color: var(--yellow); }
.newsletter p { color: rgba(255,255,255,0.85); margin-top: 12px; font-size: 15px; max-width: 36ch; }
.newsletter form {
  display: flex; flex-direction: column; gap: 12px;
}
@media (min-width: 480px) { .newsletter form { flex-direction: row; } }
.newsletter input[type="email"] {
  flex: 1; min-width: 0;
  padding: 16px 20px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  font-size: 15px;
  color: var(--ink);
  font-family: var(--font-body);
  min-height: 52px;
}
.newsletter input[type="email"]::placeholder { color: var(--ink-3); opacity: 0.55; }
.newsletter input[type="email"]:focus { outline: 2px solid var(--yellow); outline-offset: 2px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 64px var(--gutter) 32px;
}
.footer .inner { max-width: var(--container); margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 600px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
}
.footer .nav-brand { color: #fff; align-items: center; }
.footer .brand-logo { height: 52px; }
.footer .brand-logo--dark { display: none; }
.footer .brand-logo--light { display: block; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.78); transition: color 0.25s; }
.footer-col a:hover { color: var(--yellow); }
.footer-socials { display: flex; gap: 12px; margin-top: 20px; }
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  transition: background 0.25s, color 0.25s;
}
.footer-socials a:hover { background: var(--yellow); color: var(--ink); }
.footer-socials svg { width: 16px; height: 16px; }
.footer-meta {
  margin-top: 28px;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.5);
}
@media (min-width: 600px) {
  .footer-meta { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-meta .made { display: inline-flex; align-items: center; gap: 6px; }
.footer-meta .heart { color: var(--rust); }

/* ---------- Page sub-hero (for non-home pages) ---------- */
.subhero {
  position: relative;
  padding: 140px var(--gutter) 64px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  min-height: 60svh;
  display: flex; align-items: flex-end;
}
.subhero-media { position: absolute; inset: 0; z-index: -2; }
.subhero-media img { width: 100%; height: 100%; object-fit: cover; }
.subhero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(14,27,20,0.5) 0%, rgba(14,27,20,0.15) 40%, rgba(14,27,20,0.7) 100%);
}
.subhero .wrap { width: 100%; }
.subhero .crumbs {
  display: flex; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
}
.subhero .crumbs a { color: rgba(255,255,255,0.7); transition: color 0.25s; }
.subhero .crumbs a:hover { color: var(--yellow); }
.subhero .crumbs .sep { opacity: 0.4; }
.subhero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 96px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.015em;
  max-width: 16ch;
}
.subhero h1 .script { font-family: var(--font-script); color: var(--yellow); font-size: 1.05em; }
.subhero .meta {
  display: flex; flex-wrap: wrap; gap: 12px 20px;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.subhero .meta span { display: inline-flex; align-items: center; gap: 8px; }
.subhero .meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--yellow); }

/* ---------- Long-form / article body ---------- */
.prose { max-width: 68ch; margin: 0 auto; }
.prose p { font-size: 18px; line-height: 1.7; margin-bottom: 22px; color: var(--ink-2); }
.prose h2 { font-size: clamp(28px, 4vw, 40px); margin: 48px 0 18px; font-weight: 500; }
.prose h3 { font-size: 22px; margin: 32px 0 12px; font-weight: 500; }
.prose .drop::first-letter {
  font-family: var(--font-display);
  float: left;
  font-size: 5.2em;
  line-height: 0.85;
  padding: 6px 12px 0 0;
  color: var(--green-dark);
}
.prose blockquote {
  margin: 32px 0;
  padding: 0 0 0 24px;
  border-left: 3px solid var(--yellow);
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
  line-height: 1.35;
  color: var(--ink-2);
}
.prose figure { margin: 36px 0; }
.prose figure img { border-radius: var(--r-md); width: 100%; }
.prose figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  opacity: 0.7;
  margin-top: 10px;
}

/* ---------- Utility ---------- */
.hidden { display: none !important; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }

/* Placeholder gradient shown until WebP files in /assets/images/ are replaced */
.dest-card, .exp-card, .dest-tall,
.article-card .media, .blog-featured .media,
.about-strip .media, .dest-feature .media,
.gallery-grid > a, .exp-row .media, .next-dest,
.team-card .photo, .hero-media, .subhero-media,
.tip-card {
  background: linear-gradient(135deg, #1F8A4C 0%, #2A6FA8 50%, #1F4A6B 100%) !important;
}
.hero-media, .subhero-media {
  background: linear-gradient(180deg, #1a4d6e 0%, #2A6FA8 60%, #1F4A6B 100%) !important;
}

/* Reveal animation on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Placeholder gradient for failed images */
.img-fallback {
  background: linear-gradient(135deg, var(--green) 0%, var(--sky) 100%);
}
