:root {
  --ink: #16333a;
  --ink-deep: #0d282f;
  --paper: #f5f4f0;
  --white: #fff;
  --muted: #667579;
  --line: #d9ddda;
  --accent: #b79452;
  --accent-soft: #e7dcc7;
  --max: 1180px;
  --shadow: 0 24px 70px rgba(13, 40, 47, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.035em; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h2 { font-size: clamp(2.2rem, 5vw, 4.45rem); }
h3 { font-size: 1.35rem; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: clamp(76px, 10vw, 142px) 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 999; transform: translateY(-150%); padding: 10px 14px; background: white; color: var(--ink); border-radius: 4px; }
.skip-link:focus { transform: none; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 20; color: white; transition: background .25s ease, box-shadow .25s ease, color .25s ease; }
.site-header.is-scrolled { color: var(--ink); background: rgba(245, 244, 240, .96); box-shadow: 0 1px 0 rgba(22, 51, 58, .11); backdrop-filter: blur(12px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { width: 206px; height: auto; filter: brightness(0) invert(1); transition: filter .25s ease; }
.is-scrolled .brand-logo { filter: none; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: .88rem; font-weight: 600; }
.main-nav a { position: relative; text-decoration: none; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: currentColor; transition: right .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.nav-cta { padding: 10px 16px; border: 1px solid rgba(255,255,255,.5); border-radius: 3px; }
.is-scrolled .nav-cta { border-color: rgba(22,51,58,.4); }
.menu-toggle { display: none; border: 0; background: none; color: inherit; width: 44px; height: 44px; padding: 11px; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; height: 2px; background: currentColor; transition: transform .2s ease; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; width: 100%; }
.menu-icon::before { top: -7px; }
.menu-icon::after { top: 7px; }

.hero { position: relative; min-height: 760px; height: min(92vh, 900px); display: flex; align-items: center; overflow: hidden; color: white; background: var(--ink-deep); }
.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; }
.hero-overlay { background: linear-gradient(90deg, rgba(8,30,36,.92) 0%, rgba(8,30,36,.72) 42%, rgba(8,30,36,.18) 75%, rgba(8,30,36,.06) 100%), linear-gradient(0deg, rgba(7,25,30,.38), transparent 42%); }
.hero-content { position: relative; z-index: 1; padding-top: 80px; }
.eyebrow, .section-kicker { margin-bottom: 22px; color: var(--accent); font-size: .78rem; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow::before, .section-kicker::before { content: ""; display: inline-block; width: 36px; height: 1px; margin: 0 12px 4px 0; background: currentColor; }
.hero h1 { max-width: 820px; margin-bottom: 28px; font-size: clamp(3.45rem, 7.4vw, 7.3rem); }
.hero-lead { max-width: 670px; margin-bottom: 36px; color: rgba(255,255,255,.84); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid transparent; border-radius: 3px; text-decoration: none; font-size: .9rem; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: #c6a767; }
.button-secondary { border-color: rgba(255,255,255,.5); color: white; background: rgba(255,255,255,.04); }
.button-secondary:hover { background: rgba(255,255,255,.12); }
.hero-meta { display: flex; gap: 34px; margin-top: 32px; color: rgba(255,255,255,.64); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-meta span { display: flex; align-items: center; gap: 10px; }
.hero-meta span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

.intro-grid { display: grid; grid-template-columns: .94fr 1.06fr; gap: clamp(60px, 9vw, 135px); align-items: start; }
.intro h2 { max-width: 610px; margin-bottom: 0; }
.intro-copy { padding-top: 8px; color: #4d6064; font-size: 1.08rem; }
.intro-copy > p:first-child { color: var(--ink); font-size: 1.28rem; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; padding-top: 25px; border-top: 1px solid var(--line); }
.principles div { display: flex; flex-direction: column; gap: 5px; }
.principles strong { color: var(--accent); font-size: .75rem; letter-spacing: .08em; }
.principles span { font-size: .82rem; font-weight: 700; color: var(--ink); }

.expertise { background: white; }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: end; margin-bottom: 58px; }
.section-heading h2 { max-width: 780px; margin-bottom: 0; }
.section-heading > p { max-width: 470px; margin-bottom: 8px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 280px; display: grid; grid-template-columns: 55px 1fr; gap: 20px; padding: clamp(30px, 5vw, 52px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s ease, color .25s ease; }
.service-card:hover { background: #f5f4f0; }
.service-card-featured { color: white; background: var(--ink); }
.service-card-featured:hover { background: var(--ink-deep); }
.service-number { color: var(--accent); font-size: .75rem; letter-spacing: .1em; }
.service-card h3 { margin-bottom: 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.65rem, 2.5vw, 2.2rem); font-weight: 500; }
.service-card p { margin-bottom: 0; color: var(--muted); }
.service-card-featured p { color: rgba(255,255,255,.72); }

.forensic { color: white; background: var(--ink); }
.forensic-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(55px, 10vw, 150px); }
.section-kicker-light { color: #d3b879; }
.forensic h2 { margin-bottom: 0; }
.forensic-content { padding-top: 38px; }
.forensic-content > p { margin-bottom: 40px; color: rgba(255,255,255,.72); font-size: 1.15rem; }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 19px 0 19px 34px; border-top: 1px solid rgba(255,255,255,.15); }
.check-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.15); }
.check-list li::before { content: ""; position: absolute; left: 1px; top: 27px; width: 9px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

.section-heading.compact { grid-template-columns: 1fr; margin-bottom: 45px; }
.process-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { padding: 34px 38px 20px 0; }
.process-list li + li { padding-left: 38px; border-left: 1px solid var(--line); }
.process-list > li > span { display: block; margin-bottom: 65px; color: var(--accent); font-size: .78rem; font-weight: 700; }
.process-list h3 { margin-bottom: 12px; font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; font-weight: 500; }
.process-list p { margin-bottom: 0; color: var(--muted); }

.contact { padding: clamp(76px, 10vw, 130px) 0; background: var(--accent-soft); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(55px, 9vw, 130px); align-items: center; }
.contact h2 { max-width: 650px; margin-bottom: 25px; }
.contact-lead { max-width: 590px; margin-bottom: 0; color: #526368; font-size: 1.08rem; }
.contact-card { padding: clamp(32px, 5vw, 48px); background: white; box-shadow: var(--shadow); }
.contact-card > p { margin-bottom: 4px; color: var(--muted); }
.contact-card .contact-name { margin-bottom: 2px; color: var(--ink); font: 500 1.8rem/1.2 Georgia, "Times New Roman", serif; }
.contact-placeholder { display: grid; grid-template-columns: 90px 1fr; gap: 20px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.contact-placeholder + .contact-placeholder { margin-top: 16px; }
.contact-placeholder span { color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-placeholder a { width: fit-content; color: var(--ink); font-size: .98rem; font-weight: 700; text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.contact-placeholder a:hover { color: #6f572d; }

.site-footer { padding: 36px 0; color: rgba(255,255,255,.75); background: var(--ink-deep); font-size: .79rem; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.footer-brand img { width: 155px; height: auto; filter: brightness(0) invert(1); opacity: .94; }
.footer-brand span { font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.footer-inner p { margin: 0; text-align: center; }
.footer-inner a { justify-self: end; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 4px; }

:focus-visible { outline: 3px solid #d8b568; outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

@media (max-width: 860px) {
  .header-inner { min-height: 72px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 72px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 16px 20px 24px; color: var(--ink); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 18px 35px rgba(13,40,47,.13); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 0; }
  .nav-cta { margin-top: 8px; padding-inline: 14px !important; text-align: center; border-color: rgba(22,51,58,.35); }
  .site-header:not(.is-scrolled):has(.main-nav.is-open) { color: var(--ink); background: var(--paper); }
  .hero { min-height: 720px; }
  .hero-content { padding-top: 60px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(8,30,36,.93), rgba(8,30,36,.55)), linear-gradient(0deg, rgba(7,25,30,.35), transparent); }
  .hero h1 { font-size: clamp(3.2rem, 12vw, 5.2rem); }
  .hero-meta { margin-top: 38px; flex-wrap: wrap; gap: 12px 24px; }
  .intro-grid, .section-heading, .forensic-grid, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .forensic-content { padding-top: 0; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li, .process-list li + li { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .process-list > li > span { margin-bottom: 0; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { align-items: center; }
  .footer-inner a { justify-self: center; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 30px), var(--max)); }
  .brand-logo { width: 168px; }
  .hero { height: auto; min-height: 750px; }
  .hero-image { object-position: 58% center; }
  .hero-content { padding-bottom: 54px; }
  .hero h1 { font-size: clamp(2.9rem, 15vw, 4.3rem); }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-meta { left: 15px; right: 15px; }
  .hero-meta span { font-size: .65rem; }
  .principles { grid-template-columns: 1fr; }
  .principles div { flex-direction: row; align-items: center; gap: 14px; }
  .service-card { grid-template-columns: 36px 1fr; gap: 10px; padding: 30px 22px; }
  .contact-placeholder { grid-template-columns: 1fr; gap: 4px; }
}
