/* Site font: Figtree (free, SIL Open Font License), self-hosted. Stand-in for Mundial, which Malaysia Airlines licenses. */
@font-face { font-family: "Figtree"; src: url("fonts/figtree-latin.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  --ink: #1b2430;
  --ink-2: #4e5a68;
  --line: #e0e6ec;
  --soft: #f3f6f9;
  --bg: #ffffff;
  --brand: #0c5490;
  --brand-dark: #083f6e;
  --brand-tint: #e4f0f8;
  --sun: #f2b14a;
  --sun-tint: #fdf1dc;
  --sun-ink: #7a4a05;
  --danger: #b42318;
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 18px;
  --shadow: 0 6px 24px -6px rgba(27, 36, 48, .18), 0 1px 3px rgba(27, 36, 48, .08);
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--bg); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--brand-tint); color: var(--brand-dark); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
p { margin: 0; }

svg[aria-hidden="true"] { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; width: 20px; height: 20px; flex: none; }

.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--radius-s); z-index: 50; }
.skip:focus { top: 8px; }


/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
/* Hide on scroll down, show on scroll up (header.js) */
.site-header { transition: transform .25s var(--ease); }
.site-header.is-hidden { transform: translateY(-100%); }
.booking { transition: top .25s var(--ease); }
.header-hidden .booking { top: 16px; }
/* Header: logo left, menu centred, tools right (airline-style) */
/* Sizes measured from malaysiaairlines.com: 79px bar, 14px menu (600), 14px light tools, 19px icons */
.header-row { display: flex; align-items: center; gap: 24px; height: 78px; } /* + 1px border = 79px */
.logo { display: block; flex: none; border-radius: 8px; }
.logo img { display: block; height: 48px; width: auto; }
.header-nav { margin: 0 auto; display: flex; align-items: center; gap: 6px; font-size: 14px; }
.header-nav a { text-decoration: none; color: var(--brand-dark); font-weight: 600; padding: 6px 7px; }
.header-nav a:hover { text-decoration: underline; }
.header-tools { display: flex; align-items: center; gap: 8px; flex: none; }
.tool { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 10px; border: 0; border-radius: 8px; background: none; color: var(--brand-dark); font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; }
.tool:hover { background: var(--soft); }
.tool svg { width: 23px; height: 23px; }
.tool-help { font-weight: 400; }
.tool .flag { width: 28px; height: 20px; stroke: none; border-radius: 3px; box-shadow: 0 0 0 1px var(--line); }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
/* keep the FAQ accordion styles off the menu button */
details.mobile-menu { border-bottom: 0; }
.mobile-menu summary::after { display: none; }
.mobile-menu-panel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 30; display: grid; min-width: 240px; padding: 8px; background: #fff; border-radius: var(--radius-m); box-shadow: var(--shadow); }
.mobile-menu-panel a:not(.btn-primary) { padding: 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.mobile-menu-panel a:not(.btn-primary):hover { background: var(--soft); }
.mobile-menu-panel .btn-primary { margin-top: 6px; }

/* Buttons */
.btn-primary { display: block; width: 100%; border: 0; border-radius: var(--radius-m); background: var(--brand); color: #fff; font-weight: 600; font-size: 16px; padding: 14px 20px; min-height: 48px; transition: background-color .15s var(--ease), transform .15s var(--ease); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-primary:active { transform: scale(.98); }
.btn-ghost { background: none; border: 0; border-radius: var(--radius-s); padding: 8px 10px; font-size: 15px; font-weight: 500; min-height: 40px; }
.btn-ghost:hover { background: var(--soft); }
.btn-light { background: #fff; border: 1px solid var(--ink); border-radius: var(--radius-s); padding: 8px 14px; font-size: 14px; font-weight: 600; min-height: 40px; }
.btn-light:hover { background: var(--soft); }
.btn-light.full { width: 100%; margin-top: 16px; min-height: 48px; }



/* Hero */
/* Header lines up with the booking page; home content is narrower, hero runs edge to edge */
.site-header .wrap { width: min(1380px, 100% - 64px); }
.home-wrap { width: min(1180px, 100% - 48px); }
.site-footer .wrap { width: min(1180px, 100% - 48px); }
.hero { position: relative; overflow: hidden; height: clamp(600px, 44vw, 700px); background: #1d2b4f; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 45%; }
/* Photo overlay: darker on the left for the headline, and along the bottom for the glass bar */
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 18, 36, .6) 0%, rgba(8, 18, 36, 0) 45%), linear-gradient(90deg, rgba(8, 18, 36, .55) 0%, rgba(8, 18, 36, .3) 38%, rgba(8, 18, 36, 0) 65%); }
.hero-text { position: absolute; z-index: 1; left: max(24px, calc((100% - 1180px) / 2)); top: 50%; transform: translateY(calc(-50% - 36px)); max-width: 40rem; color: #fff; } /* lifted to clear the floating facts card */
.hero h1 { font-size: clamp(2.6rem, 1.4rem + 4.2vw, 5rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.02; }
/* Small spaced-capitals label with a short rule after it (client reference) */
.hero .hero-eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
.hero .hero-eyebrow::after { content: ""; width: 48px; height: 1px; background: rgba(255, 255, 255, .6); }
.hero p { margin-top: 20px; font-size: 20px; font-weight: 400; line-height: 1.5; color: rgba(255, 255, 255, .84); max-width: 34rem; }
.hero-cta { width: auto; margin-top: 24px; padding-inline: 28px; }
/* Hero button: blue-tinted frosted glass so it belongs with the countdown tiles and facts bar */
.hero .hero-cta { background: rgba(12, 84, 144, .58); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); border: 1px solid rgba(255, 255, 255, .35); box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .4); }
.hero .hero-cta:hover { background: rgba(12, 84, 144, .82); border-color: rgba(255, 255, 255, .55); }
.hero a.btn-primary.hero-cta { display: inline-flex; align-items: center; gap: 14px; padding-inline: 34px 30px; min-width: 334px; justify-content: center; } /* 334px = width of the four countdown tiles */
.cta-arrow { width: 22px !important; height: 22px !important; stroke-width: 2.2 !important; transition: transform .2s var(--ease); }
.hero-cta:hover .cta-arrow { transform: translateX(4px); }

/* Booking release countdown (home hero) */
.countdown { margin-top: 32px; }
.countdown-title { font-size: 13px !important; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .88) !important; margin-top: 0 !important; }
.countdown-tiles { display: flex; gap: 10px; margin-top: 10px; }
/* Same frosted glass as the facts bar */
.cd-tile { display: grid; justify-items: center; min-width: 76px; padding: 10px 8px 8px; border-radius: var(--radius-m); background: rgba(20, 28, 45, .32); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); border: 1px solid rgba(255, 255, 255, .28); box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .35); color: #fff; }
.cd-tile b { font-size: 30px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.cd-tile small { margin-top: 4px; font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .82); }
.countdown-when { margin-top: 10px !important; font-size: 14px !important; color: rgba(255, 255, 255, .85) !important; }
.countdown.is-open .countdown-tiles { display: none; }
.btn-small { width: auto; min-height: 40px; padding: 8px 18px; font-size: 15px; border-radius: 999px; }

/* Layout */
.block { padding: 32px 0; border-top: 1px solid var(--line); }
.block h2 { font-size: 22px; font-weight: 650; margin-bottom: 16px; }
.block > p { max-width: 66ch; color: var(--ink); }
.fine { font-size: 13px; color: var(--ink-2); margin-top: 12px; }
.center { text-align: center; }

.facts { list-style: none; padding: 0 0 28px; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.facts li { display: flex; gap: 14px; align-items: flex-start; }
.facts svg { width: 26px; height: 26px; margin-top: 2px; color: var(--ink); }
.facts strong { display: block; font-weight: 600; }
.facts span { font-size: 14px; color: var(--ink-2); }

.checks, .crosses { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.checks li, .crosses li { position: relative; padding-left: 30px; }
.checks li::before, .crosses li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; background: no-repeat center / 20px; }
.checks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c5490' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4 10-10'/%3E%3C/svg%3E"); }
.crosses li { color: var(--ink-2); }
.crosses li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b8582' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E"); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.two-col .span-2 { grid-column: span 2; margin-bottom: 0; }


/* Itinerary */
.profile { margin: 28px 0 8px; padding: 24px 28px 16px; background: var(--soft); border-radius: var(--radius-m); }
.profile svg { width: 100%; height: auto; overflow: visible; }
.profile .grid line { stroke: var(--line); stroke-width: 1; }
.profile .axis text { font-size: 13px; fill: var(--ink-2); text-anchor: end; }
.profile .line { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; }
.profile .pts circle { fill: #fff; stroke: var(--brand); stroke-width: 3; }
.profile .pts .sun { fill: var(--brand); stroke: #fff; stroke-width: 3; }
.profile-key { display: none; }
.profile .lbl text { font-size: 15px; font-weight: 600; fill: var(--ink); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.timeline li { position: relative; padding-left: 28px; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: -24px; width: 2px; background: var(--line); }
.timeline li:last-child::before { bottom: 0; }
.timeline li::after { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); }
.timeline h3 { font-size: 17px; font-weight: 650; margin-bottom: 8px; }
.timeline p { display: grid; grid-template-columns: 54px 1fr; gap: 8px; margin-top: 6px; color: var(--ink); }
.timeline time { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink-2); }

/* Meeting point */
.meet { display: grid; grid-template-columns: 240px 1fr; gap: 20px; align-items: start; }
.map { border-radius: var(--radius-m); width: 100%; height: auto; }
.meet p + p { margin-top: 8px; }

/* Reviews */

/* FAQ */
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-weight: 600; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translateY(-3px); transition: transform .2s var(--ease); flex: none; }
details[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
details p { padding: 0 0 18px; color: var(--ink-2); max-width: 66ch; }

/* Booking card */
.booking { position: sticky; top: 96px; max-height: calc(100vh - 112px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; border: 0; border-radius: var(--radius-l); padding: 24px; box-shadow: var(--shadow); background: #fff; }
.b-price { margin-bottom: 18px; color: var(--ink-2); font-size: 15px; }
.b-price strong { font-size: 24px; color: var(--ink); font-variant-numeric: tabular-nums; }
.field-group { border: 1px solid #b5bfca; border-radius: var(--radius-m); display: grid; grid-template-columns: 1fr 1fr; }
.field { padding: 10px 12px; min-width: 0; }
.field + .field { border-left: 1px solid #b5bfca; }
.field-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .02em; color: var(--ink); }
.field-btn { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; background: none; border: 0; padding: 2px 0 0; text-align: left; font-size: 15px; color: var(--ink-2); min-height: 28px; }
.field-btn.has-value { color: var(--ink); }
.field-btn svg { width: 18px; height: 18px; }
.date-field.invalid { box-shadow: inset 0 0 0 2px var(--danger); border-radius: var(--radius-m) 0 0 var(--radius-m); }
.spots-note { margin: 10px 0 0; }
.field-error { color: var(--danger); font-size: 14px; margin-top: 8px; display: flex; gap: 6px; }
.stepper-ctl { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; }
.stepper-ctl button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #b5bfca; background: #fff; display: grid; place-items: center; padding: 0; }
.stepper-ctl button svg { width: 14px; height: 14px; stroke-width: 2.2; }
.stepper-ctl button:hover:not(:disabled) { border-color: var(--ink); }
.stepper-ctl button:disabled { opacity: .35; cursor: not-allowed; }
.stepper-ctl output { font-variant-numeric: tabular-nums; font-weight: 600; }

/* Price tables */
.table-h { font-size: 16px; font-weight: 650; margin: 24px 0 10px; }
.table-wrap { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { font-size: 13px; font-weight: 600; color: var(--ink-2); padding-top: 0; }
.price-table tbody th { font-weight: 600; }
.price-table tbody th span { display: block; font-weight: 400; font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.price-table .num { text-align: right; white-space: nowrap; }
.price-table .muted { color: var(--ink-2); }
.price-table.fees thead th.num { white-space: normal; min-width: 76px; }

/* Booking card: climbers, rooms, breakdown */
.b-price p { margin: 0; }
.b-price-note { font-size: 13px; margin-top: 2px !important; }
.field-group.single { grid-template-columns: 1fr; }
.b-section { border: 0; padding: 0; margin: 22px 0 0; min-width: 0; }
.b-section legend { display: flex; justify-content: space-between; align-items: baseline; width: 100%; padding: 0; margin-bottom: 8px; font-weight: 650; font-size: 15px; }
.legend-meta { font-weight: 400; font-size: 13px; color: var(--ink-2); }
.climber-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.climber-row:last-child { border-bottom: 0; }
.cr-label { display: block; font-size: 15px; font-weight: 500; }
.cr-hint { display: block; font-size: 13px; color: var(--ink-2); }
.climber-row .stepper-ctl { gap: 12px; margin: 0; }
.climber-row output { min-width: 1ch; text-align: center; }
.room-caption { font-size: 12.5px; color: var(--ink-2); margin: -4px 0 8px; }
.room-list { display: grid; gap: 6px; }
.room { position: relative; display: block; cursor: pointer; }
.room input { position: absolute; opacity: 0; pointer-events: none; }
.room-body { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-s); transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.room:hover .room-body { border-color: #b5bfca; }
.room input:checked + .room-body { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.room input:focus-visible + .room-body { outline: 2px solid var(--brand); outline-offset: 2px; }
.room-name { font-size: 14.5px; font-weight: 500; }
.room-price { font-size: 14px; font-variant-numeric: tabular-nums; text-align: right; }
.room-rule { grid-column: 1 / -1; font-size: 12.5px; color: var(--ink-2); }
.room.is-off { cursor: not-allowed; }
.room.is-off .room-body { background: var(--soft); border-color: var(--soft); }
.room.is-off .room-name, .room.is-off .room-price { color: #77828f; }
.room-note { margin: 0 0 12px; } /* sits above the room list, right after the climber buttons */
.bd-empty { margin: 4px 0 8px; padding: 14px; border-radius: var(--radius-m); background: var(--soft); color: var(--ink-2); font-size: 14px; }
.breakdown { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.breakdown h3 { font-size: 15px; font-weight: 650; margin-bottom: 4px; }
.bd-group { padding: 10px 0; }
.bd-group + .bd-group { border-top: 1px dashed var(--line); }
.bd-group h4 { margin: 0 0 6px; font-size: 14px; font-weight: 650; }
.bd-group h4 span { font-weight: 500; color: var(--ink-2); }
.bd-group dl { margin: 0; }
.bd-group dl div { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; font-size: 13.5px; color: var(--ink-2); }
.bd-group dd { margin: 0; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.bd-group .sub { color: var(--ink); font-weight: 600; padding-top: 6px; margin-top: 4px; border-top: 1px solid var(--line); }
.grand { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 16px; border-top: 2px solid var(--ink); font-weight: 700; font-size: 17px; }
.grand strong { font-size: 20px; font-variant-numeric: tabular-nums; }

/* Links styled as buttons */
a.btn-primary, a.btn-light { display: block; text-align: center; text-decoration: none; }
a.btn-primary.btn-small, a.btn-primary.hero-cta { display: inline-block; }


/* Home: facts strip and category cards */
/* Home: facts float as a card over the bottom edge of the hero */
.home-wrap > .facts { position: relative; z-index: 2; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 28px; margin-top: -64px; padding: 26px 32px; background: #fff; border-radius: 20px; box-shadow: 0 18px 40px -18px rgba(27, 36, 48, .35), 0 2px 6px rgba(27, 36, 48, .06); animation: facts-rise .6s .15s var(--ease) both; }
/* Text only, separated by thin dividers (no icon badges) */
.home-wrap > .facts li { display: flex; align-items: center; gap: 16px; }
/* Fact icons: client-supplied artwork (img/ic-*.png), used as a mask so one file can be blue on the white card and white on the glass bar */
.home-wrap > .facts { --ic-fill: linear-gradient(165deg, #083f6e 30%, #0084c0 85%); } /* navy into the logo sky blue */
.fact-ic { display: block; width: 58px; height: 58px; flex: none; background: var(--ic-fill); -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.home-wrap > .facts li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.home-wrap > .facts strong { font-size: 16.5px; font-weight: 700; color: var(--ink); }
.home-wrap > .facts li > div > span { display: block; margin-top: 2px; }
.nowrap { white-space: nowrap; }
@keyframes facts-rise { from { opacity: 0; transform: translateY(24px); } }
/* Desktop and tablet: frosted glass bar sitting on the bottom of the hero picture (Malaysia Airlines style) */
@media (min-width: 861px) {
  /* Hero grows with its content; the bottom padding leaves room for the facts bar (its height is measured by home.js) */
  .hero { display: flex; align-items: center; height: auto; min-height: clamp(640px, 44vw, 760px); }
  .hero img { position: absolute; inset: 0; }
  .hero-text { position: relative; top: auto; left: auto; transform: none; margin-left: max(24px, calc((100% - 1180px) / 2)); padding: 80px 0 calc(var(--facts-h, 124px) + 72px); }
  .home-wrap > .facts {
    margin-top: calc(-1 * var(--facts-h, 124px) - 24px); /* bar height + 24px gap above the hero edge */
    margin-bottom: 40px;
    background: rgba(20, 28, 45, .32);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, .28);
    box-shadow: 0 12px 32px -12px rgba(0, 0, 0, .35);
  }
  .home-wrap > .facts strong { color: #fff; }
  .home-wrap > .facts span { color: rgba(255, 255, 255, .85); }
  .home-wrap > .facts li + li { border-left-color: rgba(255, 255, 255, .3); }
  .home-wrap > .facts { --ic-fill: linear-gradient(165deg, #fff 25%, #4fb0f2 75%); } /* white into light blue on the glass bar */
}
.explore { padding: 56px 0 88px; text-align: center; }
.explore h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); font-weight: 750; letter-spacing: -0.02em; margin-bottom: 32px; color: var(--brand-dark); }
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 280px; gap: 20px; text-align: left; }
.cat-card { position: relative; display: block; overflow: hidden; border-radius: 22px; background: #1d2b4f; color: #fff; text-decoration: none; }
.cat-card.big { grid-column: span 2; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat-card:hover img { transform: scale(1.04); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 20, 35, 0) 30%, rgba(15, 20, 35, .55) 65%, rgba(15, 20, 35, .85) 100%); }
.cat-card:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 22px; }
.cat-text { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 24px; display: grid; gap: 4px; }
.cat-text strong { font-size: 24px; font-weight: 750; letter-spacing: -0.01em; line-height: 1.15; }
.cat-text span { font-size: 15px; color: rgba(255, 255, 255, .92); }
.explore-cta { display: inline-block !important; width: auto; margin-top: 36px; padding-inline: 32px; border-radius: 999px; }

/* Info pages */
.header-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.info-page { padding-bottom: 72px; }
/* Info pages read as one centred column */
.home-wrap.info-page { width: min(960px, 100% - 48px); }
.info-body { margin-top: 28px; }
.info-h2 { font-size: 20px; font-weight: 650; }
/* Itinerary: photos of the night 2 hostel. One large photo, two stacked beside it */
.stay { margin-top: 40px; }
.stay > p { margin-top: 8px; color: var(--ink-2); }
.stay-gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; margin-top: 18px; height: 440px; }
.stay-gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius-m); background: var(--soft); }
.stay-gallery .stay-main { grid-row: span 2; }
.stay-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stay-ph { display: grid; place-items: center; align-content: center; gap: 10px; padding: 16px; text-align: center; color: var(--ink-2); font-size: 14px; border: 1px dashed var(--line); }
.stay-ph::before { content: ""; width: 36px; height: 36px; background: currentColor; opacity: .55; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='1.6'/%3E%3Cpath d='m21 16-5-5-8 8'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='1.6'/%3E%3Cpath d='m21 16-5-5-8 8'/%3E%3C/svg%3E") center / contain no-repeat; }
.inc-cols { row-gap: 28px; }
.inc-bring { margin-top: 36px; }
/* Same two columns as the lists above, filled top to bottom */
.bring-list { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); grid-auto-flow: column; column-gap: 24px; }
.terms .info-h2 { margin-top: 32px; }
.terms .info-h2:first-child { margin-top: 0; }
.terms > p { margin-top: 8px; }
.cash-list { margin-left: 30px; }
.site-footer a { color: var(--brand-dark); font-weight: 600; }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 56px; padding: 28px 32px; border-radius: var(--radius-l); background: var(--brand-tint); }
.cta-band h2 { font-size: 22px; font-weight: 700; }
.cta-band p { margin-top: 4px; color: var(--ink-2); }
.cta-band .btn-primary { width: auto; flex: none; padding-inline: 28px; }
.more-links { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.more-links h2 { font-size: 15px; font-weight: 650; margin-bottom: 12px; }
.more-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.more-links a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 14.5px; }
.more-links a:hover { border-color: var(--ink); }

/* Booking page */
.book-page { padding: 8px 0 80px; }
/* Booking page uses most of the screen width, like airline booking flows */
.book-body .wrap { width: min(1380px, 100% - 64px); }
.back-link { display: inline-flex; align-items: center; gap: 4px; margin: 20px 0 8px; font-size: 14px; color: var(--ink-2); text-decoration: none; }
.back-link:hover { color: var(--ink); text-decoration: underline; }
.back-link svg { width: 16px; height: 16px; }
.page-title { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem); font-weight: 750; letter-spacing: -0.02em; }
.page-sub { margin-top: 6px; color: var(--ink-2); }
/* Links to the original policy PDFs, top of the terms page */
.doc-links { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.doc-links a { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--brand-dark); font-weight: 600; text-decoration: none; }
.doc-links a:hover { border-color: var(--brand); }
.doc-links .doc-name { text-decoration: underline; text-underline-offset: 3px; }
.doc-links .doc-meta { color: var(--ink-2); font-size: 13px; font-weight: 400; }
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; margin-top: 24px; }
.form-block { padding: 20px 0 12px; }
.form-block:first-child { border-top: 0; padding-top: 4px; }
.form-block h2 { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 650; margin-bottom: 14px; scroll-margin-top: 20px; }
.form-block h2 .legend-meta { margin-left: auto; }
.step-n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; flex: none; }
.form-hint { font-size: 14px; color: var(--ink-2); margin: -6px 0 14px; }
.calendar.inline { margin-top: 0; animation: none; padding: 14px 14px 12px; }
.picked { margin-top: 12px; font-weight: 600; }
.book-form .climber-row { padding: 12px 0; }
/* Booking steps: title and hint above, options in a white box on a grey page */
.book-body { background: var(--soft); }
/* The booking page has no sticky site header, so it doesn't need the room the other pages keep for it */
html:has(.book-body) { scroll-padding-top: 0; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 8px 24px; box-shadow: 0 1px 2px rgba(27, 36, 48, .05); }
.form-card .calendar.inline { border: 0; border-radius: 0; padding: 16px 0 4px; }
.form-card .picked { margin: 0; padding: 14px 0; border-top: 1px solid var(--line); }
.book-form .climber-row { padding: 16px 0; }
.book-form .room-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; padding: 16px 0; }
.book-form .room-body { min-height: 64px; align-content: center; padding: 12px 16px; }
.book-form .room.is-off .room-body { background: var(--soft); border-color: var(--line); }
/* Column stretches to the form height so the summary card can stay in view while scrolling */
.summary-col { align-self: stretch; }
.summary-h { font-size: 18px; font-weight: 650; margin-bottom: 8px; }
.summary.compact div { padding: 5px 0; font-size: 14.5px; }
.summary-card .breakdown { margin-top: 14px; }
.review-page { max-width: 640px; }
.page-title.b-title { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem); margin-bottom: 0; }
.success-actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; }
.success-actions .btn-light { min-height: 44px; display: inline-flex; align-items: center; }

/* ===== Booking flow: blue bar, step tracker, forms (book.html) ===== */
.bbar { background: var(--brand); color: #fff; }
.bbar-row { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.bbar-logo { flex: none; border-radius: 8px; }
.bbar-logo img { display: block; height: 46px; width: auto; }
.bbar-trip { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; font-size: 16px; }
.bbar-trip strong { font-weight: 700; letter-spacing: .01em; }
.bbar-sep { width: 1px; height: 26px; background: rgba(255, 255, 255, .45); }
.bbar-people { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.bbar-people svg { width: 22px; height: 22px; }
.bbar-hold { margin: 0 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 14.5px; white-space: nowrap; }
.bbar-hold svg { width: 18px; height: 18px; }
.bbar-hold strong { font-size: 16px; font-variant-numeric: tabular-nums; }
.bbar-hold.is-warn { background: var(--sun); color: var(--ink); }

.stepper { background: #fff; border-bottom: 1px solid var(--line); }
.stepper ol { list-style: none; display: flex; justify-content: center; gap: 12px; padding: 14px 0; margin: 0 auto; }
.stepper button { display: inline-flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.stepper button:disabled { cursor: default; }
.stepper button:not(:disabled):hover { border-color: var(--brand); color: var(--brand-dark); }
.stepper .sn { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--soft); color: var(--ink-2); font-size: 14px; font-weight: 700; }
.stepper .is-current button { background: var(--brand-tint); border-color: transparent; color: var(--brand-dark); font-weight: 600; }
.stepper .is-current .sn { background: var(--brand); color: #fff; }
.stepper .is-done .sn { background: var(--brand-dark); color: transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E"); background-size: 16px; background-position: center; background-repeat: no-repeat; }
.stepper .is-done button { color: var(--ink); }

/* Booking page: the summary card is full height (no inner scroll bar) and follows the scroll.
   booking.js sets --sticky-top so a card taller than the screen sticks by its bottom edge. */
.book-body .summary-card { position: sticky; top: var(--sticky-top, 24px); max-height: none; overflow: visible; }
.book-body .book-page { padding-top: 12px; }
.book-main > .b-step > .page-title { margin-top: 20px; }
body[data-step="4"] .book-grid { display: none; }
body[data-step="4"] .book-bar { display: none !important; }

.section-h { font-size: 20px; font-weight: 650; margin: 32px 0 4px; }
.form-pad { padding: 20px 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.fx label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.fx input, .fx select { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #b5bfca; border-radius: 10px; background: #fff; font-size: 16px; color: var(--ink); }
.fx select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23083f6e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
.fx input[readonly] { background: var(--soft); color: var(--ink-2); }
.fx input:focus, .fx select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(12, 84, 144, .18); }
.fx [aria-invalid="true"] { border-color: var(--danger); }
.fx [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, .15); }
.draft-note { padding: 12px 14px; border-radius: var(--radius-m); background: var(--brand-tint); color: var(--brand-dark); }
.info-body a { color: var(--brand); font-weight: 600; }
.privacy-note { margin-top: 20px; font-size: 15px; color: var(--ink); }
.privacy-note a { display: inline-block; margin-top: 2px; color: var(--brand); font-weight: 600; }
.err { margin-top: 6px; color: var(--danger); font-size: 13.5px; }
.error-summary { margin: 16px 0 0; padding: 14px 16px; border-radius: var(--radius-m); background: #fdeceb; color: var(--danger); font-weight: 500; }

.climber-cards { display: grid; gap: 12px; margin-top: 20px; }
.cl-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: 0 1px 2px rgba(27, 36, 48, .05); }
.cl-head { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 20px; border: 0; background: none; text-align: left; border-radius: var(--radius-l); }
.cl-badge { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: var(--brand-tint); color: var(--brand-dark); font-weight: 700; font-size: 14px; flex: none; }
.cl-title { display: grid; gap: 2px; min-width: 0; }
.cl-title strong { font-size: 16.5px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-title small { font-size: 13.5px; color: var(--ink-2); }
.cl-status { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: var(--sun-tint); color: var(--sun-ink); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.cl-status.is-done { background: var(--brand-tint); color: var(--brand-dark); }
.cl-chev { width: 22px; height: 22px; color: var(--brand-dark); transition: transform .2s var(--ease); flex: none; }
.cl-head[aria-expanded="true"] .cl-chev { transform: rotate(180deg); }
.cl-body { padding: 18px 20px 22px; border-top: 1px solid var(--line); }

.review-block { padding: 18px 24px; margin-top: 16px; }
.review-block:first-of-type { margin-top: 24px; }
.rv-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.rv-head h2 { font-size: 18px; font-weight: 650; }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--brand); font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.rv-climbers { list-style: none; margin: 0; padding: 0; display: grid; }
.rv-climbers li { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid var(--line); }
.rv-climbers li:first-child { border-top: 0; }
.rv-climbers span { font-size: 14px; color: var(--ink-2); }
/* Review & pay: payment methods on the left, details for the chosen one on the right (Malaysia Airlines pattern) */
.pay-grid { display: grid; grid-template-columns: minmax(200px, 5fr) 8fr; gap: 16px; align-items: start; }
.pay-methods { display: grid; gap: 10px; }
.pm { position: relative; display: block; cursor: pointer; }
.pm input { position: absolute; opacity: 0; pointer-events: none; }
.pm-body { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-m); background: #fff; font-weight: 600; }
.pm-ic { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--brand-dark); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pm:hover .pm-body { border-color: #b5bfca; }
.pm input:checked + .pm-body { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: var(--brand-tint); }
.pm input:focus-visible + .pm-body { outline: 2px solid var(--brand); outline-offset: 2px; }
.pay-panel { padding: 24px; }
.pm-panel p { color: var(--ink-2); font-size: 15px; }
.pm-panel .fx + p { margin-top: 12px; }
.pm-empty { color: var(--ink-2); }
.pm-above { display: none; }
.pm-brands { display: flex; gap: 8px; margin-bottom: 12px; }
.brand-badge { padding: 4px 10px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.pm-secure { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.pm-secure svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; flex: none; }
.pay-accept { margin-top: 20px; padding-top: 4px; border-top: 1px solid var(--line); }
.pay-accept .check { margin-top: 18px; }
.pay-err { margin-top: 10px; }
.notice { margin-top: 32px; }
.notice summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 0; cursor: pointer; list-style: none; }
.notice summary::-webkit-details-marker { display: none; }
.notice summary h2 { font-size: 18px; font-weight: 650; }
.notice summary svg { width: 22px; height: 22px; fill: none; stroke: var(--brand); stroke-width: 2; transition: transform .2s; }
.notice:not([open]) summary svg { transform: rotate(180deg); }
.notice ol { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 8px; color: var(--ink-2); font-size: 15px; }
.notice a { color: var(--brand); font-weight: 600; }
.check a { color: var(--brand); font-weight: 600; }
.check + .err { margin-left: 32px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: none; }

.tp-label { font-size: 15px; color: var(--ink-2); margin: 0; }
.tp-amount { margin: 2px 0 0; font-size: 28px; font-weight: 750; color: var(--brand-dark); font-variant-numeric: tabular-nums; }
.tp-note { margin: 2px 0 18px; font-size: 13.5px; color: var(--ink-2); padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.sc-actions { margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.btn-back { display: block; width: 100%; margin-top: 10px; min-height: 44px; border: 1px solid var(--ink); border-radius: var(--radius-m); background: #fff; font-weight: 600; }
.btn-back:hover { background: var(--soft); }
.btn-primary:disabled { opacity: .7; cursor: progress; }

.confirm-page { max-width: 1000px; margin: 36px auto 0; }
.confirm-head { text-align: center; }
.confirm-head .success-mark { width: 64px; height: 64px; margin: 0 auto 10px; }
.confirm-head .page-title { margin-top: 4px; }
.confirm-head p { margin-top: 6px; color: var(--ink-2); }
.confirm-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 20px; margin-top: 28px; align-items: start; }
.ticket { padding: 24px; text-align: center; }
.tk-label { margin: 0; font-size: 14px; color: var(--ink-2); }
.tk-ref { margin: 2px 0 16px; font-size: 26px; font-weight: 750; letter-spacing: .04em; color: var(--brand-dark); }
.tk-qr svg { width: 220px; height: 220px; margin: 0 auto; border-radius: 8px; box-shadow: 0 0 0 1px var(--line); }
.tk-note { margin-top: 14px; font-size: 13.5px; color: var(--ink-2); }
.next-steps { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 10px; }
.confirm-page .success-actions { justify-content: flex-start; margin-top: 24px; }
.confirm-page .success-actions .btn-light { min-height: 44px; display: inline-flex; align-items: center; }

.hold-dialog { max-width: 440px; padding: 28px; border: 0; border-radius: var(--radius-l); box-shadow: var(--shadow); color: var(--ink); }
.hold-dialog::backdrop { background: rgba(27, 36, 48, .55); }
.hold-dialog h2 { font-size: 21px; font-weight: 700; }
.hold-dialog p { margin: 10px 0 20px; color: var(--ink-2); }

/* Calendar */
.calendar { position: relative; margin-top: 12px; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 14px; }
.cal-nav { position: absolute; top: 14px; z-index: 1; width: 36px; height: 36px; border-radius: 50%; border: 0; background: none; display: grid; place-items: center; color: var(--ink); }
.cal-nav.prev { left: 12px; }
.cal-nav.next { right: 12px; }
.cal-nav:hover:not(:disabled) { background: var(--soft); }
.cal-nav:disabled { opacity: .3; cursor: not-allowed; }
.cal-months { display: grid; grid-template-columns: repeat(var(--months, 1), minmax(0, 1fr)); column-gap: 40px; }
/* Divider sits in the gap so both months keep the same width */
.cal-month + .cal-month { position: relative; }
.cal-month + .cal-month::before { content: ""; position: absolute; left: -20px; top: 0; bottom: 0; border-left: 1px solid var(--line); }
.cal-title { text-align: center; font-size: 16px; font-weight: 650; line-height: 36px; margin: 0 0 10px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-dow { text-align: center; font-size: 11.5px; font-weight: 600; color: var(--ink-2); padding-bottom: 4px; }
.cal-day { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; padding: 0; border: 0; border-radius: 10px; background: none; color: var(--ink); font-variant-numeric: tabular-nums; transition: box-shadow .12s var(--ease), background-color .12s var(--ease); }
.cal-day .d { font-size: 15px; font-weight: 500; line-height: 1.1; }
.cal-day .s { font-size: 11px; line-height: 1.2; min-height: 13px; color: var(--ink-2); }
.cal-day.open { background: var(--brand-tint); }
.cal-day.open .s { color: var(--brand-dark); }
.cal-day.few { background: var(--sun-tint); }
.cal-day.few .s { color: var(--sun-ink); font-weight: 600; }
.cal-day.full, .cal-day.past { color: #a2acb8; cursor: not-allowed; }
.cal-day.full .d { text-decoration: line-through; }
.cal-day.full .s { color: var(--ink-2); }
.cal-day:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--ink); }
.cal-day.in-trip { box-shadow: inset 0 0 0 2px var(--ink); }
.cal-day[aria-selected="true"] { background: var(--ink); color: #fff; }
.cal-day[aria-selected="true"] .s { color: #fff; }
.cal-legend { list-style: none; padding: 12px 0 0; margin: 12px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: var(--ink-2); }
.cal-legend li { display: flex; align-items: center; gap: 6px; }
.sw { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.sw.open { background: var(--brand-tint); }
.sw.few { background: var(--sun-tint); }
.sw.trip { box-shadow: inset 0 0 0 2px var(--ink); }

.b-package { display: flex; justify-content: space-between; gap: 12px; margin: 16px 0; font-size: 14px; color: var(--ink-2); }
.b-package strong { color: var(--ink); text-align: right; }
.b-reassure { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; font-size: 14px; color: var(--brand-dark); }
.b-reassure svg { width: 16px; height: 16px; stroke-width: 2.4; }

.b-step[data-step-panel="2"], .b-step[data-step-panel="3"] { animation: step-in .22s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateX(8px); } }
.b-back { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 4px 0; color: var(--ink-2); font-size: 14px; margin-bottom: 8px; }
.b-back:hover { color: var(--ink); text-decoration: underline; }
.b-back svg { width: 16px; height: 16px; }
.b-title { font-size: 20px; margin-bottom: 12px; }
.b-title:focus { outline: none; }
.summary { margin: 0 0 16px; }
.summary div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 15px; }
.summary dt { color: var(--ink-2); }
.summary dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.summary .total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; font-weight: 700; font-size: 17px; }
.summary .total dt { color: var(--ink); }
.few-warn { background: var(--sun-tint); color: var(--sun-ink); font-size: 14px; padding: 10px 12px; border-radius: var(--radius-s); margin-bottom: 14px; }
.success { text-align: center; }
.success-mark { width: 56px; height: 56px; margin: 4px auto 14px; }
.success-mark circle { fill: var(--brand-tint); stroke: none; }
.success-mark path { fill: none; stroke: var(--brand); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .45s .1s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success p { margin-top: 6px; }

.mobile-bar { display: none; }
.site-footer { border-top: 1px solid var(--line); background: var(--soft); padding: 28px 0; font-size: 13px; color: var(--ink-2); }
.site-footer p + p { margin-top: 4px; }
.footer-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; }
.footer-brand { font-weight: 700; color: var(--brand); font-size: 15px; }
.footer-fine { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--line); }

/* Sign in, create account, reset password: one card, photo on the left on wide screens */
.auth-body { background: var(--soft); }
.auth-page { padding: 48px 0 72px; }
.auth-wrap { display: grid; justify-items: center; }
.auth-card { display: grid; grid-template-columns: 1fr 1fr; width: min(960px, 100%); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; box-shadow: 0 1px 2px rgba(27, 36, 48, .05), 0 18px 40px -24px rgba(27, 36, 48, .25); }
.auth-photo { position: relative; min-height: 100%; background: var(--brand-dark); }
.auth-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 18, 36, .7) 0%, rgba(8, 18, 36, 0) 55%); }
.auth-photo p { position: absolute; z-index: 1; left: 32px; right: 32px; bottom: 28px; color: #fff; font-size: 20px; font-weight: 600; line-height: 1.3; }
.auth-main { padding: 44px 48px 40px; }
.auth-title { font-size: 28px; font-weight: 750; letter-spacing: -0.015em; }
.auth-sub { margin-top: 6px; color: var(--ink-2); }
.auth-note { margin-bottom: 20px; padding: 12px 14px; border-radius: var(--radius-m); background: var(--brand-tint); color: var(--brand-dark); font-size: 15px; font-weight: 500; }
.btn-google { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 48px; margin-top: 24px; border: 1px solid #b5bfca; border-radius: var(--radius-m); background: #fff; color: var(--ink); font-size: 16px; font-weight: 600; }
.btn-google:hover { background: var(--soft); }
.btn-google svg { width: 20px; height: 20px; }
.auth-status { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.auth-or { display: flex; align-items: center; gap: 14px; margin: 22px 0 4px; color: var(--ink-2); font-size: 14px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-form { display: grid; gap: 18px; margin-top: 18px; }
.auth-form .btn-primary { margin-top: 4px; }
.fx-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.fx-row label { margin-bottom: 6px; }
.fx-hint { margin-top: 6px; color: var(--ink-2); font-size: 13.5px; }
.auth-link-sm { font-size: 14px; font-weight: 600; color: var(--brand); }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 76px; }
.pw-toggle { position: absolute; top: 4px; right: 4px; height: 40px; padding: 0 12px; border: 0; border-radius: 8px; background: none; color: var(--brand); font-size: 14px; font-weight: 600; }
.pw-toggle:hover { background: var(--soft); }
.auth-fine { font-size: 14px; color: var(--ink-2); }
.auth-fine a, .auth-switch a { color: var(--brand); font-weight: 600; }
.auth-switch { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); text-align: center; font-size: 15px; }
.auth-done .btn-primary { margin-top: 24px; text-align: center; }
.auth-done:focus { outline: none; }
/* Header account icon once signed in: the climber's initial in a circle */
.acct-initial { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 14px; font-weight: 700; }

@media (max-width: 1024px) {
  .header-nav { display: none; }
  .mobile-menu { display: block; }
  .header-tools { margin-left: auto; }
}

@media (max-width: 860px) {
  .wrap { width: min(100% - 32px, 1120px); }
  .header-nav { display: none; }
  .site-header .wrap { width: calc(100% - 32px); }
  .tool-help span { display: none; }
  .logo img { height: 44px; }


  .header-row { height: 68px; gap: 12px; }
  .hero { height: 460px; }
  .hero img { object-position: center 40%; }
  .hero::after { background: linear-gradient(180deg, rgba(8, 18, 36, .82) 0%, rgba(8, 18, 36, .6) 55%, rgba(8, 18, 36, .35) 100%); }
  .hero-text { top: 28px; transform: none; right: 16px; left: 16px; }
  .hero p { font-size: 17px; }
  .hero { height: auto; min-height: 520px; }
  .hero img { position: absolute; inset: 0; }
  .hero-text { position: relative; top: 0; left: 0; right: 0; padding: 28px 16px 72px; }
  .countdown-tiles { gap: 8px; }
  .cd-tile { min-width: 0; flex: 1; padding: 8px 4px 6px; }
  .cd-tile b { font-size: 24px; }
  .hero a.btn-primary.hero-cta { display: flex; width: 100%; min-width: 0; }
  .footer-row { grid-template-columns: 1fr; }
  .book-grid { grid-template-columns: 1fr; gap: 8px; }
  .book-body .summary-card { position: static; }
  .bbar-row { flex-wrap: wrap; gap: 6px 16px; padding: 10px 0; min-height: 0; }
  .bbar-logo img { height: 36px; }
  .bbar-hold { padding: 5px 10px; font-size: 13px; }
  .bbar-hold span { display: none; }
  .bbar-trip { order: 3; width: 100%; font-size: 14px; gap: 4px 10px; }
  .bbar-sep { height: 18px; }
  .stepper ol { justify-content: flex-start; gap: 8px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
  .stepper button { padding: 4px 12px 4px 4px; font-size: 14px; white-space: nowrap; }
  .stepper .sn { width: 24px; height: 24px; font-size: 13px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-pad, .review-block { padding: 16px; }
  .cl-head { padding: 14px 16px; gap: 12px; }
  .cl-badge { width: 40px; height: 40px; }
  .cl-body { padding: 16px; }
  .confirm-grid { grid-template-columns: 1fr; }
  .book-body[data-step="2"] .summary-col, .book-body[data-step="3"] .summary-col { margin-top: 12px; }
  .home-wrap > .facts { grid-template-columns: 1fr; gap: 0; margin-top: -40px; padding: 4px 20px; }
  .home-wrap > .facts li, .home-wrap > .facts li + li { padding: 14px 0; border-left: 0; }
  .home-wrap > .facts li + li { border-top: 1px solid var(--line); }
  .explore { padding: 40px 0 56px; }
  .cat-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; gap: 14px; }
  .cat-card.big { grid-column: auto; }
  .cat-text { left: 20px; right: 20px; bottom: 18px; }
  .cat-text strong { font-size: 21px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 24px; }
  .book-body .wrap { width: calc(100% - 32px); }
  .summary-card { position: static; max-height: none; }
  .book-page { padding-bottom: 110px; }
  .price-table { font-size: 13.5px; }
  .price-table th, .price-table td { padding-right: 8px; }
  .facts { grid-template-columns: 1fr; gap: 16px; }
  .profile .lbl, .profile .axis, .profile .grid { display: none; }
  .profile-key { display: grid; gap: 6px; list-style: none; padding: 12px 4px 4px; margin: 0; font-size: 14px; color: var(--ink-2); }
  .profile-key li { display: flex; align-items: center; gap: 8px; }
  .profile-key strong { color: var(--ink); font-weight: 600; }
  .pk-dot { width: 10px; height: 10px; border-radius: 50%; border: 2.5px solid var(--brand); background: #fff; flex: none; }
  .profile-key li:last-child .pk-dot { background: var(--brand); }
  .two-col { grid-template-columns: 1fr; }
  .pay-grid { grid-template-columns: 1fr; }
  .pay-methods { grid-template-columns: 1fr 1fr; }
  .pm-body { min-height: 56px; padding: 10px 12px; gap: 10px; font-size: 15px; }
  .pay-panel { padding: 18px 16px; }
  .pm-left { display: none; }
  .pm-above { display: inline; }
  .auth-page { padding: 20px 0 48px; }
  .auth-card { grid-template-columns: 1fr; }
  .auth-photo { display: none; }
  .auth-main { padding: 28px 20px 24px; }
  .auth-title { font-size: 24px; }
  .stay-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; height: auto; }
  .stay-gallery .stay-main { grid-column: span 2; grid-row: auto; }
  .stay-gallery img { aspect-ratio: 4 / 3; height: auto; }
  .stay-ph { aspect-ratio: 4 / 3; }
  .bring-list { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .two-col .span-2 { grid-column: auto; }
  .meet { grid-template-columns: 1fr; }


  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
  .mobile-bar strong { font-size: 17px; color: var(--ink); font-variant-numeric: tabular-nums; }
  .mb-date { display: block; text-decoration: underline; color: var(--ink); font-weight: 500; }
  .mobile-bar .btn-primary { width: auto; padding: 12px 22px; }
}

@media (min-width: 861px) and (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-wrap > .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-wrap > .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .success-mark path { stroke-dashoffset: 0; }
}

/* ---------- Connected to the booking server (api.js) ---------- */
/* Sign in / reset: one message for the whole form, just above the button */
.form-err { margin: 0; }
.auth-done a.btn-back { display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--ink); }
.field-error .link-btn { padding: 0; font-size: 14px; }
.confirm-page .success-actions { flex-wrap: wrap; }
/* Booking step 3: test payment notice (dummy gateway, BR-22) */
.test-pay { margin: 0 0 14px; padding: 12px 14px; border-radius: var(--radius-m); border: 1px solid var(--sun); background: var(--sun-tint); color: var(--sun-ink); font-size: 15px; }
[data-pay-msg] { margin: 0 0 14px; }

/* Waiting room (queue.js): a full-page panel over the booking page */
.queue-panel { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--soft); color: var(--ink); }
.queue-panel::backdrop { background: var(--soft); }
.queue-inner { width: min(560px, 100% - 32px); margin: 12vh auto 48px; padding: 36px 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow); text-align: center; }
.queue-inner .page-title:focus { outline: none; }
.queue-mark { width: 44px !important; height: 44px !important; margin: 0 auto 12px; color: var(--brand); }
.queue-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0 0; }
.queue-nums div { padding: 14px; border-radius: var(--radius-m); background: var(--soft); }
.queue-nums dt { font-size: 14px; color: var(--ink-2); }
.queue-nums dd { margin: 2px 0 0; font-size: 30px; font-weight: 750; color: var(--brand-dark); font-variant-numeric: tabular-nums; }
.queue-status { margin-top: 18px; font-weight: 600; }
.queue-note { margin-top: 14px; font-size: 14px; color: var(--ink-2); }

/* My bookings (account.html) */
.acct-verify { margin: 20px 0 0; }
.acct-list { display: grid; gap: 20px; margin-top: 28px; }
.acct-empty { color: var(--ink-2); }
.acct-none { display: grid; gap: 16px; justify-items: start; }
.acct-none .btn-primary { width: auto; padding-inline: 28px; }
.acct-booking { padding: 22px 24px; scroll-margin-top: 100px; }
.acct-booking:focus { outline: none; }
.acct-booking.is-highlight { box-shadow: 0 0 0 3px var(--brand); }
.ab-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.ab-ref { font-size: 24px; font-weight: 750; letter-spacing: .04em; color: var(--brand-dark); }
.ab-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.ab-status { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--soft); font-size: 14px; font-weight: 650; }
.ab-status.is-ok { background: #e3f4ea; color: #0b6e4f; }
.ab-status.is-off { background: var(--soft); color: var(--ink-2); }
.ab-status.is-warn { background: var(--sun-tint); color: var(--sun-ink); }
.ab-note { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.ab-grid { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 24px; margin-top: 16px; align-items: start; }
.ab-grid.no-qr { grid-template-columns: 1fr; }
.ab-h3 { margin-top: 6px; font-size: 16px; font-weight: 650; }
.ab-qr { text-align: center; }
.ab-qr svg { width: 200px; height: 200px; margin: 0 auto; border-radius: 8px; box-shadow: 0 0 0 1px var(--line); }
.ab-actions { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
@media (max-width: 860px) {
  .ab-grid { grid-template-columns: 1fr; }
  .ab-head { flex-direction: column; }
  .queue-inner { margin-top: 6vh; padding: 28px 20px; }
}

/* Printed invoice: hidden on screen; when printing, only the invoice shows */
.print-invoice { display: none; }
@media print {
  body.is-printing-invoice > *:not(.print-invoice) { display: none !important; }
  body.is-printing-invoice .print-invoice { display: block; box-sizing: border-box; width: 100%; padding: 0 10mm; color: #000; font-size: 12pt; }
  @page { margin: 12mm 0; }
  .inv-head { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 12pt; border-bottom: 2px solid #000; }
  .inv-brand { font-size: 18pt; font-weight: 750; }
  .inv-meta { text-align: right; }
  .inv-meta h1 { font-size: 20pt; }
  .inv-part { margin-top: 14pt; break-inside: avoid; }
  .inv-part h2 { font-size: 13pt; margin-bottom: 4pt; }
  .inv-part ul { margin: 4pt 0 0; padding-left: 18pt; }
  .inv-table { width: 100%; border-collapse: collapse; margin-top: 8pt; break-inside: avoid; }
  .inv-table caption { text-align: left; font-weight: 650; padding: 4pt 0; }
  .inv-table th, .inv-table td { padding: 2pt 0; font-weight: 400; text-align: left; }
  .inv-table td { text-align: right; font-variant-numeric: tabular-nums; }
  .inv-table .sub th, .inv-table .sub td { font-weight: 650; border-top: 1px solid #999; }
  .inv-total { display: flex; justify-content: space-between; margin-top: 10pt; padding-top: 6pt; border-top: 2px solid #000; font-size: 14pt; font-weight: 750; }
  .inv-fine { margin-top: 16pt; font-size: 10pt; }
}
/* Small phones: "My bookings" lives in the menu instead, so the header icons still fit */
@media (max-width: 600px) { .header-tools .tool[data-bookings-link] { display: none; } }
