/* Direction A: one continuous scene per place. Artwork is still; the Market
   screen is functional. Natural lower contours are part of each scene plate. */
body.entry-page277 {
  --entry-fold277: calc(100svh - clamp(48px, 7svh, 80px));
  --entry-start277: clamp(165px, 19svh, 220px);
  --entry-inset277: max(5.2vw, calc((100vw - 1666px)/2));
  --entry-title265: clamp(38px, 3.8vw, 66px);
}
body.entry-page277 .entry-hero265 {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: var(--entry-fold277);
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #f8f5ef;
}
body.entry-page277 .entry-hero265::before,
body.entry-page277 .entry-hero265::after,
body.entry-page277 .build198-sky { display: none; }
body.entry-page277 .entry-hero265 .entry-art277 {
  display: block;
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  transform: none;
  -webkit-mask-image: none;
  mask-image: none;
  pointer-events: none;
}
body.entry-page277 .entry-art277 picture { display: contents; }
body.entry-page277 .entry-hero265 .entry-art277 img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  transform: none;
  object-fit: cover;
  object-position: center bottom;
  opacity: 1;
  -webkit-mask-image: none;
  mask-image: none;
  animation: none;
  transition: none;
}
body.entry-page277.secondary197 .entry-hero265 .entry-copy265 {
  position: relative;
  z-index: 4;
  inset: auto;
  box-sizing: border-box;
  width: min(44vw, 690px);
  max-width: none;
  height: auto;
  padding: var(--entry-start277) 0 100px;
  margin: 0 0 0 var(--entry-inset277);
}
body.entry-page277.secondary197 .entry-hero265 .entry-copy265 .entry-title265 {
  max-width: none;
  text-wrap: balance;
  text-shadow: none;
}
body.entry-page277.secondary197 .entry-hero265 .entry-copy265 .entry-title265 span { display: inline; }
body.entry-page277.secondary197 .entry-hero265 .entry-copy265 .entry-title265 span:last-child { white-space: normal; }
body.entry-page277.secondary197 .entry-hero265 .entry-copy265 .entry-lead265 {
  width: 100%;
  max-width: 32ch!important;
  text-shadow: none;
}
body.entry-page277.secondary197 .entry-hero265 .entry-copy265 .eyebrow,
body.entry-page277.secondary197 .entry-hero265 .entry-copy265 .route-kicker197 { margin: 0 0 22px; }
body.entry-page277 .market-screen199 { z-index: 2; }
body.entry-page277 .contact198-world { padding-top: 0; background: #f8f5ef; }
body.entry-page277 .contact198-terrace { display: none; }
body.entry-page277 .entry-hero265 + .entry260 { padding-top: 0; }
body.entry-page277 .entry-hero265 + .entry260 > .entry260-offer { padding-top: clamp(12px, 2svh, 24px); }
body.entry-page277 .contact198-page-form { scroll-margin-top: 24px; }
@media (max-aspect-ratio: 1/1) {
  body.entry-page277 { --entry-start277: 160px; --entry-inset277: 6vw; }
  body.entry-page277.secondary197 .entry-hero265 .entry-copy265 {
    width: 88%;
    padding-top: var(--entry-start277);
    padding-bottom: 240px;
  }
  body.entry-page277.secondary197 .entry-hero265 .entry-copy265 .entry-title265 { max-width: 18ch; }
  body.entry-page277.secondary197 .entry-hero265 .entry-copy265 .entry-lead265 { max-width: 35ch!important; }
}
@media (max-width: 760px) and (max-aspect-ratio: 1/1) {
  body.entry-page277 { --entry-fold277: calc(100svh - 48px); --entry-start277: 154px; --entry-title265: clamp(32px, 8.7vw, 45px); }
  body.entry-page277.secondary197 .entry-hero265 .entry-copy265 { padding-bottom: 200px; }
  body.entry-page277.secondary197 .entry-hero265 .entry-copy265 .entry-title265 { max-width: none; }
  body.entry-page277.secondary197 .entry-hero265 .entry-copy265 .entry-lead265 { margin-top: 16px!important; font-size: 18px; line-height: 1.4; }
  body.entry-page277.secondary197 .entry-hero265 .entry-copy265 .entry-action265 { margin-top: 18px; min-height: 48px; font-size: 16px; padding: 13px 20px; gap: 16px; }
  body.entry-page277.secondary197 .entry-hero265 .entry-copy265 .eyebrow,
  body.entry-page277.secondary197 .entry-hero265 .entry-copy265 .route-kicker197 { margin-bottom: 14px; }
}
@media (max-width: 760px) and (max-height: 700px) and (max-aspect-ratio: 1/1) {
  body.entry-page277 { --entry-start277: 126px; --entry-title265: 30px; --entry-fold277: calc(100svh - 32px); }
  body.entry-page277 .site-header { padding-top: 8px; padding-bottom: 8px; min-height: 72px; }
  body.entry-page277 .route-nav197 { top: 72px; }
  body.entry-page277.secondary197 .entry-hero265 .entry-copy265 { padding-bottom: 142px; }
  body.entry-page277.secondary197 .entry-hero265 .entry-copy265 .entry-lead265 { margin-top: 12px!important; font-size: 16px; }
  body.entry-page277.secondary197 .entry-hero265 .entry-copy265 .entry-action265 { margin-top: 12px; min-height: 44px; padding: 11px 16px; }
  body.entry-page277.secondary197 .entry-hero265 .entry-copy265 .eyebrow,
  body.entry-page277.secondary197 .entry-hero265 .entry-copy265 .route-kicker197 { margin-bottom: 10px; }
}
@media (min-aspect-ratio: 1/1) and (max-height: 600px) {
  body.entry-page277 { --entry-fold277: calc(100svh - 32px); --entry-start277: 82px; --entry-title265: 32px; --entry-lead265: 16px; --entry-action265: 16px; }
  body.entry-page277.secondary197 .entry-hero265 .entry-copy265 { width: min(44vw, 360px); margin-left: 4vw; padding-bottom: 28px; }
  body.entry-page277.secondary197 .entry-hero265 .entry-copy265 .entry-title265 { max-width: none; }
  body.entry-page277.secondary197 .entry-hero265 .entry-copy265 .entry-lead265 { max-width: none!important; margin-top: 10px!important; line-height: 1.35; }
  body.entry-page277.secondary197 .entry-hero265 .entry-copy265 .entry-action265 { margin-top: 12px; min-height: 44px; padding: 10px 18px; gap: 14px; }
  body.entry-page277.secondary197 .entry-hero265 .entry-copy265 .eyebrow,
  body.entry-page277.secondary197 .entry-hero265 .entry-copy265 .route-kicker197 { margin-bottom: 8px; font-size: 14px; line-height: 18px; }
}

/* The same crisp section curve is traced in scene coordinates. The small
   contour deviations reveal real boulder/fern silhouettes from each photograph. */
body.entry-page277 .entry-hero265 { --scene-edge277: url('build-edge.svg'); }
body.entry-page277 .market-hero197 { --scene-edge277: url('market-edge.svg'); }
body.entry-page277 .connect-hero197 { --scene-edge277: url('connect-edge.svg'); }
body.entry-page277 .contact198-opening { --scene-edge277: url('contact-edge.svg'); }
body.entry-page277 .entry-hero265 .entry-art277 img {
  -webkit-mask-image: var(--scene-edge277);
  mask-image: var(--scene-edge277);
  -webkit-mask-size: cover;
  mask-size: cover;
  -webkit-mask-position: center bottom;
  mask-position: center bottom;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
@media (max-aspect-ratio: 1/1) {
  body.entry-page277 .entry-hero265 { --scene-edge277: url('build-portrait-edge.svg'); }
  body.entry-page277 .market-hero197 { --scene-edge277: url('market-portrait-edge.svg'); }
  body.entry-page277 .connect-hero197 { --scene-edge277: url('connect-portrait-edge.svg'); }
  body.entry-page277 .contact198-opening { --scene-edge277: url('contact-portrait-edge.svg'); }
}
@media (max-width: 340px) and (max-height: 620px) {
  body.entry-page277 { --entry-title265: 28px; --entry-fold277: calc(100svh - 20px); }
  body.entry-page277.secondary197 .entry-hero265 .entry-copy265 .entry-action265 { gap: 8px; padding: 11px 12px; }
  body.entry-page277.secondary197 .entry-hero265 .entry-copy265 .entry-action265 svg { display: none; }
  body.entry-page277.secondary197 .entry-hero265 .entry-copy265 .entry-lead265 { margin-top: 10px!important; line-height: 1.35; }
  body.entry-page277.secondary197 .entry-hero265 .entry-copy265 .eyebrow,
  body.entry-page277.secondary197 .entry-hero265 .entry-copy265 .route-kicker197 { margin-bottom: 8px; }
}
/* Short landscape phones need enough photographic height for sky behind copy.
   Keep the established compact menu instead of dark links crossing the forest. */
@media (min-width: 600px) and (max-width: 1000px) and (max-height: 600px) and (min-aspect-ratio: 1/1) {
  body.entry-page277 .site-header { height: 64px; min-height: 64px; padding: 10px 4vw; align-items: center; column-gap: 8px; }
  body.entry-page277 .site-header > .lockup { margin-right: auto; }
  body.entry-page277 .site-header > .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; order: 2; flex: 0 0 44px; background: #fffaf1e8; border: 1px solid #cfdae0; border-radius: 50%; color: var(--ink); }
  body.entry-page277 .site-header #main-nav { display: none; position: absolute; top: 62px; left: 4vw; right: 4vw; margin-left: 0; flex-direction: column; align-items: stretch; padding: 14px; gap: 4px; background: #fffaf4; border: 1px solid #d7cbae; border-radius: 16px; box-shadow: 0 14px 35px #03273c2c; font-size: 16px; }
  body.entry-page277 .site-header #main-nav.open { display: flex; }
  body.entry-page277 .site-header #main-nav > a:not(.button) { padding: 8px 12px; }
  body.entry-page277 .site-header #main-nav .button { font-size: 16px; min-height: 44px; }
  body.entry-page277 .route-nav197 { top: 64px; left: auto; right: 4vw; width: max-content; max-width: 60vw; }
}
@media (min-aspect-ratio: 1/1) and (max-height: 480px) {
  body.entry-page277 .entry-hero265 { min-height: 460px; }
}

@media (min-width: 1700px) and (min-aspect-ratio: 1/1) {
  body.entry-page277.page-build199 .entry-art277 img { object-position: center 25%; -webkit-mask-position: center 25%; mask-position: center 25%; }
}
@media (min-aspect-ratio: 1/1) and (max-height: 600px) {
  body.entry-page277.secondary197 .market-hero197 .entry-copy265 .entry-lead265 { max-width: 290px!important; }
}
/* Layout padding must not cover the independently interactive amphitheater screen.
   Actual copy and CTAs retain selection, links, and owner-editing hit targets. */
body.entry-page277 .entry-hero265 .entry-copy265 { pointer-events: none; }
body.entry-page277 .entry-hero265 .entry-copy265 > * { pointer-events: auto; }
