@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@400;500;600;700&display=swap");

/* Prototype 05: The Studio.
   A bold-modern re-imagining after Readymag. Oversized Space Grotesk display,
   fully rounded geometry (pill nav, pill chips, rounded cards), a near-black
   rounded hero panel with huge white type, and ONE hot accent (electric blue
   #1032CF) doing all the shouting against white. Held at the firm's
   professional register: no lowercase cutesiness, no scroll-jacking.

   This file themes only the shared contract classes that render.js emits.
   No invented page types, taxonomies, or content. */

:root {
  --ink: #111111;
  --black: #0c0c0c;
  --paper: #ffffff;
  --accent: #1032cf;
  --accent-ink: #0b2599;
  --pill: #f0f0ee;
  --rule: #e6e6e2;
  --muted: #6b6b66;

  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;

  --card-radius: 18px;
}

/* ---- Reset and base ---- */
*,*::before,*::after { box-sizing: border-box; }
html { font-size: 16px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---- Content container ---- */
.sspc-main { max-width: 70rem; margin: 0 auto; padding: 2.5rem 1.75rem 4rem; }
.sspc-page { display: block; }

/* ===================================================================
   HEADER  --  floating pill nav
   =================================================================== */
.sspc-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 1.5rem 1.75rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}
.sspc-header__brand { display: inline-flex; align-items: center; color: var(--ink); }
.sspc-header__brand:hover, .sspc-header__brand:focus { text-decoration: none; color: var(--ink); }
.sspc-header__logo { display: none; }
.sspc-header__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  letter-spacing: -0.03em;
  color: var(--ink);
}
.sspc-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sspc-nav__item { margin: 0; }
.sspc-nav__link {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  background: var(--pill);
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}
.sspc-nav__link:hover, .sspc-nav__link:focus { text-decoration: none; background: #e4e4e0; color: var(--ink); }
.sspc-nav__link--active { background: var(--accent); color: var(--paper); }
.sspc-nav__link--active:hover, .sspc-nav__link--active:focus { background: var(--accent-ink); color: var(--paper); }

/* ---- Generic page heading ---- */
.sspc-page__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0 0 1.75rem;
}

/* ===================================================================
   HOME PAGE
   =================================================================== */
/* The dark rounded hero panel: Readymag's black band as a big rounded blob. */
.sspc-hero {
  background: var(--black);
  color: var(--paper);
  border-radius: 28px;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  margin: 0.5rem 0 2.5rem;
  text-align: center;
}
.sspc-hero__body { display: block; }
.sspc-hero__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.4rem, 8vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--paper);
  margin: 0 0 1.5rem;
}
.sspc-hero__tagline { /* plain-tagline fallback */
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  color: var(--paper);
  margin: 0;
}
.sspc-hero__media { display: none; }

/* Section rhythm + headings shared by featured/news/gallery */
.sspc-intro { margin: 0 0 2.5rem; max-width: none; }
.sspc-intro__paragraph {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  max-width: none;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
}

/* Quick links: a row of accent-outline pills. */
.sspc-quicklinks { margin: 0 0 3rem; }
.sspc-quicklinks__list { display: flex; flex-wrap: wrap; gap: 0.75rem; list-style: none; margin: 0; padding: 0; }
.sspc-quicklinks__item { margin: 0; }
.sspc-quicklinks__link {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent);
  background: transparent;
  border: 1.5px solid var(--accent);
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}
.sspc-quicklinks__link::after { content: " \2192"; }
.sspc-quicklinks__link:hover, .sspc-quicklinks__link:focus { text-decoration: none; background: var(--accent); color: var(--paper); }

/* Featured */
.sspc-featured {
  display: grid; grid-template-columns: 1fr; gap: 1.75rem;
  background: var(--pill); border-radius: var(--card-radius);
  padding: clamp(1.5rem, 3vw, 2.5rem); margin: 0 0 3rem;
}
@media (min-width: 52rem) { .sspc-featured { grid-template-columns: 1fr 1.05fr; gap: 2.5rem; align-items: center; } }
.sspc-featured__media { display: block; border-radius: 14px; overflow: hidden; background: var(--paper); }
.sspc-featured__diagram { display: block; width: 100%; height: auto; }
.sspc-featured__media--pending { display: flex; align-items: center; justify-content: center; min-height: 16rem; background: var(--paper); border: 1px dashed var(--rule); border-radius: 14px; }
.sspc-featured__pending { font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.sspc-featured__eyebrow { font-family: var(--sans); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin: 0 0 0.6rem; }
.sspc-featured__sep { color: var(--muted); }
.sspc-featured__title { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 0.5rem; }
.sspc-featured__title-link { color: var(--ink); }
.sspc-featured__title-link:hover, .sspc-featured__title-link:focus { color: var(--accent); text-decoration: none; }
.sspc-featured__date { display: block; font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.8rem; }
.sspc-featured__summary { font-size: 1.05rem; line-height: 1.65; margin: 0 0 1.3rem; color: var(--ink); }
.sspc-featured__link {
  display: inline-block; font-family: var(--display); font-weight: 600; font-size: 0.95rem;
  color: var(--paper); background: var(--accent); padding: 0.6rem 1.3rem; border-radius: 999px;
}
.sspc-featured__link::after { content: " \2192"; }
.sspc-featured__link:hover, .sspc-featured__link:focus { background: var(--accent-ink); text-decoration: none; color: var(--paper); }

/* Latest news: rounded rows */
.sspc-news { margin: 0 0 3rem; }
.sspc-news__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1rem; }
.sspc-news__title { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.sspc-news__all { font-family: var(--display); font-weight: 600; font-size: 0.95rem; color: var(--accent); }
.sspc-news__all::after { content: " \2192"; }
.sspc-news__all:hover, .sspc-news__all:focus { color: var(--accent-ink); text-decoration: none; }
.sspc-news__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.sspc-news__item { margin: 0; }
.sspc-news__link {
  display: block; padding: 1.1rem 1.3rem; color: inherit;
  background: var(--pill); border-radius: var(--card-radius);
  transition: transform 0.15s, background 0.15s;
}
.sspc-news__link:hover, .sspc-news__link:focus { text-decoration: none; transform: translateY(-2px); background: #e9e9e5; }
.sspc-news__meta { display: flex; gap: 0.8rem; font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.35rem; }
.sspc-news__category { color: var(--accent); font-weight: 600; }
.sspc-news__headline { display: block; font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--ink); }

/* ===================================================================
   MOTTO  --  rounded pill chips
   =================================================================== */
.sspc-motto {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 0.6rem; margin: 0; font-family: var(--display);
}
.sspc-motto__word {
  display: inline-block;
  font-weight: 600;
  font-size: clamp(0.95rem, 2.2vw, 1.4rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--paper);
  border: 1.5px solid rgba(255,255,255,0.4);
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.sspc-motto__word:hover, .sspc-motto__word:focus { text-decoration: none; background: var(--accent); border-color: var(--accent); color: var(--paper); }
.sspc-motto__sep { display: none; } /* pills replace the pipe separators */

/* ===================================================================
   ATTORNEYS LIST  --  rounded portrait cards
   =================================================================== */
.sspc-attorney-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr)); gap: 1.75rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.sspc-attorney-card { margin: 0; }
.sspc-attorney-card__link { display: block; color: inherit; }
.sspc-attorney-card__link:hover, .sspc-attorney-card__link:focus { text-decoration: none; }
.sspc-attorney-card__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--pill); border-radius: var(--card-radius); }
.sspc-attorney-card__portrait { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.sspc-attorney-card__link:hover .sspc-attorney-card__portrait, .sspc-attorney-card__link:focus .sspc-attorney-card__portrait { transform: scale(1.03); }
.sspc-attorney-card__name { font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.02em; margin: 0.8rem 0 0.15rem; }
.sspc-attorney-card__link:hover .sspc-attorney-card__name { color: var(--accent); }
.sspc-attorney-card__role { font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0; }

/* ===================================================================
   ATTORNEY PROFILE
   =================================================================== */
.sspc-profile { max-width: 54rem; }
.sspc-profile__header { display: flex; flex-wrap: wrap; gap: 2rem; align-items: flex-end; margin-bottom: 2.25rem; padding-bottom: 2rem; border-bottom: 1px solid var(--rule); }
.sspc-profile__media { flex: 0 0 15rem; max-width: 15rem; overflow: hidden; border-radius: var(--card-radius); }
.sspc-profile__portrait { width: 100%; height: auto; object-fit: cover; }
.sspc-profile__heading { flex: 1 1 18rem; }
.sspc-profile__name { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.035em; line-height: 1; margin: 0 0 0.4rem; }
.sspc-profile__role { font-family: var(--sans); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin: 0 0 1.25rem; }
.sspc-contact { list-style: none; margin: 0; padding: 0; }
.sspc-contact__item { font-size: 0.95rem; color: var(--ink); margin: 0.3rem 0; }
.sspc-section__title { font-family: var(--sans); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin: 2.25rem 0 0.9rem; }
.sspc-bio { margin-top: 1.5rem; }
.sspc-bio__paragraph { font-size: 1.06rem; line-height: 1.75; margin: 0 0 1.1rem; max-width: 44rem; }
.sspc-credentials { margin-top: 1.5rem; }
.sspc-credentials__section { margin-bottom: 1.4rem; }
.sspc-credentials__heading { font-family: var(--display); font-weight: 600; font-size: 1.1rem; margin: 0 0 0.4rem; }
.sspc-credentials__list { margin: 0; padding: 0; list-style: none; }
.sspc-credentials__line { font-size: 0.98rem; color: var(--ink); margin: 0.3rem 0; padding-left: 1.1rem; position: relative; }
.sspc-credentials__line::before { content: "\00B7"; position: absolute; left: 0.15rem; color: var(--accent); font-weight: 700; }
.sspc-related { margin-top: 1.5rem; }
.sspc-related__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 0.6rem; }
.sspc-related__item { margin: 0; }
.sspc-related__link {
  display: inline-block; font-family: var(--sans); font-size: 0.82rem; font-weight: 500;
  color: var(--ink); background: var(--pill); padding: 0.45rem 1rem; border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}
.sspc-related__link:hover, .sspc-related__link:focus { text-decoration: none; background: var(--accent); color: var(--paper); }

/* ===================================================================
   PRACTICE / INDUSTRY LIST  --  rounded cards
   =================================================================== */
.sspc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.sspc-list__item { margin: 0; }
.sspc-list__link {
  display: block; padding: 1.5rem 1.6rem; color: inherit;
  background: var(--pill); border-radius: var(--card-radius);
  transition: transform 0.15s, background 0.15s;
}
.sspc-list__link:hover, .sspc-list__link:focus { text-decoration: none; transform: translateY(-3px); background: #e9e9e5; }
.sspc-list__name { font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 2.6vw, 1.7rem); letter-spacing: -0.025em; color: var(--ink); margin: 0 0 0.35rem; }
.sspc-list__link:hover .sspc-list__name, .sspc-list__link:focus .sspc-list__name { color: var(--accent); }
.sspc-list__summary { font-size: 1rem; line-height: 1.6; color: var(--muted); margin: 0; max-width: 46rem; }

/* ===================================================================
   PRACTICE / INDUSTRY DETAIL
   =================================================================== */
.sspc-topic { max-width: 48rem; }
.sspc-topic__name { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.035em; line-height: 1.02; margin: 0 0 0.85rem; }
.sspc-topic__callout { font-family: var(--display); font-weight: 500; font-size: 1.3rem; line-height: 1.45; color: var(--accent); margin: 1rem 0 1.5rem; }
.sspc-topic__body { margin-top: 1.25rem; }
.sspc-topic__paragraph { font-size: 1.06rem; line-height: 1.75; margin: 0 0 1.1rem; }
.sspc-topic__heading { font-family: var(--display); font-weight: 600; }

/* ===================================================================
   ARTICLES
   =================================================================== */
.sspc-articles__intro { font-family: var(--display); font-weight: 500; font-size: 1.3rem; line-height: 1.4; color: var(--ink); margin: 0 0 1.5rem; max-width: 46rem; }
.sspc-articles { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.sspc-article-card { margin: 0; }
.sspc-article-card__link { display: block; padding: 1.5rem 1.6rem; color: inherit; background: var(--pill); border-radius: var(--card-radius); transition: transform 0.15s, background 0.15s; }
.sspc-article-card__link:hover, .sspc-article-card__link:focus { text-decoration: none; transform: translateY(-3px); background: #e9e9e5; }
.sspc-article-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.9rem; font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.sspc-article-card__category { color: var(--accent); font-weight: 600; }
.sspc-article-card__status { background: var(--ink); color: var(--paper); padding: 0.1rem 0.5rem; border-radius: 999px; letter-spacing: 0.06em; }
.sspc-article-card__title { font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 2.6vw, 1.7rem); letter-spacing: -0.025em; line-height: 1.15; color: var(--ink); margin: 0 0 0.4rem; }
.sspc-article-card__link:hover .sspc-article-card__title, .sspc-article-card__link:focus .sspc-article-card__title { color: var(--accent); }
.sspc-article-card__summary { font-size: 1rem; line-height: 1.6; color: var(--muted); margin: 0; max-width: 46rem; }
.sspc-articles__group { margin-top: 3rem; }
.sspc-articles__group-title { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.6rem; }

/* Article detail */
.sspc-article { max-width: 42rem; }
.sspc-article__meta { display: flex; gap: 0.9rem; font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.7rem; }
.sspc-article__category { color: var(--accent); font-weight: 600; }
.sspc-article__title { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.035em; line-height: 1.08; margin: 0 0 0.5rem; }
.sspc-article__status { display: inline-block; font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: 0.2rem 0.65rem; border-radius: 999px; margin: 0.4rem 0 0; }
.sspc-article__body { margin-top: 2rem; }
.sspc-article__body > :first-child { margin-top: 0; }
.sspc-article__subhead { font-family: var(--display); font-weight: 600; font-size: 1.4rem; letter-spacing: -0.02em; margin: 2rem 0 0.6rem; }
.sspc-article__para { margin: 0 0 1.2rem; line-height: 1.8; font-size: 1.06rem; }
.sspc-article__list { margin: 0 0 1.2rem 1.3rem; padding: 0; }
.sspc-article__list-item { margin: 0.4rem 0; line-height: 1.7; font-size: 1.06rem; }
.sspc-article__footer { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.sspc-article__back { font-family: var(--display); font-weight: 600; font-size: 0.95rem; color: var(--accent); }
.sspc-article__back::before { content: "\2190\00A0"; }
.sspc-article__back:hover, .sspc-article__back:focus { color: var(--accent-ink); text-decoration: none; }

/* ===================================================================
   CONTACT CARD
   =================================================================== */
.sspc-contact-card { font-style: normal; padding: 2rem; border-radius: var(--card-radius); background: var(--pill); max-width: 26rem; }
.sspc-contact-card__name { font-family: var(--display); font-weight: 600; font-size: 1.4rem; margin: 0 0 0.6rem; }
.sspc-contact-card__address, .sspc-contact-card__phone { font-family: var(--sans); font-size: 0.95rem; line-height: 1.55; color: var(--ink); margin: 0.2rem 0; }

/* ===================================================================
   NOT-FOUND and ERROR
   =================================================================== */
.sspc-notfound { padding: 2.5rem 0; max-width: 40rem; }
.sspc-notfound__title { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.03em; margin: 0 0 0.75rem; }
.sspc-notfound__message { font-size: 1.05rem; color: var(--muted); margin: 0 0 1.25rem; }
.sspc-notfound__back { margin: 0; }
.sspc-notfound__link { font-family: var(--display); font-weight: 600; color: var(--accent); }
.sspc-notfound__link:hover, .sspc-notfound__link:focus { color: var(--accent-ink); text-decoration: none; }
.sspc-error { font-family: var(--sans); color: var(--accent); padding: 1.5rem; border: 1px solid var(--accent); border-radius: var(--card-radius); margin: 1.5rem 0; }

/* ===================================================================
   FOOTER  --  charcoal panel
   =================================================================== */
.sspc-footer { background: var(--black); color: var(--paper); margin-top: 4rem; }
.sspc-footer__contact { max-width: 70rem; margin: 0 auto; padding: 2.5rem 1.75rem 3rem; }
.sspc-footer__contact p { font-family: var(--sans); font-size: 0.86rem; letter-spacing: 0.02em; color: rgba(255,255,255,0.75); margin: 0.3rem 0; }
.sspc-footer__founded { color: var(--paper); font-weight: 600; }
.sspc-footer__disclaimer { margin-top: 1.2rem; font-size: 0.74rem; letter-spacing: 0.04em; color: rgba(255,255,255,0.62); }

/* ===================================================================
   PHILOSOPHY  --  rounded mind map, accent active state
   =================================================================== */
.sspc-main--bare { max-width: 70rem; margin: 0 auto; padding: 3rem 1.75rem 5rem; }
.sspc-mindmap__intro { text-align: center; margin: 0 auto 1.5rem; }
.sspc-mindmap__kicker { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin: 0 0 1rem; }
/* On the philosophy page the motto pills sit on white, so give them dark ink. */
.sspc-mindmap__motto.sspc-motto { justify-content: center; }
.sspc-mindmap__motto .sspc-motto__word { color: var(--ink); border-color: var(--rule); }
.sspc-mindmap__motto .sspc-motto__word:hover, .sspc-mindmap__motto .sspc-motto__word:focus { color: var(--paper); background: var(--accent); border-color: var(--accent); }
.sspc-mindmap__lead { font-family: var(--display); font-weight: 500; font-size: 1.2rem; color: var(--muted); margin: 0.9rem 0 0; }
.sspc-mindmap__diagram { width: 100%; max-width: 58rem; margin: 1.5rem auto 2rem; }
.sspc-mm { width: 100%; height: auto; overflow: visible; display: block; animation: sspc-mm-in 0.5s ease both; }
@keyframes sspc-mm-in { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }
.sspc-mm__link, .sspc-mm__twig { stroke: var(--rule); fill: none; stroke-dasharray: 320; stroke-dashoffset: 320; animation: sspc-mm-draw 0.7s ease forwards; }
.sspc-mm__link { stroke-width: 2; }
.sspc-mm__twig { stroke-width: 1.5; animation-delay: 0.25s; }
@keyframes sspc-mm-draw { to { stroke-dashoffset: 0; } }
.sspc-mindmap[data-active] .sspc-mm__link, .sspc-mindmap[data-active] .sspc-mm__twig { opacity: 0.3; transition: opacity 0.25s, stroke 0.25s; }
.sspc-mm__link.is-active, .sspc-mm__twig.is-active { opacity: 1; stroke: var(--accent); }
.sspc-mm__hub-disc { fill: var(--ink); }
.sspc-mm__hub-text { fill: var(--paper); font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: 1px; }
.sspc-mm__sub-dot { fill: var(--rule); transition: fill 0.25s, r 0.25s; }
.sspc-mm__sub-label { fill: var(--muted); font-family: var(--sans); font-size: 14px; transition: fill 0.25s; }
.sspc-mindmap[data-active] .sspc-mm__sub { opacity: 0.3; transition: opacity 0.25s; }
.sspc-mm__sub.is-active { opacity: 1; }
.sspc-mm__sub.is-active .sspc-mm__sub-dot { fill: var(--accent); r: 6; }
.sspc-mm__sub.is-active .sspc-mm__sub-label { fill: var(--ink); font-weight: 600; }
.sspc-mm__pillar { cursor: pointer; }
.sspc-mm__pillar:focus { outline: none; }
.sspc-mm__disc { fill: var(--paper); stroke: var(--ink); stroke-width: 2; transition: fill 0.2s, stroke 0.2s; }
.sspc-mm__icon { color: var(--ink); }
.sspc-mm__icon path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sspc-mm__word { fill: var(--ink); font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; text-transform: uppercase; transition: fill 0.2s; }
.sspc-mm__pillar:hover .sspc-mm__disc, .sspc-mm__pillar:focus-visible .sspc-mm__disc { stroke: var(--accent); }
.sspc-mm__pillar:hover .sspc-mm__icon, .sspc-mm__pillar:focus-visible .sspc-mm__icon { color: var(--accent); }
.sspc-mm__pillar.is-active .sspc-mm__disc { fill: var(--accent); stroke: var(--accent); }
.sspc-mm__pillar.is-active .sspc-mm__icon { color: var(--paper); }
.sspc-mm__pillar.is-active .sspc-mm__word { fill: var(--accent); }
.sspc-mindmap__readout { max-width: 44rem; margin: 0 auto; min-height: 7rem; text-align: center; }
.sspc-mindmap__panel { display: none; }
.sspc-mindmap__panel.is-active { display: block; animation: sspc-fade 0.25s ease; }
@keyframes sspc-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sspc-mindmap__panel-word { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.02em; text-transform: uppercase; margin: 0 0 0.7rem; }
.sspc-mindmap__panel-text { font-family: var(--display); font-weight: 500; font-size: 1.25rem; line-height: 1.5; color: var(--ink); margin: 0; }

/* ===================================================================
   HOME CAROUSEL ("From the firm") + LIGHTBOX
   =================================================================== */
.sspc-gallery { margin: 0 0 1rem; }
.sspc-gallery__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.25rem; }
.sspc-gallery__title { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.sspc-gallery__controls { display: flex; gap: 0.5rem; }
.sspc-gallery__nav { width: 2.4rem; height: 2.4rem; border: none; background: var(--pill); color: var(--ink); font-size: 1.1rem; line-height: 1; cursor: pointer; border-radius: 999px; transition: background 0.15s, color 0.15s; }
.sspc-gallery__nav:hover, .sspc-gallery__nav:focus { background: var(--accent); color: var(--paper); }
.sspc-gallery__track { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0 0 1rem; overflow-x: auto; scroll-snap-type: x mandatory; }
.sspc-gallery__item { flex: 0 0 auto; scroll-snap-align: start; }
.sspc-gallery__btn { display: block; width: 18rem; max-width: 74vw; padding: 0; border: none; background: var(--pill); cursor: pointer; color: var(--ink); text-align: left; overflow: hidden; border-radius: var(--card-radius); transition: transform 0.15s; }
.sspc-gallery__btn:hover, .sspc-gallery__btn:focus { transform: translateY(-3px); }
.sspc-gallery__image { width: 100%; height: 11rem; object-fit: cover; display: block; }
.sspc-gallery__cap { display: block; padding: 0.75rem 0.95rem; font-family: var(--sans); font-size: 0.82rem; color: var(--ink); }
.sspc-lightbox { position: fixed; inset: 0; z-index: 1000; display: none; }
.sspc-lightbox[data-open="true"] { display: block; }
.sspc-lightbox__backdrop { position: absolute; inset: 0; background: rgba(12,12,12,0.78); }
.sspc-lightbox__dialog { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: min(62rem, 92vw); max-height: 90vh; background: var(--paper); border-radius: 22px; display: grid; grid-template-columns: 1.4fr 1fr; overflow: hidden; box-shadow: 0 24px 70px rgba(0,0,0,0.45); }
.sspc-lightbox__media { background: var(--pill); display: flex; align-items: center; justify-content: center; }
.sspc-lightbox__image { width: 100%; height: 100%; max-height: 90vh; object-fit: contain; display: block; }
.sspc-lightbox__aside { padding: 2rem 1.75rem; display: flex; flex-direction: column; justify-content: center; gap: 0.75rem; }
.sspc-lightbox__title { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; margin: 0; font-size: 1.5rem; }
.sspc-lightbox__caption { margin: 0; color: var(--muted); line-height: 1.65; }
.sspc-lightbox__link { align-self: flex-start; margin-top: 0.5rem; font-family: var(--display); font-weight: 600; font-size: 0.9rem; color: var(--paper); background: var(--accent); padding: 0.5rem 1.1rem; border-radius: 999px; }
.sspc-lightbox__link::after { content: " \2197"; }
.sspc-lightbox__link:hover, .sspc-lightbox__link:focus { background: var(--accent-ink); text-decoration: none; color: var(--paper); }
.sspc-lightbox__close { position: absolute; top: 0.6rem; right: 0.7rem; z-index: 2; width: 2.2rem; height: 2.2rem; border: none; background: rgba(255,255,255,0.92); color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; border-radius: 999px; }
.sspc-lightbox__close:hover { background: var(--accent); color: var(--paper); }
@media (max-width: 40rem) { .sspc-lightbox__dialog { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; } .sspc-lightbox__image { max-height: 50vh; } }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 48rem) {
  .sspc-main { padding: 2rem 1.25rem 3rem; }
  .sspc-header { position: static; }
  .sspc-profile__media { flex-basis: 100%; max-width: 18rem; }
}
