/* TripPact — DAOx deep-blue brand system (fonts are linked in each page head) */

/* Holiday palette: lagoon teal, warm sand, a sun-yellow for the one thing to press. */
:root {
  --bg: #fcf6ea;
  --card: #fffefb;
  --border: #eadfc9;
  --ink: #14323c;
  --muted: #586a6d;
  --brand: #0c7a85;
  --brand-deep: #0a4a59;
  --brand-mid: #0f8791;
  --brand-tint: #def2ef;
  --sun: #ffc145;
  --sun-deep: #f0a21c;
  --coral: #d9481f;
  --gradient: linear-gradient(135deg, #0a5f78, #17939c);
  --ok: #1f8a4c;
  --ok-tint: #e3f5ea;
  --warn: #8a5a12;
  --warn-tint: #fdf0d0;
  --err: #c0392b;
  --err-tint: #fbe7e3;
  --radius: 20px;
  --shadow: 0 2px 6px rgba(96, 70, 24, .06), 0 14px 34px rgba(16, 74, 86, .11);
  --sans: "Source Sans 3", -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --display: "Fraunces", "Source Serif 4", Georgia, serif;
  --sky:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%23fff' d='M30 6v40H10z'/%3E%3Cpath fill='%23ffe3a3' d='M34 14v32h20z'/%3E%3Cpath fill='%230a4a59' d='M6 50h52l-8 9H14z'/%3E%3C/svg%3E") left 5% bottom 56px / 46px auto no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 110' preserveAspectRatio='none'%3E%3Cpath fill='%238fdccf' fill-opacity='.55' d='M0 48 C180 18 360 78 540 48 S900 18 1080 48 1320 80 1440 44 V110 H0Z'/%3E%3Cpath fill='%23c9f0e6' fill-opacity='.85' d='M0 70 C200 44 400 96 620 68 S1000 44 1200 72 1380 86 1440 66 V110 H0Z'/%3E%3Cpath fill='%23fcf6ea' d='M0 92 C240 70 420 106 700 88 S1150 70 1440 93 V110 H0Z'/%3E%3C/svg%3E") bottom center / 100% 110px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 60'%3E%3Cpath fill='%23fff' fill-opacity='.9' d='M36 54a22 22 0 0 1 4-43 30 30 0 0 1 56-4 24 24 0 0 1 34 20 14 14 0 0 1-4 27z'/%3E%3C/svg%3E") 7% 22px / 140px auto no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 60'%3E%3Cpath fill='%23fff' fill-opacity='.9' d='M36 54a22 22 0 0 1 4-43 30 30 0 0 1 56-4 24 24 0 0 1 34 20 14 14 0 0 1-4 27z'/%3E%3C/svg%3E") 74% 18px / 96px auto no-repeat,
    radial-gradient(circle at 86% 34%, #ffe08a 0, #ffc145 46px, rgba(255, 201, 90, .34) 47px, rgba(255, 201, 90, .14) 84px, rgba(255, 201, 90, 0) 128px),
    linear-gradient(180deg, #0a5a72 0%, #11808f 58%, #3fb5ae 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font: 16.5px/1.65 var(--serif);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; color: var(--ink); letter-spacing: -.3px; line-height: 1.2; }
h4 { font-family: var(--sans); color: var(--ink); }

/* ---------- nav ---------- */
.nav {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  position: sticky; top: 0; z-index: 10;
}
.nav .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.logo { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--ink); letter-spacing: -.3px; }
.logo em { font-style: normal; color: var(--coral); }
.logo:hover { text-decoration: none; }
.nav nav { display: flex; gap: 22px; align-items: center; }
.nav nav a { font-family: var(--sans); color: var(--muted); font-weight: 600; font-size: 15px; }
.nav nav a:hover { color: var(--brand); text-decoration: none; }
.badge {
  font-family: var(--sans);
  background: var(--brand-tint); color: var(--brand);
  border: 1px solid #b9e0db; border-radius: 999px;
  padding: 3px 14px; font-size: 13px; font-weight: 700; white-space: nowrap;
}

/* ---------- hero (landing): sky, sun, sea, sand ---------- */
.hero {
  background: var(--sky);
  text-align: center;
  padding: 76px 24px 190px;
  color: #fff;
}
.eyebrow {
  display: inline-block; margin-bottom: 20px;
  font-family: var(--sans);
  color: #fff; background: rgba(255, 255, 255, .16);
  border: 1.5px solid rgba(255, 255, 255, .8);
  border-radius: 999px; padding: 5px 18px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 62px);
  line-height: 1.06; font-weight: 600; letter-spacing: -.8px;
  color: #fff; text-shadow: 0 2px 18px rgba(6, 60, 76, .35);
  max-width: 780px; margin: 0 auto;
}
.hero h1 em { font-style: italic; color: #ffe08a; }
.tagline { font-size: 20px; color: #fff; max-width: 600px; margin: 20px auto 0; text-shadow: 0 1px 10px rgba(6, 60, 76, .4); }
.hero .sub { color: rgba(255, 255, 255, .92); margin-top: 12px; font-size: 15.5px; }

.product { padding: 0 24px 48px; margin-top: -128px; }

/* ---------- cards & forms ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  margin-bottom: 18px;
}
.card > h2 { font-size: 24px; }
.card > h2 + p, .lede { color: var(--muted); font-size: 15.5px; margin-top: 4px; }
.kicker {
  font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--brand); margin-bottom: 6px;
}

label, .label {
  display: block; font-family: var(--sans); font-size: 13.5px; font-weight: 700;
  color: var(--ink); margin: 18px 0 6px; letter-spacing: .2px;
}
input[type=text], input[type=url], input[type=number], input[type=date], input[type=time], textarea, select {
  width: 100%; background: #fff; color: var(--ink);
  border: 1px solid var(--border); border-radius: 12px;
  padding: 11px 14px; font: 16px/1.5 var(--sans);
  transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--brand-mid);
  box-shadow: 0 0 0 3px rgba(15, 135, 145, .2);
  background: #fff;
}
::placeholder { color: #a39f93; }
input.filled, textarea.filled { background: #fff7dd; border-color: var(--sun-deep); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 14px; }

.btn {
  display: inline-block; cursor: pointer;
  font-family: var(--sans);
  background: var(--card); color: var(--brand);
  border: 2px solid var(--brand); border-radius: 999px;
  padding: 9px 24px; font-size: 16px; font-weight: 700; line-height: 1.4;
  transition: background .15s, color .15s, box-shadow .15s, filter .15s, transform .15s;
}
.btn:hover { background: var(--brand-tint); text-decoration: none; }
.btn.primary {
  background: linear-gradient(180deg, #ffd062, #ffb72e); border: none; color: var(--ink);
  padding: 14px 28px; font-size: 17.5px;
  box-shadow: 0 6px 18px rgba(240, 162, 28, .42), inset 0 -2px 0 rgba(160, 96, 0, .18);
}
.btn.primary:hover { filter: brightness(1.04); transform: translateY(-1px); }
.btn.primary:disabled { filter: grayscale(.5); transform: none; }
.btn.wide { width: 100%; margin-top: 22px; }
.btn.small { padding: 5px 16px; font-size: 14.5px; border-width: 1.5px; }
.btn.quiet { border-color: var(--border); color: var(--muted); }
.btn.danger { border-color: #e2b6b2; color: var(--err); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.linkbtn {
  background: none; border: none; cursor: pointer; padding: 0;
  font: 600 14.5px var(--sans); color: var(--brand);
}
.linkbtn:hover { text-decoration: underline; }
.linkbtn.danger { color: var(--err); }

.status { margin-top: 14px; font-size: 14.5px; color: var(--muted); font-family: var(--sans); }
.status.err { color: var(--err); font-weight: 600; }

/* chips: checkbox/radio pills */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer; margin: 0;
  font: 600 14.5px/1.3 var(--sans); color: var(--muted);
  background: #fbf5e8; border: 1.5px solid var(--border); border-radius: 999px;
  padding: 7px 14px; min-height: 38px; user-select: none;
  transition: background .12s, border-color .12s, color .12s;
}
.ico { display: inline-block; margin-right: 6px; }
.chip .ico { margin-right: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:hover { border-color: #9fd2cd; }
.chip.on, .chip:has(input:checked) { background: var(--brand-tint); border-color: var(--brand-mid); color: var(--brand-deep); }
.chip.on::before, .chip:has(input:checked)::before { content: "✓"; font-weight: 800; color: var(--brand); }
.chip.bad.on { background: var(--err-tint); border-color: var(--err); color: var(--err); }
.chip.bad.on::before { color: var(--err); }

/* choice cards (radio behaviour) */
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-top: 12px; }
.choice {
  cursor: pointer; text-align: center; margin: 0;
  background: #fbf5e8; border: 2px solid var(--border); border-radius: 14px;
  padding: 14px 10px; font-family: var(--sans);
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice b { display: block; font-size: 18px; color: var(--ink); }
.choice span { font-size: 13px; color: var(--muted); font-weight: 400; }
.choice:has(input:checked) { border-color: var(--brand-mid); background: var(--brand-tint); }
.choice:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(15, 135, 145, .25); }

/* ---------- landing: member rows, steps, faq ---------- */
.rows { display: grid; gap: 8px; }
.row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.row .chip { white-space: nowrap; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 8px 24px 48px; }
.step {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 22px;
  text-align: center;
}
.step span {
  display: inline-flex; width: 38px; height: 38px;
  align-items: center; justify-content: center;
  font-family: var(--sans);
  background: var(--sun); color: var(--ink);
  border-radius: 50%; font-weight: 800; font-size: 17px;
  box-shadow: 0 0 0 6px rgba(255, 193, 69, .25);
}
.step h3 { margin: 16px 0 6px; font-size: 21px; }
.step p { color: var(--muted); font-size: 15px; }

.faq { padding: 16px 24px 72px; }
.faq h2 { text-align: center; font-size: 32px; margin-bottom: 24px; }
details.q {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px 22px; margin-bottom: 12px;
  box-shadow: var(--shadow);
}
summary { cursor: pointer; font-family: var(--sans); font-weight: 700; font-size: 16px; }
summary::marker { color: var(--brand-mid); }
details.q p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }

.mytrips { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.mytrips a { display: block; font-family: var(--sans); font-weight: 600; padding: 4px 0; }

/* ---------- trip page ---------- */
.band { background: var(--sky); color: #fff; padding: 32px 0 150px; }
/* the trip title sits top-left here, so the clouds drift right */
.band { background-position: left 5% bottom 56px, bottom center, 56% 14px, 72% 78px, 0 0, 0 0; }
.band .kicker { color: rgba(255, 255, 255, .9); }
.band h1 { color: #fff; font-size: clamp(28px, 4.8vw, 42px); text-shadow: 0 2px 14px rgba(6, 60, 76, .35); max-width: 620px; }
.band .note { color: rgba(255, 255, 255, .88); margin-top: 6px; font-size: 16px; max-width: 620px; }
.clock { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-family: var(--sans); }
.clock .state {
  background: rgba(255, 255, 255, .14); border: 1.5px solid rgba(255, 255, 255, .7);
  border-radius: 999px; padding: 3px 14px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
}
.clock .count { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.3px; }
.clock .when { color: rgba(255, 255, 255, .85); font-size: 15px; }

.stack { margin-top: -96px; padding-bottom: 120px; }

.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.person { display: flex; gap: 10px; align-items: center; min-width: 0; }
.avatar {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font: 700 14px var(--sans); color: #fff; background: var(--brand-mid);
  box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(16, 74, 86, .2);
}
.avatar.sm { width: 26px; height: 26px; font-size: 11.5px; }
.person .nm { font: 700 15px/1.2 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.person .st { font: 13px/1.3 var(--sans); color: var(--muted); }
.person .st.done { color: var(--ok); font-weight: 700; }

.callout {
  border-radius: 12px; padding: 12px 16px; font: 15px/1.5 var(--sans);
  background: var(--brand-tint); color: var(--brand-deep); margin-top: 14px;
}
.callout.warn { background: var(--warn-tint); color: var(--warn); }
.callout.ok { background: var(--ok-tint); color: #155c33; }
.callout.err { background: var(--err-tint); color: var(--err); }

/* option card */
.opt-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.opt-head h3 { font-size: 23px; }
.opt-n {
  display: inline-flex; width: 26px; height: 26px; margin-right: 8px; vertical-align: 2px;
  align-items: center; justify-content: center; border-radius: 50%;
  background: var(--sun); color: var(--ink); font: 800 13px var(--sans);
}
.card.opt { overflow: hidden; }
.opt-photo {
  display: block; width: calc(100% + 60px); max-width: none; height: 220px; object-fit: cover;
  margin: -30px -30px 22px; background: var(--brand-tint);
}
.photo-pick { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.photo-pick img { width: 132px; height: 88px; object-fit: cover; border-radius: 12px; border: 1px solid var(--border); }
.hint { font: 14.5px/1.5 var(--sans); color: var(--muted); margin-top: 6px; }
.price { text-align: right; font-family: var(--sans); flex: none; }
.price b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.4px; font-variant-numeric: tabular-nums; }
.price span { font-size: 13px; color: var(--muted); }
.facts { font: 15px/1.5 var(--sans); color: var(--muted); margin-top: 4px; }
.facts b { color: var(--ink); font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag {
  font: 600 13px/1.3 var(--sans); padding: 4px 11px; border-radius: 999px;
  background: #f6efe0; color: var(--muted); border: 1px solid var(--border);
}
.tag.hit { background: var(--ok-tint); color: #155c33; border-color: #b9dcc8; }
.tag.miss { background: var(--err-tint); color: var(--err); border-color: #eec3bf; }
.tag.warn { background: var(--warn-tint); color: var(--warn); border-color: #e6d3a8; }
.opt-notes { margin-top: 12px; font-size: 15.5px; color: var(--ink); white-space: pre-line; }
.opt-links { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 18px; font: 600 14.5px var(--sans); }

.verdict { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); }
.verdict .label { margin-top: 0; }
.vbtns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vbtn {
  cursor: pointer; font: 700 15px/1.25 var(--sans); min-height: 48px;
  border-radius: 12px; padding: 10px 6px;
  background: #fbf5e8; border: 2px solid var(--border); color: var(--muted);
  transition: background .12s, border-color .12s, color .12s;
}
.vbtn:hover { border-color: #9fd2cd; }
.vbtn.on.yes { background: var(--ok); border-color: var(--ok); color: #fff; }
.vbtn.on.ok { background: var(--brand); border-color: var(--brand); color: #fff; }
.vbtn.on.no { background: var(--err); border-color: var(--err); color: #fff; }
.why { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--err-tint); }
.why .label { margin-top: 0; color: var(--err); }
.why input { margin-top: 10px; background: #fff; }

.tally { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 16px; font: 14px var(--sans); color: var(--muted); align-items: center; }
.mark { display: inline-flex; align-items: center; gap: 5px; }
.dot {
  width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font: 800 11px var(--sans); color: #fff; background: #cdc6b6;
}
.dot.yes { background: var(--ok); } .dot.ok { background: var(--brand); } .dot.no { background: var(--err); }

.thread { margin-top: 16px; }
.thread summary { font-size: 14.5px; color: var(--brand); font-weight: 600; }
.msg { margin-top: 10px; font-size: 15px; display: flex; gap: 9px; align-items: flex-start; }
.msg b { font-family: var(--sans); }
.msg time { font: 12.5px var(--sans); color: var(--muted); margin-left: 6px; }
.say { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 12px; }

/* organiser lists */
.list { display: grid; gap: 0; margin-top: 12px; }
.item {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 11px 0; border-top: 1px solid var(--border); font-family: var(--sans);
}
.item:first-child { border-top: none; }
.item .main { min-width: 0; }
.item .main b { display: block; font-size: 16px; }
.item .main span { font-size: 13.5px; color: var(--muted); }
.item .acts { display: flex; gap: 8px 14px; flex: none; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
details.tools > summary { font-size: 17px; }
details.tools[open] > summary { margin-bottom: 6px; }
.formbox { background: #fbf5e8; border: 1px solid var(--border); border-radius: 14px; padding: 18px; margin-top: 14px; }
.formbox .acts { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

/* result */
.result { border: 2px solid var(--brand-mid); }
.result.booked { border-color: var(--sun-deep); box-shadow: 0 0 0 6px rgba(255, 193, 69, .22), var(--shadow); }
.result h2 { font-size: clamp(26px, 4.4vw, 36px); }
.result .sum { font-size: 17px; margin-top: 8px; }
.backup { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #fbf5e8; border: 1px dashed #9fd2cd; font-size: 15.5px; }
.backup b { font-family: var(--sans); }

table.matrix { width: 100%; border-collapse: collapse; margin-top: 14px; font-family: var(--sans); }
.matrix th, .matrix td { padding: 9px 6px; border-top: 1px solid var(--border); text-align: center; font-size: 14px; }
.matrix th:first-child, .matrix td:first-child { text-align: left; font-weight: 600; }
.matrix thead th { border-top: none; color: var(--muted); font-weight: 600; font-size: 12.5px; }
.matrix tr.win td:first-child { color: var(--brand); font-weight: 800; }

/* sticky answer bar */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  background: rgba(255, 254, 251, .97); border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px rgba(16, 74, 86, .14);
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
}
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.bar .txt { font: 14.5px/1.35 var(--sans); color: var(--muted); min-width: 0; }
.bar .txt b { display: block; color: var(--ink); font-size: 16px; }
.bar .btn { flex: none; padding: 11px 22px; font-size: 16px; }

.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 30;
  background: var(--brand-deep); color: #fff; font: 600 15px/1.4 var(--sans);
  padding: 10px 20px; border-radius: 999px; box-shadow: var(--shadow); max-width: calc(100vw - 32px); text-align: center;
}
.toast.err { background: var(--err); }
.center { text-align: center; }
.muted { color: var(--muted); }
.mt { margin-top: 16px; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 30px 0; color: var(--muted); font-size: 14px; text-align: center;
  background: var(--card);
  font-family: var(--sans);
}

.legal { padding: 48px 24px; }
.legal h1 { font-size: 32px; }
.legal h2 { font-size: 19px; margin-top: 24px; }
.legal p { margin-top: 8px; color: var(--muted); }

@media (max-width: 680px) {
  :root {
    --sky:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%23fff' d='M30 6v40H10z'/%3E%3Cpath fill='%23ffe3a3' d='M34 14v32h20z'/%3E%3Cpath fill='%230a4a59' d='M6 50h52l-8 9H14z'/%3E%3C/svg%3E") left 10% bottom 44px / 34px auto no-repeat,
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 110' preserveAspectRatio='none'%3E%3Cpath fill='%238fdccf' fill-opacity='.55' d='M0 48 C180 18 360 78 540 48 S900 18 1080 48 1320 80 1440 44 V110 H0Z'/%3E%3Cpath fill='%23c9f0e6' fill-opacity='.85' d='M0 70 C200 44 400 96 620 68 S1000 44 1200 72 1380 86 1440 66 V110 H0Z'/%3E%3Cpath fill='%23fcf6ea' d='M0 92 C240 70 420 106 700 88 S1150 70 1440 93 V110 H0Z'/%3E%3C/svg%3E") bottom center / 100% 80px no-repeat,
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 60'%3E%3Cpath fill='%23fff' fill-opacity='.9' d='M36 54a22 22 0 0 1 4-43 30 30 0 0 1 56-4 24 24 0 0 1 34 20 14 14 0 0 1-4 27z'/%3E%3C/svg%3E") -30px 14px / 110px auto no-repeat,
      radial-gradient(circle at 88% 46px, #ffe08a 0, #ffc145 26px, rgba(255, 201, 90, .32) 27px, rgba(255, 201, 90, .12) 52px, rgba(255, 201, 90, 0) 80px),
      linear-gradient(180deg, #0a5a72 0%, #11808f 58%, #3fb5ae 100%);
  }
  .hero { padding: 84px 20px 170px; }
  .band { padding: 26px 0 124px; }
  .band { background-position: left 10% bottom 44px, bottom center, -300px 0, 0 0, 0 0; }
  .band h1 { max-width: 78%; }
  .stack { margin-top: -84px; }
  .opt-photo { width: calc(100% + 36px); margin: -22px -18px 18px; height: 180px; }
  .wrap { padding: 0 16px; }
  .product, .steps, .faq { padding-left: 16px; padding-right: 16px; }
  .steps { grid-template-columns: 1fr; }
  .card { padding: 22px 18px; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .opt-head { flex-direction: column; gap: 6px; }
  .price { text-align: left; }
  .price b { display: inline; margin-right: 8px; }
  .nav nav a { display: none; }
  .item { align-items: flex-start; flex-direction: column; gap: 6px; }
  .item .acts { justify-content: flex-start; }
  .bar .btn { padding: 11px 16px; }
}

/* ---------- typography: no widows ---------- */
h1, h2, h3, h4, summary { text-wrap: balance; }
p, li, .tagline, .sub, .lede, .callout { text-wrap: pretty; }

/* ---------- languages ---------- */
.nav-end { display: flex; align-items: center; gap: 10px 18px; min-width: 0; }
select.lang {
  width: auto; max-width: 100%; margin: 0; flex: none;
  font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ink);
  padding: 6px 28px 6px 10px; min-height: 36px; border-radius: 999px;
  border: 1.5px solid var(--border); background-color: #fff; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23566' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}
select.lang:hover { border-color: #9fd2cd; }
.item .acts select.lang { font-size: 13.5px; min-height: 34px; padding: 4px 26px 4px 10px; }
.langs { margin-top: 14px; font-family: var(--sans); font-size: 13.5px; color: var(--muted); text-align: center; }
.badge { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Chinese: the display serif has no CJK letters, slanted CJK reads badly, and tracking meant for Latin capitals spreads characters apart. */
:lang(zh) { --display: "Fraunces", "Songti SC", "Noto Serif SC", "Source Han Serif SC", "PingFang SC", "Microsoft YaHei", serif; }
:lang(zh) body, :lang(zh) input, :lang(zh) select, :lang(zh) textarea, :lang(zh) button {
  font-family: "Source Sans 3", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
:lang(zh) em, :lang(zh) i, :lang(zh) .hero h1 em { font-style: normal; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { letter-spacing: 0; }
:lang(zh) .kicker, :lang(zh) .eyebrow, :lang(zh) .state { letter-spacing: .5px; }
/* German and Icelandic words run long: let headings and buttons break instead of overflowing. */
h1, h2, h3, .btn, .vbtn, .choice b { overflow-wrap: anywhere; }
:lang(de) h1, :lang(de) h2, :lang(is) h1, :lang(is) h2 { hyphens: auto; }
@media (max-width: 680px) {
  .nav-end { gap: 8px; }
  select.lang { font-size: 13.5px; padding-left: 9px; }
  .nav .badge { max-width: 42vw; }
}

/* ---------- three versions: a place to stay, a movie, flights & transport ---------- */
.label.first { margin-top: 0; }
.kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 22px; }
.kinds a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 74px; padding: 10px 8px; text-align: center;
  border: 1.5px solid var(--border); border-radius: 14px; background: #fff;
  font: 700 14.5px/1.25 var(--sans); color: var(--ink);
}
.kinds a .ico { font-size: 22px; margin: 0; }
.kinds a:hover { border-color: #9fd2cd; text-decoration: none; }
.kinds a.on { border-color: var(--brand-mid); background: var(--brand-tint); color: var(--brand-deep); }
.price .split { display: block; }
.formbox select { min-height: 48px; }
input[type=time], input[type=date] { min-height: 48px; }

/* Movie night: the same sea, after dark — moon, stars and a box of popcorn. */
html[data-kind="movie"] {
  --sky:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle fill='%23ffe3a3' cx='21' cy='19' r='8'/%3E%3Ccircle fill='%23fff3d1' cx='32' cy='14' r='9'/%3E%3Ccircle fill='%23ffe3a3' cx='43' cy='19' r='8'/%3E%3Cpath fill='%23fff' d='M13 23h38l-5 37H18z'/%3E%3Cpath fill='%23d9481f' d='M21 23h6l1 37h-5zM37 23h6l-2 37h-5z'/%3E%3C/svg%3E") left 5% bottom 56px / 42px auto no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 110' preserveAspectRatio='none'%3E%3Cpath fill='%23d98aa8' fill-opacity='.5' d='M0 48 C180 18 360 78 540 48 S900 18 1080 48 1320 80 1440 44 V110 H0Z'/%3E%3Cpath fill='%23f3cfc4' fill-opacity='.85' d='M0 70 C200 44 400 96 620 68 S1000 44 1200 72 1380 86 1440 66 V110 H0Z'/%3E%3Cpath fill='%23fcf6ea' d='M0 92 C240 70 420 106 700 88 S1150 70 1440 93 V110 H0Z'/%3E%3C/svg%3E") bottom center / 100% 110px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 60'%3E%3Cg fill='%23fff'%3E%3Ccircle cx='18' cy='20' r='2.2'/%3E%3Ccircle cx='58' cy='9' r='1.5'/%3E%3Ccircle cx='96' cy='36' r='2.4'/%3E%3Ccircle cx='131' cy='13' r='1.7'/%3E%3Ccircle cx='149' cy='46' r='1.4'/%3E%3Ccircle cx='41' cy='48' r='1.3'/%3E%3C/g%3E%3C/svg%3E") 7% 22px / 190px auto no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 60'%3E%3Cg fill='%23fff'%3E%3Ccircle cx='18' cy='20' r='2.2'/%3E%3Ccircle cx='58' cy='9' r='1.5'/%3E%3Ccircle cx='96' cy='36' r='2.4'/%3E%3Ccircle cx='131' cy='13' r='1.7'/%3E%3Ccircle cx='149' cy='46' r='1.4'/%3E%3Ccircle cx='41' cy='48' r='1.3'/%3E%3C/g%3E%3C/svg%3E") 62% 70px / 150px auto no-repeat,
    radial-gradient(circle at 86% 34%, #fffbe9 0, #ffefba 40px, rgba(255, 239, 186, .26) 41px, rgba(255, 239, 186, .1) 78px, rgba(255, 239, 186, 0) 122px),
    linear-gradient(180deg, #171a45 0%, #3b2a6e 56%, #a9507c 100%);
}
html[data-kind="movie"] .hero h1, html[data-kind="movie"] .band h1 { text-shadow: 0 2px 18px rgba(12, 10, 44, .5); }
@media (max-width: 680px) {
  .kinds a { font-size: 13px; min-height: 70px; padding: 8px 4px; }
  html[data-kind="movie"] {
    --sky:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle fill='%23ffe3a3' cx='21' cy='19' r='8'/%3E%3Ccircle fill='%23fff3d1' cx='32' cy='14' r='9'/%3E%3Ccircle fill='%23ffe3a3' cx='43' cy='19' r='8'/%3E%3Cpath fill='%23fff' d='M13 23h38l-5 37H18z'/%3E%3Cpath fill='%23d9481f' d='M21 23h6l1 37h-5zM37 23h6l-2 37h-5z'/%3E%3C/svg%3E") left 10% bottom 44px / 32px auto no-repeat,
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 110' preserveAspectRatio='none'%3E%3Cpath fill='%23d98aa8' fill-opacity='.5' d='M0 48 C180 18 360 78 540 48 S900 18 1080 48 1320 80 1440 44 V110 H0Z'/%3E%3Cpath fill='%23f3cfc4' fill-opacity='.85' d='M0 70 C200 44 400 96 620 68 S1000 44 1200 72 1380 86 1440 66 V110 H0Z'/%3E%3Cpath fill='%23fcf6ea' d='M0 92 C240 70 420 106 700 88 S1150 70 1440 93 V110 H0Z'/%3E%3C/svg%3E") bottom center / 100% 80px no-repeat,
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 60'%3E%3Cg fill='%23fff'%3E%3Ccircle cx='18' cy='20' r='2.2'/%3E%3Ccircle cx='58' cy='9' r='1.5'/%3E%3Ccircle cx='96' cy='36' r='2.4'/%3E%3Ccircle cx='131' cy='13' r='1.7'/%3E%3Ccircle cx='149' cy='46' r='1.4'/%3E%3Ccircle cx='41' cy='48' r='1.3'/%3E%3C/g%3E%3C/svg%3E") 4% 14px / 150px auto no-repeat,
      radial-gradient(circle at 88% 46px, #fffbe9 0, #ffefba 24px, rgba(255, 239, 186, .26) 25px, rgba(255, 239, 186, .1) 50px, rgba(255, 239, 186, 0) 78px),
      linear-gradient(180deg, #171a45 0%, #3b2a6e 56%, #a9507c 100%);
  }
}

/* ---------- photos: on the form, full size, and the shortlist at a glance ---------- */
.opt-photo { cursor: zoom-in; }
.opt-photo:focus-visible { outline: 3px solid var(--sun); outline-offset: -3px; }
.photo-pick { flex-wrap: wrap; margin-top: 4px; }
.filebtn { position: relative; margin: 0; letter-spacing: 0; color: var(--brand); }
.filebtn input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.filebtn:focus-within { box-shadow: 0 0 0 3px var(--brand-tint); }
.filebtn.busy { opacity: .6; pointer-events: none; }
.lightbox {
  position: fixed; inset: 0; z-index: 40; background: rgba(8, 30, 36, .9);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 18px; cursor: zoom-out;
}
.lightbox img { max-width: 100%; max-height: calc(100% - 60px); object-fit: contain; border-radius: 10px; background: #fff; }
.glance .strip {
  display: flex; gap: 12px; margin: 12px -6px -6px; padding: 0 6px 8px;
  overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
}
.thumb {
  flex: 0 0 150px; scroll-snap-align: start; text-align: left; cursor: pointer;
  background: none; border: none; padding: 0; font-family: var(--sans); color: var(--ink);
}
.thumb .pic {
  display: block; position: relative; height: 104px; border-radius: 14px; overflow: hidden;
  background: var(--brand-tint); border: 1px solid var(--border);
}
.thumb .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb .opt-n { position: absolute; left: 7px; top: 7px; margin: 0; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.thumb .dot { position: absolute; right: 7px; top: 7px; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.thumb .cap {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-top: 7px; font-size: 14px; font-weight: 700; line-height: 1.3;
}
.thumb .amt { display: block; font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.thumb:hover .pic, .thumb:focus-visible .pic { border-color: var(--brand-mid); }
.card.opt { scroll-margin-top: 74px; }
.matrix img.mini {
  width: 40px; height: 30px; object-fit: cover; border-radius: 6px; margin-right: 9px;
  vertical-align: middle; border: 1px solid var(--border);
}

/* ---------- a fourth version: something to buy ---------- */
.kinds { grid-template-columns: repeat(4, 1fr); }
html[data-kind="shop"] {
  --sky:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%23ffe3a3' d='M32 8C18 8 8 17 6 28h52C56 17 46 8 32 8z'/%3E%3Cpath fill='%23fff' d='M32 8c-6 0-10 9-11 20h22C42 17 38 8 32 8z'/%3E%3Cpath fill='%230a4a59' d='M31 28h2v22h-2zM18 42h28v4H18zM21 46h3v14h-3zM40 46h3v14h-3zM6 36h3v10h8v3h-1v11h-3V49H9v11H6zM58 36h-3v10h-8v3h1v11h3V49h4v11h3z'/%3E%3C/svg%3E") left 5% bottom 54px / 54px auto no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 110' preserveAspectRatio='none'%3E%3Cpath fill='%238fdccf' fill-opacity='.55' d='M0 48 C180 18 360 78 540 48 S900 18 1080 48 1320 80 1440 44 V110 H0Z'/%3E%3Cpath fill='%23c9f0e6' fill-opacity='.85' d='M0 70 C200 44 400 96 620 68 S1000 44 1200 72 1380 86 1440 66 V110 H0Z'/%3E%3Cpath fill='%23fcf6ea' d='M0 92 C240 70 420 106 700 88 S1150 70 1440 93 V110 H0Z'/%3E%3C/svg%3E") bottom center / 100% 110px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 60'%3E%3Cpath fill='%23fff' fill-opacity='.9' d='M36 54a22 22 0 0 1 4-43 30 30 0 0 1 56-4 24 24 0 0 1 34 20 14 14 0 0 1-4 27z'/%3E%3C/svg%3E") 7% 22px / 140px auto no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 60'%3E%3Cpath fill='%23fff' fill-opacity='.9' d='M36 54a22 22 0 0 1 4-43 30 30 0 0 1 56-4 24 24 0 0 1 34 20 14 14 0 0 1-4 27z'/%3E%3C/svg%3E") 74% 18px / 96px auto no-repeat,
    radial-gradient(circle at 86% 34%, #ffe08a 0, #ffc145 46px, rgba(255, 201, 90, .34) 47px, rgba(255, 201, 90, .14) 84px, rgba(255, 201, 90, 0) 128px),
    linear-gradient(180deg, #0a5a72 0%, #11808f 58%, #3fb5ae 100%);
}
@media (max-width: 680px) {
  .kinds { grid-template-columns: repeat(2, 1fr); }
  .thumb { flex-basis: 128px; }
  .thumb .pic { height: 90px; }
  html[data-kind="shop"] {
    --sky:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%23ffe3a3' d='M32 8C18 8 8 17 6 28h52C56 17 46 8 32 8z'/%3E%3Cpath fill='%23fff' d='M32 8c-6 0-10 9-11 20h22C42 17 38 8 32 8z'/%3E%3Cpath fill='%230a4a59' d='M31 28h2v22h-2zM18 42h28v4H18zM21 46h3v14h-3zM40 46h3v14h-3zM6 36h3v10h8v3h-1v11h-3V49H9v11H6zM58 36h-3v10h-8v3h1v11h3V49h4v11h3z'/%3E%3C/svg%3E") left 10% bottom 42px / 40px auto no-repeat,
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 110' preserveAspectRatio='none'%3E%3Cpath fill='%238fdccf' fill-opacity='.55' d='M0 48 C180 18 360 78 540 48 S900 18 1080 48 1320 80 1440 44 V110 H0Z'/%3E%3Cpath fill='%23c9f0e6' fill-opacity='.85' d='M0 70 C200 44 400 96 620 68 S1000 44 1200 72 1380 86 1440 66 V110 H0Z'/%3E%3Cpath fill='%23fcf6ea' d='M0 92 C240 70 420 106 700 88 S1150 70 1440 93 V110 H0Z'/%3E%3C/svg%3E") bottom center / 100% 80px no-repeat,
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 60'%3E%3Cpath fill='%23fff' fill-opacity='.9' d='M36 54a22 22 0 0 1 4-43 30 30 0 0 1 56-4 24 24 0 0 1 34 20 14 14 0 0 1-4 27z'/%3E%3C/svg%3E") -30px 14px / 110px auto no-repeat,
      radial-gradient(circle at 88% 46px, #ffe08a 0, #ffc145 26px, rgba(255, 201, 90, .32) 27px, rgba(255, 201, 90, .12) 52px, rgba(255, 201, 90, 0) 80px),
      linear-gradient(180deg, #0a5a72 0%, #11808f 58%, #3fb5ae 100%);
  }
}

.glance .strip { scrollbar-width: thin; }
