/* =================================================================
   Cifuentes Horizon — Website UI kit styles
   Adapted from the production site; all values reference design-system
   tokens from styles.css. Layout-only — primitives bring their own
   styling from the bundle.
   ================================================================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--type-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

/* ---------- shared type ---------- */
.display {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: var(--type-display);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

.display em {
  font-style: italic;
  font-weight: 400;
  color: var(--terra-deep);
}

.lede {
  font-family: var(--font-sans);
  font-size: var(--type-lede);
  line-height: var(--lh-lede);
  font-weight: 400;
  color: var(--ink-soft);
  text-wrap: pretty;
  margin: 0 0 1.5rem;
}

.lede em {
  font-style: italic;
  color: var(--terra-deep);
}

.sub-h {
  font-family: var(--font-serif);
  font-size: var(--type-sub);
  font-weight: 500;
  margin: 0 0 1.5rem;
  letter-spacing: -0.005em;
  color: var(--ink);
}

p {
  text-wrap: pretty;
}

p em {
  font-family: var(--font-sans);
  font-style: italic;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 252, 252, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--dur-slow) var(--ease), border-color var(--dur-slow) var(--ease);
}

.nav.scrolled {
  background: rgba(249, 252, 252, 0.95);
  border-bottom-color: var(--line-soft);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand-logo {
  height: 52px;
  width: auto;
  display: block;
  transition: height var(--dur) var(--ease);
}

.nav.scrolled .brand-logo {
  height: 46px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.83rem;
  letter-spacing: var(--ls-nav);
  text-transform: uppercase;
}

.nav-links a {
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover {
  color: var(--terra-deep);
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--terra-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-slow) var(--ease);
}

.nav-links>a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 10px 22px !important;
  background: var(--ink);
  color: var(--ivory) !important;
  border-radius: var(--radius-pill);
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--terra-deep);
}

@media (max-width: 1000px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78) saturate(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 14, 14, 0) 0%, rgba(8, 14, 14, 0) 35%, rgba(8, 14, 14, 0.45) 78%, rgba(8, 14, 14, 0.80) 100%), linear-gradient(100deg, rgba(8, 14, 14, 0.62) 0%, rgba(8, 14, 14, 0.42) 30%, rgba(8, 14, 14, 0.16) 55%, rgba(8, 14, 14, 0) 75%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 120px var(--pad-x) 200px;
  color: #fff;
}

.hero-logo {
  height: clamp(72px, 8vw, 100px);
  width: auto;
  margin-bottom: clamp(24px, 4vw, 40px);
  opacity: 0.96;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: var(--type-hero);
  line-height: var(--lh-hero);
  letter-spacing: var(--ls-hero);
  margin: 0 0 28px;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 2px 28px rgba(15, 12, 8, 0.35);
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--terra-glow);
}

.hero-sub {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.55;
  max-width: 540px;
  color: rgba(255, 255, 255, 0.96);
  margin: 0 0 40px;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-meta {
  position: absolute;
  z-index: 2;
  left: var(--pad-x);
  right: var(--pad-x);
  bottom: 64px;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
}

.hero-meta .meta-num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 500;
  line-height: 1;
  color: #fff;
  display: block;
}

.hero-meta .meta-lbl {
  font-size: var(--type-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-sans);
  font-weight: 500;
}

/* ---------- sections ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section-y) var(--pad-x);
}

.section-head {
  margin-bottom: clamp(48px, 7vw, 90px);
  max-width: 820px;
}

.section-head .eyebrow {
  margin-bottom: 1.4rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.about-text p {
  color: var(--ink-soft);
  margin: 0 0 18px;
  max-width: 50ch;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  border-top: 1px solid var(--line);
}

.about-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  align-items: baseline;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.about-list li span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink);
  min-width: 150px;
}

.about-figure {
  margin: 0;
}

.about-figure img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-figure figcaption {
  margin-top: 14px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  font-style: italic;
  font-family: var(--font-serif);
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ---------- gallery ---------- */
.gallery-cat-section {
  padding: clamp(80px, 12vw, 140px) var(--pad-x);
  background: var(--ivory);
}

.gallery-cat-section:nth-child(even) {
  background: var(--ivory-soft);
}

.gallery-cat-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

.gallery-cat-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  margin: 0 0 clamp(48px, 7vw, 80px);
  letter-spacing: -0.01em;
}

.gallery-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 32px);
}

.gallery-card {
  margin: 0;
  overflow: hidden;
  background: var(--cream);
  border-radius: var(--radius);
  cursor: zoom-in;
  aspect-ratio: 4/5;
  transition: opacity var(--dur) var(--ease);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-image) var(--ease);
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-card:focus-visible {
  outline: 2px solid var(--terra-deep);
  outline-offset: 2px;
}

/* old gallery styles cleanup */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}

.g {
  margin: 0;
  overflow: hidden;
  background: var(--cream);
  border-radius: 4px;
  cursor: zoom-in;
}

.g img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-image) var(--ease);
}

.g:hover img {
  transform: scale(1.04);
}

.g-tall {
  grid-row: span 2;
}

.g-wide {
  grid-column: span 2;
}

/* ---------- amenities ---------- */
.amen-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(40px, 6vw, 70px);
  align-items: start;
}

.amen-fig {
  margin: 0;
  position: sticky;
  top: 100px;
}

.amen-fig img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
}

.amen-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 44px);
}

.amen-block h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.4rem;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.amen-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.amen-block li {
  padding: 6px 0;
  font-size: 0.94rem;
  color: var(--ink-soft);
  font-family: var(--font-sans);
}

/* ---------- pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  background: var(--cream);
  padding: clamp(40px, 6vw, 72px);
  border-radius: var(--radius);
}

.price-range {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 24px;
  font-family: var(--font-serif);
}

.price-range .from {
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink-mute);
}

.price-range .num {
  font-size: clamp(4rem, 9vw, 6rem);
  font-weight: 500;
  line-height: 0.9;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-family: var(--font-serif);
}

.price-range .to {
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink-soft);
}

.price-note {
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 42ch;
  margin: 0 0 32px;
}

.price-list {
  margin: 0;
}

.price-list>div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}

.price-list>div:first-child {
  border-top: 1px solid var(--line);
}

.price-list dt {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-family: var(--font-sans);
  font-weight: 500;
}

.price-list dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--ink);
  text-align: right;
  font-weight: 500;
}

/* ---------- pricing split (redesigned) ---------- */
.pricing-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: 580px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.price-split-image {
  position: relative;
  overflow: hidden;
}

.price-split-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-image) var(--ease);
}

.price-split-image:hover img {
  transform: scale(1.025);
}

.price-split-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg,
      rgba(8, 14, 14, 0.44) 0%,
      rgba(8, 14, 14, 0.13) 50%,
      rgba(8, 14, 14, 0.32) 100%);
}

.price-split-panel {
  background: transparent;
  padding: clamp(44px, 5.5vw, 64px) clamp(40px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line-soft);
}

.price-split-rule {
  width: 100%;
  height: 1px;
  background: var(--line);
  margin: 32px 0;
  flex-shrink: 0;
}

/* ---------- amenities inline (rooms page) ---------- */
.section-amen-inline {
  background: var(--ivory-soft);
  padding: var(--section-y) var(--pad-x);
}

.section-amen-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

.amen-inline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px 40px;
}

.amen-inline-cat {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.amen-inline-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.amen-inline-icon {
  color: var(--terra-deep);
  display: flex;
  align-items: center;
  flex-shrink: 0;
  opacity: 0.75;
}

.amen-inline-label {
  font-family: var(--font-sans);
  font-size: 0.70rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.amen-inline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.amen-inline-list li {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.45;
  padding-left: 16px;
  position: relative;
}

.amen-inline-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--terra-deep);
  opacity: 0.45;
  font-size: 0.68rem;
  top: 3px;
}

/* ---------- booking ---------- */
.section-book {
  position: relative;
  padding: calc(48px + var(--section-y)) var(--pad-x) var(--section-y);
  background: var(--black);
  overflow: hidden;
}

.book-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.book-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: brightness(0.55);
}

.book-card {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  color: #fff;
}

.book-card .display {
  color: #fff;
}

.book-card .display em {
  color: var(--terra-glow);
}

.book-card .lede {
  color: rgba(255, 255, 255, 0.85);
  max-width: 60ch;
  margin-bottom: 40px;
}

.glass-effect {
  padding: 34px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.book-form {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px 20px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.field-half {
  grid-column: span 3;
}

.field-third {
  grid-column: span 2;
}

.field-full {
  grid-column: span 6;
}

.field-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.form-aside {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  font-family: var(--font-sans);
  font-weight: 400;
}

.form-status {
  grid-column: span 6;
  margin: 0;
  font-size: 0.95rem;
  color: oklch(0.85 0.1 145);
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 400;
}

/* ---------- footer ---------- */
.footer {
  background: #153B3C;
  color: rgba(255, 255, 255, 0.7);
  padding: 72px var(--pad-x) 36px;
}

.footer-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.foot-logo {
  height: 84px;
  width: auto;
  margin-bottom: 16px;
  opacity: 0.95;
}

.foot-tag {
  margin: 0;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
  font-family: var(--font-sans);
  font-weight: 400;
}

.foot-h {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 16px;
  font-family: var(--font-sans);
  font-weight: 500;
}

.foot-col p,
.foot-col address {
  margin: 0 0 8px;
  font-size: 0.94rem;
  line-height: 1.55;
  font-style: normal;
  font-family: var(--font-sans);
  font-weight: 400;
}

.foot-col a {
  color: rgba(255, 255, 255, 0.85);
}

.foot-col a:hover {
  color: #fff;
}

.foot-col a.is-current {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}

.foot-bottom {
  max-width: var(--maxw);
  margin: 32px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
}

.foot-bottom p {
  margin: 0;
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(20, 16, 12, 0.94);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px clamp(20px, 6vw, 80px);
}

.lb-img {
  max-width: 100%;
  max-height: calc(100vh - 180px);
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
}

.lb-cap {
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 1rem;
  text-align: center;
  margin: 14px 0 0;
  font-weight: 400;
}

.lb-btn {
  position: absolute;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.lb-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.lb-close {
  top: 24px;
  right: 24px;
}

.lb-prev {
  left: clamp(16px, 3vw, 36px);
  top: 50%;
  transform: translateY(-50%);
}

.lb-next {
  right: clamp(16px, 3vw, 36px);
  top: 50%;
  transform: translateY(-50%);
}

.lb-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {

  .about-grid,
  .amen-layout,
  .pricing {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pricing-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .price-split-image {
    height: 320px;
    position: relative;
  }

  .price-split-panel {
    border-left: none;
    border-top: 1px solid var(--line-soft);
  }

  .amen-inline-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .amen-fig {
    position: static;
  }

  .rooms-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-meta {
    grid-template-columns: repeat(2, 1fr);
  }

  .book-form {
    grid-template-columns: repeat(2, 1fr);
  }

  .field-half,
  .field-third,
  .field-full {
    grid-column: span 2;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .getting-around-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- multi-page additions ---------- */
.section-alt {
  background: var(--ivory-soft);
}

/* ---------- rooms — full-bleed light teal ---------- */
.section-rooms-teal {
  background: var(--cream);
  padding: var(--section-y) var(--pad-x);
}

.section-rooms-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

.room-card-click {
  cursor: zoom-in;
  position: relative;
}

.room-card-click::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  pointer-events: none;
}

/* ---------- description — full-bleed dark teal ---------- */
.section-desc-dark {
  background: var(--terra-deep);
  padding: var(--section-y) var(--pad-x);
}

.section-desc-dark-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

.section-desc-dark .section-head {
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-desc-lede {
  color: #ffffff !important;
  font-family: var(--font-serif) !important;
  font-size: var(--type-lede);
  line-height: var(--lh-lede);
  font-style: normal !important;
}

.section-desc-lede em {
  color: #ffffff !important;
  font-style: normal !important;
}

.section-desc-body {
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-sans);
  font-size: var(--type-body);
  line-height: var(--lh-body);
  max-width: 72ch;
  text-wrap: pretty;
}

.nav-links a.is-current {
  color: var(--terra-deep);
}

.nav-links a.is-current:not(.nav-cta)::after {
  transform: scaleX(1);
}

.nav-drop.is-current>a::after {
  transform: scaleX(1);
}

/* Mobile menu active state */
.nav-mobile-links a.is-current {
  color: var(--terra-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.nav-mobile-menu-dark .nav-mobile-links a.is-current {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

/* nav dropdown */
.nav-drop {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-drop>a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink-soft);
  padding: 6px 0;
  cursor: pointer;
}

.nav-drop>a .caret {
  font-size: 0.7em;
  transition: transform var(--dur-fast) var(--ease);
}

.nav-drop:hover>a,
.nav-drop:focus-within>a,
.nav-drop.is-current>a {
  color: var(--terra-deep);
}

.nav-drop:hover>a .caret {
  transform: translateY(1px);
}

.nav-sub {
  position: absolute;
  top: 100%;
  left: -14px;
  min-width: 180px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 8px 0;
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility var(--dur-fast);
  z-index: 20;
}

.nav-drop:hover .nav-sub,
.nav-drop:focus-within .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-sub a {
  display: block;
  padding: 9px 18px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ink-soft);
}

.nav-sub a::after {
  display: none;
}

.nav-sub a:hover {
  color: var(--terra-deep);
  background: var(--ivory-soft);
}

/* in-page anchor offset under sticky nav */
main [id] {
  scroll-margin-top: 92px;
}

/* legal page */
.legal-note {
  max-width: 70ch;
  margin: 0 0 40px;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink-mute);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.legal-block {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  max-width: 72ch;
}

.legal-block:last-child {
  border-bottom: 0;
}

.legal-prose,
.legal-prose p {
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.7;
}

.legal-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-list li {
  padding: 7px 0 7px 22px;
  position: relative;
  color: var(--ink-soft);
}

.legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 14px;
  height: 1px;
  background: var(--terra-deep);
}

.legal-prose a {
  color: var(--terra-deep);
  border-bottom: 1px solid var(--line);
}

.page-header {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: transparent;
  border-radius: 0 0 16px 16px;
  margin: 0 0;
  padding-bottom: 32px;
}

.page-header::after {
  content: "";
  position: absolute;
  bottom: -32px;
  left: 0;
  right: 0;
  height: 32px;
  background: transparent;
  z-index: 0;
  pointer-events: none;
}

.page-header.is-penthouse {
  background: #153B3C;
  overflow: visible;
}

.page-header.is-penthouse::after {
  background: #153B3C;
}

.page-header-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78) saturate(1.04);
  border-radius: 0 0 16px 16px;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(20, 90, 95, 0.48) 0%, rgba(20, 90, 95, 0.24) 45%, rgba(8, 14, 14, 0.56) 100%), linear-gradient(180deg, rgba(8, 14, 14, 0.72) 0%, rgba(8, 14, 14, 0.15) 38%, rgba(8, 14, 14, 0.55) 100%);
  border-radius: 0 0 16px 16px;
}

.page-header-inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--pad-x) clamp(48px, 7vw, 88px);
  color: #fff;
}

.page-header-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.6rem, 5.4vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 16px 0 0;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 2px 28px rgba(8, 14, 14, 0.4);
}

.page-header-title em {
  font-style: italic;
  font-weight: 400;
  color: #fff;
}

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.teaser-fig {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream);
}

.teaser-fig img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-image) var(--ease);
}

.teaser-fig:hover img {
  transform: scale(1.04);
}

@media (max-width: 1000px) {
  .teaser-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-header {
    min-height: 46vh;
  }
}

@media (max-width: 600px) {
  .teaser-grid {
    grid-template-columns: 1fr;
  }

  .gallery-cat-grid {
    grid-template-columns: 1fr;
  }

  .gallery-cat-title {
    margin-bottom: clamp(32px, 5vw, 48px);
  }
}

/* ---------- home intro v2 — centered, no side image ---------- */
.home-intro-v2 {
  text-align: center;
  padding-bottom: clamp(32px, 4vw, 48px);
}

.home-intro-center {
  max-width: 600px;
  margin: 0 auto;
}

.home-intro-center .lede {
  margin-left: auto;
  margin-right: auto;
}

.intro-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 1.06rem;
  color: var(--terra-deep);
  border-bottom: 1px solid var(--terra-deep);
  padding-bottom: 3px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.intro-text-link::after {
  content: "→";
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  display: inline-block;
  transition: transform var(--dur) var(--ease);
}

.intro-text-link:hover {
  color: var(--terra-deep);
  border-color: var(--terra-deep);
}

.intro-text-link:hover::after {
  transform: translateX(5px);
}

/* ---------- editorial gallery — home page ---------- */
.gallery-editorial-section {
  overflow: visible;
  padding: 0 0 clamp(60px, 8vw, 110px);
  background: var(--ivory);
}

.ge-grid {
  display: grid;
  grid-template-columns: 180px 1fr 1.55fr 1fr 180px;
  gap: 14px;
  margin: 0 -90px;
  align-items: start;
}

.ge-fig {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  display: block;
}

.ge-fig img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.85s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.ge-fig:hover img {
  transform: scale(1.045);
}

/* per-column vertical stagger */
.ge-c1 {
  padding-top: 26px;
}

.ge-c1 img {
  aspect-ratio: 5/4.5;
}

.ge-c2 {
  padding-top: 8px;
}

.ge-c2 img {
  aspect-ratio: 5/4.5;
}

.ge-c3 img {
  aspect-ratio: 5/4.5;
}

.ge-c4 {
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ge-c4a img {
  aspect-ratio: 16/6.75;
}

.ge-c4b img {
  aspect-ratio: 5/4.5;
}

.ge-c5 {
  padding-top: 36px;
}

.ge-c5 img {
  aspect-ratio: 5/4.5;
}

/* ---------- about apartment section ---------- */
.about-apartment {
  padding: clamp(80px, 10vw, 120px) var(--pad-x);
}

.about-apartment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 8vw, 100px);
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
}

.about-apartment-fig {
  margin: 0;
}

.about-apartment-fig img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-apartment-text {
  padding: clamp(20px, 3vw, 40px) 0;
}

.about-apartment-text .display {
  line-height: var(--lh-display);
}

/* ---------- meet owners section ---------- */
.meet-owners {
  padding: clamp(80px, 10vw, 120px) var(--pad-x);
  background: var(--ivory);
}

.meet-owners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 8vw, 100px);
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
}

.meet-owners-text {
  padding: clamp(20px, 3vw, 40px) 0;
  order: -1;
}

.meet-owners-text .display {
  line-height: var(--lh-display);
}

.meet-owners-fig {
  margin: 0;
}

.meet-owners-fig img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ---------- getting around section ---------- */
.getting-around {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: clamp(80px, 10vw, 120px) var(--pad-x);
  background: var(--ivory-soft);
}

.getting-around-content {
  max-width: var(--maxw);
  margin: 0 auto;
}

.getting-around-content {
  max-width: var(--maxw);
  margin: 0 auto;
}

.getting-around-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(40px, 5vw, 60px);
}

.ga-card {
  padding: clamp(32px, 4vw, 48px);
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.ga-card:hover {
  border-color: var(--line);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.ga-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 16px;
  letter-spacing: -0.005em;
}

.ga-text {
  font-family: var(--font-sans);
  font-size: var(--type-body);
  line-height: var(--lh-body);
  color: var(--ink-soft);
  margin: 0;
  text-wrap: pretty;
}

/* ---------- editorial gallery strip — horizontal scroll ---------- */
.ge-strip {
  display: flex;
  align-items: flex-end;
  gap: clamp(10px, 1.5vw, 16px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 clamp(24px, 5vw, 64px);
  scrollbar-width: none;
  cursor: grab;
}

.ge-strip::-webkit-scrollbar {
  display: none;
}

.ge-strip.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.ge-strip .ge-fig {
  flex: 0 0 auto;
  width: clamp(200px, 22vw, 300px);
  height: clamp(260px, 30vw, 400px);
  scroll-snap-align: start;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
}

/* subtle alternating height — max ~20 % difference */
.ge-strip .ge-fig:nth-child(even) {
  height: clamp(300px, 36vw, 470px);
}

.ge-strip .ge-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.85s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.ge-strip .ge-fig:hover img {
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .ge-strip .ge-fig {
    width: clamp(170px, 58vw, 260px);
    height: clamp(220px, 48vw, 340px);
  }
  .ge-strip .ge-fig:nth-child(even) {
    height: clamp(250px, 56vw, 390px);
  }
}

@media (max-width: 480px) {
  .ge-strip {
    gap: 8px;
    padding: 0 16px;
  }
  .ge-strip .ge-fig {
    width: 72vw;
    height: 56vw;
  }
  .ge-strip .ge-fig:nth-child(even) {
    height: 66vw;
  }
}

/* ---------- gallery wrap + arrows ---------- */
.ge-wrap {
  position: relative;
}

.ge-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.09);
  transition:
    background var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    opacity var(--dur) var(--ease);
}

.ge-arrow:hover {
  background: var(--ivory-soft);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.14);
}

.ge-arrow.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.ge-arrow-prev { left: clamp(6px, 1.2vw, 14px); }
.ge-arrow-next { right: clamp(6px, 1.2vw, 14px); }

@media (max-width: 600px) {
  .ge-arrow { display: none; }
}

/* gallery footer link */
.ge-footer {
  text-align: center;
  padding-top: clamp(36px, 5vw, 56px);
}

.ge-view-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 1.06rem;
  color: var(--terra-deep);
  border-bottom: 1px solid var(--terra-deep);
  padding-bottom: 3px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  font-weight: 500;
}

.ge-view-link::after {
  content: "→";
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  display: inline-block;
  transition: transform var(--dur) var(--ease);
  font-weight: 400;
}

.ge-view-link:hover {
  color: var(--terra-deep);
  border-color: var(--terra-deep);
}

.ge-view-link:hover::after {
  transform: translateX(5px);
}

/* responsive */
@media (max-width: 860px) {
  .ge-grid {
    grid-template-columns: 120px 1fr 1.4fr 1fr 120px;
    margin: 0 -60px;
    gap: 10px;
  }

  .ge-c1 {
    padding-top: 56px;
  }

  .ge-c5 {
    padding-top: 72px;
  }
}

@media (max-width: 640px) {
  .ge-c1 {
    display: none;
  }

  .ge-c5 {
    display: none;
  }

  .ge-grid {
    grid-template-columns: 1fr 1.4fr 1fr;
    margin: 0 var(--pad-x);
    gap: 10px;
  }

  .ge-c2 {
    padding-top: 0;
  }

  .ge-c4 {
    padding-top: 24px;
  }
}

/* ---------- closing section — photo background with overlay ---------- */
.closing-section { position: relative; overflow: hidden; color: #fff; padding: clamp(80px,10vw,120px) var(--pad-x); text-align: center; }
.closing-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.78) saturate(1.04); }
.closing-overlay { position: absolute; inset: 0; background: linear-gradient(155deg, rgba(20,90,95,0.52) 0%, rgba(8,14,14,0.72) 100%); }
.closing-inner { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.closing-section h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(2rem,4vw,3.2rem); line-height: 1.08; letter-spacing: -0.008em; color: #fff; margin: 0 0 clamp(20px,2vw,32px); text-wrap: balance; }
.closing-section h2 em { font-style: italic; font-weight: 400; }
.closing-section p { font-family: var(--font-sans); font-size: clamp(1rem,1.5vw,1.15rem); line-height: 1.6; color: rgba(255,255,255,0.9); margin: 0 0 clamp(32px,4vw,48px); text-wrap: pretty; }
.closing-cta { display: inline-block; padding: 13px 36px; background: rgba(255,255,255,0.92); color: var(--terra-deep); font-family: var(--font-sans); font-size: 0.69rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; border-radius: var(--radius-pill); text-decoration: none; transition: background var(--dur) var(--ease); }
.closing-cta:hover { background: #fff; color: var(--terra-deep); }

/* ================================================================
   GALLERY COLLAGE — groups of single + stacked images, horizontal scroll
   ================================================================ */
.gc-wrap {
  position: relative;
}

.gc-scroll {
  display: flex;
  gap: clamp(8px, 1.2vw, 12px);
  height: 60vh;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 clamp(24px, 5vw, 64px);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.gc-scroll::-webkit-scrollbar {
  display: none;
}

.gc-scroll.is-dragging {
  cursor: grabbing;
  user-select: none;
}

/* Each group is a vertical flex column — either 1 or 2 images tall */
.gc-group {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.2vw, 12px);
  height: 100%;
  flex-shrink: 0;
}

/* Single image, full height */
.gc-single {
  width: clamp(220px, 36vw, 600px);
}

/* Slightly narrower single variant */
.gc-narrow {
  width: clamp(200px, 26vw, 420px);
}

/* Two stacked images — widest columns */
.gc-stack {
  width: clamp(300px, 38vw, 580px);
}

.gc-item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream);
  flex: 1;
}

.gc-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.85s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.gc-item:hover img {
  transform: scale(1.04);
}

/* Flex split in stacked groups — direct children only */
.gc-stack > .gc-item:first-child { flex: 1.5; }
.gc-stack > .gc-item:last-child  { flex: 1; }

/* Nested horizontal row (landscape top + 2 portraits below) */
.gc-stack > .gc-row {
  display: flex;
  flex-direction: row;
  gap: clamp(8px, 1.2vw, 12px);
  flex: 1;
}

.gc-row > .gc-item {
  flex: 1;
}

/* Arrow buttons */
.gc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.09);
  transition:
    background var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    opacity var(--dur) var(--ease);
}

.gc-arrow:hover {
  background: var(--ivory-soft);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.14);
}

.gc-arrow.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.gc-arrow-prev { left:  clamp(6px, 1.2vw, 14px); }
.gc-arrow-next { right: clamp(6px, 1.2vw, 14px); }

@media (max-width: 768px) {
  .gc-scroll {
    height: 52vh;
    gap: 8px;
  }
  .gc-single  { width: clamp(180px, 40vw, 300px); }
  .gc-narrow  { width: clamp(160px, 34vw, 260px); }
  .gc-stack   { width: clamp(240px, 54vw, 420px); }
}

@media (max-width: 480px) {
  .gc-arrow { display: none; }
  .gc-scroll {
    height: 48vh;
    padding: 0 16px;
  }
}

/* ================================================================
   NAV LUXURY — full-bleed overlay nav, home page only
   ================================================================ */
.nav-lux {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 32px clamp(28px, 5vw, 72px);
  background: transparent;
  border-bottom: 1px solid transparent;
  will-change: transform;
  transition:
    background var(--dur-slow) var(--ease),
    border-color var(--dur-slow) var(--ease),
    padding var(--dur-slow) var(--ease),
    transform 0.42s cubic-bezier(0.32, 0, 0.67, 0);
}

.nav-lux.nav-lux-hidden {
  transform: translateY(-110%);
  transition:
    background var(--dur-slow) var(--ease),
    border-color var(--dur-slow) var(--ease),
    padding var(--dur-slow) var(--ease),
    transform 0.36s cubic-bezier(0.4, 0, 1, 1);
}

/* Subtle scrim — extends below the nav bar to ensure link readability */
.nav-lux::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg,
      rgba(8, 14, 14, 0.50) 0%,
      rgba(8, 14, 14, 0.18) 55%,
      rgba(8, 14, 14, 0) 100%);
  pointer-events: none;
  z-index: -1;
  transition: opacity var(--dur-slow) var(--ease);
}

.nav-lux.nav-lux-scrolled::before {
  opacity: 0;
}

.nav-lux.nav-lux-scrolled {
  background: rgba(21, 59, 60, 0.90);
  backdrop-filter: saturate(130%) blur(16px);
  -webkit-backdrop-filter: saturate(130%) blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  border-radius: 0 0 16px 16px;
  padding-top: 19px;
  padding-bottom: 19px;
}

.nav-lux-group {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-lux-right {
  justify-content: flex-end;
}

.nav-lux a:not(.nav-lux-book) {
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-sans);
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  position: relative;
  transition: color var(--dur-slow) var(--ease);
}

.nav-lux-left a::after,
.nav-lux-right a:not(.nav-lux-book)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: rgba(255, 255, 255, 0.85);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-slow) var(--ease);
}

.nav-lux a:not(.nav-lux-book):hover {
  color: #fff;
}

.nav-lux-left a:hover::after,
.nav-lux-right a:not(.nav-lux-book):hover::after {
  transform: scaleX(1);
}

/* Active / current page indicator */
.nav-lux a.is-current:not(.nav-lux-book) {
  color: #fff;
}

.nav-lux-left a.is-current::after,
.nav-lux-right a.is-current:not(.nav-lux-book)::after {
  transform: scaleX(1);
}

.nav-lux-center {
  display: flex;
  justify-content: center;
}

.nav-lux-logo {
  height: 88px;
  width: auto;
  display: block;
  opacity: 0.96;
  transition: opacity var(--dur-slow) var(--ease), height var(--dur-slow) var(--ease);
}

.nav-lux-logo:hover {
  opacity: 1;
}

.nav-lux-scrolled .nav-lux-logo {
  height: 64px;
}

.nav-lux-book {
  color: #0c0b09 !important;
  font-family: var(--font-sans);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 11px 28px;
  background: rgba(255, 255, 255, 0.88);
  border: none;
  border-radius: var(--radius-pill);
  transition:
    background var(--dur-slow) var(--ease),
    color var(--dur-slow) var(--ease);
}

.nav-lux-book:hover {
  background: #fff;
  color: #0c0b09 !important;
}

/* ================================================================
   HERO LUXURY — full-viewport, centered, single image
   ================================================================ */
.hero-lux {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0c0b09;
}

.hero-lux-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8) saturate(1.06);
}

.hero-lux-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(8, 14, 14, 0.62) 0%,
      rgba(8, 14, 14, 0.32) 35%,
      rgba(8, 14, 14, 0.32) 65%,
      rgba(8, 14, 14, 0.64) 100%);
}

.hero-lux-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
  padding: 0 clamp(24px, 6vw, 100px);
  max-width: 1000px;
}

.hero-lux-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: calc(var(--type-hero) * 0.8);
  line-height: 1.06;
  letter-spacing: var(--ls-hero);
  color: #fff;
  margin: 0;
  text-wrap: balance;
  text-shadow: 0 2px 48px rgba(8, 14, 14, 0.45);
}

.hero-lux-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-lux-btn {
  color: #0c0b09;
  font-family: var(--font-sans);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 13px 36px;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  border-radius: var(--radius-pill);
  transition:
    background var(--dur-slow) var(--ease),
    color var(--dur-slow) var(--ease),
    box-shadow var(--dur-slow) var(--ease);
}

.hero-lux-btn:hover {
  background: #fff;
  color: #0c0b09;
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.16);
}

/* scroll indicator — absolutely pinned to bottom */
.hero-lux-scroll {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-chevron {
  width: 22px;
  height: 22px;
  animation: scrollPulse 2.4s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0.55;
  }

  50% {
    transform: translateY(8px);
    opacity: 0.92;
  }
}

/* responsive */
@media (max-width: 860px) {
  .nav-lux {
    padding: 26px 28px;
  }

  .nav-lux-group {
    gap: 22px;
  }

  .nav-lux-logo {
    height: 46px;
  }
}

@media (max-width: 600px) {
  .nav-lux-left {
    display: none;
  }

  .nav-lux a:not(.nav-lux-book) {
    display: none;
  }
}

/* ================================================================
   HAMBURGER BUTTONS
   ================================================================ */

/* Standard nav hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 10px 8px;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
  transform-origin: center;
}

.nav-hamburger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Luxury nav hamburger */
.nav-lux-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 10px 8px;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.nav-lux-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
  transform-origin: center;
}

.nav-lux-hamburger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-lux-hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-lux-hamburger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Scrolled state hamburger (dark bar) */
.nav-lux-scrolled .nav-lux-hamburger span {
  background: rgba(255, 255, 255, 0.9);
}

/* Show hamburger at the right breakpoints */
@media (max-width: 1000px) {
  .nav-hamburger {
    display: flex;
  }
}

@media (max-width: 860px) {
  .nav-lux-hamburger {
    display: flex;
  }
}

/* ================================================================
   MOBILE MENU OVERLAY
   ================================================================ */
.nav-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  padding: 80px 32px 48px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  animation: mobileMenuIn 0.22s var(--ease) both;
}

.nav-mobile-menu-dark {
  background: #0e1f20;
}

@keyframes mobileMenuIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.nav-mobile-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0;
  color: var(--ink);
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition: opacity var(--dur-fast) var(--ease);
}

.nav-mobile-close:hover {
  opacity: 1;
}

.nav-mobile-menu-dark .nav-mobile-close {
  color: rgba(255, 255, 255, 0.75);
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.nav-mobile-links a {
  display: flex;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 6vw, 1.75rem);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
  min-height: 56px;
}

.nav-mobile-links a:hover {
  color: var(--terra-deep);
  padding-left: 6px;
}

.nav-mobile-menu-dark .nav-mobile-links a {
  color: rgba(255, 255, 255, 0.86);
  border-bottom-color: rgba(255, 255, 255, 0.09);
}

.nav-mobile-menu-dark .nav-mobile-links a:hover {
  color: #fff;
}

.nav-mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  padding: 18px 36px;
  background: var(--ink);
  color: var(--ivory);
  border-radius: var(--radius-pill);
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  min-height: 56px;
  border-bottom: none;
  transition: background var(--dur) var(--ease);
}

.nav-mobile-cta:hover {
  background: var(--terra-deep);
}

.nav-mobile-menu-dark .nav-mobile-cta {
  background: rgba(255, 255, 255, 0.92);
  color: #0c0b09;
}

.nav-mobile-menu-dark .nav-mobile-cta:hover {
  background: #fff;
}

/* ================================================================
   TABLET — 768px
   ================================================================ */
@media (max-width: 768px) {

  /* spacing */
  .section {
    padding: clamp(48px, 7vw, 80px) clamp(20px, 5vw, 48px);
  }

  .section-head {
    margin-bottom: clamp(36px, 5vw, 60px);
  }

  /* grids */
  .about-apartment-grid,
  .meet-owners-grid {
    gap: 40px;
  }

  .getting-around-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .ga-card {
    padding: 28px;
  }

  .gallery-cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(10px, 2vw, 20px);
  }

  .amen-inline-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
  }

  .rooms-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
  }

  .footer {
    padding: 56px clamp(20px, 5vw, 48px) 32px;
  }

  /* page header */
  .page-header {
    min-height: 44vh;
  }

  /* sections with explicit padding */
  .section-amen-inline,
  .section-rooms-teal,
  .section-desc-dark,
  .getting-around,
  .gallery-cat-section {
    padding: clamp(48px, 7vw, 80px) clamp(20px, 5vw, 48px);
  }
}

/* ================================================================
   MOBILE — 480px
   ================================================================ */
@media (max-width: 480px) {

  /* ---- Standard nav ---- */
  .nav-links {
    display: none;
  }

  /* hide all links incl. Book Now */
  .nav-inner {
    padding: 14px 20px;
  }

  .brand-logo {
    height: 42px;
  }

  .nav.scrolled .brand-logo {
    height: 38px;
  }

  /* ---- Luxury nav ---- */
  .nav-lux {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
  }

  .nav-lux-left {
    display: none;
  }

  /* Re-show logo (overrides the 600px `nav-lux a:not(.nav-lux-book)` rule) */
  .nav-lux .nav-lux-center a {
    display: flex;
  }

  .nav-lux-logo {
    height: 46px;
  }

  .nav-lux-scrolled .nav-lux-logo {
    height: 40px;
  }

  .nav-lux-right {
    gap: 0;
    justify-content: flex-end;
  }

  .nav-lux-book {
    display: none;
  }

  /* access via hamburger menu */

  /* ---- Hero luxury ---- */
  .hero-lux {
    min-height: 100svh;
    min-height: 100vh;
  }

  .hero-lux-title {
    font-size: clamp(2.5rem, 10.625vw, 3.75rem);
    line-height: 1.08;
  }

  .hero-lux-content {
    gap: 28px;
    padding: 0 20px;
  }

  .hero-lux-btn {
    padding: 15px 26px;
    font-size: 0.7rem;
    min-height: 48px;
  }

  .hero-lux-cta {
    gap: 10px;
  }

  .hero-lux-scroll {
    bottom: 28px;
  }

  /* ---- Section spacing ---- */
  .section {
    padding: 48px 20px;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .section-amen-inline,
  .section-rooms-teal,
  .section-desc-dark,
  .getting-around,
  .about-apartment,
  .meet-owners,
  .gallery-cat-section {
    padding: 48px 20px;
  }

  .section-book {
    padding: calc(48px + 56px) 56px 56px;
  }

  .footer {
    padding: 48px 20px 32px;
  }

  /* ---- Gallery editorial ---- */
  .gallery-editorial-section {
    padding: 0 0 48px;
  }

  .ge-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    margin: 0 16px;
    gap: 8px;
  }

  .ge-c1,
  .ge-c5 {
    display: none;
  }

  .ge-c2 {
    grid-column: 1;
    grid-row: 1;
    padding-top: 0;
  }

  .ge-c3 {
    grid-column: 2;
    grid-row: 1;
    padding-top: 14px;
  }

  .ge-c4 {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-direction: row;
    padding-top: 0;
    gap: 8px;
  }

  .ge-c4a,
  .ge-c4b {
    flex: 1;
    margin: 0;
  }

  .ge-c4a img,
  .ge-c4b img {
    aspect-ratio: 1 / 1;
  }

  /* ---- About apartment ---- */
  .about-apartment-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-apartment-fig img {
    aspect-ratio: 3 / 2;
  }

  /* ---- Meet owners ---- */
  .meet-owners-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .meet-owners-text {
    order: 0;
  }

  .meet-owners-fig img {
    aspect-ratio: 3 / 2;
  }

  /* ---- Rooms ---- */
  .rooms-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* ---- Pricing split ---- */
  .price-split-panel {
    padding: 28px 20px;
  }

  .price-range .num {
    font-size: clamp(2.8rem, 13vw, 4.5rem);
  }

  /* ---- Amenities inline ---- */
  .amen-inline-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  /* ---- Amenities block ---- */
  .amen-cols {
    grid-template-columns: 1fr;
  }

  /* ---- Getting around ---- */
  .getting-around-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ga-card {
    padding: 24px;
  }

  /* ---- Booking form ---- */
  .book-form {
    grid-template-columns: 1fr;
    padding: 24px 18px;
    gap: 14px;
  }

  .field-half,
  .field-third,
  .field-full {
    grid-column: span 1;
  }

  .field-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .form-aside {
    text-align: center;
  }

  /* ---- Gallery pages ---- */
  .gallery-cat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .gallery-cat-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 28px;
  }

  /* ---- Page header ---- */
  .page-header {
    min-height: 40vh;
  }

  .page-header-title {
    font-size: clamp(1.6rem, 6.5vw, 2.6rem);
  }

  .page-header-inner {
    padding-bottom: clamp(32px, 6vw, 52px);
  }

  /* ---- Footer ---- */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .foot-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .foot-logo {
    height: 56px;
  }

  /* ---- About us page ---- */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* ---- Lightbox ---- */
  .lightbox {
    padding: 52px 10px 64px;
  }

  .lb-prev {
    left: 6px;
  }

  .lb-next {
    right: 6px;
  }

  .lb-btn {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
}

/* =================================================================
   Component equivalents — vanilla HTML (replaces React DS components)
   ================================================================= */

/* Eyebrow */
.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--type-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  font-weight: 400;
  color: var(--terra-deep);
  margin: 0;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.78);
}

.eyebrow-ink {
  color: var(--ink);
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--ls-button);
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  padding: 14px 28px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 0.86rem;
}

.btn-dark {
  background: var(--ink);
  color: var(--ivory);
}

.btn-dark:hover {
  background: var(--terra-deep);
  color: var(--ivory);
}

.btn-primary {
  background: var(--ivory);
  color: var(--ink);
  border-color: var(--ink);
}

.btn-primary:hover {
  background: var(--terra);
  border-color: var(--terra);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--ivory);
}

/* Tag */
.tag-quiet {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-mute);
  background: transparent;
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

/* Accordion */
.acc-root {
  border-top: 1px solid var(--line);
}

.acc-item {
  border-bottom: 1px solid var(--line);
}

.acc-btn {
  width: 100%;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  align-items: center;
  gap: 28px;
  text-align: left;
}

.acc-q {
  flex: 1;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--ink);
  transition: color var(--dur-fast) var(--ease);
}

.acc-btn[aria-expanded="true"] .acc-q {
  color: var(--terra-deep);
}

.acc-icon {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.4rem;
  color: var(--ink-mute);
  transition: transform var(--dur-slow) var(--ease);
  flex-shrink: 0;
}

.acc-btn[aria-expanded="true"] .acc-icon {
  transform: rotate(45deg);
}

.acc-body {
  padding: 0 52px 28px 0;
  max-width: 78ch;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.7;
  display: none;
}

.acc-btn[aria-expanded="true"]+.acc-body {
  display: block;
}

/* Form field */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label {
  font-size: var(--type-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.field-control {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  padding: 10px 0;
  border-radius: 0;
  outline: none;
  transition: border-color var(--dur-fast) var(--ease);
  width: 100%;
}

.field-control:focus {
  border-bottom-color: var(--terra);
}

.field-control option {
  color: var(--ink);
  background: var(--ivory);
}

textarea.field-control {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  resize: vertical;
  min-height: 60px;
}

/* Divider row */
.divider-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  width: 100%;
}

.divider-start {
  font-family: var(--font-serif);
  color: var(--ink);
  font-size: 1.1rem;
}

.divider-line {
  height: 1px;
  background: var(--line);
}

.divider-end {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--terra-deep);
}

/* Room card */
.room-card {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.room-card>img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}

.room-card-body {
  padding: 24px 22px 28px;
}

.room-card-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--terra-deep);
  margin: 0 0 8px;
  letter-spacing: 0.04em;
}

.room-card-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.35rem;
  margin: 0 0 10px;
  line-height: 1.2;
  color: var(--ink);
}

.room-card-desc {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* =================================================================
   Semantic-alias utility classes — mirrors tokens/colors.css aliases
   ================================================================= */

/* Surfaces */
.bg-surface-page  { background: var(--surface-page); }
.bg-surface-alt   { background: var(--surface-alt); }
.bg-surface-card  { background: var(--surface-card); }
.bg-surface-ink   { background: var(--surface-ink); }

/* Text */
.text-primary     { color: var(--text-primary); }
.text-secondary   { color: var(--text-secondary); }
.text-muted       { color: var(--text-muted); }
.text-on-ink      { color: var(--text-on-ink); }
.text-on-ink-soft { color: var(--text-on-ink-soft); }
.text-teal-soft   { color: var(--text-teal-soft); }

/* Accents */
.color-accent         { color: var(--accent); }
.color-accent-warm    { color: var(--accent-warm); }
.color-accent-cool    { color: var(--accent-cool); }
.color-accent-strong  { color: var(--accent-strong); }
.color-accent-on-ink  { color: var(--accent-on-ink); }

.bg-accent        { background: var(--accent); }
.bg-accent-warm   { background: var(--accent-warm); }
.bg-accent-cool   { background: var(--accent-cool); }

/* Borders */
.border-color      { border-color: var(--border); }
.border-color-soft { border-color: var(--border-soft); }

/* Focus ring */
.focus-ring { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
