/* ==========================================================================
   daytonlawyers.com, 2026 redesign
   Law Offices of Terry W. Posey

   Concept: "From the badge to the bar." Deep ink navy and warm ivory, a brass
   accent drawn from the Medal of Valor, a warm editorial serif for headlines
   and a plain, highly legible sans for reading. A dashed road center line is
   the recurring signature for a practice built around crash injuries.
   Replaces css/styles.css and css/pages.css (kept on disk for rollback).
   ========================================================================== */

:root {
  --ink: #12233a;
  --ink-2: #1b3150;
  --ink-3: #284468;
  --paper: #fbf8f2;
  --paper-2: #f3ece0;
  --card: #ffffff;
  --text: #1f2733;
  --muted: #5a6372;
  --line: #e6ddce;
  --brass: #b3832d;
  --brass-2: #d8b066;
  --brass-soft: #f4e7cc;
  --ember: #b7472a;
  --sage: #e4ece6;
  --sage-ink: #2f5a43;

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(18, 35, 58, .06), 0 10px 30px -12px rgba(18, 35, 58, .18);
  --shadow-lg: 0 30px 60px -20px rgba(18, 35, 58, .35);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink-3); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brass); }
:focus-visible { outline: 3px solid var(--brass-2); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
  font-variation-settings: "opsz" 72;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-variation-settings: "opsz" 36; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.25em; margin: 0 0 1.2em; }
li { margin-bottom: .45em; }
li::marker { color: var(--brass); }
strong { color: var(--ink); font-weight: 650; }
.utility-bar strong, .hero-home strong, .page-header strong, .section-ink strong, .cta-section strong, .stats strong, .site-footer strong { color: #fff; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--muted); line-height: 1.6; }
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.text-center { text-align: center; }
.text-center .lead { margin-inline: auto; max-width: 46rem; }
.mt-1 { margin-top: .75rem; } .mt-2 { margin-top: 1.25rem; } .mt-3 { margin-top: 2rem; } .mb-3 { margin-bottom: 2.5rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .7rem 1rem; z-index: 2000; }
.skip-link:focus { left: 1rem; top: 1rem; color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9rem 1.45rem; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--f-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brass); color: #fff; box-shadow: 0 10px 24px -10px rgba(179, 131, 45, .8); }
.btn-primary:hover { background: #9c7023; color: #fff; }
.btn-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-secondary:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-3); color: #fff; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.text-center .hero-buttons, .cta-section .hero-buttons { justify-content: center; }
/* light-background contexts: secondary becomes ink outline */
.section .btn-secondary, .content-section .btn-secondary, .sidebar .btn-secondary { color: var(--ink); border-color: var(--ink); }
.section .btn-secondary:hover, .content-section .btn-secondary:hover, .sidebar .btn-secondary:hover { background: var(--ink); color: #fff; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 900; background: rgba(251, 248, 242, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.utility-bar { background: var(--ink); color: #dfe6ef; font-size: .86rem; }
.utility-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .45rem; }
.utility-bar a { color: #fff; text-decoration: none; }
.utility-bar a:hover { color: var(--brass-2); }
.utility-note { display: inline-flex; align-items: center; gap: .5em; }
.utility-note i { color: var(--brass-2); }
.utility-links { display: flex; gap: 1.4rem; }
.main-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .85rem; }
.site-branding { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--ink); }
.site-branding:hover { color: var(--ink); }
.brand-mark {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--ink); color: var(--brass-2);
  font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; letter-spacing: .02em;
  box-shadow: inset 0 0 0 2px var(--ink), inset 0 0 0 4px var(--brass-2);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--f-display); font-size: 1.32rem; font-weight: 600; }
.brand-sub { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: .2rem; white-space: nowrap; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: .2rem; margin: 0; padding: 0; }
.main-nav li { margin: 0; }
.main-nav a {
  display: block; padding: .55rem .7rem; border-radius: 999px; white-space: nowrap;
  color: var(--ink); text-decoration: none; font-weight: 550; font-size: .96rem;
}
.main-nav a:hover { background: var(--paper-2); color: var(--ink); }
.main-nav a.active, .main-nav a[aria-current="page"] { color: var(--brass); }
.main-nav .nav-cta a { background: var(--ink); color: #fff; padding-inline: 1.1rem; margin-left: .4rem; }
.main-nav .nav-cta a:hover { background: var(--brass); color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 46px; height: 46px; font-size: 1.2rem; color: var(--ink); cursor: pointer; }

/* ---------- road line signature ---------- */
.road-line { height: 6px; background: repeating-linear-gradient(90deg, var(--brass-2) 0 42px, transparent 42px 70px); opacity: .9; }

/* ---------- home hero ---------- */
.hero-home { position: relative; background: var(--ink); color: #e9eef5; overflow: hidden; }
.hero-home::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60rem 30rem at 85% 10%, rgba(216, 176, 102, .18), transparent 60%),
    radial-gradient(40rem 30rem at 0% 100%, rgba(40, 68, 104, .9), transparent 70%);
  pointer-events: none;
}
.hero-home .container { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.hero-home h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4.1rem); font-weight: 600; margin-bottom: 1.2rem; }
.hero-home h1 em { font-style: italic; color: var(--brass-2); font-weight: 500; }
.hero-home .lead { color: #c9d4e2; max-width: 36rem; }
.hero-home .eyebrow { color: var(--brass-2); }
.hero-proof { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 2rem; padding: 0; list-style: none; font-size: .93rem; color: #c9d4e2; }
.hero-proof li { display: inline-flex; align-items: center; gap: .5em; margin: 0; }
.hero-proof i { color: var(--brass-2); }
.hero-portrait { position: relative; justify-self: center; width: min(100%, 420px); }
.hero-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 220px 220px var(--radius) var(--radius); box-shadow: var(--shadow-lg); }
.hero-portrait::before { content: ""; position: absolute; inset: -14px -14px 14px 14px; border: 2px solid rgba(216, 176, 102, .55); border-radius: 230px 230px var(--radius) var(--radius); z-index: 0; }
.hero-portrait img { position: relative; z-index: 1; }
.badge-card {
  position: absolute; z-index: 2; left: -1.5rem; bottom: 1.6rem; max-width: 250px;
  background: var(--paper); color: var(--ink); border-radius: var(--radius-sm); padding: .9rem 1rem;
  box-shadow: var(--shadow-lg); display: flex; gap: .75rem; align-items: center; font-size: .9rem; line-height: 1.35;
}
.badge-card i { font-size: 1.6rem; color: var(--brass); }
.badge-card strong { display: block; font-family: var(--f-display); font-size: 1.02rem; color: var(--ink); }

/* ---------- inner page hero ---------- */
.page-header { position: relative; background: var(--ink); color: #dfe6ef; overflow: hidden; }
.page-header::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50rem 24rem at 90% 0%, rgba(216, 176, 102, .16), transparent 60%);
  pointer-events: none;
}
.page-header .container { position: relative; padding-block: clamp(2.6rem, 6vw, 4.4rem); }
.page-header h1 { color: #fff; max-width: 22ch; }
.page-header .lead { color: #c9d4e2; max-width: 46rem; margin-bottom: 0; }
.page-header .tagline-quote {
  font-family: var(--f-display); font-style: italic; font-weight: 500;
  color: var(--brass-2); font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.35; max-width: 40rem; margin: 0 0 1rem;
}
.page-header .eyebrow { color: var(--brass-2); }
.page-header .hero-buttons { margin-top: 1.6rem; }
.blog-post .page-header h1 { max-width: 30ch; font-size: clamp(2rem, 3.8vw, 3rem); }

.breadcrumbs { background: var(--paper-2); font-size: .88rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.breadcrumbs .container { padding-block: .7rem; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brass); }
.breadcrumbs ol, .breadcrumbs ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.breadcrumbs li { margin: 0; }

/* ---------- sections ---------- */
.section, .content-section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-alt { background: var(--paper-2); }
.section-ink { background: var(--ink); color: #dfe6ef; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink .lead { color: #c9d4e2; }
.section-head { max-width: 46rem; margin-bottom: 2.6rem; }
.section-head.text-center { margin-inline: auto; }

.grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.8rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 2.6vw, 2rem); box-shadow: var(--shadow); min-width: 0;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #dccfb6; }
.card h3 { margin-bottom: .6rem; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: var(--brass-soft); color: var(--brass); font-size: 1.35rem; margin-bottom: 1.1rem;
}
.badge { display: inline-block; vertical-align: middle; font: 700 .68rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--sage-ink); background: var(--sage); padding: .4em .7em; border-radius: 999px; margin-left: .4em; }

/* ---------- two-column content pages ---------- */
.two-column { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.main-content { min-width: 0; }
.practice-detail { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3.4vw, 2.75rem); box-shadow: var(--shadow); margin-bottom: 2rem; }
.practice-detail h2 { margin-bottom: .8rem; }
.practice-detail h3 { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.practice-detail > h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.practice-detail table { width: 100%; border-collapse: collapse; font-size: .96rem; margin: 1.2rem 0; }
.practice-detail th, .practice-detail td { padding: .7rem .8rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.practice-detail th { background: var(--paper-2); color: var(--ink); font-weight: 650; }
.practice-detail figure { margin: 1.5rem 0; }
.practice-detail svg { max-width: 100%; height: auto; }

.sidebar { position: sticky; top: 120px; display: grid; gap: 1.3rem; min-width: 0; }
.sidebar-widget { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.sidebar-widget h3 { font-size: 1.2rem; }
.sidebar-widget:first-child { background: var(--ink); color: #dfe6ef; border-color: var(--ink); position: relative; overflow: hidden; }
.sidebar-widget:first-child::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: repeating-linear-gradient(90deg, var(--brass-2) 0 28px, transparent 28px 46px); }
.sidebar-widget:first-child h3, .sidebar-widget:first-child strong { color: #fff; }
.sidebar-widget:first-child .btn-primary { width: 100%; }
.sidebar-widget:first-child .btn-outline, .sidebar-widget:first-child .btn-secondary { width: 100%; color: #fff; border-color: rgba(255, 255, 255, .5); }
.sidebar-widget:first-child .btn-outline:hover, .sidebar-widget:first-child .btn-secondary:hover { background: #fff; color: var(--ink); }
.sidebar-widget ul { list-style: none; padding: 0; margin: 0; }
.sidebar-widget li { padding: .45rem 0; border-bottom: 1px dashed var(--line); margin: 0; }
.sidebar-widget li:last-child { border-bottom: 0; }
.sidebar-widget li a { text-decoration: none; font-weight: 550; }
.sidebar-widget i { color: var(--brass); margin-right: .35em; }

/* ---------- callouts ---------- */
.alert { border-radius: var(--radius-sm); padding: 1.1rem 1.25rem; margin: 1.4rem 0; border-left: 4px solid var(--brass); background: var(--brass-soft); color: var(--text); }
.alert-success { background: var(--sage); border-left-color: var(--sage-ink); }
.alert-info { background: #e7eef7; border-left-color: var(--ink-3); }
.alert-warning { background: #fbe8e1; border-left-color: var(--ember); }
.highlight-box { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; margin: 1.5rem 0; }
.icon-list { list-style: none; padding: 0; }
.icon-list li { position: relative; padding-left: 1.9rem; }
.icon-list li i { position: absolute; left: 0; top: .35em; color: var(--brass); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-question {
  position: relative; cursor: pointer; padding: 1.15rem 2.6rem 1.15rem 0;
  font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; color: var(--ink); line-height: 1.35;
}
.faq-question::after {
  content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brass-soft); color: var(--brass); font-family: var(--f-body); font-size: 1.2rem; transition: transform .2s ease;
}
.faq-question.active::after { content: "\2212"; background: var(--brass); color: #fff; }
.faq-question:hover { color: var(--brass); }
.faq-answer { display: none; padding: 0 0 1.2rem; color: var(--text); }
.faq-answer.active { display: block; }

/* ---------- process steps ---------- */
.process-steps { display: grid; gap: 1rem; margin: 1.5rem 0; counter-reset: step; }
.process-step { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 1rem; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.25rem; }
.step-number { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--brass-2); font: 600 1.25rem/1 var(--f-display); }
.step-content h3, .step-content h4 { margin: .2rem 0 .35rem; font-size: 1.15rem; }
.step-content p:last-child { margin-bottom: 0; }

/* ---------- misc blocks used across pages ---------- */
.why-choose-grid, .credentials-grid, .service-areas-grid, .pension-systems { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin: 1.5rem 0; }
.why-choose-item, .credential-card, .service-area-card, .pension-system { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow); min-width: 0; }
.why-choose-item i, .credential-card i, .service-area-card i { color: var(--brass); font-size: 1.3rem; margin-bottom: .6rem; display: inline-block; }
.why-choose-item h3, .credential-card h3, .service-area-card h3, .pension-system h3 { font-size: 1.15rem; }
.acronym { display: inline-block; font: 700 .8rem/1 var(--f-body); letter-spacing: .12em; color: #fff; background: var(--ink); padding: .45em .7em; border-radius: 6px; margin-bottom: .7rem; }
.practice-area { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); height: 100%; }
.practice-area h3 i { color: var(--brass); margin-right: .3em; }
.stats { background: var(--ink); color: #fff; padding-block: 3rem; }
.stat-item { text-align: center; }
.stat-item h3 { color: var(--brass-2); font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: .2rem; }
.stat-item p { color: #c9d4e2; margin: 0; }
.contact-details, .contact-main { display: grid; gap: 1rem; }
.contact-detail-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; box-shadow: var(--shadow); }
.contact-detail-item i { color: var(--brass); }
.office-hours { background: var(--paper-2); border-radius: var(--radius); padding: 1.3rem; }
.map-container { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-container iframe { width: 100%; border: 0; display: block; }

/* ---------- home: trust strip ---------- */
.trust-strip { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.trust-strip ul { list-style: none; margin: 0; padding: 1.4rem 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.trust-strip li { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.trust-strip strong { font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--ink); line-height: 1.1; }
.trust-strip span { font-size: .86rem; color: var(--muted); letter-spacing: .02em; }

/* ---------- home: empathy ---------- */
.empathy { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.empathy blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.25; color: var(--ink); font-weight: 500; }
.empathy blockquote em { color: var(--brass); }
.worry-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.worry-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: .9rem; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.1rem; margin: 0; }
.worry-list i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brass-soft); color: var(--brass); }
.worry-list strong { display: block; font-family: var(--f-display); font-size: 1.08rem; }
.worry-list span { color: var(--muted); font-size: .97rem; }

/* ---------- home: case types ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.case-tile {
  display: flex; flex-direction: column; gap: .4rem; text-decoration: none; color: var(--text);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; min-width: 0;
}
.case-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--brass-2); color: var(--text); }
.case-tile i { font-size: 1.5rem; color: var(--brass); margin-bottom: .5rem; }
.case-tile h3 { margin: 0; font-size: 1.3rem; }
.case-tile p { margin: 0; color: var(--muted); font-size: .97rem; }
.case-tile .more { margin-top: auto; padding-top: .8rem; font-weight: 600; color: var(--ink-3); font-size: .93rem; }
.case-tile:hover .more { color: var(--brass); }

/* ---------- home: steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); counter-reset: s; }
.step { position: relative; padding-top: 1.5rem; border-top: 2px dashed rgba(216, 176, 102, .6); }
.step-num { font-family: var(--f-display); font-size: 3rem; line-height: 1; color: var(--brass-2); font-weight: 500; }
.step h3 { margin: .8rem 0 .4rem; }
.step p { color: #c9d4e2; margin: 0; }

/* ---------- home: meet terry ---------- */
.meet { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.meet-photo { position: relative; }
.meet-photo img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 1; object-fit: cover; }
.meet-photo figcaption { margin-top: .8rem; font-size: .88rem; color: var(--muted); }
.creds { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.creds li { margin: 0; font-size: .85rem; font-weight: 600; color: var(--ink); background: var(--card); border: 1px solid var(--line); padding: .45em .85em; border-radius: 999px; }
.creds i { color: var(--brass); margin-right: .35em; }

/* ---------- home: pension band ---------- */
.pension-band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.system-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.system-chips span { font: 700 .95rem/1 var(--f-body); letter-spacing: .08em; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: .85rem 1.1rem; box-shadow: var(--shadow); }

/* ---------- CTA band ---------- */
.cta-section { position: relative; background: var(--ink); color: #dfe6ef; text-align: center; padding-block: clamp(3.5rem, 8vw, 6rem); overflow: hidden; }
.cta-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40rem 20rem at 50% 0%, rgba(216, 176, 102, .2), transparent 70%); pointer-events: none; }
.cta-section::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--brass-2) 0 42px, transparent 42px 70px); }
.cta-section .container { position: relative; max-width: 50rem; }
.cta-section h2 { color: #fff; }
.cta-section p { color: #c9d4e2; font-size: 1.12rem; }

/* ---------- footer ---------- */
.site-footer { background: #0c1829; color: #aab6c6; font-size: .95rem; }
.site-footer a { color: #dfe6ef; text-decoration: none; }
.site-footer a:hover { color: var(--brass-2); }
.footer-content { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding-block: 3.5rem 2.5rem; }
.footer-section h3 { color: #fff; font-size: 1.1rem; margin-bottom: 1rem; }
.footer-section ul { list-style: none; padding: 0; margin: 0; }
.footer-section li { margin-bottom: .5rem; }
.footer-section i { color: var(--brass-2); width: 1.2em; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .site-branding { color: #fff; margin-bottom: 1rem; }
.footer-brand .brand-sub { color: #8e9bb0; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 1.4rem 2rem; font-size: .82rem; color: #8e9bb0; }
.footer-bottom p { margin: .3rem 0; }

/* ---------- blog index ---------- */
.blog-index .grid-2 .card { display: flex; flex-direction: column; }
.blog-index .grid-2 .card .btn { align-self: flex-start; margin-top: auto; }
.blog-index .card h3 a { color: var(--ink); text-decoration: none; }
.blog-index .card h3 a:hover { color: var(--brass); }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .two-column { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .footer-content { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1200px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); display: none; }
  .main-nav.active { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: .8rem var(--gutter) 1.2rem; gap: .1rem; max-width: var(--wrap); margin: 0 auto; }
  .main-nav a { padding: .8rem 1rem; border-radius: 10px; font-size: 1.02rem; }
  .main-nav .nav-cta a { margin: .5rem 0 0; text-align: center; }
  .main-header { position: relative; }
}
@media (max-width: 900px) {
  .hero-home .container, .empathy, .meet, .pension-band { grid-template-columns: minmax(0, 1fr); }
  .hero-portrait { width: min(100%, 340px); margin-top: 1rem; }
  .badge-card { left: 0; }
  .grid-3, .case-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4, .trust-strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .utility-note { display: none; }
  .utility-bar .container { justify-content: center; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .grid-2, .grid-3, .case-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .brand-sub { display: none; }
  .brand-mark { width: 42px; height: 42px; font-size: .95rem; }
  .brand-name { font-size: 1.15rem; }
  .utility-links { gap: 1rem; }
  .utility-links .u-email { display: none; }
  .hero-buttons .btn { width: 100%; }
  .footer-content { grid-template-columns: minmax(0, 1fr); }
  .practice-detail { padding: 1.25rem; }
  .process-step { grid-template-columns: 42px minmax(0, 1fr); }
  .step-number { width: 42px; height: 42px; font-size: 1.05rem; }
  .practice-detail table { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- intake chat: match the redesign (the widget's own colors come from the chat service) ---------- */
html body .pli { --pli-navy: #12233a; --pli-gold: #b3832d; font-family: var(--f-body); }
html body .pli .pli-title { font-family: var(--f-display); font-weight: 600; }
html body .pli-launch { background: #12233a; border-color: #d8b066; font-family: var(--f-body); }
html body .pli-launch:hover { background: #b3832d; filter: none; }
html body .pli-inline { max-width: 760px; }
html body .pli-inline .pli-card { border-radius: var(--radius); overflow: hidden; }
.contact-details { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.contact-chat-section { padding-bottom: 0; }
