/* Generated by src/tools/port-design.mjs from the approved design. Do not edit: change the design and re-run. */
/* ==========================================================================
   Uncle Brian's Tours · design system · Blacktop & Jungle (stylescape 03)
   Signed off by the client. The homepage (design/index.html) is the reference
   build; every interior page links this file unchanged.

   PAGE-ROLE CLASSES (use these on interior pages, never reinvent them)
   --------------------------------------------------------------------------
   Grounds      .ub-ground--blacktop / .ub-ground--bitumen (pair with the
                Tailwind bg-blacktop / bg-bitumen utility on the same section).
                Alternate them; never put two of the same ground side by side.
   Container    .ub-wrap (1328px content, 56px gutters, 24px on mobile)
   Rhythm       .ub-sec (104px), .ub-sec--lg (136px), .ub-sec--sm (72px)
   Section head .ub-sec-head (+ .ub-arrows for scrollers)
   Type         .ub-page-title (every interior H1), .ub-hero__title (home H1),
                .ub-h2 (section titles), .ub-h3, .ub-sub,
                .ub-lede, .ub-body, .ub-jg (one gradient line per headline),
                .ub-arch (SVG arch line, first line of a hero only)
   Opening      .ub-page-hero (photo or video stage, words at the foot)
                .ub-page-hero--plain (no media: title left, print pile right)
   Image        .ub-print (THE image treatment: 20px corners, a tilt, a deep
                shadow, colour as shot, nothing over the photo). Ratios by
                role: .ub-r-45 cards, .ub-r-916 clips, .ub-r-1610 film.
                Full bleed only inside .ub-behind or a hero stage.
   Buttons      .ub-btn + .ub-btn--book | --ghost | --ink | --soon,
                sizes --sm / --lg. Quiet links: .ub-link
   Labels       .ub-tape (Salt tape), .ub-badge, .ub-tags/.ub-tag, .ub-meter (activity level), .ub-chip
   Tour cards   .ub-card (+ --lead, --soon), .ub-tour-grid, .ub-cards
   Scroller     .ub-roll + .ub-clip (camera roll, do this next)
   Proof        .ub-proof, .ub-rank, .ub-chat, .ub-chat-row, .ub-bubble
   CTA          .ub-behind (type behind the legends, closing panel on every
                tour page), .ub-direct (the one green band), .ub-closer
   Tour pages   .ub-facts, .ub-stage, .ub-stops/.ub-stop, .ub-road (itinerary), .ub-split,
                .ub-checklist, .ub-bring (+ .ub-pack card), .ub-acc (fine print), .ub-nudge
   Forms        .ub-panel, .ub-form, .ub-field, .ub-field-2, .ub-check,
                .ub-help, .ub-steps (+ --road, --stickers), .ub-signposts, .ub-prose, .ub-table
   ========================================================================== */

:root {
  /* grounds */
  --ub-blacktop: #121113;
  --ub-bitumen: #1E1D20;
  --ub-kerb: #28272B;
  --ub-edge: #3A393E;
  --ub-sunken: #0B0A0C;
  /* type */
  --ub-salt: #F6F4EE;
  --ub-mist: #B9B7B2;
  --ub-dim: #8E8C88;
  --ub-ink-soft: #4B4A50;
  /* the wordmark's green */
  --ub-green: #34AE4B;
  --ub-green-hi: #5ACB6C;
  --ub-green-deep: #0A8E51;
  --ub-grad: linear-gradient(180deg, var(--ub-green-deep) 4%, var(--ub-green) 92%);

  /* 11-stop scales (Tailwind maps these in tw.js) */
  --ub-green-50: #ECF8EE;
  --ub-green-100: #D2EFD7;
  --ub-green-200: #A6DEB0;
  --ub-green-300: #79CD88;
  --ub-green-400: #5ACB6C;
  --ub-green-500: #34AE4B;
  --ub-green-600: #0A8E51;
  --ub-green-700: #08713F;
  --ub-green-800: #075832;
  --ub-green-900: #064226;
  --ub-green-950: #03271A;
  --ub-ink-50: #F6F4EE;
  --ub-ink-100: #E9E7E1;
  --ub-ink-200: #D2D0CB;
  --ub-ink-300: #B9B7B2;
  --ub-ink-400: #8E8C88;
  --ub-ink-500: #6B6A6E;
  --ub-ink-600: #4B4A50;
  --ub-ink-700: #3A393E;
  --ub-ink-800: #28272B;
  --ub-ink-900: #1E1D20;
  --ub-ink-950: #121113;

  /* hairlines */
  --ub-line: rgba(246, 244, 238, .12);
  --ub-line-strong: rgba(246, 244, 238, .26);
  --ub-line-ink: rgba(18, 17, 19, .14);

  /* fonts */
  --ub-display: 'Mouse Memoirs', 'Arial Narrow', Impact, sans-serif;
  --ub-body: 'Familjen Grotesk', -apple-system, 'Helvetica Neue', Arial, sans-serif;

  /* shape */
  --ub-r: 20px;
  --ub-r-sm: 12px;
  --ub-pill: 999px;

  /* space (8pt) */
  --ub-gutter: 56px;
  --ub-wrap: 1328px;
  --ub-sec: 104px;
  --ub-sec-lg: 136px;
  --ub-sec-sm: 72px;

  /* depth: tinted to the Blacktop hue, never raw black */
  --ub-shadow-sm: 0 8px 18px rgba(6, 5, 8, .40);
  --ub-shadow-md: 0 20px 44px rgba(6, 5, 8, .45);
  --ub-shadow-lg: 0 26px 54px rgba(6, 5, 8, .58);
  --ub-shadow-xl: 0 44px 100px rgba(6, 5, 8, .62);

  /* motion */
  --ub-ease-out-expo: cubic-bezier(.16, 1, .3, 1);
  --ub-ease-out-quart: cubic-bezier(.25, 1, .5, 1);
  --ub-ease-in-out-quad: cubic-bezier(.45, 0, .55, 1);
  --ub-ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ub-fast: 150ms;
  --ub-base: 220ms;
  --ub-slow: 400ms;

  --ub-header-h: 98px;
}

/* ---------- base ---------- */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--ub-blacktop);
  color: var(--ub-salt);
  font-family: var(--ub-body);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--ub-green); color: var(--ub-blacktop); }
[id] { scroll-margin-top: calc(var(--ub-header-h) + 16px); }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--ub-salt); outline-offset: 3px; border-radius: 4px; }
.ub-tnum { font-variant-numeric: tabular-nums lining-nums; }
.ub-lock, .ub-lock body { overflow: hidden; }
.ub-skip {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  background: var(--ub-green); color: var(--ub-blacktop);
  font-weight: 700; padding: 12px 18px; border-radius: var(--ub-pill);
  transition: top var(--ub-fast);
}
.ub-skip:focus-visible { top: 12px; }
.ub-i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; display: inline-block; }
.ub-i--lg { width: 22px; height: 22px; }
.ub-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- layout ---------- */
.ub-wrap { max-width: calc(var(--ub-wrap) + var(--ub-gutter) * 2); margin-inline: auto; padding-inline: var(--ub-gutter); }
.ub-sec { padding-block: var(--ub-sec); position: relative; }
.ub-sec--lg { padding-block: var(--ub-sec-lg); }
.ub-sec--sm { padding-block: var(--ub-sec-sm); }
.ub-sec--roll { padding-bottom: 24px; }
.ub-ground--blacktop { background: var(--ub-blacktop); color: var(--ub-salt); }
.ub-ground--bitumen { background: var(--ub-bitumen); color: var(--ub-salt); }
.ub-sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.ub-sec-head--split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 80px; align-items: end; }

/* ---------- type ---------- */
.ub-jt, .ub-h2, .ub-h3, .ub-page-title, .ub-hero__title, .ub-card__title, .ub-price b, .ub-rank__n, .ub-behind__type {
  font-family: var(--ub-display); font-weight: 400; text-transform: uppercase; letter-spacing: .012em;
}
.ub-jg {
  background: var(--ub-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.ub-page-title { font-size: clamp(64px, 10.4vw, 152px); line-height: .84; }
.ub-page-title .ub-jg, .ub-h2 .ub-jg { display: inline; }
.ub-h2 { font-size: clamp(56px, 8.8vw, 128px); line-height: .84; }
.ub-h2--md { font-size: clamp(48px, 6.4vw, 92px); line-height: .86; }
.ub-h3 { font-size: clamp(36px, 3.8vw, 52px); line-height: .9; }
.ub-sub { font-size: 17px; line-height: 1.6; color: var(--ub-mist); margin-top: 16px; max-width: 60ch; }
.ub-lede { font-size: 19px; line-height: 1.55; color: var(--ub-mist); max-width: 560px; }
.ub-body { font-size: 17px; line-height: 1.6; color: var(--ub-mist); }
.ub-body + .ub-body { margin-top: 16px; }
.ub-arch { display: block; width: 100%; height: auto; overflow: visible; }
.ub-arch text { font-family: var(--ub-display); text-transform: uppercase; }
.ub-tbc { color: var(--ub-dim); }

/* ---------- buttons and links ---------- */
.ub-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px;
  font-family: var(--ub-display); font-weight: 400; text-transform: uppercase;
  font-size: 27px; letter-spacing: .035em; line-height: 1;
  padding: 13px 28px 10px; border-radius: var(--ub-pill);
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background-color var(--ub-fast), color var(--ub-fast), border-color var(--ub-fast), transform 180ms var(--ub-ease-spring);
}
.ub-btn.ub-btn--sm { font-size: 22px; padding: 10px 20px 7px; min-height: 44px; }
.ub-btn.ub-btn--lg { font-size: 37px; padding: 16px 36px 12px; min-height: 64px; }
.ub-btn.ub-btn--book { background: var(--ub-green); color: var(--ub-blacktop); }
.ub-btn.ub-btn--book:hover { background: var(--ub-green-hi); transform: rotate(-3deg) scale(1.05); }
.ub-btn.ub-btn--book:active { background: var(--ub-green-deep); color: var(--ub-salt); transform: none; }
.ub-btn.ub-btn--ghost { background: transparent; color: var(--ub-salt); border-color: var(--ub-salt); }
.ub-btn.ub-btn--ghost:hover { background: var(--ub-salt); color: var(--ub-blacktop); transform: rotate(2deg); }
.ub-btn.ub-btn--ghost:active { transform: scale(.97); }
.ub-btn.ub-btn--ink { background: var(--ub-blacktop); color: var(--ub-salt); }
.ub-btn.ub-btn--ink:hover { background: var(--ub-bitumen); transform: rotate(-3deg) scale(1.05); }
.ub-btn.ub-btn--ink:active { transform: scale(.97); }
.ub-btn.ub-btn--soon, .ub-btn[disabled] { background: var(--ub-kerb); color: var(--ub-dim); border-color: var(--ub-edge); cursor: not-allowed; }
.ub-btn.ub-btn--soon:hover { transform: rotate(-3deg) scale(1.05); }
.ub-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; white-space: nowrap;
  font-weight: 600; font-size: 16px; color: var(--ub-salt);
  text-decoration: underline; text-decoration-color: var(--ub-green); text-decoration-thickness: 2px; text-underline-offset: 5px;
  transition: color var(--ub-fast);
}
.ub-link:hover { color: var(--ub-green); }
.ub-link .ub-i { transition: transform var(--ub-fast); }
.ub-link:hover .ub-i { transform: translateX(3px); }
.ub-ext { font-size: 0; }

/* ---------- labels ---------- */
.ub-tape {
  display: inline-block; font-family: var(--ub-display); text-transform: uppercase;
  font-size: 25px; line-height: 1; letter-spacing: .03em; padding: 8px 14px 6px;
  background: var(--ub-salt); color: var(--ub-blacktop); transform: rotate(-4deg); box-shadow: var(--ub-shadow-sm);
}
.ub-tape--lg { font-size: 34px; padding: 10px 18px 7px; }
.ub-badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; line-height: 1;
  padding: 6px 10px; border-radius: var(--ub-pill); border: 1.5px solid var(--ub-line-strong); color: var(--ub-salt); white-space: nowrap;
}
.ub-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ub-tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; line-height: 1;
  padding: 6px 10px; border-radius: var(--ub-pill); background: rgba(246, 244, 238, .08); color: var(--ub-mist);
}
.ub-tag .ub-i { width: 14px; height: 14px; }
.ub-tag--level { background: transparent; border: 1.5px solid var(--ub-line-strong); color: var(--ub-salt); font-weight: 600; }
.ub-meter { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.ub-meter i { width: 4px; height: 12px; border-radius: 1px; background: var(--ub-ink-500); }
.ub-meter i:nth-child(1) { height: 4px; }
.ub-meter i:nth-child(2) { height: 8px; }
.ub-meter[data-level="1"] i:nth-child(1), .ub-meter[data-level="2"] i:nth-child(-n+2), .ub-meter[data-level="3"] i { background: currentColor; }
.ub-tag--soon { background: transparent; border: 1.5px solid var(--ub-salt); color: var(--ub-salt); font-weight: 600; }
.ub-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ub-chip {
  font-family: var(--ub-display); text-transform: uppercase; font-size: 24px; letter-spacing: .035em; line-height: 1;
  min-height: 44px; padding: 10px 18px 7px; border-radius: var(--ub-pill); border: 1.5px solid var(--ub-edge);
  color: var(--ub-salt); background: transparent; cursor: pointer;
  transition: border-color var(--ub-fast), background-color var(--ub-fast), color var(--ub-fast), transform var(--ub-fast);
}
.ub-chip:hover { border-color: var(--ub-salt); transform: rotate(-2deg); }
.ub-chip.is-on, .ub-chip[aria-pressed="true"] { background: var(--ub-salt); color: var(--ub-blacktop); border-color: var(--ub-salt); }
.ub-stars { display: inline-flex; gap: 2px; color: var(--ub-salt); vertical-align: middle; }
.ub-stars svg { width: 15px; height: 15px; fill: currentColor; stroke: none; display: block; }
.ub-dots { display: inline-flex; gap: 6px; align-items: center; }
.ub-dots i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .28; }
.ub-dots i.on { opacity: .9; width: 18px; border-radius: var(--ub-pill); }

/* ---------- the image treatment: the print ---------- */
.ub-print {
  position: relative; display: block; overflow: hidden; border-radius: var(--ub-r);
  background: var(--ub-kerb); box-shadow: var(--ub-shadow-lg);
  transform: rotate(var(--tilt, 0deg)); transition: transform 250ms var(--ub-ease-out-quart);
}
.ub-print > img, .ub-print > video, .ub-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }
.ub-r-45 { aspect-ratio: 4 / 5; }
.ub-r-916 { aspect-ratio: 9 / 16; }
.ub-r-1610 { aspect-ratio: 16 / 10; }
.ub-r-54 { aspect-ratio: 5 / 4; }
.ub-prints { position: relative; min-height: 460px; }
.ub-prints .ub-print { position: absolute; }
.ub-prints .ub-print:nth-child(1) { left: 2%; top: 2%; width: 50%; aspect-ratio: 4 / 5; --tilt: -6deg; }
.ub-prints .ub-print:nth-child(2) { right: 0; top: 9%; width: 46%; aspect-ratio: 4 / 5; --tilt: 5deg; }
.ub-prints .ub-print:nth-child(3) { left: 6%; bottom: 0; width: 46%; aspect-ratio: 5 / 4; --tilt: 3deg; }
.ub-prints .ub-print:nth-child(4) { right: 3%; bottom: -5%; width: 40%; aspect-ratio: 4 / 5; --tilt: -4deg; }
.ub-play-dot {
  position: absolute; left: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(18, 17, 19, .62); display: grid; place-items: center; color: var(--ub-salt); z-index: 1;
}
.ub-play-dot svg { width: 13px; height: 13px; }

/* ---------- home hero ---------- */
.ub-hero { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: clamp(620px, calc(100svh - var(--ub-header-h) - 40px), 820px); overflow: hidden; }
.ub-hero__media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.ub-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 17, 19, 0) 22%, rgba(18, 17, 19, .72) 58%, rgba(18, 17, 19, .97) 100%); }
.ub-hero__content { margin-top: auto; padding: 0 var(--ub-gutter) 52px; text-align: center; position: relative; }
.ub-hero__title { width: min(76%, 920px); margin: 0 auto; font-size: clamp(40px, 4.8vw, 70px); line-height: .9; }
.ub-hero__ctas { margin-top: 28px; display: flex; gap: 16px; align-items: center; justify-content: center; }
.ub-trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 0; margin-top: 34px; }
.ub-trust li { display: flex; align-items: center; gap: 10px; padding: 0 24px; border-left: 1px solid var(--ub-line-strong); text-align: left; }
.ub-trust li:first-child { border-left: 0; }
.ub-trust b { display: flex; align-items: center; gap: 6px; font-family: var(--ub-display); font-weight: 400; text-transform: uppercase; font-size: 34px; line-height: .9; letter-spacing: .02em; white-space: nowrap; color: var(--ub-salt); font-variant-numeric: tabular-nums; }
.ub-trust b .ub-stars { color: var(--ub-green); }
.ub-trust b .ub-stars svg { width: 17px; height: 17px; }
.ub-trust span.ub-trust__t { font-size: 14px; font-weight: 500; line-height: 1.3; color: var(--ub-mist); max-width: 19ch; }
.ub-vidctl {
  position: absolute; right: var(--ub-gutter); bottom: 28px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-family: var(--ub-body); font-size: 14px; font-weight: 600; color: var(--ub-salt);
  background: rgba(18, 17, 19, .55); border: 1px solid rgba(246, 244, 238, .28); border-radius: var(--ub-pill);
  padding: 9px 16px; cursor: pointer; transition: background-color var(--ub-fast), border-color var(--ub-fast);
}
.ub-vidctl:hover { background: rgba(18, 17, 19, .85); border-color: var(--ub-salt); }
.ub-vidctl .ub-i { width: 14px; height: 14px; }

