:root {
  --navy: #10233f;
  --navy-2: #18375f;
  --clay: #b86643;
  --clay-dark: #934d34;
  --ivory: #f7f1e8;
  --paper: #fffaf3;
  --sand: #e9dccb;
  --sage: #78876e;
  --ink: #1f2528;
  --muted: #6d6f6c;
  --line: rgba(16, 35, 63, 0.16);
  --shadow: 0 22px 70px rgba(31, 37, 40, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-bungulo-sans), Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

main {
  min-height: 100vh;
  overflow-x: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(247, 241, 232, 0.16);
  background: rgba(16, 35, 63, 0.96);
  color: var(--ivory);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  color: inherit;
  font-size: clamp(1.2rem, 1.6vw, 1.55rem);
  font-weight: 850;
  letter-spacing: 0;
}

.arched-n {
  position: relative;
  display: inline-grid;
  height: 1.1em;
  min-width: 0.85em;
  place-items: center;
  color: transparent;
  margin: 0 1px;
}

.arched-n::before,
.arched-n::after {
  content: '';
  position: absolute;
}

.arched-n::before {
  inset: 0.05em 0.02em 0;
  border: 0.12em solid currentColor;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  color: var(--clay);
}

.arched-n::after {
  bottom: 0;
  left: 50%;
  width: 0.12em;
  height: 0.78em;
  transform: translateX(-50%);
  background: var(--clay);
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: rgba(247, 241, 232, 0.86);
  font-size: 0.9rem;
  font-weight: 650;
}

nav a {
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(56px, 8vw, 110px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(16, 35, 63, 0.96), rgba(16, 35, 63, 0.84)),
    radial-gradient(circle at 85% 20%, rgba(184, 102, 67, 0.34), transparent 32%),
    var(--navy);
  color: var(--ivory);
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7.5vw, 6.8rem);
  line-height: 0.94;
  font-weight: 820;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  font-weight: 780;
  letter-spacing: 0;
}

h3 {
  color: var(--navy);
  font-size: clamp(1.35rem, 2.2vw, 2.05rem);
  line-height: 1.08;
  font-weight: 760;
  letter-spacing: 0;
}

.hero p {
  max-width: 660px;
  color: rgba(247, 241, 232, 0.84);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.7;
}

.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.1;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--clay);
  color: white;
}

.button.primary:hover {
  background: var(--clay-dark);
}

.button.secondary {
  border-color: rgba(16, 35, 63, 0.24);
  background: #fff;
  color: var(--navy);
}

.button.text {
  color: var(--ivory);
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.portfolio-card,
.portfolio-grid > div {
  border: 1px solid rgba(247, 241, 232, 0.22);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(16px);
}

.portfolio-card.main {
  min-height: 220px;
  padding: clamp(24px, 4vw, 42px);
}

.portfolio-card strong {
  display: block;
  margin: 10px 0;
  color: #fff;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.95;
}

.mini-label {
  color: var(--sand);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.portfolio-grid > div {
  min-height: 118px;
  padding: 18px;
}

.portfolio-grid span {
  display: block;
  min-height: 32px;
  color: rgba(247, 241, 232, 0.72);
  font-size: 0.86rem;
}

.portfolio-grid strong {
  color: #fff;
  font-size: 2rem;
}

.section {
  padding: clamp(60px, 8vw, 110px) clamp(18px, 5vw, 72px);
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}

.intro-band p:not(.eyebrow),
.section-heading p,
.about-copy p,
.contact-copy p,
.portal p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.property-stack {
  display: grid;
  gap: 24px;
}

.property-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.property-card.currently-leased {
  box-shadow: none;
}

.property-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(16, 35, 63, 0.92), rgba(16, 35, 63, 0.72)),
    linear-gradient(45deg, var(--clay), var(--sage));
}

.property-visual.coming-soon {
  background:
    linear-gradient(135deg, rgba(184, 102, 67, 0.88), rgba(16, 35, 63, 0.68)),
    var(--sand);
}

.property-visual.leased {
  background:
    linear-gradient(135deg, rgba(120, 135, 110, 0.86), rgba(16, 35, 63, 0.74)),
    var(--sage);
}

.property-photo-panel {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 104px;
  min-height: 430px;
  overflow: hidden;
  background: var(--navy);
}

.property-hero-trigger,
.photo-strip button,
.community-photo-grid button,
.gallery-thumbnails button,
.gallery-close,
.gallery-nav,
.gallery-backdrop,
.gallery-count {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.property-hero-trigger {
  display: block;
  min-height: 326px;
  overflow: hidden;
}

.property-hero-photo,
.photo-strip img,
.community-photo-grid img,
.gallery-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-hero-photo {
  min-height: 326px;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  border-top: 6px solid var(--navy);
  background: var(--navy);
}

.photo-strip button {
  min-width: 0;
  overflow: hidden;
}

.photo-strip img {
  min-height: 98px;
  opacity: 0.9;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.property-hero-trigger:hover .property-hero-photo,
.photo-strip button:hover img,
.community-photo-grid button:hover img {
  transform: scale(1.025);
}

.photo-strip button:hover img {
  opacity: 1;
}

.gallery-count {
  position: absolute;
  right: 22px;
  top: 22px;
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.94);
  color: var(--navy);
  padding: 10px 13px;
  font-size: 0.82rem;
  font-weight: 850;
  box-shadow: 0 12px 30px rgba(16, 35, 63, 0.18);
}

.visual-window {
  position: absolute;
  left: 50%;
  top: 48%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: min(64%, 280px);
  min-height: 240px;
  transform: translate(-50%, -50%);
  border: 12px solid rgba(255, 250, 243, 0.72);
  border-bottom-width: 28px;
  border-radius: 150px 150px 8px 8px;
  padding: 70px 16px 16px;
}

.visual-window span {
  min-height: 120px;
  border-radius: 999px 999px 6px 6px;
  background: rgba(255, 250, 243, 0.3);
}

.visual-label {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.9);
  color: var(--navy);
  padding: 14px;
}

.visual-label span,
.visual-label strong {
  font-size: 0.86rem;
}

.property-copy {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 4vw, 42px);
}

.card-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(184, 102, 67, 0.12);
  color: var(--clay-dark);
  padding: 7px 10px;
}

.address,
.summary,
.photo-note {
  color: var(--muted);
  line-height: 1.65;
}

.summary {
  font-size: 1.03rem;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 22px;
}

.facts span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 750;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  color: #3c4648;
  line-height: 1.45;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--clay);
}

.community-photos {
  display: grid;
  gap: 12px;
  margin: 20px 0 4px;
}

.community-photos > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.community-photos strong {
  color: var(--navy);
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: none;
}

.community-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.community-photo-grid button {
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
}

.community-photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--ivory);
  transition: transform 160ms ease;
}

.photo-note {
  margin: 20px 0 0;
  font-size: 0.82rem;
}

.gallery-open {
  overflow: hidden;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 28px);
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 35, 63, 0.82);
}

.gallery-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  width: min(1180px, 100%);
  max-height: min(920px, 94vh);
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.gallery-header,
.gallery-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(16px, 3vw, 24px);
}

.gallery-header {
  border-bottom: 1px solid var(--line);
}

.gallery-header span,
.gallery-footer span {
  display: block;
  color: var(--clay-dark);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.gallery-header strong {
  display: block;
  color: var(--navy);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.gallery-close {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  padding: 10px 13px;
  font-size: 0.86rem;
  font-weight: 850;
}

.gallery-stage {
  position: relative;
  display: grid;
  min-height: 0;
  background: #07111f;
}

.gallery-stage img {
  width: 100%;
  max-height: min(62vh, 690px);
  object-fit: contain;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  display: grid;
  width: 44px;
  height: 58px;
  place-items: center;
  transform: translateY(-50%);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.92);
  color: var(--navy);
  font-size: 2.4rem;
  line-height: 1;
}

.gallery-nav.previous {
  left: 14px;
}

.gallery-nav.next {
  right: 14px;
}

.gallery-footer {
  border-top: 1px solid var(--line);
  padding-block: 12px;
}

.gallery-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
  text-align: right;
}

.gallery-thumbnails {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  padding: 12px clamp(16px, 3vw, 24px) 16px;
}

.gallery-thumbnails button {
  flex: 0 0 86px;
  height: 64px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: var(--ivory);
  opacity: 0.68;
}

.gallery-thumbnails button.active {
  border-color: var(--clay);
  opacity: 1;
}

.process {
  background: var(--navy);
  color: var(--ivory);
}

.process h2,
.process h3 {
  color: var(--ivory);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.steps > div {
  min-height: 260px;
  border: 1px solid rgba(247, 241, 232, 0.18);
  border-radius: 8px;
  padding: 26px;
  background: rgba(255, 250, 243, 0.07);
}

.steps span {
  display: block;
  margin-bottom: 34px;
  color: var(--clay);
  font-weight: 850;
}

.steps p {
  color: rgba(247, 241, 232, 0.74);
  line-height: 1.65;
}

.about,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
}

.about {
  background: var(--ivory);
}

.contact-section {
  background: #fff;
}

.integration-note {
  margin-top: 28px;
  border-left: 4px solid var(--clay);
  background: var(--ivory);
  padding: 18px;
}

.integration-note strong {
  color: var(--navy);
}

code {
  border-radius: 6px;
  background: rgba(16, 35, 63, 0.08);
  padding: 2px 5px;
  color: var(--navy);
  font-size: 0.92em;
}

.lead-form {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: clamp(20px, 4vw, 34px);
  box-shadow: 0 16px 50px rgba(31, 37, 40, 0.08);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(16, 35, 63, 0.2);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(184, 102, 67, 0.18);
}

textarea {
  resize: vertical;
}

.submit {
  justify-self: start;
}

.success-message {
  margin: 0;
  border-radius: 8px;
  background: rgba(120, 135, 110, 0.16);
  color: #31412f;
  padding: 12px;
  line-height: 1.5;
}

.portal {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.portal > div {
  max-width: 760px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  background: var(--navy);
  color: var(--ivory);
}

.site-footer p {
  margin: 0 0 6px;
  color: rgba(247, 241, 232, 0.74);
  text-align: right;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .intro-band,
  .property-card,
  .about,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .property-visual,
  .property-photo-panel {
    min-height: 320px;
  }

  .property-photo-panel {
    grid-template-rows: minmax(0, 1fr) 84px;
  }

  .property-hero-trigger {
    min-height: 236px;
  }

  .property-hero-photo {
    min-height: 236px;
  }

  .photo-strip img {
    min-height: 78px;
  }

  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 16px;
  }

  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: 2.9rem;
  }

  .portfolio-grid,
  .feature-list,
  .form-grid,
  .photo-strip {
    grid-template-columns: 1fr;
  }

  .property-photo-panel {
    grid-template-rows: minmax(0, 1fr);
  }

  .gallery-count {
    left: 16px;
    right: 16px;
    top: 16px;
  }

  .photo-strip {
    display: none;
  }

  .community-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-modal {
    padding: 0;
  }

  .gallery-shell {
    width: 100%;
    max-height: 100vh;
    min-height: 100vh;
    border-radius: 0;
  }

  .gallery-header,
  .gallery-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-close {
    width: 100%;
  }

  .gallery-stage img {
    max-height: 54vh;
  }

  .gallery-footer p {
    text-align: left;
  }

  .card-actions,
  .hero-actions,
  .portal,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .submit {
    width: 100%;
  }

  .site-footer p {
    text-align: left;
  }
}
