:root {
  --ink: #101820;
  --ink-soft: #1e2b36;
  --blue: #3499d5;
  --blue-deep: #1f6fa3;
  --orange: #f79820;
  --lime: #9ccb3d;
  --cream: #f4f1e9;
  --mist: #f4f7f9;
  --paper: #ffffff;
  --muted: #65717c;
  --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: .73rem; 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.4rem); }
h1 em { color: var(--lime); font-style: normal; }
h2 { font-size: clamp(2.45rem, 5vw, 4.6rem); }
h3 { font-size: 1.32rem; }
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); }

.hero { position: relative; display: grid; min-height: calc(100svh - 96px); align-items: end; overflow: hidden; color: white; background: var(--ink); }
.hero-photo, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { object-fit: cover; object-position: 50% 48%; }
.hero-shade { background: linear-gradient(90deg, rgba(9,18,25,.56) 0%, rgba(9,18,25,.28) 54%, rgba(9,18,25,.04) 100%), linear-gradient(0deg, rgba(9,18,25,.28), transparent 45%); }
.hero-copy { position: relative; z-index: 2; width: min(1180px, calc(100% - 2rem)); margin-inline: auto; padding: clamp(6rem, 11vw, 10rem) 0 2.4rem; }
.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: 650px; margin: 1.25rem 0 1.7rem; color: rgba(255,255,255,.88); font-size: clamp(1.06rem, 2vw, 1.3rem); }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.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, background .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,.36); backdrop-filter: blur(10px); }
.button.outline-light { color: white; border-color: rgba(255,255,255,.5); background: transparent; }
.facts { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); background: rgba(16,24,32,.82); 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; }

.intro { background: var(--paper); }
.split-head { display: grid; grid-template-columns: 1.05fr .72fr; gap: clamp(2rem, 7vw, 7rem); align-items: end; margin-bottom: 2.7rem; }
.lede-stack { display: grid; gap: 1rem; color: var(--muted); font-size: 1.08rem; }
.lede-stack .micro { font-size: .78rem; }
.detail-ribbon { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 1rem; color: var(--muted); background: var(--mist); border: 1px solid var(--line); border-radius: 13px; }
.detail-ribbon span { padding: .95rem 1rem; border-right: 1px solid var(--line); font-size: .78rem; }
.detail-ribbon span:last-child { border-right: 0; }
.detail-ribbon strong { display: block; color: var(--ink); font-family: Sora, sans-serif; font-size: .93rem; }
.editorial-grid { display: grid; grid-template-columns: 1.18fr .82fr; grid-template-rows: 290px 290px; gap: 1rem; }
.photo-frame { position: relative; margin: 0; overflow: hidden; border-radius: 17px; background: var(--mist); box-shadow: var(--shadow); }
.photo-frame.tall { grid-row: 1 / span 2; }
.photo-frame img { height: 100%; object-fit: cover; }
.photo-frame figcaption { position: absolute; left: 1rem; bottom: 1rem; padding: .48rem .72rem; color: white; background: rgba(16,24,32,.82); border-radius: 999px; font-size: .74rem; font-weight: 700; }
.story-card { display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; padding: 1.55rem; border-radius: 17px; }
.story-card p { margin-top: .55rem; color: rgba(16,24,32,.68); }
.story-number { font-family: Sora, sans-serif; font-size: 2rem; font-weight: 800; }
.blue-card { background: #dceff9; }
.blue-card .story-number { color: var(--blue-deep); }
.lime-card { background: #eaf3d7; }
.lime-card .story-number { color: #5c8615; }

.dark-gallery { color: white; background: var(--ink); }
.gallery-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: .8rem; }
.gallery-item { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: 14px; background: var(--ink-soft); cursor: zoom-in; }
.gallery-item.hero-item { 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: .42rem .68rem; color: white; background: rgba(16,24,32,.82); border-radius: 999px; font-size: .76rem; font-weight: 800; }
.gallery-tip { margin-top: 1rem; color: rgba(255,255,255,.55); font-size: .76rem; }

.features { background: var(--cream); }
.features-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 7vw, 7rem); }
.feature-title { position: sticky; top: 110px; align-self: start; }
.feature-title img { margin-top: 2rem; max-height: 420px; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow); }
.feature-list { border-top: 1px solid rgba(16,24,32,.18); }
.feature-list article { display: grid; grid-template-columns: 55px 1fr; gap: 1rem; padding: 1.6rem 0; border-bottom: 1px solid rgba(16,24,32,.18); }
.feature-list article > span { color: var(--blue-deep); font-family: Sora, sans-serif; font-weight: 800; }
.feature-list p { margin-top: .5rem; color: var(--muted); }

.lifestyle { background: #eaf5fb; }
.truth-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.6rem; }
.truth-grid article { min-height: 260px; padding: 1.55rem; background: white; border-top: 5px solid var(--blue); border-radius: 0 0 14px 14px; box-shadow: 0 18px 44px rgba(31,111,163,.1); }
.truth-grid article:nth-child(2) { border-top-color: var(--orange); }
.truth-grid article:nth-child(3) { border-top-color: var(--lime); }
.truth-kicker { display: block; margin-bottom: 2.2rem; color: var(--blue-deep); font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.truth-grid p { margin-top: .65rem; color: var(--muted); }
.lifestyle-photo { position: relative; height: clamp(300px, 44vw, 510px); margin-top: 1rem; overflow: hidden; border-radius: 15px; }
.lifestyle-photo img { height: 100%; object-fit: cover; }
.lifestyle-photo span { position: absolute; right: 1rem; bottom: 1rem; padding: .5rem .78rem; color: white; background: rgba(16,24,32,.84); border-radius: 999px; font-size: .74rem; font-weight: 800; }

.documents { background: var(--mist); }
.documents .split-head > p { color: var(--muted); }
.doc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.doc { display: flex; min-height: 235px; flex-direction: column; justify-content: space-between; gap: 1rem; padding: 1.3rem; border: 1px solid var(--line); color: inherit; background: white; border-radius: 13px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.doc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.doc-icon { color: var(--blue-deep); font-family: Sora, sans-serif; font-size: 2rem; font-weight: 800; }
.doc p { margin-top: .55rem; color: var(--muted); font-size: .78rem; }
.doc b { color: var(--blue-deep); font-size: .76rem; }

.tour-band { color: white; background: var(--blue-deep); }
.tour-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.tour-layout p:not(.eyebrow) { max-width: 580px; margin: 1rem 0 1.5rem; color: rgba(255,255,255,.75); }
.tour-layout figure { height: 470px; margin: 0; overflow: hidden; border-radius: 14px; box-shadow: var(--shadow); }
.tour-layout img { height: 100%; object-fit: cover; }

.contact { background: white; }
.contact-layout { display: grid; grid-template-columns: 1.05fr .75fr; gap: clamp(2rem, 8vw, 8rem); align-items: center; }
.agent-card { padding: 1.6rem; color: white; background: var(--ink); border-radius: 15px; box-shadow: var(--shadow); }
.agent-label { 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-top: .6rem; color: rgba(255,255,255,.65); }
.agent-actions { display: grid; gap: .55rem; margin-top: 1.3rem; }
.agent-actions a { padding: .75rem .85rem; color: white; background: rgba(255,255,255,.08); border-radius: 9px; text-decoration: none; font-weight: 800; }
.agent-actions a:first-child { background: var(--orange); }

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: var(--paper); 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: 960px) {
  .doc-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 800px) {
  .top-links a:not(:last-of-type) { 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-shade { display: none; }
  .hero-copy { 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 auto 1.35rem; font-size: 1rem; }
  .hero-copy .actions { margin-inline: auto; }
  .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, .features-layout, .tour-layout, .contact-layout { grid-template-columns: 1fr; }
  .detail-ribbon { grid-template-columns: repeat(2, 1fr); }
  .detail-ribbon span:nth-child(2) { border-right: 0; }
  .detail-ribbon span { border-bottom: 1px solid var(--line); }
  .detail-ribbon span:nth-last-child(-n+2) { border-bottom: 0; }
  .editorial-grid { grid-template-columns: 1fr; grid-template-rows: 440px auto 280px auto; }
  .photo-frame.tall { grid-row: auto; }
  .feature-title { position: static; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 250px; }
  .gallery-item.hero-item { grid-row: span 2; }
  .gallery-item.wide { grid-column: auto; }
  .truth-grid { grid-template-columns: 1fr; }
  .truth-grid article { min-height: 210px; }
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
  .tour-layout figure { height: 360px; }
}

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

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