/* Laos Hospitality Jobs — public job site styles. Mobile-first, no framework. */

/* Title face — Athletics Bold (self-hosted, Latin only; Lao titles fall back to Google Sans). */
@font-face {
    font-family: 'Athletics';
    src: url('../fonts/athletics-bold-webfont.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --ivory:      #FAF7F2;
    --paper:      #FFFFFF;
    --sand:       #F2ECE3;
    --line:       #E6DFD4;
    --ink:        #1E1E1E;
    --muted:      #6B6560;
    --forest:     #1F3A34;
    --forest-700: #183029;
    --forest-500: #2C4F47;
    --gold:       #B8925A;
    --gold-600:   #9E7A45;
    --gold-soft:  #EFE4D2;
    --leaf:       #2E6B53;
    --leaf-600:   #245843;
    --focus:      #B8925A;

    --font-display: 'Athletics', 'Google Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-body:    'Google Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-lao:     'Google Sans', 'Noto Sans Lao', 'Phetsarath OT', 'Saysettha OT', sans-serif;

    --radius:    14px;
    --radius-sm: 8px;
    --shadow:    0 1px 2px rgba(31, 58, 52, .06), 0 8px 24px rgba(31, 58, 52, .06);
    --header-h:  64px;
    --gutter:    16px;
    --ease-out:  cubic-bezier(.16, .8, .2, 1);
}

/* ── Base ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--ivory);
    -webkit-font-smoothing: antialiased;
}

/* Lao script needs its own face and more line height; headings too. */
html[lang="lo"] body,
html[lang="lo"] h1, html[lang="lo"] h2, html[lang="lo"] h3,
[lang="lo"] { font-family: var(--font-lao), var(--font-body); }
html[lang="lo"] body { line-height: 1.8; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); }
a:hover { color: var(--gold-600); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; color: var(--forest); }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 720px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -48px; z-index: 100; padding: 8px 14px; background: var(--forest); color: #fff; border-radius: var(--radius-sm); }
.skip-link:focus { top: 8px; color: #fff; }

/* ── Buttons & small parts ────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 24px;
    border-radius: 999px; border: 1.5px solid transparent;
    font: 600 15px/1 var(--font-body); letter-spacing: .01em;
    text-decoration: none; cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
html[lang="lo"] .btn { font-family: var(--font-lao), var(--font-body); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--forest); color: #fff; }
.btn--primary:hover { background: var(--forest-500); color: #fff; }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-600); color: #fff; }
.btn--outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn--outline:hover { background: var(--forest); color: #fff; }
.btn--leaf { background: var(--leaf); color: #fff; }
.btn--leaf:hover { background: var(--leaf-600); color: #fff; }
.btn--light { border-color: rgba(255, 255, 255, .7); color: #fff; background: rgba(255, 255, 255, .06); }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--forest); }

.eyebrow { margin: 0 0 12px; font: 600 12px/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); }
html[lang="lo"] .eyebrow { letter-spacing: .02em; text-transform: none; font-family: var(--font-lao); font-size: 14px; }
.eyebrow--light { color: var(--gold-soft); }

.pill { display: inline-block; margin: 0; padding: 6px 14px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-600); font-size: 13px; font-weight: 600; }

/* ── Header ───────────────────────────────────────────────────────────────── */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(250, 247, 242, .92);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 18px rgba(31, 58, 52, .06); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest); }
.brand:hover { color: var(--forest); }
.brand__logo { height: 40px; width: auto; }
/* Header call to action: beside the menu button on phones, after the nav on
   wider screens. */
.site-header__cta { min-height: 38px; margin-left: auto; margin-right: 8px; padding: 0 14px; font-size: 13.5px; white-space: nowrap; }
@media (max-width: 479px) {
    .brand__logo { height: 32px; }
    .site-header .brand__text { white-space: normal; font-size: 16px; line-height: 1.05; max-width: 9em; } /* beats the base rule below */
}
.brand__mark { width: 14px; height: 14px; background: var(--gold); transform: rotate(45deg); border-radius: 2px; flex-shrink: 0; }
.brand__text, .site-footer__brand { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.brand__text em, .site-footer__brand em { font-style: normal; color: var(--gold-600); }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; cursor: pointer; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { display: block; width: 22px; height: 2px; background: var(--forest); border-radius: 2px; transition: transform .2s, background-color .2s; }
.nav-toggle__bar { position: relative; }
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ''; position: absolute; left: 0; }
.nav-toggle__bar::before { top: -7px; }
.nav-toggle__bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    display: none; flex-direction: column; gap: 4px;
    padding: 12px var(--gutter) 20px;
    background: var(--ivory); border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(31, 58, 52, .08);
}
.site-nav.is-open { display: flex; }
.site-nav > a { display: flex; align-items: center; min-height: 48px; padding: 0 4px; font-weight: 500; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.site-nav > a:hover { color: var(--gold-600); }

.lang-switch { display: inline-flex; align-self: flex-start; margin-top: 12px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.lang-switch a { display: inline-flex; align-items: center; min-height: 36px; min-width: 44px; justify-content: center; padding: 0 12px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--muted); }
.lang-switch a[aria-current="true"] { background: var(--forest); color: #fff; }

.site-nav > a[aria-current="page"] { color: var(--gold-600); }
@media (min-width: 768px) {
    :root { --header-h: 76px; --gutter: 24px; }
    .nav-toggle { display: none; }
    .site-nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 28px; padding: 0; background: none; border: 0; box-shadow: none; }
    .site-nav > a { min-height: 0; padding: 6px 0; border: 0; font-size: 15px; }
    .site-nav { margin-left: auto; }
    .site-header__cta { order: 1; min-height: 42px; margin: 0 0 0 24px; padding: 0 20px; font-size: 14.5px; }
    .lang-switch { margin: 0 0 0 4px; align-self: auto; }
    .brand__text { font-size: 21px; }
}
/* Tablets: four links + the language switch next to the logo. */
@media (min-width: 768px) and (max-width: 1023px) {
    .site-nav { gap: 18px; }
    .site-nav > a { font-size: 14px; }
    .site-nav > a:first-child { display: none; } /* the header button already goes to #jobs */
    .site-header__cta { margin-left: 18px; }
}

/* ── Hero (home) ──────────────────────────────────────────────────────────── */
/* Centred: an oversized title, the pitch and the one call to action, the
   group's logos along the bottom; fills the whole first screen. */
.hero {
    position: relative; overflow: hidden;
    display: flex; align-items: flex-end;
    /* The sticky header sits above the hero, so leave room for it. */
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
    padding: 112px 0 28px;
    color: #fff; background: var(--forest-700);
}
.hero__media {
    position: absolute; inset: 0;
    /* Shown until the poster loads, or when assets/img/hero/ is empty. */
    background:
        radial-gradient(1200px 500px at 85% 10%, rgba(184, 146, 90, .35), transparent 60%),
        radial-gradient(900px 600px at 0% 100%, rgba(44, 79, 71, .9), transparent 70%),
        linear-gradient(135deg, var(--forest-500), var(--forest-700));
}
.hero__media::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(180deg, rgba(24, 48, 41, 0) 0%, rgba(24, 48, 41, .2) 40%, rgba(24, 48, 41, .88) 100%),
        radial-gradient(70% 60% at 50% 62%, rgba(24, 48, 41, .45), rgba(24, 48, 41, 0) 100%);
}
.hero__grid { position: relative; z-index: 2; display: grid; justify-items: center; gap: 32px; text-align: center; }
.hero__title { max-width: 14ch; margin: 0; font-size: clamp(44px, 9vw, 112px); line-height: .92; letter-spacing: -.035em; color: #fff; }
html[lang="lo"] .hero__title { max-width: 16ch; font-size: clamp(32px, 6.5vw, 72px); line-height: 1.3; letter-spacing: 0; }
.hero__aside { max-width: 52ch; }
.hero__subtitle { margin: 0 0 24px; font-size: 17px; color: rgba(255, 255, 255, .86); }
/* Key figures: a full-width green band between the hero and the next section. */
.hero__colophon { position: relative; z-index: 1; background: var(--forest); color: #fff; }
.hero__colophon ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; margin: 0 auto; padding-top: 16px; padding-bottom: 16px; list-style: none; text-align: center; font-size: 14.5px; font-weight: 500; }
.hero__colophon li + li::before { content: '/'; margin: 0 12px; color: var(--gold-soft); }
.hero__logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 20px; margin: 36px 0 0; padding: 0; list-style: none; }
.hero__logos img { display: block; width: auto; height: 72px; opacity: .88; transition: opacity .3s, transform .4s var(--ease-out), filter .3s; }
@media (hover: hover) {
    .hero__logos img:hover { opacity: 1; transform: translateY(-3px) scale(1.05); filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .35)); }
}
@media (prefers-reduced-motion: reduce) { .hero__logos img { transition: opacity .3s; } .hero__logos img:hover { transform: none; } }
@media (min-width: 768px) { .hero__grid { gap: 44px; } .hero__logos { gap: 8px 36px; margin-top: 56px; } .hero__logos img { height: 96px; } }

/* Title words rise into place once (jobs.js splits them; not for Lao, whose
   stacked vowels would be clipped by the word masks). */
.hero__title .word { display: inline-block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; vertical-align: top; }
.hero__title .word > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms + 120ms); }
.hero__title.is-split .word > span { transform: none; }

/* ── Sections ─────────────────────────────────────────────────────────────── */
.section { padding: 56px 0; }
.section--tinted { background: var(--sand); }
.section--center { text-align: center; padding: 96px 0; }
.section__title { font-size: clamp(28px, 5vw, 40px); letter-spacing: -.01em; }
html[lang="lo"] .section__title { letter-spacing: 0; line-height: 1.4; }
.section__lead { margin: 0 0 24px; font-size: 17px; color: var(--muted); }
@media (min-width: 768px) { .section { padding: 88px 0; } }

.empty-state {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    margin-top: 24px; padding: 40px 24px;
    text-align: center; background: var(--paper);
    border: 1px dashed var(--line); border-radius: var(--radius);
}
.empty-state__title { margin: 0; font-family: var(--font-display); font-size: 21px; color: var(--forest); }
html[lang="lo"] .empty-state__title { font-family: var(--font-lao); }
.empty-state__text { max-width: 46ch; margin: 0 0 12px; color: var(--muted); }

/* ── Footer ───────────────────────────────────────────────────────────────── */
/* Group properties ("the rest of the family"), above the footer */
/* Photos hang at uneven heights, like a river bank; on wide screens jobs.js
   drifts each photo at its own speed as the page scrolls (translate), the
   hover zoom uses scale, so the two never fight. */
.family { padding: 72px 0 96px; background: var(--sand); }
.family__eyebrow { margin: 0 0 16px; font: 400 12px/1.2 var(--font-body); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
html[lang="lo"] .family__eyebrow { letter-spacing: .04em; text-transform: none; font-family: var(--font-lao); font-size: 14px; }
.family__title { max-width: 20ch; margin: 0 0 48px; font-size: clamp(34px, 5.6vw, 72px); line-height: 1; letter-spacing: -.03em; color: var(--forest); }
html[lang="lo"] .family__title { max-width: 20ch; line-height: 1.35; letter-spacing: 0; font-size: clamp(28px, 4.5vw, 52px); }
.family__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; margin: 0; padding: 0; list-style: none; }
.family__grid > li:nth-child(even) { margin-top: 40px; }
.family-card__link { display: block; color: inherit; text-decoration: none; }
.family-card__link:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.family-card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--forest); }
.family-card__photo { display: block; width: 100%; height: 100%; object-fit: cover; scale: 1.14; transition: scale .9s var(--ease-out); }
.family-card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .35) 30%, rgba(0, 0, 0, 0) 60%); pointer-events: none; }
.family-card__logo { position: absolute; z-index: 1; top: 4%; left: 50%; width: 62%; height: auto; transform: translateX(-50%); }
.family-card:hover .family-card__photo { scale: 1.2; }
.family-card__name { margin: 14px 0 2px; font: 600 12px/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--forest); }
.family-card__tagline { margin: 0; font-size: 13px; color: var(--muted); }
@media (min-width: 768px) {
    .family { padding: 112px 0 128px; }
    .family__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .family__grid > li:nth-child(even) { margin-top: 0; }
    .family__grid > li:nth-child(3n+2) { margin-top: 56px; }
    .family__grid > li:nth-child(3n) { margin-top: 20px; }
}
@media (min-width: 1100px) {
    .family__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
    .family__grid > li:nth-child(n) { margin-top: 0; }
    .family__grid > li:nth-child(6n+2) { margin-top: 72px; }
    .family__grid > li:nth-child(6n+3) { margin-top: 24px; }
    .family__grid > li:nth-child(6n+4) { margin-top: 104px; }
    .family__grid > li:nth-child(6n+5) { margin-top: 8px; }
    .family__grid > li:nth-child(6n)   { margin-top: 52px; }
}
@media (prefers-reduced-motion: reduce) { .family-card__photo { transition: none; } }

.site-footer { background: var(--forest); color: rgba(255, 255, 255, .8); font-size: 15px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer__grid { display: grid; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.site-footer__brand { margin: 0 0 8px; color: #fff; }
.site-footer__brand em { color: var(--gold-soft); }
.site-footer__tagline { margin: 0; font-style: italic; }
html[lang="lo"] .site-footer__tagline { font-style: normal; } /* Lao has no italic; the browser would fake a slant */
.site-footer__title { margin: 0 0 12px; font: 600 12px/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); }
html[lang="lo"] .site-footer__title { font-family: var(--font-lao); letter-spacing: .02em; font-size: 14px; text-transform: none; }
.site-footer__list, .site-footer__social { margin: 0; padding: 0; list-style: none; }
.site-footer__list li + li { margin-top: 6px; }
.site-footer__social { display: flex; gap: 10px; }
.site-footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; }
.site-footer__social a:hover { border-color: var(--gold-soft); }
.site-footer__bottom { padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .6); }
.site-footer__bottom p { margin: 0; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 2fr 1.5fr 1fr; } }

/* ── Hero film ────────────────────────────────────────────────────────────── */
.hero__poster, .hero__video {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover;
}
/* The inlined 32 px blur-up (style attribute) shows until the photo arrives. */
.hero__poster { background: var(--forest-700) center / cover no-repeat; }
.hero__video { opacity: 0; transition: opacity 1.2s ease; }
.hero__video.is-playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero__video { transition: none; } }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 20px; }

/* ── Buttons (extra) ──────────────────────────────────────────────────────── */
.btn--block { display: flex; width: 100%; }

/* ── Job list: heading + filters ──────────────────────────────────────────── */
.jobs-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 24px; }
.jobs-head .section__title { margin: 0; }

.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.filters__submit { grid-column: 1 / -1; }
.filters.js-live .filters__submit { display: none; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field__label { font-size: 13px; font-weight: 600; color: var(--muted); }
.select { position: relative; }
.select::after {
    content: ''; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
    border-right: 2px solid var(--forest); border-bottom: 2px solid var(--forest);
    transform: rotate(45deg); pointer-events: none;
}
.select select {
    width: 100%; min-height: 48px; padding: 0 40px 0 14px;
    font: 500 15px/1.2 var(--font-body); color: var(--ink);
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
    -webkit-appearance: none; appearance: none; cursor: pointer;
    text-overflow: ellipsis;
}
html[lang="lo"] .select select { font-family: var(--font-lao), var(--font-body); }
.select select:hover { border-color: var(--gold); }

@media (min-width: 900px) {
    .jobs-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
    .filters { grid-template-columns: 220px 220px auto; }
    .filters__submit { grid-column: auto; }
}

.results-meta { margin: 0 0 16px; font-size: 14px; color: var(--muted); }
[data-results] { transition: opacity .2s; }
[data-results].is-loading { opacity: .45; pointer-events: none; }

/* ── Offer cards ──────────────────────────────────────────────────────────── */
.offer-grid { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px)  { .offer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .offer-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.offer-grid > li { display: flex; }

.offer-card {
    position: relative; display: flex; flex-direction: column; width: 100%;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow);
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.offer-card:hover { transform: translateY(-3px); border-color: var(--gold-soft); box-shadow: 0 2px 4px rgba(31, 58, 52, .06), 0 16px 40px rgba(31, 58, 52, .12); }
.offer-card:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .offer-card, .offer-card:hover { transition: none; transform: none; } }

.offer-card__media { position: relative; aspect-ratio: 16 / 9; background: var(--sand); }
.offer-card__media > img { width: 100%; height: 100%; object-fit: cover; }
.offer-card__placeholder {
    display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
    background: radial-gradient(400px 200px at 80% 0%, rgba(184, 146, 90, .25), transparent 70%), linear-gradient(135deg, var(--forest-500), var(--forest-700));
}
.offer-card__placeholder img { width: 96px; height: 96px; object-fit: contain; padding: 10px; background: #fff; border-radius: 50%; }
.offer-card__placeholder span { font-family: var(--font-display); font-size: 56px; color: var(--gold-soft); }
.offer-card__category {
    position: absolute; left: 12px; top: 12px;
    padding: 5px 12px; border-radius: 999px;
    background: rgba(250, 247, 242, .94); color: var(--forest);
    font-size: 12px; font-weight: 600;
}

.offer-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.offer-card__company { margin: 0 0 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.offer-card__title { margin: 0 0 12px; font-size: 21px; line-height: 1.25; }
html[lang="lo"] .offer-card__title, .offer-card__title[lang="lo"] { font-size: 19px; line-height: 1.5; }
.offer-card__title a { color: var(--forest); text-decoration: none; }
.offer-card__title a::after { content: ''; position: absolute; inset: 0; } /* whole card clickable */
.offer-card__title a:focus-visible { outline: none; }
.offer-card__summary {
    margin: 12px 0 0; font-size: 15px; color: var(--muted);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.offer-card__foot {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px;
    margin-top: auto; padding-top: 16px;
    border-top: 1px solid var(--line); font-size: 14px;
}
.offer-card__body > :nth-last-child(2) { margin-bottom: 16px; }
.offer-card__salary { font-weight: 600; color: var(--forest); }
.offer-card__salary.is-muted { font-weight: 500; color: var(--muted); }
.offer-card__deadline { color: var(--muted); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tag { padding: 4px 10px; border-radius: 999px; background: var(--sand); color: var(--forest-500); font-size: 12.5px; font-weight: 500; }

/* ── Spontaneous application ──────────────────────────────────────────────── */
.spontaneous {
    display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
    margin-top: 40px; padding: 24px;
    background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--radius);
}
.spontaneous__title { margin: 0 0 4px; font-size: 22px; }
.spontaneous__text { margin: 0; max-width: 60ch; color: var(--muted); }
@media (min-width: 768px) { .spontaneous { flex-direction: row; align-items: center; justify-content: space-between; padding: 28px 32px; } }

/* ── Home content sections ────────────────────────────────────────────────── */
.dept-grid { display: grid; gap: 16px; margin: 8px 0 0; padding: 0; list-style: none; }
@media (min-width: 640px)  { .dept-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .dept-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.dept-card {
    position: relative; display: flex; flex-direction: column;
    padding: 20px 22px; background: var(--paper);
    border: 1px solid var(--line); border-radius: var(--radius);
    transition: border-color .2s, box-shadow .2s;
}
.dept-card:hover { border-color: var(--gold-soft); box-shadow: var(--shadow); }
.dept-card:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.dept-card__title { margin: 0 0 6px; font-size: 20px; }
.dept-card__title a { color: var(--forest); text-decoration: none; }
.dept-card__title a::after { content: ''; position: absolute; inset: 0; } /* whole card clickable */
.dept-card__title a:focus-visible { outline: none; }
.dept-card__text { margin: 0 0 14px; font-size: 15px; color: var(--muted); }
.dept-card__count { margin: auto 0 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.dept-card__count.is-open { color: var(--gold-600); }

.link-cloud { margin-top: 40px; }
.link-cloud__title { margin: 0 0 12px; font-size: 18px; }
.link-cloud ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.link-cloud a {
    display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
    background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
    font-size: 14.5px; font-weight: 500; text-decoration: none;
}
.link-cloud a:hover { border-color: var(--gold); }
.link-cloud__count { padding: 1px 8px; border-radius: 999px; background: var(--gold-soft); color: var(--forest-700); font-size: 12px; font-weight: 600; }

.about { display: grid; gap: 40px; }
@media (min-width: 900px) { .about { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; align-items: start; } }
.about__text p { margin: 0 0 16px; font-size: 17px; }
.about__text p:last-child { margin-bottom: 0; }
.about__why { padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.about__why-title { margin: 0 0 16px; font-size: 22px; }
.why-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.why-list li { display: flex; flex-direction: column; gap: 2px; padding-left: 18px; border-left: 3px solid var(--gold); }
.why-list strong { color: var(--forest); }
.why-list span { font-size: 15px; color: var(--muted); }

.faq { margin-top: 8px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 18px 0; cursor: pointer; list-style: none;
    font-weight: 600; font-size: 17px; color: var(--forest);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: '+'; flex: none; font-size: 24px; font-weight: 400; line-height: 1; color: var(--gold-600); transition: transform .2s; }
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { margin: 0 0 18px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .faq__q::after { transition: none; } }

/* ── Landing pages (department / town) ────────────────────────────────────── */
.landing-head { padding: 32px 0 8px; }
@media (min-width: 768px) { .landing-head { padding: 48px 0 8px; } }
.landing-head__title { margin: 0 0 16px; font-size: clamp(32px, 6vw, 52px); letter-spacing: -.02em; }
html[lang="lo"] .landing-head__title { line-height: 1.4; letter-spacing: 0; }
.landing-head__lead { max-width: 68ch; margin: 0 0 24px; font-size: 17px; }
.landing-head__sub { margin: 0 0 12px; font-size: 18px; }
.tags--lg .tag { padding: 6px 14px; font-size: 14px; background: var(--paper); border: 1px solid var(--line); }
.section--tight { padding-top: 32px; }
@media (min-width: 768px) { .section--tight { padding-top: 48px; } }
.empty-state__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ── Offer page ───────────────────────────────────────────────────────────── */
.offer { padding: 24px 0 64px; }
@media (min-width: 768px) { .offer { padding: 40px 0 88px; } }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-600); text-decoration: underline; }

.notice { display: flex; flex-direction: column; gap: 2px; margin: 0 0 20px; padding: 14px 18px; border-radius: var(--radius-sm); font-size: 15px; }
.notice--closed { background: #FBEDEA; border: 1px solid #F0CFC7; color: #7A2E1F; }
.notice--lang { background: var(--gold-soft); color: var(--forest-700); }

.offer__head { margin-bottom: 28px; }
.offer__org { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.offer__logo { width: 56px; height: 56px; object-fit: contain; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.offer__company { margin: 0; font-weight: 600; color: var(--forest); }
.offer__location { margin: 0; font-size: 14px; color: var(--muted); }
.offer__title { margin: 0 0 16px; font-size: clamp(30px, 6vw, 48px); letter-spacing: -.02em; }
.offer__title[lang="lo"] { font-size: clamp(26px, 5vw, 40px); line-height: 1.4; letter-spacing: 0; }

.offer__layout { display: grid; gap: 32px; }
@media (min-width: 960px) {
    .offer__layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
    .offer__aside { position: sticky; top: calc(var(--header-h) + 24px); }
}
.offer__image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 28px; border-radius: var(--radius); }
.offer__summary { margin: 0 0 24px; font-size: 19px; line-height: 1.6; color: var(--forest-700); }

.prose { font-size: 16.5px; line-height: 1.75; overflow-wrap: anywhere; }
.prose[lang="lo"] { line-height: 1.9; }
.prose > :first-child { margin-top: 0; }
.prose h2, .prose h3, .prose h4 { margin: 1.6em 0 .5em; }
.prose h2 { font-size: 26px; }
.prose h3 { font-size: 21px; }
.prose h4 { font-size: 18px; }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--gold); }
.prose blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--gold); color: var(--muted); font-style: italic; }
.prose a { color: var(--forest); text-decoration-color: var(--gold); text-underline-offset: 3px; }

.facts { padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.facts__list { margin: 0 0 20px; }
.facts__list > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts__list > div:first-child { padding-top: 0; }
.facts__list dt { color: var(--muted); }
.facts__list dd { margin: 0; font-weight: 500; text-align: right; }
.facts__list .facts__salary { color: var(--forest); font-weight: 600; }

.share { margin-top: 20px; }
.share__title { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.share__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.share__btn {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
    background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
    font: 500 14px/1 var(--font-body); color: var(--forest); text-decoration: none; cursor: pointer;
}
html[lang="lo"] .share__btn { font-family: var(--font-lao), var(--font-body); }
.share__btn:hover { border-color: var(--gold); color: var(--forest); }
.share__btn[hidden] { display: none; }

/* Mobile: sticky "Apply" bar; desktop has the button in the facts card. */
.apply-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(31, 58, 52, .08);
}
.apply-bar > div { min-width: 0; }
.apply-bar__title { margin: 0; font-weight: 600; font-size: 14px; color: var(--forest); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apply-bar__meta { margin: 0; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apply-bar .btn { flex-shrink: 0; min-height: 44px; padding: 0 20px; }
.page-offer .site-footer { padding-bottom: 72px; }
@media (min-width: 960px) {
    .apply-bar { display: none; }
    .page-offer .site-footer { padding-bottom: 0; }
}

/* ── Application form (lot 3) ─────────────────────────────────────────────── */
.container--form { max-width: 760px; }
.apply-page { padding: 20px 0 72px; }
@media (min-width: 768px) { .apply-page { padding: 36px 0 96px; } }

.back-link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; }
.back-link:hover { color: var(--gold-600); }

.apply-head { margin-bottom: 24px; }
.apply-head__title { margin: 0 0 8px; font-size: clamp(28px, 5.5vw, 42px); letter-spacing: -.02em; }
.apply-head__title[lang="lo"], html[lang="lo"] .apply-head__title { line-height: 1.4; letter-spacing: 0; }
.apply-head__meta { margin: 0; color: var(--muted); }

.notice--error { background: #FBEDEA; border: 1px solid #F0CFC7; color: #7A2E1F; }
.notice--error:focus { outline: none; }
.notice__list { margin: 6px 0 0; padding-left: 1.2em; font-size: 14px; }
.notice--row { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; }
.notice[hidden] { display: none; }
.link-btn { padding: 0; min-height: 32px; border: 0; background: none; font: inherit; font-weight: 600; color: var(--forest); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--gold-600); }

.apply-form { padding: 20px 16px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 640px) { .apply-form { padding: 32px 36px 36px; } }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Stepper (wizard mode only) */
.stepper { margin: 0 0 28px; }
.stepper[hidden] { display: none; }
.stepper__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 0 0 12px; padding: 0; list-style: none; }
.stepper__btn {
    display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; min-height: 44px; padding: 0;
    border: 0; background: none; font: 500 12px/1.3 var(--font-body); color: var(--muted); cursor: pointer; text-align: center;
}
html[lang="lo"] .stepper__btn { font-family: var(--font-lao), var(--font-body); }
.stepper__btn:disabled { cursor: default; }
.stepper__num {
    display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%;
    border: 1.5px solid var(--line); background: var(--paper); font-weight: 600; font-size: 14px; color: var(--muted);
    transition: background-color .2s, border-color .2s, color .2s;
}
.stepper__item.is-done .stepper__num { border-color: var(--gold); background: var(--gold-soft); color: var(--gold-600); }
.stepper__item.is-done .stepper__btn:not(:disabled):hover .stepper__num { background: var(--gold); color: #fff; }
.stepper__item.is-current .stepper__num { border-color: var(--forest); background: var(--forest); color: #fff; }
.stepper__item.is-current .stepper__btn { color: var(--forest); font-weight: 600; }
@media (max-width: 479px) { .stepper__label { display: none; } .stepper__item.is-current .stepper__label { display: block; } }
.stepper__bar { height: 4px; border-radius: 2px; background: var(--sand); overflow: hidden; }
.stepper__bar span { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(.25); transform-origin: left; transition: transform .35s ease; }
@media (prefers-reduced-motion: reduce) { .stepper__bar span { transition: none; } }

/* Steps */
.step + .step { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.apply-form.is-wizard .step { display: none; margin-top: 0; padding-top: 0; border-top: 0; }
.apply-form.is-wizard .step.is-active { display: block; }
.step__title { margin: 0 0 6px; font-size: 24px; }
.step__title:focus { outline: none; }
html[lang="lo"] .step__title { line-height: 1.45; }
.step__lead { margin: 0 0 24px; color: var(--muted); }

.form-grid { display: grid; gap: 18px 16px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.form-grid + .form-grid { margin-top: 18px; }
.form-grid--files { padding-top: 18px; border-top: 1px dashed var(--line); }

fieldset.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.field[hidden] { display: none; }
.apply-form .field__label { padding: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.field__optional { font-weight: 400; color: var(--muted); }
.req { color: var(--gold-600); font-weight: 700; }
.field__hint { margin: 0; font-size: 13px; color: var(--muted); }
.field__error { margin: 0; font-size: 13.5px; font-weight: 500; color: #A33A26; }
.field__error::before { content: '!'; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; margin-right: 6px; border-radius: 50%; background: #A33A26; color: #fff; font-size: 11px; font-weight: 700; vertical-align: 1px; }

.input {
    width: 100%; min-height: 48px; padding: 0 14px;
    font: 400 16px/1.4 var(--font-body); color: var(--ink);
    background: var(--paper); border: 1px solid #D9D0C3; border-radius: var(--radius-sm);
    transition: border-color .15s, box-shadow .15s;
}
html[lang="lo"] .input { font-family: var(--font-lao), var(--font-body); }
.input--area { padding: 12px 14px; min-height: 96px; resize: vertical; }
.input:hover, .apply-form .select select:hover { border-color: var(--gold); }
.input:focus, .apply-form .select select:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(184, 146, 90, .35); }
.apply-form .select select { font-size: 16px; font-weight: 400; border-color: #D9D0C3; }
.input[aria-invalid="true"], .apply-form select[aria-invalid="true"], .field.is-invalid .input, .field.is-invalid select { border-color: #C2553F; }
.apply-form ::placeholder { color: #A39B92; }

.phone { display: grid; grid-template-columns: minmax(118px, 38%) 1fr; gap: 8px; }
.dob { display: grid; grid-template-columns: 1fr 1.5fr 1.2fr; gap: 8px; }
.dob .select select, .pair .select select { padding-left: 12px; padding-right: 30px; }
.dob .select::after, .pair .select::after { right: 12px; }
.pair { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
fieldset.field:disabled .pair { opacity: .45; }

/* Big two-way choice (gender) */
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input, .seg__opt input, .pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
    display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 12px;
    border: 1.5px solid #D9D0C3; border-radius: var(--radius-sm); background: var(--paper);
    font-weight: 600; color: var(--forest); transition: background-color .15s, border-color .15s, color .15s;
}
.choice:hover span { border-color: var(--gold); }
.choice input:checked + span { border-color: var(--forest); background: var(--forest); color: #fff; }
.choice input:focus-visible + span, .seg__opt input:focus-visible + span, .pick input:focus-visible + span, .file input:focus-visible ~ .file__text { outline: 3px solid var(--focus); outline-offset: 2px; }
.field.is-invalid .choice span { border-color: #C2553F; }

/* File picker */
.file {
    position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px;
    border: 1.5px dashed #CFC4B5; border-radius: var(--radius-sm); background: var(--ivory); cursor: pointer;
    transition: border-color .15s, background-color .15s;
}
.file:hover { border-color: var(--gold); background: #fff; }
.file input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file__icon { flex-shrink: 0; color: var(--gold-600); }
.file__text { min-width: 0; font-weight: 500; color: var(--forest); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-radius: 4px; }
.file.has-file { border-style: solid; border-color: var(--forest-500); background: #fff; }
.file.is-invalid { border-color: #C2553F; }

/* Repeatable cards (education / jobs) */
.repeat__list { display: flex; flex-direction: column; gap: 14px; }
.repeat-card { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--ivory); }
@media (min-width: 640px) { .repeat-card { padding: 20px; } }
.repeat-card .input, .repeat-card .select select { background: #fff; }
.repeat-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.repeat-card__title { margin: 0; font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--forest); }
html[lang="lo"] .repeat-card__title { font-family: var(--font-lao); }
.repeat-card__remove { min-height: 36px; padding: 0 12px; border: 1px solid transparent; border-radius: 999px; background: none; font: 500 13px/1 var(--font-body); color: var(--muted); cursor: pointer; }
html[lang="lo"] .repeat-card__remove { font-family: var(--font-lao), var(--font-body); }
.repeat-card__remove:hover { border-color: var(--line); color: #A33A26; }
.repeat-card__remove[hidden] { display: none; }
.btn-add {
    display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin-top: 14px; padding: 0 18px;
    border: 1.5px dashed var(--gold); border-radius: 999px; background: none;
    font: 600 14.5px/1 var(--font-body); color: var(--forest); cursor: pointer;
}
html[lang="lo"] .btn-add { font-family: var(--font-lao), var(--font-body); }
.btn-add:hover { background: var(--gold-soft); }
.btn-add[hidden] { display: none; }

.check { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding-top: 10px; font-size: 15px; cursor: pointer; }
.check input { flex-shrink: 0; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--forest); }

/* Languages */
.lang-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { position: relative; cursor: pointer; }
.pick span {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
    border: 1.5px solid #D9D0C3; border-radius: 999px; background: var(--paper); font-weight: 500; color: var(--forest);
    transition: background-color .15s, border-color .15s, color .15s;
}
.pick span::before { content: ''; width: 14px; height: 14px; border: 1.5px solid currentColor; border-radius: 4px; }
.pick:hover span { border-color: var(--gold); }
.pick input:checked + span { background: var(--forest); border-color: var(--forest); color: #fff; }
.pick input:checked + span::before { border-color: var(--gold-soft); background: var(--gold-soft); box-shadow: inset 0 0 0 2px var(--forest); }

.lang-panel { margin-top: 16px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--ivory); }
.lang-panel[hidden] { display: none; }
.lang-panel__title { margin: 0 0 8px; font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--forest); }
html[lang="lo"] .lang-panel__title { font-family: var(--font-lao); }
.skill { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 8px 0; border: 0; border-top: 1px solid var(--line); }
.skill:first-of-type { border-top: 0; }
.skill__label { float: left; padding: 0; font-size: 15px; }
.seg { display: inline-grid; grid-template-columns: 1fr 1fr; flex-shrink: 0; padding: 3px; border: 1px solid #D9D0C3; border-radius: 999px; background: #fff; }
.seg__opt { position: relative; cursor: pointer; }
.seg__opt span { display: flex; align-items: center; justify-content: center; min-width: 76px; min-height: 40px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); transition: background-color .15s, color .15s; }
.seg__opt:hover span { color: var(--forest); }
.seg__opt input:checked + span { background: var(--forest); color: #fff; }
.lang-panel + .form-grid, .lang-picks + .form-grid { margin-top: 24px; }
.step[data-step="4"] > .form-grid { margin-top: 24px; }

/* Recap + consent + navigation */
.recap { margin-top: 28px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--sand); }
.recap[hidden] { display: none; }
.recap__title { margin: 0 0 8px; font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--forest); }
html[lang="lo"] .recap__title { font-family: var(--font-lao); }
.recap__list { margin: 0; }
.recap__list > div { display: grid; grid-template-columns: minmax(96px, 30%) 1fr auto; gap: 12px; align-items: baseline; padding: 6px 0; border-top: 1px solid rgba(31, 58, 52, .08); font-size: 14.5px; }
.recap__list > div:first-child { border-top: 0; }
.recap__list dt { color: var(--muted); }
.recap__list dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.recap__list .link-btn { font-size: 13px; }

.consent { margin-top: 24px; }
.check--consent { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--ivory); font-size: 14.5px; line-height: 1.5; }
.field.is-invalid .check--consent { border-color: #C2553F; }
.consent .field__error { margin-top: 6px; }
.btn--lg { min-height: 56px; margin-top: 20px; font-size: 16px; }
.btn[disabled] { opacity: .7; cursor: progress; }

.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.step-nav[hidden] { display: none; }
.step-nav [data-prev][hidden] { display: inline-flex; visibility: hidden; }
.step-nav [data-next][hidden] { display: none; }
.step-nav .btn { min-width: 128px; }

/* Confirmation / closed */
.done { padding: 40px 20px; text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 640px) { .done { padding: 56px 48px; } }
.done__icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 20px; border-radius: 50%; background: var(--forest); color: var(--gold-soft); }
.done__title { margin: 0 0 12px; font-size: clamp(28px, 5vw, 38px); }
html[lang="lo"] .done__title { line-height: 1.4; }
.done__text { max-width: 52ch; margin: 0 auto 28px; font-size: 17px; color: var(--ink); }
.done__next { max-width: 460px; margin: 0 auto 32px; padding: 20px 24px; text-align: left; border-radius: var(--radius-sm); background: var(--ivory); }
.done__subtitle { margin: 0 0 10px; font-size: 18px; }
.done__steps { margin: 0; padding-left: 1.2em; color: var(--ink); }
.done__steps li { margin-bottom: 6px; }
.done__steps li::marker { color: var(--gold); font-weight: 600; }
.done__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ── Job alerts (sign-up, thank-you, unsubscribe) ───────────────────────────── */
.section--tinted .alerts-form { margin-top: 28px; text-align: left; }
.alerts-form .consent { margin-top: 20px; }
.cat-picks { margin-top: 4px; }
.cat-picks .pick span { min-height: 42px; padding: 0 16px; font-size: 14.5px; }
.field.is-invalid .pick span { border-color: #C2553F; }
.done__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.done__tags li { padding: 6px 14px; border-radius: 999px; background: var(--forest); color: #fff; font-size: 14px; font-weight: 500; }
.done__small { margin: 0; font-size: 14px; color: var(--muted); }
.done__icon--muted { background: var(--sand); color: var(--forest); }

/* ── Campaign pages: key figures, benefits, call-out, stories ─────────────── */
/* Trust strip under the hero */
.figures { background: var(--forest); color: #fff; }
.figures__list { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 0; padding-top: 14px; padding-bottom: 14px; list-style: none; font-size: 14px; font-weight: 500; }
.figures__list li { display: inline-flex; align-items: center; }
.figures__list li + li::before { content: ''; width: 5px; height: 5px; margin: 0 14px; border-radius: 50%; background: var(--gold); }
.figures__list li:last-child { color: var(--gold-soft); }
@media (min-width: 768px) { .figures__list { justify-content: center; font-size: 15px; padding-top: 16px; padding-bottom: 16px; } }

/* "Working in Thailand?" call-out on the home page */
.section--tight-bottom { padding-bottom: 0; }
.callout {
    display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
    padding: 28px 24px; border-radius: var(--radius);
    background: linear-gradient(135deg, var(--forest-500), var(--forest-700)); color: rgba(255, 255, 255, .88);
}
.callout .eyebrow { color: var(--gold-soft); }
.callout__title { margin: 0 0 8px; font-size: clamp(24px, 4vw, 32px); color: #fff; }
html[lang="lo"] .callout__title { line-height: 1.4; }
.callout__text { margin: 0; max-width: 62ch; }
@media (min-width: 900px) { .callout { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; padding: 40px 44px; } .callout .btn { flex-shrink: 0; } }

/* Team stories */
.stories { display: grid; gap: 20px; margin: 8px 0 0; padding: 0; list-style: none; }
@media (min-width: 768px)  { .stories { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .stories { grid-template-columns: repeat(3, 1fr); } }
.story { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.story__photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.story__quote { margin: 0; flex: 1; }
.story__quote p { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--ink); }
.story__who { margin: 0; display: flex; flex-direction: column; font-size: 14px; }
.story__who strong { color: var(--forest); }
.story__who span { color: var(--muted); }

/* Management page */
.columns { display: grid; gap: 16px; }
@media (min-width: 900px) { .columns { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.column-card { padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.column-card__title { margin: 0 0 12px; font-size: 21px; }
.column-card__list { margin: 0; padding-left: 1.2em; color: var(--ink); }
.column-card__list li { margin-bottom: 8px; }
.column-card__list li::marker { color: var(--gold); font-weight: 600; }

/* Offer page: benefits in the facts card */
.facts__benefits { margin: 0 0 20px; }
.facts__benefits-title { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--muted); }

/* Application form: screening questions */
.choices--3 { grid-template-columns: repeat(3, 1fr); }
.choices--wrap { grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); }
.choices--3 .choice span, .choices--wrap .choice span { min-height: 48px; padding: 6px 10px; text-align: center; line-height: 1.3; font-size: 14.5px; }
@media (max-width: 379px) { .choices--3 { grid-template-columns: 1fr; } }
.form-grid--lead { margin-bottom: 24px; }

/* ── Editorial layer (home, /work-in-laos) ─────────────────────────────────── */
/* Sections carry a numbered folio instead of an eyebrow; each one splits the
   12 columns differently so no two in a row share a layout. */
.page-editorial main { counter-reset: folio; }
.page-editorial .folio,
.page-editorial .family__eyebrow.folio {
    display: flex; align-items: center; gap: 14px; margin: 0 0 20px;
    font: 500 13.5px/1.3 var(--font-body); letter-spacing: .03em; text-transform: none; color: var(--muted);
}
html[lang="lo"] .page-editorial .folio { font-family: var(--font-lao); font-size: 14px; }
.page-editorial .folio::before {
    counter-increment: folio; content: counter(folio, decimal-leading-zero);
    padding-right: 14px; border-right: 1px solid currentColor;
    font: 700 13.5px/1 var(--font-display); letter-spacing: 0; color: var(--gold-600);
}
.page-editorial .section { padding: 80px 0; }
@media (min-width: 768px) { .page-editorial .section { padding: 128px 0; } }
.page-editorial .section__title { max-width: 16ch; margin: 0; font-size: clamp(34px, 5.6vw, 72px); line-height: 1; letter-spacing: -.03em; }
html[lang="lo"] .page-editorial .section__title { font-size: clamp(28px, 4.5vw, 52px); line-height: 1.35; letter-spacing: 0; }

.arrow-link {
    display: inline-flex; align-items: center; gap: 10px; padding-bottom: 3px;
    font-weight: 600; font-size: 15px; color: var(--forest); text-decoration: none;
    border-bottom: 1px solid var(--gold);
}
.arrow-link::after { content: '→'; transition: transform .35s var(--ease-out); }
.arrow-link:hover { color: var(--gold-600); }
.arrow-link:hover::after { transform: translateX(5px); }

/* Reveal: [data-reveal-item] children rise in turn when their section enters
   the screen. html.has-reveal is set by jobs.js only (no JS or reduced motion:
   everything is simply there). An animation, not a transition, so hover
   transitions on the same elements keep their own timing. */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.has-reveal [data-reveal] [data-reveal-item] { opacity: 0; }
.has-reveal [data-reveal].is-in [data-reveal-item] { animation: rise .9s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms); }

/* Introduction under the hero, centred: ornament, statement, one line of
   text, then the motto under a large gold quote mark. */
.intro { padding: 64px 0 24px; overflow: hidden; text-align: center; }
.intro__inner { display: flex; flex-direction: column; align-items: center; }
.intro__mark { display: block; color: var(--gold); margin-bottom: 22px; }
.intro__mark svg { display: block; }
.intro__title { margin: 0; max-width: 16ch; font-size: clamp(38px, 6.4vw, 84px); line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
html[lang="lo"] .intro__title { font-family: var(--font-lao); font-size: clamp(30px, 4.8vw, 56px); line-height: 1.35; letter-spacing: 0; max-width: 22ch; }
.intro__text { max-width: 44ch; margin: 18px 0 0; font-size: clamp(17px, 1.8vw, 21px); color: var(--muted); text-wrap: balance; }

.intro__quote { position: relative; max-width: 30ch; margin: clamp(28px, 4vw, 44px) 0 0; padding-top: 44px; }
.intro__quote::before {
    content: '\201C'; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    font: 700 96px/1 var(--font-display); color: var(--gold); opacity: .55;
}
.intro__quote p { margin: 0; font: 700 clamp(22px, 2.6vw, 32px)/1.25 var(--font-display); letter-spacing: -.015em; color: var(--forest); text-wrap: balance; }
html[lang="lo"] .intro__quote p { font-family: var(--font-lao); font-weight: 600; line-height: 1.6; letter-spacing: 0; }
@media (min-width: 960px) {
    .intro { padding-top: 104px; }
}

/* Open positions: cards by default, editorial rows on request (jobs.js,
   "Offer layout" sets data-layout on [data-results]). */
.page-editorial .jobs-head { margin-bottom: 40px; }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.results-bar .results-meta { margin: 0; }
.view-toggle { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.view-toggle[hidden] { display: none; }
.view-toggle__btn {
    display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px;
    font: 600 13px/1 var(--font-body); color: var(--muted);
    background: transparent; border: 0; border-radius: 999px; cursor: pointer;
    transition: background-color .2s, color .2s;
}
html[lang="lo"] .view-toggle__btn { font-family: var(--font-lao), var(--font-body); }
.view-toggle__btn svg { fill: currentColor; }
.view-toggle__btn:hover { color: var(--forest); }
.view-toggle__btn[aria-pressed="true"] { background: var(--forest); color: #fff; }
.view-toggle__btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
[data-layout="grid"] .job-list,
[data-layout="list"] .offer-grid { display: none; }
.job-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--forest); }
.job-row {
    position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; row-gap: 4px;
    padding: 22px 0; border-bottom: 1px solid var(--line);
}
.job-row > * { grid-column: 1; }
.job-row__thumb { grid-column: 2; grid-row: 1 / span 4; align-self: start; width: 76px; height: 76px; object-fit: cover; border-radius: 4px; }
.job-row__cat { margin: 0; font-size: 13px; font-weight: 600; color: var(--gold-600); }
.job-row__title { margin: 0; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.12; letter-spacing: -.02em; transition: transform .5s var(--ease-out); }
html[lang="lo"] .job-row__title, .job-row__title[lang="lo"] { font-size: clamp(19px, 2.2vw, 26px); line-height: 1.45; letter-spacing: 0; }
.job-row__title a { color: var(--forest); text-decoration: none; }
.job-row__title a::after { content: ''; position: absolute; inset: 0; } /* whole row clickable */
.job-row__title a:focus-visible { outline: none; }
.job-row:focus-within { outline: 3px solid var(--focus); outline-offset: 4px; }
.job-row__terms { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.job-row__where { margin: 0; font-size: 14.5px; color: var(--ink); }
.job-row__where span { color: var(--muted); }
.job-row__where span::before { content: ' · '; }
.job-row__pay { display: flex; flex-wrap: wrap; gap: 0 12px; margin: 0; font-size: 14.5px; font-weight: 600; color: var(--forest); }
.job-row__pay .is-muted { font-weight: 500; color: var(--muted); }
.job-row__deadline { font-size: 13px; font-weight: 400; color: var(--muted); }
.job-row__arrow { display: none; }
@media (min-width: 900px) {
    .job-row { grid-template-columns: 150px minmax(0, 1fr) 210px 190px 32px; column-gap: 24px; align-items: baseline; padding: 30px 0; }
    .job-row > * { grid-column: auto; }
    .job-row__thumb { display: none; }
    .job-row__where span { display: block; }
    .job-row__where span::before { content: none; }
    .job-row__pay { flex-direction: column; }
    .job-row__arrow { display: block; justify-self: end; font-size: 22px; line-height: 1; color: var(--forest); transition: transform .5s var(--ease-out), color .3s; }
    .job-row__arrow::before { content: '→'; }
    .job-row:hover .job-row__title { transform: translateX(10px); }
    .job-row:hover .job-row__arrow { transform: translateX(6px); color: var(--gold-600); }
}

/* The offer photo trailing the cursor over the rows (jobs.js). */
.peek {
    position: fixed; left: 0; top: 0; z-index: 30; width: 300px; aspect-ratio: 16 / 10;
    overflow: hidden; border-radius: 4px; pointer-events: none; opacity: 0;
    box-shadow: 0 24px 60px rgba(24, 48, 41, .28);
    transition: opacity .3s;
}
.peek.is-on { opacity: 1; }
.peek img { width: 100%; height: 100%; object-fit: cover; scale: 1.12; transition: scale .7s var(--ease-out); }
.peek.is-on img { scale: 1; }

.callout.nothing-fits { margin-top: 48px; }

/* Why join us: three headline figures, then a sticky intro left with the
   numbered reasons dropped lower on the right, then the benefits with icons. */
.stats { display: grid; margin: 8px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--forest); }
.stat { display: flex; flex-direction: column; gap: 6px; padding: 28px 0 32px; border-bottom: 1px solid rgba(31, 58, 52, .16); }
.stat__kicker { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); }
html[lang="lo"] .stat__kicker { letter-spacing: 0; text-transform: none; font-size: 15px; }
.stat__figure { display: flex; align-items: baseline; gap: 6px; font-family: var(--font-display); color: var(--forest); }
.stat__value { font-size: clamp(72px, 11vw, 148px); font-weight: 700; line-height: .9; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.stat__unit { font-size: clamp(24px, 3vw, 40px); font-weight: 600; letter-spacing: -.02em; color: var(--gold); }
.stat__text { max-width: 30ch; margin-top: 6px; font-size: 15px; color: var(--muted); }
.stars { position: relative; display: inline-block; width: 120px; height: 24px; margin-top: 4px; }
.stars svg { display: block; fill: currentColor; }
.stars__off { color: rgba(31, 58, 52, .14); }
.stars__on { position: absolute; inset: 0 auto 0 0; width: var(--fill, 100%); overflow: hidden; color: var(--gold); transition: width 1.4s var(--ease-out) .3s; }
.has-reveal [data-reveal]:not(.is-in) .stars__on { width: 0; }
@media (min-width: 768px) {
    .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid rgba(31, 58, 52, .16); }
    .stat { padding: 36px 32px 40px; border-bottom: 0; }
    .stat:first-child { padding-left: 0; }
    .stat + .stat { border-left: 1px solid rgba(31, 58, 52, .16); }
}

.why__grid { display: grid; gap: 40px; margin-top: 72px; }
.why__lead { max-width: 44ch; margin: 24px 0 0; font-size: 17px; }
.reasons { display: grid; margin: 0; padding: 0; list-style: none; counter-reset: reason; }
.reason { counter-increment: reason; display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 16px; padding: 24px 0; border-top: 1px solid rgba(31, 58, 52, .16); }
.reason::before { content: counter(reason, decimal-leading-zero); grid-row: 1 / span 2; font: 700 clamp(28px, 3vw, 40px)/1 var(--font-display); color: var(--gold); }
.reason__title { margin: 0 0 4px; font-size: 22px; }
html[lang="lo"] .reason__title { line-height: 1.45; }
.reason__text { margin: 0; color: var(--muted); }
.perks { display: grid; gap: 24px; margin-top: 80px; }
.perks__title { margin: 0; font-size: 22px; }
.perks__note { max-width: 36ch; margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.perks__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.perk { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s, transform .4s var(--ease-out); }
.perk:hover { border-color: var(--gold); transform: translateY(-2px); }
.perk__icon { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-600); }
.perk__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.perk__title { font-weight: 600; color: var(--forest); }
html[lang="lo"] .perk__title { line-height: 1.5; }
.perk__text { font-size: 14.5px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .perk { transition: none; } .perk:hover { transform: none; } }
@media (min-width: 640px) { .perks__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
    .why__grid, .perks { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
    .why__grid { margin-top: 96px; }
    .why__intro { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 48px); align-self: start; }
    .reasons { grid-column: 7 / -1; margin-top: 96px; }
    .perks { margin-top: 128px; }
    .perks__head { grid-column: 1 / span 3; }
    .perks__list { grid-column: 4 / -1; grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

/* Working in Thailand: a statement, not a box. The arrow draws in, and
   stretches on hover. */
.crossing__grid { display: grid; gap: 24px; }
.page-editorial .crossing .folio { margin-bottom: 0; }
.crossing__title { max-width: 12ch; margin: 0; font-size: clamp(40px, 7.5vw, 104px); line-height: .95; letter-spacing: -.035em; }
html[lang="lo"] .crossing__title { max-width: 18ch; font-size: clamp(30px, 5vw, 60px); line-height: 1.3; letter-spacing: 0; }
.crossing__text { max-width: 42ch; margin: 0; font-size: 17px; color: var(--muted); }
.crossing__cta { display: inline-flex; align-items: center; gap: 18px; min-height: 48px; justify-self: start; font-weight: 600; color: var(--forest); text-decoration: none; }
.crossing__cta:hover { color: var(--gold-600); }
/* Transforms only: the shaft scales from the left, the head slides with its tip. */
.crossing__line { position: relative; width: 128px; height: 9px; }
.crossing__line::before, .crossing__line::after { content: ''; position: absolute; left: 0; transition: transform .6s var(--ease-out), opacity .4s; }
.crossing__line::before { top: 4px; width: 100%; height: 1px; background: var(--gold); transform-origin: left; transform: scaleX(.5); }
.crossing__line::after { top: 0; width: 9px; height: 9px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); transform: translateX(52px) rotate(45deg); }
.crossing__cta:hover .crossing__line::before { transform: none; }
.crossing__cta:hover .crossing__line::after { transform: translateX(116px) rotate(45deg); }
.has-reveal .crossing:not(.is-in) .crossing__line::before { transform: scaleX(0); }
.has-reveal .crossing:not(.is-in) .crossing__line::after { opacity: 0; transform: translateX(-10px) rotate(45deg); }@media (min-width: 960px) {
    .crossing__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
    .crossing .folio, .crossing__title { grid-column: 1 / span 10; }
    .crossing__text { grid-column: 7 / span 5; margin-top: 32px; }
    .crossing__cta { grid-column: 7 / -1; }
}

/* How to apply: a descending route; the rule draws across when it enters. */
.route { position: relative; display: grid; gap: 40px; margin: 64px 0 0; padding: 0; list-style: none; counter-reset: route; }
.route::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--forest); transform-origin: left; transition: transform 1.6s var(--ease-out); }
.has-reveal [data-reveal]:not(.is-in) .route::before { transform: scaleX(0); }
.route__step { counter-increment: route; padding-top: 28px; }
.route__step::before { content: counter(route, decimal-leading-zero); display: block; margin-bottom: 18px; font: 700 clamp(56px, 7vw, 96px)/.9 var(--font-display); letter-spacing: -.04em; color: var(--gold); }
@supports (-webkit-text-stroke: 1px black) {
    .route__step::before { color: transparent; -webkit-text-stroke: 1.2px var(--gold-600); }
}
.route__name { margin: 0 0 6px; font-size: 21px; }
html[lang="lo"] .route__name { line-height: 1.45; }
.route__text { max-width: 28ch; margin: 0; color: var(--muted); }
@media (min-width: 768px) { .route { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
@media (min-width: 1024px) {
    .route { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .route__step:nth-child(2) { margin-top: 40px; }
    .route__step:nth-child(3) { margin-top: 80px; }
    .route__step:nth-child(4) { margin-top: 120px; }
}

/* FAQ: title holds still on the left; answers slide open where supported. */
.faq-grid { display: grid; gap: 32px; }
.page-editorial .faq { margin-top: 0; border-top-color: var(--forest); }
.page-editorial .faq__q { padding: 22px 0; font-size: 18px; transition: color .2s; }
.page-editorial .faq__q:hover { color: var(--gold-600); }
@supports (interpolate-size: allow-keywords) {
    .page-editorial .faq__item { interpolate-size: allow-keywords; }
    .page-editorial .faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease-out), content-visibility .5s allow-discrete; }
    .page-editorial .faq__item[open]::details-content { block-size: auto; }
}
@media (prefers-reduced-motion: reduce) { .page-editorial .faq__item::details-content { transition: none; } }
@media (min-width: 960px) {
    .faq-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
    .faq-grid__intro { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 48px); align-self: start; }
    .faq-grid .faq { grid-column: 6 / -1; }
}

/* Job alerts: the one dark band of the page. */
.alerts-band { background: var(--forest); color: rgba(255, 255, 255, .82); }
.alerts-band .section__title { color: #fff; }
.page-editorial .alerts-band .folio { color: rgba(255, 255, 255, .6); }
.page-editorial .alerts-band .folio::before { color: var(--gold-soft); }
.alerts-band__grid { display: grid; gap: 40px; }
.alerts-band__lead { max-width: 34ch; margin: 24px 0 0; font-size: 17px; }
.alerts-band .alerts-form { margin: 0; border: 0; color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .25); }
@media (min-width: 960px) {
    .alerts-band__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
    .alerts-band__intro { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 48px); }
    .alerts-band .alerts-form { grid-column: 7 / -1; }
}

/* Departments: an index, not a card grid. */
.dept-index { display: grid; column-gap: 48px; margin: 56px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--forest); }
.dept-index li { border-bottom: 1px solid var(--line); }
.dept-index__link { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; min-height: 48px; padding: 18px 0; color: var(--forest); text-decoration: none; }
.dept-index__name { font: 700 clamp(20px, 2.2vw, 26px)/1.2 var(--font-display); letter-spacing: -.015em; transition: transform .45s var(--ease-out), color .25s; }
html[lang="lo"] .dept-index__name { font-family: var(--font-lao); font-weight: 600; line-height: 1.5; letter-spacing: 0; }
.dept-index__count { flex-shrink: 0; font-size: 13px; color: var(--muted); }
.dept-index__count.is-open { font-weight: 600; color: var(--gold-600); }
.dept-index__link:hover .dept-index__name { transform: translateX(10px); color: var(--gold-600); }
@media (min-width: 768px) { .dept-index { grid-template-columns: 1fr 1fr; } }
.page-editorial .link-cloud { margin-top: 56px; }
.page-editorial .link-cloud__title { font: 500 13.5px/1.3 var(--font-body); color: var(--muted); }
.page-editorial .link-cloud ul { gap: 4px 28px; }
.page-editorial .link-cloud a { min-height: 44px; padding: 0; background: none; border: 0; border-radius: 0; font-size: 15px; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.page-editorial .link-cloud a:hover { color: var(--gold-600); }

/* The Mekong: a gold river in the left margin that draws itself as the page
   scrolls, a small boat at its tip (jobs.js). Wide screens only: it lives in
   the gutter and never crosses the content. */
.mekong { display: none; }
@media (min-width: 1320px) {
    .mekong {
        display: block; position: fixed; z-index: 20;
        top: calc(var(--header-h) + 28px); bottom: 28px; left: calc((100vw - 1180px) / 4 - 20px); width: 40px;
        pointer-events: none;
    }
}
.mekong svg { display: block; width: 100%; height: 100%; overflow: visible; }
.mekong path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.mekong__bed { stroke: rgba(184, 146, 90, .25); stroke-width: 1; }
.mekong__flow { stroke: var(--gold); stroke-width: 1.6; }
.mekong__boat { display: none; position: absolute; left: 0; top: 0; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(184, 146, 90, .2); }
.mekong.is-live .mekong__boat { display: block; }
.mekong__name { position: absolute; left: 34px; bottom: 0; writing-mode: vertical-rl; font: 500 11px/1 var(--font-lao); letter-spacing: .12em; color: var(--gold-600); }

/* ── /work-in-laos (Thailand campaign) ────────────────────────────────────── */
/* Hero: the home film and shade, but set left and low like a poster: kicker,
   promise, lead, two actions, then the three reassurances an ad visitor
   looks for before tapping (from Thailand, by phone, no agent). */
.hero--th .hero__media::after {
    background:
        linear-gradient(90deg, rgba(24, 48, 41, .72) 0%, rgba(24, 48, 41, .3) 55%, rgba(24, 48, 41, 0) 100%),
        linear-gradient(180deg, rgba(24, 48, 41, .15) 0%, rgba(24, 48, 41, .2) 45%, rgba(24, 48, 41, .9) 100%);
}
.hero--th .hero__grid { justify-items: start; gap: 20px; text-align: left; }
.hero--th .hero__title { max-width: 13ch; font-size: clamp(44px, 8.4vw, 104px); }
html[lang="lo"] .hero--th .hero__title { max-width: 20ch; font-size: clamp(30px, 5.6vw, 64px); }
.hero--th .hero__subtitle { max-width: 50ch; margin: 0; font-size: clamp(16.5px, 1.6vw, 19px); }
.hero--th .hero__actions { justify-content: flex-start; margin-top: 8px; }
.hero--th .hero__actions .btn { min-height: 54px; padding: 0 28px; font-size: 16px; } /* both the same size, so they line up */
.hero__kicker {
    display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 7px 14px 7px 12px;
    border: 1px solid rgba(239, 228, 210, .4); border-radius: 999px; background: rgba(24, 48, 41, .4);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    font: 600 13.5px/1.2 var(--font-body); color: var(--gold-soft);
}
html[lang="lo"] .hero__kicker { font-family: var(--font-lao); font-size: 14.5px; }
.hero__kicker::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(184, 146, 90, .3); }
.hero__ticks { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, .9); }
.hero__ticks li { display: inline-flex; align-items: center; gap: 8px; }
.hero__ticks svg { flex: none; color: var(--gold); }
@media (min-width: 960px) { .hero--th { min-height: min(88vh, 860px); min-height: min(88svh, 860px); } }

/* Jobs: straight after the figures, the pitch line opposite the title. */
.th-jobs-head__lead { max-width: 38ch; margin: 0; font-size: 17px; color: var(--muted); }

/* How it works: the Mekong drawn from the Thai bank to the Lao one (home)
   as the section enters, the three steps laid out along it. */
.ford__title { max-width: 18ch; }
.ford__map { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; margin: 56px 0 0; }
.ford__bank { display: inline-flex; align-items: center; gap: 8px; font: 700 clamp(15px, 1.6vw, 20px)/1 var(--font-display); letter-spacing: -.01em; color: var(--forest); white-space: nowrap; }
html[lang="lo"] .ford__bank { font-family: var(--font-lao); font-weight: 600; line-height: 1.4; letter-spacing: 0; }
.ford__bank--home { color: var(--gold-600); }
.ford__water { position: relative; display: block; height: 40px; }
.ford__water svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; }
.ford__water path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ford__bed path { stroke: rgba(184, 146, 90, .22); stroke-width: 7; }
.ford__flow path { stroke: var(--gold); stroke-width: 2; }
.ford__flow { clip-path: inset(-10px 0 -10px 0); transition: clip-path 2.2s var(--ease-out) .2s; }
.ford__pin { position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(184, 146, 90, .22); transition: transform .5s var(--ease-out) 2.1s, opacity .3s 2.1s; }
.ford__river-name { position: absolute; left: 50%; top: 100%; margin-top: 4px; transform: translateX(-50%); font: 500 11px/1 var(--font-lao); letter-spacing: .12em; color: var(--gold-600); white-space: nowrap; }
.has-reveal .ford:not(.is-in) .ford__flow { clip-path: inset(-10px 100% -10px 0); }
.has-reveal .ford:not(.is-in) .ford__pin { opacity: 0; transform: scale(0); }

.ford__steps { display: grid; gap: 36px; margin: 56px 0 0; padding: 0; list-style: none; counter-reset: ford; }
.ford__step { counter-increment: ford; position: relative; padding-left: 64px; }
.ford__step::before { content: counter(ford, decimal-leading-zero); position: absolute; left: 0; top: 0; font: 700 40px/.9 var(--font-display); letter-spacing: -.04em; color: var(--gold); }
@supports (-webkit-text-stroke: 1px black) {
    .ford__step::before { color: transparent; -webkit-text-stroke: 1.2px var(--gold-600); }
}
.ford__where { margin: 0 0 6px; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); }
html[lang="lo"] .ford__where { font-size: 14px; letter-spacing: 0; text-transform: none; }
.ford__name-step { margin: 0 0 6px; font-size: 22px; }
html[lang="lo"] .ford__name-step { line-height: 1.45; }
.ford__text { max-width: 34ch; margin: 0; color: var(--muted); }
.ford__cta { margin-top: 48px; }
@media (min-width: 768px) {
    .ford__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; margin-top: 44px; }
    .ford__step { padding-left: 0; }
    .ford__step::before { position: static; display: block; margin-bottom: 18px; font-size: clamp(56px, 6vw, 88px); }
}
@media (prefers-reduced-motion: reduce) { .ford__flow, .ford__pin { transition: none; } }

/* Phones: once the hero is gone, a "See open jobs" bar stays at hand; it
   steps aside over the job list, the alerts form and the footer (jobs.js). */
.sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(250, 247, 242, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(31, 58, 52, .08);
    transform: translateY(110%); transition: transform .35s var(--ease-out);
}
.sticky-cta[hidden] { display: none; }
.sticky-cta.is-on { transform: none; }
.sticky-cta__text { display: flex; flex-direction: column; min-width: 0; margin: 0; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.sticky-cta__text strong { font-size: 14.5px; color: var(--forest); }
.sticky-cta__text span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-cta .btn { flex-shrink: 0; min-height: 44px; padding: 0 20px; }
@media (min-width: 768px) { .sticky-cta { display: none; } }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }
