/* ============================================
   NettWork Global — Luxury Real Estate
   Palette: Ink black, gold, cream, warm white
   ============================================ */

:root {
  --ink: #0b0b0c;
  --ink-soft: #17181a;
  --ink-border: #26272a;
  --navy: #1a3a5c;           /* NettWork brand navy — matches logo */
  --navy-deep: #0e2440;      /* deeper navy for depth */
  --navy-soft: #2e4f77;      /* softer navy for borders/hover */
  --gold: #c8a96a;
  --gold-soft: #e6d3a3;
  --cream: #f5efe4;
  --cream-soft: #faf6ee;
  --muted: #8a8a8f;
  --line: rgba(200, 169, 106, 0.25);
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1240px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream-soft);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--gold); }

/* --------------------------- Typography --------------------------- */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1rem;
  display: inline-block;
}

.lede {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.5;
  color: var(--ink-soft);
  font-style: italic;
  font-weight: 400;
}

/* --------------------------- Layout --------------------------- */

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 6rem 0; }
section.tight { padding: 4rem 0; }

.section-head {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem auto;
}

/* --------------------------- Header / Nav --------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 12, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand-logo {
  height: 38px;
  width: auto;
  display: block;
}

.footer-logo {
  height: 48px;
  width: auto;
  display: block;
  margin-bottom: 1.2rem;
}

.nav-links {
  display: flex;
  gap: 2.4rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--cream);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
}

.nav-cta {
  background: var(--gold);
  color: var(--ink) !important;
  padding: 0.7rem 1.4rem;
  font-size: 0.78rem !important;
  letter-spacing: 0.14em !important;
}

.nav-cta:hover {
  background: var(--gold-soft);
  color: var(--ink) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.5rem;
  cursor: pointer;
}

/* --------------------------- Buttons --------------------------- */

.btn {
  display: inline-block;
  padding: 1rem 2.2rem;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
  color: var(--gold);
  font-family: var(--sans);
}

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

.btn-solid { background: var(--gold); color: var(--ink); }
.btn-solid:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }

.btn-light { color: var(--cream); border-color: var(--cream); }
.btn-light:hover { background: var(--cream); color: var(--ink); }

/* --------------------------- Hero --------------------------- */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: var(--cream);
  background-image: url('hero-bg-web.jpg');
  background-size: cover;
  background-position: center 40%;
  overflow: hidden;
}

.hero::before {
  /* Dark gradient overlay so the hero text remains legible over the photo */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(11,11,12,0.78) 0%, rgba(14,36,64,0.55) 55%, rgba(11,11,12,0.35) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Page-specific hero background photos */
.hero.hero-careers {
  background-image: url('careers-hero-web.jpg');
  background-position: center center;
}

.hero.hero-reviews {
  background-image: url('reviews-hero-web.jpg');
  background-position: center center;
}

/* Slightly darker overlay for the reviews hero since the photo is already high-contrast B&W */
.hero.hero-reviews::before {
  background:
    linear-gradient(135deg, rgba(11,11,12,0.72) 0%, rgba(14,36,64,0.6) 55%, rgba(11,11,12,0.55) 100%);
}

.hero.hero-agents {
  background-image: url('agents-hero-web.jpg');
  background-position: center 60%;
}

.hero.hero-values {
  background-image: url('values-hero-web.jpg');
  background-position: center 65%;
}

.hero.hero-flat-fee {
  background-image: url('flat-fee-hero-web.jpg');
  background-position: center right;
}

/* Flat-fee hero photo is a bright minimalist space. The overlay gradients from
   dark-opaque on the left (where text sits) to transparent on the right so the
   clean staircase architecture reads through. */
.hero.hero-flat-fee::before {
  background:
    linear-gradient(90deg,
      rgba(11,11,12,0.88) 0%,
      rgba(14,36,64,0.78) 30%,
      rgba(14,36,64,0.45) 60%,
      rgba(11,11,12,0.15) 100%);
}

.hero.hero-contact {
  background-image: url('contact-hero-web.jpg');
  background-position: center center;
}

/* Office interior has warm wood tones. Slightly warmer overlay to preserve
   the welcoming light while keeping the hero text legible. */
.hero.hero-contact::before {
  background:
    linear-gradient(135deg, rgba(11,11,12,0.82) 0%, rgba(26,58,92,0.6) 55%, rgba(11,11,12,0.45) 100%);
}

/* Cityscape SVG sits at the bottom, layered between background and text */
.hero-bg-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg-art svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

/* old hero pattern removed in favor of cityscape backdrop */

.hero-inner { max-width: 820px; }

.hero h1 {
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  color: var(--gold);
  font-style: italic;
}

.hero-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  color: var(--cream);
  opacity: 0.85;
  margin-bottom: 2.5rem;
  max-width: 620px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-meta {
  position: absolute;
  bottom: 2.5rem;
  right: 2rem;
  z-index: 2;
  text-align: right;
  color: var(--cream);
  opacity: 0.55;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.page-hero {
  min-height: 44vh;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* --------------------------- Stats strip --------------------------- */

.stats {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--cream);
  padding: 3rem 0;
  border-top: 1px solid var(--navy-soft);
  border-bottom: 1px solid var(--navy-soft);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-num {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* --------------------------- Agent cards --------------------------- */

.agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
}

.agent-card {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
}

.agent-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -20px rgba(11,11,12,0.2);
}

.agent-photo {
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 4rem;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.agent-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11,11,12,0.35));
}

.agent-body {
  padding: 1.8rem;
  text-align: center;
}

.agent-body h3 { margin-bottom: 0.3rem; }

.agent-title {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.agent-bio {
  font-size: 0.92rem;
  color: var(--ink-soft);
  opacity: 0.85;
  margin-bottom: 1.2rem;
}

.agent-meta {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}

/* Photo color variants */
.c1 { background: linear-gradient(135deg, #2c2a28 0%, #4a3f33 100%); }
.c2 { background: linear-gradient(135deg, #3d3528 0%, #6a5538 100%); }
.c3 { background: linear-gradient(135deg, #1f1e1c 0%, #3a352c 100%); }
.c4 { background: linear-gradient(135deg, #4a3a2c 0%, #6e5a40 100%); }
.c5 { background: linear-gradient(135deg, #2a2520 0%, #54453a 100%); }
.c6 { background: linear-gradient(135deg, #362d24 0%, #5c4a38 100%); }
.c7 { background: linear-gradient(135deg, #221f1b 0%, #463c2e 100%); }
.c8 { background: linear-gradient(135deg, #4e402c 0%, #6f5a3c 100%); }

/* --------------------------- Values --------------------------- */

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.value-card {
  padding: 3rem 2.2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream-soft);
  transition: background 0.3s ease;
}

.value-card:hover { background: white; }

.value-num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  display: block;
}

.value-card h3 { margin-bottom: 1rem; }

.value-card p {
  color: var(--ink-soft);
  opacity: 0.85;
  font-size: 0.96rem;
}

/* --------------------------- Two-column split --------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-visual {
  aspect-ratio: 4 / 5;
  background: var(--cream-soft);
  border-top: 4px solid var(--gold);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.split-visual::before {
  display: none;
}

.split-visual::after {
  content: "";
  width: 78%;
  aspect-ratio: 851 / 315;
  background-image: url('other-logo-navy.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  z-index: 2;
}

/* --------------------------- Testimonials --------------------------- */

.testimonial {
  background: white;
  padding: 3rem 2.5rem;
  border: 1px solid rgba(0,0,0,0.06);
  position: relative;
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: -10px;
  left: 1.5rem;
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--gold);
  line-height: 1;
}

.testimonial-text {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--ink);
  margin: 1rem 0 1.8rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 600;
}

.testimonial-author h4 { font-family: var(--sans); font-size: 0.95rem; margin-bottom: 0.1rem; }
.testimonial-author span { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-featured {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--cream);
  padding: 5rem 3rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.testimonial-featured .testimonial-text {
  color: var(--cream);
  font-size: 1.6rem;
}

.testimonial-featured::before { color: var(--gold); left: 50%; transform: translateX(-50%); top: 1rem; }

/* --------------------------- CTA band --------------------------- */

.cta-band {
  background: var(--ink);
  color: var(--cream);
  padding: 5rem 0;
  text-align: center;
  position: relative;
}

.cta-band h2 { color: var(--cream); margin-bottom: 1.2rem; }
.cta-band p { opacity: 0.8; max-width: 620px; margin: 0 auto 2rem; }

/* --------------------------- Careers / Recruit --------------------------- */

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.benefit {
  padding: 2rem;
  background: white;
  border-top: 2px solid var(--gold);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.benefit h3 { margin-bottom: 0.8rem; font-size: 1.3rem; }
.benefit p { color: var(--ink-soft); font-size: 0.94rem; opacity: 0.9; }

.process-list {
  list-style: none;
  counter-reset: step;
  max-width: 780px;
  margin: 0 auto;
}

.process-list li {
  counter-increment: step;
  padding: 2rem 0 2rem 5rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.process-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2rem;
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--gold);
  font-style: italic;
}

.process-list h3 { margin-bottom: 0.5rem; }
.process-list p { color: var(--ink-soft); opacity: 0.85; }

/* --------------------------- Forms --------------------------- */

.form {
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  gap: 1.4rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(11,11,12,0.15);
  background: white;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.25s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.field textarea { resize: vertical; min-height: 140px; }

/* --------------------------- Contact info --------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-item {
  text-align: center;
  padding: 2rem 1rem;
}

.contact-item h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.contact-item p {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--ink);
}

/* --------------------------- Footer --------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  color: var(--cream);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.footer-brand p {
  opacity: 0.7;
  max-width: 360px;
  font-size: 0.92rem;
}

.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; font-size: 0.92rem; opacity: 0.85; }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--ink-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  opacity: 0.6;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --------------------------- Utility --------------------------- */

.bg-ink { background: var(--ink); color: var(--cream); }
.bg-ink h2, .bg-ink h3 { color: var(--cream); }
.bg-navy { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--cream); }
.bg-navy h2, .bg-navy h3 { color: var(--cream); }
.bg-cream { background: var(--cream); }
.bg-white { background: white; }

.text-center { text-align: center; }


/* --------------------------- Compliance bar --------------------------- */

.member-row {
  margin-top: 3rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--ink-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.8rem 2rem;
  text-align: center;
  color: var(--cream);
}

.member-label {
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.member-items {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  opacity: 0.85;
}

.member-logo {
  height: 56px;
  width: auto;
  display: block;
  opacity: 0.92;
}

@media (max-width: 760px) {
  .member-logo { height: 48px; }
}

.member-items .dot {
  color: var(--gold);
  margin: 0 0.6rem;
  opacity: 0.7;
}

.member-items sup {
  font-size: 0.62em;
  vertical-align: super;
  opacity: 0.8;
}

@media (max-width: 760px) {
  .member-row {
    flex-direction: column;
    gap: 0.8rem;
  }
  .member-items { font-size: 0.95rem; }
}


.compliance-bar {
  margin-top: 0;
  padding-top: 1.8rem;
  border-top: 1px solid var(--ink-border);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
}

.compliance-eho {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--cream);
  opacity: 0.8;
}

.compliance-eho svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.compliance-eho-text {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.compliance-license {
  font-size: 0.78rem;
  color: var(--cream);
  opacity: 0.75;
  line-height: 1.55;
}
.compliance-license > div { margin-bottom: 0.25rem; }
.compliance-license > div:last-child { margin-bottom: 0; }
.compliance-license strong { color: var(--cream); opacity: 1; }

.compliance-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.78rem;
  color: var(--cream);
  opacity: 0.7;
}

.compliance-links a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(245,239,228,0.2);
  padding-bottom: 1px;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.compliance-links a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

@media (max-width: 760px) {
  .compliance-bar {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    text-align: center;
  }
  .compliance-eho {
    justify-content: center;
  }
  .compliance-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Disclaimer pill (used under calculator and Growth Share section) */
.disclaimer {
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  font-size: 0.78rem;
  color: rgba(245,239,228,0.65);
  font-style: italic;
  line-height: 1.55;
  border-left: 2px solid rgba(200,169,106,0.4);
  background: rgba(0,0,0,0.15);
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.disclaimer-light {
  color: var(--ink-soft);
  background: rgba(0,0,0,0.03);
  border-left-color: var(--gold);
}

/* EEO statement on careers page */
.eeo-statement {
  text-align: center;
  margin: 2.5rem auto 0;
  max-width: 720px;
  padding: 1.5rem;
  font-size: 0.85rem;
  color: rgba(245,239,228,0.75);
  line-height: 1.6;
  font-style: italic;
}

/* Utility page (privacy, terms, accessibility) styling */
.utility-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 0 4rem;
}
.utility-page h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
}
.utility-page h2:first-child { margin-top: 0; }
.utility-page p, .utility-page li {
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.utility-page ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.utility-page strong { color: var(--ink); }

.draft-banner {
  background: rgba(200,169,106,0.15);
  border: 1px solid rgba(200,169,106,0.5);
  padding: 1.2rem 1.5rem;
  margin-bottom: 3rem;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.5;
}
.draft-banner strong {
  color: var(--ink);
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Two-path connect section on Careers page */
.connect-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1020px;
  margin: 0 auto 3rem;
}
.connect-option {
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(200, 169, 106, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  text-align: center;
}
.connect-option-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.connect-option h3 {
  color: var(--cream);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.connect-option p {
  color: rgba(245, 239, 228, 0.8);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* --------------------------- Markets Scroll Band --------------------------- */

.markets-band {
  background: var(--ink);
  color: var(--cream);
  padding: 5rem 0 5rem;
  overflow: hidden;
}

.markets-intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3rem;
}

.markets-intro h2 { color: var(--cream); }
.markets-intro p { opacity: 0.8; }

.markets-scroll-wrap {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.markets-scroll {
  display: flex;
  gap: 1.2rem;
  width: max-content;
  animation: markets-scroll 70s linear infinite;
}

.markets-scroll:hover {
  animation-play-state: paused;
}

@keyframes markets-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.market-slide {
  width: 360px;
  height: 240px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(200, 169, 106, 0.15);
}

.market-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(11,11,12,0.75) 100%);
  pointer-events: none;
}

.market-slide-label {
  position: absolute;
  bottom: 1.2rem;
  left: 1.4rem;
  color: var(--cream);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

@media (max-width: 760px) {
  .market-slide { width: 260px; height: 180px; }
  .market-slide-label { font-size: 1.05rem; bottom: 0.8rem; left: 1rem; }
  .markets-band { padding: 3.5rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  .markets-scroll { animation: none; }
}

/* --------------------------- National Vision Section --------------------------- */

.vision-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1020px;
  margin: 0 auto 3rem;
  padding: 3.5rem 2rem;
  background: var(--cream-soft);
  border-top: 3px solid var(--gold);
}

.vision-pillar {
  text-align: center;
}

.vision-number {
  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 0.9;
  margin-bottom: 0.8rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.vision-number.gold { color: var(--gold); }
.vision-number.navy { color: var(--navy); }

.vision-label {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 1.4rem;
}

.vision-markets {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 420px;
  margin: 0 auto;
}

.vision-divider {
  width: 1px;
  height: 180px;
  background: linear-gradient(180deg, transparent 0%, rgba(200,169,106,0.5) 50%, transparent 100%);
}

@media (max-width: 760px) {
  .vision-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem 1.5rem;
  }
  .vision-divider {
    width: 120px;
    height: 1px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent 0%, rgba(200,169,106,0.5) 50%, transparent 100%);
  }
}

/* Expansion CTA below */
.expansion-cta {
  max-width: 780px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--cream);
  text-align: center;
  border-top: 3px solid var(--gold);
}
.expansion-cta h3 {
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin: 0.8rem 0 1rem;
}
.expansion-cta p {
  opacity: 0.88;
  margin-bottom: 1.8rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------- Responsive --------------------------- */

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--ink-border);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: block; }
  .brand-logo { height: 30px; }

  .connect-split { grid-template-columns: 1fr; }

  .footer-logo { height: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 4rem 0; }
}

@media (max-width: 520px) {
  .container { padding: 0 1.2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .testimonial-featured { padding: 3rem 1.5rem; }
  .testimonial-featured .testimonial-text { font-size: 1.25rem; }
}

/* ============================================================
   BLOG
   ============================================================ */

/* Blog index hero */
.blog-hero {
  background: var(--ink);
  color: var(--cream);
  padding: 7rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(26, 58, 92, 0.35), transparent 60%),
              radial-gradient(ellipse at 80% 80%, rgba(200, 169, 106, 0.12), transparent 55%);
  pointer-events: none;
}
.blog-hero .container { position: relative; z-index: 2; }
.blog-hero .eyebrow { color: var(--gold); }
.blog-hero h1 { color: var(--cream); max-width: 920px; }
.blog-hero p.lede {
  color: rgba(245, 239, 228, 0.78);
  max-width: 680px;
  margin-top: 1.4rem;
  font-style: normal;
  font-family: var(--sans);
  font-size: 1.1rem;
  line-height: 1.65;
}

/* Category chips */
.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.blog-chip {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 500;
  transition: all 0.25s ease;
}
.blog-chip:hover { color: var(--gold); border-color: var(--gold); }
.blog-chip.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* Featured post */
.blog-featured {
  background: var(--cream-soft);
  padding: 5rem 0;
}
.blog-featured-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  padding: 0;
  overflow: hidden;
}
.blog-featured-image {
  height: 100%;
  min-height: 380px;
  background-size: cover;
  background-position: center;
}
.blog-featured-body { padding: 3rem; }
.blog-featured-body .eyebrow { color: var(--gold); }
.blog-featured-body h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: 1rem; }
.blog-featured-body .post-meta-line {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.3rem;
}
.blog-featured-body p { color: var(--ink-soft); margin-bottom: 1.5rem; }

/* Post grid */
.blog-grid-section { padding: 5rem 0 7rem; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(11, 11, 12, 0.18);
}
.blog-card-image {
  height: 220px;
  background-size: cover;
  background-position: center;
}
.blog-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-meta {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
  font-weight: 500;
}
.blog-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  line-height: 1.25;
}
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--gold); }
.blog-card-excerpt {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}
.blog-card-readmore {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  align-self: flex-start;
}
.blog-card-readmore:hover { color: var(--gold); }

/* Individual post page */
.post-hero {
  background: var(--ink);
  color: var(--cream);
  padding: 7rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.post-hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.32;
  z-index: 0;
}
.post-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 12, 0.55) 0%, rgba(11, 11, 12, 0.85) 100%);
  z-index: 1;
}
.post-hero .container { position: relative; z-index: 2; }
.post-hero .eyebrow { color: var(--gold); }
.post-hero h1 {
  color: var(--cream);
  max-width: 920px;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  margin-bottom: 1.5rem;
}
.post-hero .post-meta-line {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 239, 228, 0.7);
}
.post-hero .post-meta-line .dot { margin: 0 0.8rem; color: var(--gold); }

/* Post body */
.post-body-section { padding: 5rem 0; background: var(--cream-soft); }
.post-body {
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--sans);
  font-size: 1.07rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.post-body > p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 3.6rem;
  font-weight: 500;
  float: left;
  line-height: 0.95;
  padding-right: 0.6rem;
  padding-top: 0.3rem;
  color: var(--gold);
}
.post-body p { margin-bottom: 1.5rem; }
.post-body h2 {
  font-family: var(--serif);
  font-size: 1.85rem;
  color: var(--ink);
  margin-top: 3rem;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.post-body h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ink);
  margin-top: 2.2rem;
  margin-bottom: 0.9rem;
  font-weight: 500;
}
.post-body ul, .post-body ol {
  margin: 0 0 1.5rem 1.5rem;
}
.post-body li { margin-bottom: 0.55rem; }
.post-body blockquote {
  margin: 2.5rem 0;
  padding: 1.8rem 2rem;
  border-left: 3px solid var(--gold);
  background: #fff;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--ink);
}
.post-body strong { color: var(--ink); font-weight: 600; }
.post-body a { color: var(--gold); border-bottom: 1px solid rgba(200, 169, 106, 0.4); }
.post-body a:hover { color: var(--ink); border-bottom-color: var(--ink); }

.post-callout {
  background: var(--ink);
  color: var(--cream);
  padding: 2rem 2.2rem;
  margin: 2.5rem 0;
  border-left: 4px solid var(--gold);
}
.post-callout strong { color: var(--gold); display: block; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 0.6rem; font-weight: 600; }
.post-callout p { color: rgba(245, 239, 228, 0.92); margin-bottom: 0; }
.post-callout .big-number {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--gold);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.post-math-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0 2.5rem;
  background: #fff;
  font-family: var(--sans);
  font-size: 0.95rem;
}
.post-math-table th,
.post-math-table td {
  padding: 0.95rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.post-math-table th {
  background: var(--ink);
  color: var(--cream);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.post-math-table td.num { font-variant-numeric: tabular-nums; font-weight: 500; color: var(--ink); }
.post-math-table tr:last-child td { border-bottom: none; }
.post-math-table tr:hover td { background: var(--cream-soft); }

/* Post CTA */
.post-cta-section {
  background: var(--ink);
  color: var(--cream);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.post-cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(26, 58, 92, 0.35), transparent 70%);
  pointer-events: none;
}
.post-cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.post-cta-inner .eyebrow { color: var(--gold); }
.post-cta-inner h2 { color: var(--cream); margin-bottom: 1.2rem; }
.post-cta-inner p { color: rgba(245, 239, 228, 0.8); margin-bottom: 2rem; }
.post-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Post navigation back to blog */
.post-back-bar {
  background: var(--cream-soft);
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}
.post-back-bar a {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.post-back-bar a:hover { color: var(--gold); }

/* Responsive */
@media (max-width: 880px) {
  .blog-featured-card { grid-template-columns: 1fr; }
  .blog-featured-image { min-height: 260px; }
  .blog-featured-body { padding: 2.2rem; }
  .post-body { padding: 0 0.2rem; }
  .post-body blockquote { padding: 1.4rem 1.5rem; font-size: 1.15rem; }
  .post-math-table { font-size: 0.85rem; }
  .post-math-table th, .post-math-table td { padding: 0.75rem 0.85rem; }
}
