/* ============================================================
   PROPMARK ADVISORY GROUP — styles.css
   ------------------------------------------------------------
   HOW TO EDIT COLORS: change the values in :root below.
   Everything on the site pulls from these variables.
   ============================================================ */

:root {
  --navy:        #0f1e33;   /* deep navy (dark sections)      */
  --navy-deep:   #0a1626;   /* deeper navy (footer / CTA)     */
  --navy-soft:   #1a2c47;   /* raised cards on navy           */
  --ivory:       #f6f2e9;   /* warm ivory (light sections)    */
  --ivory-2:     #efe9dc;   /* slightly deeper ivory          */
  --charcoal:    #1c232c;   /* charcoal text                  */
  --gray:        #6b7280;   /* soft gray text                 */
  --gray-line:   rgba(15, 30, 51, 0.12);
  --gold:        #c2a15c;   /* muted gold accent              */
  --gold-soft:   #d8be86;
  --white:       #ffffff;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Libre Franklin", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1200px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--ivory);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.hide-mobile { display: inline; }

/* ---------- SHARED TYPE ---------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.28em;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow.center { text-align: center; }

.band-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--charcoal);
}
.band-title.light { color: var(--ivory); }
.band-title.center { text-align: center; }
.gold { color: var(--gold); }

.rule { display: block; width: 64px; height: 2px; background: var(--gold); margin: 28px 0; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 15px 26px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-soft); }

.btn-navy { background: var(--navy); color: var(--ivory); }
.btn-navy:hover { background: var(--navy-soft); }

.btn-outline { background: transparent; color: var(--ivory); border-color: rgba(194,161,92,0.6); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-ghost { background: transparent; color: var(--ivory); border-color: rgba(246,242,233,0.35); }
.btn-ghost:hover { border-color: var(--ivory); }

.btn.full { width: 100%; justify-content: center; }

.link-gold {
  color: var(--gold);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.link-gold .arrow { transition: transform 0.25s ease; }
.link-gold:hover .arrow { transform: translateX(4px); }

/* ---------- BRAND / LOGO (text based) ---------- */
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-mark { display: inline-flex; align-items: flex-end; gap: 3px; height: 30px; }
.brand-mark span {
  width: 6px;
  background: var(--gold);
  display: block;
}
.brand-mark span:nth-child(1) { height: 14px; opacity: 0.55; }
.brand-mark span:nth-child(2) { height: 22px; opacity: 0.78; }
.brand-mark span:nth-child(3) { height: 30px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.14em;
  color: var(--ivory);
}
.brand-sub {
  font-size: 9.5px;
  letter-spacing: 0.42em;
  color: rgba(246,242,233,0.6);
  margin-top: 5px;
  font-weight: 500;
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 8px 0;
}
.site-header.scrolled {
  background: rgba(10, 18, 30, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(194,161,92,0.15);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.main-nav { display: flex; gap: 38px; }
.main-nav a {
  color: rgba(246,242,233,0.85);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--gold); }
.header-cta { padding: 12px 22px; }

/* mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 24px; background: var(--ivory); transition: 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: var(--navy-deep);
  padding: 12px 32px 28px;
  border-top: 1px solid rgba(194,161,92,0.15);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--ivory);
  padding: 14px 0;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(246,242,233,0.08);
}
.mobile-nav .btn { margin-top: 18px; border: none; justify-content: center; }

/* ---------- BAND WRAPPERS ---------- */
.band { padding: 110px 0; }
.band-ivory { background: var(--ivory); color: var(--charcoal); }
.band-navy { background: var(--navy); color: var(--ivory); }
.band-deep { background: var(--navy-deep); color: var(--ivory); }

/* ============================================================
   1. HERO
   ============================================================ */
.hero {
  background: var(--navy-deep);
  color: var(--ivory);
  padding: 150px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(1000px 500px at 80% -5%, rgba(194,161,92,0.10), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.08;
  letter-spacing: 0.005em;
}
.hero-sub {
  color: rgba(246,242,233,0.78);
  font-size: 17px;
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media {
  position: relative;
  aspect-ratio: 4 / 3.4;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  border: 1px solid rgba(194,161,92,0.2);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   2. WHO WE HELP
   ============================================================ */
.who .band-title { margin-bottom: 60px; }
.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--gray-line);
}
.who-card {
  padding: 40px 28px 40px 0;
  border-right: 1px solid var(--gray-line);
}
.who-card:last-child { border-right: none; }
.who-card { padding-left: 28px; }
.who-card:first-child { padding-left: 0; }
.who-num {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--gold);
  margin-bottom: 16px;
}
.who-card h3 { font-size: 19px; font-weight: 600; margin-bottom: 12px; letter-spacing: 0.01em; }
.who-card p { color: var(--gray); font-size: 15px; }

/* ---------- SPLIT HEAD (problems / design) ---------- */
.split-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}
.split-lead { color: rgba(246,242,233,0.7); font-size: 16px; line-height: 1.75; }
.split-lead.dark { color: var(--gray); }

/* ============================================================
   3. PROBLEMS WE SOLVE
   ============================================================ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(246,242,233,0.1);
  border: 1px solid rgba(246,242,233,0.1);
}
.problem-item {
  background: var(--navy);
  padding: 38px 32px;
  transition: background 0.25s ease;
}
.problem-item:hover { background: var(--navy-soft); }
.p-index { font-family: var(--serif); font-size: 20px; color: var(--gold); }
.problem-item h3 { font-size: 19px; font-weight: 600; margin: 14px 0 10px; color: var(--ivory); }
.problem-item p { color: rgba(246,242,233,0.66); font-size: 15px; }

/* ============================================================
   4. SERVICES
   ============================================================ */
.services-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 56px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  padding: 38px 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 45px rgba(15,30,51,0.10); }
.svc-icon { display: inline-flex; color: var(--gold); margin-bottom: 22px; }
.svc-icon svg { width: 40px; height: 40px; }
.service-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; letter-spacing: 0.01em; }
.service-card p { color: var(--gray); font-size: 15px; }
.svc-callout {
  background: var(--navy);
  border-color: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.svc-callout h3 { color: var(--ivory); }
.svc-callout p { color: rgba(246,242,233,0.72); margin-bottom: 18px; }

/* ============================================================
   5. PROPERTY AUDIT
   ============================================================ */
.audit-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.audit-lead { color: rgba(246,242,233,0.78); font-size: 16.5px; line-height: 1.75; margin: 24px 0 30px; }
.audit-list {
  list-style: none;
  padding: 0; margin: 0 0 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}
.audit-list li {
  position: relative;
  padding-left: 26px;
  color: rgba(246,242,233,0.85);
  font-size: 15px;
}
.audit-list li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 10px; height: 10px;
  border: 1.5px solid var(--gold);
  transform: rotate(45deg);
}
.audit-media { position: relative; }
.audit-media img {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  border: 1px solid rgba(194,161,92,0.25);
  box-shadow: 0 30px 70px rgba(0,0,0,0.4);
}
.audit-badge {
  position: absolute;
  bottom: -22px; left: -22px;
  background: var(--gold);
  color: var(--navy);
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.badge-num { font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1; }
.badge-label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 6px; font-weight: 600; }

/* ============================================================
   6. DESIGN CONSULTING
   ============================================================ */
.design .split-lead.dark { color: var(--gray); }
.design-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--gray-line);
}
.design-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 8px;
  border-bottom: 1px solid var(--gray-line);
  font-size: 16px;
  font-weight: 500;
  color: var(--charcoal);
}
.design-item:nth-child(odd) { padding-right: 32px; }
.design-item:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--gray-line); }
.d-tick {
  flex: none;
  width: 9px; height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ============================================================
   7. APPROACH
   ============================================================ */
.approach-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
}
.approach-lead { color: rgba(246,242,233,0.72); font-size: 16px; line-height: 1.75; margin-top: 24px; }
.approach-media {
  margin-top: 40px;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border: 1px solid rgba(194,161,92,0.2);
}
.approach-media img { width: 100%; height: 100%; object-fit: cover; }
.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(246,242,233,0.1);
  border: 1px solid rgba(246,242,233,0.1);
  align-self: start;
}
.step { background: var(--navy); padding: 40px 34px; }
.step-num {
  font-family: var(--serif);
  font-size: 40px;
  color: rgba(194,161,92,0.85);
  display: block;
  margin-bottom: 18px;
  line-height: 1;
}
.step h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; letter-spacing: 0.06em; text-transform: uppercase; font-size: 15px; }
.step p { color: rgba(246,242,233,0.68); font-size: 15px; }

/* ============================================================
   8. ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.about-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--gray-line);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-copy .band-title { margin-bottom: 24px; }
.about-copy p { color: var(--gray); font-size: 16px; margin-bottom: 18px; max-width: 560px; }
.signoff { margin-top: 30px; display: flex; flex-direction: column; }
.sign-name { font-family: var(--serif); font-size: 26px; color: var(--charcoal); }
.sign-title { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-top: 6px; }

/* ============================================================
   9. CTA + STATS
   ============================================================ */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.cta-copy p { color: rgba(246,242,233,0.7); font-size: 16px; margin: 18px 0 30px; }
.cta-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-left: 1px solid rgba(246,242,233,0.14);
}
.stat { padding: 8px 26px; border-right: 1px solid rgba(246,242,233,0.14); }
.stat:last-child { border-right: none; }
.stat-num { font-family: var(--serif); font-size: 26px; color: var(--gold); display: block; line-height: 1.15; }
.stat-num span { color: var(--gold); }
.stat-label { font-size: 13px; color: rgba(246,242,233,0.7); font-style: italic; }

/* ============================================================
   10. CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-copy p { color: var(--gray); font-size: 16px; margin: 20px 0 30px; max-width: 460px; }
.contact-lines { display: flex; flex-direction: column; gap: 14px; }
.contact-line {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--charcoal);
  border-bottom: 1px solid var(--gray-line);
  padding-bottom: 12px;
  transition: color 0.2s ease;
}
.contact-line:hover { color: var(--gold); }

.contact-form { background: var(--white); border: 1px solid var(--gray-line); padding: 40px; }
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--gray-line);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--charcoal);
  transition: border-color 0.2s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; }
.hidden { display: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-deep); color: var(--ivory); padding: 64px 0 28px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(246,242,233,0.1);
  flex-wrap: wrap;
}
.footer-tag { color: rgba(246,242,233,0.6); font-size: 14px; margin-top: 18px; max-width: 320px; }
.footer-nav { display: flex; gap: 30px; flex-wrap: wrap; }
.footer-nav a { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(246,242,233,0.75); }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 26px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: rgba(246,242,233,0.5);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .band { padding: 80px 0; }
  .hero { padding: 128px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: 560px; }
  .who-grid { grid-template-columns: 1fr 1fr; }
  .who-card { border-right: none; padding: 32px 20px !important; border-bottom: 1px solid var(--gray-line); }
  .who-card:nth-child(odd) { border-right: 1px solid var(--gray-line); }
  .split-head { grid-template-columns: 1fr; gap: 24px; }
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .services-head { flex-direction: column; align-items: flex-start; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .audit-grid, .approach-grid, .about-grid, .cta-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-media { max-width: 420px; }
  .cta-stats { border-left: none; border-top: 1px solid rgba(246,242,233,0.14); padding-top: 24px; }
}

@media (max-width: 900px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 620px) {
  .container { padding: 0 22px; }
  .hide-mobile { display: none; }
  .who-grid { grid-template-columns: 1fr; }
  .who-card, .who-card:nth-child(odd) { border-right: none !important; padding: 28px 0 !important; }
  .problem-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .audit-list { grid-template-columns: 1fr; }
  .design-grid { grid-template-columns: 1fr; }
  .design-item:nth-child(even) { padding-left: 8px; border-left: none; }
  .design-item:nth-child(odd) { padding-right: 8px; }
  .steps { grid-template-columns: 1fr; }
  .cta-stats { grid-template-columns: 1fr; gap: 1px; background: rgba(246,242,233,0.14); }
  .stat { background: var(--navy-deep); border-right: none; padding: 18px 0; }
  .contact-form { padding: 28px 22px; }
  .audit-badge { left: 0; }
}
