/* styles.css — Spirit Wrestler Solutions
   Post-space-age firm aesthetic. Stark, dimensional, subtly alive.
   Dark theme locked as production default. */

/* ── Tokens ───────────────────────────────────────────────────────────────── */
:root {
  --bg: #0b0b0c;
  --bg-2: #111114;
  --bg-3: #16171a;
  --ink: #f5f4ef;
  --ink-2: #c9c7be;
  --ink-3: #8a8880;
  --ink-4: #545349;
  --hair: rgba(245,244,239,0.12);
  --hair-2: rgba(245,244,239,0.06);
  --accent: #f5f4ef;
  --display: 'Inter Tight', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --shell: 1320px;
  --pad: clamp(20px, 4vw, 64px);
  --rad: 2px;
}

[data-bg="bone"]  { --bg:#fafaf7; --bg-2:#f3f2ee; --bg-3:#ebeae5; --ink:#0c0c0c; --ink-2:#2a2925; --ink-3:#5a584f; --ink-4:#8a877c; --hair:rgba(12,12,12,0.12); --hair-2:rgba(12,12,12,0.06); --accent:#0c0c0c; }
[data-bg="white"] { --bg:#ffffff; --bg-2:#f4f4f1; --bg-3:#ececea; --ink:#0c0c0c; --ink-2:#2a2925; --ink-3:#5a584f; --ink-4:#8a877c; --hair:rgba(12,12,12,0.12); --hair-2:rgba(12,12,12,0.06); --accent:#0c0c0c; }
[data-bg="cream"] { --bg:#f5f1ea; --bg-2:#ede8df; --bg-3:#e3ddd1; --ink:#15140f; --ink-2:#2f2c25; --ink-3:#5e5a4f; --ink-4:#908b7e; --hair:rgba(21,20,15,0.14); --hair-2:rgba(21,20,15,0.07); --accent:#15140f; }
[data-bg="dark"]  { --bg:#0b0b0c; --bg-2:#111114; --bg-3:#16171a; --ink:#f5f4ef; --ink-2:#c9c7be; --ink-3:#8a8880; --ink-4:#545349; --hair:rgba(245,244,239,0.12); --hair-2:rgba(245,244,239,0.06); --accent:#f5f4ef; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01","cv11";
  overflow-x: hidden;
}
::selection { background: var(--ink); color: var(--bg); }

/* Scrollbar — wider, brand-aligned. Firefox has no custom width, so it
   inherits the OS default but picks up the matched colors. */
html { scrollbar-color: var(--ink-4) var(--bg-2); scrollbar-width: auto; }
::-webkit-scrollbar { width: 14px; height: 14px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb {
  background: var(--ink-4);
  border: 3px solid var(--bg-2);
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: var(--ink-3); background-clip: padding-box; border: 3px solid var(--bg-2); }
::-webkit-scrollbar-corner { background: var(--bg-2); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.sws-shell { max-width: var(--shell); margin: 0 auto; padding: 0 var(--pad); }

/* ── Wordmark ─────────────────────────────────────────────────────────────── */
.sws-wm { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.sws-wm__mark { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; }
.sws-wm__mark img { width: 100%; height: 100%; display: block; }
.sws-wm__txt { display: inline-flex; flex-direction: column; line-height: 1; gap: 3px; }
.sws-wm__a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.012em;
  white-space: nowrap;
}
.sws-wm__b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
.sws-wm--compact .sws-wm__mark { width: 22px; height: 22px; }
.sws-wm--compact .sws-wm__a { font-size: 14.5px; }
.sws-wm--compact .sws-wm__b { font-size: 9.5px; letter-spacing: 0.2em; }

/* ── Nav ──────────────────────────────────────────────────────────────────── */
.sws-nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  transition: border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.sws-nav.is-scrolled { border-bottom-color: var(--hair); }
.sws-nav__inner {
  max-width: var(--shell); margin: 0 auto;
  padding: 16px var(--pad);
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 32px;
}
.sws-nav__links {
  display: flex; justify-content: center; gap: 6px;
  font-size: 12.5px; color: var(--ink-3);
  font-family: var(--display);
  letter-spacing: 0.005em;
}
.sws-nav__links a {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color .18s ease, background .18s ease;
  white-space: nowrap;
}
.sws-nav__dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--ink-4);
  transition: background .2s ease, transform .25s ease;
}
.sws-nav__links a:hover { color: var(--ink); background: var(--hair-2); }
.sws-nav__links a:hover .sws-nav__dot { background: var(--ink); transform: scale(1.4); }
.sws-nav__links a.is-active { color: var(--ink); }
.sws-nav__links a.is-active .sws-nav__dot { background: var(--ink); transform: scale(1.6); }

.sws-nav__cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  background: var(--ink); color: var(--bg);
  border-radius: 999px;
  font-family: var(--display);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.005em;
  transition: transform .2s ease;
  position: relative;
  overflow: hidden;
}
.sws-nav__cta::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 30%, color-mix(in oklab, var(--bg) 25%, transparent) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .6s ease;
}
.sws-nav__cta:hover { transform: translateY(-1px); }
.sws-nav__cta:hover::before { transform: translateX(100%); }
.sws-nav__cta-arrow { transition: transform .25s ease; position: relative; }
.sws-nav__cta:hover .sws-nav__cta-arrow { transform: translateX(2px); }

/* Practice dropdown */
.sws-nav__item { position: relative; display: inline-flex; align-items: center; }
.sws-nav__caret {
  width: 9px; height: 6px;
  margin-left: 2px;
  color: var(--ink-3);
  transition: transform .25s ease, color .2s ease;
  flex-shrink: 0;
}
.sws-nav__item--has-menu:hover .sws-nav__caret,
.sws-nav__item--has-menu:focus-within .sws-nav__caret {
  transform: rotate(180deg);
  color: var(--ink);
}
.sws-nav__submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  margin-top: 10px;
  min-width: 380px;
  background: var(--bg);
  border: 1px solid var(--hair);
  border-radius: 2px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .2s ease, transform .25s ease, visibility 0s linear .25s;
  z-index: 60;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 12px 32px -10px rgba(0,0,0,0.10),
    0 24px 60px -24px rgba(0,0,0,0.12);
}
.sws-nav__submenu::before {
  content: "";
  position: absolute;
  top: -10px; left: 0; right: 0;
  height: 10px;
}
.sws-nav__item--has-menu:hover .sws-nav__submenu,
.sws-nav__item--has-menu:focus-within .sws-nav__submenu {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity .2s ease, transform .25s ease, visibility 0s linear 0s;
}
.sws-nav__submenu a {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 12px 14px;
  border-radius: 0;
  background: transparent;
  white-space: nowrap;
  color: var(--ink);
  font-family: var(--display);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background .15s ease, padding-left .2s ease;
}
.sws-nav__submenu a:hover {
  background: var(--bg-2);
  padding-left: 18px;
}
.sws-nav__submenu a.is-active { background: var(--bg-2); }
.sws-nav__submenu a.is-active .sws-nav__sub-n { color: var(--ink); }
.sws-nav__sub-n {
  font-family: var(--display);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  font-weight: 500;
  transition: color .2s ease;
}
.sws-nav__submenu a:hover .sws-nav__sub-n { color: var(--ink); }

@media (max-width: 760px) {
  .sws-nav__links { display: none; }
  .sws-nav__inner { grid-template-columns: auto auto; }
}

/* ── Hero (shared chrome) ─────────────────────────────────────────────────── */
.sws-hero {
  position: relative;
  padding: clamp(72px, 11vw, 160px) 0 clamp(80px, 12vw, 160px);
  overflow: hidden;
  isolation: isolate;
}
.sws-hero__shell {
  max-width: var(--shell); margin: 0 auto;
  padding: 0 var(--pad);
  position: relative; z-index: 2;
}
.sws-hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--hair-2) 1px, transparent 1px),
    linear-gradient(to bottom, var(--hair-2) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.sws-hero__orbit {
  position: absolute;
  right: calc(4vw - 120px); top: 50%;
  transform: translateY(-50%);
  width: 520px; height: 520px;
  color: var(--ink);
  opacity: 0.05;
  z-index: 1;
  pointer-events: none;
  animation: sws-drift 22s ease-in-out infinite alternate;
  filter: blur(0.4px);
}
.sws-hero__orbit img { width: 100%; height: 100%; display: block; }
@keyframes sws-drift {
  0%   { transform: translate(0, -50%) rotate(0deg); }
  100% { transform: translate(-30px, calc(-50% - 20px)) rotate(4deg); }
}
[data-bg="bone"] .sws-hero__orbit,
[data-bg="white"] .sws-hero__orbit,
[data-bg="cream"] .sws-hero__orbit { opacity: 0.07; }

.sws-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display);
  font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: clamp(40px, 6vw, 72px);
}
.sws-hero__bullet {
  display: inline-block; width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 4px var(--hair-2);
  animation: sws-pulse 2.4s ease-in-out infinite;
}
@keyframes sws-pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--hair-2); }
  50%      { box-shadow: 0 0 0 7px var(--hair-2); }
}
.sws-hero__sep { color: var(--ink-4); }

.sws-hero__h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(48px, 9vw, 142px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  margin: 0 0 clamp(36px, 5vw, 56px);
  color: var(--ink);
  text-wrap: pretty;
}
.sws-hero__h1 em {
  font-style: italic;
  font-weight: 400;
  font-family: 'Source Serif 4', Georgia, serif;
  letter-spacing: -0.02em;
}
.sws-hero__sub {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--ink-2);
  max-width: 680px;
  margin: 0 0 28px;
  text-wrap: pretty;
}

.sws-hero__motto {
  display: inline-flex; align-items: center; gap: 16px;
  margin-top: 36px;
  font-family: var(--display);
  font-size: 13.5px; letter-spacing: 0.04em;
  color: var(--ink);
}
.sws-hero__motto-rule { display: inline-block; width: 38px; height: 1px; background: var(--ink); }
.sws-hero__motto strong { font-weight: 700; font-style: inherit; }
.sws-contact-aside__motto strong,
.sws-footer__motto-a strong,
.sws-footer__motto-b strong { font-weight: 700; font-style: inherit; font-family: inherit; }

.sws-hero__foot {
  display: flex; justify-content: space-between; align-items: end;
  margin-top: clamp(60px, 9vw, 120px);
  border-top: 1px solid var(--hair);
  padding-top: 22px;
  font-family: var(--display);
  font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3);
  gap: 24px; flex-wrap: wrap;
}
.sws-hero__scroll { display: inline-flex; align-items: center; gap: 14px; }
.sws-hero__scroll-rule { display: inline-block; width: 60px; height: 1px; background: var(--ink-3); transition: width .3s ease, background .3s ease; }
.sws-hero__scroll:hover .sws-hero__scroll-rule { width: 96px; background: var(--ink); }
.sws-hero__scroll-arrow { transition: transform .3s ease; }
.sws-hero__scroll:hover .sws-hero__scroll-arrow { transform: translateY(2px); }

/* ── Section header ───────────────────────────────────────────────────────── */
.sws-section {
  padding: clamp(80px, 11vw, 160px) 0;
  position: relative;
}
.sws-section + .sws-section { border-top: 1px solid var(--hair); }
.sws-section--firm {
  background: var(--bg-2);
  position: relative;
}
.sws-section--firm::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--hair-2) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
  pointer-events: none;
}
.sws-section--firm > * { position: relative; }

.sws-sechd {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 3fr);
  gap: clamp(24px, 4vw, 80px);
  align-items: start;
  margin-bottom: clamp(60px, 8vw, 110px);
  padding-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--hair);
}
.sws-sechd__meta { display: flex; flex-direction: column; gap: 10px; }
.sws-sechd__num {
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.sws-sechd__kicker {
  font-family: var(--display);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
}
.sws-sechd__h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(32px, 4.8vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.028em;
  color: var(--ink);
  text-wrap: balance;
}
.sws-sechd__intro {
  grid-column: 2;
  margin-top: 24px;
  font-size: 17px;
  color: var(--ink-2);
  max-width: 64ch;
  line-height: 1.6;
}
.sws-sechd__intro p { margin: 0; text-wrap: pretty; }
@media (max-width: 760px) {
  .sws-sechd { grid-template-columns: 1fr; }
  .sws-sechd__intro { grid-column: 1; }
}

/* ── Facets ───────────────────────────────────────────────────────────────── */
.sws-facets { display: flex; flex-direction: column; gap: 0; }
.sws-facet {
  padding: clamp(48px, 6vw, 88px) 0;
  border-top: 1px solid var(--hair);
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(0, 3fr);
  gap: clamp(24px, 4vw, 80px);
  align-items: start;
  position: relative;
}
.sws-facet:first-child { border-top: 0; padding-top: 0; }
.sws-facet__head {
  display: flex; flex-direction: column; gap: 14px;
  position: sticky; top: 96px;
}
.sws-facet__n {
  font-family: var(--display);
  font-weight: 500;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  display: inline-block;
  position: relative;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.sws-facet__label {
  font-family: var(--display);
  font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
}
.sws-facet__rule {
  display: inline-block;
  width: 32px; height: 1px;
  background: var(--ink-3);
  margin-top: 6px;
}
.sws-facet__title {
  margin: 0 0 clamp(20px, 2.5vw, 32px);
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--ink);
  text-wrap: pretty;
}
.sws-facet__body p {
  margin: 0 0 1.1em;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 64ch;
  text-wrap: pretty;
}
.sws-facet__body p:last-child { margin-bottom: 0; }

.sws-pull {
  margin: clamp(28px, 3vw, 40px) 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--hair);
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.4;
  color: var(--ink);
  max-width: 38ch;
  letter-spacing: -0.005em;
}

@media (max-width: 760px) {
  .sws-facet { grid-template-columns: 1fr; }
  .sws-facet__head { position: static; flex-direction: row; align-items: baseline; gap: 16px; flex-wrap: wrap; }
  .sws-facet__n { font-size: 44px; }
}

/* And-more */
.sws-andmore {
  margin-top: clamp(48px, 7vw, 96px);
  padding: clamp(36px, 5vw, 56px);
  background: var(--bg-2);
  border: 1px solid var(--hair);
  border-radius: var(--rad);
  display: grid; gap: 18px;
  position: relative;
  overflow: hidden;
}
.sws-andmore::before {
  content: "";
  position: absolute; right: -64px; top: -48px;
  width: 320px; height: 320px;
  background-image: url('assets/dove.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top right;
  opacity: 0.06;
  pointer-events: none;
}
.sws-andmore__rule { width: 36px; height: 1px; background: var(--ink-3); }
.sws-andmore__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.18;
  letter-spacing: -0.018em;
  color: var(--ink);
  text-wrap: pretty;
}
.sws-andmore p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 60ch; }
.sws-andmore__cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 8px;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: var(--display);
  font-size: 13px; font-weight: 500;
  color: var(--ink);
  align-self: start;
  transition: background .2s ease, color .2s ease;
}
.sws-andmore__cta:hover { background: var(--ink); color: var(--bg); }
.sws-andmore__cta-arrow { transition: transform .25s ease; }
.sws-andmore__cta:hover .sws-andmore__cta-arrow { transform: translateX(3px); }

/* ── The Firm ─────────────────────────────────────────────────────────────── */
.sws-firm { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.sws-firm__pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--hair); border: 1px solid var(--hair); border-radius: var(--rad); overflow: hidden; }
.sws-firm-pillar {
  padding: clamp(24px, 3vw, 36px);
  background: var(--bg);
  display: flex; flex-direction: column; gap: 10px;
  transition: background .25s ease, transform .25s ease;
  position: relative;
}
.sws-firm-pillar:hover { background: var(--bg-3); }
.sws-firm-pillar__num {
  font-family: var(--display);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.sws-firm-pillar h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.sws-firm-pillar p { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.sws-firm__discretion {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--hair);
  border-radius: var(--rad);
  background: var(--bg);
  position: sticky;
  top: 96px;
}
.sws-firm__discretion-kicker {
  font-family: var(--display);
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
  display: block;
  margin-bottom: 14px;
}
.sws-firm__discretion p {
  margin: 0 0 1em;
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
}
.sws-firm__discretion p:last-child { margin-bottom: 0; }
@media (max-width: 980px) {
  .sws-firm { grid-template-columns: 1fr; }
  .sws-firm__pillars { grid-template-columns: 1fr; }
  .sws-firm__discretion { position: static; }
}

/* ── Founder ──────────────────────────────────────────────────────────────── */
.sws-founder { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.sws-founder__card {
  padding: 28px;
  border: 1px solid var(--hair);
  border-radius: var(--rad);
  background: var(--bg-2);
  display: flex; flex-direction: column; gap: 22px;
  position: sticky;
  top: 96px;
  overflow: hidden;
}
.sws-founder__card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 0%, var(--hair) 0%, transparent 50%);
  pointer-events: none;
}
.sws-founder__portrait {
  width: 100%; aspect-ratio: 1.2 / 1;
  border: 1px solid var(--hair);
  border-radius: 2px;
  background: var(--bg-3);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-3);
  position: relative;
  overflow: hidden;
}
.sws-founder__portrait img { width: 120px; height: 120px; opacity: 0.7; }
.sws-founder__id {
  display: flex; flex-direction: column; gap: 4px;
  position: relative;
}
.sws-founder__name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.sws-founder__creds {
  font-family: var(--display);
  font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3);
}
.sws-founder__role {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 15px;
  color: var(--ink-2);
  margin-top: 6px;
}
.sws-founder__lines {
  display: flex; flex-direction: column; gap: 0;
  margin: 0; padding: 14px 0 0;
  border-top: 1px solid var(--hair);
  position: relative;
}
.sws-founder__lines > div {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--hair-2);
}
.sws-founder__lines > div:last-child { border-bottom: 0; }
.sws-founder__lines dt { font-family: var(--display); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin: 0; }
.sws-founder__lines dd { margin: 0; font-family: var(--display); font-weight: 500; font-size: 14px; color: var(--ink); letter-spacing: -0.01em; }

.sws-founder__lede p {
  margin: 0 0 1.2em;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  text-wrap: pretty;
}
.sws-founder__lede p:first-child {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.sws-founder__lede p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .sws-founder { grid-template-columns: 1fr; }
  .sws-founder__card { position: static; }
}

/* ── Community ────────────────────────────────────────────────────────────── */
.sws-giving { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.sws-giving li {
  display: grid;
  grid-template-columns: 56px minmax(220px, 1fr) minmax(0, 2fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: baseline;
  padding: clamp(22px, 2.6vw, 32px) 0;
  border-bottom: 1px solid var(--hair);
  transition: padding-left .25s ease;
  position: relative;
}
.sws-giving li:first-child { border-top: 1px solid var(--hair); }
.sws-giving li:hover { padding-left: 12px; }
.sws-giving__num {
  font-family: var(--display);
  font-size: 11.5px; letter-spacing: 0.18em; color: var(--ink-3);
}
.sws-giving__name {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.018em;
  color: var(--ink);
  text-wrap: pretty;
}
.sws-giving__desc { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; text-wrap: pretty; }
@media (max-width: 760px) {
  .sws-giving li { grid-template-columns: 1fr; gap: 6px; }
  .sws-giving li:hover { padding-left: 0; }
}

/* ── Contact ──────────────────────────────────────────────────────────────── */
.sws-contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.sws-form { max-width: 720px; }
/* Honeypot — hidden from real users, attractive to bots */
.sws-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important; height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.sws-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.sws-field { display: flex; flex-direction: column; gap: 8px; }
.sws-field--full { grid-column: 1 / -1; }
.sws-field label {
  font-family: var(--display);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3);
  display: flex; align-items: baseline; gap: 4px;
}
.sws-field__optional { letter-spacing: 0; text-transform: none; font-size: 11.5px; color: var(--ink-4); }
.sws-field__req { color: var(--ink-3); }
.sws-field input,
.sws-field textarea {
  appearance: none;
  border: 0;
  border-bottom: 1px solid var(--hair);
  padding: 10px 0;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  outline: none;
  border-radius: 0;
  transition: border-color .2s ease;
  resize: vertical;
}
.sws-field textarea { min-height: 120px; line-height: 1.5; }
.sws-field input:focus,
.sws-field textarea:focus { border-bottom-color: var(--ink); }
.sws-field.is-error input,
.sws-field.is-error textarea { border-bottom-color: #c8553d; }
.sws-field__msg { min-height: 16px; font-size: 11.5px; color: var(--ink-4); font-family: var(--display); letter-spacing: 0.04em; }
.sws-field__err { color: #c8553d; }

.sws-form__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 36px; gap: 24px; flex-wrap: wrap; }
.sws-form__urgent { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 13px; color: var(--ink-2); }
.sws-form__urgent input { accent-color: var(--ink); width: 16px; height: 16px; }
.sws-form__submit {
  appearance: none; border: 0;
  background: var(--ink); color: var(--bg);
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 13.5px; font-weight: 500;
  letter-spacing: 0.005em;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform .2s ease, opacity .2s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.sws-form__submit::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 30%, color-mix(in oklab, var(--bg) 28%, transparent) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .6s ease;
}
.sws-form__submit:hover:not(:disabled)::before { transform: translateX(100%); }
.sws-form__submit:hover:not(:disabled) { transform: translateY(-1px); }
.sws-form__submit:disabled { opacity: 0.6; cursor: default; }
.sws-form__submit-arrow { transition: transform .25s ease; position: relative; display: inline-block; }
.sws-form__submit:hover:not(:disabled) .sws-form__submit-arrow { transform: translateX(3px); }
.sws-form__submit.is-loading .sws-form__submit-arrow { animation: sws-spin 1s linear infinite; }
@keyframes sws-spin { to { transform: rotate(360deg); } }
.sws-form__after { margin: 18px 0 0; font-size: 12.5px; color: var(--ink-3); font-family: var(--display); letter-spacing: 0.02em; }
.sws-form__banner {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-left: 2px solid #c8553d;
  background: var(--bg-2);
  font-family: var(--display);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
}

.sws-contact-aside {
  padding: 28px;
  border: 1px solid var(--hair);
  border-radius: var(--rad);
  background: var(--bg-2);
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
  overflow: hidden;
}
.sws-contact-aside::before {
  content: "";
  position: absolute; right: -60px; bottom: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, var(--hair) 0%, transparent 60%);
  pointer-events: none;
}
.sws-contact-aside__row {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 12px; align-items: baseline;
  font-size: 14px;
  position: relative;
}
.sws-contact-aside__lbl {
  font-family: var(--display);
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
}
.sws-contact-aside a { color: var(--ink); border-bottom: 1px solid var(--hair); padding-bottom: 1px; transition: border-color .2s ease; }
.sws-contact-aside a:hover { border-bottom-color: var(--ink); }
.sws-contact-aside__rule { height: 1px; background: var(--hair); margin: 4px 0; }
.sws-contact-aside__motto {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  margin: 0;
}

.sws-contact-done { max-width: 640px; padding: 24px 0; }
.sws-contact-done p { font-family: var(--display); font-size: 20px; color: var(--ink-2); line-height: 1.55; margin: 0 0 24px; letter-spacing: -0.012em; }
.sws-contact-done__again {
  appearance: none; border: 1px solid var(--ink); background: transparent;
  font-family: var(--display);
  font-size: 13px; font-weight: 500;
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background .2s ease, color .2s ease;
  cursor: pointer;
}
.sws-contact-done__again:hover { background: var(--ink); color: var(--bg); }

@media (max-width: 900px) {
  .sws-contact-grid { grid-template-columns: 1fr; }
  .sws-form__grid { grid-template-columns: 1fr; }
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.sws-footer {
  padding: clamp(80px, 10vw, 140px) 0 28px;
  border-top: 1px solid var(--hair);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.sws-footer__motto {
  display: flex; align-items: center; gap: 28px;
  padding-bottom: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--hair);
}
.sws-footer__motto-mark { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; opacity: 0.85; }
.sws-footer__motto-mark img { width: 100%; height: 100%; display: block; }
.sws-footer__motto-txt {
  display: flex; flex-direction: column; line-height: 0.9;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.035em;
}
.sws-footer__motto-a {
  font-size: clamp(36px, 6vw, 72px);
  color: var(--ink-3);
}
.sws-footer__motto-b {
  font-size: clamp(36px, 6vw, 72px);
  color: var(--ink);
  font-style: italic;
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 400;
  margin-top: 6px;
  letter-spacing: -0.025em;
}
.sws-footer__top {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  padding: clamp(40px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--hair);
  align-items: start;
}
.sws-footer__brand { display: flex; flex-direction: column; gap: 8px; }
.sws-footer__name {
  display: flex; flex-direction: column; gap: 2px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.018em;
}
.sws-footer__name em {
  font-style: normal;
  font-family: var(--display);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 2px;
}
.sws-footer__sub { font-family: var(--display); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; }
.sws-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.sws-footer__cols > div { display: flex; flex-direction: column; gap: 10px; }
.sws-footer__h { font-family: var(--display); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 4px; }
.sws-footer__cols a { color: var(--ink-2); font-size: 14.5px; transition: color .15s ease; }
.sws-footer__cols a:hover { color: var(--ink); }
.sws-footer__workshop { color: var(--ink-2); font-size: 14.5px; }
.sws-footer__bot {
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 24px;
  font-family: var(--display);
  font-size: 11px; color: var(--ink-4);
  letter-spacing: 0.06em;
}
@media (max-width: 760px) {
  .sws-footer__top { grid-template-columns: 1fr; }
  .sws-footer__cols { grid-template-columns: 1fr 1fr; }
  .sws-footer__bot { flex-direction: column; }
  .sws-footer__motto { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ── Card primitive (invisible at rest, lifts on focus/hover) ─────────────── */
.sws-card {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: clamp(22px, 2.6vw, 34px);
  box-shadow: 0 0 0 0 rgba(0,0,0,0);
  transition:
    background .35s ease,
    border-color .35s ease,
    box-shadow .35s ease,
    transform .35s ease;
}
.sws-card:hover,
.sws-card:focus-within,
.sws-card.is-focus {
  background: var(--bg);
  border-color: var(--hair-2);
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 8px 24px -10px rgba(0,0,0,0.10),
    0 18px 48px -24px rgba(0,0,0,0.10);
}
[data-bg="dark"] .sws-card:hover,
[data-bg="dark"] .sws-card:focus-within,
[data-bg="dark"] .sws-card.is-focus {
  background: color-mix(in oklab, var(--bg) 70%, var(--bg-2));
  border-color: color-mix(in oklab, var(--hair-2) 80%, transparent);
  box-shadow:
    0 1px 2px rgba(0,0,0,0.4),
    0 10px 28px -10px rgba(0,0,0,0.45),
    0 22px 52px -24px rgba(0,0,0,0.5);
}
@media (prefers-reduced-motion: reduce) {
  .sws-card { transition: none; }
  .sws-hero__bullet,
  .sws-hero__orbit { animation: none; }
}

/* Tighten facet body when wrapped in a card */
.sws-facet__body.sws-card { padding: clamp(24px, 2.8vw, 36px); max-width: none; }
.sws-facet__body.sws-card p { max-width: 60ch; }

/* "Read the full brief" link under each facet */
.sws-facet__more {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 18px;
  font-family: var(--display);
  font-size: 13px; font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--hair);
  padding: 4px 0 6px;
  white-space: nowrap;
  transition: gap .2s ease, border-color .2s ease;
}
.sws-facet__more > span { white-space: nowrap; }
.sws-facet__more:hover { gap: 16px; border-bottom-color: var(--ink); }
.sws-facet__more-arrow { transition: transform .25s ease; }

/* ── Detail breakout sections ─────────────────────────────────────────────── */
.sws-detail {
  border-top: 1px solid var(--hair);
  background: var(--bg);
  position: relative;
}
.sws-detail + .sws-detail { border-top: 1px solid var(--hair); }
.sws-detail:nth-of-type(even) { background: var(--bg-2); }

.sws-detail__back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display);
  font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: clamp(28px, 4vw, 48px);
  white-space: nowrap;
  transition: color .2s ease, gap .2s ease;
}
.sws-detail__back > span { white-space: nowrap; }
.sws-detail__back:hover { color: var(--ink); gap: 14px; }

.sws-detail__head {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 3fr);
  gap: clamp(24px, 4vw, 80px);
  align-items: start;
  padding-bottom: clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--hair);
  margin-bottom: clamp(48px, 6vw, 80px);
}
.sws-detail__num {
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px; letter-spacing: 0.06em;
  color: var(--ink-3);
  grid-column: 1; grid-row: 1;
}
.sws-detail__kicker {
  font-family: var(--display);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
  grid-column: 1; grid-row: 2;
  align-self: start;
}
.sws-detail__h2 {
  grid-column: 2; grid-row: 1 / span 2;
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.026em;
  color: var(--ink);
  text-wrap: balance;
}
.sws-detail__lede {
  grid-column: 2;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--ink-2);
  max-width: 64ch;
  text-wrap: pretty;
}
@media (max-width: 760px) {
  .sws-detail__head { grid-template-columns: 1fr; }
  .sws-detail__h2, .sws-detail__lede { grid-column: 1; }
}

.sws-detail__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 2.4vw, 28px);
  max-width: 980px;
}

.sws-detail__block {
  display: flex; flex-direction: column; gap: 12px;
}
.sws-detail__block-lbl {
  font-family: var(--display);
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
}
.sws-detail__block h3 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.018em;
  color: var(--ink);
  text-wrap: pretty;
}
.sws-detail__block-body p {
  margin: 0 0 0.9em;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 64ch;
  text-wrap: pretty;
}
.sws-detail__block-body p:last-child { margin-bottom: 0; }
.sws-detail__block-body ul,
.sws-detail__block-body ol {
  margin: 0; padding-left: 1.1em;
  display: flex; flex-direction: column; gap: 8px;
}
.sws-detail__block-body li {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 64ch;
  text-wrap: pretty;
}
.sws-detail__block-body li::marker { color: var(--ink-4); }
.sws-detail__block-body b { color: var(--ink); font-weight: 600; }

/* Three delivery models — grid */
.sws-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 6px;
}
.sws-three > div {
  background: color-mix(in oklab, var(--bg) 50%, var(--bg-2));
  padding: clamp(20px, 2.4vw, 28px);
  display: flex; flex-direction: column; gap: 8px;
  transition: background .25s ease;
}
.sws-three > div:hover { background: var(--bg-3); }
.sws-three__num {
  font-family: var(--display);
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--ink-3);
}
.sws-three h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.sws-three p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 880px) {
  .sws-three { grid-template-columns: 1fr; }
}

/* Sibling practice areas cross-nav */
.sws-detail__nextprev {
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--hair);
}
.sws-detail__nextprev-lbl {
  display: block;
  font-family: var(--display);
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.sws-detail__nextprev ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.sws-detail__nextprev li { border-bottom: 1px solid var(--hair-2); }
.sws-detail__nextprev li:last-child { border-bottom: 0; }
.sws-detail__nextprev a {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: baseline;
  gap: clamp(16px, 2vw, 32px);
  padding: clamp(16px, 1.6vw, 22px) 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(17px, 1.6vw, 20px);
  letter-spacing: -0.014em;
  color: var(--ink);
  transition: padding-left .25s ease, color .2s ease;
}
.sws-detail__nextprev a::after {
  content: "→";
  color: var(--ink-3);
  font-weight: 400;
  transition: transform .25s ease, color .2s ease;
}
.sws-detail__nextprev a:hover { padding-left: 12px; }
.sws-detail__nextprev a:hover::after { color: var(--ink); transform: translateX(4px); }
.sws-detail__nextprev-n {
  font-family: var(--display);
  font-size: 11.5px; letter-spacing: 0.18em;
  color: var(--ink-3);
  font-weight: 500;
}
@media (max-width: 600px) {
  .sws-detail__nextprev a { grid-template-columns: 40px 1fr auto; }
}

.sws-detail__foot {
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--hair);
}
.sws-detail__cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px;
  background: var(--ink); color: var(--bg);
  border-radius: 999px;
  font-family: var(--display);
  font-size: 13.5px; font-weight: 500;
  white-space: nowrap;
  transition: transform .2s ease;
}
.sws-detail__cta > span { white-space: nowrap; }
.sws-detail__cta:hover { transform: translateY(-1px); }

/* Defensive nowrap on inline-flex CTAs */
.sws-form__submit,
.sws-form__urgent,
.sws-andmore__cta { white-space: nowrap; }
.sws-form__submit > *,
.sws-form__urgent > span,
.sws-andmore__cta > span { white-space: nowrap; }

/* Soften facet body cards inside a section that already has dark bg */
.sws-section--practice .sws-facet__body.sws-card,
.sws-section--practice .sws-andmore { box-shadow: 0 1px 0 var(--hair-2) inset, 0 6px 24px rgba(0,0,0,0.04); }

/* Founder lede also gets a card */
.sws-founder__lede.sws-card { padding: clamp(28px, 3vw, 40px); }
