/* ALMISSUM Residences · premium refinement layer · 24 July 2026 */

:root {
  --ldg-psb-background: #ffffff;
  --ldg-psb-border-radius: 0.42em;
  --ldg-psb-box-shadow: 0 18px 44px rgba(13, 15, 15, 0.1);
  --ldg-psb-padding: 14px;
  --ldg-psb-input-background: #ffffff;
  --ldg-psb-button-border-radius: 0.42em;
  --ldg-psb-color-primary: #c9a65a;
  --ldg-psb-color-primary-lighter: #dfc17c;
  --ldg-psb-color-primary-darker: #76571e;
  --ldg-psb-color-primary-contrast: #0b0e0e;
  --ldg-semantic-color-primary: #c9a65a;
  --ldg-semantic-color-primary-lighter: #dfc17c;
  --ldg-semantic-color-primary-darker: #76571e;
  --ldg-semantic-color-primary-contrast: #0b0e0e;
  --ldg-component-modal-z-index: 240;
}

body {
  text-rendering: optimizeLegibility;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 300;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  background: #c9a65a;
  color: #080b0b;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  transition:
    background 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(4, 7, 7, 0.97);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.36);
}

.hero h1 {
  max-width: 980px;
  letter-spacing: 0.018em;
}

.hero-media {
  filter: saturate(0.92) contrast(1.025);
}

.button,
.nav-cta {
  letter-spacing: 0.145em;
}

.booking-panel {
  border-color: rgba(201, 166, 90, 0.46);
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.34);
}

.booking-copy > p a {
  color: #dfc17c;
  border-bottom: 1px solid rgba(223, 193, 124, 0.5);
}

#lodgify-search-bar .almissum-lodgify-search {
  min-width: 122px !important;
  min-height: 48px !important;
  padding: 12px 22px !important;
  border: 1px solid #c9a65a !important;
  border-radius: 0.42em !important;
  background: #c9a65a !important;
  box-shadow: none !important;
  color: #0b0e0e !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em !important;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease !important;
}

#lodgify-search-bar .almissum-lodgify-search:hover {
  border-color: #dfc17c !important;
  background: #dfc17c !important;
  transform: translateY(-1px);
}

#lodgify-search-bar .almissum-lodgify-search:focus-visible {
  outline: 2px solid rgba(155, 116, 45, 0.3) !important;
  outline-offset: 3px !important;
}

#lodgify-search-bar .almissum-lodgify-guest-trigger,
#lodgify-search-bar [data-testid="guests-breakdown-trigger"],
#lodgify-search-bar [data-testid="search-bar.guests-breakdown-trigger"] {
  border: 1px solid rgba(13, 15, 15, 0.22) !important;
  border-radius: 0.42em !important;
  background: #ffffff !important;
  box-shadow: 0 1px 2px rgba(13, 15, 15, 0.04) !important;
}

.winter-residence-page .hero-compact {
  min-height: 82svh;
}

.winter-residence-page .hero-media {
  object-position: 66% center;
}

.winter-residence-page .hero-shade {
  background:
    linear-gradient(
      90deg,
      rgba(3, 5, 5, 0.94) 0%,
      rgba(3, 5, 5, 0.78) 43%,
      rgba(3, 5, 5, 0.2) 78%,
      rgba(3, 5, 5, 0.08) 100%
    ),
    linear-gradient(0deg, rgba(3, 5, 5, 0.58) 0%, transparent 58%);
}

.winter-rates-section {
  background:
    radial-gradient(circle at 92% 8%, rgba(201, 166, 90, 0.15), transparent 29%),
    #e8e0d4;
}

.rate-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
  gap: clamp(42px, 8vw, 110px);
  align-items: end;
  margin-bottom: 48px;
}

.rate-intro .section-heading {
  margin-bottom: 0;
}

.rate-season-stamp {
  padding: 26px 28px;
  border: 1px solid rgba(155, 116, 45, 0.35);
  background: rgba(255, 255, 255, 0.48);
}

.rate-season-stamp span,
.rate-season-stamp strong,
.rate-season-stamp small {
  display: block;
}

.rate-season-stamp span {
  color: #8a641f;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rate-season-stamp strong {
  margin-top: 12px;
  color: #171918;
  font-family: var(--display);
  font-size: clamp(20px, 2.3vw, 29px);
  font-weight: 500;
  line-height: 1.35;
}

.rate-season-stamp small {
  margin-top: 9px;
  color: #6b655d;
  font-size: 10px;
  line-height: 1.65;
}

.stay-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(13, 15, 15, 0.16);
  background: rgba(255, 255, 255, 0.42);
}

.stay-product {
  min-height: 190px;
  padding: 28px 26px;
}

.stay-product + .stay-product {
  border-left: 1px solid rgba(13, 15, 15, 0.14);
}

.stay-product span {
  color: #8a641f;
  font-family: var(--display);
  font-size: 27px;
}

.stay-product h3 {
  margin: 30px 0 8px;
  color: #171918;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
}

.stay-product p {
  margin: 0;
  color: #6b655d;
  font-size: 11px;
  line-height: 1.7;
}

.rate-table-heading {
  display: flex;
  gap: 28px;
  align-items: end;
  justify-content: space-between;
  margin: 62px 0 20px;
}

.rate-table-heading h3 {
  margin: 0;
  color: #171918;
  font-family: var(--display);
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 500;
}

.rate-table-heading p {
  max-width: 480px;
  margin: 0;
  color: #6b655d;
  font-size: 11px;
  line-height: 1.7;
  text-align: right;
}

.rate-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(13, 15, 15, 0.18);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 48px rgba(33, 29, 23, 0.08);
  scrollbar-color: #b58a3a #e4dcd0;
}

.rate-table-wrap:focus-visible {
  outline: 2px solid #9b742d;
  outline-offset: 4px;
}

.rate-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  color: #2f302d;
  font-variant-numeric: tabular-nums;
}

.rate-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.rate-table th,
.rate-table td {
  padding: 20px 22px;
  border-bottom: 1px solid rgba(13, 15, 15, 0.12);
  text-align: right;
}

.rate-table thead th {
  background: #111515;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.55;
  text-transform: uppercase;
}

.rate-table th:first-child,
.rate-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 235px;
  text-align: left;
}

.rate-table thead th:first-child {
  z-index: 2;
  background: #111515;
}

.rate-table tbody th {
  background: #f3eee6;
  color: #1a1c1a;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
}

.rate-table tbody td {
  color: #4f4a43;
  font-size: 14px;
  font-weight: 400;
}

.rate-table tbody tr:last-child th,
.rate-table tbody tr:last-child td {
  border-bottom: 0;
  background-color: rgba(201, 166, 90, 0.12);
  color: #171918;
  font-weight: 500;
}

.holiday-rate-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(38px, 7vw, 90px);
  align-items: start;
  margin-top: 74px;
}

.holiday-rate-copy h3 {
  margin: 0;
  color: #171918;
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 500;
  line-height: 1.2;
}

.holiday-rate-copy > p {
  color: #676159;
  font-size: 12px;
}

.holiday-periods {
  display: grid;
  gap: 9px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.holiday-periods li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(13, 15, 15, 0.13);
  color: #4f4a43;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  line-height: 1.5;
  text-transform: uppercase;
}

.holiday-rate-layout .rate-table {
  min-width: 620px;
}

.new-year-offer {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) auto auto;
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  margin-top: 36px;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid rgba(201, 166, 90, 0.54);
  background:
    linear-gradient(110deg, rgba(201, 166, 90, 0.13), transparent 55%),
    #111515;
  color: #fff;
}

.new-year-offer .eyebrow {
  margin-bottom: 10px;
}

.new-year-offer h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(27px, 3.2vw, 43px);
  font-weight: 500;
}

.new-year-offer p {
  max-width: 680px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
}

.new-year-stat {
  min-width: 120px;
  text-align: center;
}

.new-year-stat strong,
.new-year-stat span {
  display: block;
}

.new-year-stat strong {
  color: #dfc17c;
  font-family: var(--display);
  font-size: clamp(29px, 3.2vw, 43px);
  font-weight: 500;
  white-space: nowrap;
}

.new-year-stat span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rate-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.rate-notes article {
  padding: 23px 24px;
  border-top: 1px solid rgba(13, 15, 15, 0.2);
}

.rate-notes strong {
  display: block;
  color: #76571e;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.rate-notes p {
  margin: 10px 0 0;
  color: #655f57;
  font-size: 10px;
  line-height: 1.75;
}

.rate-action {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: 42px;
}

.rate-action p {
  max-width: 680px;
  margin: 0;
  color: #615b53;
  font-size: 11px;
}

.error-page {
  min-height: 100svh;
  background:
    linear-gradient(90deg, rgba(3, 5, 5, 0.94), rgba(3, 5, 5, 0.42)),
    url("/images/aerial.webp") center / cover no-repeat;
  color: #fff;
}

.error-hero {
  display: flex;
  min-height: calc(100svh - 86px);
  align-items: center;
  padding: 150px 0 90px;
}

.error-hero strong {
  display: block;
  color: rgba(201, 166, 90, 0.26);
  font-family: var(--display);
  font-size: clamp(84px, 16vw, 210px);
  font-weight: 500;
  line-height: 0.8;
}

.error-hero h1 {
  max-width: 780px;
  margin: 26px 0 0;
  font-family: var(--display);
  font-size: clamp(38px, 5.6vw, 74px);
  font-weight: 500;
  line-height: 1.08;
}

.error-hero p {
  max-width: 630px;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1050px) {
  .stay-product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stay-product:nth-child(3) {
    border-left: 0;
  }

  .stay-product:nth-child(n + 3) {
    border-top: 1px solid rgba(13, 15, 15, 0.14);
  }

  .new-year-offer {
    grid-template-columns: 1fr auto;
  }

  .new-year-offer > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 800px) {
  .rate-intro,
  .holiday-rate-layout {
    grid-template-columns: 1fr;
  }

  .rate-table-heading {
    display: block;
  }

  .rate-table-heading p {
    margin-top: 12px;
    text-align: left;
  }

  .rate-notes {
    grid-template-columns: 1fr;
  }

  .rate-action {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .error-page {
    padding-bottom: 0;
  }

  .winter-residence-page .hero-compact {
    min-height: 780px;
  }

  .winter-residence-page .hero-media {
    object-position: 64% center;
  }

  .winter-residence-page .hero-shade {
    background:
      linear-gradient(
        90deg,
        rgba(3, 5, 5, 0.93) 0%,
        rgba(3, 5, 5, 0.73) 70%,
        rgba(3, 5, 5, 0.48) 100%
      ),
      linear-gradient(0deg, rgba(3, 5, 5, 0.78), transparent 60%);
  }

  .stay-product-grid {
    grid-template-columns: 1fr;
  }

  .stay-product + .stay-product,
  .stay-product:nth-child(3) {
    border-top: 1px solid rgba(13, 15, 15, 0.14);
    border-left: 0;
  }

  .stay-product {
    min-height: 0;
  }

  .rate-table-wrap::after {
    display: block;
    padding: 11px 14px;
    border-top: 1px solid rgba(13, 15, 15, 0.1);
    color: #756e65;
    content: "Swipe horizontally to compare all stay lengths";
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-align: center;
    text-transform: uppercase;
  }

  .new-year-offer {
    grid-template-columns: 1fr 1fr;
    gap: 28px 15px;
  }

  .new-year-stat {
    min-width: 0;
  }

  #lodgify-search-bar .almissum-lodgify-search {
    width: 100% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  #lodgify-search-bar .almissum-lodgify-search {
    transition: none !important;
  }
}
