/* Concord & Wisdom — theme styles. Light, calm, professional. Self-hosted fonts only (fast in mainland China). */

@font-face { font-family: "CW Serif"; src: url(../fonts/pagella-400.woff) format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "CW Serif"; src: url(../fonts/pagella-400i.woff) format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "CW Serif"; src: url(../fonts/pagella-700.woff) format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "CW Sans"; src: url(../fonts/inter-400.woff) format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "CW Sans"; src: url(../fonts/inter-600.woff) format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "CW Sans"; src: url(../fonts/inter-700.woff) format("woff"); font-weight: 700; font-display: swap; }

:root {
	--navy: #13294b; --navy-2: #1d3a66; --navy-3: #2b4a78;
	--gold: #b8893b; --gold-ink: #8a6424; --gold-btn: #8a6424; --gold-soft: #d9b877;
	--deep: #1b4a6e; --deep-2: #22587f; --deep-line: rgba(255, 255, 255, .18); --gold-on-deep: #e6c98e;
	--ivory: #fbf8f2; --sand: #f3ead8; --mist: #eef3f8; --line: #e3dccd;
	--ink: #1f2a3d; --muted: #55627a;
	--serif: "CW Serif", "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", Georgia, serif;
	--sans: "CW Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", Roboto, Arial, sans-serif;
	--wrap: 1200px; --r: 16px;
	--shadow: 0 20px 50px -24px rgba(19, 41, 75, .35);
	/* Let the toolkit plugin's widgets use the same fonts. */
	--cwt-font: var(--sans); --cwt-serif: var(--serif);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.7; color: var(--ink); background: #fff; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
.cw-zh { font-size: 17px; line-height: 1.85; letter-spacing: .01em; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--gold-ink); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; color: var(--navy); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.005em; }
.cw-zh h1, .cw-zh h2, .cw-zh h3 { letter-spacing: .02em; line-height: 1.35; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#main:focus { outline: none; }

.cw-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.cw-narrow { max-width: 820px; }
.cw-wide { max-width: 980px; }
.cw-center { text-align: center; }
.cw-muted { color: var(--muted); font-size: .94em; }

/* Skip link */
.cw-skip { position: fixed; left: 12px; top: -80px; z-index: 10000; background: var(--navy); color: #fff !important; padding: 12px 18px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.cw-skip:focus { top: 12px; }

/* Buttons */
.cw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent; font: 700 16px/1.1 var(--sans); text-decoration: none !important; cursor: pointer; transition: transform .15s, background .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.cw-btn:hover { transform: translateY(-1px); }
.cw-btn-gold { background: var(--gold-btn); color: #fff !important; box-shadow: 0 10px 24px -12px rgba(138, 100, 36, .9); }
.cw-btn-gold:hover { background: #7a571c; }
.cw-btn-navy { background: var(--navy); color: #fff !important; }
.cw-btn-navy:hover { background: var(--navy-2); }
.cw-btn-ghost { background: #fff; color: var(--navy) !important; border-color: var(--navy); }
.cw-btn-light { background: #fff; color: var(--navy) !important; border-color: #fff; }
.cw-btn-lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
.cw-btn-block { display: flex; width: 100%; margin-top: 10px; }
.cw-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy-2); text-decoration: none; }
.cw-arrow::after { content: "→"; transition: transform .2s; }
a.cw-arrow:hover::after, a:hover .cw-arrow::after { transform: translateX(4px); }

/* Top bar */
.cw-topbar { background: #0b2239; color: #e2ecf5; font-size: 14px; border-bottom: 1px solid rgba(230, 201, 142, .22); }
.cw-topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.cw-topbar a { color: #fff; text-decoration: none; }
.cw-topbar a:hover { color: var(--gold-on-deep); }
.cw-top-addr { display: inline-flex; align-items: center; gap: 6px; }
.cw-top-links { display: flex; gap: 20px; align-items: center; }
.cw-lang { border: 1.5px solid var(--gold-on-deep); border-radius: 999px; padding: 3px 12px; color: var(--gold-on-deep) !important; font-weight: 700; }

/* Header */
.cw-header { position: sticky; top: 0; z-index: 900; background: #12324f; border-bottom: 1px solid rgba(230, 201, 142, .28); transition: box-shadow .2s; }
.cw-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(19, 41, 75, .45); }
.cw-header-in { display: flex; align-items: center; gap: 24px; min-height: 78px; }
.cw-logo { display: block; flex: none; }
.cw-logo-img { display: block; height: 56px; width: auto; }
/* Safety net: any nested list in the menu stays hidden until its parent is opened, whatever menu markup WordPress outputs */
.cw-menu ul, .cw-menu .sub-menu { display: none; list-style: none; }
.cw-menu ul ul { display: none !important; }
.cw-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.cw-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.cw-menu > li { position: relative; display: flex; align-items: center; }
.cw-menu > li > a { display: block; padding: 10px 12px; font-weight: 600; font-size: 16px; white-space: nowrap; color: var(--navy); text-decoration: none; border-radius: 8px; }
.cw-menu > li > a:hover, .cw-menu > li.is-current > a { color: var(--gold-on-deep); }
.cw-menu > li.is-current > a { box-shadow: inset 0 -2px 0 var(--gold-on-deep); border-radius: 0; }
.cw-sub-toggle { border: 0; background: none; color: var(--navy); padding: 8px 4px; margin-left: -6px; cursor: pointer; border-radius: 6px; }
.cw-sub { position: absolute; top: 100%; left: 0; min-width: 330px; list-style: none; margin: 0; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); display: none; z-index: 20; }
.cw-sub li a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.4; }
.cw-sub li a:hover { background: var(--ivory); color: var(--gold-ink); }
.cw-menu > li.has-sub:hover > ul.cw-sub, .cw-menu > li.has-sub:focus-within > ul.cw-sub, .cw-menu > li.is-open > ul.cw-sub { display: block; }
.cw-nav-cta { display: flex; align-items: center; gap: 12px; }
.cw-nav-phone { display: none; }
.cw-burger { display: none; margin-left: auto; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px; border: 2px solid var(--gold-on-deep); border-radius: 999px; background: transparent; color: #fff; font: 700 15px var(--sans); cursor: pointer; }
.cw-burger-lines, .cw-burger-lines::before, .cw-burger-lines::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
.cw-burger-lines::before, .cw-burger-lines::after { content: ""; position: absolute; left: 0; }
.cw-burger-lines::before { top: -6px; }
.cw-burger-lines::after { top: 6px; }
.cw-burger[aria-expanded="true"] .cw-burger-lines { background: transparent; }
.cw-burger[aria-expanded="true"] .cw-burger-lines::before { transform: translateY(6px) rotate(45deg); }
.cw-burger[aria-expanded="true"] .cw-burger-lines::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero (home) */
.cw-hero { position: relative; color: var(--navy); min-height: clamp(560px, 72vh, 760px); display: flex; align-items: center; overflow: hidden; background: #f7f9fc; }
.cw-hero-bg, .cw-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.cw-hero-in { position: relative; width: 100%; padding-top: 72px; padding-bottom: 80px; }
.cw-hero-eyebrow { font: 700 14px/1.6 var(--sans); letter-spacing: .14em; max-width: 46em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 18px; }
.cw-zh .cw-hero-eyebrow { letter-spacing: .08em; font-size: 14.5px; }
.cw-hero h1 { color: var(--navy); font-size: clamp(40px, 5.6vw, 76px); line-height: 1.06; margin: 0 0 22px; max-width: none; text-shadow: 0 1px 18px rgba(255, 255, 255, .8); }
.cw-zh .cw-hero h1 { font-size: clamp(38px, 5.6vw, 72px); line-height: 1.2; max-width: 12em; }
.cw-hero h1 span { display: block; }
.cw-hero-em { font-style: italic; color: var(--gold-ink); font-weight: 400; }
.cw-zh .cw-hero-em { font-style: normal; font-weight: 700; }
.cw-hero-sub { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; max-width: 34em; color: var(--ink); margin-bottom: 30px; text-shadow: 0 1px 14px rgba(255, 255, 255, .95); }
.cw-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }

/* Sections */
.cw-sec { padding: clamp(64px, 8vw, 104px) 0; }
.cw-sec-tint { background: var(--ivory); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cw-sec-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.cw-sec-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; text-align: left; }
.cw-eyebrow { font: 700 13.5px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 12px; }
.cw-eyebrow a { color: inherit; text-decoration: none; }
.cw-h2 { font-size: clamp(32px, 3.8vw, 46px); margin-bottom: 16px; }
.cw-h3 { font-size: clamp(22px, 2.2vw, 28px); margin: 48px 0 20px; }
.cw-lede { font-size: 19px; color: var(--muted); line-height: 1.65; }
.cw-links-row { margin-top: 18px; }

.cw-firm-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.cw-att-list { display: grid; gap: 18px; }
.cw-att-card { display: grid; grid-template-columns: 150px 1fr; gap: 0; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s; }
.cw-att-card:hover { transform: translateY(-3px); color: var(--ink); }
.cw-att-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; background: var(--mist); }
.cw-att-meta { display: flex; flex-direction: column; gap: 6px; justify-content: center; padding: 22px 24px; border-left: 4px solid var(--gold); }
.cw-att-meta strong { font: 700 21px/1.3 var(--serif); color: var(--navy); }
.cw-att-meta > span:not(.cw-arrow) { color: var(--muted); }

.cw-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cw-cards > li:nth-child(4), .cw-cards > li:nth-child(5) { grid-column: span 1; }
.cw-cards:not(.cw-cards-all) { grid-template-columns: repeat(6, 1fr); }
.cw-cards:not(.cw-cards-all) > li { grid-column: span 2; }
.cw-cards:not(.cw-cards-all) > li:nth-child(4) { grid-column: 2 / span 2; }
.cw-cards:not(.cw-cards-all) > li:nth-child(5) { grid-column: 4 / span 2; }
.cw-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.cw-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cw-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.cw-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cw-card h3, .cw-card-h { font-size: 22px; margin: 0; }
.cw-card h3 a, .cw-card-h a { color: var(--navy); text-decoration: none; }
.cw-card h3 a::after, .cw-card-h a::after { content: ""; position: absolute; inset: 0; }
.cw-card p { margin: 0; color: var(--muted); font-size: 16px; }
.cw-card .cw-arrow { margin-top: auto; padding-top: 6px; }
.cw-card-list { list-style: none; margin: 2px 0 6px; padding: 0; display: grid; gap: 7px; }
.cw-card-list li { position: relative; padding-left: 20px; font-size: 15.5px; line-height: 1.45; color: var(--ink); }
.cw-card-list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.cw-focused-head { margin-top: 64px; margin-bottom: 28px; }
.cw-focused-head .cw-h3 { margin: 0 0 8px; font-size: clamp(26px, 2.8vw, 34px); }
.cw-cards.cw-cards-focused { grid-template-columns: repeat(4, 1fr); }
.cw-cards.cw-cards-focused > li { grid-column: auto !important; }
.cw-cards-focused .cw-card-h { font-size: 20px; }

.cw-mini { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cw-mini a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 14px; text-decoration: none; color: var(--muted); font-size: 15px; transition: transform .2s; }
.cw-mini a:hover { transform: translateY(-3px); }
.cw-mini strong { font: 700 18px/1.3 var(--serif); color: var(--navy); }
.cw-mini-list { grid-template-columns: repeat(2, 1fr); margin-top: 28px; }

.cw-urgent { background: var(--sand); border-top: 1px solid #e6d6b2; border-bottom: 1px solid #e6d6b2; }
.cw-urgent-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; padding-bottom: 22px; }
.cw-urgent p { margin: 0; font-size: 18px; color: var(--navy); }
.cw-urgent .cw-btn-light { border-color: var(--navy); }

.cw-grace { display: grid; grid-template-columns: 140px 1fr; gap: 36px; align-items: center; max-width: 960px; }
.cw-grace-av { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 4px solid var(--gold-soft); box-shadow: var(--shadow); }

.cw-feats { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cw-feat { display: flex; flex-direction: column; gap: 8px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.cw-feat strong { font: 700 24px/1.25 var(--serif); color: var(--navy); }
.cw-feat p { margin: 0; color: var(--muted); }
.cw-feat-k { font: 700 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.cw-feat-dark { background: linear-gradient(160deg, var(--deep-2), var(--deep)); border-color: var(--deep); }
.cw-feat-dark strong { color: var(--gold-on-deep); font-size: 38px; }
.cw-feat-dark p { color: #e2ecf5; }
.cw-feat-dark small { color: #c9d8e6; font-size: 13px; }
.cw-feat-dark .cw-feat-k { color: var(--gold-on-deep); }

.cw-posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cw-post { display: flex; flex-direction: column; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 18px; position: relative; transition: transform .2s, box-shadow .2s; }
.cw-post:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cw-post h3 { font-size: 21px; margin: 6px 0 10px; }
.cw-post h3 a { color: var(--navy); text-decoration: none; }
.cw-post h3 a::after { content: ""; position: absolute; inset: 0; }
.cw-post p { color: var(--muted); font-size: 15.5px; margin-bottom: 12px; }
.cw-post-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin: 0; }
.cw-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--sand); color: var(--gold-ink); font-weight: 700; font-size: 12.5px; letter-spacing: .04em; }
.cw-post-by { margin: auto 0 0 !important; font-size: 14px !important; font-weight: 600; color: var(--navy-2) !important; }

.cw-contact-band { background: linear-gradient(135deg, var(--deep-2) 0%, var(--deep) 100%); color: #e2ecf5; padding: clamp(56px, 7vw, 88px) 0; }
.cw-contact-band .cw-h2 { color: #fff; }
.cw-contact-band .cw-eyebrow { color: var(--gold-on-deep); }
.cw-cb-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.cw-cb-list { margin: 0; display: grid; gap: 0; padding: 8px 24px; background: rgba(255, 255, 255, .07); border: 1px solid var(--deep-line); border-radius: 18px; }
.cw-cb-list > div { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--deep-line); }
.cw-cb-list > div:last-child { border-bottom: 0; }
.cw-cb-list dt { color: var(--gold-on-deep); font-weight: 700; font-size: 14.5px; }
.cw-cb-list dd { margin: 0; color: #fff; }
.cw-cb-list a { color: #fff; font-weight: 600; }

/* Inner page hero */
.cw-pagehero { background: linear-gradient(180deg, #fdfbf6 0%, var(--sand) 100%); border-bottom: 1px solid var(--line); padding: 30px 0 52px; }
.cw-pagehero-in { display: grid; grid-template-columns: minmax(0, 860px); gap: 48px; align-items: center; }
.cw-pagehero h1 { font-size: clamp(36px, 4.6vw, 58px); margin: 0 0 16px; }
.cw-pagehero-lead { font-size: clamp(18px, 1.5vw, 20px); color: var(--muted); max-width: 40em; margin: 0; }
.cw-pagehero-art img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.cw-crumbs ol { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); }
.cw-crumbs li + li::before { content: "/"; margin-right: 6px; color: #b9b0a0; }
.cw-crumbs a { color: var(--muted); }

/* Two columns: content + sidebar */
.cw-two { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(32px, 5vw, 64px); padding-top: 56px; padding-bottom: 72px; align-items: start; }
.cw-side { position: sticky; top: 110px; display: grid; gap: 18px; }
.cw-side-card { background: var(--ivory); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.cw-side-card p { font-size: 15.5px; }
.cw-side-t { color: var(--muted); }
.cw-side-mail { margin: 12px 0 0; text-align: center; font-weight: 600; }
.cw-side-res ul, .cw-side-nav ul { list-style: none; margin: 0; padding: 0; }
.cw-side-res li, .cw-side-nav li { border-bottom: 1px solid var(--line); }
.cw-side-res li:last-child, .cw-side-nav li:last-child { border-bottom: 0; }
.cw-side-res a, .cw-side-nav a { display: block; padding: 9px 0; font-size: 15px; color: var(--navy); text-decoration: none; line-height: 1.4; }
.cw-side-nav a[aria-current="page"] { color: var(--gold-ink); font-weight: 700; }
.cw-side-nav a:hover, .cw-side-res a:hover { color: var(--gold-ink); }

/* Long-form content */
.cw-prose { font-size: 17.5px; }
.cw-prose > *:first-child { margin-top: 0; }
.cw-prose h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 2em 0 .6em; padding-top: 18px; position: relative; }
.cw-prose h2::before { content: ""; position: absolute; top: 0; left: 0; width: 56px; height: 3px; background: var(--gold); border-radius: 3px; }
.cw-prose h3 { font-size: 23px; margin: 1.6em 0 .5em; }
.cw-prose ul, .cw-prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.cw-prose li { margin: 0 0 .5em; }
.cw-prose blockquote { margin: 1.5em 0; padding: 18px 24px; border-left: 4px solid var(--gold); background: var(--ivory); border-radius: 0 12px 12px 0; }
.cw-prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 16px; }
.cw-prose th, .cw-prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.cw-prose th { background: var(--ivory); }
.cw-lead { font-size: 20px; line-height: 1.65; color: var(--ink); }
.cw-prose .cw-btn { margin: 6px 10px 6px 0; }
.cw-prose ul.cw-checks { list-style: none; padding: 0; display: grid; gap: 10px; }
.cw-prose ul.cw-checks li { position: relative; padding: 12px 16px 12px 48px; background: var(--ivory); border: 1px solid var(--line); border-radius: 12px; margin: 0; }
.cw-prose ul.cw-checks li::before { content: ""; position: absolute; left: 16px; top: 15px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold-btn) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.cw-prose ol.cw-steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 14px; }
.cw-prose ol.cw-steps li { counter-increment: step; position: relative; padding: 18px 20px 18px 74px; border: 1px solid var(--line); border-radius: 14px; background: #fff; margin: 0; }
.cw-prose ol.cw-steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 18px; top: 16px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold-soft); font: 700 15px var(--sans); }
.cw-prose ol.cw-steps strong { color: var(--navy); }
.cw-callout { margin: 1.6em 0; padding: 18px 22px; border-radius: 14px; background: #fff7e8; border: 1px solid #ecd3a1; border-left: 5px solid var(--gold-btn); }
.cw-callout p { margin: 0; }
.cw-docs-note { padding: 14px 18px; border-radius: 12px; background: var(--mist); font-size: 16px; }
.cw-fine { font-size: 14px; color: var(--muted); }
.cw-prose .cwt-block { padding-left: 0; padding-right: 0; margin-left: 0; margin-right: 0; }

/* Contact page */
.cw-contact { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); padding-top: 56px; padding-bottom: 80px; align-items: start; }
.cw-contact-info { display: grid; gap: 14px; }
.cw-info-card { padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--ivory); }
.cw-info-card h2 { font: 700 13.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 8px; }
.cw-info-card p, .cw-info-card address { margin: 0 0 6px; font-style: normal; font-size: 17px; }
.cw-info-card a { font-weight: 600; }
.cw-contact-main .cwt-block { margin-top: 24px; }
.cw-copy { margin-left: 6px; padding: 3px 10px; border-radius: 999px; border: 1.5px solid currentColor; background: transparent; color: inherit; font: 700 12.5px var(--sans); cursor: pointer; }

/* Team & attorney */
.cw-team { list-style: none; margin: 32px 0 72px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cw-narrow-left { max-width: 820px; padding-top: 48px; }
.cw-cards-all { margin: 32px 0 80px; }
.cw-bio-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: end; }
.cw-bio-role { font-size: 20px; color: var(--muted); margin: -4px 0 22px; }
.cw-bio-facts { margin: 0 0 26px; display: grid; gap: 12px; }
.cw-bio-facts > div { display: grid; gap: 2px; padding: 14px 18px; background: rgba(255, 255, 255, .75); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; }
.cw-bio-facts dt { font: 700 13.5px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.cw-bio-facts dd { margin: 0; font: 700 19px/1.4 var(--serif); color: var(--navy); }
.cw-bio-photo { margin: 0 0 -52px; }
.cw-bio-photo img { display: block; width: 100%; max-width: 380px; margin-left: auto; border-radius: 24px 24px 0 0; box-shadow: var(--shadow); border-bottom: 6px solid var(--gold); background: #fff; }
.cw-bio-sec { margin-top: 44px; }
.cw-bio-sec h2 { font-size: clamp(24px, 2.4vw, 30px); padding-top: 18px; position: relative; }
.cw-bio-sec h2::before { content: ""; position: absolute; top: 0; left: 0; width: 56px; height: 3px; background: var(--gold); }
.cw-adm, .cw-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cw-adm li { display: grid; grid-template-columns: 240px 1fr; gap: 16px; padding: 14px 18px; background: var(--ivory); border: 1px solid var(--line); border-radius: 12px; }
.cw-adm-k { font-weight: 700; color: var(--gold-ink); }
.cw-timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cw-timeline li:has(> strong) { grid-template-columns: 1fr; gap: 2px; }
.cw-timeline li strong { color: var(--navy); font-size: 17.5px; }
.cw-timeline li > span { color: var(--ink); }
.cw-timeline li strong + span { color: var(--muted); }
.cw-timeline li.cw-nodate { grid-template-columns: 1fr; }
.cw-nowrap { white-space: nowrap; }
.cw-bio-hero h1 { font-size: clamp(34px, 4vw, 52px); }
.cw-timeline time { font-weight: 700; color: var(--gold-ink); font-size: 15px; }

/* Article */
.cw-article-hero h1 { font-size: clamp(32px, 4vw, 50px); }
.cw-article-meta { color: var(--muted); font-size: 15.5px; margin: 0; }
.cw-article-img { margin: 40px 0 0; }
.cw-article-img img { border-radius: 18px; width: 100%; }
.cw-article-hero + .cw-wrap .cw-prose { padding-top: 44px; }
.cw-post-nav { display: flex; justify-content: space-between; gap: 20px; padding: 28px 0 64px; border-top: 1px solid var(--line); margin-top: 36px; font-weight: 600; }

/* Publications */
.cw-blog-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 36px 0 28px; }
.cw-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.cw-filters a { padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--navy); text-decoration: none; font-weight: 600; font-size: 15px; background: #fff; }
.cw-filters a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.cw-search { display: flex; gap: 8px; }
.cw-search input { min-height: 48px; padding: 0 16px; border: 1.5px solid #cdd5e1; border-radius: 999px; font: 16px var(--sans); min-width: 240px; }
.cw-posts-grid { margin-bottom: 40px; }
.cw-pager { padding-bottom: 72px; }
.cw-pager .nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.cw-pager .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 600; }
.cw-pager .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Footer */
.cw-footer { background: var(--deep); color: #e2ecf5; padding: 64px 0 30px; font-size: 15.5px; border-top: 4px solid var(--gold); }
.cw-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.1fr; gap: 40px; }
.cw-foot-logo img { height: 64px; width: auto; display: block; margin-bottom: 18px; }
.cw-foot-name { color: #fff; font-size: 17px; line-height: 1.6; }
.cw-foot-tag { color: var(--gold-on-deep); font-weight: 600; }
.cw-foot-col h2 { font: 700 13.5px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-on-deep); margin: 6px 0 16px; }
.cw-foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cw-footer a { color: #fff; text-decoration: none; }
.cw-footer a:hover { color: var(--gold-on-deep); text-decoration: underline; }
.cw-footer address { font-style: normal; }
.cw-foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--deep-line); }
.cw-foot-disc { font-size: 13.5px; color: #c9d8e6; max-width: 980px; }
.cw-foot-legal { font-size: 14px; margin: 0; }

/* Tablet */
@media (max-width: 1180px) {
	.cw-burger { display: inline-flex; }
	.cw-nav { position: fixed; left: 0; right: 0; top: var(--cw-head, 124px); bottom: 0; background: #fff; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 40px; overflow-y: auto; border-top: 1px solid var(--line); }
	.cw-nav.is-open { display: flex; }
	.cw-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.cw-menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.cw-menu > li > a { flex: 1; padding: 16px 4px; font-size: 18px; }
	.cw-menu > li.is-current > a { box-shadow: none; }
	.cw-sub-toggle { padding: 14px 12px; margin: 0; }
	.cw-sub-toggle svg { width: 16px; height: 12px; }
	.cw-sub { position: static; box-shadow: none; border: 0; padding: 0 0 12px 8px; min-width: 0; width: 100%; display: none; }
	.cw-menu > li.has-sub:hover > ul.cw-sub, .cw-menu > li.has-sub:focus-within > ul.cw-sub { display: none; }
	.cw-menu > li.has-sub.is-open > ul.cw-sub, .cw-menu > li.has-sub.is-open:focus-within > ul.cw-sub { display: block; }
	.cw-nav-cta { flex-direction: column; align-items: stretch; margin-top: 20px; }
	.cw-nav-cta .cw-btn { min-height: 54px; font-size: 17px; }
	.cw-nav-phone { display: block; text-align: center; font-weight: 700; font-size: 18px; padding: 10px; }
	body.cw-nav-open { overflow: hidden; }
	.cw-firm-grid, .cw-cb-grid, .cw-bio-grid { grid-template-columns: 1fr; }
	.cw-cards, .cw-cards:not(.cw-cards-all) { grid-template-columns: repeat(2, 1fr); }
	.cw-cards:not(.cw-cards-all) > li, .cw-cards:not(.cw-cards-all) > li:nth-child(4), .cw-cards:not(.cw-cards-all) > li:nth-child(5) { grid-column: auto; }
	.cw-mini, .cw-cards.cw-cards-focused { grid-template-columns: repeat(2, 1fr); }
	.cw-posts, .cw-feats { grid-template-columns: repeat(2, 1fr); }
	.cw-two, .cw-contact { grid-template-columns: 1fr; }
	.cw-side { position: static; }
	.cw-foot-grid { grid-template-columns: 1fr 1fr; }
	.cw-bio-photo { margin: 0; }
	.cw-bio-photo img { margin: 0; max-width: 300px; border-radius: 24px; }
}

/* Phone */
@media (max-width: 700px) {
	body { font-size: 17px; }
	.cw-wrap { padding: 0 18px; }
	.cw-top-addr { display: none; }
	.cw-topbar-in { justify-content: center; }
	.cw-top-links { gap: 14px; font-size: 13.5px; }
	.cw-top-links a[href^="mailto"] { display: none; }
	.cw-header-in { min-height: 64px; gap: 12px; }
	.cw-logo-img { height: 38px; }
	.cw-pagehero-art { display: none; }
	.cw-burger-label { display: none; }
	.cw-burger { padding: 0 14px; }
	.cw-hero { min-height: 0; }
	.cw-hero-bg img { object-position: 72% 50%; }
	.cw-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.7) 60%, rgba(255,255,255,.2) 100%); }
	.cw-hero-in { z-index: 1; }
	.cw-hero-in { padding-top: 56px; padding-bottom: 60px; }
	.cw-hero h1 { font-size: clamp(38px, 11vw, 52px); }
	.cw-zh .cw-hero h1 { font-size: clamp(34px, 10vw, 46px); }
	.cw-hero-cta .cw-btn { width: 100%; }
	.cw-cards, .cw-cards:not(.cw-cards-all), .cw-cards.cw-cards-focused, .cw-mini, .cw-posts, .cw-feats, .cw-team, .cw-mini-list { grid-template-columns: 1fr; }
	.cw-sec-head-row { flex-direction: column; align-items: flex-start; }
	.cw-urgent-in { flex-direction: column; align-items: stretch; text-align: center; }
	.cw-grace { grid-template-columns: 1fr; text-align: center; }
	.cw-grace-av { margin: 0 auto; width: 110px; height: 110px; }
	.cw-grace .cw-hero-cta { justify-content: center; }
	.cw-att-card { grid-template-columns: 110px 1fr; }
	.cw-att-meta { padding: 16px 18px; }
	.cw-pagehero { padding: 22px 0 36px; }
	.cw-pagehero-in { grid-template-columns: 1fr; gap: 24px; }
	.cw-pagehero-art { max-width: 420px; }
	.cw-cb-list > div, .cw-adm li, .cw-timeline li { grid-template-columns: 1fr; gap: 2px; }
	.cw-cb-list { padding: 4px 18px; }
	.cw-foot-grid { grid-template-columns: 1fr; gap: 30px; }
	.cw-prose { font-size: 17px; }
	.cw-prose ol.cw-steps li { padding: 64px 18px 18px; }
	.cw-search { width: 100%; }
	.cw-search input { min-width: 0; flex: 1; }
	.cw-post-nav { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
	.cw-topbar, .cw-header, .cw-footer, .cw-contact-band, .cw-side, .cwt-root { display: none !important; }
}

/* Mobile panel keeps dark-on-light text */
@media (max-width: 1180px) {
	.cw-nav .cw-menu > li > a, .cw-nav .cw-sub-toggle { color: var(--navy); }
	.cw-nav .cw-menu > li > a:hover { color: var(--gold-ink); }
}

/* Shared helpers */
.cw-center-text { text-align: center; }
.cw-center-text .cw-lede { margin-left: auto; margin-right: auto; max-width: 46em; }
.cw-gold { color: var(--gold-ink); }

/* Attorney — full-width card, centered */
.cw-att-row { display: grid; gap: 24px; max-width: 1040px; margin: 0 auto; }
.cw-att-wide { display: grid; grid-template-columns: 300px 1fr; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s; }
.cw-att-wide:hover { transform: translateY(-3px); color: var(--ink); }
.cw-att-wide img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; object-position: 50% 12%; background: var(--mist); }
.cw-att-wide-b { display: flex; flex-direction: column; gap: 10px; justify-content: center; padding: clamp(24px, 4vw, 48px); border-left: 4px solid var(--gold); }
.cw-att-wide-b strong { font: 700 clamp(26px, 3vw, 34px)/1.2 var(--serif); color: var(--navy); }
.cw-att-role { color: var(--gold-ink); font-weight: 700; letter-spacing: .04em; }
.cw-att-bio { color: var(--muted); font-size: 17px; line-height: 1.7; }
.cw-att-wide .cw-arrow { margin-top: 6px; }

/* Practice cards (scope of practice) */
.cw-pcs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cw-pc { display: flex; flex-direction: column; background: #f2e7d8; border: 1px solid #e4d5bf; border-radius: 4px; overflow: hidden; transition: transform .2s, box-shadow .2s; position: relative; }
.cw-pc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cw-pc-img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cw-pc-body { display: flex; flex-direction: column; gap: 12px; padding: 28px 30px 30px; flex: 1; }
.cw-pc-ico { color: #8a6424; }
.cw-pc-eyebrow { margin: 0; font: 700 13px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #8a6424; }
.cw-pc-h { margin: 0; font: 700 clamp(23px, 2.2vw, 28px)/1.2 var(--serif); color: #33291f; }
.cw-pc-h a { color: inherit; text-decoration: none; }
.cw-pc:not(.cw-pc-focused) .cw-pc-h a::after { content: ""; position: absolute; inset: 0; }
.cw-pc-d { margin: 0; color: #6b5d50; font-size: 16.5px; line-height: 1.7; }
.cw-pc-list, .cw-pc-links { list-style: none; margin: 4px 0 0; padding: 0; }
.cw-pc-list li, .cw-pc-links li { border-top: 1px solid #d9c7ad; }
.cw-pc-list li { padding: 11px 0; font-size: 15.5px; color: #33291f; }
.cw-pc-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; color: #33291f; text-decoration: none; font-size: 16px; }
.cw-pc-links a:hover { color: #8a6424; }
.cw-pc-links li:last-child, .cw-pc-list li:last-child { border-bottom: 1px solid #d9c7ad; }
.cw-pc-more { margin-top: auto; padding-top: 8px; display: inline-flex; gap: 8px; align-items: center; color: #33291f; font-weight: 600; text-decoration: none; }
.cw-pc-more svg, .cw-pc-links svg { flex: none; }

/* News */
.cw-news { display: grid; grid-template-columns: .8fr 1.2fr; gap: 0; align-items: start; }
.cw-news-head { padding: 24px 48px 24px 0; position: sticky; top: calc(var(--cw-head, 120px) + 24px); }
.cw-news-title span { display: block; }
.cw-news-title { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.12; }
.cw-news-list { list-style: none; margin: 0; padding: clamp(28px, 4vw, 60px); background: #f5ede1; }
.cw-news-list > li { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid #ddd0bc; }
.cw-news-list > li:first-child { padding-top: 0; }
.cw-news-list > li:last-child { border-bottom: 0; padding-bottom: 0; }
.cw-news-date { font: 700 15px/1.6 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); }
.cw-news-list h3 { margin: 0 0 10px; font: 700 clamp(24px, 2.4vw, 32px)/1.2 var(--serif); color: #33291f; }
.cw-news-list p { margin: 0; color: #6b5d50; font-size: 17px; line-height: 1.7; }
.cw-news-note p { font-size: 14.5px; color: #7a7f86; }

@media (max-width: 1180px) {
	.cw-pcs { grid-template-columns: repeat(2, 1fr); }
	.cw-news { grid-template-columns: 1fr; }
	.cw-news-head { position: static; padding: 0 0 24px; }
}
@media (max-width: 700px) {
	.cw-pcs { grid-template-columns: 1fr; gap: 20px; }
	.cw-pc-body { padding: 22px; }
	.cw-att-wide { grid-template-columns: 1fr; }
	.cw-att-wide img { min-height: 0; aspect-ratio: 4 / 5; max-height: 460px; }
	.cw-att-wide-b { border-left: 0; border-top: 4px solid var(--gold); }
	.cw-news-list { padding: 22px; margin: 0 -18px; }
	.cw-news-list > li { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
}

@media (min-width: 1181px) {
	.cw-menu > li > a, .cw-menu > li > .cw-sub-toggle { color: #fff; }
	.cw-menu > li > a:hover, .cw-menu > li.is-current > a { color: var(--gold-on-deep); }
}

/* Practice card bullets, article "Read now" */
.cw-pc-list li { position: relative; padding-left: 18px; border-top: 0 !important; border-bottom: 0 !important; padding-top: 6px; padding-bottom: 6px; }
.cw-pc-list li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 6px; height: 6px; border-radius: 50%; background: #8a6424; }
.cw-post { display: flex; flex-direction: column; }
.cw-post-more { margin-top: auto; padding-top: 12px; }

/* Keep the logo + navigation bar fully visible while scrolling, also when the WordPress admin bar is shown */
.admin-bar .cw-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .cw-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .cw-header { top: 0; } }
html { scroll-padding-top: calc(var(--cw-head, 120px) + 12px); }
.cw-top-wx { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.cw-top-wx:hover, .cw-top-wx:focus-visible { color: var(--gold-on-deep); text-decoration: underline; }
@media (max-width: 1000px) { .cw-top-addr { display: none; } .cw-topbar-in { justify-content: flex-end; } }
@media (max-width: 700px) { .cw-topbar-in { justify-content: center; } .cw-top-links { gap: 12px; font-size: 13px; } }
@media (max-width: 440px) { .cw-top-wx { display: none; } }

/* Logo: firm emblem overlaid on the left of the wordmark (the wordmark leaves room for it) */
.cw-logo-lockup { position: relative; display: inline-block; line-height: 0; }
.cw-logo-lockup > picture:not(.cw-logo-emblem) { display: block; }
.cw-logo-emblem { position: absolute; left: 0; top: 0; height: 100%; aspect-ratio: 1 / 1; }
.cw-logo-emblem img { display: block; width: 100%; height: 100%; }
.cw-foot-logo .cw-logo-lockup { margin-bottom: 18px; }
.cw-foot-logo .cw-logo-img { margin-bottom: 0; }
.cw-foot-logo .cw-logo-emblem img { height: 100%; margin: 0; }
/* Booking card: no empty band above the title, keep inner padding */
.cw-prose .cwt-book-wrap { padding: 28px clamp(18px, 4vw, 40px) 32px; }
.cw-prose .cwt-book-wrap > h2:first-child, .cw-prose .cwt-block > h2:first-child { margin-top: 0; }
@media (max-width: 700px) { .cw-prose .cwt-book-wrap { padding: 22px 16px 24px; } }
.cw-btn-grace { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--navy); border: 0; padding-left: 8px; cursor: pointer; }
.cw-btn-grace img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-on-deep); }
.cw-btn-grace:hover { background: var(--ivory); }
.cw-contact-band .cw-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.cwt-qa summary h3, .cw-prose .cwt-qa summary h3 { margin: 0; padding: 0; }
.cw-prose .cwt-qa summary h3::before { display: none; }

/* Homepage banner: the firm's harbor & global-routes photo, white text on a navy fade */
.cw-hero { background: #0f2c4c; color: #fff; }
.cw-hero-bg img { object-position: 62% 40%; }
.cw-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8, 26, 48, .9) 0%, rgba(8, 26, 48, .78) 34%, rgba(8, 26, 48, .35) 58%, rgba(8, 26, 48, 0) 78%), linear-gradient(0deg, rgba(8, 26, 48, .4) 0%, rgba(8, 26, 48, 0) 40%); pointer-events: none; }
.cw-hero-in { z-index: 2; }
.cw-hero-sub { max-width: 32em; }
.cw-hero-eyebrow { color: var(--gold-on-deep); }
.cw-hero h1 { color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.cw-hero-em { color: var(--gold-on-deep); }
.cw-hero-sub { color: #e8eef5; text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
@media (max-width: 1180px) {
	.cw-hero::after { display: none; }
	.cw-hero::before { background: linear-gradient(180deg, rgba(8, 26, 48, .82) 0%, rgba(8, 26, 48, .7) 60%, rgba(8, 26, 48, .45) 100%); }
	.cw-hero-bg img { object-position: 70% 50%; }
}

/* Header: Client Portal button, always visible next to Book */
.cw-btn-portal { background: transparent; color: #fff !important; border-color: var(--gold-on-deep); padding: 0 18px; }
.cw-btn-portal svg { flex: none; }
.cw-btn-portal:hover, .cw-btn-portal:focus-visible { background: rgba(230, 201, 142, .16); }
@media (min-width: 1181px) and (max-width: 1560px) {
	.cw-header-in { gap: 18px; }
	.cw-menu { gap: 0; }
	.cw-menu > li > a { padding-left: 9px; padding-right: 9px; }
	.cw-nav-cta .cw-btn { padding: 0 16px; font-size: 15px; }
}
@media (max-width: 1180px) {
	.cw-nav .cw-btn-portal { color: var(--navy) !important; border-color: var(--navy); order: -1; }
}

/* Initial inquiry band (Grace) */
.cw-inquiry { background: var(--ivory); border-top: 1px solid var(--line); padding: clamp(48px, 7vw, 88px) 0; }
.cw-inquiry-in { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.cw-inquiry-photo img { display: block; width: clamp(150px, 18vw, 230px); height: auto; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover; border: 5px solid #c8a462; box-shadow: 0 24px 48px -24px rgba(19, 41, 75, .45); }
.cw-inquiry .cw-h2 { margin: 6px 0 14px; }
.cw-inquiry-lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.7; color: var(--muted); max-width: 44em; margin: 0 0 26px; }
.cw-inquiry-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }
.cw-btn-outline { background: transparent; color: var(--navy) !important; border-color: var(--navy); }
.cw-btn-outline:hover { background: var(--navy); color: #fff !important; }
@media (max-width: 700px) {
	.cw-inquiry-in { grid-template-columns: 1fr; justify-items: center; text-align: center; }
	.cw-inquiry-cta { justify-content: center; }
	.cw-inquiry-cta .cw-btn { width: 100%; }
}
@media (min-width: 1181px) and (max-width: 1320px) {
	.cw-logo-img { height: 50px; }
	.cw-menu > li > a { font-size: 15px; padding-left: 7px; padding-right: 7px; }
	.cw-nav-cta { gap: 8px; }
	.cw-nav-cta .cw-btn { padding: 0 13px; font-size: 14.5px; }
	.cw-btn-portal svg { display: none; }
}

/* Scope of practice: courthouse colonnade over the harbor, fading into ivory behind the cards */
.cw-prac-sec { position: relative; background: #f6f3ec; isolation: isolate; }
.cw-prac-sec::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: max(340px, 33.33vw); background-image: radial-gradient(ellipse 46% 42% at 50% 46%, rgba(246, 243, 236, .78) 0%, rgba(246, 243, 236, 0) 100%), linear-gradient(180deg, rgba(246, 243, 236, 0) 52%, rgba(246, 243, 236, .85) 82%, #f6f3ec 100%), url(../img/scope-bg.jpg); background-image: radial-gradient(ellipse 46% 42% at 50% 46%, rgba(246, 243, 236, .78) 0%, rgba(246, 243, 236, 0) 100%), linear-gradient(180deg, rgba(246, 243, 236, 0) 52%, rgba(246, 243, 236, .85) 82%, #f6f3ec 100%), image-set(url(../img/scope-bg.webp) type("image/webp"), url(../img/scope-bg.jpg) type("image/jpeg")); background-size: cover; background-position: 70% top; background-repeat: no-repeat; }
.cw-prac-sec .cw-sec-head { padding-top: clamp(10px, 4vw, 70px); }
.cw-prac-sec .cw-sec-head .cw-h2 { text-shadow: 0 1px 18px rgba(255, 255, 255, .9); }
.cw-prac-sec .cw-sec-head .cw-eyebrow, .cw-prac-sec .cw-sec-head .cw-lede { text-shadow: 0 0 10px rgba(255, 255, 255, 1), 0 1px 14px rgba(255, 255, 255, .95); color: #1e3048; }
.cw-prac-sec .cw-pc { box-shadow: 0 18px 40px -28px rgba(19, 41, 75, .45); }
@media (max-width: 900px) {
	.cw-prac-sec::before { background-image: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(246, 243, 236, .75) 0%, rgba(246, 243, 236, 0) 100%), linear-gradient(180deg, rgba(246, 243, 236, 0) 45%, #f6f3ec 100%), url(../img/scope-bg-1200.jpg); background-position: 88% top; }
}

/* About page header — bridge background */
.cw-pagehero-photo { min-height: max(340px, 30vw); display: flex; align-items: center; border-bottom: 0; background-color: #dfe6ee; background-image: linear-gradient(90deg, rgba(240, 244, 248, .6) 0%, rgba(240, 244, 248, .35) 55%, rgba(240, 244, 248, 0) 75%), url(../img/firm-bg.jpg); background-image: linear-gradient(90deg, rgba(240, 244, 248, .6) 0%, rgba(240, 244, 248, .35) 55%, rgba(240, 244, 248, 0) 75%), image-set(url(../img/firm-bg.webp) type("image/webp"), url(../img/firm-bg.jpg) type("image/jpeg")); background-size: cover; background-position: center 45%; background-repeat: no-repeat; }
.cw-pagehero-photo > .cw-wrap { width: 100%; }
.cw-pagehero-photo h1 { color: #13294b; text-shadow: 0 1px 16px rgba(255, 255, 255, .85); text-wrap: balance; }
.cw-pagehero-photo .cw-pagehero-lead, .cw-pagehero-photo .cw-crumbs, .cw-pagehero-photo .cw-crumbs a { color: #1e3048; text-shadow: 0 0 10px rgba(255, 255, 255, .95); }
@media (max-width: 999px) { .cw-pagehero-photo { background-image: linear-gradient(180deg, rgba(240, 244, 248, .7), rgba(240, 244, 248, .55)), url(../img/firm-bg-1200.jpg); background-position: 30% 45%; } }
@media (min-width: 1000px) { .cw-pagehero-photo .cw-pagehero-text { max-width: 720px; } }
.cw-pagehero-team-bg { background-image: linear-gradient(90deg, rgba(240, 244, 248, .6) 0%, rgba(240, 244, 248, .35) 55%, rgba(240, 244, 248, 0) 72%), url(../img/team-bg.jpg); background-image: linear-gradient(90deg, rgba(240, 244, 248, .6) 0%, rgba(240, 244, 248, .35) 55%, rgba(240, 244, 248, 0) 72%), image-set(url(../img/team-bg.webp) type("image/webp"), url(../img/team-bg.jpg) type("image/jpeg")); background-position: center 50%; }
@media (max-width: 999px) { .cw-pagehero-team-bg { background-image: linear-gradient(180deg, rgba(240, 244, 248, .7), rgba(240, 244, 248, .55)), url(../img/team-bg-1200.jpg); background-position: 25% 50%; } }
.cw-pagehero-photo + .cw-wrap { padding-top: clamp(32px, 4vw, 56px); }
/* Publications header — dark library background, light text */
.cw-pagehero-pubs-bg { background-color: #1d2a3d; background-image: linear-gradient(90deg, rgba(16, 28, 46, .55) 0%, rgba(16, 28, 46, .25) 55%, rgba(16, 28, 46, 0) 75%), url(../img/pubs-bg.jpg); background-image: linear-gradient(90deg, rgba(16, 28, 46, .55) 0%, rgba(16, 28, 46, .25) 55%, rgba(16, 28, 46, 0) 75%), image-set(url(../img/pubs-bg.webp) type("image/webp"), url(../img/pubs-bg.jpg) type("image/jpeg")); background-position: center 40%; }
.cw-pagehero-pubs-bg h1 { color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.cw-pagehero-pubs-bg .cw-pagehero-lead, .cw-pagehero-pubs-bg .cw-crumbs, .cw-pagehero-pubs-bg .cw-crumbs a, .cw-pagehero-pubs-bg .cw-crumbs * { color: #e9eef5; text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.cw-pagehero-pubs-bg .cw-eyebrow { color: #e3c27a; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
@media (max-width: 999px) { .cw-pagehero-pubs-bg { background-image: linear-gradient(180deg, rgba(16, 28, 46, .6), rgba(16, 28, 46, .5)), url(../img/pubs-bg-1200.jpg); background-position: 20% 40%; } }
/* Contact header — office background (dark, light text) */
.cw-pagehero-dark h1 { color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.cw-pagehero-dark .cw-pagehero-lead, .cw-pagehero-dark .cw-crumbs, .cw-pagehero-dark .cw-crumbs a, .cw-pagehero-dark .cw-crumbs * { color: #e9eef5; text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.cw-pagehero-dark .cw-eyebrow { color: #e3c27a; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.cw-pagehero-contact-bg { background-color: #1d2a3d; background-image: linear-gradient(90deg, rgba(16, 28, 46, .55) 0%, rgba(16, 28, 46, .25) 50%, rgba(16, 28, 46, 0) 70%), url(../img/contact-bg.jpg); background-image: linear-gradient(90deg, rgba(16, 28, 46, .55) 0%, rgba(16, 28, 46, .25) 50%, rgba(16, 28, 46, 0) 70%), image-set(url(../img/contact-bg.webp) type("image/webp"), url(../img/contact-bg.jpg) type("image/jpeg")); background-position: center 40%; }
@media (max-width: 999px) { .cw-pagehero-contact-bg { background-image: linear-gradient(180deg, rgba(16, 28, 46, .6), rgba(16, 28, 46, .5)), url(../img/contact-bg-1200.jpg); background-position: 15% 40%; } }
.cw-pagehero-videos-bg { background-color: #2a3b52; background-image: linear-gradient(90deg, rgba(16, 28, 46, .5) 0%, rgba(16, 28, 46, .22) 50%, rgba(16, 28, 46, 0) 68%), url(../img/videos-bg.jpg); background-image: linear-gradient(90deg, rgba(16, 28, 46, .5) 0%, rgba(16, 28, 46, .22) 50%, rgba(16, 28, 46, 0) 68%), image-set(url(../img/videos-bg.webp) type("image/webp"), url(../img/videos-bg.jpg) type("image/jpeg")); background-position: center 40%; }
@media (max-width: 999px) { .cw-pagehero-videos-bg { background-image: linear-gradient(180deg, rgba(16, 28, 46, .6), rgba(16, 28, 46, .5)), url(../img/videos-bg-1200.jpg); background-position: 15% 40%; } }
.cw-pagehero-prac-bg { background-color: #2a3b52; background-image: linear-gradient(90deg, rgba(16, 28, 46, .5) 0%, rgba(16, 28, 46, .22) 50%, rgba(16, 28, 46, 0) 68%), url(../img/prac-bg.jpg); background-image: linear-gradient(90deg, rgba(16, 28, 46, .5) 0%, rgba(16, 28, 46, .22) 50%, rgba(16, 28, 46, 0) 68%), image-set(url(../img/prac-bg.webp) type("image/webp"), url(../img/prac-bg.jpg) type("image/jpeg")); background-position: center 45%; }
@media (max-width: 999px) { .cw-pagehero-prac-bg { background-image: linear-gradient(180deg, rgba(16, 28, 46, .6), rgba(16, 28, 46, .5)), url(../img/prac-bg-1200.jpg); background-position: 20% 45%; } }
@media (min-width: 1000px) { .cw-pagehero-prac-bg .cw-pagehero-text { max-width: 640px; } }
@media (min-width: 1000px) { .cw-pagehero-prac-bg .cw-pagehero-text { max-width: 590px; } }
