/* The Ziegler Team — shared styles.
   Layout: full-width navy bands top and bottom, a 1200px content column, photo cards on a warm paper ground. */
:root {
  --navy: #0E2340;
  --navy-deep: #0A1A30;
  --navy-line: #5A6F91;
  --paper: #F6F5F2;
  --white: #FFFFFF;
  --ink: #1B1F27;
  --ink-2: #3A4150;
  --muted: #5A6478;
  --rule: #E3E1DB;
  --placeholder: #E9ECF2;
  --on-navy: #DCE3EE;
  --on-navy-2: #C9D3E3;
  --display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: #1F3F6B; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #7FA3D9; outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; text-wrap: balance; margin: 0; color: var(--navy); }
p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 500; }

/* Header */
.site-header { background: var(--navy); color: var(--white); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.brand { color: var(--white); text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.brand:hover { color: var(--white); }
.brand-name { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: 0.01em; }
.brand-sub { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-navy-2); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; font-size: 15px; }
.nav-links a { color: var(--white); text-decoration: none; padding-block: 6px; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--white); border-bottom-color: var(--on-navy-2); }
.nav-links a[aria-current="page"] { border-bottom-color: var(--white); }
.nav-links a.btn-light { border-bottom: 0; }

.btn-light, .btn-outline, .btn-navy { display: inline-block; text-decoration: none; padding: 14px 24px; border-radius: 4px; font-weight: 600; font-size: 16px; line-height: 1.2; font-family: var(--body); cursor: pointer; }
.btn-light { background: var(--white); color: var(--navy) !important; }
.btn-light:hover { background: var(--on-navy); }
.btn-outline { color: var(--white); border: 1px solid var(--white); font-weight: 500; }
.btn-outline:hover { color: var(--navy); background: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); border: 0; }
.btn-navy:hover { background: #1F3F6B; color: var(--white); }

/* Hero (home) */
.hero { background-color: var(--navy); background-image: url(images/hero-chicago.jpg); background-size: cover; background-position: center 35%; }
.hero-shade { background: rgba(10, 26, 48, 0.68); }
.hero-inner { padding-block: 140px 156px; display: flex; flex-direction: column; gap: 28px; max-width: 760px; }
.hero .eyebrow { color: var(--on-navy-2); }
.hero h1 { color: var(--white); font-size: clamp(40px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.01em; }
.hero p { font-size: 19px; color: var(--on-navy); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Page banner (inner pages) */
.banner { background: var(--navy); color: var(--white); border-top: 1px solid rgba(255,255,255,0.08); }
.banner-inner { padding-block: 64px 72px; display: flex; flex-direction: column; gap: 14px; }
.banner .eyebrow { color: var(--on-navy-2); }
.banner h1 { color: var(--white); font-size: clamp(36px, 5vw, 52px); line-height: 1.1; }
.banner p { color: var(--on-navy); font-size: 18px; max-width: 640px; }

/* Sections */
.section { padding-block: 96px; }
.section-white { background: var(--white); border-block: 1px solid var(--rule); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 24px; margin-bottom: 44px; }
.section-head > div { display: flex; flex-direction: column; gap: 12px; max-width: 680px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.15; }
.text-link { font-weight: 600; font-size: 16px; white-space: nowrap; }

/* Stats */
.stats { background: var(--white); border-bottom: 1px solid var(--rule); }
.stats-grid { padding-block: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 28px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat b { font-family: var(--display); font-size: 44px; font-weight: 600; color: var(--navy); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; color: var(--muted); }

/* Service cards */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.panel { background: var(--white); border: 1px solid var(--rule); border-radius: 4px; padding: 34px; display: flex; flex-direction: column; gap: 12px; }
.panel h3 { font-size: 26px; }
.panel p { color: var(--ink-2); line-height: 1.65; }

/* Deal cards */
.deal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.deal { background: var(--white); border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.deal img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--placeholder); }
.deal-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.deal-tag { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.deal-name { font-family: var(--display); font-size: 21px; font-weight: 600; color: var(--navy); line-height: 1.25; }
.deal-area { font-size: 15px; color: var(--ink-2); }
.deal-price { font-size: 18px; font-weight: 600; color: var(--ink); margin-top: auto; padding-top: 6px; font-variant-numeric: tabular-nums; }
.status { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 3px; background: #FBEBD3; color: #7A4A06; }

/* Team cards */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 24px; }
.person { background: var(--white); border: 1px solid var(--rule); border-radius: 4px; padding: 32px; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.person img { width: 150px; height: 184px; object-fit: cover; object-position: center top; border-radius: 4px; background: var(--placeholder); flex: none; }
.person-text { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.person h3 { font-size: 28px; }
.person .role { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.person p { color: var(--ink-2); line-height: 1.65; }
.person .contact-lines { font-size: 15px; color: var(--ink-2); display: flex; flex-direction: column; gap: 2px; padding-top: 6px; border-top: 1px solid var(--rule); margin-top: 4px; }

/* Contact / valuation */
.contact-band { background: var(--navy); color: var(--white); }
.contact-grid { padding-block: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 56px; align-items: start; }
.contact-copy { display: flex; flex-direction: column; gap: 20px; }
.contact-copy h2 { color: var(--white); font-size: clamp(32px, 4vw, 44px); line-height: 1.12; }
.contact-copy p, .contact-copy address { color: var(--on-navy); font-size: 17px; font-style: normal; }
.contact-copy a { color: var(--white); }
.contact-lines-navy { display: flex; flex-direction: column; gap: 6px; }
.form { background: var(--white); color: var(--ink); border-radius: 4px; padding: 34px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea, .field select { min-height: 48px; border: 1px solid #B9BFCB; border-radius: 4px; padding: 10px 14px; font-size: 16px; font-family: inherit; color: var(--ink); background: var(--white); width: 100%; }
.field textarea { min-height: 96px; resize: vertical; }
.form .btn-navy { height: 52px; }
.form-note { font-size: 13px; color: var(--muted); }
.hidden-field { position: absolute; left: -9999px; }

/* Closings table */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; margin-bottom: 20px; }
.toolbar .field { flex: 1 1 260px; }
.toolbar .field.narrow { flex: 0 1 220px; }
.count { font-size: 15px; color: var(--muted); margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.table-box { overflow-x: auto; background: var(--white); border: 1px solid var(--rule); border-radius: 4px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
th { text-align: left; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 14px 18px; border-bottom: 1px solid var(--rule); background: var(--paper); }
td { padding: 13px 18px; border-bottom: 1px solid var(--rule); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td .addr { font-weight: 600; color: var(--ink); }
td .hood { color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--on-navy-2); font-size: 14px; }
.footer-inner { padding-block: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.site-footer a { color: var(--on-navy-2); }

@media (max-width: 640px) {
  .section { padding-block: 64px; }
  .hero-inner { padding-block: 88px 96px; }
  .contact-grid { padding-block: 64px; }
  .person img { width: 120px; height: 147px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
