:root {
  --ink: #10232e;
  --navy: #0a2a37;
  --deep: #061722;
  --slate: #526774;
  --muted: #f1f6f5;
  --line: #d5e0e2;
  --teal: #00818c;
  --teal-dark: #006a73;
  --gold: #b7802f;
  --sage: #607462;
  --max-width: 1180px;
}

* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #f8fbfa;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }

.site-header {
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(16, 34, 45, 0.1);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand { align-items: center; display: inline-flex; flex-shrink: 0; gap: 12px; }
.brand-mark {
  border-radius: 8px;
  height: 42px;
  object-fit: cover;
  width: 42px;
}
.brand-name, .footer-brand { color: var(--ink); font-size: 1rem; font-weight: 700; white-space: nowrap; }
.nav-links { align-items: center; display: flex; flex: 1; gap: 4px; justify-content: center; min-width: 0; }
.nav-link {
  border-radius: 8px;
  color: #41545f;
  font-size: 0.94rem;
  font-weight: 600;
  padding: 10px;
  transition: background 160ms ease, color 160ms ease;
}
.nav-link:hover, .nav-link.active { background: #eaf2f2; color: var(--navy); }
.header-email {
  color: #41545f;
  flex-shrink: 0;
  font-size: 0.86rem;
  font-weight: 700;
  min-width: 0;
  overflow-wrap: anywhere;
}
.header-email:hover { color: var(--teal-dark); }

.header-cta, .primary-button, .secondary-button, .email-button {
  align-items: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.header-cta, .primary-button, .email-button { background: var(--teal); color: #fff; }
.header-cta:hover, .primary-button:hover, .email-button:hover { background: var(--teal-dark); }
.secondary-button { border: 1px solid rgba(255, 255, 255, 0.58); color: #fff; }
.secondary-button:hover { background: rgba(255, 255, 255, 0.14); }

.home-hero { align-items: center; display: flex; min-height: 84svh; overflow: hidden; position: relative; }
.hero-image, .hero-overlay { inset: 0; position: absolute; }
.hero-image { height: 100%; object-fit: cover; object-position: center; width: 100%; }
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 23, 34, 0.88) 0%, rgba(6, 23, 34, 0.72) 40%, rgba(6, 23, 34, 0.24) 74%, rgba(7, 25, 35, 0.08) 100%),
    linear-gradient(0deg, rgba(7, 25, 35, 0.5) 0%, rgba(7, 25, 35, 0.08) 45%);
}
.hero-content {
  color: #fff;
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 88px 32px 70px;
  position: relative;
  width: 100%;
  z-index: 1;
}
.eyebrow { color: var(--teal); font-size: 0.86rem; font-weight: 800; margin-bottom: 14px; }
.home-hero .eyebrow, .cta-band .eyebrow, .markets-preview .eyebrow { color: #91d8dc; }
.hero-content h1 { font-size: 4.8rem; font-weight: 700; line-height: 1.02; max-width: 980px; }
.hero-lead { font-size: 1.5rem; font-weight: 700; line-height: 1.38; margin-top: 24px; max-width: 780px; }
.hero-copy { color: rgba(255, 255, 255, 0.86); font-size: 1.04rem; line-height: 1.75; margin-top: 16px; max-width: 740px; }
.hero-market-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; max-width: 820px; }
.hero-market-list span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 9px 12px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.audience-strip {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 20px 24px;
}
.audience-strip span {
  background: #f0f5f4;
  border: 1px solid #dce7e7;
  border-radius: 8px;
  color: #314651;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 8px 12px;
}

.section { background: #fff; padding: 76px 32px; }
.muted-section { background: var(--muted); }
.section-inner { margin: 0 auto; max-width: var(--max-width); width: 100%; }
.two-column, .split-panel, .contact-grid {
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}
.section h2, .cta-band h2, .page-hero h1 {
  color: var(--ink);
  font-size: 2.55rem;
  font-weight: 700;
  line-height: 1.12;
}
.section-copy { display: grid; gap: 18px; }
.section-copy p, .service-card p, .process-list p, .value-grid p, .process-grid p, .service-feature p, .market-columns p, .contact-panel p, .contact-notes li, .site-footer p, .cta-band p {
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.78;
}
.section-heading { align-items: end; display: flex; gap: 28px; justify-content: space-between; margin-bottom: 34px; }
.section-heading h2, .section-heading.narrow { max-width: 720px; }
.text-link { color: var(--teal-dark); flex-shrink: 0; font-weight: 800; }

.card-grid, .value-grid, .process-grid, .market-columns { display: grid; gap: 18px; }
.card-grid.three, .value-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-card, .value-grid article, .process-grid article, .market-columns div, .contact-panel, .contact-notes, .stat-card, .insight-card, .inquiry-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.service-card:hover, .value-grid article:hover, .process-grid article:hover, .market-columns div:hover, .stat-card:hover, .insight-card:hover {
  border-color: rgba(0, 129, 140, 0.34);
  box-shadow: 0 12px 30px rgba(16, 35, 46, 0.06);
  transform: translateY(-2px);
}
.service-card { min-height: 238px; padding: 30px; }
.value-grid article, .process-grid article, .market-columns div { padding: 28px; }
.card-rule { background: var(--gold); display: block; height: 3px; margin-bottom: 22px; width: 42px; }
.service-card h3, .process-list h3, .value-grid h3, .process-grid h3, .service-feature h2, .market-columns h3, .contact-panel h2, .contact-notes h2 {
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
}
.process-list { border-top: 1px solid var(--line); }
.process-list article {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: 60px minmax(0, 1fr);
  padding: 24px 0;
}
.process-list span, .process-grid span, .service-feature span { color: var(--gold); font-size: 0.9rem; font-weight: 800; }
.process-grid span { display: block; margin-bottom: 28px; }

.markets-preview { background: var(--navy); color: #fff; }
.markets-preview h2, .cta-band h2 { color: #fff; }
.market-row { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.market-tile {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  min-height: 168px;
  padding: 24px;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.market-tile:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }
.market-tile span { color: #a8c7ca; display: block; font-size: 0.88rem; line-height: 1.45; margin-bottom: 22px; }
.market-tile strong { color: #fff; display: block; font-size: 1.25rem; line-height: 1.25; }

.page-hero {
  background: linear-gradient(90deg, rgba(241, 246, 245, 1) 0%, rgba(255, 255, 255, 1) 100%);
  border-bottom: 1px solid var(--line);
  padding: 70px 32px 64px;
}
.page-hero .lead { color: var(--slate); font-size: 1.16rem; line-height: 1.72; margin-top: 20px; max-width: 780px; }
.service-index { display: grid; }
.service-feature {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 32px;
  grid-template-columns: 70px minmax(0, 1fr);
  padding: 34px 0;
}
.service-feature:first-child { border-top: 1px solid var(--line); }
.service-feature h2 { font-size: 1.7rem; }
.service-feature p { max-width: 820px; }

.stats-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
}
.stat-value {
  color: var(--navy);
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 8px;
}
.stat-card h3 {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.3;
  margin-bottom: 10px;
}
.stat-card p {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.62;
}

.insight-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.insight-card { padding: 28px; }
.insight-meta {
  color: var(--sage);
  display: block;
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 14px;
}
.insight-card h2, .insight-card h3 {
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.25;
  margin-bottom: 12px;
}
.insight-card p, .insight-card li {
  color: var(--slate);
  font-size: 0.98rem;
  line-height: 1.72;
}
.insight-card p + p { margin-top: 12px; }
.insight-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.article-body {
  margin: 0 auto;
  max-width: 920px;
}
.article-body h2 {
  color: var(--ink);
  font-size: 1.82rem;
  line-height: 1.2;
  margin-top: 36px;
}
.article-body h3 {
  color: var(--ink);
  font-size: 1.22rem;
  line-height: 1.3;
  margin-top: 26px;
}
.article-body p, .article-body li {
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.82;
}
.article-body p { margin-top: 16px; }
.article-body ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 20px;
}
.article-actions {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  padding-top: 24px;
}

.market-sections { padding-top: 58px; }
.market-section {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 46px;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  padding: 38px 0;
}
.market-section:last-child { border-bottom: 1px solid var(--line); }
.market-section-heading { align-self: start; position: sticky; top: 104px; }
.market-section-heading h2 { font-size: 2.18rem; }
.market-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.market-columns .eyebrow { color: var(--sage); }
.market-columns p { font-size: 0.98rem; line-height: 1.72; }

.cta-band {
  align-items: center;
  background: var(--deep);
  color: #fff;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  padding: 58px max(32px, calc((100% - var(--max-width)) / 2));
}
.cta-band p { color: rgba(255, 255, 255, 0.76); margin-top: 14px; max-width: 720px; }

.contact-section { background: #f8fbfa; }
.contact-panel, .contact-notes { padding: 34px; }
.contact-panel { background: var(--navy); border-color: var(--navy); }
.contact-panel h2, .contact-panel p { color: #fff; }
.contact-panel p { color: rgba(255, 255, 255, 0.78); }
.contact-panel p + p { margin-top: 14px; }
.email-button { margin-top: 28px; word-break: break-word; }
.contact-notes ul { display: grid; gap: 12px; list-style: none; margin: 24px 0 0; padding: 0; }
.contact-notes li { align-items: center; border-top: 1px solid var(--line); display: flex; min-height: 44px; padding-top: 12px; }
.contact-address {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  margin-top: 24px;
  padding-top: 20px;
}
.inquiry-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
}
.inquiry-form h2 {
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1.24;
  margin-bottom: 22px;
}
.form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.field-full { grid-column: 1 / -1; }
.form-honeypot {
  display: none !important;
  height: 0;
  left: -9999px;
  overflow: hidden;
  position: absolute;
  visibility: hidden;
  width: 0;
}
.inquiry-form label {
  color: var(--ink);
  display: grid;
  font-size: 0.9rem;
  font-weight: 700;
  gap: 8px;
}
.inquiry-form input, .inquiry-form select, .inquiry-form textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 44px;
  padding: 11px 12px;
  width: 100%;
}
.inquiry-form textarea {
  min-height: 118px;
  resize: vertical;
}
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(0, 129, 140, 0.16);
}
.form-note {
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-top: 16px;
}
.form-actions { margin-top: 22px; }

.site-footer {
  align-items: center;
  background: #fff;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto;
  padding: 34px max(32px, calc((100% - var(--max-width)) / 2));
}
.site-footer p { margin-top: 8px; max-width: 430px; }
.footer-logo { border-radius: 8px; height: 46px; margin-bottom: 10px; object-fit: cover; width: 46px; }
.footer-location { color: var(--slate); font-size: 0.94rem; line-height: 1.6; margin-top: 10px; }
.footer-location a { color: #41545f; font-weight: 700; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 18px; justify-content: center; }
.footer-links a, .footer-email { color: #41545f; font-size: 0.94rem; font-weight: 700; }
.footer-links a:hover, .footer-email:hover { color: var(--teal-dark); }
.footer-disclaimer {
  border-top: 1px solid var(--line);
  color: var(--slate);
  font-size: 0.86rem;
  grid-column: 1 / -1;
  line-height: 1.6;
  margin-top: 2px;
  padding-top: 18px;
}
.inquiry-assistant {
  bottom: 22px;
  font-family: inherit;
  position: fixed;
  right: 22px;
  z-index: 50;
}
.inquiry-assistant summary {
  align-items: center;
  background: var(--teal);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(16, 35, 46, 0.18);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 800;
  justify-content: center;
  list-style: none;
  min-height: 46px;
  padding: 12px 18px;
}
.inquiry-assistant summary::-webkit-details-marker { display: none; }
.inquiry-assistant summary:hover { background: var(--teal-dark); }
.assistant-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  bottom: 58px;
  box-shadow: 0 18px 46px rgba(16, 35, 46, 0.16);
  display: grid;
  gap: 10px;
  padding: 18px;
  position: absolute;
  right: 0;
  width: min(320px, calc(100vw - 44px));
}
.assistant-card p {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}
.assistant-card a {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #41545f;
  font-size: 0.94rem;
  font-weight: 700;
  padding: 11px 12px;
}
.assistant-card a:hover {
  border-color: rgba(0, 129, 140, 0.38);
  color: var(--teal-dark);
}
:focus-visible { outline: 3px solid rgba(0, 127, 140, 0.45); outline-offset: 3px; }

@media (prefers-reduced-motion: no-preference) {
  .service-card, .value-grid article, .process-grid article, .market-columns div, .market-tile, .stat-card, .insight-card {
    animation: rise-in 420ms ease both;
  }
  @keyframes rise-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 1320px) {
  .site-header { align-items: flex-start; flex-wrap: wrap; gap: 12px 20px; padding: 16px 24px 0; }
  .nav-links { flex: 0 0 100%; flex-wrap: wrap; justify-content: flex-start; order: 3; overflow: visible; padding: 0 0 12px; width: 100%; }
  .header-cta { display: none; }
  .header-email { margin-left: auto; }
  .hero-content h1 { font-size: 3.65rem; }
  .two-column, .split-panel, .market-section, .contact-grid, .site-footer { grid-template-columns: 1fr; }
  .market-section-heading { position: static; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .card-grid.three, .value-grid, .process-grid, .market-row, .market-columns, .stats-grid, .insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer, .footer-links { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .site-header { padding-left: 18px; padding-right: 18px; }
  .brand-name { font-size: 0.96rem; }
  .nav-link { font-size: 0.9rem; padding: 8px 9px; }
  .home-hero { min-height: auto; }
  .hero-content { padding: 58px 20px 52px; }
  .hero-content h1 { font-size: 2.75rem; }
  .hero-lead { font-size: 1.16rem; }
  .hero-actions, .cta-band { align-items: stretch; flex-direction: column; }
  .section, .page-hero { padding: 46px 20px; }
  .section h2, .cta-band h2, .page-hero h1 { font-size: 2rem; }
  .header-email { flex-basis: 100%; margin-left: 0; max-width: 100%; }
  .card-grid.three, .value-grid, .process-grid, .market-row, .market-columns, .stats-grid, .insight-grid, .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .process-list article, .service-feature { grid-template-columns: 1fr; }
  .market-tile, .service-card { min-height: auto; }
  .cta-band { padding: 44px 20px; }
  .site-footer { padding: 30px 20px; }
  .article-body h2 { font-size: 1.52rem; }
  .article-actions { align-items: stretch; flex-direction: column; }
  .inquiry-assistant { bottom: 14px; left: 16px; right: 16px; }
  .inquiry-assistant summary { width: 100%; }
  .assistant-card { bottom: 58px; left: 0; right: 0; width: auto; }
}
