/* Shared customer-facing surfaces on the practice and management domains. */
.practice {
  --paper: #f4f3f0; --white: #fffefb; --text: #222326; --muted: #53565b;
  --rule: #cfceca; --blue: #87451f; --accent: #ffb379; --night: #101113;
  --bg: var(--paper); --bg-2: var(--white); --ink: var(--text); --ink-dim: var(--muted);
  --line: var(--rule); --emerald: var(--blue); --emerald-mid: #83481f; --emerald-deep: #66391f;
  --ink-on-emerald: #fff; --glass: var(--white); --glass-strong: #eeeae1;
  --glass-line: var(--rule); --danger: #a33523;
  background: var(--paper); color: var(--text); font-weight: 400;
}
.practice::after { display: none; }
.practice ::selection { background: #f4ce81; color: #201b13; }
.practice :focus-visible { outline: 3px solid #9c600d; outline-offset: 3px; }
.practice .container, .practice .nav-inner { max-width: 1520px; padding-inline: clamp(22px,5.3vw,86px); }
.practice .nav, .practice .nav.scrolled {
  --ink: #fffdfa; background: var(--night); color: var(--ink); border-bottom: 1px solid #343537;
  padding-block: 13px; backdrop-filter: none;
}
.practice .nav-logo { gap: 10px; color: #fffdfa; }
.practice .nav-logo-mark { width: 37px; height: 37px; border: 1px solid #986b4a; border-radius: 10px; background: #30231c; color: var(--accent); }
.practice .nav-logo-text { font: 700 22px/.95 var(--font-body); letter-spacing: -.055em; }
.practice .nav-logo-text em { display: block; color: #e7e8e6; font: 500 9px/1.5 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; }
.practice .nav-links { gap: clamp(20px,2.4vw,38px); }
.practice .nav-links a { color: #e7e8e6; font-weight: 500; }
.practice .nav-links .nav-cta, .practice .btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 13px 18px; border: 1px solid transparent; border-radius: 4px;
  font: 600 14px/1.35 var(--font-body); box-shadow: none; text-shadow: none;
}
.practice .nav-links .nav-cta { background: #e9e7e2; color: var(--night) !important; border-radius: 32px; }
.practice .nav-links .nav-cta:hover { background: var(--accent); }
.practice .nav-links a:not(.nav-cta)::after { background: var(--accent); }
.practice .nav-burger span { background: var(--paper); }
.practice .btn-primary { background: var(--night); color: #fff !important; }
.practice .btn-primary:hover { background: #334253; }
.practice .footer { --ink: #fff; --ink-dim: #c3c8ce; background: #20252a; color: var(--ink); border-color: #383d42; }
.practice .footer a:hover { color: #fff; }
.practice .scroll-progress { background: var(--blue); }
.practice .fallback-contact { display: none; }

.practice .section.page-hero-pad { padding-block: clamp(105px,9vw,146px) clamp(48px,6vw,96px); }
.practice .section-head { gap: 12px; margin: 0 0 15px; }
.practice .section-label, .practice .section-tag {
  font: 600 11px/1.5 var(--font-mono); letter-spacing: .09em; color: var(--blue);
}
.practice .section-tag { padding: 0 12px 0 0; border: 0; border-right: 1px solid var(--rule); border-radius: 0; background: none; }
.practice .section-num { color: var(--blue); border-color: var(--rule); }
.practice .page-hero-pad h1.section-title {
  max-width: 23ch; color: var(--text); font: 550 clamp(36px,5vw,76px)/1.06 var(--font-body);
  letter-spacing: -.06em; margin: 0 0 24px; text-wrap: balance;
}
.practice .page-hero-pad .section-title em { color: var(--blue); font-family: var(--font-display); font-weight: 500; }
.practice .byline { flex-wrap: wrap; gap: 4px 10px; margin-bottom: 26px; line-height: 1.5; font-size: 11px; }
.practice .content-layout { border-top: 1px solid var(--rule); padding-top: 28px; grid-template-columns: minmax(0,740px) minmax(230px,320px); }
.practice .prose { color: #42474e; line-height: 1.72; }
.practice .prose .prose-lede { font: 450 clamp(18px,1.6vw,23px)/1.52 var(--font-body); color: var(--text); }
.practice .prose h2 { font: 600 clamp(24px,2.25vw,34px)/1.16 var(--font-body); letter-spacing: -.045em; }
.practice .prose a:not(.btn) { color: var(--blue); border: 0; text-decoration: underline; text-underline-offset: .18em; }
.practice .content-aside-card, .practice .roi-calc, .practice .callout {
  border: 1px solid var(--rule); border-radius: 4px; background: var(--white); box-shadow: none;
}
.practice .content-aside-title, .practice .roi-stat-label { color: var(--muted); font-weight: 600; }
.practice .content-toc a.active { color: var(--blue); border-color: var(--blue); }
.practice .prose-callout { background: #efe9db; border-color: #926138; }
.practice .roi-calc { max-width: 860px; margin-top: 24px; }
.practice .roi-inputs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 22px; }
.practice .roi-inputs .lead-field { min-width: 0; }
.practice .lead-field label, .practice .roi-lead > label { color: var(--text); }
.practice .lead-field :is(input,select,textarea), .practice .roi-lead-row input[type="email"] {
  background: var(--white); color: var(--text); border: 1px solid #8a8c88; border-radius: 4px;
}
.practice .lead-field select { appearance: auto; }
.practice .lead-field :is(input,select,textarea):focus, .practice .roi-lead-row input:focus {
  border-color: var(--blue); box-shadow: none; outline: 2px solid var(--blue); outline-offset: 1px;
}
.practice .roi-stat-value { font-family: var(--font-body); color: var(--text); }
.practice .roi-disclaimer { opacity: 1; }
.practice .lead-form-status.error { color: #9e3829; }
.practice .lead-form-status.success { color: #275841; }

@media (max-width: 900px) { .practice .content-layout { grid-template-columns: 1fr; } }
@media (max-width: 840px) {
  .practice .nav-links { background: var(--night); }
  html:not(.js-enabled) .practice .nav-burger { display: none; }
  .practice .fallback-contact { display: inline-block; color: #fff; }
}
@media (max-width: 640px) {
  .practice .roi-inputs { grid-template-columns: 1fr; gap: 4px; }
  .practice .case-heading h1 { text-wrap: balance; }
}
@media print { .practice .section.page-hero-pad { padding-top: 0; } }

@media (min-width: 960px) {
  .practice .tool-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); align-items: start; gap: clamp(32px,5vw,84px); margin-bottom: 40px; }
  .practice .tool-intro { max-width: 56ch; }
  .practice .tool-intro h1.section-title { font-size: clamp(42px,4.15vw,68px); }
  .practice .tool-layout > :is(.roi-calc,.book-widget) { width: 100%; max-width: none; margin: 0; }
  .practice .tool-layout .book-widget { padding: 28px; background: var(--white); border: 1px solid var(--rule); border-radius: 4px; }
}

/* Shared navigation and disclosures. Native controls keep their keyboard and touch behavior. */
.service-menu { position: relative; }
.service-menu summary {
  display: flex; align-items: center; gap: 8px; min-height: 44px; list-style: none; cursor: pointer;
  color: #e7e8e6; font: 500 14px/1.4 var(--font-body);
}
.practice .service-menu > summary::after, .practice .service-menu[open] > summary::after {
  content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg);
}
.practice .service-menu[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.service-links {
  position: absolute; top: calc(100% + 5px); right: -18px; z-index: 2; min-width: 248px; padding: 8px;
  border-radius: 12px; border: 1px solid #48484c; background: #1e1f22; box-shadow: 0 16px 42px #0005;
}
.practice .nav-links .service-links a {
  display: flex; padding: 11px 14px; align-items: center; min-height: 43px; border-radius: 6px; color: #eeece7;
  font-size: .91rem; line-height: 1.35; letter-spacing: normal;
}
.practice .nav-links .service-links a::after { display: none; }
.practice .nav-links .service-links a:is(:hover,:focus-visible) { background: #3b332d; color: #ffcdab; }
.practice .question, .practice .directory { border-color: var(--rule); }
.practice :is(.question,.directory,.rate-group) > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 52px;
  padding-right: 49px; color: var(--text); list-style: none;
}
.practice :is(.question,.directory,.rate-group) > summary::after {
  display: grid; place-items: center; width: 29px; height: 29px; right: 5px; border: 1px solid var(--rule);
  border-radius: 50%; color: var(--text); background: var(--white); font: 400 19px/1 var(--font-body);
}
.practice :is(.question,.directory,.rate-group)[open] > summary::after { background: var(--night); color: #ffc49a; border-color: var(--night); }
.practice :is(.question,.directory,.rate-group) > summary:hover { color: var(--blue); }
.practice .lead-field select {
  appearance: none; padding-right: 43px; cursor: pointer; min-height: 44px;
  background-image: linear-gradient(45deg,transparent 50%,#724322 50%),linear-gradient(135deg,#724322 50%,transparent 50%);
  background-size: 6px 6px,6px 6px; background-position: right 22px center,right 16px center; background-repeat: no-repeat;
}
@media (forced-colors: active) { .practice .lead-field select { appearance: auto; background-image: none; } }
@media (max-width: 840px) {
  .practice .nav-links {
    display: none; visibility: visible; position: absolute; inset: 100% 0 auto; max-height: calc(100dvh - 65px); overflow: auto; overscroll-behavior: contain;
    z-index: 5; align-items: stretch; justify-content: flex-start; gap: 0; padding: 8px clamp(22px,5.3vw,86px) 20px;
    background: #161719; border-bottom: 1px solid #48484c; box-shadow: 0 15px 26px #0004; backdrop-filter: none;
  }
  .practice .nav-links.open { display: flex; visibility: visible; opacity: 1; }
  .practice .nav-links > a, .service-menu > summary { font-size: 1.08rem; min-height: 48px; }
  .practice .nav-links > a:not(.nav-cta), .service-menu > summary { display: flex; align-items: center; border-bottom: 1px solid #36373a; padding: 10px 0; }
  .service-menu > summary { justify-content: space-between; }
  .service-links { position: static; min-width: 0; padding: 6px; margin: 7px 0; box-shadow: none; }
  .practice .nav-links .nav-cta { align-self: flex-start; margin-top: 12px; }
  .practice .nav-burger { min-width: 44px; min-height: 44px; }
}
