/* EOC Omaha, LLC. Navy + off-white, Newsreader + Inter. */
:root {
  --navy: #0c2340;
  --navy-deep: #08172b;
  --navy-mid: #1a3a63;
  --cream: #f6f3ec;
  --cream-2: #ebe5d8;
  --ink: #1b2230;
  --muted: #5a6270;
  --gold: #b08d57;
  --gold-2: #c9a56e;
  --white: #fffcf7;
  --line: rgba(12, 35, 64, 0.1);
  --ok: #1d4d3b;
  --shadow: 0 10px 30px rgba(12, 35, 64, 0.08);
  --shadow-hover: 0 16px 40px rgba(12, 35, 64, 0.14);
  --radius: 14px;
  --header-h: 4.25rem;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6rem;
  --measure: 40rem;
  --step--1: 0.8125rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 2.2vw, 2.15rem);
  --step-4: clamp(2.1rem, 3.4vw, 2.85rem);
  --step-5: clamp(2.6rem, 5.4vw, 4.35rem);
  --wrap: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, "Helvetica Neue", sans-serif;
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-mid); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Type */
.font-serif, h1, h2, h3, .wordmark .mark, .rent, .hero h1 {
  font-family: Newsreader, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--navy);
}
h1 { font-size: var(--step-4); margin: 0 0 var(--space-3); }
h2 { font-size: var(--step-3); margin: 0 0 var(--space-3); }
h3 { font-size: 1.35rem; margin: 0 0 var(--space-2); }
.eyebrow {
  font-family: Inter, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 var(--space-3);
}
.lede { font-size: var(--step-1); line-height: 1.55; max-width: 36rem; color: var(--muted); }
.prose { max-width: var(--measure); }
.prose p { margin: 0 0 1rem; }
.prose ul { margin: 0 0 1rem; padding-left: 1.15rem; }

/* Header */
.site-chrome { position: sticky; top: 0; z-index: 40; }
.site-header {
  position: relative;
  background: rgba(12, 35, 64, 0.96);
  backdrop-filter: blur(10px);
  color: var(--cream);
  border-bottom: 1px solid rgba(176, 141, 87, 0.28);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}
.wordmark {
  color: var(--cream);
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}
.wordmark:hover { color: #fff; }
.wordmark .logo-header {
  height: 48px;
  width: auto;
  display: block;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(246, 243, 236, 0.3);
  color: var(--cream);
  border-radius: 8px;
  width: 2.6rem;
  height: 2.6rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--cream);
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.primary-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid transparent;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  padding: 0.7rem 1.15rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  line-height: 1;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-gold:hover { background: var(--gold-2); color: var(--navy-deep); }
.btn-navy {
  background: var(--navy);
  color: var(--cream);
}
.btn-navy:hover { background: var(--navy-mid); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(246, 243, 236, 0.4);
}
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: rgba(12, 35, 64, 0.28);
}
.btn-outline:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Hero */
.hero {
  position: relative;
  min-height: min(86vh, 46rem);
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  background-color: var(--navy-deep);
  background-image: url("../images/properties/640-s-38th-st/hero.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 23, 43, 0.55) 0%, rgba(8, 23, 43, 0.15) 55%, rgba(8, 23, 43, 0.2) 100%),
    linear-gradient(180deg, rgba(8, 23, 43, 0.2) 0%, rgba(8, 23, 43, 0.35) 45%, rgba(8, 23, 43, 0.78) 100%);
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: var(--space-9) 0 var(--space-8);
  max-width: 40rem;
}
.hero h1 { color: #fff; font-size: var(--step-5); margin: 0 0 var(--space-4); }
.hero .lede { color: rgba(246, 243, 236, 0.9); max-width: 32rem; margin: 0 0 var(--space-6); }

/* Sections */
main { flex: 1; }
.section { padding: var(--space-8) 0; }
.section-tight { padding: var(--space-7) 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.section-head h2 { margin: 0; }
.section-head p { margin: 0.35rem 0 0; color: var(--muted); max-width: 36rem; }
.section-head a { font-size: 0.95rem; font-weight: 500; }

.page-hero {
  background: var(--navy);
  color: var(--cream);
  padding: var(--space-7) 0 var(--space-6);
}
.page-hero h1 { color: #fff; margin-bottom: var(--space-3); }
.page-hero p { margin: 0; color: rgba(246, 243, 236, 0.8); max-width: 38rem; }

/* Cards */
.cards {
  display: grid;
  gap: var(--space-5);
}
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card, .prop-card, .why-card, .panel, .contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card, .prop-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
}
a.card:hover, a.prop-card:hover, .card:hover, .prop-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  color: inherit;
}
.card-wide {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
}
.card-photo, .prop-photo {
  position: relative;
  background: var(--cream-2);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.card-wide .card-photo { aspect-ratio: auto; min-height: 100%; }
.card-photo img, .prop-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.4s ease;
}
.card:hover .card-photo img, .prop-card:hover .prop-photo img { transform: scale(1.03); }
.card-body, .prop-body { padding: 1.25rem 1.3rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3, .prop-body h3 { color: var(--navy); }
.meta, .quiet { color: var(--muted); font-size: 0.95rem; margin: 0; }
.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 0.85rem 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  color: var(--ink);
}
.rent { font-size: 1.7rem; color: var(--navy); margin: 0.15rem 0; }
.rent span { font-family: Inter, sans-serif; font-size: 0.88rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.card-actions { margin-top: auto; display: flex; gap: 0.6rem; flex-wrap: wrap; padding-top: 1.1rem; }
.prop-body p { color: var(--muted); font-size: 0.95rem; margin: 0.55rem 0 0; }
.units-count {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-mid);
  margin: 0.4rem 0 0;
}

.badges {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  z-index: 1;
}
.badge {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.28rem 0.5rem;
  border-radius: 4px;
  background: var(--navy);
  color: var(--cream);
}
.badge.listed { background: var(--ok); color: #fff; }
.badge.vacant { background: var(--navy-mid); color: #fff; }
.badge.staged { background: rgba(8, 23, 43, 0.78); color: #fff; }

/* Why rent */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.why-card { padding: 1.6rem 1.5rem; }
.why-card .icon {
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1rem;
  color: var(--navy);
}
.why-card p { margin: 0; color: var(--muted); }

/* Listing detail + gallery */
.listing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.85fr);
  gap: var(--space-6);
  align-items: start;
}
.gallery-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-deep);
  aspect-ratio: 3 / 2;
  cursor: zoom-in;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.6rem;
}
.gallery-thumbs button {
  border: 2px solid transparent;
  padding: 0;
  background: var(--cream-2);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  position: relative;
}
.gallery-thumbs button[aria-current="true"] { border-color: var(--gold); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs .badge { position:absolute; left:0.25rem; bottom:0.25rem; top:auto; font-size:0.55rem; padding:0.15rem 0.3rem; }
.panel { padding: 1.6rem; }
.panel h2 { margin-top: 0; }
.facts { list-style: none; margin: 0 0 1rem; padding: 0; }
.facts li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.sidebar-badges { display: flex; gap: 0.4rem; margin-bottom: 0.9rem; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 23, 43, 0.92);
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.25rem 4.5rem;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(1200px, 100%);
  max-height: calc(100vh - 8rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}
.lightbox-caption {
  position: absolute;
  bottom: 1.2rem;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--cream);
  font-size: 0.9rem;
}
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(246, 243, 236, 0.12);
  color: #fff;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.4rem;
  line-height: 1;
}
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-nav.prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(246, 243, 236, 0.25); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.contact-card { padding: 1.6rem; }
.contact-card address { font-style: normal; margin: 0; }
.why-card p a { font-weight: 500; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: var(--cream);
  padding: var(--space-7) 0 var(--space-5);
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-6);
}
.site-footer h2, .site-footer h3 { color: #fff; font-size: 1.15rem; margin: 0 0 0.65rem; }
.site-footer p, .site-footer address { margin: 0 0 0.45rem; font-style: normal; color: rgba(246, 243, 236, 0.86); }
.site-footer a { color: rgba(246, 243, 236, 0.9); text-decoration: none; }
.site-footer a:hover { color: #fff; border-bottom: 1px solid var(--gold); }
.footer-logo { display: inline-block; text-decoration: none; }
.site-footer a.footer-logo:hover { border-bottom: 0; }
.logo-footer {
  height: 5.5rem;
  width: auto;
  display: block;
  margin: 0 0 0.9rem;
}
.eho {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  color: rgba(246, 243, 236, 0.86);
  font-size: 0.82rem;
  line-height: 1.3;
}
.eho img, .eho svg { width: 2.15rem; height: 2.15rem; flex-shrink: 0; }
.footer-legal {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(246, 243, 236, 0.12);
  font-size: 0.8rem;
  color: rgba(246, 243, 236, 0.62);
}
.empty { padding: 2rem; background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius); }
.muted-note { font-size: 0.88rem; color: var(--muted); margin-top: 0.85rem; }



/* About */
.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: var(--space-7);
  align-items: center;
  margin-bottom: var(--space-7);
}
.about-intro img {
  width: 100%;
  height: 26rem;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-prose { max-width: 44rem; }
.about-prose h2 { margin-top: var(--space-7); }
.about-prose h2:first-child { margin-top: 0; }
.about-prose h3 { font-size: 1.2rem; margin: var(--space-5) 0 var(--space-2); }
.about-prose p { margin: 0 0 1rem; }
.where-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  margin: var(--space-5) 0 var(--space-2);
}
.where-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.55rem 1.2rem;
}
.where-card h3 { margin-top: 0; }
.where-card ul { list-style: none; padding: 0; margin: 0; }
.where-card li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}
.where-card li:first-of-type { border-top: 0; padding-top: 0; }
.where-card .addr { display: block; font-weight: 600; color: var(--navy); }
.where-card .units-count { display: block; color: var(--muted); font-size: 0.9rem; }
.about-cta {
  margin-top: var(--space-7);
  padding: var(--space-6);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 44rem;
}
.about-cta p { margin: 0 0 1rem; }
/* Our Properties page */
#properties-list { padding-bottom: var(--space-6); }
.property-block {
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--line);
}
.property-block:last-of-type { border-bottom: 0; }
.property-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(260px, 0.95fr);
  gap: var(--space-5);
  align-items: stretch;
}
.property-row-photo {
  position: relative;
  height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-deep);
  box-shadow: var(--shadow);
}
.property-row-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.property-row-body {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
}
.property-row-body h2 { margin: 0 0 0.35rem; font-size: 1.55rem; }
.property-row-body .eyebrow { margin-bottom: 0.45rem; }
.property-units { margin-top: 1.15rem; }
.property-units h3 { font-size: 1.05rem; margin: 0 0 0.75rem; color: var(--navy); }
.cards-compact {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}
.card-compact .card-photo {
  aspect-ratio: auto;
  height: 150px;
  min-height: 0;
}
.card-compact .card-body { padding: 0.85rem 1rem 1rem; }
.card-compact h3 { font-size: 1.12rem; }
.card-compact .rent { font-size: 1.3rem; margin: 0.1rem 0; }
.card-compact .specs { margin: 0.45rem 0; font-size: 0.88rem; }
.card-compact .card-actions { padding-top: 0.7rem; }
.card-compact .btn { padding: 0.55rem 0.8rem; font-size: 0.72rem; }
.muted-note.property-empty { margin-top: 0.85rem; }

/* Mobile */
@media (max-width: 900px) {
  .section-head { flex-direction: column; align-items: flex-start; }
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1.25rem 1.25rem;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(176, 141, 87, 0.28);
    box-shadow: var(--shadow-hover);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav ul { flex-direction: column; align-items: flex-start; gap: 0.15rem; }
  .primary-nav a { display: block; padding: 0.65rem 0; border-bottom: 0; }
  .primary-nav .btn { margin-top: 0.5rem; width: 100%; }
  .cards-2, .cards-3, .why-grid, .contact-grid, .footer-grid, .card-wide, .listing-layout, .gallery-thumbs,
  .property-row, .about-intro, .where-grid {
    grid-template-columns: 1fr;
  }
  .about-intro img { height: 18rem; }
  .wordmark .logo-header { height: 44px; }
  .logo-footer { height: 4.75rem; }
  .property-row-photo { height: 280px; }
  .cards-compact { grid-template-columns: 1fr; }
  .card-compact .card-photo { height: 160px; }
  .gallery-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero { min-height: 34rem; }
  .hero-inner { padding: 6rem 0 2.5rem; }
  .section { padding: var(--space-7) 0; }
  .card-wide .card-photo { min-height: 14rem; aspect-ratio: 4 / 3; }
}
@media (max-width: 420px) {
  .wrap { width: min(var(--wrap), calc(100% - 1.5rem)); }
  .hero h1 { font-size: 2.35rem; }
  .btn { width: 100%; }
  .card-actions .btn { flex: 1; }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .primary-nav ul { gap: 0.85rem; }
  .primary-nav a { font-size: 0.9rem; }
  .wordmark .logo-header { height: 44px; }
}
