/* Legacy Private Investigations PLC
   Concept: the case file. High-contrast Bodoni headlines, mono evidence labels, a license seal, angled cuts and a night-skyline hero.
   Palette from the business card: navy #0d2642, gold #c29a3e, cream #f6f0e0. */
:root {
  --navy: #0d2642;
  --navy-deep: #081a2f;
  --navy-soft: #1a3a60;
  --gold: #c29a3e;
  --gold-light: #dcc27f;
  --gold-dark: #7d5f17;
  --cream: #f6f0e0;
  --cream-light: #fbf8ef;
  --cream-dark: #e9e0c8;
  --ink: #0d2642;
  --muted: #455970;
  --rule: rgba(13, 38, 66, 0.2);
  --cut: clamp(28px, 5vw, 72px);
  --font-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-label: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--navy); text-decoration-color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { text-decoration-color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--navy); padding: 0.75rem 1rem; z-index: 100; font-weight: 600; }
.skip-link:focus { left: 0; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: 780px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; text-wrap: balance; margin: 0 0 0.55em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }
.label { display: flex; align-items: center; gap: 0.8rem; font-family: var(--font-label); font-size: 0.76rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 1.1rem; }
.label::before { content: ""; width: 2.2rem; height: 2px; background: var(--gold); flex: none; }
.on-navy .label, .hero .label, .page-hero .label, .section-navy .label { color: var(--gold); }
.lead { font-size: 1.22rem; color: var(--muted); max-width: 60ch; }
.on-navy .lead, .hero .lead, .page-hero .lead { color: #d3dbe6; }

/* Utility bar + header */
.topbar { background: var(--navy-deep); color: #c9d3e0; font-size: 0.84rem; }
.topbar-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.2rem 1rem; padding-block: 0.55rem; }
.topbar a { color: var(--cream); text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.topbar .sep { color: var(--gold); }
.site-header { background: var(--navy); color: var(--cream); border-bottom: 1px solid rgba(194, 154, 62, 0.5); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 0.9rem; }
.brand { display: flex; flex-direction: column; gap: 0.5rem; text-decoration: none; color: var(--cream); }
.brand-mark { align-self: flex-start; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: 0.3em; padding: 0.18rem 0.2rem 0.18rem 0.7rem; color: var(--gold); border: 1px solid var(--gold); box-shadow: 0 0 0 3px var(--navy), 0 0 0 4px var(--gold); margin: 4px; line-height: 1.3; }
.brand-sub { font-family: var(--font-label); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: #c9d3e0; padding-left: 4px; }
.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a { color: var(--cream); text-decoration: none; font-size: 0.95rem; font-weight: 500; padding-block: 0.4rem; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.nav .btn { border-bottom: 2px solid var(--gold); padding-block: 0.6rem; color: var(--navy); }
.menu-toggle { display: none; background: transparent; color: var(--cream); border: 1px solid var(--gold); padding: 0.5rem 0.9rem; font: 600 0.85rem var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }

/* Buttons */
.btn { display: inline-block; background: var(--gold); color: var(--navy); font-weight: 700; letter-spacing: 0.02em; text-decoration: none; padding: 0.95rem 1.7rem; border: 2px solid var(--gold); border-radius: 0; transition: background 0.15s, color 0.15s, transform 0.15s; line-height: 1.2; }
.btn:hover { background: var(--cream); border-color: var(--cream); color: var(--navy); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--cream); border-color: rgba(246, 240, 224, 0.7); }
.btn-outline:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.btn-dark { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.btn-dark:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.btn-row.center { justify-content: center; }

/* Hero */
.slant { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%); position: relative; z-index: 2; }
.hero-skyline, .page-hero {
  background-color: var(--navy);
  background-image: linear-gradient(90deg, rgba(8, 26, 47, 0.93) 0%, rgba(8, 26, 47, 0.74) 46%, rgba(13, 38, 66, 0.3) 100%), linear-gradient(180deg, rgba(8, 26, 47, 0.3) 0%, rgba(8, 26, 47, 0.7) 100%), url("/images/grand-rapids-skyline.jpg"), url("/images/skyline-placeholder.svg");
  background-size: cover, cover, cover, 100% auto;
  background-position: center, center, center 68%, center bottom;
  background-repeat: no-repeat;
  color: var(--cream);
}
.hero-skyline { padding-block: clamp(4.5rem, 10vw, 8.5rem) calc(var(--cut) + clamp(3rem, 6vw, 5rem)); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(2rem, 5vw, 4rem); align-items: end; }
.hero h1 { color: var(--cream); margin-bottom: 0.4em; font-size: inherit; line-height: 0.95; }
.hero h1 .big { display: block; font-size: clamp(3.4rem, 11vw, 8.4rem); font-weight: 900; letter-spacing: -0.035em; }
.hero h1 .mid { display: block; font-size: clamp(1.7rem, 4.6vw, 3.4rem); font-weight: 500; font-style: italic; letter-spacing: -0.01em; color: var(--cream); margin-top: 0.1em; }
.hero h1 .tag { display: inline-block; margin-top: 1.1rem; padding-top: 0.9rem; border-top: 2px solid var(--gold); font-family: var(--font-label); font-style: normal; font-weight: 500; font-size: clamp(0.8rem, 1.5vw, 1rem); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.hero .lead { max-width: 54ch; margin-top: 0.4rem; }
.seal { width: clamp(150px, 17vw, 220px); height: auto; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45)); transform: rotate(-8deg); }
.seal .ring { font-family: var(--font-label); font-size: 9.6px; font-weight: 500; fill: var(--gold-light); }
.seal .mono { font-family: var(--font-display); font-weight: 900; font-size: 46px; fill: var(--gold); }
.seal .num { font-family: var(--font-label); font-weight: 500; font-size: 8.6px; letter-spacing: 1.4px; fill: var(--cream); }

/* Gold service band */
.band { background: var(--gold); color: var(--navy); margin-top: calc(var(--cut) * -1); padding: calc(var(--cut) + 1.1rem) 0 1.2rem; position: relative; z-index: 1; }
.band ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 0; margin: 0; padding: 0; }
.band li { display: flex; align-items: center; }
.band li + li::before { content: "\25C6"; font-size: 0.7rem; margin-inline: 1.4rem; color: var(--navy); opacity: 0.55; }
.band a { font-family: var(--font-label); font-weight: 500; font-size: 0.84rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy); text-decoration: none; border-bottom: 2px solid transparent; }
.band a:hover { border-bottom-color: var(--navy); }

/* Sections */
.section { padding-block: clamp(3.4rem, 7vw, 6rem); }
.section-light { background: var(--cream-light); }
.section-navy { background: var(--navy); color: var(--cream); }
.section-navy h2, .section-navy h3 { color: var(--cream); }
.section-head { max-width: 50rem; margin-bottom: 2.8rem; }

.since-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.since-wrap { container-type: inline-size; min-width: 0; }
.since-num { font-family: var(--font-display); font-weight: 900; font-size: clamp(5rem, 21vw, 17rem); font-size: min(38cqw, 15rem); line-height: 0.85; letter-spacing: -0.04em; white-space: nowrap; color: transparent; -webkit-text-stroke: 2px var(--navy); position: relative; }
.since-num::after { content: ""; display: block; height: 10px; width: 55%; background: var(--gold); margin-top: 1.2rem; }
.creds { list-style: none; padding: 0; margin: 1.8rem 0 0; }
.creds li { padding: 0.9rem 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1rem; }
.creds li:last-child { border-bottom: 1px solid var(--rule); }
.creds strong { font-family: var(--font-display); font-size: 1.12rem; }
.creds span { color: var(--muted); }

.rows { border-bottom: 2px solid var(--navy); }
.row { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr) 3.2rem; gap: 1.6rem 2.4rem; align-items: center; padding: 2.1rem 0.4rem; border-top: 2px solid var(--navy); transition: background 0.2s, color 0.2s, padding 0.2s; }
.row h3 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 700; }
.row h3 a { color: inherit; text-decoration: none; }
.row h3 a::after { content: ""; position: absolute; inset: 0; }
.row p { margin: 0; color: var(--muted); }
.row::after { content: "\2192"; justify-self: end; display: grid; place-items: center; width: 3rem; height: 3rem; border: 2px solid var(--navy); border-radius: 50%; font-size: 1.3rem; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.row:hover { background: var(--navy); color: var(--cream); padding-inline: 1.6rem; }
.row:hover p { color: #d3dbe6; }
.row:hover::after { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.row:focus-within { outline: 3px solid var(--gold); outline-offset: -3px; }

.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.6rem 2.6rem; }
.why-grid h3 { font-size: 1.35rem; padding-top: 1rem; border-top: 3px solid var(--gold); }
.why-grid p { color: #c9d3e0; margin: 0; font-size: 1rem; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding: 0.75rem 0 0.75rem 2.1rem; border-top: 1px solid var(--rule); }
.check-list li:last-child { border-bottom: 1px solid var(--rule); }
.check-list li::before { content: ""; position: absolute; left: 0.1rem; top: 1.25rem; width: 0.85rem; height: 0.45rem; border-left: 3px solid var(--gold-dark); border-bottom: 3px solid var(--gold-dark); transform: rotate(-45deg); }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; }
.steps li { counter-increment: step; border-top: 3px solid var(--navy); padding-top: 1.1rem; position: relative; }
.steps li::before { content: "Step " counter(step); display: block; font-family: var(--font-label); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 0.5rem; }
.steps li::after { content: ""; position: absolute; top: -9px; left: 0; width: 15px; height: 15px; background: var(--gold); border: 3px solid var(--cream); border-radius: 50%; }
.steps h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.steps p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.area-list { columns: 2; column-gap: 2rem; padding: 0; margin: 0; list-style: none; }
.area-list li { padding: 0.5rem 0; border-bottom: 1px solid var(--rule); break-inside: avoid; font-weight: 500; }

.faq details { border-top: 1px solid var(--rule); padding: 1.2rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); font-weight: 400; font-size: 1.6rem; line-height: 1; color: var(--gold-dark); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0.8rem 0 0; color: var(--muted); max-width: 64ch; }

/* Final call-to-action: gold, loud */
.cta-band { background: var(--gold); color: var(--navy); padding-block: clamp(3.4rem, 7vw, 5.5rem); }
.cta-band .cta-grid { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between; }
.cta-band h2 { color: var(--navy); margin-bottom: 0.3em; font-size: clamp(2.2rem, 5.4vw, 4.2rem); font-weight: 900; letter-spacing: -0.025em; }
.cta-band p { color: var(--navy); margin: 0; max-width: 44ch; font-size: 1.12rem; }
.cta-band .btn { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.cta-band .btn:hover { background: var(--cream); border-color: var(--cream); color: var(--navy); }
.cta-band .btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.cta-band .btn-outline:hover { background: var(--navy); color: var(--cream); }

/* Inner pages */
.page-hero { padding-block: clamp(3rem, 6vw, 5rem) calc(var(--cut) + clamp(2.4rem, 4vw, 3.4rem)); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%); position: relative; z-index: 2; background-image: linear-gradient(90deg, rgba(8, 26, 47, 0.95) 0%, rgba(8, 26, 47, 0.85) 55%, rgba(13, 38, 66, 0.6) 100%), url("/images/grand-rapids-skyline.jpg"), url("/images/skyline-placeholder.svg"); background-size: cover, cover, 100% auto; background-position: center, center 68%, center bottom; }
.page-hero h1 { color: var(--cream); font-size: clamp(2.3rem, 5.4vw, 4.2rem); font-weight: 900; letter-spacing: -0.025em; margin-bottom: 0.4em; max-width: 18ch; }
.page-hero + .section { margin-top: calc(var(--cut) * -0.6); padding-top: calc(var(--cut) * 0.6 + clamp(2.6rem, 5vw, 4rem)); }
.crumbs { font-family: var(--font-label); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.4rem; color: #c9d3e0; }
.crumbs a { color: var(--gold); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.prose h2 { margin-top: 2.4rem; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.5rem; }
.aside-card { background: var(--navy); color: var(--cream); border: 0; border-top: 5px solid var(--gold); padding: 1.8rem; position: sticky; top: 6.5rem; }
.aside-card h3 { font-size: 1.4rem; color: var(--cream); }
.aside-card p { color: #c9d3e0; font-size: 0.98rem; }
.aside-card .btn { display: block; text-align: center; margin-top: 0.8rem; }
.aside-card .btn-dark { background: transparent; border-color: rgba(246, 240, 224, 0.7); color: var(--cream); }
.aside-card .btn-dark:hover { background: var(--cream); color: var(--navy); }
.aside-card a:not(.btn) { color: var(--gold-light); }
.related { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; padding: 0; list-style: none; margin: 0; }
.contact-lines { font-size: 1.25rem; }
.contact-lines a { font-weight: 700; }
.notice { font-size: 0.92rem; color: var(--muted); border-left: 3px solid var(--gold); padding-left: 1rem; margin-top: 2rem; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #c9d3e0; padding-block: 3.2rem 2rem; font-size: 0.95rem; }
.site-footer a { color: var(--cream); text-decoration-color: rgba(194, 154, 62, 0.6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(246, 240, 224, 0.15); }
.footer-grid h2 { font-family: var(--font-label); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.9rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.45rem; }
.footer-legal { padding-top: 1.4rem; font-size: 0.85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 2rem; }

@media (max-width: 960px) {
  .hero-grid, .split, .since-grid { grid-template-columns: minmax(0, 1fr); }
  .seal { justify-self: start; transform: rotate(-6deg); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.2rem; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aside-card { position: static; }
  .row { grid-template-columns: minmax(0, 1fr) 3rem; }
  .row p { grid-column: 1 / -1; grid-row: 2; }
  .row::after { grid-column: 2; grid-row: 1; }
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 24px 1.2rem; border-bottom: 1px solid var(--gold); }
  .nav.open { display: flex; }
  .nav a { padding: 0.9rem 0; border-bottom: 1px solid rgba(246, 240, 224, 0.15); }
  .nav .btn { margin-top: 0.9rem; text-align: center; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .why-grid, .steps, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .area-list { columns: 1; }
  .creds li { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; }
  .brand-mark { font-size: 1.15rem; }
  .brand-sub { font-size: 0.56rem; }
  .band li + li::before { margin-inline: 0.8rem; }
  .band a { font-size: 0.74rem; letter-spacing: 0.1em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
