/* Kingsley Chemberlain Attorneys — stylesheet (part 1: base) */

:root {
  --navy: #152238;
  --navy-2: #1f3050;
  --gold: #b08d3e;
  --gold-dark: #97742c;
  --ink: #22304a;
  --muted: #5c6a82;
  --tint: #f6f4ef;
  --line: #e6e2d8;
  --white: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1rem; }
a { color: var(--gold-dark); text-decoration: none; }
a:hover { color: var(--navy); text-decoration: underline; }

img { max-width: 100%; display: block; }

.container { width: min(1140px, 92%); margin: 0 auto; }
/* ---------- Typography helpers ---------- */
.eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; margin-bottom: .5rem; }
.lead { font-size: 1.13rem; color: var(--muted); line-height: 1.7; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: .8rem 1.6rem; border-radius: 4px; font-weight: 600; font-size: .95rem; border: 2px solid transparent; cursor: pointer; transition: all .2s ease; text-decoration: none !important; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.65); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); color: #fff; }
.btn-outline-dark { border-color: var(--navy); color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: #fff; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.85); font-size: .83rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .45rem 0; }
.contact-strip { display: flex; gap: 1.4rem; margin: 0; list-style: none; padding: 0; }
.tel-link { color: #fff; font-weight: 600; }

/* ---------- Header / nav ---------- */
.site-header { background: #fff; position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 0 var(--line); }
.header-main { display: flex; align-items: center; justify-content: space-between; padding: .9rem 0; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none !important; }
.brand img { display: block; height: 54px; width: auto; }
.brand-light img { filter: brightness(0) invert(1); opacity: .92; }
.brand-mark { width: 46px; height: 46px; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-family: Georgia, serif; font-size: 1.05rem; font-weight: 700; border-radius: 3px; letter-spacing: .02em; }
.brand-name { font-family: Georgia, serif; color: var(--navy); font-size: 1.18rem; line-height: 1.15; }
.brand-name small { display: block; font-family: "Segoe UI", sans-serif; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-dark); margin-top: .15rem; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; color: var(--navy); font-size: 1.6rem; line-height: 1; }
.main-nav { display: flex; }
.nav-links { display: flex; list-style: none; margin: 0; padding: 0; gap: .25rem; }
.nav-links a { display: block; padding: .6rem .85rem; color: var(--ink); font-weight: 500; font-size: .95rem; border-radius: 4px; text-decoration: none !important; }
.nav-links a:hover { color: var(--navy); background: var(--tint); }
.nav-links a.is-active { color: var(--gold-dark); box-shadow: inset 0 -2px 0 var(--gold); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.hero-content { position: relative; max-width: 760px; padding: 5.5rem 0 4.5rem; }
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero .lead { color: rgba(255,255,255,.85); max-width: 60ch; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.8rem; }
.stats-row { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.18); margin-top: .5rem; padding-top: 1.6rem; gap: 1rem; }
.stat { display: flex; flex-direction: column; }
.stat .num { font-family: Georgia, serif; font-size: 1.7rem; color: var(--gold); }
.stat .label { font-size: .82rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Sections & grids ---------- */
.section { padding: 4rem 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(21,34,56,.10); }

.practice-card { display: flex; flex-direction: column; height: 100%; }
.practice-card .media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-2); }
.practice-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.practice-card:hover .media img { transform: scale(1.05); }
.practice-card .body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.practice-card h3 { margin: 0; font-size: 1.12rem; }
.practice-card p { color: var(--muted); font-size: .93rem; margin: 0; flex: 1; }

.arrow-link { font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .45rem; margin-top: auto; }
.arrow-link i { transition: transform .2s ease; }
.practice-card:hover .arrow-link i, .read-more:hover i, .related-card:hover .arrow-link i { transform: translateX(4px); }

.icon-circle { width: 44px; height: 44px; border-radius: 50%; background: rgba(176,141,62,.14); color: var(--gold-dark); display: grid; place-items: center; font-size: 1.2rem; flex: none; }

/* ---------- Steps / values ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 1.7rem 1.5rem; position: relative; }
.step-num { font-family: Georgia, serif; font-size: 2.4rem; color: rgba(176,141,62,.35); line-height: 1; margin-bottom: .8rem; }
.step h3 { font-size: 1.05rem; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

.values-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.value-card { display: flex; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 1.4rem; }
.value-card h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.value-card p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Intro / about split ---------- */
.intro-grid { align-items: start; }
.intro-media img { border-radius: 6px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.intro-copy h2 { margin-top: .5rem; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.team-card { text-align: center; padding: 2rem 1.4rem 1.6rem; height: 100%; }
.avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 1.1rem; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-family: Georgia, serif; font-size: 1.5rem; letter-spacing: .04em; }
.team-card h3 { font-size: 1.08rem; margin-bottom: .15rem; }
.team-card .role { color: var(--gold-dark); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.team-card .area { color: var(--muted); font-size: .87rem; margin-top: .5rem; }

/* ---------- Insights / articles ---------- */
.insights-grid, .related-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.article-card { display: flex; flex-direction: column; height: 100%; }
.article-card .media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-2); }
.article-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.article-card:hover .media img { transform: scale(1.05); }
.article-card .body { padding: 1.3rem 1.3rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.meta-row, .article-card .meta { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; }
.article-card h3 { font-size: 1.08rem; margin: 0; }
.article-card h3 a { color: var(--navy); text-decoration: none !important; }
.article-card h3 a:hover { color: var(--gold-dark); }
.article-card .excerpt { color: var(--muted); font-size: .92rem; margin: 0; flex: 1; }
.read-more { font-weight: 600; font-size: .9rem; display: inline-flex; gap: .45rem; align-items: center; margin-top: auto; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 3.2rem 0; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin-bottom: .4rem; }
.cta-inner p { color: rgba(255,255,255,.8); margin: 0; max-width: 52ch; }
.cta-actions { display: flex; gap: .9rem; flex-wrap: wrap; }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 3.4rem 0; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: .5rem; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 64ch; margin: 0; }
.breadcrumb { font-size: .83rem; color: rgba(255,255,255,.6); margin-bottom: 1.1rem; }
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: #fff; }

/* ---------- Practice listing rows ---------- */
.practice-listing { display: flex; flex-direction: column; gap: 1.2rem; }
.practice-row { display: grid; grid-template-columns: 260px 1fr auto; gap: 1.5rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 1.2rem 1.4rem; transition: box-shadow .2s ease, transform .2s ease; }
.practice-row:hover { box-shadow: 0 10px 24px rgba(21,34,56,.08); transform: translateY(-2px); }
.practice-row .thumb { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; background: var(--navy-2); }
.practice-row h3 { margin-bottom: .3rem; font-size: 1.15rem; }
.practice-row p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: start; }
.form-panel, .info-panel { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 1.8rem; }
.form-panel h2, .info-panel h2 { font-size: 1.35rem; margin-bottom: 1.2rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .35rem; color: var(--navy); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: .7rem .85rem; border: 1px solid #cfd4dd; border-radius: 4px; font: inherit; font-size: .95rem; background: #fff; color: var(--ink); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,141,62,.15); }
.form-group.is-invalid input, .form-group.is-invalid textarea, .form-group.is-invalid select { border-color: #c0392b; }
.error-msg { color: #c0392b; font-size: .8rem; margin-top: .3rem; display: none; }
.form-group.is-invalid .error-msg { display: block; }
.form-note { font-size: .8rem; color: var(--muted); margin: .4rem 0 1.1rem; }
.form-status { padding: .9rem 1.1rem; border-radius: 4px; font-size: .93rem; margin-bottom: 1.2rem; }
.form-status.success { background: #e8f5e9; color: #1e6b2e; border: 1px solid #bfe0c4; }
.form-status.error { background: #fdecea; color: #a33025; border: 1px solid #f2c1bb; }

.info-panel .contact-row { display: flex; gap: .9rem; align-items: flex-start; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.info-panel .contact-row:last-of-type { border-bottom: 0; }
.info-panel h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .07em; color: var(--gold-dark); margin-bottom: .2rem; font-family: "Segoe UI", sans-serif; }
.info-panel p { margin: 0; font-size: .95rem; }
.map-wrap { margin-top: 1.4rem; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.map-wrap iframe { display: block; width: 100%; height: 320px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #101a2c; color: rgba(255,255,255,.75); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding: 3.2rem 0 2.4rem; }
.site-footer .brand-name { color: #fff; }
.footer-col h3 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; font-family: "Segoe UI", sans-serif; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.footer-links a, .site-footer a { color: rgba(255,255,255,.75); text-decoration: none !important; }
.footer-links a:hover, .site-footer a:hover { color: var(--gold); }
.footer-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.footer-contact i { color: var(--gold); margin-right: .5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.2rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .83rem; color: rgba(255,255,255,.55); }
.disclaimer { font-size: .78rem; color: rgba(255,255,255,.45); max-width: 70ch; padding: 0 0 1.4rem; }

/* ---------- Article page ---------- */
.article-page { max-width: 760px; }
.article-body h2 { margin-top: 2rem; font-size: 1.45rem; }
.article-body p { color: var(--ink); font-size: 1.02rem; line-height: 1.75; }

/* ---------- Profile page ---------- */
.profile-card { max-width: 860px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2.4rem; }
.profile-top { display: flex; gap: 1.6rem; align-items: center; margin-bottom: 1.6rem; flex-wrap: wrap; }
.profile-top .avatar { width: 110px; height: 110px; font-size: 1.8rem; margin: 0; }
.profile-top h1 { font-size: 1.7rem; margin-bottom: .2rem; }
.focus-list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.focus-list li { display: flex; gap: .6rem; font-size: .95rem; }
.focus-list i { color: var(--gold-dark); margin-top: .2rem; }

.related-card .media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-2); }
.related-card .media img { width: 100%; height: 100%; object-fit: cover; }
.related-card .body { padding: 1.1rem 1.2rem 1.3rem; }
.related-card h3 { font-size: 1rem; margin-bottom: .5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .grid-3, .steps-grid, .team-grid, .insights-grid, .related-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .practice-row { grid-template-columns: 200px 1fr; }
  .practice-row .arrow-link { display: none; }
}

@media (max-width: 768px) {
  .topbar-inner { flex-direction: column; gap: .3rem; text-align: center; }
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: 0 14px 24px rgba(21,34,56,.14); border-top: 1px solid var(--line); }
  .main-nav.open { display: block; }
  .nav-links { flex-direction: column; padding: .6rem; gap: 0; }
  .nav-links a { padding: .8rem 1rem; }
  .hero-content { padding: 3.5rem 0 3rem; }
  .stats-row { grid-template-columns: 1fr; gap: .9rem; }
  .section { padding: 2.8rem 0; }
}

@media (max-width: 600px) {
  .grid-3, .steps-grid, .team-grid, .insights-grid, .related-cards, .grid-4, .values-grid, .focus-list { grid-template-columns: 1fr; }
  .practice-row { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .profile-top { flex-direction: column; text-align: center; }
}

/* ---------- Print ---------- */
@media print {
  .topbar, .site-header, .cta-band, .site-footer, .hero-actions, .map-wrap { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .hero, .page-hero { background: #fff; color: #000; }
  .hero h1, .page-hero h1, .cta-inner h2 { color: #000; }
}

/* ============================================================ */
/* Part 8 — template alignment (header, cards, insights, team,   */
/* contact forms, detail pages, footer)                          */
/* ============================================================ */

/* ---------- Skip link ---------- */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: #fff; padding: .6rem 1.1rem; z-index: 300; border-radius: 0 0 4px 0; font-weight: 600; }
.skip-link:focus { left: 0; color: #fff; text-decoration: none; }

/* ---------- Buttons (extra variants) ---------- */
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--tint); color: var(--navy); }
.btn-sm { padding: .5rem 1.05rem; font-size: .85rem; }

/* ---------- Header / navbar ---------- */
.navbar-wrap { position: relative; background: #fff; border-bottom: 1px solid var(--line); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: .8rem 0; }
.brand-text { line-height: 1.15; }
.brand-text strong { display: block; font-family: Georgia, serif; color: var(--navy); font-size: 1.12rem; letter-spacing: .01em; }
.brand-text small { display: block; font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-dark); margin-top: .15rem; font-weight: 600; }

.primary-nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: .25rem; }
.primary-nav a { display: block; padding: .6rem .85rem; color: var(--ink); font-weight: 500; font-size: .95rem; border-radius: 4px; text-decoration: none !important; }
.primary-nav a:hover { color: var(--navy); background: var(--tint); }
.primary-nav a[aria-current="page"] { color: var(--gold-dark); box-shadow: inset 0 -2px 0 var(--gold); }

.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero-inner { position: relative; }
.hero-copy { max-width: 760px; padding: 5.2rem 0 4.2rem; position: relative; }
.hero h1 span { color: var(--gold); }
.hero-points { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .55rem; }
.hero-points li { display: flex; gap: .6rem; align-items: center; color: rgba(255,255,255,.88); font-size: .97rem; }
.hero-points i { color: var(--gold); }

/* ---------- Card grids (cards-grid / cards-2 / cards-3) ---------- */
.cards-grid { display: grid; gap: 1.5rem; }
.cards-grid.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-grid.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.area-card { padding: 1.6rem 1.5rem 1.7rem; display: flex; flex-direction: column; gap: .6rem; height: 100%; }
.area-card h3 { font-size: 1.12rem; margin: 0; }
.area-card h3 a { color: var(--navy); text-decoration: none !important; }
.area-card h3 a:hover { color: var(--gold-dark); }
.area-card p { color: var(--muted); font-size: .93rem; margin: 0; flex: 1; }

.card-icon { width: 46px; height: 46px; border-radius: 50%; background: rgba(176,141,62,.14); color: var(--gold-dark); display: grid; place-items: center; font-size: 1.25rem; flex: none; }

.card-link { font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .45rem; color: var(--gold-dark); text-decoration: none !important; margin-top: auto; }
.card-link:hover { color: var(--navy); }
.card-link i { transition: transform .2s ease; }
.card-link:hover i { transform: translateX(4px); }

/* Article cards in grids (direct <img> + .article-body) */
.article-card > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--navy-2); }
.article-body { padding: 1.3rem 1.3rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.article-meta { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; margin: 0; }
.tag { display: inline-block; background: rgba(176,141,62,.14); color: var(--gold-dark); font-weight: 600; padding: .1rem .55rem; border-radius: 3px; font-size: .74rem; letter-spacing: .05em; }
.article-body h3 { font-size: 1.08rem; margin: 0; }
.article-body h3 a { color: var(--navy); text-decoration: none !important; }
.article-body h3 a:hover { color: var(--gold-dark); }
.article-body p:not(.article-meta) { color: var(--muted); font-size: .92rem; margin: 0; flex: 1; }

/* ---------- Steps (home "How We Work") ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 1.7rem 1.5rem; }

/* ---------- Insights page layout ---------- */
.insights-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.insights-sidebar { background: var(--tint); border: 1px solid var(--line); border-radius: 6px; padding: 1.4rem 1.3rem; position: sticky; top: 96px; }
.insights-sidebar h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .9rem; font-family: "Segoe UI", sans-serif; }
.cat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .2rem; }
.cat-list a { display: block; padding: .5rem .7rem; border-radius: 4px; color: var(--ink); font-size: .92rem; text-decoration: none !important; }
.cat-list a:hover { background: #fff; color: var(--navy); }
.cat-list a.active { background: var(--navy); color: #fff; }
.insights-list .is-hidden { display: none; }

/* ---------- Team ---------- */
.member-card { padding: 2rem 1.4rem 1.6rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .35rem; height: 100%; }
.member-avatar { width: 92px; height: 92px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-family: Georgia, serif; font-size: 1.6rem; letter-spacing: .04em; margin-bottom: .8rem; flex: none; }
.member-avatar-lg { width: 104px; height: 104px; font-size: 1.9rem; margin-bottom: 0; }
.member-card h3 { font-size: 1.08rem; margin: 0; }
.member-title { color: var(--gold-dark); font-weight: 600; font-size: .84rem; text-transform: uppercase; letter-spacing: .06em; margin: 0; }
.member-area { color: var(--muted); font-size: .87rem; margin: .35rem 0 .6rem; }
.member-area i { color: var(--gold-dark); margin-right: .3rem; }
.member-profile-head { display: flex; gap: 1.4rem; align-items: center; margin-bottom: 1.8rem; flex-wrap: wrap; }
.member-profile-head h1 { font-size: 1.75rem; margin-bottom: .25rem; }

/* ---------- Contact page ---------- */
.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2rem; }
.contact-form-wrap h2 { font-size: 1.4rem; margin-bottom: .5rem; }
.muted { color: var(--muted); font-size: .92rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .35rem; color: var(--navy); }
.form-field input, .form-field textarea { width: 100%; padding: .7rem .85rem; border: 1px solid #cfd4dd; border-radius: 4px; font: inherit; font-size: .95rem; background: #fff; color: var(--ink); }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,141,62,.15); }
.form-privacy { font-size: .8rem; color: var(--muted); margin: .2rem 0 1.2rem; }
.form-privacy i { color: var(--gold-dark); margin-right: .35rem; }

.alert { padding: 1rem 1.2rem; border-radius: 4px; font-size: .95rem; margin-bottom: 1.4rem; }
.alert ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.alert-success { background: #e8f5e9; color: #1e6b2e; border: 1px solid #bfe0c4; }
.alert-error { background: #fdecea; color: #a33025; border: 1px solid #f2c1bb; }

.contact-aside { display: grid; gap: 1.2rem; align-content: start; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 1.4rem 1.5rem; }
.aside-card h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .09em; color: var(--gold-dark); margin-bottom: .5rem; font-family: "Segoe UI", sans-serif; }
.aside-card p { margin: 0 0 .4rem; font-size: .95rem; }

/* ---------- Detail pages (service / article / team profile) ---------- */
.page-hero-img { background-size: cover; background-position: center; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2.5rem; align-items: start; }
.detail-side { position: sticky; top: 96px; display: grid; gap: 1.2rem; }
.side-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.side-list a { color: var(--navy); font-weight: 500; font-size: .93rem; text-decoration: none !important; }
.side-list a:hover { color: var(--gold-dark); }

.prose h2 { margin-top: 2.1rem; font-size: 1.4rem; }
.prose p { font-size: 1.01rem; line-height: 1.75; }
.tick-list { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .6rem; }
.tick-list li { position: relative; padding-left: 1.9rem; font-size: .98rem; }
.tick-list li::before { content: "\F26A"; font-family: "bootstrap-icons"; color: var(--gold-dark); position: absolute; left: 0; top: .05rem; }

.callout { display: flex; gap: .9rem; background: var(--tint); border-left: 3px solid var(--gold); border-radius: 4px; padding: 1.1rem 1.3rem; margin: 1.8rem 0; font-size: .95rem; }
.callout i { color: var(--gold-dark); font-size: 1.15rem; flex: none; margin-top: .1rem; }
.callout a { color: var(--gold-dark); text-decoration: underline; }

.cta-inline { background: var(--navy); color: #fff; border-radius: 6px; padding: 1.8rem 1.7rem; margin-top: 2.2rem; }
.cta-inline h3 { color: #fff; font-size: 1.25rem; margin-bottom: .4rem; }
.cta-inline p { color: rgba(255,255,255,.8); margin: 0 0 1.2rem; }

/* ---------- Footer (extra) ---------- */
.brand-light .brand-text strong { color: #fff; }
.footer-about p { font-size: .92rem; }
.footer-note { font-size: .8rem; color: rgba(255,255,255,.45); margin-top: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.footer-col address { font-style: normal; display: grid; gap: .6rem; margin: 0; }
.footer-col address i { color: var(--gold); margin-right: .5rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; }
.footer-legal { max-width: 62ch; font-size: .78rem; color: rgba(255,255,255,.45); margin: 0; }

/* ---------- Responsive (template alignment) ---------- */
@media (max-width: 992px) {
  .cards-grid.cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .insights-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 1.8rem; }
}

@media (max-width: 768px) {
  .navbar-inner { flex-wrap: wrap; row-gap: .4rem; }
  .primary-nav { display: none; width: 100%; order: 5; padding-bottom: .9rem; border-top: 1px solid var(--line); margin-top: .3rem; }
  .primary-nav.open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav a { padding: .8rem 1rem; border-radius: 0; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 3.5rem 0 3rem; }
  .contact-form-wrap { padding: 1.4rem; }
}

@media (max-width: 600px) {
  .cards-grid.cards-2, .cards-grid.cards-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .insights-layout { grid-template-columns: 1fr; }
  .insights-sidebar { position: static; }
}

/* ---------- Top bar sub-elements ---------- */
.topbar-contacts { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.topbar-contacts a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar-sep { opacity: .35; }
.topbar-cta { display: flex; align-items: center; }

/* ---------- Practice area card body ---------- */
.area-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.area-body { padding: 1.3rem 1.3rem 1.5rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }

/* ---------- Footer practice areas list ---------- */
.footer-areas { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
