/*
Theme Name: Invest in AZ
Theme URI: https://investinaz.com
Author: William Hamburg / Invest in AZ
Description: Commercial real estate theme for Invest in AZ by William Hamburg, Associate Broker at Realty ONE Group Mountain Desert. A Commercial section and a Residential section with live listings from the Flexmls IDX plugin. Black / gold / ivory palette with editorial typography, forked from the Own In Sedona design system.
Version: 1.1.0
License: GPL v2 or later
Text Domain: investinaz
*/

:root {
  --black: #0a0a0a;
  --ink: #1a1a1a;
  --charcoal: #2a2a2a;
  --slate: #4a4a4a;
  --stone: #7a7a7a;
  --light-gray: #e8e4dc;
  --ivory: #f8f4ec;
  --cream: #faf7f0;
  --white: #ffffff;
  --gold: #c4a354;
  --gold-deep: #a88940;
  --gold-light: #d4b86a;
  --gold-subtle: #e5d9b5;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--ivory);
  color: var(--ink);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 6vw, 5.5rem); font-weight: 300; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.75rem); font-weight: 300; }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
h2 em, h1 em { font-style: italic; color: var(--gold-deep); font-weight: 400; }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* NAV */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s ease;
  background: transparent;
}
.site-header.scrolled, .site-header.solid {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  padding: 1rem 3rem;
  border-bottom: 1px solid rgba(196, 163, 84, 0.15);
}
.site-header .logo {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 500;
  color: var(--white); letter-spacing: 0.02em;
}
.site-header .logo img { height: 44px; width: auto; }

.nav-links {
  display: flex; gap: 2.25rem;
  list-style: none; align-items: center;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--white);
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  position: relative; transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -6px; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-cta, .nav-links .nav-cta a, .nav-links li.nav-cta a {
  padding: 0.7rem 1.5rem;
  background: var(--gold);
  color: var(--black) !important;
  border-radius: 2px;
  font-size: 0.75rem; letter-spacing: 0.15em;
  transition: all 0.3s;
}
.nav-cta:hover, .nav-links .nav-cta a:hover { background: var(--gold-light); transform: translateY(-1px); }
.nav-cta::after, .nav-links .nav-cta a::after { display: none; }

/* Header right-side tools wrapper (phone + menu toggle). */
.header-tools { display: flex; align-items: center; gap: 1.5rem; }

/* Two header phone elements: full-text shows on desktop, icon-only on mobile.
   They are mutually exclusive — !important guards against LiteSpeed CCSS or
   Elementor injecting overrides at higher cascade priority. */
.header-phone {
  color: var(--white);
  align-items: center;
  text-decoration: none;
}
.header-phone:hover { color: var(--gold); }

.header-phone--text {
  display: inline-flex !important;
  gap: 0.4rem;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.08em;
  padding: 0.5rem; min-height: 44px;
}
.header-phone--icon {
  display: none !important;
  justify-content: center;
  width: 44px; height: 44px;
  padding: 0;
}
.header-phone--icon svg { width: 18px; height: 18px; }

/* Mobile-menu phone item — appended into the primary nav UL by
   ois_mobile_menu_phone_item(). Only shows inside the expanded mobile overlay. */
.mobile-menu-phone { display: none !important; }

.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; padding: 0; position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  width: 28px; height: 1.5px; background: var(--white);
  transition: 0.3s;
}
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 50%; transform: translate(-50%, -50%); }
.menu-toggle span:nth-child(3) { bottom: 14px; }

/* HERO */
.hero {
  min-height: 100vh; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; color: var(--white);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.5) 0%, transparent 30%, transparent 50%, rgba(10, 10, 10, 0.85) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1440px; width: 100%;
  margin: 0 auto; padding: 0 3rem 5rem;
}
.hero-eyebrow {
  font-size: 0.8rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.5rem; font-weight: 500;
  opacity: 0; animation: fadeUp 1s ease 0.3s forwards;
}
h1.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.5rem, 7vw, 6.5rem);
  line-height: 1; letter-spacing: -0.02em;
  color: var(--white); margin-bottom: 2rem;
  max-width: 18ch;
  opacity: 0; animation: fadeUp 1.2s ease 0.5s forwards;
}
h1.hero-title em { font-style: italic; color: var(--gold); font-weight: 400; }
.hero-sub {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  max-width: 540px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 3rem; line-height: 1.6;
  opacity: 0; animation: fadeUp 1s ease 0.8s forwards;
}
.hero-ctas {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 1s ease 1.1s forwards;
}

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 1.1rem 2.25rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn-primary { background: var(--gold); color: var(--black); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--ink); color: var(--ivory); }
.btn-dark:hover { background: var(--gold); color: var(--black); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* SECTIONS */
section { position: relative; z-index: 2; }
.section-inner { max-width: 1440px; margin: 0 auto; padding: 8rem 3rem; }
.section-head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; margin-bottom: 5rem; align-items: end;
}
.section-desc {
  font-size: 1.05rem; color: var(--slate);
  max-width: 480px; line-height: 1.7; padding-bottom: 0.75rem;
}
.rule-gold {
  display: inline-block; width: 60px; height: 2px;
  background: var(--gold); margin-bottom: 1.25rem;
}

/* STORY / ABOUT */
.story { background: var(--ivory); }
.story-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
  max-width: 1440px; margin: 0 auto; padding: 8rem 3rem;
}
.story-image { position: relative; }
.story-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.story-image::after {
  content: ''; position: absolute;
  top: 2rem; left: 2rem; right: -2rem; bottom: -2rem;
  border: 1px solid var(--gold); z-index: -1;
}
.story-content h2 { margin-bottom: 2rem; }
.story-content p { margin-bottom: 1.5rem; color: var(--slate); font-size: 1.05rem; line-height: 1.75; }
.story-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; margin-top: 3rem; padding-top: 3rem;
  border-top: 1px solid var(--light-gray);
}
.story-stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.75rem; font-weight: 300;
  color: var(--ink); line-height: 1;
}
.story-stat-label {
  font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--stone);
  margin-top: 0.5rem; font-weight: 500;
}

/* CTA BAND */
.cta-band {
  background: var(--black); color: var(--white);
  padding: 7rem 3rem; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(196, 163, 84, 0.15) 0%, transparent 70%);
}
.cta-band-inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: 1.5rem; }
.cta-band h2 em { color: var(--gold); }
.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem; margin-bottom: 3rem; line-height: 1.6;
}

/* FOOTER */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.7);
  padding: 5rem 3rem 2rem;
  border-top: 1px solid rgba(196, 163, 84, 0.15);
}
.footer-inner {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem; padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand img.footer-logo { height: 48px; width: auto; }
.footer-brand p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 320px; margin: 1.5rem 0; line-height: 1.7;
}
.footer-brand .contact-info {
  margin-top: 2rem; font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}
.footer-brand .contact-info a {
  color: var(--gold); display: block;
  margin-bottom: 0.3rem; letter-spacing: 0.05em;
}
.footer-brand .contact-info a:hover { color: var(--gold-light); }
.footer-col h4 {
  font-family: 'Montserrat', sans-serif; font-weight: 600;
  font-size: 0.75rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.5rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem; transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-compliance {
  max-width: 1440px; margin: 2.5rem auto 0;
  display: flex; flex-wrap: wrap;
  gap: 2rem; align-items: center;
  justify-content: space-between;
}
.footer-logos { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; }
.footer-logos img {
  height: 44px; width: auto; opacity: 0.85;
  transition: opacity 0.3s; filter: brightness(0) invert(1);
}
.footer-logos img.keep-color { filter: none; }
.footer-logos img:hover { opacity: 1; }
.footer-legal {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7; max-width: 520px;
}
.footer-legal strong { color: rgba(255, 255, 255, 0.75); }
.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0.5rem; text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
}
.footer-legal a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1440px; margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center; line-height: 1.8;
}

/* PAGE HEADER */
.page-header {
  background: var(--black); color: var(--white);
  padding: 12rem 3rem 6rem;
  text-align: center; position: relative;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center top, rgba(196, 163, 84, 0.15) 0%, transparent 60%);
}
.page-header > * { position: relative; z-index: 1; }
.page-header .eyebrow { color: var(--gold); margin-bottom: 1rem; display: inline-block; }
.page-header h1 { color: var(--white); max-width: 20ch; margin: 0 auto; }
.page-header .meta {
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.post-content {
  max-width: 760px; margin: 0 auto;
  padding: 5rem 2rem 6rem;
  font-size: 1.1rem; line-height: 1.8; color: var(--charcoal);
}
.post-content h2, .post-content h3 { margin: 3rem 0 1.25rem; color: var(--ink); }
.post-content h2 { font-size: 2.25rem; }
.post-content h3 { font-size: 1.5rem; }
.post-content p { margin-bottom: 1.5rem; }
.post-content img { margin: 2.5rem 0; }
.post-content a {
  color: var(--gold-deep); text-decoration: underline;
  text-decoration-color: var(--gold-subtle); text-underline-offset: 3px;
}
.post-content a:hover { text-decoration-color: var(--gold); }
.post-content blockquote {
  border-left: 2px solid var(--gold);
  padding: 0.5rem 0 0.5rem 2rem;
  margin: 2.5rem 0;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 1.5rem;
  color: var(--ink); line-height: 1.4;
}
.post-content ul, .post-content ol { margin: 0 0 1.5rem 1.5rem; }
.post-content li { margin-bottom: 0.5rem; }

.featured-image {
  max-width: 1200px; margin: -3rem auto 0;
  padding: 0 2rem; position: relative; z-index: 2;
}
.featured-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.back-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.8rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold-deep);
  font-weight: 600; transition: gap 0.3s;
}
.back-link:hover { gap: 0.8rem; }

.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.alignleft { float: left; margin: 0.5rem 1.5rem 0.5rem 0; }
.alignright { float: right; margin: 0.5rem 0 0.5rem 1.5rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* ============================================================
   HEADER MENU v2 - 2026-05-14 dropdowns + sticky shrinking
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  transition: padding 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.site-header .logo img {
  transition: height 0.2s ease;
}
.site-header.is-shrunk {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  box-shadow: 0 1px 0 rgba(196, 163, 84, 0.18);
}
.site-header.is-shrunk .logo img {
  height: 32px;
  width: auto;
}

.nav-links > li {
  position: relative;
}
.nav-links .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--black);
  border: 1px solid rgba(196, 163, 84, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 110;
}
.nav-links > li:hover > .sub-menu,
.nav-links > li:focus-within > .sub-menu,
.nav-links > li.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-links .sub-menu li {
  display: block;
  margin: 0;
}
.nav-links .sub-menu a {
  display: block;
  padding: 0.65rem 1.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.nav-links .sub-menu a:hover {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.03);
}
.nav-links .menu-item-has-children > a::after {
  content: '\25BE';
  display: inline-block;
  margin-left: 0.35em;
  font-size: 0.75em;
  opacity: 0.65;
  transform: translateY(-1px);
  transition: transform 0.2s ease;
}

@media (max-width: 1024px) {
  .nav-links .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    background: rgba(196, 163, 84, 0.04);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    min-width: 0;
  }
  .nav-links > li.is-open > .sub-menu {
    max-height: 600px;
    padding: 0.3rem 0 0.5rem;
  }
  .nav-links .sub-menu a {
    padding: 0.5rem 1.5rem 0.5rem 2.5rem;
    font-size: 0.85rem;
    white-space: normal;
  }
  .nav-links > li.is-open > a::after {
    transform: rotate(180deg);
  }
}


/* ============================================================
   INVEST IN AZ: components added on top of the Own In Sedona base
   ============================================================ */

/* Wordmark (until a logo is uploaded in the Customizer) */
.site-header .logo.logo--wordmark,
.footer-logo-link.logo--wordmark {
  display: inline-flex; align-items: baseline; gap: 0.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem; font-weight: 400; letter-spacing: 0.02em;
  color: var(--white); line-height: 1;
}
.logo--wordmark em { font-style: italic; color: var(--gold); font-weight: 400; }
.site-header.is-shrunk .logo--wordmark { font-size: 1.45rem; }

/* The dropdown caret reuses the link's ::after, so cancel the underline styling on it. */
.nav-links .menu-item-has-children > a::after {
  position: static; width: auto; height: auto; background: none; bottom: auto;
}

/* ---------- Hero without a photograph ---------- */
.hero.hero--plain { min-height: 92vh; background: var(--black); }
.hero-media--pattern {
  background:
    radial-gradient(ellipse at 75% 20%, rgba(196, 163, 84, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(196, 163, 84, 0.10) 0%, transparent 50%),
    linear-gradient(160deg, #141414 0%, #0a0a0a 60%);
}
.hero-media--pattern::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(196, 163, 84, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 163, 84, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 70%, transparent 100%);
}
.hero.hero--plain::after { background: linear-gradient(180deg, rgba(10,10,10,0.35) 0%, transparent 40%, rgba(10,10,10,0.7) 100%); }
.hero.hero--plain .hero-content { padding-top: 10rem; }
.hero.hero--plain h1.hero-title { max-width: 20ch; }
.hero.hero--plain .hero-sub { max-width: 620px; }

/* ---------- Stat strip ---------- */
.iaz-stats { background: var(--black); border-top: 1px solid rgba(196, 163, 84, 0.2); }
.iaz-stats__inner {
  max-width: 1200px; margin: 0 auto; padding: 3.5rem 2rem;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; text-align: center;
}
.iaz-stat { position: relative; padding: 0 1rem; }
.iaz-stat:not(:last-child)::after {
  content: ''; position: absolute; right: -1rem; top: 20%; bottom: 20%;
  width: 1px; background: rgba(196, 163, 84, 0.25);
}
.iaz-stat__num {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 400;
  font-size: clamp(2.25rem, 4vw, 3.25rem); line-height: 1; color: var(--gold); margin-bottom: 0.75rem;
}
.iaz-stat__label {
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-subtle); font-weight: 500;
}

/* ---------- Card grids ---------- */
.iaz-grid { display: grid; gap: 2rem; }
.iaz-grid--3 { grid-template-columns: repeat(3, 1fr); }
.iaz-grid--2 { grid-template-columns: repeat(2, 1fr); }
.iaz-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--light-gray);
  padding: 2.5rem 2.25rem; position: relative;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, border-color 0.3s;
}
a.iaz-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(10, 10, 10, 0.08); border-color: var(--gold); }
.iaz-card__eyebrow {
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600; margin-bottom: 1rem;
}
.iaz-card__title { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 1rem; line-height: 1.15; }
.iaz-card__body { color: var(--slate); font-size: 0.98rem; line-height: 1.7; margin-bottom: 1.75rem; flex: 1; }
.iaz-card__cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink); font-weight: 600;
}
a.iaz-card:hover .iaz-card__cta { color: var(--gold-deep); }
.iaz-card--dark { background: var(--black); border-color: rgba(196, 163, 84, 0.25); color: var(--white); }
.iaz-card--dark .iaz-card__title { color: var(--white); }
.iaz-card--dark .iaz-card__body { color: rgba(255, 255, 255, 0.72); }
.iaz-card--dark .iaz-card__eyebrow { color: var(--gold); }
.iaz-card--dark .iaz-card__cta { color: var(--gold); }
.iaz-card--muted { background: transparent; border-style: dashed; }
.iaz-card__badge {
  position: absolute; top: 1.25rem; right: 1.25rem;
  font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  padding: 0.3rem 0.7rem; background: var(--gold); color: var(--black);
}
.iaz-card__badge--soft { background: transparent; color: var(--stone); border: 1px solid var(--light-gray); }

/* ---------- Dark band ---------- */
.iaz-band { background: var(--black); color: var(--white); }
.iaz-band h2, .iaz-band h3 { color: var(--white); }
.iaz-band h2 em { color: var(--gold); }
.iaz-band .section-desc { color: rgba(255, 255, 255, 0.72); }
.iaz-band .eyebrow { color: var(--gold); }

/* ---------- Numbered list / link grid ---------- */
.iaz-criteria { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid rgba(196, 163, 84, 0.3); }
.iaz-criteria__item {
  display: grid; grid-template-columns: 3.25rem 1fr; gap: 1.25rem;
  padding: 2rem 2rem 2rem 0; border-bottom: 1px solid rgba(196, 163, 84, 0.3);
}
.iaz-criteria__item:nth-child(odd) { padding-right: 3rem; }
.iaz-criteria__item:nth-child(even) { padding-left: 3rem; border-left: 1px solid rgba(196, 163, 84, 0.3); }
a.iaz-criteria__item { color: inherit; transition: background 0.3s; }
a.iaz-criteria__item:hover { background: rgba(196, 163, 84, 0.07); }
a.iaz-criteria__item:hover .iaz-criteria__title { color: var(--gold); }
.iaz-criteria__num {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 2rem; line-height: 1; color: var(--gold);
}
.iaz-criteria__title { font-size: 1.5rem; margin-bottom: 0.6rem; }
.iaz-criteria__text { color: rgba(255, 255, 255, 0.72); font-size: 0.95rem; line-height: 1.7; }
.iaz-criteria--light { border-top-color: var(--light-gray); }
.iaz-criteria--light .iaz-criteria__item { border-bottom-color: var(--light-gray); }
.iaz-criteria--light .iaz-criteria__item:nth-child(even) { border-left-color: var(--light-gray); }
.iaz-criteria--light .iaz-criteria__num { color: var(--gold-deep); }
.iaz-criteria--light .iaz-criteria__text { color: var(--slate); }

/* ---------- Process steps ---------- */
.iaz-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; counter-reset: step; }
.iaz-step { counter-increment: step; padding-top: 1.5rem; border-top: 1px solid var(--gold); }
.iaz-step::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.5rem; color: var(--gold-deep); margin-bottom: 0.75rem;
}
.iaz-step h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.iaz-step p { color: var(--slate); font-size: 0.95rem; line-height: 1.7; }

/* ---------- Story / agent block without a portrait ---------- */
.iaz-about { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 5rem; align-items: start; max-width: 1440px; margin: 0 auto; padding: 8rem 3rem; }
.iaz-about p { color: var(--slate); font-size: 1.05rem; line-height: 1.75; margin-bottom: 1.4rem; }
.iaz-about h2 { margin-bottom: 2rem; }
.iaz-facts { border-left: 2px solid var(--gold); padding: 0.5rem 0 0.5rem 2rem; }
.iaz-fact { padding: 1.25rem 0; border-bottom: 1px solid var(--light-gray); }
.iaz-fact:last-child { border-bottom: 0; }
.iaz-fact__value { font-family: 'Cormorant Garamond', serif; font-size: 2.25rem; font-weight: 300; line-height: 1; color: var(--ink); }
.iaz-fact__label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); margin-top: 0.4rem; font-weight: 500; }

/* ---------- IDX landing pages ---------- */
.iaz-idx-page section { margin: 0; }
.iaz-idx-hero {
  position: relative; min-height: 480px; background: var(--black);
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 9rem 1.5rem 5rem; overflow: hidden;
}
.iaz-idx-hero .hero-media--pattern { position: absolute; inset: 0; }
.iaz-idx-hero__inner { position: relative; z-index: 2; max-width: 780px; }
.iaz-idx-hero__eyebrow { font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; font-weight: 500; }
.iaz-idx-hero__title { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(2.5rem, 6vw, 4.75rem); line-height: 1.05; color: var(--white); letter-spacing: -0.02em; }
.iaz-idx-hero__title em { color: var(--gold); font-style: italic; font-weight: 400; }
.iaz-idx-hero__rule { width: 60px; height: 1px; background: var(--gold); margin: 2rem auto; }
.iaz-idx-hero__subtitle { color: var(--gold-subtle); font-weight: 300; font-size: 1.05rem; line-height: 1.75; max-width: 600px; margin: 0 auto; }

.iaz-idx-editorial { background: var(--ivory); }
.iaz-idx-editorial__inner { max-width: 960px; margin: 0 auto; padding: 5rem 2rem 2rem; }
.iaz-idx-editorial h2 { margin-bottom: 1.5rem; }
.iaz-idx-editorial p { color: var(--slate); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.25rem; }

.iaz-idx-listings { background: var(--ivory); padding: 3rem 1.5rem 5rem; }
.iaz-idx-listings__inner { max-width: 1280px; margin: 0 auto; }
.iaz-idx-listings__intro { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; }
.iaz-idx-listings__intro h2 { margin-bottom: 1rem; }
.iaz-idx-listings__intro p { color: var(--slate); line-height: 1.75; }
.iaz-idx-listings h1, .iaz-idx-listings h2, .iaz-idx-listings h3 { font-family: 'Cormorant Garamond', Georgia, serif !important; }
.iaz-idx-listings a[class*="button"], .iaz-idx-listings button[class*="primary"], .iaz-idx-listings .btn-primary {
  background-color: var(--gold) !important; border-color: var(--gold) !important; color: var(--black) !important;
  border-radius: 0 !important; font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important;
  font-size: 11px !important; letter-spacing: 2px !important; text-transform: uppercase !important;
}
.iaz-idx-listings a[class*="button"]:hover, .iaz-idx-listings button[class*="primary"]:hover, .iaz-idx-listings .btn-primary:hover {
  background-color: var(--black) !important; border-color: var(--black) !important; color: var(--gold) !important;
}
.iaz-idx-note {
  max-width: 760px; margin: 2.5rem auto 0; padding: 1.25rem 1.5rem;
  border-left: 2px solid var(--gold); background: var(--white);
  font-size: 0.9rem; color: var(--slate); line-height: 1.7;
}
.iaz-idx-pending {
  max-width: 760px; margin: 0 auto; padding: 3rem 2rem; text-align: center;
  background: var(--white); border: 1px dashed var(--gold);
}
.iaz-idx-pending h3 { margin-bottom: 1rem; }
.iaz-idx-pending p { color: var(--slate); line-height: 1.75; }

.iaz-idx-cta { background: var(--black); padding: 6rem 1.5rem; text-align: center; position: relative; }
.iaz-idx-cta::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 1px; background: var(--gold); }
.iaz-idx-cta__inner { max-width: 720px; margin: 0 auto; }
.iaz-idx-cta__eyebrow { font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; font-weight: 500; }
.iaz-idx-cta__title { font-size: clamp(2rem, 4.5vw, 3rem); color: var(--white); line-height: 1.15; margin-bottom: 1.75rem; }
.iaz-idx-cta__title em { color: var(--gold); }
.iaz-idx-cta__text { color: var(--gold-subtle); font-weight: 300; line-height: 1.75; margin-bottom: 2.5rem; }
.iaz-idx-cta__buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Featured commercial listings (permission-based) ---------- */
.iaz-listings { background: var(--ivory); }
.iaz-listings__inner { max-width: 1280px; margin: 0 auto; padding: 4rem 1.5rem 5rem; }
.iaz-listings__head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.iaz-listings__head p { color: var(--slate); line-height: 1.75; }
.iaz-listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.iaz-listing-card { background: var(--white); border: 1px solid var(--light-gray); display: flex; flex-direction: column; transition: transform 0.4s ease, box-shadow 0.4s ease; }
.iaz-listing-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(10, 10, 10, 0.08); }
.iaz-listing-card__image { aspect-ratio: 4 / 3; overflow: hidden; position: relative; background: var(--black); }
.iaz-listing-card__image img { width: 100%; height: 100%; object-fit: cover; }
.iaz-listing-card__noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--gold); font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.4rem; }
.iaz-listing-card__tag { position: absolute; top: 1rem; left: 1rem; padding: 0.35rem 0.8rem; background: var(--gold); color: var(--black); font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600; }
.iaz-listing-card__tag--pending { background: var(--black); color: var(--gold); }
.iaz-listing-card__body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.iaz-listing-card__price { font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; color: var(--gold-deep); line-height: 1; margin-bottom: 0.5rem; }
.iaz-listing-card__title { font-size: 1.4rem; line-height: 1.2; margin-bottom: 0.4rem; }
.iaz-listing-card__title a:hover { color: var(--gold-deep); }
.iaz-listing-card__loc { font-size: 0.85rem; color: var(--stone); margin-bottom: 1rem; }
.iaz-listing-card__specs { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); font-weight: 500; margin-bottom: 1.25rem; }
.iaz-attribution {
  margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--light-gray);
  font-size: 0.78rem; color: var(--slate); line-height: 1.6;
}
.iaz-attribution strong { color: var(--ink); font-weight: 600; }
.iaz-attribution a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }
.iaz-empty { max-width: 640px; margin: 0 auto; text-align: center; color: var(--slate); line-height: 1.75; padding: 2rem; border: 1px dashed var(--light-gray); background: var(--white); }

/* ---------- Single commercial listing ---------- */
.iaz-single { max-width: 1200px; margin: 0 auto; padding: 4rem 2rem 6rem; display: grid; grid-template-columns: 1.6fr 1fr; gap: 4rem; align-items: start; }
.iaz-single__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.iaz-single__price { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.25rem, 4vw, 3.25rem); color: var(--gold-deep); line-height: 1; margin-bottom: 1rem; }
.iaz-specs { width: 100%; border-collapse: collapse; margin: 1.5rem 0 2rem; }
.iaz-specs th, .iaz-specs td { text-align: left; padding: 0.85rem 0; border-bottom: 1px solid var(--light-gray); font-size: 0.92rem; vertical-align: top; }
.iaz-specs th { width: 42%; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); font-weight: 600; }
.iaz-single__aside { position: sticky; top: 7rem; background: var(--white); border: 1px solid var(--light-gray); padding: 2rem; }
.iaz-single__aside h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.iaz-single__aside p { color: var(--slate); font-size: 0.92rem; line-height: 1.7; margin-bottom: 1.25rem; }
.iaz-single__aside .btn { width: 100%; justify-content: center; margin-bottom: 0.75rem; }
.iaz-credit {
  margin-top: 2.5rem; padding: 1.5rem; background: var(--white);
  border-left: 2px solid var(--gold); font-size: 0.88rem; color: var(--slate); line-height: 1.7;
}
.iaz-credit strong { color: var(--ink); }
.iaz-credit a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Inquiry form ---------- */
.iaz-form-section { background: var(--ivory); }
.iaz-form-inner { max-width: 1200px; margin: 0 auto; padding: 6rem 2rem; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 5rem; align-items: start; }
.iaz-form-intro h2 { margin-bottom: 1.5rem; }
.iaz-form-intro p { color: var(--slate); line-height: 1.8; margin-bottom: 1.25rem; }
.iaz-form-intro ul { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.iaz-form-intro li { padding: 0.6rem 0 0.6rem 1.5rem; position: relative; color: var(--slate); font-size: 0.95rem; border-bottom: 1px solid var(--light-gray); }
.iaz-form-intro li::before { content: ''; position: absolute; left: 0; top: 1.1rem; width: 8px; height: 1px; background: var(--gold); }
.iaz-form { background: var(--white); border: 1px solid var(--light-gray); padding: 2.5rem; }
.iaz-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.iaz-form__field { margin-bottom: 1.25rem; }
.iaz-form label { display: block; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; color: var(--slate); margin-bottom: 0.5rem; }
.iaz-form input[type="text"], .iaz-form input[type="email"], .iaz-form input[type="tel"], .iaz-form select, .iaz-form textarea {
  width: 100%; padding: 0.9rem 1rem; font-family: 'Montserrat', sans-serif; font-size: 0.95rem;
  background: var(--ivory); border: 1px solid var(--light-gray); border-radius: 0; color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}
.iaz-form input:focus, .iaz-form select:focus, .iaz-form textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.iaz-form textarea { min-height: 130px; resize: vertical; }
.iaz-form__hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.iaz-form__fine { font-size: 0.78rem; color: var(--stone); line-height: 1.6; margin-top: 1rem; }
.iaz-notice { padding: 1rem 1.25rem; margin-bottom: 1.5rem; font-size: 0.92rem; line-height: 1.6; border-left: 2px solid var(--gold); background: var(--white); }
.iaz-notice--error { border-left-color: #8a2b2b; }

/* ---------- Footer additions ---------- */
.footer-logos img.footer-logo-rog { height: 52px; filter: none; opacity: 0.95; }
.footer-logos img[src*="realtor"] { height: 50px; }
.footer-logos img[src*="equal-housing"] { height: 50px; }
.footer-brand .footer-tag { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--gold); font-size: 1.15rem; margin-top: 0.75rem; }
.footer-social { list-style: none; display: flex; gap: 1rem; padding: 0; margin: 1.5rem 0 0; }
.footer-social a { color: rgba(255, 255, 255, 0.7); display: inline-flex; }
.footer-social a:hover { color: var(--gold); }
.footer-cta-btn {
  display: inline-block; margin-top: 1.25rem; padding: 0.85rem 1.5rem; background: var(--gold); color: var(--black);
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; transition: background 0.2s;
}
.footer-cta-btn:hover { background: var(--gold-light); }
.footer-mls { margin-top: 1rem; }

/* ---------- Blog index ---------- */
.iaz-posts { max-width: 1200px; margin: 0 auto; padding: 5rem 2rem 6rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.iaz-post { background: var(--white); border: 1px solid var(--light-gray); display: flex; flex-direction: column; }
.iaz-post__body { padding: 1.75rem; }
.iaz-post__meta { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); margin-bottom: 0.6rem; }
.iaz-post h2 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.iaz-post p { color: var(--slate); font-size: 0.95rem; line-height: 1.7; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .site-header { padding: 1rem 1.5rem; }
  .site-header.scrolled { padding: 0.75rem 1.5rem; }
  .nav-links { display: none; }
  .nav-links.mobile-visible {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--black); flex-direction: column; align-items: flex-start;
    padding: 2rem; gap: 1.5rem; max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .menu-toggle { display: block; }
  .nav-links.mobile-visible .mobile-menu-phone { display: block !important; margin-top: 0.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.1); width: 100%; }
  .mobile-menu-phone a { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--gold); font-size: 1.05rem; font-weight: 500; min-height: 44px; }
}
@media (max-width: 1024px) {
  .section-inner { padding: 6rem 2rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .iaz-grid--3, .iaz-listing-grid, .iaz-posts { grid-template-columns: repeat(2, 1fr); }
  .iaz-steps { grid-template-columns: repeat(2, 1fr); }
  .iaz-about { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 2rem; }
  .iaz-single { grid-template-columns: 1fr; gap: 2.5rem; }
  .iaz-single__aside { position: static; }
  .iaz-form-inner { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 1.5rem; }
}
@media (max-width: 768px) {
  .hero-content { padding: 0 1.5rem 3rem; }
  h1.hero-title { font-size: clamp(2rem, 7.5vw, 2.75rem); line-height: 1.05; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .section-inner { padding: 4rem 1.5rem; }
  .section-head { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem; }
  .iaz-stats__inner { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; padding: 3rem 1.5rem; }
  .iaz-stat:nth-child(2)::after { display: none; }
  .iaz-grid--3, .iaz-grid--2, .iaz-listing-grid, .iaz-posts, .iaz-steps { grid-template-columns: 1fr; }
  .iaz-criteria { grid-template-columns: 1fr; }
  .iaz-criteria__item, .iaz-criteria__item:nth-child(odd), .iaz-criteria__item:nth-child(even) { padding: 1.75rem 0; border-left: 0; }
  .iaz-form__row { grid-template-columns: 1fr; gap: 0; }
  .iaz-form { padding: 1.75rem; }
  .cta-band { padding: 4rem 1.5rem; }
  .site-footer { padding: 3rem 1.5rem 2rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
  .footer-compliance { flex-direction: column; align-items: flex-start; }
  .page-header { padding: 7rem 1.5rem 3rem; }
  .iaz-idx-hero { min-height: 400px; padding: 7rem 1.5rem 3.5rem; }
  .iaz-idx-listings { padding: 2rem 0.75rem 3.5rem; }
  .iaz-idx-cta { padding: 4rem 1.5rem; }
}
@media (max-width: 480px) {
  .iaz-stats__inner { grid-template-columns: 1fr; }
  .iaz-stat::after { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-eyebrow, h1.hero-title, .hero-sub, .hero-ctas { animation: none; opacity: 1; }
  html { scroll-behavior: auto; }
}
