/* ============================================================
   AVZ PROPERTY GROUP — styles.css
   Palette: deep harbor navy, limestone off-white, brass accent
   Type: Cormorant Garamond (display) + Archivo (body/UI)
   ============================================================ */

:root {
  --navy: #12233d;
  --navy-deep: #0b1830;
  --limestone: #f5f3ee;
  --ink: #1c2430;
  --slate: #5d6b7d;
  --brass: #b3915a;
  --brass-soft: #cfb384;
  --white: #ffffff;
  --hairline: rgba(18, 35, 61, 0.14);
  --hairline-light: rgba(245, 243, 238, 0.22);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --max-w: 1180px;
  --pad-x: clamp(20px, 5vw, 56px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--limestone);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
  display: block;
  margin-bottom: 18px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(11, 24, 48, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline-light);
}

.site-header .bar {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  text-decoration: none;
  color: var(--white);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.logo .mark {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brass-soft);
}
.logo .name {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.site-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
  border-bottom-color: var(--brass);
}
.site-nav a.btn-apply {
  border: 1px solid var(--brass);
  padding: 10px 22px;
  color: var(--white);
  transition: background 0.2s;
}
.site-nav a.btn-apply:hover {
  background: var(--brass);
  color: var(--navy-deep);
  border-bottom-color: var(--brass);
}

/* mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--hairline-light);
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 16px;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px var(--pad-x) 28px;
    gap: 18px;
    display: none;
    border-bottom: 1px solid var(--hairline-light);
  }
  .site-nav.open { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  background:
    linear-gradient(160deg, rgba(11, 24, 48, 0.55) 0%, rgba(11, 24, 48, 0.92) 78%),
    linear-gradient(215deg, #22406b 0%, #12233d 55%, #0b1830 100%);
  /* PHOTO: replace the second gradient with a real exterior shot:
     background: linear-gradient(...overlay...), url("images/hero.jpg") center/cover; */
  color: var(--white);
  padding-top: 76px;
}

.hero .inner {
  padding-bottom: clamp(56px, 10vh, 120px);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 7.5vw, 96px);
  line-height: 1.02;
  letter-spacing: 0.005em;
  max-width: 15ch;
}
.hero h1 em {
  font-style: italic;
  color: var(--brass-soft);
}

.hero .kicker {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.78);
  max-width: 52ch;
  margin-top: 26px;
}

.hero .actions {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 16px 34px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-solid {
  background: var(--brass);
  color: var(--navy-deep);
}
.btn-solid:hover { background: var(--brass-soft); }
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}
.btn-ghost:hover { border-color: var(--white); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-deep); }
.btn-outline-navy {
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ---------- Stats band ---------- */
.stats {
  background: var(--navy-deep);
  color: var(--white);
  border-top: 1px solid var(--hairline-light);
}
.stats .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 54px 0;
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  color: var(--brass-soft);
  line-height: 1;
}
.stat .label {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 720px) {
  .stats .grid { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
}

/* ---------- Alternating full-height panels ---------- */
.panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 78vh;
}
.panel:nth-of-type(even) .panel-media { order: 2; }

.panel-media {
  position: relative;
  min-height: 380px;
  background: linear-gradient(200deg, #2a4a78 0%, #16294a 60%, #0e1d38 100%);
  /* PHOTO: replace with url("images/panel-1.jpg") center/cover */
}
.panel-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 120px);
}
.panel-media .plate {
  position: absolute;
  left: 32px;
  bottom: 28px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.75);
}

.panel-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 110px);
  background: var(--limestone);
}
.panel:nth-of-type(odd) .panel-copy { background: var(--white); }

.panel-copy h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  color: var(--navy);
  max-width: 18ch;
}
.panel-copy p {
  margin-top: 20px;
  color: var(--slate);
  max-width: 48ch;
  font-size: 17px;
}
.panel-copy .btn { margin-top: 34px; align-self: flex-start; }

@media (max-width: 860px) {
  .panel { grid-template-columns: 1fr; min-height: 0; }
  .panel:nth-of-type(even) .panel-media { order: 0; }
  .panel-media { min-height: 260px; }
}

/* ---------- Wide CTA ---------- */
.cta-wide {
  background: linear-gradient(150deg, #16294a, #0b1830);
  color: var(--white);
  text-align: center;
  padding: clamp(72px, 12vh, 130px) 0;
}
.cta-wide h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.06;
}
.cta-wide p {
  margin: 18px auto 0;
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.75);
}
.cta-wide .btn { margin-top: 38px; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: linear-gradient(200deg, #1b3357, #0b1830);
  color: var(--white);
  padding: 170px 0 72px;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
}
.page-hero p {
  margin-top: 16px;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
}

/* ---------- Listings grid ---------- */
.listings {
  padding: clamp(56px, 8vh, 96px) 0;
}
.listings .grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 34px;
}
.card {
  background: var(--white);
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
}
.card .media {
  height: 210px;
  background: linear-gradient(210deg, #2a4a78, #14273f);
  position: relative;
  /* PHOTO: replace with unit photo */
}
.card .media .status {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--brass);
  color: var(--navy-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
}
.card .body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  color: var(--navy);
  line-height: 1.15;
}
.card .meta {
  margin-top: 8px;
  color: var(--slate);
  font-size: 14px;
  letter-spacing: 0.02em;
}
.card .rent {
  margin-top: 14px;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}
.card .rent span {
  font-size: 13px;
  font-weight: 400;
  color: var(--slate);
}
.card .btn {
  margin-top: 22px;
  text-align: center;
}

/* ---------- Prose sections ---------- */
.prose {
  padding: clamp(56px, 8vh, 96px) 0;
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 44px);
  color: var(--navy);
}
.prose p {
  margin-top: 16px;
  max-width: 68ch;
  color: var(--slate);
  font-size: 17px;
}
.prose .two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 8px;
}
@media (max-width: 820px) {
  .prose .two-col { grid-template-columns: 1fr; }
}

/* ---------- Contact block ---------- */
.contact-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: clamp(56px, 8vh, 96px) 0;
}
.contact-block h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  color: var(--navy);
}
.contact-block .detail {
  margin-top: 26px;
}
.contact-block .detail .label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
}
.contact-block .detail .value {
  font-size: 19px;
  margin-top: 4px;
  color: var(--ink);
}
.contact-block .detail a { text-decoration: none; }
.contact-block .detail a:hover { text-decoration: underline; }
@media (max-width: 820px) {
  .contact-block { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 64px 0 40px;
  font-size: 14px;
}
.site-footer .top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--hairline-light);
}
.site-footer .brand .mark {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--brass-soft);
}
.site-footer .brand .name {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-top: 2px;
}
.site-footer nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  align-items: center;
}
.site-footer nav a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.site-footer nav a:hover { color: var(--white); }

.site-footer .legal {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-end;
}
.site-footer .legal p { max-width: 72ch; line-height: 1.7; color: rgba(255,255,255,0.6); }
.eho {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.eho svg { flex-shrink: 0; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}
