:root {
    --ink: #111827;
    --muted: #5f6b7a;
    --line: #d9dee8;
    --paper: #f7f5ef;
    --panel: #ffffff;
    --navy: #13213b;
    --gold: #bf8b45;
    --teal: #1f6f78;
    --brick: #8b3a3a;
    --shadow: 0 24px 70px rgba(17, 24, 39, 0.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; font-family: "Inter", Arial, sans-serif; color: var(--ink); background: var(--paper); letter-spacing: 0; overflow-x: hidden; min-width: 320px; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.topbar { background: var(--navy); color: #f7f5ef; font-size: 13px; }
.topbar-inner { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 245, 239, 0.94); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(20, 33, 61, 0.1); }
.navbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1 1 auto; }
.brand-mark { position: relative; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 25%, #f8d69a, var(--gold) 42%, #8d632e 100%); color: var(--navy); font-family: "Playfair Display", serif; font-weight: 700; font-size: 20px; box-shadow: 0 12px 28px rgba(19, 33, 59, 0.22); overflow: hidden; }
.brand-mark::before { content: ""; position: absolute; inset: 5px; border: 2px solid rgba(19,33,59,0.72); border-radius: 50%; }
.brand-mark::after { content: ""; position: absolute; width: 12px; height: 120%; background: rgba(255,255,255,0.38); transform: rotate(26deg) translateX(-46px); animation: logoShine 4.2s ease-in-out infinite; }
.brand-mark span { position: relative; z-index: 1; }
.brand-mark.has-logo { padding: 4px; background: #fff; border: 2px solid rgba(191,139,69,0.72); }
.brand-mark.has-logo::before { inset: 3px; border-color: rgba(19,33,59,0.18); }
.brand-logo-img { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 50%; object-fit: contain; padding: 3px; background: #fff; }
.brand-text b { display: block; color: var(--navy); font-size: 18px; }
.brand-text span { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.nav-links, .footer-list { list-style: none; padding: 0; margin: 0; }
.nav-links { display: flex; align-items: center; gap: 22px; color: #26334d; font-weight: 800; font-size: 14px; }
.nav-links a, .nav-dropdown-toggle { position: relative; padding: 8px 0; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 800; cursor: pointer; letter-spacing: 0; }
.nav-links a::after, .nav-dropdown-toggle::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--gold); transition: width 0.25s ease; }
.nav-links a:hover::after, .nav-dropdown-toggle:hover::after, .has-dropdown:hover .nav-dropdown-toggle::after { width: 100%; }
.has-dropdown { position: relative; }
.dropdown-menu { position: absolute; top: calc(100% + 14px); left: 50%; z-index: 60; width: min(340px, 86vw); list-style: none; padding: 10px; margin: 0; border: 1px solid rgba(19,33,59,0.12); border-radius: 8px; background: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translate(-50%, 12px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease; }
.dropdown-menu::before { content: ""; position: absolute; top: -8px; left: calc(50% - 8px); width: 16px; height: 16px; background: #fff; border-left: 1px solid rgba(19,33,59,0.12); border-top: 1px solid rgba(19,33,59,0.12); transform: rotate(45deg); }
.has-dropdown:hover .dropdown-menu, .has-dropdown:focus-within .dropdown-menu, .has-dropdown.is-open .dropdown-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown-menu a { display: block; padding: 11px 12px; border-radius: 8px; color: var(--navy); line-height: 1.35; }
.dropdown-menu a:hover { background: rgba(191,139,69,0.12); }
.dropdown-menu a::after { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--navy); cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 8px; border: 1px solid transparent; font-weight: 800; font-size: 14px; cursor: pointer; overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent, rgba(255,255,255,0.32), transparent); transform: translateX(-115%); transition: transform 0.65s ease; }
.btn-cta:hover::before { transform: translateX(115%); }
.btn-icon { position: relative; z-index: 1; width: 24px; height: 24px; display: inline-grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,0.26); font-size: 13px; animation: iconPulse 2.4s ease-in-out infinite; }
.btn-cta { box-shadow: 0 14px 34px rgba(19,33,59,0.16); }
.btn-cta > * { position: relative; z-index: 1; }
.btn-primary { background: var(--gold); color: #141414; box-shadow: 0 12px 28px rgba(184, 138, 68, 0.28); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-outline { border-color: rgba(247, 245, 239, 0.45); color: #fff; }
.btn-outline-light { border-color: rgba(19,33,59,0.18); color: var(--navy); background: #fff; }
.hero { position: relative; overflow: hidden; background: linear-gradient(115deg, rgba(20, 33, 61, 0.96), rgba(31, 111, 120, 0.88)), url("https://images.unsplash.com/photo-1589216532372-1c2a367900d9?auto=format&fit=crop&w=1800&q=80") center/cover; color: #fff; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 110px; background: linear-gradient(0deg, var(--paper), transparent); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; min-height: calc(100vh - 118px); display: grid; grid-template-columns: minmax(0, 1.05fr) 420px; gap: 46px; align-items: center; padding: 76px 0 96px; }
.hero-panel { border: 1px solid rgba(255,255,255,0.36); }
.hero-panel-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.hero-panel-top strong, .hero-panel-top small { display: block; }
.hero-panel-top small { margin-top: 3px; color: var(--muted); }
.mini-logo { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 25%, #f8d69a, var(--gold) 42%, #8d632e 100%); color: var(--navy); font-family: "Playfair Display", serif; font-weight: 800; box-shadow: 0 10px 24px rgba(19,33,59,0.16); }
.mini-logo.has-logo { padding: 4px; background: #fff; border: 1px solid rgba(191,139,69,0.72); overflow: hidden; }
.mini-logo.has-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #f1c27d; font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: 0.08em; }
.eyebrow::before { content: ""; width: 38px; height: 2px; background: currentColor; }
h1, h2, h3 { margin: 0; }
h1, h2 { font-family: "Playfair Display", Georgia, serif; line-height: 1.04; }
h1 { max-width: 820px; margin-top: 18px; font-size: clamp(42px, 7vw, 84px); }
.hero-copy { max-width: 660px; margin: 22px 0 0; color: rgba(255, 255, 255, 0.82); font-size: 18px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 42px; max-width: 620px; }
.stat { border-left: 2px solid rgba(241, 194, 125, 0.8); padding: 8px 0 8px 16px; }
.stat b { display: block; color: #fff; font-size: 24px; }
.stat span { display: block; margin-top: 3px; color: rgba(255, 255, 255, 0.72); font-size: 13px; }
.service-strip { position: relative; z-index: 5; margin-top: -36px; }
.service-strip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.service-strip a { min-height: 96px; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 18px; border-radius: 8px; background: #fff; border: 1px solid rgba(19,33,59,0.1); box-shadow: 0 18px 46px rgba(17,24,39,0.12); transition: transform 0.22s ease, box-shadow 0.22s ease; }
.service-strip a:hover { transform: translateY(-5px); box-shadow: 0 22px 58px rgba(17,24,39,0.18); }
.service-strip span { color: var(--navy); font-weight: 800; line-height: 1.3; }
.service-strip b { color: var(--gold); font-size: 12px; text-transform: uppercase; }
.callback-card, .content-card { background: rgba(255, 255, 255, 0.96); color: var(--ink); border-radius: 8px; padding: 28px; box-shadow: var(--shadow); }
.callback-card h2 { color: var(--navy); font-size: 28px; }
.callback-card p, .content-card p { color: var(--muted); line-height: 1.7; }
.form-grid { display: grid; gap: 12px; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-height: 48px; border: 1px solid #d8dde7; border-radius: 8px; padding: 12px 14px; font: inherit; color: var(--ink); background: #fff; outline: none; }
.form-grid textarea { min-height: 112px; resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(31, 111, 120, 0.12); }
.section { padding: 96px 0; }
.section-title { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr); gap: 32px; align-items: end; margin-bottom: 42px; }
.section-title h2 { color: var(--navy); font-size: clamp(34px, 5vw, 56px); }
.section-title p { color: var(--muted); line-height: 1.8; margin: 0; }
.about-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 52px; align-items: center; }
.image-panel { position: relative; min-height: 520px; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.image-panel img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.image-badge { position: absolute; left: 22px; bottom: 22px; max-width: 280px; padding: 16px; border-radius: 8px; background: #fff; box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16); }
.image-badge b { display: block; color: var(--navy); font-size: 18px; }
.image-badge span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.about-content p { color: var(--muted); font-size: 17px; line-height: 1.9; }
.team-section { position: relative; overflow: hidden; background: linear-gradient(180deg, #f7f5ef 0%, #fff 100%); }
.team-section::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(191,139,69,0.08), transparent 35%, rgba(31,111,120,0.08)); pointer-events: none; }
.team-section .container { position: relative; z-index: 1; }
.team-stage { position: relative; padding: 32px 26px 28px; border: 1px solid rgba(19,33,59,0.12); border-radius: 8px; background: rgba(255,255,255,0.82); box-shadow: 0 20px 58px rgba(17,24,39,0.1); overflow: hidden; }
.team-line { position: absolute; left: 60px; right: 60px; top: 128px; height: 2px; background: linear-gradient(90deg, transparent, rgba(191,139,69,0.72), rgba(31,111,120,0.62), transparent); }
.team-grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.team-card { position: relative; display: grid; justify-items: center; gap: 14px; min-height: 260px; padding: 20px 16px 18px; border-radius: 8px; color: var(--ink); background: linear-gradient(180deg, #fff, #fbfaf6); border: 1px solid rgba(19,33,59,0.1); box-shadow: 0 16px 36px rgba(17,24,39,0.08); transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.team-card:hover { transform: translateY(-8px); border-color: rgba(191,139,69,0.48); box-shadow: 0 24px 56px rgba(17,24,39,0.14); }
.team-node { width: 13px; height: 13px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 7px rgba(191,139,69,0.14); }
.team-photo-wrap { width: 148px; height: 148px; display: grid; place-items: center; border-radius: 50%; padding: 7px; background: conic-gradient(from 180deg, var(--gold), var(--teal), var(--brick), var(--gold)); box-shadow: 0 18px 36px rgba(19,33,59,0.16); }
.team-photo-wrap img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid #fff; background: var(--navy); }
.team-info { display: grid; justify-items: center; gap: 7px; text-align: center; }
.team-info strong { color: var(--navy); font-size: 18px; line-height: 1.25; }
.team-info em { color: var(--gold); font-style: normal; font-weight: 800; font-size: 12px; text-transform: uppercase; line-height: 1.35; }
.team-info small { color: var(--muted); line-height: 1.45; }
.team-action { display: flex; justify-content: center; margin-top: 28px; }
.practice { background: #fff; }
.practice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.practice-card { position: relative; min-height: 230px; padding: 26px; border-radius: 8px; border: 1px solid var(--line); background: linear-gradient(180deg, #ffffff, #fbfaf6); overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.practice-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--teal), var(--brick)); transform: scaleX(0.25); transform-origin: left; transition: transform 0.25s ease; }
.practice-card:hover { transform: translateY(-7px); border-color: rgba(184, 138, 68, 0.48); box-shadow: 0 18px 45px rgba(20, 33, 61, 0.12); }
.practice-card:hover::before { transform: scaleX(1); }
.practice-card h3 { color: var(--navy); font-size: 20px; line-height: 1.25; }
.practice-card p { margin: 14px 0 20px; color: var(--muted); line-height: 1.7; }
.practice-showcase { background: #fff; }
.service-group { margin-top: 34px; }
.service-group:first-of-type { margin-top: 0; }
.service-group-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.service-group-head h3 { color: var(--navy); font-size: 24px; }
.service-group-head span { display: inline-flex; padding: 7px 10px; border-radius: 999px; background: rgba(191,139,69,0.14); color: #7c5624; font-weight: 800; font-size: 12px; }
.service-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.service-card-grid.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card { position: relative; min-height: 340px; border-radius: 8px; overflow: hidden; color: #fff; box-shadow: 0 18px 48px rgba(17,24,39,0.16); isolation: isolate; }
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; z-index: -2; }
.service-card-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,33,59,0.1), rgba(19,33,59,0.9)); z-index: -1; }
.service-card-content { min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 22px; }
.service-card small { color: #f1c27d; font-weight: 800; text-transform: uppercase; font-size: 11px; }
.service-card strong { font-size: 22px; line-height: 1.15; }
.service-card em { color: rgba(255,255,255,0.78); font-style: normal; line-height: 1.55; font-size: 14px; }
.service-card b { width: max-content; margin-top: 4px; padding: 8px 10px; border-radius: 8px; background: rgba(255,255,255,0.16); color: #fff; font-size: 12px; text-transform: uppercase; }
.service-card:hover img { transform: scale(1.08); }
.service-card:hover b { background: var(--gold); color: #171717; }
.why { background: linear-gradient(115deg, rgba(20, 33, 61, 0.96), rgba(139, 58, 58, 0.72)), url("https://images.unsplash.com/photo-1569511166187-97eb6e387e19?auto=format&fit=crop&w=1800&q=80") center/cover fixed; color: #fff; }
.why .section-title h2, .why .section-title p { color: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.why-card { min-height: 230px; padding: 24px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 8px; background: rgba(255, 255, 255, 0.09); backdrop-filter: blur(10px); }
.why-card .number { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 8px; background: rgba(241, 194, 125, 0.18); color: #f1c27d; font-weight: 800; }
.why-card h3 { margin-top: 18px; font-size: 20px; }
.why-card p { margin: 12px 0 0; color: rgba(255, 255, 255, 0.78); line-height: 1.7; }
.cta { padding: 72px 0; background: var(--gold); color: #171717; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta h2 { font-family: "Playfair Display", Georgia, serif; font-size: clamp(32px, 4vw, 50px); max-width: 720px; }
.cta p { margin: 12px 0 0; color: rgba(23, 23, 23, 0.72); line-height: 1.7; }
.page-hero { padding: 84px 0; background: linear-gradient(115deg, rgba(20, 33, 61, 0.96), rgba(31, 111, 120, 0.86)), url("https://images.unsplash.com/photo-1505664194779-8beaceb93744?auto=format&fit=crop&w=1800&q=80") center/cover; color: #fff; }
.practice-hero { min-height: 560px; display: flex; align-items: center; background-position: center; background-size: cover; }
.practice-content-card { min-width: 0; }
.page-hero h1 { max-width: 900px; }
.page-hero p { max-width: 760px; color: rgba(255, 255, 255, 0.82); line-height: 1.8; font-size: 18px; }
.about-hero { background: linear-gradient(115deg, rgba(20,33,61,0.97), rgba(139,58,58,0.74)), url("https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=1800&q=80") center/cover; }
.about-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 42px; align-items: center; }
.about-signature-card { padding: 28px; border: 1px solid rgba(255,255,255,0.26); border-radius: 8px; background: rgba(255,255,255,0.11); backdrop-filter: blur(14px); box-shadow: 0 24px 58px rgba(0,0,0,0.22); }
.about-signature-card h2 { margin-top: 16px; font-size: 30px; }
.about-signature-card p { margin: 8px 0 0; color: rgba(255,255,255,0.78); }
.signature-list { display: grid; gap: 12px; margin-top: 24px; }
.signature-list span { display: grid; gap: 4px; padding: 12px; border-radius: 8px; background: rgba(255,255,255,0.12); color: #fff; line-height: 1.4; }
.signature-list b { color: #f1c27d; font-size: 12px; text-transform: uppercase; }
.about-story-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 52px; align-items: center; }
.single-title { display: block; margin: 18px 0 22px; }
.about-values { background: #fff; }
.about-value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.about-value-card { min-height: 250px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(180deg, #fff, #fbfaf6); box-shadow: 0 16px 42px rgba(17,24,39,0.07); transition: transform 0.25s ease, border-color 0.25s ease; }
.about-value-card:hover { transform: translateY(-6px); border-color: rgba(191,139,69,0.48); }
.about-value-card span { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; background: rgba(191,139,69,0.14); color: #7c5624; font-weight: 900; }
.about-value-card h3 { margin-top: 18px; color: var(--navy); font-size: 20px; line-height: 1.25; }
.about-value-card p { margin: 12px 0 0; color: var(--muted); line-height: 1.7; }
.about-practice-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.about-practice-item { display: grid; gap: 8px; padding: 18px; border-radius: 8px; border: 1px solid var(--line); background: #fff; box-shadow: 0 14px 34px rgba(17,24,39,0.06); transition: transform 0.22s ease, border-color 0.22s ease; }
.about-practice-item:hover { transform: translateY(-4px); border-color: rgba(31,111,120,0.42); }
.about-practice-item strong { color: var(--navy); font-size: 18px; }
.about-practice-item span { color: var(--muted); line-height: 1.65; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.article-body { color: var(--muted); font-size: 17px; line-height: 1.9; white-space: normal; overflow-wrap: anywhere; }
.sidebar { position: sticky; top: 110px; display: grid; gap: 18px; }
.alert { padding: 14px 16px; border-radius: 8px; background: rgba(31, 111, 120, 0.12); color: var(--teal); font-weight: 700; }
.site-footer { background: #101725; color: rgba(255,255,255,0.76); padding: 72px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 0.85fr 1fr; gap: 42px; }
.footer-brand { color: #fff; font-family: "Playfair Display", Georgia, serif; font-size: 24px; font-weight: 700; }
.site-footer h3 { color: #fff; margin-bottom: 16px; font-size: 16px; }
.footer-list li { margin-bottom: 10px; line-height: 1.6; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 13px; }
.mobile-cta { display: none; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 70; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 8px; border: 1px solid rgba(19,33,59,0.12); border-radius: 8px; background: rgba(255,255,255,0.96); box-shadow: 0 -12px 28px rgba(17,24,39,0.14); backdrop-filter: blur(14px); }
.mobile-cta a { min-height: 54px; display: grid; place-items: center; gap: 3px; color: var(--navy); font-weight: 800; font-size: 12px; border-radius: 8px; background: #f7f5ef; }
.mobile-cta span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-size: 12px; animation: iconPulse 2.4s ease-in-out infinite; }
.mobile-wa { color: #0f7a3b !important; }
.mobile-wa span { background: #0f7a3b; }
.mobile-mail span { background: var(--brick); }
.mobile-contact span { background: var(--gold); color: #171717; }
.profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.profile-card { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 22px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 16px 42px rgba(17,24,39,0.08); }
.profile-photo { aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--navy); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.profile-meta span { display: inline-flex; padding: 6px 9px; border-radius: 999px; background: rgba(31,111,120,0.12); color: var(--teal); font-weight: 800; font-size: 12px; }
.profile-list { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 9px; color: var(--muted); line-height: 1.55; }
.profile-card h2 { color: var(--navy); font-size: 28px; }
.profile-card h3 { color: var(--gold); font-size: 14px; text-transform: uppercase; margin-top: 4px; }
.profile-detail-hero { background: linear-gradient(115deg, rgba(20,33,61,0.96), rgba(31,111,120,0.78)), url("https://images.unsplash.com/photo-1505664194779-8beaceb93744?auto=format&fit=crop&w=1800&q=80") center/cover; }
.profile-detail-top { display: grid; grid-template-columns: minmax(0, 1fr) 240px; align-items: center; gap: 34px; }
.profile-hero-photo { width: 220px; height: 220px; justify-self: end; border-radius: 50%; padding: 8px; background: conic-gradient(from 180deg, var(--gold), #fff, var(--teal), var(--gold)); box-shadow: 0 24px 58px rgba(0,0,0,0.28); }
.profile-hero-photo img, .profile-contact-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 5px solid #fff; }
.profile-detail-card { padding: 34px; }
.profile-detail-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.profile-detail-heading h2 { color: var(--navy); font-size: clamp(30px, 4vw, 46px); margin-top: 10px; }
.profile-pill { display: inline-flex; padding: 9px 12px; border-radius: 999px; background: rgba(31,111,120,0.12); color: var(--teal); font-weight: 800; font-size: 12px; line-height: 1.35; }
.profile-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.profile-detail-grid section { padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fbfaf6; }
.profile-detail-grid h3 { color: var(--navy); font-size: 18px; margin-bottom: 10px; }
.profile-detail-grid p { margin: 0; color: var(--muted); line-height: 1.7; }
.profile-contact-card { text-align: center; }
.profile-contact-photo { width: 150px; height: 150px; margin: 0 auto 16px; border-radius: 50%; padding: 6px; background: conic-gradient(from 180deg, var(--gold), var(--teal), var(--brick), var(--gold)); }
.profile-contact-card h2 { color: var(--navy); font-size: 26px; }
.profile-contact-list { display: grid; gap: 8px; margin-top: 16px; text-align: left; }
.profile-contact-list a { padding: 11px 12px; border-radius: 8px; background: #f7f5ef; color: var(--navy); font-weight: 800; overflow-wrap: anywhere; }
.blog-hero { background: linear-gradient(115deg, rgba(20,33,61,0.96), rgba(139,58,58,0.72)), url("https://images.unsplash.com/photo-1455390582262-044cdead277a?auto=format&fit=crop&w=1800&q=80") center/cover; }
.blog-feed { display: grid; gap: 22px; }
.blog-feed-card { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 24px; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 16px 42px rgba(17,24,39,0.08); }
.blog-feed-image { min-height: 220px; border-radius: 8px; overflow: hidden; background: var(--navy); }
.blog-feed-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.blog-feed-card:hover .blog-feed-image img { transform: scale(1.06); }
.blog-feed-body { display: grid; align-content: center; gap: 12px; }
.blog-meta { color: var(--gold); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.blog-feed-card h2 { color: var(--navy); font-size: clamp(24px, 3vw, 36px); }
.blog-feed-card p, .blog-preview-card p { color: var(--muted); line-height: 1.75; }
.blog-cover { width: 100%; max-height: 480px; object-fit: cover; border-radius: 8px; margin-bottom: 26px; }
.practice-content-image { display: block; width: 100%; margin: 0 0 26px; }
.practice-content-image .blog-cover { display: block; width: 100%; }
.blog-article { padding: 34px; }
.rich-content { white-space: normal; color: var(--ink); overflow-wrap: anywhere; }
.rich-content h1, .rich-content h2, .rich-content h3 { color: var(--navy); margin: 26px 0 12px; line-height: 1.18; }
.rich-content h1 { font-size: 38px; }
.rich-content h2 { font-size: 30px; }
.rich-content h3 { font-size: 24px; }
.rich-content p, .rich-content div, .rich-content li, .rich-content span { color: inherit; max-width: 100%; }
.rich-content p { margin: 0 0 16px; }
.rich-content a { color: var(--teal); font-weight: 800; text-decoration: underline; }
.rich-content ul, .rich-content ol { color: var(--muted); line-height: 1.8; }

/* Light-hearted legal-themed 404 scene. */
.error-page { min-height: calc(100vh - 170px); background: #f7f4ee; overflow: hidden; }
.error-stage { width: min(1180px, calc(100% - 40px)); min-height: 680px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 64px; padding: 70px 0; }
.error-scene { position: relative; min-height: 430px; border-radius: 18px; overflow: hidden; background: linear-gradient(145deg, #13213b, #1f6f78); box-shadow: 0 24px 70px rgba(19,33,59,.22); isolation: isolate; }
.error-scene::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(19,33,59,.75), rgba(198,143,61,.12)); z-index: -1; }
.error-window { position: absolute; width: 190px; height: 140px; top: 45px; left: 50%; transform: translateX(-50%); border: 10px solid rgba(247,244,238,.28); background: rgba(247,244,238,.12); }
.error-window::before, .error-window::after { content: ""; position: absolute; background: rgba(247,244,238,.28); }
.error-window::before { width: 10px; height: 100%; left: 50%; transform: translateX(-50%); }
.error-window::after { width: 100%; height: 10px; top: 50%; transform: translateY(-50%); }
.error-shelf { position: absolute; height: 12px; width: 76%; left: 12%; background: #c68f3d; border-radius: 8px; box-shadow: 0 12px 0 rgba(0,0,0,.12); }
.shelf-one { bottom: 130px; }.shelf-two { bottom: 70px; width: 62%; left: 19%; }
.error-file { position: absolute; left: 50%; bottom: 145px; width: 155px; height: 190px; padding: 38px 16px 14px; transform: translateX(-50%) rotate(-7deg); background: #fffaf0; color: #13213b; border-radius: 6px; box-shadow: 0 16px 25px rgba(0,0,0,.25); animation: fileWobble 2.8s ease-in-out infinite; }
.error-file .file-fold { position: absolute; top: 0; right: 0; border-style: solid; border-width: 0 42px 42px 0; border-color: transparent #e8d4ac transparent transparent; }
.error-file b { display: block; font: 800 40px/1 Arial,sans-serif; color: #c68f3d; text-align: center; }
.error-file small { display: block; margin: 8px 0 18px; text-align: center; font: 800 11px/1 Arial,sans-serif; letter-spacing: 2px; }
.error-file i { display: block; height: 5px; margin: 9px 8px; background: #d9d1c1; border-radius: 3px; }
.error-gavel { position: absolute; right: 18%; bottom: 165px; width: 95px; height: 85px; transform: rotate(32deg); animation: gavelDrop 2.8s ease-in-out infinite; }
.error-gavel span { position: absolute; width: 72px; height: 25px; top: 0; left: 0; border-radius: 6px; background: #c68f3d; box-shadow: inset 0 -5px rgba(19,33,59,.18); }
.error-gavel b { position: absolute; width: 14px; height: 85px; left: 57px; top: 18px; border-radius: 8px; background: #f1c778; }
.error-stamp { position: absolute; top: 235px; right: 13%; padding: 10px 12px; border: 3px solid #efb35c; color: #efb35c; font: 900 15px/1 Arial,sans-serif; transform: rotate(12deg); animation: stampPop 2.8s ease-in-out infinite; }
.error-dot { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #efb35c; animation: dotFloat 3s ease-in-out infinite; }.dot-one { top: 100px; left: 16%; }.dot-two { top: 170px; right: 18%; animation-delay: .7s; }.dot-three { bottom: 205px; left: 24%; animation-delay: 1.2s; }
.error-copy .eyebrow { color: #c68f3d; }.error-copy h1 { max-width: 560px; margin: 16px 0; color: #13213b; font: 700 clamp(42px, 5vw, 76px)/.98 Georgia,serif; letter-spacing: 0; }.error-lead { max-width: 520px; margin: 0 0 16px; color: #31405a; font-size: 20px; line-height: 1.6; }.error-joke { max-width: 500px; color: #6c7482; line-height: 1.7; }.error-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@keyframes fileWobble { 0%,100% { transform: translateX(-50%) rotate(-7deg); } 50% { transform: translateX(-50%) translateY(-12px) rotate(5deg); } }
@keyframes gavelDrop { 0%,100% { transform: rotate(32deg) translateY(0); } 48% { transform: rotate(20deg) translateY(-12px); } 60% { transform: rotate(37deg) translateY(8px); } }
@keyframes stampPop { 0%,45%,100% { opacity: .45; transform: rotate(12deg) scale(.9); } 55%,75% { opacity: 1; transform: rotate(12deg) scale(1.05); } }
@keyframes dotFloat { 0%,100% { transform: translateY(0); opacity: .45; } 50% { transform: translateY(-18px); opacity: 1; } }
@media (max-width: 800px) { .error-stage { grid-template-columns: 1fr; gap: 20px; padding: 42px 0 60px; } .error-scene { min-height: 330px; order: 2; } .error-copy { order: 1; }.error-copy h1 { font-size: clamp(42px, 13vw, 62px); }.error-lead { font-size: 17px; }.error-file { bottom: 94px; transform: translateX(-50%) rotate(-7deg) scale(.82); }.error-gavel { bottom: 110px; right: 10%; transform: rotate(32deg) scale(.78); }.error-stamp { top: 180px; right: 7%; }.error-window { top: 25px; transform: translateX(-50%) scale(.75); }.error-shelf { bottom: 88px; }.shelf-two { bottom: 42px; } }
.blog-preview { background: #fff; }
.blog-preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.blog-preview-card { border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; box-shadow: 0 16px 42px rgba(17,24,39,0.08); }
.blog-preview-card img { width: 100%; height: 210px; object-fit: cover; }
.blog-preview-card div { padding: 22px; }
.blog-preview-card h3 { margin: 9px 0 10px; color: var(--navy); font-size: 22px; line-height: 1.25; }
.reveal { opacity: 1; transform: none; }
.animate-ready .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.animate-ready .reveal.in-view { opacity: 1; transform: translateY(0); }
.disclaimer { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(7, 12, 22, 0.74); }
.disclaimer.is-active { display: flex; }
.disclaimer-box { width: min(760px, 100%); max-height: min(82vh, 760px); overflow: auto; border-radius: 8px; background: #fff; padding: 32px; box-shadow: var(--shadow); }
.disclaimer-box h2 { font-family: "Playfair Display", Georgia, serif; color: var(--navy); font-size: 34px; }
.disclaimer-box p { color: var(--muted); line-height: 1.8; }

@media (max-width: 980px) {
    .site-header { position: sticky; }
    .nav-links { position: absolute; left: 20px; right: 20px; top: calc(100% + 10px); display: none; flex-direction: column; align-items: flex-start; max-height: min(72vh, 620px); overflow-y: auto; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
    .nav-links.is-open { display: flex; }
    .has-dropdown { width: 100%; }
    .nav-dropdown-toggle { width: 100%; text-align: left; }
    .dropdown-menu { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; margin-top: 8px; border-color: var(--line); }
    .dropdown-menu::before { display: none; }
    .has-dropdown.is-open .dropdown-menu { display: block; transform: none; }
    .menu-toggle { display: inline-grid; place-items: center; }
    .hero-grid, .about-grid, .about-story-grid, .about-hero-grid, .section-title, .footer-grid, .content-layout { grid-template-columns: 1fr; }
    .hero-grid { min-height: auto; padding-top: 64px; }
    .practice-grid, .why-grid, .profile-grid, .service-strip-grid, .service-card-grid, .service-card-grid.compact, .blog-preview-grid, .team-grid, .profile-detail-grid, .about-value-grid, .about-practice-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .profile-detail-top { grid-template-columns: 1fr; }
    .profile-hero-photo { justify-self: start; }
    .blog-feed-card { grid-template-columns: 1fr; }
    .sidebar { position: static; }
}

@media (max-width: 680px) {
    body { padding-bottom: 86px; }
    .container { width: min(100% - 28px, 1180px); }
    .topbar { display: none; }
    .topbar-inner { align-items: flex-start; padding: 10px 0; }
    .navbar { min-height: 96px; gap: 12px; }
    .brand { min-width: 0; max-width: calc(100% - 62px); }
    .brand-mark { width: 62px; height: 62px; flex: 0 0 62px; }
    .brand-text { min-width: 0; }
    .brand-text b { font-size: 15px; }
    .brand-text span { font-size: 11px; line-height: 1.35; }
    .menu-toggle { flex: 0 0 54px; width: 54px; height: 54px; }
    .header-actions .btn { display: none; }
    h1 { font-size: clamp(34px, 10vw, 42px); }
    .page-hero { padding: 52px 0; }
    .page-hero p { font-size: 16px; }
    .hero-grid { gap: 28px; padding: 46px 0 76px; }
    .hero-copy { font-size: 16px; }
    .hero-stats, .practice-grid, .why-grid, .profile-grid, .profile-card, .service-strip-grid, .service-card-grid, .service-card-grid.compact, .blog-preview-grid, .team-grid, .profile-detail-grid, .about-value-grid, .about-practice-list { grid-template-columns: 1fr; }
    .about-signature-card { padding: 22px; }
    .about-value-card { min-height: auto; }
    .team-stage { padding: 22px 14px; }
    .team-line { left: 50%; right: auto; top: 38px; bottom: 92px; width: 2px; height: auto; background: linear-gradient(180deg, transparent, rgba(191,139,69,0.72), rgba(31,111,120,0.62), transparent); transform: translateX(-50%); }
    .team-card { min-height: 244px; }
    .team-photo-wrap { width: 136px; height: 136px; }
    .profile-detail-heading { display: grid; }
    .profile-detail-card { padding: 22px; }
    .profile-hero-photo { width: 176px; height: 176px; }
    .blog-feed-card { padding: 16px; }
    .blog-feed-image { min-height: 190px; }
    .blog-feed-card h2 { font-size: 24px; }
    .blog-article { padding: 18px; }
    .blog-cover { max-height: 320px; margin-bottom: 18px; }
    .rich-content h1 { font-size: 30px; }
    .rich-content h2 { font-size: 25px; }
    .rich-content h3 { font-size: 21px; }
    .service-strip { margin-top: 0; padding-top: 16px; background: var(--paper); }
    .service-card, .service-card-content { min-height: 290px; }
    .profile-photo { max-width: 220px; }
    .callback-card, .content-card, .disclaimer-box { padding: 22px; }
    .section { padding: 70px 0; }
    .image-panel, .image-panel img { min-height: 390px; }
    .mobile-cta { display: grid; }
}

@media (max-width: 380px) {
    .container { width: min(100% - 22px, 1180px); }
    .brand-mark { width: 52px; height: 52px; flex-basis: 52px; font-size: 18px; }
    .brand-text b { font-size: 14px; }
    .brand-text span { font-size: 10px; }
    .menu-toggle { width: 48px; height: 48px; flex-basis: 48px; }
    .mobile-cta { left: 6px; right: 6px; gap: 5px; padding: 6px; }
    .mobile-cta a { font-size: 11px; min-height: 50px; }
}

@keyframes logoShine {
    0%, 55% { transform: rotate(26deg) translateX(-46px); }
    72%, 100% { transform: rotate(26deg) translateX(58px); }
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}
