/* Trip Buddy v4 (10 Nov 2026): Nun's brand (teal + navy, her logo). Plain, clear, easy on the eyes: white cards on a soft teal-grey page,
   one sans family (DM Sans; Thai: IBM Plex Sans Thai). Motion: the hero film, the program filter, the sign-up sheet, a gentle card lift. Nothing else moves. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
html.sheet-open, html.sheet-open body { overflow: hidden; }
body { margin: 0; background: var(--cream); color: var(--text); font: 400 var(--fs-body)/var(--lh-body) var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: clip; text-wrap: pretty; }
img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, dt, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; text-wrap: balance; color: var(--green); }
html[lang="th"] :is(h1, h2, h3) { font-family: var(--font-display-th); font-weight: 500; letter-spacing: 0; line-height: 1.4; }
em { font-style: normal; color: var(--accent-ink); }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nw { white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: 1rem; z-index: 100; padding: .7rem 1.1rem; background: var(--green); color: #fff; border-radius: var(--r-pill); transform: translateY(-200%); }
.skip:focus-visible { transform: none; }
.ic { width: 1.4rem; height: 1.4rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tag { display: inline-block; vertical-align: .1em; padding: .1rem .65rem; border: 1px solid currentColor; border-radius: var(--r-pill); font: 500 .8125rem/1.5 var(--font-body); color: var(--muted); }
.tag--soft { border: 0; background: var(--cream-2); color: var(--accent-ink); margin: .2rem 0 1rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 3rem; padding: .9rem 1.5rem; border: 0; border-radius: var(--r-pill); background: var(--accent); color: #fff; font: 600 1rem/1.1 var(--font-body); text-decoration: none; text-align: center; cursor: pointer; transition: transform .2s var(--ease-out), background-color .2s, color .2s, border-color .2s; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) { .btn:hover { background: #0F6652; transform: translateY(-1px); } }
.btn:active { transform: scale(.98); }
.btn--line { background: #fff; color: var(--accent-ink); border: 1.5px solid currentColor; min-height: 2.75rem; padding: .65rem 1.2rem; font-size: .9375rem; }
@media (hover: hover) { .btn--line:hover { background: var(--accent); color: #fff; border-color: var(--accent); } }
.btn--light { background: #fff; color: var(--green); }
@media (hover: hover) { .btn--light:hover { background: var(--cream-2); color: var(--green); } }
.btn--ghost { background: transparent; color: var(--green); border: 1.5px solid currentColor; min-height: 2.75rem; padding: .7rem 1.3rem; font-size: .9375rem; }
@media (hover: hover) { .btn--ghost:hover { background: var(--green); color: #fff; border-color: var(--green); } }
.textlink { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--accent-ink); font-weight: 600; text-decoration: underline; text-underline-offset: .28em; text-decoration-thickness: 1px; }
.link { color: var(--accent-ink); text-decoration: underline; text-underline-offset: .25em; }

/* ---------- Banner and header (always solid white: the logo and the menu read at once) ---------- */
.banner { position: relative; z-index: 60; display: flex; align-items: center; justify-content: center; min-height: 2.25rem; padding: .2rem 3rem .2rem 1rem; background: var(--green); color: #fff; font-size: .8125rem; font-weight: 500; line-height: 1.4; }
html[lang="th"] .banner { font-size: 1rem; }
.banner[hidden] { display: none; }
.banner > span { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.banner__x { position: absolute; right: .25rem; top: 50%; translate: 0 -50%; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border: 0; background: transparent; color: inherit; cursor: pointer; border-radius: 50%; --focus-inner: var(--green); --focus-outer: #fff; }
.banner__x svg { width: 14px; height: 14px; }
.top4 { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .96); box-shadow: 0 1px 0 var(--hair); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.top4__in { display: flex; align-items: center; gap: 1rem; max-width: var(--page-max); height: 4.5rem; margin-inline: auto; padding-inline: var(--gutter); }
.brand { display: inline-flex; align-items: center; min-height: 2.75rem; margin-inline-end: auto; }
.brand img { width: auto; height: 2.4rem; }
.topnav4 { display: none; gap: 1.75rem; margin-inline: auto; }
.topnav4 a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--green); font-size: .9375rem; font-weight: 500; text-decoration: none; }
.topnav4 a:hover { color: var(--accent-ink); }
.top__join { min-height: 2.75rem; padding: .55rem 1.15rem; font-size: .9375rem; }
.langbtn { min-width: 2.75rem; height: 2.75rem; padding: 0 1rem; border: 1px solid var(--hair); border-radius: var(--r-pill); background: #fff; color: var(--green); font-size: .875rem; font-weight: 600; cursor: pointer; }
@media (min-width: 1040px) { .topnav4 { display: flex; } .brand { margin-inline-end: 0; } }
@media (max-width: 520px) { .brand img { height: 2rem; } .top4__in { gap: .5rem; } .top__join { padding-inline: .9rem; font-size: .875rem; } }

/* ---------- 1. Hero: words and the picker on the left, the film in a rounded frame on the right ---------- */
.hero4 { background: linear-gradient(180deg, #fff 0%, #fff 62%, var(--cream) 100%); }
.hero4__in { display: grid; gap: 2rem; max-width: var(--page-max); margin-inline: auto; padding: clamp(1.25rem, 3vw, 3.5rem) var(--gutter) 2rem; align-items: center; }
.pin4 { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .9rem .4rem .65rem; border-radius: var(--r-pill); background: var(--cream-2); color: var(--accent-ink); font-weight: 600; font-size: .9375rem; }
.pin4 svg { width: 1rem; height: 1rem; fill: currentColor; }
.hero4 h1 { margin: 1rem 0 1rem; font-size: clamp(2.1rem, 1.2rem + 3.3vw, 4rem); line-height: 1.08; max-width: 15em; }
html[lang="th"] .hero4 h1 { font-size: clamp(1.85rem, 1.1rem + 2.6vw, 3.2rem); line-height: 1.38; }
.hero4__sub { max-width: 36em; color: var(--muted); font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem); margin-bottom: 1.5rem; }
.picker { display: grid; gap: .9rem 1.25rem; padding: 1rem; border-radius: 22px; background: #fff; box-shadow: 0 1px 0 var(--hair), 0 14px 40px -18px rgb(38 48 65 / .35); border: 1px solid var(--hair); }
.seg { margin: 0; padding: 0; border: 0; min-width: 0; }
.seg legend { float: left; width: 100%; padding: 0; margin: 0 0 .4rem; font-size: .8125rem; font-weight: 600; color: var(--muted); }
html[lang="th"] .seg legend { font-size: 1rem; }
.seg__row { clear: both; display: flex; gap: .35rem; padding: .3rem; border-radius: var(--r-pill); background: var(--cream); }
.seg label { position: relative; flex: 1; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .3rem .9rem; border-radius: var(--r-pill); font-weight: 600; font-size: .9375rem; color: var(--muted); text-align: center; transition: background-color .2s, color .2s, box-shadow .2s; }
.seg input:checked + span { background: #fff; color: var(--green); box-shadow: 0 1px 3px rgb(38 48 65 / .18); }
.seg input:focus-visible + span { outline: 2px solid var(--focus-outer); outline-offset: 2px; }
.picker__go { width: 100%; min-height: 3.25rem; }
.picker__note { margin-top: .8rem; font-size: .9375rem; color: var(--muted); }
.hero4__media { position: relative; overflow: hidden; border-radius: 28px; aspect-ratio: 16 / 11; background: var(--cream-2); }
.hero4__media picture, .hero4__media img, .hero__film { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero4__media img, .hero__film { object-fit: cover; object-position: 50% 35%; }
.hero__film { opacity: 0; transition: opacity .4s var(--ease-out); }
.hero__film.is-on { opacity: 1; }
.hero__pause { position: absolute; right: 1rem; bottom: 1rem; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgb(27 34 48 / .6); color: #fff; cursor: pointer; --focus-inner: var(--green-ink); --focus-outer: #fff; }
.hero__pause[hidden] { display: none; }
.hero__pause .ic { width: 1.1rem; height: 1.1rem; fill: currentColor; }
@media (min-width: 640px) { .picker { grid-template-columns: 1fr 1fr; align-items: end; } .picker__go { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
  .hero4__in { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 3.5rem; padding-bottom: 3rem; }
  .hero4__media { aspect-ratio: 4 / 4.4; }
}
@media (max-width: 999px) { .hero4__media { order: -1; aspect-ratio: 16 / 10; border-radius: 22px; } }
@media (prefers-reduced-motion: no-preference) { .hero4__media img { animation: settle .5s var(--ease-out) both; } .hero4__txt > * { animation: rise .5s var(--ease-out) both; } .hero4__txt > :nth-child(2) { animation-delay: .05s; } .hero4__txt > :nth-child(3) { animation-delay: .1s; } .hero4__txt > :nth-child(4) { animation-delay: .15s; } }
@keyframes settle { from { transform: scale(1.03); opacity: .9; } to { transform: none; opacity: 1; } }
@keyframes rise { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }

/* trust row */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: .75rem; max-width: var(--page-max); margin-inline: auto; padding: 0 var(--gutter) clamp(1rem, 3vw, 2.5rem); }
.trust li { display: flex; gap: .85rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: 18px; background: #fff; border: 1px solid var(--hair); }
.trust .ic { width: 2.6rem; height: 2.6rem; padding: .55rem; border-radius: 12px; background: var(--cream-2); color: var(--accent-ink); }
.trust b { display: block; color: var(--green); font-weight: 600; }
.trust div > span { display: block; font-size: .9375rem; color: var(--muted); line-height: 1.45; }

/* ---------- Sections ---------- */
.sec4 { max-width: var(--page-max); margin-inline: auto; padding: clamp(3rem, 2rem + 4vw, 6rem) var(--gutter) 0; }
.head4 { max-width: 44rem; margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.head4--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
.head4--row > div:first-child { max-width: 44rem; }
.eyebrow4 { display: inline-block; font: 600 .875rem/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
html[lang="th"] .eyebrow4 { letter-spacing: 0; text-transform: none; font-size: 1rem; }
.sec4 h2, .found4 h2 { margin: .6rem 0 .7rem; font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3rem); line-height: 1.12; }
html[lang="th"] :is(.sec4, .found4) h2 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.5rem); line-height: 1.4; }
.lede4 { color: var(--muted); font-size: 1.0625rem; max-width: 40em; }
.fine4 { margin-top: 1.1rem; font-size: .9375rem; color: var(--muted); }
.panel { padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); border-radius: var(--r-card); background: #fff; border: 1px solid var(--hair); }
.panel h3 { font-size: 1.3rem; margin-bottom: .8rem; }
.more__ic { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; background: var(--cream-2); color: var(--accent-ink); margin-bottom: .9rem; }
.badge { display: inline-flex; align-items: center; padding: .2rem .7rem; border-radius: var(--r-pill); font-size: .8125rem; font-weight: 600; line-height: 1.5; }
.badge--everyday { background: #FFF1D6; color: #7A4B00; }
.badge--sports { background: #DDF3EC; color: #0E5F4C; }

/* ---------- 2. Two ways to book ---------- */
.ways { display: grid; gap: 1.25rem; }
.way { display: grid; overflow: hidden; border-radius: var(--r-card); background: #fff; border: 1px solid var(--hair); }
.way__ph { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.way__ph img { width: 100%; height: 100%; object-fit: cover; }
.way__n { position: absolute; left: 1rem; top: 1rem; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: #fff; color: var(--accent-ink); font: 700 1.25rem/1 var(--font-body); box-shadow: 0 4px 14px rgb(38 48 65 / .2); }
.way__txt { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; padding: 1.4rem clamp(1.25rem, 1rem + 1vw, 2rem) 1.75rem; }
.way__txt h3 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.7rem); line-height: 1.2; }
.way__txt > p { color: var(--muted); }
.ticks { display: grid; gap: .55rem; margin: .2rem 0 .6rem; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; }
.ticks .ic { width: 1.35rem; height: 1.35rem; margin-top: .15rem; padding: .2rem; border-radius: 50%; background: var(--cream-2); color: var(--accent-ink); stroke-width: 2.4; }
.way .btn { margin-top: auto; }
.ways__car { display: flex; gap: .7rem; align-items: center; margin-top: 1.25rem; padding: .9rem 1.2rem; border-radius: 16px; background: var(--cream-2); color: var(--green); font-weight: 500; }
.ways__car .ic { color: var(--accent-ink); }
@media (min-width: 860px) { .ways { grid-template-columns: 1fr 1fr; } }

/* ---------- 3. Programs ---------- */
.filter { display: flex; gap: .35rem; padding: .3rem; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--hair); }
.filter button { min-height: 2.75rem; padding: .3rem 1.1rem; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--muted); font-weight: 600; font-size: .9375rem; cursor: pointer; transition: background-color .2s, color .2s; }
.filter button[aria-pressed="true"] { background: var(--green); color: #fff; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1.25rem; }
.prog { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-card); background: #fff; border: 1px solid var(--hair); transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), opacity .25s; }
@media (hover: hover) { .prog:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgb(38 48 65 / .45); } }
.prog[hidden] { display: none; }
.prog.is-in { animation: rise .35s var(--ease-out) both; }
.prog__ph { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.prog__ph img { width: 100%; height: 100%; object-fit: cover; }
.prog__ph .badge { position: absolute; left: .9rem; top: .9rem; }
.prog__b { display: flex; flex-direction: column; flex: 1; gap: .45rem; padding: 1.15rem 1.25rem 1.25rem; }
.prog h3 { font-size: 1.25rem; line-height: 1.25; }
.prog__pl { display: flex; gap: .4rem; align-items: center; color: var(--accent-ink); font-size: .9375rem; font-weight: 500; }
.prog__pl .ic { width: 1.05rem; height: 1.05rem; }
.prog__d { color: var(--muted); }
.cost { display: grid; gap: .3rem; margin: .5rem 0 .4rem; padding: .8rem .95rem; border-radius: 14px; background: var(--cream); font-size: .9375rem; }
.cost div { display: flex; justify-content: space-between; gap: 1rem; }
.cost dt { color: var(--muted); }
.cost dd { color: var(--green); font-weight: 600; text-align: right; }
.cost dd span { font-weight: 400; color: var(--muted); }
.prog__f { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: auto; padding-top: .4rem; flex-wrap: wrap; }
.who { display: flex; align-items: center; gap: .55rem; min-width: 0; }
.who img { width: 2.5rem; height: 2.5rem; border-radius: 50%; object-fit: cover; }
.who > span { display: grid; line-height: 1.25; }
.who b { color: var(--green); }
.who span span { font-size: .75rem; color: var(--muted); }
.prog--more { background: var(--cream-2); border-style: dashed; border-color: rgb(14 109 87 / .35); }
.prog--more .prog__b { justify-content: center; align-items: flex-start; padding: 1.75rem 1.5rem; }
.prog--more p { color: var(--muted); margin-bottom: .6rem; }
.prog--more .more__ic { background: #fff; }

/* ---------- 4. Founding members ---------- */
.found4 { max-width: var(--page-max); margin: clamp(3rem, 2rem + 4vw, 6rem) auto 0; padding-inline: var(--gutter); }
.found4__in { display: grid; gap: 2rem; padding: clamp(1.75rem, 1rem + 3vw, 3.5rem); border-radius: 32px; background: var(--green); color: #fff; --focus-inner: var(--green); --focus-outer: #fff; position: relative; overflow: hidden; }
.found4__in::after { content: ""; position: absolute; right: -6rem; top: -6rem; width: 20rem; height: 20rem; border-radius: 50%; background: radial-gradient(circle, rgb(39 170 139 / .35), transparent 70%); pointer-events: none; }
.found4 .eyebrow4 { color: var(--accent-soft); }
.found4 h2 { color: #fff; }
.found4 h2 em { color: var(--accent-soft); }
.found4 p { color: rgb(255 255 255 / .85); }
.seats { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .6rem; margin-top: 1.4rem; }
.seats b { font: 700 3rem/1 var(--font-body); color: #fff; }
.seats .tag { color: rgb(255 255 255 / .8); }
.seats p { flex-basis: 100%; }
.seats progress { flex-basis: 100%; height: .5rem; appearance: none; -webkit-appearance: none; border: 0; border-radius: 999px; background: rgb(255 255 255 / .15); overflow: hidden; }
.seats progress::-webkit-progress-bar { background: rgb(255 255 255 / .15); }
.seats progress::-webkit-progress-value { background: var(--brand); border-radius: 999px; }
.seats progress::-moz-progress-bar { background: var(--brand); }
.perks4 { display: grid; gap: .7rem; margin-bottom: 1.4rem; }
.perks4 li { display: flex; gap: .8rem; align-items: center; padding: .85rem 1rem; border-radius: 14px; background: rgb(255 255 255 / .07); font-weight: 500; }
.perks4 .ic { color: var(--accent-soft); }
.found4 .fine4 { color: rgb(255 255 255 / .75); }
@media (min-width: 900px) { .found4__in { grid-template-columns: 1.1fr 1fr; gap: 3.5rem; align-items: center; } }

/* ---------- 5. Hosts ---------- */
.hgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr)); gap: 1.25rem; }
.hcard { display: flex; flex-direction: column; gap: .7rem; padding: 1.4rem; border-radius: var(--r-card); background: #fff; border: 1px solid var(--hair); }
.hcard__top { display: flex; align-items: center; gap: 1rem; }
.ring4 { flex: none; width: 5.5rem; height: 5.5rem; padding: 3px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), #9BE3CF); }
.ring4 img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #fff; }
.hcard h3 { font-size: 1.4rem; margin-bottom: .25rem; }
.hcard__about { color: var(--text); }
.ints { display: flex; flex-wrap: wrap; gap: .4rem; }
.ints li { padding: .2rem .7rem; border-radius: var(--r-pill); background: var(--cream); font-size: .875rem; color: var(--green); }
.hcard__langs { display: flex; gap: .45rem; align-items: center; font-size: .9375rem; color: var(--muted); }
.hcard__langs .ic { width: 1.1rem; height: 1.1rem; }
.hcard__progs { font-size: .9375rem; color: var(--green); }
.hcard__progs .lbl { display: block; font-size: .8125rem; font-weight: 600; color: var(--muted); }
.hcard__f { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; margin-top: auto; padding-top: .5rem; }
.exlabel { font-size: .8125rem; color: var(--muted); }
.hcard--suggest { background: var(--cream-2); border-style: dashed; border-color: rgb(14 109 87 / .35); justify-content: center; align-items: flex-start; }
.hcard--suggest .more__ic { background: #fff; margin-bottom: 0; }
.hcard--suggest p { color: var(--muted); margin-bottom: .4rem; }

/* ---------- 6. How booking works + the example cost summary ---------- */
.how4__in { display: grid; gap: 2rem; align-items: start; }
.steps4 { display: grid; gap: .75rem; margin-top: 1.25rem; counter-reset: s; }
.steps4 li { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: 18px; background: #fff; border: 1px solid var(--hair); }
.num { flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; }
.steps4 h3 { font-size: 1.1rem; margin-bottom: .1rem; }
.steps4 p { color: var(--muted); font-size: .9375rem; }
.receipt { position: relative; padding: 1.5rem 1.5rem 1.25rem; border-radius: var(--r-card); background: #fff; border: 1px solid var(--hair); box-shadow: 0 24px 50px -30px rgb(38 48 65 / .45); }
.receipt__head { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1rem; }
.receipt__head > .ic { width: 2.6rem; height: 2.6rem; padding: .55rem; border-radius: 12px; background: var(--cream-2); color: var(--accent-ink); }
.receipt__head > div { flex: 1; }
.receipt__t { font-weight: 700; color: var(--green); font-size: 1.1rem; }
.receipt__s { font-size: .9375rem; color: var(--muted); }
.receipt dl { display: grid; }
.receipt dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-top: 1px dashed var(--line); }
.receipt dd { font-weight: 600; color: var(--green); white-space: nowrap; }
.receipt .tot { border-top: 2px solid var(--green); font-size: 1.15rem; }
.receipt .tot dt { font-weight: 700; color: var(--green); }
.receipt .tot dd { color: var(--accent-ink); font-weight: 700; }
.receipt .spot { font-size: .9375rem; color: var(--muted); }
.receipt .spot dd { font-weight: 400; color: var(--muted); white-space: normal; text-align: right; }
.receipt figcaption { margin-top: .6rem; padding-top: .8rem; border-top: 1px solid var(--hair); font-size: .875rem; color: var(--muted); }
@media (min-width: 960px) { .how4__in { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 4rem; } .receipt { margin-top: 3.2rem; position: sticky; top: 6.5rem; } }

/* ---------- 7. Safety ---------- */
.safe4, .about4 { display: grid; gap: 1.25rem; }
.list4 { display: grid; gap: .6rem; }
.list4 li { display: flex; gap: .75rem; align-items: center; padding: .7rem .8rem; border-radius: 14px; background: var(--cream); }
.list4 .ic { width: 2.2rem; height: 2.2rem; padding: .45rem; border-radius: 10px; background: #fff; color: var(--accent-ink); }
@media (min-width: 860px) { .safe4, .about4 { grid-template-columns: 1fr 1fr; } }

/* ---------- 8. Premium, later ---------- */
.prem__in { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding: 1.5rem clamp(1.25rem, 1rem + 1.5vw, 2rem); border-radius: var(--r-card); background: #fff; border: 1px solid var(--hair); }
.prem__in > div { flex: 1 1 20rem; }
.prem__in .more__ic { margin: 0; }
.prem h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); margin: .3rem 0; }
html[lang="th"] .prem h2 { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem); }
.prem p:not(.eyebrow4) { color: var(--muted); }

/* ---------- 9. Why ---------- */
.about4 .panel p { color: var(--text); }
.about4 .textlink { margin-top: .4rem; }

/* ---------- 10. FAQ ---------- */
.faq__grid { display: grid; gap: 1.5rem; }
.faq__list { display: grid; gap: .6rem; }
.faq details { border-radius: 18px; background: #fff; border: 1px solid var(--hair); }
.faq summary { display: grid; grid-template-columns: minmax(0, 1fr) 1.25rem; align-items: center; gap: 1rem; min-height: 3.75rem; padding: .9rem 1.3rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { font-weight: 600; font-size: 1.0625rem; color: var(--green); line-height: 1.35; }
.faq summary::after { content: ""; width: 1rem; height: 1rem; color: var(--accent-ink); background: linear-gradient(currentColor, currentColor) 50% 50% / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) 50% 50% / 2px 100% no-repeat; }
.faq details[open] summary::after { background: linear-gradient(currentColor, currentColor) 50% 50% / 100% 2px no-repeat; }
.faq .ans { padding: 0 1.3rem 1.2rem; color: var(--muted); max-width: 44rem; }
@media (min-width: 960px) { .faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4rem; align-items: start; } .faq__side { position: sticky; top: 6.5rem; } }

/* ---------- 11. Final call ---------- */
.final4 { max-width: var(--page-max); margin-inline: auto; padding: clamp(3rem, 2rem + 4vw, 6rem) var(--gutter); }
.final4__in { position: relative; display: grid; align-items: end; min-height: 26rem; overflow: hidden; border-radius: 32px; background: var(--green); color: #fff; isolation: isolate; --focus-inner: var(--green-ink); --focus-outer: #fff; }
.final4__in picture, .final4__in img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.final4__in img { object-fit: cover; object-position: 50% 30%; }
.final4__in::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(27 34 48 / .92) 0, rgb(27 34 48 / .7) 40%, rgb(27 34 48 / 0) 80%); }
.final4__txt { padding: clamp(1.75rem, 1rem + 3vw, 3.5rem); max-width: 40rem; }
.final4 h2 { color: #fff; font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.2rem); line-height: 1.1; margin-bottom: .5rem; }
html[lang="th"] .final4 h2 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.5rem); line-height: 1.4; }
.final4 h2 em { color: var(--accent-soft); }
.final4 p { color: rgb(255 255 255 / .9); margin-bottom: 1.3rem; }
@media (max-width: 640px) { .final4__in { min-height: 32rem; } .final4 .btn { width: 100%; } }

/* ---------- Footer ---------- */
.foot4 { background: #fff; border-top: 1px solid var(--hair); }
.foot4__in { display: grid; gap: 1.5rem 3rem; max-width: var(--page-max); margin-inline: auto; padding: 2.5rem var(--gutter) 2.5rem; color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.foot4 .brand { margin-bottom: .6rem; }
.foot4__co { color: var(--green); font-weight: 600; }
.foot4__rule { margin-top: .6rem; font-weight: 600; color: var(--text); }
.foot4 nav { display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; align-content: start; }
.foot4 nav a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; font-weight: 500; color: var(--green); }
.foot4 nav a:hover { color: var(--accent-ink); }
.foot4__links { display: flex; flex-wrap: wrap; gap: 0 1.4rem; }
.foot4__links a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.foot4__demo { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding-top: 1rem; border-top: 1px solid var(--hair); font-size: .875rem; }
@media (min-width: 900px) { .foot4__in { grid-template-columns: minmax(0, 1fr) auto; } .foot4 nav { justify-content: flex-end; } }
.top--flat { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Thai: nothing under 16 px, body line-height at least 1.6 ---------- */
html[lang="th"] :is(.pin4, .topnav4 a, .btn, .btn--line, .langbtn, .tag, .badge, .exlabel, .fine4, .eyebrow4, .trust span, .seg span, .picker__note, .prog__pl, .cost, .who span span, .ints li, .hcard__langs, .hcard__progs, .hcard__progs .lbl, .steps4 p, .receipt__s, .receipt .spot, .receipt figcaption, .foot4__in, .foot4 small, .foot4 nav a, .sheet label, .sheet legend, .sheet .help, .sheet .demo-note, .sheet .esc, .sheet .sheet__prog, .sheet .sheet__dating, .sheet .check span, .sheet .link, .sheet small, .sheet summary, .sheet li) { font-size: 1rem !important; }
html[lang="th"] :is(p, li, small, label, legend, summary, figcaption, dt, dd, .tag, .badge, .trust span, .exlabel) { line-height: 1.7; }
html[lang="th"] :is(.btn, .seg span, .filter button) { line-height: 1.5; }

/* ---------- Narrow screens (320 px): nothing pushes the page sideways ---------- */
.prog, .prog > *, .hcard, .hcard > *, .way, .way > *, .panel, .receipt, .trust li, .trust li > div { min-width: 0; }
@media (max-width: 380px) {
  .langbtn { min-width: 2.5rem; padding: 0 .6rem; }
  .top__join { padding-inline: .7rem; }
  .brand img { height: 1.7rem; }
  .btn { white-space: normal; }
  .seg span { padding-inline: .4rem; font-size: .875rem; }
  .filter button { padding-inline: .7rem; }
  .cost div, .receipt dl div { flex-wrap: wrap; }
}

/* ---------- Fix pass 1 ---------- */
.picker { align-items: start; }
.seg span { white-space: nowrap; padding-inline: .7rem; }
.hero4 h1 { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.6rem); }
.cost dt { white-space: nowrap; }
.hcard--suggest { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: .6rem 1.25rem; }
.hcard--suggest > div { flex: 1 1 16rem; }
.hcard--suggest h3 { margin: 0; }
.hcard--suggest p { margin: 0; }
@media (max-width: 999px) { .hero4__media { aspect-ratio: 16 / 9; } }
@media (max-width: 599px) {
  .trust { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .trust li { flex-direction: column; gap: .5rem; padding: .85rem; }
  .trust .ic { width: 2.2rem; height: 2.2rem; padding: .45rem; }
  .trust div > span { display: none; }
  .trust b { font-size: .9375rem; line-height: 1.35; }
}

/* ---------- Fix pass 2 (blind review): the action on the phone's first screen, a clearer Sample tag ---------- */
.found4 .tag--sample { border: 0; background: #FFE7A8; color: #5B3B00; font-weight: 700; }
@media (max-width: 999px) {
  .hero4__in { gap: 1.1rem; padding-top: 1rem; }
  .hero4__media { aspect-ratio: 2 / 1; }
  .hero4__txt { display: flex; flex-direction: column; align-items: flex-start; }
  .hero4 h1 { margin: .7rem 0 1rem; }
  .hero4__txt .picker { order: 3; width: 100%; }
  .hero4__txt .picker__note { order: 4; }
  .hero4__sub { order: 5; margin: 1rem 0 0; }
  .picker { gap: .6rem; padding: .8rem; }
  .seg legend { margin-bottom: .25rem; }
}

/* Thai keep-together spans sit inside button text: no flex gap between text pieces */
.btn { gap: 0; }
.btn svg { margin-inline-start: .5em; }

/* ---------- Fix pass 3: the film is shot wide (groups of 4 to 6); a tall frame cropped it to two people, which reads as a date. Keep it landscape everywhere. ---------- */
@media (min-width: 1000px) {
  .hero4__in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; }
  .hero4__media { aspect-ratio: 16 / 10; }
}
.hero4__media img, .hero__film { object-position: 50% 45%; }
/* The picker reflows by its own width, not the window's: two segments side by side only when both fit */
.hero4__txt { container-type: inline-size; min-width: 0; }
@container (max-width: 33rem) { .picker { grid-template-columns: 1fr; } }
.seg span { white-space: normal; line-height: 1.2; }
@media (min-width: 1000px) {
  .hero4__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; padding-top: clamp(1.25rem, 2.5vw, 2.5rem); }
  .hero4__media { aspect-ratio: 4 / 3; }
  .hero4 h1 { font-size: clamp(2.4rem, 1rem + 2.4vw, 3.4rem); }
}
@media (min-width: 640px) and (max-width: 999px) { .hero4__media { aspect-ratio: 21 / 9; } }

/* ---------- Fix pass 4: open days, programs without a photo yet, host program buttons, the booking demo ---------- */
.prog__days { display: flex; gap: .45rem; align-items: flex-start; font-size: .9375rem; color: var(--muted); }
.prog__days .ic { width: 1.05rem; height: 1.05rem; margin-top: .2rem; color: var(--accent-ink); }
.prog__days b { color: var(--green); font-weight: 600; }
.prog__ph--none { background: linear-gradient(135deg, var(--cream-2), #CDEDE3); }
.prog__noph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .5rem; color: var(--accent-ink); }
.prog__noph .ic { width: 3.5rem; height: 3.5rem; stroke-width: 1.3; }
.prog__noph small { font-size: .8125rem; font-weight: 600; }
.hcard__progs { display: grid; gap: .35rem; }
.pbtn { display: flex; gap: .5rem; align-items: center; width: 100%; min-height: 2.75rem; padding: .45rem .75rem; border: 1px solid var(--hair); border-radius: 12px; background: var(--cream); color: var(--green); font-weight: 500; font-size: .9375rem; text-align: left; cursor: pointer; transition: background-color .2s, border-color .2s; }
.pbtn .ic { width: 1.05rem; height: 1.05rem; color: var(--accent-ink); }
@media (hover: hover) { .pbtn:hover { background: var(--cream-2); border-color: rgb(14 109 87 / .35); } }

.book { width: min(36rem, 100vw); max-width: 100vw; max-height: min(92svh, 56rem); margin: auto; padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--text); box-shadow: 0 30px 80px -20px rgb(27 34 48 / .5); overflow: hidden; }
.book::backdrop { background: rgb(27 34 48 / .55); backdrop-filter: blur(3px); }
.book__in { max-height: inherit; overflow-y: auto; overscroll-behavior: contain; padding: 1.1rem 1.25rem 1.4rem; }
.book__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.book__head .tag--soft { margin: 0; }
.book__x { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--cream); color: var(--green); cursor: pointer; }
.book__x svg { width: 14px; height: 14px; }
.book__prog { display: flex; gap: .9rem; align-items: center; margin-bottom: 1rem; }
.book__prog img, .book__ic { flex: none; width: 5.5rem; height: 4rem; border-radius: 12px; object-fit: cover; }
.book__ic { display: grid; place-items: center; background: var(--cream-2); color: var(--accent-ink); }
.book__prog h2 { font-size: 1.3rem; line-height: 1.25; }
.book__prog p { color: var(--muted); font-size: .9375rem; }
.book__form { display: grid; gap: 1rem; }
.bseg { margin: 0; padding: 0; border: 0; min-width: 0; }
.bseg legend { float: left; width: 100%; padding: 0; margin-bottom: .45rem; font-weight: 600; color: var(--green); font-size: .9375rem; }
.bseg__row { clear: both; display: flex; flex-wrap: wrap; gap: .45rem; }
.bseg label { position: relative; flex: 1 1 6rem; }
.bseg--days label { flex-basis: 7.5rem; }
.bseg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.bseg span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 2.9rem; padding: .35rem .6rem; border: 1.5px solid var(--hair); border-radius: 12px; font-weight: 600; font-size: .9375rem; color: var(--green); text-align: center; line-height: 1.25; transition: border-color .15s, background-color .15s; }
.bseg span small { font-weight: 500; color: var(--muted); font-size: .8125rem; }
.bseg input:checked + span { border-color: var(--accent); background: var(--cream-2); box-shadow: inset 0 0 0 1px var(--accent); }
.bseg input:focus-visible + span { outline: 2px solid var(--focus-outer); outline-offset: 2px; }
.bseg .textlink { min-height: 2.5rem; font-size: .9375rem; }
.bseg .err { color: var(--error); font-size: .9375rem; min-height: 0; }
.bsum { padding: 1rem 1.1rem; border-radius: 16px; background: var(--cream); }
.bsum__t { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-weight: 700; color: var(--green); margin-bottom: .4rem; }
.bsum dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px dashed var(--line); font-size: .9375rem; }
.bsum dt small { display: block; color: var(--muted); font-size: .8125rem; }
.bsum dd { font-weight: 600; color: var(--green); white-space: nowrap; }
.bsum .tot { border-top: 2px solid var(--green); font-size: 1.1rem; }
.bsum .tot dt { font-weight: 700; color: var(--green); }
.bsum .tot dd { color: var(--accent-ink); font-weight: 700; }
.bsum .spot dt, .bsum .spot dd { color: var(--muted); font-weight: 400; white-space: normal; text-align: right; }
.bsum .spot dt { text-align: left; }
.bsum__note { margin-top: .5rem; font-size: .8125rem; color: var(--muted); }
.book__send { width: 100%; }
.book__ok { display: grid; gap: .7rem; justify-items: start; }
.book__ok > .ic { width: 3rem; height: 3rem; padding: .6rem; border-radius: 50%; background: var(--cream-2); color: var(--accent-ink); stroke-width: 2.4; }
.book__ok h3 { font-size: 1.4rem; }
.book__ok p { color: var(--muted); }
.book__recap { color: var(--green) !important; font-weight: 600; }
.book__btns { display: grid; gap: .6rem; width: 100%; margin-top: .4rem; }
@media (max-width: 599px) { .book { width: 100vw; max-height: 94svh; margin: auto 0 0; border-radius: 22px 22px 0 0; } }
html[lang="th"] :is(.prog__days, .prog__noph small, .pbtn, .bseg legend, .bseg span, .bseg span small, .bseg .textlink, .bsum dl div, .bsum dt small, .bsum__note, .book__prog p, .book__ok p) { font-size: 1rem !important; line-height: 1.6; }
.bseg .textlink { border: 0; background: none; padding: 0; margin-top: .3rem; cursor: pointer; font-family: inherit; }

/* ---------- Fix pass 5 (Nun's answers): per-host fee, car quoted after a talk ---------- */
.hcard__fee { display: flex; justify-content: space-between; gap: .6rem; padding: .55rem .75rem; border-radius: 12px; background: var(--cream); font-size: .9375rem; color: var(--muted); }
.hcard__fee b { color: var(--green); }
.receipt .tbc, .bsum .tbc { color: var(--muted); }
.receipt .tbc dd, .bsum .tbc dd { font-weight: 500; color: var(--muted); white-space: normal; text-align: right; }
.bsum .tot dt small { display: block; font-size: .8125rem; font-weight: 500; color: var(--muted); }
html[lang="th"] :is(.hcard__fee, .bsum .tot dt small) { font-size: 1rem !important; line-height: 1.6; }

/* v5 film (one host, one guest, people near the frame edges): 3:2 keeps both people in every scene */
@media (min-width: 1000px) { .hero4__media { aspect-ratio: 3 / 2; } }

/* ---------- Icons (10 Nov): on the picker, the filter, the line badges, the booking steps and the booking choices ---------- */
.seg span { gap: .45rem; flex-direction: row; }
.seg span .ic { width: 1.15rem; height: 1.15rem; flex: none; color: var(--accent-ink); opacity: .75; }
.seg input:checked + span .ic { opacity: 1; }
.seg span b { font-weight: inherit; }
.filter button { display: inline-flex; align-items: center; gap: .4rem; }
.filter button .ic { width: 1.05rem; height: 1.05rem; }
.badge { gap: .3rem; }
.badge .ic { width: .95rem; height: .95rem; stroke-width: 2; }
.num { position: relative; width: 2.75rem; height: 2.75rem; }
.num .ic { width: 1.3rem; height: 1.3rem; color: #fff; }
.num i { position: absolute; right: -.25rem; top: -.25rem; display: grid; place-items: center; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: #fff; color: var(--accent-ink); border: 1.5px solid var(--accent); font: 700 .7rem/1 var(--font-body); }
.bseg span .ic { width: 1.15rem; height: 1.15rem; margin-bottom: .15rem; color: var(--accent-ink); }
@media (max-width: 380px) { .seg span .ic { display: none; } }

/* Icons widen the choices: stack the two picker groups unless both fit on one line */
@container (max-width: 42rem) { .picker { grid-template-columns: 1fr; } }
.seg span { white-space: nowrap; }

/* ---------- Full-width hero (10 Nov, the pattern Nun keeps sending): the film edge to edge, the headline low-left on a soft
   gradient (faces sit in the upper middle of every scene), the picker as a bar across the film's bottom edge.
   ?hero=split shows the earlier split hero for comparison. ---------- */
html:not(.hero-split) .hero4 { background: #fff; }
@media (min-width: 1000px) {
  html:not(.hero-split) .hero4__in { position: relative; display: block; max-width: none; min-height: clamp(36rem, 82svh, 50rem); padding: 0; }
  html:not(.hero-split) .hero4__media { position: absolute; inset: 0 0 5.4rem 0; aspect-ratio: auto; border-radius: 0; }
  html:not(.hero-split) .hero4__media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to top, rgb(20 26 38 / .88) 0%, rgb(20 26 38 / .62) 30%, rgb(20 26 38 / .12) 58%, rgb(20 26 38 / 0) 70%),
                linear-gradient(to right, rgb(20 26 38 / .45) 0%, rgb(20 26 38 / 0) 55%); }
  html:not(.hero-split) .hero4__media img, html:not(.hero-split) .hero__film { object-position: 50% 30%; }
  html:not(.hero-split) .hero__pause { top: 1.25rem; bottom: auto; right: var(--gutter); }
  html:not(.hero-split) .hero4__txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; max-width: var(--page-max); margin: 0 auto; padding: 0 var(--gutter); }
  html:not(.hero-split) .hero4 .pin4 { background: rgb(255 255 255 / .16); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  html:not(.hero-split) .hero4 h1 { color: #fff; max-width: 16em; margin: .8rem 0 .7rem; font-size: clamp(2.3rem, 1rem + 2.5vw, 3.6rem); text-shadow: 0 1px 24px rgb(0 0 0 / .25); }
  html:not(.hero-split) .hero4 h1 em { color: var(--accent-soft); }
  html:not(.hero-split) .hero4__sub { order: initial; color: rgb(255 255 255 / .92); max-width: 38em; margin: 0 0 1.4rem; }
  html:not(.hero-split) .picker { grid-template-columns: 1fr 1fr auto; align-items: end; padding: 1rem 1.1rem; }
  html:not(.hero-split) .picker__go { grid-column: auto; width: auto; padding-inline: 1.8rem; min-height: 3.3rem; }
  html:not(.hero-split) .picker__note { margin: .7rem 0 0; }
  html[lang="th"]:not(.hero-split) .hero4 h1 { font-size: clamp(1.9rem, 1rem + 1.7vw, 2.8rem); line-height: 1.4; }
}
/* the hero text box is wide in this layout: keep the two choices and the button in one row */
@container (min-width: 50rem) { html:not(.hero-split) .picker { grid-template-columns: 1fr 1fr auto; } html:not(.hero-split) .picker__go { grid-column: auto; } }
/* phones and tablets: the film runs edge to edge at the top (no rounded card), the words and picker follow below */
@media (max-width: 999px) {
  html:not(.hero-split) .hero4__in { padding-top: 0; }
  html:not(.hero-split) .hero4__media { margin-inline: calc(var(--gutter) * -1); border-radius: 0; aspect-ratio: 16 / 10; }
}
/* Thai headline in the earlier split layout too: smaller on desktop */
@media (min-width: 1000px) { html[lang="th"].hero-split .hero4 h1 { font-size: clamp(1.8rem, 1rem + 1.6vw, 2.7rem); } }
@media (min-width: 640px) and (max-width: 999px) { html:not(.hero-split) .hero4__media { aspect-ratio: 21 / 9; } }
@media (min-width: 1000px) { html:not(.hero-split) .hero4__media img, html:not(.hero-split) .hero__film { object-position: 50% 18%; } }

/* privacy page: the v4 sheet had no .wrap; centre the notice with the page gutter */
.wrap { max-width: var(--page-max); margin-inline: auto; padding-inline: var(--gutter); }
.doc.wrap { max-width: calc(46rem + 2 * var(--gutter)); }
html.sheet-open, html.sheet-open body { overflow: hidden; }
.field { display: grid; gap: .4rem; }
.field label, .legend { font-size: var(--fs-small); font-weight: var(--fw-strong); }
.input, .select, .textarea { width: 100%; min-height: 3.25rem; padding: .75rem 1rem; border: 1px solid var(--stone-deep); border-radius: var(--r-2); background: var(--paper); color: var(--ink); font-size: var(--fs-body); line-height: 1.4; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); appearance: none; -webkit-appearance: none; }
.select { padding-inline-end: 2.5rem; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 1.3rem) 55%, calc(100% - 1rem) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.textarea { min-height: 5.5rem; resize: vertical; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--error); }
.err { min-height: 0; color: var(--error); font-size: var(--fs-small); font-weight: var(--fw-strong); }
.err:empty { display: none; }
.help { font-size: var(--fs-small); color: var(--fg-soft); }
.sheet { position: fixed; inset: auto 0 0 0; margin: 0 auto; width: 100%; max-width: 36rem; max-height: 92dvh; padding: 0; border: 0; border-radius: var(--r-sheet) var(--r-sheet) 0 0; background: var(--bg); color: var(--ink); overflow: hidden; --fg: var(--ink); --fg-soft: var(--ink-soft); --line: var(--stone); }
.sheet::backdrop { background: color-mix(in srgb, var(--ink) 55%, transparent); }
.sheet[open] { display: flex; flex-direction: column; animation: sheet-up var(--dur-sheet) var(--ease-spring) both; }
.sheet[open]::backdrop { animation: fade-in var(--dur-sheet) var(--ease-out) both; }
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }@keyframes fade-in { from { opacity: 0; } }.sheet__scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: var(--s-4) var(--gutter) calc(var(--s-6) + env(safe-area-inset-bottom)); -webkit-overflow-scrolling: touch; }
.sheet__grip { width: 2.5rem; height: 4px; margin: .6rem auto 0; border-radius: 2px; background: var(--stone-deep); }
.sheet__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-4); }
.sheet__head h2 { font-size: 1.75rem; line-height: 1.4; }
.sheet__prog { font-size: var(--fs-small); font-weight: var(--fw-strong); color: var(--fg-soft); }
.sheet__x { flex: none; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; transition: background-color var(--dur-fast), transform var(--dur-press); }
.sheet__x:hover { background: var(--line); }
.sheet__x:active { transform: scale(.94); }
.sheet__x svg { width: 14px; height: 14px; }
.demo-note { margin-bottom: var(--s-4); padding: .55rem .8rem; background: var(--linen-deep); border-radius: var(--r-2); font-size: var(--fs-small); line-height: 1.55; color: var(--ink-soft); }
.fgrid { display: grid; gap: var(--s-4); }
.chipset { display: flex; flex-wrap: wrap; gap: .5rem; border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.chipset legend { padding: 0; margin-bottom: .5rem; }
.chipset label { position: relative; }
.chipset input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chipset span { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; padding: 0 1.1rem; border: 1px solid var(--stone-deep); border-radius: var(--r-pill); background: var(--paper); font-weight: var(--fw-strong); transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-press); }
.chipset label:hover span { border-color: var(--ink); }
.chipset input:checked + span { background: var(--ink); color: var(--linen); border-color: var(--ink); }
.chipset input:checked + span::before { content: ""; width: .7rem; height: .4rem; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: -45deg; translate: 0 -.1rem; }
.chipset input:active + span { transform: scale(.96); }
.chipset input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 2px var(--linen); }
.check { display: grid; grid-template-columns: 1.5rem 1fr; gap: .75rem; align-items: start; font-size: var(--fs-small); line-height: 1.6; padding-block: .35rem; cursor: pointer; }
.check input { width: 1.4rem; height: 1.4rem; margin: .1rem 0 0; accent-color: var(--olive); }
.check .link { white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sheet__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.sheet__actions .btn { flex: 1 1 10rem; }
.esc { display: none; margin-top: var(--s-3); font-size: var(--fs-small); color: var(--fg-soft); text-align: center; }
.succ h3 { font-size: 1.5rem; margin-bottom: var(--s-3); }
.succ h4 { margin-top: var(--s-5); }
.succ__list { counter-reset: n; margin: var(--s-4) 0; display: grid; }
.succ__list li { counter-increment: n; display: grid; grid-template-columns: 2.25rem 1fr; padding-block: .6rem; border-top: 1px solid var(--line); }
.succ__list li::before { content: counter(n); font: 400 1.4rem/1.3 var(--font-display); color: var(--accent-ink); }
.succ__btns { display: grid; gap: var(--s-3); margin-top: var(--s-4); }
.qr { display: none; align-items: center; gap: var(--s-4); margin-top: var(--s-4); padding: var(--s-4); border: 1px dashed var(--stone-deep); border-radius: var(--r-2); font-size: var(--fs-small); color: var(--fg-soft); }
.qr svg { width: 5.5rem; height: 5.5rem; flex: none; }
[data-view][hidden] { display: none; }
@media (min-width: 768px) { .sheet { inset: 0; margin: auto; border-radius: var(--r-sheet); max-height: min(92dvh, 52rem); }
.sheet[open] { animation-name: sheet-pop; }
@keyframes sheet-pop { from { transform: translateY(28px); opacity: 0; } to { transform: none; opacity: 1; } }.sheet__grip { display: none; }
.sheet__scroll { padding-top: var(--s-5); }
.qr { display: flex; }
.esc { display: block; }
 }.doc { padding-block: var(--s-8) var(--s-9); max-width: 46rem; }
.doc h1 { font-size: var(--fs-h2); margin-bottom: var(--s-4); }
.doc .draft { margin-bottom: var(--s-6); }
.doc dl { display: grid; margin-top: var(--s-6); }
.doc .row { padding-block: var(--s-5); border-top: 1px solid var(--line); display: grid; gap: var(--s-2); }
.doc .row:last-child { border-bottom: 1px solid var(--line); }
.doc dt { font: var(--fw-display-th) var(--fs-h3)/1.4 var(--font-display); }
.doc dd { color: var(--fg-soft); max-width: 60ch; }
.qr .q-frame { fill: none; stroke: var(--stone-deep); stroke-dasharray: 2 2; stroke-width: .5; }
.qr .q-fg { fill: var(--ink); }
.qr .q-bg { fill: var(--paper); }
#lead-form .fgrid > .help:first-child, #more-form > .help { margin-bottom: var(--s-4); }
#more-form > .legend { margin: 0 0 var(--s-1); font-size: var(--fs-body); }
.fgrid--more { grid-template-columns: 1fr 1fr; gap: var(--s-4) var(--s-3); }
.fgrid--more .field { min-width: 0; align-content: start; }
.fgrid--more .field--wide { grid-column: 1 / -1; }
.fgrid--more .select { padding-inline: .8rem 2rem; background-position: calc(100% - 1.1rem) 55%, calc(100% - .8rem) 55%; text-overflow: ellipsis; }
.fgrid--more .input { padding-inline: .8rem; }
@media (max-width: 339px) { .fgrid--more { grid-template-columns: 1fr; }
 }.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.input[aria-invalid="true"]:focus-visible, .select[aria-invalid="true"]:focus-visible, .textarea[aria-invalid="true"]:focus-visible { border-color: var(--error); box-shadow: 0 0 0 2px var(--error); }
.sheet[data-view="success"] #sheet-title, .sheet[data-view="success"] .demo-note { display: none; }
.sheet[data-view="success"] .sheet__head { margin-bottom: 0; justify-content: flex-end; }
.succ .help { font-size: .875rem; }
.succ__btns { margin-bottom: var(--s-2); }
details.qr { display: block; padding: 0; border: 1px dashed var(--stone-deep); border-radius: var(--r-2); margin-top: var(--s-4); }
details.qr summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 2.75rem; padding: .5rem var(--s-4); cursor: pointer; list-style: none; font-size: var(--fs-small); color: var(--fg-soft); font-weight: var(--fw-strong); }
details.qr summary::-webkit-details-marker { display: none; }
details.qr summary::after { content: ""; width: .5rem; height: .5rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; rotate: 45deg; transition: rotate var(--dur-fast); margin-bottom: .2rem; }
details.qr[open] summary::after { rotate: 225deg; margin-bottom: -.1rem; }
.qr__in { display: flex; align-items: center; gap: var(--s-4); padding: 0 var(--s-4) var(--s-4); font-size: var(--fs-small); color: var(--fg-soft); }
.qr__in svg { width: 5.5rem; height: 5.5rem; flex: none; }
@media (min-width: 768px) { details.qr { display: block; }
 }.refcode { margin: var(--s-4) 0; padding: var(--s-3) var(--s-4); border: 1px dashed var(--line); border-radius: 12px; display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; }
.refcode .help { margin: 0; }
.refcode__v { margin: 0; font: 400 1.6rem/1.2 var(--font-display); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
#lead-form .sheet__actions, #more-form .sheet__actions { position: sticky; bottom: calc(-1 * (var(--s-6) + env(safe-area-inset-bottom))); z-index: 2; margin-top: calc(var(--s-4) - var(--s-7)); margin-inline: calc(-1 * var(--gutter)); margin-bottom: calc(-1 * (var(--s-6) + env(safe-area-inset-bottom))); padding: var(--s-7) var(--gutter) calc(var(--s-5) + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--bg) 0, var(--bg) 60%, color-mix(in srgb, var(--bg) 0%, transparent) 100%); }
#lead-form .err:not(#f-net-err), #lead-form .err:not(#f-net-err):empty { min-height: 1.2em; }
#lead-form .fgrid { column-gap: var(--s-3); }
@media (min-width: 768px) { .sheet { max-width: 40rem; }
#lead-form .fgrid { grid-template-columns: 1fr 1fr; }
#lead-form .fgrid > * { grid-column: 1 / -1; }
.sheet__head { margin-bottom: var(--s-3); }
.demo-note { margin-bottom: var(--s-3); }
 }.succ__saved { display: flex; align-items: center; gap: .55rem; margin-bottom: var(--s-3); padding: .55rem .85rem; border: 1px solid color-mix(in srgb, var(--olive) 40%, transparent); border-radius: var(--r-2); background: color-mix(in srgb, var(--olive) 10%, var(--paper)); font-size: var(--fs-small); font-weight: var(--fw-strong); line-height: 1.45; }
.succ__saved:empty { display: none; }
.succ__saved::before { content: ""; flex: none; width: .8rem; height: .45rem; border-left: 2px solid var(--olive); border-bottom: 2px solid var(--olive); rotate: -45deg; translate: 0 -.1rem; }
.succ__go { display: grid; gap: var(--s-2); margin-block: 0 var(--s-5); }
.succ__go .btn { width: 100%; }
.succ__go .help { text-align: center; }
.succ .refcode { margin-block: var(--s-4) var(--s-3); }
.succ h4 { margin-top: 0; font-size: var(--fs-small); color: var(--fg-soft); }
.succ__list { margin-block: var(--s-2) var(--s-4); }
.succ__list li { padding-block: .45rem; font-size: var(--fs-small); line-height: 1.5; color: var(--fg-soft); }
.succ__list li::before { font-size: 1.2rem; }
.succ__btns { margin-top: var(--s-3); }
@media (min-width: 768px) { .succ__btns { grid-template-columns: 1fr 1fr; }
 }.sheet__scroll { scroll-padding-bottom: 7.5rem; }
#lead-form .fgrid, #more-form .fgrid { padding-bottom: var(--s-7); }
.succ__next { margin-bottom: var(--s-3); border-top: 1px solid var(--line); }
.succ__next summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 2.75rem; cursor: pointer; list-style: none; font-size: var(--fs-small); font-weight: var(--fw-strong); color: var(--fg-soft); }
.succ__next summary::-webkit-details-marker { display: none; }
.succ__next summary::after { content: ""; flex: none; width: .55rem; height: .55rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; translate: 0 -.1rem; transition: rotate var(--dur-fast) var(--ease-out); }
.succ__next[open] summary::after { rotate: -135deg; translate: 0 .1rem; }
.succ__next .succ__list { margin-top: 0; }
@media (min-width: 768px) { .succ__next { border-top: 0; }
.succ__next summary { pointer-events: none; min-height: 0; margin-bottom: var(--s-1); }
.succ__next summary::after { display: none; }
 }.chipset--stack { display: grid; gap: .4rem; }
.chipset--stack label span { display: flex; width: 100%; min-height: 2.75rem; padding: .5rem 1.1rem; border-radius: var(--r-2); line-height: 1.35; }
.chipset--stack legend { margin-bottom: .25rem; }
@media (prefers-reduced-motion: reduce) { .sheet[open], .sheet[open]::backdrop { animation: none; }
 }fieldset.chipset { display: block; border: 0; padding: 0; margin: 0; min-inline-size: 0; }
fieldset.chipset > legend { float: left; width: 100%; padding: 0; margin: 0 0 .5rem; }
.chipset__row { clear: both; display: flex; flex-wrap: wrap; gap: .5rem; }
.chipset--stack .chipset__row { display: grid; gap: .4rem; }
.chipset--row .chipset__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); }
/* NEW-1: the three price answers sit in a row only when each has 9.5rem (it grows with the text size); otherwise they stack. The words wrap inside the chip and the chip keeps 44px. */
.chipset--row label { display: flex; }
.chipset--row label span { flex: 1; width: 100%; justify-content: center; text-align: center; padding: .4rem 1rem; line-height: 1.3; white-space: normal; overflow-wrap: anywhere; border-radius: 1.4rem; }
.sheet__dating { font-size: var(--fs-small); margin-top: .25rem; }
.sheet__head h2 { margin-bottom: .1rem; }
.fgrid--more fieldset { grid-column: 1 / -1; }

/* ===== v6 (10 Nov, evening): Nun's section order in the plain card format of her references ===== */
.head5 { max-width: 46rem; margin-bottom: clamp(1.6rem, 1rem + 2vw, 2.6rem); }
.head5--c { margin-inline: auto; text-align: center; }
.head5--c .lede4 { margin-inline: auto; }
.head5 h2 { margin: .5rem 0 .6rem; }
.head5 h2 em, .join5 h2 em { font-style: normal; color: var(--accent-ink); }

/* 2 why: three numbered cards */
.why5 { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); }
.why5 li { padding: 1.6rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.why5__ic { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; background: var(--cream-2); color: var(--accent-ink); margin-bottom: 1rem; }
.why5__ic .ic { width: 1.5rem; height: 1.5rem; }
.why5__k, .xp5__k, .host5__k { margin: 0 0 .35rem; font: 600 .8125rem/1.4 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); }
.why5 h3, .xp5 h3, .host5 h3, .how5 h3 { margin: 0 0 .45rem; font-size: 1.3rem; line-height: 1.3; }
.why5 p:last-child { margin: 0; color: var(--muted); }

/* 3 experiences: a tinted band with three photo cards */
.band5 { margin-top: clamp(3rem, 2rem + 4vw, 6rem); background: var(--cream-2); padding-bottom: clamp(3rem, 2rem + 4vw, 5rem); }
.xp5 { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); }
.xp5__c { display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 1px 2px rgb(38 48 65 / .06), 0 12px 30px -18px rgb(38 48 65 / .3); }
.xp5__ph { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--stone); }
.xp5__ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xp5__c--later .xp5__ph img { filter: saturate(.75); }
.tag5 { position: absolute; left: .9rem; top: .9rem; padding: .3rem .8rem; border-radius: 999px; background: var(--green); color: #fff; font: 600 .8125rem/1.3 var(--font-body); }
.xp5__b { display: flex; flex-direction: column; gap: .2rem; padding: 1.3rem 1.4rem 1.5rem; flex: 1; }
.xp5__b > p { margin: 0; color: var(--muted); }
.xp5__s { color: var(--green) !important; font-weight: 600; margin-bottom: .35rem !important; }
.xp5__price, .host5__fee { margin: auto 0 0 !important; padding-top: 1rem; color: var(--muted); font-size: .9375rem; }
.xp5__price b, .host5__fee b { color: var(--green); font-size: 1.35rem; font-weight: 700; margin-inline: .15rem; }
.xp5__b .btn, .host5__b > .btn { margin-top: .9rem; width: 100%; }
.fine5 { text-align: center; max-width: 52rem; margin-inline: auto; }

/* 4 hosts: four profile cards, photo on top */
.demo5 { display: inline-block; margin: 0 0 1.2rem; padding: .45rem .9rem; border-radius: 10px; background: #FFF4DC; color: #6B4600; font-size: .9375rem; }
.hosts5 { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); }
.host5 { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.host5__ph { aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--stone); }
.host5__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.host5__b { display: flex; flex-direction: column; padding: 1.1rem 1.2rem 1.3rem; flex: 1; }
.host5__b h3 { font-size: 1.45rem; margin-bottom: .2rem; }
.host5__where { display: flex; align-items: center; gap: .4rem; margin: 0 0 .6rem; color: var(--muted); font-size: .9375rem; }
.host5__where .ic { width: 1rem; height: 1rem; color: var(--accent-ink); }
.host5__about { margin: 0 0 .8rem; color: var(--text); }
.host5__lbl { margin: 0 0 .4rem; font-weight: 600; font-size: .9375rem; color: var(--green); }
.host5__progs { display: grid; gap: .4rem; }
.textlink { border: 0; background: none; padding: 0; cursor: pointer; font-family: inherit; font-size: inherit; }

/* 5 how it works: navy band, four numbered steps */
.how5 { margin-top: clamp(3rem, 2rem + 4vw, 6rem); background: var(--green); color: #fff; padding-bottom: clamp(3rem, 2rem + 4vw, 5rem); }
.how5 h2, .how5 h3 { color: #fff; }
.how5 h2 em { color: var(--accent-soft); font-style: normal; }
.how5 .eyebrow4 { color: var(--accent-soft); }
.how5 .lede4 { color: rgb(255 255 255 / .78); }
.how5__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem 1.4rem; grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr)); }
.how5__steps li { padding-top: 1.1rem; border-top: 1px solid rgb(255 255 255 / .22); }
.how5__steps p { margin: 0; color: rgb(255 255 255 / .78); }
.how5__n { display: flex; align-items: center; gap: .6rem; margin-bottom: .7rem; color: var(--accent-soft); }
.how5__n .ic { width: 1.6rem; height: 1.6rem; }
.how5__n i { font: 700 .9375rem/1 var(--font-body); font-style: normal; letter-spacing: .06em; }
.how5__eg { display: flex; align-items: flex-start; gap: .6rem; margin: 2.2rem 0 0; padding: 1rem 1.2rem; border-radius: 14px; background: rgb(255 255 255 / .08); color: rgb(255 255 255 / .9); }
.how5__eg .ic { flex: none; width: 1.3rem; height: 1.3rem; margin-top: .2rem; color: var(--accent-soft); }
.how5__eg b { color: #fff; }

/* 6 register: offer on the left, the form on the page on the right */
.join5 { display: grid; gap: 2rem 3rem; align-items: start; padding-bottom: clamp(3rem, 2rem + 4vw, 6rem); }
@media (min-width: 960px) { .join5 { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.join5 h2 { margin: .5rem 0 .7rem; }
.offer5 { margin-top: 1.4rem; padding: 1.3rem 1.4rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.offer5__t { margin: 0 0 .6rem; font-weight: 700; color: var(--green); font-size: 1.1rem; }
.offer5 ul, .rules5 { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.offer5 li, .rules5 li { display: flex; align-items: flex-start; gap: .6rem; }
.offer5 .ic, .rules5 .ic { flex: none; width: 1.2rem; height: 1.2rem; margin-top: .2rem; color: var(--accent-ink); }
.offer5 .seats { margin-top: 1rem; }
.offer5 .seats p { margin: 0 0 .4rem; color: var(--muted); font-size: .9375rem; }
.offer5 .seats b { color: var(--green); font-size: 1.3rem; }
.offer5 progress { width: 100%; height: .5rem; }
.soon5 { margin-top: 1rem; padding: 1rem 1.2rem; border-left: 4px solid var(--brand); border-radius: 0 12px 12px 0; background: #fff; }
.soon5__t { margin: 0 0 .25rem; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .06em; font-size: .8125rem; }
.soon5 p:last-child { margin: 0; color: var(--muted); font-size: .9375rem; }
.rules5 { margin-top: 1.2rem; color: var(--muted); font-size: .9375rem; }

/* the sign-up form as a card on the page (not a pop-up sheet) */
.sheet.sheet--inline { position: static; inset: auto; display: block; width: 100%; max-width: none; max-height: none; margin: 0; overflow: visible; animation: none; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px -26px rgb(38 48 65 / .35); color: var(--text); }
.sheet.sheet--inline .sheet__scroll { overflow: visible; max-height: none; padding: clamp(1.2rem, .8rem + 1.6vw, 2rem); }
.sheet.sheet--inline .sheet__head h3 { margin: 0; font-size: 1.5rem; }
.sheet.sheet--inline .sheet__actions { position: static; }
.join5__form { scroll-margin-top: 5.5rem; }
#join { scroll-margin-top: 4.5rem; }
.sheet--inline #lead-form .sheet__actions, .sheet--inline #more-form .sheet__actions { position: static; margin: 1rem 0 0; padding: 0; background: none; box-shadow: none; border: 0; }
.sheet--inline #lead-form .fgrid, .sheet--inline #more-form .fgrid { padding-bottom: 0; }
.sheet--inline .esc { display: none !important; }

/* ===== Phones only (under 700px): compact layout (Nun, 11 Nov: "the text feels big on the phone").
   Text stays at least 16px and buttons at least 44px tall; headings, spacing and stacking get tighter,
   and the experience and host cards become a sideways swipe row. Desktop and tablet are untouched. ===== */
@media (max-width: 699px) {
  .hero4 h1, html[lang="th"] .hero4 h1 { font-size: 1.85rem; line-height: 1.25; }
  .hero4__sub { font-size: 1rem; line-height: 1.55; }
  .sec4 { padding-top: 2.4rem; }
  .head5 { margin-bottom: 1.1rem; }
  .head5 h2, .join5 h2, html[lang="th"] .head5 h2, html[lang="th"] .join5 h2 { font-size: 1.55rem; line-height: 1.3; margin: .35rem 0 .45rem; }
  .head5 .lede4, .join5 .lede4 { font-size: 1rem; }
  .eyebrow4 { font-size: .8125rem; }

  /* why: three compact rows (icon + title + one line) */
  .why5 { gap: .6rem; }
  .why5 li { display: grid; grid-template-columns: 2.6rem 1fr; column-gap: .85rem; padding: .9rem 1rem; border-radius: 14px; }
  .why5__ic { grid-row: span 2; width: 2.6rem; height: 2.6rem; margin: 0; border-radius: 12px; }
  .why5__ic .ic { width: 1.3rem; height: 1.3rem; }
  .why5__k { display: none; }
  .why5 h3 { font-size: 1.05rem; margin: 0 0 .15rem; }
  .why5 p:last-child { font-size: 1rem; line-height: 1.5; }

  /* experiences and hosts: two columns (Nun, 11 Nov: "สองสามช่อง"); buttons stay 44px+, card text 15px+ */
  .xp5, .hosts5 { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .xp5__c, .host5 { border-radius: 14px; }
  .xp5__ph { aspect-ratio: 4 / 3; }
  .xp5__b, .host5__b { padding: .7rem .7rem .8rem; gap: 0; }
  .xp5__k, .host5__k { font-size: .6875rem; letter-spacing: .04em; margin-bottom: .2rem; }
  .xp5 h3, .host5 h3 { font-size: 1.05rem; margin-bottom: .1rem; }
  .xp5__s { font-size: .9375rem !important; line-height: 1.4; margin-bottom: 0 !important; }
  .xp5__b > p:not([class]) { display: none; }
  .xp5__price, .host5__fee { padding-top: .5rem; font-size: .8125rem; line-height: 1.35; }
  .xp5__price b, .host5__fee b { display: block; font-size: 1.05rem; margin: 0; }
  .xp5__b .btn, .host5__b > .btn { margin-top: .55rem; min-height: 2.75rem; padding: .5rem .6rem; font-size: .9375rem; line-height: 1.25; white-space: normal; }
  /* Premium (opening later) as one slim full-width row under the two */
  .xp5__c--later { grid-column: 1 / -1; display: grid; grid-template-columns: 38% 1fr; }
  .xp5__c--later .xp5__ph { aspect-ratio: auto; height: 100%; min-height: 9rem; }
  .xp5__c--later .tag5 { left: .5rem; top: .5rem; font-size: .75rem; padding: .2rem .55rem; }
  .host5__ph { aspect-ratio: 1 / 1; }
  .xp5__ph picture, .host5__ph picture { display: block; height: 100%; }
  .xp5__ph img, .host5__ph img { height: 100%; }
  .xp5__c--later .xp5__ph { position: relative; }
  .xp5__c--later .xp5__ph picture { position: absolute; inset: 0; }
  .host5__b h3 { font-size: 1.1rem; }
  .host5__where, .host5__about, .host5__lbl { display: none; }
  .host5__progs { gap: .3rem; margin-top: .3rem; }
  .host5__progs .pbtn { min-height: 2.75rem; padding: .35rem .5rem; font-size: .875rem; line-height: 1.3; }
  .host5__progs .pbtn .ic { flex: none; }
  .band5 { margin-top: 2.4rem; padding-bottom: 2rem; }
  .fine5 { font-size: .875rem; text-align: left; }
  .demo5 { font-size: .875rem; margin-bottom: .8rem; }

  /* how it works: tighter steps */
  .how5 { margin-top: 2.4rem; padding-bottom: 2.2rem; }
  .how5__steps { gap: .2rem; }
  .how5__steps li { display: grid; grid-template-columns: 2.6rem 1fr; column-gap: .7rem; padding: .8rem 0; }
  .how5__n { grid-row: span 2; flex-direction: column; align-items: flex-start; gap: .2rem; margin: 0; }
  .how5__n .ic { width: 1.4rem; height: 1.4rem; }
  .how5__steps h3 { font-size: 1.05rem; margin-bottom: .15rem; }
  .how5__steps p { font-size: 1rem; line-height: 1.5; }
  .how5__eg { margin-top: 1.2rem; font-size: .9375rem; }

  /* register: less space around the offer */
  .join5 { gap: 1.4rem; padding-bottom: 2.4rem; }
  .offer5 { margin-top: 1rem; padding: 1rem 1.1rem; }
  .soon5 { padding: .8rem 1rem; }
  .rules5 { margin-top: .9rem; }
}
/* swipe hint: not used with the two-column layout */
.swipe5 { display: none; align-items: center; gap: .4rem; margin: -.2rem 0 0; color: var(--muted); font-size: .875rem; }
.swipe5 .ic { width: 1rem; height: 1rem; color: var(--accent-ink); }

/* ===== QA group A1 (12 Nov 2026): larger text, phone host cards, tap targets, long labels ===== */
/* Larger text: the cards go to one column when the section is narrow IN REM (so it follows the reader's text size, not just the screen). */
.sec4 { container: tbsec / inline-size; }
@container tbsec (max-width: 17rem) {
  .xp5, .hosts5 { grid-template-columns: 1fr; }
  .xp5__c--later { display: block; }
  .xp5__c--later .xp5__ph { aspect-ratio: 4 / 3; height: auto; min-height: 0; }
  .xp5__c--later .xp5__ph picture { position: static; }
  .xp5__b > p:not([class]) { display: block; }
}
/* Join section and form: the column may shrink below its longest word; the form never pushes the page sideways */
.join5 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .join5 { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.join5 > *, .join5__form, .sheet__scroll, .fgrid > *, .field { min-width: 0; }
.sheet, .sheet label, .sheet .check span, .sheet .help, .demo-note, .pick-note { overflow-wrap: anywhere; }
#sheet { scroll-margin-top: 5.5rem; }
.pick-note { margin: 0; padding: .65rem .85rem; border-left: 4px solid var(--accent-ink, #0E6D57); border-radius: 8px; background: var(--cream-2, #E8F5F0); color: var(--text); font-size: .9375rem; line-height: 1.5; }
.pick-note[hidden] { display: none; }

/* Phone host cards: show the languages, a short "about" and the label above the programs (V-2); programs look like buttons (V-3) */
@media (max-width: 699px) {
  .host5__where { display: flex; margin: 0 0 .35rem; font-size: .875rem; }
  .host5__about { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; margin: 0 0 .5rem; font-size: .875rem; line-height: 1.4; }
  .host5__lbl { display: block; margin: 0 0 .25rem; font-size: .875rem; line-height: 1.3; }
  .host5__b > .host5__progs { margin-top: 0; }
}
.pbtn { background: #fff; border: 1.5px solid var(--accent-ink, #0E6D57); box-shadow: 0 1px 0 rgb(14 109 87 / .18); font-weight: 600; }
.pbtn > span { flex: 1; min-width: 0; text-align: left; }
.pbtn .ic--go { width: 1rem; height: 1rem; flex: none; margin-inline-start: auto; color: var(--accent-ink, #0E6D57); fill: none; stroke: currentColor; }
@media (hover: hover) { .pbtn:hover { background: var(--cream-2); border-color: var(--accent-ink, #0E6D57); } }

/* Text no smaller than 14px (prices and their unit 15px+); header button never wraps; the top notice may wrap */
.xp5__price, .host5__fee { font-size: 1rem; }
.xp5__k, .host5__k, .why5__k, .eyebrow4, .tag5, .tag, .soon5__t, .seg legend, .foot4 small, .foot4__demo { font-size: .875rem; }
.host5__k, .xp5__k { letter-spacing: .03em; }
@media (max-width: 699px) {
  .xp5__price, .host5__fee { font-size: .9375rem; }
  .xp5__k, .host5__k, .eyebrow4, .xp5__c--later .tag5 { font-size: .875rem; }
}
html[lang="th"] :is(.xp5__price, .host5__fee, .xp5__k, .host5__k, .soon5__t, .tag5, .pbtn, .host5__about, .host5__where, .host5__lbl, .pick-note) { font-size: 1rem; }
.banner { font-size: .875rem; }
.banner > span { white-space: normal; text-wrap: balance; overflow: visible; line-height: 1.3; padding-block: .3rem; }
.top__join { white-space: nowrap; }
@media (max-width: 380px) { .langbtn { min-width: 2.75rem; } }
/* a space before an inline name in a flex link ("ทำไมต้อง Trip Buddy"): flex drops the trailing space of the text item, so the gap is explicit */
.topnav4 a, .foot4 nav a { column-gap: .3em; }
.foot4 nav a { min-width: 2.75rem; justify-content: center; }

/* Tap targets (44px) for form labels, footer and privacy links */
.sheet .field > label { display: flex; align-items: flex-end; min-height: 2.75rem; padding-bottom: .1rem; }
.foot4 p a.link, .doc a.link { display: inline-flex; align-items: center; min-height: 2.75rem; }
.sheet .check .link { padding-block: .7rem; margin-block: -.7rem; }
.sheet a.textlink, .sheet button.textlink { display: inline-flex; align-items: center; min-height: 2.75rem; }

/* Picker labels at their longest: the row wraps instead of pushing the page sideways (A-6) */
.picker, .seg, .seg label { min-width: 0; }
.seg__row { flex-wrap: wrap; border-radius: 22px; }
.seg label { flex: 1 1 8rem; }
.seg span { white-space: normal; overflow-wrap: anywhere; min-width: 0; }
/* the rows of "why" and "how" may shrink below their longest word at large text */
@media (max-width: 699px) {
  .why5 li { grid-template-columns: 2.6rem minmax(0, 1fr); }
  .how5__steps li { grid-template-columns: 2.6rem minmax(0, 1fr); }
}
.why5 li, .how5__steps li, .trust li, .trust li > div { min-width: 0; }
.why5 :is(h3, p), .how5__steps :is(h3, p), .trust :is(b, span), .foot4__in > * { overflow-wrap: anywhere; }
.foot4__in { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .foot4__in { grid-template-columns: minmax(0, 1fr) auto; } }
.sheet .nw, .foot4 .nw { white-space: normal; }
.foot4 a.link, .foot4 p { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
@media (max-width: 480px) { .trust .nw { white-space: normal; } }
.sheet .check a.link { white-space: normal; }

/* one line under the hero text (price, public places, not dating) and the "what is a host" line */
.hero4__glance { margin: .55rem 0 0; font-size: .9375rem; font-weight: 600; line-height: 1.45; color: var(--green); }
html[lang="th"] .hero4__glance { font-size: 1rem; line-height: 1.6; }
.hostdef { margin: -.2rem 0 1rem; font-size: .9375rem; line-height: 1.5; color: var(--muted); text-align: center; }
.hosts5 ~ .hostdef, #hosts .hostdef { text-align: left; }
html[lang="th"] .hostdef { font-size: 1rem; }
.hero4__glance { margin-bottom: .9rem; }

/* ===== QA run 2 fixes (12 Nov 2026) ===== */
/* NEW-2: on the full-width hero (1000px and up) the line sits over the photo: white on the dark foot of the film, like the text above it, with a soft scrim of its own for any frame */
@media (min-width: 1000px) {
  html:not(.hero-split) .hero4__glance { color: #fff; text-shadow: 0 1px 2px rgb(0 0 0 / .55), 0 0 14px rgb(0 0 0 / .45); width: fit-content; max-width: 100%; padding: .3rem .8rem; margin-inline-start: -.8rem; border-radius: 12px; background: rgb(20 26 38 / .62); }
}
/* B12/B13: chosen chip in the second step looks like the first (navy, tick); the label never touches the pill edge */
.chipset input:checked + span, .chipset--stack input:checked + span { background: var(--ink); color: var(--linen); border-color: var(--ink); }
.chipset span { padding-inline: 1.1rem; }
/* NEW-5: a very long label wraps instead of clipping, in the header and on every button */
.btn, .top__join { white-space: normal; overflow-wrap: anywhere; text-align: center; }
.top__join { flex: 0 1 auto; min-width: min(5.25rem, 100%); line-height: 1.15; } /* may shrink to 5.25rem, so a normal label stays on one line and only a very long one wraps */
.langbtn { flex: none; white-space: nowrap; }
.brand img { object-fit: contain; object-position: left center; } /* if the header is crowded the logo gets smaller, never squeezed */
/* B13/NEW-6: two-column host cards on phones: programs are plain bordered buttons (no calendar icon) so a title takes two lines at most; cards keep their own height, so no empty space above the fee */
@media (max-width: 699px) {
  .hosts5 { align-items: start; }
  .host5__progs .pbtn > .ic:not(.ic--go) { display: none; }
  .host5__progs .pbtn { padding: .4rem .55rem; gap: .35rem; line-height: 1.3; }
  .host5__progs .pbtn > span { text-wrap: balance; }
}
