/* Inter, served from this site (variable font, weights 400 to 700, optical sizes 14 to 32).
   Files are the latin and latin-ext subsets of the Google Fonts build; the browser fetches only the one it needs. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   KMM TAX GROUP  |  shared stylesheet
   Corporate design system for the multi-page static site.
   Palette is drawn from the logo (evergreen + brass) and set on
   white, with one cool-neutral tint for alternating sections.
   ============================================================ */

:root {
  --green-900: #082a19;
  --green-800: #0b3320;
  --green-700: #0f3d24;   /* brand green (logo) */
  --green-600: #17532f;
  --green-100: #e6efe9;
  --green-50:  #f1f6f2;

  --brass:      #b3924f;  /* logo rule / dots */
  --brass-700:  #8a6b2f;  /* AA-safe brass for small text on white */
  --brass-100:  #f3ecdc;

  --ink:      #171c19;
  --text:     #262c29;
  --muted:    #58615c;
  --faint:    #69716c;
  --line:     #d9dedb;
  --line-soft:#e9ecea;
  --tint:     #f4f6f5;
  --white:    #ffffff;

  /* division accents */
  --muskat:      #8a6b2f;
  --mirsky:      #1f5a52;
  --realestate:  #8c4a30;

  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --sans:  "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;

  --maxw: 1240px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --radius: 3px;
  --nav-h: 76px;
  --topbar-h: 38px;
  --shadow: 0 18px 40px rgba(8, 42, 25, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--green-700); color: #fff; }
:focus-visible { outline: 2px solid var(--green-600); outline-offset: 3px; }

h1, h2, .display { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.012em; color: var(--ink); }
h3, h4, h5 { font-family: var(--sans); font-weight: 600; line-height: 1.3; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p  { max-width: 68ch; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.narrow { max-width: 820px; }

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-700);
  margin-bottom: 0.9rem;
}
.kicker--light { color: var(--brass); }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--muted); line-height: 1.55; }
.muted { color: var(--muted); }
.placeholder { color: var(--brass-700); font-style: italic; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--green-700); color: #fff; padding: 0.6rem 1rem; z-index: 2000; }
.skip-link:focus { left: 0; }

/* ---------------- BUTTONS ---------------- */
.btn, .btn-outline, .btn-light, .btn-text {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--sans); font-size: 0.95rem; font-weight: 600; line-height: 1;
  padding: 0.95rem 1.5rem; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.btn:hover { background: var(--green-800); border-color: var(--green-800); }
.btn-outline { background: transparent; color: var(--green-700); border-color: var(--green-700); }
.btn-outline:hover { background: var(--green-50); }
.btn-light { background: #fff; color: var(--green-800); border-color: #fff; }
.btn-light:hover { background: var(--green-100); border-color: var(--green-100); }
.btn-brass { background: var(--brass); color: var(--ink); border-color: var(--brass); }
.btn-brass:hover { background: #c4a35f; border-color: #c4a35f; }
.btn-text { padding: 0.4rem 0; color: var(--green-700); border: none; border-bottom: 1px solid transparent; border-radius: 0; }
.btn-text:hover { border-bottom-color: currentColor; }
.btn svg, .btn-outline svg, .btn-light svg, .btn-text svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn[disabled], .is-disabled { opacity: 0.55; cursor: not-allowed; pointer-events: none; }
.arrow-link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; color: var(--green-700); }
.arrow-link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.arrow-link:hover svg { transform: translateX(3px); }
.on-dark .arrow-link { color: #fff; }

/* ---------------- TOP UTILITY BAR ---------------- */
.topbar { background: var(--green-900); color: rgba(255,255,255,0.82); font-size: 0.8rem; height: var(--topbar-h); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1rem; }
.topbar-firms { display: flex; align-items: center; gap: 1.4rem; }
.topbar-firms .label { color: rgba(255,255,255,0.5); }
.topbar a { transition: color 0.15s ease; }
.topbar a:hover { color: #fff; }
.topbar-right { display: flex; align-items: center; gap: 1.4rem; }
.topbar-right a svg { width: 13px; height: 13px; display: inline-block; vertical-align: -2px; margin-right: 0.35rem; }

/* ---------------- MAIN NAV ---------------- */
header.nav { position: sticky; top: 0; z-index: 500; background: #fff; border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 1.5rem; }

.logo { display: inline-flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.logo-dots { display: flex; flex-direction: column; gap: 4px; }
.logo-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); display: block; }
.logo-type { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--serif); font-weight: 700; font-size: 1.7rem; line-height: 0.9; letter-spacing: 0.01em; color: var(--green-700); }
.logo-rule { height: 2px; background: var(--brass); width: 100%; margin: 4px 0; }
.logo-sub { font-family: var(--sans); font-weight: 600; font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--green-700); }
.logo--light .logo-name, .logo--light .logo-sub { color: #fff; }

.nav-main { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; }
.nav-main > li { list-style: none; position: relative; }
.nav-main > li > a, .nav-main > li > button {
  display: inline-flex; align-items: center; gap: 0.35rem; white-space: nowrap;
  padding: 0.6rem 0.85rem; font-size: 0.95rem; font-weight: 500; color: var(--text);
  background: none; border: none; cursor: pointer; border-radius: var(--radius);
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-main > li > a:hover, .nav-main > li > button:hover, .nav-main > li.open > button, .nav-main > li > a.active { color: var(--green-700); background: var(--green-50); }
.nav-main > li > button svg { width: 16px; height: 16px; flex-shrink: 0; }
.nav-main .caret { width: 12px !important; height: 12px !important; transition: transform 0.2s ease; }
.nav-main > li.open .caret { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.nav-contact-sm { display: none; font-size: 0.9rem; font-weight: 600; color: var(--green-700); padding: 0.6rem 0.7rem; }
.topbar-phone { font-weight: 600; color: #fff; }
.nav-actions .btn { padding: 0.75rem 1.2rem; font-size: 0.9rem; }

/* dropdown (client login) */
.dropdown { position: absolute; top: calc(100% + 10px); right: 0; min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 0.5rem; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s; z-index: 600; }
li.open > .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: flex; flex-direction: column; gap: 0.1rem; padding: 0.7rem 0.85rem; border-radius: var(--radius); font-size: 0.95rem; font-weight: 500; color: var(--ink); }
.dropdown a:hover { background: var(--tint); }
.dropdown a small { font-size: 0.78rem; font-weight: 400; color: var(--muted); }
.dropdown a.is-disabled { pointer-events: none; opacity: 0.55; }

/* mega menu (services) */
.mega { position: absolute; left: 50%; transform: translate(-50%, -6px); top: calc(100% + 10px); width: min(1100px, calc(100vw - 2rem)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s; z-index: 600; }
li.open > .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 0.85fr; }
.mega-col { padding: 1.6rem 1.5rem; border-right: 1px solid var(--line-soft); }
.mega-col:last-child { border-right: none; background: var(--tint); }
.mega-col .mega-title { display: block; font-weight: 600; color: var(--ink); font-size: 1rem; margin-bottom: 0.15rem; }
.mega-col .mega-title:hover { color: var(--green-700); }
.mega-col .mega-sub { font-size: 0.8rem; color: var(--muted); display: block; margin-bottom: 0.9rem; padding-bottom: 0.9rem; border-bottom: 2px solid var(--accent, var(--brass)); }
.mega-col ul { list-style: none; }
.mega-col li a { display: block; padding: 0.32rem 0; font-size: 0.9rem; color: var(--text); }
.mega-col li a:hover { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.mega-col[data-accent="muskat"] { --accent: var(--muskat); }
.mega-col[data-accent="mirsky"] { --accent: var(--mirsky); }
.mega-col[data-accent="realestate"] { --accent: var(--realestate); }
.mega-col .mega-links a { display: flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0; font-weight: 500; font-size: 0.9rem; }
.mega-col .mega-links a svg { width: 16px; height: 16px; color: var(--brass-700); }

.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- HERO (home) ---------------- */
.hero { background: var(--green-800); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(to bottom, transparent 0 39px, rgba(255,255,255,0.05) 39px 40px); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.25fr 0.85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 5.2vw, 4.2rem); max-width: 13ch; letter-spacing: -0.02em; }
.hero .lede { color: rgba(255,255,255,0.78); margin-top: 1.4rem; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem; margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,0.18); font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.hero-meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-meta svg { width: 15px; height: 15px; color: var(--brass); }

.quick-panel { background: #fff; color: var(--text); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.quick-panel .qp-head { padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.quick-panel .qp-title { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.quick-panel .qp-list { list-style: none; }
.quick-panel .qp-list li { border-bottom: 1px solid var(--line-soft); }
.quick-panel .qp-list li:last-child { border-bottom: none; }
.quick-panel .qp-list a { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 0.9rem; padding: 0.95rem 1.4rem; transition: background-color 0.15s ease; }
.quick-panel .qp-list a:hover { background: var(--tint); }
.quick-panel .qp-icon { width: 40px; height: 40px; border-radius: var(--radius); background: var(--green-50); color: var(--green-700); display: grid; place-items: center; }
.quick-panel .qp-icon svg { width: 20px; height: 20px; }
.quick-panel .qp-text { display: flex; flex-direction: column; }
.quick-panel .qp-text strong { font-weight: 600; color: var(--ink); font-size: 0.98rem; }
.quick-panel .qp-text span { font-size: 0.82rem; color: var(--muted); }
.quick-panel .qp-go { width: 16px; height: 16px; color: var(--faint); }
.quick-panel .qp-foot { background: var(--tint); padding: 0.8rem 1.4rem; font-size: 0.82rem; color: var(--muted); }

/* ---------------- SECTIONS ---------------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--green-800); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255,255,255,0.78); }
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1.5rem 3rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--muted); max-width: 56ch; margin-top: 0.8rem; }
.section-head .section-cta { padding-bottom: 0.3rem; }

/* divisions band */
.divisions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.division-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent, var(--brass)); border-radius: var(--radius); padding: 1.8rem 1.8rem 1.6rem; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.division-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.division-card .dc-tag { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent, var(--brass-700)); }
.division-card h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin: 0.5rem 0 0.4rem; }
.division-card .dc-focus { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.2rem; }
.division-card ul { list-style: none; border-top: 1px solid var(--line-soft); margin-bottom: 1.4rem; }
.division-card li { padding: 0.55rem 0; border-bottom: 1px solid var(--line-soft); font-size: 0.93rem; display: flex; gap: 0.6rem; align-items: baseline; }
.division-card li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent, var(--brass)); flex-shrink: 0; transform: translateY(-2px); }
.division-card .arrow-link { margin-top: auto; }
[data-accent="muskat"] { --accent: var(--muskat); }
[data-accent="mirsky"] { --accent: var(--mirsky); }
[data-accent="realestate"] { --accent: var(--realestate); }

/* approach / values */
.approach { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.approach-list { list-style: none; counter-reset: ap; }
.approach-list li { counter-increment: ap; display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.approach-list li:last-child { border-bottom: 1px solid var(--line); }
.approach-list li::before { content: counter(ap, decimal-leading-zero); font-family: var(--serif); font-size: 1.5rem; color: var(--brass-700); line-height: 1; padding-top: 0.15rem; }
.approach-list h3 { font-size: 1.12rem; margin-bottom: 0.35rem; }
.approach-list p { color: var(--muted); font-size: 0.96rem; }
.section--dark .approach-list li { border-color: rgba(255,255,255,0.16); }
.section--dark .approach-list li::before { color: var(--brass); }

/* credentials strip */
.cred-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.cred-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.cred-item { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1.5rem 1.5rem 1.5rem 0; border-right: 1px solid var(--line-soft); margin-right: 1.5rem; }
.cred-item:last-child { border-right: none; margin-right: 0; }
.cred-item svg { width: 24px; height: 24px; color: var(--green-700); flex-shrink: 0; margin-top: 0.15rem; }
.cred-item strong { display: block; font-size: 0.95rem; color: var(--ink); }
.cred-item span { font-size: 0.85rem; color: var(--muted); }

/* industries */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.industry { display: flex; flex-direction: column; gap: 0.8rem; padding: 1.4rem 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.industry:hover { border-color: var(--green-600); box-shadow: 0 8px 20px rgba(8,42,25,0.06); }
.industry svg { width: 26px; height: 26px; color: var(--green-700); }
.industry strong { font-size: 0.98rem; color: var(--ink); font-weight: 600; }
.industry span { font-size: 0.85rem; color: var(--muted); }
.industry-grid--detail { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.industry-grid--detail .industry { padding: 1.8rem 1.6rem; }
.industry-grid--detail .industry p { font-size: 0.93rem; color: var(--muted); }
.industry .serves { margin-top: auto; padding-top: 0.8rem; border-top: 1px solid var(--line-soft); font-size: 0.8rem; color: var(--faint); }
.industry .serves a { color: var(--green-700); font-weight: 500; }

/* deadlines widget */
.deadline-list { list-style: none; border-top: 1px solid var(--line); }
.deadline-list li { display: grid; grid-template-columns: 6.5rem 1fr auto; gap: 1.2rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.deadline-list .dl-date { display: flex; flex-direction: column; line-height: 1.1; }
.deadline-list .dl-date b { font-family: var(--serif); font-size: 1.65rem; font-weight: 600; color: var(--green-700); }
.deadline-list .dl-date small { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 0.15rem; }
.deadline-list .dl-what strong { display: block; font-weight: 600; color: var(--ink); font-size: 0.98rem; }
.deadline-list .dl-what span { font-size: 0.86rem; color: var(--muted); }
.deadline-list .dl-in { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brass-700); white-space: nowrap; }
.deadline-list .dl-in.soon { color: var(--realestate); }
.deadlines-side { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.deadline-note { font-size: 0.85rem; color: var(--faint); margin-top: 1rem; }

/* full calendar page */
.cal-year { margin-top: 2.5rem; }
.cal-month { display: grid; grid-template-columns: 9rem 1fr; gap: 1.5rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.cal-month h3 { font-family: var(--serif); font-size: 1.35rem; color: var(--green-700); font-weight: 600; }
.cal-month ul { list-style: none; }
.cal-month li { display: grid; grid-template-columns: 5.5rem 1fr auto; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line-soft); align-items: start; }
.cal-month li:last-child { border-bottom: none; }
.cal-month .c-date { font-weight: 600; color: var(--ink); }
.cal-month .c-what strong { display: block; font-weight: 500; }
.cal-month .c-what span { font-size: 0.86rem; color: var(--muted); }
.cal-month .c-tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.2rem 0.5rem; border-radius: 2px; background: var(--green-50); color: var(--green-700); white-space: nowrap; }
.cal-month li.past { opacity: 0.5; }
.cal-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.chip { font-size: 0.85rem; font-weight: 500; padding: 0.45rem 0.9rem; border: 1px solid var(--line); border-radius: 100px; background: #fff; cursor: pointer; transition: all 0.15s ease; }
.chip:hover { border-color: var(--green-600); color: var(--green-700); }
.chip.active { background: var(--green-700); color: #fff; border-color: var(--green-700); }

/* insights */
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.insight { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.insight:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.insight .in-band { height: 6px; background: var(--accent, var(--brass)); }
.insight .in-body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.insight .in-cat { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent, var(--brass-700)); }
.insight h3 { font-family: var(--serif); font-size: 1.32rem; font-weight: 600; margin: 0.6rem 0 0.6rem; line-height: 1.25; }
.insight p { font-size: 0.93rem; color: var(--muted); flex: 1; }
.insight .in-foot { margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid var(--line-soft); font-size: 0.82rem; color: var(--faint); display: flex; justify-content: space-between; }
.insight .in-foot b { color: var(--green-700); font-weight: 600; }
.insight.is-hidden { display: none; }
.insight--feature { grid-column: span 3; display: grid; grid-template-columns: 1fr 1fr; }
.insight--feature .in-band { display: none; }
.insight--feature .in-visual { background: var(--green-800); color: #fff; padding: 2.5rem; display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px; position: relative; overflow: hidden; }
.insight--feature .in-visual::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(to bottom, transparent 0 39px, rgba(255,255,255,0.06) 39px 40px); }
.insight--feature .in-visual span { position: relative; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); }
.insight--feature .in-visual strong { position: relative; font-family: var(--serif); font-size: 1.9rem; font-weight: 600; line-height: 1.15; margin-top: 0.5rem; }
.insight--feature .in-body { padding: 2.5rem; }

/* division finder */
.finder { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: grid; grid-template-columns: 0.8fr 1.2fr; overflow: hidden; }
.finder-intro { padding: 2.5rem; background: var(--green-800); color: #fff; }
.finder-intro h2 { color: #fff; }
.finder-intro p { color: rgba(255,255,255,0.75); margin-top: 0.9rem; font-size: 0.98rem; }
.finder-body { padding: 2.5rem; }
.finder-q { display: none; }
.finder-q.active { display: block; }
.finder-q h3 { font-size: 1.2rem; margin-bottom: 1.2rem; }
.finder-q .q-num { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-700); font-weight: 600; margin-bottom: 0.6rem; display: block; }
.finder-opts { display: grid; gap: 0.6rem; }
.finder-opts button { text-align: left; padding: 0.95rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; font-size: 0.97rem; transition: all 0.15s ease; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.finder-opts button:hover { border-color: var(--green-600); background: var(--green-50); color: var(--green-800); }
.finder-opts button svg { width: 16px; height: 16px; color: var(--faint); flex-shrink: 0; }
.finder-result { display: none; }
.finder-result.active { display: block; }
.finder-result .fr-tag { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-700); font-weight: 600; }
.finder-result h3 { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; margin: 0.5rem 0 0.6rem; }
.finder-result p { color: var(--muted); }
.finder-result .fr-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }
.finder-back { margin-top: 1.2rem; font-size: 0.88rem; color: var(--muted); background: none; border: none; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.finder-progress { display: flex; gap: 0.35rem; margin-bottom: 1.6rem; }
.finder-progress i { height: 3px; flex: 1; background: var(--line); border-radius: 2px; }
.finder-progress i.done { background: var(--green-700); }

/* message a department */
.dept-band { background: var(--green-800); color: #fff; }
.dept-band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.dept-band h2 { color: #fff; }
.dept-band p { color: rgba(255,255,255,0.75); margin-top: 0.9rem; }
.dept-form { background: #fff; color: var(--text); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.dept-form label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--muted); margin-bottom: 0.45rem; }
.dept-form .row { display: flex; gap: 0.7rem; }
.dept-form .row .btn { flex-shrink: 0; }
.dept-form small { display: block; font-size: 0.8rem; color: var(--faint); margin-top: 0.9rem; }
.dept-form .dept-desc { font-size: 0.9rem; color: var(--muted); margin-top: 0.9rem; min-height: 1.4em; }

/* CTA band */
.cta-band { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.cta-band h2 { max-width: 22ch; }
.cta-band p { color: var(--muted); margin-top: 0.5rem; }
.cta-band .cta-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.cta-band--dark { background: var(--green-800); border: none; color: #fff; }
.cta-band--dark h2 { color: #fff; }
.cta-band--dark p { color: rgba(255,255,255,0.75); }

/* ---------------- PAGE HEADERS (interior) ---------------- */
.page-head { background: var(--green-800); color: #fff; position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(to bottom, transparent 0 39px, rgba(255,255,255,0.05) 39px 40px); pointer-events: none; }
.page-head .wrap { position: relative; padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.page-head h1 { color: #fff; max-width: 18ch; }
.page-head .lede { color: rgba(255,255,255,0.78); margin-top: 1.2rem; max-width: 60ch; }
.page-head .kicker { color: var(--brass); }
.page-head--accent { border-top: 6px solid var(--accent, var(--brass)); }
.page-head .actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.8rem; }
.page-head .btn-light { color: var(--green-800); }
.page-head--light { background: #fff; color: var(--text); border-bottom: 1px solid var(--line); }
.page-head--light::before { display: none; }
.page-head--light h1 { color: var(--ink); }
.page-head--light .lede { color: var(--muted); }
.page-head--light .kicker { color: var(--brass-700); }

.crumbs { font-size: 0.82rem; color: rgba(255,255,255,0.6); display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.6rem; }
.crumbs a:hover { color: #fff; }
.crumbs .sep { color: rgba(255,255,255,0.35); }
.page-head--light .crumbs { color: var(--faint); }
.page-head--light .crumbs a:hover { color: var(--ink); }

/* ---------------- DIVISION PAGES ---------------- */
.div-layout { display: grid; grid-template-columns: 1fr 300px; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.div-intro p { font-size: 1.08rem; color: var(--text); margin-bottom: 1.1rem; }
.div-intro p strong { color: var(--ink); }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 2rem; }
.service { padding: 1.5rem 1.5rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.service .s-n { font-family: var(--serif); font-size: 1.2rem; color: var(--accent, var(--brass-700)); font-weight: 600; display: block; margin-bottom: 0.6rem; }
.service h3 { font-size: 1.08rem; margin-bottom: 0.4rem; }
.service p { font-size: 0.92rem; color: var(--muted); }
.side-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 1.2rem; overflow: hidden; }
.side-card h3 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 0.9rem 1.2rem; border-bottom: 1px solid var(--line-soft); background: var(--tint); }
.side-card .sc-body { padding: 1.2rem; display: grid; gap: 0.7rem; }
.side-card .sc-body .btn, .side-card .sc-body .btn-outline { width: 100%; }
.side-card ul { list-style: none; }
.side-card li { padding: 0.55rem 0; border-bottom: 1px solid var(--line-soft); font-size: 0.92rem; }
.side-card li:last-child { border-bottom: none; }
.side-card li a { color: var(--green-700); font-weight: 500; }
.side-card li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.side-card .sc-note { font-size: 0.82rem; color: var(--muted); }
.who-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.who-list div { padding: 1.2rem 1.3rem; background: var(--tint); border-radius: var(--radius); font-size: 0.95rem; }
.who-list strong { display: block; color: var(--ink); margin-bottom: 0.2rem; }
.who-list span { color: var(--muted); font-size: 0.88rem; }

/* services index page */
.svc-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.svc-nav { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.svc-nav ul { list-style: none; border-left: 2px solid var(--line); }
.svc-nav a { display: block; padding: 0.5rem 1rem; font-size: 0.93rem; color: var(--muted); margin-left: -2px; border-left: 2px solid transparent; }
.svc-nav a:hover, .svc-nav a.active { color: var(--green-700); border-left-color: var(--green-700); }
.svc-group { padding-top: 0.5rem; margin-bottom: 3.5rem; }
.svc-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-bottom: 1rem; border-bottom: 3px solid var(--accent, var(--brass)); margin-bottom: 1.5rem; }
.svc-group-head h2 { font-size: 1.7rem; }
.svc-group-head .dc-tag { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent, var(--brass-700)); }
.svc-table { list-style: none; }
.svc-table li { display: grid; grid-template-columns: 1fr 1.6fr; gap: 1.5rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line-soft); }
.svc-table li strong { font-weight: 600; color: var(--ink); }
.svc-table li span { color: var(--muted); font-size: 0.95rem; }

/* ---------------- ABOUT ---------------- */
.prose { max-width: 720px; }
.prose p { font-size: 1.08rem; color: var(--text); margin-bottom: 1.2rem; line-height: 1.7; }
.prose h2 { font-size: 1.7rem; margin: 2.4rem 0 0.8rem; }
.prose h3 { font-size: 1.2rem; margin: 1.8rem 0 0.5rem; }
.prose ul, .prose ol { margin: 0 0 1.2rem 1.3rem; color: var(--text); }
.prose li { margin-bottom: 0.5rem; }
.prose strong { color: var(--ink); }
.prose .callout { border-left: 4px solid var(--accent, var(--brass)); background: var(--tint); padding: 1.2rem 1.4rem; margin: 1.8rem 0; color: var(--muted); font-size: 1rem; }
.prose .callout strong { color: var(--ink); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.step { padding: 1.6rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--serif); font-size: 2rem; color: var(--brass-700); line-height: 1; display: block; margin-bottom: 1rem; }
.step h3 { font-size: 1.08rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.92rem; color: var(--muted); }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.member { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.member .photo { aspect-ratio: 4/4.4; background: var(--tint); display: grid; place-items: center; color: var(--faint); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.member .photo img { width: 100%; height: 100%; object-fit: cover; }
.member .info { padding: 1.3rem 1.4rem 1.5rem; }
.member h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.member .title { font-size: 0.82rem; color: var(--brass-700); font-weight: 600; letter-spacing: 0.05em; margin: 0.3rem 0 0.7rem; }
.member p { font-size: 0.92rem; color: var(--muted); }
.badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
.badge { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-700); background: var(--green-50); padding: 0.25rem 0.55rem; border-radius: 2px; }

.firm-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.firm { padding: 1.6rem; border-left: 4px solid var(--accent, var(--brass)); background: var(--tint); }
.firm h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; }
.firm .f-sub { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent, var(--brass-700)); font-weight: 600; margin: 0.3rem 0 0.8rem; display: block; }
.firm p { font-size: 0.93rem; color: var(--muted); }

/* ---------------- CAREERS ---------------- */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.perk { padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.perk svg { width: 26px; height: 26px; color: var(--green-700); margin-bottom: 0.9rem; }
.perk h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.perk p { font-size: 0.92rem; color: var(--muted); }
.roles { border-top: 1px solid var(--line); }
.roles .role { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.roles .role strong { display: block; font-size: 1.05rem; color: var(--ink); }
.roles .role span { font-size: 0.88rem; color: var(--muted); }
.roles-empty { padding: 2rem; background: var(--tint); border-radius: var(--radius); text-align: center; }
.roles-empty p { max-width: none; color: var(--muted); }

/* ---------------- CONTACT ---------------- */
.contact-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-info h2 { font-size: 1.5rem; margin-bottom: 1.2rem; }
.contact-info [data-firm-section]:not([hidden]) + .contact-practices-title { margin-top: 2.5rem; }
.info-rows { border-top: 1px solid var(--line); }
.info-row { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding: 0.95rem 0; border-bottom: 1px solid var(--line); font-size: 0.97rem; }
.info-row .k { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-top: 0.15rem; }
.info-row a:hover { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.dept-cards { display: grid; gap: 0.7rem; margin-top: 1rem; }
.dept-card { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 0.95rem 1.1rem; border: 1px solid var(--line); border-left: 4px solid var(--accent, var(--brass)); border-radius: var(--radius); background: #fff; transition: box-shadow 0.15s ease; }
.dept-card:hover { box-shadow: 0 8px 20px rgba(8,42,25,0.07); }
.dept-card strong { display: block; font-size: 0.98rem; color: var(--ink); }
.dept-card span { font-size: 0.82rem; color: var(--muted); }
.dept-card .dc-links { display: flex; gap: 0.9rem; font-size: 0.85rem; font-weight: 600; color: var(--green-700); white-space: nowrap; }
.dept-card .dc-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.dept-card .dc-links .is-disabled { color: var(--faint); font-weight: 500; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.4rem); }
.form-card h2 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.form-card > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.6rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; }
.field label small { font-weight: 400; color: var(--faint); }
.field input, .field select, .field textarea, .dept-form select {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid #b9c0bc; border-radius: var(--radius); padding: 0.8rem 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field select, .dept-form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2358615c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.4rem; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .dept-form select:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(23,83,47,0.15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: 0.82rem; color: var(--faint); margin-top: 1rem; }
.form-success { display: none; padding: 1.8rem; border: 1px solid var(--green-600); background: var(--green-50); border-radius: var(--radius); }
.form-success.show { display: block; }
.form-success h3 { color: var(--green-700); margin-bottom: 0.4rem; }
.form-success p { color: var(--muted); }
.form-error { display: none; font-size: 0.9rem; color: #9a2f1e; margin-top: 0.8rem; }
.form-error.show { display: block; }

/* ---------------- ARTICLES ---------------- */
.article-layout { display: grid; grid-template-columns: 1fr 280px; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-top: 1.4rem; }
.article-side { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.checklist { list-style: none; border-top: 1px solid var(--line); }
.checklist li { position: relative; padding: 0.85rem 0 0.85rem 2.2rem; border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 1rem; height: 1rem; border: 1.5px solid var(--green-700); border-radius: 2px; }
.checklist li span { display: block; font-size: 0.88rem; color: var(--muted); margin-top: 0.15rem; }
.cl-group { margin-top: 2.5rem; }
.cl-group h2 { font-size: 1.6rem; margin-bottom: 0.3rem; }
.cl-group .cl-tag { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent, var(--brass-700)); display: block; margin-bottom: 1rem; }
.gate-card { max-width: 560px; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 2rem; background: #fff; }
.gate-card h2 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.gate-card > p { color: var(--muted); margin-bottom: 1.2rem; font-size: 0.95rem; }

/* ---------------- FOOTER ---------------- */
footer { background: var(--green-900); color: rgba(255,255,255,0.8); flex-shrink: 0; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 2.5rem; padding: clamp(3rem, 5vw, 4rem) 0 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.foot-brand .logo-name { font-size: 1.7rem; }
.foot-brand p { font-size: 0.92rem; color: rgba(255,255,255,0.6); margin-top: 1.1rem; max-width: 300px; }
.foot-col .foot-h { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); margin-bottom: 1rem; }
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 0.6rem; font-size: 0.93rem; }
.foot-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-col .sub { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.45); }
.foot-col .placeholder { color: var(--brass); }
.foot-news p { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-bottom: 0.9rem; }
.foot-news form { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.foot-news .news-topics { width: 100%; display: flex; flex-wrap: wrap; gap: 0.3rem 0.9rem; margin-top: 0.4rem; font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.foot-news .news-topics label { display: inline-flex; align-items: center; gap: 0.35rem; }
.foot-news .news-topics input { accent-color: var(--brass); }
.foot-news input { flex: 1; min-width: 0; padding: 0.7rem 0.8rem; border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.06); color: #fff; border-radius: var(--radius); font-family: var(--sans); font-size: 0.9rem; }
.foot-news input::placeholder { color: rgba(255,255,255,0.4); }
.foot-news input:focus { outline: none; border-color: var(--brass); }
.foot-news .btn { padding: 0.7rem 1rem; font-size: 0.85rem; background: var(--brass); border-color: var(--brass); color: var(--ink); }
.foot-news .btn:hover { background: #c4a35f; border-color: #c4a35f; }
.foot-news .news-ok { display: none; font-size: 0.88rem; color: var(--brass); margin-top: 0.6rem; }
.foot-news .news-ok.show { display: block; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1.5rem 0 1.8rem; font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.foot-bottom ul { list-style: none; display: flex; gap: 1.2rem; flex-wrap: wrap; }
.foot-bottom a:hover { color: #fff; }
.foot-social { display: flex; gap: 0.6rem; }
.foot-social a { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius); display: grid; place-items: center; color: rgba(255,255,255,0.7); }
.foot-social a:hover { border-color: var(--brass); color: #fff; }
.foot-social svg { width: 16px; height: 16px; }

/* ---------------- 404 ---------------- */
.notfound { text-align: center; padding: clamp(4rem, 10vw, 7rem) 0; }
.notfound h1 { font-size: clamp(3rem, 8vw, 5rem); }
.notfound p { margin: 1.2rem auto 2rem; color: var(--muted); }
.notfound .links { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1080px) {
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .cred-strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .cred-item:nth-child(2) { border-right: none; }
  .mega-grid { grid-template-columns: 1fr 1fr; }
  .mega-col:nth-child(2) { border-right: none; }
  .mega-col:last-child { grid-column: span 2; }
  .div-layout, .article-layout { grid-template-columns: 1fr; }
  .article-side, .svc-nav { position: static; }
  .svc-layout { grid-template-columns: 1fr; }
  .svc-nav { display: none; }
}
@media (max-width: 900px) {
  .topbar-firms .label { display: none; }
  .topbar-right { display: none; }
  .menu-toggle { display: flex; }
  .nav-actions .btn { display: none; }
  .nav-contact-sm { display: inline-block; }
  .nav-main { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--nav-h)); height: calc(100dvh - var(--nav-h)); background: #fff; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 0.5rem var(--pad) 3rem; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s; border-top: 1px solid var(--line); }
  .nav-main.open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .nav-main > li { border-bottom: 1px solid var(--line-soft); }
  .nav-main > li > a, .nav-main > li > button { width: 100%; justify-content: space-between; padding: 1rem 0; font-size: 1.05rem; border-radius: 0; background: none !important; }
  .mega, .dropdown { position: static; transform: none; width: auto; min-width: 0; box-shadow: none; border: none; border-radius: 0; opacity: 1; visibility: visible; display: none; padding: 0 0 1rem; }
  li.open > .mega, li.open > .dropdown { display: block; transform: none; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-col, .mega-col:last-child { grid-column: auto; padding: 0.8rem 0; border-right: none; border-bottom: 1px solid var(--line-soft); }
  .nav-main > li > button > svg:not(.caret) { display: none; }
  .mega-col:last-child { background: none; }
  .nav-main .nav-mobile-cta { display: block; padding-top: 1.2rem; border-bottom: none; }
  .nav-main .nav-mobile-cta .btn { width: 100%; }
  .hero .wrap { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .divisions, .insight-grid, .team-grid, .perks, .firm-list, .who-list { grid-template-columns: 1fr; }
  .insight--feature { grid-column: auto; grid-template-columns: 1fr; }
  .approach, .deadlines-side, .finder, .dept-band .wrap, .contact-layout { grid-template-columns: 1fr; }
  .industry-grid, .industry-grid--detail { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .cal-month { grid-template-columns: 1fr; gap: 0.6rem; }
  .svc-table li { grid-template-columns: 1fr; gap: 0.2rem; }
  body { font-size: 1rem; }
}
@media (min-width: 901px) { .nav-main .nav-mobile-cta { display: none; } }
@media (max-width: 560px) {
  .industry-grid--detail, .steps, .foot-top, .cred-strip .wrap, .field-row { grid-template-columns: 1fr; }
  .industry-grid { gap: 0.6rem; }
  .industry { padding: 1rem 0.9rem; }
  .cred-item { border-right: none; margin-right: 0; padding: 1rem 0; border-bottom: 1px solid var(--line-soft); }
  .topbar-firms { gap: 0.9rem; font-size: 0.75rem; }
  .deadline-list li { grid-template-columns: 5rem 1fr; }
  .deadline-list .dl-in { grid-column: 2; }
  .cal-month li { grid-template-columns: 1fr; gap: 0.2rem; }
  .dept-form .row { flex-direction: column; }
  .dept-card { grid-template-columns: 1fr; }
  .hero-actions .btn, .hero-actions .btn-light, .hero-actions .btn-outline { width: 100%; }
  .roles .role { grid-template-columns: 1fr; }
}

/* ---------------- PRINT ---------------- */
@media print {
  .topbar, header.nav, footer, .cta-band, .dept-band, .no-print { display: none !important; }
  body { color: #000; }
  .page-head { background: none; color: #000; }
  .page-head h1 { color: #000; }
}

/* ---------------- PRACTICE SELECTOR / CLIENT HUB / SCHEDULE ---------------- */
.firm-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
.firm-pick { text-align: left; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent, var(--brass)); border-radius: var(--radius); padding: 1.1rem 1.2rem; cursor: pointer; transition: box-shadow 0.15s ease, border-color 0.15s ease, background-color 0.15s ease; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.8rem; }
.firm-pick strong { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.firm-pick span { font-size: 0.85rem; color: var(--muted); }
.firm-pick i { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: transparent; font-style: normal; }
.firm-pick i svg { width: 14px; height: 14px; }
.firm-pick:hover { border-color: var(--green-600); box-shadow: 0 8px 20px rgba(8,42,25,0.07); }
.firm-pick.active { border-color: var(--green-700); background: var(--green-50); box-shadow: inset 0 0 0 1px var(--green-700); }
.firm-pick.active i { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.firm-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.2rem; padding: 0.9rem 1.2rem; background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); margin-top: 1.5rem; font-size: 0.95rem; }
.firm-bar strong { color: var(--ink); }
.firm-bar .btn-text { font-size: 0.9rem; }
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.hub-grid--4 { grid-template-columns: repeat(4, 1fr); }
.hub-tile { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.5rem 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease; position: relative; }
.hub-tile:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--green-600); }
.hub-tile svg { width: 26px; height: 26px; color: var(--green-700); }
.hub-tile strong { font-size: 1.05rem; color: var(--ink); }
.hub-tile span { font-size: 0.9rem; color: var(--muted); }
.hub-tile small { font-size: 0.78rem; color: var(--brass-700); font-weight: 600; min-height: 1em; }
.hub-tile.is-disabled { opacity: 0.55; }
.hub-tile .hub-go { position: absolute; top: 1.3rem; right: 1.2rem; width: 16px; height: 16px; color: var(--faint); }
.embed { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.embed iframe { width: 100%; height: 760px; border: 0; display: block; }
.embed-foot { padding: 0.9rem 1.2rem; border-top: 1px solid var(--line-soft); font-size: 0.88rem; color: var(--muted); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; }
.check-row { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; }
.check-row label { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.95rem; font-weight: 400; color: var(--text); margin: 0; }
.check-row input { width: auto; accent-color: var(--green-700); }
.expect { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.expect div { padding: 1.1rem 1.2rem; background: var(--tint); border-radius: var(--radius); font-size: 0.92rem; color: var(--muted); }
.expect strong { display: block; color: var(--ink); margin-bottom: 0.2rem; font-size: 0.95rem; }
@media (max-width: 1080px) { .hub-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .firm-picks, .hub-grid, .hub-grid--4, .expect { grid-template-columns: 1fr; } .embed iframe { height: 640px; } }

/* ---------------- CLIENT LOGIN ---------------- */
.login-card { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.login-form { padding: clamp(1.5rem, 3vw, 2.4rem); }
.login-form .field { margin-bottom: 1.2rem; }
.login-go { width: 100%; padding: 1.05rem 1.5rem; font-size: 1rem; }
.login-note { font-size: 0.88rem; color: var(--muted); margin-top: 1rem; }
.login-side { background: var(--tint); border-left: 1px solid var(--line); padding: clamp(1.5rem, 3vw, 2.4rem); }
.login-side .foot-h { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; margin-bottom: 0.9rem; }
.login-side ul { list-style: none; }
.login-side li { font-size: 0.92rem; color: var(--muted); padding: 0.6rem 0; border-top: 1px solid var(--line-soft); }
.login-side li:first-child { border-top: none; padding-top: 0; }
.dropdown .dd-choose { border-bottom: 1px solid var(--line-soft); margin-bottom: 0.3rem; padding-bottom: 0.8rem; color: var(--green-700); }
.who-list div[data-accent] { border-top: 3px solid var(--accent, var(--brass)); }
@media (max-width: 900px) { .login-card { grid-template-columns: 1fr; } .login-side { border-left: none; border-top: 1px solid var(--line); } }

/* ============================================================
   REVISION 2  |  one sans family, real logo, no template tells
   These rules intentionally override the sections above so the
   cascade reads top to bottom as "system, then the current look".
   ============================================================ */
:root {
  --sans: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Inter", "Segoe UI", Helvetica, Arial, sans-serif; /* headings no longer use a serif */
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 10px 30px rgba(8, 42, 25, 0.08);
  --brass-700: #7a5f2a;
}
body { font-size: 1rem; line-height: 1.6; }
h1, h2, h3, h4, .display { font-family: var(--sans); font-weight: 600; letter-spacing: -0.015em; }
h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.18; }
h2 { font-size: clamp(1.45rem, 2.3vw, 1.85rem); line-height: 1.25; }
h3 { font-size: 1.1rem; }
h4 { font-size: 1rem; }
.lede { font-size: clamp(1.02rem, 1.3vw, 1.12rem); }

/* labels: no more brass eyebrows */
.kicker { font-size: 0.85rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); margin-bottom: 0.5rem; }
.kicker--light { color: rgba(255,255,255,0.7); }
.section-head { margin-bottom: clamp(1.4rem, 3vw, 2rem); }
.section-head p { margin-top: 0.5rem; }

/* buttons: SaaS-like radius, no icons */
.btn, .btn-outline, .btn-light, .btn-text { border-radius: var(--radius); font-size: 0.93rem; padding: 0.85rem 1.35rem; }
.btn svg, .btn-outline svg, .btn-light svg, .btn-text svg { display: none; }

/* header: the real logo */
.logo-dots, .logo-type { display: none; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 46px; width: auto; display: block; }
.logo--light img { height: 48px; }
.nav-main > li > a, .nav-main > li > button { font-size: 0.93rem; font-weight: 500; }
.nav-main > li > button > svg:not(.caret) { display: none; }
.nav-main > li > a:hover, .nav-main > li > button:hover, .nav-main > li.open > button, .nav-main > li > a.active { background: transparent; color: var(--green-700); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.topbar { font-size: 0.78rem; }
.topbar-right a svg { display: none; }
.dropdown, .mega { border-radius: var(--radius-lg); }
.mega-col .mega-links a svg { display: none; }
.mega-col .mega-sub { border-bottom-color: var(--line); }

/* hero: white, no texture */
.hero { background: #fff; color: var(--text); border-bottom: 1px solid var(--line); }
.hero::before { display: none; }
.hero .wrap { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); grid-template-columns: 1.15fr 0.85fr; }
.hero h1 { color: var(--ink); font-size: clamp(2rem, 3.6vw, 2.75rem); max-width: 18ch; letter-spacing: -0.02em; }
.hero .lede { color: var(--muted); margin-top: 1rem; }
.hero-actions { margin-top: 1.6rem; }
.hero-actions .btn-light { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.hero-actions .btn-light:hover { background: var(--green-800); border-color: var(--green-800); }
.hero-actions .btn-outline { color: var(--green-700) !important; border-color: var(--green-700) !important; }
.hero-meta { border-top-color: var(--line); color: var(--muted); margin-top: 2rem; font-size: 0.85rem; }
.hero-meta svg { display: none; }
.hero-photo { display: none; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.hero.has-photo .hero-photo { display: block; min-height: 320px; }
.hero.has-photo .quick-panel { display: none; }
.quick-panel { box-shadow: none; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.quick-panel .qp-head { border-bottom: 1px solid var(--line); }
.quick-panel .qp-title { letter-spacing: 0; text-transform: none; font-size: 0.85rem; color: var(--ink); }
.quick-panel .qp-icon { display: none; }
.quick-panel .qp-list a { grid-template-columns: 1fr auto; padding: 0.85rem 1.25rem; }
.quick-panel .qp-text strong { font-size: 0.95rem; }
.quick-panel .qp-foot { font-size: 0.85rem; }

/* interior page heads: white with a rule */
.page-head, .page-head--accent { background: #fff; color: var(--text); border-bottom: 1px solid var(--line); border-top: none; }
.page-head::before { display: none; }
.page-head .wrap { padding-top: clamp(1.8rem, 4vw, 3rem); padding-bottom: clamp(1.8rem, 4vw, 3rem); }
.page-head h1 { color: var(--ink); max-width: 24ch; }
.page-head .lede { color: var(--muted); }
.page-head .kicker { color: var(--muted); }
.page-head .btn-light { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.page-head .btn-light:hover { background: var(--green-800); border-color: var(--green-800); }
.page-head .btn-outline { color: var(--green-700) !important; border-color: var(--green-700) !important; }
.page-head .btn-outline.is-disabled { color: var(--muted) !important; border-color: var(--line) !important; }
.crumbs, .page-head--light .crumbs { color: var(--faint); margin-bottom: 1.2rem; }
.crumbs .sep { color: var(--line); }
.crumbs a:hover { color: var(--ink); }
.article-meta { color: var(--muted); }

/* practices: columns with rules, not colored cards */
.divisions { gap: clamp(1.5rem, 3vw, 3rem); }
.division-card { border: none; border-top: 1px solid var(--line); border-radius: 0; padding: 1.4rem 0 0; box-shadow: none; }
.division-card:hover { box-shadow: none; transform: none; }
.division-card .dc-tag { font-size: 0.85rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.division-card h3 { font-size: 1.3rem; margin: 0.25rem 0 0.4rem; }
.division-card ul { border-top: none; }
.division-card li { padding: 0.5rem 0; border-bottom: 1px solid var(--line-soft); }
.division-card li::before { display: none; }

/* credentials strip: a plain row */
.cred-strip { border-color: var(--line); background: var(--tint); }
.cred-item svg { display: none; }
.cred-item { padding: 1.2rem 1.5rem 1.2rem 0; }
.cred-item strong { font-size: 0.92rem; }

/* approach and steps: small figures, no boxes */
.approach-list li::before { font-family: var(--sans); font-size: 0.85rem; font-weight: 600; color: var(--muted); padding-top: 0.25rem; }
.approach-list h3 { font-size: 1.02rem; }
.steps { gap: clamp(1.5rem, 3vw, 2.5rem); }
.step { padding: 1.2rem 0 0; border: none; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.step::before { font-family: var(--sans); font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-bottom: 0.6rem; }
.step h3 { font-size: 1.02rem; }

/* industries: list, not icon cards */
.industry-grid { grid-template-columns: repeat(2, 1fr); gap: 0 clamp(1.5rem, 4vw, 3rem); }
.industry { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; border: none; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.industry:hover { box-shadow: none; border-color: var(--line); }
.industry:hover strong { color: var(--green-700); text-decoration: underline; text-underline-offset: 4px; }
.industry svg { display: none; }
.industry strong { font-weight: 500; }
.industry span { font-size: 0.85rem; text-align: right; }
.industry-grid--detail { grid-template-columns: repeat(2, 1fr); gap: clamp(1.2rem, 3vw, 2.5rem); }
.industry-grid--detail .industry { flex-direction: column; align-items: stretch; padding: 1.4rem 0 1.2rem; }
.industry-grid--detail .industry span, .industry-grid--detail .industry p { text-align: left; }
.industry-grid--detail .industry strong { font-size: 1.02rem; font-weight: 600; }
.industry .serves { border-top: none; padding-top: 0.5rem; }

/* deadlines */
.deadline-list .dl-date b { font-family: var(--sans); font-size: 1.1rem; font-weight: 600; }
.deadline-list .dl-date small { letter-spacing: 0; text-transform: none; }
.deadline-list .dl-in { letter-spacing: 0; text-transform: none; font-weight: 500; }
.cal-month h3 { font-family: var(--sans); font-size: 1.05rem; }
.cal-month .c-tag { letter-spacing: 0; text-transform: none; font-weight: 500; }

/* insights: quiet cards, no color band */
.insight { border-radius: var(--radius-lg); }
.insight:hover { box-shadow: none; transform: none; border-color: var(--green-600); }
.insight .in-band { display: none; }
.insight .in-cat { letter-spacing: 0; text-transform: none; font-weight: 500; font-size: 0.82rem; color: var(--muted); }
.insight h3 { font-family: var(--sans); font-size: 1.08rem; font-weight: 600; line-height: 1.35; }
.insight--feature .in-visual { background: var(--tint); color: var(--ink); }
.insight--feature .in-visual::before { display: none; }
.insight--feature .in-visual span { letter-spacing: 0; text-transform: none; color: var(--muted); }
.insight--feature .in-visual strong { font-family: var(--sans); font-size: 1.4rem; }
.insight--feature h3 { font-size: 1.15rem; }

/* finder, department band, CTA bands */
.finder { border-radius: var(--radius-lg); }
.finder-intro { background: var(--green-800); }
.finder-q .q-num, .finder-result .fr-tag { letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--muted); }
.finder-result h3 { font-family: var(--sans); font-size: 1.4rem; }
.finder-opts button { border-radius: var(--radius); }
.dept-form { border-radius: var(--radius-lg); box-shadow: none; }
.cta-band .btn-outline { color: var(--green-700); border-color: var(--green-700); }

/* practice pages */
.service { border-radius: var(--radius-lg); }
.service .s-n { font-family: var(--sans); font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.service h3 { font-size: 1.02rem; }
.side-card { border-radius: var(--radius-lg); }
.side-card h3 { letter-spacing: 0; text-transform: none; font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.who-list div { border-radius: var(--radius); }
.who-list div[data-accent] { border-top: none; }
.svc-group-head { border-bottom: 1px solid var(--line); }
.svc-group-head .dc-tag { letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--muted); }

/* about, careers, hub, login, schedule */
.member h3, .firm h3 { font-family: var(--sans); font-size: 1.15rem; }
.firm { border-left: none; border-top: 1px solid var(--line); background: transparent; padding: 1.2rem 0 0; }
.firm .f-sub { letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--muted); }
.member .title { letter-spacing: 0; color: var(--muted); }
.badge { letter-spacing: 0; text-transform: none; }
.perk { border-radius: var(--radius-lg); }
.perk svg { display: none; }
.hub-grid { gap: 0.8rem; }
.hub-tile { border-radius: var(--radius-lg); padding: 1.2rem 1.3rem; }
.hub-tile:hover { box-shadow: none; transform: none; }
.hub-tile > svg:not(.hub-go) { display: none; }
.hub-tile strong { font-size: 1rem; }
.firm-pick { border-top: 1px solid var(--line); border-radius: var(--radius-lg); }
.firm-pick strong { font-family: var(--sans); font-size: 1.05rem; }
.firm-pick.active { border-color: var(--green-700); }
.firm-bar { border-radius: var(--radius); }
.login-card { border-radius: var(--radius-lg); }
.login-side .foot-h { letter-spacing: 0; text-transform: none; font-size: 0.9rem; color: var(--ink); }
.expect div { border-radius: var(--radius); }
.chip { border-radius: var(--radius); }
.gate-card, .form-card, .embed { border-radius: var(--radius-lg); }
.cl-group .cl-tag { letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--muted); }
.cl-group h2 { font-size: 1.3rem; }
.field input, .field select, .field textarea, .dept-form select { border-radius: var(--radius); }
.notfound h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }

/* footer */
.foot-col .foot-h { letter-spacing: 0; text-transform: none; font-size: 0.85rem; color: #fff; }
.foot-social a { border-radius: var(--radius); }
.foot-news .btn { border-radius: var(--radius); }
.foot-news input { border-radius: var(--radius); }

@media (max-width: 900px) {
  .industry-grid { grid-template-columns: 1fr; }
  .industry-grid--detail { grid-template-columns: 1fr; }
  .hero .wrap { grid-template-columns: 1fr; }
  .logo img { height: 40px; }
}
@media (max-width: 560px) {
  .industry-grid { grid-template-columns: 1fr; gap: 0; }
  .industry { padding: 0.8rem 0; }
  .industry span { text-align: left; }
}

/* contact: practice cards stack their links instead of squeezing them beside the name */
.dept-card { grid-template-columns: 1fr; border-left: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.1rem 1.2rem; gap: 0.6rem; }
.dept-card:hover { box-shadow: none; border-color: var(--green-600); }
.dept-card .dc-links { white-space: normal; flex-wrap: wrap; gap: 0.5rem 1.2rem; font-size: 0.9rem; }

/* ============================================================
   REVISION 3  |  after the critic panel: flatter, quieter, ruled
   ============================================================ */
:root { --radius: 4px; --radius-lg: 6px; }
h1, h2, h3, h4, .display { letter-spacing: -0.005em; text-wrap: balance; }
.hero h1 { letter-spacing: -0.01em; max-width: 20ch; }
.page-head h1 { max-width: 28ch; }
.cta-band h2 { max-width: 30ch; }
.section { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.section--tint { background: #fff; }
.section + .section, .section + .cta-band, .cred-strip + .section { border-top: 1px solid var(--line); }
.section--tint.section--keep { background: var(--tint); }

/* links: no arrow glyphs, underline on hover */
.arrow-link svg, .section-cta svg, .finder-opts button svg, .hub-tile .hub-go { display: none; }
.arrow-link:hover, .section-cta:hover { text-decoration: underline; text-underline-offset: 4px; }

/* numerals: plain, or none */
.approach-list li::before { content: counter(ap) "."; }
.approach-list li { grid-template-columns: 2rem 1fr; }
.step::before { content: counter(step) "."; }
.service .s-n { display: none; }

/* hero and quick panel */
.quick-panel { border: none; border-left: 1px solid var(--line); border-radius: 0; padding-left: clamp(1.5rem, 3vw, 2.5rem); }
.quick-panel .qp-head { padding: 0 0 0.6rem; }
.quick-panel .qp-list a { padding: 0.8rem 0; }
.quick-panel .qp-foot { background: transparent; padding: 0.9rem 0 0; }
.cred-strip { background: #fff; border: none; }
.cred-strip .wrap { grid-template-columns: 1fr 1fr; gap: 0 3rem; }
.cred-item { border-right: none; margin-right: 0; border-bottom: 1px solid var(--line-soft); padding: 0.9rem 0; }
.cred-item:nth-child(2) { border-right: none; }

/* practice cards: name first, then descriptor */
.division-card { display: flex; flex-direction: column; }
.division-card .dc-tag { order: 2; margin: -0.2rem 0 0.6rem; }
.division-card h3 { order: 1; }
.division-card .dc-focus { order: 3; }
.division-card ul { order: 4; }
.division-card .arrow-link { order: 5; }

/* deadlines */
.deadline-list .dl-in { color: var(--muted); font-weight: 400; }
.deadline-list .dl-in.soon { color: var(--muted); }
.cal-month li.past { opacity: 1; }
.cal-month li.past .c-date, .cal-month li.past .c-what strong { color: var(--muted); font-weight: 500; }
.cal-month li.past .c-what span { color: var(--faint); }
.cal-month li.past .c-date { text-decoration: line-through; text-decoration-color: var(--line); }

/* insights: ruled, dated, no read-time */
.insight { border: none; border-top: 1px solid var(--line); border-radius: 0; }
.insight:hover { border-color: var(--line); }
.insight:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.insight .in-body { padding: 1.1rem 0 0.4rem; }
.insight .in-foot { border-top: none; padding-top: 0.5rem; justify-content: flex-start; }
.insight .in-foot b { display: none; }
.insight--feature { grid-template-columns: 1fr; }
.insight--feature .in-visual { display: none; }
.insight--feature .in-body { padding: 1.1rem 0 0.6rem; }
.insight-grid { gap: 0 clamp(1.5rem, 3vw, 2.5rem); }
.insight--feature { grid-column: 1 / -1; }

/* finder: plain, no split card */
.finder { border: none; background: transparent; border-radius: 0; gap: clamp(2rem, 5vw, 5rem); }
.finder-intro { background: transparent; color: var(--text); padding: 0; }
.finder-intro h2 { color: var(--ink); }
.finder-intro p { color: var(--muted); }
.finder-body { padding: 0; }
.finder-progress { display: none; }
.finder-q .q-num { display: none; }

/* department band: white, bordered form */
.dept-band { background: #fff; color: var(--text); border-top: 1px solid var(--line); }
.dept-band h2 { color: var(--ink); }
.dept-band p { color: var(--muted); }
.dept-form { border: 1px solid var(--line); padding: 1.4rem; box-shadow: none; }

/* CTA band: one primary, white */
.cta-band { background: #fff; border-bottom: none; }
.cta-band .wrap { padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.cta-band .cta-actions .btn-outline { display: none; }

/* practice pages: ruled services, sidebar as list */
.service { border: none; border-top: 1px solid var(--line); border-radius: 0; background: transparent; padding: 1rem 0 0.6rem; }
.service-grid { gap: 0 clamp(1.5rem, 3vw, 2.5rem); margin-top: 1.2rem; }
.who-list { grid-template-columns: 1fr; gap: 0; max-width: 62ch; }
.who-list div { background: transparent; border-radius: 0; padding: 0.7rem 0; border-top: 1px solid var(--line-soft); display: grid; grid-template-columns: 14rem 1fr; gap: 0 1rem; align-items: baseline; }
.who-list strong { margin: 0; }
.side-card { border: none; border-top: 2px solid var(--ink); border-radius: 0; margin-bottom: 2rem; }
.side-card h3 { background: transparent; border-bottom: none; padding: 0.8rem 0 0.2rem; }
.side-card .sc-body { padding: 0.4rem 0 0; gap: 0.5rem; }
.side-card .sc-body .btn { width: auto; align-self: flex-start; }
.side-card .sc-body .btn-outline { border: none; width: auto; padding: 0.25rem 0; justify-content: flex-start; color: var(--green-700); text-decoration: underline; text-underline-offset: 4px; }
.side-card .sc-body .btn-outline:hover { background: transparent; }
.side-card .sc-body .btn-outline.is-disabled { color: var(--muted); text-decoration: none; }
.page-head .actions .btn-outline { border: none; padding: 0.85rem 0.4rem; text-decoration: underline; text-underline-offset: 4px; }
.page-head .actions .btn-outline.is-disabled { text-decoration: none; }

/* about: lists, not grids */
.firm-list { grid-template-columns: 1fr; gap: 0; max-width: 70ch; }
.firm { display: grid; grid-template-columns: 12rem 1fr; gap: 0 1.5rem; padding: 1rem 0; align-items: baseline; }
.firm h3 { font-size: 1.02rem; }
.firm .f-sub { grid-column: 1; margin: 0; }
.firm p, .firm .arrow-link { grid-column: 2; }
.firm .arrow-link { margin-top: 0.4rem; font-size: 0.9rem; }
.steps { grid-template-columns: 1fr; gap: 0; max-width: 70ch; }
.step { display: grid; grid-template-columns: 2.5rem 1fr; gap: 0.2rem 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.step::before { margin: 0; grid-row: 1 / span 2; }
.step h3 { font-size: 1.02rem; }

/* hub: ruled rows */
.hub-grid { gap: 0 clamp(1.5rem, 3vw, 2.5rem); }
.hub-tile { border: none; border-top: 1px solid var(--line); border-radius: 0; padding: 1rem 0 0.9rem; }
.hub-tile:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.hub-tile small:empty { display: none; }
.firm-pick:hover, .dept-card:hover { box-shadow: none; }
.firm-pick span span { white-space: nowrap; font-size: 0.82rem; }

/* prose */
.prose { max-width: 66ch; }
.prose .callout { background: transparent; border-left-width: 2px; padding: 0.2rem 0 0.2rem 1.2rem; }

/* forms and buttons */
.btn[disabled], .btn.is-disabled { opacity: 1; background: var(--tint); color: var(--muted); border-color: var(--line); }
.foot-col .sub { font-size: 0.82rem; color: rgba(255,255,255,0.62); }
.topbar-firms .label { color: rgba(255,255,255,0.7); }
.topbar { font-size: 0.82rem; }
.foot-news .news-topics { display: none; }

@media (max-width: 900px) { .firm, .step, .who-list div { grid-template-columns: 1fr; } .step::before { grid-row: auto; } .firm p, .firm .arrow-link { grid-column: 1; } }
@media (max-width: 560px) {
  .hero h1 { font-size: 1.7rem; line-height: 1.2; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-actions .btn-light, .hero-actions .btn-outline { width: auto; }
  .hero-meta { flex-direction: column; gap: 0.35rem; }
  .quick-panel { border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: 1rem; }
}
