/* ============================================================
   Jeffrey M. Van Loon, PLLC — "Modern Authority / Woodward"
   Studio A shared stylesheet
   Palette: deep charcoal foundation · ivory text · refined crimson · warm brass
   ============================================================ */

:root {
  /* Foundation */
  --ink:        #0d0e10;   /* deepest near-black */
  --charcoal:   #16181c;   /* section charcoal */
  --charcoal-2: #1d2026;   /* raised cards on dark */
  --line-dark:  #2a2d34;   /* hairline on dark */

  /* Light surfaces */
  --ivory:      #f7f3ec;   /* warm off-white */
  --paper:      #ffffff;
  --paper-2:    #f2ede3;   /* subtle warm paper */
  --line-light: #e2dccf;

  /* Text */
  --text-dark:  #14161a;   /* body text on light */
  --text-mut:   #5c5f66;   /* muted on light */
  --text-ivory: #f4efe6;   /* text on dark */
  --text-ivory-mut: #b7b1a4;/* muted on dark */

  /* Brand accents */
  --crimson:     #b0121a;  /* refined signature red */
  --crimson-lit: #d40202;  /* brighter hover */
  --crimson-deep:#8a0d14;
  --brass:       #c9a24b;  /* warm gold / luxury */
  --brass-soft:  #d9bd7e;

  /* Type */
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Rhythm */
  --wrap: 1180px;
  --wrap-narrow: 780px;
  --gutter: clamp(20px, 5vw, 56px);
  --sec-y: clamp(64px, 9vw, 128px);
  --radius: 4px;
  --shadow: 0 24px 60px -28px rgba(0,0,0,.45);
  --shadow-lg: 0 40px 90px -36px rgba(0,0,0,.55);
  --ease: cubic-bezier(.22,.61,.36,1);

  --header-h: 84px;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; margin: 0; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; }

/* Accessible focus */
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}
.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--crimson); color: #fff; padding: 10px 18px;
  border-radius: var(--radius); z-index: 200; transition: top .2s var(--ease);
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--wrap-narrow); }
.section { padding-block: var(--sec-y); }
.eyebrow {
  font-family: var(--sans);
  font-size: 12.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--crimson); display: inline-flex; align-items: center; gap: .7em; margin: 0 0 18px;
}
.eyebrow.on-dark { color: var(--brass-soft); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .8; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .8; }
h2.display { font-size: clamp(30px, 4.4vw, 50px); }
h3.display { font-size: clamp(22px, 2.6vw, 30px); }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--text-mut); }
.on-dark .lead, .lead.on-dark { color: var(--text-ivory-mut); }

/* Gold rule divider */
.rule { display: flex; align-items: center; gap: 14px; }
.rule::before, .rule::after { content: ""; height: 1px; background: linear-gradient(90deg, transparent, var(--brass), transparent); flex: 1; }
.rule .dot { width: 6px; height: 6px; transform: rotate(45deg); background: var(--brass); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  padding: 15px 28px; border-radius: var(--radius); border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  min-height: 52px; text-align: center; line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--crimson); color: #fff; box-shadow: 0 14px 30px -12px rgba(176,18,26,.6); }
.btn-primary:hover { background: var(--crimson-lit); box-shadow: 0 18px 40px -12px rgba(212,2,2,.65); }
.btn-ghost { background: transparent; color: var(--text-ivory); border-color: rgba(244,239,230,.35); }
.btn-ghost:hover { border-color: var(--brass); color: #fff; background: rgba(201,162,75,.08); }
.btn-ghost.on-light { color: var(--text-dark); border-color: rgba(20,22,26,.25); }
.btn-ghost.on-light:hover { border-color: var(--crimson); color: var(--crimson); background: rgba(176,18,26,.04); }
.btn-brass { background: var(--brass); color: #211a08; }
.btn-brass:hover { background: var(--brass-soft); }
.btn-lg { padding: 18px 34px; font-size: 16px; min-height: 58px; }
.btn-block { display: flex; width: 100%; }

.icon { width: 1.1em; height: 1.1em; flex: none; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,14,16,.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { background: rgba(13,14,16,.96); box-shadow: 0 12px 30px -20px rgba(0,0,0,.8); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 13px; color: var(--text-ivory); margin-right: auto; }
.brand-mark {
  width: 42px; height: 42px; flex: none; border-radius: 3px;
  background: linear-gradient(160deg, #23262c, #121317);
  border: 1px solid var(--line-dark);
  display: grid; place-items: center; position: relative;
}
.brand-mark span { font-family: var(--serif); font-size: 20px; color: var(--brass); font-weight: 700; line-height: 1; }
.brand-mark::after { content: ""; position: absolute; inset: 0; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(201,162,75,.18); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-size: 18px; font-weight: 600; letter-spacing: .01em; }
.brand-sub { font-family: var(--sans); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-ivory-mut); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--text-ivory-mut); font-size: 14.5px; font-weight: 500; letter-spacing: .01em;
  padding: 10px 14px; border-radius: var(--radius); transition: color .2s var(--ease); position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px;
  background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text-ivory); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 14px; margin-left: 8px; }
.header-phone { display: inline-flex; align-items: center; gap: 9px; color: var(--text-ivory); font-weight: 600; }
.header-phone .ph-ico { width: 34px; height: 34px; border-radius: 50%; background: var(--crimson); display: grid; place-items: center; flex: none; }
.header-phone .ph-ico svg { width: 16px; height: 16px; }
.header-phone .ph-txt { display: flex; flex-direction: column; line-height: 1.1; }
.header-phone .ph-label { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-soft); font-weight: 700; }
.header-phone .ph-num { font-size: 16px; }

/* Mobile nav toggle */
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-dark); background: transparent;
  border-radius: var(--radius); position: relative; margin-left: 4px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2px; background: var(--text-ivory);
  transform: translate(-50%,-50%); transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translate(-50%,-50%) rotate(45deg); top: 0; }
.nav-toggle[aria-expanded="true"] span::after { transform: translate(-50%,-50%) rotate(-45deg); top: 0; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: center; background: var(--ink); overflow: hidden; }
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.06); transition: opacity 1.8s var(--ease);
  will-change: opacity, transform;
}
.hero-slide.is-active { opacity: 1; animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-active { animation: none; transform: scale(1); }
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(9,10,12,.94) 0%, rgba(9,10,12,.82) 34%, rgba(9,10,12,.45) 68%, rgba(9,10,12,.28) 100%),
    linear-gradient(0deg, rgba(9,10,12,.8) 0%, transparent 38%);
}
.hero-scrim::after { content:""; position:absolute; inset:0; box-shadow: inset 0 0 200px 40px rgba(0,0,0,.55); }
.hero-inner { position: relative; z-index: 2; width: 100%; padding-block: clamp(60px, 10vh, 120px); }
.hero-content { max-width: 720px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px; color: var(--brass-soft);
  font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 26px;
}
.hero-eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--brass); }
.hero h1 {
  color: #fff; font-size: clamp(38px, 6vw, 74px); line-height: 1.03; letter-spacing: -0.02em;
  text-shadow: 0 2px 30px rgba(0,0,0,.4);
}
.hero h1 .accent { color: var(--brass-soft); font-style: italic; }
.hero-sub { color: var(--text-ivory-mut); font-size: clamp(16px, 1.7vw, 19.5px); max-width: 620px; margin: 24px 0 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-micro { margin-top: 22px; color: var(--text-ivory-mut); font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero-micro span { display: inline-flex; align-items: center; gap: 7px; }
.hero-micro .tick { color: var(--brass); font-weight: 700; }

.hero-dots { position: absolute; z-index: 3; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-dots button { width: 30px; height: 4px; border: 0; border-radius: 2px; background: rgba(255,255,255,.28); padding: 0; transition: background .3s var(--ease); }
.hero-dots button.is-active { background: var(--brass); }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trustbar { background: var(--ink); border-top: 1px solid rgba(255,255,255,.06); }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius); overflow: hidden;
}
.trust-item {
  background: var(--ink); padding: 26px 22px; display: flex; align-items: center; gap: 14px;
  color: var(--text-ivory); transition: background .3s var(--ease);
}
.trust-item:hover { background: #121418; }
.trust-item .t-ico { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(201,162,75,.1); border: 1px solid rgba(201,162,75,.28); }
.trust-item .t-ico svg { width: 20px; height: 20px; stroke: var(--brass-soft); }
.trust-item strong { font-family: var(--sans); font-size: 14.5px; font-weight: 600; line-height: 1.3; }

/* ============================================================
   INTRO / ABOUT
   ============================================================ */
.intro { background: var(--ivory); }
.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.intro-copy h2 { font-size: clamp(28px, 4vw, 46px); margin-bottom: 20px; }
.intro-copy .lead { margin-bottom: 26px; }
.intro-figure { position: relative; }
.intro-figure img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.intro-figure .badge {
  position: absolute; left: -28px; bottom: 34px; background: var(--ink); color: var(--text-ivory);
  padding: 22px 26px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line-dark);
  max-width: 240px;
}
.intro-figure .badge .b-k { font-family: var(--serif); font-size: 34px; color: var(--brass); line-height: 1; }
.intro-figure .badge .b-t { font-size: 13px; color: var(--text-ivory-mut); margin-top: 6px; }
.sig-list { list-style: none; display: grid; gap: 12px; margin: 0 0 28px; }
.sig-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.sig-list .mk { color: var(--crimson); flex: none; margin-top: 2px; }

/* ============================================================
   PRACTICE AREAS GRID
   ============================================================ */
.practice { background: var(--charcoal); color: var(--text-ivory); position: relative; }
.practice::before { content:""; position:absolute; inset:0 0 auto; height:1px; background: linear-gradient(90deg, transparent, rgba(201,162,75,.4), transparent); }
.pa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pa-card {
  position: relative; display: flex; flex-direction: column; min-height: 268px;
  padding: 30px 28px; border-radius: var(--radius); overflow: hidden;
  background: var(--charcoal-2); border: 1px solid var(--line-dark);
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.pa-card:hover { transform: translateY(-6px); border-color: rgba(201,162,75,.5); box-shadow: var(--shadow); }
.pa-card .pa-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .16; transition: opacity .4s var(--ease), transform .6s var(--ease); z-index: 0; }
.pa-card:hover .pa-bg { opacity: .26; transform: scale(1.06); }
.pa-card::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(22,24,28,.55), rgba(22,24,28,.9)); z-index: 1; }
.pa-card > * { position: relative; z-index: 2; }
.pa-num { font-family: var(--serif); font-size: 13px; color: var(--brass); letter-spacing: .1em; }
.pa-ico { width: 44px; height: 44px; margin: 6px 0 16px; }
.pa-ico svg { width: 44px; height: 44px; stroke: var(--brass-soft); }
.pa-card h3 { font-size: 21px; margin-bottom: 10px; color: #fff; }
.pa-card p { font-size: 14.5px; color: var(--text-ivory-mut); margin: 0; }
.pa-card .pa-link { margin-top: auto; padding-top: 16px; color: var(--brass-soft); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.pa-card .pa-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.pa-card:hover .pa-link svg { transform: translateX(4px); }
.pa-card.feature { border-color: rgba(201,162,75,.4); }

/* ============================================================
   STEPS / HOW IT WORKS
   ============================================================ */
.steps { background: var(--ivory); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.step {
  position: relative; padding: 34px 30px; background: var(--paper); border: 1px solid var(--line-light);
  border-radius: var(--radius); box-shadow: 0 20px 40px -34px rgba(0,0,0,.4);
}
.step .s-num { font-family: var(--serif); font-size: 54px; color: var(--paper-2); position: absolute; top: 14px; right: 22px; line-height: 1; -webkit-text-stroke: 1px var(--line-light); }
.step .s-badge { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--brass); display: grid; place-items: center; font-family: var(--serif); font-size: 20px; margin-bottom: 18px; }
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--text-mut); margin: 0; }
.steps-cta { margin-top: 40px; text-align: center; }

/* ============================================================
   CREDIBILITY / COMMITMENT
   ============================================================ */
.commit { position: relative; background: var(--ink); color: var(--text-ivory); overflow: hidden; }
.commit-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .12; z-index: 0; }
.commit::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(13,14,16,.86), rgba(13,14,16,.96)); z-index: 1; }
.commit .wrap { position: relative; z-index: 2; }
.commit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.commit-card { padding: 30px 28px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255,255,255,.02); transition: border-color .3s var(--ease), background .3s var(--ease); }
.commit-card:hover { border-color: rgba(201,162,75,.4); background: rgba(255,255,255,.035); }
.commit-card .c-ico { width: 42px; height: 42px; margin-bottom: 16px; }
.commit-card .c-ico svg { width: 42px; height: 42px; stroke: var(--brass-soft); }
.commit-card h3 { font-size: 20px; color: #fff; margin-bottom: 9px; }
.commit-card p { font-size: 14.5px; color: var(--text-ivory-mut); margin: 0; }

/* ============================================================
   CLOSING CTA BAND
   ============================================================ */
.cta-band { position: relative; background: linear-gradient(120deg, var(--crimson-deep), var(--crimson)); color: #fff; overflow: hidden; }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(120% 140% at 90% 0%, rgba(255,255,255,.12), transparent 60%); }
.cta-band::after { content:""; position:absolute; left:0; right:0; top:0; height:1px; background: linear-gradient(90deg, transparent, var(--brass), transparent); }
.cta-band .wrap { position: relative; z-index: 1; text-align: center; }
.cta-band h2 { font-size: clamp(28px, 4.4vw, 50px); color: #fff; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.9); font-size: clamp(16px, 1.6vw, 19px); max-width: 640px; margin: 0 auto 30px; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-band .btn-primary { background: #fff; color: var(--crimson); box-shadow: 0 16px 34px -14px rgba(0,0,0,.4); }
.cta-band .btn-primary:hover { background: var(--ivory); }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.cta-band .reassure { margin-top: 24px; font-size: 14px; color: rgba(255,255,255,.82); }

/* Slim inline call band (inner pages) */
.callband { background: var(--ink); color: var(--text-ivory); }
.callband .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-block: 26px; }
.callband .cb-txt { font-family: var(--serif); font-size: clamp(19px, 2.2vw, 26px); color: #fff; }
.callband .cb-txt .brass { color: var(--brass-soft); }

/* ============================================================
   CONTACT / FORM
   ============================================================ */
.contact { background: var(--ivory); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-aside h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 18px; }
.info-list { list-style: none; display: grid; gap: 20px; margin: 26px 0 0; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .i-ico { width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--paper); border: 1px solid var(--line-light); display: grid; place-items: center; box-shadow: 0 10px 24px -18px rgba(0,0,0,.4); }
.info-list .i-ico svg { width: 20px; height: 20px; stroke: var(--crimson); }
.info-list .i-k { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mut); font-weight: 700; margin-bottom: 3px; }
.info-list .i-v { font-size: 16.5px; font-weight: 500; color: var(--text-dark); }
.info-list .i-v a:hover { color: var(--crimson); }
.info-note { margin-top: 26px; padding: 18px 20px; background: rgba(176,18,26,.05); border-left: 3px solid var(--crimson); border-radius: 0 var(--radius) var(--radius) 0; font-size: 14.5px; color: var(--text-mut); }

.form-card { background: var(--paper); border: 1px solid var(--line-light); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(26px, 3.6vw, 40px); }
.form-card h3 { font-size: 24px; margin-bottom: 6px; }
.form-card .fc-sub { font-size: 14.5px; color: var(--text-mut); margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--text-dark); margin-bottom: 7px; }
.field .req { color: var(--crimson); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 15.5px; color: var(--text-dark);
  padding: 13px 15px; background: var(--ivory); border: 1px solid var(--line-light); border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--crimson); background: #fff; box-shadow: 0 0 0 3px rgba(176,18,26,.1);
}
.field textarea { resize: vertical; min-height: 118px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: var(--text-mut); margin-bottom: 22px; }
.consent input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--crimson); }
.form-fallback { margin-top: 18px; text-align: center; font-size: 14px; color: var(--text-mut); }
.form-fallback a { color: var(--crimson); font-weight: 600; }
.form-success {
  display: none; text-align: center; padding: 30px 20px;
}
.form-success.show { display: block; animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.form-success .fs-ico { width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; background: rgba(176,18,26,.08); display: grid; place-items: center; }
.form-success .fs-ico svg { width: 34px; height: 34px; stroke: var(--crimson); }
.form-success h3 { font-size: 26px; margin-bottom: 10px; }
.form-success p { color: var(--text-mut); font-size: 15px; }

.map-embed { margin-top: 0; }
.map-embed iframe { width: 100%; height: 340px; border: 0; border-radius: var(--radius); filter: grayscale(.2) contrast(1.05); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero { position: relative; background: var(--ink); color: var(--text-ivory); overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; z-index: 0; }
.page-hero::after { content:""; position:absolute; inset:0; background: linear-gradient(110deg, rgba(11,12,14,.92), rgba(11,12,14,.6)); z-index: 1; }
.page-hero .wrap { position: relative; z-index: 2; padding-block: clamp(56px, 9vw, 108px); }
.breadcrumb { font-size: 13px; color: var(--text-ivory-mut); margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb a:hover { color: var(--brass-soft); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb [aria-current] { color: var(--brass-soft); }
.page-hero h1 { color: #fff; font-size: clamp(32px, 5vw, 58px); max-width: 900px; }
.page-hero .ph-lead { color: var(--text-ivory-mut); font-size: clamp(16px, 1.6vw, 19px); max-width: 680px; margin-top: 20px; }

/* ============================================================
   ARTICLE / INNER CONTENT
   ============================================================ */
.article { background: var(--ivory); }
.article-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 5vw, 68px); align-items: start; }
.article-body h2 { font-size: clamp(24px, 3vw, 34px); margin: 44px 0 16px; }
.article-body h2:first-child { margin-top: 0; }
.article-body p { color: var(--text-dark); }
.article-body .intro-p { font-size: 19px; line-height: 1.75; color: var(--text-dark); }
.help-list { list-style: none; display: grid; gap: 14px; margin: 8px 0 0; }
.help-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; background: var(--paper); border: 1px solid var(--line-light); border-radius: var(--radius); }
.help-list .mk { width: 26px; height: 26px; flex: none; border-radius: 50%; background: rgba(176,18,26,.08); display: grid; place-items: center; color: var(--crimson); margin-top: 1px; }
.help-list .mk svg { width: 15px; height: 15px; }
.help-list strong { display: block; margin-bottom: 2px; }
.help-list span { font-size: 14.5px; color: var(--text-mut); }

/* Mini steps inline */
.mini-steps { display: grid; gap: 14px; counter-reset: ms; }
.mini-step { display: flex; gap: 16px; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line-light); border-radius: var(--radius); }
.mini-step .n { font-family: var(--serif); font-size: 22px; color: var(--brass); flex: none; }
.mini-step h4 { font-family: var(--sans); font-size: 16px; margin: 0 0 3px; }
.mini-step p { font-size: 14.5px; color: var(--text-mut); margin: 0; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--paper); border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 20px 22px; font-family: var(--serif); font-size: 18px; color: var(--text-dark); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .pm { width: 22px; height: 22px; flex: none; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content:""; position:absolute; left:50%; top:50%; background: var(--crimson); transition: transform .3s var(--ease); }
.faq-q .pm::before { width: 14px; height: 2px; transform: translate(-50%,-50%); }
.faq-q .pm::after { width: 2px; height: 14px; transform: translate(-50%,-50%); }
.faq-item[aria-expanded="true"] .pm::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a .faq-a-inner { padding: 0 22px 22px; color: var(--text-mut); font-size: 15px; }
.faq-item[aria-expanded="true"] .faq-a { max-height: 320px; }

/* Sidebar */
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 20px; }
.side-card { border-radius: var(--radius); padding: 28px 26px; }
.side-card.dark { background: var(--ink); color: var(--text-ivory); box-shadow: var(--shadow); }
.side-card.dark h3 { color: #fff; font-size: 22px; margin-bottom: 8px; }
.side-card.dark p { color: var(--text-ivory-mut); font-size: 14.5px; }
.side-phone { display: block; font-family: var(--serif); font-size: 27px; color: var(--brass-soft); margin: 6px 0 16px; }
.side-card.light { background: var(--paper); border: 1px solid var(--line-light); }
.side-card.light h3 { font-size: 19px; margin-bottom: 14px; }
.side-nav { list-style: none; display: grid; gap: 2px; }
.side-nav a { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-radius: var(--radius); font-size: 14.5px; color: var(--text-dark); transition: background .2s var(--ease), color .2s var(--ease); }
.side-nav a:hover, .side-nav a[aria-current="page"] { background: var(--ivory); color: var(--crimson); }
.side-nav a[aria-current="page"] { font-weight: 600; }
.side-nav a svg { width: 15px; height: 15px; opacity: .5; }

.disclaimer-box { margin-top: 20px; padding: 18px 20px; background: rgba(176,18,26,.05); border: 1px solid rgba(176,18,26,.15); border-radius: var(--radius); font-size: 13px; color: var(--text-mut); }

/* ============================================================
   SERVICES LIST PAGE
   ============================================================ */
.svc-list { display: grid; gap: 16px; }
.svc-row {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 24px; align-items: center;
  padding: 26px 30px; background: var(--paper); border: 1px solid var(--line-light); border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.svc-row:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(201,162,75,.5); }
.svc-row .svc-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.svc-row .svc-ico svg { width: 26px; height: 26px; stroke: var(--brass-soft); }
.svc-row h3 { font-size: 22px; margin-bottom: 5px; }
.svc-row p { font-size: 14.5px; color: var(--text-mut); margin: 0; }
.svc-row .svc-go { color: var(--crimson); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.svc-row .svc-go svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.svc-row:hover .svc-go svg { transform: translateX(4px); }
.svc-sub-note { margin-top: 24px; padding: 22px 26px; background: var(--ink); color: var(--text-ivory); border-radius: var(--radius); }
.svc-sub-note h3 { color:#fff; margin-bottom: 8px; }
.svc-sub-note p { color: var(--text-ivory-mut); font-size: 14.5px; margin: 0; }
.svc-sub-note .chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.svc-sub-note .chips span { font-size: 13px; padding: 6px 14px; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--brass-soft); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #0a0b0d; color: var(--text-ivory-mut); padding-top: clamp(56px, 8vw, 88px); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line-dark); }
.footer-brand .brand { color: var(--text-ivory); margin-bottom: 18px; }
.footer-brand p { font-size: 14px; max-width: 320px; }
.footer-col h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-soft); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { font-size: 14.5px; color: var(--text-ivory-mut); transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--text-ivory); }
.footer-contact .fc-item { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; font-size: 14.5px; }
.footer-contact .fc-item svg { width: 18px; height: 18px; stroke: var(--brass-soft); flex: none; margin-top: 3px; }
.footer-contact a:hover { color: #fff; }
.footer-phone-lg { font-family: var(--serif); font-size: 22px; color: #fff; }

.footer-legal { padding-block: 34px; display: grid; gap: 16px; }
.footer-legal p { font-size: 12.5px; line-height: 1.65; color: #7c7f86; margin: 0; }
.footer-legal .debt-notice { color: var(--brass-soft); font-weight: 600; }
.footer-legal .adv { text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 700; color: #8b8e95; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12.5px; color: #6f727a; }
.footer-bottom a:hover { color: var(--text-ivory); }

/* ============================================================
   STICKY MOBILE CALL BAR
   ============================================================ */
.mobile-callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  display: none; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line-dark);
  box-shadow: 0 -12px 30px -12px rgba(0,0,0,.5);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-callbar a {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 10px; font-weight: 700; font-size: 15px; min-height: 56px;
}
.mobile-callbar .mc-call { background: var(--crimson); color: #fff; }
.mobile-callbar .mc-form { background: var(--ink); color: var(--text-ivory); }
.mobile-callbar svg { width: 19px; height: 19px; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .pa-grid, .commit-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .nav, .header-cta .header-phone .ph-txt { display: none; }
  .nav-toggle { display: block; }
  .header-cta { margin-left: auto; }
  .header-phone .ph-txt { display: none; }
  .intro-grid, .contact-grid, .article-grid { grid-template-columns: 1fr; }
  .intro-figure { order: -1; max-width: 460px; }
  .intro-figure .badge { left: 12px; }
  .sidebar { position: static; }
  .article-grid .sidebar { order: 2; }

  /* Mobile nav drawer */
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; display: flex; flex-direction: column; gap: 0;
    background: rgba(10,11,13,.98); backdrop-filter: blur(14px); padding: 12px var(--gutter) 28px;
    border-bottom: 1px solid var(--line-dark); transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.open { display: flex; opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 15px 6px; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.05); border-radius: 0; }
  .nav a::after { display: none; }
  .nav .nav-call { margin-top: 16px; }
  .nav .nav-call .btn { width: 100%; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .trust-grid { grid-template-columns: 1fr; }
  .pa-grid, .commit-grid, .steps-grid, .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .svc-row { grid-template-columns: 48px 1fr; gap: 16px; row-gap: 6px; padding: 22px; }
  .svc-row .svc-go { grid-column: 2; }
  .svc-row .svc-ico { width: 48px; height: 48px; }
  .mobile-callbar { display: grid; }
  body { padding-bottom: 56px; }
  .hero { min-height: 82vh; }
  .callband .wrap { flex-direction: column; align-items: flex-start; }
  .intro-figure .badge { position: static; margin-top: 16px; max-width: none; }
}

/* ============================================================
   QA FIXES (2026-07-16): nav wrapping + inline text collisions
   ============================================================ */
/* Contact info rows: label + value were inline and collided */
.info-list .i-k, .info-list .i-v { display: block; }
/* Header phone button: label over number */
.header-phone .ph-label, .header-phone .ph-num { display: block; }
/* Top nav: never break a menu label across two lines; logo never wraps */
.nav a { white-space: nowrap; }
.brand-name, .brand-sub { white-space: nowrap; }
@media (min-width: 1341px) { .nav { gap: 2px; } .nav a { padding-left: 12px; padding-right: 12px; } }
/* Collapse to the drawer wherever the full horizontal nav would be cramped */
@media (max-width: 1340px) {
  .nav, .header-cta .header-phone .ph-txt { display: none; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(10,11,13,.98); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    padding: 12px var(--gutter) 28px; border-bottom: 1px solid var(--line-dark);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.open { display: flex; opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 15px 6px; font-size: 17px; white-space: normal; border-bottom: 1px solid rgba(255,255,255,.05); border-radius: 0; }
  .nav a::after { display: none; }
  .nav .nav-call { margin-top: 16px; } .nav .nav-call .btn { width: 100%; }
}

/* QA: hero was too dark on the left — lighten the scrim so the photo reads,
   keep enough contrast for the white headline */
.hero-scrim {
  background:
    linear-gradient(100deg, rgba(9,10,12,.72) 0%, rgba(9,10,12,.54) 34%, rgba(9,10,12,.30) 66%, rgba(9,10,12,.16) 100%),
    linear-gradient(0deg, rgba(9,10,12,.72) 0%, transparent 40%);
}
.hero-scrim::after { box-shadow: inset 0 0 200px 40px rgba(0,0,0,.34); }

/* QA: when the horizontal nav (with its own red Call button) is showing,
   hide the redundant phone badge that was wrapping in the corner */
@media (min-width: 1341px) { .header-cta .header-phone { display: none; } }
