/* ================================================================
   AZLanding.com — Barré & Company Realty
   Quiet luxury · editorial · dual-state licensed
   ================================================================ */

:root {
  --bg: #0E0E0E;
  --bg-cream: #F4EFE8;
  --bg-cream-soft: #EAE3D8;
  --ink: #111111;
  --ink-soft: #2A2A2A;
  --paper: #FAF7F2;
  --line: rgba(255,255,255,0.12);
  --line-dark: rgba(0,0,0,0.12);
  --gold: #C4A96D;
  --gold-soft: #B89559;
  --muted: #8A8A8A;
  --muted-dark: #6A6258;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:  "DM Mono", ui-monospace, Menlo, monospace;

  --maxw: 1240px;
  --pad-x: clamp(20px, 5vw, 64px);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Reusable ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}
.btn--gold { background: var(--gold); color: #1a1a1a; }
.btn--gold:hover { background: var(--gold-soft); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2a2a2a; }
.btn--full { width: 100%; padding: 18px 24px; }
.btn--lg { padding: 20px 44px; font-size: 13px; }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad-x);
  z-index: 100;
  background: rgba(14,14,14,0.0);
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
.nav.is-scrolled {
  background: rgba(14,14,14,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav__brand {
  display: flex; align-items: center; gap: 12px;
  color: #fff;
}
.nav__monogram {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.nav__name {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.04em;
  color: #fff;
}
.nav__links {
  display: none;
  gap: 36px;
}
.nav__links a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--gold); }
.nav__cta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 10px 16px;
  transition: all 0.2s ease;
}
.nav__cta:hover { border-color: var(--gold); color: var(--gold); }

@media (min-width: 900px) {
  .nav__links { display: flex; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 100px var(--pad-x) 60px;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.7);
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,14,14,0.55) 0%, rgba(14,14,14,0.35) 40%, rgba(14,14,14,0.85) 100%);
}

.hero__inner {
  position: relative; z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  animation: rise 1.2s cubic-bezier(0.2,0.8,0.2,1) both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 8vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  max-width: 14ch;
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.hero__sub {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.5;
  max-width: 52ch;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  font-weight: 300;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}

.trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  max-width: 720px;
}
.trust li {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 24px;
  border-right: 1px solid var(--line);
}
.trust li:last-child { border-right: none; }
.trust__num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.01em;
}
.trust__lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.3);
  z-index: 3;
}
.hero__scroll span {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 24px;
  background: var(--gold);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { top: 0;     opacity: 1; }
  100% { top: 56px;  opacity: 0; }
}

/* ============ CAPTURE FORM ============ */
.capture {
  background: var(--paper);
  padding: clamp(60px, 10vw, 120px) var(--pad-x);
}
.capture__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}
@media (min-width: 900px) {
  .capture__grid { grid-template-columns: 1fr 1.1fr; gap: 80px; }
}
.capture__intro { padding-top: 8px; }
.capture__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  max-width: 14ch;
}
.capture__title em { font-style: italic; color: var(--gold); font-weight: 400; }
.capture__copy {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 16px;
  max-width: 44ch;
}
.capture__copy--small {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--muted-dark);
}
.capture__copy--small a { color: var(--ink); border-bottom: 1px solid var(--gold); }

.capture__form {
  background: #fff;
  border: 1px solid var(--line-dark);
  padding: clamp(28px, 4vw, 44px);
  display: grid;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.field input,
.field select {
  font-family: var(--sans);
  font-size: 16px;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid var(--line-dark);
  background: transparent;
  color: var(--ink);
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s ease;
}
.field select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position:
    calc(100% - 14px) 50%,
    calc(100% - 9px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 28px;
}
.field input:focus,
.field select:focus { border-bottom-color: var(--gold); }

.capture__legal {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dark);
  text-align: center;
  margin-top: 6px;
}

/* ============ SECTION BLOCKS ============ */
.block {
  padding: clamp(72px, 12vw, 140px) var(--pad-x);
}
.block--dark { background: var(--bg); color: #fff; }
.block--cream { background: var(--bg-cream); color: var(--ink); }

.block__inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.block__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  max-width: 18ch;
}
.block__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.block__lede {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.6;
  max-width: 60ch;
  margin-bottom: 56px;
  font-weight: 300;
}
.block--dark .block__lede { color: rgba(255,255,255,0.78); }
.block--cream .block__lede { color: var(--ink-soft); }

/* Cards (Relocation) */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  margin-bottom: 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.card {
  background: var(--bg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.3s ease;
}
.card:hover { background: #1a1a1a; }
.card__num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.18em;
}
.card h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.card p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  font-weight: 300;
}

.markets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  padding: 24px 0;
  margin-bottom: 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.markets span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.markets strong {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: #fff;
}

/* PM Grid (Cream section) */
.pm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line-dark);
  margin-bottom: 48px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.pm-item {
  background: var(--bg-cream);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pm-item__icon {
  font-size: 28px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.pm-item h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.pm-item p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 300;
}

/* Advisory columns */
.advisory {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 48px;
  margin-bottom: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.advisory__col h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 14px;
  color: var(--gold);
}
.advisory__col p {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
  font-weight: 300;
}

/* IDX Frame */
.idx-frame {
  background: #fff;
  border: 1px solid var(--line-dark);
  min-height: 420px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.idx-placeholder {
  text-align: center;
  color: var(--muted-dark);
}
.idx-placeholder p {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  margin-bottom: 8px;
}
.idx-placeholder small {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Authority */
.authority { background: linear-gradient(180deg, #0E0E0E 0%, #161513 100%); }
.auth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 56px;
}
.auth-grid > div {
  padding: 36px 28px 36px 0;
  border-right: 1px solid var(--line);
}
.auth-grid > div:last-child { border-right: none; }
@media (max-width: 760px) {
  .auth-grid > div { border-right: none; border-bottom: 1px solid var(--line); }
  .auth-grid > div:last-child { border-bottom: none; }
}
.auth-num {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 500;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
  line-height: 1;
}
.auth-grid p {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  font-weight: 300;
  max-width: 32ch;
}

.quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
  color: #fff;
  text-align: center;
  max-width: 28ch;
  margin: 0 auto;
  padding-top: 8px;
  position: relative;
}
.quote::before, .quote::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 24px auto;
}

/* ============ FINAL CTA ============ */
.final {
  background: var(--bg-cream);
  padding: clamp(80px, 12vw, 140px) var(--pad-x);
  text-align: center;
}
.final__inner { max-width: 720px; margin: 0 auto; }
.final__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.final__title em { font-style: italic; color: var(--gold); font-weight: 400; }
.final__copy {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 40px;
  font-weight: 300;
}

/* ============ FOOTER ============ */
.footer {
  background: #0a0a0a;
  color: rgba(255,255,255,0.7);
  padding: clamp(60px, 8vw, 100px) var(--pad-x) 32px;
  font-size: 14px;
}
.footer__top {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 760px) {
  .footer__top { grid-template-columns: 1.3fr 1fr 1.1fr 0.9fr 0.9fr; }
}
.footer__monogram {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 16px;
}
.footer__name {
  font-family: var(--serif);
  font-size: 20px;
  color: #fff;
  margin-bottom: 6px;
}
.footer__tag {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 4px;
}
.footer__tag--italic { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--gold); margin-top: 12px; }
.footer__col h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer__col-second {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.footer__office-note {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4) !important;
  margin-top: 6px !important;
}
.footer__col p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  margin-bottom: 4px;
}
.footer__col a { border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.footer__col a:hover { border-bottom-color: var(--gold); }
.eho {
  color: var(--gold) !important;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.footer__legal {
  max-width: var(--maxw);
  margin: 32px auto 0;
  font-size: 11px;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

/* ============ STICKY MOBILE CTA ============ */
.sticky-cta {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #1a1a1a;
  padding: 16px 20px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.sticky-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
@media (min-width: 760px) {
  .sticky-cta { display: none; }
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.2,0.8,0.2,1),
              transform 0.9s cubic-bezier(0.2,0.8,0.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Nav brand sub-labels ── */
.nav__lic-name {
  display: block;
  font-family: var(--serif);
  font-size: 11px;
  font-style: italic;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
  line-height: 1.2;
}
.nav__lic {
  display: block;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-top: 3px;
  line-height: 1.2;
}
