:root {
  --ink: #101820;
  --blue: #3499d5;
  --blue-deep: #1f6fa3;
  --orange: #f79820;
  --lime: #9ccb3d;
  --mist: #f3f6f8;
  --paper: #ffffff;
  --sand: #f3efe6;
  --muted: #68737d;
  --line: #dfe5e8;
  --shadow: 0 24px 70px rgba(16, 24, 32, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; }
img { display: block; width: 100%; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.wrap { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }
.section { padding: clamp(4.8rem, 9vw, 8rem) 0; }
.eyebrow { margin: 0 0 .75rem; color: var(--blue-deep); font-size: .72rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow.light { color: var(--lime); }
h1, h2, h3 { margin: 0; font-family: Sora, Manrope, sans-serif; font-weight: 800; line-height: 1.04; letter-spacing: -.04em; }
h1 { font-size: clamp(3.25rem, 8vw, 7.25rem); }
h1 em, .final-cta h2 em { color: var(--lime); font-style: normal; }
h2 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; }
.brand-strip { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem clamp(1rem, 4vw, 4rem); color: rgba(255,255,255,.68); background: var(--ink); font-size: .7rem; font-weight: 700; letter-spacing: .04em; }
.brand-strip strong { color: white; }
.topbar { position: sticky; z-index: 50; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; padding: .72rem clamp(1rem, 4vw, 4rem); background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: .72rem; flex-shrink: 0; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.brand-lockup { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: Sora, sans-serif; font-size: 1.08rem; font-weight: 800; letter-spacing: -.03em; }
.brand-name span { color: var(--blue); }
.brand-lockup small { margin-top: .22rem; color: var(--muted); font-size: .67rem; font-weight: 700; }
.top-links { display: flex; align-items: center; gap: .25rem; }
.top-links a, .top-links button { padding: .65rem .82rem; border: 0; border-radius: 10px; background: transparent; text-decoration: none; font-size: .86rem; font-weight: 800; cursor: pointer; }
.top-links .nav-cta { margin-left: .3rem; color: white; background: var(--orange); }
.button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; padding: .78rem 1.08rem; border: 1px solid transparent; border-radius: 10px; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0,0,0,.15); }
.button.orange { color: white; background: var(--orange); }
.button.blue { color: white; background: var(--blue-deep); }
.button.glass { color: white; border-color: rgba(255,255,255,.45); background: rgba(16,24,32,.34); backdrop-filter: blur(10px); }
.button.outline-light { color: white; border-color: rgba(255,255,255,.5); background: transparent; }
.button.dark-outline { color: var(--ink); border-color: var(--ink); background: transparent; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.hero { position: relative; display: grid; min-height: calc(100svh - 96px); align-items: end; overflow: hidden; color: white; background: var(--ink); }
.hero-photo, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { object-fit: cover; object-position: center; }
.hero-overlay { background: linear-gradient(90deg, rgba(10,19,27,.56) 0%, rgba(10,19,27,.28) 48%, rgba(10,19,27,.04) 100%), linear-gradient(0deg, rgba(10,19,27,.28), transparent 48%); }
.hero-inner { position: relative; z-index: 2; width: min(1180px, calc(100% - 2rem)); margin-inline: auto; padding: clamp(6rem, 12vw, 10rem) 0 2.5rem; }
.hero-copy { max-width: 920px; }
.property-address { display: inline-block; margin: 0 0 .8rem; padding: .5rem .72rem; color: white; background: rgba(16,24,32,.78); border-left: 4px solid var(--orange); border-radius: 0 7px 7px 0; font-family: Sora, sans-serif; font-size: clamp(.95rem, 1.8vw, 1.2rem); font-weight: 800; letter-spacing: -.02em; }
.hero-copy h1, .hero-copy .eyebrow, .property-address, .hero-lede { text-shadow: 0 3px 22px rgba(0,0,0,.72); }
.hero-lede { max-width: 660px; margin: 1.25rem 0 1.7rem; color: rgba(255,255,255,.86); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.facts { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); background: rgba(16,24,32,.84); border-top: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(16px); }
.facts div { padding: 1.18rem clamp(.8rem, 2vw, 1.6rem); border-right: 1px solid rgba(255,255,255,.17); }
.facts div:last-child { border-right: 0; }
.facts strong { display: block; font-family: Sora, sans-serif; font-size: 1.42rem; }
.facts span { color: rgba(255,255,255,.62); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.promise { background: white; }
.split-head { display: grid; grid-template-columns: 1.05fr .72fr; gap: clamp(2rem, 7vw, 7rem); align-items: end; margin-bottom: 2.7rem; }
.split-head .lede { color: var(--muted); font-size: 1.08rem; }
.layout-grid { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 285px 285px; gap: 1rem; }
.layout-grid figure { position: relative; margin: 0; overflow: hidden; border-radius: 16px; box-shadow: var(--shadow); }
.layout-grid figure img { height: 100%; object-fit: cover; }
.layout-grid figcaption { position: absolute; left: 1rem; bottom: 1rem; padding: .45rem .7rem; color: white; background: rgba(16,24,32,.82); border-radius: 999px; font-size: .75rem; font-weight: 800; }
.main-photo { grid-row: span 2; }
.layout-card { display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; padding: 1.55rem; border-radius: 16px; }
.layout-card span { font-family: Sora, sans-serif; font-size: 2rem; font-weight: 800; }
.layout-card p { margin-top: .6rem; color: rgba(16,24,32,.68); }
.layout-card.blue { background: #dceff9; }
.layout-card.blue span { color: var(--blue-deep); }
.layout-card.lime { background: #eaf3d7; }
.layout-card.lime span { color: #5c8615; }
.small-photo { display: none; }

.blueprint { position: relative; overflow: hidden; color: white; background: var(--blue-deep); }
.blueprint::before { position: absolute; inset: 0; content: ""; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px); background-size: 42px 42px; }
.blueprint-grid { position: relative; display: grid; grid-template-columns: 1fr .9fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.blueprint figure { height: 570px; margin: 0; overflow: hidden; border: 8px solid rgba(255,255,255,.16); border-radius: 16px; box-shadow: var(--shadow); transform: rotate(1deg); }
.blueprint figure img { height: 100%; object-fit: cover; }
.feature-list { margin-top: 2rem; border-top: 1px solid rgba(255,255,255,.25); }
.feature-list article { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.feature-list b { color: var(--lime); font-family: Sora, sans-serif; }
.feature-list p { margin-top: .45rem; color: rgba(255,255,255,.7); }

.gallery { background: var(--sand); }
.gallery-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.3rem; }
.gallery-head > p { color: var(--muted); font-size: .78rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; gap: .8rem; }
.gallery-item { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: 14px; background: #d9d5cc; cursor: zoom-in; }
.gallery-item.feature { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img { height: 100%; object-fit: cover; transition: transform .45s ease, filter .45s ease; }
.gallery-item:hover img { transform: scale(1.025); filter: brightness(.9); }
.gallery-item span { position: absolute; left: 1rem; bottom: 1rem; padding: .43rem .7rem; color: white; background: rgba(16,24,32,.82); border-radius: 999px; font-size: .75rem; font-weight: 800; }

.location { background: white; }
.location-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.location-copy > p:not(.eyebrow) { margin-top: 1rem; color: var(--muted); font-size: 1.04rem; }
.location-points { display: grid; gap: .75rem; margin-top: 1.6rem; }
.location-points article { display: grid; grid-template-columns: 115px 1fr; gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.location-points strong { font-family: Sora, sans-serif; }
.location-points span { color: var(--muted); }
.location figure { position: relative; height: 570px; margin: 0; overflow: hidden; border-radius: 16px; box-shadow: var(--shadow); }
.location figure img { height: 100%; object-fit: cover; }
.location figcaption { position: absolute; right: 1rem; bottom: 1rem; padding: .45rem .7rem; color: white; background: rgba(16,24,32,.82); border-radius: 999px; font-size: .75rem; font-weight: 800; }

.buyer-info { color: white; background: var(--ink); }
.buyer-info .split-head .lede { color: rgba(255,255,255,.68); }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.info-grid article { min-height: 170px; padding: 1.35rem; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); border-radius: 13px; }
.info-grid span { display: block; color: var(--lime); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.info-grid strong { display: block; margin-top: 1.2rem; font-family: Sora, sans-serif; font-size: 1.3rem; }
.info-grid small { display: block; margin-top: .35rem; color: rgba(255,255,255,.55); }
.info-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }

.final-cta { background: #eaf5fb; }
.final-grid { display: grid; grid-template-columns: 1fr .65fr; gap: clamp(2rem, 8vw, 8rem); align-items: center; }
.final-grid .actions { margin-top: 1.6rem; }
.agent-card { display: grid; padding: 1.6rem; color: white; background: var(--blue-deep); border-radius: 15px; box-shadow: var(--shadow); }
.agent-card > span { color: var(--lime); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.agent-card h3 { margin-top: .45rem; font-size: 2rem; }
.agent-card p { margin: .5rem 0 1.3rem; color: rgba(255,255,255,.68); }
.agent-card a { padding: .72rem .8rem; color: white; background: rgba(255,255,255,.1); border-radius: 8px; text-decoration: none; font-weight: 800; }
.agent-card a + a { margin-top: .5rem; }

footer { padding: 2.4rem 0; color: var(--muted); background: var(--mist); font-size: .76rem; }
.footer-grid { display: grid; gap: .9rem; }
.footer-grid strong { color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; }
.footer-links a { color: var(--blue-deep); font-size: .82rem; font-weight: 800; }
.legal { max-width: 1050px; }

dialog { width: min(630px, calc(100% - 2rem)); padding: 0; border: 0; border-radius: 16px; color: var(--ink); background: white; box-shadow: 0 32px 100px rgba(0,0,0,.38); }
dialog::backdrop { background: rgba(8,15,21,.76); backdrop-filter: blur(6px); }
.modal-head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; padding: 1.35rem; color: white; background: var(--blue-deep); }
.modal-head h3 { font-size: 1.8rem; }
.close, .photo-close { width: 2.35rem; height: 2.35rem; border: 1px solid rgba(255,255,255,.4); color: white; background: transparent; border-radius: 50%; font-size: 1.35rem; cursor: pointer; }
.showing-form { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; padding: 1.35rem; }
.showing-form label { display: grid; gap: .35rem; }
.showing-form label span { font-size: .75rem; font-weight: 800; }
.showing-form input, .showing-form select, .showing-form textarea { width: 100%; padding: .82rem; border: 1px solid var(--line); border-radius: 9px; background: white; }
.showing-form textarea { min-height: 110px; resize: vertical; }
.showing-form .full { grid-column: 1 / -1; }
.form-note { color: var(--muted); font-size: .74rem; }
.photo-dialog { width: min(1100px, calc(100% - 2rem)); max-width: none; overflow: visible; color: white; background: transparent; box-shadow: none; }
.photo-dialog img { max-height: 80vh; object-fit: contain; border-radius: 12px; box-shadow: 0 30px 100px rgba(0,0,0,.55); }
.photo-dialog p { margin-top: .8rem; text-align: center; }
.photo-close { position: absolute; z-index: 2; top: -1rem; right: -1rem; background: var(--ink); }

@media (max-width: 800px) {
  .top-links a { display: none; }
  .hero { display: block; min-height: auto; }
  .hero-photo { position: relative; inset: auto; height: min(125vw, 620px); object-fit: cover; object-position: center; }
  .hero-overlay { display: none; }
  .hero-inner { width: 100%; margin: 0; padding: 2.4rem 1rem 2.6rem; background: var(--ink); }
  .hero-copy { max-width: 650px; margin-inline: auto; }
  .hero-lede { max-width: 560px; margin: 1rem 0 1.35rem; font-size: 1rem; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div { border-bottom: 1px solid rgba(255,255,255,.17); }
  .facts div:last-child { grid-column: 1 / -1; }
  .split-head, .blueprint-grid, .location-grid, .final-grid { grid-template-columns: 1fr; }
  .layout-grid { grid-template-columns: 1fr; grid-template-rows: 420px auto auto; }
  .main-photo { grid-row: auto; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 250px; }
  .gallery-item.feature { grid-row: span 2; }
  .gallery-item.wide { grid-column: auto; }
  .location figure, .blueprint figure { height: 390px; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .brand-strip span, .brand-lockup { display: none; }
  .top-links .nav-cta { padding-inline: .7rem; font-size: .78rem; }
  h1 { font-size: clamp(2.55rem, 11.5vw, 3.2rem); }
  .actions .button, .info-actions .button { width: 100%; }
  .gallery-head { align-items: start; flex-direction: column; }
  .gallery-grid, .info-grid, .showing-form { grid-template-columns: 1fr; }
  .gallery-item.feature { grid-row: auto; }
  .showing-form .full { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
