/* ==========================================================================
   DUI Lawyers Shield Firm — full-site design system
   Editorial law-firm aesthetic. Not a landing page.
   ========================================================================== */

:root {
    --navy: #0A1D3C;
    --navy-dark: #06132A;
    --navy-line: #172c4d;
    --gold: #C89B3C;
    --gold-soft: #E5C97A;
    --gold-deep: #8F6B1E;
    --ink: #12141B;
    --ink-2: #3B4152;
    --ink-3: #6A7285;
    --cream: #F7F5F0;
    --cream-2: #EFEBE0;
    --line: #E3DDCE;
    --white: #ffffff;
    --success: #1F7A4A;
    --danger: #A63A2C;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: ui-monospace, 'SF Mono', Menlo, monospace;

    --shadow-1: 0 1px 2px rgba(10,29,60,0.06);
    --shadow-2: 0 6px 20px rgba(10,29,60,0.08);
    --shadow-3: 0 20px 48px rgba(10,29,60,0.14);

    --radius: 4px;
    --radius-lg: 8px;
    --radius-pill: 999px;

    --wrap: 1200px;
    --wrap-narrow: 820px;
    --wrap-mid: 1000px;

    --t-fast: 160ms cubic-bezier(0.2, 0.7, 0.2, 1);
    --t: 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
    --t-slow: 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* -------- Reset + base -------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    max-width: 100vw;
    overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--gold-deep); }
button { cursor: pointer; border: 0; background: transparent; font-family: inherit; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; color: var(--navy); line-height: 1.15; }
h1 { font-size: clamp(36px, 4.6vw, 60px); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.2vw, 42px); }
h3 { font-size: clamp(20px, 2.2vw, 26px); }
h4 { font-size: 18px; }
p { color: var(--ink-2); }
p + p { margin-top: 1em; }
strong { color: var(--ink); font-weight: 600; }
em { font-style: italic; }
::selection { background: var(--gold-soft); color: var(--navy); }

/* -------- Layout primitives -------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: var(--wrap-narrow); }
.wrap--mid { max-width: var(--wrap-mid); }
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section--tight { padding: clamp(40px, 5vw, 72px) 0; }
.section--navy { background: var(--navy); color: var(--cream); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy > .wrap > p, .section--navy > .wrap > * > p:not(.testimonial__quote):not(.result__body p):not(.case-result p) { color: rgba(255,255,255,0.75); }
.section--navy .testimonial__quote { color: var(--navy); }
.section--navy .testimonial__quote mark { background: rgba(200,155,60,0.20); color: var(--navy); padding: 0 2px; border-radius: 2px; font-style: italic; }
.testimonial__quote mark { background: rgba(200,155,60,0.20); color: var(--navy); padding: 0 2px; border-radius: 2px; font-style: italic; }
.section--cream-2 { background: var(--cream-2); }
.section--white { background: var(--white); }
.hairline { height: 1px; background: var(--line); border: 0; }
.hairline--dark { background: var(--navy-line); }

/* -------- Eyebrow, kicker, meta -------- */
.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 18px;
}
.section--navy .eyebrow { color: var(--gold); }
.kicker {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    color: var(--ink-3);
    font-size: 18px;
}
.meta { font-size: 13px; letter-spacing: 0.03em; color: var(--ink-3); text-transform: uppercase; }

/* -------- Buttons -------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 24px;
    font-size: 14px; font-weight: 600; letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: all var(--t);
    line-height: 1;
    border: 1.5px solid transparent;
    white-space: nowrap;
}
.btn--primary { background: var(--gold); color: var(--navy); }
.btn--primary:hover { background: var(--gold-deep); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-dark); transform: translateY(-1px); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--outline-gold { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn--outline-gold:hover { background: var(--gold); color: var(--navy); }
.btn--ghost { color: var(--navy); background: transparent; padding-left: 0; padding-right: 0; letter-spacing: 0.04em; }
.btn--ghost:hover { color: var(--gold-deep); }
.btn--ghost::after { content: '→'; transition: transform var(--t); margin-left: 6px; }
.btn--ghost:hover::after { transform: translateX(4px); }
.btn--sm { padding: 10px 18px; font-size: 12px; }
.btn--lg { padding: 18px 32px; font-size: 15px; }

/* -------- Top bar + header -------- */
.top-bar {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.72);
    font-size: 12.5px;
    letter-spacing: 0.02em;
    padding: 8px 0;
    border-bottom: 1px solid var(--navy-line);
}
.top-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top-bar__left { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.top-bar__item { display: inline-flex; align-items: center; gap: 6px; }
.top-bar__item svg { width: 12px; height: 12px; opacity: 0.65; }
.top-bar__rating { color: var(--gold-soft); font-weight: 600; }

.header {
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 90;
    transition: box-shadow var(--t);
}
.header.is-scrolled { box-shadow: var(--shadow-1); }
.header__wrap {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 24px;
    gap: 24px;
}
.header__logo { display: flex; align-items: center; gap: 12px; }
.header__logo img {
    height: 44px; width: auto;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(10,29,60,0.18), 0 0 0 1px rgba(200,155,60,0.35);
    background: var(--navy);
    transition: box-shadow var(--t);
}
.header__logo:hover img { box-shadow: 0 4px 14px rgba(10,29,60,0.25), 0 0 0 1px rgba(200,155,60,0.5); }
.header__logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    color: var(--navy);
    line-height: 1.1;
    letter-spacing: -0.005em;
}
.header__logo-text small { display: block; font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-3); margin-top: 3px; }
.header__nav { display: flex; align-items: center; gap: 4px; }
.header__cta { display: flex; align-items: center; gap: 14px; }
.header__phone {
    color: var(--navy);
    font-weight: 600;
    font-size: 15px;
    display: inline-flex; align-items: center; gap: 6px;
    letter-spacing: 0.01em;
}
.header__phone svg { width: 14px; height: 14px; color: var(--gold-deep); }

/* -------- Primary nav dropdowns -------- */
.nav__item {
    position: relative;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    padding: 12px 14px;
    display: inline-flex; align-items: center; gap: 5px;
    letter-spacing: 0.01em;
}
.nav__item:hover, .nav__item.is-active { color: var(--navy); }
.nav__item.is-active { font-weight: 600; }
.nav__caret { width: 10px; height: 10px; transition: transform var(--t); opacity: 0.7; }
.nav__dropdown { position: relative; }
.nav__dropdown:hover .nav__caret,
.nav__dropdown:focus-within .nav__caret { transform: rotate(180deg); }
.nav__menu {
    position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--white);
    min-width: 260px;
    box-shadow: var(--shadow-3);
    border-radius: var(--radius-lg);
    padding: 12px 0;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity var(--t), transform var(--t), visibility var(--t);
    z-index: 100;
}
.nav__dropdown:hover .nav__menu,
.nav__dropdown:focus-within .nav__menu {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.nav__menu a {
    display: block;
    padding: 10px 22px;
    font-size: 14px;
    color: var(--ink);
    transition: background var(--t-fast), color var(--t-fast);
}
.nav__menu a:hover { background: var(--cream); color: var(--navy); }
.nav__menu a.soon { color: var(--ink-3); font-style: italic; }
.nav__menu a.soon::after { content: 'Soon'; margin-left: 8px; font-size: 10px; font-style: normal; background: var(--cream-2); color: var(--gold-deep); padding: 2px 6px; border-radius: 3px; letter-spacing: 0.06em; font-weight: 600; }

/* -------- Hamburger + mobile drawer -------- */
.hamburger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); position: relative; transition: transform var(--t), opacity var(--t); }
.hamburger span::before, .hamburger span::after {
    content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: var(--navy);
    transition: transform var(--t);
}
.hamburger span::before { top: -7px; }
.hamburger span::after { top: 7px; }
.hamburger[aria-expanded="true"] span { background: transparent; }
.hamburger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.hamburger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.drawer-overlay { position: fixed; inset: 0; background: rgba(6,19,42,0.5); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t); z-index: 200; }
.drawer-overlay.is-open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; width: 88%; max-width: 380px; height: 100dvh; background: var(--cream); z-index: 210; transform: translateX(100%); transition: transform var(--t-slow); display: flex; flex-direction: column; overflow-y: auto; }
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer__head img { height: 40px; width: auto; }
.drawer__close { width: 40px; height: 40px; }
.drawer__close svg { width: 22px; height: 22px; color: var(--navy); }
.drawer__body { flex: 1; padding: 14px 12px; }
.drawer__link, .drawer__toggle {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    padding: 14px 16px;
    color: var(--navy);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    border-radius: var(--radius);
}
.drawer__link:hover, .drawer__toggle:hover { background: var(--cream-2); }
.drawer__caret { width: 14px; height: 14px; transition: transform var(--t); }
.drawer__toggle[aria-expanded="true"] .drawer__caret { transform: rotate(180deg); }
.drawer__submenu { max-height: 0; overflow: hidden; transition: max-height var(--t-slow); padding-left: 20px; margin-left: 20px; border-left: 1px solid var(--line); }
.drawer__submenu.is-open { max-height: 800px; }
.drawer__sublink { display: block; padding: 10px 12px; color: var(--ink-2); font-size: 15px; }
.drawer__sublink:hover { color: var(--navy); }
.drawer__sublink.soon { color: var(--ink-3); font-style: italic; }
.drawer__sublink.soon::after { content: 'Soon'; margin-left: 8px; font-size: 10px; font-style: normal; background: var(--cream-2); color: var(--gold-deep); padding: 2px 6px; border-radius: 3px; letter-spacing: 0.06em; font-weight: 600; }
.drawer__cta { padding: 16px 20px 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.drawer__cta .btn { width: 100%; justify-content: center; }
body.no-scroll { overflow: hidden; }

/* -------- Hero patterns -------- */
.hero {
    background: var(--cream);
    padding: clamp(56px, 9vw, 128px) 0 clamp(48px, 8vw, 96px);
    position: relative;
    overflow: hidden;
}
.hero--image {
    background:
        linear-gradient(115deg, rgba(10,29,60,0.86) 0%, rgba(10,29,60,0.62) 55%, rgba(10,29,60,0.28) 100%),
        url('../img/heroes/hero-home.jpg') center/cover no-repeat;
    color: var(--white);
}
.hero--image .hero__eyebrow { color: var(--gold); }
.hero--image .hero__title,
.hero--image .hero__title .accent,
.hero--image .hero__trust-num { color: var(--white); }
.hero--image .hero__title .accent { color: var(--gold); }
.hero--image .hero__lede { color: rgba(255,255,255,0.85); }
.hero--image .hero__trust { border-top-color: rgba(255,255,255,0.15); }
.hero--image .hero__trust-label { color: rgba(255,255,255,0.65); }
.hero--image .hero__side { background: rgba(10,29,60,0.86); backdrop-filter: blur(8px); border: 1px solid rgba(200,155,60,0.35); box-shadow: 0 24px 60px rgba(0,0,0,0.35); }
/* Outline button on a dark hero image needs light border+text to be legible */
.hero--image .btn--outline { border-color: var(--gold); color: var(--gold); }
.hero--image .btn--outline:hover { background: var(--gold); color: var(--navy); }
.hero__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 72px; align-items: center; }
.hero__eyebrow { color: var(--gold-deep); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.hero__title { margin: 22px 0 24px; }
.hero__title .accent { color: var(--gold-deep); font-style: italic; font-weight: 400; }
.hero__lede { font-size: 19px; color: var(--ink-2); max-width: 560px; }
.hero__actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero__trust { display: flex; gap: 28px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero__trust-item { }
.hero__trust-num { display: block; font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--navy); line-height: 1; }
.hero__trust-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); margin-top: 6px; }
.hero__side { background: var(--navy); color: var(--white); padding: 40px 36px; border-radius: var(--radius-lg); box-shadow: var(--shadow-3); }
.hero__side h3 { color: var(--white); font-size: 22px; margin-bottom: 10px; }
.hero__side .kicker { color: rgba(255,255,255,0.7); margin-bottom: 22px; }
.hero__side ul { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--navy-line); }
.hero__side ul li { display: flex; gap: 10px; padding: 8px 0; color: rgba(255,255,255,0.85); font-size: 15px; }
.hero__side ul li::before { content: '✓'; color: var(--gold); font-weight: 700; }

/* Testimonial marquee */
.marquee { position: relative; overflow: hidden; padding: 8px 0; margin-top: 40px; }
.marquee::before, .marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(to right, var(--navy), rgba(10,29,60,0)); }
.marquee::after  { right: 0; background: linear-gradient(to left,  var(--navy), rgba(10,29,60,0)); }
.marquee__track { display: flex; gap: 24px; width: max-content; animation: marquee-scroll 60s linear infinite; }
.marquee__track:hover { animation-play-state: paused; }
.marquee .testimonial { width: 380px; flex: 0 0 380px; }
@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 12px)); }
}
@media (max-width: 720px) {
    .marquee .testimonial { width: 300px; flex: 0 0 300px; padding: 24px; }
    .marquee__track { animation-duration: 45s; }
}

/* Compact page hero for interior pages */
.pagehero {
    background: var(--navy);
    color: var(--white);
    padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px);
    position: relative;
    overflow: hidden;
}
.pagehero[class*="pagehero--img-"] {
    background-color: var(--navy);
    background-blend-mode: normal;
}
.pagehero--img-about        { background: linear-gradient(120deg, rgba(10,29,60,0.82), rgba(10,29,60,0.42)), url('../img/heroes/hero-about.jpg') center/cover no-repeat; }
.pagehero--img-david        { background: linear-gradient(120deg, rgba(10,29,60,0.82), rgba(10,29,60,0.42)), url('../img/heroes/hero-david-cannady.jpg') center/cover no-repeat; }
.pagehero--img-case-results { background: linear-gradient(120deg, rgba(10,29,60,0.82), rgba(10,29,60,0.42)), url('../img/heroes/hero-case-results.jpg') center/cover no-repeat; }
.pagehero--img-practice     { background: linear-gradient(120deg, rgba(10,29,60,0.82), rgba(10,29,60,0.42)), url('../img/heroes/hero-practice-areas.jpg') center/cover no-repeat; }
.pagehero--img-dui-defense  { background: linear-gradient(120deg, rgba(10,29,60,0.82), rgba(10,29,60,0.42)), url('../img/heroes/hero-dui-defense.jpg') center/cover no-repeat; }
.pagehero--img-dwi-defense  { background: linear-gradient(120deg, rgba(10,29,60,0.82), rgba(10,29,60,0.42)), url('../img/heroes/hero-dwi.jpg') center/cover no-repeat; }
.pagehero--img-drug         { background: linear-gradient(120deg, rgba(10,29,60,0.82), rgba(10,29,60,0.42)), url('../img/heroes/hero-drug-offense.jpg') center/cover no-repeat; }
.pagehero--img-dv           { background: linear-gradient(120deg, rgba(10,29,60,0.82), rgba(10,29,60,0.42)), url('../img/heroes/hero-domestic-violence.jpg') center/cover no-repeat; }
.pagehero--img-criminal     { background: linear-gradient(120deg, rgba(10,29,60,0.82), rgba(10,29,60,0.42)), url('../img/heroes/hero-criminal-defense.jpg') center/cover no-repeat; }
.pagehero--img-locations    { background: linear-gradient(120deg, rgba(10,29,60,0.82), rgba(10,29,60,0.42)), url('../img/heroes/hero-locations.jpg') center/cover no-repeat; }
.pagehero--img-locations-2  { background: linear-gradient(120deg, rgba(10,29,60,0.82), rgba(10,29,60,0.42)), url('../img/heroes/hero-locations-2.jpg') center/cover no-repeat; }
.pagehero--img-offices      { background: linear-gradient(120deg, rgba(10,29,60,0.82), rgba(10,29,60,0.42)), url('../img/heroes/hero-offices.jpg') center/cover no-repeat; }
.pagehero--img-offices-2    { background: linear-gradient(120deg, rgba(10,29,60,0.82), rgba(10,29,60,0.42)), url('../img/heroes/hero-offices-2.jpg') center/cover no-repeat; }
.pagehero--img-field        { background: linear-gradient(120deg, rgba(10,29,60,0.82), rgba(10,29,60,0.42)), url('../img/heroes/hero-field-sobriety.jpg') center/cover no-repeat; }
.pagehero--img-arrest-1     { background: linear-gradient(120deg, rgba(10,29,60,0.82), rgba(10,29,60,0.42)), url('../img/heroes/hero-arrest-1.jpg') center/cover no-repeat; }
.pagehero--img-arrest-2     { background: linear-gradient(120deg, rgba(10,29,60,0.82), rgba(10,29,60,0.42)), url('../img/heroes/hero-arrest-2.jpg') center/cover no-repeat; }
.pagehero--img-arrest-3     { background: linear-gradient(120deg, rgba(10,29,60,0.82), rgba(10,29,60,0.42)), url('../img/heroes/hero-arrest-3.jpg') center/cover no-repeat; }
/* Legacy aliases so older templates still resolve */
.pagehero--img-dui          { background: linear-gradient(120deg, rgba(10,29,60,0.82), rgba(10,29,60,0.42)), url('../img/heroes/hero-locations.jpg') center/cover no-repeat; }
.pagehero--img-dui-lawyer   { background: linear-gradient(120deg, rgba(10,29,60,0.82), rgba(10,29,60,0.42)), url('../img/heroes/hero-locations-2.jpg') center/cover no-repeat; }
.pagehero--img-dwi          { background: linear-gradient(120deg, rgba(10,29,60,0.82), rgba(10,29,60,0.42)), url('../img/heroes/hero-dwi.jpg') center/cover no-repeat; }
.pagehero__crumbs { font-size: 13px; letter-spacing: 0.06em; color: rgba(255,255,255,0.5); margin-bottom: 22px; position: relative; z-index: 2; }
.pagehero__crumbs a { color: rgba(255,255,255,0.7); }
.pagehero__crumbs a:hover { color: var(--gold); }
.pagehero__crumbs .sep { margin: 0 8px; opacity: 0.4; }
.pagehero h1 { color: var(--white); max-width: 900px; }
.pagehero__lede { font-size: 20px; color: rgba(255,255,255,0.78); max-width: 780px; margin-top: 20px; }
.pagehero__meta { display: flex; gap: 20px; margin-top: 28px; color: rgba(255,255,255,0.6); font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; }

/* -------- Cards -------- */
.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: box-shadow var(--t), border-color var(--t), transform var(--t);
    display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-2); border-color: var(--gold-soft); }
.card--link:hover { transform: translateY(-3px); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--ink-2); font-size: 15px; }
.card__more { margin-top: auto; padding-top: 20px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); }
.card__more::after { content: ' →'; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* Section header pattern */
.sh { text-align: left; max-width: 760px; margin-bottom: 48px; }
.sh--center { text-align: center; margin-left: auto; margin-right: auto; }
.sh h2 { margin-bottom: 12px; }
.sh__lede { font-size: 18px; color: var(--ink-2); }

/* Section-level rule with kicker */
.rule-kicker { display: flex; align-items: center; gap: 20px; margin-bottom: 48px; }
.rule-kicker::before { content: ''; flex: 0 0 44px; height: 2px; background: var(--gold); }
.rule-kicker__eyebrow { color: var(--gold-deep); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }

/* -------- Case-result callout (used on case results page + inside content) -------- */
.result {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 32px; display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: start;
}
.result__meta { border-right: 1px solid var(--line); padding-right: 32px; }
.result__label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold-deep); font-weight: 600; margin-bottom: 8px; }
.result__value { font-family: var(--font-display); font-size: 22px; color: var(--navy); font-weight: 700; line-height: 1.25; }
.result__meta > * + * { margin-top: 18px; }
.result__body h3 { margin-bottom: 10px; font-size: 20px; }
.result__body p { font-size: 15px; }

/* -------- Testimonial -------- */
.testimonial {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 32px;
    display: flex; flex-direction: column; gap: 20px;
}
.testimonial__stars { color: var(--gold); font-size: 15px; letter-spacing: 4px; }
.testimonial__quote { font-family: var(--font-display); font-size: 19px; line-height: 1.5; color: var(--navy); font-style: italic; }
.testimonial__author { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.testimonial__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--cream-2); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 18px; }
.testimonial__name { font-size: 14px; font-weight: 600; color: var(--ink); }
.testimonial__source { font-size: 12px; color: var(--ink-3); letter-spacing: 0.04em; }

/* -------- FAQ -------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); padding: 24px 0; }
.faq__q {
    display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%;
    font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--navy);
    text-align: left; line-height: 1.35;
}
.faq__q::after { content: '+'; font-size: 26px; font-weight: 400; color: var(--gold-deep); transition: transform var(--t); flex: 0 0 auto; }
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height var(--t-slow); }
.faq__item.is-open .faq__a { max-height: 800px; }
.faq__a-inner { padding-top: 16px; color: var(--ink-2); }

/* -------- Long-form article body -------- */
.prose { max-width: 720px; margin: 0 auto; font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.prose h2 { margin: 48px 0 18px; }
.prose h3 { margin: 32px 0 12px; }
.prose p { margin-bottom: 20px; }
.prose ul, .prose ol { margin: 0 0 24px 24px; }
.prose ul li, .prose ol li { margin-bottom: 8px; padding-left: 6px; }
.prose ul li { list-style: disc; }
.prose ol li { list-style: decimal; }
.prose a { color: var(--gold-deep); text-decoration: underline; text-decoration-color: var(--gold-soft); text-underline-offset: 3px; }
.prose blockquote { border-left: 3px solid var(--gold); padding: 6px 0 6px 24px; font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--navy); margin: 32px 0; }
.prose strong { color: var(--ink); }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 40px 0; }
.prose .callout { background: var(--cream-2); border-left: 3px solid var(--navy); padding: 22px 28px; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; margin: 32px 0; font-size: 16px; }

/* Table of contents (side rail) */
.article-layout { display: grid; grid-template-columns: 240px 1fr; gap: 64px; max-width: 1080px; margin: 0 auto; }
.toc { position: sticky; top: 100px; align-self: start; font-size: 13px; }
.toc__label { color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px; font-weight: 600; margin-bottom: 14px; }
.toc a { display: block; padding: 8px 0; color: var(--ink-2); border-left: 2px solid var(--line); padding-left: 14px; margin-left: -1px; }
.toc a.is-active { color: var(--navy); font-weight: 600; border-color: var(--gold); }
.toc a:hover { color: var(--navy); }

/* -------- Editorial pull quote -------- */
.pullquote {
    max-width: 900px; margin: 0 auto; text-align: center; padding: 48px 24px;
    font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); font-weight: 400; font-style: italic;
    color: var(--navy); line-height: 1.4;
}
.pullquote::before, .pullquote::after { content: '\201C'; color: var(--gold); }
.pullquote::after { content: '\201D'; }
.pullquote__attr { display: block; font-family: var(--font-body); font-style: normal; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-top: 20px; }

/* -------- Attorney block (David bio card) -------- */
.attorney {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 40px;
}
.attorney__name { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--navy); line-height: 1.15; }
.attorney__title { color: var(--gold-deep); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin-top: 6px; }
.attorney__creds { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; margin: 24px 0; }
.attorney__creds li { display: flex; gap: 8px; font-size: 14px; color: var(--ink-2); padding: 4px 0; }
.attorney__creds li::before { content: '•'; color: var(--gold); }

/* -------- Locations / offices block -------- */
.office {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    overflow: hidden;
    display: grid; grid-template-columns: 1fr 1fr;
}
.office__map { position: relative; min-height: 320px; background: var(--cream-2); }
.office__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.office__body { padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.office__region { font-size: 12px; letter-spacing: 0.14em; color: var(--gold-deep); text-transform: uppercase; font-weight: 600; }
.office__name { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--navy); }
.office__row { display: flex; gap: 12px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.office__row svg { width: 16px; height: 16px; color: var(--gold-deep); flex: 0 0 auto; margin-top: 3px; }
.office__row a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold-soft); text-underline-offset: 3px; }
.office__actions { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }

/* -------- City / area blocks -------- */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.area-item {
    padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    font-size: 15px; color: var(--navy); font-weight: 500;
    transition: all var(--t);
}
.area-item::after { content: '→'; color: var(--gold-deep); font-size: 14px; opacity: 0.6; transition: transform var(--t), opacity var(--t); }
.area-item:hover { border-color: var(--gold); background: var(--cream); }
.area-item:hover::after { opacity: 1; transform: translateX(3px); }

/* -------- Practice-area index grid -------- */
.practice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.practice-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 28px;
    display: flex; flex-direction: column; gap: 12px; transition: all var(--t);
}
.practice-card:hover { border-color: var(--gold); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.practice-card__mark { width: 40px; height: 40px; border-radius: 50%; background: var(--cream-2); display: flex; align-items: center; justify-content: center; color: var(--gold-deep); margin-bottom: 4px; font-size: 20px; }
.practice-card h3 { font-size: 20px; color: var(--navy); }
.practice-card p { font-size: 14px; color: var(--ink-2); }
.practice-card__link { margin-top: auto; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
.practice-card__link::after { content: ' →'; color: var(--gold-deep); }

/* -------- Footer -------- */
.foot { background: var(--navy-dark); color: rgba(255,255,255,0.7); padding: 64px 0 24px; }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--navy-line); }
.foot__brand h4 { font-family: var(--font-display); font-size: 22px; color: var(--white); margin-bottom: 12px; }
.foot__brand p { font-size: 14px; max-width: 340px; line-height: 1.65; }
.foot__brand-social { display: flex; gap: 10px; margin-top: 18px; }
.foot__brand-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); transition: background var(--t), color var(--t); }
.foot__brand-social a:hover { background: var(--gold); color: var(--navy); }
.foot__brand-social svg { width: 16px; height: 16px; }
.foot h5 { color: var(--gold); font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 600; margin-bottom: 18px; }
.foot ul li { padding: 4px 0; font-size: 14px; }
.foot ul li a { color: rgba(255,255,255,0.7); }
.foot ul li a:hover { color: var(--white); }
.foot__contact-item { display: flex; gap: 10px; margin-bottom: 12px; font-size: 14px; line-height: 1.5; }
.foot__contact-item svg { width: 14px; height: 14px; color: var(--gold); flex: 0 0 auto; margin-top: 4px; }
.foot__bottom { padding: 24px 0 0; display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 16px; }
.foot__bottom-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.foot__bottom a { color: var(--gold-soft); }
.foot__bottom a:hover { color: var(--white); }

/* RBR credit signature */
.foot__credit { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--navy-line); text-align: center; font-size: 12px; color: rgba(255,255,255,0.4); letter-spacing: 0.02em; }
.foot__credit a { display: inline-flex; align-items: center; gap: 12px; color: inherit; transition: color var(--t); }
.foot__credit a:hover { color: rgba(255,255,255,0.9); }
.foot__credit img { height: 26px; width: auto; filter: opacity(0.9) contrast(1.08) saturate(1.05); transition: filter var(--t-slow), transform var(--t-slow); }
.foot__credit a:hover img { filter: opacity(1) contrast(1.1) saturate(1.15) drop-shadow(0 2px 8px rgba(220,170,90,0.45)); transform: translateY(-1px); }
.foot__credit strong { font-weight: 500; color: rgba(255,255,255,0.65); }

/* -------- Mobile bottom bar (calm, not shouty) -------- */
.mobile-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 80; background: var(--navy); border-top: 1px solid var(--navy-line); box-shadow: 0 -6px 18px rgba(6,19,42,0.24); }
.mobile-bar__inner { display: grid; grid-template-columns: 1fr 1fr; }
.mobile-bar a, .mobile-bar button { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px; color: var(--white); font-size: 14px; font-weight: 600; letter-spacing: 0.04em; }
.mobile-bar a:first-child { border-right: 1px solid var(--navy-line); }
.mobile-bar svg { width: 16px; height: 16px; color: var(--gold); }

/* -------- Popup form -------- */
.popup { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(6,19,42,0.72); backdrop-filter: blur(4px); }
.popup.is-open { display: flex; }
.popup__box { background: var(--cream); border-radius: var(--radius-lg); width: 100%; max-width: 520px; max-height: calc(100dvh - 32px); overflow-y: auto; box-shadow: var(--shadow-3); position: relative; }
.popup__close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.85); display: flex; align-items: center; justify-content: center; }
.popup__close svg { width: 16px; height: 16px; color: var(--navy); }
.popup__head { padding: 32px 32px 12px; }
.popup__head h3 { font-size: 24px; margin-bottom: 6px; }
.popup__head p { color: var(--ink-2); font-size: 15px; }
.popup__body { padding: 8px 32px 32px; }

/* Forms */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--ink); margin-bottom: 6px; text-transform: uppercase; }
.field input, .field select, .field textarea {
    width: 100%; padding: 12px 14px; font-size: 15px; font-family: inherit; color: var(--ink);
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,155,60,0.18);
}
.field textarea { resize: vertical; min-height: 88px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-consent { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--ink-3); line-height: 1.5; margin: 14px 0 18px; }
.field-consent input[type="checkbox"] { margin-top: 2px; flex: 0 0 auto; accent-color: var(--navy); }
.field-consent a { color: var(--navy); text-decoration: underline; }
.field-submit { width: 100%; }
.field-note { font-size: 12px; color: var(--ink-3); text-align: center; margin-top: 12px; }

/* -------- Utility classes -------- */
.mt-0 { margin-top: 0; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.text-center { text-align: center; }
.text-navy { color: var(--navy); }
.text-gold { color: var(--gold-deep); }
.gold { color: var(--gold-deep); }
.serif { font-family: var(--font-display); }
.only-desktop { }
.only-mobile { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* -------- Responsive breakpoints -------- */
@media (max-width: 1024px) {
    .hero__grid { grid-template-columns: 1fr; gap: 40px; }
    .hero__side { max-width: 480px; }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .foot__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .article-layout { grid-template-columns: 1fr; gap: 32px; }
    .toc { position: relative; top: 0; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .header__nav { display: none; }
    .header__cta .btn { display: none; }
    .hamburger { display: inline-flex; }
    body { padding-bottom: 60px; }
    .mobile-bar { display: block; }
    .hero__trust { flex-wrap: wrap; gap: 20px; }
    .grid--3, .grid--2 { grid-template-columns: 1fr; }
    .office { grid-template-columns: 1fr; }
    .office__map { min-height: 240px; }
    .result { grid-template-columns: 1fr; }
    .result__meta { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; padding-bottom: 24px; }
    .attorney { padding: 32px 24px; }
    .attorney__creds { grid-template-columns: 1fr; text-align: left; }
    .foot__grid { grid-template-columns: 1fr; }
    .foot__bottom { flex-direction: column; text-align: center; }
    .only-mobile { display: block; }
    .only-desktop { display: none; }
}

@media (max-width: 480px) {
    body { font-size: 16px; }
    .section { padding: 48px 0; }
    .hero__side { padding: 32px 24px; }
    .card { padding: 24px; }
    .field-row { grid-template-columns: 1fr; }
}
