/* tulsaprivateinvestigations.com — editorial guide
   Warm paper, espresso ink, aged-brass accent. Mobile-first. */

:root {
  --paper: #F6F1E7;
  --paper-deep: #EFE8D9;
  --ink: #201C16;
  --ink-soft: #57503F;
  --line: #D8CEB9;
  --brass: #8C6A1F;
  --brass-bright: #B08828;
  --panel: #221E17;
  --panel-ink: #F2ECDD;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: only light; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.72 var(--serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 1.25rem; }
.wrap-narrow { max-width: 760px; }

a { color: var(--brass); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

img { max-width: 100%; height: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper);
  padding: .5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------- masthead --- */
.site-header { border-bottom: 3px double var(--ink); background: var(--paper); }
.masthead { display: flex; align-items: flex-end; justify-content: space-between; padding-top: 1.4rem; padding-bottom: .9rem; }
.wordmark { text-decoration: none; color: var(--ink); line-height: 1.05; }
.wordmark-city {
  display: block; font-family: var(--sans); font-size: .72rem; font-weight: 700;
  letter-spacing: .34em; text-transform: uppercase; color: var(--brass);
}
.wordmark-main { display: block; font-size: 1.65rem; font-weight: 700; letter-spacing: .01em; margin-top: .1rem; }
.wordmark-tag { display: block; font-style: italic; font-size: .8rem; color: var(--ink-soft); margin-top: .18rem; }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 1px solid var(--line);
  border-radius: 6px; padding: .6rem .55rem; cursor: pointer; margin-bottom: .3rem;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); }

.site-nav { border-top: 1px solid var(--line); font-family: var(--sans); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: none; flex-wrap: wrap; }
.site-nav.open ul { display: flex; flex-direction: column; padding: .4rem 0 .8rem; }
.site-nav a {
  display: block; padding: .55rem .2rem; color: var(--ink); text-decoration: none;
  font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.site-nav a:hover { color: var(--brass); }
.site-nav a[aria-current="page"] { color: var(--brass); }
.nav-rec a {
  color: var(--brass);
  border: 1px solid var(--brass); border-radius: 999px; padding: .4rem 1rem; margin: .35rem 0;
  display: inline-block;
}
.nav-rec a:hover, .nav-rec a[aria-current="page"] { background: var(--brass); color: var(--paper); }

@media (min-width: 800px) {
  .nav-toggle { display: none; }
  .site-nav ul, .site-nav.open ul { display: flex; flex-direction: row; align-items: center; gap: 1.6rem; padding: 0; }
  .site-nav a { padding: .8rem 0; }
  .nav-rec { margin-left: auto; }
  .nav-rec a { padding: .45rem 1.1rem; margin: 0; }
}

/* ------------------------------------------------------------- hero --- */
.page-hero { padding: 2.6rem 0 2.2rem; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 5.5vw, 3.1rem); line-height: 1.12; margin: .5rem 0 .9rem; letter-spacing: -.01em; }
.page-hero .lede { font-size: 1.15rem; line-height: 1.6; color: var(--ink-soft); max-width: 46rem; margin: 0; }
.kicker-row { font-family: var(--sans); font-size: .75rem; color: var(--ink-soft); letter-spacing: .04em; }

.eyebrow {
  font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .3em;
  text-transform: uppercase; color: var(--brass); margin: 0 0 .3rem;
}
.eyebrow-light { color: var(--brass-bright); }

/* --------------------------------------------------------- sections --- */
section { padding: 2.6rem 0; }
.section-deep { background: var(--paper-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

h2 { font-size: clamp(1.45rem, 3.6vw, 1.9rem); line-height: 1.2; margin: 0 0 .9rem; }
h3 { font-size: 1.15rem; margin: 1.6rem 0 .5rem; }

.article { max-width: 46rem; }
.article > p:first-of-type::first-letter {
  float: left; font-size: 3.5em; line-height: .82; padding: .06em .12em 0 0; color: var(--brass);
  font-weight: 700;
}
.article h2 { margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.article h2:first-of-type { margin-top: 1.2rem; }
.article ul, .article ol { padding-left: 1.3rem; }
.article li { margin: .45rem 0; }
.article li::marker { color: var(--brass); }

.section-num {
  font-family: var(--sans); font-weight: 700; font-size: .78rem; color: var(--brass);
  letter-spacing: .2em; display: block; margin-bottom: .15rem;
}

/* table of contents */
.toc {
  font-family: var(--sans); border: 1px solid var(--line); border-left: 4px solid var(--brass);
  background: var(--paper-deep); border-radius: 0 8px 8px 0; padding: 1rem 1.3rem; margin: 1.8rem 0;
}
.toc strong { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.toc ol { margin: .5rem 0 0; padding-left: 1.2rem; font-size: .92rem; }
.toc li { margin: .25rem 0; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* ------------------------------------------------------ card grid --- */
.grid { display: grid; gap: 1.1rem; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #FCFAF4; border: 1px solid var(--line); border-radius: 10px;
  padding: 1.4rem 1.5rem; position: relative;
}
a.card { display: block; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--brass); transform: translateY(-2px); }
.card .card-num {
  font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .26em;
  color: var(--brass); text-transform: uppercase;
}
.card h3 { margin: .45rem 0 .5rem; font-size: 1.22rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: .96rem; line-height: 1.6; }
.card .more { display: inline-block; margin-top: .8rem; font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); }

/* ------------------------------------------- recommendation callout --- */
.rec-callout {
  background: var(--panel); color: var(--panel-ink); border-radius: 12px;
  padding: 1.6rem 1.6rem 1.5rem; margin: 2.4rem 0; border-top: 4px solid var(--brass-bright);
}
.rec-callout .eyebrow { color: var(--brass-bright); }
.rec-callout h3, .rec-callout h2 { color: #FFFDF6; margin: .2rem 0 .6rem; font-size: 1.35rem; }
.rec-callout p { margin: 0 0 1rem; color: #D9D2C0; font-size: .98rem; line-height: 1.65; }
.rec-callout a { color: var(--brass-bright); }
.rec-callout .btn { margin: .2rem .6rem .2rem 0; }

.btn {
  display: inline-block; font-family: var(--sans); font-weight: 700; font-size: .92rem;
  border-radius: 8px; padding: .68rem 1.3rem; text-decoration: none; letter-spacing: .02em;
}
.btn-solid { background: var(--brass-bright); color: #1B1610; border: 1px solid var(--brass-bright); }
.btn-solid:hover { background: #C79A32; color: #1B1610; }
.btn-ghost { border: 1px solid #6E664F; color: var(--panel-ink); background: var(--panel); }
.btn-ghost:hover { border-color: var(--brass-bright); color: var(--brass-bright); }
.btn-ink { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); }
.btn-ink:hover { background: var(--brass); border-color: var(--brass); color: #fff; }

/* checklist + red flags */
.checklist, .flaglist { list-style: none; padding: 0; margin: 1rem 0; }
.checklist li, .flaglist li {
  padding: .65rem 0 .65rem 1.9rem; position: relative; border-bottom: 1px dotted var(--line);
}
.checklist li::before {
  content: "✓"; position: absolute; left: .1rem; top: .6rem; color: var(--brass);
  font-family: var(--sans); font-weight: 700;
}
.flaglist li::before {
  content: "✗"; position: absolute; left: .1rem; top: .6rem; color: #9C3320;
  font-family: var(--sans); font-weight: 700;
}

/* definition rows (services explained) */
.svc { border-top: 1px solid var(--line); padding: 1.6rem 0; }
.svc h3 { margin: 0 0 .4rem; font-size: 1.3rem; }
.svc .svc-kicker { font-family: var(--sans); font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); }

/* faq */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; padding: .95rem 0; font-weight: 700; font-size: 1.02rem; list-style: none;
  position: relative; padding-right: 2rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: .3rem; top: .8rem; color: var(--brass);
  font-family: var(--sans); font-size: 1.3rem; font-weight: 400;
}
.faq-item[open] summary::after { content: "–"; }
.faq-body { padding: 0 0 1rem; color: var(--ink-soft); }
.faq-body p { margin: 0 0 .6rem; }

/* pull quote */
.pullquote {
  border-left: 4px solid var(--brass); margin: 2rem 0; padding: .4rem 0 .4rem 1.3rem;
  font-size: 1.25rem; font-style: italic; line-height: 1.5; color: var(--ink-soft);
}

/* fact table */
.fact-table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1.2rem 0; font-family: var(--sans); }
.fact-table th, .fact-table td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.fact-table th { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.table-scroll { overflow-x: auto; }

/* ---------------------------------------------------------- cta band --- */
.cta-band {
  background: var(--panel); color: var(--panel-ink); text-align: center;
  padding: 3rem 0; border-top: 4px solid var(--brass-bright);
}
.cta-band h2 { color: #FFFDF6; margin: .3rem 0 .8rem; }
.cta-copy { max-width: 40rem; margin: 0 auto 1.4rem; color: #D9D2C0; }
.cta-actions { margin: 0; }
.cta-actions .btn { margin: .3rem .4rem; }

/* ------------------------------------------------------------ footer --- */
.site-footer { background: #17140F; color: #B8B09C; font-family: var(--sans); font-size: .9rem; }
.footer-grid { display: grid; gap: 1.8rem; padding: 2.4rem 1.25rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-wordmark { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; color: #F2ECDD; margin: 0 0 .6rem; }
.footer-note { line-height: 1.6; margin: 0; font-size: .84rem; }
.site-footer h3 { font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: #8B8471; margin: 0 0 .7rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .35rem 0; }
.site-footer a { color: #D8D0BC; text-decoration: none; }
.site-footer a:hover { color: var(--brass-bright); text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.8; }
.footer-legal { border-top: 1px solid #2B2619; padding: 1rem 0 1.4rem; font-size: .78rem; color: #857D69; }
.footer-legal p { margin: .3rem 0; }
.footer-legal a { color: #A79D84; }

/* utility */
.mt-0 { margin-top: 0; }
.small { font-size: .88rem; color: var(--ink-soft); }
.text-center { text-align: center; }
