/* Sentrix Digital — split canvas, not a rail */

.sx-mark {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  color: var(--accent);
}

.sx-shell {
  min-height: 100vh;
  background: var(--bg);
}

.sx-shell .ac-header,
.sx-shell.ra-home-body .ac-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
  padding: 0 1.5rem;
  background: var(--accent) !important;
  border: 0 !important;
  border-bottom: 2px solid var(--graphite) !important;
  box-shadow: none !important;
  color: #eef1f4;
}
.sx-shell .ac-header-left {
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
}
.sx-shell .ac-brand,
.sx-shell .ac-brand-name,
.sx-shell .ac-nav a,
.sx-shell .ac-nav a.is-active,
.sx-shell .ra-theme-btn {
  color: #eef1f4 !important;
  background: transparent !important;
}
.sx-shell .ac-brand {
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
}
.sx-shell .ac-brand-name { font-family: var(--serif); font-weight: 700; letter-spacing: 0; }
.sx-shell .sx-mark { color: #c9b98a; }
.sx-shell .ac-brand-domain {
  color: rgba(238, 241, 244, 0.6) !important;
}
.sx-shell .ac-master-badge {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #eef1f4 !important;
  background: transparent !important;
  border: 1px solid rgba(238, 241, 244, 0.35);
  padding: 0.2rem 0.5rem;
  border-radius: 0;
}
.sx-shell .ac-nav,
.sx-shell .ac-header .ac-nav {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start !important;
  gap: 0.05rem;
  margin-left: auto;
  text-align: left;
}
.sx-shell .ac-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.4rem 0.7rem;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  opacity: 0.78;
}
.sx-shell .ac-nav a:hover {
  opacity: 1;
  background: transparent !important;
  border-bottom-color: rgba(238, 241, 244, 0.4);
}
.sx-shell .ac-nav a.is-active {
  opacity: 1;
  font-weight: 650;
  color: #eef1f4 !important;
  background: transparent !important;
  border-bottom-color: #c9b98a;
}
.sx-shell .ac-header-right {
  margin-left: 0.5rem;
}
.sx-shell .ra-theme-btn {
  border-color: rgba(238, 241, 244, 0.35) !important;
  border-radius: 0;
}
.sx-shell .ra-juris-switch button {
  color: rgba(238, 241, 244, 0.75);
  border-color: rgba(238, 241, 244, 0.35);
  border-radius: 0;
  background: transparent;
}
.sx-shell .ra-juris-switch button.is-active {
  background: #c9b98a;
  border-color: #c9b98a;
  color: var(--graphite);
}

.sx-shell.sx-home .ra-main,
.sx-shell.sx-home.ra-home-body .ra-main,
.sx-shell.ra-home-front .ra-main,
.sx-shell.sx-home.ac-body .ac-main,
.sx-pane-dark,
.sx-pane-index,
.sx-essay {
  max-width: none !important;
  width: auto !important;
  margin: 0;
  padding: 0 !important;
  text-align: left !important;
}
.sx-shell .ac-site-bar { display: none; }
.sx-shell .ac-disclaimer {
  margin: 0;
  padding: 0.7rem 1.5rem;
  font-size: 0.7rem;
  background: #111318;
  color: rgba(244, 241, 234, 0.45);
  border: 0;
}

/* Home: two panes filling the viewport */
.ra-home-front.sx-shell .ac-disclaimer,
.sx-shell:has(.sx-split-home) .ac-disclaimer,
.sx-shell:has(.sx-home-canvas) .ac-disclaimer { display: none; }

/* Home: masthead + card bands (forest / paper / brass) */
.sx-shell:has(.sx-home-canvas) {
  background: #efe8d8;
}
.sx-shell:has(.sx-home-canvas) .ac-header {
  background: #1e1b4b !important;
  color: #f4f1ea;
}
.sx-shell:has(.sx-home-canvas) .sx-mark { color: #d4a84b; }
.sx-shell:has(.sx-home-canvas) .ra-juris-switch button.is-active {
  background: #d4a84b;
  border-color: #d4a84b;
  color: #1e1b4b;
}
.sx-home-canvas {
  --sx-paper: #efe8d8;
  --sx-ink: #14221f;
  --sx-forest: #1e1b4b;
  --sx-forest-mid: #312e81;
  --sx-brass: #d4a84b;
  --sx-mist: #dce8e4;
}
.sx-hero {
  background: var(--sx-paper);
  color: var(--sx-ink);
  padding: 4.5rem clamp(1.25rem, 5vw, 4.5rem) 3.25rem !important;
  max-width: none !important;
}
.sx-hero .sx-kicker { color: #312e81; }
.sx-hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  letter-spacing: -0.045em;
  line-height: 0.96;
  margin: 0 0 1.4rem;
  max-width: 16ch;
  color: var(--sx-ink);
}
.sx-hero .sx-lead {
  max-width: 40rem;
  color: rgba(20, 32, 43, 0.78);
  font-size: 1.08rem;
  line-height: 1.65;
  margin: 0 0 1.35rem;
}
.sx-hero .sx-meta {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(20, 32, 43, 0.45);
  margin: 0 0 1.85rem;
}
.sx-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.sx-hero-links a {
  color: var(--sx-forest);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.88rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(15, 41, 66, 0.28);
  background: rgba(255, 255, 255, 0.45);
}
.sx-hero-links a:hover {
  background: var(--sx-forest);
  color: #f4f1ea;
  border-color: var(--sx-forest);
}

.sx-offer {
  background: var(--sx-forest);
  color: #eef6f4;
  padding: 3rem clamp(1.25rem, 5vw, 4.5rem) 3.5rem;
}
.sx-offer-intro {
  max-width: 36rem;
  margin: 0 0 1.75rem;
}
.sx-offer-intro .sx-kicker { color: var(--sx-brass); }
.sx-offer-intro h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  color: #f4f1ea;
}
.sx-offer-intro p {
  margin: 0;
  color: rgba(238, 246, 244, 0.72);
  line-height: 1.5;
}
.sx-offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr));
  gap: 0.85rem;
}
.sx-offer-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1.35rem 1.25rem 1.45rem;
  background: var(--sx-forest-mid);
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(238, 246, 244, 0.08);
  min-height: 14rem;
}
.sx-offer-card:hover {
  background: #3730a3;
  border-color: var(--sx-brass);
}
.sx-offer-card .sx-idx {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  color: var(--sx-brass);
}
.sx-offer-card em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(238, 246, 244, 0.55);
}
.sx-offer-card strong {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #f4f1ea;
}
.sx-offer-card .sx-blurb {
  color: rgba(238, 246, 244, 0.7);
  font-size: 0.92rem;
  line-height: 1.45;
  margin-top: 0.25rem;
}

.sx-other {
  background: #111111;
  color: #f3f1ec;
  padding: 3rem clamp(1.25rem, 5vw, 4.5rem) 3.5rem;
}
.sx-other-inner { max-width: 58rem; }
.sx-other .sx-kicker { color: #c9b48a; }
.sx-other h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.45rem;
  color: #f3f1ec;
}
.sx-other-lead {
  margin: 0 0 1.5rem;
  color: rgba(243, 241, 236, 0.7);
  max-width: 36rem;
  line-height: 1.5;
}
.sx-other-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
}
.sx-other-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1.4rem 1.3rem 1.5rem;
  background: #1a1a1a;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(243, 241, 236, 0.12);
}
.sx-other-card:hover { border-color: #c9b48a; }
.sx-other-card em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c9b48a;
}
.sx-other-card strong {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  letter-spacing: -0.03em;
}
.sx-other-card .sx-blurb {
  color: rgba(243, 241, 236, 0.7);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 40rem;
}
.sx-other-cta {
  margin-top: 0.65rem;
  font-weight: 650;
  font-size: 0.88rem;
  color: #c9b48a;
}

.sx-thought {
  background: var(--sx-mist);
  color: var(--sx-ink);
  padding: 3rem clamp(1.25rem, 5vw, 4.5rem) 4rem;
}
.sx-thought-intro {
  margin: 0 0 1.5rem;
}
.sx-thought-intro .sx-kicker { color: #312e81; }
.sx-thought-intro h2 {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--sx-ink);
}
.sx-thought-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr));
  gap: 0.85rem;
}
.sx-thought-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  padding: 1.2rem 1.15rem 1.35rem;
  background: #f7f2e6;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(15, 41, 66, 0.12);
}
.sx-thought-card:hover {
  border-color: var(--sx-forest);
  background: #fffdf6;
}
.sx-thought-card .sx-idx {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  color: #312e81;
}
.sx-thought-card em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #312e81;
}
.sx-thought-card strong {
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.sx-thought-card .sx-blurb {
  color: rgba(20, 32, 43, 0.68);
  font-size: 0.9rem;
  line-height: 1.45;
}
.sx-split-home {
  display: grid;
  grid-template-columns: minmax(18rem, 1.05fr) minmax(18rem, 0.95fr);
  height: calc(100vh - 3.25rem);
  min-height: calc(100vh - 3.25rem);
}
.sx-pane-dark {
  background: #111318;
  color: #f4f1ea;
  padding: 3.5rem 3rem 2.5rem !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left !important;
}
.sx-pane-dark .sx-kicker { color: #0f2942; }
.sx-pane-dark h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 0 0 1.35rem;
  max-width: 14ch;
  color: #f4f1ea;
}
.sx-pane-dark .sx-lead {
  max-width: 36rem;
  color: rgba(244, 241, 234, 0.72);
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 0 0 1.4rem;
}
.sx-pane-dark .sx-meta {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.4);
  margin: 0 0 1.75rem;
}
.sx-pane-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1.4rem;
  margin-top: auto;
  padding-top: 2rem;
}
.sx-pane-links a {
  color: #f4f1ea;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(244, 241, 234, 0.3);
  padding-bottom: 0.1rem;
}
.sx-pane-links a:hover {
  color: #0f2942;
  border-bottom-color: #0f2942;
}

.sx-pane-index {
  display: flex;
  flex-direction: column;
  border-left: 1px solid #1c1f26;
  background: #f6f4ee;
  min-height: 0;
  overflow-y: auto;
}
.sx-pane-stack {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
}
.sx-pane-stack-follow {
  border-top: 1px solid #1c1f26;
}
.sx-pane-head {
  padding: 1.5rem 2.25rem 0.85rem;
  text-align: left;
}
.sx-pane-head .sx-kicker {
  margin-bottom: 0.4rem;
}
.sx-pane-head p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
  line-height: 1.45;
  max-width: 34rem;
}
.sx-pane-index a {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.35rem 1.1rem;
  align-content: center;
  justify-items: start;
  flex: 1;
  padding: 1.5rem 2.25rem;
  text-decoration: none;
  color: inherit;
  border-top: 1px solid var(--rule);
  text-align: left;
}
.sx-pane-stack-follow a { flex: none; }
.sx-pane-index a:last-child { border-bottom: 0; }
.sx-pane-index a:hover {
  background: #fff;
}
.sx-pane-index .sx-idx {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  padding-top: 0.35rem;
}
.sx-pane-index em {
  grid-column: 2;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}
.sx-pane-index strong {
  grid-column: 2;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.sx-pane-index span.sx-blurb {
  grid-column: 2;
  color: var(--ink-muted);
  font-size: 0.92rem;
  line-height: 1.45;
  max-width: 34rem;
}

/* Inner pages */
.sx-essay {
  max-width: 40rem;
  margin: 0 auto !important;
  padding: 3.5rem 1.5rem 5rem !important;
}
.sx-essay h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 0 1.25rem;
  max-width: 14ch;
}
.sx-kicker {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.75rem;
}
.sx-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-muted);
  margin: 0 0 1.1rem;
}
.sx-essay h2 {
  font-family: var(--serif);
  font-size: 1.45rem;
  margin: 2.75rem 0 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}
.sx-principal-photo {
  display: block;
  width: 160px;
  height: 160px;
  object-fit: cover;
  border: 1px solid var(--rule);
  margin: 0.25rem 0 1rem;
}
.sx-profile-snippet {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--rule);
  margin: 1.5rem 0;
}
.sx-profile-snippet img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border: 1px solid var(--rule);
  flex: 0 0 auto;
}
.sx-profile-snippet-body h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  margin: 0 0 0.15rem;
}
.sx-profile-snippet-role {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}
.sx-profile-snippet p { margin: 0 0 0.5rem; font-size: 0.92rem; color: var(--ink-muted); }
.sx-profile-snippet a { font-weight: 650; }
.sx-essay h3 {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 1.75rem 0 0.4rem;
  font-family: var(--mono);
}
.sx-essay p {
  margin: 0 0 1rem;
  line-height: 1.7;
  color: var(--ink);
  font-size: 1.04rem;
}
.sx-essay .sx-lead { color: var(--ink-muted); }

.sx-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  max-width: 22rem;
  margin: 1.5rem 0 0;
}
.sx-form label {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 0.45rem;
}
.sx-form input {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--rule);
  background: var(--bg-elevated);
  color: inherit;
  border-radius: 2px;
}
.sx-form button {
  margin-top: 0.85rem;
  font: inherit;
  font-weight: 650;
  padding: 0.7rem 1rem;
  border: 0;
  background: #111318;
  color: #f4f1ea;
  cursor: pointer;
  border-radius: 2px;
}
.sx-form button:hover { background: #0f2942; }
.sx-form-error {
  color: #a33;
  font-size: 0.95rem;
}
.sx-essay:has(+ .sx-squares) {
  padding-bottom: 2.25rem !important;
}

.sx-squares {
  display: grid;
  grid-template-columns: repeat(auto-fill, 14.5rem);
  gap: 0.75rem;
  justify-content: start;
  padding: 0 1.5rem 3.5rem;
}
.sx-squares a {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 1.05rem 1rem 1rem;
  background: var(--bg);
  border: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  text-align: left;
  overflow: hidden;
}
.sx-squares a:hover { background: var(--bg-elevated); }
.sx-squares .sx-kicker { margin-bottom: 0.35rem; }
.sx-squares h2 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 0.4rem;
}
.sx-squares p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.sx-chapters a {
  display: block;
  padding: 2rem 8vw;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
}
.sx-chapters a:hover { background: var(--bg-elevated); }
.sx-chapters h2 {
  font-family: var(--serif);
  font-size: 1.7rem;
  margin: 0.2rem 0 0.45rem;
}
.sx-chapters p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 40rem;
  line-height: 1.55;
}

.sx-roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 56rem;
  margin: 0 auto;
  border-top: 1px solid var(--rule);
}
.sx-roles button {
  text-align: left;
  font: inherit;
  background: none;
  border: 0;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 1.4rem 1.5rem;
  cursor: pointer;
}
.sx-roles button:nth-child(2n) { border-right: 0; }
.sx-roles button:hover { background: var(--bg-elevated); }
.sx-roles h3 { font-family: var(--serif); margin: 0 0 0.3rem; }
.sx-roles p { margin: 0; color: var(--ink-muted); font-size: 0.92rem; }

.sx-note {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
}
.sx-note h2 { font-family: var(--serif); font-size: 1.2rem; }

.sx-consult-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  max-width: 52rem;
}
.sx-consult-steps li {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(15, 41, 66, 0.16);
  padding: 0.9rem 1rem 1rem;
  color: rgba(20, 32, 43, 0.78);
  font-size: 0.92rem;
  line-height: 1.45;
}
.sx-consult-steps span {
  display: block;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #312e81;
  margin-bottom: 0.25rem;
}
.sx-consult-steps strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #14221f;
  margin-bottom: 0.25rem;
}
.sx-consult-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2.5rem;
  max-width: 52rem;
  margin: 0 0 2rem;
}
.sx-consult-points h2 {
  font-family: var(--serif);
  font-size: 1.28rem;
  letter-spacing: -0.03em;
  margin: 0 0 0.45rem;
  color: #14221f;
}
.sx-consult-points p {
  margin: 0 0 0.75rem;
  color: rgba(20, 32, 43, 0.78);
  line-height: 1.55;
  font-size: 0.98rem;
}
.sx-consult-points p:last-child { margin-bottom: 0; }

.sx-consult-band,
.sx-consult-tools {
  padding: 2.75rem clamp(1.25rem, 5vw, 4.5rem) 3.5rem;
}
.sx-consult-band { background: #1e1b4b; color: #eef6f4; }
.sx-consult-tools { background: #dce8e4; color: #14221f; }
.sx-consult-inner { max-width: none; margin: 0; }
.sx-consult-intro { max-width: 38rem; margin: 0 0 1.5rem; }
.sx-consult-lead {
  color: inherit;
  opacity: 0.78;
  max-width: 38rem;
  line-height: 1.5;
  margin: 0 0 1.15rem;
}
.sx-consult-band h2,
.sx-consult-tools h2 {
  font-family: var(--serif);
  letter-spacing: -0.03em;
  margin: 0 0 0.45rem;
}
.sx-consult-band .sx-kicker { color: #d4a84b; }
.sx-consult-intro h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); color: #f4f1ea; }
.sx-service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.sx-service-list > li { min-width: 0; }
.sx-service {
  height: 100%;
  background: #312e81;
  border: 1px solid rgba(238, 246, 244, 0.08);
}
.sx-service summary {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr) auto;
  gap: 0.2rem 0.75rem;
  padding: 1.05rem 1.1rem 1.15rem;
  cursor: pointer;
  list-style: none;
}
.sx-service summary::-webkit-details-marker { display: none; }
.sx-service summary::marker { content: ""; }
.sx-service summary::after {
  content: "+";
  align-self: start;
  font-size: 1.15rem;
  line-height: 1;
  color: #d4a84b;
  font-weight: 500;
  padding-top: 0.15rem;
}
.sx-service[open] summary::after { content: "–"; }
.sx-service .sx-idx {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  color: #d4a84b;
  padding-top: 0.2rem;
}
.sx-service em {
  display: block;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(238, 246, 244, 0.55);
}
.sx-service strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.28rem;
  letter-spacing: -0.03em;
  color: #f4f1ea;
}
.sx-service summary .sx-blurb {
  display: block;
  color: rgba(238, 246, 244, 0.7);
  font-size: 0.92rem;
  line-height: 1.4;
  margin-top: 0.25rem;
}
.sx-service-span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4a84b;
}
.sx-service[open],
.sx-service.is-quoted { border-color: #d4a84b; }
.sx-service-body {
  padding: 0 1.15rem 1.2rem;
  color: rgba(238, 246, 244, 0.88);
  line-height: 1.55;
  border-top: 1px solid rgba(238, 246, 244, 0.08);
}
.sx-service-body p { margin: 0.85rem 0 0; }
.sx-consult-typical { color: rgba(238, 246, 244, 0.68); }
.sx-service-use {
  font: inherit;
  font-weight: 650;
  font-size: 0.88rem;
  padding: 0.45rem 0.8rem;
  border: 0;
  background: #d4a84b;
  color: #1e1b4b;
  cursor: pointer;
}
.sx-service-use:hover { background: #e0b75a; }

.sx-consult-tools-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.9rem;
  align-items: stretch;
}
.sx-cal,
.sx-quote {
  padding: 1.45rem 1.4rem 1.55rem;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.sx-cal {
  background: #1e1b4b;
  color: #eef6f4;
}
.sx-cal .sx-kicker { color: #d4a84b; }
.sx-cal h2 { color: #f4f1ea; font-size: 1.45rem; margin: 0; }
.sx-cal-nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 0.75rem 1rem;
  margin: 0 0 0.7rem;
}
.sx-cal-nav a {
  color: #d4a84b;
  font-weight: 650;
  text-decoration: none;
  font-size: 0.88rem;
  white-space: nowrap;
}
.sx-cal-nav a:hover { color: #e0b75a; }
.sx-cal-nav h2 { text-align: center; }
.sx-cal-grid {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: transparent;
}
.sx-cal-grid th,
.sx-cal-grid td {
  background: transparent;
  border: 0;
  text-align: center;
}
.sx-cal-grid th {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 650;
  color: rgba(238, 246, 244, 0.55);
  padding: 0.4rem 0 0.55rem;
}
.sx-cal-grid td { padding: 0.18rem; }
.sx-cal-day {
  width: 100%;
  max-width: 2.7rem;
  height: 2.5rem;
  font: inherit;
  font-size: 0.9rem;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.sx-cal-day.is-open { background: #312e81; }
.sx-cal-day.is-open:hover,
.sx-cal-day.is-on { border-color: #d4a84b; color: #d4a84b; }
.sx-cal-day.is-held {
  color: rgba(238, 246, 244, 0.4);
  text-decoration: line-through;
  cursor: pointer;
}
.sx-cal-day.is-held:hover { border-color: rgba(238, 246, 244, 0.28); }
.sx-cal-day.is-shut { color: rgba(238, 246, 244, 0.28); cursor: default; }
.sx-cal-day.is-today { box-shadow: inset 0 0 0 1px #d4a84b; }
.sx-cal-day.is-marked {
  background: #312e81;
  color: #d4a84b;
  font-weight: 700;
  cursor: default;
}
.sx-cal-legend {
  display: flex;
  gap: 1rem;
  font-size: 0.78rem;
  margin: auto 0 0.35rem;
  padding-top: 1rem;
  color: rgba(238, 246, 244, 0.6);
}
.sx-cal-legend .is-open { color: #eef6f4; }
.sx-cal-legend .is-held { color: rgba(238, 246, 244, 0.62); text-decoration: line-through; }
.sx-cal-legend .is-shut { color: rgba(238, 246, 244, 0.42); }
.sx-cal-legend .is-marked { color: #d4a84b; font-weight: 700; }
.sx-cal-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.65rem 0 0.25rem;
}
.sx-cal-slot {
  display: inline-block;
  padding: 0.28rem 0.6rem;
  border: 1px solid rgba(212, 168, 75, 0.45);
  color: #d4a84b;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}
.sx-cal-pick { font-size: 0.9rem; color: rgba(238, 246, 244, 0.78); margin: 0.5rem 0 0; }

.sx-quote {
  background: #f7f2e6;
  color: #14221f;
  border: 1px solid rgba(15, 41, 66, 0.12);
}
.sx-quote .sx-kicker { color: #312e81; }
.sx-quote h2 { color: #14221f; font-size: 1.45rem; }
.sx-quote .sx-consult-lead { color: rgba(20, 32, 43, 0.7); opacity: 1; }
.sx-quote label[hidden] { display: none; }
.sx-quote label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
  color: rgba(20, 32, 43, 0.55);
}
.sx-quote-days span {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
}
.sx-quote-days output {
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 650;
  color: #1e1b4b;
}
.sx-quote select,
.sx-quote input[type="range"] { width: 100%; font: inherit; }
.sx-quote select {
  padding: 0.5rem 0.55rem;
  background: #fffdf6;
  color: #14221f;
  border: 1px solid rgba(15, 41, 66, 0.22);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 0.95rem;
}
.sx-quote input[type="range"] {
  accent-color: #d4a84b;
  height: 1.4rem;
}
.sx-quote input[type="text"] {
  width: 100%;
  font: inherit;
  padding: 0.5rem 0.55rem;
  background: #fffdf6;
  color: #14221f;
  border: 1px solid rgba(15, 41, 66, 0.22);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 0.95rem;
}
.sx-quote-base { font-size: 0.88rem; color: rgba(20, 32, 43, 0.62); margin: 0.2rem 0 1.1rem; }
.sx-quote-result {
  margin-top: auto;
  padding: 1rem 1.05rem 1.1rem;
  background: #1e1b4b;
  color: #eef6f4;
  border: 1px solid rgba(212, 168, 75, 0.4);
}
.sx-quote-result p { margin: 0 0 0.3rem; }
.sx-quote-k {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d4a84b;
}
.sx-quote-total {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0.15rem 0 0.45rem !important;
  color: #f4f1ea;
}
.sx-quote-total strong { font-weight: 700; }
.sx-quote-sub {
  font-size: 0.88rem;
  color: rgba(238, 246, 244, 0.78);
}
.sx-quote-math { font-size: 0.82rem; color: rgba(238, 246, 244, 0.55) !important; margin-top: 0.45rem !important; }
.sx-quote-travel {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem 0.95rem;
  background: rgba(138, 44, 44, 0.08);
  border: 1px solid rgba(138, 44, 44, 0.35);
}
.sx-quote-travel .sx-quote-k { color: #8a2c2c; }
.sx-quote-travel p { margin: 0.2rem 0 0; font-size: 0.85rem; color: rgba(20, 32, 43, 0.75); }
.sx-quote-travel-total { font-weight: 650; color: #14202b !important; }
.sx-quote-travel-total strong { color: #8a2c2c; }

@media (max-width: 860px) {
  .sx-offer-grid { grid-template-columns: 1fr; }
  .sx-offer-card { min-height: 0; }
  .sx-hero { padding: 2.25rem 1.25rem 2rem !important; }
  .sx-hero h1 { max-width: none; font-size: 2.15rem; }
  .sx-offer, .sx-thought, .sx-other,
  .sx-consult-band, .sx-consult-tools { padding: 2rem 1.25rem 2.5rem; }
  .sx-split-home {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .sx-pane-dark {
    padding: 1.75rem 1.25rem 2rem !important;
    min-height: 0;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left !important;
  }
  .sx-pane-dark h1 {
    max-width: none;
    font-size: 2rem;
  }
  .sx-pane-index {
    grid-template-rows: none;
    border-left: 0;
    border-top: 1px solid var(--rule);
    overflow: visible;
  }
  .sx-pane-stack {
    min-height: 0;
  }
  .sx-pane-head,
  .sx-pane-index a {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .sx-pane-index a {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    text-align: left;
    justify-items: start;
  }
  .sx-shell .ac-header {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    height: auto;
    padding: 0.7rem 1.1rem;
    gap: 0.45rem 0.75rem;
  }
  .sx-shell .ac-header-left {
    flex: 1 1 auto;
  }
  .sx-shell .ac-brand-domain {
    display: none;
  }
  .sx-shell .ac-header-right {
    margin-left: auto;
  }
  .sx-shell .ac-nav,
  .sx-shell .ac-header .ac-nav {
    width: 100%;
    margin-left: 0;
    order: 3;
    justify-content: flex-start !important;
    row-gap: 0.15rem;
  }
  /* Wrapped nav links need real tap targets on touch screens, not the
     tightly-padded desktop underline style. */
  .sx-shell .ac-nav a,
  .sx-shell .nav-dropdown-toggle {
    padding: 0.6rem 0.7rem;
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
  }
  .sx-shell .ra-theme-btn,
  .sx-shell .ac-header-right button,
  .sx-shell .ra-juris-switch button {
    min-height: 2.75rem;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }
  /* An absolutely-positioned dropdown menu can run off the right edge once
     the toggle sits inside a wrapped, full-width mobile nav row — drop it
     into normal flow instead so it always stays on-screen. */
  .sx-shell .nav-dropdown-menu {
    position: static;
    width: 100%;
    max-width: none;
    min-width: 0;
    box-shadow: none;
    border-width: 0 0 1px;
    margin-top: 0.2rem;
  }
  .sx-roles { grid-template-columns: 1fr; }
  .sx-roles button { border-right: 0; }
  .sx-chapters a { padding: 1.5rem 1.25rem; }
  .sx-squares {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 1.25rem 2.5rem;
    gap: 0.6rem;
  }
  .sx-squares a {
    aspect-ratio: auto;
    padding: 0.95rem 0.9rem;
  }
  .sx-consult-tools-grid,
  .sx-service-list,
  .sx-consult-points,
  .sx-consult-steps { grid-template-columns: 1fr; }
  .sx-cal-nav { grid-template-columns: 1fr 1fr; }
  .sx-cal-nav h2 { grid-column: 1 / -1; grid-row: 1; text-align: left; }
}

.btn, .btn-primary, .btn-secondary, .ra-dialog { border-radius: 2px; }
