:root {
  --bg: #f7f7f3;
  --ink: #111827;
  --muted: #5b6472;
  --panel: #ffffff;
  --navy: #0f172a;
  --gold: #c8a24a;
  --line: rgba(15, 23, 42, 0.12);
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 247, 243, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: var(--navy);
  color: white;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}
.brand-text { font-size: 1.05rem; }

.nav-links { display: flex; align-items: center; gap: 24px; font-weight: 650; color: #273142; }
.nav-links a { padding: 10px 0; }
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  border: 1px solid var(--navy);
  border-radius: 999px;
  padding: 10px 18px !important;
}
.nav-cta:hover { background: var(--navy); color: white !important; }
.nav-toggle { display: none; }

.section-pad { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 88px 0; }
.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

h1, h2, h3 { line-height: 1.08; margin: 0; color: var(--navy); }
h1 { font-size: clamp(2.7rem, 7vw, 5.8rem); letter-spacing: -0.065em; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); letter-spacing: -0.045em; }
h3 { font-size: 1.3rem; letter-spacing: -0.02em; }

.hero-lead { max-width: 650px; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.3rem); margin: 26px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
}
.btn.primary { background: var(--navy); color: white; box-shadow: 0 18px 30px rgba(15, 23, 42, 0.18); }
.btn.secondary { background: white; color: var(--navy); border: 1px solid var(--line); }
.btn:hover { transform: translateY(-1px); }

.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.trust-row span {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.7);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.card-topline {
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, var(--gold), #e8d49b, var(--navy));
  border-radius: 999px;
  margin-bottom: 28px;
}
.hero-card p, .hero-card li { color: var(--muted); }
.hero-card ul { padding-left: 20px; margin: 22px 0 0; }
.hero-card li + li { margin-top: 10px; }

.section-heading { max-width: 780px; margin-bottom: 34px; }
.section-heading p:not(.eyebrow), .body-copy p, .contact-panel p { color: var(--muted); font-size: 1.05rem; }
.section-heading.compact { margin-bottom: 24px; }

.service-grid, .people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-card, .person-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}
.service-card p, .person-card p { color: var(--muted); margin-bottom: 0; }

.about {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: start;
}
.body-copy p:first-child { margin-top: 0; }

.people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.role { color: var(--gold) !important; font-weight: 800; margin: 10px 0 0; }

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 32px;
  align-items: center;
  background: var(--navy);
  color: white;
  border-radius: 32px;
  padding: clamp(28px, 5vw, 58px);
  box-shadow: var(--shadow);
}
.contact-panel h2 { color: white; }
.contact-panel p { color: rgba(255,255,255,0.76); }
.contact-details {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 24px;
  padding: 26px;
  display: grid;
  gap: 12px;
}
.contact-details a { color: white; font-weight: 800; word-break: break-word; }
.contact-details span, .contact-details small { color: rgba(255,255,255,0.75); }

.footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 44px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.footer a { font-weight: 800; color: var(--navy); }

@media (max-width: 850px) {
  .nav { min-height: 68px; }
  .nav-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    background: white;
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 800;
  }
  .nav-links {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 14px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { text-align: center; }
  .section-pad { padding: 58px 0; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 30px; padding-top: 46px; }
  .hero-card { padding: 26px; }
  .service-grid, .people-grid, .split, .contact-panel { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
}

@media (max-width: 460px) {
  .brand-text { display: none; }
  .hero-actions .btn { width: 100%; }
  h1 { font-size: 2.55rem; }
  .contact-panel { border-radius: 24px; }
}
