@font-face {
  font-family: "Tiempos Fine";
  src: url("/fonts/test-tiempos-fine-vf-roman.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

.tiempos {
  font-family: "Tiempos Fine", serif !important;
}

/* =========================================================
   Base / Tokens
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand */
  --dark-blue: rgb(0, 60, 113);
  --light-blue: rgb(46, 101, 159);
  --kalispel-gold: rgb(247, 151, 28);
  --kalispel-gold-hover: rgb(249, 175, 78);
  --background-gray: rgb(38, 50, 56);

  /* Layout */
  --header-height: 80px;
  --nav-width: 225px;
  --container-max: 1600px;

  /* Footer */
  --footer-bg: #0a3f7a;
  --footer-badge-band: #004c9f;
  --footer-text: rgba(255, 255, 255, 0.92);
  --footer-muted: rgba(255, 255, 255, 0.75);
  --footer-link: rgba(255, 255, 255, 0.85);
  --footer-link-hover: #fff;

  --footer-max: 1200px;
  --footer-pad: 60px;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--background-gray);
}

body {
  font-family: "proxima-nova", sans-serif;
  color: #fff;
}

header,
main {
  max-width: var(--container-max);
  margin: 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  line-height: clamp(32px, 4.2vw, 40px);
}

h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  line-height: clamp(26px, 3.2vw, 30px);
}

h3 {
  font-size: clamp(20px, 2.8vw, 30px);
  font-weight: 900;
  line-height: clamp(24px, 3vw, 30px);
}

p {
  font-size: clamp(18px, 1.3vw, 20px);
  line-height: 1.5;
}

.sub-heading {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 400;
  line-height: clamp(24px, 2.7vw, 26px);
  opacity: 0.7;
}

img {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: -1.2px;
}

@media (max-width: 1600px) {
  /* hide page scrollbar */
  html { scrollbar-width: none; } /* Firefox */
  body { -ms-overflow-style: none; } /* IE and Edge */
  body::-webkit-scrollbar, body::-webkit-scrollbar-button { display: none; } /* Chrome */
  /* end hide page scrollbar */
}

.button {
    font-size: 14px;
    font-weight: 400;
    border-radius: 2px;
    padding: 18px 28px;
    display: inline-block;
    background-color: var(--kalispel-gold);
    color: #000000;
    text-transform: uppercase;
}

.button:hover {
    background-color: var(--kalispel-gold-hover);
    color: #000000;
}

.buttonImage{
  max-width:200px;
  display:inline-flex;
  gap:1em;
}

.cloudinary_hero {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.cloudinary_hero video, .cloudinary_hero img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-gap{
    display:grid;
    gap:2rem;
}

/* =========================================================
   Header (Sticky)
========================================================= */

header {
  position: sticky;
  top: 0;
  z-index: 5000;
}

.header-bar {
  height: var(--header-height);
  padding: 0 12px;
  background: var(--dark-blue);

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-title {
  margin: 0;
  font-size: 30px;
  font-weight: 300;
  line-height: var(--header-height);
  color: rgba(255, 255, 255, 0.7);
}

.site-title-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-title-text {
  display: inline;
}

.mobile-break {
  display: inline;
}

.header-bar-logo {
  display: none;
  height: 25px;
  width: auto;
}

.book-now-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 50px;
  background: var(--kalispel-gold);
  color: #000;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  border-radius: 2px;
  cursor: pointer;
  border: none;
}

.book-now-button:hover {
  background: var(--kalispel-gold-hover);
}

.header-bar {
  position: relative;
}

/* =========================================================
   Book Now Modal
========================================================= */

.book-now-menu[hidden] {
  display: none;
}

.book-now-menu {
  position: fixed;
  inset: 0;
  z-index: 999999;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.book-now-menu__panel {
  width: min(640px, 100%);
  max-height: min(85vh, 900px);
  overflow: hidden;
  position: relative;
  z-index: 100000;
  display: flex;
  flex-direction: column;

  background: var(--dark-blue);
  border-radius: 2px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.book-now-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.book-now-menu__title {
  margin: 0;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.2;
}

.book-now-menu__close {
  appearance: none;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
}

.book-now-menu__close:hover,
.book-now-menu__close:focus-visible {
  opacity: 0.8;
}

.book-now-menu__list {
  list-style: none;
  margin: 0;
  padding: 20px;
  overflow-y: auto;

  display: grid;
  gap: 12px;
}

.book-now-menu__item {
  margin: 0;
}

.book-now-menu__link {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--light-blue);
  border-radius: 2px;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.book-now-menu__link:hover,
.book-now-menu__link:focus-visible {
  transform: translateY(-1px);
  background: color-mix(in srgb, var(--light-blue) 88%, white 12%);
}

.book-now-menu__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}

.book-now-menu__icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.book-now-menu__text {
  color: #fff;
  font-weight: 600;
  line-height: 1.2;
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 640px) {
  .book-now-menu {
    padding: 16px;
  }

  .book-now-menu__panel {
    width: 100%;
    max-height: 90vh;
  }

  .book-now-menu__header {
    padding: 16px;
  }

  .book-now-menu__title {
    font-size: 1.25rem;
  }

  .book-now-menu__list {
    padding: 16px;
  }

  .book-now-menu__row {
    padding: 13px 14px;
  }

  .book-now-menu__icon {
    width: 20px;
    height: 20px;
  }
}
/* =========================================================
   Layout
========================================================= */

.page {
  display: grid;
  grid-template-columns: var(--nav-width) 1fr;
  min-height: calc(100dvh - var(--header-height));
}

/* =========================================================
   Side Nav
========================================================= */

.side-nav {
  background:
    var(--light-blue)
    url("https://res.cloudinary.com/kalispel/image/fetch/f_auto,q_auto/https://www.northernquest.com/img/navBackgroundTransparent.png")
    no-repeat
    center / cover;

  position: sticky;
  top: var(--header-height);
  height: calc(100dvh - var(--header-height));
  overflow-y: auto;

  scrollbar-width: none;
  -ms-overflow-style: none;
}

.side-nav::-webkit-scrollbar {
  display: none;
}

.side-nav__inner {
  padding: 18px 0 28px;
}

/* Brand */
.side-nav__brand-mark {
  display: block;
  width: 124px;
  height: 103px;
  aspect-ratio: 124 / 103;
  margin: 10px auto 30px;
}

.side-nav__brand-ribbon {
  display: block;
  width: calc(100% - 48px);
  max-width: 100%;
  height: auto;
  margin: 0 24px;
}

/* Primary list */
.side-nav__list {
  list-style: none;
  margin: 6px 0 18px;
  padding: 0;
}

.side-nav__item {
  margin: 0;
}

.side-nav__link {
  width: 100%;
  height: 36px;
  padding: 0 24px;

  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;

  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.2px;
  line-height: 1.1;

  color: rgba(255, 255, 255, 0.95);
}

.side-nav__link.is-active{
  color: var(--kalispel-gold);
}

.side-nav__link:hover,
.side-nav__link:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}

/* Icon swap */
.side-nav__icon {
  width: 24px;
  height: 24px;
  position: relative;

  display: grid;
  place-items: center;
}

.side-nav__icon .icon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 24px;
  height: 24px;
  display: block;
}

.side-nav__icon .icon--hover {
  opacity: 0;
}

.side-nav__link:hover .icon--hover,
.side-nav__link:focus-visible .icon--hover {
  opacity: 1;
}

.side-nav__link:hover .icon--default,
.side-nav__link:focus-visible .icon--default {
  opacity: 0;
}

/* Secondary links */
.side-nav__secondary-link {
  width: 100%;
  height: 36px;
  padding: 0 24px;

  display: block;
  line-height: 36px;

  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.2px;

  color: rgba(255, 255, 255, 0.9);
}

.side-nav__secondary-link:hover,
.side-nav__secondary-link:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

/* =========================================================
   Page Content: Search Bar + Main Area
========================================================= */

.component {
  margin-top: 2em;
}

.section--contained {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 2em 2em;
}

.section--full-width {
  margin: 0;
  width: 100%;
  max-width: 1600px;
}
.page-content {
  min-width: 0;
  min-height: 100dvh;
}

.search-bar {
  height: 56px;
  padding: 0 12px;
  background: var(--dark-blue);
  display: flex;
  align-items: center;
  gap: 12px;
  position: sticky;
  top: var(--header-height);
  z-index: 4000;
  overflow: visible;
}

.search-input {
  width: 283px;
  margin-left: auto;

  padding: 8px 12px;
  font-size: 14px;

  border: 1px solid #ccc;
  border-radius: 4px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  padding: 10px;
  cursor: pointer;
}

/* Backdrop (desktop defaults) */
.nav-backdrop {
  display: none;
}



/* =========================================================
   Breadcrumbs
========================================================= */

/* Shared sticky stack heights */
.page-content {
  --search-bar-height: 56px;
  --breadcrumb-height: 48px;
}

.breadcrumbs {
  position: sticky;
  top: calc(var(--header-height) + var(--search-bar-height));
  z-index: 2500;
  background: var(--dark-blue);
}

.breadcrumbs ul {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  background-color: var(--dark-blue);
  font-size: 16px;
  font-family: "proxima-nova", sans-serif;
  font-weight: 800;
  text-align: left;
  position: relative;
  z-index: 20;

  /* Prevent long breadcrumb trails from breaking mobile/tablet layouts */
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.breadcrumbs ul::-webkit-scrollbar {
  display: none;
}

.breadcrumbs ul li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: var(--breadcrumb-height);
  padding: 0 5px;
  margin: 0;
  text-transform: uppercase;
  flex: 0 0 auto;
}

.breadcrumbs ul li.home {
  width: var(--breadcrumb-height);
  height: var(--breadcrumb-height);
  line-height: 0;
}

.breadcrumbs ul li.home a.home-link {
  display: flex;
  width: var(--breadcrumb-height);
  height: var(--breadcrumb-height);
  line-height: 0;
  background: url('https://res.cloudinary.com/kalispel/image/fetch/f_auto,q_auto/https://ktsitesprodsa.blob.core.windows.net/craftcms/northernquest/icons/home_white_24dp.svg') no-repeat center;
  background-size: 24px 24px;
}

.breadcrumbs ul li.last-link {
  opacity: 50%;
}

/* Mobile breadcrumbs: keep visible, but compact */
@media (max-width: 600px) {
  .page-content {
    --breadcrumb-height: 40px;
  }

  .breadcrumbs ul {
    font-size: 12px;
  }

  .breadcrumbs ul li {
    padding-left: 4px;
    padding-right: 4px;
  }

  .breadcrumbs ul li.home a.home-link {
    background-size: 20px 20px;
  }
}

/* Only make search sticky on pages with breadcrumbs or section tabs */
.page-content:has(.breadcrumbs),
.page-content:has(.section-tabs-shell) {
  overflow-x: clip;
  overflow-y: visible;
}

.page-content:has(.breadcrumbs) .search-bar,
.page-content:has(.section-tabs-shell) .search-bar {
  position: sticky;
  top: var(--header-height);
  z-index: 4000;
}

/* =========================================================
   Section Tabs + Arrows
========================================================= */

.section-tabs-shell {
  position: sticky;
  top: calc(
    var(--header-height) +
    var(--search-bar-height) +
    var(--breadcrumb-height)
  );
  width: 100%;
  z-index: 2400;
  background: var(--dark-blue);
}

.section-tabs{
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.section-tabs::-webkit-scrollbar{
  display: none;
}

/* Tab list */
.section-tabs ul{
  display: flex;
  align-items: center;
  gap: 1em;
  list-style: none;
  margin: 0;
  padding: 0 3rem; /* room for arrows when visible */
  width: max-content;
  min-width: 100%;
}

.section-tabs li{
  flex: 0 0 auto;
}

.section-tabs .tab-item{
  display: block;
  padding: 1em;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-tabs .tab-item.is-active{
  color: var(--kalispel-gold);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 3px;
}

/* Arrows */
.tabs-arrow{
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4rem;
  display: none; /* hidden by default, shown only when JS adds .tabs-overflowing */
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--kalispel-gold);
  cursor: pointer;
  z-index: 2;
  touch-action: manipulation;
}

.section-tabs-shell.tabs-overflowing .tabs-arrow{
  display: flex;
}

.tabs-arrow span{
  font-size: 40px;
  line-height: 1;
}

.tabs-arrow--left{
  left: 0;
  background: linear-gradient(to right, rgba(0,0,0,.55), rgba(0,0,0,0));
}

.tabs-arrow--right{
  right: 0;
  background: linear-gradient(to left, rgba(0,0,0,.55), rgba(0,0,0,0));
}

/* Hidden state controlled by JS */
.tabs-arrow[hidden]{
  display: none !important;
}

@media (min-width: 1200px){
  .section-tabs ul{
    padding: 0 3rem;
  }
}

.section-tabs-shell:not(.tabs-overflowing) .section-tabs ul{
  padding-left: 1rem;
  padding-right: 1rem;
}

/* =========================================================
   Cards
========================================================= */
.cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  container-type: inline-size;
  container-name: card-grid;
}

.card {
  overflow: hidden;
  border-radius: 2px;
  background: var(--light-blue);
  position: relative;
  min-width: 0;
}

.cards > .card:not(.card--longbox):only-child {
  max-width: 50%;
}

@container card-grid (max-width: 768px) {
  .cards > .card:not(.card--longbox):only-child {
    max-width: 100%;
  }
}

.card__bar {
  min-width: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: var(--dark-blue);
}

@container card-grid (max-width: 420px) {
  .card__bar {
    flex-wrap: wrap;
  }
  .card__btn {
    flex: 1 1 140px;
  }
}

.card .snipe {
  position: absolute;
  padding: .5em .7em;
  margin: 1em;
  outline: #fff 1px solid;
  width: fit-content;
  top: 0;
  right: 0;
  background-color: rgba(0 0 0/.8);
  font-size: clamp(0.6rem, 0.5rem + 0.5vw, 0.85rem);
  color: #fff;
  font-family: 'proxima-nova', sans-serif;
  font-weight: 500 !important;
  text-align: center;
  text-transform: uppercase;
  text-wrap: balance;
  border-radius: 5px;
  z-index: 100;
}

.card__media {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
}

.card__img {
  width: 100%;
  aspect-ratio: 1300 / 850;
  object-fit: cover;
  display: block;
}

.card__overlay {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: #fff;
  z-index: 2;
}

.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 55%);
  z-index: 1;
}

.card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 2px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  font-size: 15px;
  line-height: 15px;
}

.card__btn--secondary {
  border: 1px solid rgba(255, 255, 255, .6);
  color: #fff;
  background: transparent;
}

.card__btn--primary {
  background: var(--kalispel-gold);
  color: #000;
}

.card__btn--primary:hover {
  background-color: var(--kalispel-gold-hover);
}

.card__btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.card__tags {
  display: inline-flex;
  justify-content: space-between;
  gap: .5em;
  font-size: clamp(0.6rem, 0.5rem + 0.5vw, 0.85rem);
}

.card__tags span {
  background-color: rgba(0, 0, 0, .4);
  display: block;
  width: fit-content;
  color: #fff;
  border-radius: 1em;
  padding: .5em .6em;
  margin-top: 1em;
}

/* =========================================================
   Longbox
========================================================= */

.card--longbox {
  grid-column: 1 / -1;
}

/*
 * Wide longbox image.
 */
.card--longbox .card__img--longbox-wide {
  display: block;
  width: 100%;
  aspect-ratio: 2650 / 850;
  object-fit: contain;
}

/*
 * Related entry's standard Cloudinary card image.
 * Hidden while the longbox presentation is active.
 */
.card--longbox .card__img--longbox-card {
  display: none;
  width: 100%;
  aspect-ratio: 1300 / 850;
  object-fit: cover;
}

/*
 * Fallback when the feature does not have a wide image,
 * but the related entry has a standard card image.
 */
.card--longbox.card--longbox-no-wide-image
  .card__img--longbox-card {
  display: block;
}

.card--longbox .card__overlay {
  left: 32px;
  right: 32px;
  bottom: 32px;
}

/*
 * The regular card grid uses:
 *
 *   420px card
 * + 420px card
 * + 24px gap
 * = 864px
 *
 * Immediately below 864px, the grid becomes one column.
 * At that same point, the longbox becomes a standard card.
 */
@container card-grid (max-width: 863.98px) {
  .card--longbox {
    grid-column: auto;
  }

  /*
   * Hide the wide image when a related-entry card image exists.
   */
  .card--longbox.card--longbox-has-card-image
    .card__img--longbox-wide {
    display: none;
  }

  /*
   * Show the related entry's standard card image.
   */
  .card--longbox.card--longbox-has-card-image
    .card__img--longbox-card {
    display: block;
    width: 100%;
    aspect-ratio: 1300 / 850;
    object-fit: cover;
  }

  /*
   * If the related entry is missing its Cloudinary card image,
   * retain the wide image but crop it like a normal card.
   */
  .card--longbox:not(.card--longbox-has-card-image)
    .card__img--longbox-wide {
    width: 100%;
    aspect-ratio: 1300 / 850;
    object-fit: cover;
  }

  /*
   * Match the standard card overlay spacing.
   */
  .card--longbox .card__overlay {
    left: 24px;
    right: 24px;
    bottom: 24px;
  }
}
/* =========================================================
   Gumstick Card
========================================================= */

.gumstick-container {
  container-type: inline-size;
  width: 100%;
}

.card__gumstick {
  position: relative;
  display: grid;
  grid-template-columns: 250px 1fr;
  background: var(--dark-blue);
  min-width: 0;
}

.card__gumstick .card__image {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
}

.card__gumstick .card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__gumstick .card__details {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px 18px 16px;
  background: var(--dark-blue);
}

.card__gumstick .card__title {
  margin: 0;
  padding-right: 48px;
}

.card__gumstick .card__meta {
  margin: 6px 0 0;
}

/* Match regular card button behavior */
.card__gumstick .card__bar {
  min-width: 0;
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  padding: 16px 0 0;
  background: transparent;
  margin-top: auto;
}

.card__gumstick .card__btn {
  min-width: 0;
}

/* Pin calendar icon to top-right of the entire card */
.add__calendar {
  position: absolute;
  top: 16px;
  right: 18px;
  display: block;
  width: 30px;
  height: 30px;
  aspect-ratio: 1 / 1;
  background: url('https://res.cloudinary.com/kalispel/image/upload/v1659396215/icons/iconTinyAddCalendar-rev_l9rraj.svg') no-repeat center;
  background-size: contain;
  z-index: 5;
}

/* =========================================================
   Medium Gumstick States
========================================================= */

/* Only wrap/stretch when the container gets small, like cards */
@container (max-width: 420px) {
  .card__gumstick .card__bar {
    flex-wrap: wrap;
  }

  .card__gumstick .card__btn {
    flex: 1 1 140px;
    text-align: center;
  }
}

/* =========================================================
   Stacked Gumstick
========================================================= */

@container (max-width: 600px) {
  .card__gumstick {
    grid-template-columns: 1fr;
  }

  .card__gumstick .card__image {
    height: auto;
  }

  .card__gumstick .card__image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1300 / 850;
    object-fit: cover;
  }

  .card__gumstick .card__details {
    padding: 16px 18px 16px;
  }

  .card__gumstick .add__calendar {
    top: 16px;
    right: 16px;
  }
}

/* =========================================================
   Amenity Cards (scrim only, no hover, no animation)
========================================================= */

.card--amenity{
  position: relative;
  overflow: hidden;
}

.card--amenity .card__media{
  position: relative;
  overflow: hidden;
}

.card--amenity .card__img{
  display: block;
  width: 100%;
  height: auto;
  opacity: .9;
}

.card--amenity .card__media::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.78) 0%,
    rgba(0,0,0,.58) 34%,
    rgba(0,0,0,.30) 58%,
    rgba(0,0,0,0) 80%
  );
}

.card--amenity .card__overlay{
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  color: #fff;
}

.card--amenity .brand{
  position: absolute;
  top: 1rem;
  left: 1rem;
  max-width: 260px;
  height: auto;
  z-index: 4;
  transform-origin: top left;
  transition: transform .3s ease, opacity .3s ease, width .3s ease;
}

.card--amenity.needs-logo-scale .brand{
  transform: scale(.8);
}

/* branded version overlay card */
.card--amenity .card__content{
  position: absolute;
  left: 3rem;
  right: 3rem;
  bottom: 2rem;
  z-index: 3;
}

.card--amenity .card__content h3{
  margin: 0 0 .75rem;
  color: #fff;
}

.card--amenity .card__body--static{
  position: static;
  max-height: none !important;
  opacity: 1 !important;
  transform: none !important;
  overflow: visible;
}

.card--amenity .card__body{
  position: absolute;
  left: 3rem;
  right: 3rem;
  bottom: 4.25rem;
  z-index: 3;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  transition: max-height .35s ease, opacity .25s ease, transform .25s ease;
}

.card--amenity .card__body.is-collapsed{
  opacity: 0;
  transform: translateY(.5rem);
  pointer-events: none;
}

.card--amenity .card__body-inner{
  color: #fff;
  font-size: clamp(1.05rem, 1rem + 0.6vw, 1.5rem);
  line-height: 1.45;
  font-weight: 400;
}

.card--amenity .card__body-inner,
.card--amenity .card__body-inner p,
.card--amenity .card__body-inner li,
.card--amenity .card__body-inner a,
.card--amenity .card__body-inner span{
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.card--amenity .card__body-inner > *:first-child{
  margin-top: 0;
}

.card--amenity .card__body-inner > *:last-child{
  margin-bottom: 0;
}

.card--amenity .card__body-inner p{
  margin: 0;
}

/* not branded version overlay card */
.card--amenity.no-brand-logo .card__content{
  position: absolute;
  left: 3rem;
  right: 3rem;
  bottom: 2rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.card--amenity.no-brand-logo .card__content h3{
  margin: 0 0 .75rem;
  color: #fff;
  text-align: left;
  width: 100%;
}

.card--amenity.no-brand-logo .card__content .card__body--static{
  position: static;
  max-height: none;
  opacity: 1;
  transform: none;
  overflow: visible;
  width: 100%;
  text-align: left;
}

.card--amenity.no-brand-logo .card__content .card__body-inner{
  width: 100%;
  color: #fff;
  font-size: clamp(1.05rem, 1rem + 0.6vw, 1.5rem);
  line-height: 1.45;
  font-weight: 400;
  text-align: left;
}

.card--amenity.no-brand-logo .card__content .card__body-inner,
.card--amenity.no-brand-logo .card__content .card__body-inner p,
.card--amenity.no-brand-logo .card__content .card__body-inner li,
.card--amenity.no-brand-logo .card__content .card__body-inner a,
.card--amenity.no-brand-logo .card__content .card__body-inner span{
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  text-align: left;
}

.card--amenity.no-brand-logo .card__content .card__body-inner > *:first-child{
  margin-top: 0;
}

.card--amenity.no-brand-logo .card__content .card__body-inner > *:last-child{
  margin-bottom: 0;
}

.card--amenity.no-brand-logo .card__content .card__body-inner p{
  margin: 0;
}

.card--amenity .card__controls{
  position: absolute;
  right: 3rem;
  bottom: 2rem;
  z-index: 4;
}

.card--amenity .card__toggle{
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: #fff;
}

.card--amenity .card__toggle-label{
  text-decoration: none;
  text-transform: uppercase;
  font-size: clamp(1rem, .95rem + 0.25vw, 1.15rem);
  line-height: 1;
}

.card--amenity .card__toggle-arrow{
  display: inline-block;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform .25s ease;
}

.card--amenity .card__toggle[aria-expanded="true"] .card__toggle-arrow{
  transform: rotate(180deg);
}


/* =========================================================
   Service Cards
========================================================= */

/*
 * The media area uses a single-cell grid.
 * minmax(0, 1fr) prevents text from forcing the grid
 * wider than the card.
 */
.card--service .card__media {
  position: relative;

  display: grid;
  grid-template-columns: minmax(0, 1fr);

  min-width: 0;
  overflow: hidden;

  color: #fff;
}

/*
 * Preserves the original card-image ratio while collapsed.
 * The media area can grow taller when the description expands.
 */
.card--service .card__media::before {
  content: "";

  grid-area: 1 / 1;

  display: block;

  width: 100%;
  min-width: 0;
  aspect-ratio: 1300 / 850;

  pointer-events: none;
}

/* Background image */
.card--service .card__img {
  position: absolute;
  inset: 0;

  display: block;

  width: 100%;
  height: 100%;
  max-width: 100%;

  aspect-ratio: auto;
  object-fit: cover;

  opacity: 0.3;
}

/* Stronger scrim for service-card readability */
.card--service .card__media::after {
  content: "";

  position: absolute;
  inset: 0;
  z-index: 1;

  pointer-events: none;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 45%,
    rgba(0, 0, 0, 0) 80%
  );
}

/* =========================================================
   Duration Tabs
========================================================= */

.card--service .card__tabs {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 3;

  display: inline-flex;

  gap: 0;
  max-width: calc(100% - 48px);
}

.card--service .card__tab {
  appearance: none;

  min-width: 0;
  padding: 12px 16px;

  border: 0;

  background: rgba(0, 0, 0, 0.45);
  color: #fff;

  font: inherit;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;

  cursor: pointer;
}

.card--service .card__tab:hover {
  background: rgba(0, 0, 0, 0.55);
}

.card--service .card__tab.is-active {
  background: rgba(0, 0, 0, 0.65);
  border-bottom: 3px solid var(--kalispel-gold);
}

.card--service .card__tab:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

/* =========================================================
   Overlay Content
========================================================= */

/*
 * Overrides the standard absolute card overlay.
 * The overlay participates in the grid so expanded text
 * increases the height of the media area naturally.
 */
.card--service .card__overlay {
  grid-area: 1 / 1;

  position: relative;
  inset: auto;
  left: auto;
  right: auto;
  bottom: auto;

  align-self: end;
  justify-self: stretch;

  z-index: 2;

  box-sizing: border-box;

  width: auto;
  min-width: 0;
  max-width: 100%;

  padding: 88px 24px 24px;

  overflow: visible;
  color: #fff;
}

.card--service .card__title {
  width: auto;
  min-width: 0;
  max-width: 100%;

  margin: 0;

  color: #fff;

  overflow-wrap: break-word;
  word-break: normal;
}

.card--service .card__desc-wrap {
  box-sizing: border-box;

  width: auto;
  min-width: 0;
  max-width: 100%;
}

/* =========================================================
   Description: Collapsed Preview
========================================================= */

/*
 * Only the plain-text preview is clamped.
 * The full rich-text description is never clamped.
 */
.card--service .card__desc-preview {
  box-sizing: border-box;

  display: -webkit-box;

  width: auto;
  min-width: 0;
  max-width: 100%;

  /*
   * Provides a reliable two-line fallback in browsers
   * that do not support line-clamp.
   */
  max-height: 2.7em;
  margin: 6px 0 0;

  overflow: hidden;

  color: inherit;
  font-size: 0.95rem;
  line-height: 1.35;
  opacity: 0.9;

  white-space: normal;

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;

  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: normal;
}

.card--service .card__desc {
  box-sizing: border-box;
  display: block;

  width: auto;
  min-width: 0;
  max-width: 100%;

  margin: 6px 0 0;

  color: inherit;
  font-size: 0.95rem;
  line-height: 1.35;
  opacity: 0.9;

  white-space: normal;

  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: normal;
}

/* Override the global paragraph font size */
.card--service .card__desc :where(
  p,
  li,
  a,
  span,
  strong,
  em
) {
  font-size: inherit;
  line-height: inherit;
}

.card--service .card__desc p {
  margin: 0 0 0.65em;
}
/*
 * JavaScript removes the hidden attribute when the
 * description is expanded.
 */
.card--service .card__desc[hidden] {
  display: none !important;
}

/* Prevent rich-text children from exceeding the card. */
.card--service .card__desc > * {
  max-width: 100%;
}

/* Remove unwanted spacing at the beginning and end. */
.card--service .card__desc > :first-child {
  margin-top: 0;
}

.card--service .card__desc > :last-child {
  margin-bottom: 0;
}

/* Rich-text paragraphs */
.card--service .card__desc p {
  margin: 0 0 0.65em;
}

/* Rich-text lists */
.card--service .card__desc ul,
.card--service .card__desc ol {
  margin: 0.45em 0 0.65em;
  padding-left: 1.4em;

  list-style-position: outside;
}

.card--service .card__desc ul {
  list-style-type: disc;
}

.card--service .card__desc ol {
  list-style-type: decimal;
}

.card--service .card__desc li {
  display: list-item;

  margin: 0.15em 0;
  padding: 0;
}

.card--service .card__desc li::marker {
  color: currentColor;
}

/* Nested lists */
.card--service .card__desc ul ul,
.card--service .card__desc ol ul {
  list-style-type: circle;
}

.card--service .card__desc ul ol,
.card--service .card__desc ol ol {
  list-style-type: lower-alpha;
}

/* Rich-text links */
.card--service .card__desc a {
  color: inherit;

  text-decoration: underline;
  text-underline-offset: 2px;
}

.card--service .card__desc a:hover {
  text-decoration-thickness: 2px;
}

.card--service .card__desc strong,
.card--service .card__desc b {
  font-weight: 700;
}

/* =========================================================
   Description: Expanded State
========================================================= */

.card--service.is-description-expanded .card__desc-preview {
  display: none;
}

/*
 * The hidden attribute is removed by JavaScript when
 * expanded. No max-height or line-clamp is applied here.
 */
.card--service.is-description-expanded .card__desc {
  display: block;
}

/* =========================================================
   Read More / Read Less
========================================================= */

.card--service .card__read-more {
  appearance: none;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: auto;
  max-width: 100%;

  margin: 10px 0 0;
  padding: 5px 0;

  border: 0;
  border-radius: 0;
  outline: none;

  background: transparent;
  color: #fff;

  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;

  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-transform: uppercase;

  cursor: pointer;
}

.card--service .card__read-more:hover {
  text-decoration-thickness: 2px;
}

/*
 * Uses a heavier underline for keyboard focus instead of
 * drawing a large rectangle around the button.
 */
.card--service .card__read-more:focus-visible {
  outline: none;

  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.card--service .card__read-more:focus:not(:focus-visible) {
  outline: none;
}

/*
 * display: inline-flex would otherwise override the
 * browser's default hidden behavior.
 */
.card--service .card__read-more[hidden] {
  display: none !important;
}

/* =========================================================
   Pricing / CTA Bar
========================================================= */

.card--service .card__bar {
  min-width: 0;
  align-items: center;
}

.card--service .card__meta {
  min-width: 0;
  margin: 0;

  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;

  overflow-wrap: break-word;
  word-break: normal;
}

.card--service .card__btn--primary {
  align-self: center;
}

/* =========================================================
   Small Screens
========================================================= */

@media (max-width: 420px) {
  .card--service .card__tabs {
    top: 12px;
    left: 12px;

    max-width: calc(100% - 24px);
  }

  .card--service .card__tab {
    padding: 10px 12px;
    font-size: 13px;
  }

  .card--service .card__overlay {
    width: auto;
    min-width: 0;
    max-width: 100%;

    padding: 68px 16px 16px;
  }

  .card--service .card__title,
  .card--service .card__desc-wrap,
  .card--service .card__desc-preview,
  .card--service .card__desc {
    width: auto;
    min-width: 0;
    max-width: 100%;
  }

  /*
   * Clamp only the plain-text preview on mobile.
   */
  .card--service .card__desc-preview {
    max-height: 2.6em;

    font-size: 0.9rem;
    line-height: 1.3;
  }

  /*
   * The full rich-text description remains unrestricted.
   */
  .card--service .card__desc {
    max-height: none;

    font-size: 0.9rem;
    line-height: 1.3;
    overflow: visible;
  }

  .card--service .card__read-more {
    font-size: 0.85rem;
  }
}

/* =========================================================
   Features
========================================================= */
.small-features-container {
  container-type: inline-size;
}

.small-features {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@container (max-width: 450px) {
  .small-features {
    grid-template-columns: 1fr;
  }
}

.small-feature {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--dark-blue);
  border-radius: 2px;
  min-width: 0;
}

.small-feature__content {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.small-feature__media img {
  width: 100%;
  display: block;
}

.small-feature__content .buttons {
  margin-top: auto;
}

/* =========================================================
   Large Feature (Full Width)
========================================================= */

.large-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.large-feature {
  display: grid;
  grid-template-columns: 1fr; /* force single column */
  grid-template-rows: auto 1fr; /* image on top, content below */
  background: var(--dark-blue);
  border-radius: 2px;
  min-width: 0;
}

.large-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.large-feature__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.large-feature__content .buttons {
  margin-top: auto;
}

/* ========================================================= 
   Footer (NQ-style)
========================================================= */

.site-footer {
  position: relative;
  color: var(--footer-text);
  background:
    url("https://res.cloudinary.com/kalispel/image/fetch/f_auto,q_auto/https://ktsitesprodsa.blob.core.windows.net/craftcms/northernquest/interface/footer-texture-smaller.png")
    center / cover
    no-repeat,
    var(--footer-bg);
  overflow: hidden;
}

.site-footer,
.main-footer {
  clip-path: polygon(
    0 80px,
    100% 0,
    100% 100%,
    0 100%
  );
}

.footer-badges {
  background: var(--footer-badge-band);
  padding: 64px 0;
  text-align: center;
}

.footer-badges__inner {
  max-width: var(--footer-max);
  margin: 0 auto;
  padding: 0 24px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-badges a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
}

.footer-main {
  padding: 72px 0 80px;
}

.footer-inner {
  max-width: var(--footer-max);
  margin: 0 auto;
  padding: 0 24px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.footer-links {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
}

.footer-links li + li {
  margin-top: 10px;
}

.footer-links a,
.footer-address,
.footer-app__label,
.footer-legal a {
  color: var(--footer-link);
  text-decoration: none;
}

.footer-links a:hover,
.footer-address:hover,
.footer-app__label:hover,
.footer-legal a:hover {
  color: var(--footer-link-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 34px 0 26px;
}

.footer-social img {
  display: block;
  height: 22px;
  width: auto;
  opacity: 0.95;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 10px;
}

.footer-phone {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 12px 0;
}

.footer-phone a {
  color: var(--kalispel-gold);
  text-decoration: none;
}

.footer-phone a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-phone__or {
  color: var(--footer-muted);
  font-weight: 700;
  margin: 0 8px;
}

.footer-brand {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 6px;
}

.footer-brand a {
  color: var(--footer-text);
  text-decoration: none;
}

.footer-brand a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-address {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--footer-muted);
}

.footer-badge {
  margin: 18px 0 22px;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 18px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 1);

  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.footer-email:hover {
  background: rgba(255, 255, 255, 0.15);
}

.footer-email img {
  display: block;
}

.footer-app {
  margin-top: 22px;
}

.footer-app__label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--footer-muted);
}

.footer-app__badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-app__badges img {
  display: block;
  width: 150px;
  height: auto;
}

@media (max-width: 800px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-main {
    padding: 56px 0 64px;
  }

  .footer-badges {
    padding: 48px 0;
  }
}

:root {
  --footer-slant: 90px;
  --footer-badge-top-offset: 20px;
}

/* Did You Know */
.footer-did-you-know {
  position: relative;
  z-index: 5;
  background-color: rgba(33, 150, 243, 0.70);

  clip-path: polygon(
    0 0,
    100% var(--footer-slant),
    100% calc(100% - var(--footer-slant)),
    0 100%
  );

  margin-bottom: calc(var(--footer-slant) * -1);
}

.footer-did-you-know__inner {
  max-width: 1200px;
  min-height: 430px;
  margin: 0 auto;
  padding: calc(2em + var(--footer-slant)) 2em calc(2em + var(--footer-slant) + 40px);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

/* Badge band */
.footer-badges {
  position: relative;
  z-index: 5;
  background: var(--footer-badge-band);

  /* straight top, slanted bottom only */
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--footer-slant)),
    0 100%
  );

  padding-top: calc(var(--footer-slant));
  padding-bottom: calc(30px + var(--footer-slant));

  margin-top: calc(var(--footer-slant) * -1);
  margin-bottom: calc(var(--footer-slant) * -1);
}

/* Main footer */
.footer {
  margin-top: calc(var(--footer-slant) + 1em);
}

.footer-main {
  position: relative;
  z-index: 10;
  padding-top: calc(64px + var(--footer-slant));
  padding-bottom: 40px;
}

.site-footer {
    position: relative;
    z-index: 1;
    overflow: visible;
}

.footer-did-you-know {
    position: relative;
    z-index: 1;
}

.footer-badges {
    position: relative;
    z-index: 2;
}

.footer-main {
    position: relative;
    z-index: 3;
}

.footer-did-you-know__content {
  flex: 0 1 420px;
  color: #fff;
  z-index: 1;
}

.footer-did-you-know__content h2 {
  margin: 0 0 0.25em;
  font-size: clamp(1.75rem, 4vw, 2rem);
  color: #fff;
  opacity:.5;
}

.footer-did-you-know__body {
  color: #fff;
}

.footer-did-you-know__body p {
  font-size: clamp(1.75rem, 4vw, 2rem);
  line-height: 1.2em;
  font-weight: 900;
}

.footer-did-you-know__mark {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.footer-q-logo {
  display: block;
  width: clamp(200px, 42vw, 300px);
  height: auto;
}

.footer-did-you-know__content,
.footer-did-you-know__mark {
  opacity: 0;
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  will-change: opacity, transform;
}

.footer-did-you-know__content {
  transform: translateX(-120px);
}

.footer-did-you-know__mark {
  transform: translateX(120px);
}

.footer-did-you-know.is-visible .footer-did-you-know__content,
.footer-did-you-know.is-visible .footer-did-you-know__mark {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 800px) {
  .footer-did-you-know__inner {
    min-height: auto;

    /* More room above the content because of the slant */
    padding-top: calc(5em + var(--footer-slant));
    padding-right: 2em;
    padding-bottom: calc(3em + var(--footer-slant));
    padding-left: 2em;

    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .footer-did-you-know__content {
    flex: initial;
  }

  .footer-did-you-know__mark {
    flex: initial;
    justify-content: center;
  }

  .footer-q-logo {
    width: clamp(180px, 50vw, 240px);
    height: auto;
  }
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 768px) {
  :root {
    --header-height: 48px;
  }

  .page {
    grid-template-columns: 1fr;
  }

  .site-title {
    font-size: 13px;
    line-height: 1.2;
  }

  .header-bar-logo {
    display: block;
    height: 22px;
    width: auto;
  }

  .mobile-break {
    display: block;
  }

  .book-now-button {
    width: 102px;
    height: 32px;
    font-size: 10px;
  }

  .side-nav__brand-mark {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .search-input {
    width: 100%;
    margin-left: 0;
  }

  .side-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100dvh - var(--header-height));

    transform: translate(-100%, 56px);
    transition: transform 200ms ease;
    z-index: 3500;
  }

  body.nav-open .side-nav {
    transform: translate(0, 56px);
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    top: var(--header-height);
    background: rgba(0, 0, 0, 0.5);
    z-index: 3000;
  }

  body.nav-open .nav-backdrop {
    display: block;
  }
}

@media (max-width: 992px) {

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-phone {
    font-size: 20px;
  }
}

/* Scroll reveal animation */
.js-reveal {
    opacity: 0;
    transform: translate3d(0, 36px, 0);
    transition:
        opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.js-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Optional: slightly larger movement for full sections */
.js-reveal-section {
    transform: translate3d(0, 48px, 0);
}

/* Accessibility: disable motion for users who request reduced motion */
@media (prefers-reduced-motion: reduce) {
    .js-reveal {
        opacity: 1;
        transform: none;
        transition: none;
        will-change: auto;
    }
}

/* Base waves behavior */
.waves-effect {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* The generated ripple */
.waves-ripple {
  position: absolute;
  border-radius: 999px;
  transform: scale(0);
  pointer-events: none;
  z-index: 0;

  background: rgba(255, 255, 255, 0.35);

  animation: waves-ripple 600ms ease-out forwards;
}

@keyframes waves-ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Dark ripple option for light cards/buttons */
.waves-dark .waves-ripple {
  background: rgba(0, 0, 0, 0.16);
}

/* Orange/accent ripple option */
.waves-accent .waves-ripple {
  background: rgba(255, 149, 0, 0.3);
}

/* Button-specific waves behavior */
.card__btn.waves-effect,
.add__calendar.waves-effect {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.card__btn.waves-effect .waves-ripple,
.add__calendar.waves-effect .waves-ripple {
  z-index: 0;
}

/* Image/card media waves behavior */
.card__media.waves-image {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
}

/* Keep image as the base layer */
.card__media.waves-image .card__img {
  position: relative;
  z-index: 0;
}

/* Keep the overlay text above the ripple */
.card__media.waves-image .card__overlay {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

/* Subtle image-specific ripple */
.card__media.waves-image .waves-ripple {
  z-index: 2;
  background: rgba(255, 255, 255, 0.1);
  mix-blend-mode: screen;
  animation-duration: 700ms;
}

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  .waves-ripple {
    animation-duration: 1ms;
  }
}