:root {
  color-scheme: dark;
  --paper: #f7f3ea;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --panel: rgba(14, 20, 18, 0.54);
  --panel-strong: rgba(12, 17, 15, 0.76);
  --line: rgba(255, 255, 255, 0.24);
  --accent: #d8b06a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  background: #111512;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: hidden;
}

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

button {
  font: inherit;
}

.showcase {
  position: relative;
  width: 100vw;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: opacity 420ms ease, transform 1800ms ease;
  z-index: -3;
}

.hero-image.is-changing {
  opacity: 0.2;
  transform: scale(1.035);
}

.shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 7, 0.68) 0%, rgba(5, 8, 7, 0.42) 34%, rgba(5, 8, 7, 0.08) 72%),
    linear-gradient(0deg, rgba(5, 8, 7, 0.72) 0%, rgba(5, 8, 7, 0.06) 46%, rgba(5, 8, 7, 0.42) 100%);
  z-index: -2;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(18px, 3vw, 34px);
  pointer-events: none;
}

.brand,
.links {
  pointer-events: auto;
}

.brand {
  display: grid;
  gap: 4px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

.brand span {
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3.6vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: clamp(0.72rem, 1.2vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.links a {
  min-height: 40px;
  display: inline-grid;
  place-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 17, 15, 0.36);
  backdrop-filter: blur(16px);
  color: var(--paper);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.links a:hover,
.links a:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.property-card {
  position: fixed;
  left: clamp(96px, 8vw, 122px);
  top: 50%;
  z-index: 4;
  width: min(460px, calc(100vw - 36px));
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform: translateY(-42%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.property-card h1 {
  margin: 0;
  color: var(--paper);
  font-family: Roboto, Arial, Helvetica, sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.helper-text {
  margin: 10px 0 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.property-card p:not(.eyebrow):not(.helper-text) {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.88rem, 1.25vw, 0.98rem);
  line-height: 1.48;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 20px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.12);
}

.facts div {
  min-width: 0;
  padding: 14px;
  background: rgba(12, 17, 15, 0.42);
}

.facts dt {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.facts dd {
  margin: 7px 0 0;
  color: var(--paper);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
}

.nav-arrow {
  position: fixed;
  top: 50%;
  z-index: 6;
  width: clamp(46px, 5vw, 64px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(12, 17, 15, 0.34);
  color: white;
  box-shadow: 0 15px 42px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.nav-arrow:hover,
.nav-arrow:focus-visible {
  background: var(--panel-strong);
  border-color: rgba(255, 255, 255, 0.56);
  transform: translateY(-50%) scale(1.04);
}

.nav-arrow svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.nav-arrow--left {
  left: clamp(16px, 2vw, 28px);
}

.nav-arrow--right {
  right: clamp(14px, 2.8vw, 34px);
}

.filmstrip-wrap {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  height: clamp(112px, 17vh, 174px);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(12, 17, 15, 0) 0%, rgba(12, 17, 15, 0.76) 24%, rgba(12, 17, 15, 0.86) 100%);
}

.filmstrip {
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
  padding: 18px max(18px, calc((100vw - 1080px) / 2));
  transition: transform 520ms cubic-bezier(0.2, 0.72, 0.2, 1);
  will-change: transform;
}

.thumb {
  flex: 0 0 clamp(92px, 12vw, 154px);
  height: clamp(68px, 10vh, 108px);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: transparent;
  overflow: hidden;
  opacity: 0.64;
  cursor: pointer;
  transition: opacity 200ms ease, transform 200ms ease, border-color 200ms ease;
}

.thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.thumb:hover,
.thumb:focus-visible {
  opacity: 0.9;
  transform: translateY(-3px);
}

.thumb.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(216, 176, 106, 0.22);
  opacity: 1;
  transform: translateY(-6px);
}

@media (max-width: 760px) {
  body {
    overflow: hidden;
  }

  .topbar {
    align-items: flex-start;
    padding: 16px;
  }

  .brand span {
    max-width: 190px;
  }

  .links {
    gap: 8px;
  }

  .links a {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.68rem;
  }

  .property-card {
    left: 16px;
    right: 16px;
    top: auto;
    bottom: calc(clamp(112px, 17vh, 174px) + 16px);
    width: auto;
    padding: 18px;
    transform: none;
  }

  .property-card h1 {
    font-size: clamp(1.8rem, 10vw, 2.8rem);
  }

  .property-card p:not(.eyebrow):not(.helper-text) {
    margin-top: 12px;
    font-size: 0.9rem;
  }

  .facts {
    margin-top: 16px;
  }

  .facts div {
    padding: 11px;
  }

  .nav-arrow {
    top: auto;
    bottom: max(32px, calc(clamp(112px, 17vh, 174px) * 0.28));
  }
}

@media (max-width: 460px) {
  .property-card {
    display: none;
  }

  .brand span {
    font-size: 1.28rem;
  }

  .brand small {
    font-size: 0.62rem;
  }

  .links a[href^="mailto"] {
    display: none;
  }

}

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