/* Layout: 1200px editorial grid. Hubs = intro + filterable board. Offers are boarding-pass tickets
   (route header, mono fields, perforated stub). Each programme keeps the colour it had on the old site. */
/* NGB brand: logo green #3AB15A→#70C058, logo yellow #E8E020, logo grey #404040; programme colours from the old site.
   Light-only on purpose: the logo's grey wordmark is drawn for white backgrounds. */
:root {
  color-scheme: light;
  --paper: #f7f9f6;
  --surface: #ffffff;
  --ink: #2b2f2d;
  --text: #404040;
  --muted: #6a716d;
  --line: #e1e7e2;
  --brand: #3ab15a;
  --brand-dark: #23803e;
  --brand-2: #70c058;
  --brand-ink: #ffffff;
  --mark: #e8e020;
  --mark-ink: #2b2f2d;
  --c-wat: #e5314a;
  --c-lang: #068be9;
  --c-study: #11a96b;
  --c-jobs: #fdb000;
  --c-books: #53b804;
  --grad: linear-gradient(120deg, #3ab15a 0%, #70c058 45%, #e8e020 100%);
  --shadow: 0 1px 2px rgb(30 50 35 / .06), 0 10px 30px rgb(30 50 35 / .08);

  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-body: "Golos Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --s-1: .8125rem; --s0: 1rem; --s1: 1.125rem; --s2: 1.375rem; --s3: 1.75rem; --s4: 2.4rem; --s5: 3.4rem;
  --radius: 14px;
  --wrap: 1600px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 var(--s0)/1.6 var(--f-body);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .18em; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { text-wrap: balance; line-height: 1.15; margin: 0; }
h1, .display { font-family: var(--f-display); font-weight: 600; letter-spacing: -.02em; }
p { margin: 0; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.eyebrow { font: 600 var(--s-1)/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mark { background: linear-gradient(transparent 58%, var(--mark) 58% 92%, transparent 92%); padding-inline: .06em; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo img { height: 52px; width: auto; display: block; }
.logo b { font: 700 1.3rem/1 var(--f-display); letter-spacing: -.02em; }
.logo small { display: block; font: 500 .7rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { text-decoration: none; padding: 8px 11px; border-radius: 999px; font-weight: 500; font-size: .92rem; white-space: nowrap; }
.nav a:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.nav-toggle { display: none; margin-left: auto; }
.nav-toggle summary { list-style: none; cursor: pointer; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; }
.nav-toggle summary::-webkit-details-marker { display: none; }
@media (max-width: 1360px) {
  .site-header .nav { display: none; }
  .nav-toggle { display: block; position: static; }
  .nav-toggle[open] .nav { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px clamp(16px, 4vw, 40px) 20px; box-shadow: var(--shadow); }
  .nav-toggle[open] .nav a { padding: 12px; font-size: 1.05rem; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1.5px solid var(--ink); transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-primary:hover { background: #1c6a33; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-ghost { background: transparent; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(36px, 6vw, 72px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 4.1rem); line-height: 1.04; }
.hero .lead { font-size: var(--s1); color: var(--muted); max-width: 52ch; margin-block: 22px 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; color: var(--muted); font-size: var(--s-1); }
.hero-meta span::before { content: "✓ "; color: var(--brand); font-weight: 700; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Boarding-pass ticket */
.ticket { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 92px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; overflow: hidden; --c: var(--c-wat); }
.ticket-main { padding: 18px 20px 20px; min-width: 0; }
.ticket-route { display: flex; align-items: center; gap: 10px; font: 600 var(--s-1)/1 var(--f-mono); letter-spacing: .06em; color: var(--c); text-transform: uppercase; }
.ticket-route i { flex: 1; height: 0; border-top: 1.5px dashed currentColor; opacity: .5; }
.ticket h3 { font: 600 1.15rem/1.2 var(--f-display); margin-block: 12px 2px; letter-spacing: -.01em; }
.ticket .where { color: var(--muted); font-size: .92rem; }
.ticket dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin: 16px 0 0; }
.ticket dt { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ticket dd { margin: 2px 0 0; font: 500 .92rem/1.3 var(--f-mono); overflow-wrap: anywhere; }
.ticket-stub { border-left: 2px dashed var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 12px 6px; background: color-mix(in srgb, var(--c) 9%, var(--surface)); text-align: center; }
.ticket-stub b { font: 700 1.25rem/1 var(--f-mono); color: var(--c); }
.ticket-stub span { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ticket::before, .ticket::after { content: ""; position: absolute; right: 83px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); }
.ticket::before { top: -9px; } .ticket::after { bottom: -9px; }
a.ticket { transition: transform .18s ease; }
a.ticket:hover { transform: translateY(-3px); }
.hero-tickets { display: grid; gap: 18px; }
.hero-tickets .ticket:nth-child(2) { margin-left: 8%; }
@media (max-width: 860px) { .hero-tickets .ticket:nth-child(2) { margin-left: 0; } }

/* Sections */
.section { padding-block: clamp(48px, 7vw, 88px); }
.section + .section { padding-top: 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.section-head h2 { font: 600 clamp(1.5rem, 3vw, var(--s4))/1.1 var(--f-display); letter-spacing: -.015em; max-width: 24ch; }
.section-head p { color: var(--muted); max-width: 52ch; }
.more { font-weight: 600; text-decoration: none; }
.more::after { content: " →"; }

/* Programme tiles */
.programs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.program { display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; transition: border-color .15s ease, transform .15s ease; --c: var(--ink); }
.program:hover { border-color: var(--c); transform: translateY(-2px); }
.program .count { font: 600 clamp(2rem, 4vw, 2.8rem)/1 var(--f-display); color: var(--c); letter-spacing: -.03em; }
.program .count small { font: 500 var(--s-1)/1 var(--f-body); color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.program h3 { font: 600 var(--s2)/1.2 var(--f-display); letter-spacing: -.01em; }
.program p { color: var(--muted); font-size: .95rem; }
.program ul { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.program li { font-size: .8rem; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c) 10%, transparent); color: var(--c); font-weight: 500; }
@media (max-width: 860px) { .programs { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 32px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding-block: 18px; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font: 600 1rem/1.5 var(--f-mono); color: var(--brand); }

/* Prices */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.price { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.price.featured { border: 2px solid var(--ink); }
.price .amount { font: 700 2.3rem/1 var(--f-mono); letter-spacing: -.03em; }
.price h3 { font: 600 var(--s1)/1.2 var(--f-display); }
.price p { color: var(--muted); font-size: .95rem; }
.extra-costs { margin-top: 18px; color: var(--muted); font-size: .92rem; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.extra-costs b { color: var(--ink); font-family: var(--f-mono); font-weight: 500; }
@media (max-width: 820px) { .prices { grid-template-columns: 1fr; } }

/* Cards grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; text-decoration: none; border: 1px solid var(--line); transition: transform .15s ease; min-width: 0; }
.card:hover { transform: translateY(-3px); }
.card .thumb { aspect-ratio: 16 / 10; background: color-mix(in srgb, var(--c, var(--brand)) 12%, var(--surface)); overflow: hidden; max-width: 100%; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .thumb.placeholder { display: grid; place-items: center; font: 600 1.6rem/1 var(--f-display); color: var(--c, var(--brand)); letter-spacing: -.02em; }
.card .body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.card h3 { font: 600 1.05rem/1.3 var(--f-body); }
.card .meta { color: var(--muted); font-size: .85rem; }
.card p { color: var(--muted); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ticket-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
@media (max-width: 400px) { .ticket-grid { grid-template-columns: 1fr; } }

/* Page header */
.page-head { padding-block: clamp(32px, 5vw, 60px) clamp(24px, 4vw, 40px); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--c, var(--brand)) 6%, var(--paper)); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--s-1); color: var(--muted); margin-bottom: 16px; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.page-head h1 { font-size: clamp(1.8rem, 4vw, 3rem); max-width: 26ch; }
.page-head .sub { margin-top: 12px; color: var(--muted); font-size: var(--s1); max-width: 60ch; }
.chip { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: color-mix(in srgb, var(--c, var(--brand)) 14%, transparent); color: var(--c, var(--brand)); margin-bottom: 14px; }

/* Article */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 5vw, 64px); padding-block: clamp(32px, 5vw, 56px); align-items: start; }
.article.single { grid-template-columns: minmax(0, 760px); justify-content: center; }
@media (max-width: 900px) { .article { grid-template-columns: minmax(0, 1fr); } }
.prose { min-width: 0; font-size: 1.05rem; line-height: 1.7; max-width: 70ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font: 600 var(--s3)/1.2 var(--f-display); margin-top: 1.6em; letter-spacing: -.01em; }
.prose h3 { font: 600 var(--s2)/1.3 var(--f-body); margin-top: 1.4em; }
.prose h4 { font-size: var(--s1); margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose img { border-radius: 10px; margin-block: 1.2em; }
.prose a { color: var(--brand-dark); }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; vertical-align: top; }
.table-scroll { overflow-x: auto; }
.lead-img { border-radius: var(--radius); margin-bottom: 28px; width: 100%; max-height: 460px; object-fit: cover; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-top: 28px; }
.gallery a { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; max-width: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery a:hover img { transform: scale(1.04); }

/* Side panel */
.aside { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 88px); display: grid; gap: 16px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; }
.panel h2 { font: 600 var(--s1)/1.2 var(--f-display); }
.facts { display: grid; gap: 12px; margin: 0; }
.facts div { display: grid; gap: 2px; }
.facts dt { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font: 500 .98rem/1.4 var(--f-mono); overflow-wrap: anywhere; }
.panel .btn { justify-content: center; }
.contact-lines { display: grid; gap: 6px; font-size: .95rem; }
.contact-lines b { font-family: var(--f-mono); font-weight: 500; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 26px; }
.filters label { display: grid; gap: 4px; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); flex: 1 1 180px; min-width: 0; }
.filters select, .filters input { font: 500 1rem var(--f-body); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; width: 100%; text-transform: none; letter-spacing: 0; }
.filters .count { font: 500 .9rem var(--f-mono); color: var(--muted); padding-bottom: 10px; flex: none; }
.empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

/* Link lists on hubs */
.link-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; padding: 0; margin: 0; list-style: none; }
.link-list a { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 500; height: 100%; }
.link-list a::after { content: "→"; color: var(--c, var(--brand)); font-weight: 700; }
.link-list a:hover { border-color: var(--c, var(--brand)); }
.link-list small { display: block; color: var(--muted); font-weight: 400; font-size: .82rem; margin-top: 2px; }

/* Pagination */
.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 36px; }
.pager a, .pager span { min-width: 42px; text-align: center; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font: 500 .95rem var(--f-mono); }
.pager span { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Contact band + footer */
.band { background: var(--ink); color: var(--paper); border-radius: calc(var(--radius) + 6px); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.band h2 { font: 600 clamp(1.5rem, 3.2vw, 2.4rem)/1.1 var(--f-display); letter-spacing: -.015em; }
.band p { opacity: .8; margin-top: 12px; }
.band .contact-lines { font-size: 1.05rem; }
.band .btn { border-color: var(--paper); color: var(--paper); }
.band .btn-primary { background: var(--mark); color: var(--mark-ink); border-color: var(--mark); }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } }
.site-footer { margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line); padding-block: 44px 28px; font-size: .92rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-grid h3 { font: 600 .78rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-grid a { text-decoration: none; } .footer-grid a:hover { text-decoration: underline; color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .82rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgb(8 12 10 / .9); display: grid; place-items: center; padding: 24px; }
.lightbox img { max-height: 88vh; border-radius: 8px; }
.lightbox button { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 16px); right: 16px; font: 600 1rem var(--f-body); background: #fff; color: #111; border: 0; border-radius: 999px; padding: 10px 16px; cursor: pointer; }

/* ===== Photo-led sections ===== */
h1, h2, h3 { color: var(--ink); }
.muted { color: var(--muted); }
.h2 { font: 600 clamp(1.5rem, 3vw, var(--s4))/1.1 var(--f-display); letter-spacing: -.015em; }

/* Hero over a photo: brand-green wash on the left keeps the headline readable */
.hero-photo { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding-block: clamp(56px, 9vw, 120px) clamp(48px, 8vw, 100px); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; z-index: -2; }
.hero-photo::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgb(20 60 32 / .92) 0%, rgb(30 90 45 / .78) 38%, rgb(40 110 55 / .25) 70%, rgb(0 0 0 / .05) 100%); }
.hero-photo h1 { color: #fff; margin-top: 14px; text-shadow: 0 2px 24px rgb(0 0 0 / .25); }
.hero-photo .eyebrow { color: #dff3cf; }
.hero-photo .lead { color: #eef6ea; }
.hero-photo .mark { background: linear-gradient(transparent 60%, var(--mark) 60% 92%, transparent 92%); color: #fff; }
.hero-photo .hero-meta { color: #e6f2df; }
.hero-photo .hero-meta span::before { color: var(--mark); }
.hero-copy { min-width: 0; }
.hero-photo h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.ticket { color: var(--text); }
.ticket h3 { color: var(--ink); }
@media (max-width: 860px) { .hero-photo::before { background: linear-gradient(180deg, rgb(20 60 32 / .9), rgb(30 90 45 / .82) 60%, rgb(30 90 45 / .7)); } }

/* Stats strip */
.stats { background: var(--grad); color: #173a20; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-block: 22px; }
.stats div { display: grid; gap: 2px; }
.stats b { font: 700 clamp(1.5rem, 3vw, 2.2rem)/1 var(--f-display); color: #fff; text-shadow: 0 1px 0 rgb(0 0 0 / .08); }
.stats span { font-size: .9rem; font-weight: 500; }
@media (max-width: 700px) { .stats .wrap { grid-template-columns: 1fr 1fr; } }

/* Programme cards with photos */
.program-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; max-width: 100%; }
.program-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.program:hover .program-photo img { transform: scale(1.05); }
.count-badge { position: absolute; left: 14px; bottom: 14px; background: var(--c); color: #fff; font: 700 .85rem/1 var(--f-body); padding: 8px 12px; border-radius: 999px; box-shadow: var(--shadow); }
.program-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

/* Destinations mosaic */
.destinations { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 260px; gap: 14px; }
.dest { position: relative; overflow: hidden; border-radius: var(--radius); text-decoration: none; color: #fff; isolation: isolate; }
.dest:nth-child(1), .dest:nth-child(6) { grid-column: span 2; }
.dest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.dest::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgb(0 0 0 / .65)); }
.dest:hover img { transform: scale(1.06); }
.dest-label { position: absolute; left: 18px; right: 18px; bottom: 16px; display: grid; gap: 2px; }
.dest-label b { font: 600 clamp(1.1rem, 2vw, 1.6rem)/1.1 var(--f-display); }
.dest-label small { font: 500 .85rem var(--f-mono); opacity: .9; }
@media (max-width: 860px) { .destinations { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; } }
@media (max-width: 480px) { .destinations { grid-template-columns: 1fr; } .dest:nth-child(1), .dest:nth-child(6) { grid-column: span 1; } }

/* Full-width photo band */
.photo-band { position: relative; isolation: isolate; color: #fff; padding-block: clamp(70px, 11vw, 140px); overflow: hidden; }
.photo-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; z-index: -2; }
.photo-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(0 40 70 / .75), rgb(0 40 70 / .15) 70%); }
.photo-band-copy { max-width: 520px; display: grid; gap: 16px; justify-items: start; }
.photo-band h2 { color: #fff; font: 600 clamp(1.6rem, 3.6vw, 2.6rem)/1.1 var(--f-display); letter-spacing: -.015em; }
.photo-band p { color: #e9f2f8; font-size: var(--s1); }

/* Steps next to a photo */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.split-photo { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); border-radius: calc(var(--radius) + 6px); overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%; box-shadow: var(--shadow); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.steps-1 { grid-template-columns: 1fr; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-photo { position: static; aspect-ratio: 16 / 10; } }

/* Tinted section + featured price */
.tinted { background: linear-gradient(180deg, #eef7e8, #f7f9f6); }
.section.tinted + .section { padding-top: clamp(48px, 7vw, 88px); }
.price { position: relative; }
.price.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.price-flag { position: absolute; top: -12px; left: 22px; background: var(--brand-dark); color: #fff; font: 600 .75rem/1 var(--f-body); padding: 6px 10px; border-radius: 999px; }

/* Stories */
.stories { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; }
.story-lead { position: relative; min-height: 460px; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; display: flex; align-items: flex-end; background: var(--ink); }
.story-lead img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.story-lead::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgb(0 0 0 / .75)); }
.story-lead:hover img { transform: scale(1.04); }
.story-copy { padding: 26px; display: grid; gap: 8px; }
.story-copy small { font: 600 .75rem var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--mark); }
.story-copy b { font: 600 clamp(1.3rem, 2.4vw, 1.9rem)/1.15 var(--f-display); }
.story-copy span { opacity: .9; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.story-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.story-list .card:first-child { grid-column: span 2; flex-direction: row; }
.story-list .card:first-child .thumb { aspect-ratio: auto; flex: 0 0 45%; }
@media (max-width: 900px) { .stories { grid-template-columns: 1fr; } .story-lead { min-height: 340px; } }
@media (max-width: 520px) { .story-list { grid-template-columns: 1fr; } .story-list .card:first-child { grid-column: span 1; flex-direction: column; } .story-list .card:first-child .thumb { aspect-ratio: 16 / 10; } }

/* Moving strip of participant photos */
.moments { overflow: hidden; padding-block: 8px clamp(40px, 6vw, 72px); }
.moments-track { display: flex; gap: 12px; width: max-content; animation: drift 60s linear infinite; }
.moments:hover .moments-track { animation-play-state: paused; }
.moments a { flex: none; width: 220px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; }
.moments img { width: 100%; height: 100%; object-fit: cover; }
.moments a:nth-child(odd) { transform: rotate(-1.5deg); } .moments a:nth-child(even) { transform: rotate(1.5deg) translateY(10px); }
@keyframes drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .moments-track { animation: none; } .moments { overflow-x: auto; } }

/* Section headers with a photo */
.page-head.has-photo { position: relative; isolation: isolate; overflow: hidden; color: #fff; border-bottom: 0; padding-block: clamp(56px, 8vw, 110px) clamp(40px, 6vw, 72px); background: #1e3d27; }
.page-head-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; z-index: -2; }
.page-head.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgb(15 45 25 / .88), rgb(20 60 32 / .55) 55%, rgb(0 0 0 / .15)); }
.page-head.has-photo h1 { color: #fff; }
.page-head.has-photo .sub { color: #eef6ea; }
.page-head.has-photo .crumbs { color: #d8ecd0; }
.page-head.has-photo .chip { background: rgb(255 255 255 / .18); color: #fff; }

/* Contact band with photo */
.band.has-photo { position: relative; overflow: hidden; isolation: isolate; background: #173a20; }
.band-photo { position: absolute; inset: 0 0 0 auto; width: 46%; height: 100%; object-fit: cover; z-index: -1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); opacity: .55; }
.band h2 { color: #fff; }
@media (max-width: 760px) { .band-photo { width: 100%; opacity: .25; -webkit-mask-image: none; mask-image: none; } }

/* ===== Home review: header, hero balance, spacing, dark footer ===== */
.site-header .wrap { min-height: 76px; gap: 18px; }
.logo img { height: 58px; }
.nav a { font-size: .95rem; color: var(--ink); }
.header-phone { font: 600 .95rem var(--f-mono); color: var(--brand-dark); text-decoration: none; white-space: nowrap; }
.header-cta { padding: 10px 18px; font-size: .92rem; white-space: nowrap; }
@media (max-width: 1560px) { .header-phone { display: none; } }
@media (max-width: 1360px) { .header-cta { margin-left: auto; } .nav-toggle { margin-left: 0; } }
@media (max-width: 520px) { .header-cta { display: none; } .nav-toggle { margin-left: auto; } .logo img { height: 50px; } }

.hero-photo .wrap { grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); }
.hero-photo h1 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.06; max-width: 15em; }
.hero-photo .lead { font-size: 1.15rem; }
@media (max-width: 860px) { .hero-photo .wrap { grid-template-columns: 1fr; } }

/* sections that follow a full-bleed or tinted block keep their own top spacing */
.section.tinted, .photo-band + .section, .moments + .section { padding-top: clamp(48px, 7vw, 88px); }
.section.tinted { padding-bottom: clamp(48px, 7vw, 88px); }

/* Dark green footer */
.site-footer { margin-top: 0; border-top: 0; background: #12321d; color: #b9cfbf; padding-block: 56px 28px; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.site-footer h3 { color: #fff; }
.site-footer a { color: #dcebe0; }
.site-footer a:hover { color: #fff; }
.footer-grid a:hover { color: #fff; }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer-social a { padding: 6px 12px; border: 1px solid rgb(255 255 255 / .2); border-radius: 999px; font-size: .85rem; text-decoration: none; }
.footer-social a:hover { background: rgb(255 255 255 / .08); }
.footer-bottom { border-top-color: rgb(255 255 255 / .12); color: #93ad9a; }
.footer-bottom .credit { color: var(--mark); font-weight: 700; letter-spacing: .04em; text-decoration: none; }
.footer-bottom .credit:hover { text-decoration: underline; }
main > .section:last-child { padding-bottom: clamp(56px, 8vw, 96px); }

.hero-photo .wrap { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
@media (max-width: 860px) { .hero-photo .wrap { grid-template-columns: 1fr; } }

.hero-photo h1 { font-size: clamp(2rem, 3.7vw, 3rem); }

/* Contact band: brighter green so it separates from the dark footer */
.band.has-photo, .band { background: linear-gradient(115deg, #1f7a3a 0%, #2f9a4c 55%, #3ab15a 100%); }
.band-photo { opacity: .45; }
.band p, .band .contact-lines { color: #f1f8f0; opacity: 1; }
.band .btn { border-color: #fff; color: #fff; }
.band .btn-primary { background: var(--mark); border-color: var(--mark); color: #1d2b1f; }
.footer-social a { padding: 6px 11px; }
.footer-grid li { overflow-wrap: anywhere; }
.footer-grid { grid-template-columns: 1.3fr 1fr 1.15fr 1.25fr; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-social a { width: 40px; height: 40px; padding: 0; display: grid; place-items: center; border-radius: 50%; color: #dcebe0; font-weight: 700; }
.footer-social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ===== Inquiry form, search, cookie bar ===== */
.inquiry { display: grid; gap: 12px; }
.inquiry h2 { font: 600 var(--s1)/1.2 var(--f-display); color: var(--ink); }
.inquiry label { display: grid; gap: 4px; font-size: .85rem; font-weight: 600; color: var(--ink); }
.inquiry label small { font-weight: 400; color: var(--muted); }
.inquiry input, .inquiry textarea { font: 400 1rem var(--f-body); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; width: 100%; }
.inquiry input:focus, .inquiry textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.inquiry .consent { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; font-size: .8rem; color: var(--muted); }
.inquiry .consent input { width: auto; margin-top: 3px; }
.inquiry .btn { justify-content: center; }
.inquiry .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inq-ok { background: #e3f4e6; color: var(--brand-dark); padding: 10px 12px; border-radius: 10px; font-weight: 600; }
.inq-err { background: #fde4e8; color: #a3142b; padding: 10px 12px; border-radius: 10px; font-weight: 600; }
.inq-alt { font-size: .85rem; }
.inq-alt a { color: var(--brand-dark); font-weight: 600; }
.contact-form-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.contact-form-wrap .panel { padding: 28px; }
.contact-photo { position: static; aspect-ratio: auto; }
@media (max-width: 860px) { .contact-form-wrap { grid-template-columns: 1fr; } .contact-photo { aspect-ratio: 16 / 10; } }
.map-link { font-weight: 600; color: var(--brand-dark); text-decoration: none; }
.map-link::after { content: " →"; }
.header-search { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); flex: none; }
.header-search:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
@media (max-width: 1360px) { .header-search { display: none; } }
.search-form { align-items: end; }
.search-form label { flex: 1 1 320px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; max-width: 560px; margin-inline: auto; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 40px rgb(0 0 0 / .18); padding: 18px 20px; display: grid; gap: 4px; }
.cookie-bar a { color: var(--brand-dark); }

/* ===== Header v3: 1440px layout, language flags, search on mobile, animated menu icon ===== */
.lang-switch { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; flex: none; }
.lang-switch a { display: flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; text-decoration: none; font: 700 .78rem/1 var(--f-body); letter-spacing: .04em; color: var(--muted); }
.lang-switch a svg { border-radius: 3px; box-shadow: 0 0 0 1px rgb(0 0 0 / .08); flex: none; }
.lang-switch a[aria-current] { background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand-dark); }
.lang-switch a:not([aria-current]):hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }

.nav-toggle summary { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 14px; border: 0; background: var(--brand-dark); color: #fff; box-shadow: 0 6px 18px rgb(35 128 62 / .28); transition: background .2s ease; }
.nav-toggle summary:hover { background: #1c6a33; }
.burger { position: relative; width: 22px; height: 16px; display: block; }
.burger i { position: absolute; left: 0; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .25s ease, opacity .2s ease, width .25s ease, top .25s ease; }
.burger i:nth-child(1) { top: 0; width: 22px; }
.burger i:nth-child(2) { top: 7px; width: 15px; }
.burger i:nth-child(3) { top: 14px; width: 19px; }
.nav-toggle[open] .burger i:nth-child(1) { top: 7px; width: 22px; transform: rotate(45deg); }
.nav-toggle[open] .burger i:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle[open] .burger i:nth-child(3) { top: 7px; width: 22px; transform: rotate(-45deg); }

@media (max-width: 1360px) {
  .header-search { display: grid; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 14px; }
  .header-cta { margin-left: 0; }
  .nav-toggle { margin-left: 0; }
  .nav-toggle[open] .nav { max-height: calc(100vh - 80px); overflow-y: auto; }
  .nav-toggle[open] .nav a { border-radius: 12px; }
}
@media (max-width: 520px) {
  .site-header .wrap { gap: 8px; }
  .lang-switch a span { display: none; }
  .lang-switch a { padding: 6px; }
  .header-search { width: 42px; height: 42px; }
  .nav-toggle summary { width: 42px; height: 42px; }
}
.nav-toggle .mobile-phone { font-family: var(--f-mono); color: var(--brand-dark); }
.nav-toggle .nav a.mobile-cta { justify-content: center; margin-top: 8px; padding: 14px; color: #fff; }

/* Home hero: job finder panel (replaces the two offer cards) */
.finder { background: rgb(255 255 255 / .96); color: var(--ink); border-radius: calc(var(--radius) + 6px); padding: clamp(22px, 3vw, 32px); box-shadow: 0 24px 60px rgb(0 0 0 / .28); display: grid; gap: 14px; max-width: 460px; justify-self: end; width: 100%; backdrop-filter: blur(6px); }
.finder h2 { font: 700 clamp(1.35rem, 2vw, 1.7rem)/1.15 var(--f-display); color: var(--ink); margin: 0; letter-spacing: -.01em; }
.finder-kicker { font: 600 .72rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brand-dark); margin: 0; }
.finder-note { color: var(--muted); margin: -4px 0 4px; font-size: .95rem; }
.finder label { display: grid; gap: 6px; font-weight: 600; font-size: .85rem; color: var(--ink); }
.finder select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-weight: 500; color: var(--ink); }
.finder .btn { justify-content: center; width: 100%; margin-top: 4px; }
.finder-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .82rem; color: var(--muted); }
.finder-chips a { padding: 5px 11px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 10%, #fff); color: var(--brand-dark); text-decoration: none; font-weight: 600; }
.finder-chips a:hover { background: color-mix(in srgb, var(--brand) 20%, #fff); }
@media (max-width: 860px) { .finder { justify-self: stretch; max-width: none; margin-top: 8px; } .finder-chips { display: none; } }

/* Job cards: the offer's photo instead of the SOF → state route */
.ticket.has-photo { grid-template-rows: auto 1fr; }
.ticket-photo { grid-column: 1 / -1; position: relative; aspect-ratio: 16 / 7; overflow: hidden; background: color-mix(in srgb, var(--c) 12%, var(--surface)); }
.ticket-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
a.ticket:hover .ticket-photo img { transform: scale(1.04); }
.ticket-photo span { position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: 999px; background: rgb(255 255 255 / .92); color: var(--c); font: 700 .72rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.ticket.has-photo::before, .ticket.has-photo::after { display: none; }
.ticket.has-photo h3 { margin-top: 0; }
