/* FirmMarketing platform theme: page chrome, profiles, news and the marketing sections.
   Colours and fonts come from the firm's site theme (--fm-* variables set on <body>);
   the fallbacks are FirmMarketing's own navy and gold. Blocks are styled by /static/fm/site.css. */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.fmp { font-family: var(--fm-body, "DM Sans", system-ui, sans-serif); color: var(--fm-ink, #16181d); background: #ffffff; -webkit-font-smoothing: antialiased; }
.fmp a:focus-visible, .fmp button:focus-visible { outline: 3px solid var(--fm-accent, #c9a227); outline-offset: 2px; }
.fmp-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.fmp-skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; color: #000; padding: 10px 14px; }
.fmp-skip:focus { left: 8px; top: 8px; }
.fmp-preview { background: var(--fm-accent, #c9a227); color: var(--fm-onAccent, #14213d); text-align: center; font-weight: 700; font-size: 14px; letter-spacing: .04em; padding: 8px 16px; }
.fmp-demo { background: var(--fm-light, #f7f3e8); color: var(--fm-ink, #16181d); text-align: center; font-size: 13.5px; padding: 7px 16px; border-bottom: 1px solid rgba(0,0,0,.08); }
.fmp-demo a, .fmp-demo-foot a { color: inherit; text-decoration: underline; font-weight: 600; }
.fmp-impersonating { background: #b91c1c; color: #fff; text-align: center; padding: 8px 16px; font-size: 14px; }
.fmp-impersonating a { color: #fff; }
.fmp-header { background: var(--fm-primary, #14213d); color: #fff; position: sticky; top: 0; z-index: 20; }
.fmp-header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; flex-wrap: wrap; }
.fmp-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-family: var(--fm-head, "DM Serif Display", Georgia, serif); font-size: 24px; }
.fmp-brand img { max-height: 44px; width: auto; display: block; }
.fmp-mark { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; background: var(--fm-accent, #c9a227); color: var(--fm-onAccent, #14213d); font-weight: 800; font-size: 18px; }
.fmp-nav { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0; padding: 0; }
.fmp-nav a { color: #ffffff; text-decoration: none; font-weight: 500; font-size: 15px; letter-spacing: .02em; padding: 8px 0; display: inline-block; border-bottom: 2px solid transparent; }
.fmp-nav a:hover, .fmp-nav a[aria-current="page"] { border-bottom-color: var(--fm-accent, #c9a227); }
.fmp-footer { background: var(--fm-primaryDark, #0b1426); color: #e2e4ea; padding: 56px 0 24px; font-size: 15px; }
.fmp-footer a { color: #ffffff; text-decoration: none; }
.fmp-footer a:hover { text-decoration: underline; }
.fmp-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr; gap: 32px; }
.fmp-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fmp-footer p { margin: 0 0 12px; line-height: 1.6; }
.fmp-footer-name { font-family: var(--fm-head, "DM Serif Display", Georgia, serif); font-size: 26px; color: #fff; }
.fmp-footer-logo { max-height: 56px; max-width: 100%; margin-bottom: 12px; }  /* footer is dark: the reversed logo */
.fmp-legal { border-top: 1px solid rgba(255,255,255,.14); margin-top: 32px; padding-top: 20px; font-size: 13px; color: #c9ccd4; }
.fmp-legal p { margin: 0 0 6px; }
.fmp-userbar { position: fixed; bottom: 16px; right: 16px; z-index: 30; display: flex; gap: 14px; background: #ffffff; border: 1px solid #d1d5db; box-shadow: 0 8px 24px rgba(0,0,0,.15); border-radius: 999px; padding: 10px 18px; font-size: 14px; }
.fmp-userbar a { color: #14213d; text-decoration: none; font-weight: 600; }
.fmp-legacy { padding: 48px 24px; line-height: 1.7; }
.fmp-404 { padding: 96px 24px 120px; text-align: center; }
.fmp-404 h1 { font-family: var(--fm-head, "DM Serif Display", Georgia, serif); font-size: 40px; color: var(--fm-primary, #14213d); margin: 0 0 12px; }
.fmp-eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: 13px; color: var(--fm-muted, #5d6170); }
.fmp-btn { display: inline-block; background: var(--fm-accent, #c9a227); color: var(--fm-onAccent, #14213d); padding: 12px 22px; border-radius: 8px; font-weight: 700; text-decoration: none; }

/* ─── Attorney profile ─────────────────────────────────────────────── */
.fmp-profile-hero { background: var(--fm-light, #f7f3e8); padding: 56px 0; }
.fmp-profile-grid { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.fmp-profile-photo { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--fm-radius, 6px); display: block; background: #e7e2d8; }
.fmp-monogram { width: 100%; aspect-ratio: 1; border-radius: var(--fm-radius, 6px); display: flex; align-items: center; justify-content: center; background: var(--fm-primary, #14213d); color: var(--fm-accent, #c9a227); font-family: var(--fm-head, Georgia, serif); font-size: 84px; }
.fmp-profile h1 { font-family: var(--fm-head, Georgia, serif); font-size: clamp(34px, 5vw, 52px); line-height: 1.08; color: var(--fm-primary, #14213d); margin: 6px 0 8px; font-weight: 600; }
.fmp-profile .fmp-title { font-size: 18px; color: var(--fm-muted, #5d6170); margin: 0 0 20px; }
.fmp-contact { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 6px; font-size: 15.5px; }
.fmp-contact a { color: var(--fm-ink, #16181d); }
.fmp-profile-body { padding: 56px 0 72px; }
.fmp-profile-body .fmp-profile-grid { grid-template-columns: 1fr 320px; }
.fmp-bio { font-size: 17.5px; line-height: 1.75; }
.fmp-bio p { margin: 0 0 1.1em; }
.fmp-side h2, .fmp-section h2 { font-family: var(--fm-head, Georgia, serif); color: var(--fm-primary, #14213d); font-size: 22px; margin: 0 0 10px; font-weight: 600; }
.fmp-side section { border-top: 2px solid var(--fm-accent, #c9a227); padding-top: 14px; margin-bottom: 28px; font-size: 15px; line-height: 1.6; }
.fmp-side ul, .fmp-section ul { padding-left: 1.1em; margin: 0; }
.fmp-side li, .fmp-section li { margin-bottom: 6px; }
.fmp-section { margin-top: 36px; }
.fmp-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0 !important; }
.fmp-tags li a, .fmp-tags li span { display: inline-block; border: 1px solid var(--fm-accent, #c9a227); border-radius: 999px; padding: 4px 12px; font-size: 14px; color: var(--fm-ink, #16181d); text-decoration: none; }

/* ─── News ─────────────────────────────────────────────────────────── */
.fmp-page-head { background: var(--fm-primary, #14213d); color: #fff; padding: 64px 0 56px; }
.fmp-page-head h1 { font-family: var(--fm-head, Georgia, serif); font-size: clamp(34px, 5vw, 52px); margin: 0; font-weight: 600; }
.fmp-page-head p { color: rgba(255,255,255,.86); max-width: 680px; font-size: 18px; margin: 12px 0 0; }
.fmp-news { padding: 48px 0 72px; display: grid; grid-template-columns: 1fr 260px; gap: 48px; }
.fmp-news-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; }
.fmp-news-list article { border-bottom: 1px solid #e6e2da; padding-bottom: 24px; }
.fmp-news-list h2 { font-family: var(--fm-head, Georgia, serif); font-size: 26px; margin: 4px 0 8px; font-weight: 600; }
.fmp-news-list h2 a { color: var(--fm-primary, #14213d); text-decoration: none; }
.fmp-news-list h2 a:hover { text-decoration: underline; }
.fmp-meta { font-size: 13.5px; color: var(--fm-muted, #5d6170); text-transform: uppercase; letter-spacing: .08em; }
.fmp-post { max-width: 760px; margin: 0 auto; padding: 48px 24px 72px; font-size: 18px; line-height: 1.8; }
.fmp-post h1 { font-family: var(--fm-head, Georgia, serif); color: var(--fm-primary, #14213d); font-size: clamp(32px, 4.5vw, 46px); line-height: 1.15; margin: 8px 0 16px; font-weight: 600; }
.fmp-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; font-size: 15px; }
.fmp-pager a, .fmp-years a { color: var(--fm-primary, #14213d); }
.fmp-years { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }

/* ─── FirmMarketing marketing sections (Legacy HTML blocks on the landing page) ─── */
.fmk-hero { position: relative; overflow: hidden; color: #fff; background: #0b1426; min-height: 640px; display: flex; align-items: center; }
.fmk-hero video, .fmk-hero .fmk-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fmk-hero .fmk-poster { display: none; }
.fmk-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,14,30,.94) 0%, rgba(8,14,30,.82) 42%, rgba(8,14,30,.45) 75%, rgba(8,14,30,.3) 100%); }
.fmk-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 88px 24px; max-width: 1200px; margin: 0 auto; width: 100%; }
.fmk-hero-inner > * { min-width: 0; }
.fmk-eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .22em; font-size: 13px; color: #e8c77e; font-weight: 600; margin-bottom: 16px; }
.fmk-hero h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.06; margin: 0 0 20px; font-weight: 600; }
.fmk-hero p.fmk-lede { font-size: 19px; line-height: 1.6; color: rgba(255,255,255,.9); max-width: 560px; margin: 0 0 30px; }
.fmk-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.fmk-btn { display: inline-flex; align-items: center; gap: 8px; padding: 15px 26px; border-radius: 8px; font-weight: 700; font-size: 16px; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.fmk-btn-gold { background: #d4a64a; color: #14213d; }
.fmk-btn-gold:hover { background: #e3b85e; transform: translateY(-1px); }
.fmk-btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.55); }
.fmk-btn-ghost:hover { background: rgba(255,255,255,.1); }
.fmk-btn-navy { background: #14213d; color: #fff; }
.fmk-btn-navy:hover { background: #1f3158; }
.fmk-small { font-size: 14px; color: rgba(255,255,255,.85); }
.fmk-small a { color: #fff; }
.fmk-shot { perspective: 1600px; }
.fmk-shot img { width: 100%; border-radius: 12px; box-shadow: 0 40px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.12); transform: rotateY(-14deg) rotateX(6deg) rotateZ(1deg); transform-origin: left center; display: block; }
.fmk-section { padding: 96px 0; }
.fmk-section h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 4vw, 44px); color: #14213d; margin: 0 0 14px; font-weight: 600; line-height: 1.15; }
.fmk-section .fmk-intro { font-size: 18px; color: #4b5161; max-width: 680px; margin: 0 0 40px; line-height: 1.65; }
.fmk-center { text-align: center; }
.fmk-center .fmk-intro { margin-left: auto; margin-right: auto; }
.fmk-live { background: #f7f3e8; }
.fmk-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.fmk-card { background: #fff; border-radius: 14px; padding: 32px; box-shadow: 0 1px 0 rgba(20,33,61,.06), 0 12px 32px rgba(20,33,61,.08); display: flex; flex-direction: column; gap: 12px; }
.fmk-card h3 { font-family: Georgia, serif; font-size: 26px; color: #14213d; margin: 0; font-weight: 600; }
.fmk-card p { margin: 0 0 8px; color: #4b5161; line-height: 1.6; }
.fmk-card .fmk-btn { align-self: flex-start; margin-top: auto; }
.fmk-video { background: #14213d; color: #fff; }
.fmk-video h2 { color: #fff; }
.fmk-video .fmk-intro { color: rgba(255,255,255,.86); }
.fmk-video-frame { aspect-ratio: 16 / 9; max-width: 960px; margin: 0 auto; border-radius: 14px; background: linear-gradient(135deg, #1f3158, #0b1426); border: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; color: rgba(255,255,255,.88); }
.fmk-play { width: 84px; height: 84px; border-radius: 50%; border: 2px solid #d4a64a; display: flex; align-items: center; justify-content: center; }
.fmk-play::before { content: ""; border-left: 24px solid #d4a64a; border-top: 15px solid transparent; border-bottom: 15px solid transparent; margin-left: 6px; }
.fmk-pricing { background: #0b1426 var(--fmk-tex, none) center / cover; color: #fff; position: relative; }
.fmk-pricing::before { content: ""; position: absolute; inset: 0; background: radial-gradient(1200px 500px at 50% -10%, rgba(212,166,74,.18), transparent 60%), repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 14px); pointer-events: none; }
.fmk-pricing > * { position: relative; }
.fmk-pricing h2 { color: #fff; }
.fmk-pricing .fmk-intro { color: rgba(255,255,255,.86); }
.fmk-toggle { display: inline-flex; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 4px; margin: 0 0 36px; }
.fmk-toggle a { color: #fff; text-decoration: none; padding: 9px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.fmk-toggle a[aria-pressed="true"] { background: #d4a64a; color: #14213d; }
.fmk-save { font-size: 12px; font-weight: 700; margin-left: 6px; }
.fmk-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 24px; text-align: left; }
.fmk-plan { background: #fff; color: #16181d; border-radius: 16px; padding: 36px 32px; display: flex; flex-direction: column; }
.fmk-plan.featured { box-shadow: 0 0 0 3px #d4a64a; }
.fmk-plan h3 { font-family: Georgia, serif; font-size: 28px; color: #14213d; margin: 0 0 4px; font-weight: 600; }
.fmk-badge { display: inline-block; background: #f7f3e8; color: #6f5013; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; align-self: flex-start; }
.fmk-price { font-size: 48px; font-weight: 700; color: #14213d; margin: 12px 0 2px; }
.fmk-price small { font-size: 16px; color: #5d6170; font-weight: 500; }
.fmk-plan ul { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.fmk-plan li { padding-left: 26px; position: relative; line-height: 1.5; }
.fmk-plan li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid #8a6418; border-bottom: 2px solid #8a6418; transform: rotate(-45deg); }
.fmk-plan .fmk-btn { margin-top: auto; justify-content: center; }
.fmk-addon { margin: 22px auto 0; color: rgba(255,255,255,.9); font-size: 15px; }
.fmk-services { max-width: 880px; margin: 56px auto 0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 28px 32px; text-align: left; }
.fmk-services h3 { font-family: Georgia, serif; color: #fff; font-size: 24px; margin: 0 0 14px; font-weight: 600; }
.fmk-services table { width: 100%; border-collapse: collapse; }
.fmk-services td { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.14); vertical-align: top; }
.fmk-services td:last-child { text-align: right; white-space: nowrap; font-weight: 700; color: #e8c77e; padding-left: 16px; }
.fmk-services small { color: rgba(255,255,255,.75); display: block; }
.fmk-included { max-width: 880px; margin: 22px auto 0; font-size: 14px; color: rgba(255,255,255,.8); }
.fmk-final { background: #14213d var(--fmk-tex2, none) center / cover; color: #fff; text-align: center; position: relative; }
.fmk-final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 400px at 50% 120%, rgba(212,166,74,.22), transparent 70%); pointer-events: none; }
.fmk-final > * { position: relative; }
.fmk-final h2 { color: #fff; }
.fmk-final .fmk-intro { color: rgba(255,255,255,.88); }
.fmk-final .fmk-ctas { justify-content: center; }
@media (prefers-reduced-motion: reduce) {
    .fmk-hero video { display: none; }
    .fmk-hero .fmk-poster { display: block; }
    .fmk-btn { transition: none; }
}
@media (max-width: 900px) {
    .fmk-hero-inner { grid-template-columns: 1fr; padding: 64px 24px; }
    .fmk-shot { display: none; }
    .fmk-cards, .fmk-plans { grid-template-columns: 1fr; }
    .fmp-profile-grid, .fmp-profile-body .fmp-profile-grid, .fmp-news { grid-template-columns: 1fr; }
    .fmp-profile-grid { gap: 28px; }
    .fmp-profile-photo, .fmp-monogram { max-width: 280px; }
}
@media (max-width: 760px) {
    .fmp-footer-grid { grid-template-columns: 1fr; }
    .fmp-header { position: static; }
    .fmp-header-row { padding-top: 12px; padding-bottom: 12px; }
    .fmk-section { padding: 64px 0; }
}
