:root {
  --ink: #17243c;
  --body: #4f5c70;
  --muted: #748096;
  --blue: #365b8c;
  --blue-dark: #29476e;
  --sage: #eaf0ec;
  --sage-deep: #597366;
  --sand: #f5f1eb;
  --paper: #fcfcfb;
  --white: #ffffff;
  --line: #e4e8ed;
  --shadow-sm: 0 8px 28px rgba(27, 42, 65, .07);
  --shadow-lg: 0 24px 64px rgba(27, 42, 65, .12);
  --radius: 16px;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body:has(.nav.open) { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 100;
  padding: .7rem 1rem;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus { top: 1rem; }
.container { width: min(var(--max-width), calc(100% - 48px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(228, 232, 237, .82);
  background: rgba(252, 252, 251, .94);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 2rem;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
}

.brand span,
.footer-brand {
  font: 600 1.38rem/1 "Newsreader", Georgia, serif;
  letter-spacing: -.01em;
}

.brand small {
  margin-top: .35rem;
  color: var(--muted);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav > a:not(.button) {
  color: #3c4960;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}

.nav > a:not(.button):hover { color: var(--blue); }

.nav-toggle {
  position: relative;
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}

.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .78rem 1.3rem;
  border: 1px solid var(--blue);
  border-radius: 9px;
  background: var(--blue);
  color: var(--white);
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(54, 91, 140, .18);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.button:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.button-small { min-height: 40px; padding: .62rem 1rem; font-size: .82rem; }
.button-wide { width: 100%; }

.button:focus-visible,
.nav-toggle:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(54, 91, 140, .25);
  outline-offset: 3px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--blue);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(3px); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 5.25rem 0 5.75rem;
  background:
    radial-gradient(circle at 90% 18%, rgba(224, 234, 228, .82), transparent 31%),
    linear-gradient(180deg, #fcfcfb 0%, #f8f8f5 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: clamp(3rem, 7vw, 6rem);
  align-items: start;
}

.hero-copy { max-width: 650px; padding-top: 1.25rem; }

.eyebrow {
  margin: 0 0 1rem;
  color: var(--sage-deep);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1, h2, h3, blockquote { font-family: "Newsreader", Georgia, serif; }

h1 {
  max-width: 670px;
  margin: 0;
  font-size: clamp(3.25rem, 6.1vw, 5.25rem);
  font-weight: 600;
  letter-spacing: -.037em;
  line-height: .98;
}

.hero-lead {
  max-width: 610px;
  margin: 1.65rem 0 0;
  color: var(--body);
  font-size: 1.12rem;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
}

.reassurance {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: .82rem;
}

.portrait-wrap {
  position: relative;
  width: 180px;
  margin-left: auto;
}

.portrait-wrap img {
  width: 180px !important;
  height: 180px !important;
  max-width: 180px;
  max-height: 180px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 24%;
  box-shadow: var(--shadow-lg);
}

.portrait-accent {
  position: absolute;
  z-index: -1;
  inset: 9px -9px -9px 9px;
  border-radius: 50%;
  background: #dbe6df;
}

.portrait-note {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 1rem;
  padding-left: .85rem;
  border-left: 2px solid #b8c9bf;
}

.portrait-note strong { font-size: .84rem; }
.portrait-note span { margin-top: .12rem; color: var(--muted); font-size: .7rem; line-height: 1.4; }

.trust-strip {
  border-block: 1px solid var(--line);
  background: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: .65fr repeat(4, 1fr);
  align-items: center;
  min-height: 76px;
  gap: 1rem;
}

.trust-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.trust-grid span {
  color: #445166;
  font-size: .8rem;
  font-weight: 600;
  text-align: center;
}

.section { padding: 6.75rem 0; }
.section-tinted { background: var(--sand); }

.two-column {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: clamp(4rem, 8vw, 7rem);
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(2.6rem, 4.6vw, 4rem);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.04;
}

.body-copy { max-width: 610px; padding-top: .8rem; }

.body-copy p {
  margin: 0 0 1.25rem;
  color: var(--body);
  font-size: 1rem;
}

.section-heading { max-width: 720px; margin-bottom: 3.25rem; }

.section-heading > p:last-child {
  max-width: 600px;
  margin: 1.25rem 0 0;
  color: var(--body);
  font-size: 1rem;
}

.section-heading-wide {
  display: grid;
  grid-template-columns: 1fr .54fr;
  max-width: none;
  gap: 5rem;
  align-items: end;
}

.section-heading-wide > p:last-child { margin: 0 0 .3rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.feature-card {
  min-height: 240px;
  padding: 1.6rem;
  border: 1px solid #e1ddd5;
  border-radius: 14px;
  background: rgba(255, 255, 255, .7);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.feature-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.feature-number,
.service-title span {
  color: var(--sage-deep);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.feature-card h3,
.service-card h3 {
  margin: 2.75rem 0 .7rem;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.12;
}

.feature-card p {
  margin: 0;
  color: var(--body);
  font-size: .86rem;
}

#services { background: var(--white); }

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 2px 0 rgba(23, 36, 60, .02);
}

.service-title {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: baseline;
}

.service-card h3 {
  margin: 0;
  font-size: 1.55rem;
}

.service-card ul {
  display: grid;
  gap: .72rem;
  margin: 1.6rem 0 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--body);
  font-size: .86rem;
  list-style: none;
}

.service-card li { position: relative; padding-left: 1.2rem; }

.service-card li::before {
  content: "";
  position: absolute;
  top: .68em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage-deep);
}

.quote-section {
  padding: 5.5rem 0;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.quote-wrap { max-width: 830px; }
.quote-section .eyebrow { color: #aabfb4; }

blockquote {
  margin: 0;
  font-size: clamp(2.05rem, 4vw, 3.35rem);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.16;
}

.quote-attribution {
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, .62);
  font-size: .78rem;
}

.contact-section { background: var(--sage); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr .58fr;
  gap: clamp(4rem, 8vw, 7rem);
  align-items: center;
}

.contact-grid > div:first-child > p:last-child {
  max-width: 610px;
  margin: 1.25rem 0 0;
  color: var(--body);
  font-size: 1rem;
}

.contact-card {
  padding: 1.8rem;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-sm);
}

.contact-card > p {
  margin: 0 0 1.35rem;
  font: 600 1.45rem/1.25 "Newsreader", Georgia, serif;
}

.email-link {
  display: block;
  margin-top: .85rem;
  color: var(--muted);
  font-size: .82rem;
  text-align: center;
  text-underline-offset: 4px;
}

footer {
  padding: 3rem 0;
  background: #111d31;
  color: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 3.5rem;
  align-items: center;
}

.footer-brand { text-decoration: none; }

.footer-inner p {
  margin: .42rem 0 0;
  color: rgba(255, 255, 255, .56);
  font-size: .74rem;
}

.footer-links { display: flex; gap: 1.4rem; }

.footer-links a {
  color: rgba(255, 255, 255, .7);
  font-size: .78rem;
  text-decoration: none;
}

.footer-links a:hover { color: var(--white); }
.copyright { margin: 0 !important; white-space: nowrap; }

.footer-disclaimer {
  grid-column: 1 / -1;
  max-width: 760px;
  margin: -.25rem auto 0 !important;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .5) !important;
  font-size: .7rem !important;
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 180px; gap: 3rem; }
  .portrait-wrap { width: 160px; }
  .portrait-wrap img { width: 160px !important; height: 160px !important; max-width: 160px; max-height: 160px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .service-card { display: grid; grid-template-columns: .8fr 1fr; gap: 2rem; }
  .service-card ul { margin: 0; padding: 0; border-top: 0; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 82px; }
  .container { width: min(100% - 36px, var(--max-width)); }
  .header-inner { min-height: 72px; }
  .nav-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(88vw, 380px);
    height: 100dvh;
    padding: 6.5rem 1.6rem 2rem;
    flex-direction: column;
    align-items: stretch;
    gap: .15rem;
    background: var(--paper);
    box-shadow: -16px 0 50px rgba(23, 36, 60, .13);
    transform: translateX(110%);
    visibility: hidden;
    transition: transform .25s ease, visibility .25s;
  }
  .nav.open { visibility: visible; transform: translateX(0); }
  .nav > a:not(.button) { padding: .82rem .15rem; font: 600 1.45rem/1.2 "Newsreader", Georgia, serif; }
  .nav .button { margin-top: 1rem; }
  .hero { padding: 4rem 0 4.75rem; }
  .hero-grid,
  .two-column,
  .section-heading-wide,
  .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 3.75rem; }
  h1 { font-size: clamp(3rem, 14vw, 4.5rem); }
  .hero-lead { font-size: 1.02rem; }
  .portrait-wrap { width: 150px; margin: 0 auto; }
  .portrait-wrap img { width: 150px !important; height: 150px !important; max-width: 150px; max-height: 150px; }
  .trust-grid { grid-template-columns: 1fr 1fr; padding: 1.5rem 0; gap: .9rem; }
  .trust-grid p { grid-column: 1 / -1; text-align: center; }
  .section { padding: 5rem 0; }
  .two-column,
  .contact-grid { gap: 2.4rem; }
  .body-copy { padding-top: 0; }
  .section-heading { margin-bottom: 2.5rem; }
  .section-heading-wide { gap: 1.25rem; }
  .feature-card { min-height: 210px; }
  .service-card { grid-template-columns: 1fr; gap: 1.4rem; }
  .service-card ul { padding-top: 1.25rem; border-top: 1px solid var(--line); }
  .quote-section { padding: 4.75rem 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.8rem; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { justify-content: center; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .feature-card h3 { margin-top: 2rem; }
  .portrait-note { width: 100%; }
  .contact-card { padding: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
