/* Lost Goats Running — shared styles (palette and type from the Wix site) */
:root {
  --green:      #63715b;
  --green-dk:   #4f5b48;
  --olive:      #727c65;
  --cream:      #e8e3d9;
  --paper:      #f3f1ec;
  --stone:      #e8e6e6;
  --gold:       #b3976a;
  --gold-dk:    #9a7f55;
  --sun:        #efca8e;
  --ink:        #2f332c;
  --muted:      #595959;
  --line:       rgb(47 51 44 / 14%);
  --white:      #fff;
  --radius:     6px;

  --f-display: 'Chelsea Market', 'Comic Sans MS', cursive;
  --f-body:    'Jost', 'Futura', system-ui, sans-serif;

  --gutter: 1rem;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, iframe { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 700px) { :root { --gutter: 1.5rem; } }

/* Long words may break only when they can't fit at all, never with hyphens mid-headline */
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.15; color: var(--muted); overflow-wrap: break-word; }
h1 { font-size: clamp(2rem, 7vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; }
p + p { margin-top: 0.9rem; }

.eyebrow { display: block; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.85rem; color: var(--gold-dk); margin-bottom: 0.4rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 42rem; }
section { padding: 4.5rem 0; }
.band-stone { background: var(--stone); }
.band-green { background: var(--green); color: var(--cream); }
.band-green h2, .band-green h3 { color: var(--cream); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.6rem 1.6rem;
  font-family: var(--f-body); font-size: 1.05rem; font-weight: 500; letter-spacing: 0.04em; text-decoration: none;
  border: 1px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dk); }
.btn-green { background: var(--olive); color: var(--white); }
.btn-green:hover { background: var(--green-dk); }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-ghost:hover { color: var(--gold); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn.is-full { background: var(--stone); color: var(--muted); cursor: default; }

/* ---------- NAV ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--green); color: var(--cream); }
.nav-inner { display: flex; align-items: center; height: 4.5rem; gap: 1rem; }
.wordmark { display: block; flex-shrink: 0; }
.wordmark img { height: 3.4rem; width: auto; }
.nav-menu { margin-left: auto; display: flex; align-items: center; gap: 0.75rem; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 2.5rem; padding: 0.35rem 0.9rem;
  background: transparent; color: var(--cream); border: 1px solid rgb(232 227 217 / 45%); border-radius: var(--radius);
  font: inherit; font-size: 1rem; cursor: pointer;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 16px; height: 2px; background: currentColor; transition: transform 0.2s; }
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -5px; }
.nav-toggle .bars::after  { top: 5px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after  { transform: translateY(-5px) rotate(-45deg); }
.nav-links { display: none; list-style: none; }
.nav-links.open {
  display: flex; flex-direction: column;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--green); padding: 0.5rem var(--gutter) 1.25rem;
  border-top: 1px solid rgb(232 227 217 / 20%);
}
.nav-links.open a { display: block; padding: 0.8rem 0; font-size: 1.2rem; border-bottom: 1px solid rgb(232 227 217 / 15%); }
.nav-links a { text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--sun); }
.lang {
  display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0.35rem 0.75rem;
  background: var(--cream); color: var(--ink); border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.06em; text-decoration: none;
}
.lang:hover { background: var(--white); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-links { display: flex; gap: 1.6rem; }
  .nav-links a { font-size: 1.02rem; }
  .nav-menu { gap: 2rem; }
}

/* ---------- HERO ---------- */
/* Landing banner: the full screen below the menu, bright photo, shading only where the text sits */
.hero { position: relative; overflow: hidden; min-height: max(34rem, calc(100vh - 4.5rem)); min-height: max(34rem, calc(100svh - 4.5rem)); display: flex; align-items: center; padding: 5rem 0; color: var(--white); }
/* Frame from the runner's cap to the trail under his feet (he is right of centre) */
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% 42%; filter: brightness(1.08) saturate(1.06); }
.hero h1, .hero p { text-shadow: 0 2px 18px rgb(20 24 18 / 55%), 0 1px 3px rgb(20 24 18 / 45%); }
.hero-tagline { font-family: var(--f-display); font-size: clamp(1.4rem, 3.6vw, 2.1rem); line-height: 1.1; color: var(--sun); margin-bottom: 0.9rem; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(30 34 28 / 42%) 0%, rgb(30 34 28 / 18%) 40%, rgb(30 34 28 / 0%) 62%); }
/* Phones: text at the bottom so the runner stays visible above it */
@media (max-width: 700px) {
  .hero { align-items: flex-end; padding: 3rem 0 2.5rem; }
  .hero > img { object-position: 62% 30%; }
  .hero::after { background: linear-gradient(180deg, rgb(30 34 28 / 0%) 35%, rgb(30 34 28 / 55%) 100%); }
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: var(--white); max-width: 40rem; }
.hero p { margin-top: 1rem; max-width: 34rem; font-size: 1.25rem; }
.hero .btn { margin-top: 2rem; }

.page-head { position: relative; overflow: hidden; padding: 6rem 0 4rem; color: var(--white); background: var(--green); }
.page-head > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-head::after { content: ''; position: absolute; inset: 0; background: rgb(30 34 28 / 45%); }
.page-head .container { position: relative; z-index: 1; }
.page-head h1 { color: var(--white); }
.page-head p { margin-top: 0.75rem; max-width: 38rem; font-size: 1.2rem; }
/* Trips page: taller banner with a looping muted video (photo fallback) and the value boxes inside it */
.video-head { min-height: min(88vh, 860px); display: flex; align-items: flex-end; padding: 8rem 0 3rem; }
.video-head .head-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-head::after { background: linear-gradient(180deg, rgb(30 34 28 / 25%) 0%, rgb(30 34 28 / 45%) 55%, rgb(30 34 28 / 70%) 100%); }
.video-head .values { margin-top: 2.25rem; }
.video-head .values { gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
/* Value boxes as green photo cards over the drone video, as wide as the rest of the page */
.video-head .value { position: relative; overflow: hidden; padding: 1.1rem 0; border-top: 0; border-radius: 12px; color: var(--white);
  background: rgb(79 91 72 / 88%); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 14px 34px rgb(0 0 0 / 30%); transition: transform 0.25s; }
.video-head .value:hover { transform: translateY(-4px); }
.video-head .value.photo { padding-top: 0; }
.video-head .value img { display: block; width: 100%; aspect-ratio: 5 / 2; object-fit: cover; }
@media (max-width: 599px) { .video-head .value img { aspect-ratio: 3 / 1; } }
.video-head .value .ic { position: relative; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; margin: -1.3rem 0 0 1.25rem;
  border-radius: 50%; border: 3px solid var(--green-dk); background: var(--sun); color: var(--ink); }
.video-head .value .ic svg { width: 1.3rem; height: 1.3rem; }
.video-head .value h3 { margin: 0.5rem 1.25rem 0.35rem; color: var(--white); font-size: 1.3rem; }
.video-head .value p { margin: 0 1.25rem; color: rgb(255 255 255 / 86%); font-size: 1rem; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) { .video-head .value { transition: none; } .video-head .value:hover { transform: none; } }
.page-head.plain { padding: 4rem 0 2.5rem; background: var(--stone); color: var(--ink); }
.page-head.plain::after { display: none; }
.page-head.plain h1 { color: var(--muted); }

/* ---------- VIDEO ---------- */
.video-band { padding: 3rem 0 4.5rem; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: 0 18px 40px rgb(0 0 0 / 18%); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Our own photo with a play button until the video loads (it starts muted when scrolled into view) */
.video-poster { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: var(--ink); }
.video-poster img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: opacity 0.2s; }
.video-poster:hover img { opacity: 1; }
.video-poster .play { position: absolute; left: 50%; top: 50%; width: 4.5rem; height: 4.5rem; margin: -2.25rem 0 0 -2.25rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgb(179 151 106 / 92%); box-shadow: 0 8px 24px rgb(0 0 0 / 30%); transition: transform 0.2s; }
.video-poster:hover .play { transform: scale(1.06); }
.video-poster .play svg { margin-left: 4px; }

/* ---------- CARDS ---------- */
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Testimonials: one at a time (scroll-snap), arrows and dots driven by main.js */
.t-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; border-radius: var(--radius); }
.t-track::-webkit-scrollbar { display: none; }
.t-track:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.t-slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; margin: 0; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.t-slide img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 25%; }
.t-slide figcaption { padding: 1.75rem 1.5rem 2rem; display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.t-slide blockquote { position: relative; font-size: 1.15rem; line-height: 1.55; color: var(--ink); }
.t-slide blockquote::before { content: '\201C'; display: block; font-family: var(--f-display); font-size: 3.5rem; line-height: 0.6; color: var(--gold); margin-bottom: 0.4rem; }
.t-slide cite { font-family: var(--f-display); font-style: normal; font-size: 1.35rem; color: var(--green); }
@media (min-width: 760px) {
  .t-slide { grid-template-columns: minmax(16rem, 2fr) 3fr; min-height: 24rem; }
  .t-slide img { height: 100%; aspect-ratio: auto; }
  .t-slide figcaption { padding: 2.5rem 3rem; }
  .t-slide blockquote { font-size: 1.35rem; }
}
.t-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.25rem; }
.t-arrow { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid rgb(47 51 44 / 25%); background: var(--white); color: var(--green); cursor: pointer; transition: background 0.2s, color 0.2s; }
.t-arrow:hover { background: var(--green); color: var(--white); }
.t-dots { display: flex; gap: 0.5rem; }
.t-dot { width: 0.7rem; height: 0.7rem; padding: 0; border-radius: 50%; border: 0; background: rgb(47 51 44 / 22%); cursor: pointer; transition: background 0.2s, transform 0.2s; }
.t-dot[aria-current="true"] { background: var(--gold); transform: scale(1.25); }
@media (prefers-reduced-motion: reduce) { .t-track { scroll-behavior: auto; } }

.trip-card { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 6px 20px rgb(0 0 0 / 8%); color: var(--muted); }
.trip-card > a.img { display: block; aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.trip-card > a.img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.trip-card:hover > a.img img { transform: scale(1.04); }
.trip-card .body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.trip-card h3 { font-size: 1.3rem; }
.trip-card h3 a { text-decoration: none; }
.trip-card .tags { display: flex; flex-wrap: wrap; gap: 0.35rem; min-height: 1.5rem; margin-bottom: 0.2rem; }
.trip-card .level-badge { position: absolute; left: 0.75rem; bottom: 0.75rem; }

/* Level badge with a three-bar meter (lit bars = the levels the trip suits), and trip type tags */
.level-badge { display: inline-flex; align-items: center; gap: 0.45rem; background: var(--white); color: var(--ink); font-weight: 500; font-size: 0.9rem; line-height: 1.3; padding: 0.35rem 0.75rem 0.35rem 0.6rem; border-radius: 999px; box-shadow: 0 2px 8px rgb(0 0 0 / 18%); }
.level-badge .bars { display: inline-flex; align-items: flex-end; gap: 2px; }
.level-badge .bars i { display: block; width: 4px; border-radius: 1px; background: #d9d6cf; }
.level-badge .bars i:nth-child(1) { height: 7px; } .level-badge .bars i:nth-child(2) { height: 10px; } .level-badge .bars i:nth-child(3) { height: 13px; }
.lvl-beginner .bars i.on { background: #6f9a4f; }
.lvl-all .bars i.on { background: var(--green); }
.lvl-intermediate_advanced .bars i.on { background: var(--gold); }
.lvl-advanced .bars i.on { background: #a4553a; }
.tag { display: inline-flex; align-items: center; gap: 0.3rem; white-space: nowrap; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.03em; line-height: 1.4; padding: 0.2rem 0.6rem; border-radius: 999px; }
.tag svg { flex: none; }
.tag-base { background: #e1e6dc; color: var(--green-dk); }
.tag-move { background: #f4e9d6; color: #7a5f33; }
.tag-girls { background: #f3dfe3; color: #7d3b4b; }

/* Key to the trip types above the trip list */
.type-key { display: grid; gap: 1rem; margin: 1rem 0 2rem; }
@media (min-width: 640px) { .type-key { grid-template-columns: 1fr 1fr; } }
.type-key > div { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1.1rem 1.25rem; background: var(--white); border-left: 4px solid; }
.type-key .base { border-color: var(--green); } .type-key .move { border-color: var(--gold); }
.type-key svg { flex: none; margin-top: 0.15rem; } .type-key .base svg { color: var(--green); } .type-key .move svg { color: var(--gold-dk); }
.type-key h3 { font-size: 1.15rem; margin-bottom: 0.2rem; } .type-key p { color: var(--muted); font-size: 0.98rem; }
.trip-card .meta { font-size: 0.95rem; }
.trip-card .price { font-size: 1.15rem; font-weight: 500; color: var(--ink); }
.trip-card .btn { margin-top: auto; align-self: flex-start; }
.trip-card .actions { margin-top: auto; padding-top: 0.75rem; }

.featured { position: relative; overflow: hidden; }
.featured > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured::after { content: ''; position: absolute; inset: 0; background: rgb(30 34 28 / 35%); }
.featured .container { position: relative; z-index: 1; }
.featured h2 { color: var(--white); }
.featured .center { margin-top: 2.5rem; text-align: center; }

.values { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.value { background: var(--white); border-radius: var(--radius); padding: 1.5rem; border-top: 4px solid var(--gold); }
.value h3 { margin-bottom: 0.5rem; }
.value p { color: var(--muted); }
.value .more { display: inline-block; margin-top: 0.6rem; color: var(--gold-dk); font-weight: 500; text-decoration: none; }
.value .more:hover { text-decoration: underline; }

/* ---------- GOOD TO KNOW ---------- */
/* Bra att veta: the van photo (portrait) with the heading in the rocks above the van roof.
   Phones show the whole photo full width. Wider screens show it as wide as the page content (5:4)
   with the top 28% cut off, so the heading sits just above the roof (at 38% of
   the photo) and the van with the runners' feet shows below. */
.gtk-hero { position: relative; overflow: hidden; padding: 0; background: var(--green-dk); }
.gtk-photo { position: relative; margin: 0; }
.gtk-photo img { display: block; width: 100%; height: auto; }
.gtk-photo::after { content: ''; position: absolute; inset: 0 0 50% 0; background: linear-gradient(180deg, rgb(30 34 28 / 45%), rgb(30 34 28 / 0%)); }
.gtk-title { position: absolute; z-index: 1; top: 12%; left: 0; right: 0; padding: 0 1.25rem; text-align: center; color: var(--white); }
.gtk-title h1 { color: var(--white); font-size: clamp(2.4rem, 8vw, 4.2rem); text-shadow: 0 2px 18px rgb(0 0 0 / 55%); }
.gtk-title p { max-width: 24rem; margin: 0.5rem auto 0; font-size: clamp(1rem, 2.6vw, 1.2rem); text-shadow: 0 1px 10px rgb(0 0 0 / 75%); }
@media (min-width: 700px) {
  .gtk-hero { background: none; }
  .gtk-photo { width: min(100% - 2 * var(--gutter), var(--max) - 2 * var(--gutter)); aspect-ratio: 5 / 4;
    margin: 0 auto; overflow: hidden; border-radius: 0 0 var(--radius) var(--radius); }
  .gtk-photo img { position: absolute; top: 0; left: 0; transform: translateY(-28%); }
  .gtk-photo::after { inset: 0 0 60% 0; }
  .gtk-title { top: clamp(1rem, 1.6vw, 1.75rem); }
  .gtk-title h1 { font-size: clamp(2.6rem, 4.6vw, 4.6rem); }
  .gtk-title p { max-width: 34rem; }
}
.gtk-hero + section { padding-top: 3rem; }
.guide-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.guide-card { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.5rem; background: var(--white); border-radius: var(--radius); border-top: 4px solid var(--gold); text-decoration: none; box-shadow: 0 6px 20px rgb(0 0 0 / 6%); transition: transform 0.2s, box-shadow 0.2s; }
.guide-card:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgb(0 0 0 / 10%); }
.guide-card p { color: var(--muted); flex: 1; }
.guide-card .more { color: var(--gold-dk); font-weight: 500; }
.page-head .back { display: inline-block; margin-bottom: 0.75rem; color: var(--green); font-weight: 500; text-decoration: none; }
.page-head .back:hover { text-decoration: underline; }

/* ---------- FUTURE DESTINATIONS (trips page) ---------- */
.dest-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); margin-top: 2rem; }
.dest-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 20px rgb(0 0 0 / 6%); }
.dest-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.dest-card .body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.dest-card .eyebrow { margin: 0; font-size: 0.75rem; }
.dest-card p { color: var(--muted); font-size: 0.95rem; }
.dest-card .interest-open { margin-top: auto; align-self: flex-start; }
.interest-form { display: grid; gap: 0.5rem; margin-top: auto; }
.interest-form[hidden], .interest-open[hidden] { display: none; }
.interest-form input { width: 100%; min-height: 2.6rem; padding: 0.5rem 0.7rem; font: inherit; font-size: 0.95rem; border: 1px solid rgb(47 51 44 / 25%); border-radius: var(--radius); background: var(--paper); }
.interest-form input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.interest-form .btn { min-height: 2.6rem; }
.interest-thanks { margin-top: auto; padding: 0.75rem 1rem; border-radius: var(--radius); background: rgb(99 113 91 / 12%); color: var(--green) !important; font-weight: 500; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- SPLIT / PROSE ---------- */
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; } .split.reverse > :first-child { order: 2; } }
.split img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.75rem 0 0.5rem; color: var(--green); }
.prose ul, .prose ol { margin: 0.75rem 0 0.75rem 1.25rem; }
.prose li + li { margin-top: 0.3rem; }
.prose a:not(.btn) { color: var(--green); }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 500; background: var(--stone); }
.table-wrap { overflow-x: auto; }
.prose img { width: 100%; border-radius: var(--radius); margin: 1.5rem 0; }

/* ---------- CREW ---------- */
.crew { display: grid; gap: 1.5rem; }
.member { display: grid; gap: 1.25rem; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.member img { width: 100%; aspect-ratio: 2 / 3; max-height: 26rem; object-fit: cover; }
.member .body { padding: 0 1.25rem 1.5rem; }
.member .role { color: var(--gold-dk); font-weight: 500; margin-bottom: 0.75rem; }
.member p { color: var(--muted); white-space: pre-line; }
@media (min-width: 720px) {
  .member { grid-template-columns: 16rem 1fr; }
  .member img { height: 100%; max-height: none; aspect-ratio: auto; }
  .member .body { padding: 1.5rem 1.75rem 1.5rem 0; }
}

/* ---------- TRIP PAGE ---------- */
/* Full-screen location photo, name at the bottom */
.trip-hero { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: max(30rem, calc(100vh - 4.5rem)); min-height: max(30rem, calc(100svh - 4.5rem)); padding: 6rem 0 7.5rem; color: var(--white); background: var(--green); }
.trip-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trip-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(30 34 28 / 5%) 35%, rgb(30 34 28 / 65%) 100%); }
.trip-hero .container { position: relative; z-index: 1; }
.trip-hero .eyebrow { color: var(--sun); }
.trip-hero h1 { color: var(--white); font-size: clamp(2.2rem, 6vw, 4rem); max-width: 50rem; text-shadow: 0 2px 18px rgb(20 24 18 / 45%); }
.trip-tagline { margin-top: 0.75rem; max-width: 38rem; font-size: 1.25rem; text-shadow: 0 1px 10px rgb(20 24 18 / 60%); }

/* Facts strip overlapping the photo, with the Book button straight away */
.trip-bar { position: relative; z-index: 2; margin-top: -4.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; padding: 1.5rem; background: var(--white); border-radius: var(--radius); box-shadow: 0 14px 40px rgb(0 0 0 / 14%); }
.trip-bar .k { display: block; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.trip-bar .v { display: block; font-weight: 500; font-size: 1.1rem; color: var(--ink); }
.trip-bar .bar-link { display: inline-block; margin-top: 0.15rem; font-size: 0.9rem; color: var(--gold-dk); font-weight: 500; }
.trip-bar .bar-cta { grid-column: 1 / -1; }
.trip-bar .bar-cta .btn { width: 100%; }
@media (min-width: 900px) {
  .trip-bar { grid-template-columns: repeat(4, auto) 1fr; align-items: center; padding: 1.5rem 2rem; gap: 2.5rem; }
  .trip-bar .bar-cta { grid-column: auto; justify-self: end; }
  .trip-bar .bar-cta .btn { width: auto; }
}

/* Departure status: minimum + decision date, confirmed badge, fully booked. Never a count. */
.trip-status { display: inline-block; font-size: 0.9rem; line-height: 1.4; color: var(--muted); }
.trip-bar .trip-status { font-size: 0.95rem; color: var(--ink); font-weight: 400; }
.trip-status.is-full { color: #a33b2b; font-weight: 500; }
.trip-badge { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.2rem 0.65rem; border-radius: 999px; background: var(--green); color: var(--white); font-size: 0.85rem; font-weight: 500; white-space: nowrap; }
.refund-note { font-size: 0.85rem; color: var(--muted); }
.trip-bar .refund-note { grid-column: 1 / -1; margin-top: -0.5rem; }
@media (min-width: 900px) { .trip-bar .refund-note { text-align: right; margin-top: -1.5rem; } }
.trip-ready .refund-note { color: var(--cream); opacity: 0.85; margin-bottom: 1rem; }
.form .refund-note { margin-top: -0.5rem; }

/* Section menu that stays under the site menu while scrolling */
.trip-tabs { position: sticky; top: 4.5rem; z-index: 40; margin-top: 2rem; background: rgb(243 241 236 / 95%); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.trip-tabs .container { display: flex; gap: 1.75rem; overflow-x: auto; scrollbar-width: none; }
.trip-tabs a { flex-shrink: 0; padding: 0.9rem 0; text-decoration: none; font-weight: 500; color: var(--muted); border-bottom: 3px solid transparent; }
.trip-tabs a:hover { color: var(--green); border-bottom-color: var(--gold); }
.trip-section { scroll-margin-top: 8rem; }
/* Where in the world: sketch map with the trip's country highlighted and a gold pin */
.where-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 860px) { .where-grid { grid-template-columns: minmax(0, 26rem) 1fr; gap: 3.5rem; } }
.trip-map { background: #dfe8ea; border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 20px rgb(0 0 0 / 8%); }
.trip-map svg { display: block; width: 100%; height: auto; }
.trip-map path { fill: #d6d0c2; stroke: #fff; stroke-width: 1.2; stroke-linejoin: round; }
.trip-map path.is-trip { fill: var(--olive); }
.map-pin circle { fill: var(--gold); stroke: #fff; stroke-width: 5; filter: drop-shadow(0 3px 6px rgb(0 0 0 / 35%)); }
.map-pin .dot { fill: #fff; stroke: none; }
.map-pin .pulse { fill: rgb(179 151 106 / 35%); stroke: none; transform-box: fill-box; transform-origin: center; animation: pin-pulse 2.4s ease-out infinite; }
@keyframes pin-pulse { from { transform: scale(0.6); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .map-pin .pulse { animation: none; } }
.where-place { font-size: 1.25rem; font-weight: 500; color: var(--ink); }
.incl-grid { display: grid; gap: 1.25rem; margin-top: 0.5rem; }
@media (min-width: 760px) { .incl-grid { grid-template-columns: 1fr 1fr; } }
.incl-box { background: var(--white); border-radius: var(--radius); padding: 1.5rem; }
.incl-box h3 { margin-bottom: 0.75rem; }
.incl-list { list-style: none; display: grid; gap: 0.6rem; }
.incl-list li { position: relative; padding-left: 1.75rem; color: var(--muted); }
.incl-list li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.incl-list.yes li::before { content: '✓'; color: var(--green); }
.incl-list.no li::before { content: '–'; color: var(--gold-dk); }
#tripPayment { margin-top: 1.5rem; }
.terms-link { margin-top: 1rem; }
.terms-link a, .more-link { color: var(--green); font-weight: 500; }
.leader-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); margin-bottom: 1.25rem; }
.leader { display: flex; gap: 1rem; align-items: flex-start; background: var(--white); border-radius: var(--radius); padding: 1rem; }
.leader img { width: 5.5rem; height: 5.5rem; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.leader .role { color: var(--gold-dk); font-weight: 500; font-size: 0.9rem; margin-bottom: 0.3rem; }
.leader p { color: var(--muted); font-size: 0.95rem; }
.leaders-none { color: var(--muted); margin-bottom: 1rem; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
/* Bra att veta → Boende: example photos of a base camp house */
.stay-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 1.25rem 0 0.5rem; }
.stay-gallery figure { margin: 0; }
.stay-gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.stay-gallery figcaption { margin-top: 0.3rem; font-size: 0.9rem; color: var(--muted); }
.trip-ready { text-align: center; }
.trip-ready p { max-width: 34rem; margin: 0 auto; color: var(--cream); }
.trip-ready .actions { margin: 1.75rem 0 1.25rem; display: flex; justify-content: center; }
.trip-ready .ready-links a { color: var(--sun); }
.terms { margin-top: 3rem; padding: 1.5rem; background: var(--stone); border-radius: var(--radius); font-size: 0.95rem; }
.terms h2 { font-size: 1.4rem; }
.terms ol { margin: 0.75rem 0 0.75rem 1.25rem; }
.terms li + li { margin-top: 0.5rem; }

/* ---------- FORMS ---------- */
.form { display: grid; gap: 1rem; max-width: 40rem; }
.form .row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 500; font-size: 0.95rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: 0.65rem 0.8rem;
  font: inherit; color: var(--ink); background: var(--white);
  border: 1px solid rgb(47 51 44 / 25%); border-radius: var(--radius);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; }
.check input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; accent-color: var(--green); flex-shrink: 0; }
.hidden { display: none; }
.pay-options { border: 0; display: grid; gap: 0.6rem; }
.pay-options legend { font-weight: 500; font-size: 0.95rem; margin-bottom: 0.35rem; }
.pay-option { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.9rem 1rem; background: var(--white); border: 1px solid rgb(47 51 44 / 25%); border-radius: var(--radius); cursor: pointer; }
.pay-option:has(input:checked) { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.pay-option input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--green); flex-shrink: 0; }
.pay-option strong { display: block; font-weight: 500; }
.pay-option small { display: block; color: var(--muted); font-size: 0.9rem; }
.pay-option .amount { color: var(--green); white-space: nowrap; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.pay-badges > span { display: inline-flex; align-items: center; gap: 0.35rem; height: 1.5rem; padding: 0 0.55rem; border-radius: 0.3rem; font-size: 0.8rem; font-weight: 700; line-height: 1; }
.badge-card { border: 1px solid rgb(47 51 44 / 25%); color: var(--muted); }
.badge-klarna { background: #ffb3c7; color: #17120f; letter-spacing: 0.01em; }
.form-msg { min-height: 1.5rem; color: #a33b2b; font-weight: 500; }
/* Booking form: discount code with its own check button */
.code-row { display: flex; gap: 0.5rem; }
.code-row input { flex: 1; min-width: 0; text-transform: uppercase; }
.code-row .btn { flex-shrink: 0; }
.code-msg { min-height: 1.4rem; margin-top: 0.35rem; font-size: 0.95rem; font-weight: 500; color: #a33b2b; }
.code-msg.ok { color: var(--green-dk); }
.note { padding: 1rem 1.25rem; background: rgb(179 151 106 / 15%); border-left: 4px solid var(--gold); border-radius: var(--radius); font-size: 0.95rem; }
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1.3fr; } }
.mail { font-size: 1.25rem; font-weight: 500; color: var(--green); }

/* ---------- FOOTER ---------- */
.host-cta { background: var(--green); padding: 3.5rem 0 0; text-align: center; }
.host-cta a { display: inline-block; max-width: 30rem; padding: 1.25rem 1.75rem; background: var(--gold); color: var(--ink); border-radius: var(--radius); font-family: var(--f-display); font-size: 1.3rem; line-height: 1.35; text-decoration: none; transition: background 0.2s; }
.host-cta a:hover { background: var(--sun); }
footer { background: var(--green); color: var(--cream); padding: 3.5rem 0 2rem; position: relative; overflow: hidden; }
.foot-inner { display: grid; gap: 2rem; position: relative; z-index: 1; }
@media (min-width: 760px) { .foot-inner { grid-template-columns: auto 1fr auto; align-items: end; } }
.foot-brand img { width: 4.5rem; height: auto; }
.foot-brand p { margin-top: 0.75rem; }
.foot-links { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.foot-links a, .foot-legal a { text-decoration: none; }
.foot-links a:hover, .foot-legal a:hover { color: var(--sun); }
.social { display: flex; gap: 0.75rem; }
.social a { display: inline-flex; width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; border: 1px solid rgb(232 227 217 / 45%); border-radius: 50%; transition: background 0.2s, color 0.2s; }
.social a:hover { background: var(--cream); color: var(--green); }
.foot-legal { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgb(232 227 217 / 18%); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; font-size: 0.88rem; color: rgb(232 227 217 / 80%); position: relative; z-index: 1; }

/* Fade sections up as they scroll in */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Trip page: type and level under the banner, type note, accommodation choice */
.trip-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 1.25rem; }
.trip-tags .tag { font-size: 0.9rem; padding: 0.35rem 0.8rem; }
.level-badge.flat { box-shadow: none; padding: 0; background: none; font-size: inherit; }
.type-note { display: flex; gap: 0.5rem; align-items: center; max-width: 46rem; margin-bottom: 1.5rem; padding: 0.8rem 1rem; background: var(--stone); color: var(--ink); }
.type-note svg { flex: none; width: 18px; height: 18px; color: var(--green-dk); }
.stay-options { display: grid; gap: 0.75rem; margin: 1.25rem 0 1rem; max-width: 46rem; }
@media (min-width: 640px) { .stay-options { grid-template-columns: repeat(3, 1fr); } }
.stay-option { display: flex; flex-direction: column; gap: 0.25rem; padding: 1rem 1.1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
a.stay-option:hover { border-color: var(--green); }
.stay-option .name { font-weight: 500; }
.stay-option .fee { color: var(--gold-dk); font-weight: 500; }

/* Bra att veta: levels guide and packing lists */
.level-list { display: grid; gap: 1rem; margin: 0.5rem 0 2.5rem; }
.level-row { display: grid; gap: 0.5rem; padding: 1.1rem 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.level-row .level-badge { justify-self: start; box-shadow: none; background: var(--paper); }
.level-row p { margin: 0; }
.prose .type-key h3 { margin-top: 0; }
.with-icon { display: flex; align-items: center; gap: 0.6rem; }
.with-icon svg { flex: none; color: var(--green); }
#move .with-icon svg { color: var(--gold-dk); }
.stay-total { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; margin-top: 0.75rem; }
#stay .note { max-width: 46rem; }
