/* HERO — static interior is the baseline. Motion is an optional enhancement. */
:root {
  --hero-track: 673.4svh;
  --hero-ink: #f7f5ee;
  --threshold: #090d10;
}
.cinematic-hero {
  padding: 0;
  position: relative;
  background: var(--navy-deep);
  color: var(--hero-ink);
}
.cinematic-stage {
  position: relative;
  min-height: 760px;
  min-height: max(760px, 100svh);
  height: auto;
  isolation: isolate;
  overflow: hidden;
}
.scene-layer,
.scene-photo,
.threshold-layer,
.hero-shade {
  position: absolute;
  inset: 0;
}
.scene-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}
.exterior-layer {
  opacity: 0;
}
.interior-photo img {
  object-position: 50% 50%;
}
.exterior-photo img {
  object-position: 50% 50%;
}
.threshold-layer {
  background: var(--threshold);
  opacity: 0;
  pointer-events: none;
}
.door-shadow {
  position: absolute;
  background: var(--threshold);
  opacity: 0;
}
.hero-shade {
  background:
    linear-gradient(
      90deg,
      rgba(6, 18, 42, 0.88),
      rgba(6, 18, 42, 0.3) 68%,
      rgba(6, 18, 42, 0.12)
    ),
    linear-gradient(0deg, rgba(6, 18, 42, 0.74), transparent 50%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: clamp(150px, 25svh, 240px);
  padding-bottom: 110px;
}
.hero-copy h1 {
  color: var(--hero-ink);
  max-width: 1000px;
  font-size: clamp(40px, 4.8vw, 76px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 22px 0;
}
.hero-copy h1 .highlight {
  font-style: normal;
}
.hero-copy .hero-sub {
  color: var(--hero-ink);
  max-width: 600px;
  font-size: 16px;
}
.hero-registration {
  max-width: 620px;
  margin-top: 18px;
  color: var(--hero-ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
}
.arrival-copy,
.hero-rail,
.scroll-cue,
.journey-skip,
.service-annotations {
  display: none;
}
.motion-pending .cinematic-hero,
.motion-ready .cinematic-hero {
  height: var(--hero-track);
}
.motion-pending .cinematic-stage,
.motion-ready .cinematic-stage {
  position: sticky;
  top: 0;
  min-height: 0;
  height: 100vh;
  height: 100svh;
}
.motion-pending .exterior-layer,
.motion-ready .exterior-layer {
  opacity: 1;
}
.motion-pending .hero-copy,
.motion-ready .hero-copy {
  opacity: 0;
}
.motion-pending .hero-shade,
.motion-ready .hero-shade {
  opacity: 0.28;
}
.motion-pending .arrival-copy,
.motion-ready .arrival-copy {
  display: block;
  position: absolute;
  left: var(--gutter);
  bottom: 18%;
  z-index: 2;
}
.arrival-title {
  color: var(--hero-ink);
  font-family: var(--font-display);
  font-size: clamp(48px, 6.5vw, 100px);
  letter-spacing: -0.055em;
  font-weight: 500;
  line-height: 0.98;
  margin: 23px 0;
}
.arrival-title em {
  font-style: normal;
  font-weight: 500;
}
.arrival-caption {
  font-size: 13px;
  color: var(--hero-ink);
}
.motion-ready .hero-rail,
.motion-pending .hero-rail {
  display: flex;
  position: absolute;
  bottom: 26px;
  left: var(--gutter);
  right: var(--gutter);
  gap: 28px;
  align-items: center;
  color: var(--hero-ink);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  z-index: 3;
}
.hero-progress {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}
.hero-progress i {
  display: block;
  height: 1px;
  background: var(--hero-ink);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.motion-ready .scroll-cue,
.motion-pending .scroll-cue {
  display: flex;
  position: absolute;
  right: var(--gutter);
  bottom: 16%;
  color: var(--hero-ink);
  align-items: center;
  gap: 18px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.scroll-cue span {
  font-size: 24px;
}
.motion-ready .journey-skip,
.motion-pending .journey-skip {
  display: flex;
  position: absolute;
  right: var(--gutter);
  top: 125px;
  color: var(--hero-ink);
  z-index: 5;
  font-size: 12px;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
  text-shadow: 0 1px 5px var(--navy-deep);
}
.motion-ready .service-annotations {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.annotation {
  position: absolute;
  opacity: 0;
  max-width: calc(100% - 32px);
  color: var(--navy);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.annotation-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  border: 1px solid var(--brass-soft);
  border-radius: var(--radius-pill);
  background: var(--cream);
  box-shadow: 0 3px 14px #07162c30;
  line-height: 1.3;
}
.annotation-pill .icon {
  width: 18px;
  height: 18px;
  color: var(--brass);
}
.annotation-leader {
  position: absolute;
  left: 0;
  top: 0;
  overflow: visible;
}
.annotation-leader path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.leader-outline {
  stroke: var(--navy);
  stroke-width: 5px;
  stroke-opacity: 0.65;
}
.leader-line {
  stroke: var(--cream);
  stroke-width: 2.5px;
}
.leader-dot {
  fill: var(--brass-soft);
  stroke: var(--navy);
  stroke-width: 2px;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 15px;
  background: var(--navy);
  color: white;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: none;
}
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 5px;
}
@media (max-width: 1100px) {
  :root {
    --hero-track: 605.7svh;
  }
}
@media (max-width: 600px) {
  :root {
    --hero-track: 458.4svh;
  }
  .cinematic-stage {
    min-height: 780px;
  }
  .hero-copy {
    padding-top: 155px;
    padding-bottom: 85px;
  }
  .hero-copy h1 {
    font-size: clamp(35px, 8.8vw, 49px);
    max-width: 430px;
  }
  .hero-copy .hero-sub {
    font-size: 14px;
    line-height: 1.6;
  }
  .hero-registration {
    font-size: 9px;
    letter-spacing: 0.05em;
  }
  .hero-copy .hero-cta-row {
    gap: 4px;
    margin-top: 22px;
  }
  .hero-copy .btn {
    width: 100%;
    padding: 15px 10px;
    font-size: 14px;
  }
  .arrival-title {
    font-size: clamp(42px, 12.8vw, 70px);
  }
  .arrival-title em {
    white-space: normal;
  }
  .arrival-caption {
    font-size: 11px;
  }
  .motion-ready .arrival-copy,
  .motion-pending .arrival-copy {
    bottom: 25%;
  }
  .motion-ready .hero-rail,
  .motion-pending .hero-rail {
    bottom: 98px;
    gap: 16px;
    font-size: 8px;
  }
  .motion-ready .scroll-cue,
  .motion-pending .scroll-cue {
    bottom: 17%;
    left: var(--gutter);
    right: auto;
    font-size: 9px;
  }
  .motion-ready .journey-skip,
  .motion-pending .journey-skip {
    top: 100px;
    font-size: 10px;
  }

  .interior-photo img {
    object-position: 35% 50%;
  }
  .hero-shade {
    background: linear-gradient(
      0deg,
      var(--navy-deep) 8%,
      rgba(6, 18, 42, 0.9) 37%,
      rgba(6, 18, 42, 0.1) 100%
    );
  }
  .annotation {
    font-size: 12px;
  }
  .annotation-pill {
    padding: 10px 12px;
    gap: 8px;
  }
  .annotation-pill .icon {
    width: 16px;
    height: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .cinematic-hero {
    height: auto !important;
  }
  .cinematic-stage {
    position: relative !important;
  }
}
/* Header overlays the imagery; the lower-page state is managed independently. */
.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  background: linear-gradient(
    180deg,
    rgba(6, 18, 42, 0.86),
    rgba(6, 18, 42, 0.54)
  );
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 0;
  color: var(--hero-ink);
}
.nav {
  height: var(--header-height);
}
.site-header .nav-links a,
.site-header .phone-link {
  color: var(--hero-ink);
}
.site-header .btn-secondary {
  background: transparent;
  color: var(--hero-ink);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: none;
}
.site-header.scrolled {
  background: var(--navy-deep);
  box-shadow: none;
}
.cinematic-hero .hero-copy h1 {
  font-family: var(--font-display);
}
@media (max-width: 600px) {
  .nav {
    height: var(--header-height);
  }
  .site-header .btn {
    font-size: 11px;
    padding: 13px 11px;
  }
}

html:not(.motion-ready):not(.motion-pending) .site-header {
  background: var(--navy-deep);
}

/* The original camera lives inside this frame; only its final handoff changes. */
.interior-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform-origin: 50% 50%;
  z-index: 1;
}
.exterior-layer {
  z-index: 2;
}
.threshold-layer {
  z-index: 3;
}
.hero-shade {
  z-index: 4;
}
.hero-copy,
.motion-ready .arrival-copy,
.motion-pending .arrival-copy {
  z-index: 5;
}
.motion-ready .service-annotations {
  z-index: 5;
}
.motion-ready .hero-rail,
.motion-pending .hero-rail,
.motion-ready .journey-skip,
.motion-pending .journey-skip,
.motion-ready .scroll-cue,
.motion-pending .scroll-cue {
  z-index: 6;
}
.motion-ready .cinematic-stage,
.motion-pending .cinematic-stage {
  background: var(--cream);
}
.triptych-side {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius);
  opacity: 0;
  pointer-events: none;
  width: 20%;
  z-index: 0;
}
.triptych-side picture,
.triptych-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.triptych-left {
  left: 1.5%;
  top: 34%;
  height: 37%;
}
.triptych-right {
  right: 1.5%;
  top: 25%;
  height: 43%;
}
.triptych-caption {
  position: absolute;
  bottom: 10%;
  left: var(--gutter);
  right: var(--gutter);
  color: var(--navy);
  opacity: 0;
  text-align: center;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  z-index: 5;
  pointer-events: none;
}
.triptych-caption span {
  display: block;
  font-size: 11px;
  color: var(--slate);
  letter-spacing: 0;
  line-height: 1.5;
  margin-top: 12px;
}
.static-triptych {
  display: grid;
  grid-template-columns: 0.65fr 1.7fr 0.65fr;
  align-items: center;
  gap: 20px;
  padding: 60px var(--gutter);
  background: var(--cream);
}
.static-triptych figure {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
}
.static-triptych .static-side {
  height: 240px;
}
.static-triptych .static-side:first-child {
  transform: translateY(20px);
}
.static-triptych .static-side:nth-child(3) {
  transform: translateY(-20px);
}
.static-triptych .static-center {
  height: 360px;
}
.static-triptych picture,
.static-triptych img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.static-triptych .image-note {
  grid-column: 1/-1;
  text-align: center;
  margin: 10px 0 0;
}
.motion-ready .static-triptych,
.motion-pending .static-triptych {
  display: none;
}
.hero-copy .btn-secondary {
  color: var(--cream);
  border-color: #ffffff80;
}
.hero-copy .btn-secondary:hover {
  background: #ffffff15;
}
.hero-copy .eyebrow,
.arrival-copy .eyebrow {
  color: var(--navy);
}
.site-header.hero-exited {
  background: var(--navy-deep);
}
@media (min-width: 900px) {
  .hero-copy {
    padding-top: clamp(145px, 23svh, 220px);
  }
}
@media (max-width: 899px) {
  .hero-copy {
    padding-top: 140px;
  }
  .hero-copy h1 {
    max-width: 820px;
  }
  .motion-ready .hero-rail,
  .motion-pending .hero-rail {
    bottom: 88px;
  }
}
@media (max-width: 600px) {
  .hero-copy {
    padding-top: 128px;
    padding-bottom: 100px;
  }
  .hero-copy h1 {
    font-size: clamp(32px, 8.3vw, 46px);
    letter-spacing: -0.045em;
  }
  .hero-copy .eyebrow {
    font-size: 9px;
    padding: 6px 10px;
    gap: 6px;
  }
  .hero-copy .eyebrow .icon {
    width: 13px;
    height: 13px;
  }
  .hero-copy .hero-sub {
    font-size: 14px;
    line-height: 1.6;
  }
  .hero-copy .btn {
    min-height: 48px;
    padding: 12px 10px;
  }
  .hero-copy .hero-cta-row {
    gap: 8px;
  }
  .hero-registration {
    font-size: 9px;
    margin-top: 14px;
  }
  .triptych-left {
    left: 1%;
    width: 16%;
    top: 40%;
    height: 26%;
  }
  .triptych-right {
    right: 1%;
    width: 16%;
    top: 30%;
    height: 31%;
  }
  .triptych-caption {
    bottom: 13%;
    font-size: 18px;
  }
  .triptych-caption span {
    font-size: 10px;
    max-width: 260px;
    margin: 10px auto 0;
  }
  .static-triptych {
    padding: 44px 12px;
    gap: 10px;
    grid-template-columns: 0.5fr 1.6fr 0.5fr;
  }
  .static-triptych .static-side {
    height: 145px;
  }
  .static-triptych .static-center {
    height: 240px;
  }
  .static-triptych .image-note {
    font-size: 10px;
  }
}
