/* ============================================================
   ANDREW & HOPKINS — GLOBAL STYLES
   ============================================================ */

@import url('tokens.css');

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"], nav ul, nav ol { list-style: none; padding: 0; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ----- Body ----- */
body {
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    font-weight: var(--fw-regular);
    line-height: var(--lh-relaxed);
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

::selection {
    background: var(--color-navy-800);
    color: var(--color-paper-50);
}

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6, .display {
    font-family: var(--font-display);
    font-weight: var(--fw-regular);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
    color: var(--color-ink-900);
}

h1, .h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2, .h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3, .h3 { font-size: clamp(1.5rem, 2.4vw, 2.25rem); }
h4, .h4 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: var(--lh-snug); }
h5, .h5 { font-size: var(--fs-lg); line-height: var(--lh-snug); }
h6, .h6 { font-size: var(--fs-md); line-height: var(--lh-snug); }

p { line-height: var(--lh-relaxed); color: var(--color-ink-700); }
p + p { margin-top: var(--space-4); }

a { color: var(--color-link); transition: color var(--duration-fast) var(--ease-out); }
a:hover { color: var(--color-link-hover); }

.eyebrow {
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    color: var(--color-gold-600);
    display: inline-block;
}

.lede {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 1.75vw, 1.5rem);
    line-height: var(--lh-snug);
    font-weight: var(--fw-light);
    color: var(--color-ink-600);
}

.serif { font-family: var(--font-serif); }
.text-muted { color: var(--color-text-muted); }
.text-accent { color: var(--color-gold-600); }

/* ----- Layout primitives ----- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

.container-narrow { max-width: var(--container-narrow); }
.container-prose { max-width: var(--container-prose); }

.section {
    padding-block: var(--section-pad-y);
}

.section-dark {
    background: var(--color-navy-800);
    color: var(--color-text-inverse);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--color-paper-50); }

.section-dark p { color: rgba(255, 255, 255, 0.78); }

.section-cream {
    background: var(--color-paper-200);
}

/* Hairline rule */
.rule {
    border: 0;
    border-top: 1px solid var(--color-border);
    margin: 0;
}

.rule-gold {
    width: 48px;
    height: 2px;
    background: var(--color-gold-500);
    border: 0;
    margin: 0;
}

/* ----- Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 0.875rem 1.75rem;
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--duration-base) var(--ease-out);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-navy-800);
    color: var(--color-paper-50) !important;
    border-color: var(--color-navy-800);
}

.btn-primary:hover {
    background: var(--color-navy-700);
    border-color: var(--color-navy-700);
    color: var(--color-paper-50);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--color-navy-800);
    border-color: var(--color-navy-800);
}

.btn-outline:hover {
    background: var(--color-navy-800);
    color: var(--color-paper-50);
}

.btn-outline-light {
    background: transparent;
    color: var(--color-paper-50);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: var(--color-paper-50);
    color: var(--color-navy-800);
    border-color: var(--color-paper-50);
}

.btn-ghost {
    padding: 0.5rem 0;
    color: var(--color-navy-800);
    border-bottom: 1px solid var(--color-navy-800);
    border-radius: 0;
}

.btn-ghost:hover {
    color: var(--color-gold-600);
    border-color: var(--color-gold-600);
}

.btn-arrow::after {
    content: "→";
    font-family: var(--font-sans);
    transition: transform var(--duration-base) var(--ease-out);
}

.btn-arrow:hover::after {
    transform: translateX(4px);
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-nav);
    background: var(--color-navy-800); /* dark warm-black header (logo has white+red, needs dark bg) */
    border-bottom: 1px solid var(--color-gold-500); /* vermillion red accent line */
    transition: box-shadow var(--duration-base);
}

.site-header.is-scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.site-header.is-scrolled {
    box-shadow: var(--shadow-sm);
}

.header-utility {
    background: var(--color-navy-900);
    color: rgba(255,255,255,0.75);
    font-size: var(--fs-xs);
    letter-spacing: var(--ls-wide);
}

.header-utility-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-5);
    padding-block: var(--space-2);
    flex-wrap: wrap;
}

.header-utility a {
    color: rgba(255,255,255,0.75);
    transition: color var(--duration-fast);
    text-decoration: none;
}

.header-utility a:hover { color: var(--color-gold-400); }

/* Left side: contact info with icons */
.util-contacts {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.util-contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.85);
    font-size: var(--fs-xs);
    letter-spacing: 0.02em;
    text-transform: none;
    white-space: nowrap;
}

.util-contact .ico {
    width: 13px;
    height: 13px;
    color: var(--color-gold-400);
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: color var(--duration-fast);
}

.util-contact:hover .ico { color: var(--color-gold-300, #F08572); }

/* Right side: tag + nav links */
.util-links {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    flex-wrap: wrap;
}

.util-tag {
    color: var(--color-gold-400);
    font-size: var(--fs-xs);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
    font-weight: var(--fw-medium);
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: var(--space-4);
    gap: var(--space-6);
}

/* Brand link — just the logo image, no wordmark text */
.brand {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    text-decoration: none;
    color: var(--color-gold-500); /* vermillion — used by SVG fallback */
}

/* Logo image (loads from ~/Images/logo/ah-logo.png) */
.brand-mark-img {
    display: inline-block;
    width: auto;
    height: 52px;
    max-width: 100%;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform var(--duration-base) var(--ease-out),
                opacity var(--duration-fast) var(--ease-out);
}

.brand:hover .brand-mark-img {
    transform: translateY(-1px) scale(1.03);
}

/* Inline SVG fallback — only displays if the image file fails to load */
.brand-mark-svg {
    width: 44px;
    height: 52px;
    color: currentColor;
    flex-shrink: 0;
    transition: color var(--duration-fast) var(--ease-out),
                transform var(--duration-base) var(--ease-out);
}

.brand:hover .brand-mark-svg {
    color: var(--color-gold-400);
    transform: translateY(-1px);
}

/* Footer brand — same logo on dark footer */
.footer-brand .brand { align-items: flex-start; }
.brand--footer .brand-mark-img { height: 56px; }

/* Legacy fallback classes kept (in case any old markup still references them) */
.brand-logo {
    display: block;
    height: 64px;
    width: auto;
    max-width: 100%;
    transition: transform var(--duration-base) var(--ease-out);
}

.footer-logo {
    display: block;
    max-width: 200px;
    width: auto;
    height: auto;
    transition: opacity var(--duration-fast) var(--ease-out);
}

.brand-mark {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: var(--fw-regular);
    letter-spacing: var(--ls-tight);
    color: var(--color-navy-800);
}

.brand-mark .amp {
    font-style: italic;
    color: var(--color-gold-600);
    margin-inline: 0.15em;
}

.brand-tag {
    font-family: var(--font-sans);
    font-size: 0.625rem;
    font-weight: var(--fw-medium);
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    color: var(--color-ink-500);
    margin-top: 4px;
}

/* Mobile — smaller header logo */
@media (max-width: 640px) {
    .brand-logo { height: 48px; }
    .footer-logo { max-width: 160px; }

    /* New SVG brand — smaller mark + wordmark on mobile */
    .brand-mark-svg { width: 38px; height: 38px; }
    .brand-wordmark { font-size: 1.25rem; }
    .brand-inner { gap: 10px; }
    .brand-inner--footer .brand-wordmark { font-size: 1.25rem; }
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.primary-nav > ul {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-nav a {
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    padding-block: var(--space-2);
    position: relative;
    transition: color var(--duration-fast);
    white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a.is-active {
    color: var(--color-gold-400); /* vermillion accent on hover/active */
}

/* Active underline only on top-level nav items (not inside mega-panels) */
.primary-nav > ul > li > a.is-active::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-gold-500);
    z-index: 1;
}

/* Make sure mega-panel items NEVER get the underline */
.mega-panel a.is-active::before,
.mega-panel-foot a.is-active::before,
.submenu a.is-active::before {
    display: none !important;
    content: none !important;
}

/* Mega-menu / submenu */
.primary-nav .has-submenu { position: relative; }

/* Keep all nav items from compressing — preserves arrows + text inline */
.primary-nav > ul > li {
    flex-shrink: 0;
}

.primary-nav .has-submenu > a {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    flex-wrap: nowrap;
    white-space: nowrap;
    flex-shrink: 0;
}

.primary-nav .has-submenu > a::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--color-gold-400); /* lighter vermillion — visible on dark header */
    transform-origin: center 30%;
    transition: transform var(--duration-base) var(--ease-out);
    flex-shrink: 0;
}

.primary-nav .has-submenu:hover > a::after,
.primary-nav .has-submenu:focus-within > a::after {
    transform: rotate(180deg);
}

.primary-nav .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    padding: var(--space-3) 0;
    margin: 0;
    background: var(--color-paper-50);
    border: 1px solid var(--color-border-soft);
    border-top: 3px solid var(--color-gold-500);
    box-shadow: var(--shadow-lg);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--duration-fast) var(--ease-out),
                transform var(--duration-fast) var(--ease-out),
                visibility 0s linear var(--duration-fast);
    z-index: var(--z-overlay);
    flex-direction: column;
    gap: 0;
}

.primary-nav .has-submenu:hover > .submenu,
.primary-nav .has-submenu:focus-within > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
}

.primary-nav .submenu li { list-style: none; margin: 0; }

.primary-nav .submenu a {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-5);
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    font-weight: var(--fw-regular);
    letter-spacing: 0;
    text-transform: none;
    color: var(--color-ink-700);
    white-space: nowrap;
    position: relative;
    transition: background var(--duration-fast) var(--ease-out),
                color var(--duration-fast) var(--ease-out),
                padding-left var(--duration-base) var(--ease-out);
}

.primary-nav .submenu a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 0;
    background: var(--color-gold-500);
    transform: translateY(-50%);
    transition: height var(--duration-base) var(--ease-out);
}

.primary-nav .submenu a:hover,
.primary-nav .submenu a:focus-visible {
    background: var(--color-paper-200);
    color: var(--color-navy-800);
    padding-left: calc(var(--space-5) + 4px);
}

.primary-nav .submenu a:hover::before,
.primary-nav .submenu a:focus-visible::before {
    height: 60%;
}

/* ============================================================
   SVG ICONS — .ico utility class (Lucide-style outline)
   ============================================================ */
.ico {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--color-gold-600);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: middle;
    transition: color var(--duration-fast) var(--ease-out),
                transform var(--duration-base) var(--ease-out);
}

.ico-sm { width: 14px; height: 14px; stroke-width: 2; }
.ico-lg { width: 24px; height: 24px; }
.ico-xl { width: 32px; height: 32px; stroke-width: 1.5; }

.primary-nav .submenu .ico {
    color: var(--color-gold-600);
}

.primary-nav .submenu a:hover .ico,
.primary-nav .submenu a:focus-visible .ico {
    color: var(--color-navy-800);
    transform: scale(1.08);
}

/* ============================================================
   MEGA-MENU — wide panel with icons + descriptions
   ============================================================ */
.primary-nav .has-mega > .mega-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    width: min(820px, calc(100vw - 4rem));
    padding: var(--space-6);
    background: var(--color-paper-50);
    border: 1px solid var(--color-border-soft);
    border-top: 3px solid var(--color-gold-500);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(8px);
    transition: opacity var(--duration-fast) var(--ease-out),
                transform var(--duration-fast) var(--ease-out),
                visibility 0s linear var(--duration-fast);
    z-index: var(--z-overlay);
}

.primary-nav .has-mega:hover > .mega-panel,
.primary-nav .has-mega:focus-within > .mega-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0s;
}

/* Left-anchored mega-panel (for first nav item like About) */
.primary-nav .has-mega--left > .mega-panel {
    left: 0;
    transform: translateY(8px);
}

.primary-nav .has-mega--left:hover > .mega-panel,
.primary-nav .has-mega--left:focus-within > .mega-panel {
    transform: translateY(0);
}

/* Right-anchored mega-panel (for last nav item like Offices) */
.primary-nav .has-mega--right > .mega-panel {
    left: auto;
    right: 0;
    transform: translateY(8px);
}

.primary-nav .has-mega--right:hover > .mega-panel,
.primary-nav .has-mega--right:focus-within > .mega-panel {
    transform: translateY(0);
}

/* Narrow single-column mega-panel (Attorneys, Offices, etc.) */
.mega-panel--narrow {
    width: min(420px, calc(100vw - 4rem)) !important;
}

.mega-panel--narrow .mega-grid {
    grid-template-columns: 1fr !important;
}

.mega-panel-head {
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--color-border-soft);
}

.mega-panel-head h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: var(--fw-regular);
    color: var(--color-navy-800);
    margin: 0;
    line-height: var(--lh-snug);
}

.mega-panel-head p {
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    color: var(--color-ink-500);
    margin: 6px 0 0;
    line-height: var(--lh-relaxed);
    letter-spacing: 0;
    text-transform: none;
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
}

/* High-specificity rules to beat .primary-nav a { white-space: nowrap } */
.primary-nav .mega-item,
.primary-nav .mega-item-text,
.primary-nav .mega-item-text strong,
.primary-nav .mega-item-text em {
    white-space: normal !important;
    word-break: normal;
    overflow-wrap: break-word;
}

.mega-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3);
    text-decoration: none;
    color: inherit;
    border-radius: 3px;
    transition: background var(--duration-fast) var(--ease-out),
                padding-left var(--duration-base) var(--ease-out);
    font-family: var(--font-sans);
    letter-spacing: 0;
    text-transform: none;
    min-width: 0;
}

.mega-item:hover,
.mega-item:focus-visible {
    background: var(--color-paper-100);
    padding-left: calc(var(--space-3) + 3px);
}

.mega-item-text strong,
.mega-item-text em {
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.mega-item-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--color-gold-100);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
    transition: background var(--duration-fast) var(--ease-out);
}

.mega-item-ico .ico {
    width: 18px;
    height: 18px;
    color: var(--color-gold-700);
    transition: color var(--duration-fast) var(--ease-out);
}

.mega-item:hover .mega-item-ico,
.mega-item:focus-visible .mega-item-ico {
    background: var(--color-navy-800);
}

.mega-item:hover .mega-item-ico .ico,
.mega-item:focus-visible .mega-item-ico .ico {
    color: var(--color-gold-400);
}

.mega-item-text {
    flex: 1;
    min-width: 0;
}

.mega-item-text strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: var(--fw-semibold);
    color: var(--color-navy-800);
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: none;
}

.mega-item-text em {
    display: block;
    font-style: normal;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: var(--fw-regular);
    color: var(--color-ink-500);
    margin-top: 3px;
    line-height: 1.45;
    letter-spacing: 0;
    text-transform: none;
}

.mega-panel-foot {
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border-soft);
    text-align: right;
}

.mega-panel-foot a {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    color: var(--color-navy-800);
    padding: 6px 0;
    transition: color var(--duration-fast);
}

.mega-panel-foot a:hover { color: var(--color-gold-600); }

/* Responsive: mega-panel collapses to inline on mobile (same as submenu) */
@media (max-width: 1024px) {
    .primary-nav .has-mega > .mega-panel {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        border-left: 2px solid var(--color-gold-500);
        margin-left: var(--space-3);
        margin-top: var(--space-2);
        padding: var(--space-3);
        background: transparent;
    }

    .mega-panel-head { display: none; }
    .mega-panel-foot { display: none; }
    .mega-grid { grid-template-columns: 1fr; gap: 0; }

    .mega-item {
        padding: var(--space-2);
        font-size: var(--fs-xs);
    }
    .mega-item-ico { width: 28px; height: 28px; }
    .mega-item-ico .ico { width: 14px; height: 14px; }
    .mega-item-text em { display: none; }
}

@media (max-width: 1024px) {
    .primary-nav .has-submenu > a::after { display: none; }
    .primary-nav .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        border-left: 2px solid var(--color-gold-500);
        margin-left: var(--space-3);
        padding-left: var(--space-3);
        background: transparent;
    }
    .primary-nav .submenu a {
        padding: var(--space-2) var(--space-3);
        font-size: var(--fs-xs);
    }
}

.primary-nav a.nav-cta,
.nav-cta {
    padding: 0.625rem 1.25rem;
    font-size: var(--fs-xs);
    color: var(--color-paper-50) !important;
    background: var(--color-gold-500) !important; /* vermillion CTA — pops on dark header */
    border-color: var(--color-gold-500) !important;
}

.primary-nav a.nav-cta:hover,
.nav-cta:hover {
    color: var(--color-paper-50) !important;
    background: var(--color-gold-600) !important;
    border-color: var(--color-gold-600) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--color-paper-50); /* white hamburger lines on dark header */
    position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: inherit;
}

.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

@media (max-width: 1024px) {
    .nav-toggle { display: inline-flex; }
    .primary-nav {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(360px, 86vw);
        background: var(--color-paper-50);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--space-8) var(--space-6);
        transform: translateX(100%);
        transition: transform var(--duration-slow) var(--ease-out);
        box-shadow: var(--shadow-xl);
        z-index: var(--z-overlay);
    }
    .primary-nav.is-open { transform: translateX(0); }
    .primary-nav > ul { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
    position: relative;
    background: var(--color-navy-800);
    color: var(--color-paper-50);
    overflow: hidden;
    padding-block: clamp(5rem, 12vw, 10rem);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.65;
    filter: saturate(0.9) contrast(1.05);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(14, 12, 10, 0.70) 0%, rgba(26, 23, 20, 0.50) 55%, rgba(26, 23, 20, 0.28) 100%),
        radial-gradient(circle at 20% 30%, rgba(201, 48, 28, 0.12), transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(135deg, transparent 49.5%, rgba(255,255,255,0.04) 49.5%, rgba(255,255,255,0.04) 50.5%, transparent 50.5%);
    background-size: 80px 80px;
    opacity: 0.3;
    pointer-events: none;
    z-index: 2;
}

.hero-inner { z-index: 3; }

.hero-inner {
    position: relative;
    z-index: 1;
    
}

.hero h1 {
    color: var(--color-paper-50);
    font-weight: var(--fw-light);
    margin-block: var(--space-5) var(--space-6);
}

.hero h1 em {
    font-style: italic;
    color: var(--color-gold-400);
}

.hero .lede {
    color: rgba(255, 255, 255, 0.85);
    font-weight: var(--fw-light);
    max-width: 680px;
}

.hero-actions {
    margin-top: var(--space-7);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.hero-meta {
    position: absolute;
    bottom: var(--space-7);
    right: var(--container-pad);
    z-index: 1;
    text-align: right;
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}

@media (max-width: 768px) { .hero-meta { display: none; } }

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */

.page-header {
    position: relative;
    background: var(--color-navy-800);
    color: var(--color-paper-50);
    padding-block: clamp(4rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem);
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.page-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.60;
    filter: saturate(0.9) contrast(1.05);
}

.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(120deg, rgba(14, 12, 10, 0.72) 0%, rgba(26, 23, 20, 0.52) 60%, rgba(26, 23, 20, 0.30) 100%),
        radial-gradient(circle at 75% 50%, rgba(201, 48, 28, 0.10), transparent 50%);
}

.page-header-inner {
    position: relative;
    z-index: 2;
}

/* ============================================================
   CONSULTANTS PAGE — non-clickable trial consultant cards
   ============================================================ */
.consultants-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-7);
}

@media (max-width: 900px) {
    .consultants-grid { grid-template-columns: 1fr; gap: var(--space-5); }
}

.consultant-card {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: var(--space-5);
    align-items: start;
    padding: var(--space-6);
    background: var(--color-paper-50);
    border: 1px solid var(--color-border-soft);
    border-top: 3px solid var(--color-gold-500);
    transition: transform var(--duration-base) var(--ease-out),
                box-shadow var(--duration-base) var(--ease-out);
}

.consultant-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 540px) {
    .consultant-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.consultant-photo {
    position: relative;
    width: 140px;
    height: 140px;
    background: var(--color-paper-200);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

@media (max-width: 540px) {
    .consultant-photo {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
}

.consultant-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.consultant-photo-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: var(--fw-regular);
    color: var(--color-gold-600);
    letter-spacing: var(--ls-tight);
    background: var(--color-paper-200);
}

.consultant-body { min-width: 0; }

.consultant-firm-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.625rem;
    font-weight: var(--fw-semibold);
    color: var(--color-gold-600);
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    padding: 4px 10px;
    background: var(--color-gold-100);
    border-radius: 2px;
    margin-bottom: var(--space-3);
}

.consultant-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: var(--fw-regular);
    color: var(--color-navy-800);
    line-height: var(--lh-snug);
    margin: 0 0 var(--space-1);
    letter-spacing: var(--ls-tight);
}

.consultant-role {
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    color: var(--color-ink-500);
    margin: 0 0 var(--space-4);
}

.consultant-contact {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-5);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    font-size: var(--fs-sm);
}

.consultant-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-ink-700);
}

@media (max-width: 540px) {
    .consultant-contact li { justify-content: center; }
}

.consultant-contact .ico {
    color: var(--color-gold-500);
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.consultant-contact a {
    color: var(--color-navy-800);
    text-decoration: none;
    transition: color var(--duration-fast);
    word-break: break-all;
}

.consultant-contact a:hover { color: var(--color-gold-600); }

.consultant-bars {
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border-soft);
}

.consultant-bars-label {
    display: block;
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    color: var(--color-navy-800);
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    margin-bottom: var(--space-3);
}

.consultant-bar-pill {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    color: var(--color-ink-700);
    background: var(--color-paper-200);
    padding: 4px 10px;
    border-radius: 2px;
    margin: 0 4px 4px 0;
    line-height: 1.5;
}

/* ============================================================
   ATTORNEY DETAIL — sidebar Contact section
   ============================================================ */
.attorney-side-contact .ah-side-ico {
    color: var(--color-gold-600);
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform var(--duration-fast) var(--ease-out);
}

.attorney-side-contact li:hover .ah-side-ico {
    transform: scale(1.15);
    color: var(--color-gold-500);
}

.attorney-side-contact a {
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
    border-bottom: 1px solid transparent;
}

.attorney-side-contact a:hover {
    color: var(--color-gold-600) !important;
    border-bottom-color: var(--color-gold-500);
}

/* Subtle divider after Contact section */
.attorney-side-contact {
    /*padding-bottom: var(--space-5);*/
    border-bottom: 1px solid var(--color-border-soft);
    /*margin-bottom: var(--space-5);*/
}

/* ============================================================
   CONTACT ASIDE — image background with text overlay (hero-style panel)
   Used on Contact.aspx for Direct Contact information block
   ============================================================ */
.contact-aside {
    position: relative;
    background: var(--color-navy-900);
    color: var(--color-paper-50);
    border-top: 3px solid var(--color-gold-500);
    overflow: hidden;
    min-height: 100%;
}

.contact-aside-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.contact-aside-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.45;
    filter: saturate(0.9) contrast(1.05);
}

.contact-aside::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(14, 12, 10, 0.78) 0%, rgba(26, 23, 20, 0.85) 40%, rgba(26, 23, 20, 0.92) 100%),
        radial-gradient(circle at 70% 20%, rgba(201, 48, 28, 0.18), transparent 55%);
}

.contact-aside-inner {
    position: relative;
    z-index: 2;
    padding: var(--space-7) var(--space-6);
}

.contact-aside-inner a {
    transition: color var(--duration-fast) var(--ease-out);
    text-decoration: none;
}

.contact-aside-inner a:hover {
    color: var(--color-paper-50) !important;
}

.page-header h1 {
    color: var(--color-paper-50);
    font-weight: var(--fw-light);
    margin-top: var(--space-4);
    max-width: 880px;
}

.page-header .lede {
    color: rgba(255, 255, 255, 0.78);
    margin-top: var(--space-5);
    max-width: 720px;
}

.breadcrumbs {
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.breadcrumbs a { color: inherit; }
.breadcrumbs a:hover { color: var(--color-gold-400); }
.breadcrumbs .sep { margin-inline: var(--space-2); opacity: 0.5; }

/* ============================================================
   BREADCRUMB BAR — separate strip BELOW page-header (hero)
   ============================================================ */
.breadcrumb-bar {
    background: var(--color-paper-200);
    border-top: 3px solid var(--color-gold-500);
    border-bottom: 1px solid var(--color-border-soft);
    padding: var(--space-3) 0;
}

.breadcrumb-bar .breadcrumbs {
    color: var(--color-ink-600);
}

.breadcrumb-bar .breadcrumbs a {
    color: var(--color-navy-800);
    font-weight: var(--fw-medium);
    transition: color var(--duration-fast) var(--ease-out);
}

.breadcrumb-bar .breadcrumbs a:hover {
    color: var(--color-gold-600);
}

.breadcrumb-bar .breadcrumbs .sep {
    color: var(--color-ink-400);
    opacity: 1;
    margin-inline: var(--space-2);
}

.breadcrumb-bar .breadcrumbs > span:last-child {
    color: var(--color-ink-700);
}

/* On mobile — breadcrumb bar slightly tighter */
@media (max-width: 640px) {
    .breadcrumb-bar { padding: var(--space-2) 0; }
    .breadcrumb-bar .breadcrumbs {
        font-size: 0.625rem;
        line-height: 1.5;
    }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */

.section-head {
    margin-bottom: var(--space-9);
    max-width: 880px;
}

.section-head .eyebrow + h2 { margin-top: var(--space-3); }
.section-head h2 { margin-bottom: var(--space-5); }
.section-head h2 + .rule-gold { margin-bottom: var(--space-5); }
.section-head .lede { color: var(--color-ink-600); }

.section-head-center {
    text-align: center;
    margin-inline: auto;
}

.section-head-center .rule-gold { margin-inline: auto; }

/* ============================================================
   CARDS / GRIDS
   ============================================================ */

.grid {
    display: grid;
    gap: var(--space-6);
}

.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)); }

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

/* Practice card */
.practice-card {
    background: var(--color-paper-50);
    border: 1px solid var(--color-border-soft);
    padding: var(--space-7) var(--space-6) var(--space-6);
    transition: all var(--duration-base) var(--ease-out);
    position: relative;
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.practice-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--color-gold-500);
    transition: width var(--duration-base) var(--ease-out);
}

.practice-card:hover {
    border-color: var(--color-navy-800);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    color: inherit;
}

.practice-card:hover::before { width: 100%; }

.practice-card h3 {
    font-size: 1.625rem;
    margin-bottom: var(--space-3);
    color: var(--color-navy-800);
}

.practice-card p {
    font-size: var(--fs-sm);
    line-height: var(--lh-relaxed);
    color: var(--color-ink-600);
}

.practice-card .more {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-5);
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    color: var(--color-navy-800);
}

.practice-card:hover .more { color: var(--color-gold-600); }

/* Attorney card (Option I — Quote-Featured) */
.attorney-card {
    display: flex;
    flex-direction: column;
    padding: var(--space-5);
    background: var(--color-paper-50);
    border: 1px solid var(--color-border-soft);
    color: inherit;
    text-decoration: none;
    transition: border-color var(--duration-base) var(--ease-out),
                box-shadow var(--duration-base) var(--ease-out),
                transform var(--duration-base) var(--ease-out);
    position: relative;
    height: 100%;
}

.attorney-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--color-gold-500);
    transition: width var(--duration-base) var(--ease-out);
}

.attorney-card:hover {
    border-color: var(--color-navy-800);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    color: inherit;
}

.attorney-card:hover::before { width: 100%; }

.attorney-card-head {
    display: flex;
    gap: var(--space-3);
    align-items: center;
    margin-bottom: var(--space-5);
}

.attorney-photo {
    position: relative;
    width: 64px;
    height: 64px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--color-paper-300);
    margin-bottom: 0;
}

.attorney-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    transition: transform var(--duration-slow) var(--ease-out);
    filter: grayscale(0.05) saturate(0.95);
}

.attorney-card:hover .attorney-photo img {
    transform: scale(1.06);
    filter: none;
}

.attorney-photo-placeholder {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-navy-700), var(--color-navy-900));
    color: var(--color-gold-400);
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: var(--fw-light);
    letter-spacing: var(--ls-tight);
}

.attorney-photo-placeholder::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(201,48,28,0.18), transparent 60%);
}

.attorney-meta {
    flex: 1;
    min-width: 0;
}

.attorney-name {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: var(--fw-regular);
    color: var(--color-navy-800);
    line-height: var(--lh-snug);
}

.attorney-title {
    font-size: var(--fs-xs);
    color: var(--color-ink-500);
    margin-top: 2px;
    line-height: var(--lh-snug);
}

.attorney-office {
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
    color: var(--color-gold-600);
    font-weight: var(--fw-medium);
}

.attorney-quote {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-style: italic;
    font-weight: var(--fw-regular);
    line-height: 1.5;
    color: var(--color-ink-700);
    margin: 0;
    position: relative;
    padding-left: var(--space-5);
    padding-top: var(--space-3);
    flex: 1;
}

.attorney-quote::before {
    content: "\201C";
    position: absolute;
    left: -0.25rem;
    top: -1rem;
    font-size: 4rem;
    color: var(--color-gold-500);
    font-family: var(--font-display);
    line-height: 1;
    font-style: normal;
}

.attorney-card-foot {
    margin-top: var(--space-4);
    padding-top: var(--space-3);
    border-top: 1px solid var(--color-border-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
}

.attorney-card .read-more {
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    color: var(--color-navy-800);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    transition: color var(--duration-fast) var(--ease-out);
}

.attorney-card:hover .read-more { color: var(--color-gold-600); }

/* Insight card */
.insight-card {
    background: var(--color-paper-50);
    border: 1px solid var(--color-border-soft);
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    transition: all var(--duration-base) var(--ease-out);
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.insight-card:hover {
    border-color: var(--color-navy-800);
    box-shadow: var(--shadow-md);
    color: inherit;
}

.insight-card .insight-meta {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
    color: var(--color-ink-500);
    margin-bottom: var(--space-4);
}

.insight-card .insight-type {
    color: var(--color-gold-600);
    font-weight: var(--fw-semibold);
}

.insight-card h3 {
    font-size: 1.375rem;
    line-height: var(--lh-snug);
    margin-bottom: var(--space-3);
    color: var(--color-navy-800);
}

.insight-card p {
    font-size: var(--fs-sm);
    color: var(--color-ink-600);
    flex: 1;
}

.insight-card .read-more {
    margin-top: var(--space-5);
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    color: var(--color-navy-800);
}

/* ============================================================
   STATS / DIFFERENTIATORS
   ============================================================ */

.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-6);
}

@media (max-width: 768px) {
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.stat {
    padding: var(--space-6) 0;
    border-top: 1px solid rgba(255,255,255,0.18);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4.5vw, 3.75rem);
    font-weight: var(--fw-light);
    color: var(--color-gold-400);
    line-height: 1;
    letter-spacing: var(--ls-tight);
}

.stat-label {
    margin-top: var(--space-3);
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    letter-spacing: var(--ls-wide);
    color: rgba(255, 255, 255, 0.78);
}

/* ============================================================
   FEATURE BLOCK (Government Affairs feature on homepage)
   ============================================================ */

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--color-paper-50);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.feature-block-text {
    padding: clamp(2.5rem, 5vw, 4.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-block-image {
    background: linear-gradient(135deg, var(--color-navy-700), var(--color-navy-900));
    position: relative;
    min-height: 420px;
    overflow: hidden;
}

.feature-block-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.feature-block-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 23, 20, 0.35), rgba(26, 23, 20, 0.55));
    pointer-events: none;
}

.feature-block-image .ga-watermark {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 12rem;
    font-weight: var(--fw-light);
    color: rgba(201, 48, 28, 0.22);
    letter-spacing: var(--ls-tight);
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 900px) {
    .feature-block { grid-template-columns: 1fr; }
    .feature-block-image { min-height: 280px; }
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
    background: var(--color-navy-900);
    color: rgba(255, 255, 255, 0.72);
    font-size: var(--fs-sm);
    position: relative;
}

/* ====== Footer CTA strip (newsletter) ====== */
.footer-cta {
    background: linear-gradient(135deg, #221d18 0%, #2b231b 100%);
    border-top: 3px solid var(--color-gold-500);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-block: var(--space-9);
    position: relative;
    overflow: hidden;
}

.footer-cta::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201,48,28,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.footer-cta-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-8);
    align-items: center;
    position: relative;
    z-index: 1;
}

.footer-cta-text .eyebrow {
    color: var(--color-gold-400);
    display: block;
    margin-bottom: var(--space-3);
}

.footer-cta-text h3 {
    color: var(--color-paper-50);
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: var(--fw-regular);
    line-height: 1.25;
    margin: 0;
    letter-spacing: -0.01em;
}

.footer-cta-text p {
    color: rgba(255,255,255,0.65);
    font-size: var(--fs-sm);
    line-height: var(--lh-relaxed);
    margin: var(--space-3) 0 0;
    max-width: 540px;
}

.footer-cta-actions {
    display: flex;
    gap: var(--space-3);
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-cta-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Primary CTA button on the dark footer strip uses gold so it actually pops. */
.footer-cta-actions .btn-primary {
    background: var(--color-gold-500) !important;
    border-color: var(--color-gold-500) !important;
    color: var(--color-paper-50) !important;
    font-weight: var(--fw-semibold);
    box-shadow: 0 4px 14px rgba(201, 48, 28, 0.28);
    transition: background var(--duration-fast) var(--ease-out),
                border-color var(--duration-fast) var(--ease-out),
                color var(--duration-fast) var(--ease-out),
                transform var(--duration-fast) var(--ease-out),
                box-shadow var(--duration-fast) var(--ease-out);
}

.footer-cta-actions .btn-primary:hover {
    background: var(--color-gold-400) !important;
    border-color: var(--color-gold-400) !important;
    color: var(--color-paper-50) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 48, 28, 0.42);
}

/* Arrow icon inside the gold primary button — force white */
.footer-cta-actions .btn-primary .ico {
    color: var(--color-paper-50) !important;
    stroke: var(--color-paper-50) !important;
}

.footer-cta-actions .btn .ico {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform var(--duration-fast) var(--ease-out);
}

.footer-cta-actions .btn:hover .ico {
    transform: translateX(3px);
}

.btn-outline-light {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--color-paper-50);
    padding: 0.75rem 1.25rem;
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
    text-decoration: none;
    transition: background var(--duration-fast), border-color var(--duration-fast), color var(--duration-fast);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.06);
    border-color: var(--color-gold-400);
    color: var(--color-gold-400);
}

@media (max-width: 900px) {
    .footer-cta-inner {
        grid-template-columns: 1fr;
        gap: var(--space-5);
        text-align: left;
    }
    .footer-cta-actions { justify-content: flex-start; }
}

/* ====== Main footer block ====== */
.site-footer > .container { padding-top: var(--space-10); }

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr 1.3fr;
    gap: var(--space-7);
    padding-bottom: var(--space-9);
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

@media (max-width: 1180px) {
    .footer-top {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: var(--space-6);
    }
    .footer-col--offices,
    .footer-col--contact {
        grid-column: span 1;
    }
    .footer-brand {
        grid-column: 1 / -1;
        padding-bottom: var(--space-4);
        border-bottom: 1px solid rgba(255,255,255,0.08);
        margin-bottom: var(--space-2);
    }
}

@media (max-width: 768px) {
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-col--offices,
    .footer-col--contact {
        grid-column: 1 / -1;
    }
}

@media (max-width: 540px) {
    .footer-top { grid-template-columns: 1fr; gap: var(--space-5); }
}

/* Column 1: Brand */
.footer-brand .brand { align-items: flex-start; }

.footer-brand .brand-mark {
    color: var(--color-paper-50);
    font-size: 2rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.65);
    margin-top: var(--space-4);
    max-width: 340px;
    font-size: var(--fs-sm);
    line-height: var(--lh-relaxed);
}

.footer-social {
    display: flex;
    gap: var(--space-2);
    margin-top: var(--space-5);
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.7);
    transition: background var(--duration-fast) var(--ease-out),
                border-color var(--duration-fast) var(--ease-out),
                color var(--duration-fast) var(--ease-out),
                transform var(--duration-fast) var(--ease-out);
}

.footer-social a:hover {
    background: var(--color-gold-500);
    border-color: var(--color-gold-500);
    color: var(--color-navy-900);
    transform: translateY(-2px);
}

.footer-social .ico {
    width: 16px;
    height: 16px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* X (Twitter) is solid fill; others stroke. */
.footer-social a[aria-label="LinkedIn"] .ico,
.footer-social a[aria-label="YouTube"] .ico,
.footer-social a[aria-label="Instagram"] .ico {
    fill: none;
}

.footer-accolades {
    margin-top: var(--space-5);
    padding-top: var(--space-4);
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    font-family: var(--font-sans);
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
}

.footer-accolades .dot {
    color: var(--color-gold-500);
    margin: 0 2px;
}

/* Columns 2–5: heading + list */
.footer-col h4 {
    color: var(--color-paper-50);
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    margin-bottom: var(--space-5);
    position: relative;
    padding-bottom: var(--space-3);
}

.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 24px;
    height: 2px;
    background: var(--color-gold-500);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-col a {
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out),
                padding-left var(--duration-base) var(--ease-out);
    display: inline-block;
}

.footer-col li > a:hover {
    color: var(--color-gold-400);
    padding-left: 4px;
}

/* Offices column: each item has icon + name + address */
.footer-offices li a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0;
    line-height: 1.4;
}

.footer-offices li a:hover { padding-left: 0; }

.footer-offices .ico {
    width: 16px;
    height: 16px;
    color: var(--color-gold-400);
    flex-shrink: 0;
    margin-top: 2px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform var(--duration-fast) var(--ease-out);
}

.footer-offices li a:hover .ico {
    transform: scale(1.15);
}

.footer-offices strong {
    display: block;
    color: var(--color-paper-50);
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    letter-spacing: 0;
    text-transform: none;
}

.footer-offices em {
    display: block;
    color: rgba(255,255,255,0.55);
    font-style: normal;
    font-size: 0.75rem;
    margin-top: 2px;
    line-height: 1.5;
}

.footer-offices li a:hover strong { color: var(--color-gold-400); }

/* Contact column: icon + link list + CTA button */
.footer-contact-list {
    margin-bottom: var(--space-5) !important;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-list .ico {
    width: 15px;
    height: 15px;
    color: var(--color-gold-400);
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform var(--duration-fast) var(--ease-out);
}

.footer-contact-list li:hover .ico {
    transform: scale(1.15);
}

.footer-contact-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin-top: var(--space-2);
}

.footer-contact-btn .ico {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform var(--duration-fast) var(--ease-out);
}

.footer-contact-btn:hover .ico {
    transform: translateX(3px) translateY(-1px);
}

.footer-hours {
    margin-top: var(--space-4);
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    letter-spacing: var(--ls-wide);
}

/* ====== Footer bottom strip ====== */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
    padding-block: var(--space-6);
    font-size: var(--fs-xs);
    color: rgba(255,255,255,0.5);
    letter-spacing: var(--ls-wide);
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-4) var(--space-5);
    flex-wrap: wrap;
    align-items: center;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    position: relative;
    transition: color var(--duration-fast);
}

.footer-bottom-links a:not(:last-child)::after {
    content: "";
    position: absolute;
    right: calc(var(--space-5) * -0.5 - 1px);
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 10px;
    background: rgba(255,255,255,0.15);
}

.footer-bottom-links a:hover { color: var(--color-gold-400); }

/* ====== Disclosure footer (attorney advertising) ====== */
.disclosure-bar {
    background: #14110e;
    color: rgba(255,255,255,0.55);
    font-size: var(--fs-xs);
    text-align: center;
    padding: var(--space-4) var(--container-pad);
    border-top: 1px solid rgba(255,255,255,0.08);
    line-height: var(--lh-snug);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.disclosure-bar .ico {
    width: 14px;
    height: 14px;
    color: var(--color-gold-500);
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ============================================================
   FORMS
   ============================================================ */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
}

@media (max-width: 640px) {
    .form-grid { grid-template-columns: 1fr; }
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-field.full { grid-column: 1 / -1; }

.form-field label {
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
    color: var(--color-ink-700);
}

.form-field input:not([type="submit"]):not([type="button"]):not([type="reset"]),
.form-field textarea,
.form-field select {
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-border);
    background: var(--color-paper-50);
    color: var(--color-ink-800);
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    border-radius: var(--radius-sm);
    transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.form-field input:not([type="submit"]):not([type="button"]):not([type="reset"]):focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--color-navy-800);
    box-shadow: 0 0 0 3px rgba(26, 23, 20, 0.08);
}

.form-field textarea { min-height: 140px; resize: vertical; }

/* ============================================================
   UTILITIES
   ============================================================ */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Accessible focus */
:focus-visible {
    outline: 2px solid var(--color-gold-500);
    outline-offset: 3px;
}

/* ============================================================
   DETAIL-PAGE SIDEBAR — auto-add background image to all
   "Engage Our Team / Contact" boxes via attribute selector.
   Works on Practice, GAService, Industry, Insight, Office, etc.
   ============================================================ */
section aside[style*="background: var(--color-paper-200)"] {
    background: transparent !important;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

section aside[style*="background: var(--color-paper-200)"]::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("../Images/stock/library-02.jpg");
    background-size: cover;
    background-position: center;
    opacity: 0.55;
    filter: saturate(0.85);
}

section aside[style*="background: var(--color-paper-200)"]::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(135deg, rgba(247, 243, 234, 0.72) 0%, rgba(239, 234, 224, 0.86) 100%),
        radial-gradient(circle at 100% 0%, rgba(201, 48, 28, 0.10), transparent 60%);
}

/* Vary image per section context via more specific attribute matches */
/* Government Affairs sidebars get capitol theme */
.page-header-bg img[src*="regulatory-compliance"] ~ * section aside[style*="background: var(--color-paper-200)"]::before,
section aside[style*="background: var(--color-paper-200)"][data-bg="ga"]::before {
    background-image: url("../Images/stock/capitol-01.jpg");
}

/* Make sure all sidebar child content sits ABOVE the pseudo-element overlays */
section aside[style*="background: var(--color-paper-200)"] > * {
    position: relative;
    z-index: 1;
}

/* Ensure text remains crisp & readable */
section aside[style*="background: var(--color-paper-200)"] h4,
section aside[style*="background: var(--color-paper-200)"] strong {
    color: var(--color-navy-800);
    text-shadow: 0 1px 0 rgba(247, 243, 234, 0.4);
}

section aside[style*="background: var(--color-paper-200)"] p,
section aside[style*="background: var(--color-paper-200)"] li,
section aside[style*="background: var(--color-paper-200)"] a:not(.btn):not(.btn-primary):not(.btn-outline) {
    color: var(--color-ink-700);
}

/* Force button text to stay white/navy regardless of sidebar context */
section aside .btn,
section aside .btn-primary,
section aside a.btn-primary {
    color: var(--color-paper-50) !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

section aside .btn-outline {
    color: var(--color-navy-800) !important;
    background: transparent !important;
}

section aside .btn-outline:hover {
    background: var(--color-navy-800) !important;
    color: var(--color-paper-50) !important;
}

/* ============================================================
   ANIMATIONS — subtle, tasteful, non-overloading
   Activated when body has .js-ready class (JS-fallback safe)
   ============================================================ */

@keyframes ahFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes ahFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes ahKenBurns {
    from { transform: scale(1); }
    to   { transform: scale(1.06); }
}

@keyframes ahShimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* === Hero / page-header — entrance animations on page load === */
.js-ready .hero-inner .eyebrow,
.js-ready .page-header-inner .eyebrow {
    animation: ahFadeUp 0.6s var(--ease-out) both;
    animation-delay: 0.1s;
}

.js-ready .hero-inner h1,
.js-ready .page-header-inner h1 {
    animation: ahFadeUp 0.7s var(--ease-out) both;
    animation-delay: 0.2s;
}

.js-ready .hero-inner .lede,
.js-ready .page-header-inner .lede {
    animation: ahFadeUp 0.7s var(--ease-out) both;
    animation-delay: 0.35s;
}

.js-ready .hero-actions {
    animation: ahFadeUp 0.7s var(--ease-out) both;
    animation-delay: 0.5s;
}

.js-ready .breadcrumbs {
    animation: ahFadeIn 0.5s var(--ease-out) both;
    animation-delay: 0.05s;
}

/* === Hero / page-header background image — subtle ken-burns zoom === */
.js-ready .hero-bg img,
.js-ready .page-header-bg img {
    animation: ahKenBurns 22s ease-out both;
}

/* === Scroll-triggered fade-in for cards & section heads === */
.js-ready .attorney-card,
.js-ready .practice-card,
.js-ready .insight-card,
.js-ready .feature-block,
.js-ready .stats > .stat,
.js-ready .section-head,
.js-ready [data-animate] {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.30s var(--ease-out), transform 0.30s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 0.03s);
}

.js-ready .attorney-card.is-visible,
.js-ready .practice-card.is-visible,
.js-ready .insight-card.is-visible,
.js-ready .feature-block.is-visible,
.js-ready .stats > .stat.is-visible,
.js-ready .section-head.is-visible,
.js-ready [data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Header subtle background blur effect when scrolled === */
.site-header.is-scrolled {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(26, 23, 20, 0.96); /* warm soft black with slight translucency for glass effect */
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

/* === Stats number counter animation hint (CSS only counter-up via animation) === */
.js-ready .stat-number {
    animation: ahFadeUp 0.8s var(--ease-out) both;
    animation-delay: 0.2s;
}

/* === Gold accent line decorative animation on hover (cards & sections) === */
.section-head .rule-gold {
    transition: width 0.4s var(--ease-out);
    transform-origin: left;
}

.js-ready .section-head.is-visible .rule-gold {
    animation: ruleExpand 0.6s var(--ease-out) both;
    animation-delay: 0.3s;
}

@keyframes ruleExpand {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

/* === Honor reduced-motion preference === */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .js-ready .attorney-card,
    .js-ready .practice-card,
    .js-ready .insight-card,
    .js-ready .feature-block,
    .js-ready .stats > .stat,
    .js-ready .section-head,
    .js-ready [data-animate] {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ============================================================
   RESPONSIVE — covers every page across all breakpoints
   Uses attribute selectors to override inline grid styles in .aspx files
   without requiring template edits.
   ============================================================ */

/* === Large tablet / small desktop (≤ 1200px) === */
@media (max-width: 1200px) {
    /* Header nav slightly tighter */
    .primary-nav > ul { gap: var(--space-4); }

    /* Attorney detail bio hero — photo column slightly smaller */
    [style*="grid-template-columns: 280px 1fr"] {
        grid-template-columns: 240px 1fr !important;
        gap: var(--space-7) !important;
    }

    /* Section-head text more compact */
    .section-head { max-width: 760px; }
}

/* === Tablet (≤ 1024px) === */
@media (max-width: 1024px) {
    /* Two-column layouts with sidebar → single column */
    [style*="grid-template-columns: minmax(0, 1fr) 320px"],
    [style*="grid-template-columns:minmax(0, 1fr) 320px"],
    [style*="grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr)"],
    [style*="grid-template-columns:minmax(0, 1.4fr) minmax(0, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: var(--space-7) !important;
    }

    /* Attorney detail bio hero stacks: photo above content */
    [style*="grid-template-columns: 280px 1fr"],
    [style*="grid-template-columns: 240px 1fr"] {
        grid-template-columns: 1fr !important;
        gap: var(--space-6) !important;
        justify-items: start;
    }
    [style*="grid-template-columns: 280px 1fr"] .attorney-photo,
    [style*="grid-template-columns: 240px 1fr"] .attorney-photo {
        max-width: 220px;
    }

    /* Sidebars (asides) full-width when stacked */
    section aside { width: 100%; }

    /* Stats grid: 4 → 2 cols */
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* === Small tablet / large mobile (≤ 768px) === */
@media (max-width: 768px) {
    /* All remaining 2-col inline grids collapse to single */
    [style*="grid-template-columns: 200px minmax(0, 1fr)"],
    [style*="grid-template-columns: 1fr 1.6fr"],
    [style*="grid-template-columns: 1fr 1fr"],
    [style*="grid-template-columns: 130px 1fr"],
    [style*="grid-template-columns: 1.4fr"],
    [style*="grid-template-columns: repeat(2, minmax(0, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: var(--space-5) !important;
    }

    /* Service lists with 1fr 1fr (e.g., Practice page Services) collapse */
    [style*="display: grid"][style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Hero actions stack vertically */
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-3);
    }
    .hero-actions .btn { justify-content: center; width: 100%; }

    /* Tighter page-header vertical padding */
    .page-header {
        padding-block: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3rem);
    }

    /* Tighter section padding */
    .section { padding-block: clamp(2.5rem, 5vw, 4rem); }

    /* Tighter hero padding */
    .hero { padding-block: clamp(3rem, 8vw, 5rem); }

    /* Section head margin */
    .section-head { margin-bottom: var(--space-7); }

    /* Attorney card tighter */
    .attorney-card { padding: var(--space-4); }
    .attorney-photo { width: 56px; height: 56px; }
    .attorney-photo-placeholder { font-size: 1rem; }
    .attorney-name { font-size: 1.0625rem; }
    .attorney-title { font-size: 0.75rem; }
    .attorney-quote { font-size: 0.9375rem; padding-left: var(--space-4); }
    .attorney-quote::before { font-size: 3rem; top: -0.75rem; }

    /* Insight & practice card tighter */
    .insight-card { padding: var(--space-5); }
    .insight-card h3 { font-size: 1.25rem; }
    .practice-card { padding: var(--space-6) var(--space-5) var(--space-5); }
    .practice-card h3 { font-size: 1.375rem; }

    /* Feature block (homepage GA feature) stacks */
    .feature-block-image { min-height: 260px; }

    /* Stats vertical padding */
    .stat { padding: var(--space-5) 0; }
}

/* === Mobile portrait (≤ 640px) === */
@media (max-width: 640px) {
    /* Smaller display headings */
    h1, .h1 { font-size: clamp(1.875rem, 7vw, 2.5rem); }
    h2, .h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
    h3, .h3 { font-size: clamp(1.25rem, 5vw, 1.625rem); }

    /* Header utility: stack tightly, hide "Global Counsel" tag and phone numbers (keep email + nav links) */
    .header-utility-inner { gap: var(--space-3); justify-content: flex-end; }
    .util-tag { display: none; }
    .util-contact[href^="tel:"] { display: none; }
    .util-contacts { gap: var(--space-3); }
    .util-links { gap: var(--space-3); }

    /* Brand mark slightly smaller, tag hides */
    .brand-mark { font-size: 1.375rem; }
    .brand-tag { display: none; }
    .header-main { padding-block: var(--space-3); }

    /* Hero meta hide on mobile */
    .hero-meta { display: none; }

    /* Lede slightly smaller */
    .lede { font-size: 1.0625rem; }

    /* Attorney card footer stacks vertically */
    .attorney-card-foot {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
    }

    /* Footer bottom stacks */
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-3);
    }

    /* Stats grid: 2 → 1 col */
    .stats { grid-template-columns: 1fr; gap: var(--space-3); }

    /* Form grid stacks (already exists in form-grid CSS) */
    .form-grid { grid-template-columns: 1fr; }

    /* Tight buttons */
    .btn { padding: 0.75rem 1.25rem; font-size: var(--fs-xs); }

    /* Breadcrumbs wrap nicely */
    .breadcrumbs { font-size: 0.625rem; line-height: 1.6; }

    /* Office detail address grid (3 cols) → 2 cols */
    [style*="grid-template-columns: repeat(3, minmax(0, 1fr))"] {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: var(--space-2) !important;
    }
}

/* === Small mobile (≤ 480px) === */
@media (max-width: 480px) {
    /* Smallest screens — even tighter */
    .attorney-card { padding: var(--space-3); }
    .attorney-photo { width: 48px; height: 48px; }
    .attorney-photo-placeholder { font-size: 0.875rem; }
    .attorney-quote { font-size: 0.875rem; padding-left: var(--space-4); }
    .attorney-quote::before { font-size: 2.5rem; top: -0.5rem; }

    .insight-card { padding: var(--space-4); }
    .insight-card h3 { font-size: 1.125rem; }
    .practice-card { padding: var(--space-5) var(--space-4); }
    .practice-card h3 { font-size: 1.25rem; }

    /* Footer columns single */
    .footer-top { grid-template-columns: 1fr; gap: var(--space-6); }

    /* Footer CTA stacks tighter */
    .footer-cta { padding-block: var(--space-7); }
    .footer-cta-actions .btn,
    .footer-cta-actions .btn-outline-light { width: 100%; justify-content: center; }

    /* Footer bottom separators hidden on mobile (wraps too much) */
    .footer-bottom-links a:not(:last-child)::after { display: none; }
    .footer-bottom-links { gap: var(--space-3); }
    .footer-bottom-links a { font-size: 0.7rem; }

    /* Header utility hides entirely */
    .header-utility { display: none; }

    /* Hero pad minimal */
    .hero { padding-block: var(--space-9); }
    .page-header { padding-block: var(--space-7) var(--space-5); }
    .section { padding-block: var(--space-7); }

    /* Eyebrow smaller */
    .eyebrow { font-size: 0.6875rem; }

    /* Office address grid → single col */
    [style*="grid-template-columns: repeat(3, minmax(0, 1fr))"] {
        grid-template-columns: 1fr !important;
    }

    /* Sitemap columns single */
    .grid-3 { grid-template-columns: 1fr; }
}

/* === Touch-friendly tap targets === */
@media (hover: none) and (pointer: coarse) {
    .btn { min-height: 44px; display: inline-flex; align-items: center; }
    .primary-nav a { padding-block: var(--space-3); }
    .footer-col a,
    .footer-bottom-links a {
        padding-block: var(--space-1);
        display: inline-block;
    }
}

/* === Print stylesheet === */
@media print {
    .site-header,
    .site-footer,
    .disclosure-bar,
    .hero-actions,
    .attorney-card-foot,
    .read-more,
    .breadcrumbs,
    .btn,
    .nav-toggle,
    .header-utility { display: none !important; }

    body { background: white !important; color: black !important; }

    .section, .page-header, .hero { padding-block: var(--space-5) !important; }

    a { color: black !important; text-decoration: underline; }

    .attorney-card,
    .practice-card,
    .insight-card { border: 1px solid #999; box-shadow: none; break-inside: avoid; }

    h1, h2, h3 { break-after: avoid; }
}
