/* New homepage hero — matches Jennifer's design mockup */
.nh { --u: calc(100cqw / 1290); --cream: #eee9e5; --gold-nh: #b38a55; --brown: #8a6a45;
  position: relative; container-type: inline-size; background: var(--ink); color: var(--ivory); overflow: hidden; }
.nh-bg img { display: block; width: 100%; height: auto; }

/* Desktop: exact composition of the mockup */
@media (min-width: 1200px) {
  body.has-nh .site-header { display: none; }
  .nh { aspect-ratio: 1290 / 844; background: var(--cream); }
  .nh-bg, .nh-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
  .nh-bg img { object-fit: cover; }
  .nh::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--u) * 648); z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, rgba(12,10,9,.62) 0%, rgba(12,10,9,.38) 32%, rgba(12,10,9,0) 52%),
                linear-gradient(180deg, rgba(12,10,9,.35) 0%, rgba(12,10,9,0) 14%); }
  .nh-top, .nh-copy, .nh-meet { position: absolute; z-index: 2; }

  .nh-top { left: 0; right: 0; top: 0; height: calc(var(--u) * 180); }
  .nh-logo { position: absolute; left: calc(var(--u) * 38); top: calc(var(--u) * 28); width: calc(var(--u) * 258); display: flex; flex-direction: column; align-items: center; color: var(--ivory); }
  .nh-mono { display: flex; align-items: center; width: 100%; gap: calc(var(--u) * 14); }
  .nh-mono i { flex: 1; height: 1px; background: var(--gold-nh); opacity: .85; margin-top: calc(var(--u) * 6); }
  .nh-mono b { font-family: 'Cinzel', var(--font-display); font-weight: 400; color: var(--gold-nh); font-size: calc(var(--u) * 40); line-height: 1; letter-spacing: -.12em; padding-right: .12em; }
  .nh-word { font-family: 'Cinzel', var(--font-display); font-size: calc(var(--u) * 66); line-height: 1; letter-spacing: .04em; margin-top: calc(var(--u) * 8); text-shadow: 0 2px 18px rgba(0,0,0,.35); }
  .nh-sub { font-family: var(--font-body); font-size: calc(var(--u) * 14.5); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-nh); margin-top: calc(var(--u) * 14); white-space: nowrap; }
  .nh-nav { position: absolute; right: calc(var(--u) * 42); top: calc(var(--u) * 42); display: flex; gap: calc(var(--u) * 40); }
  .nh-nav a { font-size: max(11px, calc(var(--u) * 12.5)); letter-spacing: .14em; text-transform: uppercase; color: rgba(246,242,234,.92); text-shadow: 0 1px 10px rgba(0,0,0,.5); transition: color .25s; }
  .nh-nav a:hover { color: #dcc08f; }

  .nh-copy { left: calc(var(--u) * 50); top: calc(var(--u) * 246); width: calc(var(--u) * 560); }
  .nh-h1 { font-family: var(--font-display); font-weight: 400; font-size: calc(var(--u) * 70); line-height: 1; letter-spacing: -.005em; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.4); }
  .nh-rule { display: block; width: calc(var(--u) * 110); height: 1px; background: var(--gold-nh); margin-top: calc(var(--u) * 20); }
  .nh-places { font-family: var(--font-display); font-size: calc(var(--u) * 22); margin-top: calc(var(--u) * 16); color: #fff; }
  .nh-places span { color: rgba(255,255,255,.85); margin: 0 .35em; }
  .nh-tag { font-family: var(--font-display); font-style: italic; font-size: calc(var(--u) * 20.5); margin-top: calc(var(--u) * 10); color: rgba(255,255,255,.95); }
  .nh-ctas { display: flex; flex-direction: column; align-items: flex-start; gap: calc(var(--u) * 4); margin-top: calc(var(--u) * 38); }
  .nh-btn { display: inline-flex; align-items: center; gap: .9em; height: calc(var(--u) * 45); padding: 0 calc(var(--u) * 23); font-size: max(10.5px, calc(var(--u) * 12)); letter-spacing: .13em; text-transform: uppercase; font-weight: 500; border: 1px solid; transition: background .3s, color .3s, border-color .3s; }
  .nh-btn-gold { background: var(--gold-nh); border-color: var(--gold-nh); color: #fff; }
  .nh-btn-gold:hover { background: #fff; border-color: #fff; color: var(--ink); }
  .nh-btn-line { border-color: rgba(255,255,255,.85); color: #fff; background: rgba(12,10,9,.18); }
  .nh-btn-line:hover { background: #fff; color: var(--ink); }

  .nh-meet { left: calc(var(--u) * 50); top: calc(var(--u) * 660); width: calc(var(--u) * 830); display: flex; color: var(--ink); }
  .nh-intro { width: calc(var(--u) * 290); flex-shrink: 0; }
  .nh-eyebrow { font-size: max(9.5px, calc(var(--u) * 11)); letter-spacing: .16em; text-transform: uppercase; color: var(--brown); }
  .nh-h2 { font-family: var(--font-display); font-weight: 400; font-size: calc(var(--u) * 26); line-height: 1.02; margin-top: calc(var(--u) * 9); }
  .nh-p { font-size: max(9.5px, calc(var(--u) * 10.4)); line-height: 1.42; color: #4d4740; margin-top: calc(var(--u) * 9); }
  .nh-more { display: inline-block; font-size: max(9.5px, calc(var(--u) * 10)); letter-spacing: .16em; text-transform: uppercase; color: var(--brown); margin-top: calc(var(--u) * 8); }
  .nh-more:hover { color: var(--ink); }
  .nh-feats { list-style: none; display: flex; margin: calc(var(--u) * 42) 0 0 calc(var(--u) * 30); padding: 0; }
  .nh-feats li { width: calc(var(--u) * 174); text-align: center; border-left: 1px solid rgba(15,14,12,.18); padding: 0 calc(var(--u) * 10); }
  .nh-feats svg { width: calc(var(--u) * 36); height: calc(var(--u) * 36); fill: none; stroke: var(--gold-nh); stroke-width: 1.3; }
  .nh-feats h3 { font-size: max(9.5px, calc(var(--u) * 10.4)); letter-spacing: .14em; text-transform: uppercase; font-weight: 500; margin-top: calc(var(--u) * 14); }
  .nh-feats p { font-size: max(9.5px, calc(var(--u) * 10)); line-height: 1.5; color: #4d4740; margin-top: calc(var(--u) * 8); }
}

/* Tablet and phone: stacked version */
@media (max-width: 1199px) {
  .nh-top { display: none; }
  .nh-bg { position: relative; display: block; }
  .nh-bg img { max-height: 78vh; object-fit: cover; object-position: 70% 30%; }
  .nh-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,14,12,1) 0%, rgba(15,14,12,0) 28%); }
  .nh-copy { position: relative; padding: 0 var(--gutter) 2.75rem; margin-top: -3.5rem; z-index: 1; }
  .nh-h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.5rem, 10.5vw, 4rem); line-height: 1.02; }
  .nh-rule { display: block; width: 90px; height: 1px; background: var(--gold-nh); margin-top: 1.25rem; }
  .nh-places { font-family: var(--font-display); font-size: 1.3rem; margin-top: 1rem; }
  .nh-places span { margin: 0 .3em; }
  .nh-tag { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; margin-top: .4rem; color: rgba(246,242,234,.85); }
  .nh-ctas { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.75rem; }
  .nh-btn { display: flex; justify-content: center; align-items: center; gap: .8em; min-height: 52px; padding: 0 1.25rem; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; border: 1px solid; text-align: center; }
  .nh-btn-gold { background: var(--gold-nh); border-color: var(--gold-nh); color: #fff; }
  .nh-btn-line { border-color: rgba(246,242,234,.7); color: #fff; }
  .nh-meet { background: var(--cream); color: var(--ink); padding: 3rem var(--gutter); }
  .nh-eyebrow { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brown); }
  .nh-h2 { font-family: var(--font-display); font-weight: 400; font-size: 2.1rem; line-height: 1.05; margin-top: .75rem; }
  .nh-p { color: #4d4740; margin-top: 1rem; line-height: 1.6; max-width: 46ch; }
  .nh-more { display: inline-block; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brown); margin-top: 1rem; border-bottom: 1px solid var(--gold-nh); padding-bottom: .25rem; }
  .nh-feats { list-style: none; padding: 0; margin: 2.25rem 0 0; display: grid; gap: 1.75rem; }
  .nh-feats li { display: grid; grid-template-columns: 44px 1fr; column-gap: 1rem; align-items: start; padding-top: 1.5rem; border-top: 1px solid rgba(15,14,12,.14); }
  .nh-feats svg { grid-row: span 2; width: 40px; height: 40px; fill: none; stroke: var(--gold-nh); stroke-width: 1.3; }
  .nh-feats h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
  .nh-feats p { color: #4d4740; margin-top: .3rem; font-size: .95rem; }
}
@media (min-width: 640px) and (max-width: 1199px) {
  .nh-feats { grid-template-columns: repeat(3, 1fr); }
  .nh-feats li { grid-template-columns: 1fr; text-align: left; }
  .nh-feats svg { grid-row: auto; margin-bottom: .75rem; }
}

/* Coming soon & pending: a lone last card fills the row */
@media (min-width: 861px) {
  #coming-soon .soon-grid > .soon.soon-top:last-child { grid-column: 1 / -1; }
  #coming-soon .soon-grid > .soon.soon-top:last-child .soon-top-photo { aspect-ratio: 21 / 8; }
}

/* Gold rule spans the full width of "Luxury Homes" */
.nh-l2 { display: inline-block; position: relative; line-height: inherit; }
.nh-l2::after { content: ""; position: absolute; left: 0; right: 0; top: calc(100% + var(--nh-rule-gap, 1.25rem)); height: 1px; background: var(--gold-nh); }
.nh-rule { visibility: hidden; }
@media (min-width: 1200px) { .nh-l2 { --nh-rule-gap: calc(var(--u) * 20); } }

/* Waterfront card: three equal-width buttons */
.soon-btns.btns-3 { flex-direction: column; align-items: stretch; max-width: 22rem; }
.soon-btns.btns-3 .btn { text-align: center; align-self: stretch; flex: 0 0 auto; }
@media (max-width: 860px) { .soon-btns.btns-3 { max-width: none; } .soon-btns.btns-3 .btn { flex: 0 0 auto; } }

/* Waterfront card: inline video tour */
.soon-video { position: relative; }
.soon-video .sv-play { position: absolute; inset: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; background: linear-gradient(0deg, rgba(15,14,12,.55), rgba(15,14,12,.15)); border: 0; cursor: pointer; color: #fff; font: inherit; padding: 0; }
.soon-video .sv-icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(15,14,12,.55); border: 1px solid var(--gold, #b08d57); color: var(--gold, #b08d57); padding-left: 4px; transition: transform .3s ease, background .3s ease; }
.soon-video .sv-label { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.soon-video .sv-play:hover .sv-icon, .soon-video .sv-play:focus-visible .sv-icon { transform: scale(1.06); background: rgba(176,141,87,.9); color: #fff; }
.soon-video .sv-play:focus-visible { outline: 2px solid var(--gold, #b08d57); outline-offset: -4px; }
.soon-video.is-playing { background: #000; }
.soon-video.is-playing img { visibility: hidden; }
.soon-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.soon-video .sv-label { background: rgba(15,14,12,.72); padding: .55rem 1rem; border: 1px solid rgba(176,141,87,.6); }
.soon-video .sv-icon { background: rgba(15,14,12,.7); }

/* Make the video tour easy to spot */
.soon-video .sv-icon { width: 96px; height: 96px; background: var(--gold, #b08d57); color: #fff; border: 2px solid rgba(255,255,255,.85); box-shadow: 0 10px 30px rgba(0,0,0,.45); padding-left: 6px; }
.soon-video .sv-icon svg { width: 34px; height: 34px; }
.soon-video .sv-play:hover .sv-icon, .soon-video .sv-play:focus-visible .sv-icon { background: #c39d63; transform: scale(1.07); }
.soon-video .sv-play { background: linear-gradient(0deg, rgba(15,14,12,.5), rgba(15,14,12,.2)); }
.soon-video .sv-label { font-size: .8rem; background: rgba(15,14,12,.8); border-color: var(--gold, #b08d57); padding: .65rem 1.15rem; }
.sv-badge { position: absolute; top: 1rem; left: 1rem; z-index: 2; display: inline-flex; align-items: center; gap: .45rem; background: var(--gold, #b08d57); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; padding: .45rem .8rem; pointer-events: none; }
.soon-video.is-playing .sv-badge { display: none; }
@keyframes svPulse { 0% { box-shadow: 0 0 0 0 rgba(176,141,87,.6), 0 10px 30px rgba(0,0,0,.45); } 70% { box-shadow: 0 0 0 18px rgba(176,141,87,0), 0 10px 30px rgba(0,0,0,.45); } 100% { box-shadow: 0 0 0 0 rgba(176,141,87,0), 0 10px 30px rgba(0,0,0,.45); } }
@media (prefers-reduced-motion: no-preference) { .soon-video .sv-icon { animation: svPulse 2.4s ease-out infinite; } }
@media (max-width: 860px) { .soon-video .sv-icon { width: 76px; height: 76px; } .soon-video .sv-icon svg { width: 28px; height: 28px; } }

/* Waterfront card: Vimeo player always in place (tap goes straight to Vimeo's play button) */
.soon-video { background: #0f0e0c; }
.soon-video > img { filter: brightness(.45) blur(2px); transform: scale(1.04); }
.soon-photo.soon-video:hover img { transform: scale(1.04); }
.soon-video .sv-frame { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); aspect-ratio: 16 / 9; z-index: 1; box-shadow: 0 20px 50px rgba(0,0,0,.55); border-top: 1px solid rgba(176,141,87,.6); border-bottom: 1px solid rgba(176,141,87,.6); background: #000; }
.soon-video .sv-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) {
  .soon-video { aspect-ratio: auto; }
  .soon-video > img { display: none; }
  .soon-video .sv-frame { position: relative; top: auto; transform: none; border-top: 0; }
  .sv-badge { top: .6rem; left: .6rem; }
}

/* Waterfront card: one tap plays the video */
.soon-video .sv-play { z-index: 2; background: transparent; }
.soon-video .sv-play[hidden], .soon-video .sv-sound[hidden] { display: none; }
.soon-video.is-playing > img { filter: brightness(.3) blur(2px); }
.soon-video .sv-sound { position: absolute; left: 50%; transform: translateX(-50%); bottom: 3.6rem; z-index: 3; display: inline-flex; align-items: center; gap: .4rem; background: var(--gold, #b08d57); color: #fff; border: 0; font: inherit; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: .6rem .95rem; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
