/* HB William & Co. — Professional Corporate Stylesheet
   Navy-led palette | Georgia display | Inter body */

:root {
  --navy-950: #06101f;
  --navy-900: #0a1a33;
  --navy-800: #0f2748;
  --navy-700: #15365f;
  --navy-600: #1c4a7a;
  --navy-500: #2a5f96;
  --sky-500: #4a7eb0;
  --sky-400: #6b9bc7;
  --sky-300: #94b8d6;
  --steel-200: #c5d2e0;
  --steel-100: #e8eef5;
  --bg: #f6f8fb;
  --bg-alt: #eef2f7;
  --white: #ffffff;
  --ink-900: #0d1320;
  --ink-800: #1a2436;
  --ink-700: #2c3a4f;
  --ink-500: #5a6a7e;
  --ink-400: #7a8a9e;
  --line: #dce3ec;
  --line-dark: rgba(255, 255, 255, 0.12);
  --accent: #1c4a7a;
  --success: #2d6a4f;

  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;

  --maxw: 1200px;
  --radius: 4px;
  --shadow-sm: 0 1px 3px rgba(10, 26, 51, 0.06);
  --shadow-md: 0 4px 20px rgba(10, 26, 51, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 26, 51, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink-900);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.65;
}
img, svg { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color 0.2s, opacity 0.2s; }
h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  color: var(--navy-900);
  line-height: 1.25;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select {
  font-family: inherit;
  font-size: 15px;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--sky-500);
  outline-offset: 2px;
}

/* ========== Utility Bar ========== */
.utility-bar {
  background: var(--navy-950);
  color: var(--steel-200);
  font-size: 13px;
  letter-spacing: 0.01em;
}
.utility-bar .wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 10px 28px;
  gap: 24px;
}
.utility-bar a { color: var(--steel-200); }
.utility-bar a:hover { color: #fff; }
.utility-left { display: flex; gap: 24px; align-items: center; }
.utility-right { display: flex; gap: 20px; align-items: center; }

/* ========== Header ========== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  gap: 32px;
}
.logo {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy-900);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo strong { font-weight: 700; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-700);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--navy-700); background: var(--bg-alt); }
.nav-links a.active { color: var(--navy-900); font-weight: 600; }
.nav-cta {
  background: var(--navy-900) !important;
  color: #fff !important;
  padding: 10px 20px !important;
  margin-left: 8px;
}
.nav-cta:hover { background: var(--navy-700) !important; color: #fff !important; }
.nav-toggle {
  display: none;
  font-size: 24px;
  color: var(--navy-900);
  padding: 4px;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  border: 1.5px solid transparent;
  letter-spacing: 0.01em;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--navy-900);
  color: #fff;
}
.btn-primary:hover { background: var(--navy-700); }
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-outline-dark {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--navy-900);
}
.btn-outline-dark:hover { background: var(--navy-900); color: #fff; }
.btn-light {
  background: #fff;
  color: var(--navy-900);
}
.btn-light:hover { background: var(--steel-100); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }

/* ========== Eyebrow ========== */
.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky-500);
  margin-bottom: 12px;
  display: inline-block;
  font-weight: 500;
}
.eyebrow--light { color: var(--sky-300); }

/* ========== Hero ========== */
.hero {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 72px 0 80px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.hero h1 {
  color: #fff;
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero .lead {
  font-size: 18px;
  color: var(--steel-200);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 580px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.figures {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}
.figure .val {
  font-family: var(--serif);
  font-size: 28px;
  color: #fff;
  margin-bottom: 4px;
}
.figure .lbl {
  font-size: 13px;
  color: var(--sky-300);
  letter-spacing: 0.02em;
}
.hero-bg-img {
  position: absolute;
  right: 0;
  bottom: 0;
  top: 0;
  width: 45%;
  object-fit: cover;
  opacity: 0.25;
  mask-image: linear-gradient(to left, rgba(0,0,0,0.7), transparent);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.7), transparent);
}

/* Page hero (subpages) */
.page-hero {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: #fff;
  padding: 56px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 14px;
}
.page-hero .lead {
  color: var(--steel-200);
  font-size: 17px;
  max-width: 620px;
  line-height: 1.7;
}

/* ========== Sections ========== */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-white { background: var(--white); }
.section-alt { background: var(--bg-alt); }
.section-navy {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  color: #fff;
}
.section-navy h2, .section-navy h3 { color: #fff; }
.section-header {
  margin-bottom: 44px;
  max-width: 640px;
}
.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-header h2 {
  font-size: clamp(26px, 3.5vw, 34px);
  margin-bottom: 12px;
}
.section-header p {
  color: var(--ink-500);
  font-size: 16.5px;
  line-height: 1.7;
}
.section-navy .section-header p { color: var(--steel-200); }

/* ========== Cards ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px 26px;
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--sky-300);
  transform: translateY(-2px);
}
.card--dark {
  background: rgba(255,255,255,0.06);
  border-color: var(--line-dark);
  color: #fff;
}
.card--dark:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
}
.card--dark h3 { color: #fff; }
.card--dark p { color: var(--steel-200); }
.card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: var(--navy-600);
}
.card--dark .card-icon { color: var(--sky-300); }
.card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  font-family: var(--serif);
}
.card p {
  font-size: 14.5px;
  color: var(--ink-500);
  line-height: 1.65;
  flex-grow: 1;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-700);
}
.card-link:hover { color: var(--navy-500); }
.card--dark .card-link { color: var(--sky-300); }

/* ========== Two column ========== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.two-col.top { align-items: start; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ========== Process steps ========== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding-top: 8px;
}
.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--sky-500);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 12px;
}
.process-step h4 {
  font-size: 17px;
  margin-bottom: 8px;
  font-family: var(--serif);
}
.process-step p {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.6;
}
.section-navy .process-step h4 { color: #fff; }
.section-navy .process-step p { color: var(--steel-200); }
.section-navy .process-step::before { color: var(--sky-300); }

/* ========== Stats bar ========== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item .num {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--navy-900);
  margin-bottom: 6px;
}
.stat-item .label {
  font-size: 13.5px;
  color: var(--ink-500);
  letter-spacing: 0.02em;
}
.section-navy .stat-item .num { color: #fff; }
.section-navy .stat-item .label { color: var(--sky-300); }

/* ========== Property types ========== */
.prop-types {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.prop-tag {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-700);
}
.section-navy .prop-tag {
  background: rgba(255,255,255,0.08);
  border-color: var(--line-dark);
  color: var(--steel-200);
}

/* ========== Image blocks ========== */
.img-block {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  background: var(--navy-800);
  position: relative;
}
.img-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,16,31,0.7), transparent 50%);
}

/* ========== CTA band ========== */
.cta-band {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  padding: 64px 0;
  text-align: center;
  color: #fff;
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(24px, 3.5vw, 32px);
  margin-bottom: 12px;
}
.cta-band p {
  color: var(--steel-200);
  max-width: 520px;
  margin: 0 auto 28px;
  font-size: 16.5px;
}
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ========== Footer ========== */
.site-footer {
  background: var(--navy-950);
  color: var(--steel-200);
  padding: 56px 0 0;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand .logo {
  color: #fff;
  font-size: 20px;
  margin-bottom: 14px;
  display: block;
}
.footer-brand p {
  color: var(--steel-200);
  line-height: 1.65;
  max-width: 280px;
  margin-bottom: 20px;
}
.footer-col h4 {
  color: #fff;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: var(--steel-200); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 13px;
  color: var(--ink-400);
  flex-wrap: wrap;
  gap: 12px;
}

/* ========== Forms ========== */
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-700);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink-900);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--sky-500);
  box-shadow: 0 0 0 3px rgba(74, 126, 176, 0.15);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ========== Contact layout ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}
.contact-info-card {
  background: var(--navy-900);
  color: #fff;
  border-radius: 8px;
  padding: 36px 32px;
}
.contact-info-card h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 20px;
}
.contact-info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  align-items: flex-start;
}
.contact-info-item svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--sky-300);
  margin-top: 2px;
}
.contact-info-item strong {
  display: block;
  font-size: 13px;
  color: var(--sky-300);
  margin-bottom: 2px;
  font-weight: 500;
}
.contact-info-item span, .contact-info-item a {
  color: #fff;
  font-size: 15px;
}

/* ========== About values ========== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-card {
  text-align: center;
  padding: 32px 24px;
}
.value-card .icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  background: var(--bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-700);
}
.value-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.value-card p {
  font-size: 14.5px;
  color: var(--ink-500);
}

/* ========== Insights / list ========== */
.insight-list { display: flex; flex-direction: column; gap: 0; }
.insight-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.insight-item:first-child { border-top: 1px solid var(--line); }
.insight-date {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-400);
  letter-spacing: 0.04em;
}
.insight-item h4 {
  font-size: 17px;
  font-family: var(--serif);
  margin-bottom: 4px;
}
.insight-item p {
  font-size: 14px;
  color: var(--ink-500);
  margin: 0;
}
.insight-arrow {
  color: var(--navy-600);
  font-size: 18px;
}

/* ========== Market cycle chart (CSS) ========== */
.cycle-chart {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.cycle-phase {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  padding: 20px 16px;
  text-align: center;
}
.cycle-phase.active {
  background: rgba(74, 126, 176, 0.2);
  border-color: var(--sky-400);
}
.cycle-phase .phase-name {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky-300);
  margin-bottom: 8px;
}
.cycle-phase .phase-desc {
  font-size: 13px;
  color: var(--steel-200);
  line-height: 1.5;
}

/* ========== Responsive ========== */
@media (max-width: 960px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col.reverse { direction: ltr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .insight-item { grid-template-columns: 1fr; gap: 6px; }
  .hero-bg-img { display: none; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 16px;
    box-shadow: var(--shadow-md);
    gap: 4px;
  }
  .nav-toggle { display: block; }
  .nav { position: relative; }
  .process-steps { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .utility-bar .wrap { justify-content: center; }
  .utility-left { display: none; }
  .hero { padding: 48px 0 56px; }
  .section { padding: 52px 0; }
  .cycle-chart { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 18px; }
  .figures { gap: 24px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
}

/* ========== Dropdown nav (corporate mega-style) ========== */
.nav-item {
  position: relative;
}
.nav-item > a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-700);
  padding: 8px 14px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-item > a:hover,
.nav-item:hover > a {
  color: var(--navy-700);
  background: var(--bg-alt);
}
.nav-item > a.active { color: var(--navy-900); font-weight: 600; }
.nav-item .chev {
  font-size: 10px;
  opacity: 0.6;
}
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  z-index: 200;
  margin-top: 0;
  padding-top: 10px;
}
/* Invisible bridge so cursor can move from trigger to menu without closing */
.nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  display: block;
}
.nav-links {
  list-style: none;
}
.dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--ink-700);
  font-weight: 500;
}
.dropdown a:hover {
  background: var(--bg-alt);
  color: var(--navy-900);
}
.dropdown .dd-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-400);
  padding: 8px 18px 4px;
}

/* ========== Team / people cards ========== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.25s;
}
.team-card:hover { box-shadow: var(--shadow-md); }
.team-photo {
  aspect-ratio: 1;
  background: linear-gradient(145deg, var(--navy-800), var(--navy-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky-300);
  font-family: var(--serif);
  font-size: 42px;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-body { padding: 20px 18px; }
.team-body h3 {
  font-size: 18px;
  margin-bottom: 4px;
}
.team-body .role {
  font-size: 13px;
  color: var(--sky-500);
  font-weight: 500;
  margin-bottom: 10px;
}
.team-body p {
  font-size: 13.5px;
  color: var(--ink-500);
  line-height: 1.55;
}

/* ========== Transaction / deal cards ========== */
.deal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.deal-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.2s;
}
.deal-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.deal-img {
  aspect-ratio: 16/10;
  background: var(--navy-800);
  overflow: hidden;
}
.deal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.deal-body { padding: 22px 20px; }
.deal-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky-500);
  margin-bottom: 8px;
}
.deal-body h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.deal-body p {
  font-size: 14px;
  color: var(--ink-500);
  margin-bottom: 14px;
}
.deal-stats {
  display: flex;
  gap: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.deal-stats span {
  font-size: 13px;
  color: var(--ink-700);
}
.deal-stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  color: var(--navy-900);
  font-weight: 400;
}

/* ========== Market region cards ========== */
.region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.region-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.region-card:hover {
  border-color: var(--sky-300);
  box-shadow: var(--shadow-sm);
}
.region-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.region-card p {
  font-size: 14px;
  color: var(--ink-500);
  margin-bottom: 12px;
}
.region-card ul {
  font-size: 13.5px;
  color: var(--ink-700);
}
.region-card ul li {
  padding: 3px 0;
  padding-left: 14px;
  position: relative;
}
.region-card ul li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--sky-500);
  font-weight: 700;
}

/* ========== Tabs ========== */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.tab-btn {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-500);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}
.tab-btn:hover { color: var(--navy-700); }
.tab-btn.active {
  color: var(--navy-900);
  border-bottom-color: var(--navy-700);
  font-weight: 600;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ========== Job listings ========== */
.job-list { display: flex; flex-direction: column; gap: 0; }
.job-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.job-item:first-child { border-top: 1px solid var(--line); }
.job-item h4 {
  font-size: 17px;
  font-family: var(--serif);
  margin-bottom: 4px;
}
.job-item .job-meta {
  font-size: 13.5px;
  color: var(--ink-500);
}
.job-loc {
  font-size: 13.5px;
  color: var(--ink-500);
  white-space: nowrap;
}
.job-type {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--bg-alt);
  padding: 6px 12px;
  border-radius: 100px;
  color: var(--ink-700);
  white-space: nowrap;
}

/* ========== Breadcrumb ========== */
.breadcrumb {
  font-size: 13px;
  color: var(--steel-200);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--sky-300); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: 0.5; margin: 0 6px; }

/* ========== Stat highlight row ========== */
.highlight-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 36px 28px;
  text-align: center;
}
.highlight-stats .hs-num {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--navy-900);
  margin-bottom: 4px;
}
.highlight-stats .hs-label {
  font-size: 13px;
  color: var(--ink-500);
}

@media (max-width: 960px) {
  .highlight-stats { grid-template-columns: repeat(2, 1fr); }
  .job-item { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 720px) {
  .dropdown {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 12px;
    background: transparent;
  }
  .nav-item.open .dropdown { display: block; }
  .nav-item > a { width: 100%; }
  .highlight-stats { grid-template-columns: 1fr 1fr; gap: 20px; padding: 24px 16px; }
}

/* ========== Charts & data viz ========== */
.chart-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 24px;
}
.chart-block h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.chart-note {
  font-size: 12px;
  color: var(--ink-400);
  margin-bottom: 20px;
  font-style: italic;
}
.bar-chart { display: flex; flex-direction: column; gap: 14px; }
.bar-row {
  display: grid;
  grid-template-columns: 140px 1fr 40px;
  gap: 12px;
  align-items: center;
}
.bar-label { font-size: 13.5px; color: var(--ink-700); font-weight: 500; }
.bar-track {
  height: 12px;
  background: var(--bg-alt);
  border-radius: 6px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--navy-700), var(--sky-500));
  border-radius: 6px;
  transition: width 0.8s ease;
}
.bar-val { font-family: var(--mono); font-size: 12px; color: var(--ink-500); text-align: right; }

.stack-chart {
  display: flex;
  height: 36px;
  border-radius: 6px;
  overflow: hidden;
  margin: 16px 0 12px;
}
.stack-seg { display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; color: #fff; }
.stack-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: var(--ink-500);
}
.stack-legend span::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  margin-right: 6px;
  vertical-align: middle;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.metric-card {
  background: var(--bg-alt);
  border-radius: 6px;
  padding: 20px 16px;
  text-align: center;
}
.metric-card .m-val {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--navy-900);
  margin-bottom: 4px;
}
.metric-card .m-label {
  font-size: 12.5px;
  color: var(--ink-500);
  line-height: 1.4;
}

@media (max-width: 720px) {
  .bar-row { grid-template-columns: 100px 1fr 36px; }
  .metric-row { grid-template-columns: 1fr; }
}
