@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

@font-face {
  font-family: "DM Serif Display";
  src: url("assets/fonts/dm-serif-display.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #1e241f;
  --paper: #f7f7f3;
  --white: #ffffff;
  --leaf: #344335;
  --moss: #61715c;
  --pecan: #9a7048;
  --rust: #bc602f;
  --teal: #197d91;
  --line: rgba(30, 36, 31, 0.18);
  --shadow: 0 24px 70px rgba(22, 28, 23, 0.18);
  --booking: "https://book.nightsbridge.com/39942?nbid=337";
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  padding: 0;
  border: 0;
  white-space: nowrap;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}

.skip-link:focus-visible {
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
  padding: 10px 14px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 13px 20px;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-rust {
  background: var(--rust);
  color: var(--white);
}

.button-light {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.button-outline {
  border-color: var(--ink);
  color: var(--ink);
}

.site-header {
  position: relative;
  z-index: 30;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 10px max(20px, calc((100vw - 1180px) / 2));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 4px;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  font-size: 0.72rem;
  opacity: 0.7;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.88rem;
  font-weight: 750;
}

.nav > a:not(.button) {
  padding-block: 10px;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--pecan);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 3.4rem;
  font-weight: 400;
  line-height: 1.02;
}

.slider {
  position: relative;
  overflow: hidden;
  background: #d8ddd7;
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 420ms ease, transform 620ms ease;
  transform: scale(1.025);
  pointer-events: none;
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-controls {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(20, 26, 21, 0.7);
  color: var(--white);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.slider-count {
  min-width: 56px;
  color: var(--white);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
}

[data-lightbox] {
  cursor: zoom-in;
}

.lightbox {
  width: min(1120px, calc(100% - 32px));
  max-width: none;
  height: min(820px, calc(100% - 32px));
  max-height: none;
  border: 0;
  padding: 0;
  background: #111612;
  color: var(--white);
}

.lightbox::backdrop {
  background: rgba(7, 10, 8, 0.84);
  backdrop-filter: blur(8px);
}

.lightbox-inner {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.lightbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
}

.lightbox-close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 1.4rem;
}

.mobile-book {
  display: none;
}

.site-footer {
  padding: 34px 0;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.84rem;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 70px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: 70px 0 auto;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    padding: 18px 20px 28px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 18px 40px rgba(20, 26, 21, 0.2);
  }

  .nav.is-open {
    display: flex;
  }

  .nav > a:not(.button) {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
  }

  .nav .button {
    margin-top: 12px;
  }

  .section-title {
    font-size: 2.7rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .brand small {
    display: none;
  }

  .brand img {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-book {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 25;
    display: flex;
    min-height: 52px;
    border-radius: 4px;
    box-shadow: 0 16px 36px rgba(20, 26, 21, 0.28);
  }

  body {
    padding-bottom: 76px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
