/* Accounting authority hub. Scoped to .ax-page.
   Visual grammar: ledger stock, ruled columns, red ink for what leaks and
   archive teal for what is controlled, double rules under totals. */

.ax-page {
  --ax-paper: #f3f1ea;
  --ax-paper-hi: #fbfaf5;
  --ax-stone: #e8e5db;
  --ax-ink: #14181b;
  --ax-ink-soft: #333c42;
  --ax-muted: #5c666c;
  --ax-faint: #7d868b;
  --ax-rule: #c6c2b4;
  --ax-rule-hair: #ded9cc;
  --ax-ledger-line: #bcc9ce;

  --ax-red: #8a2f2a;
  --ax-red-deep: #6d2320;
  --ax-red-soft: #e7cdc7;
  --ax-seal: #13414f;
  --ax-seal-deep: #0d2f3a;
  --ax-seal-soft: #c2d7dd;

  --ax-night: #101619;
  --ax-night-2: #16222a;
  --ax-night-line: #2f444e;
  --ax-night-text: #eeece2;
  --ax-night-body: #c2cbd0;
  --ax-night-muted: #93a0a6;

  /* Taken from the published jacket of The Front Door Problem. */
  --ax-navy: #0e1a2b;
  --ax-navy-2: #16243a;
  --ax-navy-line: #2b3d57;
  --ax-gold: #c8973f;
  --ax-gold-soft: #e0bb72;
  --ax-parchment: #ece3cf;

  --ax-wrap: 1340px;
  --ax-gutter: clamp(20px, 4.2vw, 64px);
  --ax-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ax-spine-top: 0px;

  --ax-serif: "Cormorant Garamond Variable", "Cormorant Garamond", Georgia, serif;
  --ax-sans: "DM Sans Variable", "DM Sans", Arial, sans-serif;

  background: var(--ax-paper);
  color: var(--ax-ink);
  font-family: var(--ax-sans);
  font-size: 17px;
  line-height: 1.7;
  color-scheme: light;
  isolation: isolate;
  overflow-x: clip;
}

.ax-page *,
.ax-page *::before,
.ax-page *::after {
  box-sizing: border-box;
  min-width: 0;
}
.ax-page ::selection {
  background: var(--ax-seal-soft);
  color: var(--ax-ink);
}
:where(.ax-page) :is(h1, h2, h3, h4, p, figure, figcaption, dl, dd, ul, ol, table) {
  margin: 0;
}
:where(.ax-page) :is(ul, ol) {
  padding: 0;
  list-style: none;
}
:where(.ax-page) a {
  color: inherit;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.ax-page :is(a, button, summary, input, [tabindex]):focus-visible {
  outline: 2px solid var(--ax-seal);
  outline-offset: 3px;
}
.ax-page [id] {
  scroll-margin-top: 104px;
}
.ax-page button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.ax-wrap {
  width: 100%;
  max-width: var(--ax-wrap);
  margin-inline: auto;
  padding-inline: var(--ax-gutter);
}

/* ---------------------------------------------------------------- */
/* Section tones                                                     */
/* ---------------------------------------------------------------- */

.ax-section {
  padding-block: clamp(64px, 8vw, 128px);
  border-top: 1px solid var(--ax-rule);
  position: relative;
}
.ax-tone-paper {
  background: var(--ax-paper);
}
.ax-tone-stone {
  background: var(--ax-stone);
}
.ax-tone-night {
  background: var(--ax-night);
  color: var(--ax-night-body);
  border-top-color: var(--ax-night-line);
}
.ax-tone-navy {
  background: var(--ax-navy);
  color: var(--ax-night-body);
  border-top-color: var(--ax-navy-line);
  position: relative;
}
.ax-tone-navy::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 45% at 78% 8%, rgba(200, 151, 63, 0.14), transparent 70%),
    radial-gradient(45% 40% at 10% 96%, rgba(200, 151, 63, 0.08), transparent 72%);
}
.ax-tone-navy .ax-eyebrow,
.ax-tone-navy .ax-head-invert .ax-eyebrow {
  color: var(--ax-gold-soft);
}
.ax-tone-navy h2,
.ax-tone-navy h3 {
  color: var(--ax-night-text);
}
.ax-tone-navy .ax-lede {
  color: var(--ax-night-body);
}
.ax-tone-navy .ax-note,
.ax-tone-navy .ax-caveat {
  border-color: var(--ax-navy-line);
  color: var(--ax-night-muted);
}

/* faint ledger ruling on the paper grounds */
.ax-tone-paper::before,
.ax-tone-stone::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 35px,
    color-mix(in srgb, var(--ax-ledger-line) 34%, transparent) 35px,
    color-mix(in srgb, var(--ax-ledger-line) 34%, transparent) 36px
  );
  opacity: 0.42;
  z-index: 0;
}
.ax-section > .ax-wrap {
  position: relative;
  z-index: 1;
}

/* ---------------------------------------------------------------- */
/* Type primitives                                                   */
/* ---------------------------------------------------------------- */

.ax-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ax-red);
}
.ax-head-invert .ax-eyebrow {
  color: var(--ax-seal-soft);
}

.ax-head {
  max-width: 62ch;
  margin-bottom: clamp(36px, 4vw, 64px);
}
.ax-head h2 {
  font-family: var(--ax-serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin-top: 16px;
  text-wrap: balance;
}
.ax-head-invert h2 {
  color: var(--ax-night-text);
}
.ax-lede {
  margin-top: 20px;
  font-size: clamp(1.02rem, 1.3vw, 1.17rem);
  line-height: 1.72;
  color: var(--ax-ink-soft);
  max-width: 58ch;
}
.ax-head-invert .ax-lede {
  color: var(--ax-night-body);
}

.ax-note {
  margin-top: clamp(32px, 4vw, 52px);
  padding-top: 20px;
  border-top: 1px solid var(--ax-rule);
  max-width: 76ch;
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--ax-muted);
}
.ax-caveat {
  margin-top: clamp(28px, 3.4vw, 44px);
  max-width: 78ch;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--ax-faint);
  padding-left: 16px;
  border-left: 2px solid var(--ax-rule);
}
.ax-pull {
  margin-top: clamp(40px, 5vw, 72px);
  max-width: 30ch;
  font-family: var(--ax-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.18;
  color: var(--ax-ink);
  padding-top: 22px;
  border-top: 3px double var(--ax-red);
  text-wrap: balance;
}

.ax-text-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}
.ax-text-link > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ax-red);
  transition: border-color 0.2s var(--ax-ease), color 0.2s var(--ax-ease);
}
.ax-text-link:hover > span {
  color: var(--ax-red);
  border-bottom-color: var(--ax-red-deep);
}
.ax-text-link-light > span {
  border-bottom-color: var(--ax-seal-soft);
  color: var(--ax-night-text);
}
.ax-text-link-light:hover > span {
  color: #fff;
  border-bottom-color: #fff;
}

.ax-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  background: var(--ax-ink);
  color: var(--ax-paper-hi);
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: 0.002em;
  text-decoration: none;
  border: 1px solid var(--ax-ink);
  transition: background 0.2s var(--ax-ease), transform 0.2s var(--ax-ease);
}
.ax-button:hover {
  background: var(--ax-seal-deep);
  border-color: var(--ax-seal-deep);
  transform: translateY(-1px);
}
.ax-button-quiet {
  background: transparent;
  color: var(--ax-ink);
  border-color: var(--ax-rule);
}
.ax-button-quiet:hover {
  background: transparent;
  color: var(--ax-red);
  border-color: var(--ax-red);
}
.ax-button-light {
  background: var(--ax-paper-hi);
  color: var(--ax-ink);
  border-color: var(--ax-paper-hi);
}
.ax-button-light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ax-seal-deep);
}

.ax-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.93rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ax-night-muted);
}
.ax-phone:hover {
  color: var(--ax-night-text);
}

/* ---------------------------------------------------------------- */
/* Hero                                                              */
/* ---------------------------------------------------------------- */

.ax-hero {
  background: var(--ax-paper-hi);
  padding-top: clamp(112px, 13vw, 176px);
  padding-bottom: clamp(56px, 6vw, 96px);
  position: relative;
  overflow: hidden;
}
.ax-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 35px,
    color-mix(in srgb, var(--ax-ledger-line) 40%, transparent) 35px,
    color-mix(in srgb, var(--ax-ledger-line) 40%, transparent) 36px
  );
  opacity: 0.5;
}
.ax-hero-wrap {
  position: relative;
  display: grid;
  gap: clamp(44px, 5vw, 72px);
}
@media (min-width: 1080px) {
  .ax-hero-wrap {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(48px, 5vw, 88px);
  }
}

.ax-hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ax-red);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ax-rule);
}
/* The eyebrow carries the search keyword and sits inside the H1. */
.ax-hero-title .ax-hero-eyebrow {
  display: block;
  margin-bottom: 28px;
  font-family: var(--ax-sans, inherit);
  line-height: 1.4;
  text-wrap: balance;
}
.ax-hero-title {
  margin-top: 0;
  font-family: var(--ax-serif);
  font-weight: 500;
  font-size: clamp(2.7rem, 6.2vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.021em;
  text-wrap: balance;
}
.ax-hero-lede {
  margin-top: 26px;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.7;
  color: var(--ax-ink-soft);
  max-width: 54ch;
}
.ax-hero-claim {
  margin-top: 22px;
  padding-left: 18px;
  border-left: 3px double var(--ax-seal);
  font-size: 1rem;
  line-height: 1.72;
  color: var(--ax-ink);
  max-width: 54ch;
}
.ax-hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.ax-hero-fineprint {
  margin-top: 20px;
  font-size: 0.83rem;
  line-height: 1.7;
  color: var(--ax-faint);
  max-width: 52ch;
}

/* Hero ledger */
.ax-ledger {
  display: grid;
  gap: 0;
  border: 1px solid var(--ax-rule);
  background: #fff;
}
@media (min-width: 640px) {
  .ax-ledger {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  }
}
.ax-ledger-col {
  padding: 18px 18px 16px;
}
.ax-ledger-col-before {
  background: color-mix(in srgb, var(--ax-red-soft) 26%, #fff);
  border-bottom: 1px solid var(--ax-rule);
}
@media (min-width: 640px) {
  .ax-ledger-col-before {
    border-bottom: 0;
    border-right: 1px solid var(--ax-rule);
  }
}
.ax-ledger-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ax-ink-soft);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ax-rule);
}
.ax-ledger-mark {
  width: 8px;
  height: 8px;
  flex: none;
  background: var(--ax-seal);
}
.ax-ledger-mark-red {
  background: var(--ax-red);
}
.ax-ledger-rows {
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
.ax-ledger-rows > li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 4px 8px;
  align-items: baseline;
  padding: 9px 0 8px;
  border-bottom: 1px solid var(--ax-rule-hair);
  font-size: 0.82rem;
  line-height: 1.4;
}
.ax-ledger-col-after .ax-ledger-rows > li {
  grid-template-columns: 24px minmax(0, 1fr);
}
@media (min-width: 900px) {
  .ax-ledger-col-after .ax-ledger-rows > li {
    grid-template-columns: 24px minmax(0, 0.9fr) minmax(0, 0.85fr) minmax(0, 1.05fr);
    align-items: baseline;
  }
}
.ax-ledger-no {
  font-size: 0.68rem;
  color: var(--ax-faint);
  letter-spacing: 0.06em;
}
.ax-ledger-same {
  color: var(--ax-red-deep);
  font-style: italic;
}
.ax-ledger-service {
  font-weight: 600;
  color: var(--ax-ink);
}
.ax-ledger-door {
  color: var(--ax-seal);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 600;
}
.ax-ledger-next {
  color: var(--ax-muted);
}
@media (max-width: 899px) {
  .ax-ledger-door,
  .ax-ledger-next {
    grid-column: 2;
  }
}
.ax-ledger-foot {
  margin-top: 12px;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ax-seal);
  border-top: 3px double var(--ax-seal);
  padding-top: 9px;
}
.ax-ledger-foot-red {
  color: var(--ax-red);
  border-top-color: var(--ax-red);
}
.ax-ledger-caption {
  margin-top: 14px;
  font-size: 0.81rem;
  line-height: 1.65;
  color: var(--ax-faint);
}

/* ---------------------------------------------------------------- */
/* Spine                                                             */
/* ---------------------------------------------------------------- */

.ax-spine {
  position: sticky;
  top: var(--ax-spine-top);
  z-index: 20;
  background: color-mix(in srgb, var(--ax-paper-hi) 92%, transparent);
  backdrop-filter: blur(8px);
  border-block: 1px solid var(--ax-rule);
}
.ax-spine-wrap {
  overflow-x: auto;
  scrollbar-width: none;
}
.ax-spine-wrap::-webkit-scrollbar {
  display: none;
}
.ax-spine ol {
  display: flex;
  gap: 0;
  min-width: max-content;
}
.ax-spine li + li {
  border-left: 1px solid var(--ax-rule-hair);
}
.ax-spine a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 13px 18px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s var(--ax-ease), color 0.2s var(--ax-ease);
}
.ax-spine a:hover {
  background: color-mix(in srgb, var(--ax-seal-soft) 34%, transparent);
}
.ax-spine-no {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ax-faint);
  font-variant-numeric: tabular-nums;
}
.ax-spine-label {
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--ax-ink-soft);
}
.ax-spine li[data-state="current"] a {
  background: var(--ax-ink);
}
.ax-spine li[data-state="current"] .ax-spine-label,
.ax-spine li[data-state="current"] .ax-spine-no {
  color: var(--ax-paper-hi);
}

/* ---------------------------------------------------------------- */
/* Figures and drawings                                              */
/* ---------------------------------------------------------------- */

.ax-figure {
  margin-block: clamp(36px, 4.4vw, 64px);
  border: 1px solid var(--ax-rule);
  background: #fff;
}
.ax-figure-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--ax-rule);
  background: var(--ax-paper-hi);
}
.ax-figure-no {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ax-red);
}
.ax-figure-title {
  font-family: var(--ax-serif);
  font-size: 1.22rem;
  color: var(--ax-ink);
}
.ax-figure-note {
  margin-left: auto;
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ax-faint);
}
.ax-figure-cue {
  display: none;
  padding: 8px 18px 0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ax-faint);
}
.ax-figure-body {
  padding: 20px 18px 22px;
  overflow-x: auto;
}
@media (max-width: 860px) {
  .ax-figure-cue {
    display: block;
  }
}

.ax-svg {
  display: block;
  width: 100%;
  min-width: 660px;
  height: auto;
}
.ax-svg-season {
  min-width: 560px;
}

.ax-rules line {
  stroke: var(--ax-ledger-line);
  stroke-width: 1;
  opacity: 0.5;
}
.ax-node {
  fill: #fff;
  stroke: var(--ax-rule);
  stroke-width: 1;
}
.ax-node-open {
  fill: var(--ax-paper);
  stroke-dasharray: 3 3;
}
.ax-node-solid {
  fill: var(--ax-ink);
  stroke: var(--ax-ink);
}
.ax-node-text {
  font-family: var(--ax-sans);
  font-size: 13px;
  fill: var(--ax-ink);
}
.ax-node-text-muted {
  fill: var(--ax-muted);
}
.ax-node-text-invert {
  fill: var(--ax-paper-hi);
  font-weight: 600;
}
.ax-tangle path {
  fill: none;
  stroke: var(--ax-red);
  stroke-width: 1.4;
  opacity: 0.66;
}
.ax-tangle-out path {
  stroke: var(--ax-red);
  stroke-dasharray: 4 4;
  opacity: 0.5;
}
.ax-person circle {
  fill: color-mix(in srgb, var(--ax-red-soft) 60%, #fff);
  stroke: var(--ax-red);
  stroke-width: 1.5;
}
.ax-person-label {
  font-family: var(--ax-sans);
  font-size: 12px;
  font-weight: 600;
  fill: var(--ax-red-deep);
}
.ax-lane-paths path {
  fill: none;
  stroke: var(--ax-seal);
  stroke-width: 1.6;
}
.ax-lane-run {
  stroke: var(--ax-seal);
  stroke-width: 1.6;
}
.ax-svg-caption {
  font-family: var(--ax-sans);
  font-size: 12px;
  fill: var(--ax-faint);
}
.ax-svg-label {
  font-family: var(--ax-sans);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  fill: var(--ax-muted);
}
.ax-svg-tick {
  font-family: var(--ax-sans);
  font-size: 11px;
  fill: var(--ax-faint);
}
.ax-season-capacity {
  stroke: var(--ax-seal);
  stroke-width: 1.6;
  stroke-dasharray: 6 4;
}
.ax-season-load {
  fill: none;
  stroke: var(--ax-red);
  stroke-width: 2.2;
  stroke-linejoin: round;
}
.ax-season-gap line {
  stroke: var(--ax-red);
  stroke-width: 6;
  opacity: 0.16;
}
.ax-season-axis {
  stroke: var(--ax-rule);
  stroke-width: 1;
}
.ax-strata-top {
  fill: var(--ax-ink);
}
.ax-strata-base {
  fill: var(--ax-paper);
  stroke: var(--ax-seal);
  stroke-width: 1.4;
}
.ax-strata-title {
  font-family: var(--ax-serif);
  font-size: 22px;
  fill: var(--ax-paper-hi);
}
.ax-strata-sub {
  font-family: var(--ax-sans);
  font-size: 13px;
  fill: #b9c4c8;
}
.ax-strata-tag {
  font-family: var(--ax-sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  fill: var(--ax-seal-soft);
}
.ax-strata-tag-base {
  fill: var(--ax-seal);
}
.ax-strata-joins line {
  stroke: var(--ax-seal);
  stroke-width: 1.2;
  stroke-dasharray: 3 4;
}
.ax-strata-joinlabel {
  fill: var(--ax-faint);
  font-style: italic;
}
.ax-strata-cols line {
  stroke: var(--ax-rule);
  stroke-width: 1;
}
.ax-strata-col-text {
  font-family: var(--ax-sans);
  font-size: 12px;
  fill: var(--ax-ink-soft);
  font-weight: 600;
}
.ax-strata-col-text-2 {
  font-weight: 400;
  fill: var(--ax-muted);
}

/* Door glyphs */
.ax-glyph {
  display: block;
  width: 100%;
  height: auto;
}
.ax-glyph-floor {
  stroke: var(--ax-rule);
  stroke-width: 1.4;
}
.ax-glyph-frame {
  fill: none;
  stroke: var(--ax-ink);
  stroke-width: 1.8;
}
.ax-glyph-leaf {
  fill: color-mix(in srgb, var(--ax-seal-soft) 34%, #fff);
  stroke: var(--ax-seal);
  stroke-width: 1.4;
}
.ax-glyph-handle {
  fill: var(--ax-ink);
}
.ax-glyph-arc {
  fill: none;
  stroke: var(--ax-red);
  stroke-width: 1.2;
  stroke-dasharray: 3 3;
}
.ax-glyph-mark {
  fill: none;
  stroke: var(--ax-seal);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ax-glyph-seal {
  fill: color-mix(in srgb, var(--ax-red-soft) 62%, #fff);
  stroke: var(--ax-red);
  stroke-width: 1.4;
}
.ax-glyph-seal-mark {
  fill: none;
  stroke: var(--ax-red-deep);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------------------------------------------------------------- */
/* Three doors                                                       */
/* ---------------------------------------------------------------- */

.ax-doors-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--ax-rule);
  border-bottom: 0;
  background: #fff;
}
.ax-doors-tabs button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 12px 18px;
  transition: background 0.24s var(--ax-ease);
}
.ax-doors-tabs button + button {
  border-left: 1px solid var(--ax-rule);
}
.ax-doors-tab-glyph {
  display: block;
  width: 46px;
  opacity: 0.4;
  transition: opacity 0.24s var(--ax-ease), transform 0.3s var(--ax-ease);
}
.ax-doors-tab-name {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ax-muted);
  text-align: center;
}
.ax-doors-tabs button:hover .ax-doors-tab-glyph {
  opacity: 0.75;
}
.ax-doors-tabs button[aria-selected="true"] {
  background: var(--ax-ink);
}
.ax-doors-tabs button[aria-selected="true"] .ax-doors-tab-glyph {
  opacity: 1;
  transform: translateY(-2px);
}
.ax-doors-tabs button[aria-selected="true"] .ax-doors-tab-name {
  color: var(--ax-paper-hi);
}
.ax-doors-tabs button[aria-selected="true"] .ax-glyph-frame {
  stroke: var(--ax-paper-hi);
}
.ax-doors-tabs button[aria-selected="true"] .ax-glyph-floor {
  stroke: var(--ax-night-line);
}
.ax-doors-tabs button[aria-selected="true"] .ax-glyph-leaf {
  fill: var(--ax-seal-deep);
  stroke: var(--ax-seal-soft);
}
.ax-doors-tabs button[aria-selected="true"] .ax-glyph-handle {
  fill: var(--ax-paper-hi);
}

.ax-doors-panels {
  display: grid;
  gap: 0;
}
.ax-door {
  display: grid;
  gap: 26px;
  padding: 30px 24px 34px;
  border: 1px solid var(--ax-rule);
  background: #fff;
}
.ax-doors-panels .ax-door + .ax-door {
  border-top: 0;
}
@media (min-width: 860px) {
  .ax-door {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 34px;
    padding: 36px 32px 40px;
  }
}
.ax-door-glyph {
  width: 116px;
}
.ax-door-name {
  font-family: var(--ax-serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.08;
}
.ax-door-who {
  margin-top: 12px;
  font-size: 1.02rem;
  line-height: 1.68;
  color: var(--ax-ink-soft);
  max-width: 60ch;
}
.ax-door-expects {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--ax-paper);
  border-left: 3px double var(--ax-seal);
  font-size: 0.94rem;
  line-height: 1.66;
  color: var(--ax-ink-soft);
}
.ax-door-expects > span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ax-seal);
  margin-bottom: 5px;
}
.ax-door-asks {
  margin-top: 24px;
  display: grid;
  gap: 24px;
}
@media (min-width: 720px) {
  .ax-door-asks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.ax-door-asks h4,
.ax-service-block h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ax-muted);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ax-rule);
  margin-bottom: 12px;
}
.ax-tick > li,
.ax-cross > li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ax-ink-soft);
}
.ax-tick > li + li,
.ax-cross > li + li {
  margin-top: 9px;
}
.ax-tick > li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 8px;
  height: 4px;
  border-left: 1.6px solid var(--ax-seal);
  border-bottom: 1.6px solid var(--ax-seal);
  transform: rotate(-45deg);
}
.ax-cross > li {
  color: var(--ax-muted);
}
.ax-cross > li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 11px;
  width: 10px;
  height: 0;
  border-top: 1.6px solid var(--ax-red);
}
.ax-door-goes {
  margin-top: 26px;
  display: grid;
  gap: 0;
  border-top: 2px solid var(--ax-ink);
}
.ax-door-goes > div {
  display: grid;
  gap: 4px 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--ax-rule-hair);
}
@media (min-width: 620px) {
  .ax-door-goes > div {
    grid-template-columns: 160px minmax(0, 1fr);
    align-items: baseline;
  }
}
.ax-door-goes dt {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ax-seal);
}
.ax-door-goes dd {
  font-size: 0.93rem;
  line-height: 1.66;
  color: var(--ax-muted);
}
.ax-door-cost {
  margin-top: 20px;
  font-size: 0.95rem;
  line-height: 1.66;
  color: var(--ax-red-deep);
  font-style: italic;
  padding-left: 14px;
  border-left: 2px solid var(--ax-red);
}

/* ---------------------------------------------------------------- */
/* Service routing                                                   */
/* ---------------------------------------------------------------- */

.ax-routing-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--ax-rule);
  border-bottom: 0;
  background: #fff;
}
.ax-routing-tabs button {
  flex: 1 1 160px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px 13px;
  text-align: left;
  border-right: 1px solid var(--ax-rule);
  border-bottom: 1px solid var(--ax-rule);
  transition: background 0.2s var(--ax-ease);
}
.ax-routing-tabs button:hover {
  background: var(--ax-paper);
}
.ax-routing-tab-group {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ax-faint);
}
.ax-routing-tab-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ax-ink-soft);
}
.ax-routing-tabs button[aria-selected="true"] {
  background: var(--ax-ink);
}
.ax-routing-tabs button[aria-selected="true"] .ax-routing-tab-group {
  color: var(--ax-seal-soft);
}
.ax-routing-tabs button[aria-selected="true"] .ax-routing-tab-name {
  color: var(--ax-paper-hi);
}

.ax-service {
  padding: 28px 24px 30px;
  border: 1px solid var(--ax-rule);
  background: #fff;
}
.ax-routing-panels .ax-service + .ax-service {
  border-top: 0;
}
@media (min-width: 860px) {
  .ax-service {
    padding: 34px 32px 36px;
  }
}
.ax-service-head {
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ax-ink);
}
.ax-service-group {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ax-red);
}
.ax-service-head h3 {
  margin-top: 8px;
  font-family: var(--ax-serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  line-height: 1.1;
}
.ax-service-grid {
  margin-top: 22px;
  display: grid;
  gap: 26px;
}
@media (min-width: 760px) {
  .ax-service-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 40px;
  }
}
.ax-service-block p {
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--ax-muted);
}
.ax-service-h4-gap {
  margin-top: 20px;
}
.ax-service-watch {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 3px double var(--ax-red);
  display: flex;
  gap: 12px;
  font-size: 0.93rem;
  line-height: 1.66;
  color: var(--ax-ink-soft);
}
.ax-service-watch-mark {
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  background: var(--ax-red);
}

/* ---------------------------------------------------------------- */
/* Outcomes                                                          */
/* ---------------------------------------------------------------- */

.ax-outcomes {
  border-top: 2px solid var(--ax-ink);
}
.ax-outcomes > li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 0 22px;
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--ax-rule);
}
@media (min-width: 860px) {
  .ax-outcomes > li {
    grid-template-columns: 62px minmax(0, 1fr);
  }
}
.ax-outcome-code {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.ax-outcome-code > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--ax-seal);
  color: var(--ax-seal);
  font-family: var(--ax-serif);
  font-size: 1.4rem;
  line-height: 1;
}
[data-ax-outcome="decline"] .ax-outcome-code > span,
[data-ax-outcome="hold"] .ax-outcome-code > span {
  border-color: var(--ax-red);
  color: var(--ax-red);
}
.ax-outcome-body h3 {
  font-family: var(--ax-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.1;
}
.ax-outcome-when {
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.66;
  color: var(--ax-ink-soft);
  max-width: 68ch;
}
.ax-outcome-detail {
  margin-top: 10px;
  font-size: 0.93rem;
  line-height: 1.72;
  color: var(--ax-muted);
  max-width: 72ch;
}
@media (min-width: 900px) {
  .ax-outcome-body {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 10px 32px;
    align-items: start;
  }
  .ax-outcome-body h3 {
    grid-column: 1;
  }
  .ax-outcome-when {
    grid-column: 1;
    margin-top: 10px;
  }
  .ax-outcome-detail {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 6px;
  }
}

/* ---------------------------------------------------------------- */
/* Time recovery worksheet                                           */
/* ---------------------------------------------------------------- */

.ax-worksheet {
  border: 1px solid var(--ax-rule);
  background: #fff;
}
.ax-worksheet-grid {
  display: grid;
}
@media (min-width: 1040px) {
  .ax-worksheet-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.95fr);
  }
}
.ax-worksheet-form {
  padding: 8px 20px 20px;
}
@media (min-width: 1040px) {
  .ax-worksheet-form {
    border-right: 1px solid var(--ax-rule);
    padding: 8px 28px 24px;
  }
}
.ax-worksheet-head {
  display: none;
}
@media (min-width: 900px) {
  .ax-worksheet-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 96px 96px 104px;
    gap: 16px;
    padding: 16px 0 10px;
    border-bottom: 2px solid var(--ax-ink);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ax-faint);
  }
  .ax-worksheet-head > span:not(:first-child) {
    text-align: right;
  }
}

.ax-line {
  display: grid;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--ax-rule-hair);
}
@media (min-width: 900px) {
  .ax-line {
    grid-template-columns: minmax(0, 1fr) 96px 96px 104px;
    gap: 16px;
    align-items: start;
  }
}
.ax-line-name {
  font-family: var(--ax-serif);
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--ax-ink);
}
.ax-line-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ax-ink-soft);
  margin-bottom: 5px;
}
@media (min-width: 900px) {
  .ax-line-field label {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--ax-faint);
    text-align: right;
    min-height: 2.4em;
  }
}
.ax-line-field input {
  width: 100%;
  padding: 9px 10px;
  font: inherit;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: var(--ax-ink);
  background: var(--ax-paper-hi);
  border: 1px solid var(--ax-rule);
  border-radius: 0;
  appearance: textfield;
  -moz-appearance: textfield;
}
.ax-line-field input::-webkit-outer-spin-button,
.ax-line-field input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}
.ax-line-field input:focus {
  background: #fff;
  border-color: var(--ax-seal);
}
.ax-line-help {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--ax-faint);
}
@media (min-width: 900px) {
  .ax-line-help {
    display: none;
  }
}
.ax-line-out {
  display: block;
  font-variant-numeric: tabular-nums;
  text-align: right;
  padding-top: 4px;
}
@media (min-width: 900px) {
  .ax-line-out {
    padding-top: 2.4em;
  }
}
.ax-line-out-value {
  display: inline-block;
  padding: 9px 0;
  font-size: 1rem;
  color: var(--ax-muted);
  border-bottom: 1px solid transparent;
}
.ax-line[data-state="filled"] .ax-line-out-value {
  color: var(--ax-red-deep);
  font-weight: 600;
  border-bottom-color: var(--ax-rule);
}
@media (max-width: 899px) {
  .ax-line-out::before {
    content: "Minutes a week";
    display: inline;
    margin-right: 10px;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ax-faint);
  }
}

.ax-worksheet-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
}
.ax-reset {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ax-red);
  border-bottom: 1px solid var(--ax-red-soft);
  padding-bottom: 2px;
}
.ax-reset:hover {
  border-bottom-color: var(--ax-red);
}
.ax-worksheet-arith {
  font-size: 0.78rem;
  color: var(--ax-faint);
}

.ax-worksheet-total {
  padding: 26px 22px 28px;
  background: var(--ax-paper);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@media (min-width: 1040px) {
  .ax-worksheet-total {
    padding: 34px 28px 32px;
  }
}
.ax-total-empty-head {
  font-family: var(--ax-serif);
  font-size: 1.7rem;
  line-height: 1.15;
  color: var(--ax-ink);
}
.ax-total-empty-body {
  margin-top: 12px;
  font-size: 0.93rem;
  line-height: 1.72;
  color: var(--ax-muted);
}
.ax-total-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ax-red);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ax-rule);
}
.ax-total-primary {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 3px double var(--ax-ink);
}
.ax-total-figure {
  font-family: var(--ax-serif);
  font-size: clamp(3.4rem, 8vw, 5rem);
  line-height: 0.92;
  font-variant-numeric: tabular-nums;
  color: var(--ax-ink);
}
.ax-total-unit {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ax-muted);
}
.ax-total-derived {
  margin-top: 16px;
  display: grid;
  gap: 0;
}
.ax-total-derived > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--ax-rule-hair);
}
.ax-total-derived dt {
  font-size: 0.86rem;
  color: var(--ax-muted);
}
.ax-total-derived dd {
  font-size: 1.04rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ax-ink);
}
.ax-total-note {
  margin-top: 14px;
  font-size: 0.8rem;
  line-height: 1.66;
  color: var(--ax-faint);
}
.ax-total-honesty {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--ax-rule);
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--ax-muted);
}

.ax-diagnostic {
  margin-top: clamp(44px, 5vw, 72px);
  border-top: 1px solid var(--ax-rule);
  padding-top: 28px;
}
.ax-diagnostic-head {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ax-red);
}
.ax-diagnostic-body {
  margin-top: 12px;
  max-width: 68ch;
  font-size: 0.95rem;
  line-height: 1.72;
  color: var(--ax-muted);
}

/* ---------------------------------------------------------------- */
/* Portal                                                            */
/* ---------------------------------------------------------------- */

.ax-tone-night .ax-note,
.ax-tone-night .ax-caveat {
  border-color: var(--ax-night-line);
  color: var(--ax-night-muted);
}

.ax-journey {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--ax-night-line);
  border-bottom: 1px solid var(--ax-night-line);
  margin-bottom: clamp(32px, 4vw, 52px);
}
.ax-journey > li {
  flex: 1 1 160px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 18px;
  color: var(--ax-night-muted);
}
.ax-journey > li + li {
  border-left: 1px solid var(--ax-night-line);
}
.ax-journey-no {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}
.ax-journey-label {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.ax-journey > li[data-ax-journey-current="true"] {
  background: var(--ax-night-2);
  color: var(--ax-night-text);
}
.ax-journey > li[data-ax-journey-current="true"] .ax-journey-no {
  color: var(--ax-seal-soft);
}

.ax-portal {
  display: grid;
  gap: 32px;
}
@media (min-width: 1000px) {
  .ax-portal {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
    gap: 52px;
    align-items: start;
  }
}
.ax-portal-try {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ax-night-line);
}
@media (min-width: 680px) {
  .ax-portal-try {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.ax-portal-try > article {
  padding: 22px 22px 26px;
  border-bottom: 1px solid var(--ax-night-line);
}
@media (min-width: 680px) {
  .ax-portal-try > article:nth-child(odd) {
    border-right: 1px solid var(--ax-night-line);
    padding-left: 0;
  }
}
.ax-portal-no {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ax-seal-soft);
}
.ax-portal-try h3 {
  margin-top: 10px;
  font-family: var(--ax-serif);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.16;
  color: var(--ax-night-text);
}
.ax-portal-try p {
  margin-top: 10px;
  font-size: 0.93rem;
  line-height: 1.72;
  color: var(--ax-night-body);
}

.ax-portal-cta {
  padding: 28px 26px 30px;
  background: var(--ax-night-2);
  border: 1px solid var(--ax-night-line);
}
.ax-portal-url {
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  color: var(--ax-seal-soft);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ax-night-line);
  word-break: break-word;
}
.ax-portal-cta .ax-button {
  margin-top: 20px;
}
.ax-portal-disclosure {
  margin-top: 18px;
  font-size: 0.83rem;
  line-height: 1.7;
  color: var(--ax-night-muted);
}

/* ---------------------------------------------------------------- */
/* Field guide                                                       */
/* ---------------------------------------------------------------- */

.ax-guide {
  display: grid;
  gap: 40px;
}
@media (min-width: 960px) {
  .ax-guide {
    grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr);
    gap: 64px;
    align-items: start;
  }
}
.ax-guide-jacket-col {
  position: relative;
}
@media (min-width: 960px) {
  .ax-guide-jacket-col {
    position: sticky;
    top: 140px;
  }
}
.ax-guide-meta {
  margin-top: 16px;
  max-width: 340px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ax-faint);
  padding-top: 10px;
  border-top: 1px solid var(--ax-rule);
}

.ax-guide-title {
  margin-top: 16px;
  font-family: var(--ax-serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.018em;
}
.ax-guide-sub {
  margin-top: 14px;
  font-family: var(--ax-serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.34;
  color: var(--ax-ink-soft);
  max-width: 44ch;
}
.ax-guide-lede {
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--ax-muted);
  max-width: 62ch;
}
.ax-guide-contents {
  margin-top: 30px;
  border-top: 2px solid var(--ax-ink);
}
.ax-guide-contents > li {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--ax-rule-hair);
}
.ax-guide-part {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ax-red);
  padding-top: 5px;
}
.ax-guide-entry-title {
  display: block;
  font-family: var(--ax-serif);
  font-size: 1.32rem;
  line-height: 1.2;
  color: var(--ax-ink);
}
.ax-guide-entry-body {
  display: block;
  margin-top: 6px;
  font-size: 0.9rem;
  line-height: 1.66;
  color: var(--ax-muted);
}
.ax-guide-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.ax-guide-pending {
  display: flex;
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.68;
  color: var(--ax-muted);
  padding: 14px 16px;
  background: var(--ax-paper-hi);
  border: 1px dashed var(--ax-rule);
  max-width: 62ch;
}
.ax-guide-pending-mark {
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  background: var(--ax-red);
}

/* ---------------------------------------------------------------- */
/* Keep the stack                                                    */
/* ---------------------------------------------------------------- */

.ax-stack-keep {
  border-top: 2px solid var(--ax-seal);
}
.ax-stack-keep > li {
  display: grid;
  gap: 3px;
  padding: 13px 0;
  border-bottom: 1px solid var(--ax-rule-hair);
}
@media (min-width: 620px) {
  .ax-stack-keep > li {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 20px;
    align-items: baseline;
  }
}
.ax-stack-name {
  font-family: var(--ax-serif);
  font-size: 1.24rem;
  color: var(--ax-ink);
}
.ax-stack-note {
  font-size: 0.89rem;
  line-height: 1.66;
  color: var(--ax-muted);
}
/* ---------------------------------------------------------------- */
/* Human boundary                                                    */
/* ---------------------------------------------------------------- */

.ax-boundary {
  display: grid;
  gap: 0;
  border: 1px solid var(--ax-rule);
  background: #fff;
}
@media (min-width: 880px) {
  .ax-boundary {
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  }
}
.ax-boundary-col {
  padding: 28px 26px 32px;
}
.ax-boundary-col h3 {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ax-rule);
  margin-bottom: 18px;
}
.ax-boundary-never h3 {
  color: var(--ax-red);
}
.ax-boundary-does h3 {
  color: var(--ax-seal);
}
.ax-boundary-col ul > li {
  font-family: var(--ax-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.34;
  padding: 7px 0;
  color: var(--ax-ink);
}
.ax-boundary-never ul > li {
  position: relative;
  padding-left: 26px;
}
.ax-boundary-never ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 0;
  border-top: 1.6px solid var(--ax-red);
}
.ax-boundary-does ul > li {
  font-family: var(--ax-sans);
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ax-ink-soft);
  position: relative;
  padding-left: 26px;
}
.ax-boundary-does ul > li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 9px;
  height: 5px;
  border-left: 1.8px solid var(--ax-seal);
  border-bottom: 1.8px solid var(--ax-seal);
  transform: rotate(-45deg);
}
.ax-boundary-line {
  background: var(--ax-rule);
  position: relative;
}
@media (max-width: 879px) {
  .ax-boundary-line {
    height: 1px;
  }
}
.ax-boundary-line > span {
  display: none;
}

/* ---------------------------------------------------------------- */
/* Evidence                                                          */
/* ---------------------------------------------------------------- */

.ax-cases {
  display: grid;
  gap: 28px;
}
@media (min-width: 980px) {
  .ax-cases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
}
.ax-case {
  border: 1px solid var(--ax-rule);
  background: #fff;
  padding: 26px 24px 30px;
  display: flex;
  flex-direction: column;
}
.ax-case-head {
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ax-ink);
}
.ax-case-no {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ax-red);
}
.ax-case-head h3 {
  margin-top: 8px;
  font-family: var(--ax-serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.06;
}
.ax-case-where {
  margin-top: 8px;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ax-seal);
  font-weight: 600;
}
.ax-case-shape {
  margin-top: 6px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ax-muted);
}
.ax-case-shift {
  margin-top: 18px;
  display: grid;
  gap: 0;
}
.ax-case-shift > div {
  display: grid;
  gap: 4px 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ax-rule-hair);
}
@media (min-width: 560px) {
  .ax-case-shift > div {
    grid-template-columns: 62px minmax(0, 1fr);
    align-items: baseline;
  }
}
.ax-case-shift dt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ax-faint);
}
.ax-case-shift > div:first-child dt {
  color: var(--ax-red);
}
.ax-case-shift > div:last-child dt {
  color: var(--ax-seal);
}
.ax-case-shift dd {
  font-size: 0.92rem;
  line-height: 1.66;
  color: var(--ax-ink-soft);
}
.ax-case-measures {
  margin-top: 20px;
  display: grid;
  gap: 0;
  border-top: 3px double var(--ax-ink);
}
.ax-case-measures > li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ax-rule-hair);
}
.ax-case-value {
  font-family: var(--ax-serif);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ax-ink);
  font-variant-numeric: tabular-nums;
  flex: none;
}
.ax-case-label {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ax-muted);
  text-align: right;
}
.ax-case-note {
  margin-top: 16px;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--ax-faint);
}
.ax-case .ax-text-link {
  margin-top: auto;
  padding-top: 14px;
}

/* ---------------------------------------------------------------- */
/* Estate                                                            */
/* ---------------------------------------------------------------- */

.ax-estate {
  display: grid;
  gap: 0;
  border-top: 2px solid var(--ax-ink);
}
@media (min-width: 760px) {
  .ax-estate {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1160px) {
  .ax-estate {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.ax-estate-group {
  padding: 22px 22px 26px;
  border-bottom: 1px solid var(--ax-rule);
}
.ax-estate-group:first-child {
  padding-left: 0;
}
@media (min-width: 760px) {
  .ax-estate-group {
    border-right: 1px solid var(--ax-rule);
  }
  .ax-estate-group:nth-child(2n) {
    border-right: 0;
  }
}
@media (min-width: 1160px) {
  .ax-estate-group:nth-child(2n) {
    border-right: 1px solid var(--ax-rule);
  }
  .ax-estate-group:last-child {
    border-right: 0;
    padding-right: 0;
  }
}
.ax-estate-group h3 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ax-red);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ax-rule-hair);
}
.ax-estate-group ul {
  margin-top: 6px;
}
.ax-estate-group li {
  border-bottom: 1px solid var(--ax-rule-hair);
}
.ax-estate-group li:last-child {
  border-bottom: 0;
}
.ax-estate-group a {
  display: block;
  padding: 13px 0;
  text-decoration: none;
}
.ax-estate-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ax-serif);
  font-size: 1.2rem;
  line-height: 1.2;
  color: var(--ax-ink);
  transition: color 0.2s var(--ax-ease);
}
.ax-estate-note {
  display: block;
  margin-top: 5px;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--ax-muted);
}
.ax-estate-group a:hover .ax-estate-label {
  color: var(--ax-red);
}

.ax-reading {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 26px;
  border-top: 1px solid var(--ax-rule);
}
.ax-reading-head {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ax-seal);
}
.ax-reading ul {
  margin-top: 16px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ax-rule-hair);
}
@media (min-width: 880px) {
  .ax-reading ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.ax-reading li {
  border-bottom: 1px solid var(--ax-rule-hair);
}
@media (min-width: 880px) {
  .ax-reading li:not(:last-child) {
    border-right: 1px solid var(--ax-rule-hair);
  }
}
.ax-reading a {
  display: block;
  padding: 16px 20px 18px;
  text-decoration: none;
  transition: background 0.2s var(--ax-ease);
}
@media (min-width: 880px) {
  .ax-reading li:first-child a {
    padding-left: 0;
  }
}
.ax-reading a:hover {
  background: color-mix(in srgb, var(--ax-seal-soft) 22%, transparent);
}
.ax-reading-title {
  display: block;
  font-family: var(--ax-serif);
  font-size: 1.24rem;
  line-height: 1.2;
  color: var(--ax-ink);
}
.ax-reading-note {
  display: block;
  margin-top: 7px;
  font-size: 0.85rem;
  line-height: 1.62;
  color: var(--ax-muted);
}

/* ---------------------------------------------------------------- */
/* FAQ                                                               */
/* ---------------------------------------------------------------- */

.ax-faq {
  display: grid;
  gap: 28px;
}
@media (min-width: 940px) {
  .ax-faq {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: 56px;
    align-items: start;
  }
}
.ax-faq-head h2 {
  margin-top: 16px;
  font-family: var(--ax-serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.08;
}
.ax-faq-list {
  border-top: 2px solid var(--ax-ink);
}
.ax-faq-list details {
  border-bottom: 1px solid var(--ax-rule);
}
.ax-faq-list summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--ax-serif);
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  line-height: 1.24;
  color: var(--ax-ink);
}
.ax-faq-list summary::-webkit-details-marker {
  display: none;
}
.ax-faq-list summary svg {
  flex: none;
  margin-top: 5px;
  color: var(--ax-red);
  transition: transform 0.24s var(--ax-ease);
}
.ax-faq-list details[open] summary svg {
  transform: rotate(45deg);
}
.ax-faq-list details > p {
  padding: 0 40px 20px 0;
  font-size: 0.97rem;
  line-height: 1.76;
  color: var(--ax-muted);
  max-width: 76ch;
}

/* ---------------------------------------------------------------- */
/* Close                                                             */
/* ---------------------------------------------------------------- */

.ax-close {
  background: var(--ax-night);
  color: var(--ax-night-body);
  padding-block: clamp(64px, 8vw, 120px);
}
.ax-close-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 940px) {
  .ax-close-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 60px;
    align-items: start;
  }
}
.ax-close h2 {
  font-family: var(--ax-serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.04;
  color: var(--ax-night-text);
  text-wrap: balance;
}
.ax-close p {
  font-size: 1rem;
  line-height: 1.76;
  max-width: 64ch;
}
.ax-close p + p {
  margin-top: 16px;
}
.ax-close .ax-button {
  margin-top: 30px;
}
.ax-close-alts {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--ax-night-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 30px;
}
.ax-close-alts .ax-text-link {
  margin-top: 0;
}
.ax-close-fineprint {
  margin-top: 26px;
  font-size: 0.8rem;
  line-height: 1.72;
  color: var(--ax-night-muted);
  max-width: 76ch;
}


/* ---------------------------------------------------------------- */
/* Hero extras                                                       */
/* ---------------------------------------------------------------- */

.ax-button-hero {
  padding: 17px 28px;
  font-size: 1.02rem;
  background: var(--ax-navy);
  border-color: var(--ax-navy);
  box-shadow: 0 14px 30px -18px rgba(14, 26, 43, 0.8);
}
.ax-button-hero:hover {
  background: var(--ax-seal-deep);
  border-color: var(--ax-seal-deep);
}
.ax-hero-tertiary {
  margin-top: 18px;
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--ax-muted);
  max-width: 54ch;
}
.ax-hero-tertiary a {
  font-weight: 600;
  color: var(--ax-ink);
  text-decoration-color: var(--ax-red);
}
.ax-hero-tertiary a:hover {
  color: var(--ax-red);
}

/* ---------------------------------------------------------------- */
/* Contextual next actions                                           */
/* ---------------------------------------------------------------- */

.ax-next {
  margin-top: clamp(34px, 4vw, 52px);
  padding-top: 24px;
  border-top: 3px double var(--ax-rule);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.ax-next-line {
  font-family: var(--ax-serif);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  line-height: 1.2;
  color: var(--ax-ink);
  flex: 1 1 18ch;
}
.ax-next-light {
  border-top-color: var(--ax-navy-line);
}
.ax-next-light .ax-next-line {
  color: var(--ax-night-text);
}

/* ---------------------------------------------------------------- */
/* Transformation                                                    */
/* ---------------------------------------------------------------- */

.ax-change {
  border-top: 2px solid var(--ax-ink);
}
.ax-change-heads {
  display: none;
}
@media (min-width: 820px) {
  .ax-change-heads {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr);
    gap: 0 18px;
    padding: 12px 0 10px;
    border-bottom: 1px solid var(--ax-rule);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  .ax-change-head-before {
    color: var(--ax-red);
  }
  .ax-change-head-after {
    grid-column: 3;
    color: var(--ax-seal);
  }
}
.ax-change-rows > li {
  display: grid;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid var(--ax-rule-hair);
  align-items: center;
}
@media (min-width: 820px) {
  .ax-change-rows > li {
    grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr);
    gap: 0 18px;
  }
}
.ax-change-label {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
@media (min-width: 820px) {
  .ax-change-label {
    display: none;
  }
}
.ax-change-before {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ax-muted);
}
.ax-change-before .ax-change-label {
  color: var(--ax-red);
}
.ax-change-after {
  font-family: var(--ax-serif);
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
  line-height: 1.26;
  color: var(--ax-ink);
}
.ax-change-after .ax-change-label {
  font-family: var(--ax-sans);
  color: var(--ax-seal);
}
.ax-change-arrow {
  display: none;
}
@media (min-width: 820px) {
  .ax-change-arrow {
    display: block;
    height: 1px;
    background: linear-gradient(to right, var(--ax-red-soft), var(--ax-seal));
    position: relative;
  }
  .ax-change-arrow::after {
    content: "";
    position: absolute;
    right: 0;
    top: -3px;
    width: 7px;
    height: 7px;
    border-top: 1.5px solid var(--ax-seal);
    border-right: 1.5px solid var(--ax-seal);
    transform: rotate(45deg);
  }
}
.ax-change-constant {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  padding: 16px 18px;
  background: color-mix(in srgb, var(--ax-seal-soft) 30%, transparent);
  border-left: 3px double var(--ax-seal);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ax-ink);
  font-weight: 500;
}
.ax-change-constant-mark {
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 9px;
  background: var(--ax-seal);
}

/* ---------------------------------------------------------------- */
/* Two sides, Sarah, fragments, phantom                              */
/* ---------------------------------------------------------------- */

.ax-twosides {
  display: grid;
  gap: 0;
  border: 1px solid var(--ax-rule);
  background: #fff;
}
@media (min-width: 820px) {
  .ax-twosides {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.ax-twosides-col {
  padding: 26px 24px 30px;
}
.ax-twosides-client {
  border-bottom: 1px solid var(--ax-rule);
}
@media (min-width: 820px) {
  .ax-twosides-client {
    border-bottom: 0;
    border-right: 1px solid var(--ax-rule);
  }
}
.ax-twosides-col h3 {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ax-rule);
  margin-bottom: 16px;
}
.ax-twosides-client h3 {
  color: var(--ax-seal);
}
.ax-twosides-firm h3 {
  color: var(--ax-red);
}
.ax-twosides-client ul > li {
  font-family: var(--ax-serif);
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
  line-height: 1.34;
  padding: 7px 0;
  color: var(--ax-ink);
  font-style: italic;
}
.ax-twosides-firm ul > li {
  font-size: 0.97rem;
  line-height: 1.6;
  padding: 9px 0;
  color: var(--ax-muted);
  border-bottom: 1px solid var(--ax-rule-hair);
}
.ax-twosides-firm ul > li:last-child {
  border-bottom: 0;
}

.ax-scenario {
  margin-top: clamp(36px, 4.4vw, 60px);
  border: 1px solid var(--ax-rule);
  background: var(--ax-paper-hi);
  padding: 26px 24px 30px;
}
@media (min-width: 860px) {
  .ax-scenario {
    padding: 34px 32px 36px;
  }
}
.ax-scenario-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ax-red);
}
.ax-scenario header h3 {
  margin-top: 8px;
  font-family: var(--ax-serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.08;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ax-ink);
}
.ax-scenario-steps {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}
.ax-scenario-steps > li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  font-size: 1rem;
  line-height: 1.66;
  color: var(--ax-ink-soft);
  max-width: 82ch;
}
.ax-scenario-no {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ax-faint);
  padding-top: 6px;
}
.ax-scenario-failures {
  margin-top: 24px;
  display: grid;
  gap: 0;
  border-top: 3px double var(--ax-red);
}
@media (min-width: 720px) {
  .ax-scenario-failures {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
  }
}
.ax-scenario-failures > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 11px 0;
  border-bottom: 1px solid var(--ax-rule-hair);
  font-size: 0.94rem;
  line-height: 1.6;
}
.ax-scenario-failures dt {
  font-weight: 700;
  color: var(--ax-red-deep);
}
.ax-scenario-failures dd {
  color: var(--ax-muted);
}
.ax-scenario-close {
  margin-top: 20px;
  font-size: 0.97rem;
  line-height: 1.72;
  color: var(--ax-ink-soft);
  max-width: 78ch;
}

.ax-fragments {
  margin-top: clamp(36px, 4.4vw, 60px);
}
.ax-fragments-head h3 {
  font-family: var(--ax-serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  line-height: 1.08;
}
.ax-fragments-head p {
  margin-top: 8px;
  font-size: 1rem;
  color: var(--ax-muted);
  font-style: italic;
}
.ax-fragments ul {
  margin-top: 20px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ax-rule);
}
@media (min-width: 720px) {
  .ax-fragments ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 36px;
  }
}
@media (min-width: 1080px) {
  .ax-fragments ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.ax-fragments ul > li {
  padding: 13px 0;
  border-bottom: 1px solid var(--ax-rule-hair);
  font-size: 0.97rem;
  line-height: 1.55;
  color: var(--ax-ink-soft);
  position: relative;
  padding-left: 20px;
}
.ax-fragments ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 8px;
  height: 1.5px;
  background: var(--ax-red);
}
.ax-fragments-close {
  margin-top: 18px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ax-ink);
  max-width: 62ch;
}

.ax-phantom {
  margin-top: clamp(40px, 5vw, 68px);
  max-width: 62ch;
  margin-inline: auto;
  text-align: center;
  padding: 32px 24px 34px;
  border-top: 1px solid var(--ax-rule);
  border-bottom: 1px solid var(--ax-rule);
}
.ax-phantom-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ax-faint);
  margin-bottom: 20px;
}
.ax-phantom-line {
  font-family: var(--ax-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  line-height: 1.34;
  color: var(--ax-ink);
}
.ax-phantom-line + .ax-phantom-line {
  margin-top: 16px;
}
.ax-phantom-close {
  margin-top: 22px;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--ax-red-deep);
  font-weight: 600;
}

/* ---------------------------------------------------------------- */
/* Time buckets                                                      */
/* ---------------------------------------------------------------- */

.ax-buckets {
  display: grid;
  gap: 0;
  border-top: 2px solid var(--ax-ink);
  margin-bottom: 8px;
}
@media (min-width: 720px) {
  .ax-buckets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .ax-buckets {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.ax-buckets > li {
  padding: 22px 20px 26px;
  border-bottom: 1px solid var(--ax-rule);
}
@media (min-width: 720px) {
  .ax-buckets > li:nth-child(odd) {
    border-right: 1px solid var(--ax-rule);
  }
  .ax-buckets > li:first-child {
    padding-left: 0;
  }
}
@media (min-width: 1100px) {
  .ax-buckets > li:nth-child(odd) {
    border-right: 0;
  }
  .ax-buckets > li:not(:last-child) {
    border-right: 1px solid var(--ax-rule);
  }
  .ax-buckets > li:last-child {
    padding-right: 0;
  }
}
.ax-bucket-range {
  font-family: var(--ax-serif);
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--ax-red-deep);
  font-variant-numeric: tabular-nums;
}
.ax-bucket-source {
  display: block;
  margin-top: 6px;
  font-family: var(--ax-sans);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ax-faint);
}
.ax-buckets h3 {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--ax-rule-hair);
  font-family: var(--ax-serif);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.2;
}
.ax-bucket-body {
  margin-top: 9px;
  font-size: 0.92rem;
  line-height: 1.68;
  color: var(--ax-muted);
}

.ax-worksheet-intro {
  margin-top: clamp(32px, 4vw, 52px);
  margin-bottom: 20px;
}
.ax-worksheet-title {
  font-family: var(--ax-serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.1;
}
.ax-worksheet-lede {
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ax-muted);
  max-width: 62ch;
}
.ax-worksheet-after {
  border-top: 1px solid var(--ax-rule);
  padding: 24px 22px 26px;
  background: var(--ax-paper-hi);
  display: grid;
  gap: 20px;
  align-items: center;
}
@media (min-width: 900px) {
  .ax-worksheet-after {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    padding: 26px 28px 28px;
  }
}
.ax-worksheet-after-head {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ax-seal);
}
.ax-worksheet-after-body {
  margin-top: 10px;
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--ax-muted);
  max-width: 72ch;
}

/* ---------------------------------------------------------------- */
/* The eight parts, and the five moments                             */
/* ---------------------------------------------------------------- */

.ax-parts {
  display: grid;
  gap: 0;
  border-top: 2px solid var(--ax-ink);
}
@media (min-width: 640px) {
  .ax-parts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1040px) {
  .ax-parts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.ax-parts > li {
  padding: 20px 18px 24px;
  border-bottom: 1px solid var(--ax-rule);
  border-right: 1px solid var(--ax-rule);
}
.ax-parts > li:last-child {
  border-right: 0;
}
@media (min-width: 640px) and (max-width: 1039px) {
  .ax-parts > li:nth-child(2n) {
    border-right: 0;
  }
}
@media (min-width: 1040px) {
  .ax-parts > li:nth-child(4n) {
    border-right: 0;
  }
}
.ax-parts-no {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ax-red);
}
.ax-parts h3 {
  margin-top: 10px;
  font-family: var(--ax-serif);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.16;
}
.ax-parts p {
  margin-top: 8px;
  font-size: 0.9rem;
  line-height: 1.64;
  color: var(--ax-muted);
}

.ax-moments {
  margin-top: clamp(40px, 5vw, 64px);
}
.ax-moments-head h3 {
  font-family: var(--ax-serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.1;
}
.ax-moments-head p {
  margin-top: 10px;
  font-size: 0.98rem;
  color: var(--ax-muted);
  max-width: 60ch;
}
.ax-moments-list {
  margin-top: 22px;
  border-top: 2px solid var(--ax-ink);
}
.ax-moments-list > li {
  display: grid;
  gap: 8px 28px;
  padding: 20px 0 22px;
  border-bottom: 1px solid var(--ax-rule);
}
@media (min-width: 900px) {
  .ax-moments-list > li {
    grid-template-columns: minmax(0, 0.6fr) minmax(0, 0.9fr) minmax(0, 1.5fr);
    align-items: start;
  }
}
.ax-moment-stage {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.ax-moment-no {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ax-red);
  font-variant-numeric: tabular-nums;
}
.ax-moment-stage h4 {
  font-family: var(--ax-serif);
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1.1;
}
.ax-moment-asks {
  font-family: var(--ax-serif);
  font-style: italic;
  font-size: 1.16rem;
  line-height: 1.4;
  color: var(--ax-ink-soft);
}
.ax-moment-detail {
  display: grid;
  gap: 10px;
}
@media (min-width: 620px) {
  .ax-moment-detail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}
.ax-moment-detail dt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ax-seal);
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ax-rule-hair);
  margin-bottom: 7px;
}
.ax-moment-detail dd {
  font-size: 0.9rem;
  line-height: 1.66;
  color: var(--ax-muted);
}

/* ---------------------------------------------------------------- */
/* Service source flag, and the question test                        */
/* ---------------------------------------------------------------- */

.ax-service-source {
  display: inline-block;
  margin-top: 10px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 9px;
  border: 1px solid var(--ax-rule);
  color: var(--ax-muted);
}
.ax-service-source[data-ax-source="guide"] {
  border-color: var(--ax-seal);
  color: var(--ax-seal);
}

.ax-qtest {
  margin-top: clamp(34px, 4vw, 52px);
  border: 1px solid var(--ax-rule);
  background: #fff;
  padding: 24px 22px 26px;
}
@media (min-width: 860px) {
  .ax-qtest {
    padding: 30px 30px 32px;
  }
}
.ax-qtest h3 {
  font-family: var(--ax-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.1;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ax-ink);
}
.ax-qtest-grid {
  margin-top: 20px;
  display: grid;
  gap: 20px;
}
@media (min-width: 700px) {
  .ax-qtest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
}
.ax-qtest-keep span,
.ax-qtest-drop span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding-bottom: 9px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--ax-rule);
}
.ax-qtest-keep span {
  color: var(--ax-seal);
}
.ax-qtest-drop span {
  color: var(--ax-red);
}
.ax-qtest-keep p,
.ax-qtest-drop p {
  font-family: var(--ax-serif);
  font-size: 1.24rem;
  line-height: 1.34;
  color: var(--ax-ink);
}
.ax-qtest-close {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--ax-rule-hair);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ax-muted);
}

/* ---------------------------------------------------------------- */
/* Decision loop                                                     */
/* ---------------------------------------------------------------- */

.ax-loop {
  margin-top: clamp(38px, 4.6vw, 60px);
}
.ax-loop-head h3 {
  font-family: var(--ax-serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  line-height: 1.1;
}
.ax-loop-head p {
  margin-top: 10px;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ax-muted);
  max-width: 62ch;
}
.ax-loop-steps {
  margin-top: 20px;
  display: grid;
  gap: 0;
  border-top: 2px solid var(--ax-ink);
}
@media (min-width: 720px) {
  .ax-loop-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.ax-loop-steps > li {
  padding: 20px 18px 24px;
  border-bottom: 1px solid var(--ax-rule);
  border-right: 1px solid var(--ax-rule);
  position: relative;
}
.ax-loop-steps > li:last-child {
  border-right: 0;
}
@media (min-width: 720px) {
  .ax-loop-steps > li:first-child {
    padding-left: 0;
  }
  .ax-loop-steps > li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -5px;
    top: 30px;
    width: 8px;
    height: 8px;
    border-top: 1.5px solid var(--ax-seal);
    border-right: 1.5px solid var(--ax-seal);
    transform: rotate(45deg);
    background: var(--ax-stone);
  }
}
.ax-loop-no {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ax-seal);
}
.ax-loop-steps h4 {
  margin-top: 10px;
  font-family: var(--ax-serif);
  font-weight: 500;
  font-size: 1.32rem;
  line-height: 1.16;
}
.ax-loop-steps p {
  margin-top: 8px;
  font-size: 0.9rem;
  line-height: 1.64;
  color: var(--ax-muted);
}

/* ---------------------------------------------------------------- */
/* Portal extras                                                     */
/* ---------------------------------------------------------------- */

.ax-tone-navy .ax-journey {
  border-color: var(--ax-navy-line);
}
.ax-tone-navy .ax-journey > li + li {
  border-left-color: var(--ax-navy-line);
}
.ax-tone-navy .ax-journey > li[data-ax-journey-current="true"] {
  background: var(--ax-navy-2);
}
.ax-tone-navy .ax-journey > li[data-ax-journey-current="true"] .ax-journey-no {
  color: var(--ax-gold-soft);
}
.ax-tone-navy .ax-portal-try,
.ax-tone-navy .ax-portal-try > article {
  border-color: var(--ax-navy-line);
}
.ax-tone-navy .ax-portal-no {
  color: var(--ax-gold-soft);
}
.ax-tone-navy .ax-portal-cta {
  background: var(--ax-navy-2);
  border-color: var(--ax-navy-line);
}
.ax-tone-navy .ax-portal-url {
  color: var(--ax-gold-soft);
  border-bottom-color: var(--ax-navy-line);
}
.ax-portal-live {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ax-gold-soft);
  margin-bottom: 12px;
}
.ax-portal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ax-gold);
  box-shadow: 0 0 0 0 rgba(200, 151, 63, 0.7);
  animation: ax-pulse 2.6s var(--ax-ease) infinite;
}
@keyframes ax-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(200, 151, 63, 0.55);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(200, 151, 63, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(200, 151, 63, 0);
  }
}
.ax-tone-navy .ax-text-link-light > span {
  border-bottom-color: var(--ax-gold);
}

/* ---------------------------------------------------------------- */
/* Category positioning                                              */
/* ---------------------------------------------------------------- */

.ax-category {
  border-top: 2px solid var(--ax-ink);
}
.ax-category > li {
  display: grid;
  gap: 8px 40px;
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--ax-rule);
}
@media (min-width: 900px) {
  .ax-category > li {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: baseline;
  }
}
.ax-category-claim {
  font-family: var(--ax-serif);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.2;
  color: var(--ax-ink);
  position: relative;
  padding-left: 22px;
}
.ax-category-claim::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 0;
  border-top: 2px solid var(--ax-red);
}
.ax-category-body {
  font-size: 0.95rem;
  line-height: 1.72;
  color: var(--ax-muted);
}

/* ---------------------------------------------------------------- */
/* Layers                                                            */
/* ---------------------------------------------------------------- */

.ax-layers {
  display: grid;
  gap: 20px;
}
@media (min-width: 980px) {
  .ax-layers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
  }
}
.ax-layer {
  border: 1px solid var(--ax-rule);
  background: #fff;
  padding: 24px 22px 26px;
}
.ax-layer[data-ax-layer-recommended="true"] {
  border-color: var(--ax-seal);
  border-width: 2px;
  background: color-mix(in srgb, var(--ax-seal-soft) 16%, #fff);
}
.ax-layer header {
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ax-ink);
}
.ax-layer-no {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ax-red);
}
.ax-layer header h3 {
  margin-top: 8px;
  font-family: var(--ax-serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  line-height: 1.08;
}
.ax-layer-flag {
  display: inline-block;
  margin-top: 10px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 9px;
  background: var(--ax-seal);
  color: var(--ax-paper-hi);
}
.ax-layer-includes {
  margin-top: 16px;
  font-size: 0.93rem;
  line-height: 1.68;
  color: var(--ax-ink-soft);
}
.ax-layer h4 {
  margin-top: 18px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ax-muted);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ax-rule);
  margin-bottom: 12px;
}
.ax-layer-best {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--ax-rule-hair);
  font-size: 0.9rem;
  line-height: 1.64;
  color: var(--ax-muted);
}
.ax-layer-best > span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ax-seal);
  margin-bottom: 5px;
}

/* ---------------------------------------------------------------- */
/* Human triggers                                                    */
/* ---------------------------------------------------------------- */

.ax-triggers {
  display: grid;
  gap: 0;
  border-top: 2px solid var(--ax-red);
  margin-bottom: clamp(32px, 4vw, 48px);
}
@media (min-width: 720px) {
  .ax-triggers {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.ax-triggers > li {
  padding: 20px 18px 24px;
  border-bottom: 1px solid var(--ax-rule);
  border-right: 1px solid var(--ax-rule);
}
.ax-triggers > li:last-child {
  border-right: 0;
}
@media (min-width: 720px) {
  .ax-triggers > li:first-child {
    padding-left: 0;
  }
}
.ax-triggers h3 {
  font-family: var(--ax-serif);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--ax-red-deep);
}
.ax-triggers p {
  margin-top: 9px;
  font-size: 0.92rem;
  line-height: 1.64;
  color: var(--ax-muted);
}

/* ---------------------------------------------------------------- */
/* The scored check                                                  */
/* ---------------------------------------------------------------- */

.ax-check {
  border: 1px solid var(--ax-rule);
  background: #fff;
}
.ax-check-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--ax-rule);
  background: var(--ax-paper-hi);
  font-size: 0.78rem;
  color: var(--ax-muted);
}
.ax-check-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.ax-check-legend b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1px solid var(--ax-rule);
  font-size: 0.72rem;
  color: var(--ax-ink);
}
.ax-check-list > li {
  border-bottom: 1px solid var(--ax-rule);
}
.ax-check fieldset {
  border: 0;
  margin: 0;
  padding: 18px 20px 20px;
  display: grid;
  gap: 10px 28px;
}
@media (min-width: 900px) {
  .ax-check fieldset {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
  }
}
.ax-check legend {
  padding: 0;
  display: block;
  float: left;
  width: 100%;
}
.ax-check-no {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ax-red);
  margin-bottom: 6px;
}
.ax-check-question {
  display: block;
  font-family: var(--ax-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.62rem);
  line-height: 1.22;
  color: var(--ax-ink);
}
.ax-check-because {
  clear: left;
  font-size: 0.88rem;
  line-height: 1.66;
  color: var(--ax-muted);
  max-width: 62ch;
}
.ax-check-scale {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
@media (min-width: 900px) {
  .ax-check-scale {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}
.ax-check-scale label {
  display: block;
  cursor: pointer;
}
.ax-check-scale input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.ax-check-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 6px 11px;
  border: 1px solid var(--ax-rule);
  background: var(--ax-paper-hi);
  text-align: center;
  transition: border-color 0.18s var(--ax-ease), background 0.18s var(--ax-ease), color 0.18s var(--ax-ease);
}
.ax-check-pill b {
  font-family: var(--ax-serif);
  font-size: 1.32rem;
  line-height: 1;
  color: var(--ax-ink);
}
.ax-check-pill > span {
  font-size: 0.7rem;
  line-height: 1.3;
  color: var(--ax-muted);
}
.ax-check-scale label:hover .ax-check-pill {
  border-color: var(--ax-seal);
}
.ax-check-scale input:checked + .ax-check-pill {
  background: var(--ax-seal);
  border-color: var(--ax-seal);
}
.ax-check-scale input:checked + .ax-check-pill b,
.ax-check-scale input:checked + .ax-check-pill > span {
  color: var(--ax-paper-hi);
}
.ax-check-scale input:focus-visible + .ax-check-pill {
  outline: 2px solid var(--ax-seal);
  outline-offset: 3px;
}
.ax-check-result {
  padding: 22px 20px 24px;
  background: var(--ax-ink);
  color: var(--ax-night-body);
  display: grid;
  gap: 8px;
}
@media (min-width: 760px) {
  .ax-check-result {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 6px 28px;
    align-items: center;
  }
}
.ax-check-score {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
@media (min-width: 760px) {
  .ax-check-score {
    grid-row: 1 / span 2;
  }
}
.ax-check-score > span:first-child {
  font-family: var(--ax-serif);
  font-size: clamp(3rem, 7vw, 4.2rem);
  line-height: 0.92;
  color: var(--ax-paper-hi);
  font-variant-numeric: tabular-nums;
}
.ax-check-outof {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ax-night-muted);
}
.ax-check-band {
  font-family: var(--ax-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.24;
  color: var(--ax-paper-hi);
}
.ax-check-progress {
  font-size: 0.83rem;
  color: var(--ax-night-muted);
}
.ax-check-bands {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ax-rule);
}
@media (min-width: 760px) {
  .ax-check-bands {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.ax-check-bands > li {
  padding: 14px 20px 16px;
  border-bottom: 1px solid var(--ax-rule-hair);
  border-right: 1px solid var(--ax-rule-hair);
}
.ax-check-bands > li:last-child {
  border-right: 0;
}
.ax-check-bands > li[data-state="current"] {
  background: color-mix(in srgb, var(--ax-seal-soft) 32%, transparent);
}
.ax-check-band-range {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ax-seal);
  margin-bottom: 6px;
}
.ax-check-band-body {
  display: block;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ax-ink-soft);
}

/* ---------------------------------------------------------------- */
/* Field guide with the real jacket                                  */
/* ---------------------------------------------------------------- */

.ax-jacket {
  max-width: 360px;
  margin: 0;
}
.ax-jacket img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 44px rgba(0, 0, 0, 0.5));
}
.ax-guide-contents {
  border-top-color: var(--ax-navy);
}
.ax-guide-part {
  color: var(--ax-gold);
}
.ax-guide-pull {
  margin: 24px 0 0;
  padding: 22px 0 0;
  border-top: 3px double var(--ax-gold);
}
.ax-guide-pull p {
  font-family: var(--ax-serif);
  font-size: clamp(1.4rem, 2.8vw, 2.05rem);
  line-height: 1.24;
  color: var(--ax-navy);
  text-wrap: balance;
}
.ax-guide-pull cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
}
.ax-guide-cite-name {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ax-ink);
}
.ax-guide-cite-role {
  display: block;
  margin-top: 3px;
  font-size: 0.8rem;
  color: var(--ax-faint);
}
.ax-guide-author-note {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--ax-rule);
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--ax-muted);
  max-width: 68ch;
}

/* The jacket is a dark navy object, so it sits on the light ground where it
   reads as the focal point rather than dissolving into a dark band. */
.ax-guide-jacket-col::before {
  content: "";
  position: absolute;
  left: -6%;
  right: 14%;
  top: 12%;
  bottom: -4%;
  background: radial-gradient(60% 50% at 50% 50%, rgba(200, 151, 63, 0.2), transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.ax-jacket {
  position: relative;
  z-index: 1;
}

/* ---------------------------------------------------------------- */
/* How we work                                                       */
/* ---------------------------------------------------------------- */

.ax-work {
  display: grid;
  gap: 0;
  border-top: 2px solid var(--ax-ink);
}
@media (min-width: 900px) {
  .ax-work {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.ax-work > li {
  padding: 24px 22px 28px;
  border-bottom: 1px solid var(--ax-rule);
  border-right: 1px solid var(--ax-rule);
}
.ax-work > li:last-child {
  border-right: 0;
}
@media (min-width: 900px) {
  .ax-work > li:first-child {
    padding-left: 0;
  }
}
.ax-work-no {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ax-red);
}
.ax-work h3 {
  margin-top: 10px;
  font-family: var(--ax-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  line-height: 1.1;
}
.ax-work-body {
  margin-top: 12px;
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--ax-muted);
}
.ax-work-leave {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 3px double var(--ax-seal);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ax-seal-deep);
  font-weight: 500;
}
.ax-sequence {
  margin-top: clamp(34px, 4vw, 52px);
}
.ax-sequence-head {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ax-seal);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ax-rule);
}
.ax-sequence ol {
  margin-top: 14px;
  display: grid;
  gap: 10px 32px;
}
@media (min-width: 760px) {
  .ax-sequence ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .ax-sequence ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.ax-sequence li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ax-ink-soft);
  padding: 8px 0;
  border-bottom: 1px solid var(--ax-rule-hair);
}
.ax-sequence-no {
  flex: none;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ax-rule);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ax-seal);
}

/* ---------------------------------------------------------------- */
/* Close extras                                                      */
/* ---------------------------------------------------------------- */

.ax-close-book {
  display: block;
  width: min(220px, 44%);
  height: auto;
  margin-top: 32px;
  border: 1px solid rgba(238, 236, 226, 0.14);
  box-shadow: 0 22px 44px -26px rgba(0, 0, 0, 0.85);
}
.ax-close-note {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--ax-night-muted);
}

/* ---------------------------------------------------------------- */
/* Progressive enhancement states                                    */
/* ---------------------------------------------------------------- */

/* Only applied once the script confirms it is running, so a figure never
   stays invisible when JavaScript fails to load. */
.ax-js .ax-figure.is-pending .ax-figure-body {
  opacity: 0;
  transform: translateY(14px);
}
.ax-js .ax-figure .ax-figure-body {
  transition: opacity 0.7s var(--ax-ease), transform 0.7s var(--ax-ease);
}
.ax-js .ax-figure.is-seen .ax-figure-body {
  opacity: 1;
  transform: none;
}

/* Tabbed variants. Without the script every panel is simply stacked. */
.ax-doors.is-tabbed .ax-doors-panels .ax-door,
.ax-routing.is-tabbed .ax-routing-panels .ax-service {
  border-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  .ax-page *,
  .ax-page *::before,
  .ax-page *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  .ax-spine,
  .ax-figure-cue {
    display: none;
  }
  .ax-page {
    background: #fff;
  }
}

/* Price in the hero (founder direction, 2026-09-24). */
.ax-hero-price {
  margin-top: 18px;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--ax-ink);
}
.ax-hero-price span { color: var(--ax-seal); }

/* Branded imagery (founder direction, 2026-09-24). */
.ax-photo-band {
  position: relative;
  height: clamp(420px, 56vw, 640px);
  overflow: hidden;
  background: var(--ax-ink);
}
.ax-photo-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
}
.ax-photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 24, 27, 0.72) 0%, rgba(20, 24, 27, 0.35) 45%, rgba(20, 24, 27, 0) 75%);
}
.ax-photo-band-copy {
  position: absolute;
  z-index: 1;
  left: clamp(24px, 6vw, 96px);
  bottom: clamp(32px, 6vw, 80px);
  max-width: 34rem;
  color: #fbfaf5;
}
.ax-photo-band-line {
  font-family: var(--ax-serif, "Cormorant Garamond Variable", Georgia, serif);
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.ax-photo-band-sub {
  margin-top: 14px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(251, 250, 245, 0.86);
}

/* Front-door illustration ported from the homepage accounting section
   (founder preference, 2026-09-24: the illustration over a portal screenshot). */
.ax-illus-portalProof {
  --ink: #18201e;
  --soft-ink: #525850;
  margin: clamp(32px, 4vw, 56px) 0;
  color: var(--ink);
}
.ax-illus-portalProof {
  max-width: 1120px;
  margin-inline: auto !important;
}
.ax-illus-portalCanvas {
  display: grid;
  grid-template-columns: minmax(225px, 0.29fr) minmax(0, 1fr);
  min-height: 570px;
  border: 1px solid #cec4af;
  background: #f7f4ec;
  overflow: hidden;
}
.ax-illus-portalRail {
  display: flex;
  flex-direction: column;
  padding: 37px 31px 30px;
  background: #1d2924;
  color: #f7f2e7;
}
.ax-illus-portalRailLabel,
.ax-illus-portalIntro > p,
.ax-illus-portalRouteNumber,
.ax-illus-portalReferral > span {
  font-family: var(--font-sans), sans-serif;
  font-size: 10px !important;
  font-weight: 700;
  line-height: 1.5 !important;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.ax-illus-portalRailLabel {
  color: #d9c69d;
}
.ax-illus-portalRailTitle {
  margin-top: 49px !important;
  font-family: var(--font-serif), Georgia, serif;
  font-size: clamp(31px, 3vw, 42px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em;
}
.ax-illus-portalRailTitle em {
  color: #d4b77b;
}
.ax-illus-portalRailList {
  display: grid;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
}
.ax-illus-portalRailList li {
  display: flex;
  gap: 13px;
  align-items: baseline;
  padding: 15px 0;
  border-top: 1px solid #526057;
  font-size: 13px;
}
.ax-illus-portalRailList li span {
  color: #d4b77b;
  font-size: 10px;
}
.ax-illus-portalRailFooter {
  margin-top: auto !important;
  padding-top: 28px;
  color: #b8c2b7;
  font-size: 12px !important;
}
.ax-illus-portalMain {
  padding: 39px clamp(25px, 4.2vw, 60px) 34px;
}
.ax-illus-portalIntro > p {
  color: #806536;
}
.ax-illus-portalIntro h3 {
  margin-top: 14px !important;
  font-size: clamp(38px, 4.4vw, 60px);
  line-height: 1.02;
}
.ax-illus-portalIntro h3 em {
  color: #87693c;
}
.ax-illus-portalIntro > span {
  display: block;
  margin-top: 13px;
  color: #586059;
  font-size: 14px;
  line-height: 1.55;
}
.ax-illus-portalRoutes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 35px;
}
.ax-illus-portalRoute {
  display: flex;
  flex-direction: column;
  min-height: 244px;
  padding: 25px 24px 22px;
  border: 1px solid #d2c8b5;
  border-top: 3px solid #a78951;
  background: #fffcf6;
}
.ax-illus-portalRouteNumber {
  color: #846938;
}
.ax-illus-portalRoute h4 {
  margin-top: 30px !important;
  font-family: var(--font-serif), Georgia, serif;
  font-size: clamp(25px, 2.3vw, 32px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.ax-illus-portalRoute p {
  margin-top: 10px !important;
  color: #586059;
  font-size: 13px;
  line-height: 1.55;
}
.ax-illus-portalRoute ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  padding-top: 19px;
}
.ax-illus-portalRoute li {
  padding: 5px 8px;
  border: 1px solid #ded7c9;
  color: #4f564d;
  font-size: 10px;
  line-height: 1.2;
}
.ax-illus-portalReferral {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-top: 16px;
  padding: 20px 23px;
  border: 1px solid #d2c8b5;
  background: #eee8db;
}
.ax-illus-portalReferral > span {
  color: #846938;
}
.ax-illus-portalReferral strong {
  font-family: var(--font-serif), Georgia, serif;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.ax-illus-portalReferral p {
  color: #586059;
  font-size: 12px;
}
.ax-illus-portalProof figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 20px;
  font-size: 12px;
  color: var(--soft-ink);
}
.ax-illus-portalProof figcaption > span {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ax-illus-portalProof figcaption strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}
.ax-illus-portalProof figcaption .ax-illus-link {
  flex: none;
}
@media (max-width: 800px) {
  .ax-illus-portalProof figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .ax-illus-portalCanvas {
    grid-template-columns: 1fr;
  }
  .ax-illus-portalRail {
    display: block;
    padding: 24px;
  }
  .ax-illus-portalRailTitle {
    margin-top: 10px !important;
    font-size: 31px !important;
  }
  .ax-illus-portalRailList {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 20px;
  }
  .ax-illus-portalRailList li {
    border: 0;
    padding: 0;
  }
  .ax-illus-portalRailFooter {
    display: none;
  }
  .ax-illus-portalMain {
    padding: 30px;
  }
}
@media (max-width: 600px) {
  .ax-illus-portalRailList {
    display: none;
  }
  .ax-illus-portalMain {
    padding: 25px 19px;
  }
  .ax-illus-portalRoutes {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }
  .ax-illus-portalRoute {
    min-height: 205px;
    padding: 20px;
  }
  .ax-illus-portalRoute h4 {
    margin-top: 22px !important;
  }
  .ax-illus-portalReferral {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 18px 20px;
  }
  .ax-illus-portalProof > a {
    padding: 7px;
  }
  .ax-illus-portalProof img {
    max-height: none;
  }
  .ax-illus-portalProof figcaption {
    padding-top: 15px;
    font-size: 11px;
    gap: 8px;
  }
  .ax-illus-portalProof figcaption strong {
    font-size: 14px;
  }
  .ax-illus-portalProof figcaption .ax-illus-link {
    font-size: 12px;
  }
}
/* Colour pins: the illustration sits on the navy portal section. */
.ax-illus-portalProof .ax-illus-portalMain,
.ax-illus-portalProof .ax-illus-portalMain :is(h3, h4, p, strong, span, li) {
  color: var(--ink);
}
.ax-illus-portalProof .ax-illus-portalIntro h3 em { color: #8a6b36; }
.ax-illus-portalProof .ax-illus-portalIntro > span,
.ax-illus-portalProof .ax-illus-portalRoute p,
.ax-illus-portalProof .ax-illus-portalReferral p { color: var(--soft-ink); }
.ax-illus-portalProof figcaption,
.ax-illus-portalProof figcaption strong { color: rgba(251, 250, 245, 0.86); }
.ax-illus-portalProof figcaption .ax-illus-link {
  color: #e4c98e;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
