/* =====================================================================
   STUDIO C — "Detroit Strong / Editorial Local"
   Jeffrey M. Van Loon, PLLC
   Palette: deep petrol ink + forest-teal, warm copper/brass, cream paper,
   refined signature red as punctuation.
   Type: Fraunces (editorial display serif) + Libre Franklin (body/UI)
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink:        #0e1e26;   /* deep petrol ink navy */
  --ink-2:      #142c32;
  --teal:       #143f3c;   /* forest-teal secondary */
  --teal-2:     #1b514c;
  --copper:     #b56b34;   /* warm copper */
  --copper-lt:  #d1904f;   /* brass/amber highlight */
  --brass:      #c99a5b;
  --cream:      #f6efe2;   /* paper */
  --cream-2:    #ece1cd;
  --paper:      #faf5ec;
  --red:        #c1272d;   /* refined signature red */
  --red-dark:   #9e1f24;
  --ink-70:     rgba(14,30,38,.72);
  --line:       #d9cdb6;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Libre Franklin', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --maxw: 1200px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --radius: 3px;
  --shadow: 0 18px 50px -22px rgba(14,30,38,.45);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper); text-decoration-color: rgba(181,107,52,.4); text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--copper-lt); outline-offset: 3px; border-radius: 2px; }

.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--cream); padding: .8rem 1.2rem; border-radius: 0 0 4px 0;
}
.skip-link:focus { left: 0; }

.kicker {
  font-family: var(--font-body);
  font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--copper); margin: 0 0 1rem; display: inline-flex; align-items: center; gap: .6rem;
}
.kicker::before { content: ""; width: 30px; height: 2px; background: var(--red); display: inline-block; }
.kicker--light { color: var(--copper-lt); }
.kicker--center { justify-content: center; }

.eyebrow-num {
  font-family: var(--font-display); font-weight: 300;
  font-variant-numeric: lining-nums; letter-spacing: -.02em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  padding: .95rem 1.6rem; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 12px 26px -12px rgba(193,39,45,.7); }
.btn--primary:hover { background: var(--red-dark); color: #fff; }
.btn--copper { background: var(--copper); color: #fff; box-shadow: 0 12px 26px -14px rgba(181,107,52,.7); }
.btn--copper:hover { background: #9c5a29; color:#fff; }
.btn--ghost { background: transparent; color: var(--cream); border-color: rgba(246,239,226,.5); }
.btn--ghost:hover { border-color: var(--cream); background: rgba(246,239,226,.08); color: var(--cream); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: var(--ink-2); color: var(--cream); }
.btn--lg { padding: 1.15rem 2rem; font-size: 1.02rem; }

/* ============================================================
   HEADER
   ============================================================ */
.topbar {
  background: var(--ink); color: var(--cream);
  font-size: .8rem; letter-spacing: .04em;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .5rem; }
.topbar a { color: var(--cream); text-decoration: none; }
.topbar a:hover { color: var(--copper-lt); }
.topbar__note { display: flex; align-items: center; gap: .5rem; opacity: .92; }
.topbar__note::before { content: "●"; color: #57c07a; font-size: .6rem; }
.topbar__links { display: flex; gap: 1.4rem; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,245,236,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .85rem; }

.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--ink); }
.brand__mark {
  width: 46px; height: 46px; flex: none; border-radius: 50%;
  background: var(--ink); color: var(--cream);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
  border: 2px solid var(--copper); letter-spacing: -.03em;
}
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; line-height: 1.05; color: var(--ink); }
.brand__sub { display: block; font-family: var(--font-body); font-size: .64rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--copper); margin-top: 3px; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  font-family: var(--font-body); font-weight: 600; font-size: .92rem; color: var(--ink);
  text-decoration: none; padding: .35rem 0; position: relative; letter-spacing: .01em;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 0; background: var(--red); transition: width .25s var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { width: 100%; }
.main-nav a[aria-current="page"] { color: var(--red); }

.header-cta { display: flex; align-items: center; gap: 1rem; }
.call-pill {
  display: inline-flex; align-items: center; gap: .6rem; text-decoration: none;
  background: var(--ink); color: var(--cream); padding: .6rem 1.05rem; border-radius: 40px;
  font-weight: 700; font-size: .95rem; transition: background .2s, transform .2s;
}
.call-pill:hover { background: var(--red); color:#fff; transform: translateY(-1px); }
.call-pill svg { width: 16px; height: 16px; }
.call-pill small { display: block; font-size: .58rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.call-pill .num { font-family: var(--font-body); }

.nav-toggle {
  display: none; background: var(--ink); border: 0; color: var(--cream);
  width: 46px; height: 46px; border-radius: var(--radius); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; color: var(--cream); overflow: hidden;
  background: var(--ink);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(9,20,26,.62) 0%, rgba(9,20,26,.55) 40%, rgba(9,20,26,.86) 100%),
    linear-gradient(90deg, rgba(9,20,26,.72) 0%, rgba(9,20,26,.15) 70%);
}
.hero__inner {
  position: relative; z-index: 2;
  padding-block: clamp(4rem, 11vw, 8.5rem);
  max-width: 860px;
}
.hero h1 {
  color: #fff; font-weight: 600;
  font-size: clamp(2.5rem, 6.4vw, 5rem); line-height: .98; letter-spacing: -.02em;
  margin-bottom: 1.1rem; text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--copper-lt); font-variation-settings: "opsz" 40; }
.hero__sub { font-size: clamp(1.05rem, 1.7vw, 1.28rem); max-width: 640px; color: #f2e9da; margin-bottom: 1.9rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.hero__micro {
  margin-top: 1.5rem; font-size: .82rem; letter-spacing: .04em; color: #d8ccb8;
  display: flex; flex-wrap: wrap; gap: .5rem 1.3rem;
}
.hero__micro span { display: inline-flex; align-items: center; gap: .45rem; }
.hero__micro span::before { content: "✓"; color: var(--copper-lt); font-weight: 700; }

.hero__placard {
  position: absolute; right: var(--gutter); bottom: 2.2rem; z-index: 2;
  background: rgba(14,30,38,.55); border: 1px solid rgba(201,154,91,.4);
  backdrop-filter: blur(6px); padding: .9rem 1.2rem; border-radius: var(--radius);
  max-width: 260px; font-size: .82rem; color: #eadfca; line-height: 1.45;
}
.hero__placard strong { font-family: var(--font-display); color: var(--copper-lt); display:block; font-size: 1rem; margin-bottom: 2px;}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trustbar { background: var(--ink-2); color: var(--cream); border-top: 3px solid var(--copper); }
.trustbar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trustbar__item {
  padding: 1.5rem 1.4rem; display: flex; gap: .85rem; align-items: flex-start;
  border-right: 1px solid rgba(246,239,226,.09);
}
.trustbar__item:nth-child(4n) { border-right: 0; }
.trustbar__ico { flex: none; color: var(--copper-lt); font-size: 1.35rem; line-height: 1; margin-top: 2px; }
.trustbar__t { font-family: var(--font-display); font-weight: 600; font-size: .98rem; color: #fff; line-height: 1.15; }
.trustbar__d { font-size: .78rem; color: #c4b9a4; margin-top: 3px; line-height: 1.4; }

/* ============================================================
   SECTIONS / SHARED
   ============================================================ */
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--paper { background: var(--paper); }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); color: var(--cream); }
.section--ink h2, .section--ink h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.section-head p { font-size: 1.1rem; color: #4a5157; }
.section--ink .section-head p { color: #c6bca9; }

/* Editorial intro w/ drop cap */
.intro-editorial { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.intro-editorial__label h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.intro-editorial__body p:first-of-type::first-letter {
  font-family: var(--font-display); font-weight: 600; float: left;
  font-size: 4.6rem; line-height: .78; padding: .35rem .55rem .15rem 0; color: var(--red);
}
.intro-editorial__body p { font-size: 1.12rem; color: #38404a; }
.intro-editorial__body .btn { margin-top: .6rem; }
.rule-copper { height: 3px; width: 64px; background: var(--copper); margin-bottom: 1.4rem; }

/* ============================================================
   PRACTICE AREAS — editorial index list (not cards)
   ============================================================ */
.practice-list { border-top: 1px solid var(--line); }
.practice-row {
  display: grid; grid-template-columns: 5.5rem 1fr auto; align-items: center; gap: 1.5rem;
  padding: 1.65rem .5rem; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink); position: relative; transition: background .25s, padding .25s;
}
.practice-row:hover { background: var(--cream); padding-inline: 1.4rem .8rem; color: var(--ink); }
.practice-row__num {
  font-family: var(--font-display); font-weight: 300; font-size: 2.4rem; color: var(--copper);
  font-variant-numeric: lining-nums; letter-spacing: -.03em; transition: color .25s;
}
.practice-row:hover .practice-row__num { color: var(--red); }
.practice-row__main h3 { font-size: 1.4rem; margin-bottom: .25rem; transition: color .2s; }
.practice-row:hover .practice-row__main h3 { color: var(--red); }
.practice-row__main p { margin: 0; font-size: .95rem; color: #545c62; max-width: 62ch; }
.practice-row__arrow {
  flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink); transition: all .25s var(--ease);
}
.practice-row:hover .practice-row__arrow { background: var(--red); border-color: var(--red); color: #fff; transform: translateX(4px); }
.practice-row__arrow svg { width: 18px; height: 18px; }

/* ============================================================
   ROOTED IN DETROIT — full-bleed feature + pull quote
   ============================================================ */
.rooted { position: relative; color: var(--cream); overflow: hidden; isolation: isolate; }
.rooted__media { position: absolute; inset: 0; z-index: -1; }
.rooted__media img { width: 100%; height: 100%; object-fit: cover; }
.rooted__media::after { content:""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(9,20,26,.92) 0%, rgba(9,20,26,.72) 45%, rgba(9,20,26,.35) 100%); }
.rooted__inner { padding-block: clamp(4rem, 9vw, 7.5rem); max-width: 660px; }
.rooted__inner h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.3rem); }
.pullquote {
  font-family: var(--font-display); font-weight: 400; font-style: italic;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.35; color: var(--copper-lt);
  border-left: 3px solid var(--red); padding-left: 1.4rem; margin: 1.8rem 0;
}
.rooted__inner p { color: #ddd2bf; font-size: 1.08rem; }

/* ============================================================
   STEPS — how it works, big numerals
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.step { position: relative; padding-top: 1rem; }
.step__num {
  font-family: var(--font-display); font-weight: 300; font-size: 4.5rem; line-height: 1;
  color: var(--copper-lt); font-variant-numeric: lining-nums; opacity: .95; margin-bottom: .4rem;
  letter-spacing: -.03em;
}
.step h3 { font-size: 1.35rem; color: #fff; }
.step p { color: #c6bca9; font-size: .98rem; margin: 0; }
.step::before { content:""; position:absolute; top: 2.9rem; left: 0; width: 42px; height: 3px; background: var(--red); }

/* ============================================================
   COMMITMENTS — offset editorial cards
   ============================================================ */
.commit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.commit {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.7rem; position: relative; transition: transform .25s var(--ease), box-shadow .25s;
}
.commit:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.commit__k { font-family: var(--font-display); font-weight: 300; font-size: 1.6rem; color: var(--copper); display:block; margin-bottom:.6rem;}
.commit h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.commit p { font-size: .93rem; color: #545c62; margin: 0; }
.commit--accent { background: var(--teal); border-color: var(--teal-2); color: var(--cream); }
.commit--accent h3 { color:#fff; } .commit--accent p { color:#cfe0da; } .commit--accent .commit__k { color: var(--copper-lt); }

/* ============================================================
   CLOSING CTA BAND
   ============================================================ */
.cta-band { background: var(--red); color: #fff; text-align: center; }
.cta-band .container { padding-block: clamp(3rem, 6vw, 5rem); }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: .5rem; }
.cta-band p { color: #ffe4e0; font-size: 1.12rem; max-width: 620px; margin-inline: auto; margin-bottom: 1.8rem; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }
.cta-band .btn--primary { background: #fff; color: var(--red); }
.cta-band .btn--primary:hover { background: var(--ink); color: #fff; }
.cta-band .btn--ghost { border-color: rgba(255,255,255,.6); color:#fff; }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,.12); border-color:#fff; }
.cta-band__note { margin-top: 1.6rem; margin-bottom: 0; font-size: .88rem; color: #ffd9d4; }

/* ============================================================
   CONTACT / FORM
   ============================================================ */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-aside h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.contact-aside .call-big {
  display: inline-flex; align-items: baseline; gap: .5rem; font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--red); text-decoration: none; font-weight: 600; margin: .3rem 0 1rem;
}
.contact-aside .call-big:hover { color: var(--ink); }
.info-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.info-list li { display: flex; gap: .85rem; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.info-list .lbl { font-weight: 700; color: var(--copper); min-width: 90px; letter-spacing:.02em; }
.reassure { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.reassure span { font-size: .78rem; background: var(--cream); border:1px solid var(--line); padding:.35rem .7rem; border-radius: 30px; color: var(--ink); }

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.form-card__sub { color:#545c62; font-size: .92rem; margin-bottom: 1.4rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .84rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); margin-bottom: .4rem; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: .8rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(181,107,52,.18); }
.field textarea { min-height: 120px; resize: vertical; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-consent { display: flex; gap: .65rem; align-items: flex-start; font-size: .84rem; color: #545c62; margin-bottom: 1.2rem; }
.field-consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--red); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-success {
  display: none; background: var(--teal); color: var(--cream); border-radius: 6px; padding: 1.6rem;
  border-left: 4px solid var(--copper-lt);
}
.form-success.show { display: block; }
.form-success h3 { color: #fff; }
.form-success a { color: var(--copper-lt); }
.form-note { font-size: .78rem; color: #6a7178; margin-top: 1rem; }

.map-embed { border: 0; width: 100%; height: 340px; border-radius: 6px; filter: grayscale(.15); }

/* ============================================================
   INNER / PRACTICE PAGE
   ============================================================ */
.page-hero { position: relative; color: var(--cream); background: var(--ink); overflow: hidden; }
.page-hero__media { position:absolute; inset:0; z-index:0; }
.page-hero__media img { width:100%; height:100%; object-fit: cover; object-position: center 35%; opacity:.4; }
.page-hero__media::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(9,20,26,.55), rgba(9,20,26,.88)); }
.page-hero__inner { position: relative; z-index: 2; padding-block: clamp(3rem, 7vw, 5.5rem); max-width: 820px; }
.page-hero h1 { color:#fff; font-size: clamp(2.1rem, 4.8vw, 3.5rem); }
.page-hero p { color:#ddd2bf; font-size: 1.12rem; max-width: 620px; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1.2rem; font-size: .82rem; color: #b7ac97; }
.breadcrumb li::after { content: "/"; margin-left: .5rem; color: var(--copper-lt); }
.breadcrumb li:last-child::after { content:""; }
.breadcrumb a { color: #d8ccb8; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: var(--copper-lt); }

.callband {
  background: var(--copper); color:#fff; text-align:center; padding: 1rem;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 600;
}
.callband a { color:#fff; text-decoration: underline; text-underline-offset: 4px; }

.article { display: grid; grid-template-columns: 1fr 320px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.article__body h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 2.2rem; }
.article__body h2:first-child { margin-top: 0; }
.article__body p { font-size: 1.06rem; color: #38404a; }
.article__body ul { list-style: none; padding: 0; }
.article__body ul li { position: relative; padding-left: 1.8rem; margin-bottom: .75rem; font-size: 1.02rem; color:#38404a; }
.article__body ul li::before { content:""; position:absolute; left:0; top:.55em; width: 9px; height: 9px; background: var(--red); border-radius: 2px; transform: rotate(45deg); }
.article__body .lead { font-size: 1.18rem; color: var(--ink); }
.article__body .lead::first-letter { font-family: var(--font-display); font-weight:600; float:left; font-size: 3.8rem; line-height:.8; padding:.3rem .5rem .1rem 0; color: var(--red); }

.faq { border-top: 1px solid var(--line); margin-top: 1rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--copper); font-family: var(--font-body); transition: transform .2s; }
.faq details[open] summary::after { content: "–"; color: var(--red); }
.faq details p { padding: 0 0 1.2rem; margin: 0; color: #4a5157; font-size: 1rem; }

.sidecard { position: sticky; top: 100px; background: var(--ink); color: var(--cream); border-radius: 6px; padding: 1.8rem; box-shadow: var(--shadow); }
.sidecard h3 { color:#fff; font-size: 1.3rem; }
.sidecard p { color:#c6bca9; font-size: .92rem; }
.sidecard .call-big { font-family: var(--font-display); font-size: 1.7rem; color: var(--copper-lt); text-decoration: none; display:block; margin: .6rem 0 1rem; font-weight:600; }
.sidecard .call-big:hover { color:#fff; }
.sidecard .btn { width: 100%; justify-content: center; }
.sidecard ul { list-style: none; padding: 0; margin: 1.2rem 0 0; font-size: .86rem; }
.sidecard ul li { padding: .5rem 0; border-top: 1px solid rgba(246,239,226,.12); display:flex; gap:.5rem; }
.sidecard ul li::before { content:"✓"; color: var(--copper-lt); }

/* Badges strip (reusable) */
.badges { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.badge {
  display: inline-flex; align-items: center; gap: .5rem; background: var(--paper); border:1px solid var(--line);
  padding: .55rem 1rem; border-radius: 30px; font-size: .82rem; font-weight: 600; color: var(--ink);
}
.badge span { color: var(--copper); font-size: 1rem; }

/* Services page grid */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.svc {
  display: grid; grid-template-columns: 4rem 1fr; gap: 1.2rem; align-items: start;
  background: var(--paper); border:1px solid var(--line); border-radius: 6px; padding: 1.6rem;
  text-decoration: none; color: var(--ink); transition: transform .22s var(--ease), box-shadow .22s, border-color .22s;
}
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--copper); color: var(--ink); }
.svc__num { font-family: var(--font-display); font-weight: 300; font-size: 2.3rem; color: var(--copper); line-height:1; }
.svc h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.svc:hover h3 { color: var(--red); }
.svc p { margin: 0; font-size: .9rem; color: #545c62; }
.svc__tag { display:inline-block; margin-top:.6rem; font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color: var(--copper); }

.subcluster { background: var(--cream); border-radius: 6px; padding: clamp(1.5rem,3vw,2.2rem); margin-top: 1.4rem; }
.subcluster h3 { font-size: 1.3rem; }
.subcluster__items { display:grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin-top:1rem; }
.subcluster__item { background: var(--paper); border:1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.subcluster__item strong { font-family: var(--font-display); display:block; margin-bottom:.2rem; }
.subcluster__item p { font-size:.82rem; color:#545c62; margin:0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: #b7ac97; font-size: .9rem; }
.footer-top { padding-block: clamp(3rem, 6vw, 4.5rem); border-bottom: 1px solid rgba(246,239,226,.1); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer-grid h4 { color: var(--copper-lt); font-family: var(--font-body); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-brand .brand__name { color: #fff; font-size: 1.2rem; }
.footer-brand p { color: #a99e89; font-size: .9rem; margin-top: .8rem; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: .6rem; }
.footer-nav a { color:#c8bda7; text-decoration: none; }
.footer-nav a:hover { color: var(--copper-lt); }
.footer-contact a { color: #c8bda7; text-decoration: none; }
.footer-contact a:hover { color: var(--copper-lt); }
.footer-call { font-family: var(--font-display); font-size: 1.5rem; color: #fff !important; display:inline-block; margin: .3rem 0 .6rem; }
.footer-legal { padding-block: 2rem; font-size: .76rem; line-height: 1.6; color: #8f8571; }
.footer-legal p { margin: 0 0 .9rem; }
.footer-legal strong { color: #b7ac97; }
.footer-legal .disclaimer { border-left: 2px solid var(--copper); padding-left: 1rem; }
.footer-meta { display:flex; flex-wrap:wrap; gap: .5rem 1.5rem; justify-content: space-between; align-items:center; padding-top: 1rem; border-top: 1px solid rgba(246,239,226,.1); }
.footer-tag { display:inline-flex; align-items:center; gap:.5rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; font-size:.7rem; color: var(--copper-lt); }

/* ============================================================
   STICKY MOBILE CALL BAR
   ============================================================ */
.mobile-callbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  background: var(--red); box-shadow: 0 -8px 24px -12px rgba(0,0,0,.5);
}
.mobile-callbar a {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem; color: #fff; font-weight: 700; font-size: 1.05rem; text-decoration: none; letter-spacing: .02em;
}
.mobile-callbar svg { width: 20px; height: 20px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .trustbar .container { grid-template-columns: repeat(2, 1fr); }
  .trustbar__item:nth-child(2n) { border-right: 0; }
  .trustbar__item { border-bottom: 1px solid rgba(246,239,226,.09); }
  .commit-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .subcluster__items { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 860px) {
  .topbar { display: none; }
  .main-nav { display: none; position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    background: var(--ink); padding: 5rem 1.8rem 2rem; z-index: 90; box-shadow: var(--shadow); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid rgba(246,239,226,.12); }
  .main-nav a { display: block; padding: 1rem 0; color: var(--cream); font-size: 1.1rem; }
  .main-nav a::after { display: none; }
  .main-nav a[aria-current="page"] { color: var(--copper-lt); }
  .nav-toggle { display: inline-flex; }
  .header-cta .call-pill small { display:none; }
  .header-cta .call-pill { padding:.55rem .8rem; }
  .site-header .container { gap: .8rem; }

  .intro-editorial { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps { grid-template-columns: 1fr; }
  .contact-split { grid-template-columns: 1fr; }
  .article { grid-template-columns: 1fr; }
  .sidecard { position: static; }
  .svc-grid { grid-template-columns: 1fr; }
  .hero__placard { display: none; }

  .mobile-callbar { display: block; }
  body { padding-bottom: 60px; }
  .site-footer { margin-bottom: 0; }
}

@media (max-width: 560px) {
  .trustbar .container { grid-template-columns: 1fr; }
  .trustbar__item, .trustbar__item:nth-child(2n) { border-right: 0; }
  .commit-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .practice-row { grid-template-columns: 3.2rem 1fr; }
  .practice-row__arrow { display: none; }
  .practice-row__num { font-size: 1.8rem; }
  .subcluster__items { grid-template-columns: 1fr; }
  .footer-meta { flex-direction: column; align-items:flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ============================================================
   QA FIXES (2026-07-16): trust-bar collision + nav wrapping
   ============================================================ */
/* Trust bar: title + description were inline and collided */
.trustbar__t, .trustbar__d { display: block; }
.main-nav a { white-space: nowrap; }
.brand__name, .brand__sub { white-space: nowrap; }
/* Collapse to the drawer wherever the full horizontal nav would be cramped */
@media (max-width: 1340px) {
  .main-nav {
    display: none; position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    background: var(--ink); padding: 5rem 1.8rem 2rem; z-index: 90; box-shadow: var(--shadow);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid rgba(246,239,226,.12); }
  .main-nav a { display: block; padding: 1rem 0; color: var(--cream); font-size: 1.1rem; white-space: normal; }
  .main-nav a::after { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* QA: keep the header call-pill phone number on a single line */
.call-pill .num { display: block; white-space: nowrap; }
.call-pill small { white-space: nowrap; }
