/* =========================================================================
   David & William McCartney Attorneys — Design System
   Style: Trust & Authority  |  Navy + Bronze (from brand logo)
   Fonts: EB Garamond (display)  ·  Lato (body)
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Lato:wght@300;400;700;900&display=swap');

/* ----------------------------- Tokens ----------------------------------- */
:root {
    /* Brand */
    --navy-900: #0d1f33;
    --navy-800: #122a44;
    --navy-700: #16304d;   /* primary */
    --navy-600: #1d3e63;
    --navy-500: #2a527f;
    --navy-100: #e9eef5;

    --bronze-700: #8a5a2b;
    --bronze-600: #a06a32;
    --bronze-500: #b07b4c;  /* accent */
    --bronze-400: #c79a6a;
    --bronze-300: #ddc0a0;

    /* Neutrals */
    --bg:        #ffffff;
    --bg-alt:    #f7f5f1;   /* warm parchment */
    --bg-soft:   #f1efe9;
    --ink:       #14202e;
    --ink-soft:  #46556a;
    --muted:     #7a8699;
    --line:      #e3ddd2;
    --line-soft: #eee9e0;
    --white:     #ffffff;

    /* Semantic */
    --primary: var(--navy-700);
    --accent:  var(--bronze-500);

    /* Type */
    --font-display: 'EB Garamond', Georgia, 'Times New Roman', serif;
    --font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Layout */
    --container: 1200px;
    --container-wide: 1340px;
    --radius: 4px;
    --radius-lg: 10px;

    /* Effects */
    --shadow-sm: 0 1px 3px rgba(13,31,51,.08), 0 1px 2px rgba(13,31,51,.04);
    --shadow-md: 0 10px 30px -12px rgba(13,31,51,.22);
    --shadow-lg: 0 28px 60px -20px rgba(13,31,51,.30);
    --ease: cubic-bezier(.22,.61,.36,1);
    --t: .3s var(--ease);
}

/* ----------------------------- Reset ------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink-soft);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ----------------------------- Typography ------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
h4 { font-size: 1.3rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--bronze-600);
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: 1.1rem;
}
.eyebrow::before {
    content: "";
    width: 34px; height: 2px;
    background: var(--bronze-500);
    display: inline-block;
}
.eyebrow.center { justify-content: center; }
.eyebrow.light { color: var(--bronze-400); }

.lead { font-size: 1.18rem; line-height: 1.75; color: var(--ink-soft); }
.gold { color: var(--bronze-600); }

/* ----------------------------- Layout ----------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.wide { max-width: var(--container-wide); }
.section { padding: 96px 0; }
.section.tight { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--navy-800); color: #c8d2e0; }
.section-navy h1,.section-navy h2,.section-navy h3,.section-navy h4 { color: #fff; }

.section-head { max-width: 740px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.12rem; margin-top: .6rem; }

.grid { display: grid; gap: 28px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ----------------------------- Buttons ---------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    font-family: var(--font-body); font-weight: 700; font-size: .82rem;
    letter-spacing: .12em; text-transform: uppercase;
    padding: 16px 32px; border-radius: var(--radius);
    transition: var(--t); cursor: pointer; position: relative; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--bronze-500); color: #fff; box-shadow: 0 8px 22px -10px rgba(138,90,43,.7); }
.btn-primary:hover { background: var(--bronze-600); transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(138,90,43,.85); }
.btn-navy { background: var(--navy-700); color: #fff; }
.btn-navy:hover { background: var(--navy-600); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy-700); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--navy-700); color: var(--navy-700); background: var(--bg-alt); }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,.35); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy-800); border-color: #fff; }
.btn-lg { padding: 18px 40px; font-size: .85rem; }

.text-link {
    display: inline-flex; align-items: center; gap: .5rem;
    font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--bronze-600); transition: var(--t);
}
.text-link svg { width: 15px; height: 15px; transition: transform var(--t); }
.text-link:hover { color: var(--navy-700); }
.text-link:hover svg { transform: translateX(5px); }

/* =========================================================================
   HEADER / NAV
   ========================================================================= */
.topbar {
    background: var(--navy-900); color: #9fb0c6;
    font-size: .8rem; letter-spacing: .02em;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 42px; }
.topbar a { color: #b9c6d8; transition: var(--t); }
.topbar a:hover { color: #fff; }
.topbar-info { display: flex; gap: 26px; align-items: center; }
.topbar-info span { display: inline-flex; align-items: center; gap: .5rem; }
.topbar-info svg { width: 14px; height: 14px; color: var(--bronze-400); }
.topbar-social { display: flex; gap: 16px; align-items: center; }
.topbar-social svg { width: 15px; height: 15px; }

.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line-soft);
    transition: box-shadow var(--t);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 88px; }

.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 66px; width: auto; }
.brand-text { line-height: 1.05; }
.brand-text .bt-1 { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; color: var(--navy-800); letter-spacing: .01em; }
.brand-text .bt-2 { font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--bronze-600); font-weight: 700; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
    display: flex; align-items: center; gap: .35rem;
    padding: 12px 16px; font-size: .82rem; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase; color: var(--navy-800);
    transition: var(--t); position: relative;
}
.nav-menu > li > a .chev { width: 12px; height: 12px; transition: transform var(--t); }
.nav-menu > li:hover > a { color: var(--bronze-600); }
.nav-menu > li:hover > a .chev { transform: rotate(180deg); }
.nav-menu > li > a.active { color: var(--bronze-600); }
.nav-menu > li > a.active::after {
    content: ""; position: absolute; bottom: 4px; left: 16px; right: 16px;
    height: 2px; background: var(--bronze-500);
}

.nav-cta { display: flex; align-items: center; gap: 14px; }

/* Dropdown */
.dropdown {
    position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(10px);
    background: #fff; min-width: 280px; padding: 12px;
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    border: 1px solid var(--line-soft);
    opacity: 0; visibility: hidden; transition: var(--t); z-index: 120;
}
.dropdown::before {
    content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px;
}
.nav-menu > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown.mega { min-width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.dropdown a {
    display: flex; flex-direction: column; padding: 11px 14px; border-radius: var(--radius);
    transition: var(--t);
}
.dropdown a:hover { background: var(--bg-alt); }
.dropdown a .dd-title { font-weight: 700; font-size: .9rem; color: var(--navy-800); letter-spacing: .01em; text-transform: none; }
.dropdown a:hover .dd-title { color: var(--bronze-600); }
.dropdown a .dd-sub { font-size: .78rem; color: var(--muted); line-height: 1.4; }

/* Mobile toggle */
.nav-toggle { display: none; width: 46px; height: 46px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy-800); transition: var(--t); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
    position: relative; background: var(--navy-800); color: #fff;
    overflow: hidden; padding: clamp(90px, 13vw, 168px) 0 clamp(80px,11vw,140px);
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 78% 20%, rgba(176,123,76,.20), transparent 45%),
        linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--navy-800) 100%);
}
.hero::after {
    content: ""; position: absolute; inset: 0; opacity: .5;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at 50% 40%, #000, transparent 80%);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 820px; }
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--bronze-400); }
.hero p { font-size: 1.22rem; color: #c0cde0; max-width: 640px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-trust {
    margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.12);
    display: flex; gap: 48px; flex-wrap: wrap;
}
.hero-trust .ht { }
.hero-trust .ht-num { font-family: var(--font-display); font-size: 2.3rem; font-weight: 600; color: #fff; line-height: 1; }
.hero-trust .ht-lab { font-size: .8rem; color: #8ea2bd; letter-spacing: .05em; margin-top: 6px; }

/* Page hero (interior) */
.page-hero {
    position: relative; background: var(--navy-800); color: #fff;
    padding: clamp(70px,10vw,120px) 0 clamp(56px,8vw,90px); overflow: hidden;
}
.page-hero::before {
    content:""; position:absolute; inset:0;
    background: radial-gradient(circle at 85% 15%, rgba(176,123,76,.18), transparent 50%),
                linear-gradient(160deg, var(--navy-900), var(--navy-700));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 900px; }
.page-hero p { color: #bfcde0; font-size: 1.15rem; max-width: 640px; margin-top: 18px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #8ea2bd; margin-bottom: 22px; }
.breadcrumb a { color: var(--bronze-400); transition: var(--t); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: #5d76a0; }
.breadcrumb svg { width: 13px; height: 13px; opacity: .6; }

/* =========================================================================
   CARDS / COMPONENTS
   ========================================================================= */
/* Practice card */
.practice-card {
    background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
    padding: 38px 32px; transition: var(--t); position: relative; overflow: hidden; height: 100%;
    display: flex; flex-direction: column;
}
.practice-card::after {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--bronze-500); transform: scaleY(0); transform-origin: top; transition: transform var(--t);
}
.practice-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.practice-card:hover::after { transform: scaleY(1); }
.practice-icon {
    width: 58px; height: 58px; border-radius: 12px;
    background: var(--navy-100); color: var(--navy-700);
    display: flex; align-items: center; justify-content: center; margin-bottom: 22px; transition: var(--t);
}
.practice-icon svg { width: 28px; height: 28px; }
.practice-card:hover .practice-icon { background: var(--navy-700); color: #fff; }
.practice-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.practice-card p { font-size: .98rem; margin-bottom: 22px; flex-grow: 1; }

/* Attorney card */
.attorney-card { background:#fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--t); border: 1px solid var(--line-soft); }
.attorney-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.attorney-photo { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--navy-100); }
.attorney-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .6s var(--ease); }
.attorney-card:hover .attorney-photo img { transform: scale(1.05); }
.attorney-photo::after { content:""; position:absolute; inset:0; background: linear-gradient(to top, rgba(13,31,51,.55), transparent 45%); }
.attorney-info { padding: 24px 26px 28px; text-align: center; }
.attorney-info h3 { font-size: 1.45rem; margin-bottom: 4px; }
.attorney-info .role { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bronze-600); font-weight: 700; margin-bottom: 14px; }
.attorney-tags { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin-bottom: 18px; }
.attorney-tags span { font-size: .72rem; background: var(--bg-alt); color: var(--ink-soft); padding: 4px 11px; border-radius: 20px; border: 1px solid var(--line-soft); }

/* Stats band */
.stats-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; }
.stat { text-align: center; position: relative; }
.stat:not(:last-child)::after { content:""; position:absolute; right:-15px; top:15%; height:70%; width:1px; background: rgba(255,255,255,.14); }
.stat .num { font-family: var(--font-display); font-size: clamp(2.6rem,4.5vw,3.6rem); font-weight: 600; color: #fff; line-height: 1; }
.stat .num .gold { color: var(--bronze-400); }
.stat .lab { font-size: .85rem; letter-spacing: .05em; color: #93a6c1; margin-top: 12px; }

/* Testimonial */
.testi-card { background:#fff; border-radius: var(--radius-lg); padding: 38px 34px; box-shadow: var(--shadow-sm); border:1px solid var(--line-soft); position: relative; height: 100%; display:flex; flex-direction:column; }
.testi-card .quote-mark { font-family: var(--font-display); font-size: 5rem; line-height: .6; color: var(--bronze-300); height: 38px; }
.testi-stars { display:flex; gap:3px; color: var(--bronze-500); margin: 14px 0 16px; }
.testi-stars svg { width:18px; height:18px; }
.testi-card p { font-family: var(--font-display); font-size: 1.18rem; font-style: italic; color: var(--ink); line-height: 1.55; flex-grow:1; }
.testi-foot { display:flex; align-items:center; justify-content: space-between; margin-top: 22px; padding-top: 18px; border-top:1px solid var(--line-soft); }
.testi-foot .who strong { display:block; color: var(--navy-800); font-size: .98rem; }
.testi-foot .who span { font-size:.82rem; color: var(--muted); }
.testi-foot .src { font-size:.75rem; letter-spacing:.08em; text-transform:uppercase; color: var(--bronze-600); font-weight:700; }

/* Location card */
.loc-card { background:#fff; border:1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 30px; transition: var(--t); position: relative; }
.loc-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.loc-card .loc-pin { width:44px;height:44px;border-radius:10px;background:var(--navy-100);color:var(--navy-700);display:flex;align-items:center;justify-content:center;margin-bottom:18px; }
.loc-card .loc-pin svg{width:22px;height:22px;}
.loc-card h4 { color:var(--navy-800); margin-bottom:10px; }
.loc-card address { font-style: normal; color: var(--ink-soft); font-size: .96rem; line-height: 1.6; }
.loc-card .loc-phone { display:inline-flex;align-items:center;gap:.5rem;margin-top:14px;font-weight:700;color:var(--bronze-600);font-size:.92rem; }

/* News card */
.news-card { background:#fff; border:1px solid var(--line-soft); border-radius: var(--radius-lg); overflow:hidden; transition: var(--t); height:100%; display:flex; flex-direction:column; }
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.news-thumb {
    height: 200px;
    background: var(--navy-100);
    overflow: hidden;
    position: relative;
}
.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.news-card:hover .news-thumb img {
    transform: scale(1.05);
}
.news-body { padding: 28px 30px 30px; display:flex; flex-direction:column; flex-grow:1; }
.news-meta { display:flex; gap:14px; align-items:center; font-size:.76rem; letter-spacing:.06em; text-transform:uppercase; margin-bottom:14px; }
.news-meta .cat { color: var(--bronze-600); font-weight:700; }
.news-meta .date { color: var(--muted); }
.news-card h3 { font-size: 1.32rem; margin-bottom: 12px; line-height:1.25; }
.news-card h3 a { transition: var(--t); }
.news-card:hover h3 a { color: var(--bronze-600); }
.news-card p { font-size:.96rem; margin-bottom: 20px; flex-grow:1; }

/* Feature list with check */
.check-list { display:grid; gap: 14px; }
.check-list li { display:flex; gap: 14px; align-items:flex-start; font-size: 1.02rem; color: var(--ink-soft); }
.check-list li svg { width:22px;height:22px;color:var(--bronze-500);flex-shrink:0;margin-top:3px; }

/* Split / image content */
.split { display:grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items:center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width:100%; }
.split-media .badge-float {
    position:absolute; bottom:-26px; left:-26px; background:var(--navy-800); color:#fff;
    padding: 22px 28px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.split-media .badge-float .bf-num { font-family:var(--font-display); font-size:2.4rem; font-weight:600; color: var(--bronze-400); line-height:1; }
.split-media .badge-float .bf-lab { font-size:.8rem; color:#bfcde0; margin-top:4px; }

/* =========================================================================
   CTA band
   ========================================================================= */
.cta-band { position: relative; background: var(--navy-800); color:#fff; overflow:hidden; }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 80% 50%, rgba(176,123,76,.25), transparent 55%); }
.cta-band .container { position: relative; z-index:2; text-align:center; }
.cta-band h2 { color:#fff; max-width: 760px; margin: 0 auto 18px; }
.cta-band p { color:#c0cde0; max-width: 600px; margin: 0 auto 32px; font-size: 1.12rem; }
.cta-actions { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }

/* =========================================================================
   FORMS
   ========================================================================= */
.form-card { background:#fff; border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow-lg); border:1px solid var(--line-soft); }
.field { margin-bottom: 20px; }
.field label { display:block; font-size:.82rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:var(--navy-800); margin-bottom: 8px; }
.field label .req { color: var(--bronze-600); }
.field input, .field select, .field textarea {
    width:100%; padding: 14px 16px; font-family:var(--font-body); font-size:1rem;
    border:1.5px solid var(--line); border-radius: var(--radius); background:#fff; color:var(--ink);
    transition: var(--t);
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline:none; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(22,48,77,.1);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display:grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-consent { display:flex; gap:12px; align-items:flex-start; font-size:.86rem; color:var(--muted); margin-bottom: 24px; }
.form-consent input { margin-top: 4px; width:18px; height:18px; flex-shrink:0; accent-color: var(--navy-700); }
.form-note { font-size:.82rem; color:var(--muted); margin-top:16px; text-align:center; }
.form-success { display:none; background:#eef6ef; border:1px solid #bcdcbf; color:#226a2c; padding:16px 18px; border-radius:var(--radius); margin-bottom:20px; font-size:.95rem; }
.form-error { background:#fbecea; border:1px solid #f2c6c0; color:#b23a2e; padding:16px 18px; border-radius:var(--radius); margin-bottom:20px; font-size:.95rem; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { background: var(--navy-900); color:#9fb0c6; padding: 80px 0 0; font-size:.95rem; }
.footer-top { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-brand img { height:64px; margin-bottom:20px; filter: brightness(0) invert(1); opacity:.95; }
.footer-brand p { color:#8ea2bd; font-size:.96rem; max-width: 320px; }
.footer-brand .f-social { display:flex; gap:14px; margin-top:22px; }
.footer-brand .f-social a { width:38px;height:38px;border:1px solid rgba(255,255,255,.16);border-radius:50%;display:flex;align-items:center;justify-content:center;transition:var(--t); }
.footer-brand .f-social a:hover { background:var(--bronze-500); border-color:var(--bronze-500); color:#fff; transform:translateY(-3px); }
.footer-brand .f-social svg{width:16px;height:16px;}
.footer-col h4 { color:#fff; font-size:1.05rem; margin-bottom:22px; font-family:var(--font-body); font-weight:700; letter-spacing:.04em; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color:#9fb0c6; transition:var(--t); font-size:.95rem; }
.footer-col ul li a:hover { color: var(--bronze-400); padding-left: 4px; }
.footer-contact li { display:flex; gap:12px; margin-bottom:16px; align-items:flex-start; }
.footer-contact svg { width:18px;height:18px;color:var(--bronze-400);flex-shrink:0;margin-top:3px; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); padding: 26px 0; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; font-size:.85rem; color:#7a8ba5; }
.footer-bottom a { color:#7a8ba5; transition:var(--t); }
.footer-bottom a:hover { color: var(--bronze-400); }
.footer-disclaimer { font-size:.8rem; color:#5f718c; }

/* =========================================================================
   PROSE / interior content
   ========================================================================= */
.prose { font-size: 1.08rem; line-height: 1.8; color: var(--ink-soft); }
.prose h2 { margin: 40px 0 18px; }
.prose h3 { margin: 32px 0 14px; }
.prose p { margin-bottom: 1.2rem; }
.prose ul { display:grid; gap:10px; margin: 16px 0 24px; }
.prose ul li { position:relative; padding-left: 28px; }
.prose ul li::before { content:""; position:absolute; left:0; top:11px; width:8px;height:8px;border-radius:2px;background:var(--bronze-500); transform: rotate(45deg); }

/* Prose Figures and Images */
.prose figure {
    margin: 2rem 0;
    max-width: 100%;
}
.prose figure img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: block;
}
.prose figcaption {
    font-size: 0.88rem;
    color: var(--muted);
    text-align: center;
    margin-top: 10px;
    font-style: italic;
    line-height: 1.4;
}

/* Image Alignments */
.prose figure.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.prose figure.alignleft {
    float: left;
    margin: 0.5rem 2rem 1.5rem 0;
    max-width: 48%;
}
.prose figure.alignright {
    float: right;
    margin: 0.5rem 0 1.5rem 2rem;
    max-width: 48%;
}

/* Clear floated layouts */
.prose::after {
    content: "";
    display: table;
    clear: both;
}

/* Blockquotes and separators */
.prose blockquote {
    border-left: 4px solid var(--bronze-500);
    padding-left: 24px;
    margin: 2.5rem 0;
    font-style: italic;
    font-size: 1.18rem;
    line-height: 1.6;
    color: var(--ink);
    font-family: var(--font-display);
}
.prose hr {
    border: none;
    border-top: 1px solid var(--line);
    margin: 3rem 0;
}

/* Responsive styles for floated images */
@media (max-width: 768px) {
    .prose figure.alignleft,
    .prose figure.alignright {
        float: none;
        margin: 1.5rem 0;
        max-width: 100%;
        width: 100% !important;
    }
}

.sidebar-box { background: var(--bg-alt); border:1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 30px; margin-bottom: 24px; }
.sidebar-box h4 { color:var(--navy-800); margin-bottom:18px; }
.sidebar-box.navy { background:var(--navy-800); color:#c0cde0; border:none; }
.sidebar-box.navy h4 { color:#fff; }
.sidebar-list li { border-bottom:1px solid var(--line-soft); }
.sidebar-list li:last-child{border:none;}
.sidebar-list li a { display:flex; justify-content:space-between; align-items:center; padding: 13px 0; color:var(--ink-soft); font-weight:600; font-size:.96rem; transition:var(--t); }
.sidebar-list li a:hover { color:var(--bronze-600); padding-left:6px; }
.sidebar-list li a.active { color:var(--bronze-600); }
.sidebar-list li a svg{width:15px;height:15px;opacity:.5;}

/* =========================================================================
   Logos / media strip
   ========================================================================= */
.media-strip { padding: 36px 0; border-bottom:1px solid var(--line-soft); background:#fff; }
.media-strip .ms-inner { display:flex; align-items:center; justify-content:center; gap: 52px; flex-wrap:wrap; }
.media-strip .ms-label { font-size:.76rem; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); font-weight:700; }
.media-strip .ms-item { font-family:var(--font-display); font-size:1.35rem; font-weight:600; color:var(--navy-700); opacity:.55; transition:var(--t); letter-spacing:.02em; }
.media-strip .ms-item:hover { opacity:1; }

/* =========================================================================
   Media: video posters, podcasts, gallery, presentations
   ========================================================================= */
.video-poster {
    position: relative; aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
    display: flex; align-items: center; justify-content: center;
}
.video-poster .play {
    width: 64px; height: 64px; border-radius: 50%; background: var(--bronze-500); color:#fff;
    display: flex; align-items: center; justify-content: center; transition: var(--t);
}
.video-poster .play svg { width: 26px; height: 26px; }
.news-card:hover .video-poster .play { transform: scale(1.1); background: var(--bronze-600); }
.video-poster .vp-tag { position:absolute; top:14px; left:14px; font-size:.7rem; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.7); font-weight:700; }

.rows-list { display: grid; gap: 18px; }
.pod-row {
    display: flex; align-items: center; gap: 22px; background:#fff; border:1px solid var(--line-soft);
    border-radius: var(--radius-lg); padding: 24px 28px; transition: var(--t);
}
.pod-row:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pod-play {
    width: 56px; height: 56px; border-radius: 50%; background: var(--navy-100); color: var(--navy-700);
    display:flex; align-items:center; justify-content:center; flex-shrink:0; transition: var(--t);
}
.pod-play svg { width: 22px; height: 22px; }
.pod-row:hover .pod-play { background: var(--bronze-500); color:#fff; }
.pod-main { flex: 1; min-width: 0; }
.pod-main h3 { font-size: 1.3rem; margin-bottom: 6px; }
.pod-main p { font-size: .96rem; margin: 0; }
.pod-listen { flex-shrink: 0; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery-item { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border:1px solid var(--line-soft); background:#fff; transition: var(--t); }
.gallery-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.gallery-item img, .gallery-ph { width: 100%; aspect-ratio: 4/3; object-fit: cover; display:block; }
.gallery-ph { display:flex; align-items:center; justify-content:center; color: rgba(255,255,255,.85); }
.gallery-ph svg { width: 52px; height: 52px; }
.gph-0 { background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); }
.gph-1 { background: linear-gradient(135deg, var(--bronze-600), var(--bronze-400)); }
.gph-2 { background: linear-gradient(135deg, var(--navy-600), var(--bronze-600)); }
.gph-3 { background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); }
.gallery-item figcaption { padding: 18px 22px; }
.gallery-item figcaption strong { display:block; color: var(--navy-800); font-size: 1.05rem; }
.gallery-item figcaption span { font-size: .88rem; color: var(--muted); }

/* Presentation cards (3-col grid, built on .news-card) */
.pres-card { color: inherit; }
.pres-card.has-pdf { cursor: pointer; }
.pres-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--navy-100); }
.pdf-flag { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 5px; background: rgba(13,31,51,.85); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 20px; }
.pdf-flag svg { width: 13px; height: 13px; }
.pres-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.news-card:hover .pres-thumb img { transform: scale(1.05); }
.pres-thumb-ph { display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.9); }
.pres-thumb-ph svg { width: 48px; height: 48px; }
.pres-meta { font-size: .9rem; color: var(--bronze-600); }

@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .pod-row { flex-wrap: wrap; }
    .pod-listen { display:none; }
    .pres-row { grid-template-columns: 1fr; gap: 10px; }
    .pres-date { padding-bottom: 6px; border-bottom: 1px solid var(--line-soft); }
}
@media (max-width: 520px) { .gallery-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   Animations
   ========================================================================= */
.reveal { opacity:0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity:1; transform:none; }
.reveal[data-delay="1"]{transition-delay:.08s;}
.reveal[data-delay="2"]{transition-delay:.16s;}
.reveal[data-delay="3"]{transition-delay:.24s;}
.reveal[data-delay="4"]{transition-delay:.32s;}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity:1; transform:none; }
}

/* =========================================================================
   Responsive
   ========================================================================= */
.mobile-only { display:none; }
.mobile-nav, .mobile-overlay { display: none; }

@media (max-width: 1024px) {
    .cols-4 { grid-template-columns: repeat(2,1fr); }
    .stats-band { grid-template-columns: repeat(2,1fr); gap: 40px 20px; }
    .stat:nth-child(2)::after{display:none;}
    .split { gap: 44px; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 900px) {
    .topbar { display:none; }
    .nav-menu { display:none; }
    .nav-toggle { display:flex; }
    .nav-cta .btn { display:none; }
    .nav { height: 72px; }
    .brand img { height: 48px; }

    /* mobile drawer */
    .mobile-nav {
        display: block;
        position: fixed; top:0; right:0; bottom:0; width: min(86vw, 380px);
        background:#fff; z-index: 200; transform: translateX(100%); transition: transform .4s var(--ease);
        box-shadow: var(--shadow-lg); overflow-y:auto; padding: 26px 24px 40px;
    }
    .mobile-nav.open { transform: translateX(0); }
    .mobile-overlay { display:block; position:fixed; inset:0; background:rgba(13,31,51,.5); z-index:150; opacity:0; visibility:hidden; transition:var(--t); }
    .mobile-overlay.open { opacity:1; visibility:visible; }
}

@media (max-width: 768px) {
    body { font-size: 16px; }
    .section { padding: 64px 0; }
    .cols-2, .cols-3 { grid-template-columns: 1fr; }
    /* !important so inline grid-template-columns on .split (practice-area, contact) collapses */
    .split { grid-template-columns: 1fr !important; gap: 40px !important; }
    .split.reverse .split-media { order: 0; }
    .split[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
    .split-media .badge-float { left: 16px; bottom: -22px; padding:18px 22px; }
    .hero-trust { gap: 28px; }
    .hero-trust .ht-num { font-size: 1.9rem; }
    .field-row { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom { flex-direction:column; text-align:center; }
    .form-card { padding: 28px 22px; }
    .section-head { margin-bottom: 40px; }
}

@media (max-width: 520px) {
    .cols-4, .stats-band { grid-template-columns: 1fr; }
    .stat::after{display:none !important;}
    .hero-actions .btn, .cta-actions .btn { width:100%; }
}

/* Floating call button */
.float-call {
    position: fixed; bottom: 24px; right: 24px; z-index: 90;
    width: 56px; height: 56px; border-radius: 50%; background: var(--bronze-500); color:#fff;
    display:none; align-items:center; justify-content:center; box-shadow: 0 12px 28px -8px rgba(138,90,43,.8);
    transition: var(--t);
}
.float-call svg { width: 22px; height: 22px; }
.float-call:hover { background: var(--bronze-600); transform: scale(1.06); }
@media (max-width: 900px) { .float-call { display:flex; } }

@media (max-width: 1180px) and (min-width: 901px) { .mobile-hide { display:none; } }

/* Mobile nav internal */
.mobile-nav .mn-brand { display:flex; justify-content:space-between; align-items:center; margin-bottom: 28px; }
.mobile-nav .mn-brand img { height:46px; }
.mobile-nav .mn-close { font-size: 2rem; color: var(--navy-800); line-height:1; }
.mobile-nav .mn-list > li { border-bottom:1px solid var(--line-soft); }
.mobile-nav .mn-list > li > a, .mobile-nav .mn-list > li > .mn-parent {
    display:flex; justify-content:space-between; align-items:center; padding: 15px 0;
    font-weight:700; font-size:.95rem; letter-spacing:.04em; text-transform:uppercase; color:var(--navy-800);
}
.mobile-nav .mn-parent svg { width:16px;height:16px; transition: var(--t); }
.mobile-nav .mn-parent.open svg { transform: rotate(180deg); }
.mobile-nav .mn-sub { max-height:0; overflow:hidden; transition: max-height .35s var(--ease); }
.mobile-nav .mn-sub.open { max-height: 600px; }
.mobile-nav .mn-sub a { display:block; padding: 11px 0 11px 14px; font-size:.92rem; color:var(--ink-soft); border-left:2px solid var(--line-soft); margin-left:2px; }
.mobile-nav .mn-sub a:hover { color: var(--bronze-600); }
.mobile-nav .mn-cta { margin-top: 26px; display:grid; gap:12px; }
.mobile-nav .mn-cta .btn { width:100%; }
