/*! Norvik — HTML / Bootstrap 5 booking template
    Developed by Cybexsoft Consultancy Services — https://cybexsoft.com */
/* ==========================================================================
   Norvik — HTML / Bootstrap 5 edition
   The bridge layer: Bootstrap's variables are re-pointed at @norvik/theme
   tokens, then the handful of components Bootstrap has no equivalent for.

   Every colour, size, radius, shadow and font here comes from var(--nk-*).
   The only literals are hairline borders, the breakpoints in media queries
   (which cannot read custom properties) and seven fixed component sizes,
   each commented where it appears. Load dist/norvik-tokens.css first.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Bootstrap variable bridge
   -------------------------------------------------------------------------- */

:root {
  --bs-font-sans-serif: var(--nk-font-body);
  --bs-body-font-family: var(--nk-font-body);
  --bs-body-font-size: var(--nk-fs-15);
  --bs-body-line-height: var(--nk-lh-base);
  --bs-body-bg: var(--nk-bg);
  --bs-body-color: var(--nk-text);
  --bs-secondary-color: var(--nk-muted);
  --bs-emphasis-color: var(--nk-text);
  --bs-border-color: var(--nk-line);
  --bs-border-radius: var(--nk-radius-lg);
  --bs-border-radius-sm: var(--nk-radius-md);
  --bs-border-radius-lg: var(--nk-radius-xl);
  --bs-border-radius-xl: var(--nk-radius-3xl);
  --bs-border-radius-2xl: var(--nk-radius-4xl);
  --bs-border-radius-pill: var(--nk-radius-pill);
  --bs-link-color: var(--nk-brand);
  --bs-link-hover-color: var(--nk-accent);
  --bs-code-color: var(--nk-accent-dark);
  --bs-font-monospace: var(--nk-font-mono);
  --bs-heading-color: var(--nk-text);
  --bs-focus-ring-width: var(--nk-space-2);
  --bs-focus-ring-opacity: 1;
  --bs-focus-ring-color: color-mix(in srgb, var(--nk-brand) 30%, transparent);
  --bs-box-shadow-sm: var(--nk-shadow-xs);
  --bs-box-shadow: var(--nk-shadow-sm);
  --bs-box-shadow-lg: var(--nk-shadow-lg);
}

body {
  background: var(--nk-bg);
  color: var(--nk-text);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--nk-accent-soft); }

:where(a, button, input, [tabindex]):focus-visible {
  outline: var(--nk-space-2) solid var(--nk-brand);
  outline-offset: var(--nk-space-2);
  box-shadow: none;
}
/* tabindex="-1" means the element is only ever focused by script — to move a
   screen reader onto a new wizard step, or onto a result that has just
   appeared. The user did not tab there, so it takes no ring; everything they
   can actually tab to still gets one from the rule above. */
[tabindex="-1"]:focus-visible { outline: none; }

/* Bootstrap components, re-tokenised. */
.modal { --bs-modal-bg: var(--nk-card); --bs-modal-color: var(--nk-text);
  --bs-modal-border-color: var(--nk-line); --bs-modal-border-radius: var(--nk-radius-4xl);
  --bs-modal-header-border-color: var(--nk-line); --bs-modal-footer-border-color: var(--nk-line); }
.offcanvas { --bs-offcanvas-bg: var(--nk-card); --bs-offcanvas-color: var(--nk-text);
  --bs-offcanvas-border-color: var(--nk-line); }
.dropdown-menu { --bs-dropdown-bg: var(--nk-card); --bs-dropdown-color: var(--nk-text);
  --bs-dropdown-border-color: var(--nk-line); --bs-dropdown-border-radius: var(--nk-radius-2xl);
  --bs-dropdown-link-color: var(--nk-text); --bs-dropdown-link-hover-bg: var(--nk-surface);
  --bs-dropdown-link-hover-color: var(--nk-text); --bs-dropdown-box-shadow: var(--nk-shadow-lg);
  --bs-dropdown-font-size: var(--nk-fs-14); }
.tooltip { --bs-tooltip-bg: var(--nk-text); --bs-tooltip-color: var(--nk-bg);
  --bs-tooltip-border-radius: var(--nk-radius-md); --bs-tooltip-font-size: var(--nk-fs-12); }
.progress { --bs-progress-bg: var(--nk-line); --bs-progress-bar-bg: var(--nk-brand);
  --bs-progress-border-radius: var(--nk-radius-pill); }

/* --------------------------------------------------------------------------
   2. Type
   -------------------------------------------------------------------------- */

.nk-h1 { font-size: var(--nk-fs-26); font-weight: var(--nk-fw-extrabold);
  letter-spacing: var(--nk-ls-tight); line-height: var(--nk-lh-snug); margin: 0; }
.nk-h2 { font-size: var(--nk-fs-20); font-weight: var(--nk-fw-extrabold);
  letter-spacing: var(--nk-ls-snug); line-height: var(--nk-lh-heading); margin: 0; }
.nk-h3 { font-size: var(--nk-fs-18); font-weight: var(--nk-fw-extrabold);
  letter-spacing: var(--nk-ls-snug); line-height: var(--nk-lh-heading); margin: 0; }
.nk-eyebrow { font-size: var(--nk-fs-10); font-weight: var(--nk-fw-bold);
  letter-spacing: var(--nk-ls-wider); text-transform: uppercase; color: var(--nk-muted); }
.nk-prose { font-size: var(--nk-fs-16); line-height: var(--nk-lh-loose); text-wrap: pretty; }
.nk-muted { color: var(--nk-muted); }
.nk-fs-12 { font-size: var(--nk-fs-12); }
.nk-fs-13 { font-size: var(--nk-fs-13); }
.nk-fs-14 { font-size: var(--nk-fs-14); }
.nk-fs-15 { font-size: var(--nk-fs-15); }
.nk-fs-16 { font-size: var(--nk-fs-16); }
.nk-fw-6 { font-weight: var(--nk-fw-semibold); }
.nk-fw-7 { font-weight: var(--nk-fw-bold); }
.nk-fw-8 { font-weight: var(--nk-fw-extrabold); }

@media (min-width: 992px) {
  .nk-h1 { font-size: var(--nk-fs-32); }
  .nk-h2 { font-size: var(--nk-fs-22); }
  .nk-h3 { font-size: var(--nk-fs-20); }
}

.nk-ic { width: var(--nk-space-16); height: var(--nk-space-16); flex: none; }
.nk-ic-sm { width: var(--nk-space-14); height: var(--nk-space-14); flex: none; }
.nk-ic-lg { width: var(--nk-space-20); height: var(--nk-space-20); flex: none; }
.nk-star { color: var(--nk-accent); }

.nk-page { max-width: var(--nk-container-page); margin-inline: auto;
  padding-inline: var(--nk-gutter-page); }
/* A Bootstrap .row out-dents by half its gutter on each side. The page gutter
   is a clamp that bottoms out at 18px, so a 48px gutter (g-5) out-dents past
   the viewport on anything narrower than lg and the page scrolls sideways.
   Cap the horizontal half of that one gutter below lg rather than writing
   gx-4 gx-lg-5 on every row that wants the roomier vertical rhythm. */
@media (max-width: 991.98px) {
  .nk-page .g-5, .nk-page .gx-5 { --bs-gutter-x: var(--nk-space-24); }
}
.nk-rule { border: 0; border-top: 1px solid var(--nk-line); margin: 0; opacity: 1; }

/* --------------------------------------------------------------------------
   3. Buttons
   -------------------------------------------------------------------------- */

.nk-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--nk-space-8); border: 1px solid transparent;
  border-radius: var(--nk-radius-pill); padding: var(--nk-space-10) var(--nk-space-16);
  font: inherit; font-size: var(--nk-fs-14); font-weight: var(--nk-fw-bold);
  line-height: var(--nk-lh-none); cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background var(--nk-duration-fast) var(--nk-ease-standard),
              border-color var(--nk-duration-fast) var(--nk-ease-standard),
              color var(--nk-duration-fast) var(--nk-ease-standard);
}
.nk-btn:disabled { opacity: .5; cursor: not-allowed; }
/* nowrap keeps buttons tidy at any width the chrome was designed for, but on a
   360px phone the longer CTAs are wider than the screen — and a flex item that
   refuses to wrap or shrink drags the whole page sideways with it. Below sm the
   label is allowed to wrap and the button to shrink. */
@media (max-width: 575.98px) {
  .nk-btn { white-space: normal; min-width: 0; }
}

.nk-btn-brand { background: var(--nk-brand); color: var(--nk-bg); }
.nk-btn-brand:hover { background: var(--nk-brand-dark); color: var(--nk-bg); }

.nk-btn-ink { background: var(--nk-text); color: var(--nk-bg); }
.nk-btn-ink:hover { background: var(--nk-brand-dark); color: var(--nk-bg); }

.nk-btn-accent { background: var(--nk-accent); color: var(--nk-card);
  border-radius: var(--nk-radius-xl); }
.nk-btn-accent:hover:not(:disabled) { background: var(--nk-accent-dark); color: var(--nk-card); }

.nk-btn-outline { background: var(--nk-card); color: var(--nk-text); border-color: var(--nk-line); }
.nk-btn-outline:hover { border-color: var(--nk-brand); color: var(--nk-brand); }

.nk-btn-ghost { background: none; color: var(--nk-muted); border-color: transparent;
  padding-inline: var(--nk-space-8); }
.nk-btn-ghost:hover { color: var(--nk-brand); }

.nk-btn-lg { padding: var(--nk-space-16) var(--nk-space-24); font-size: var(--nk-fs-16); }
.nk-btn-block { width: 100%; }

.nk-link { background: none; border: 0; padding: 0; font: inherit;
  font-weight: var(--nk-fw-bold); color: var(--nk-text); text-decoration: underline;
  text-underline-offset: var(--nk-space-2); cursor: pointer; }
.nk-link:hover { color: var(--nk-accent); }

/* --------------------------------------------------------------------------
   4. Header / footer chrome
   -------------------------------------------------------------------------- */

.nk-header {
  position: sticky; top: 0; z-index: var(--nk-z-header);
  background: var(--nk-bg); border-bottom: 1px solid var(--nk-line);
  /* The bar spans the window, but its contents line up with the page column.
     .nk-page is `max-width: container; padding-inline: gutter`, so its text
     starts at half the leftover width plus one gutter — which is exactly what
     this reproduces. Below the container width the first term is zero and it
     collapses to the plain gutter. Without it the logo sits hundreds of pixels
     left of the content it belongs to on a large screen. */
  padding-block: var(--nk-space-16);
  padding-inline: calc((100% - min(100%, var(--nk-container-page))) / 2 + var(--nk-gutter-page));
  min-height: var(--nk-space-72); /* the offset .nk-sectionnav sticks under */
}
.nk-logo { display: inline-flex; align-items: center; gap: var(--nk-space-8);
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--nk-brand); }
.nk-logo__word { font-size: var(--nk-fs-20); font-weight: var(--nk-fw-extrabold);
  letter-spacing: var(--nk-ls-tight); }

.nk-navpills { display: flex; gap: var(--nk-space-6); min-width: 0;
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.nk-navpills::-webkit-scrollbar { width: 0; height: 0; }
.nk-navpill { display: inline-flex; align-items: center; background: none; border: 0;
  border-radius: var(--nk-radius-pill); padding: var(--nk-space-8) var(--nk-space-16);
  font: inherit; font-size: var(--nk-fs-15); font-weight: var(--nk-fw-semibold);
  color: var(--nk-text); text-decoration: none; cursor: pointer; white-space: nowrap; }
.nk-navpill:hover { color: var(--nk-accent); }
.nk-navpill[aria-current="page"] { background: var(--nk-surface); color: var(--nk-brand); }

.nk-footer { margin-top: var(--nk-space-72); border-top: 1px solid var(--nk-line);
  /* Same column as the header and the page — see the note on .nk-header. */
  padding-block: var(--nk-space-40) var(--nk-space-32);
  padding-inline: calc((100% - min(100%, var(--nk-container-page))) / 2 + var(--nk-gutter-page)); }
.nk-footer a { color: var(--nk-text); text-decoration: none; font-size: var(--nk-fs-14); }
.nk-footer a:hover { color: var(--nk-accent); }

/* --------------------------------------------------------------------------
   5. Section nav (scrollspy)
   -------------------------------------------------------------------------- */

.nk-sectionnav {
  position: sticky; top: var(--nk-space-72); z-index: var(--nk-z-sticky);
  background: var(--nk-bg); border-bottom: 1px solid var(--nk-line);
  display: flex; gap: var(--nk-space-24); overflow-x: auto;
  scrollbar-width: none; -ms-overflow-style: none;
}
.nk-sectionnav::-webkit-scrollbar { width: 0; height: 0; }
.nk-sectionnav a { position: relative; padding: var(--nk-space-16) 0;
  font-size: var(--nk-fs-14); font-weight: var(--nk-fw-semibold);
  color: var(--nk-muted); text-decoration: none; white-space: nowrap; }
.nk-sectionnav a:hover { color: var(--nk-text); }
.nk-sectionnav a.active { color: var(--nk-text); }
.nk-sectionnav a.active::after { content: ""; position: absolute; left: 0; right: 0;
  bottom: -1px; height: var(--nk-space-2); background: var(--nk-text); }

/* --------------------------------------------------------------------------
   6. Gallery
   -------------------------------------------------------------------------- */

.nk-gallery {
  display: grid; gap: var(--nk-space-10); border-radius: var(--nk-radius-4xl);
  overflow: hidden; position: relative;
  grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr;
  aspect-ratio: 21 / 10;
}
.nk-gallery__cell { position: relative; background: var(--nk-surface);
  border: 0; padding: 0; overflow: hidden; cursor: pointer; }
.nk-gallery__cell:first-child { grid-row: span 2; }
.nk-gallery__cell img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform var(--nk-duration-slower) var(--nk-ease-standard); }
.nk-gallery__cell:hover img { transform: scale(1.03); }
.nk-gallery__all {
  position: absolute; right: var(--nk-space-16); bottom: var(--nk-space-16);
  z-index: var(--nk-z-raised); background: var(--nk-card); color: var(--nk-text);
  border: 1px solid var(--nk-text); box-shadow: var(--nk-shadow-sm);
  border-radius: var(--nk-radius-md);
}
.nk-gallery__all:hover { background: var(--nk-surface); color: var(--nk-text); }

.nk-gallery--mobile { display: none; }
@media (max-width: 767.98px) {
  .nk-gallery { display: none; }
  .nk-gallery--mobile { display: block; position: relative;
    margin-inline: calc(var(--nk-gutter-page) * -1); }
  .nk-gallery--mobile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
  .nk-gallery__count { position: absolute; left: 50%; bottom: var(--nk-space-14);
    transform: translateX(-50%); background: color-mix(in srgb, var(--nk-text) 72%, transparent);
    color: var(--nk-bg); border-radius: var(--nk-radius-pill);
    padding: var(--nk-space-4) var(--nk-space-12);
    font-size: var(--nk-fs-12); font-weight: var(--nk-fw-bold); }
}

.nk-lightbox img { width: 100%; border-radius: var(--nk-radius-3xl); display: block; }
.nk-lightbox .carousel-control-prev,
.nk-lightbox .carousel-control-next { width: auto; padding: var(--nk-space-16); opacity: 1; }
.nk-lightbox .carousel-control-prev-icon,
.nk-lightbox .carousel-control-next-icon {
  width: var(--nk-space-40); height: var(--nk-space-40);
  /* Bootstrap's glyph is white — give it a dark pill to sit on. */
  background-color: var(--nk-text); background-size: 45%;
  border-radius: var(--nk-radius-circle); box-shadow: var(--nk-shadow-md);
}
.nk-lightbox .carousel-control-prev:hover .carousel-control-prev-icon,
.nk-lightbox .carousel-control-next:hover .carousel-control-next-icon { background-color: var(--nk-muted); }

/* --------------------------------------------------------------------------
   7. Body sections
   -------------------------------------------------------------------------- */

.nk-avatar { width: var(--nk-space-56); height: var(--nk-space-56); flex: none;
  border-radius: var(--nk-radius-circle); object-fit: cover; background: var(--nk-surface); }

.nk-highlight__ic { display: grid; place-items: center;
  width: var(--nk-space-40); height: var(--nk-space-40); flex: none;
  border-radius: var(--nk-radius-lg); background: var(--nk-brand-soft); color: var(--nk-brand); }

.nk-amenity { display: flex; align-items: center; gap: var(--nk-space-12);
  font-size: var(--nk-fs-15); padding-bottom: var(--nk-space-12);
  border-bottom: 1px solid var(--nk-line); color: var(--nk-text); }
.nk-amenity .nk-ic { color: var(--nk-muted); }
.nk-amenity--off { color: var(--nk-muted); text-decoration: line-through; }

.nk-review { background: var(--nk-surface); border-radius: var(--nk-radius-3xl);
  padding: var(--nk-space-20); height: 100%; }
.nk-review__initial { display: grid; place-items: center;
  width: var(--nk-space-40); height: var(--nk-space-40); flex: none;
  border-radius: var(--nk-radius-circle); background: var(--nk-brand); color: var(--nk-bg);
  font-size: var(--nk-fs-14); font-weight: var(--nk-fw-extrabold); }

/* The home page stacks its reviews straight after the promise cards, which are
   already recessed panels. Raising them onto card + hairline keeps two
   three-across bands from reading as one long grey block. */
.nk-review--raised { background: var(--nk-card); border: 1px solid var(--nk-line);
  padding: var(--nk-space-24); }

.nk-ratingbar { display: flex; flex-direction: column; gap: var(--nk-space-6);
  font-size: var(--nk-fs-14); }
.nk-ratingbar__head { display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--nk-space-12); }
.nk-ratingbar .progress { height: var(--nk-space-4); }

.nk-map { border-radius: var(--nk-radius-3xl); overflow: hidden;
  background: var(--nk-surface); border: 1px solid var(--nk-line);
  aspect-ratio: 16 / 9; display: grid; place-items: center; position: relative; }
.nk-map__grid { position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--nk-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--nk-line) 1px, transparent 1px);
  background-size: var(--nk-space-40) var(--nk-space-40); opacity: .8; }
.nk-map__pin { position: relative; display: inline-flex; align-items: center;
  gap: var(--nk-space-8); background: var(--nk-text); color: var(--nk-bg);
  border-radius: var(--nk-radius-pill); padding: var(--nk-space-10) var(--nk-space-16);
  font-size: var(--nk-fs-13); font-weight: var(--nk-fw-bold);
  box-shadow: var(--nk-shadow-md); }

/* --------------------------------------------------------------------------
   8. Booking card
   -------------------------------------------------------------------------- */

.nk-book {
  position: sticky; top: var(--nk-space-96);
  background: var(--nk-card); border: 1px solid var(--nk-line);
  border-radius: var(--nk-radius-4xl); padding: var(--nk-space-24);
  box-shadow: var(--nk-shadow-lg);
}
.nk-book__price { font-size: var(--nk-fs-26); font-weight: var(--nk-fw-extrabold); }

.nk-fieldset { border: 1px solid var(--nk-line); border-radius: var(--nk-radius-xl);
  overflow: hidden; }
.nk-fieldset--focus { border-color: var(--nk-text); }
.nk-field { display: block; width: 100%; text-align: left; background: var(--nk-card);
  border: 0; padding: var(--nk-space-12) var(--nk-space-14); font: inherit; cursor: pointer;
  transition: background var(--nk-duration-fast) var(--nk-ease-standard); }
.nk-field:hover { background: var(--nk-surface); }
.nk-field[aria-expanded="true"] { background: var(--nk-surface); }
.nk-field__value { font-size: var(--nk-fs-14); font-weight: var(--nk-fw-semibold);
  margin-top: var(--nk-space-2); }
.nk-field__value--empty { color: var(--nk-muted); }
.nk-fieldset__row { display: grid; grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--nk-line); }
.nk-fieldset__row .nk-field + .nk-field { border-left: 1px solid var(--nk-line); }

.nk-cal__head { display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--nk-space-10); }
.nk-cal__nav { display: grid; place-items: center;
  width: var(--nk-space-28); height: var(--nk-space-28); flex: none;
  border-radius: var(--nk-radius-circle); background: var(--nk-card);
  border: 1px solid var(--nk-line); color: var(--nk-text); cursor: pointer; }
.nk-cal__nav:hover:not(:disabled) { border-color: var(--nk-brand); color: var(--nk-brand); }
.nk-cal__nav:disabled { opacity: .35; cursor: not-allowed; }
.nk-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: var(--nk-space-2); }
.nk-cal__dow { font-size: var(--nk-fs-10); font-weight: var(--nk-fw-bold);
  color: var(--nk-muted); text-align: center; padding-bottom: var(--nk-space-4); }
.nk-cal__day { height: var(--nk-space-32); border: 0; background: none; font: inherit;
  font-size: var(--nk-fs-12); font-weight: var(--nk-fw-semibold); color: var(--nk-text);
  border-radius: var(--nk-radius-md); cursor: pointer; }
.nk-cal__day:hover:not(:disabled) { background: var(--nk-surface); }
.nk-cal__day:disabled { color: var(--nk-muted); opacity: .4; cursor: not-allowed;
  text-decoration: line-through; }
.nk-cal__day--edge { background: var(--nk-brand); color: var(--nk-bg); }
.nk-cal__day--edge:hover:not(:disabled) { background: var(--nk-brand-dark); color: var(--nk-bg); }
.nk-cal__day--in { background: var(--nk-brand-soft); color: var(--nk-brand); border-radius: 0; }
.nk-cal__day--in:hover:not(:disabled) { background: var(--nk-brand-soft); }

.nk-stepper { display: flex; align-items: center; justify-content: space-between;
  padding: var(--nk-space-10) 0; border-bottom: 1px solid var(--nk-line); }
.nk-stepper:last-child { border-bottom: 0; }
.nk-stepper__btn { display: grid; place-items: center;
  width: var(--nk-space-28); height: var(--nk-space-28);
  border-radius: var(--nk-radius-circle); background: var(--nk-card);
  border: 1px solid var(--nk-line); color: var(--nk-text);
  font: inherit; font-size: var(--nk-fs-15); line-height: var(--nk-lh-none); cursor: pointer; }
.nk-stepper__btn:hover:not(:disabled) { border-color: var(--nk-brand); color: var(--nk-brand); }
.nk-stepper__btn:disabled { opacity: .35; cursor: not-allowed; }
.nk-stepper__value { min-width: var(--nk-space-20); text-align: center;
  font-size: var(--nk-fs-14); font-weight: var(--nk-fw-bold); }

.nk-alert { background: var(--nk-accent-soft); border: 1px solid var(--nk-accent);
  border-radius: var(--nk-radius-xl); padding: var(--nk-space-14) var(--nk-space-16);
  animation: nkPop var(--nk-duration-slow) var(--nk-ease-enter) both; }
.nk-alert__title { font-size: var(--nk-fs-14); font-weight: var(--nk-fw-extrabold);
  color: var(--nk-accent-dark); }

.nk-priceline { display: flex; justify-content: space-between; gap: var(--nk-space-16);
  font-size: var(--nk-fs-14); }
.nk-priceline--total { font-size: var(--nk-fs-16); font-weight: var(--nk-fw-extrabold);
  padding-top: var(--nk-space-12); border-top: 1px solid var(--nk-line); }
.nk-priceline--save { color: var(--nk-brand); font-weight: var(--nk-fw-bold); }

/* Mobile reserve bar */
.nk-mobilebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--nk-z-sticky);
  display: none; align-items: center; justify-content: space-between; gap: var(--nk-space-14);
  background: var(--nk-card); border-top: 1px solid var(--nk-line);
  padding: var(--nk-space-14) var(--nk-gutter-page) var(--nk-space-16);
  box-shadow: var(--nk-shadow-xl);
}
@media (max-width: 991.98px) {
  .nk-book { position: static; box-shadow: none; }
  .nk-mobilebar { display: flex; }
  body { padding-bottom: var(--nk-space-96); }
}

@keyframes nkPop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* --------------------------------------------------------------------------
   9. Search results — shell
   -------------------------------------------------------------------------- */

.nk-results {
  display: grid;
  grid-template-columns: var(--nk-container-rail) minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: start;
}
@media (max-width: 1199.98px) { .nk-results { grid-template-columns: var(--nk-container-rail) minmax(0, 1fr); } }
@media (max-width: 991.98px)  { .nk-results { grid-template-columns: minmax(0, 1fr); } }

.nk-results__list { padding: var(--nk-space-28) var(--nk-space-28) var(--nk-space-40); min-width: 0; }
@media (max-width: 991.98px) {
  .nk-results__list { padding: var(--nk-space-20) var(--nk-gutter-page) var(--nk-space-96); }
}

/* Filters — a sidebar at lg and up, a drawer below (Bootstrap .offcanvas-lg) */
/* This element is also Bootstrap's .offcanvas-body, and the expanded-offcanvas
   rule (.offcanvas-lg .offcanvas-body) sets display:flex and padding:0 at two
   classes of specificity — so these selectors carry two classes as well. */
.nk-filters.offcanvas-body {
  display: block;
  padding: var(--nk-space-28) var(--nk-space-24) var(--nk-space-28) var(--nk-gutter-page);
  border-right: 1px solid var(--nk-line);
}
@media (min-width: 992px) {
  .nk-filters.offcanvas-body { position: sticky; top: var(--nk-space-72);
    max-height: calc(100vh - var(--nk-space-72)); overflow-y: auto; }
}
@media (max-width: 991.98px) {
  .nk-filters.offcanvas-body { border-right: 0;
    padding: var(--nk-space-20) var(--nk-space-20) var(--nk-space-40); }
}

.nk-filters__group { margin-bottom: var(--nk-space-24); }
.nk-filters__head { display: flex; justify-content: space-between; align-items: baseline;
  font-size: var(--nk-fs-14); font-weight: var(--nk-fw-bold); margin-bottom: var(--nk-space-12); }
.nk-filters__head span { color: var(--nk-muted); font-weight: var(--nk-fw-semibold); }

/* Range — Bootstrap's .form-range, retinted */
.form-range { height: var(--nk-space-20); }
.form-range::-webkit-slider-runnable-track { height: var(--nk-space-4);
  background: var(--nk-line); border-radius: var(--nk-radius-pill); }
.form-range::-moz-range-track { height: var(--nk-space-4);
  background: var(--nk-line); border-radius: var(--nk-radius-pill); }
.form-range::-webkit-slider-thumb { width: var(--nk-space-20); height: var(--nk-space-20);
  margin-top: calc(var(--nk-space-8) * -1); background: var(--nk-brand);
  border: var(--nk-space-2) solid var(--nk-card); box-shadow: var(--nk-shadow-xs); }
.form-range::-moz-range-thumb { width: var(--nk-space-20); height: var(--nk-space-20);
  background: var(--nk-brand); border: var(--nk-space-2) solid var(--nk-card); }
.form-range::-webkit-slider-thumb:active,
.form-range::-moz-range-thumb:active { background: var(--nk-brand-dark); }

/* Segmented control — Bootstrap .btn-check + .btn */
.nk-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--nk-space-6); }
.nk-btn-seg {
  --bs-btn-bg: var(--nk-card); --bs-btn-color: var(--nk-text); --bs-btn-border-color: var(--nk-line);
  --bs-btn-hover-bg: var(--nk-card); --bs-btn-hover-color: var(--nk-brand); --bs-btn-hover-border-color: var(--nk-brand);
  --bs-btn-active-bg: var(--nk-brand); --bs-btn-active-color: var(--nk-bg); --bs-btn-active-border-color: var(--nk-brand);
  --bs-btn-border-radius: var(--nk-radius-lg);
  --bs-btn-padding-y: var(--nk-space-8); --bs-btn-padding-x: var(--nk-space-4);
  --bs-btn-font-size: var(--nk-fs-13); --bs-btn-font-weight: var(--nk-fw-bold);
}

/* Checkboxes — Bootstrap .form-check, retinted */
.form-check-input { --bs-border-color: var(--nk-line); border-width: 1.5px;
  width: var(--nk-space-20); height: var(--nk-space-20); margin-top: var(--nk-space-2);
  border-radius: var(--nk-radius-sm); background-color: var(--nk-card); }
.form-check-input:checked { background-color: var(--nk-brand); border-color: var(--nk-brand); }
.form-check-label { font-size: var(--nk-fs-14); cursor: pointer; padding-left: var(--nk-space-4); }
.form-check-input:disabled ~ .form-check-label { opacity: .45; }

/* --------------------------------------------------------------------------
   10. Result cards
   -------------------------------------------------------------------------- */

.nk-result {
  /* 212px: fixed media column, no scale token fits a component width */
  display: grid; grid-template-columns: 212px minmax(0, 1fr); gap: var(--nk-space-20);
  background: var(--nk-card); border: 1px solid var(--nk-line);
  border-radius: var(--nk-radius-3xl); padding: var(--nk-space-14);
  transition: background var(--nk-duration-fast) var(--nk-ease-standard),
              border-color var(--nk-duration-fast) var(--nk-ease-standard),
              box-shadow var(--nk-duration-fast) var(--nk-ease-standard);
}
.nk-result:hover, .nk-result.is-active {
  border-color: var(--nk-brand); box-shadow: var(--nk-shadow-sm);
}
.nk-result__media { position: relative; border-radius: var(--nk-radius-xl); overflow: hidden;
  aspect-ratio: 1 / 1; background: var(--nk-surface); }
.nk-result__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nk-result__body { display: flex; flex-direction: column; padding: var(--nk-space-4) var(--nk-space-6) var(--nk-space-4) 0; min-width: 0; }
.nk-result__title { font-size: var(--nk-fs-18); font-weight: var(--nk-fw-bold);
  letter-spacing: var(--nk-ls-snug); line-height: var(--nk-lh-heading); margin: 0; }
.nk-result__title a { color: var(--nk-text); text-decoration: none; }
.nk-result__title a::after { content: ""; position: absolute; inset: 0; }  /* whole card is the link */
.nk-result__like { background: none; border: 0; padding: var(--nk-space-2);
  color: var(--nk-text); cursor: pointer; flex: none; position: relative; z-index: var(--nk-z-raised); }
.nk-result__like:hover { color: var(--nk-accent); }
.nk-result__like[aria-pressed="true"] { color: var(--nk-accent); }

.nk-tag { background: var(--nk-surface); border-radius: var(--nk-radius-pill);
  padding: var(--nk-space-4) var(--nk-space-10); font-size: var(--nk-fs-12);
  font-weight: var(--nk-fw-semibold); color: var(--nk-muted); }

@media (max-width: 575.98px) {
  /* 104px: the same media column, compact */
  .nk-result { grid-template-columns: 104px minmax(0, 1fr); gap: var(--nk-space-14);
    border: 0; background: none; padding: 0; border-radius: 0; }
  .nk-result:hover, .nk-result.is-active { box-shadow: none; border-color: transparent; }
  .nk-result__title { font-size: var(--nk-fs-15); }
  .nk-result__media { border-radius: var(--nk-radius-lg); }
}

/* Skeleton */
.nk-skel { animation: nkPulse 1.1s var(--nk-ease-standard) infinite; }
.nk-skel__bar { height: var(--nk-space-12); border-radius: var(--nk-radius-pill);
  background: var(--nk-surface); }
@keyframes nkPulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

/* --------------------------------------------------------------------------
   11. Map
   -------------------------------------------------------------------------- */

.nk-mapcol.offcanvas-body { display: block;
  padding: var(--nk-space-28) var(--nk-gutter-page) var(--nk-space-28) 0; }
@media (min-width: 1200px) {
  .nk-mapcol.offcanvas-body { position: sticky; top: var(--nk-space-72);
    height: calc(100vh - var(--nk-space-72)); }
}
@media (max-width: 1199.98px) {
  .nk-mapcol.offcanvas-body { padding: var(--nk-space-16); height: 100%; }
}

.nk-plot {
  position: relative; height: 100%; min-height: var(--nk-space-96);
  border: 1px solid var(--nk-line); border-radius: var(--nk-radius-4xl); overflow: hidden;
  background-color: var(--nk-surface);
  background-image:
    linear-gradient(var(--nk-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--nk-line) 1px, transparent 1px);
  background-size: var(--nk-space-64) var(--nk-space-64);
}
.nk-plot__roads { position: absolute; inset: 0; background-image:
  linear-gradient(115deg, transparent 34%, var(--nk-brand-soft) 34%, var(--nk-brand-soft) 41%, transparent 41%),
  linear-gradient(28deg, transparent 62%, var(--nk-brand-soft) 62%, var(--nk-brand-soft) 67%, transparent 67%); }
.nk-plot__note { position: absolute; left: var(--nk-space-16); bottom: var(--nk-space-16);
  background: var(--nk-card); border-radius: var(--nk-radius-pill);
  padding: var(--nk-space-8) var(--nk-space-16); font-size: var(--nk-fs-13);
  font-weight: var(--nk-fw-semibold); box-shadow: var(--nk-shadow-md); }

.nk-pin {
  position: absolute; transform: translate(-50%, -50%);
  background: var(--nk-card); color: var(--nk-text); border: 1px solid var(--nk-line);
  border-radius: var(--nk-radius-pill); padding: var(--nk-space-8) var(--nk-space-14);
  font: inherit; font-size: var(--nk-fs-13); font-weight: var(--nk-fw-extrabold);
  cursor: pointer; white-space: nowrap; box-shadow: var(--nk-shadow-md);
  transition: background var(--nk-duration-fast) var(--nk-ease-standard),
              color var(--nk-duration-fast) var(--nk-ease-standard),
              transform var(--nk-duration-fast) var(--nk-ease-standard);
}
.nk-pin:hover, .nk-pin.is-active {
  background: var(--nk-text); color: var(--nk-bg); border-color: var(--nk-text);
  transform: translate(-50%, -50%) scale(1.06); z-index: var(--nk-z-raised);
}
.nk-pin.is-saved { border-color: var(--nk-accent); }

/* The floating "Map" pill, below xl */
.nk-mapfab {
  position: fixed; left: 50%; bottom: var(--nk-space-24); transform: translateX(-50%);
  z-index: var(--nk-z-sticky); background: var(--nk-text); color: var(--nk-bg);
  border: 0; border-radius: var(--nk-radius-pill);
  padding: var(--nk-space-12) var(--nk-space-24); font: inherit;
  font-size: var(--nk-fs-13); font-weight: var(--nk-fw-extrabold); cursor: pointer;
  box-shadow: var(--nk-shadow-2xl); display: none; align-items: center; gap: var(--nk-space-8);
}
.nk-mapfab:hover { background: var(--nk-brand-dark); color: var(--nk-bg); }
@media (max-width: 1199.98px) { .nk-mapfab { display: inline-flex; } }

/* The search summary pill in the header */
.nk-searchpill {
  display: flex; align-items: center; gap: var(--nk-space-10);
  background: var(--nk-card); border: 1px solid var(--nk-line);
  border-radius: var(--nk-radius-pill); padding: var(--nk-space-8) var(--nk-space-16);
  font: inherit; font-size: var(--nk-fs-13); font-weight: var(--nk-fw-bold);
  color: var(--nk-text); text-decoration: none; box-shadow: var(--nk-shadow-xs);
  min-width: 0;
}
.nk-searchpill:hover { border-color: var(--nk-brand); color: var(--nk-text);
  box-shadow: var(--nk-shadow-sm); }
.nk-searchpill__sep { color: var(--nk-line); }
.nk-searchpill__soft { color: var(--nk-muted); font-weight: var(--nk-fw-semibold); }

/* --------------------------------------------------------------------------
   12. Hero
   -------------------------------------------------------------------------- */

.nk-hero {
  position: relative; display: flex; align-items: flex-end;
  border-radius: var(--nk-radius-5xl); overflow: hidden;
  background: var(--nk-surface); min-height: 60vh;
  margin-top: var(--nk-space-20);
}
.nk-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nk-hero__scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg,
  color-mix(in srgb, var(--nk-text) 42%, transparent) 0%,
  color-mix(in srgb, var(--nk-text) 8%, transparent) 38%,
  color-mix(in srgb, var(--nk-text) 66%, transparent) 100%); }
.nk-hero__copy { position: relative;
  /* clears the search bar, which pulls up over the hero's bottom edge */
  padding: var(--nk-space-48) var(--nk-space-40) var(--nk-space-72);
  color: var(--nk-bg); max-width: var(--nk-container-panel); }
.nk-hero__eyebrow { display: inline-flex; align-items: center; gap: var(--nk-space-8);
  background: color-mix(in srgb, var(--nk-bg) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--nk-bg) 34%, transparent);
  border-radius: var(--nk-radius-pill); padding: var(--nk-space-6) var(--nk-space-14);
  font-size: var(--nk-fs-12); font-weight: var(--nk-fw-bold);
  letter-spacing: var(--nk-ls-wide); text-transform: uppercase;
  color: var(--nk-bg); margin-bottom: var(--nk-space-16); }
.nk-hero__title { font-size: var(--nk-display-lg); line-height: var(--nk-lh-tight);
  letter-spacing: var(--nk-ls-tighter); font-weight: var(--nk-fw-extrabold);
  color: var(--nk-bg); margin: 0 0 var(--nk-space-16); text-wrap: balance; }
.nk-hero__sub { font-size: var(--nk-fs-18); line-height: var(--nk-lh-relaxed);
  color: color-mix(in srgb, var(--nk-bg) 88%, transparent); margin: 0; max-width: 30em; }

/* --------------------------------------------------------------------------
   13. Search bar
   -------------------------------------------------------------------------- */

.nk-searchbar {
  position: relative; z-index: var(--nk-z-sticky);
  margin: calc(var(--nk-space-48) * -1) var(--nk-space-24) 0;
  background: var(--nk-card); border: 1px solid var(--nk-line);
  border-radius: var(--nk-radius-4xl); box-shadow: var(--nk-shadow-xl);
}
.nk-searchbar__modes { display: flex; gap: var(--nk-space-4);
  padding: var(--nk-space-10) var(--nk-space-12) 0; }
.nk-searchbar__grid { display: grid; align-items: center; gap: var(--nk-space-4);
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr auto; padding: var(--nk-space-8); }

.nk-searchfield { text-align: left; background: none; border: 0;
  border-radius: var(--nk-radius-2xl); padding: var(--nk-space-14) var(--nk-space-20);
  font: inherit; cursor: pointer; min-width: 0;
  transition: background var(--nk-duration-fast) var(--nk-ease-standard); }
.nk-searchfield + .nk-searchfield { border-left: 1px solid var(--nk-line); border-radius: 0 var(--nk-radius-2xl) var(--nk-radius-2xl) 0; }
.nk-searchfield:hover, .nk-searchfield[aria-expanded="true"] { background: var(--nk-surface); }
.nk-searchfield__value { font-size: var(--nk-fs-16); font-weight: var(--nk-fw-semibold);
  margin-top: var(--nk-space-2); }
.nk-searchfield__value--empty { color: var(--nk-muted); }

.nk-searchbar__go { justify-self: end; margin-right: var(--nk-space-6);
  border-radius: var(--nk-radius-2xl); padding: var(--nk-space-16) var(--nk-space-24); }
.nk-searchbar__panel { border-top: 1px solid var(--nk-line);
  padding: var(--nk-space-24) var(--nk-space-28) var(--nk-space-28);
  animation: nkPanel var(--nk-duration-slow) var(--nk-ease-enter) both; }
@keyframes nkPanel { from { opacity: 0; transform: translateY(calc(var(--nk-space-8) * -1)); } to { opacity: 1; transform: none; } }

@media (max-width: 767.98px) {
  .nk-searchbar { margin-inline: 0; }
  .nk-searchbar__grid { grid-template-columns: 1fr 1fr; }
  .nk-searchfield:first-child { grid-column: 1 / -1; }
  .nk-searchfield + .nk-searchfield { border-left: 0; border-top: 1px solid var(--nk-line); border-radius: var(--nk-radius-2xl); }
  .nk-searchbar__go { grid-column: 1 / -1; justify-self: stretch; margin: var(--nk-space-4) 0 0; }
  .nk-searchbar__panel { padding: var(--nk-space-20); }
}

.nk-suggest { display: grid; gap: var(--nk-space-10);
  /* 210px: smallest legible suggestion tile */
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.nk-suggest__item { display: flex; align-items: center; gap: var(--nk-space-14);
  text-align: left; background: var(--nk-bg); border: 1px solid var(--nk-line);
  border-radius: var(--nk-radius-2xl); padding: var(--nk-space-12) var(--nk-space-14);
  font: inherit; cursor: pointer; color: var(--nk-text);
  transition: background var(--nk-duration-fast) var(--nk-ease-standard),
              border-color var(--nk-duration-fast) var(--nk-ease-standard); }
.nk-suggest__item:hover, .nk-suggest__item[aria-pressed="true"] {
  border-color: var(--nk-brand); background: var(--nk-brand-soft); }
.nk-suggest__ic { display: grid; place-items: center;
  width: var(--nk-space-40); height: var(--nk-space-40); flex: none;
  border-radius: var(--nk-radius-lg); background: var(--nk-brand-soft); color: var(--nk-brand); }

/* The big calendar and steppers inside the search panel */
.nk-cal--lg { max-width: var(--nk-container-narrow); }
.nk-cal--lg .nk-cal__grid { gap: var(--nk-space-4); }
.nk-cal--lg .nk-cal__dow { font-size: var(--nk-fs-11); padding-bottom: var(--nk-space-6); }
.nk-cal--lg .nk-cal__day { height: var(--nk-space-40); border-radius: var(--nk-radius-lg);
  font-size: var(--nk-fs-14); }
.nk-cal__nav--lg { width: var(--nk-space-32); height: var(--nk-space-32); }

.nk-stepper--lg { padding: var(--nk-space-16) 0; }
.nk-stepper--lg .nk-stepper__btn { width: var(--nk-space-40);
  height: var(--nk-space-40); font-size: var(--nk-fs-18); }
.nk-stepper--lg .nk-stepper__value { min-width: var(--nk-space-24); font-size: var(--nk-fs-16); }

/* --------------------------------------------------------------------------
   14. Category chips
   -------------------------------------------------------------------------- */

.nk-chiprow { display: flex; gap: var(--nk-space-10); overflow-x: auto;
  padding-bottom: var(--nk-space-24); border-bottom: 1px solid var(--nk-line);
  scrollbar-width: none; -ms-overflow-style: none; }
.nk-chiprow::-webkit-scrollbar { width: 0; height: 0; }
/* The scrolling row is right where chips sit above a grid that continues past
   them. Where the row is the whole control, wrapping beats a hidden scrollbar. */
.nk-chiprow--wrap { flex-wrap: wrap; overflow-x: visible; }
.nk-chip { flex: none; background: var(--nk-card); color: var(--nk-text);
  border: 1px solid var(--nk-line); border-radius: var(--nk-radius-pill);
  padding: var(--nk-space-10) var(--nk-space-20); font: inherit;
  font-size: var(--nk-fs-14); font-weight: var(--nk-fw-semibold);
  cursor: pointer; white-space: nowrap;
  transition: background var(--nk-duration-fast) var(--nk-ease-standard),
              border-color var(--nk-duration-fast) var(--nk-ease-standard),
              color var(--nk-duration-fast) var(--nk-ease-standard); }
.nk-chip:hover { border-color: var(--nk-brand); color: var(--nk-brand); }
.nk-chip[aria-pressed="true"] { background: var(--nk-brand); border-color: var(--nk-brand); color: var(--nk-bg); }

/* --------------------------------------------------------------------------
   15. Home grid cards
   -------------------------------------------------------------------------- */

.nk-grid { display: grid; gap: var(--nk-space-28) var(--nk-space-24);
  grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1199.98px) { .nk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px)  { .nk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479.98px)  { .nk-grid { grid-template-columns: minmax(0, 1fr); } }

.nk-home { position: relative; transition: transform var(--nk-duration-base) var(--nk-ease-standard); }
.nk-home:hover { transform: translateY(calc(var(--nk-space-4) * -1)); }
.nk-home__media { position: relative; border-radius: var(--nk-radius-3xl); overflow: hidden;
  aspect-ratio: 20 / 19; background: var(--nk-surface); }
.nk-home__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nk-home__badge { position: absolute; top: var(--nk-space-12); left: var(--nk-space-12);
  background: color-mix(in srgb, var(--nk-bg) 94%, transparent); color: var(--nk-text);
  border-radius: var(--nk-radius-pill); padding: var(--nk-space-6) var(--nk-space-12);
  font-size: var(--nk-fs-12); font-weight: var(--nk-fw-bold); }
.nk-home__like { position: absolute; top: var(--nk-space-10); right: var(--nk-space-10);
  display: grid; place-items: center; width: var(--nk-space-40);
  height: var(--nk-space-40); border: 0; border-radius: var(--nk-radius-circle);
  background: color-mix(in srgb, var(--nk-bg) 90%, transparent); color: var(--nk-text);
  cursor: pointer; z-index: var(--nk-z-raised); }
.nk-home__like:hover { background: var(--nk-bg); color: var(--nk-accent); }
.nk-home__like[aria-pressed="true"] { color: var(--nk-accent); }
.nk-home__title { font-size: var(--nk-fs-16); font-weight: var(--nk-fw-bold);
  letter-spacing: var(--nk-ls-snug); line-height: var(--nk-lh-heading); margin: 0; }
.nk-home__title a { color: var(--nk-text); text-decoration: none; }
.nk-home__title a::after { content: ""; position: absolute; inset: 0; }

/* --------------------------------------------------------------------------
   16. Destinations, promises, host panel
   -------------------------------------------------------------------------- */

.nk-dest { position: relative; display: block; border: 0; padding: 0;
  border-radius: var(--nk-radius-3xl); overflow: hidden; aspect-ratio: 4 / 5;
  background: var(--nk-surface); color: var(--nk-bg); cursor: pointer;
  font: inherit; text-align: left; text-decoration: none; }
.nk-dest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--nk-duration-slower) var(--nk-ease-standard); }
.nk-dest:hover img { transform: scale(1.04); }
.nk-dest__scrim { position: absolute; inset: 0; background: linear-gradient(180deg,
  transparent 40%, color-mix(in srgb, var(--nk-text) 72%, transparent) 100%); }
.nk-dest__copy { position: absolute; left: var(--nk-space-20); right: var(--nk-space-20);
  bottom: var(--nk-space-16); }
.nk-dest__city { display: block; font-size: var(--nk-fs-20); font-weight: var(--nk-fw-extrabold);
  letter-spacing: var(--nk-ls-snug); color: var(--nk-bg); }
.nk-dest__meta { display: block; font-size: var(--nk-fs-14); margin-top: var(--nk-space-2);
  color: color-mix(in srgb, var(--nk-bg) 85%, transparent); }

.nk-promise { background: var(--nk-surface); border-radius: var(--nk-radius-4xl);
  padding: var(--nk-space-28); height: 100%; }
.nk-promise__kicker { font-size: var(--nk-fs-13); font-weight: var(--nk-fw-bold);
  letter-spacing: var(--nk-ls-wider); text-transform: uppercase;
  color: var(--nk-accent-dark); margin-bottom: var(--nk-space-14); }

.nk-hostcta { display: grid; grid-template-columns: 1.05fr 1fr;
  background: var(--nk-brand); border-radius: var(--nk-radius-5xl); overflow: hidden; }
@media (max-width: 767.98px) { .nk-hostcta { grid-template-columns: minmax(0, 1fr); } }
.nk-hostcta__copy { padding: var(--nk-space-48) var(--nk-space-40);
  display: flex; flex-direction: column; justify-content: center; }
.nk-hostcta__kicker { font-size: var(--nk-fs-13); font-weight: var(--nk-fw-bold);
  letter-spacing: var(--nk-ls-widest); text-transform: uppercase;
  color: color-mix(in srgb, var(--nk-bg) 62%, transparent); margin-bottom: var(--nk-space-16); }
.nk-hostcta__title { font-size: var(--nk-display-sm); line-height: var(--nk-lh-tight);
  letter-spacing: var(--nk-ls-tight); font-weight: var(--nk-fw-extrabold);
  color: var(--nk-bg); margin: 0 0 var(--nk-space-16); }
.nk-hostcta__body { font-size: var(--nk-fs-16); line-height: var(--nk-lh-relaxed);
  color: color-mix(in srgb, var(--nk-bg) 82%, transparent); margin: 0 0 var(--nk-space-28); max-width: 34em; }
.nk-hostcta__media { position: relative; min-height: var(--nk-space-96); background: var(--nk-brand-dark); }
.nk-hostcta__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nk-btn-onbrand { background: var(--nk-bg); color: var(--nk-brand); border-radius: var(--nk-radius-pill); }
.nk-btn-onbrand:hover { background: var(--nk-accent-soft); color: var(--nk-brand); }
.nk-link-onbrand { background: none; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--nk-bg) 40%, transparent);
  padding: 0 0 var(--nk-space-2); font: inherit; font-size: var(--nk-fs-15);
  font-weight: var(--nk-fw-semibold); color: var(--nk-bg); cursor: pointer; text-decoration: none; }
.nk-link-onbrand:hover { color: var(--nk-bg); border-bottom-color: var(--nk-bg); }

/* --------------------------------------------------------------------------
   17. Checkout
   -------------------------------------------------------------------------- */

.nk-checkout { display: grid; align-items: start;
  /* 372px: the summary column, sized to hold the price lines without wrapping */
  grid-template-columns: minmax(0, 1fr) 372px; gap: var(--nk-space-56); }
@media (max-width: 991.98px) {
  .nk-checkout { grid-template-columns: minmax(0, 1fr); gap: var(--nk-space-32); }
}

.nk-checkout__section { padding: var(--nk-space-24) 0;
  border-bottom: 1px solid var(--nk-line); }
.nk-checkout__section:first-child { padding-top: 0; }
.nk-checkout__section:last-child { border-bottom: 0; }

.nk-tripline { display: flex; align-items: center; justify-content: space-between;
  gap: var(--nk-space-16); }
.nk-tripline__label { font-size: var(--nk-fs-15); font-weight: var(--nk-fw-bold); }
.nk-tripline__value { font-size: var(--nk-fs-15); color: var(--nk-muted);
  margin-top: var(--nk-space-2); }

/* Payment method chooser — Bootstrap .btn-check + .btn */
.nk-paygrid { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  gap: var(--nk-space-10); }
@media (max-width: 575.98px) { .nk-paygrid { grid-auto-flow: row; } }
.nk-btn-pay {
  --bs-btn-bg: var(--nk-card); --bs-btn-color: var(--nk-text); --bs-btn-border-color: var(--nk-line);
  --bs-btn-hover-bg: var(--nk-card); --bs-btn-hover-color: var(--nk-text); --bs-btn-hover-border-color: var(--nk-brand);
  --bs-btn-active-bg: var(--nk-brand-soft); --bs-btn-active-color: var(--nk-brand); --bs-btn-active-border-color: var(--nk-brand);
  --bs-btn-border-radius: var(--nk-radius-xl); --bs-btn-border-width: 1.5px;
  --bs-btn-padding-y: var(--nk-space-14); --bs-btn-padding-x: var(--nk-space-16);
  --bs-btn-font-size: var(--nk-fs-14); --bs-btn-font-weight: var(--nk-fw-bold);
  text-align: left; justify-content: flex-start;
}

/* Text inputs — Bootstrap .form-control / .form-label, retokenised */
.form-label { font-size: var(--nk-fs-13); font-weight: var(--nk-fw-bold);
  margin-bottom: var(--nk-space-6); color: var(--nk-text); }
.form-control {
  background-color: var(--nk-card); color: var(--nk-text);
  border: 1px solid var(--nk-line); border-radius: var(--nk-radius-lg);
  padding: var(--nk-space-12) var(--nk-space-14);
  font-size: var(--nk-fs-15); line-height: var(--nk-lh-base);
}
.form-control:focus { background-color: var(--nk-card); color: var(--nk-text);
  border-color: var(--nk-brand); box-shadow: none;
  outline: var(--nk-space-2) solid var(--nk-brand); outline-offset: var(--nk-space-2); }
.form-control::placeholder { color: var(--nk-muted); opacity: .75; }
.form-control.is-invalid { border-color: var(--nk-accent); background-image: none; padding-right: var(--nk-space-14); }
.form-control.is-invalid:focus { outline-color: var(--nk-accent); }
.invalid-feedback { font-size: var(--nk-fs-12); font-weight: var(--nk-fw-semibold);
  color: var(--nk-accent-dark); margin-top: var(--nk-space-6); }
textarea.form-control { border-radius: var(--nk-radius-xl); resize: vertical; }

/* The order summary */
.nk-summary { background: var(--nk-card); border: 1px solid var(--nk-line);
  border-radius: var(--nk-radius-4xl); padding: var(--nk-space-24); }
@media (min-width: 992px) { .nk-summary { position: sticky; top: var(--nk-space-96); } }
/* Stacked, the total belongs above the form — you see what you are paying
   for before you fill anything in. */
@media (max-width: 991.98px) { .nk-summary { order: -1; } }
.nk-summary__thumb { position: relative; width: var(--nk-space-96); flex: none;
  aspect-ratio: 8 / 7; border-radius: var(--nk-radius-xl); overflow: hidden;
  background: var(--nk-surface); }
.nk-summary__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nk-summary__total { display: flex; justify-content: space-between;
  font-weight: var(--nk-fw-extrabold); font-size: var(--nk-fs-16);
  padding-top: var(--nk-space-16); border-top: 1px solid var(--nk-line); }

/* Booked confirmation */
.nk-booked__ic { display: grid; place-items: center;
  width: var(--nk-space-56); height: var(--nk-space-56);
  border-radius: var(--nk-radius-circle); background: var(--nk-brand-soft);
  color: var(--nk-brand); margin-bottom: var(--nk-space-24); }
.nk-booked__title { font-size: var(--nk-fs-38); font-weight: var(--nk-fw-extrabold);
  letter-spacing: var(--nk-ls-tight); line-height: var(--nk-lh-tight);
  margin: 0 0 var(--nk-space-14); text-wrap: balance; }
@media (max-width: 767.98px) { .nk-booked__title { font-size: var(--nk-fs-26); } }

/* The demo switch that shows the declined-payment state */
.nk-demo { display: inline-flex; align-items: center; gap: var(--nk-space-8);
  background: var(--nk-surface); border: 1px dashed var(--nk-line);
  border-radius: var(--nk-radius-pill); padding: var(--nk-space-10) var(--nk-space-16);
  font: inherit; font-size: var(--nk-fs-13); font-weight: var(--nk-fw-bold);
  color: var(--nk-muted); cursor: pointer; }
.nk-demo:hover { border-color: var(--nk-muted); color: var(--nk-text); }
.nk-demo[aria-pressed="true"] { background: var(--nk-accent-soft);
  border-style: solid; border-color: var(--nk-accent); color: var(--nk-accent-dark); }

/* --------------------------------------------------------------------------
   18. Trips
   -------------------------------------------------------------------------- */

/* 300px: the trip card's photograph column, sized to the 3:2 crop it carries */
.nk-trip { display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  background: var(--nk-brand); border-radius: var(--nk-radius-4xl); overflow: hidden; }
@media (max-width: 767.98px) { .nk-trip { grid-template-columns: minmax(0, 1fr); } }

.nk-trip__copy { padding: var(--nk-space-32); }
.nk-trip__kicker { font-size: var(--nk-fs-12); font-weight: var(--nk-fw-bold);
  letter-spacing: var(--nk-ls-widest); text-transform: uppercase;
  color: color-mix(in srgb, var(--nk-bg) 60%, transparent);
  margin-bottom: var(--nk-space-14); }
.nk-trip__title { font-size: var(--nk-fs-26); font-weight: var(--nk-fw-extrabold);
  letter-spacing: var(--nk-ls-snug); line-height: var(--nk-lh-snug);
  color: var(--nk-bg); margin: 0 0 var(--nk-space-8); text-wrap: balance; }
.nk-trip__meta { font-size: var(--nk-fs-16);
  color: color-mix(in srgb, var(--nk-bg) 82%, transparent); margin: 0; }
.nk-trip__facts { display: flex; flex-wrap: wrap; gap: var(--nk-space-24);
  margin-top: var(--nk-space-24); padding-top: var(--nk-space-20);
  border-top: 1px solid color-mix(in srgb, var(--nk-bg) 20%, transparent); }
.nk-fact__label { font-size: var(--nk-fs-11); font-weight: var(--nk-fw-bold);
  letter-spacing: var(--nk-ls-wider); text-transform: uppercase;
  color: color-mix(in srgb, var(--nk-bg) 55%, transparent); }
.nk-fact__value { font-size: var(--nk-fs-16); font-weight: var(--nk-fw-extrabold);
  color: var(--nk-bg); margin-top: var(--nk-space-4); }
.nk-trip__media { position: relative; background: var(--nk-brand-dark); min-height: var(--nk-space-96); }
.nk-trip__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767.98px) { .nk-trip__media { aspect-ratio: 16 / 9; } }

.nk-btn-onbrand-ghost { background: color-mix(in srgb, var(--nk-bg) 12%, transparent);
  color: var(--nk-bg); border-color: color-mix(in srgb, var(--nk-bg) 34%, transparent); }
.nk-btn-onbrand-ghost:hover { background: color-mix(in srgb, var(--nk-bg) 22%, transparent);
  color: var(--nk-bg); border-color: color-mix(in srgb, var(--nk-bg) 50%, transparent); }

.nk-pasttrip { display: grid; grid-template-columns: var(--nk-space-72) minmax(0, 1fr) auto;
  gap: var(--nk-space-16); align-items: center; background: var(--nk-card);
  border: 1px solid var(--nk-line); border-radius: var(--nk-radius-3xl);
  padding: var(--nk-space-14); }
.nk-pasttrip:hover { border-color: var(--nk-brand); }
.nk-pasttrip__thumb { position: relative; aspect-ratio: 19 / 16; overflow: hidden;
  border-radius: var(--nk-radius-lg); background: var(--nk-surface); }
.nk-pasttrip__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 575.98px) {
  .nk-pasttrip { grid-template-columns: var(--nk-space-72) minmax(0, 1fr); }
  .nk-pasttrip > :last-child { grid-column: 1 / -1; justify-self: start; }
}

/* Star picker in the review dialog */
.nk-stars { display: inline-flex; gap: var(--nk-space-4); }
.nk-star-btn { background: none; border: 0; padding: var(--nk-space-4);
  color: var(--nk-line); cursor: pointer; line-height: 0; }
.nk-star-btn:hover, .nk-star-btn.is-on { color: var(--nk-accent); }

/* --------------------------------------------------------------------------
   19. Empty state
   -------------------------------------------------------------------------- */

.nk-empty { background: var(--nk-surface); border-radius: var(--nk-radius-4xl);
  padding: var(--nk-space-48) var(--nk-space-40); max-width: var(--nk-container-narrow); }

/* --------------------------------------------------------------------------
   20. Host dashboard
   -------------------------------------------------------------------------- */

/* Tabs — Bootstrap .nav-tabs, restyled to the underline the design uses */
.nk-tabs { --bs-nav-tabs-border-width: 1px; --bs-nav-tabs-border-color: var(--nk-line);
  --bs-nav-tabs-link-active-bg: transparent; --bs-nav-tabs-link-active-color: var(--nk-text);
  --bs-nav-tabs-link-active-border-color: transparent transparent var(--nk-text);
  --bs-nav-tabs-border-radius: 0; --bs-nav-link-color: var(--nk-muted);
  --bs-nav-link-hover-color: var(--nk-text);
  --bs-nav-link-font-size: var(--nk-fs-15); --bs-nav-link-font-weight: var(--nk-fw-bold);
  --bs-nav-link-padding-y: var(--nk-space-12); --bs-nav-link-padding-x: var(--nk-space-16);
  flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.nk-tabs::-webkit-scrollbar { width: 0; height: 0; }
.nk-tabs .nav-link { white-space: nowrap; border-width: 0 0 var(--nk-space-2); }
.nk-tabs .nav-link:focus-visible { outline-offset: calc(var(--nk-space-2) * -1); }

.nk-stat { background: var(--nk-card); border: 1px solid var(--nk-line);
  border-radius: var(--nk-radius-3xl); padding: var(--nk-space-20); height: 100%; }
.nk-stat__value { font-size: var(--nk-fs-26); font-weight: var(--nk-fw-extrabold);
  letter-spacing: var(--nk-ls-tight); margin: var(--nk-space-10) 0 var(--nk-space-4); }
.nk-stat__delta { font-size: var(--nk-fs-13); font-weight: var(--nk-fw-semibold);
  color: var(--nk-muted); }
.nk-stat__delta--up { color: var(--nk-brand); }

.nk-task { display: flex; align-items: center; gap: var(--nk-space-16);
  background: var(--nk-card); border: 1px solid var(--nk-line);
  border-radius: var(--nk-radius-2xl); padding: var(--nk-space-16); }
.nk-task--urgent { background: var(--nk-accent-soft); border-color: var(--nk-accent); }
.nk-task__badge { display: grid; place-items: center;
  width: var(--nk-space-40); height: var(--nk-space-40); flex: none;
  border-radius: var(--nk-radius-circle); background: var(--nk-brand); color: var(--nk-bg); }
.nk-task--urgent .nk-task__badge { background: var(--nk-accent); }
@media (max-width: 575.98px) {
  .nk-task { flex-wrap: wrap; }
  .nk-task > :last-child { margin-left: calc(var(--nk-space-40) + var(--nk-space-16)); }
}

.nk-hostrow { display: grid; grid-template-columns: var(--nk-space-72) minmax(0, 1fr) auto;
  gap: var(--nk-space-16); align-items: center; background: var(--nk-card);
  border: 1px solid var(--nk-line); border-radius: var(--nk-radius-3xl);
  padding: var(--nk-space-14); }
.nk-hostrow__thumb { position: relative; aspect-ratio: 6 / 5; overflow: hidden;
  border-radius: var(--nk-radius-lg); background: var(--nk-surface); }
.nk-hostrow__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.nk-panel { background: var(--nk-surface); border-radius: var(--nk-radius-3xl);
  padding: var(--nk-space-24); }

.nk-msg { display: flex; gap: var(--nk-space-12); width: 100%; text-align: left;
  background: var(--nk-card); border: 1px solid var(--nk-line);
  border-radius: var(--nk-radius-xl); padding: var(--nk-space-14);
  font: inherit; color: var(--nk-text); cursor: pointer; }
.nk-msg:hover { border-color: var(--nk-brand); }
.nk-initial { display: grid; place-items: center;
  width: var(--nk-space-40); height: var(--nk-space-40); flex: none;
  border-radius: var(--nk-radius-circle); background: var(--nk-brand); color: var(--nk-bg);
  font-size: var(--nk-fs-13); font-weight: var(--nk-fw-extrabold); }
.nk-initial--soft { background: var(--nk-brand-soft); color: var(--nk-brand);
  font-size: var(--nk-fs-15); }

/* Status pills — always a word, never colour alone */
.nk-pill { display: inline-flex; align-items: center; gap: var(--nk-space-6);
  border-radius: var(--nk-radius-pill); padding: var(--nk-space-8) var(--nk-space-14);
  font-size: var(--nk-fs-12); font-weight: var(--nk-fw-bold); white-space: nowrap; }
.nk-pill--live { background: var(--nk-brand-soft); color: var(--nk-brand); }
.nk-pill--wait { background: var(--nk-accent-soft); color: var(--nk-accent-dark); }
.nk-pill--off  { background: var(--nk-surface); color: var(--nk-muted); }

/* Host calendar */
.nk-hostcal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: var(--nk-space-6); }
.nk-hostday { display: flex; flex-direction: column; justify-content: space-between;
  min-height: var(--nk-space-72); text-align: left; font: inherit;
  border: 1px solid var(--nk-line); border-radius: var(--nk-radius-lg);
  background: var(--nk-card); color: var(--nk-text);
  padding: var(--nk-space-8); cursor: pointer;
  transition: border-color var(--nk-duration-fast) var(--nk-ease-standard); }
.nk-hostday:hover:not(:disabled) { border-color: var(--nk-brand); }
.nk-hostday__n { font-size: var(--nk-fs-14); font-weight: var(--nk-fw-bold); }
.nk-hostday__tag { font-size: var(--nk-fs-11); font-weight: var(--nk-fw-semibold);
  color: var(--nk-muted); }
.nk-hostday--booked { background: var(--nk-brand-soft); border-color: var(--nk-brand-soft); }
.nk-hostday--booked .nk-hostday__tag { color: var(--nk-brand); }
.nk-hostday--blocked { background: var(--nk-surface); }
.nk-hostday--blocked .nk-hostday__n { text-decoration: line-through; color: var(--nk-muted); }
.nk-hostday:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 575.98px) {
  .nk-hostcal { gap: var(--nk-space-4); }
  .nk-hostday { min-height: var(--nk-space-56); padding: var(--nk-space-6); }
  .nk-hostday__tag { display: none; }
}

.nk-swatch { width: var(--nk-space-12); height: var(--nk-space-12); flex: none;
  border-radius: var(--nk-radius-xs); border: 1px solid var(--nk-line); }
.nk-swatch--booked { background: var(--nk-brand-soft); border-color: var(--nk-brand-soft); }
.nk-swatch--blocked { background: var(--nk-surface); }
.nk-swatch--open { background: var(--nk-card); }

/* Reservations */
.nk-res { display: grid; align-items: center; gap: var(--nk-space-16);
  grid-template-columns: var(--nk-space-40) minmax(0, 1.4fr) minmax(0, 1fr) auto auto;
  background: var(--nk-card); border: 1px solid var(--nk-line);
  border-radius: var(--nk-radius-3xl); padding: var(--nk-space-16); }
@media (max-width: 767.98px) {
  .nk-res { grid-template-columns: var(--nk-space-40) minmax(0, 1fr) auto; }
  .nk-res__dates { grid-column: 2 / -1; }
}

/* --------------------------------------------------------------------------
   21. Earnings chart — one series, one hue
   -------------------------------------------------------------------------- */

.nk-chart { display: flex; align-items: flex-end; gap: var(--nk-space-2);
  height: var(--nk-space-96); padding-top: var(--nk-space-24);
  border-bottom: 1px solid var(--nk-line); }
@media (min-width: 768px) { .nk-chart { height: calc(var(--nk-space-96) * 2); } }

.nk-chart__col { flex: 1 1 0; display: flex; flex-direction: column;
  justify-content: flex-end; align-items: center; gap: var(--nk-space-6);
  height: 100%; min-width: 0; }
.nk-chart__label { font-size: var(--nk-fs-11); font-weight: var(--nk-fw-bold);
  color: var(--nk-muted); white-space: nowrap; }
.nk-chart__bar { width: 100%; max-width: var(--nk-space-56); background: var(--nk-brand);
  border-radius: var(--nk-radius-xs) var(--nk-radius-xs) 0 0; }
/* The projected month is not paid money — hollow, and it says so. */
.nk-chart__bar--projected { background: transparent;
  border: var(--nk-space-2) dashed var(--nk-brand); border-bottom: 0; }
.nk-chart__col:hover .nk-chart__bar { background: var(--nk-brand-dark); }
.nk-chart__col:hover .nk-chart__bar--projected { background: transparent;
  border-color: var(--nk-brand-dark); }

.nk-chart__axis { display: flex; gap: var(--nk-space-2); padding-top: var(--nk-space-8); }
.nk-chart__tick { flex: 1 1 0; text-align: center; font-size: var(--nk-fs-12);
  font-weight: var(--nk-fw-semibold); color: var(--nk-muted); min-width: 0; }

.nk-legend { display: flex; flex-wrap: wrap; gap: var(--nk-space-16);
  font-size: var(--nk-fs-13); color: var(--nk-muted); }
.nk-legend__key { display: inline-flex; align-items: center; gap: var(--nk-space-8); }
.nk-legend__mark { width: var(--nk-space-14); height: var(--nk-space-14); flex: none;
  border-radius: var(--nk-radius-xs); background: var(--nk-brand); }
.nk-legend__mark--projected { background: transparent;
  border: var(--nk-space-2) dashed var(--nk-brand); }

.table { --bs-table-bg: transparent; --bs-table-color: var(--nk-text);
  --bs-table-border-color: var(--nk-line); font-size: var(--nk-fs-14); }
.table > thead { color: var(--nk-muted); font-size: var(--nk-fs-12);
  text-transform: uppercase; letter-spacing: var(--nk-ls-wide); }

/* --------------------------------------------------------------------------
   22. Host landing — the earnings calculator
   -------------------------------------------------------------------------- */

.nk-hero--short { min-height: 44vh; }

/* A pale photograph needs a heavier scrim than a dark one to keep the copy
   readable. Used where the image behind the words is light. */
.nk-hero__scrim--deep { background: linear-gradient(180deg,
  color-mix(in srgb, var(--nk-text) 55%, transparent) 0%,
  color-mix(in srgb, var(--nk-text) 30%, transparent) 30%,
  color-mix(in srgb, var(--nk-text) 82%, transparent) 100%); }

.nk-calc { background: var(--nk-card); border: 1px solid var(--nk-line);
  border-radius: var(--nk-radius-4xl); padding: var(--nk-space-28);
  box-shadow: var(--nk-shadow-lg); }
@media (min-width: 992px) { .nk-calc { position: sticky; top: var(--nk-space-96); } }

/* One number is the whole story here, so it is the hero — not a chart. */
.nk-calc__figure { font-size: var(--nk-display-sm); font-weight: var(--nk-fw-extrabold);
  letter-spacing: var(--nk-ls-tightest); line-height: var(--nk-lh-none);
  margin-bottom: var(--nk-space-8); }
.nk-calc__lines { display: flex; flex-direction: column; gap: var(--nk-space-10);
  font-size: var(--nk-fs-14); padding: var(--nk-space-20) 0;
  border-top: 1px solid var(--nk-line); border-bottom: 1px solid var(--nk-line); }

.nk-field-label { display: flex; justify-content: space-between; align-items: baseline;
  font-size: var(--nk-fs-15); font-weight: var(--nk-fw-bold);
  margin-bottom: var(--nk-space-12); }
.nk-field-label span { color: var(--nk-muted); font-weight: var(--nk-fw-semibold); }

/* --------------------------------------------------------------------------
   23. Inbox
   -------------------------------------------------------------------------- */

/* 330px: the thread list, the narrowest width that holds a name, a preview
   line and a timestamp without wrapping. 560px: the shortest the panel can be
   and still show a thread's last few messages above the composer. */
.nk-inbox { display: grid; grid-template-columns: 330px minmax(0, 1fr);
  border: 1px solid var(--nk-line); border-radius: var(--nk-radius-4xl);
  overflow: hidden; background: var(--nk-card); min-height: 560px; }
@media (max-width: 991.98px) { .nk-inbox { grid-template-columns: minmax(0, 1fr); } }

.nk-threads { display: flex; flex-direction: column; gap: var(--nk-space-4);
  padding: var(--nk-space-10); border-right: 1px solid var(--nk-line);
  overflow-y: auto; }
@media (max-width: 991.98px) {
  /* Two full rows and a hint of the third, so the list reads as scrollable
     rather than as a clipped one. */
  .nk-threads { border-right: 0; border-bottom: 1px solid var(--nk-line);
    max-height: calc(var(--nk-space-96) * 2 + var(--nk-space-56)); }
}

.nk-thread { display: flex; gap: var(--nk-space-12); width: 100%; text-align: left;
  background: none; border: 1px solid transparent; border-radius: var(--nk-radius-2xl);
  padding: var(--nk-space-14); font: inherit; color: var(--nk-text); cursor: pointer;
  transition: background var(--nk-duration-fast) var(--nk-ease-standard); }
.nk-thread:hover { background: var(--nk-surface); }
.nk-thread.active { background: var(--nk-surface); border-color: var(--nk-line); }
.nk-thread__preview { display: block; font-size: var(--nk-fs-13); color: var(--nk-muted);
  margin-top: var(--nk-space-6); line-height: var(--nk-lh-base);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.nk-dot { width: var(--nk-space-8); height: var(--nk-space-8); flex: none;
  border-radius: var(--nk-radius-circle); background: var(--nk-accent); }

.nk-convo { display: flex; flex-direction: column; min-height: 0; }
.nk-convo__head { display: flex; align-items: center; gap: var(--nk-space-14);
  padding: var(--nk-space-20) var(--nk-space-24); border-bottom: 1px solid var(--nk-line); }
.nk-convo__body { flex: 1; display: flex; flex-direction: column; gap: var(--nk-space-16);
  padding: var(--nk-space-24); overflow-y: auto; }

.nk-bubble { display: flex; flex-direction: column; gap: var(--nk-space-4); }
.nk-bubble__text { max-width: 62%; border-radius: var(--nk-radius-3xl);
  padding: var(--nk-space-14) var(--nk-space-16); font-size: var(--nk-fs-15);
  line-height: var(--nk-lh-relaxed); overflow-wrap: anywhere; }
@media (max-width: 575.98px) { .nk-bubble__text { max-width: 84%; } }
.nk-bubble__at { font-size: var(--nk-fs-12); color: var(--nk-muted); }

.nk-bubble--them { align-items: flex-start; }
.nk-bubble--them .nk-bubble__text { background: var(--nk-surface); color: var(--nk-text);
  border-bottom-left-radius: var(--nk-radius-xs); }

.nk-bubble--me { align-items: flex-end; }
.nk-bubble--me .nk-bubble__text { background: var(--nk-brand); color: var(--nk-bg);
  border-bottom-right-radius: var(--nk-radius-xs); }

.nk-composer { display: flex; gap: var(--nk-space-10);
  padding: var(--nk-space-16) var(--nk-space-24) var(--nk-space-20);
  border-top: 1px solid var(--nk-line); }
.nk-composer .form-control { background: var(--nk-bg); border-radius: var(--nk-radius-xl); }
.nk-composer .nk-btn { padding-inline: var(--nk-space-24); }

/* --------------------------------------------------------------------------
   24. Page head — the title band the interior pages open with
   -------------------------------------------------------------------------- */

.nk-pagehead { padding: var(--nk-space-48) 0 var(--nk-space-40);
  border-bottom: 1px solid var(--nk-line); margin-bottom: var(--nk-space-48); }
.nk-pagehead__title { font-size: var(--nk-display-sm); font-weight: var(--nk-fw-extrabold);
  letter-spacing: var(--nk-ls-tighter); line-height: var(--nk-lh-tight);
  margin: 0 0 var(--nk-space-16); text-wrap: balance; }
.nk-pagehead__sub { font-size: var(--nk-fs-18); line-height: var(--nk-lh-relaxed);
  color: var(--nk-muted); margin: 0; max-width: 34em; }

/* Breadcrumb — Bootstrap's, retokenised */
.breadcrumb { --bs-breadcrumb-divider-color: var(--nk-muted);
  --bs-breadcrumb-item-active-color: var(--nk-muted);
  --bs-breadcrumb-item-padding-x: var(--nk-space-8);
  --bs-breadcrumb-margin-bottom: var(--nk-space-16);
  font-size: var(--nk-fs-13); font-weight: var(--nk-fw-semibold); }
.breadcrumb a { color: var(--nk-text); text-decoration: none; }
.breadcrumb a:hover { color: var(--nk-brand); }

/* --------------------------------------------------------------------------
   25. Accordion — Bootstrap's, retokenised (FAQ)
   -------------------------------------------------------------------------- */

.nk-acc { --bs-accordion-bg: transparent; --bs-accordion-color: var(--nk-text);
  --bs-accordion-border-color: var(--nk-line); --bs-accordion-border-radius: var(--nk-radius-2xl);
  --bs-accordion-inner-border-radius: var(--nk-radius-2xl);
  --bs-accordion-btn-color: var(--nk-text); --bs-accordion-btn-bg: transparent;
  --bs-accordion-active-color: var(--nk-text); --bs-accordion-active-bg: var(--nk-surface);
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-btn-padding-y: var(--nk-space-20);
  --bs-accordion-btn-padding-x: var(--nk-space-24);
  --bs-accordion-body-padding-y: var(--nk-space-4);
  --bs-accordion-body-padding-x: var(--nk-space-24);
  --bs-accordion-btn-icon-width: var(--nk-space-16); }
.nk-acc .accordion-item + .accordion-item { margin-top: var(--nk-space-12); }
.nk-acc .accordion-item { border-radius: var(--nk-radius-2xl); overflow: hidden; }
.nk-acc .accordion-button { font-size: var(--nk-fs-16); font-weight: var(--nk-fw-bold);
  line-height: var(--nk-lh-snug); }
.nk-acc .accordion-body { font-size: var(--nk-fs-15); line-height: var(--nk-lh-loose);
  color: var(--nk-muted); padding-bottom: var(--nk-space-24); }
.nk-acc .accordion-body p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   26. Selects and labels — the rest of the Bootstrap form set
   -------------------------------------------------------------------------- */

.form-label { font-size: var(--nk-fs-14); font-weight: var(--nk-fw-bold);
  margin-bottom: var(--nk-space-8); }
.form-select { background-color: var(--nk-card); color: var(--nk-text);
  border: 1px solid var(--nk-line); border-radius: var(--nk-radius-xl);
  padding: var(--nk-space-12) var(--nk-space-40) var(--nk-space-12) var(--nk-space-16);
  font-size: var(--nk-fs-15); }
.form-select:focus { background-color: var(--nk-card); border-color: var(--nk-text);
  box-shadow: none; }
.invalid-feedback { font-size: var(--nk-fs-13); font-weight: var(--nk-fw-semibold);
  color: var(--nk-accent-dark); }

/* --------------------------------------------------------------------------
   27. Journal — the post cards and their pager
   -------------------------------------------------------------------------- */

.nk-post { display: flex; flex-direction: column; height: 100%;
  background: var(--nk-card); border: 1px solid var(--nk-line);
  border-radius: var(--nk-radius-3xl); overflow: hidden;
  transition: border-color var(--nk-duration-fast) var(--nk-ease-standard),
              box-shadow var(--nk-duration-fast) var(--nk-ease-standard); }
.nk-post:hover { border-color: var(--nk-brand); box-shadow: var(--nk-shadow-md); }
.nk-post__media { aspect-ratio: 3 / 2; background: var(--nk-surface); }
.nk-post__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nk-post__body { display: flex; flex-direction: column; flex: 1;
  gap: var(--nk-space-10); padding: var(--nk-space-20); }
.nk-post__title { font-size: var(--nk-fs-18); font-weight: var(--nk-fw-extrabold);
  line-height: var(--nk-lh-snug); letter-spacing: var(--nk-ls-tight); margin: 0; }
.nk-post__title a { color: inherit; text-decoration: none; }
.nk-post__title a:hover { color: var(--nk-brand); }
.nk-post__meta { display: flex; align-items: center; gap: var(--nk-space-8);
  font-size: var(--nk-fs-13); color: var(--nk-muted); margin-top: auto; }

/* The lead post: one column below lg, image beside copy above it */
.nk-post--lead { display: grid; grid-template-columns: 1fr; }
@media (min-width: 992px) { .nk-post--lead { grid-template-columns: 1.15fr 1fr; } }
.nk-post--lead .nk-post__media { aspect-ratio: 3 / 2; height: 100%; }
.nk-post--lead .nk-post__body { padding: var(--nk-space-32); justify-content: center; }
.nk-post--lead .nk-post__title { font-size: var(--nk-fs-26); }

.pagination { --bs-pagination-color: var(--nk-text); --bs-pagination-bg: var(--nk-card);
  --bs-pagination-border-color: var(--nk-line); --bs-pagination-border-radius: var(--nk-radius-pill);
  --bs-pagination-hover-color: var(--nk-bg); --bs-pagination-hover-bg: var(--nk-brand);
  --bs-pagination-hover-border-color: var(--nk-brand);
  --bs-pagination-active-bg: var(--nk-text); --bs-pagination-active-border-color: var(--nk-text);
  --bs-pagination-active-color: var(--nk-bg);
  --bs-pagination-disabled-color: var(--nk-muted); --bs-pagination-disabled-bg: var(--nk-surface);
  --bs-pagination-disabled-border-color: var(--nk-line);
  --bs-pagination-font-size: var(--nk-fs-14); --bs-pagination-focus-box-shadow: none;
  gap: var(--nk-space-6); }
.pagination .page-link { font-weight: var(--nk-fw-bold); border-radius: var(--nk-radius-pill);
  min-width: var(--nk-space-40); text-align: center; }

/* --------------------------------------------------------------------------
   28. Article — the long-form body on a post
   -------------------------------------------------------------------------- */

.nk-article { max-width: var(--nk-container-prose); }
.nk-article > * { margin-bottom: var(--nk-space-20); }
.nk-article h2 { font-size: var(--nk-fs-22); font-weight: var(--nk-fw-extrabold);
  letter-spacing: var(--nk-ls-tight); margin-top: var(--nk-space-40); }
.nk-article h3 { font-size: var(--nk-fs-18); font-weight: var(--nk-fw-extrabold);
  margin-top: var(--nk-space-32); }
.nk-article p, .nk-article li { font-size: var(--nk-fs-16); line-height: var(--nk-lh-loose); }
.nk-article ul, .nk-article ol { padding-left: var(--nk-space-24); }
.nk-article li + li { margin-top: var(--nk-space-8); }
.nk-article img { width: 100%; border-radius: var(--nk-radius-3xl); display: block; }
.nk-article figcaption { font-size: var(--nk-fs-13); color: var(--nk-muted);
  margin-top: var(--nk-space-10); }
.nk-article blockquote { border-left: var(--nk-space-2) solid var(--nk-brand);
  padding-left: var(--nk-space-24); margin-left: 0;
  font-size: var(--nk-fs-18); line-height: var(--nk-lh-relaxed);
  font-weight: var(--nk-fw-medium); color: var(--nk-text); }

/* --------------------------------------------------------------------------
   29. Auth — log in and join
   -------------------------------------------------------------------------- */

.nk-auth { display: grid; grid-template-columns: 1fr; min-height: 100vh; }
@media (min-width: 992px) { .nk-auth { grid-template-columns: 1fr 1fr; } }
.nk-auth__art { position: relative; display: none; }
@media (min-width: 992px) { .nk-auth__art { display: block; } }
.nk-auth__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nk-auth__quote { position: relative; z-index: var(--nk-z-raised);
  display: flex; flex-direction: column; justify-content: flex-end; height: 100%;
  padding: var(--nk-space-48); color: var(--nk-bg); }
.nk-auth__form { display: flex; flex-direction: column; justify-content: center;
  padding: var(--nk-space-48) var(--nk-gutter-page); }
.nk-auth__inner { width: 100%; max-width: var(--nk-container-narrow); margin-inline: auto; }
.nk-auth__or { display: flex; align-items: center; gap: var(--nk-space-16);
  font-size: var(--nk-fs-13); color: var(--nk-muted); }
.nk-auth__or::before, .nk-auth__or::after { content: ""; flex: 1;
  border-top: 1px solid var(--nk-line); }

/* --------------------------------------------------------------------------
   30. Pricing — the host plans
   -------------------------------------------------------------------------- */

.nk-plan { display: flex; flex-direction: column; height: 100%;
  background: var(--nk-card); border: 1px solid var(--nk-line);
  border-radius: var(--nk-radius-4xl); padding: var(--nk-space-28); }
.nk-plan--featured { border-color: var(--nk-brand); border-width: 1.5px;
  box-shadow: var(--nk-shadow-lg); }
.nk-plan__rate { font-size: var(--nk-display-sm); font-weight: var(--nk-fw-extrabold);
  letter-spacing: var(--nk-ls-tightest); line-height: var(--nk-lh-none); }
.nk-plan__list { display: flex; flex-direction: column; gap: var(--nk-space-12);
  list-style: none; padding: 0; margin: var(--nk-space-24) 0; font-size: var(--nk-fs-14); }
.nk-plan__list li { display: flex; gap: var(--nk-space-10); align-items: flex-start;
  line-height: var(--nk-lh-relaxed); }
.nk-plan__list svg { color: var(--nk-brand); flex: none; margin-top: var(--nk-space-2); }
.nk-plan__list li[data-off] { color: var(--nk-muted); }
.nk-plan__list li[data-off] svg { color: var(--nk-muted); opacity: .5; }

.nk-compare { width: 100%; border-collapse: collapse; font-size: var(--nk-fs-14); }
.nk-compare th, .nk-compare td { padding: var(--nk-space-14) var(--nk-space-16);
  border-bottom: 1px solid var(--nk-line); text-align: left; }
.nk-compare thead th { font-size: var(--nk-fs-13); font-weight: var(--nk-fw-extrabold);
  letter-spacing: var(--nk-ls-wide); text-transform: uppercase; color: var(--nk-muted); }
.nk-compare td:not(:first-child), .nk-compare th:not(:first-child) { text-align: center; }
.nk-compare tbody th { font-weight: var(--nk-fw-semibold); }

/* --------------------------------------------------------------------------
   31. About — the values, the numbers and the people
   -------------------------------------------------------------------------- */

.nk-value { background: var(--nk-card); border: 1px solid var(--nk-line);
  border-radius: var(--nk-radius-3xl); padding: var(--nk-space-24); height: 100%; }
.nk-value__ic { display: grid; place-items: center;
  width: var(--nk-space-48); height: var(--nk-space-48);
  border-radius: var(--nk-radius-xl); background: var(--nk-brand-soft);
  color: var(--nk-brand); margin-bottom: var(--nk-space-16); }

.nk-person { text-align: center; }
/* This edition ships no photography of people, so a team card is an initial,
   not a stock portrait standing in for someone who does not exist. */
.nk-person__initial { display: grid; place-items: center; aspect-ratio: 1;
  width: 100%; border-radius: var(--nk-radius-4xl);
  background: var(--nk-brand-soft); color: var(--nk-brand);
  font-size: var(--nk-display-sm); font-weight: var(--nk-fw-extrabold);
  letter-spacing: var(--nk-ls-tight); margin-bottom: var(--nk-space-14); }

/* The story rail — a dated list, ruled rather than dotted */
.nk-milestone { display: grid; grid-template-columns: 1fr; gap: var(--nk-space-4);
  padding: var(--nk-space-24) 0; border-top: 1px solid var(--nk-line); }
@media (min-width: 768px) { .nk-milestone { grid-template-columns: var(--nk-space-96) 1fr;
  gap: var(--nk-space-32); } }
.nk-milestone__year { font-size: var(--nk-fs-14); font-weight: var(--nk-fw-extrabold);
  color: var(--nk-brand); letter-spacing: var(--nk-ls-wide); }

/* --------------------------------------------------------------------------
   32. Contact
   -------------------------------------------------------------------------- */

.nk-contact { background: var(--nk-card); border: 1px solid var(--nk-line);
  border-radius: var(--nk-radius-4xl); padding: var(--nk-space-32); }
.nk-office { display: flex; gap: var(--nk-space-16); padding: var(--nk-space-20) 0;
  border-bottom: 1px solid var(--nk-line); }
.nk-office__ic { display: grid; place-items: center; flex: none;
  width: var(--nk-space-40); height: var(--nk-space-40);
  border-radius: var(--nk-radius-circle); background: var(--nk-surface);
  color: var(--nk-brand); }

/* --------------------------------------------------------------------------
   33. Standalone pages — not found, and the one before launch
   -------------------------------------------------------------------------- */

.nk-standalone { display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; min-height: 72vh;
  padding: var(--nk-space-64) 0; }
.nk-standalone__code { font-size: var(--nk-fs-13); font-weight: var(--nk-fw-extrabold);
  letter-spacing: var(--nk-ls-widest); text-transform: uppercase;
  color: var(--nk-brand); margin-bottom: var(--nk-space-16); }
.nk-standalone__title { font-size: var(--nk-display-md); font-weight: var(--nk-fw-extrabold);
  letter-spacing: var(--nk-ls-tighter); line-height: var(--nk-lh-tight);
  margin: 0 0 var(--nk-space-16); text-wrap: balance; }

.nk-countdown { display: flex; flex-wrap: wrap; gap: var(--nk-space-12); }
.nk-countdown__cell { background: color-mix(in srgb, var(--nk-bg) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--nk-bg) 30%, transparent);
  border-radius: var(--nk-radius-2xl); padding: var(--nk-space-16) var(--nk-space-20);
  min-width: var(--nk-space-96); }
/* Four cells do not fit a 390px screen inside the page gutter. Two by two is
   tidier than three and a stray one, so it becomes a grid rather than wrapping. */
@media (max-width: 575.98px) {
  .nk-countdown { display: grid; grid-template-columns: 1fr 1fr; }
  .nk-countdown__cell { min-width: 0; padding: var(--nk-space-14) var(--nk-space-16); }
}
.nk-countdown__n { font-size: var(--nk-fs-32); font-weight: var(--nk-fw-extrabold);
  line-height: var(--nk-lh-none); font-variant-numeric: tabular-nums;
  letter-spacing: var(--nk-ls-tight); }
.nk-countdown__l { font-size: var(--nk-fs-12); font-weight: var(--nk-fw-bold);
  letter-spacing: var(--nk-ls-wide); text-transform: uppercase; opacity: .8; }

/* The launch page is its own world: full-bleed photograph, copy over it */
.nk-launch { position: relative; min-height: 100vh; display: flex;
  flex-direction: column; color: var(--nk-bg); }
.nk-launch > img { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; }
.nk-launch__inner { position: relative; z-index: var(--nk-z-raised);
  display: flex; flex-direction: column; flex: 1;
  padding: var(--nk-space-40) var(--nk-gutter-page); }

/* --------------------------------------------------------------------------
   34. Sitemap
   -------------------------------------------------------------------------- */

.nk-sitemap { list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: var(--nk-space-10); }
.nk-sitemap a { display: block; color: var(--nk-text); text-decoration: none;
  font-weight: var(--nk-fw-semibold); line-height: var(--nk-lh-snug); }
.nk-sitemap a:hover { color: var(--nk-brand); }
/* The description sits under the label rather than beside it: side by side, a
   long page name breaks mid-phrase in a narrow column. */
.nk-sitemap span { display: block; font-size: var(--nk-fs-13);
  font-weight: var(--nk-fw-regular); color: var(--nk-muted);
  margin-top: var(--nk-space-2); }

/* --------------------------------------------------------------------------
   35. Numbered steps — how it works
   -------------------------------------------------------------------------- */

.nk-step { display: grid; grid-template-columns: var(--nk-space-48) 1fr;
  gap: var(--nk-space-20); align-items: start; }
.nk-step__n { display: grid; place-items: center;
  width: var(--nk-space-48); height: var(--nk-space-48);
  border-radius: var(--nk-radius-circle); background: var(--nk-brand);
  color: var(--nk-bg); font-size: var(--nk-fs-18); font-weight: var(--nk-fw-extrabold);
  font-variant-numeric: tabular-nums; }
.nk-step--soft .nk-step__n { background: var(--nk-brand-soft); color: var(--nk-brand); }
/* Three across on the home page, where the steps are a strip rather than the
   stacked list how-it-works.html runs them as. */
.nk-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--nk-space-32); }
@media (max-width: 767.98px) {
  .nk-steps { grid-template-columns: minmax(0, 1fr); gap: var(--nk-space-24); }
}

/* --------------------------------------------------------------------------
   36. Careers — the open roles
   -------------------------------------------------------------------------- */

.nk-role { display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--nk-space-16); padding: var(--nk-space-20) 0;
  border-bottom: 1px solid var(--nk-line); }
.nk-role__title { font-size: var(--nk-fs-18); font-weight: var(--nk-fw-extrabold);
  letter-spacing: var(--nk-ls-tight); margin: 0; }
.nk-role__title a { color: inherit; text-decoration: none; }
.nk-role__title a:hover { color: var(--nk-brand); }

/* --------------------------------------------------------------------------
   37. Account — the settings shell
   -------------------------------------------------------------------------- */

.nk-acct { display: grid; grid-template-columns: 1fr; gap: var(--nk-space-40);
  align-items: start; }
@media (min-width: 992px) { .nk-acct { grid-template-columns: var(--nk-container-rail) 1fr; } }

/* Bootstrap's vertical pills, retokenised into a plain ruled list */
.nk-sidenav { --bs-nav-link-color: var(--nk-muted); --bs-nav-link-hover-color: var(--nk-text);
  --bs-nav-pills-link-active-bg: var(--nk-surface);
  --bs-nav-pills-link-active-color: var(--nk-text);
  --bs-nav-pills-border-radius: var(--nk-radius-xl);
  --bs-nav-link-font-size: var(--nk-fs-15); --bs-nav-link-font-weight: var(--nk-fw-semibold);
  --bs-nav-link-padding-y: var(--nk-space-12); --bs-nav-link-padding-x: var(--nk-space-16);
  gap: var(--nk-space-2); }
@media (min-width: 992px) { .nk-sidenav { position: sticky; top: var(--nk-space-96); } }
.nk-sidenav .nav-link { display: flex; align-items: center; gap: var(--nk-space-12);
  width: 100%; text-align: left; }

/* A row of label / value / action, the shape most settings take */
.nk-setting { display: flex; flex-wrap: wrap; align-items: baseline;
  gap: var(--nk-space-16); padding: var(--nk-space-20) 0;
  border-bottom: 1px solid var(--nk-line); }
.nk-setting:last-child { border-bottom: 0; }
.nk-setting__label { flex: none; width: var(--nk-container-rail);
  font-size: var(--nk-fs-15); font-weight: var(--nk-fw-bold); }
.nk-setting__value { flex: 1 1 12em; font-size: var(--nk-fs-15); color: var(--nk-muted); }

/* --------------------------------------------------------------------------
   38. The listing wizard
   -------------------------------------------------------------------------- */

.nk-wizard { max-width: var(--nk-container-panel); margin-inline: auto; }
.nk-wizard__rail { display: flex; gap: var(--nk-space-6); margin-bottom: var(--nk-space-32); }
.nk-wizard__seg { flex: 1; height: var(--nk-space-6); border-radius: var(--nk-radius-pill);
  background: var(--nk-line); }
.nk-wizard__seg[data-done] { background: var(--nk-brand); }
.nk-wizard__seg[data-now] { background: var(--nk-accent); }

/* Big radio tiles — a btn-check with room for a line of explanation */
.nk-tile { display: flex; gap: var(--nk-space-16); align-items: flex-start;
  width: 100%; height: 100%; background: var(--nk-card);
  border: 1px solid var(--nk-line); border-radius: var(--nk-radius-3xl);
  padding: var(--nk-space-20); cursor: pointer;
  transition: border-color var(--nk-duration-fast) var(--nk-ease-standard),
              background var(--nk-duration-fast) var(--nk-ease-standard); }
.nk-tile:hover { border-color: var(--nk-brand); }
.btn-check:checked + .nk-tile { border-color: var(--nk-text); border-width: 1.5px;
  background: var(--nk-surface); }
.btn-check:focus-visible + .nk-tile { outline: var(--nk-space-2) solid var(--nk-brand);
  outline-offset: var(--nk-space-2); }
.nk-tile__ic { display: grid; place-items: center; flex: none;
  width: var(--nk-space-40); height: var(--nk-space-40);
  border-radius: var(--nk-radius-xl); background: var(--nk-brand-soft); color: var(--nk-brand); }

/* --------------------------------------------------------------------------
   39. Style guide — the specimen sheet
   -------------------------------------------------------------------------- */

.nk-sg { padding: var(--nk-space-32) 0; border-bottom: 1px solid var(--nk-line); }
.nk-sg__swatch { border-radius: var(--nk-radius-2xl); border: 1px solid var(--nk-line);
  overflow: hidden; }
.nk-sg__chip { height: var(--nk-space-72); }
.nk-sg__meta { padding: var(--nk-space-12) var(--nk-space-14);
  background: var(--nk-card); font-size: var(--nk-fs-12); }
.nk-sg__token { font-family: var(--nk-font-mono); font-size: var(--nk-fs-11);
  color: var(--nk-muted); word-break: break-all; }
.nk-sg__row { display: flex; flex-wrap: wrap; align-items: baseline;
  gap: var(--nk-space-16); padding: var(--nk-space-12) 0;
  border-bottom: 1px solid var(--nk-line); }
.nk-sg__row:last-child { border-bottom: 0; }
.nk-sg__row > code { flex: none; width: var(--nk-space-96);
  font-family: var(--nk-font-mono); font-size: var(--nk-fs-11); color: var(--nk-muted); }
.nk-sg__box { background: var(--nk-brand-soft); border: 1px solid var(--nk-brand);
  height: var(--nk-space-48); }
.nk-sg__stage { background: var(--nk-surface); border-radius: var(--nk-radius-3xl);
  padding: var(--nk-space-24); }

/* --------------------------------------------------------------------------
   40. Home 2 — the alternate home page (index-2.html)

   The same components as the first home page, re-cut for a full-bleed opening:
   the header sits on the photograph rather than above it, and the search bar
   lives inside the hero with its panels hanging off the bottom edge.
   -------------------------------------------------------------------------- */

/* The header stops being a bar and becomes an overlay. Absolute rather than
   fixed: it belongs to the photograph, and scrolls away with it. */
.nk-header--overlay { position: absolute; left: 0; right: 0; top: 0;
  background: none; border-bottom-color: transparent; color: var(--nk-bg); }
.nk-header--overlay .nk-logo,
.nk-header--overlay .nk-navpill,
.nk-header--overlay .nk-btn-ghost { color: var(--nk-bg); }
.nk-header--overlay .nk-navpill:hover,
.nk-header--overlay .nk-btn-ghost:hover { color: var(--nk-accent-soft); }
.nk-header--overlay .nk-navpill[aria-current="page"] {
  background: color-mix(in srgb, var(--nk-bg) 18%, transparent); color: var(--nk-bg); }
.nk-header--overlay .nk-btn-outline { background: color-mix(in srgb, var(--nk-bg) 14%, transparent);
  border-color: color-mix(in srgb, var(--nk-bg) 34%, transparent); color: var(--nk-bg); }
.nk-header--overlay .nk-btn-outline:hover { background: color-mix(in srgb, var(--nk-bg) 24%, transparent);
  border-color: var(--nk-bg); color: var(--nk-bg); }

/* Full-bleed hero: square corners, edge to edge, and — unlike the rounded one —
   it may overflow, because the search panels drop out of its bottom edge. */
.nk-hero--full { display: block; overflow: visible; border-radius: var(--nk-radius-none);
  margin-top: 0; min-height: min(760px, 92vh); }
.nk-hero__media { position: absolute; inset: 0; overflow: hidden; }
.nk-hero__media img { position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; }
.nk-hero__inner { position: relative; display: flex; flex-direction: column;
  justify-content: flex-end; min-height: inherit;
  max-width: var(--nk-container-page); margin-inline: auto;
  padding: var(--nk-space-96) var(--nk-gutter-page) var(--nk-space-56); }
.nk-hero--full .nk-hero__copy { padding: 0; max-width: var(--nk-container-content); }
.nk-hero__note { font-size: var(--nk-fs-14); font-weight: var(--nk-fw-semibold);
  color: var(--nk-bg); margin: var(--nk-space-14) 0 0; }

/* --- the search bar that sits on the photograph ------------------------- */

.nk-pillbar { position: relative; z-index: var(--nk-z-dropdown);
  max-width: var(--nk-container-panel); margin-top: var(--nk-space-32); }
.nk-pillbar__row { display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--nk-space-8); background: var(--nk-card);
  border-radius: var(--nk-radius-pill); padding: var(--nk-space-8);
  box-shadow: var(--nk-shadow-xl); }
.nk-pillfield { flex: 1 1 0; min-width: 0; text-align: left;
  background: none; border: 0; border-radius: var(--nk-radius-pill);
  padding: var(--nk-space-8) var(--nk-space-20); font: inherit; cursor: pointer;
  transition: background var(--nk-duration-fast) var(--nk-ease-standard); }
.nk-pillfield + .nk-pillfield { border-left: 1px solid var(--nk-line); }
.nk-pillfield:hover, .nk-pillfield[aria-expanded="true"] { background: var(--nk-surface); }
.nk-pillfield__value { display: block; font-size: var(--nk-fs-15);
  font-weight: var(--nk-fw-semibold); margin-top: var(--nk-space-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nk-pillfield__value--empty { color: var(--nk-muted); }
.nk-pillbar__go { flex: none; margin-left: auto;
  border-radius: var(--nk-radius-pill); padding: var(--nk-space-14) var(--nk-space-24); }

/* The panels hang under the bar rather than growing it, so the hero copy above
   never moves when one opens. */
.nk-pillbar__pop { position: absolute; left: 0; right: 0;
  top: calc(100% + var(--nk-space-12)); z-index: var(--nk-z-dropdown); }
.nk-pop { width: min(420px, 100%); background: var(--nk-card);
  border-radius: var(--nk-radius-4xl); box-shadow: var(--nk-shadow-2xl);
  padding: var(--nk-space-24); }
.nk-pop--wide { width: min(560px, 100%); }
.nk-pop--end { margin-left: auto; }

@media (max-width: 767.98px) {
  .nk-pillbar__row { border-radius: var(--nk-radius-4xl); }
  .nk-pillfield { flex-basis: 100%; }
  .nk-pillfield + .nk-pillfield { border-left: 0; border-top: 1px solid var(--nk-line); }
  .nk-pillbar__go { width: 100%; margin-left: 0; }
  /* Below md there is no room to hang a panel off the bar — it becomes a block
     under it, and the page grows instead. */
  .nk-pillbar__pop { position: static; margin-top: var(--nk-space-12); }
  .nk-pop, .nk-pop--wide { width: 100%; padding: var(--nk-space-20); }
}

/* --- the figures under the hero ------------------------------------------ */

.nk-figures { display: grid; gap: var(--nk-space-14);
  /* 200px: the widest label ("Homes, each visited in person") on two lines */
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.nk-figure { background: var(--nk-surface); border-radius: var(--nk-radius-3xl);
  padding: var(--nk-space-20) var(--nk-space-24); }
.nk-figure__value { font-size: var(--nk-fs-26); font-weight: var(--nk-fw-extrabold);
  letter-spacing: var(--nk-ls-tight); color: var(--nk-brand); margin: 0 0 var(--nk-space-4); }
.nk-figure__label { font-size: var(--nk-fs-14); font-weight: var(--nk-fw-semibold);
  color: var(--nk-muted); margin: 0; }

/* --- the promise band ---------------------------------------------------- */

.nk-band { background: var(--nk-brand-soft); border-radius: var(--nk-radius-5xl);
  padding: var(--nk-space-40); }
@media (max-width: 575.98px) { .nk-band { padding: var(--nk-space-24); } }
.nk-band__title { color: var(--nk-brand-dark); }
.nk-band__lead { color: color-mix(in srgb, var(--nk-brand-dark) 78%, var(--nk-text));
  max-width: 60ch; }
.nk-pledge { background: var(--nk-card); border-radius: var(--nk-radius-3xl);
  padding: var(--nk-space-24); height: 100%; }
.nk-pledge__n { display: grid; place-items: center;
  width: var(--nk-space-40); height: var(--nk-space-40);
  border-radius: var(--nk-radius-lg); background: var(--nk-accent-soft);
  color: var(--nk-accent-dark); font-size: var(--nk-fs-15);
  font-weight: var(--nk-fw-extrabold); margin-bottom: var(--nk-space-16); }
