:root {
  --ink: #0b0f14;
  --ink-raised: #121820;
  --gold: #d4af7c;
  --gold-deep: #8a642f;
  --paper: #fffdf9;
  --cream: #f4eee4;
  --stone: #5c6269;
  --line: rgba(11, 15, 20, 0.16);
  --line-dark: rgba(255, 255, 255, 0.16);
  /* Form error text and borders: at least 4.5:1 on the page and card
     backgrounds of each theme (the dark theme block sets its own value). */
  --error: #b3261e;
  --max: 1280px;
  --site-ribbon-height: 58px;
  --read: 68ch;
  --gutter: clamp(1.2rem, 4vw, 4rem);
  --main-start-gap: clamp(1.5rem, 2vw, 2rem);
  --section-space: clamp(3.5rem, 6vw, 5.5rem);

  /* Design foundation (docs/operations/design-foundation.md). One named
     value per role, shared by both themes; the living reference is
     /styleguide/. Colours stay in the tokens above and in the theme blocks. */
  /* Typefaces: headings and article reading in Georgia, everything else in
     Inter; fixed-width only for codes people copy, such as an invitation
     code. tests/unit/design-foundation.test.mjs guards the list. */
  --font-display: Georgia, "Times New Roman", serif;
  --font-text: Inter, "Segoe UI", Arial, sans-serif;
  --font-code: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  /* Page title: 64px on a laptop, 72px for articles; one fluid size each. */
  --title-size: clamp(2.2rem, 5vw, 4rem);
  --title-line: 0.93;
  --title-tracking: -0.055em;
  --article-title-size: clamp(2.5rem, 5.3vw, 4.5rem);
  --article-title-line: 1.02;
  --article-title-tracking: -0.01em;
  /* Section headings: 38, 26 and 20px on a laptop. */
  --h2-size: clamp(1.75rem, 4vw, 2.375rem);
  --h2-line: 1.1;
  --h2-tracking: -0.02em;
  --h3-size: clamp(1.375rem, 3vw, 1.625rem);
  --h3-line: 1.2;
  --h3-tracking: -0.01em;
  --h4-size: 1.25rem;
  --h4-line: 1.2;
  /* Running text. */
  --lead-size: clamp(1.05rem, 1.7vw, 1.32rem);
  --lead-line: 1.65;
  --body-size: 1rem;
  --body-line: 1.6;
  --article-body-size: 1.1875rem;
  --article-body-line: 1.72;
  --note-size: 0.92rem;
  --note-line: 1.55;
  --eyebrow-size: 0.72rem;
  --eyebrow-weight: 800;
  --eyebrow-tracking: 0.16em;
  /* Controls. */
  --button-height: 48px;
  --button-pad: 0.8rem 1.15rem;
  --button-size: 0.74rem;
  --button-weight: 800;
  --button-tracking: 0.09em;
  --field-height: 50px;
  --field-pad: 0.7rem 0.8rem;
  /* Corners and card spacing. */
  --radius-button: 0;
  --radius-field: 6px;
  --radius-card: 6px;
  --card-pad: 1.5rem;
  --card-pad-roomy: 2rem;
  /* Links: the one gold of the active theme. */
  --link: var(--gold-deep);

  font-family: var(--font-text);
  color: var(--ink);
  background: var(--paper);
  line-height: var(--body-line);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
body {
  margin: 0;
  background: var(--paper);
}
a {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
blockquote,
figure {
  margin-block-start: 0;
}
h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
}
h1 {
  max-width: 11ch;
  font-size: clamp(3.4rem, 7.6vw, 7.25rem);
  line-height: 0.93;
  letter-spacing: -0.055em;
}
h2 {
  max-width: 18ch;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.045em;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.2;
}
.wrap {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.skip {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  background: var(--gold);
  color: var(--ink);
  padding: 0.75rem 1rem;
  font-weight: 700;
}
.skip:focus {
  top: 1rem;
}
.header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--ink);
  color: #fff;
  border-bottom: 1px solid var(--line-dark);
}
.header-bar {
  width: 100%;
  max-width: none;
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding-inline: clamp(1rem, 2vw, 2.25rem);
}
.header-tools,
.header-actions {
  min-width: 0;
  display: flex;
  align-items: center;
}
.header-tools {
  justify-self: start;
  gap: 0.65rem;
}
.header-actions {
  justify-self: end;
  gap: 0.75rem;
}
.header-shortcuts {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.6vw, 1.7rem);
  justify-self: end;
}
.header-shortcuts a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: #d7dadd;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: none;
}
.header-shortcuts a:hover,
.header-shortcuts a:focus-visible {
  color: var(--gold);
}
.header-shortcuts a[aria-current="page"] {
  position: relative;
  color: #f0d8b5;
}
.header-shortcuts a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.26rem;
  left: 0;
  height: 1px;
  background: var(--gold);
  opacity: 0.72;
}
.brand {
  width: min(235px, 52vw);
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.header .brand {
  display: flex;
  align-items: center;
  min-height: 24px;
  justify-self: center;
}
@media (min-width: 1101px) {
  .header-bar {
    position: relative;
    display: flex;
  }
  /* The logo starts at the page container's left edge (.wrap: --max wide
     with a --gutter inside) once the screen is wide enough to clear the
     menu and search buttons; the quick links end at its right edge. */
  .header .brand {
    position: absolute;
    left: max(calc((100vw - var(--max)) / 2 + var(--gutter)), 9rem);
  }
  .header-shortcuts {
    position: absolute;
    right: max(calc((100vw - var(--max)) / 2 + var(--gutter)), 12.5rem);
  }
  .header-actions {
    margin-left: auto;
  }
}
.header-search,
.menu-toggle,
.menu-close {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-dark);
  color: #fff;
}
.header-search span {
  position: relative;
  width: 14px;
  height: 14px;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.header-search span::after {
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 6px;
  height: 1px;
  background: currentColor;
  content: "";
  transform: rotate(45deg);
  transform-origin: left center;
}
.header-sign-in {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.header-sign-in:hover,
.header-sign-in:focus-visible {
  color: var(--gold);
}
/* Slim outline button beside the "Sign in" line (Subscribe, Upgrade). */
.header-subscribe {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0.28rem 0.7rem;
  border: 1px solid rgba(212, 175, 124, 0.7);
  border-radius: 2px;
  background: rgba(212, 175, 124, 0.08);
  color: var(--gold);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: none;
  white-space: nowrap;
}
.header-subscribe:disabled {
  cursor: not-allowed;
  opacity: 1;
}
/* member.js hides Subscribe for Standard members; keep display from
   overriding the hidden attribute. */
.header-subscribe[hidden] {
  display: none;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.brand img {
  width: 100%;
  height: auto;
}
.menu-toggle,
.menu-close {
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}
.menu-toggle {
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  width: 19px;
  height: 1px;
  background: currentColor;
}
.menu-close {
  color: var(--gold);
  font-size: 1.8rem;
  line-height: 1;
}
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.62);
}
.nav-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 100;
  width: min(22rem, 88vw);
  display: flex;
  flex-direction: column;
  padding: 1rem clamp(1.25rem, 4vw, 2rem) 2rem;
  border-right: 1px solid rgba(212, 175, 124, 0.4);
  background: #17171a;
  color: #fff;
  transform: translateX(-100%);
  transition:
    transform 220ms ease,
    visibility 0s linear 220ms;
  visibility: hidden;
  overflow-y: auto;
}
.nav-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  transition-delay: 0s;
}
.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-bottom: 0.5rem;
}
.nav-drawer-spacer {
  min-height: 1rem;
  flex: 0 0 1rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.18);
}
.nav-drawer nav {
  display: grid;
  gap: 0.15rem;
  margin-top: 0.65rem;
}
.nav-drawer .nav-drawer-primary {
  gap: 0.4rem;
  margin-top: 1rem;
  padding: 0.7rem 0 1.15rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.18);
}
.nav-drawer nav a,
.nav-drawer-placeholder {
  padding: 0.5rem 0;
  text-decoration: none;
  font-family: var(--font-text);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.35;
  text-transform: none;
}
.nav-drawer nav [hidden] {
  display: none;
}
.nav-drawer-placeholder {
  display: block;
  color: #9fa6ad;
  cursor: default;
}
.nav-drawer nav a:hover,
.nav-drawer nav a:focus-visible {
  color: var(--gold);
}
.nav-drawer .nav-drawer-primary a[aria-current="page"] {
  color: #f0d8b5;
  font-weight: 600;
}
.nav-drawer .nav-drawer-information {
  gap: 0.3rem;
  margin-top: 0.65rem;
}
.nav-drawer .nav-drawer-information a,
.nav-drawer .nav-drawer-information .nav-drawer-placeholder {
  padding: 0.58rem 0;
  font-size: 1.05rem;
  font-weight: 400;
}
.nav-utilities {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.8rem;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.18);
}
.nav-utilities > a,
.subscription-status strong {
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: none;
}
.nav-utilities > a {
  min-height: 36px;
  display: flex;
  align-items: center;
}
.nav-utilities > a:hover,
.nav-utilities > a:focus-visible {
  color: var(--gold);
}
.subscription-status {
  display: grid;
  gap: 0.2rem;
  padding-top: 0.25rem;
}
.subscription-status span {
  color: #9fa6ad;
  font-size: 0.78rem;
  line-height: 1.4;
}
.nav-social-section {
  margin-top: 0.35rem;
  padding: 0.9rem 0 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.18);
}
.nav-social-section p {
  margin: 0 0 0.8rem;
  font-size: 1rem;
  font-weight: 500;
}
.nav-socials {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.nav-social-placeholder,
.nav-social-link {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 0.35rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  cursor: default;
  user-select: none;
}
.nav-social-link {
  text-decoration: none;
  cursor: pointer;
}
.nav-social-link:hover,
.nav-social-link:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}
.nav-social-spotify,
.nav-social-podcast,
.nav-social-whatsapp {
  border-radius: 50%;
}
.nav-social-whatsapp {
  font-size: 0.56rem;
  letter-spacing: -0.04em;
}
.nav-social-youtube {
  width: 34px;
  border-radius: 0.65rem;
  font-size: 0.64rem;
}
.nav-drawer .nav-drawer-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-top: 1rem;
}
.nav-drawer .nav-drawer-footer a {
  padding: 0;
  border: 0;
  color: #c9cdd1;
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.4;
}
.nav-drawer-brand {
  width: min(235px, 72%);
  display: block;
  margin-top: 1.8rem;
}
.nav-drawer-brand img {
  width: 100%;
  height: auto;
}
@media (max-height: 900px) {
  .nav-drawer {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
  .nav-drawer-head {
    padding-bottom: 0.15rem;
  }
  .nav-drawer .nav-drawer-primary {
    gap: 0.2rem;
    margin-top: 0.35rem;
    padding: 0.35rem 0 0.6rem;
  }
  .nav-drawer .nav-drawer-information {
    gap: 0.1rem;
    margin-top: 0.25rem;
  }
  .nav-drawer .nav-drawer-information a,
  .nav-drawer .nav-drawer-information .nav-drawer-placeholder {
    padding: 0.35rem 0;
  }
  .nav-social-section {
    padding-top: 0.65rem;
  }
  .nav-drawer-brand {
    margin-top: 1rem;
  }
}
@media (max-height: 700px) {
  .nav-drawer .nav-drawer-primary a {
    padding: 0.3rem 0;
  }
  .nav-drawer {
    padding-block: 0.4rem;
  }
  .nav-drawer-head .menu-close {
    width: 34px;
    height: 34px;
  }
  .nav-drawer .nav-drawer-primary {
    gap: 0;
    margin-top: 0;
    padding: 0.15rem 0 0.35rem;
  }
  .nav-drawer-spacer {
    min-height: 0.5rem;
    flex: 0 0 0.5rem;
  }
  .nav-drawer .nav-drawer-information {
    gap: 0;
    margin-top: 0.1rem;
  }
  .nav-drawer .nav-drawer-information a,
  .nav-drawer .nav-drawer-information .nav-drawer-placeholder {
    padding: 0.3rem 0;
    font-size: 0.82rem;
    line-height: 1.15;
  }
  .nav-social-section {
    margin-top: 0.2rem;
    padding-top: 0.35rem;
  }
  .nav-social-placeholder,
  .nav-social-link {
    width: 26px;
    height: 26px;
  }
  .nav-social-youtube {
    width: 30px;
  }
  .nav-drawer-brand {
    width: min(190px, 65%);
    margin-top: 0.35rem;
  }
}
.drawer-open {
  overflow: hidden;
}
.community-route-card {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem;
  color: var(--ink);
  text-decoration: none;
}
.community-route-card:hover,
.community-route-card:focus-visible {
  background: var(--cream);
  color: var(--ink);
}
.community-route-card span,
.community-route-card small {
  display: block;
}
.community-route-card small {
  margin-top: 0.2rem;
  color: var(--stone);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.community-route-card em {
  color: var(--gold-deep);
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.search-page h1 {
  max-width: 14ch;
}
.search-controls {
  max-width: 48rem;
  margin-top: 2rem;
}
.search-controls label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
/* The search field is the standard text field. */
.search-controls input {
  width: 100%;
  min-height: var(--field-height);
  border: 1px solid var(--line);
  border-radius: var(--radius-field);
  padding: var(--field-pad);
  background: var(--paper);
  color: inherit;
  font: inherit;
  font-weight: 400;
}
.search-controls input:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
}
.search-controls [role="status"] {
  margin: 0.65rem 0 0;
  color: var(--stone);
  font-size: 0.85rem;
}
.search-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.search-result {
  display: grid;
  align-content: start;
  gap: 0.35rem;
  min-height: 8rem;
  padding: var(--card-pad);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  text-decoration: none;
}
.search-result[hidden] {
  display: none;
}
.search-result:hover,
.search-result:focus-visible {
  background: var(--cream);
}
.search-result strong {
  font-family: var(--font-display);
  font-size: var(--h4-size);
  font-weight: 400;
  line-height: var(--h4-line);
}
/* The whole tile is the link; its title reads as one on hover and focus. */
.search-result:hover strong,
.search-result:focus-visible strong {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
.search-result span {
  color: var(--stone);
  font-size: 0.9rem;
}
.search-empty {
  margin-top: 1.5rem;
  padding: 1rem;
  border-left: 4px solid var(--gold);
  background: var(--cream);
}
.eyebrow,
.status,
.step-number,
.availability {
  margin-bottom: 1rem;
  color: var(--gold-deep);
  font-size: var(--eyebrow-size);
  font-weight: var(--eyebrow-weight);
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
}
.lede {
  max-width: 60ch;
  font-size: var(--lead-size);
  line-height: var(--lead-line);
}
.actions,
.advisor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.button {
  min-height: var(--button-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: var(--radius-button);
  padding: var(--button-pad);
  background: var(--gold);
  color: var(--ink);
  font: inherit;
  font-size: var(--button-size);
  font-weight: var(--button-weight);
  letter-spacing: var(--button-tracking);
  text-decoration: none;
  text-transform: uppercase;
}
.button-secondary {
  border-color: currentColor;
  background: transparent;
  color: inherit;
}
/* Pointer over a button, site-wide. .is-hover pins the state on
   /styleguide/ so it can be seen at rest. */
.button:not(:disabled):hover,
.button.is-hover {
  border-color: color-mix(in srgb, var(--gold) 82%, #fff);
  background: color-mix(in srgb, var(--gold) 82%, #fff);
}
.button-secondary:not(:disabled):hover,
.button-secondary.is-hover {
  border-color: var(--gold-deep);
  background: color-mix(in srgb, var(--gold) 14%, transparent);
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

/* Shared design classes (docs/operations/design-foundation.md), built only
   on the tokens in :root. .eyebrow, .lede, .button and .button-secondary
   above are the shared classes for those roles; the classes below cover the
   roles that had no shared class yet. Each one sets every property the
   element rules for h1, h2 and h3 set, so it reads the same on any tag. */
.nc-title,
.nc-title-article,
.nc-h2,
.nc-h3,
.nc-h4 {
  max-width: none;
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 400;
}
.nc-title {
  max-width: 18ch;
  margin-bottom: 0.67em;
  font-size: var(--title-size);
  line-height: var(--title-line);
  letter-spacing: var(--title-tracking);
}
.nc-title-article {
  max-width: 56.25rem;
  font-size: var(--article-title-size);
  line-height: var(--article-title-line);
  letter-spacing: var(--article-title-tracking);
}
.nc-h2 {
  font-size: var(--h2-size);
  line-height: var(--h2-line);
  letter-spacing: var(--h2-tracking);
}
.nc-h3 {
  font-size: var(--h3-size);
  line-height: var(--h3-line);
  letter-spacing: var(--h3-tracking);
}
.nc-h4 {
  font-size: var(--h4-size);
  line-height: var(--h4-line);
  letter-spacing: 0;
}
.nc-body {
  font-family: var(--font-text);
  font-size: var(--body-size);
  line-height: var(--body-line);
}
.nc-article-body {
  font-family: var(--font-display);
  font-size: var(--article-body-size);
  line-height: var(--article-body-line);
}
.nc-note {
  color: var(--stone);
  font-size: var(--note-size);
  line-height: var(--note-line);
}
.nc-link {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
.nc-link:hover {
  text-decoration-thickness: 2px;
}
.nc-field {
  width: 100%;
  min-height: var(--field-height);
  padding: var(--field-pad);
  border: 1px solid var(--line);
  border-radius: var(--radius-field);
  background: var(--paper);
  color: inherit;
  font: inherit;
  font-weight: 400;
}
textarea.nc-field {
  min-height: 8rem;
  resize: vertical;
}
.nc-field:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
}
.nc-field[aria-invalid="true"] {
  border-color: #c0392b;
}
.nc-card {
  padding: var(--card-pad);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--cream);
}
.nc-card-roomy {
  padding: var(--card-pad-roomy);
}

.pulse-reader {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #07101c;
  color: #f3eadf;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition:
    opacity 0.24s ease,
    transform 0.24s ease;
}
.pulse-reader.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
body.pulse-reader-open {
  overflow: hidden;
}
.pulse-reader-head {
  min-height: 64px;
  display: grid;
  grid-template-columns: 64px 1fr 160px;
  align-items: center;
  padding: 0 24px;
  border-bottom: 1px solid rgba(212, 175, 124, 0.22);
  background: #080f19;
}
.pulse-reader-head button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(212, 175, 124, 0.35);
  background: transparent;
  color: #f3eadf;
  font-size: 1.6rem;
  cursor: pointer;
}
.pulse-reader-head img {
  width: 176px;
  justify-self: center;
}
.pulse-reader-head > span {
  color: #d4af7c;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-align: right;
  text-transform: uppercase;
}
.pulse-reader-stage {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 18px 24px 26px;
  background-image:
    linear-gradient(rgba(91, 132, 166, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 132, 166, 0.06) 1px, transparent 1px),
    radial-gradient(
      circle at 50% 40%,
      rgba(39, 77, 105, 0.23),
      transparent 52%
    ),
    linear-gradient(135deg, #081321, #050b13);
  background-size:
    24px 24px,
    24px 24px,
    auto,
    auto;
}
.pulse-reader-layout {
  min-height: 650px;
  display: grid;
  grid-template-columns: 150px minmax(430px, 468px) minmax(220px, 244px);
  align-items: center;
  justify-content: center;
  gap: 0;
}
.pulse-constellation {
  position: relative;
  width: 150px;
  height: 590px;
  transform: translateX(32px);
}
.pulse-constellation svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.pulse-constellation path {
  fill: none;
  stroke: #d4af7c;
  stroke-width: 0.8;
  stroke-dasharray: 2 8;
  opacity: 0.42;
  animation: pulse-star-flow 4.5s linear infinite;
}
.pulse-stars {
  position: absolute;
  inset: 0;
}
.pulse-stars i {
  position: absolute;
  width: var(--size);
  height: var(--size);
  left: var(--x);
  top: var(--y);
  border-radius: 50%;
  background: #fff1cf;
  box-shadow: 0 0 4px rgba(212, 175, 124, 0.35);
  animation: pulse-star 4.8s ease-in-out infinite;
  animation-delay: var(--delay);
}
.pulse-stars i:nth-child(1) {
  --x: 12%;
  --y: 18%;
  --size: 2.45px;
  --delay: -0.45s;
}
.pulse-stars i:nth-child(2) {
  --x: 35%;
  --y: 8%;
  --size: 2.9px;
  --delay: -0.9s;
}
.pulse-stars i:nth-child(3) {
  --x: 28%;
  --y: 26%;
  --size: 2px;
  --delay: -1.35s;
}
.pulse-stars i:nth-child(4) {
  --x: 46%;
  --y: 33%;
  --size: 2.45px;
  --delay: -1.8s;
}
.pulse-stars i:nth-child(5) {
  --x: 17%;
  --y: 44%;
  --size: 2.9px;
  --delay: -2.25s;
}
.pulse-stars i:nth-child(6) {
  --x: 34%;
  --y: 49%;
  --size: 2px;
  --delay: -2.7s;
}
.pulse-stars i:nth-child(7) {
  --x: 52%;
  --y: 54%;
  --size: 2.45px;
  --delay: 0s;
}
.pulse-stars i:nth-child(8) {
  --x: 44%;
  --y: 61%;
  --size: 2.9px;
  --delay: -0.45s;
}
.pulse-stars i:nth-child(9) {
  --x: 25%;
  --y: 68%;
  --size: 2px;
  --delay: -0.9s;
}
.pulse-stars i:nth-child(10) {
  --x: 51%;
  --y: 74%;
  --size: 2.45px;
  --delay: -1.35s;
}
.pulse-stars i:nth-child(11) {
  --x: 8%;
  --y: 79%;
  --size: 2.9px;
  --delay: -1.8s;
}
.pulse-stars i:nth-child(12) {
  --x: 38%;
  --y: 84%;
  --size: 2px;
  --delay: -2.25s;
}
.pulse-stars i:nth-child(13) {
  --x: 57%;
  --y: 87%;
  --size: 2.45px;
  --delay: -2.7s;
}
.pulse-stars i:nth-child(14) {
  --x: 16%;
  --y: 98%;
  --size: 2.9px;
  --delay: 0s;
}
.pulse-stars i:nth-child(15) {
  --x: 36%;
  --y: 94%;
  --size: 2px;
  --delay: -0.45s;
}
.pulse-stars i:nth-child(16) {
  --x: 56%;
  --y: 97%;
  --size: 2.45px;
  --delay: -0.9s;
}
.pulse-stars i:nth-child(17) {
  --x: 72%;
  --y: 93%;
  --size: 2.9px;
  --delay: -1.35s;
}
.pulse-stars i:nth-child(18) {
  --x: 68%;
  --y: 18%;
  --size: 2px;
  --delay: -1.8s;
}
.pulse-stars i:nth-child(19) {
  --x: 80%;
  --y: 22%;
  --size: 2.45px;
  --delay: -2.25s;
}
.pulse-stars i:nth-child(20) {
  --x: 90%;
  --y: 28%;
  --size: 2.9px;
  --delay: -2.7s;
}
.pulse-stars i:nth-child(21) {
  --x: 72%;
  --y: 38%;
  --size: 2px;
  --delay: 0s;
}
.pulse-stars i:nth-child(22) {
  --x: 84%;
  --y: 44%;
  --size: 2.45px;
  --delay: -0.45s;
}
.pulse-stars i:nth-child(23) {
  --x: 93%;
  --y: 49%;
  --size: 2.9px;
  --delay: -0.9s;
}
.pulse-stars i:nth-child(24) {
  --x: 70%;
  --y: 60%;
  --size: 2px;
  --delay: -1.35s;
}
.pulse-stars i:nth-child(25) {
  --x: 82%;
  --y: 65%;
  --size: 2.45px;
  --delay: -1.8s;
}
.pulse-stars i:nth-child(26) {
  --x: 92%;
  --y: 71%;
  --size: 2.9px;
  --delay: -2.25s;
}
.pulse-stars i:nth-child(27) {
  --x: 82%;
  --y: 84%;
  --size: 2px;
  --delay: -2.7s;
}
.pulse-reader-folio {
  position: relative;
  width: 454px;
  height: 632px;
  transform: perspective(1100px) rotate(-3.2deg);
  filter: drop-shadow(0 30px 38px rgba(0, 0, 0, 0.56));
}
.pulse-reader-folio > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  filter: brightness(1.06) saturate(0.93);
}
.pulse-reader-copy {
  position: absolute;
  z-index: 2;
  inset: 11% 12% 10% 13%;
  display: flex;
  flex-direction: column;
  padding: 16px 14px;
  color: #28190f;
  background: linear-gradient(
    100deg,
    rgba(245, 218, 173, 0.55),
    rgba(245, 218, 173, 0.25)
  );
  backdrop-filter: blur(0.9px);
}
.pulse-reader-kicker {
  margin: 0 0 16px;
  color: #7b3f24;
  font-family: var(--font-text);
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.pulse-reader-copy h2 {
  margin: 0 0 20px;
  color: #21150e;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.04;
}
.pulse-reader-copy > p[data-pulse-reader-text] {
  margin: 0;
  color: #2f1c13;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
}
.pulse-reader-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: auto 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(73, 39, 20, 0.35);
  font-family: var(--font-text);
  font-size: 0.58rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.pulse-reader-scan {
  position: absolute;
  z-index: 4;
  left: 7%;
  right: 6%;
  top: 8%;
  height: 2px;
  opacity: 0;
  background: linear-gradient(
    90deg,
    transparent,
    #bdeaff 18%,
    #fff 52%,
    #bdeaff 82%,
    transparent
  );
  box-shadow:
    0 0 16px rgba(170, 226, 255, 0.95),
    0 0 42px rgba(170, 226, 255, 0.62);
}
.pulse-reader.is-open .pulse-reader-scan {
  animation: pulse-reader-sweep 12s cubic-bezier(0.37, 0, 0.63, 1) infinite both;
}
.pulse-reader.is-rescanning .pulse-reader-scan {
  animation: pulse-reader-rescan 1.6s cubic-bezier(0.37, 0, 0.63, 1) 1 both;
}
.pulse-reader-insights {
  position: relative;
  width: 238px;
  align-self: start;
  margin-top: 84px;
  transform: translateX(-6px);
}
.pulse-reader-insights::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 45px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(
    transparent,
    rgba(189, 234, 255, 0.55),
    rgba(212, 175, 124, 0.5),
    transparent
  );
}
.pulse-reader-insights h3 {
  margin: 0 0 12px;
  color: #d4af7c;
  font-family: var(--font-text);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.pulse-reader-insights button {
  width: 100%;
  min-height: 70px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: start;
  margin: 0 0 7px;
  padding: 10px;
  border: 1px solid rgba(212, 175, 124, 0.3);
  background: rgba(9, 17, 31, 0.92);
  color: #d9e0e5;
  text-align: left;
  cursor: pointer;
}
.pulse-reader-insights button small {
  color: #c49b61;
  font-family: var(--font-text);
  font-size: 0.58rem;
  font-weight: 500;
  line-height: 1;
}
.pulse-reader-insights button span {
  font-family: var(--font-display);
  font-size: 0.93rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.15;
}
.pulse-reader-insights button.is-active {
  transform: translateX(3px);
  border-color: rgba(212, 175, 124, 0.75);
  background: linear-gradient(
    90deg,
    rgba(34, 55, 78, 0.98),
    rgba(14, 26, 46, 0.96)
  );
  color: #fff4e6;
  box-shadow:
    inset 3px 0 0 #d4af7c,
    0 0 18px rgba(174, 227, 255, 0.2);
}
@keyframes pulse-star {
  0%,
  100% {
    opacity: 0.18;
    transform: scale(0.88);
  }
  50% {
    opacity: 0.56;
    transform: scale(1.08);
  }
}
@keyframes pulse-star-flow {
  to {
    stroke-dashoffset: -40;
  }
}
@keyframes pulse-page-turn {
  0%,
  100% {
    transform: perspective(1100px) rotate(-2.5deg) rotateY(0);
  }
  48% {
    transform: perspective(1100px) translateX(-5px) rotate(-2.5deg)
      rotateY(-5deg);
  }
}
@keyframes pulse-reader-sweep {
  0%,
  21% {
    top: 8%;
    opacity: 0;
  }
  24% {
    top: 8%;
    opacity: 1;
  }
  74% {
    top: 92%;
    opacity: 1;
  }
  78%,
  100% {
    top: 92%;
    opacity: 0;
  }
}
@keyframes pulse-reader-rescan {
  0% {
    top: 8%;
    opacity: 0;
  }
  8% {
    top: 8%;
    opacity: 1;
  }
  92% {
    top: 92%;
    opacity: 1;
  }
  100% {
    top: 92%;
    opacity: 0;
  }
}
@media (max-width: 840px) {
  .pulse-reader-head {
    grid-template-columns: 52px 1fr 52px;
    padding: 0 12px;
  }
  .pulse-reader-head > span {
    font-size: 0;
  }
  .pulse-reader-layout {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
    padding: 20px 0;
  }
  .pulse-constellation {
    display: none;
  }
  .pulse-reader-folio {
    width: min(360px, 90vw);
    height: min(540px, 135vw);
    justify-self: center;
  }
  .pulse-reader-insights {
    width: min(360px, 90vw);
    margin-top: 0;
    transform: none;
    justify-self: center;
  }
  .pulse-reader-insights::before {
    display: none;
  }
  .pulse-reader-insights button {
    min-height: 50px;
  }
}

@media (min-width: 621px) and (max-height: 700px) {
  .home-page,
  .primary-destination-page {
    --main-start-gap: 1rem;
  }
  .approach-page .journey {
    margin-top: 0.4rem;
  }
  .approach-page .journey-step {
    padding: 0.6rem;
  }
  .approach-page .journey-step p:last-child {
    line-height: 1.3;
  }
  .approach-page .approach-section .actions {
    margin-top: 0.4rem;
  }
  .advisor-page .advisor-actions {
    margin-top: 0.5rem;
  }
}

.pulse-card {
  display: grid;
  background: var(--cream);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 1.1rem 1.1rem 0 rgba(212, 175, 124, 0.18);
}
.pulse-card figure {
  position: relative;
  margin: 0;
  overflow: hidden;
}
.pulse-card figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 350ms ease;
}
.pulse-card:hover figure img {
  transform: scale(1.025);
}
.pulse-card figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 85%;
  margin: 0;
  padding: 0.55rem 0.7rem;
  background: rgba(11, 15, 20, 0.88);
  color: #fff;
  font-size: 0.67rem;
}
.pulse-copy,
.pulse-card-empty {
  padding: clamp(1.4rem, 3vw, 2.4rem);
}
.pulse-copy h2,
.pulse-card-empty h2 {
  max-width: 15ch;
  font-size: clamp(2rem, 4vw, 3.2rem);
}
.pulse-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--stone);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.home-section {
  padding: var(--section-space) 0;
}
.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(3rem, 9vw, 9rem);
}
.home-intro {
  background: var(--cream);
}
.intro-copy > p {
  max-width: var(--read);
}
.intro-copy > p + p {
  margin-top: 1.5rem;
}
.intro-copy > p:nth-child(2) {
  font-weight: 800;
}
.mission {
  margin-top: 2.5rem !important;
  border-left: 4px solid var(--gold);
  padding: 1.2rem 1.4rem;
  background: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}
.gold-bridge-word {
  white-space: nowrap;
}
.gold-bridge {
  display: inline-flex;
  position: relative;
  color: var(--gold-deep);
  padding-inline: 0.12em;
}
.gold-bridge::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.02em;
  height: 1px;
  background: currentColor;
}
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.solution-card {
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--paper);
}
.solution-card h3 {
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  font-weight: 400;
}

.solutions-page .solution-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  margin-top: clamp(0.75rem, 2vh, 1.25rem);
}
.solutions-page .solution-card {
  padding: clamp(1rem, 2vw, 1.5rem);
}
.solutions-page .solution-card h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
}
.solutions-page .solution-card > p:last-child {
  font-size: clamp(0.78rem, 1.15vw, 0.95rem);
  line-height: 1.48;
}
.solutions-page .solution-card .status {
  margin-bottom: 0.55rem;
}
@media (min-width: 621px) and (max-height: 700px) {
  .solutions-page .solution-card {
    padding-block: 0.7rem;
  }
}
.approach-page .journey {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(0.8rem, 2vh, 1.25rem);
}
.approach-page .journey-step {
  min-height: 0;
  padding: clamp(0.8rem, 1.5vw, 1.2rem);
}
.approach-page .journey-step h3 {
  margin-bottom: 0.45rem;
  line-height: 1.15;
}
.approach-page .journey-step p:last-child {
  font-size: clamp(0.78rem, 1.1vw, 0.92rem);
  line-height: 1.45;
}
.approach-page .approach-section .actions {
  margin-top: clamp(0.75rem, 2vh, 1.25rem);
}
.community-page .community-route-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(0.8rem, 2vh, 1.25rem) 0 0;
}
.community-page .community-route-card {
  min-height: 0;
  padding: clamp(0.85rem, 1.5vw, 1.15rem);
}
.community-page .community-route-card small {
  font-size: clamp(0.72rem, 1vw, 0.82rem);
  line-height: 1.4;
}
.community-page .people-section > .wrap > .lede {
  margin-bottom: 0;
  font-size: clamp(0.9rem, 1.35vw, 1.08rem);
  line-height: 1.5;
}
.pulse-page .pulse-landing > .wrap > .lede {
  margin-bottom: 0;
}
.advisor-page .home-intro .prose {
  max-width: 64rem;
}
.advisor-page .home-intro .lede {
  margin-bottom: 0.75rem;
  font-size: clamp(0.95rem, 1.4vw, 1.12rem);
  line-height: 1.5;
}
.advisor-page .advisor-actions {
  margin-top: 1rem;
}
.pulse-page .pulse-landing > .wrap {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto auto minmax(0, 1fr);
  column-gap: clamp(1rem, 2.5vw, 2rem);
  align-content: start;
}
.pulse-page .pulse-landing > .wrap > .eyebrow,
.pulse-page .pulse-landing > .wrap > h1,
.pulse-page .pulse-landing > .wrap > .lede {
  grid-column: 1 / -1;
}

.pulse-page .pulse-card .pulse-copy {
  padding: clamp(0.85rem, 1.5vw, 1.2rem);
}
.pulse-page .pulse-card .pulse-copy h2 {
  max-width: none;
  margin-bottom: 0.55rem;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.08;
}
.pulse-page .pulse-card .pulse-copy > p:not(.eyebrow):not(.pulse-meta) {
  font-size: clamp(0.75rem, 1vw, 0.86rem);
  line-height: 1.42;
}
.pulse-page .pulse-meta {
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  font-size: 0.62rem;
}
.pulse-page .pulse-recent h2 {
  margin-bottom: 0;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
}

.solutions-section,
.approach-section,
.people-section,
.pulse-landing {
  position: relative;
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(212, 175, 124, 0.13),
      transparent 26rem
    ),
    linear-gradient(
      135deg,
      rgba(138, 100, 47, 0.045) 0 1px,
      transparent 1px 30px
    ),
    var(--paper);
  color: var(--ink);
}
.approach-section .eyebrow,
.approach-section .step-number {
  color: var(--gold-deep);
}
.journey {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 3.5rem;
  border-top: 1px solid var(--line);
}
.journey-step {
  min-height: 17rem;
  padding: 1.5rem;
  border-right: 1px solid var(--line);
}
.journey-step:first-child {
  border-left: 1px solid var(--line);
}
.journey-step p:last-child {
  color: var(--stone);
}
.advisor-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  margin-top: 4rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--gold);
  color: var(--ink);
}
.advisor-panel h3 {
  max-width: 24ch;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
}
.advisor-panel .button {
  border-color: var(--ink);
}
.advisor-panel .availability {
  color: #4b3922;
}
.people-section .editorial-split > div {
  min-width: 0;
}
.people-section #community {
  grid-column: 1 / -1;
}
.community-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2rem;
  background: var(--line);
  border: 1px solid var(--line);
}
.community-list article {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 1rem;
  align-items: start;
  min-width: 0;
  min-height: 19rem;
  padding: 1.25rem;
  background: var(--paper);
}
.community-list .community-active {
  margin-inline: 0;
  border-left: 3px solid var(--gold);
  background: color-mix(in srgb, var(--gold) 9%, transparent);
}
.community-list .community-active h3 {
  color: var(--gold-deep);
}
.community-list .community-development {
  border-left: 1px solid var(--gold);
}
.community-list .community-future {
  opacity: 0.68;
}
.community-list h3,
.community-list p {
  margin-bottom: 0.35rem;
}
.community-intro {
  max-width: 42rem;
  margin-top: 1rem;
  color: var(--stone);
  font-size: 1.05rem;
}
.community-list .community-lead {
  margin-block: 0.35rem 0.55rem;
  color: var(--ink);
  font-weight: 750;
}
.community-closing {
  margin-top: 1.5rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.55;
}
.community-footnote {
  margin-top: 0.75rem;
  color: var(--stone);
}
.community-list span {
  align-self: end;
  color: var(--gold-deep);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
}
.route-section {
  min-height: min(70vh, 52rem);
}
.pulse-landing .lede {
  color: var(--stone);
}

.pulse-recent {
  margin-top: clamp(3rem, 6vw, 5rem);
}
.pulse-recent h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

/* Every site page shares the one page title (design foundation). */
.route-section h1 {
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: var(--title-size);
  line-height: var(--title-line);
  letter-spacing: var(--title-tracking);
}
.community-route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 3rem 0;
  background: var(--line);
  border: 1px solid var(--line);
}
.community-route-card,
.community-route-note {
  background: var(--paper);
  padding: 1.25rem;
}
.block,
.article-heading {
  padding: clamp(4rem, 9vw, 7rem) 0;
}
main > :where(.home-hero, .home-section, .block, .article-heading):first-child {
  padding-top: var(--main-start-gap);
}
/* Rich-text article sections form one reading flow, not landing-page bands.
   Headings use the compact article scale so sections read as one article. */
.article-page main > .block:has(> .prose) {
  padding-block: 0.5rem;
}
.article-page main > .article-heading + .block:has(> .prose),
.article-page main > .article-heading + [hidden] + .block:has(> .prose) {
  padding-top: 1.25rem;
}
.article-page main > .block:has(> .prose):last-of-type {
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.article-page main > .block > .prose h2 {
  max-width: none;
  margin: 0.875rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: var(--h2-size);
  font-weight: 400;
  line-height: var(--h2-line);
  letter-spacing: var(--h2-tracking);
}
.article-page main > .block > .prose h2::before {
  display: block;
  width: 2.5rem;
  height: 2px;
  margin-bottom: 0.5rem;
  background: var(--gold);
  content: "";
}
.article-page main > .block > .prose p + p {
  margin-top: 1rem;
}
/* Article sections written in Pulse Desk Drafting: a quote reads as a pull
   quote inside the reading column, lists and inline links keep its measure.
   The masthead, header and lower ribbon are untouched. */
.article-page main > .block:has(> .wrap > blockquote) {
  padding-block: 1.25rem;
}
.article-page main > .block > .wrap > blockquote {
  max-width: var(--read);
  margin: 0.5rem 0;
  padding: 0.35rem 0 0.35rem 1.25rem;
  border-left: 3px solid var(--gold);
  color: #9a7a45;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.3;
  text-wrap: balance;
}
.article-page main > .block > .wrap > blockquote footer {
  margin-top: 0.6rem;
  color: var(--stone);
  font-family: var(--font-text);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.article-page .prose .article-list {
  max-width: var(--read);
  margin: 1.25rem 0 0;
  padding-left: 1.5rem;
}
.article-page .prose h2 + .article-list {
  margin-top: 0;
}
.article-page .prose .article-list li + li {
  margin-top: 0.5rem;
}
.article-page .prose .article-list li::marker {
  color: var(--gold-deep);
}
/* Article tables (Drafting, 2026-11-01): the wrapper scrolls sideways on
   narrow screens so a wide table never widens the page. */
.article-page .prose .article-table-wrap {
  max-width: var(--read);
  margin: 0.875rem 0 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.article-page .prose h2 + .article-table-wrap {
  margin-top: 0.25rem;
}
.article-page .prose .article-table-wrap:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
}
.article-page .prose .article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.45;
}
.article-page .prose .article-table :is(th, td) {
  min-width: 7rem;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.article-page .prose .article-table th {
  background: var(--cream);
  font-family: var(--font-text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.article-page .prose .article-table tbody tr:last-child :is(th, td) {
  border-bottom: 0;
}
.theme-dark .article-table-wrap {
  border-color: var(--line-dark);
}
.theme-dark .article-table :is(th, td) {
  border-bottom-color: var(--line-dark);
  color: #e6e9ec;
}
.theme-dark .article-table th {
  background: var(--ink-raised);
  color: var(--gold);
}
/* Links in running text: the one gold of the theme, underlined. */
.article-page .prose a,
.compact-article-copy a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
:root[data-theme="dark"] .article-page main > .block > .wrap > blockquote {
  color: var(--gold);
}
.theme-dark {
  background: var(--ink);
  color: #fff;
}
.theme-dark p {
  color: #bcc3ca;
}
.theme-cream {
  background: var(--cream);
}
.theme-paper {
  background: var(--paper);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(16rem, 0.7fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
}
.hero-card,
.card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
.cards {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}
.columns-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card {
  text-decoration: none;
}
.card-link {
  display: block;
  margin-top: 1.2rem;
  color: var(--gold-deep);
  font-weight: 700;
}
.prose {
  max-width: calc(var(--read) + var(--gutter) * 2);
}
.prose p {
  max-width: var(--read);
}
.prose p + p {
  margin-top: 1.25rem;
}
blockquote {
  max-width: 28ch;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}
.callout {
  background: var(--gold);
}
/* Article blocks form a single reading surface. Landing-page blocks retain
   their original themes, and the saved article contents are unchanged. */
.article-page main > .block {
  padding-block: 0.4rem;
  background: var(--paper);
  color: #1d1b18;
}
.article-page main > .block:has(> .prose) {
  padding-block: 0.4rem;
}
.article-page main > .block > .wrap {
  width: min(100%, calc(42.5rem + 2 * var(--gutter)));
  max-width: none;
}
.article-page main > .block > .wrap :is(h2, p, li) {
  max-width: none;
}
.article-page main > .block > .wrap p,
.article-page main > .block > .wrap li {
  color: inherit;
  font-family: var(--font-display);
  font-size: var(--article-body-size);
  line-height: var(--article-body-line);
}
.article-page main > .block > .wrap:not(.prose) > h2 {
  max-width: none;
  margin: 1.5rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: var(--h2-size);
  font-weight: 400;
  line-height: var(--h2-line);
  letter-spacing: var(--h2-tracking);
}
/* Headings one level down, such as the titles in a set of cards. */
.article-page main > .block > .wrap h3 {
  font-family: var(--font-display);
  font-size: var(--h3-size);
  font-weight: 400;
  line-height: var(--h3-line);
  letter-spacing: var(--h3-tracking);
}
.article-page main > .block > .wrap > .cards {
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 1rem;
}
.article-page main > .block > .wrap > .cards .card {
  padding: 1rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: inherit;
}
.article-page main > .block > .wrap > .cards .card h3 {
  margin-bottom: 0.35rem;
}
.article-page main > .block.callout .button {
  margin-top: 0.25rem;
}
.article-page main > figure.block.media {
  width: min(100%, calc(42.5rem + 2 * var(--gutter)));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
:root[data-theme="dark"] .article-page main > .block {
  color: #f4eee4;
}
:root[data-theme="light"] .article-page main > .block {
  color: #1d1b18;
}
:root[data-theme="dark"] .article-page main > .block > .wrap > .cards .card {
  color: inherit;
}
/* The article-title role (docs/operations/design-foundation.md): 72px on a
   laptop, one fluid size. */
.article-heading h1 {
  max-width: 56.25rem;
  font-family: var(--font-display);
  font-size: var(--article-title-size);
  font-weight: 400;
  line-height: var(--article-title-line);
  letter-spacing: var(--article-title-tracking);
}
/* The link back to Pulse is a target at least 24px tall; the matching
   negative margin keeps the eyebrow line where it was. */
.article-heading .eyebrow a {
  display: inline-block;
  margin-block: -0.2rem;
  padding-block: 0.2rem;
  color: inherit;
}
.article-meta {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-dark);
  font-size: var(--eyebrow-size);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.compact-article-page .article-heading {
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(9.5rem, 14vw, 12.5rem);
  text-align: center;
  background-image: radial-gradient(
    ellipse 50% 90% at 50% 0%,
    rgba(201, 164, 106, 0.09),
    transparent 70%
  );
}
.compact-article-page .article-heading .wrap {
  max-width: 56rem;
  margin-inline: auto;
  text-align: center;
}
.compact-article-page .article-heading .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  margin: 0 auto;
  color: var(--gold);
}
.compact-article-page .article-heading .eyebrow::before,
.compact-article-page .article-heading .eyebrow::after {
  width: 1.75rem;
  height: 1px;
  background: var(--gold);
  content: "";
}
.compact-article-page .article-heading h1 {
  max-width: 56.25rem;
  margin: 1.5rem auto 0;
}
/* The shared lead size, in the reading typeface of the article. */
.compact-article-page .article-heading .lede {
  max-width: 42rem;
  margin: 1.6rem auto 0;
  color: #cfc8bc;
  font-family: var(--font-display);
  font-weight: 400;
}
.compact-article-page .article-meta {
  display: block;
  max-width: 42rem;
  margin: 2rem auto 0;
  padding-top: 0;
  border-top: 0;
  color: #a8a197;
  font-weight: 600;
  letter-spacing: var(--eyebrow-tracking);
  line-height: 1.5;
  text-transform: uppercase;
}
.compact-article-page .article-meta time {
  color: inherit;
}
.compact-article-body {
  padding: 0 0 clamp(2.5rem, 5vw, 4.5rem);
  background: var(--paper);
}
.compact-article-stack,
.compact-article-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: min(100%, calc(42.5rem + 2 * var(--gutter)));
  margin-inline: auto;
}
.article-artifacts {
  display: contents;
}
.article-artifacts figure,
.compact-article-stack > figure {
  margin: 0;
}
.article-artifact-feature {
  position: relative;
  z-index: 1;
  width: min(100%, 34rem);
  margin: -9.5rem auto 0 !important;
}
.article-artifact-feature img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 0.125rem;
  box-shadow: 0 1.875rem 3.75rem -1.55rem rgba(0, 0, 0, 0.55);
  object-fit: cover;
  object-position: 50% 0;
  filter: saturate(0.78) sepia(0.06) contrast(0.97);
}
.article-artifact-lead {
  height: clamp(14rem, 30vw, 22rem);
  background: var(--paper);
}
.article-artifact-lead .article-artifact-feature {
  margin: 0 auto -2.5rem !important;
}
.article-artifacts figcaption,
.compact-article-stack figcaption,
.article-artifact-feature figcaption {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 0.75rem;
  color: #4a453e;
  /* Match the compact article body copy font. */
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-transform: none;
}
.article-artifacts figcaption::before,
.compact-article-stack figcaption::before,
.article-artifact-feature figcaption::before {
  width: 1.125rem;
  height: 1px;
  background: var(--gold-deep);
  content: "";
}
.compact-article-copy {
  width: 100%;
  margin: 3.5rem 0 0;
  columns: auto;
  column-count: 1;
  column-gap: normal;
  column-rule: none;
}
.compact-article-copy p {
  break-inside: auto;
  margin: 0 0 1.15em;
  color: #1d1b18;
  font-family: var(--font-display);
  font-size: var(--article-body-size);
  line-height: var(--article-body-line);
}
.compact-article-copy > p:first-child::first-letter {
  float: left;
  margin: 0.08em 0.12em 0 0;
  padding: 0.08em 0.12em 0 0;
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-size: 5.2em;
  font-weight: 600;
  line-height: 0.8;
}
.article-invitation {
  padding: clamp(1.25rem, 2.5vw, 2rem) 0;
  border-top: 1px solid rgba(201, 162, 39, 0.4);
  background: #161a1d;
  color: #fff;
}
.article-invitation .wrap {
  display: flex;
  justify-content: flex-end;
}
.article-invitation p {
  margin: 0;
  font-size: 0.88rem;
}
.article-invitation a {
  margin-left: 0.35rem;
  color: var(--gold);
  font-weight: 700;
  text-underline-offset: 0.2em;
}
@media (max-width: 900px) {
  .compact-article-page .article-heading {
    padding: clamp(2.5rem, 8vw, 3.5rem) 0 clamp(7rem, 22vw, 9rem);
  }
  .compact-article-page .article-heading h1 {
    max-width: 12ch;
  }
  .article-artifact-feature {
    width: min(94%, 28rem);
    margin-top: -5.5rem !important;
  }
  .compact-article-copy {
    margin-top: 2.25rem;
  }
  .article-invitation .wrap {
    justify-content: flex-start;
  }
}
/* Article mockup parity (compact single-column article) */
.compact-article-page .article-heading {
  padding: clamp(3.5rem, 6.7vw, 6rem) 0 clamp(8rem, 13.9vw, 12.5rem);
}
.compact-article-page .article-heading h1 {
  margin-top: 1.625rem;
  color: #efe9df;
}
.compact-article-page .article-heading .lede {
  max-width: 42.5rem;
  margin-top: 1.75rem;
}
.compact-article-page .article-meta {
  margin-top: 2.125rem;
}
.compact-article-body {
  background: #faf7f0;
}
.article-artifact-feature {
  width: 100%;
  margin-top: -9.375rem !important;
}
.article-artifact-feature img {
  aspect-ratio: auto;
  height: clamp(16rem, 37.5vw, 33.75rem);
}
.compact-article-copy {
  margin-top: 4rem;
  color: #1d1b18;
  font-family: var(--font-display);
  font-size: var(--article-body-size);
  line-height: var(--article-body-line);
}
.compact-article-copy p {
  font-size: inherit;
}
.compact-article-copy > p:first-child::first-letter {
  padding: 0.5rem 0.75rem 0 0;
  margin: 0;
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 0.8;
}
.compact-article-copy h2 {
  max-width: none;
  margin: 2.375rem 0 1.125rem;
  color: #1d1b18;
  font-family: var(--font-display);
  font-size: var(--h2-size);
  font-weight: 400;
  line-height: var(--h2-line);
  letter-spacing: var(--h2-tracking);
}
.compact-article-copy h2::before {
  display: block;
  width: 2.5rem;
  height: 2px;
  margin-bottom: 0.75rem;
  background: var(--gold);
  content: "";
}
.compact-article-copy .article-pull-quote {
  max-width: none;
  margin: 3.5rem 0;
  padding: 2.25rem 0;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  text-align: center;
  text-wrap: balance;
}
.compact-article-copy .article-pull-quote:has(+ h2) {
  margin-bottom: 2.375rem;
}
.compact-article-copy .article-pull-quote p {
  margin: 0;
  color: #9a7a45;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.1vw, 2.75rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.2;
}
.compact-article-copy .article-end-mark {
  margin: 2.5rem 0 0;
  color: var(--gold);
  font-family: inherit;
  font-size: 0.875rem;
  letter-spacing: 0.6em;
  text-align: center;
}
@media (max-width: 900px) {
  .compact-article-page .article-heading {
    padding: clamp(2.5rem, 8vw, 3.5rem) 0 clamp(6.5rem, 20vw, 8.5rem);
  }
  .article-artifact-feature {
    margin-top: -5rem !important;
  }
  .article-artifact-feature img {
    aspect-ratio: 4 / 3;
    height: auto;
  }
  .compact-article-copy {
    margin-top: 2.5rem;
  }
  .compact-article-copy > p:first-child::first-letter {
    font-size: 4.5rem;
  }
}
/* Article antiquity chosen from the heritage library: caption plus credit. */
.article-artifact-feature figcaption.article-artifact-credited {
  display: block;
}
.article-artifact-feature figcaption.article-artifact-credited::before {
  display: none;
}
.article-artifact-caption {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.article-artifact-caption::before {
  flex: none;
  width: 1.125rem;
  height: 1px;
  background: var(--gold-deep);
  content: "";
}
.article-artifact-credit {
  display: block;
  margin-top: 0.3rem;
  padding-left: 1.75rem;
  color: #6b645a;
  font-family: var(--font-text);
  font-size: 0.72rem;
  line-height: 1.5;
}
.article-artifact-credit a {
  color: var(--gold-deep);
  text-underline-offset: 0.15em;
}
/* Multi-block articles: the antiquity intro sits between the masthead and
   the first block. */
.article-artifact-intro {
  padding-bottom: 0;
  background: var(--paper);
}
.article-artifact-intro:has(+ .theme-cream) {
  background: var(--cream);
}
/* ---------- About page: code-owned single-column article ---------- */
.about-page .about-heading h1 {
  max-width: none;
  text-wrap: balance;
}
.about-lead figcaption {
  display: block;
}
.about-lead figcaption::before {
  display: none;
}
.about-lead-caption {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.about-lead-caption::before {
  flex: none;
  width: 1.125rem;
  height: 1px;
  background: var(--gold-deep);
  content: "";
}
.about-lead-credit {
  display: block;
  margin-top: 0.3rem;
  padding-left: 1.75rem;
  color: #6b645a;
  font-family: var(--font-text);
  font-size: 0.72rem;
  line-height: 1.5;
}
.about-lead-credit a {
  color: var(--gold-deep);
  text-underline-offset: 0.15em;
}
/* Reading column of roughly 65-72 characters. */
.about-copy {
  max-width: 39rem;
  margin-inline: auto;
}
.about-copy p {
  margin-bottom: 0.95em;
}
.about-copy a.about-join,
:root[data-theme="dark"] .about-copy a.about-join,
:root[data-theme="light"] .about-copy a.about-join {
  border-color: #d4af7c;
  background: #d4af7c;
  color: var(--ink);
  text-decoration: none;
}
.about-copy a.about-join:hover,
:root[data-theme="dark"] .about-copy a.about-join:hover,
:root[data-theme="light"] .about-copy a.about-join:hover {
  border-color: color-mix(in srgb, #d4af7c 82%, #fff);
  background: color-mix(in srgb, #d4af7c 82%, #fff);
}
.about-copy .about-section {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}
.about-copy .about-section:first-child {
  margin-top: 0;
}
.about-copy h2 {
  margin: 0 0 0.875rem;
  color: var(--gold-deep);
}
.about-copy .about-section:first-child > h2 + p::first-letter {
  float: left;
  margin: 0;
  padding: 0.5rem 0.75rem 0 0;
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 600;
  line-height: 0.8;
}
.about-copy strong {
  color: #1d1b18;
  font-weight: 700;
}
.about-cards {
  display: grid;
  gap: 1rem;
  margin: 1.75rem 0 2rem;
}
.about-card {
  padding: 1.375rem 1.5rem 1.5rem;
  border: 1px solid rgba(138, 100, 47, 0.16);
  border-left: 3px solid var(--gold);
  border-radius: 2px;
  background: #fff;
}
.about-copy .about-card p,
.about-copy .about-step p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
}
.about-card strong,
.about-step strong {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
}
.about-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  width: min(62rem, calc(100vw - 2 * var(--gutter)));
  margin: 1.75rem 0 0 50%;
  padding: 0;
  list-style: none;
  transform: translateX(-50%);
}
.about-step {
  padding: 1.5rem 1.375rem 1.625rem;
  border-top: 2px solid var(--gold);
  border-radius: 0 0 2px 2px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(138, 100, 47, 0.12);
}
.about-step-number {
  display: block;
  margin-bottom: 0.875rem;
  color: var(--gold-deep);
  font-family: var(--font-text);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}
.about-copy .about-step p {
  font-size: 1rem;
  line-height: 1.6;
}
.about-checklist {
  display: grid;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(138, 100, 47, 0.18);
}
.about-checklist li {
  position: relative;
  padding: 0.9rem 0 0.9rem 2.5rem;
  border-bottom: 1px solid rgba(138, 100, 47, 0.18);
  font-size: 1.0625rem;
  line-height: 1.55;
}
.about-checklist li::before {
  position: absolute;
  top: 1.05rem;
  left: 0.125rem;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 50%;
  background: rgba(212, 175, 124, 0.24);
  color: var(--gold-deep);
  content: "\2713";
  font-family: var(--font-text);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.375rem;
  text-align: center;
}
.about-copy .about-callout {
  max-width: none;
  margin: 1.5rem 0 0;
  padding: 1.75rem 2rem;
  border-left: 3px solid var(--gold);
  background: #f2eadc;
  font-size: inherit;
}
.about-copy .about-callout p {
  margin: 0;
  color: #5b4526;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
}
.about-copy .about-next {
  margin: 1.5rem 0 0;
  font-family: var(--font-text);
  font-size: 0.95rem;
  text-align: center;
}
.about-next a {
  padding-bottom: 0.15rem;
  border-bottom: 1px solid rgba(138, 100, 47, 0.45);
  color: var(--gold-deep);
  font-weight: 600;
  text-decoration: none;
}
.about-next a:hover,
.about-next a:focus-visible {
  border-bottom-color: var(--gold-deep);
}
@media (max-width: 900px) {
  .about-steps {
    grid-template-columns: 1fr;
    width: auto;
    margin-left: 0;
    transform: none;
  }
  .about-card,
  .about-step {
    padding: 1.125rem 1.125rem 1.25rem;
  }
  .about-copy .about-callout {
    padding: 1.375rem 1.25rem;
  }
  .about-copy .about-section:first-child > h2 + p::first-letter {
    font-size: 4.5rem;
  }
}
.article-lead {
  padding-block: 2.5rem;
}
.article-lead > img {
  width: 100%;
  max-height: 68vh;
  border-radius: 0.25rem;
  object-fit: cover;
}
.article-lead figcaption {
  margin-top: 0.75rem;
  color: var(--stone);
}
.heritage-attribution {
  margin-top: 1rem;
  padding: 1rem;
  border-left: 4px solid var(--gold);
  background: var(--cream);
}
.heritage-attribution p {
  margin: 0.35rem 0;
  overflow-wrap: anywhere;
}
.media img {
  width: 100%;
  object-fit: cover;
}
.ratio-16-9 img {
  aspect-ratio: 16 / 9;
}
.ratio-4-3 img {
  aspect-ratio: 4 / 3;
}
.ratio-1-1 img {
  aspect-ratio: 1;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@media (max-width: 1100px) {
  .header-shortcuts {
    display: none;
  }
}
@media (min-width: 621px) and (max-width: 1100px) {
  .header-bar {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    gap: 0.65rem;
  }
  .header .brand {
    width: 126px;
  }
  .header-shortcuts {
    display: flex;
    gap: clamp(0.45rem, 1vw, 0.75rem);
    justify-self: center;
  }
  .header-shortcuts a {
    font-size: 0.58rem;
    letter-spacing: 0.025em;
  }
  .header-sign-in {
    font-size: 0.65rem;
  }
  .header-subscribe {
    padding-inline: 0.55rem;
    font-size: 0.65rem;
  }
}
@media (max-width: 960px) {
  .header-bar {
    min-height: 70px;
    gap: 0.75rem;
  }
  .header .brand {
    width: min(180px, 34vw);
  }
  .editorial-split,
  .advisor-panel {
    grid-template-columns: 1fr;
  }

  .pulse-card {
    max-width: 44rem;
  }
  .journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .solutions-page .solution-grid,
  .community-page .community-route-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .approach-page .journey {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .community-list,
  .community-route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .journey-step:nth-child(3) {
    border-left: 1px solid var(--line);
  }
}
@media (max-width: 620px) {
  :root {
    --main-start-gap: 1.5rem;
    --site-ribbon-height: 120px;
  }
  html {
    scroll-padding-top: 2rem;
  }
  .header-bar {
    min-height: 64px;
    padding-inline: 0.8rem;
  }
  .header .brand {
    width: min(108px, 28vw);
  }
  .header-tools,
  .header-actions {
    gap: 0.35rem;
  }
  .menu-toggle,
  .header-search {
    width: 38px;
    height: 38px;
  }
  .header-sign-in {
    font-size: 0.64rem;
  }
  .header-subscribe {
    padding: 0.24rem 0.5rem;
    font-size: 0.64rem;
  }
  .community-route-grid {
    grid-template-columns: 1fr;
  }

  .solutions-page .solution-grid,
  .community-page .community-route-grid,
  .approach-page .journey,
  .pulse-page .pulse-landing > .wrap {
    grid-template-columns: 1fr;
  }
  .pulse-page .pulse-landing > .wrap {
    display: block;
  }

  .community-list {
    grid-template-columns: 1fr;
  }
  .search-results {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(3.1rem, 15vw, 4.8rem);
    overflow-wrap: normal;
  }
  .solution-grid,
  .journey,
  .columns-2,
  .columns-3,
  .hero-grid {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .journey-step,
  .journey-step:first-child,
  .journey-step:nth-child(3) {
    min-height: auto;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding-inline: 0;
  }
  .pulse-meta {
    flex-direction: column;
  }
  .community-list article {
    grid-template-columns: 1fr;
  }
  .community-list span {
    text-align: left;
  }
  .actions,
  .advisor-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .button {
    width: 100%;
  }
}
@media (max-width: 340px) {
  .header .brand {
    width: 76px;
  }
  .header-sign-in {
    font-size: 0.52rem;
  }
  .header-subscribe {
    padding-inline: 0.35rem;
    font-size: 0.52rem;
  }
}
/* ---------- Homepage: calm hero (approved home-hero-v2 mockup) ---------- */
body.home-page {
  --hero-text: #efe9df;
  --hero-muted: #b8b1a6;
  --hero-dim: #6f6a63;
  --hero-pad: clamp(1.25rem, 6.7vw, 6rem);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
}
body.home-page > main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}
.home-hero {
  position: relative;
  isolation: isolate;
  flex: 1 0 auto;
  display: flex;
  overflow: hidden;
  padding: 0;
  background: var(--ink);
  color: var(--hero-text);
}
main > .home-hero:first-child {
  padding-top: 0;
}
/* Ambient heritage layers: two stacked images, opacity cross-fade only. */
.ambient-stack {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  filter: grayscale(0.5) sepia(0.3) brightness(0.5) contrast(0.78);
}
.ambient-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  opacity: 0;
  transition: opacity 2.6s ease-in-out;
}
.ambient-layer:not([src]) {
  visibility: hidden;
}
.ambient-layer.is-on {
  opacity: var(--ambient-opacity, 0.8);
}
.ambient-layer.is-instant {
  transition: none;
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(11, 15, 20, 0.95) 0%,
      rgba(11, 15, 20, 0.82) 38%,
      rgba(11, 15, 20, 0.45) 68%,
      rgba(11, 15, 20, 0.6) 100%
    ),
    linear-gradient(
      180deg,
      rgba(11, 15, 20, 0.35) 0%,
      transparent 30%,
      transparent 70%,
      rgba(11, 15, 20, 0.85) 100%
    );
}
.home-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(2rem, 5vh, 3rem) var(--hero-pad) 2rem
    calc(var(--hero-pad) + clamp(0px, 8vw, 7.5rem));
  display: grid;
  grid-template-columns: minmax(0, 44rem);
  align-items: center;
}
.home-hero .hero-copy {
  align-self: center;
  /* Lets the heading size itself to this column (cqi below). */
  container-type: inline-size;
}
.home-hero .hero-copy > .eyebrow {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.625rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
}
.home-hero .hero-copy > .eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  flex: none;
  background: currentColor;
}
/* Three-line headline: The best AI / for / the most people. The page-title
   role (docs/operations/design-foundation.md) with a roomier line and
   tracking than .nc-title, because the lines are stacked. */
.home-hero .hero-headline {
  max-width: none;
  margin: 0;
  color: var(--hero-text);
  font-family: var(--font-display);
  /* No webfont ships, so serif fallbacks differ by system. 12cqi keeps the
     widest line, "the most people", inside the column even in the widest
     common fallback. */
  font-size: min(var(--title-size), 12cqi);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.home-hero .hero-headline .hero-line {
  display: block;
  white-space: nowrap;
}
.home-hero .hero-headline .hero-line-joiner {
  margin: 0.02em 0 0.04em;
  font-size: 0.62em;
  font-style: italic;
  line-height: 1.1;
  letter-spacing: 0;
}
.home-hero .hero-supporting {
  margin: 1.5rem 0 0;
  color: var(--hero-text);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.45;
}
/* Two paragraphs in the body role: at the lead size they would push the
   actions below a 1366 by 768 screen. The first reads at full strength. */
.home-hero .hero-copy > .lede {
  max-width: 38rem;
  margin: 0.75rem 0 0;
  color: var(--hero-text);
  font-size: var(--body-size);
  line-height: var(--body-line);
}
.home-hero .hero-copy > .lede + .lede {
  margin-top: 0.75rem;
  color: var(--hero-muted);
}
.home-hero .hero-invitation {
  margin: 1rem 0 0;
  color: var(--hero-text);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
}
.home-hero .actions {
  gap: 0.75rem;
  margin-top: 1.25rem;
}
/* The shared button (.button, .button-secondary) as it is everywhere. */
.home-hero .actions .button {
  white-space: nowrap;
}
.home-hero .actions .button span {
  margin-left: 0.35rem;
}
.home-hero .actions .button-secondary {
  color: var(--hero-text);
}
/* Quiet Pulse teaser, driven by the pinned featured article. */
.pulse-teaser {
  justify-self: end;
  width: min(100%, 22rem);
  padding: 1.375rem 1.5rem 1.25rem;
  border: 1px solid rgba(212, 175, 124, 0.38);
  border-radius: 4px;
  background: rgba(11, 11, 13, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--hero-text);
}
.pulse-teaser .pulse-teaser-label {
  margin: 0;
  color: var(--gold);
  font-size: 0.65625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.pulse-teaser h2 {
  max-width: none;
  margin: 0.75rem 0 0;
  color: var(--hero-text);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0;
  text-wrap: balance;
}
.pulse-teaser .pulse-teaser-summary {
  display: -webkit-box;
  overflow: hidden;
  margin: 0.5rem 0 0;
  color: var(--hero-muted);
  font-size: 0.84375rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
.pulse-teaser-read {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.875rem;
  padding-bottom: 1px;
  border-bottom: 1px solid rgba(212, 175, 124, 0.35);
  color: var(--gold);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
}
.pulse-teaser-read:hover,
.pulse-teaser-read:focus-visible {
  border-color: var(--gold);
}
/* Faint chapter caption + attribution for the current background. */
.ambient-caption {
  position: absolute;
  left: var(--hero-pad);
  bottom: 0.875rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.625rem;
  max-width: min(62%, 48rem);
  margin: 0;
  color: rgba(168, 161, 151, 0.5);
  font-size: 0.65625rem;
  letter-spacing: 0.04em;
  line-height: 1.45;
  text-align: left;
  transition: opacity 1.2s ease;
}
.ambient-caption a {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ambient-caption b {
  color: rgba(201, 164, 106, 0.5);
  font-weight: 500;
}
.ambient-caption a:hover,
.ambient-caption a:focus-visible {
  color: var(--hero-muted);
}
.ambient-caption.is-fading {
  opacity: 0;
}
.ambient-ticks {
  display: inline-flex;
  flex: none;
  gap: 0.25rem;
}
.ambient-ticks i {
  display: block;
  width: 0.875rem;
  height: 2px;
  border-radius: 1px;
  background: rgba(201, 164, 106, 0.16);
  transition: background 1.2s ease;
}
.ambient-ticks i.is-current {
  background: rgba(201, 164, 106, 0.55);
}

/* Narrower screens: the motto wraps as whole phrases (centred) and the
   copyright takes its own row below. */

@media (max-width: 1100px) {
  .home-hero-inner {
    grid-template-columns: 1fr;
    row-gap: 3rem;
    padding-left: var(--hero-pad);
  }
  .pulse-teaser {
    justify-self: start;
  }
  .home-hero::after {
    background: linear-gradient(
      180deg,
      rgba(11, 15, 20, 0.9) 0%,
      rgba(11, 15, 20, 0.8) 45%,
      rgba(11, 15, 20, 0.72) 75%,
      rgba(11, 15, 20, 0.9) 100%
    );
  }
}
@media (max-width: 640px) {
  .home-hero-inner {
    padding-top: 2.75rem;
    padding-bottom: 4.5rem;
    row-gap: 2.5rem;
  }
  .home-hero .hero-copy > .eyebrow {
    gap: 0.625rem;
    margin-bottom: 1.25rem;
    font-size: 0.65625rem;
    letter-spacing: 0.18em;
  }
  .home-hero .hero-copy > .eyebrow::before {
    width: 1.25rem;
  }
  .home-hero .hero-supporting {
    margin-top: 1.25rem;
    font-size: 1.0625rem;
  }
  .home-hero .actions {
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.75rem;
  }
  .home-hero .actions .button {
    width: 100%;
  }
  .pulse-teaser {
    width: 100%;
  }
  .ambient-caption {
    right: var(--hero-pad);
    left: var(--hero-pad);
    bottom: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    max-width: none;
    font-size: 0.625rem;
    text-align: left;
  }
  .ambient-caption a {
    white-space: normal;
  }
}
.help-widget {
  --help-text: #efe9df;
  --help-hair: rgba(212, 175, 124, 0.4);
  position: static;
  display: flex;
  justify-content: flex-end;
  z-index: 90;
  color: var(--help-text);
  font-family: var(--font-text);
  line-height: 1.3;
}
.help-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 14px 0 16px;
  border: 1px solid var(--help-hair);
  border-radius: 999px;
  background: rgba(13, 13, 15, 0.95);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.55);
  color: var(--help-text);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}
.help-pill:hover {
  border-color: var(--gold);
}
.help-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 124, 0.16);
}
.article-return {
  width: min(100%, calc(42.5rem + 2 * var(--gutter)));
  padding-bottom: 2rem;
}
.article-return a {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  min-height: 24px;
  color: var(--link);
  font-weight: 600;
  text-decoration: none;
}
.article-return a:hover {
  text-decoration: underline;
}
.article-return a:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 4px;
}
.help-entry {
  padding-bottom: 0.5rem;
}
.home-page .help-entry {
  width: min(100%, 1440px);
  padding-inline: var(--hero-pad);
  pointer-events: none;
}
.home-page .help-entry .help-pill {
  pointer-events: auto;
}
@media (min-width: 1101px) and (max-width: 1599px) {
  .home-page .help-entry {
    position: relative;
    z-index: 2;
    margin-top: -48px;
    padding-bottom: 0;
  }
}
.help-entry .help-pill {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  height: auto;
  min-height: 48px;
  padding-block: 0.5rem;
}
@media (min-width: 1600px) {
  .help-entry {
    padding-bottom: 0;
  }
  .help-entry .help-widget {
    position: fixed;
    left: calc((100vw + var(--max)) / 2 - var(--gutter) + 0.5rem);
    bottom: calc(24px + var(--help-clearance, 0px));
    width: max-content;
    max-width: calc((100vw - var(--max)) / 2 + var(--gutter) - 1rem);
  }
  .home-page .help-entry .help-widget {
    left: calc((100vw + 1440px) / 2 - var(--hero-pad) + 0.5rem);
    max-width: calc((100vw - 1440px) / 2 + var(--hero-pad) - 1rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.header-sign-in-inactive,
.header-sign-in-inactive:hover {
  color: #a39c91;
  cursor: default;
  opacity: 0.75;
}
/* Forwarded-newsletter note under the article byline. */
.article-forwarded,
.theme-dark .article-forwarded {
  margin: 0.875rem 0 0;
  color: #a8a197;
  font-family: var(--font-display);
  font-size: var(--note-size);
  font-style: italic;
  line-height: var(--note-line);
}
.compact-article-page .article-forwarded {
  max-width: 42rem;
  margin-inline: auto;
}
.article-forwarded-signup {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
.article-forwarded-signup-inactive,
.article-forwarded-signup-inactive:hover {
  color: inherit;
  text-decoration: none;
  cursor: default;
  opacity: 0.7;
}

/* Subscribe dialog ("Stay in the loop", plan U3). Native <dialog>: the
   browser supplies the modal layer, focus containment and Escape. Shares
   the help panel's dark surface and gold accents. */
.header-subscribe:not(:disabled) {
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}
.header-subscribe:not(:disabled):hover,
.header-subscribe:not(:disabled):focus-visible {
  border-color: var(--gold);
  background: rgba(212, 175, 124, 0.2);
}
.header-subscribe:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
/* Invitation-only header: one gold Sign in button, which reads Sign out once
   signed in (member.js swaps it for a button with the same classes). The
   compact member of the .button family: square, capitals, the button
   tokens; 28px tall, with larger touch targets on phones. */
.header-subscribe.header-front-door {
  justify-content: center;
  min-height: 28px;
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--gold);
  border-radius: var(--radius-button);
  background: var(--gold);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: var(--button-weight);
  line-height: 1.2;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
.header-subscribe.header-front-door:not(:disabled):focus-visible {
  border-color: var(--gold);
  background: var(--gold);
}
.header-subscribe.header-front-door:not(:disabled):hover {
  border-color: color-mix(in srgb, var(--gold) 82%, #fff);
  background: color-mix(in srgb, var(--gold) 82%, #fff);
}
.header-subscribe.header-front-door:disabled {
  cursor: progress;
  opacity: 0.7;
}
/* Light theme: gold is the deeper tone, so the label turns white and
   pointer-over deepens the button to keep it readable. */
:root[data-theme="light"] .header-subscribe.header-front-door {
  color: #fff;
}
:root[data-theme="light"]
  .header-subscribe.header-front-door:not(:disabled):hover {
  border-color: color-mix(in srgb, var(--gold) 85%, #000);
  background: color-mix(in srgb, var(--gold) 85%, #000);
}
html.subscribe-open {
  overflow: hidden;
}
.subscribe-dialog {
  width: min(440px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(212, 175, 124, 0.28);
  border-radius: 10px;
  background: #0f0e10;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  color: #f4eee4;
  font-family: var(--font-text);
}
.subscribe-dialog::backdrop {
  background: rgba(11, 15, 20, 0.72);
}
.subscribe-dialog[open] {
  animation: subscribe-in 0.22s ease-out;
}
@keyframes subscribe-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.subscribe-form {
  display: grid;
  gap: 0.9rem;
  padding: 1.4rem 1.4rem 1.5rem;
}
.subscribe-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.subscribe-head h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.2;
}
.subscribe-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -0.5rem -0.6rem -0.5rem 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #c9ccd1;
  font: inherit;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.subscribe-close:hover,
.subscribe-close:focus-visible {
  color: var(--gold);
}
.subscribe-fields {
  display: grid;
  gap: 0.9rem;
}
.subscribe-intro {
  margin: 0;
  color: #c9ccd1;
  font-size: 0.9rem;
}
.subscribe-topics {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  border: 0;
}
.subscribe-topic {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}
.subscribe-topic:hover {
  border-color: rgba(212, 175, 124, 0.55);
}
.subscribe-topic:has(input:checked) {
  border-color: var(--gold);
  background: rgba(212, 175, 124, 0.1);
}
.subscribe-topic input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0.15rem 0 0;
  accent-color: var(--gold);
}
.subscribe-topic:has(input:focus-visible) {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.subscribe-topic-text {
  display: grid;
  gap: 0.15rem;
}
.subscribe-topic-text strong {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}
.subscribe-topic-text span {
  color: #b6bbc2;
  font-size: 0.84rem;
  line-height: 1.45;
}
.subscribe-label {
  margin-bottom: -0.45rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}
.subscribe-email {
  width: 100%;
  min-height: 46px;
  padding: 0 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  background: #16161a;
  color: #fff;
  font: inherit;
  font-size: 1rem;
}
.subscribe-email::placeholder {
  color: #8e949b;
}
.subscribe-email:focus-visible {
  border-color: var(--gold);
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.subscribe-email[aria-invalid="true"],
.subscribe-topics[aria-invalid="true"] .subscribe-topic {
  border-color: #f2a39a;
}
.subscribe-error {
  margin: -0.35rem 0 0;
  color: #f2a39a;
  font-size: 0.84rem;
}
.subscribe-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.subscribe-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.2rem;
  margin-top: 0.2rem;
}
.subscribe-submit {
  min-height: 46px;
  padding: 0 1.4rem;
  border: 0;
  border-radius: 5px;
  background: var(--gold);
  color: #17130d;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.subscribe-submit:hover,
.subscribe-submit:focus-visible {
  background: #e3c597;
}
.subscribe-submit:focus-visible,
.subscribe-unsubscribe:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.subscribe-unsubscribe {
  min-height: 44px;
  padding: 0 0.2rem;
  border: 0;
  background: transparent;
  color: #c9ccd1;
  font: inherit;
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.subscribe-unsubscribe:hover {
  color: var(--gold);
}
.subscribe-submit:disabled,
.subscribe-unsubscribe:disabled {
  cursor: progress;
  opacity: 0.7;
}
.subscribe-consent {
  margin: 0;
  color: #9fa6ad;
  font-size: 0.78rem;
}
.subscribe-status {
  margin: 0;
  color: #c9ccd1;
  font-size: 0.9rem;
}
.subscribe-status:empty {
  display: none;
}
.subscribe-status[data-tone="error"] {
  color: #f2a39a;
}
.subscribe-status[data-tone="success"] {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(212, 175, 124, 0.45);
  border-radius: 8px;
  background: rgba(212, 175, 124, 0.08);
  color: #fff;
}
.subscribe-dialog[data-state="sent"] .subscribe-fields {
  display: none;
}
@media (max-width: 580px) {
  .subscribe-dialog {
    width: 100vw;
    max-width: 100vw;
    max-height: 92vh;
    margin: auto 0 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 14px 14px 0 0;
  }
  .subscribe-form {
    padding: 1.2rem 1.1rem calc(1.4rem + env(safe-area-inset-bottom));
  }
  .subscribe-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .subscribe-submit {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .subscribe-dialog[open] {
    animation: none;
  }
  .subscribe-topic,
  .header-subscribe:not(:disabled) {
    transition: none;
  }
}

/* Subscription pages (plan U4): /subscribe/confirm/, /subscribe/manage/
   and /subscribe/done/. The same dark card as the dialog, centred in the
   page; the topic cards, buttons and status line reuse the dialog's rules. */
.subscription-page {
  /* Room to scroll the card clear of the floating help button. */
  padding-bottom: 6rem;
}
.subscription-page .wrap {
  display: grid;
  justify-items: center;
}
.subscribe-panel {
  display: grid;
  gap: 0.9rem;
  width: min(480px, 100%);
  padding: 1.6rem 1.5rem 1.7rem;
  border: 1px solid rgba(212, 175, 124, 0.28);
  border-radius: 10px;
  background: #0f0e10;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
  color: #f4eee4;
  font-family: var(--font-text);
}
.subscribe-panel .eyebrow {
  margin: 0;
}
.subscribe-panel h1 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  max-width: none;
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
}
.subscribe-panel .subscribe-intro,
.subscribe-panel p {
  margin: 0;
}
.subscribe-page-form {
  display: grid;
  gap: 0.9rem;
}
.subscribe-page-recipient {
  color: #c9ccd1;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}
.subscribe-page-home a {
  color: var(--gold);
}
.subscribe-page-home a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.subscribe-panel [hidden] {
  display: none;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #10161d;
  --cream: #18212b;
  --stone: #b8c1cc;
  --gold-deep: #d4af7c;
  --line: rgba(244, 238, 228, 0.2);
  --error: #f2a39a;
  color: #f4eee4;
}
:root[data-theme="light"] {
  color-scheme: light;
  --gold: #8a642f;
}
.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 20px;
  padding: 2px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: linear-gradient(90deg, #111720 50%, #fffdf9 50%);
  color: var(--gold);
  font: inherit;
  font-size: 1.2rem;
  cursor: pointer;
}
.theme-toggle::before {
  content: "";
  position: absolute;
  inset: -12px 0;
}
.theme-toggle span {
  display: grid;
  place-items: center;
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 10px;
}
.theme-toggle[aria-pressed="true"] span {
  transform: translateX(16px);
}
.theme-toggle svg {
  width: 10px;
  height: 10px;
}
:root[data-theme="dark"]
  :is(
    .solutions-section,
    .approach-section,
    .people-section,
    .pulse-landing,
    .pulse-card,
    .card,
    .community-lead,
    .community-route-card,
    .community-closing,
    .compact-article-copy,
    .compact-article-copy > p:not(.article-end-mark),
    .compact-article-copy h2,
    .about-copy,
    .about-copy strong,
    .about-copy h2,
    .about-copy .about-section > p,
    .about-card p,
    .about-step p,
    .privacy-copy p,
    .privacy-copy li
  ) {
  color: #f4eee4;
}
/* Light mode: the article masthead turns paper-coloured, so its title must
   switch to ink (the compact title otherwise keeps its pale dark-mode tone). */
:root[data-theme="light"] .article-heading h1 {
  color: var(--ink);
}
:root[data-theme="dark"]
  :is(
    .compact-article-body,
    .about-body,
    .about-card,
    .about-step,
    .search-panel,
    .search-result
  ) {
  background-color: var(--paper);
}
:root[data-theme="dark"]
  :is(
    .article-artifact-caption,
    .article-artifact-feature figcaption,
    .about-lead-credit,
    .article-artifact-credit,
    .article-invitation,
    .article-invitation p
  ) {
  color: var(--stone);
}
:root[data-theme="light"]
  :is(.header, .nav-drawer, .footer, .home-strip, .theme-dark) {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}
:root[data-theme="light"]
  :is(
    .header-shortcuts a,
    .header-sign-in,
    .menu-toggle,
    .menu-close,
    .header-search,
    .nav-drawer nav a,
    .nav-social-placeholder,
    .nav-social-link,
    .theme-dark p
  ) {
  color: var(--ink);
}
:root[data-theme="light"] :is(.header-search, .menu-toggle, .menu-close) {
  border-color: var(--line);
}
:root[data-theme="light"] body.home-page {
  --hero-text: #191d22;
  --hero-muted: #3f454d;
  --hero-dim: #5c6269;
}
:root[data-theme="light"] .home-hero {
  background: var(--paper);
}
:root[data-theme="light"] .home-hero::after {
  background: linear-gradient(
    90deg,
    rgba(255, 253, 249, 0.97),
    rgba(255, 253, 249, 0.86) 60%,
    rgba(255, 253, 249, 0.7)
  );
}
:root[data-theme="light"]
  :is(.pulse-teaser, .pulse-teaser-title, .pulse-teaser-summary) {
  color: var(--hero-text);
}
:root[data-theme="light"] .help-widget {
  --help-text: #191d22;
}
:root[data-theme="light"] :is(.pulse-teaser, .help-pill) {
  background: rgba(255, 253, 249, 0.95);
  border-color: var(--line);
}
:root[data-theme="light"]
  :is(.button:not(.button-secondary), .subscribe-submit, .callout) {
  color: #fff;
}
/* Light theme: the gold button carries white text, so pointer-over deepens
   it instead of lightening it and the text stays easy to read. */
:root[data-theme="light"]
  .button:not(.button-secondary):is(:not(:disabled):hover, .is-hover) {
  border-color: color-mix(in srgb, var(--gold) 85%, #000);
  background: color-mix(in srgb, var(--gold) 85%, #000);
}
:root[data-theme="dark"] .callout {
  color: var(--ink);
}
@media (min-width: 1101px) {
  .header-shortcuts {
    right: max(calc((100vw - var(--max)) / 2 + var(--gutter)), 15.5rem);
  }
}
@media (max-width: 620px) {
  .header-bar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.35rem;
  }
  .header-actions {
    gap: 0.35rem;
  }
  /* Phones: the Sign in / Sign out button is a 40px touch target. */
  .header-subscribe.header-front-door {
    min-height: 40px;
    padding: 0.4rem 0.6rem;
    font-size: 0.7rem;
    letter-spacing: 0.07em;
  }
  /* Safety net: if a wider system typeface squeezes the row, the logo
     gives way instead of sliding under the button. */
  .header .brand {
    max-width: 100%;
  }
}
@media (max-width: 340px) {
  .header-tools,
  .header-actions {
    gap: 0.25rem;
  }
  .header-subscribe.header-front-door {
    padding-inline: 0.4rem;
    font-size: 0.62rem;
    letter-spacing: 0.05em;
  }
}
/* Privacy notice (/privacy/) and the links to it. */
.footer-links a,
.home-strip-link,
.site-ribbon-copyright a,
.subscribe-consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.home-strip-link:hover,
.subscribe-consent a:hover {
  color: var(--gold);
}

.privacy-list {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}
.privacy-list li {
  margin: 0 0 0.5rem;
  line-height: 1.6;
}
.privacy-version {
  margin-top: 2rem;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* Member journey: Join, plan choice, My account, Talk to our AI team and the
   member-article gate (renderers/member-pages.mjs). Theme tokens only, so
   light and dark themes both follow. */
.member-page {
  min-height: auto;
  padding-bottom: 6rem;
}
.member-page h1 {
  max-width: 18ch;
}
/* Small headings inside member pages: the 20px heading role. */
.member-page h3 {
  font-family: var(--font-display);
  font-size: var(--h4-size);
  font-weight: 400;
  line-height: var(--h4-line);
}
.member-page .lede {
  max-width: 60ch;
}
.member-subheading {
  max-width: none;
  margin-top: 3rem;
  font-family: var(--font-display);
  font-size: var(--h2-size);
  font-weight: 400;
  line-height: var(--h2-line);
  letter-spacing: var(--h2-tracking);
}
.member-note {
  max-width: 68ch;
  color: var(--stone);
  font-size: var(--note-size);
  line-height: var(--note-line);
}
.member-status {
  margin: 0.75rem 0;
  font-size: 0.95rem;
}
.member-status:empty {
  display: none;
}
.member-status[data-tone="error"] {
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--error);
  background: rgba(192, 57, 43, 0.08);
}
.member-status[data-tone="success"] {
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--gold-deep);
  background: rgba(212, 175, 124, 0.1);
}
.member-status a {
  color: var(--gold-deep);
}
.member-actions {
  margin: 1.5rem 0 1rem;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1rem;
  margin: 1.5rem 0 1rem;
}
.plan-card {
  display: grid;
  align-content: start;
  gap: 0.6rem;
  padding: var(--card-pad);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--cream);
}
.plan-card h2,
.plan-card h3 {
  max-width: none;
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--h3-size);
  font-weight: 400;
  line-height: var(--h3-line);
  letter-spacing: var(--h3-tracking);
}
.plan-card-recommended {
  border-color: var(--gold-deep);
  box-shadow: 0.5rem 0.5rem 0 rgba(212, 175, 124, 0.18);
}
.plan-badge {
  justify-self: start;
  margin: 0;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--gold-deep);
  color: var(--paper);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.plan-price {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
}
.plan-period {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--stone);
}
.plan-offer {
  margin: 0;
  color: var(--gold-deep);
  font-weight: 600;
}
.plan-benefits {
  margin: 0;
  padding-left: 1.1rem;
  line-height: 1.6;
}
.plan-choose {
  justify-self: start;
  margin-top: 0.5rem;
}
.plan-period-choice {
  display: flex;
  gap: 1.25rem;
  margin-top: 1rem;
}
.member-form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}
.member-field {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}
.member-field small {
  color: var(--stone);
  font-weight: 400;
}
.member-field input,
.member-field textarea,
[data-invite-code-form] > input {
  width: 100%;
  box-sizing: border-box;
  min-height: var(--field-height);
  padding: var(--field-pad);
  border: 1px solid var(--line);
  border-radius: var(--radius-field);
  background: var(--paper);
  color: inherit;
  font: inherit;
  font-weight: 400;
}
.member-field input[type="file"] {
  padding: 0.4rem;
}
.member-field input:focus-visible,
.member-field textarea:focus-visible,
[data-invite-code-form] > input:focus-visible,
.member-check input:focus-visible,
.plan-period-choice input:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
}
/* The invitation code field (/invite/): the standard field, in the
   fixed-width face used for codes people copy. */
[data-invite-code-form] > label {
  margin-bottom: -0.65rem;
  font-weight: 600;
}
[data-invite-code-form] > input {
  font-family: var(--font-code);
  font-size: 0.95rem;
}
.member-field [aria-invalid="true"],
[data-invite-code-form] > input[aria-invalid="true"] {
  border-color: var(--error);
}
/* A field's own error message, under the field (Request access and the
   invitation code). The page script fills and shows it. */
.member-error {
  margin: 0;
  color: var(--error);
  font-size: var(--note-size);
  font-weight: 400;
  line-height: var(--note-line);
}
[data-invite-code-form] > .member-error {
  margin-top: -0.5rem;
}
/* The sign-in note keeps clear of the Continue button above it. */
.invite-page [data-invite-root] + .member-note {
  margin-top: 1.25rem;
}
.member-form fieldset {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: var(--card-pad);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.member-form legend {
  padding: 0 0.3rem;
  font-weight: 700;
}

/* The Hub (/hub/): apps, coming-soon teasers and "Invite a friend". */
.hub-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
  gap: 2rem;
  align-items: start;
}
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
  margin: 1rem 0 2rem;
}
.hub-card {
  display: grid;
  align-content: start;
  gap: 0.6rem;
  padding: var(--card-pad);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--cream);
}
.hub-card h3 {
  margin: 0;
}
.hub-card p {
  margin: 0;
}
.hub-card .button {
  justify-self: start;
}
.hub-card-coming {
  opacity: 0.72;
  background: transparent;
  border-style: dashed;
}
.hub-card-coming .status-badge {
  margin: 0;
}
.hub-banner {
  margin: 0 0 1.5rem;
  padding: 0.9rem 1.1rem;
  border-left: 4px solid var(--gold-deep);
  border-radius: var(--radius-card);
  background: var(--cream);
}
.hub-upgrade {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.75rem;
  padding: var(--card-pad);
  border: 1px solid var(--gold-deep);
  border-radius: var(--radius-card);
}
.hub-upgrade p {
  margin: 0;
}
.hub-upgrade .button {
  justify-self: start;
}
.hub-side {
  padding: var(--card-pad);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.hub-side .member-subheading {
  margin-top: 0;
  font-size: var(--h3-size);
  line-height: var(--h3-line);
  letter-spacing: var(--h3-tracking);
}
.hub-sent {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
}
.hub-side code {
  word-break: break-all;
}
/* My account → Invite a friend. */
.invite-friend h3 {
  margin: 1.75rem 0 0.4rem;
}
.invite-friend .member-callout {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}
.invite-friend .member-callout h3,
.invite-friend .member-callout p {
  margin: 0;
}
.invite-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.invite-copy input {
  flex: 1 1 12rem;
  width: auto;
  min-width: 0;
  font-family: var(--font-code);
  font-size: 0.9rem;
}
.invite-list li > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.invite-withdraw [role="group"] {
  display: grid;
  gap: 0.5rem;
}
.invite-withdraw .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
/* Invite a friend → Your AI credits: the shared card, tokens only. */
.invite-credits {
  display: grid;
  gap: 0.5rem;
  margin: 1.25rem 0 0.5rem;
}
.invite-credits :is(h3, h4, p, ul) {
  margin: 0;
}
.invite-credits h4 {
  margin-top: 0.5rem;
}
.invite-credits-balance strong {
  font-family: var(--font-display);
  font-size: var(--h2-size);
  font-weight: 400;
  line-height: var(--h2-line);
  letter-spacing: var(--h2-tracking);
}
.invite-credits-activity li:last-child {
  border-bottom: 0;
}
@media (max-width: 840px) {
  .hub-layout {
    grid-template-columns: 1fr;
  }
}
.member-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
/* Tick boxes and radio buttons on member pages: one small control drawn
   from the theme tokens. The native input stays the control, so the
   keyboard, labels and the focus ring above work as usual. */
.member-check input,
.plan-period-choice input {
  appearance: none;
  display: grid;
  flex: none;
  place-content: center;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.15rem 0 0;
  border: 1px solid var(--stone);
  border-radius: 4px;
  background: var(--paper);
  cursor: pointer;
}
.member-check input[type="radio"],
.plan-period-choice input[type="radio"] {
  border-radius: 50%;
}
.member-check input::before,
.plan-period-choice input::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  background: var(--paper);
  clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 22%, 86% 10%, 37% 70%);
  transform: scale(0);
}
.member-check input[type="radio"]::before,
.plan-period-choice input[type="radio"]::before {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  clip-path: none;
}
.member-check input:hover,
.plan-period-choice input:hover {
  border-color: var(--gold-deep);
}
.member-check input:checked,
.plan-period-choice input:checked {
  border-color: var(--gold-deep);
  background: var(--gold-deep);
}
.member-check input:checked::before,
.plan-period-choice input:checked::before {
  transform: scale(1);
}
.member-check input:disabled,
.plan-period-choice input:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}
.plan-period-choice label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}
.plan-period-choice input {
  margin: 0;
}
.member-check span {
  display: grid;
  gap: 0.15rem;
}
.member-check small {
  color: var(--stone);
}
.member-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.member-photo {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.member-photo .button {
  justify-self: start;
}
.member-private {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.member-private h3 {
  margin: 0 0 0.4rem;
}
.member-private p {
  margin: 0 0 0.4rem;
  overflow-wrap: anywhere;
}
.member-callout {
  margin-bottom: 1.25rem;
  padding: var(--card-pad);
  border: 1px solid var(--gold-deep);
  border-radius: var(--radius-card);
}
.member-facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem 1.5rem;
  margin: 0 0 1rem;
}
.member-facts dt {
  font-weight: 700;
}
.member-facts dd {
  margin: 0;
}
.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--gold-deep);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.link-button:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
}

.account-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 1rem 0 2rem;
}
.account-header h1 {
  margin: 0.2rem 0;
}
.account-plan {
  margin: 0;
  color: var(--stone);
}
.account-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 4.5rem;
  height: 4.5rem;
  overflow: hidden;
  border: 2px solid var(--gold-deep);
  border-radius: 50%;
  background: var(--cream);
  font-family: var(--font-display);
  font-size: 1.8rem;
}
.account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.account-layout {
  display: grid;
  grid-template-columns: 14rem minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}
.account-nav {
  position: sticky;
  top: 6rem;
  min-width: 0;
}
.account-panels {
  min-width: 0;
}
[data-member-status]:focus {
  outline: none;
}
.account-nav ul {
  display: grid;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.account-nav a {
  display: block;
  padding: 0.55rem 0.8rem;
  border-left: 2px solid transparent;
  text-decoration: none;
}
.account-nav a:hover,
.account-nav a:focus-visible,
.account-nav a[aria-current="page"] {
  border-left-color: var(--gold-deep);
  background: var(--cream);
}
.account-panels {
  display: grid;
  gap: 2.5rem;
}
.account-section {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.account-section:focus {
  outline: none;
}
.account-section h2 {
  max-width: none;
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: var(--h2-size);
  font-weight: 400;
  line-height: var(--h2-line);
  letter-spacing: var(--h2-tracking);
}
.reading-list,
.team-list,
.app-list {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}
.reading-list a {
  color: var(--gold-deep);
}
.team-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}
.app-card {
  padding: var(--card-pad);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.app-card h3 {
  margin: 0 0 0.4rem;
}
.contact-done {
  max-width: 40rem;
}
.contact-done h2 {
  max-width: none;
  font-size: var(--h2-size);
  line-height: var(--h2-line);
  letter-spacing: var(--h2-tracking);
}
.contact-done:focus {
  outline: none;
}
.contact-page .contact-form {
  max-width: 56rem;
}
.contact-page .contact-form[hidden] {
  display: none;
}
/* What each contact page is for, with a link to the other one. */
.contact-page .contact-purpose {
  margin: 0 0 1.5rem;
}
/* The four steps are a progress indicator, not links: numbered markers
   joined by a line, the current step filled and in the text colour. */
.contact-page .contact-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--stone);
  font-size: 0.9rem;
  cursor: default;
}
.contact-page .contact-progress li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-page .contact-progress li + li::before {
  content: "";
  width: 1.25rem;
  height: 1px;
  margin-right: 0.25rem;
  background: var(--line);
}
.contact-page .contact-progress-number {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid var(--stone);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}
.contact-page .contact-progress [aria-current="step"] {
  color: inherit;
  font-weight: 700;
}
.contact-page .contact-progress [aria-current="step"] .contact-progress-number {
  border-color: var(--gold-deep);
  background: var(--gold-deep);
  color: var(--paper);
}
.contact-page .contact-step {
  display: grid;
  gap: 1rem;
  padding: var(--card-pad-roomy);
  border: 1px solid var(--gold-deep);
  border-radius: var(--radius-card);
}
.contact-page .contact-step[hidden] {
  display: none;
}
.contact-page .contact-step h2 {
  max-width: none;
  margin: 0;
  font-size: var(--h2-size);
  line-height: var(--h2-line);
  letter-spacing: var(--h2-tracking);
}
.contact-page .contact-step h2:focus {
  outline: none;
}
.contact-page .contact-step .member-note {
  margin: 0;
}
.contact-page .contact-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 0.6rem 1rem;
}
.contact-page .contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.contact-page .contact-suggest {
  justify-self: start;
}
.contact-page .contact-followups {
  display: grid;
  gap: 1rem;
}
.contact-page .contact-followups h3 {
  margin: 0;
  color: var(--gold-deep);
}
.contact-page .contact-review {
  display: grid;
  gap: 0.75rem;
}
.contact-page .contact-review section {
  padding: var(--card-pad);
  border: 1px solid var(--gold-deep);
  border-radius: var(--radius-card);
}
.contact-page .contact-review-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.contact-page .contact-review h3 {
  margin: 0 0 0.75rem;
}
.contact-page .contact-review button {
  border: 0;
  padding: 0;
  background: none;
  color: var(--gold-deep);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.contact-page .contact-review dl {
  display: grid;
  grid-template-columns: minmax(8rem, 14rem) minmax(0, 1fr);
  gap: 0.35rem 1rem;
  margin: 0;
}
.contact-page .contact-review dt {
  font-weight: 700;
}
.contact-page .contact-review dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
@media (min-width: 800px) {
  .contact-page .contact-step[data-contact-step="business"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-page
    .contact-step[data-contact-step="business"]
    > :is(h2, fieldset, .member-note, .contact-actions),
  .contact-page
    .contact-step[data-contact-step="business"]
    > label:has(textarea),
  .contact-page
    .contact-step[data-contact-step="business"]
    > label:has([name="jobTitle"]) {
    grid-column: 1 / -1;
  }
}
@media (max-width: 600px) {
  .contact-page .contact-review dl {
    grid-template-columns: 1fr;
  }
}
.member-gate {
  padding: 1rem 0 1.5rem;
  background: var(--paper);
}
.article-page .compact-article-body:has(+ .member-gate) {
  padding-bottom: 1rem;
}
.member-gate .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "heading actions" "description note";
  align-items: center;
  gap: 0.4rem 1.5rem;
  width: min(calc(100% - 2 * var(--gutter)), 64rem);
  padding: 1rem 1.25rem;
  border: 1px solid var(--gold);
  border-radius: var(--radius-card);
}
.member-gate h2 {
  grid-area: heading;
  max-width: none;
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--h3-size);
  font-weight: 400;
  line-height: var(--h3-line);
  letter-spacing: var(--h3-tracking);
}
.member-gate .wrap > p:not(.member-note) {
  grid-area: description;
  margin: 0;
}
.member-gate .actions {
  grid-area: actions;
  justify-content: flex-end;
  margin: 0;
}
.member-gate .member-note {
  grid-area: note;
  margin: 0;
}
.member-gate .member-note a {
  color: var(--link);
}
@media (max-width: 760px) {
  .member-gate .wrap {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "heading" "description" "actions" "note";
  }
  .member-gate .actions {
    justify-content: flex-start;
    margin-top: 0.5rem;
  }
}
@media (max-width: 760px) {
  .account-layout {
    /* minmax(0, 1fr): the scrolling tab strip must not widen the page. */
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
  .account-nav {
    position: static;
  }
  .account-nav ul {
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
    padding-bottom: 0.4rem;
  }
  .account-nav a {
    white-space: nowrap;
    border-left: 0;
    border-bottom: 2px solid transparent;
  }
  .account-nav a:hover,
  .account-nav a:focus-visible,
  .account-nav a[aria-current="page"] {
    border-bottom-color: var(--gold-deep);
  }
  .member-facts {
    grid-template-columns: 1fr;
  }
}

/* Buttons and panels set display, which would override [hidden]. */
.member-page [hidden] {
  display: none !important;
}

/* Request access (/waitlist/), owner-approved layout 2026-11-09: the story
   beside the form card; phones stack the story first. Theme tokens only. */
.member-field select {
  width: 100%;
  box-sizing: border-box;
  min-height: var(--field-height);
  padding: var(--field-pad);
  border: 1px solid var(--line);
  border-radius: var(--radius-field);
  background: var(--paper);
  color: inherit;
  font: inherit;
  font-weight: 400;
}
.member-field select:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
}
.request-access {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.request-access-story h1 {
  max-width: 14ch;
  margin-bottom: 1.25rem;
}
.request-access-mission {
  max-width: 52ch;
  margin: 0;
  color: var(--stone);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
}
.request-access-steps {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.request-access-steps li {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.request-access-step-number {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1.5px solid var(--gold-deep);
  border-radius: 50%;
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.request-access-step-text {
  display: grid;
  line-height: 1.35;
}
.request-access-step-text small {
  color: var(--stone);
  font-size: 0.9rem;
}
/* Email confirmed page (/waitlist/confirm/): progress tracker and sign-off.
   Same circle markers as the request-access steps. */
.waitlist-page [data-waitlist-confirm] > p:not(.lede):not(.member-status) {
  max-width: 60ch;
}
.confirm-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  padding: 0.3rem 0.8rem 0.3rem 0.35rem;
  border: 1px solid var(--gold-deep);
  border-radius: 999px;
  color: var(--gold-deep);
  font-size: 0.9rem;
  font-weight: 600;
}
.confirm-badge-tick {
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--paper);
  font-size: 0.8rem;
}
/* Focus moves to the title only so screen readers announce the result; the
   heading is not interactive, so no focus ring. */
.waitlist-page h1[tabindex="-1"]:focus {
  outline: none;
}
.confirm-progress-title {
  margin: 2rem 0 1rem;
  font-size: var(--h4-size);
  line-height: var(--h4-line);
}
.confirm-progress {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}
.confirm-progress li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.confirm-progress-marker {
  display: grid;
  flex: none;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1.5px solid var(--gold-deep);
  border-radius: 50%;
  color: var(--gold-deep);
  font-size: 0.95rem;
  font-weight: 700;
}
.confirm-progress li[data-state="done"] .confirm-progress-marker {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--paper);
}
.confirm-progress li[data-state="done"] .confirm-progress-marker::before {
  content: "✓";
}
.confirm-progress li[data-state="current"] .confirm-progress-marker::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--gold-deep);
}
.confirm-progress li[data-state="current"] .confirm-progress-text {
  font-weight: 600;
}
.confirm-progress li[data-state="next"] {
  color: var(--stone);
}
.confirm-progress li[data-state="next"] .confirm-progress-marker {
  border-style: dashed;
  border-color: var(--stone);
}
.confirm-signoff {
  margin-top: 1.5rem;
  color: var(--stone);
  font-family: var(--font-display);
  font-style: italic;
}
.request-access-community-block {
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.request-access-subheading {
  max-width: none;
  margin: 0 0 1.25rem;
  font-size: var(--h3-size);
  line-height: var(--h3-line);
  letter-spacing: var(--h3-tracking);
}
.request-access-community {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.request-access-community-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  padding: 1rem;
  border: 1px solid rgba(212, 175, 124, 0.6);
  border-radius: var(--radius-card);
}
.request-access-community-card .community-icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.25rem;
}
.request-access-community-card strong {
  font-family: var(--font-display);
  font-size: var(--h4-size);
  font-weight: 400;
  line-height: var(--h4-line);
}
.request-access-community-lead {
  color: var(--stone);
  font-size: 0.9rem;
}
.request-access-community-card .status-badge {
  margin: 0.5rem 0 0;
  padding: 0.2rem 0.6rem;
  font-size: 0.58rem;
}
.request-access-benefits {
  display: grid;
  gap: 0.6rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.request-access-benefits li {
  position: relative;
  padding-left: 1.75rem;
}
.request-access-benefits li::before {
  content: "";
  position: absolute;
  top: 0.35em;
  left: 0.2rem;
  width: 0.7rem;
  height: 0.4rem;
  border-bottom: 2px solid var(--gold-deep);
  border-left: 2px solid var(--gold-deep);
  transform: rotate(-45deg);
}
.request-access-card {
  padding: var(--card-pad-roomy);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-card);
  background: var(--cream);
}
.request-access-card h2 {
  max-width: none;
  margin: 0 0 1.25rem;
  font-size: var(--h2-size);
  line-height: var(--h2-line);
  letter-spacing: var(--h2-tracking);
}
.request-access-card .member-form {
  max-width: none;
}
.request-access-names {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.member-form .request-access-interests {
  border: 0;
  padding: 0;
}
.member-form .request-access-interests legend {
  margin-bottom: 0.5rem;
  padding: 0;
  font-weight: 600;
}
.request-access-chips,
.nc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.request-access-chip,
.nc-chip {
  position: relative;
  cursor: pointer;
}
.request-access-chip input,
.nc-chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.request-access-chip span,
.nc-chip span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.5rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.9rem;
}
.request-access-chip:hover span,
.nc-chip:hover span {
  border-color: var(--gold-deep);
}
.request-access-chip input:checked + span,
.nc-chip input:checked + span {
  border-color: var(--gold-deep);
  background: color-mix(in srgb, var(--gold) 22%, var(--paper));
  font-weight: 600;
}
.request-access-chip input:checked + span::before,
.nc-chip input:checked + span::before {
  content: "✓";
  color: var(--gold-deep);
}
.request-access-chip input:focus-visible + span,
.nc-chip input:focus-visible + span {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
}
.request-access-submit {
  width: 100%;
  margin-top: 0.25rem;
}
.request-access-privacy {
  display: flex;
  gap: 0.6rem;
  margin: 1.25rem 0 0;
}
.request-access-lock {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  color: var(--gold-deep);
}
.request-access-privacy a,
.request-access-invited a {
  color: var(--gold-deep);
}
.request-access-invited {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
.request-access-done h2 {
  margin-bottom: 0.75rem;
}
.request-access-card.is-done
  > :is(#request-access-title, .request-access-privacy) {
  display: none;
}
@media (max-width: 900px) {
  .request-access {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .request-access-names,
  .request-access-community {
    grid-template-columns: minmax(0, 1fr);
  }
  .request-access-community-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.15rem 0.85rem;
    padding: 0.8rem 1rem;
  }
  .request-access-community-card .community-icon {
    grid-row: span 2;
    margin: 0;
  }
  .request-access-community-card .status-badge {
    grid-column: 3;
    grid-row: 1 / span 2;
    margin: 0;
  }
  .request-access-community-lead {
    grid-column: 2;
  }
}

/* ---------- Website update v3 (2026-10-30) ---------- */
/* Shared lower ribbon on every public page: motto, gold rule, tagline and
   fine flowing gold lines, then copyright and Privacy. The upper header is
   unchanged. */
.site-ribbon {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(212, 175, 124, 0.32);
  background: #070a0e;
  color: #c3c9d0;
}
.site-ribbon-lines {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: 7.5rem;
  color: var(--gold);
  pointer-events: none;
}
.site-ribbon-message {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  padding-block: 1.75rem 1.4rem;
  text-align: center;
}
.site-ribbon-motto,
.site-ribbon-tagline {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.7;
  text-transform: uppercase;
}
.site-ribbon-motto {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.22em;
}
.site-ribbon-word {
  display: inline-block;
}
.site-ribbon-rule {
  width: 2.25rem;
  height: 1px;
  background: var(--gold);
}
.site-ribbon-tagline {
  color: #ece6dc;
  font-weight: 600;
  letter-spacing: 0.28em;
}
.site-ribbon-base {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}
.site-ribbon-base p {
  margin: 0;
}
.site-ribbon-copyright {
  text-transform: uppercase;
}
/* The footer link row: About us, Contact us, Privacy, Terms (and Email
   updates where offered). It wraps on narrow screens; every link is at
   least 24px tall. */
.site-ribbon-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem 1.25rem;
}
.site-ribbon-links a,
.footer-email-updates {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: inherit;
}
/* "Email updates" is a button: it takes the links' letter spacing and
   underline position so the row reads as one. */
.footer-email-updates {
  letter-spacing: inherit;
  text-underline-offset: 0.2em;
}
.site-ribbon-links a:hover,
.footer-email-updates:hover {
  color: var(--gold);
}
:root[data-theme="light"] .site-ribbon {
  border-color: var(--line);
  background: var(--cream);
  color: var(--stone);
}
:root[data-theme="light"] .site-ribbon-tagline {
  color: var(--ink);
}
:root[data-theme="light"] .site-ribbon-base {
  border-color: var(--line);
}
body.home-page > .site-ribbon {
  flex: none;
}
/* Short pages: the space below the ribbon matches the ribbon. */
html:root {
  background: #070a0e;
}
:root[data-theme="light"] {
  background: var(--cream);
}
/* The homepage keeps its one-screen hero, so its ribbon is more compact. */
body.home-page > .site-ribbon .site-ribbon-message {
  gap: 0.35rem;
  padding-block: 0.7rem 0.55rem;
}
body.home-page > .site-ribbon .site-ribbon-base {
  padding-block: 0.45rem;
}
@media (max-width: 620px) {
  .site-ribbon-message {
    padding-block: 1.4rem 1.1rem;
  }
  .site-ribbon-motto {
    letter-spacing: 0.16em;
  }
  .site-ribbon-tagline {
    letter-spacing: 0.2em;
  }
  .site-ribbon-base {
    justify-content: center;
    padding-bottom: 4.5rem;
    text-align: center;
  }
  .site-ribbon-links {
    justify-content: center;
  }
}

/* Primary destinations scroll naturally above the shared ribbon. */
.primary-destination-page .route-section {
  min-height: 0;
}
.primary-destination-page .route-section h1 {
  max-width: none;
}

/* Align short landing pages with the homepage ribbon while letting longer
   content extend the document naturally instead of covering or clipping it. */
@media (min-width: 901px) {
  body:is(.solutions-page, .approach-page, .pulse-page, .community-page) {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
  }
  body:is(.solutions-page, .approach-page, .pulse-page, .community-page)
    > main {
    flex: 1 0 auto;
  }
  body:is(.solutions-page, .approach-page, .pulse-page, .community-page)
    > main
    > .route-section {
    padding-block: var(--main-start-gap) clamp(0.6rem, 1vh, 1rem);
  }
  body:is(.solutions-page, .approach-page, .pulse-page, .community-page)
    > .site-ribbon
    .site-ribbon-message {
    gap: 0.35rem;
    padding-block: 0.7rem 0.55rem;
  }
  body:is(.solutions-page, .approach-page, .pulse-page, .community-page)
    > .site-ribbon
    .site-ribbon-base {
    padding-block: 0.45rem;
  }
  .community-page .people-section .community-route-grid {
    margin-top: 1.5rem;
  }
}

/* Coming soon: only HabaMart and the three Community offerings. */
.status-badge {
  display: inline-block;
  align-self: flex-start;
  margin: 0 0 0.9rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--gold);
  color: #111720;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
}
:root[data-theme="light"] .status-badge {
  background: #e7c98f;
  color: #111720;
}

/* Approach */
.approach-page .approach-section h1 {
  margin-bottom: 1.2rem;
}
.approach-subtitle {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.62em;
  letter-spacing: -0.02em;
}
.approach-intro {
  display: grid;
  gap: 0.75rem;
  max-width: 62rem;
}
.approach-intro p {
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.55;
}
.approach-caption {
  max-width: 48rem;
  margin: clamp(1.25rem, 2vw, 1.75rem) 0;
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  line-height: 1.2;
}
.approach-caption span {
  display: block;
}
.approach-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.approach-page .approach-section .help-widget,
.solutions-page .solutions-section .help-widget {
  position: static;
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
  pointer-events: auto;
}
.approach-page .approach-section .help-pill,
.solutions-page .solutions-section .help-pill {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  height: auto;
  min-height: 48px;
  padding-block: 0.5rem;
}
@media (min-width: 1600px) {
  .approach-page .approach-section > .wrap,
  .solutions-page .solutions-section > .wrap {
    position: relative;
  }
  .approach-page .approach-section .help-widget,
  .solutions-page .solutions-section .help-widget {
    position: absolute;
    right: auto;
    bottom: 0;
    left: calc(100% - var(--gutter) + 0.5rem);
    width: max-content;
    max-width: calc((100vw - var(--max)) / 2 + var(--gutter) - 1rem);
    margin: 0;
  }
}
.approach-card {
  padding: var(--card-pad);
  border: 1px solid rgba(212, 175, 124, 0.6);
  border-radius: var(--radius-card);
}
.approach-card .step-number {
  margin: 0 0 0.65rem;
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.2;
}
.approach-card .step-number::after {
  display: block;
  width: 2.4rem;
  height: 2px;
  margin-top: 0.6rem;
  background: var(--gold);
  content: "";
}
.approach-card h2 {
  max-width: none;
  margin: 0 0 0.75rem;
  font-size: var(--h3-size);
  line-height: var(--h3-line);
  letter-spacing: var(--h3-tracking);
}
.approach-card p:last-child {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
}
@media (min-width: 901px) {
  .approach-page .approach-section {
    padding-bottom: 1.25rem;
  }
  .approach-page .approach-section h1 {
    margin-bottom: 0.75rem;
  }
  .approach-section .eyebrow {
    margin-bottom: 0.5rem;
  }
  .approach-caption {
    max-width: none;
    margin: 1rem 0;
    font-size: clamp(1.5rem, 2vw, 1.9rem);
  }
  .approach-card h2 {
    margin-bottom: 0.5rem;
  }
  .approach-card p:last-child {
    font-size: 0.9rem;
    line-height: 1.45;
  }
}

/* Solutions */
.solutions-page .solutions-section .lede {
  max-width: 52rem;
  margin-bottom: 0;
}
.solutions-page .solution-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}
.solutions-page .solution-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--card-pad-roomy);
  border-color: rgba(212, 175, 124, 0.6);
  border-radius: var(--radius-card);
  background: transparent;
}
/* The badge sits in the corner so all three titles stay aligned. */
.solutions-page .solution-card > .status-badge {
  position: absolute;
  top: clamp(1rem, 2vw, 1.5rem);
  right: clamp(1rem, 2vw, 1.5rem);
  margin: 0;
}
.solutions-page .solution-card h2 {
  max-width: none;
  padding-right: 7.5rem;
  margin: 0 0 0.75rem;
  font-size: var(--h2-size);
  line-height: var(--h2-line);
  letter-spacing: var(--h2-tracking);
}
.solutions-page .solution-card p:last-child {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* Community */
.community-page .people-section > .wrap > :is(.eyebrow, h1, .lede) {
  margin-inline: auto;
  text-align: center;
}
.community-page .people-section > .wrap > .lede {
  max-width: 46rem;
}
.community-page .community-route-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 0;
  border: 0;
  background: transparent;
}
.community-page .community-route-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.5rem;
  padding: var(--card-pad-roomy);
  border: 1px solid rgba(212, 175, 124, 0.6);
  border-radius: var(--radius-card);
  background: transparent;
  color: inherit;
}
.community-page .community-route-card:hover,
.community-page .community-route-card:focus-visible {
  background: rgba(212, 175, 124, 0.08);
  color: inherit;
}
.community-page .community-route-card .community-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.community-icon {
  width: 3rem;
  height: 3rem;
  color: var(--gold);
}
.community-page .community-route-card .community-card-top .status-badge {
  display: inline-block;
  margin: 0;
}
.community-page .community-route-card strong {
  font-family: var(--font-display);
  font-size: var(--h2-size);
  font-weight: 400;
  line-height: var(--h2-line);
  letter-spacing: var(--h2-tracking);
}
.community-lead-line {
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
}
.community-page .community-route-card small {
  margin: 0;
  color: inherit;
  font-size: 1rem;
  line-height: 1.6;
}
.community-secondary {
  margin-top: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(212, 175, 124, 0.5);
  color: var(--stone);
  font-size: 0.92rem;
  line-height: 1.5;
}
.community-page .community-route-card .community-secondary {
  max-width: 24rem;
}
.community-detail-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}
.community-detail-head h1 {
  margin-bottom: 0;
}
.community-detail-head .status-badge {
  margin: 0;
}
.community-detail .community-lead-line {
  margin: 1rem 0 0.5rem;
}
.community-detail .lede {
  max-width: 44rem;
}
.community-detail .community-secondary {
  display: block;
  max-width: 44rem;
}

/* Pulse */
.pulse-page .pulse-landing > .wrap {
  display: block;
  height: auto;
}
/* The page-title role (docs/operations/design-foundation.md): 64px on a
   laptop, like every other site page. */
.pulse-page .pulse-landing > .wrap > h1 {
  max-width: none;
  font-size: var(--title-size);
  line-height: var(--title-line);
  letter-spacing: var(--title-tracking);
}
.pulse-page .pulse-landing > .wrap > .lede {
  max-width: 48rem;
}

/* "Read article", "View all articles" and "Return": one link style, in the
   one gold, underlined, and at least 24px tall. */
.pulse-read {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  min-height: 24px;
  color: var(--link);
  font-size: var(--note-size);
  line-height: var(--note-line);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}
.pulse-read:hover {
  text-decoration-thickness: 2px;
}
.pulse-page .pulse-recent {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

/* Pulse listing (approved 2026-10-31): one continuous dark navy surface for
   the middle of the page. Entries have no borders, separators or image
   panels; each article's saved artwork (drawn without its own background)
   flows beside the text. The upper header and the lower ribbon are untouched. */
.pulse-page .pulse-landing {
  --pulse-ink: #eef1f6;
  --pulse-muted: #b9c2d0;
  --pulse-heading: #f7f3ea;
  --pulse-gold: #d4af7c;
  background:
    radial-gradient(
      ellipse 60% 50% at 78% 18%,
      rgba(42, 64, 102, 0.55),
      transparent 70%
    ),
    radial-gradient(
      ellipse 55% 45% at 14% 70%,
      rgba(31, 48, 80, 0.5),
      transparent 72%
    ),
    linear-gradient(180deg, #0b1526 0%, #0a1220 55%, #070d18 100%);
  color: var(--pulse-ink);
}
:root[data-theme="light"] .pulse-page .pulse-landing {
  --pulse-ink: var(--ink);
  --pulse-muted: #526173;
  --pulse-heading: var(--ink);
  --pulse-gold: var(--link);
  background: linear-gradient(180deg, var(--paper), var(--cream));
}
.pulse-page .pulse-landing > .wrap > .eyebrow {
  color: var(--pulse-gold);
}
.pulse-page .pulse-landing > .wrap > h1 {
  color: var(--pulse-heading);
}
.pulse-page .pulse-landing > .wrap > .lede {
  color: var(--pulse-muted);
}
.pulse-page .pulse-recent {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.pulse-page .pulse-recent h2 {
  max-width: none;
  color: var(--pulse-heading);
  font-size: var(--h3-size);
  line-height: var(--h3-line);
  letter-spacing: var(--h3-tracking);
}
.pulse-entries {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 5vw, 4rem);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.pulse-entries-empty {
  color: var(--pulse-muted);
}
.pulse-entry {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: center;
  min-width: 0;
}
.pulse-entry-art {
  position: relative;
  aspect-ratio: 1;
  min-width: 0;
  pointer-events: none;
}
.pulse-entry-art svg {
  display: block;
  width: 100%;
  height: 100%;
  -webkit-mask-image: radial-gradient(
    ellipse 72% 72% at 50% 50%,
    #000 42%,
    transparent 74%
  );
  mask-image: radial-gradient(
    ellipse 72% 72% at 50% 50%,
    #000 42%,
    transparent 74%
  );
}
.pulse-entry-copy {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}
.pulse-entry-date {
  margin: 0;
  color: var(--pulse-gold);
  font-size: var(--eyebrow-size);
  font-weight: var(--eyebrow-weight);
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
}
/* Entry titles: the lead story reads at the 38px heading size, a title in a
   list at 20px, and any other at 26px. */
.pulse-entry-title {
  max-width: none;
  margin: 0;
  color: var(--pulse-heading);
  font-family: var(--font-display);
  font-weight: 400;
  overflow-wrap: anywhere;
  font-size: var(--h3-size);
  line-height: var(--h3-line);
  letter-spacing: var(--h3-tracking);
}
.pulse-entry.is-featured .pulse-entry-title {
  font-size: var(--h2-size);
  line-height: var(--h2-line);
  letter-spacing: var(--h2-tracking);
}
.pulse-entry-summary {
  margin: 0;
  max-width: 34rem;
  color: var(--pulse-muted);
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  line-height: 1.6;
}
.pulse-landing .pulse-read {
  color: var(--pulse-gold);
}
.pulse-entry .pulse-read {
  margin-top: 0.25rem;
}
.pulse-landing .pulse-read:focus-visible {
  outline: 2px solid var(--pulse-gold);
  outline-offset: 4px;
}
@media (max-width: 900px) {
  .pulse-entries {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 6vw, 3rem);
  }
}
@media (max-width: 620px) {
  .pulse-entry {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .pulse-entry-art {
    aspect-ratio: 16 / 10;
    max-width: 24rem;
  }
}

/* Pulse Beat leads the reading list; the remaining articles sit alongside. */
.pulse-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr);
  align-items: start;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.pulse-beat,
.pulse-layout .pulse-recent {
  min-width: 0;
}
/* A section label: a heading for structure, styled as the shared eyebrow. */
.pulse-beat > h2 {
  max-width: none;
  margin: 0 0 1rem;
  color: var(--pulse-gold);
  font-family: var(--font-text);
  font-size: var(--eyebrow-size);
  font-weight: var(--eyebrow-weight);
  letter-spacing: var(--eyebrow-tracking);
  line-height: 1.6;
  text-transform: uppercase;
}
.pulse-layout .pulse-recent {
  margin: 0;
  padding-left: clamp(1.5rem, 3vw, 2rem);
  border-left: 1px solid rgba(212, 175, 124, 0.4);
}
.pulse-layout .pulse-recent > h2 {
  margin: 0 0 1.2rem;
}
.pulse-layout .pulse-entries {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0;
}
.pulse-layout .pulse-entry.is-featured {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
}
.pulse-layout .pulse-entry.is-featured .pulse-entry-art {
  aspect-ratio: 16 / 3;
  width: 100%;
  max-width: none;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 124, 0.32);
  border-radius: var(--radius-card);
  background: rgba(8, 15, 27, 0.3);
}
.pulse-layout .pulse-entry.is-featured .pulse-entry-art svg {
  mask-image: none;
  -webkit-mask-image: none;
}
.pulse-beat-excerpt {
  max-width: 46rem;
  color: var(--pulse-ink);
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.55;
}
.pulse-beat-excerpt h4 {
  margin: 0.8rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: var(--h4-size);
  font-weight: 400;
  line-height: var(--h4-line);
}
.pulse-beat-excerpt p {
  margin: 0 0 0.65rem;
}
.pulse-beat-excerpt a {
  color: var(--pulse-gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
.pulse-layout .pulse-recent .pulse-entry {
  grid-template-columns: minmax(4rem, 5.5rem) minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(212, 175, 124, 0.25);
}
.pulse-layout .pulse-recent .pulse-entry:first-child {
  padding-top: 0;
}
.pulse-layout .pulse-recent .pulse-entry-art {
  aspect-ratio: 1;
  width: 100%;
  max-width: none;
}
.pulse-layout .pulse-recent .pulse-entry-copy {
  gap: 0.4rem;
}
.pulse-layout .pulse-recent .pulse-entry-title {
  font-size: var(--h4-size);
  line-height: var(--h4-line);
  letter-spacing: 0;
}
.pulse-layout .pulse-recent .pulse-read {
  margin: 0;
}
.pulse-view-all {
  margin-top: 0.75rem;
}
/* The complete article directory uses the available width rather than leaving
   a short Beat card beside a long, narrow list. */
.pulse-directory-return {
  margin-top: 1.25rem;
}
.pulse-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 2rem;
  margin-top: 1.25rem;
}
.pulse-directory .pulse-entry {
  grid-template-columns: minmax(3.5rem, 5rem) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(212, 175, 124, 0.25);
}
.pulse-directory .pulse-entry-copy {
  gap: 0.45rem;
}
.pulse-directory .pulse-entry-title {
  font-size: var(--h4-size);
  line-height: var(--h4-line);
  letter-spacing: 0;
}
@media (max-width: 900px) {
  .pulse-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .pulse-directory-grid {
    grid-template-columns: 1fr;
  }
}
/* Give the weekly edition more reading space on the landing view. The full
   article and article list remain available on their own pages. */
@media (min-width: 901px) {
  .pulse-page .pulse-landing:not(.pulse-all-articles) {
    padding-block: var(--main-start-gap) 1.1rem;
  }
  .pulse-page .pulse-landing:not(.pulse-all-articles) > .wrap > h1 {
    margin-block: 0.3rem 0.55rem;
  }
  /* This view keeps the Beat and the ribbon on one 900px-tall screen, so
     its introduction reads in the body role, not the larger lead. */
  .pulse-page .pulse-landing:not(.pulse-all-articles) > .wrap > .lede {
    max-width: 65rem;
    margin: 0;
    font-size: var(--body-size);
    line-height: var(--body-line);
  }
  .pulse-landing:not(.pulse-all-articles) .pulse-layout {
    margin-top: 0.9rem;
  }
  .pulse-landing:not(.pulse-all-articles) .pulse-beat > h2,
  .pulse-landing:not(.pulse-all-articles) .pulse-recent > h2 {
    margin-bottom: 0.6rem;
  }
  .pulse-landing:not(.pulse-all-articles) .pulse-entry.is-featured {
    gap: 0.45rem;
  }
  .pulse-landing:not(.pulse-all-articles)
    .pulse-entry.is-featured
    .pulse-entry-art {
    aspect-ratio: auto;
    height: 2.5rem;
  }
  .pulse-landing:not(.pulse-all-articles)
    .pulse-entry.is-featured
    .pulse-entry-copy {
    gap: 0.4rem;
  }
  .pulse-landing:not(.pulse-all-articles) .pulse-entry-summary,
  .pulse-landing:not(.pulse-all-articles) .pulse-beat-excerpt {
    font-size: 0.98rem;
    line-height: 1.4;
  }
  .pulse-landing:not(.pulse-all-articles) .pulse-beat-excerpt h4 {
    margin: 0.4rem 0 0.2rem;
  }
  .pulse-landing:not(.pulse-all-articles) .pulse-beat-excerpt p {
    margin-bottom: 0.35rem;
  }
  .pulse-landing:not(.pulse-all-articles) .pulse-recent .pulse-entry {
    grid-template-columns: minmax(2.75rem, 3.5rem) minmax(0, 1fr);
    gap: 0.75rem;
    padding-block: 0.4rem;
  }
}
@media (max-width: 900px) {
  .pulse-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .pulse-layout .pulse-recent {
    padding: 1.5rem 0 0;
    border-top: 1px solid rgba(212, 175, 124, 0.4);
    border-left: 0;
  }
}

/* The full public Beat reads inside its own accessible area on roomy
   desktops. On narrow or short displays it returns to normal page flow. */
.pulse-beat-reading-area {
  min-width: 0;
}
.pulse-beat-scroll-hint {
  display: none;
}
.pulse-beat-reading {
  min-width: 0;
  max-width: 46rem;
  color: var(--pulse-ink);
  overflow-wrap: anywhere;
}
.pulse-beat-reading:focus-visible {
  outline: 2px solid var(--pulse-gold);
  outline-offset: 3px;
}
.pulse-byline {
  margin: 0;
  color: var(--pulse-muted);
  font-size: 0.85rem;
}
.pulse-beat-reading .article-lead {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0.5rem 0;
}
.pulse-beat-reading .article-lead img {
  max-width: 100%;
  height: auto;
}
.pulse-beat-reading .block {
  padding: 0.5rem 0;
  background: transparent;
  color: inherit;
}
.pulse-beat-reading .block > .wrap {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
}
/* Inside the short preview every heading reads at the 20px size. */
.pulse-beat-reading .block :is(h2, h3) {
  max-width: none;
  margin: 0.5rem 0;
  font-family: var(--font-display);
  font-size: var(--h4-size);
  font-weight: 400;
  line-height: var(--h4-line);
  letter-spacing: 0;
}
.pulse-beat-reading .block :is(p, li) {
  color: var(--pulse-ink);
  font-size: 1rem;
  line-height: 1.5;
}
.pulse-beat-reading .block p {
  margin: 0 0 0.6rem;
}
.pulse-beat-reading .block a:not(.button) {
  color: var(--pulse-gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
.pulse-beat-reading .article-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(212, 175, 124, 0.4);
  border-radius: var(--radius-card);
}
.pulse-beat-reading .article-table {
  width: 100%;
  border-collapse: collapse;
}
.pulse-beat-reading .article-table :is(th, td) {
  min-width: 7rem;
  padding: 0.55rem;
  border-bottom: 1px solid rgba(212, 175, 124, 0.3);
  text-align: left;
  vertical-align: top;
}
.pulse-beat-reading .article-table th {
  color: var(--pulse-gold);
}
.pulse-beat-reading .cards .card {
  background: transparent;
  border-color: rgba(212, 175, 124, 0.4);
  color: var(--pulse-ink);
}
.pulse-beat-reading blockquote {
  margin: 0.75rem 0;
  padding-left: 1rem;
  border-left: 2px solid var(--pulse-gold);
}
@media (min-width: 901px) and (min-height: 700px) {
  .pulse-landing:not(.pulse-all-articles) .pulse-beat-scroll-hint {
    display: block;
    margin: 0 0 0.2rem;
    color: var(--pulse-muted);
    font-size: 0.8rem;
  }
  .pulse-landing:not(.pulse-all-articles) .pulse-beat-reading {
    max-height: max(10rem, calc(100svh - 42rem));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 0.75rem;
    scrollbar-color: var(--pulse-gold) transparent;
    scrollbar-width: auto;
    scrollbar-gutter: stable;
  }
}

/* Mid-sized desktops keep the contact action in document flow; reserve
   that height so the lower ribbon remains fully visible. */
@media (min-width: 901px) and (max-width: 1599px) and (min-height: 700px) {
  .pulse-landing:not(.pulse-all-articles) .pulse-beat-reading {
    max-height: max(10rem, calc(100svh - 45rem));
  }
}

/* Keep the Solutions copy and cards together on ordinary desktop screens. */
.solutions-page .solutions-section {
  padding-block: clamp(1.5rem, 2.5vw, 2rem);
}
.solutions-page .solutions-section h1 {
  max-width: none;
  margin-bottom: clamp(0.75rem, 1.5vw, 1.15rem);
}
.solutions-page .solutions-section .lede {
  max-width: 70rem;
}
.solutions-page .solution-grid {
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
}

/* Article artwork: the saved pattern, in the antiquity slot. */
.compact-article-stack > .article-artwork-feature,
.article-artwork-feature {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(14rem, 34vw, 30rem);
  margin: -9.375rem auto 0 !important;
  overflow: hidden;
  border-radius: 0.125rem;
  box-shadow: 0 1.875rem 3.75rem -1.55rem rgba(0, 0, 0, 0.55);
}
.article-artwork-feature svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 900px) {
}
@media (max-width: 620px) {
  .approach-cards,
  .solutions-page .solution-grid,
  .community-page .community-route-grid {
    grid-template-columns: 1fr;
  }

  .compact-article-stack > .article-artwork-feature,
  .article-artwork-feature {
    height: 13rem;
    margin-top: -6rem !important;
  }
}

/* Contact: persistent helper above the message; the example placeholder
   is muted and is never submitted. */
.member-field .member-help {
  font-size: 0.9rem;
  line-height: 1.5;
}
.contact-form textarea::placeholder {
  color: var(--stone);
  opacity: 0.8;
}

/* Articles with a legacy lead image: the artwork sits above that image
   (which keeps its caption and attribution) without overlapping the title. */
.article-artwork-standalone {
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
}
.article-artwork-standalone .article-artwork-feature,
.article-artwork-standalone .compact-article-stack > .article-artwork-feature {
  margin-top: 0 !important;
}

/* ---------- Emerging Intelligence (2026-10-30 follow-up) ---------- */
/* Homepage: five original artworks behind the hero, clipped to it. */
.ambient-stack.ambient-art {
  filter: none;
}
.ambient-art .ambient-layer {
  object-position: 70% 50%;
  transition: opacity 12s ease-in-out;
}
.ambient-art .ambient-layer.is-on {
  opacity: 1;
}
[data-ambient-pick="manual"] .ambient-art .ambient-layer {
  transition-duration: 1.2s;
}
.ambient-caption {
  gap: 0.875rem;
  flex-wrap: wrap;
  max-width: min(70%, 54rem);
}
.ambient-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
}
.ambient-dot,
.ambient-toggle {
  display: inline-grid;
  place-items: center;
  /* 24px: the smallest comfortable target. */
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  font-family: inherit;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(201, 164, 106, 0.75);
  cursor: pointer;
}
.ambient-dot::before {
  content: "";
  width: 0.4375rem;
  height: 0.4375rem;
  border: 1px solid rgba(201, 164, 106, 0.6);
  border-radius: 50%;
}
.ambient-dot.is-current::before {
  background: rgba(236, 211, 162, 0.9);
}
.ambient-toggle span {
  width: 0.5rem;
  height: 0.625rem;
  border-inline: 2px solid currentColor;
}
.ambient-toggle[aria-pressed="true"] span {
  width: 0;
  height: 0;
  border-block: 0.3125rem solid transparent;
  border-inline: 0.5rem solid currentColor;
  border-right: 0;
}
.ambient-dot:focus-visible,
.ambient-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
:root[data-theme="light"] :is(.ambient-dot, .ambient-toggle) {
  color: var(--gold-deep);
}
:root[data-theme="light"] .ambient-dot::before {
  border-color: var(--gold-deep);
}
:root[data-theme="light"] .ambient-dot.is-current::before {
  background: var(--gold-deep);
}
@media (prefers-reduced-motion: reduce) {
  .ambient-art .ambient-layer {
    transition: none;
  }
}
@media (max-width: 640px) {
  .ambient-caption {
    max-width: none;
  }
}

/* Articles: artwork faint behind the heading, right of the text, with a
   protective fade so the title always reads first. */
/* Keep editorial rhythm changes inside articles; About and Privacy also use
   compact-article-copy, and retain their existing spacing. */
.article-page .article-heading .article-meta {
  margin-top: 1.375rem;
}
.article-page .article-heading .lede {
  margin-top: 1.125rem;
  font-style: italic;
}
.article-page .compact-article-copy {
  margin-top: 2.5rem;
}
.article-page .compact-article-copy h2 {
  margin: 1.5rem 0 0.75rem;
}
.article-page .compact-article-copy h2::before {
  margin-bottom: 0.5rem;
}
.article-page .compact-article-copy .article-pull-quote {
  margin: 2.25rem 0;
  padding-block: 1.5rem;
}
.article-page .compact-article-copy .article-pull-quote:has(+ h2) {
  margin-bottom: 1.5rem;
}

.article-heading.has-artwork {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.compact-article-page .article-heading.has-artwork {
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}
.article-heading-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.article-heading-art svg {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 1400px);
  height: 100%;
  opacity: 0.9;
}
.article-heading-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 46% 62% at 50% 46%,
      rgba(11, 15, 20, 0.86) 0%,
      rgba(11, 15, 20, 0.55) 55%,
      transparent 100%
    ),
    linear-gradient(0deg, var(--ink) 0%, transparent 28%);
}
.article-art-credit {
  position: absolute;
  right: clamp(1rem, 4vw, 2.5rem);
  bottom: 0.625rem;
  margin: 0;
  color: rgba(168, 161, 151, 0.6) !important;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
}
@media (max-width: 640px) {
  .article-heading-art svg {
    opacity: 0.6;
  }
}

/* Solutions: small gold product icons above each heading. */
.solution-icon {
  display: block;
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 0 1.25rem;
  color: var(--gold);
}
:root[data-theme="light"] .solution-icon {
  color: var(--gold-deep);
}

.solutions-page .solution-card h2 {
  padding-right: 0;
}
/* Light mode: the article masthead is paper-coloured, so the protective fade
   and the credit follow it. */
:root[data-theme="light"] .article-heading-art::after {
  background:
    radial-gradient(
      ellipse 46% 62% at 50% 46%,
      rgba(255, 253, 249, 0.92) 0%,
      rgba(255, 253, 249, 0.62) 55%,
      transparent 100%
    ),
    linear-gradient(0deg, var(--paper) 0%, transparent 28%);
}
:root[data-theme="light"] .article-art-credit {
  color: #5c6269 !important;
}
/* Narrow screens: room for the wrapped caption and controls below the
   hero content, so they never overlap the Pulse teaser. */
@media (max-width: 1100px) {
  .home-hero-inner {
    padding-bottom: 7.5rem;
  }
}

/* Compact account controls; the site header and footer are unchanged. */
.account-header {
  justify-content: space-between;
  flex-wrap: wrap;
}
.account-section[hidden] {
  display: none;
}
.account-plan-options {
  margin: 1.5rem 0;
}
.account-plan-options summary {
  cursor: pointer;
  color: var(--gold-deep);
  font-weight: 600;
}
.account-plan-options[open] summary {
  margin-bottom: 1rem;
}

/* Keep the account ribbon visible on roomy desktop screens while the
   account content scrolls independently when it needs more room. */
.account-return {
  width: 100%;
  padding-top: 1.25rem;
}
@media (min-width: 901px) and (min-height: 600px) {
  body:has(> main > .account-page) {
    height: 100svh;
    display: flex;
    flex-direction: column;
  }
  body:has(> main > .account-page) > .header,
  body:has(> main > .account-page) > .site-ribbon {
    flex: none;
  }
  body:has(> main > .account-page) > main {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
  }
  body:has(> main > .account-page) > main > .account-page {
    min-height: 100%;
    padding-block: var(--main-start-gap) 1rem;
  }
  body:has(> main > .account-page) > .site-ribbon .site-ribbon-message {
    gap: 0.35rem;
    padding-block: 0.7rem 0.55rem;
  }
  body:has(> main > .account-page) > .site-ribbon .site-ribbon-base {
    padding-block: 0.45rem;
  }
}
/* My account in the site menu appears only for signed-in members. */
.nav-drawer [data-member-account-link][hidden] {
  display: none;
}

/* Design foundation on site pages (docs/operations/design-foundation.md,
   follow-up a). Most pages read the tokens in their own rules above; this
   block holds what is shared between them. */
/* About, Privacy and Terms are site pages, so they carry the page title,
   not the larger article title. */
:is(.about-page, .privacy-page) .article-heading h1 {
  font-family: var(--font-display);
  font-size: var(--title-size);
  font-weight: 400;
  line-height: var(--title-line);
  letter-spacing: var(--title-tracking);
}
/* Links in running text: the one gold, underlined. Pulse keeps its own. */
.route-section:not(.pulse-landing)
  :is(p, li, dd, small):not(nav *)
  > a:not([class]) {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
.route-section:not(.pulse-landing)
  :is(p, li, dd, small):not(nav *)
  > a:not([class]):hover {
  text-decoration-thickness: 2px;
}
/* The 404 page. */
.not-found-page .route-section {
  min-height: 60vh;
}
/* Phones: roomy cards step down to the standard inner space. */
@media (max-width: 620px) {
  .solutions-page .solution-card,
  .community-page .community-route-card,
  .contact-page .contact-step,
  .request-access-card {
    padding: var(--card-pad);
  }
}

/* Design reference page (/styleguide/, renderers/styleguide.mjs). Layout for
   the page itself, the proposed button states, and frozen copies of today's
   styles for its "today / after" pairs. Nothing here styles another page.
   The .styleguide-was-* and .styleguide-next-* rules go when the follow-up
   changes in docs/operations/design-foundation.md have landed. */
.styleguide {
  padding-block: var(--main-start-gap) 6rem;
}
.styleguide-section {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.styleguide-intro {
  max-width: 68ch;
  margin-bottom: 0.5rem;
}
.styleguide-row,
.styleguide-compare {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: 1rem 2.5rem;
  align-items: start;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.styleguide-compare {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}
.styleguide-compare > .styleguide-spec {
  grid-column: 1 / -1;
}
.styleguide-compare-wide {
  grid-template-columns: minmax(0, 1fr);
}
.styleguide-spec {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  color: var(--stone);
  font-size: var(--note-size);
  line-height: var(--note-line);
}
.styleguide-spec strong {
  color: inherit;
  font-size: var(--body-size);
}
.styleguide-spec code {
  justify-self: start;
  padding: 0.1rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-field);
  font-size: 0.8rem;
}
.styleguide-sample,
.styleguide-pane {
  min-width: 0;
}
.styleguide-sample > :is(p, div):last-child,
.styleguide-pane > :last-child {
  margin-bottom: 0;
}
.styleguide-pane {
  padding: 1rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius-card);
  container-type: inline-size;
}
.styleguide-pane-after {
  border-style: solid;
  border-color: var(--gold-deep);
}
.styleguide-tag {
  margin: 0 0 0.9rem;
  color: var(--stone);
  font-size: var(--eyebrow-size);
  font-weight: var(--eyebrow-weight);
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
}
.styleguide-pane-after .styleguide-tag {
  color: var(--gold-deep);
}
.styleguide-samples {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}
.styleguide-form {
  display: grid;
  gap: 1rem;
  max-width: 30rem;
}
.styleguide-label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}
.styleguide-fieldset {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  border: 0;
}
.styleguide-fieldset legend {
  padding: 0;
  font-weight: 600;
}
.styleguide-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}
.styleguide-cards-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.styleguide-cards p {
  margin-bottom: 0.4rem;
}
.styleguide-swatches {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0 0;
}
.styleguide-swatch {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-card);
  background: var(--link);
}
.styleguide-line {
  display: block;
  white-space: nowrap;
}
.styleguide-line-joiner {
  font-size: 0.62em;
  font-style: italic;
  line-height: 1.1;
  letter-spacing: 0;
}
/* Button states. The pointer-over style is the site-wide rule beside
   .button; .is-focus pins the keyboard focus ring so it can be seen at
   rest. */
.styleguide-page .button.is-focus {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
.styleguide-page .nc-field.is-focus {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
}
/* Today, frozen: copies of the rules that later changes replace. */
.styleguide-was-hero {
  margin: 0;
  font-family: var(--font-text);
  font-size: min(clamp(2.125rem, 10.2vw, 4.75rem), 10.9cqi);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.022em;
}
.styleguide-was-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.75rem;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.styleguide-was-button-secondary {
  border-color: color-mix(in srgb, currentColor 35%, transparent);
  background: transparent;
  color: inherit;
}
.styleguide-was-article-title {
  max-width: 56.25rem;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.3vw, 4.75rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.styleguide-was-article-heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 2.7vw, 2.375rem);
  font-weight: 400;
  line-height: 1.15;
}
.styleguide-was-search {
  margin-top: 0;
}
.styleguide-was-search input {
  min-height: 52px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
}
.styleguide-was-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: var(--cream);
}
.styleguide-was-card-square {
  border-radius: 0;
}
.styleguide-was-card-mid {
  border-radius: 6px;
}
.styleguide-was-card-round {
  border-radius: 10px;
}
/* After, proposed: shown here only until the pages adopt them. */
.styleguide-next-hero {
  max-width: none;
  margin: 0;
  /* As .home-hero .hero-headline: roomier than .nc-title for stacked lines. */
  line-height: 1.05;
  letter-spacing: -0.02em;
}
/* The header before follow-up (d): a slim outlined Sign in and a 32px
   switch, frozen here for the "today" sample. */
.styleguide-was-signin {
  padding: 0.28rem 0.7rem;
  border: 1px solid rgba(212, 175, 124, 0.7);
  border-radius: 2px;
  background: rgba(212, 175, 124, 0.08);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.styleguide-was-toggle {
  display: inline-flex;
  align-items: center;
  width: 32px;
  height: 20px;
  padding: 2px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: linear-gradient(90deg, #111720 50%, #fffdf9 50%);
}
.styleguide-was-toggle span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
}
@media (max-width: 900px) {
  .styleguide-row,
  .styleguide-compare {
    grid-template-columns: minmax(0, 1fr);
  }
  .styleguide-cards,
  .styleguide-cards-three {
    grid-template-columns: minmax(0, 1fr);
  }
}
