:root {
  --bg: #100a07;
  --bg-2: #1b110c;
  --ink: #f8ecd9;
  --muted: #c6ad8e;
  --quiet: #8c745c;
  --gold: #d7a85f;
  --copper: #9b5b35;
  --line: rgba(215, 168, 95, 0.22);
  --glass: rgba(24, 15, 10, 0.72);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.44);
  --serif: Georgia, Cambria, "Times New Roman", serif;
  --sans: "Segoe UI", Candara, Calibri, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  /*scroll-snap-type: y proximity;*/
  scroll-snap-type: none;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(129, 69, 38, 0.34), transparent 28rem),
    radial-gradient(circle at 88% 32%, rgba(69, 74, 47, 0.2), transparent 34rem),
    linear-gradient(145deg, #0c0705, #1d120c 48%, #0e0906);
  font-family: var(--sans);
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: #150d08;
  background: var(--gold);
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem clamp(1rem, 4vw, 3.5rem);
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled,
.site-header.nav-open {
  border-bottom: 1px solid var(--line);
  background: rgba(12, 7, 5, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  text-decoration: none;
}

.brand img {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.32rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
}

.brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.05;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2.2vw, 2rem);
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255,255,255,0.04);
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 1px;
  margin: 0.24rem auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 6rem clamp(1rem, 4vw, 4rem) clamp(2rem, 8vw, 5rem);
  overflow: hidden;
  isolation: isolate;
}

.hero picture,
.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.08) brightness(0.78);
  transform: scale(1.035);
  animation: heroBreathe 16s ease-out forwards;
}

.hero-shade {
  z-index: -1;
  background:
    radial-gradient(circle at 78% 24%, transparent 0 16rem, rgba(16, 10, 7, 0.22) 30rem),
    linear-gradient(90deg, rgba(11, 6, 4, 0.88), rgba(11, 6, 4, 0.34) 48%, rgba(11, 6, 4, 0.72)),
    linear-gradient(0deg, var(--bg) 0, transparent 42%);
}

.hero-copy {
  max-width: 760px;
}

.tagline,
.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.97;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 11ch;
  font-size: clamp(4.15rem, 11vw, 8.4rem);
}

h2 {
  font-size: clamp(2.35rem, 7vw, 5.5rem);
}

h3 {
  font-size: clamp(2rem, 4.8vw, 4.8rem);
}

.hero-copy p:not(.tagline) {
  max-width: 35rem;
  margin: 1.25rem 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.06rem, 2vw, 1.35rem);
}

.hero-actions,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.55rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

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

.button-primary {
  border-color: transparent;
  color: #170e08;
  background: linear-gradient(135deg, #f1d39b, #c17b3e);
}

.button-secondary {
  background: rgba(255,255,255,0.055);
}

.hero-notes {
  position: absolute;
  right: clamp(1rem, 4vw, 4rem);
  bottom: clamp(1.25rem, 5vw, 4rem);
  display: grid;
  gap: 0.45rem;
  color: rgba(248, 236, 217, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-align: right;
  text-transform: uppercase;
}

.arrival,
.spaces,
.story,
.value,
.finale,
.inquiry {
  padding: clamp(5rem, 11vw, 10rem) clamp(1rem, 4vw, 4rem);
}

.arrival {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(2rem, 8vw, 8rem);
  align-items: center;
}

.arrival-copy {
  max-width: 680px;
}

.arrival-scene {
  position: relative;
  min-height: 620px;
}

.arrival-portrait {
  width: min(66%, 430px);
  margin-left: auto;
  aspect-ratio: 3 / 4.3;
  object-fit: cover;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.arrival-landscape {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(58%, 430px);
  aspect-ratio: 1.22;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.arrival-scene p {
  position: absolute;
  right: 4%;
  bottom: 0;
  max-width: 22rem;
  margin: 0;
  color: var(--muted);
}

.wide-memory,
.sunset {
  position: relative;
  min-height: 76vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.wide-memory img,
.sunset img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06) brightness(0.66);
}

.wide-memory::after,
.sunset::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(0deg, rgba(16,10,7,0.94), rgba(16,10,7,0.1) 46%, rgba(16,10,7,0.62));
}

.wide-memory div,
.sunset div {
  max-width: 900px;
  padding: clamp(1.25rem, 7vw, 5.5rem);
}

.wide-memory p,
.sunset h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.spaces {
  display: grid;
  gap: clamp(4rem, 9vw, 8rem);
}

.spaces-heading {
  max-width: 950px;
}

.space-feature {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(1.5rem, 6vw, 6rem);
  align-items: center;
}

.space-feature.barn {
  grid-template-columns: 1.28fr 0.72fr;
}

.space-feature.barn .space-copy {
  order: 2;
}

.space-copy {
  position: relative;
  z-index: 2;
  max-width: 480px;
}

.space-copy span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 4rem;
  opacity: 0.56;
}

.space-copy p,
.story-text p,
.value-card p,
.sunset p,
.finale-copy p,
.inquiry-copy p,
.capacity small {
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.space-images {
  position: relative;
  min-height: 680px;
}

.space-anchor {
  width: 82%;
  height: 560px;
  object-fit: cover;
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.barn .space-anchor {
  margin-left: auto;
  object-position: center;
}

.space-float {
  position: absolute;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.space-float.one {
  right: 0;
  bottom: 4%;
  width: 33%;
  aspect-ratio: 3 / 4;
}

.space-float.two {
  left: 9%;
  bottom: -2%;
  width: 38%;
  aspect-ratio: 1.1;
}

.barn .space-float.one {
  left: 0;
  right: auto;
}

.barn .space-float.two {
  left: auto;
  right: 8%;
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(84,47,26,0.26), transparent);
}

.story-text {
  max-width: 700px;
}

.story-stack {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: clamp(0.8rem, 1.8vw, 1.2rem);
  align-items: stretch;
}

.story-image {
  display: block;
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.story-image-one {
  grid-row: 1 / span 2;
  aspect-ratio: 3 / 4;
  border-radius: 32px;
}

.story-image-two {
  grid-column: 2;
  grid-row: 1;
  aspect-ratio: 1.08;
  border-radius: 26px;
}

.story-image-three {
  grid-column: 2;
  grid-row: 2;
  aspect-ratio: 0.8;
  border: 1px solid rgba(242, 223, 200, 0.16);
  border-radius: 28px;
  object-position: 50% 44%;
}

.value {
  display: grid;
  grid-template-columns: 1fr 0.56fr;
  gap: clamp(1.5rem, 6vw, 5rem);
  align-items: end;
}

.value-card {
  max-width: 850px;
}

.capacity {
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));
}

.capacity strong {
  display: block;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(5rem, 13vw, 9rem);
  line-height: 0.82;
}

.capacity span {
  display: block;
  margin: 0.8rem 0 0.4rem;
  font-family: var(--serif);
  font-size: 1.45rem;
}

.amenity-cards {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.25rem);
}

.amenity-card {
  min-height: 12rem;
  padding: clamp(1.1rem, 2.4vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.022)),
    radial-gradient(circle at 18% 0%, rgba(191, 123, 60, 0.16), transparent 38%);
}

.amenity-card h3 {
  max-width: 18ch;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.1vw, 2.2rem);
  line-height: 0.96;
}

.amenity-card p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
}

.sunset p {
  max-width: 42rem;
}

.finale {
  display: grid;
  gap: clamp(1.5rem, 5vw, 4rem);
}

.finale-copy {
  max-width: 980px;
}

.finale-images {
  display: grid;
  grid-template-columns: 0.82fr 1fr 1.2fr;
  gap: 1rem;
  align-items: center;
}

.finale-images img {
  height: clamp(320px, 45vw, 600px);
  object-fit: contain;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.finale-images img:nth-child(2) {
  transform: translateY(2rem);
}

.finale-images img[data-review-id="P12"] {
  object-fit: cover;
  object-position: center 38%;
}

.inquiry {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 7vw, 7rem);
  border-top: 1px solid var(--line);
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
}

.social-links a:hover {
  color: var(--ink);
  border-color: rgba(242, 223, 200, 0.38);
}

.social-links svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
  opacity: 0.82;
}

.inquiry-form {
  display: grid;
  gap: 0.86rem;
  padding: clamp(1rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255,255,255,0.042);
  box-shadow: var(--shadow);
}

.inquiry-form label {
  display: grid;
  gap: 0.42rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid rgba(215, 168, 95, 0.28);
  border-radius: 17px;
  padding: 0.86rem 0.94rem;
  color: var(--ink);
  background: rgba(11, 6, 4, 0.62);
  outline: none;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(215, 168, 95, 0.15);
}

.form-note {
  min-height: 1.4rem;
  margin: 0;
  color: var(--gold);
}

.site-footer {
  display: block;
  padding: 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.footer-banner {
  display: block;
  width: 100%;
  height: auto;
  opacity: 1;
}

.footer-exterior {
  margin: 0;
  padding: clamp(3.2rem, 8vw, 7rem) clamp(1rem, 4vw, 4rem);
  background:
    radial-gradient(circle at 50% 20%, rgba(191, 123, 60, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(10, 6, 4, 0.2), rgba(10, 6, 4, 0.86));
}

.footer-exterior img {
  display: block;
  width: min(1080px, 100%);
  margin: 0 auto;
  aspect-ratio: 2.35 / 1;
  object-fit: cover;
  border: 1px solid rgba(242, 223, 200, 0.16);
  border-radius: 34px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
  filter: sepia(0.18) saturate(0.86) brightness(0.72) contrast(1.08);
}

.site-footer p {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.site-footer small {
  max-width: 36rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 760ms ease, transform 760ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero,
.wide-memory,
.venue-experience,
.story,
.value,
.sunset,
.finale,
.sparkler-transition,
.inquiry,
.site-footer {
  scroll-snap-align: start;
}

@keyframes heroBreathe {
  from {
    transform: scale(1.08) translateY(1%);
  }
  to {
    transform: scale(1.035) translateY(0);
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(5px) rotate(38deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-5px) rotate(-38deg);
  }

  .site-nav {
    position: fixed;
    top: 4.6rem;
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0;
    padding: 0.8rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(12,7,5,0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 0.92rem;
  }

  .hero-notes {
    display: none;
  }

  .arrival,
  .space-feature,
  .space-feature.barn,
  .story,
  .value,
  .inquiry {
    grid-template-columns: 1fr;
  }

  .space-feature.barn .space-copy {
    order: 0;
  }

  .space-images {
    min-height: 590px;
  }

  .space-anchor {
    width: 88%;
    height: 470px;
  }

  .finale-images {
    grid-template-columns: 1fr;
  }

  .finale-images img,
  .finale-images img:nth-child(2) {
    height: auto;
    max-height: 620px;
    transform: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0.72rem 0.9rem;
  }

  .brand small {
    display: none;
  }

  .brand img {
    width: 2.55rem;
    height: 2.55rem;
  }

  .hero {
    min-height: 100svh;
    padding: 5.6rem 1rem 1.5rem;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(16,10,7,0.96), rgba(16,10,7,0.18) 48%, rgba(16,10,7,0.76)),
      linear-gradient(90deg, rgba(11,6,4,0.78), rgba(11,6,4,0.36));
  }

  h1 {
    max-width: 9.5ch;
    font-size: clamp(3.9rem, 18vw, 5.4rem);
  }

  h2 {
    font-size: clamp(2.45rem, 12vw, 4.6rem);
  }

  .hero-actions,
  .social-links {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .arrival,
  .spaces,
  .story,
  .value,
  .finale,
  .inquiry {
    padding: 4.6rem 1rem;
  }

  .arrival-scene {
    min-height: 520px;
  }

  .arrival-portrait {
    width: 82%;
    margin-left: 0;
  }

  .arrival-landscape {
    width: 62%;
    right: 0;
    left: auto;
  }

  .arrival-scene p {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 1.2rem;
  }

  .wide-memory,
  .sunset {
    min-height: 68vh;
  }

  .wide-memory div,
  .sunset div {
    padding: 1rem;
  }

  .space-images {
    min-height: 560px;
  }

  .space-anchor {
    width: 100%;
    height: 390px;
    border-radius: 30px;
  }

  .space-float.one {
    width: 46%;
    right: 0;
    bottom: 0;
  }

  .space-float.two {
    width: 50%;
    left: 0;
    bottom: 7%;
  }

  .barn .space-float.one {
    left: 0;
  }

  .barn .space-float.two {
    right: 0;
  }

  .story-stack {
    min-height: 470px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* v5 living-image integration: corrected masked variant from the isolated lab. */
:root {
  --living-fade-ms: 720ms;
  --living-end-dim-opacity: 0.52;
}

.living-image {
  position: relative;
  display: block;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  background: #000;
  cursor: pointer;
}

.living-image.space-anchor {
  width: 82%;
  height: 560px;
  border-radius: 34px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.barn .living-image.space-anchor {
  margin-left: auto;
}

.living-still,
.living-video,
.living-image .mood-mask,
.living-image .black-fade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

.living-still {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
  transition: opacity var(--living-fade-ms) ease;
}

.living-video {
  z-index: 2;
  opacity: 0;
  background: #000;
  pointer-events: none;
  transition: opacity var(--living-fade-ms) ease;
}

.living-image .mood-mask {
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 4, 2, 0.24), transparent 48%, rgba(10, 4, 2, 0.22)),
    linear-gradient(180deg, rgba(10, 4, 2, 0.08), rgba(10, 4, 2, 0.24));
}

.living-image .black-fade {
  z-index: 4;
  opacity: 0;
  background: #000;
  pointer-events: none;
  transition: opacity var(--living-fade-ms) ease;
}

.living-image.state-fading_to_video .living-video,
.living-image.state-playing_video .living-video,
.living-image.state-fading_to_still .living-video {
  opacity: 1;
}

.living-image.state-fading_to_video .living-still,
.living-image.state-playing_video .living-still,
.living-image.state-fading_to_still .living-still {
  opacity: 0;
}

.living-image.state-resting_still .living-still,
.living-image.state-idle_still .living-still {
  opacity: 1;
}

.living-image.state-fading_to_still .black-fade {
  opacity: var(--living-end-dim-opacity);
}

.sunset-living {
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: 0;
}

.sunset .sunset-living img,
.sunset .sunset-living video {
  position: absolute;
  inset: 0;
  z-index: auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.sunset .sunset-living .living-still { z-index: 1; }
.sunset .sunset-living .living-video { z-index: 2; }
.sunset .sunset-living .mood-mask { z-index: 3; }
.sunset .sunset-living .black-fade { z-index: 4; }

.review-media-wrap {
  position: relative;
  display: inline-block;
}

.review-marker {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.65rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  color: #fff;
  font: 700 0.68rem/1 var(--sans);
  letter-spacing: 0.03em;
  pointer-events: none;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.32);
}

.review-marker-s { background: rgba(181, 91, 45, 0.94); }
.review-marker-t { background: rgba(52, 96, 149, 0.94); }
.review-marker-p { background: rgba(65, 124, 82, 0.94); }
.review-marker-v { background: rgba(148, 72, 130, 0.96); }
.review-marker-l { background: rgba(142, 109, 38, 0.94); }

body:not(.review-mode) .review-marker {
  display: none;
}

body.review-mode [data-review-id] {
  outline: 1px dashed rgba(255, 244, 226, 0.18);
  outline-offset: 3px;
}

body.review-mode-lite [data-review-id^="S"],
body.review-mode-lite [data-review-id^="L"],
body.review-mode-lite [data-review-id^="V"] {
  outline: none;
}

@media (max-width: 980px) {
  .living-image.space-anchor {
    width: 88%;
    height: 470px;
  }
}

@media (max-width: 620px) {
  .living-image.space-anchor {
    width: 100%;
    height: 390px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .living-video {
    display: none;
  }
  .living-still {
    opacity: 1 !important;
    transition: none;
  }
}

.review-marker[hidden] {
  display: none !important;
}


/* v6 targeted review tweaks */
.hero-shade {
  opacity: 0.5;
}

h1 {
  font-size: clamp(3.45rem, 8.2vw, 6.65rem);
}

.arrival-flipped {
  grid-template-columns: 1.18fr 0.82fr;
}

.arrival-flipped .arrival-scene {
  order: 1;
}

.arrival-flipped .arrival-copy {
  order: 2;
}

.arrival-flipped .arrival-portrait {
  margin-left: 0;
  width: min(68%, 440px);
  object-position: center;
}

.arrival-flipped .arrival-landscape {
  left: auto;
  right: 0;
  bottom: 8%;
}

.venue-experience {
  gap: clamp(2.6rem, 6vw, 5rem);
}

.venue-experience .spaces-heading {
  max-width: 760px;
}

.venue-experience-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2.6vw, 2rem);
  align-items: stretch;
}

.venue-experience-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 1rem;
  grid-column: span 4;
  min-width: 0;
}

.venue-experience-card.large {
  grid-column: span 7;
}

.venue-experience-card.tall {
  grid-column: span 5;
}

.venue-experience-card.wide {
  /*grid-column: 4 / span 6;*/
  grid-column: 1 / -1;
  max-width: 760px;
  justify-self: center;
}

.venue-image,
.venue-experience-card .living-image.venue-image {
  width: 100%;
  height: clamp(20rem, 38vw, 34rem);
  object-fit: cover;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.venue-experience-card.tall .venue-image {
  height: clamp(26rem, 52vw, 44rem);
}

.venue-experience-card.wide .venue-image {
  height: clamp(18rem, 30vw, 28rem);
}

.venue-caption {
  min-height: 11rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,0.045);
}

.venue-caption h3 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 3rem);
  line-height: 1;
}

.venue-caption p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
}

.footer-concept-mark img {
  width: min(17rem, 72vw);
  height: auto;
}

.site-footer .footer-concept-mark + p {
  margin-top: 0.85rem;
}

@media (max-width: 980px) {
  .arrival-flipped,
  .arrival,
  .space-feature,
  .space-feature.barn,
  .story,
  .value,
  .inquiry {
    grid-template-columns: 1fr;
  }

  .arrival-flipped .arrival-scene,
  .arrival-flipped .arrival-copy {
    order: initial;
  }

  .venue-experience-card,
  .venue-experience-card.large,
  .venue-experience-card.tall,
  .venue-experience-card.wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: clamp(3.1rem, 16vw, 5.4rem);
  }

  .arrival-flipped .arrival-portrait {
    width: 82%;
  }

  .venue-image,
  .venue-experience-card .living-image.venue-image,
  .venue-experience-card.tall .venue-image,
  .venue-experience-card.wide .venue-image {
    height: 21rem;
  }
}

/* v7 targeted review tweaks */
.arrival-flipped .arrival-portrait {
  width: min(66%, 430px);
  margin-left: auto;
  object-position: 50% 50%;
}

.arrival-flipped .arrival-landscape {
  left: 0;
  right: auto;
  bottom: 0;
}

.venue-experience-card.detail-accent {
  grid-column: span 3;
}

.venue-experience-card.detail-accent .venue-image {
  height: clamp(16rem, 25vw, 23rem);
}

.venue-experience-card.detail-accent .venue-caption {
  min-height: 9.5rem;
}

.p5-crop-shell {
  overflow: hidden;
}

.p5-crop-shell [data-review-id="P5"] {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  transform: scale(1.18);
  transform-origin: center 18%;
}

.value {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr) minmax(220px, 0.42fr);
  align-items: stretch;
}

.capacity {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: flex-end;
}

.capacity strong {
  font-size: clamp(4.5rem, 8vw, 6.6rem);
}

.sparkler-transition {
  padding: clamp(1rem, 3vw, 3rem) clamp(1rem, 4vw, 4rem) clamp(5rem, 10vw, 9rem);
}

.sparkler-video-shell {
  position: relative;
  overflow: hidden;
  width: min(1120px, 100%);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.sparkler-video-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(12, 6, 4, 0.42), transparent 40%, rgba(12, 6, 4, 0.38)),
    linear-gradient(0deg, rgba(12, 6, 4, 0.38), transparent 45%, rgba(12, 6, 4, 0.26));
}

.sparkler-still,
.sparkler-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  /*object-fit: cover;*/
  object-fit: contain;
  object-position: center;
  transition: opacity 760ms ease;
}

.sparkler-still {
  z-index: 1;
  opacity: 1;
}

.sparkler-video {
  z-index: 2;
  opacity: 0;
}

.sparkler-video-shell::after {
  z-index: 3;
}

.sparkler-final-reveal {
  position: absolute;
  inset: 0;
  z-index: 4;
  opacity: 0;
  background: #080403;
  transition: opacity var(--sparkler-final-reveal-ms, 3000ms) ease;
}

.sparkler-final-reveal img {
  display: block;
  width: 100%;
  height: 100%;
  /*object-fit: cover;*/
  object-fit: contain;
  object-position: center;
}

.sparkler-living.is-playing .sparkler-video {
  opacity: 1;
}

.sparkler-living.is-playing .sparkler-still,
.sparkler-living.is-final-reveal .sparkler-still {
  opacity: 0;
}

.sparkler-living.is-final-reveal .sparkler-video {
  opacity: 0;
}

.sparkler-living.is-final-reveal .sparkler-final-reveal {
  opacity: 1;
}

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

  .amenity-cards {
    grid-template-columns: 1fr;
  }

  .amenity-card {
    min-height: auto;
  }

  .arrival-flipped .arrival-copy {
    order: 1;
  }

  .arrival-flipped .arrival-scene {
    order: 2;
  }

  .venue-experience-card.detail-accent {
    grid-column: span 6;
  }
}

@media (max-width: 620px) {
  .arrival-flipped .arrival-copy {
    order: 1;
  }

  .arrival-flipped .arrival-scene {
    order: 2;
  }

  .arrival-flipped .arrival-portrait {
    width: 82%;
    margin-left: 0;
  }

  .arrival-flipped .arrival-landscape {
    left: auto;
    right: 0;
  }

  .venue-experience-card.detail-accent {
    grid-column: 1 / -1;
  }

  .venue-experience-card.detail-accent .venue-image {
    height: 19rem;
  }

  .sparkler-video-shell {
    /*aspect-ratio: 4 / 5;*/
    /*border-radius: 28px;*/
  }

  .story-stack {
    display: block;
    min-height: auto;
  }

  .story-image-one,
  .story-image-two,
  .story-image-three {
    position: relative;
    display: block;
    width: 78%;
    grid-column: auto;
    grid-row: auto;
  }

  .story-image-one {
    z-index: 1;
    margin: 0;
  }

  .story-image-two {
    z-index: 2;
    margin: -10% 0 0 auto;
  }

  .story-image-three {
    z-index: 3;
    margin: -10% auto 0 0;
  }

  [data-review-id="V1"] .living-still,
  [data-review-id="V1"] .living-video,
  [data-review-id="V2"] .living-still,
  [data-review-id="V2"] .living-video {
    object-fit: contain;
    object-position: 50% 0;
    background: #050302;
  }

  .sparkler-final-reveal {
    background: #050302;
  }

  .sparkler-final-reveal img {
    object-fit: contain;
    object-position: center;
  }
}

@media (max-width: 720px) {
  [data-review-id="V1"] .living-still,
  [data-review-id="V1"] .living-video,
  [data-review-id="V2"] .living-still,
  [data-review-id="V2"] .living-video {
    object-fit: cover;
    object-position: 50% 0;
    background: #050302;
  }

  .sparkler-final-reveal {
    background: #050302;
  }

  .sparkler-final-reveal img {
    object-fit: contain;
    object-position: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-snap-type: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sparkler-video {
    display: none;
  }

  .sparkler-final-reveal {
    opacity: 1;
  }
}
