* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --paper: #f7f2ea;
  --warm: #ece3d5;
  --ink: #171411;
  --ink-2: #241e1a;
  --maroon: #7b2230;
  --maroon-2: #5f1823;
  --sand: #c8b89b;
  --stone: #81786e;
  --line: rgba(123, 34, 48, 0.22);
  --white-line: rgba(255, 255, 255, 0.11);
  --shadow: 0 28px 80px rgba(23, 20, 17, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  --page-bg: #100e0c;
  --page-surface: #171411;
  --page-soft: #1f1a16;
  --page-card: #171411;
  --page-text: #f7f2ea;
  --page-muted: rgba(247, 242, 234, 0.64);
  --page-line: rgba(247, 242, 234, 0.1);
  --page-accent: #c8b89b;
  --page-accent-strong: #f2e7da;
  min-height: 100vh;
  background: var(--ink);
  color: var(--paper);
  font-family: "Jost", Arial, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

body.preloader-active {
  overflow: hidden;
}

.site-preloader {
  position: fixed;
  z-index: 10000;
  inset: 0;
  overflow: hidden;
  background: transparent;
  pointer-events: all;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.28s ease,
    visibility 0s linear 0.28s;
}

.site-preloader-mask {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.site-preloader-fill {
  fill: var(--maroon);
}

.site-preloader-mark {
  filter: brightness(0);
  transform-box: fill-box;
  transform-origin: center;
  animation: preloader-breathe 1.15s ease-in-out infinite alternate;
}

.site-preloader.is-leaving .site-preloader-mark {
  animation: preloader-reveal 1.05s cubic-bezier(0.72, 0, 0.16, 1) forwards;
}

.site-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes preloader-breathe {
  from {
    transform: scale(0.96);
  }
  to {
    transform: scale(1.04);
  }
}

@keyframes preloader-reveal {
  0% {
    transform: scale(1);
  }
  18% {
    transform: scale(0.92);
  }
  100% {
    transform: scale(32);
  }
}


.page-transition {
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: #100e0c;
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  transition:
    opacity 0.42s ease,
    visibility 0s linear 0.42s;
}

body.light-theme .page-transition {
  background: #fbf7ef;
}

.page-transition-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 180px;
  height: 180px;
  place-items: center;
  transform: translate(-50%, -50%);
}

.page-transition-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(247, 242, 234, 0.16);
  border-top-color: rgba(247, 242, 234, 0.88);
  border-right-color: rgba(123, 34, 48, 0.7);
  border-radius: 50%;
  animation: page-transition-spin 1.15s linear infinite;
}

body.light-theme .page-transition-ring {
  border-color: rgba(123, 34, 48, 0.2);
  border-top-color: #7b2230;
  border-right-color: rgba(23, 20, 17, 0.72);
}

.page-transition-logo {
  display: block;
  width: 130px;
  height: 130px;
  object-fit: contain;
  animation: page-transition-pulse 1.15s ease-in-out infinite alternate;
}

.page-transition.is-ready {
  opacity: 0;
  visibility: hidden;
}

.page-transition.is-entering {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.32s ease,
    visibility 0s;
}

@keyframes page-transition-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes page-transition-pulse {
  from {
    opacity: 0.72;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-preloader-mark,
  .site-preloader.is-leaving .site-preloader-mark {
    animation: none;
  }

  .page-transition {
    transition-duration: 0.15s;
  }

  .page-transition-ring,
  .page-transition-logo {
    animation: none;
  }

  .site-preloader {
    transition-duration: 0.18s;
  }
}

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

button,
input,
select {
  font: inherit;
}

textarea {
  font: inherit;
}

input,
select,
textarea,
button {
  max-width: 100%;
}

.site-shell {
  background:
    linear-gradient(90deg, rgba(247, 242, 234, 0.035) 1px, transparent 1px) 0
      0 / 8.333vw 100%,
    var(--ink);
}

.nav {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 58px);
  color: var(--paper);
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0);
  transition:
    height 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    backdrop-filter 0.35s ease,
    transform 0.35s ease;
}

.nav.scrolled {
  height: 64px;
  background: rgba(23, 20, 17, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.nav.nav-hidden {
  transform: translateY(-110%);
}

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

.brand-logo {
  display: block;
  width: clamp(174px, 17vw, 226px);
  height: auto;
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.18));
  transition:
    filter 0.25s ease,
    opacity 0.25s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  height: 100%;
  gap: clamp(18px, 3vw, 42px);
}

.nav-item {
  position: relative;
}

.nav-item-has-submenu {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-links a {
  position: relative;
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.25s ease;
  font-weight: 600;
}

.nav-submenu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 100%;
}

.nav-chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.22s ease;
}

.nav-item-has-submenu:hover .nav-chevron,
.nav-item-has-submenu:focus-within .nav-chevron {
  transform: rotate(180deg);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 1px;
  background: var(--maroon);
  transition: width 0.28s ease;
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 210px;
  padding: 14px;
  background: rgba(23, 20, 17, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateX(-50%);
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease;
}

.nav-submenu a {
  display: block;
  padding: 11px 12px;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.16em;
  white-space: nowrap;
}

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

.nav-submenu a:hover {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.06);
}

.nav-item-has-submenu:hover .nav-submenu,
.nav-item-has-submenu:focus-within .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-link {
  color: rgba(255, 255, 255, 0.94);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.theme-toggle {
  position: relative;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(247, 242, 234, 0.2);
  background: rgba(247, 242, 234, 0.04);
  color: var(--paper);
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.theme-toggle:hover {
  background: rgba(247, 242, 234, 0.12);
}

.theme-icon {
  width: 20px;
  height: 20px;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.theme-icon-sun {
  position: absolute;
  opacity: 0;
  transform: scale(0.82) rotate(-12deg);
}

body:not(.light-theme) .theme-icon-moon {
  opacity: 0;
  transform: scale(0.82) rotate(12deg);
}

body:not(.light-theme) .theme-icon-sun {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

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

.btn-primary {
  background: var(--maroon);
  color: var(--paper);
  border-color: var(--maroon);
}

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

.btn-ghost {
  color: var(--paper);
  border-color: rgba(247, 242, 234, 0.28);
  background: rgba(247, 242, 234, 0.03);
}

body:not(.light-theme) .section:not(.section-dark),
body:not(.light-theme) .news {
  background: var(--ink);
  color: var(--paper);
}

body:not(.light-theme) .section-title,
body:not(.light-theme) .principle h3,
body:not(.light-theme) .news-item h3 {
  color: var(--paper);
}

body:not(.light-theme) .section-kicker {
  color: var(--sand);
}

body:not(.light-theme) .intro-copy,
body:not(.light-theme) .principle p,
body:not(.light-theme) .experience-copy p {
  color: rgba(247, 242, 234, 0.62);
}

body:not(.light-theme) .principle {
  background: rgba(247, 242, 234, 0.035);
  border-color: rgba(247, 242, 234, 0.1);
}

body:not(.light-theme) .principles,
body:not(.light-theme) .intro-grid,
body:not(.light-theme) .news-list,
body:not(.light-theme) .news-item {
  border-color: rgba(247, 242, 234, 0.1);
}

body:not(.light-theme) .metrics {
  background: #100e0c;
  border-color: rgba(247, 242, 234, 0.1);
}

body:not(.light-theme) .testimonials {
  background: #100e0c;
}

body:not(.light-theme) .testimonial-carousel {
  background: #251a0b;
  color: #f7f2ea;
}

body:not(.light-theme) .testimonial-label,
body:not(.light-theme) .testimonial-person {
  color: #a8894a;
}

body:not(.light-theme) .testimonial-label::before,
body:not(.light-theme) .testimonial-label::after,
body:not(.light-theme) .testimonial-dot:hover,
body:not(.light-theme) .testimonial-dot:focus-visible,
body:not(.light-theme) .testimonial-dot.active {
  background: #a8894a;
}

body:not(.light-theme) .testimonial-quote-mark {
  color: rgba(168, 137, 74, 0.08);
}

body:not(.light-theme) .testimonial-slide blockquote {
  color: #fff8ef;
}

body:not(.light-theme) .testimonial-location {
  color: rgba(168, 137, 74, 0.66);
}

body:not(.light-theme) .testimonial-dot {
  background: rgba(168, 137, 74, 0.32);
}

body:not(.light-theme) .testimonial-dot:focus-visible {
  outline-color: #f7f2ea;
}

body:not(.light-theme) .testimonial-video-wrap {
  background: rgba(0, 0, 0, 0.28);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

body:not(.light-theme) .testimonial-video-wrap::after {
  border-color: rgba(168, 137, 74, 0.24);
}

body:not(.light-theme) .metric {
  border-color: rgba(247, 242, 234, 0.1);
}

body:not(.light-theme) .metric span,
body:not(.light-theme) .amenity {
  color: rgba(247, 242, 234, 0.62);
}

body:not(.light-theme) .metrics-title {
  background: #100e0c;
  color: var(--paper);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(247, 242, 234, 0.2);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.menu-icon {
  width: 22px;
  height: 22px;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.menu-icon-close {
  position: absolute;
  opacity: 0;
  transform: scale(0.82) rotate(-10deg);
}

.menu-btn.active .menu-icon-open {
  opacity: 0;
  transform: scale(0.82) rotate(10deg);
}

.menu-btn.active .menu-icon-close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--sand);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--maroon);
}

.hero-slider {
  position: relative;
  min-height: 100vh;
}

.slide-label {
  position: absolute;
  color: #8c8c8c;
  z-index: 999;
  right: 3%;
  bottom: 3%;
  font-size: 10px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-slide.active,
.hero-slide.leaving {
  visibility: visible;
}

.hero-slide.active {
  pointer-events: auto;
  z-index: 2;
}

.hero-slide.leaving {
  z-index: 1;
}

.hero-slide .eyebrow,
.hero-slide .project-mark,
.hero-slide .slide-title,
.hero-slide .slide-copy,
.hero-slide .slide-actions,
.hero-slide .slide-meta {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition:
    opacity 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.78s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.hero-slide.active .eyebrow,
.hero-slide.active .project-mark,
.hero-slide.active .slide-title,
.hero-slide.active .slide-copy,
.hero-slide.active .slide-actions,
.hero-slide.active .slide-meta {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero-slide.leaving .eyebrow,
.hero-slide.leaving .project-mark,
.hero-slide.leaving .slide-title,
.hero-slide.leaving .slide-copy,
.hero-slide.leaving .slide-actions,
.hero-slide.leaving .slide-meta {
  opacity: 0;
  transform: translate3d(0, -16px, 0);
  transition-duration: 0.34s;
  transition-delay: 0s;
}

.hero-slide.active .project-mark {
  transition-delay: 0.1s;
}

.hero-slide.active .slide-title {
  transition-delay: 0.2s;
}

.hero-slide.active .slide-copy {
  transition-delay: 0.3s;
}

.hero-slide.active .slide-actions {
  transition-delay: 0.4s;
}

.hero-slide.active .slide-meta {
  transition-delay: 0.5s;
}

.hero-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transform: scale(1.025);
  background:
    radial-gradient(circle at center, rgba(123, 34, 48, 0.2), transparent 34%),
    linear-gradient(135deg, #211916, #100e0c);
  transition:
    opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 4s ease;
  will-change: opacity, transform;
}

.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(23, 20, 17, 0.78) 0%,
      rgba(23, 20, 17, 0.42) 48%,
      rgba(23, 20, 17, 0.28) 100%
    ),
    linear-gradient(
      180deg,
      rgba(23, 20, 17, 0.12) 0%,
      rgba(23, 20, 17, 0.66) 100%
    );
}

.hero-slide.active .hero-video {
  opacity: 1;
  transform: scale(1);
  animation: kenburnsDrift 4.8s ease-out forwards;
}

.hero-slide.leaving .hero-video {
  opacity: 0;
  transform: scale(1.01);
}

.hero-bg-video,
.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  min-width: 100vw;
  height: 100%;
  min-height: 100vh;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.brand-slide .slide-title {
  margin-top: 0;
}

@keyframes kenburnsDrift {
  0% {
    transform: scale(1.01) translate3d(0, 0, 0);
  }

  100% {
    transform: scale(1.025) translate3d(-0.25%, -0.2%, 0);
  }
}

.slide-label {
  color: rgb(200, 200, 200);
  position: absolute;
  bottom: 3%;
  right: 3%;
  font-size: 10px;
  z-index: 99999;
}

.slide-content {
  position: relative;
  z-index: 8;
  width: min(760px, calc(100% - clamp(44px, 10vw, 146px)));
  margin-left: clamp(22px, 6vw, 86px);
  padding-bottom: 76px;
  color: var(--paper);
}

.project-mark {
  display: block;
  width: clamp(210px, 25vw, 355px);
  max-height: 142px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.38));
}

.slide-title {
  margin-top: 38px;
  max-width: 720px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(40px, 2vw, 50px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 0.9;
}

.slide-copy {
  max-width: 540px;
  margin-top: 28px;
  color: rgba(247, 242, 234, 0.76);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.9;
  letter-spacing: 0.045em;
}

.slide-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
}

.slide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
  color: rgba(247, 242, 234, 0.62);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.slide-meta span {
  padding-right: 16px;
  border-right: 1px solid rgba(247, 242, 234, 0.24);
}

.slide-meta span:last-child {
  border-right: 0;
}

.slider-controls {
  position: absolute;
  z-index: 10;
  right: clamp(20px, 4vw, 58px);
  bottom: clamp(24px, 5vw, 62px);
  display: flex;
  align-items: center;
  gap: 14px;
}

.slider-arrow,
.slider-dot {
  border: 1px solid rgba(247, 242, 234, 0.26);
  background: rgba(247, 242, 234, 0.06);
  color: var(--paper);
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.slider-arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.slider-arrow:hover {
  transform: translateY(-2px);
  background: var(--maroon);
  border-color: var(--maroon);
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
}

.slider-dot {
  width: 36px;
  height: 2px;
  padding: 0;
  border: 0;
  background: rgba(247, 242, 234, 0.3);
}

.slider-dot.active {
  background: var(--maroon);
}

.slider-count {
  color: var(--sand);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  min-width: 52px;
  text-align: right;
}

.section {
  padding: clamp(72px, 9vw, 126px) clamp(22px, 5vw, 72px);
}

.section-dark {
  background: var(--ink);
  color: var(--paper);
}

.section-kicker {
  color: var(--maroon);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.section-dark .section-kicker {
  color: var(--sand);
}

.section-title {
  margin-top: 16px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(38px, 3vw, 72px);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
  gap: clamp(38px, 7vw, 110px);
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: clamp(54px, 7vw, 90px);
}

.intro-copy {
  /* max-width: 650px; */
  text-align: justify;
  color: #5b534b;
  font-size: clamp(16px, 1.4vw, 16px);
  line-height: 1.85;
}

.signature-panel {
  position: relative;
  padding: 30px;
  background: var(--ink);
  color: var(--paper);
}

.signature-panel::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  bottom: 20px;
  left: 20px;
  border: 1px solid rgba(247, 242, 234, 0.12);
  pointer-events: none;
}

.signature-panel p {
  position: relative;
  z-index: 1;
  color: var(--sand);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-style: italic;
  line-height: 1.35;
}

.principles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: clamp(44px, 6vw, 76px);
}

.principle {
  min-height: 245px;
  padding: 28px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition:
    background 0.28s ease,
    transform 0.28s ease;
}

.principle:hover {
  background: rgba(123, 34, 48, 0.07);
  transform: translateY(-4px);
}

.principle span {
  display: block;
  color: var(--maroon);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 32px;
  font-weight: 300;
}

.principle h3 {
  margin-top: 32px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.15;
}

.principle p {
  margin-top: 12px;
  color: #625a52;
  font-size: 13px;
  line-height: 1.7;
}

.projects-head {
  /* display: flex; */
  /* justify-content: space-between; */
  /* gap: 28px; */
  /* align-items: flex-end; */
  margin-bottom: 38px;
}

.projects-head p {
  max-width: 460px;
  color: rgba(247, 242, 234, 0.64);
  font-size: 14px;
  line-height: 1.8;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project {
  position: relative;
  min-height: 560px;
  display: block;
  overflow: hidden;
  background: var(--ink-2);
  isolation: isolate;
  cursor: pointer;
}

.project-wide {
  grid-column: 1 / -1;
  min-height: 460px;
}

.project::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--image) center / cover;
  transform: scale(1.02);
  transition:
    transform 0.7s ease,
    filter 0.7s ease;
}

.project::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(23, 20, 17, 0.08) 0%,
    rgba(23, 20, 17, 0.88) 82%
  );
}

.project:hover::before {
  transform: scale(1.08);
  filter: saturate(1.08);
}

.project-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px;
}

.project-type {
  color: var(--sand);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.project h3 {
  margin-top: 12px;
  color: white;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 300;
  line-height: 0.95;
}

.project-location {
  margin-top: 12px;
  color: rgba(247, 242, 234, 0.68);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 1px;
  margin-top: 26px;
  background: rgba(247, 242, 234, 0.14);
  width: min(100%, 520px);
}

.project-meta div {
  padding: 14px;
  backdrop-filter: blur(5px);
  background: rgba(23, 20, 17, 0.41);
}

.project-meta span {
  display: block;
  color: rgba(247, 242, 234, 0.42);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.project-meta b {
  display: block;
  margin-top: 5px;
  color: var(--paper);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: var(--sand);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.project-link::after {
  content: "->";
  color: var(--maroon);
  font-size: 14px;
  transition: transform 0.25s ease;
}

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

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #f1e8da;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics-title {
  background: #f1e8da;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(38px, 3vw, 64px);
  font-weight: 300;
  line-height: 1;
  text-align: center;
}

.metric {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  color: var(--maroon);
  /* font-family: "Cormorant Garamond", Georgia, serif; */
  font-size: clamp(40px, 3.5vw, 70px);
  font-weight: 300;
  line-height: 0.9;
}

.metric span {
  margin-top: 16px;
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.experience {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
}

.experience-media {
  min-height: 620px;
  background:
    linear-gradient(180deg, rgba(23, 20, 17, 0.02), rgba(23, 20, 17, 0.55)),
    url("images/3.jpg") center / cover,
    linear-gradient(140deg, #31261f, #806f55);
  box-shadow: var(--shadow);
}

.experience-copy {
  max-width: 720px;
}

.experience-copy p {
  margin-top: 26px;
  color: #5b534b;
  font-size: 16px;
  line-height: 1.9;
}

.amenities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.amenity {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: #453e38;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.amenity::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--maroon);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.news {
  background: var(--paper);
}

.news-grid {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
}

.news-list {
  border-top: 1px solid var(--line);
}

.news-item {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: 128px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.news-date {
  color: var(--maroon);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.news-item h3 {
  max-width: 560px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(24px, 1.8vw, 36px);
  font-weight: 300;
}

.news-arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--maroon);
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.news-item:hover .news-arrow {
  background: var(--maroon);
  color: var(--paper);
}

.testimonials {
  padding: 8px 0;
  background: #f2e7da;
}

.testimonial-carousel {
  position: relative;
  min-height: clamp(560px, 38vw, 720px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(68px, 7vw, 104px) clamp(24px, 8vw, 120px);
  background: #f2e7da;
  color: black;
  text-align: center;
}

.testimonial-label {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #5f1823;
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.testimonial-label::before,
.testimonial-label::after {
  content: "";
  width: 40px;
  height: 1px;
  background: #5f1823;
}

.testimonial-quote-mark {
  position: absolute;
  top: 16px;
  left: 50%;
  color: rgba(95, 24, 35, 0.08);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(130px, 12vw, 220px);
  font-style: italic;
  line-height: 1;
  transform: translateX(-50%);
  pointer-events: none;
}

.testimonial-slides {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  min-height: clamp(310px, 24vw, 390px);
  margin-top: clamp(34px, 3.8vw, 52px);
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  text-align: left;
  transition:
    opacity 0.55s ease,
    transform 0.55s ease,
    visibility 0.55s ease;
}

.testimonial-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.testimonial-slide blockquote {
  max-width: 690px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(28px, 2vw, 44px);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.32;
}

.testimonial-copy {
  min-width: 0;
}

.testimonial-person {
  margin-top: clamp(30px, 3.4vw, 48px);
  color: #5f1823;
  font-size: clamp(13px, 0.9vw, 16px);
  letter-spacing: 0.08em;
}

.testimonial-location {
  margin-top: 10px;
  color: rgba(95, 24, 35, 0.66);
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.testimonial-video-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: rgba(23, 20, 17, 0.16);
  box-shadow: 0 26px 70px rgba(23, 20, 17, 0.22);
}

.testimonial-video-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(95, 24, 35, 0.18);
}

.testimonial-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.testimonial-controls {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(34px, 3.4vw, 48px);
}

.testimonial-dot {
  width: 36px;
  height: 2px;
  padding: 0;
  border: 0;
  background: rgba(168, 137, 74, 0.32);
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.testimonial-dot:hover,
.testimonial-dot:focus-visible,
.testimonial-dot.active {
  background: #5f1823;
}

.testimonial-dot:focus-visible {
  outline: 1px solid #f7f2ea;
  outline-offset: 8px;
}

.enquiry-form {
  width: 100%;
  margin-top: 36px;
}

.enquiry-form input[name="website"] {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.enquiry-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.enquiry-field {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--page-line);
  background: transparent;
  color: var(--page-text);
  outline: none;
  padding: 0 20px;
  font-size: 15px;
  letter-spacing: 0.035em;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.enquiry-field::placeholder {
  color: var(--page-muted);
}

.enquiry-field:focus {
  border-color: var(--page-accent);
}

.enquiry-select {
  color: var(--page-muted);
  cursor: pointer;
}

.enquiry-select option {
  color: var(--ink);
  background: var(--paper);
}

.enquiry-select.is-locked {
  color: var(--page-text);
  cursor: not-allowed;
  opacity: 1;
}

.enquiry-message {
  grid-column: 1 / -1;
  min-height: 160px;
  padding-block: 18px;
  line-height: 1.8;
  resize: vertical;
}

.enquiry-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  margin-top: 24px;
  border: 1px solid var(--maroon);
  background: var(--maroon);
  color: white;
  cursor: pointer;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.enquiry-submit:hover {
  background: var(--maroon-2);
  border-color: var(--maroon-2);
  transform: translateY(-2px);
}

.enquiry-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.enquiry-status {
  min-height: 24px;
  margin-top: 14px;
  color: var(--page-muted);
  font-size: 13px;
  line-height: 1.6;
}

.enquiry-status.success {
  color: var(--page-accent);
}

.enquiry-status.error {
  color: var(--maroon);
}

.project-enquiry-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
}

.project-enquiry-copy {
  max-width: 680px;
}

.project-enquiry-section .enquiry-form {
  margin-top: 0;
}

.brochure-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 0.24s ease,
    visibility 0.24s ease;
}

.brochure-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.brochure-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 14, 12, 0.72);
  backdrop-filter: blur(12px);
}

.brochure-dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: min(720px, calc(100vh - 36px));
  overflow-y: auto;
  padding: clamp(28px, 4vw, 46px);
  background: var(--page-surface);
  border: 1px solid var(--page-line);
  box-shadow: 0 34px 90px rgba(16, 14, 12, 0.28);
}

.brochure-dialog h2 {
  margin-top: 12px;
  color: var(--page-text);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(34px, 3vw, 54px);
  font-weight: 300;
  line-height: 1.12;
}

.brochure-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--page-line);
  background: transparent;
  color: var(--page-text);
  cursor: pointer;
}

.brochure-close svg {
  width: 20px;
  height: 20px;
}

.brochure-form {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.brochure-form .enquiry-submit {
  margin-top: 4px;
}

.enquiry-turnstile {
  width: 100%;
  min-height: 65px;
  margin-top: 18px;
}

.brochure-form .enquiry-turnstile {
  margin-top: 2px;
}

.turnstile-status {
  min-height: 20px;
  margin-top: 8px;
  color: var(--maroon);
  font-size: 13px;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

.footer {
  padding: clamp(56px, 7vw, 92px) clamp(22px, 5vw, 72px) 28px;
  background: #100e0c;
  color: rgba(247, 242, 234, 0.54);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, 0.6fr));
  gap: clamp(38px, 8vw, 128px);
  padding-bottom: clamp(35px, 3vw, 30px);
  border-bottom: 1px solid rgba(247, 242, 234, 0.08);
}

.footer-logo {
  display: block;
  width: min(300px, 78vw);
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.footer-brand-block p {
  max-width: 330px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.035em;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social-links {
  margin-top: 24px;
}

.contact-social-links {
  margin-top: 12px;
}

.social-link {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--page-line, rgba(255, 255, 255, 0.22));
  color: var(--page-accent, rgba(255, 255, 255, 0.82));
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.social-link svg {
  width: 19px;
  height: 19px;
}

.social-link:hover {
  border-color: var(--maroon);
  background: var(--maroon);
  color: #fff;
  transform: translateY(-2px);
}

.social-link:focus-visible {
  outline: 2px solid var(--maroon);
  outline-offset: 3px;
}

.footer .social-link {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.82);
}

.footer-col h3 {
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  width: fit-content;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  letter-spacing: 0.055em;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.footer-col a:hover {
  color: var(--paper);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  letter-spacing: 0.14em;
  line-height: 1.7;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 1s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.4s;
}

.delay-4 {
  transition-delay: 0.8s;
}

.delay-5 {
  transition-delay: 1.5s;
}

@media (max-width: 1100px) {
  .intro-grid,
  .experience,
  .news-grid,
  .project-enquiry-section {
    grid-template-columns: 1fr;
  }

  .experience-media {
    min-height: 500px;
  }

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

  .projects-grid,
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric:nth-child(2) {
    border-right: 0;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  [data-legacy-section] {
    min-height: auto !important;
  }

  [data-legacy-section] > div {
    position: relative !important;
    top: auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    overflow: visible !important;
  }

  [data-legacy-section] > div > div {
    gap: 2rem !important;
  }

  [data-legacy-section] [data-legacy-image] {
    position: relative !important;
    order: 2;
    inset: auto !important;
    width: 100% !important;
    height: clamp(320px, 62vw, 520px) !important;
    transform: none !important;
  }

  [data-legacy-section] [data-legacy-copy] {
    max-width: 760px;
    justify-self: auto;
    text-align: left;
  }

  [data-legacy-section] [data-legacy-copy]:first-of-type {
    order: 1;
  }

  [data-legacy-section] [data-legacy-copy]:last-of-type {
    order: 3;
  }

  [data-legacy-section] [aria-hidden="true"] {
    display: none;
  }
}

@media (max-width: 840px) {
  .nav-links,
  .phone-link {
    display: none;
  }

  .menu-btn {
    display: grid;
    position: relative;
    flex: 0 0 44px;
  }

  .nav-links.open {
    position: fixed;
    display: grid;
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 0;
    top: 76px;
    left: 12px;
    right: 12px;
    height: auto;
    max-height: calc(100vh - 82px);
    overflow-y: auto;
    padding: 18px;
    background: rgba(23, 20, 17, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 70px rgba(16, 14, 12, 0.32);
  }

  .nav-links.open > a,
  .nav-links.open .nav-submenu-trigger {
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid rgba(247, 242, 234, 0.1);
    color: rgba(247, 242, 234, 0.92);
    font-size: 12px;
    letter-spacing: 0.16em;
  }

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

  .nav-item,
  .nav-submenu {
    width: 100%;
  }

  .nav-item-has-submenu {
    display: block;
    height: auto;
    padding-block: 0;
    margin-block: 0;
  }

  .nav-submenu-trigger {
    height: auto;
    width: 100%;
    justify-content: space-between;
  }

  .nav-chevron {
    transform: rotate(0);
  }

  .nav-submenu {
    position: static;
    display: grid;
    gap: 4px;
    min-width: 0;
    margin-top: 0;
    padding: 6px 0 14px 14px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: none;
  }

  .nav-submenu a {
    padding: 9px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    letter-spacing: 0.13em;
  }

  .nav-item-has-submenu:hover .nav-submenu,
  .nav-item-has-submenu:focus-within .nav-submenu {
    transform: none;
  }

  .nav.scrolled .nav-links.open {
    top: 64px;
  }

  .slide-content {
    width: min(680px, calc(100% - 44px));
    margin-inline: 22px;
  }

  .slider-controls {
    left: 22px;
    right: auto;
  }

  .testimonial-carousel {
    min-height: 760px;
    padding-inline: 22px;
  }

  .testimonial-slides {
    min-height: 560px;
  }

  .testimonial-slide {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 28px;
    text-align: center;
  }

  .testimonial-label {
    gap: 12px;
    letter-spacing: 0.24em;
  }

  .testimonial-label::before,
  .testimonial-label::after {
    width: 28px;
  }

  .projects-head {
    display: block;
  }

  .projects-head p {
    margin-top: 20px;
  }

  .projects-grid,
  .metrics,
  .amenities,
  .enquiry-form-grid {
    grid-template-columns: 1fr;
  }

  .enquiry-message {
    grid-column: auto;
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .news-item {
    grid-template-columns: 1fr auto;
  }

  .news-date {
    grid-column: 1 / -1;
  }

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

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 150px;
    max-height: 42px;
  }

  .nav {
    padding-inline: 16px;
  }

  .nav-actions .btn {
    display: none;
  }

  .theme-toggle {
    min-height: 40px;
    min-width: 40px;
    width: 40px;
  }

  .slide-title {
    max-width: 92%;
    margin-top: 24px;
    font-size: clamp(34px, 9vw, 44px);
    line-height: 1.02;
  }

  .project-enquiry-copy .mt-8 {
    align-items: stretch;
    flex-direction: column;
  }

  .project-enquiry-copy a,
  .project-enquiry-copy button {
    width: 100%;
  }

  .slide-actions {
    gap: 10px;
    margin-top: 28px;
  }

  .slide-actions .btn {
    width: auto;
    min-width: 142px;
    min-height: 42px;
    padding-inline: 18px;
    letter-spacing: 0.18em;
  }

  .slide-copy {
    max-width: 92%;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.75;
    letter-spacing: 0.035em;
  }

  .hero,
  .hero-slider {
    min-height: 680px;
  }

  .slide-content {
    padding-bottom: 108px;
  }

  .section {
    padding-block: 58px;
  }

  .section-title {
    font-size: clamp(34px, 11vw, 52px);
  }

  .project-mark {
    width: min(260px, 72vw);
  }

  .slide-copy {
    max-width: 94%;
  }

  .slider-count {
    display: none;
  }

  .testimonial-carousel {
    min-height: 780px;
  }

  .testimonial-slides {
    min-height: 600px;
  }

  .testimonial-slide blockquote {
    font-size: clamp(25px, 8vw, 38px);
  }

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

  .project {
    min-height: 500px;
  }

  .project-wide {
    min-height: 540px;
  }

  .project-meta {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    letter-spacing: 0.08em;
  }
}

@media (max-width: 767px) {
  .project-gallery > .grid > div:first-child {
    height: auto !important;
    overflow: visible !important;
  }

  .project-gallery-slide {
    height: auto !important;
  }

  .project-gallery-slide img {
    height: auto !important;
    width: 100% !important;
    object-fit: contain !important;
  }

  .project-gallery-slide figcaption {
    padding-top: 54px;
  }
}

body.light-theme {
  --page-bg: #fbf7ef;
  --page-surface: #fbf7ef;
  --page-soft: #f1e8da;
  --page-card: #fbf7ef;
  --page-text: #171411;
  --page-muted: #5b534b;
  --page-line: rgba(123, 34, 48, 0.22);
  --page-accent: #7b2230;
  --page-accent-strong: #5f1823;
  background: #fbf7ef;
  color: var(--ink);
}

body.light-theme .site-shell {
  background:
    linear-gradient(90deg, rgba(123, 34, 48, 0.045) 1px, transparent 1px) 0 0 /
      8.333vw 100%,
    #fbf7ef;
}

body.light-theme .nav.scrolled {
  color: var(--ink);
  background: rgba(251, 247, 239, 0.96);
  border-bottom-color: rgba(123, 34, 48, 0.18);
  box-shadow: 0 16px 50px rgba(23, 20, 17, 0.08);
}

body.light-theme .nav.scrolled .brand-logo {
  filter: none;
}

body.light-theme .nav.scrolled .nav-links a {
  color: rgba(23, 20, 17, 0.72);
}

body.light-theme .nav.scrolled .nav-links a:hover {
  color: var(--maroon);
}

body.light-theme .nav.scrolled .nav-submenu {
  background: rgba(251, 247, 239, 0.98);
  border-color: rgba(123, 34, 48, 0.16);
  box-shadow: 0 18px 50px rgba(23, 20, 17, 0.1);
}

body.light-theme .nav.scrolled .nav-submenu a {
  color: rgba(23, 20, 17, 0.72);
}

body.light-theme .nav.scrolled .nav-submenu a:hover {
  color: var(--maroon);
  background: rgba(123, 34, 48, 0.06);
}

body.light-theme .nav.scrolled .phone-link {
  color: var(--maroon);
}

body.light-theme .nav.scrolled .theme-toggle,
body.light-theme .nav.scrolled .menu-btn {
  color: var(--ink);
  border-color: rgba(123, 34, 48, 0.22);
  background: rgba(123, 34, 48, 0.04);
}

body.light-theme .hero {
  background: var(--ink);
  color: var(--paper);
}

body.light-theme .hero::before {
  background: var(--ink);
}

body.light-theme .eyebrow {
  color: var(--sand);
}

body.light-theme .hero-text {
  color: #5b534b;
}

body.light-theme .slide-copy {
  color: rgba(247, 242, 234, 0.76);
}

body.light-theme .btn-ghost {
  color: var(--paper);
  border-color: rgba(247, 242, 234, 0.28);
  background: rgba(247, 242, 234, 0.05);
}

body.light-theme .section-dark {
  background: #f1e8da;
  color: var(--ink);
}

body.light-theme .section-dark .section-kicker {
  color: var(--maroon);
}

body.light-theme .projects-head p {
  color: #5b534b;
}

body.light-theme .section:not(.section-dark) {
  background: transparent;
  color: var(--ink);
}

body.light-theme .section-title,
body.light-theme .principle h3,
body.light-theme .news-item h3 {
  color: var(--ink);
}

body.light-theme .section-kicker,
body.light-theme .news-date {
  color: var(--maroon);
}

body.light-theme .intro-copy,
body.light-theme .experience-copy p {
  color: #5b534b;
}

body.light-theme .principle p {
  color: #625a52;
}

body.light-theme .principle {
  background: transparent;
  border-color: var(--line);
}

body.light-theme .principles,
body.light-theme .intro-grid,
body.light-theme .news-list,
body.light-theme .news-item {
  border-color: var(--line);
}

body.light-theme .metrics {
  background: #f1e8da;
  border-color: var(--line);
}

body.light-theme .testimonials {
  background: #f2e7da;
}

body.light-theme .metric {
  border-color: var(--line);
}

body.light-theme .metric span {
  color: var(--ink);
}

body.light-theme .amenity {
  color: #453e38;
}

body.light-theme .news {
  background: var(--paper);
}

body.light-theme .footer {
  background: #100e0c;
  color: rgba(247, 242, 234, 0.54);
}

@media (max-width: 840px) {
  body.light-theme .nav-links.open {
    background: rgba(251, 247, 239, 0.98);
    border-color: rgba(123, 34, 48, 0.16);
    box-shadow: 0 24px 70px rgba(23, 20, 17, 0.16);
  }

  body.light-theme .nav-links.open > a,
  body.light-theme .nav-links.open .nav-submenu-trigger {
    color: rgba(23, 20, 17, 0.82);
    border-bottom-color: rgba(123, 34, 48, 0.14);
  }

  body.light-theme .nav-links.open .nav-submenu a {
    color: rgba(23, 20, 17, 0.62);
  }
}

.amenity-pin {
  position: absolute;
  z-index: 4;
  transform: translate(-50%, -50%);
  /* width: clamp(26px, 2.1vw, 38px);
  height: clamp(26px, 2.1vw, 38px); */
  width: clamp(20px, 1.1vw, 20px);
  height: clamp(20px, 1.1vw, 20px);
  border-radius: 999px;
  border: 1px solid rgba(247, 242, 234, 0.95);
  background: rgba(123, 34, 48, 0.92);
  color: #f7f2ea;
  font-size: clamp(10px, 0.75vw, 13px);
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow:
    0 12px 30px rgba(23, 20, 17, 0.22),
    0 0 0 8px rgba(123, 34, 48, 0.12);
  transition: 0.25s ease;
}

.amenity-pin:hover,
.amenity-pin.active {
  background: #f7f2ea;
  color: #7b2230;
  border-color: #7b2230;
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow:
    0 18px 42px rgba(23, 20, 17, 0.28),
    0 0 0 10px rgba(123, 34, 48, 0.18);
}

@media (max-width: 640px) {
  .amenity-pin {
    width: 24px;
    height: 24px;
    font-size: 10px;
    box-shadow:
      0 8px 18px rgba(23, 20, 17, 0.22),
      0 0 0 5px rgba(123, 34, 48, 0.12);
  }
}
