:root {
  --ink: #0b1630;
  --ink-soft: #35415c;
  --muted: #64708b;
  --paper: #f7f8fc;
  --surface: #ffffff;
  --surface-2: #eef2fb;
  --navy: #07162f;
  --navy-2: #0c2348;
  --blue: #2f63ff;
  --blue-2: #5c83ff;
  --cyan: #67d4ff;
  --lavender: #8c7bff;
  --green: #1d9a77;
  --amber: #a76809;
  --red: #b84747;
  --line: #dce2ef;
  --line-dark: rgba(255,255,255,.14);
  --shadow-sm: 0 1px 2px rgba(8, 22, 48, .06), 0 8px 24px rgba(8, 22, 48, .05);
  --shadow-md: 0 18px 55px rgba(8, 22, 48, .12);
  --radius-sm: .75rem;
  --radius: 1.1rem;
  --radius-lg: 1.6rem;
  /* One shared alignment frame for navigation, heroes, films, workspaces, and footer. */
  --layout-max: 1180px;
  --layout-gutter: clamp(1rem, 3vw, 2.25rem);
  --max: var(--layout-max);
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.nav-open, body.filters-open { overflow: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover { color: var(--blue); }
button, input, select, textarea { font: inherit; }
button, .button { -webkit-tap-highlight-color: transparent; }
::selection { background: rgba(47, 99, 255, .18); }

.skip-link {
  position: fixed;
  z-index: 200;
  top: .7rem;
  left: .7rem;
  transform: translateY(-160%);
  padding: .7rem 1rem;
  border-radius: .6rem;
  color: white;
  background: var(--navy);
  box-shadow: var(--shadow-md);
}
.skip-link:focus { transform: none; }

.container {
  width: min(calc(100% - (var(--layout-gutter) * 2)), var(--layout-max));
  margin-inline: auto;
}
.container.narrow { max-width: 820px; }
.about-message-house-download { padding: 1rem 0 1.5rem; color: var(--muted); background: var(--paper); border-top: 1px solid var(--line); }
.about-message-house-download p { margin: 0; text-align: center; }
.about-message-house-download a { margin-left: .35rem; color: var(--blue); font-weight: 760; }
/* “Wide” changes a component's internal layout, not its page-edge alignment. */
.container.wide { max-width: var(--layout-max); }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  color: white;
  background: rgba(7, 22, 47, .94);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: .68rem;
  color: white;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -.04em;
  font-size: 1.15rem;
  white-space: nowrap;
}
.brand:hover { color: white; }
.brand-mark {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: .55rem;
  color: var(--navy);
  background: linear-gradient(135deg, var(--cyan), #fff 80%);
  font-size: .78rem;
  letter-spacing: -.07em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.65);
}
.site-nav { display: flex; align-items: center; gap: .15rem; }
.site-nav a {
  padding: .62rem .72rem;
  border-radius: .65rem;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 670;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  color: white;
  background: rgba(255,255,255,.08);
}
.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line-dark);
  border-radius: .75rem;
  color: white;
  background: transparent;
  cursor: pointer;
}
.nav-toggle svg { width: 1.3rem; vertical-align: middle; }

main { min-height: 60vh; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section.compact { padding: 3rem 0; }
.section.dark {
  color: white;
  background:
    radial-gradient(circle at 90% 10%, rgba(47,99,255,.32), transparent 32%),
    radial-gradient(circle at 12% 95%, rgba(103,212,255,.12), transparent 34%),
    var(--navy);
}
.section.tint { background: var(--surface-2); }
.section-rule { border-top: 1px solid var(--line); }

.eyebrow {
  margin: 0 0 .85rem;
  color: var(--blue);
  font-size: .77rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.dark .eyebrow { color: var(--cyan); }
.eyebrow-row { display: flex; align-items: center; gap: .5rem; margin-bottom: .85rem; }
.eyebrow-row .eyebrow { margin: 0; }
.help-tip {
  position: relative;
  display: inline-grid;
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 1px solid #b9c5da;
  border-radius: 50%;
  color: var(--blue);
  background: white;
  cursor: help;
  font-size: .7rem;
  font-weight: 900;
  line-height: 1;
}
.help-tip:hover, .help-tip:focus-visible { color: white; border-color: var(--blue); background: var(--blue); outline: none; }
.help-tip::after {
  display: none;
}
.tooltip-popover {
  position: fixed;
  z-index: 500;
  width: max-content;
  max-width: min(320px, calc(100vw - 24px));
  padding: .7rem .78rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: .65rem;
  color: white;
  background: rgba(4,16,39,.97);
  box-shadow: 0 12px 38px rgba(4,16,39,.28);
  font-size: .76rem;
  line-height: 1.45;
  pointer-events: none;
}
.tooltip-popover[hidden] { display: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 7.5vw, 6.6rem); font-weight: 880; }
h2 { font-size: clamp(2rem, 4.4vw, 3.7rem); font-weight: 840; }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 1rem; letter-spacing: -.015em; }
p { margin: 0 0 1rem; }
.lede {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.55;
}
.dark .lede { color: rgba(255,255,255,.74); }
.display-accent { color: var(--cyan); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 500; }
.section-head {
  max-width: 800px;
  margin-bottom: 2.4rem;
}
.section-head p:last-child { margin-bottom: 0; }
.kicker-line { width: 3.2rem; height: .22rem; margin: 1.2rem 0; border-radius: 1rem; background: var(--blue); }

.hero {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 80% 10%, rgba(47,99,255,.38), transparent 30%),
    radial-gradient(circle at 0 100%, rgba(103,212,255,.12), transparent 35%),
    linear-gradient(150deg, #061329 0%, #0a1d3f 62%, #0c2853 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.8) .55px, transparent .55px);
  background-size: 19px 19px;
  mask-image: linear-gradient(to bottom right, transparent 5%, black, transparent 78%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
  min-height: min(760px, calc(100vh - 4.4rem));
  padding-block: clamp(4.5rem, 10vw, 8rem);
}
.hero-copy h1 { max-width: 820px; }
.hero-copy .lede { margin-top: 1.6rem; color: rgba(255,255,255,.75); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.page-hero-actions { max-width: 760px; justify-content: flex-end; margin-top: 1.55rem; }
.glossary-hero-jump { min-width: 12rem; }
.stance {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1.4rem;
  color: rgba(255,255,255,.66);
  font-size: .9rem;
}
.stance::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 .25rem rgba(103,212,255,.1); }

.button {
  display: inline-flex;
  min-height: 2.85rem;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .78rem 1.08rem;
  border: 1px solid transparent;
  border-radius: .78rem;
  color: white;
  background: var(--blue);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 780;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { color: white; transform: translateY(-1px); background: #2355eb; box-shadow: 0 12px 30px rgba(47,99,255,.22); }
.button.secondary { color: var(--ink); background: white; border-color: var(--line); }
.button.secondary:hover { color: var(--ink); background: #f9fbff; box-shadow: var(--shadow-sm); }
.button.ghost { color: white; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.button.ghost:hover { background: rgba(255,255,255,.14); box-shadow: none; }
.button.small { min-height: 2.35rem; padding: .55rem .78rem; font-size: .82rem; }
.button svg { width: 1rem; height: 1rem; }

.architecture {
  position: relative;
  display: grid;
  gap: .8rem;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.07);
  box-shadow: 0 30px 90px rgba(0,0,0,.27);
  backdrop-filter: blur(16px);
}
.arch-layer {
  position: relative;
  padding: .9rem;
  border-radius: 1rem;
}
.arch-layer.interface { background: rgba(255,255,255,.96); color: var(--ink); }
.arch-layer.access { background: rgba(47,99,255,.17); border: 1px solid rgba(103,212,255,.22); }
.arch-layer.system { background: #041027; border: 1px solid rgba(255,255,255,.12); }
.arch-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: .7rem; font-size: .68rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.arch-label span:last-child { color: var(--muted); font-weight: 650; letter-spacing: 0; text-transform: none; }
.access .arch-label span:last-child, .system .arch-label span:last-child { color: rgba(255,255,255,.55); }
.arch-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem; }
.arch-card {
  min-height: 4.65rem;
  padding: .68rem;
  border: 1px solid var(--line);
  border-radius: .72rem;
  background: white;
  box-shadow: var(--shadow-sm);
}
.arch-card strong { display: block; font-size: .78rem; }
.arch-card small { display: block; margin-top: .3rem; color: var(--muted); font-size: .67rem; line-height: 1.35; }
.arch-pills { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; }
.arch-pill { padding: .55rem .35rem; border-radius: .6rem; text-align: center; color: white; background: rgba(255,255,255,.09); font-size: .72rem; font-weight: 760; }
.system-core { padding: .95rem; border-radius: .78rem; background: linear-gradient(135deg, #132b58, #091936); }
.system-core strong { display: block; font-size: .9rem; }
.system-core p { margin: .35rem 0 0; color: rgba(255,255,255,.62); font-size: .72rem; }
.arch-arrow { position: absolute; left: 50%; bottom: -.74rem; z-index: 4; transform: translateX(-50%); width: 1.5rem; height: 1.5rem; display: grid; place-items: center; border-radius: 50%; color: var(--navy); background: var(--cyan); font-size: .72rem; font-weight: 900; }

.grid { display: grid; gap: 1rem; }
.grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card {
  position: relative;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.card.flat { box-shadow: none; }
.card.dark-card { color: white; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.13); box-shadow: none; }
.card h3, .card h4 { margin-bottom: .7rem; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--ink-soft); }
.dark-card p { color: rgba(255,255,255,.68); }
.card-link { text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link:hover h3 { color: var(--blue); }
.icon-chip { width: 2.45rem; height: 2.45rem; display: grid; place-items: center; margin-bottom: 1rem; border-radius: .78rem; color: var(--blue); background: rgba(47,99,255,.1); font-weight: 900; }
.dark-card .icon-chip { color: var(--cyan); background: rgba(103,212,255,.1); }

.linkedin-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.2rem; }
.posts-section-head { margin: 0 0 1rem; }
.posts-section-head:not(:first-child) { margin-top: 3.25rem; }
.blog-grid { display: grid; gap: 1.2rem; }
.blog-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(47,99,255,.16), rgba(255,255,255,.055));
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
}
.blog-card-media { display: block; aspect-ratio: 1200 / 630; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.14); background: #07162f; }
.blog-card-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.blog-card-media:hover img { transform: scale(1.018); }
.blog-card-body { max-width: 1080px; padding: clamp(2rem,5vw,4.5rem); }
.blog-card-body h2 { max-width: 820px; margin: .8rem 0 1rem; color: white; font-size: clamp(2rem,4vw,3.65rem); line-height: 1.02; letter-spacing: -.045em; }
.blog-card-body p { max-width: 760px; color: rgba(255,255,255,.72); font-size: 1.02rem; }
.linkedin-card { overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); background: rgba(255,255,255,.065); box-shadow: 0 24px 70px rgba(0,0,0,.18); }
.linkedin-card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: rgba(255,255,255,.05); }
.linkedin-card-media img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; transition: transform .35s ease; }
.linkedin-card-media:hover img { transform: scale(1.025); }
.linkedin-card-body { padding: 1.35rem; }
.linkedin-card-body h3 { margin: .7rem 0; color: white; font-size: clamp(1.45rem, 2.4vw, 2rem); }
.linkedin-card-body p { margin: 0; color: rgba(255,255,255,.68); }
.linkedin-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; color: var(--cyan); font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.linkedin-meta time { color: rgba(255,255,255,.56); }
.linkedin-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; margin-top: 1.2rem; }
.linkedin-card-actions .text-link { color: rgba(255,255,255,.86); }

.film-layout { display: grid; grid-template-columns: minmax(300px,.72fr) minmax(0,1.28fr); gap: clamp(2rem,5vw,5rem); align-items: center; }
.film-copy h2 { margin: .35rem 0 0; font-size: clamp(2rem,4vw,3.65rem); line-height: 1.06; letter-spacing: -.04em; }
.film-heading-line { display: block; white-space: nowrap; }
.film-section.dark .film-copy h2 { color: white; }
.film-section.dark .film-copy .lede { color: rgba(255,255,255,.68); }
.film-frame { position: relative; border-radius: var(--radius-lg); background: var(--navy); box-shadow: var(--shadow-lg); overflow: hidden; }
.film-frame::before { content: ""; display: block; padding-top: 56.25%; }
.film-frame video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; background: var(--navy); }
.film-frame video::cue { color: #fff; background: rgba(3, 12, 28, .88); font: 700 1rem/1.35 var(--font-sans); text-shadow: 0 1px 2px rgba(0,0,0,.7); }
.atlas-hero { color: white; background: radial-gradient(circle at 82% 20%, rgba(47,99,255,.26), transparent 30%), var(--navy); }
.atlas-hero-inner { display: grid; grid-template-columns: minmax(320px,1.15fr) minmax(0,.85fr); gap: clamp(2rem,5vw,5rem); align-items: center; padding-block: clamp(3.25rem,6vw,5.5rem); }
.atlas-hero-copy h1 { max-width: 760px; font-size: clamp(3rem,5vw,5.4rem); }
.atlas-hero-copy .lede { max-width: 650px; margin-top: 1.15rem; color: rgba(255,255,255,.76); }
.atlas-hero-copy .hero-help { max-width: 620px; color: rgba(255,255,255,.58); font-size: .9rem; }
.atlas-hero-copy .film-transcript { margin-top: 1.25rem; color: rgba(255,255,255,.72); }
.atlas-hero-media { display: grid; gap: 1rem; align-self: center; }
.atlas-hero-film { width: 100%; }
.atlas-hero-jump { min-width: 12rem; justify-self: center; box-shadow: 0 12px 34px rgba(0,0,0,.2); }
.film-transcript { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.film-transcript summary { padding: 1rem 0; cursor: pointer; color: var(--blue); font-weight: 850; }
.film-transcript p { margin: 0 0 .9rem; color: var(--muted); font-size: .9rem; }
.film-section.dark .film-transcript { border-color: rgba(255,255,255,.16); }
.film-section.dark .film-transcript summary { color: var(--cyan); }
.film-section.dark .film-transcript p { color: rgba(255,255,255,.64); }

.field-note-hero .lede { max-width: 850px; }
.field-note-copy { padding-top: .4rem; }
.field-note-copy blockquote { margin: 1rem 0 2rem; padding-left: 1.2rem; border-left: 4px solid var(--blue); color: var(--ink); font-family: var(--serif); font-size: clamp(1.55rem, 3vw, 2.35rem); line-height: 1.25; }
.field-note-source { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(310px,.65fr); gap: clamp(2rem,5vw,4rem); align-items: start; }
.field-note-source figure { margin: 0; }
.field-note-source img { width: 100%; max-height: 720px; object-fit: contain; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-sm); }
.field-note-source figcaption { margin-top: .8rem; color: var(--muted); font-size: .84rem; }
.field-note-pagination a { color: white; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06); }
.field-note-pagination a span { color: rgba(255,255,255,.56); }
.article-hero { padding-bottom: clamp(3.5rem,8vw,7rem); }
.article-hero-inner { max-width: 1020px; padding-top: clamp(2.5rem,6vw,5.5rem); }
.article-hero h1 { max-width: 1000px; font-size: clamp(3rem,7vw,6.6rem); line-height: .96; letter-spacing: -.055em; }
.article-hero .lede { max-width: 850px; }
.article-byline { margin-top: 1.75rem; color: rgba(255,255,255,.64); font-size: .92rem; font-weight: 760; }
.article-section { padding-top: clamp(3.5rem,7vw,6.5rem); }
.article-container { max-width: 790px; }
.article-copy { color: #263653; font-family: var(--serif); font-size: clamp(1.1rem,1.4vw,1.27rem); line-height: 1.72; }
.article-copy > p:first-child { color: var(--ink); font-size: clamp(1.32rem,2vw,1.65rem); line-height: 1.5; }
.article-copy h2 { margin-top: clamp(3.8rem,8vw,6rem); font-family: var(--font-sans); font-size: clamp(2.1rem,4vw,3.35rem); line-height: 1.04; letter-spacing: -.045em; }
.article-copy a { color: #174ed7; text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .15em; }
.article-copy li { padding-left: .35rem; }
.article-copy blockquote { margin: 4rem 0 1rem; padding: 2rem 0 2rem clamp(1.4rem,4vw,2.6rem); border-left: 5px solid var(--blue); color: var(--ink); font-family: var(--font-sans); font-size: clamp(1.8rem,3.5vw,3rem); font-weight: 880; line-height: 1.08; letter-spacing: -.035em; }
.article-copy blockquote p { margin: 0; }
.original-publication-image { margin: 0 0 clamp(2.5rem,6vw,4.5rem); }
.original-publication-image img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.original-publication-image figcaption { margin-top: .8rem; color: var(--muted); font-size: .85rem; }
.original-publication-image figcaption a { color: var(--blue); font-weight: 800; }
.article-copy blockquote p + p { margin-top: .65rem; color: var(--blue); }
.article-footer { max-width: 820px; }
.article-footer h2 { max-width: 720px; color: white; font-size: clamp(2rem,4vw,3.5rem); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.stat {
  padding: 1.1rem;
  border-left: 2px solid var(--blue);
}
.stat strong { display: block; font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1; letter-spacing: -.05em; }
.stat span { display: block; margin-top: .45rem; color: var(--muted); font-size: .82rem; }
.dark .stat span { color: rgba(255,255,255,.6); }

.quote-block {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-left: .32rem solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: white;
  box-shadow: var(--shadow-sm);
}
.quote-block blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.35; }
.quote-block cite { display: block; margin-top: 1rem; color: var(--muted); font-style: normal; font-size: .86rem; }

.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.sticky { position: sticky; top: 6.4rem; }
.prose { color: var(--ink-soft); font-size: 1.04rem; }
.prose h2 { margin: 3.2rem 0 1.1rem; color: var(--ink); font-size: clamp(1.8rem, 3vw, 2.6rem); }
.prose h3 { margin: 2.2rem 0 .8rem; color: var(--ink); }
.prose p { margin-bottom: 1.25rem; }
.prose ul, .prose ol { margin: 0 0 1.4rem; padding-left: 1.35rem; }
.prose li { margin-bottom: .55rem; }
.prose strong { color: var(--ink); }
.prose .callout { margin: 2rem 0; }

.callout {
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(47,99,255,.24);
  border-radius: var(--radius);
  background: rgba(47,99,255,.055);
}
.callout strong { color: var(--ink); }
.callout.warning { border-color: rgba(167,104,9,.28); background: rgba(255,187,70,.08); }
.callout.dark-callout { color: white; border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.06); }
.callout.dark-callout strong { color: white; }

.profile-review-callout { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; padding: 1.35rem 1.5rem; border: 1px solid rgba(47,99,255,.22); border-radius: var(--radius); background: linear-gradient(135deg, rgba(47,99,255,.07), rgba(103,212,255,.07)); }
.profile-review-callout h3 { margin: .15rem 0 .55rem; }
.profile-review-callout p { margin: 0 0 .65rem; color: var(--ink-soft); }
.profile-review-callout .button { flex: 0 0 auto; }
.profile-review-form { display: grid; gap: 1.1rem; }
.profile-review-form fieldset { margin: 0; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); }
.profile-review-form legend { padding: 0 .45rem; color: var(--ink); font-size: 1rem; font-weight: 850; }
.profile-review-form .field + .field { margin-top: .8rem; }
.profile-review-form small { display: block; color: var(--muted); font-size: .72rem; line-height: 1.4; }
.form-grid { display: grid; gap: .8rem; }
.form-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.review-choice-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.choice-card { position: relative; display: flex; align-items: flex-start; gap: .7rem; min-height: 3.35rem; padding: .8rem; border: 1px solid #cbd4e5; border-radius: .72rem; cursor: pointer; background: white; }
.choice-card:has(input:checked) { color: #1746c4; border-color: var(--blue); background: rgba(47,99,255,.07); box-shadow: 0 0 0 2px rgba(47,99,255,.08); }
.choice-card input { margin-top: .23rem; }
.check-row { display: flex; align-items: flex-start; gap: .65rem; padding: .72rem; border: 1px solid var(--line); border-radius: .7rem; color: var(--ink-soft); background: white; cursor: pointer; }
.check-row input { flex: 0 0 auto; margin-top: .25rem; width: 1.05rem; height: 1.05rem; }
.check-row span, .check-row strong, .check-row small { display: block; }
.check-row small { margin-top: .2rem; color: var(--muted); font-size: .72rem; }
.review-section-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .55rem; }
.review-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.error-summary, .submission-success { padding: 1.2rem 1.3rem; border-radius: var(--radius); }
.error-summary { color: #7f1d1d; border: 1px solid rgba(184,71,71,.35); background: #fff5f5; }
.error-summary h2, .submission-success h2 { margin: 0 0 .55rem; font-size: 1.45rem; }
.error-summary ul { margin: 0; padding-left: 1.25rem; }
.submission-success { border: 1px solid rgba(29,154,119,.32); background: rgba(29,154,119,.07); }
.field-error { margin: .2rem 0 0; color: #9f2f2f !important; font-size: .72rem; font-weight: 750; }
[aria-invalid="true"] { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(184,71,71,.10) !important; }

.pill-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.pill, .badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 1.75rem;
  padding: .28rem .58rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: white;
  font-size: .71rem;
  font-weight: 720;
  line-height: 1.2;
}
.badge.blue { color: #1746c4; border-color: rgba(47,99,255,.24); background: rgba(47,99,255,.07); }
.badge.green { color: #0e7457; border-color: rgba(29,154,119,.25); background: rgba(29,154,119,.08); }
.badge.amber { color: #865000; border-color: rgba(167,104,9,.24); background: rgba(255,187,70,.11); }
.badge.gray { color: var(--muted); background: var(--surface-2); }
.badge.dark-badge { color: white; border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.08); }

.page-hero {
  color: white;
  background:
    radial-gradient(circle at 88% 20%, rgba(47,99,255,.30), transparent 28%),
    linear-gradient(150deg, var(--navy), var(--navy-2));
}
.page-hero-inner { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.page-hero h1 { max-width: 920px; font-size: clamp(2.7rem, 6vw, 5.4rem); }
.page-hero.article-hero h1 { max-width: 1000px; font-size: clamp(3rem,7vw,6.6rem); line-height: .96; letter-spacing: -.055em; text-wrap: balance; }
.page-hero .lede { margin-top: 1.2rem; color: rgba(255,255,255,.72); }
.page-hero-artwork { background: var(--navy); }
.page-hero-artwork-inner { padding-block: 1.1rem 1.6rem; }
.page-hero-artwork-utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100%, 1180px);
  margin: 0 auto .85rem;
}
.page-hero-artwork-context { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.page-hero-artwork-context .breadcrumbs { margin: 0; }
.page-hero-artwork-actions { flex: 0 0 auto; margin: 0; }
.page-hero-artwork-actions .button { min-height: 2.6rem; padding: .62rem 1rem; }
.responsive-hero-artwork {
  width: min(100%, 1180px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(103,212,255,.18);
  border-radius: 1.1rem;
  background: #031329;
  box-shadow: 0 22px 62px rgba(0,8,24,.3);
}
.responsive-hero-artwork picture, .responsive-hero-artwork img { display: block; width: 100%; }
.responsive-hero-artwork img { height: auto; }
.about-summary-title span { display: block; }
.about-summary-grid .card h2 { font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1.08; }
.page-hero-with-preview {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(360px,500px);
  grid-template-areas: "copy visual" "actions visual";
  align-items: center;
  gap: clamp(2rem,5vw,5rem);
  min-height: 430px;
  padding-block: clamp(2.8rem,5vw,4rem);
}
.page-hero-with-preview .page-hero-copy { grid-area: copy; min-width: 0; }
.page-hero-with-preview h1 { max-width: 790px; font-size: clamp(2.8rem,5.2vw,4.75rem); }
.page-hero-with-preview .lede { max-width: 760px; }
.headline-variant { display: block; }
.headline-mobile { display: none; }
.headline-line { display: block; }
.headline-glossary { font-size: .82em; line-height: 1.04; }
.headline-glossary .headline-line { white-space: nowrap; }
.headline-methodology, .headline-about { font-size: .88em; line-height: 1.05; }
.page-hero-with-preview h1:has(.headline-compositions) + .lede { max-width: 570px; }
.page-hero-with-preview h1:has(.headline-methodology) + .lede { max-width: 550px; }
.glossary-lede-line { display: block; white-space: nowrap; }
.hero-visual {
  --hv-system: #2f63ff;
  --hv-read: #67d4ff;
  --hv-output: #f7fbff;
  --hv-approval: #ff816e;
  --hv-proof: #8c7bff;
  position: relative;
  grid-area: visual;
  position: relative;
  width: 100%;
  aspect-ratio: .94;
  margin: 0;
  overflow: hidden;
  justify-self: end;
  border: 1px solid rgba(103,212,255,.18);
  border-radius: 1rem;
  background: #031329;
  box-shadow: 0 22px 62px rgba(0,8,24,.28);
}
.hero-visual img { position: absolute; top: 0; right: 0; display: block; width: auto; max-width: none; height: 100%; }
.hero-visual-glossary img { inset: 2% 1% 2% 3%; width: 96%; height: 96%; object-fit: contain; }
@media (min-width: 621px) {
  .hero-visual-home img,
  .hero-visual-thesis img,
  .hero-visual-patterns img,
  .hero-visual-compositions img,
  .hero-visual-composer img,
  .hero-visual-methodology img,
  .hero-visual-posts img,
  .hero-visual-about img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .hero-visual-home::after,
  .hero-visual-thesis::after,
  .hero-visual-patterns::after,
  .hero-visual-compositions::after,
  .hero-visual-composer::after,
  .hero-visual-methodology::after,
  .hero-visual-posts::after,
  .hero-visual-about::after {
    display: none;
  }
}
@media (min-width: 901px) {
  .page-hero-with-preview:has(.headline-glossary) {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 400px);
    gap: 20px;
  }
}
.hero-visual::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 18%;
  pointer-events: none;
  background: linear-gradient(90deg, #031329 0%, rgba(3,19,41,.96) 42%, rgba(3,19,41,0) 100%);
}
.page-hero-with-preview .page-hero-actions { grid-area: actions; margin-top: -1.15rem; }
.page-hero-with-aside { grid-template-columns: minmax(0, 1fr) minmax(190px, 232px); }
.page-hero-with-aside h1 { max-width: 900px; }
.thesis-hero-visual {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 344px;
  margin: 0;
  overflow: hidden;
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(103,212,255,.25);
  border-radius: 1.1rem;
  background:
    linear-gradient(rgba(103,212,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103,212,255,.055) 1px, transparent 1px),
    radial-gradient(circle at 84% 12%, rgba(103,212,255,.18), transparent 34%),
    linear-gradient(155deg, rgba(12,38,78,.96), rgba(5,19,43,.98));
  background-size: 28px 28px, 28px 28px, auto, auto;
  box-shadow: 0 24px 70px rgba(1,10,28,.28);
}
.thesis-hero-visual::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 5.15rem;
  bottom: 3.2rem;
  left: 1.42rem;
  width: 2px;
  background: linear-gradient(var(--cyan), rgba(47,99,255,.12));
}
.thesis-hero-mark {
  display: inline-grid;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border-radius: .48rem;
  color: var(--navy);
  background: linear-gradient(145deg, #f7fbff, var(--cyan));
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: -.02em;
}
.thesis-hero-visual p {
  display: grid;
  gap: .08em;
  margin: 2rem 0 0 1.05rem;
  color: rgba(255,255,255,.86);
  font-size: 1.48rem;
  font-weight: 720;
  line-height: 1.04;
  letter-spacing: -.035em;
}
.thesis-hero-visual p strong { color: white; font-size: 2.55em; line-height: .9; letter-spacing: -.07em; }
.thesis-hero-visual .thesis-hero-dash { margin-block: .08em; color: var(--cyan); font-weight: 450; }
.thesis-hero-trace { position: absolute; right: 1.25rem; bottom: 1.2rem; left: 2.45rem; height: 1.8rem; border-bottom: 1px solid rgba(103,212,255,.25); }
.thesis-hero-trace i { position: absolute; bottom: -1px; width: 18%; border-top: 2px solid var(--cyan); transform: rotate(-10deg); transform-origin: left; }
.thesis-hero-trace i:nth-child(1) { left: 2%; }
.thesis-hero-trace i:nth-child(2) { left: 35%; width: 24%; transform: rotate(-18deg); }
.thesis-hero-trace i:nth-child(3) { right: 0; width: 23%; transform: rotate(-27deg); }
.hero-visual-stage { position: absolute; inset: 0; overflow: hidden; }
.hero-visual-stage::before {
  content: '';
  position: absolute;
  inset: 4%;
  opacity: .28;
  background-image: linear-gradient(rgba(103,212,255,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(103,212,255,.10) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle, #000 15%, transparent 74%);
}
.hero-visual-stage > * { position: absolute; box-sizing: border-box; }

/* Patterns: scope -> job -> useful experience -> action boundary. */
.hv-pattern-job { left: 39%; top: 44%; width: 24px; height: 24px; border: 2px solid var(--hv-output); transform: rotate(45deg); }
.hv-pattern-interface { right: 3%; top: 22%; width: 38%; height: 54%; border: 2px solid var(--hv-output); background: rgba(47,99,255,.10); }
.hv-pattern-interface i:nth-child(1) { left: 9%; top: 11%; width: 54%; height: 2px; background: var(--hv-read); }
.hv-pattern-interface i:nth-child(2) { left: 9%; top: 34%; width: 38%; height: 38%; border: 1px solid var(--hv-read); }
.hv-pattern-interface i:nth-child(3) { right: 9%; top: 34%; width: 31%; height: 38%; background: linear-gradient(to top, var(--hv-system) 0 44%, transparent 44%); border-bottom: 1px solid var(--hv-read); }
.hv-pattern-gate { right: 9%; bottom: 8%; width: 38px; height: 12px; border: 2px solid var(--hv-approval); border-top: 0; }
.hv-pattern-gate::after { content: ''; position: absolute; right: 3px; bottom: 8px; width: 7px; height: 7px; border-right: 2px solid var(--hv-approval); border-bottom: 2px solid var(--hv-approval); transform: rotate(45deg); }
.hv-line { top: 49%; height: 2px; background: var(--hv-read); }
.hv-line-a { left: 25%; width: 15%; }
.hv-line-b { left: 47%; width: 14%; }

/* Compositions: reads converge; approved actions return to the owner. */
.hv-source { left: 2%; width: 26%; height: 24%; border: 1px solid rgba(103,212,255,.65); background: rgba(47,99,255,.08); }
.hv-source-a { top: 5%; }
.hv-source-b { top: 38%; }
.hv-source-c { bottom: 5%; }
.hv-source-a i { left: 12%; top: 28%; width: 30%; height: 30%; border-radius: 50%; border: 1px solid var(--hv-read); }
.hv-source-b i { bottom: 17%; width: 12%; background: var(--hv-read); }
.hv-source-b i:nth-child(1) { left: 18%; height: 24%; }
.hv-source-b i:nth-child(2) { left: 39%; height: 46%; }
.hv-source-b i:nth-child(3) { left: 60%; height: 68%; }
.hv-source-c i { left: 17%; top: 23%; width: 58%; height: 56%; border: 1px solid var(--hv-read); border-top-right-radius: 9px; }
.hv-composition-output { right: 2%; top: 29%; width: 36%; height: 42%; border: 2px solid var(--hv-output); background: rgba(255,255,255,.04); }
.hv-composition-output i:nth-child(1) { left: 10%; top: 16%; width: 52%; height: 2px; background: var(--hv-read); }
.hv-composition-output i:nth-child(2) { left: 10%; top: 34%; width: 78%; height: 48%; border: 1px solid rgba(255,255,255,.45); }
.hv-read-line { left: 28%; width: 34%; height: 2px; background: var(--hv-read); }
.hv-read-a { top: 17%; transform: rotate(17deg); transform-origin: left; }
.hv-read-b { top: 50%; }
.hv-read-c { top: 82%; transform: rotate(-17deg); transform-origin: left; }
.hv-return-line { left: 34%; width: 27%; height: 1px; border-top: 2px dashed var(--hv-approval); }
.hv-return-a { top: 41%; transform: rotate(-12deg); }
.hv-return-b { top: 68%; transform: rotate(12deg); }
.hv-approval-gate { left: 47%; top: 51%; width: 20px; height: 20px; border: 2px solid var(--hv-approval); transform: rotate(45deg); background: var(--navy); }

/* Composer: implementation choices become one inspectable brief. */
.hv-inputs { left: 3%; top: 17%; width: 38%; height: 66%; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.hv-inputs i { position: relative; border: 1px solid rgba(103,212,255,.72); background: rgba(47,99,255,.10); }
.hv-input-scope::before { content: ''; position: absolute; left: 37%; top: 25%; width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--hv-read); }
.hv-input-outcome { transform: rotate(45deg) scale(.72); border-color: var(--hv-output) !important; }
.hv-input-system::before { content: ''; position: absolute; inset: 22% 18%; border: 1px solid var(--hv-system); box-shadow: 0 7px 0 -1px var(--navy), 0 7px 0 0 var(--hv-system); }
.hv-input-boundary { border-color: var(--hv-approval) !important; }
.hv-input-boundary::before { content: ''; position: absolute; left: 22%; right: 22%; top: 50%; height: 2px; background: var(--hv-approval); }
.hv-assemble-line { left: 42%; top: 49%; width: 14%; height: 2px; background: var(--hv-read); }
.hv-assemble-line::after { content: ''; position: absolute; right: -1px; top: -4px; width: 7px; height: 7px; border-top: 2px solid var(--hv-read); border-right: 2px solid var(--hv-read); transform: rotate(45deg); }
.hv-brief { right: 2%; top: 14%; width: 41%; height: 72%; border: 2px solid var(--hv-output); background: rgba(255,255,255,.04); }
.hv-brief::after { content: ''; position: absolute; right: -2px; top: -2px; border-left: 19px solid transparent; border-bottom: 19px solid rgba(255,255,255,.38); }
.hv-brief i { left: 12%; right: 12%; height: 2px; background: rgba(255,255,255,.65); }
.hv-brief i:nth-child(1) { top: 22%; }
.hv-brief i:nth-child(2) { top: 36%; width: 46%; }
.hv-brief i:nth-child(3) { top: 50%; }
.hv-brief b { left: 12%; right: 12%; bottom: 12%; height: 27%; border: 1px solid var(--hv-read); background: linear-gradient(90deg, rgba(103,212,255,.16) 48%, transparent 48%); }

/* Glossary: search reveals relationships in an otherwise flat index. */
.hv-index-stack { left: 7%; top: 12%; width: 63%; height: 76%; }
.hv-index-stack i { position: absolute; width: 76%; height: 24%; border: 1px solid rgba(255,255,255,.36); background: rgba(47,99,255,.08); }
.hv-index-stack i:nth-child(1) { left: 0; top: 0; }
.hv-index-stack i:nth-child(2) { left: 7%; top: 25%; border-color: var(--hv-proof); }
.hv-index-stack i:nth-child(3) { left: 14%; top: 50%; border-color: var(--hv-read); }
.hv-index-stack i:nth-child(4) { left: 21%; top: 75%; border-color: var(--hv-output); }
.hv-index-stack i::after { content: ''; position: absolute; left: 10%; top: 46%; width: 56%; height: 2px; background: currentColor; opacity: .65; }
.hv-search-lens { right: 7%; top: 19%; width: 39%; aspect-ratio: 1; border: 3px solid var(--hv-output); border-radius: 50%; background: rgba(103,212,255,.06); }
.hv-search-handle { right: 5%; top: 57%; width: 31%; height: 3px; background: var(--hv-output); transform: rotate(48deg); transform-origin: right; }
.hv-meaning-map { right: 15%; top: 30%; width: 22%; height: 22%; border: 1px solid var(--hv-read); transform: rotate(45deg); }
.hv-meaning-map i { width: 5px; height: 5px; border-radius: 50%; background: var(--hv-read); }
.hv-meaning-map i:nth-child(1) { left: -3px; top: -3px; }
.hv-meaning-map i:nth-child(2) { right: -3px; top: -3px; }
.hv-meaning-map i:nth-child(3) { right: -3px; bottom: -3px; }

/* Method: five visible production states, not one generic automation diagram. */
.hv-method-path { left: 6%; top: 57%; width: 88%; height: 2px; background: linear-gradient(90deg, var(--hv-proof), var(--hv-read)); transform: rotate(-9deg); }
.hv-method-stage { top: 44%; width: 15%; aspect-ratio: 1; border: 1px solid rgba(103,212,255,.7); background: var(--navy); transform: translateY(-50%); }
.hv-method-stage::after { content: ''; position: absolute; left: 50%; top: 100%; width: 1px; height: 28px; background: rgba(103,212,255,.38); }
.hv-method-idea { left: 2%; top: 67%; border-color: var(--hv-proof); }
.hv-method-source { left: 22%; top: 59%; }
.hv-method-structure { left: 42%; top: 51%; }
.hv-method-build { left: 62%; top: 43%; }
.hv-method-verify { left: 82%; top: 35%; border-color: var(--hv-output); }
.hv-method-idea i { left: 39%; top: 39%; width: 22%; height: 22%; border-radius: 50%; background: var(--hv-proof); }
.hv-method-source i { left: 22%; top: 20%; width: 50%; height: 60%; border: 1px solid var(--hv-read); }
.hv-method-source i:nth-child(2) { transform: translate(7px,-6px); opacity: .45; }
.hv-method-structure i { width: 30%; height: 28%; border: 1px solid var(--hv-read); }
.hv-method-structure i:nth-child(1) { left: 16%; top: 18%; }
.hv-method-structure i:nth-child(2) { right: 16%; bottom: 18%; }
.hv-method-build i { left: 18%; right: 18%; height: 2px; background: var(--hv-read); }
.hv-method-build i:nth-child(1) { top: 25%; }
.hv-method-build i:nth-child(2) { top: 48%; }
.hv-method-build i:nth-child(3) { top: 71%; width: 38%; }
.hv-method-verify i { left: 28%; top: 20%; width: 33%; height: 50%; border-right: 3px solid var(--hv-output); border-bottom: 3px solid var(--hv-output); transform: rotate(45deg); }

/* Posts: five proposition-specific editorial covers joined as one thesis. */
.hv-post { top: 20%; width: 19%; height: 62%; border: 1px solid rgba(255,255,255,.34); background: rgba(47,99,255,.08); }
.hv-post-a { left: 1%; }
.hv-post-b { left: 21%; top: 14%; border-color: var(--hv-read); }
.hv-post-c { left: 41%; top: 10%; border-color: var(--hv-output); }
.hv-post-d { left: 61%; top: 14%; border-color: var(--hv-proof); }
.hv-post-e { left: 81%; }
.hv-post-a i { left: 22%; right: 22%; bottom: 18%; height: 45%; border-top: 6px solid var(--hv-system); border-bottom: 6px solid var(--hv-read); }
.hv-post-b i:nth-child(1) { left: 15%; top: 23%; width: 70%; height: 20%; border: 1px solid var(--hv-read); }
.hv-post-b i:nth-child(2) { left: 42%; top: 47%; width: 16%; height: 34%; background: var(--hv-read); }
.hv-post-c i { left: 24%; top: 24%; width: 52%; height: 52%; border: 2px solid var(--hv-output); transform: rotate(45deg); }
.hv-post-d i:nth-child(1) { left: 21%; top: 28%; width: 23%; height: 44%; border: 1px solid var(--hv-proof); }
.hv-post-d i:nth-child(2) { right: 21%; top: 28%; width: 23%; height: 44%; border: 1px solid var(--hv-read); }
.hv-post-e i { left: 20%; right: 20%; top: 47%; height: 2px; background: var(--hv-read); box-shadow: 0 -15px 0 var(--hv-output), 0 15px 0 var(--hv-approval); }
.hv-post-thread { left: 8%; right: 8%; top: 86%; height: 2px; background: linear-gradient(90deg, var(--hv-system), var(--hv-read), var(--hv-proof)); }

/* About: organic direction and machine execution converge on one public artifact. */
.hv-finished-site { left: 34%; bottom: 3%; width: 36%; height: 31%; border: 2px solid var(--hv-output); background: rgba(255,255,255,.04); }
.hv-finished-site i:nth-child(1) { left: 8%; right: 8%; top: 12%; height: 2px; background: var(--hv-read); }
.hv-finished-site i:nth-child(2) { left: 8%; top: 28%; width: 84%; height: 33%; border: 1px solid rgba(255,255,255,.42); }
.hv-finished-site i:nth-child(3) { left: 8%; right: 8%; bottom: 10%; height: 8px; background: repeating-linear-gradient(90deg, var(--hv-system) 0 19%, transparent 19% 27%); }

/* Filled, proposition-specific states that survive the real mobile slot. */
.hv-pattern-audience { left: 1%; top: 25%; width: 20%; height: 50%; display: grid; grid-template-columns: repeat(3,1fr); align-items: center; gap: 3px; padding: 6px; border-left: 3px solid var(--hv-read); background: rgba(47,99,255,.13); }
.hv-pattern-audience i { position: relative; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--hv-read); background: rgba(103,212,255,.12); }
.hv-pattern-audience i:nth-child(2) { box-shadow: 0 12px 0 -5px var(--hv-read); }
.hv-pattern-audience i:nth-child(3) { border-radius: 2px; background: repeating-linear-gradient(90deg, rgba(103,212,255,.45) 0 3px, transparent 3px 6px); }
.hv-pattern-job { left: 27%; top: 45%; width: 25px; height: 25px; border: 2px solid var(--hv-output); background: rgba(140,123,255,.24); transform: rotate(45deg); }
.hv-pattern-evidence { left: 39%; top: 19%; width: 19%; height: 62%; display: grid; gap: 6px; }
.hv-pattern-evidence i { position: relative; border: 1px solid var(--hv-read); background: rgba(47,99,255,.20); }
.hv-pattern-evidence i::after { content: ''; position: absolute; left: 18%; right: 18%; top: 45%; height: 2px; background: var(--hv-read); }
.hv-pattern-interface { right: 2%; top: 18%; width: 37%; height: 60%; border-width: 2px; background: rgba(255,255,255,.055); box-shadow: inset 0 4px 0 var(--hv-output); }
.hv-pattern-gate { right: 8%; bottom: 5%; width: 44px; height: 14px; }
.hv-line { top: 49%; height: 3px; }
.hv-line-a { left: 21%; width: 7%; }
.hv-line-b { left: 34%; width: 6%; }
.hv-line-c { left: 58%; width: 4%; }

.hv-source { border-width: 2px; background: rgba(47,99,255,.18); box-shadow: inset 0 4px 0 var(--hv-read); }
.hv-source-b { box-shadow: inset 0 4px 0 var(--hv-proof); }
.hv-source-c { box-shadow: inset 0 4px 0 var(--hv-output); }
.hv-composition-output { background: rgba(255,255,255,.07); box-shadow: inset 0 4px 0 var(--hv-output); }
.hv-composition-output::after { content: ''; position: absolute; left: 16%; right: 16%; bottom: -26px; height: 7px; border-radius: 99px; background: var(--hv-read); box-shadow: 22px 0 0 var(--hv-proof), 44px 0 0 var(--hv-output); opacity: .85; }
.hv-read-line { height: 3px; }
.hv-return-line { border-top-width: 3px; }
.hv-approval-gate { width: 24px; height: 24px; background: var(--navy-2); }

.hv-inputs i { border-width: 2px; background: rgba(47,99,255,.19); box-shadow: inset 0 3px 0 var(--hv-read); }
.hv-input-outcome { background: rgba(140,123,255,.18) !important; box-shadow: inset 0 3px 0 var(--hv-output) !important; }
.hv-input-boundary { background: rgba(255,129,110,.10) !important; box-shadow: inset 0 3px 0 var(--hv-approval) !important; }
.hv-assemble-line { height: 3px; }
.hv-brief { background: rgba(255,255,255,.065); box-shadow: inset 0 4px 0 var(--hv-output); }
.hv-brief b::after { content: ''; position: absolute; right: 10%; bottom: 18%; width: 10px; height: 18px; border-right: 3px solid var(--hv-output); border-bottom: 3px solid var(--hv-output); transform: rotate(45deg); }

.hv-index-stack i { border-width: 2px; background: rgba(47,99,255,.15); }
.hv-index-stack i:nth-child(3) { background: rgba(103,212,255,.16); box-shadow: inset 4px 0 0 var(--hv-read); }
.hv-search-lens { border-width: 4px; background: rgba(7,22,47,.72); }
.hv-search-handle { height: 5px; }
.hv-meaning-map { width: 28%; height: 28%; background: rgba(103,212,255,.10); }
.hv-meaning-map i { width: 8px; height: 8px; }

.hv-method-path { height: 4px; }
.hv-method-stage { width: 17%; border-width: 2px; background: rgba(47,99,255,.18); box-shadow: inset 0 4px 0 var(--hv-read); }
.hv-method-idea { left: 0; background: rgba(140,123,255,.18); box-shadow: inset 0 4px 0 var(--hv-proof); }
.hv-method-source { left: 20%; }
.hv-method-structure { left: 40%; }
.hv-method-build { left: 60%; }
.hv-method-verify { left: 80%; background: rgba(255,255,255,.06); box-shadow: inset 0 4px 0 var(--hv-output); }

.hv-post { border-width: 2px; }
.hv-post-a { background: linear-gradient(180deg, rgba(7,22,47,.2), rgba(47,99,255,.30)); box-shadow: inset 0 4px 0 var(--hv-system); }
.hv-post-b { background: linear-gradient(180deg, rgba(247,251,255,.20), rgba(103,212,255,.16)); box-shadow: inset 0 4px 0 var(--hv-read); }
.hv-post-c { background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(140,123,255,.22)); box-shadow: inset 0 4px 0 var(--hv-output); }
.hv-post-d { background: linear-gradient(180deg, rgba(140,123,255,.18), rgba(47,99,255,.18)); box-shadow: inset 0 4px 0 var(--hv-proof); }
.hv-post-e { background: linear-gradient(180deg, rgba(103,212,255,.13), rgba(255,129,110,.13)); box-shadow: inset 0 4px 0 var(--hv-approval); }
.hv-post-thread { height: 4px; }

.hv-finished-site { background: rgba(255,255,255,.07); box-shadow: inset 0 4px 0 var(--hv-output); }

/* Clarify route-specific nouns without changing the shared system. */
.hv-pattern-audience { display: block; }
.hv-pattern-audience::after { content: ''; position: absolute; left: 31%; top: 49%; width: 45%; height: 2px; background: var(--hv-read); box-shadow: 12px -13px 0 -1px var(--hv-read), 12px 13px 0 -1px var(--hv-read); }
.hv-pattern-audience i { position: absolute; width: 14px; height: 14px; }
.hv-pattern-audience i:nth-child(1) { left: 8%; top: calc(50% - 7px); }
.hv-pattern-audience i:nth-child(2) { right: 5%; top: 15%; box-shadow: none; }
.hv-pattern-audience i:nth-child(3) { right: 5%; bottom: 15%; border-radius: 50%; background: rgba(103,212,255,.12); }
.hv-pattern-job { left: 27%; top: 43%; width: 31px; height: 31px; }
.hv-pattern-evidence { left: 41%; top: 24%; height: 52%; grid-template-rows: 1fr 1fr; }
.hv-pattern-evidence i:nth-child(3) { display: none; }
.hv-line-a { left: 21%; width: 8%; }
.hv-line-b { left: 36%; width: 6%; }
.hv-line-c { left: 60%; width: 3%; }

.hv-read-line::after, .hv-return-line::after { content: ''; position: absolute; right: -1px; top: -4px; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.hv-read-line { color: var(--hv-read); }
.hv-return-line { color: var(--hv-approval); }
.hv-approval-gate { width: 28px; height: 28px; }

.hv-method-idea { width: 30px; height: 30px; top: 67%; border: 3px solid var(--hv-proof); border-radius: 50%; background: rgba(140,123,255,.28); box-shadow: 0 0 0 7px rgba(140,123,255,.07); }
.hv-method-idea::after { display: none; }
.hv-method-idea i { left: 50%; top: 50%; width: 8px; height: 8px; transform: translate(-50%,-50%); }
.hv-method-source, .hv-method-structure, .hv-method-build, .hv-method-verify { width: 19%; }
.hv-method-source { left: 15%; top: 60%; }
.hv-method-structure { left: 37%; top: 51%; }
.hv-method-build { left: 59%; top: 42%; }
.hv-method-verify { left: 81%; top: 33%; }
.hv-method-source i { background: rgba(103,212,255,.11); border-width: 2px; }
.hv-method-structure i { width: 34%; height: 31%; background: rgba(103,212,255,.10); border-width: 2px; }
.hv-method-build::before { content: ''; position: absolute; left: 13%; top: 14%; width: 74%; height: 18%; border: 1px solid var(--hv-read); background: rgba(103,212,255,.10); }
.hv-method-build i { height: 3px; }
.hv-method-verify i { border-width: 0 4px 4px 0; }

.hv-post { width: 17.5%; }
.hv-post-a { left: 1%; }
.hv-post-b { left: 21%; }
.hv-post-c { left: 41%; }
.hv-post-d { left: 61%; }
.hv-post-e { left: 81%; }
.hv-post-thread { left: 8%; right: 8%; top: 88%; height: 3px; background: linear-gradient(90deg, var(--hv-system), var(--hv-read), var(--hv-proof)); }
.hv-post-thread::after { content: ''; position: absolute; inset: -3px 0; background: radial-gradient(circle, var(--hv-output) 0 3px, transparent 3.5px) left center / 20% 100% repeat-x; }
.hv-post-a i, .hv-post-b i, .hv-post-c i, .hv-post-d i, .hv-post-e i { opacity: 1; }

.hv-codex-lattice { right: 2%; top: 10%; width: 42%; height: 51%; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.hv-codex-lattice i { position: relative; border: 2px solid var(--hv-read); background: rgba(47,99,255,.18); box-shadow: inset 0 3px 0 var(--hv-read); }
.hv-codex-lattice i::after { content: ''; position: absolute; left: 18%; right: 18%; top: 45%; height: 3px; background: var(--hv-read); box-shadow: 0 9px 0 rgba(103,212,255,.43); }
.hv-finished-site { left: 28%; bottom: 1%; width: 46%; height: 38%; border-width: 3px; }
.hv-finished-site::before { content: ''; position: absolute; left: 7%; top: 8%; width: 6px; height: 6px; border-radius: 50%; background: var(--hv-read); box-shadow: 11px 0 0 rgba(103,212,255,.55), 22px 0 0 rgba(103,212,255,.30); }
.hv-finished-site i:nth-child(1) { top: 24%; height: 3px; }
.hv-finished-site i:nth-child(2) { top: 35%; height: 34%; background: rgba(47,99,255,.16); }
.hv-finished-site i:nth-child(3) { bottom: 8%; height: 10px; }

/* Final semantic details for Patterns, Method, and About. */
.hv-pattern-audience { border: 0; background: transparent; }
.hv-pattern-audience::after { left: 7%; top: auto; bottom: 12%; width: 86%; height: 18px; border: 2px solid var(--hv-read); border-radius: 50% 50% 10px 10px; background: rgba(103,212,255,.12); box-shadow: none; }
.hv-pattern-audience i { width: 13px; height: 13px; top: 22% !important; bottom: auto !important; border-width: 2px; background: var(--navy-2); }
.hv-pattern-audience i:nth-child(1) { left: 6%; }
.hv-pattern-audience i:nth-child(2) { left: calc(50% - 6px); right: auto; }
.hv-pattern-audience i:nth-child(3) { left: auto; right: 6%; border-radius: 50%; background: var(--navy-2); }
.hv-pattern-evidence i::after { left: 14%; right: 14%; top: 30%; height: 3px; box-shadow: 0 8px 0 rgba(103,212,255,.45); }
.hv-pattern-evidence i:nth-child(2)::before { content: ''; position: absolute; right: 10%; bottom: 12%; width: 7px; height: 12px; border-right: 3px solid var(--hv-output); border-bottom: 3px solid var(--hv-output); transform: rotate(45deg); }

.hv-method-stage { background: transparent; box-shadow: none; border: 0; }
.hv-method-stage::after { display: none; }
.hv-method-idea { background: rgba(140,123,255,.24); border: 3px solid var(--hv-proof); }
.hv-method-idea::before { content: ''; position: absolute; inset: 6px; border: 2px solid var(--hv-output); transform: rotate(45deg); }
.hv-method-source { border: 2px solid var(--hv-read); background: rgba(47,99,255,.16); border-top-right-radius: 10px; }
.hv-method-source::before { content: ''; position: absolute; right: -7px; bottom: -7px; width: 18px; height: 18px; border: 3px solid var(--hv-output); border-radius: 50%; background: var(--navy); }
.hv-method-source::after { content: ''; display: block; position: absolute; right: -13px; bottom: -11px; width: 10px; height: 3px; background: var(--hv-output); transform: rotate(45deg); }
.hv-method-source i { left: 13%; right: 24%; width: auto; height: 3px; border: 0; background: var(--hv-read); box-shadow: 0 9px 0 rgba(103,212,255,.43); }
.hv-method-source i:nth-child(1) { top: 29%; }
.hv-method-source i:nth-child(2) { display: none; }
.hv-method-structure { border: 2px solid var(--hv-output); background: rgba(255,255,255,.04); }
.hv-method-structure::before { content: ''; position: absolute; left: 12%; right: 12%; top: 13%; height: 4px; background: var(--hv-read); }
.hv-method-structure i { width: 32%; height: 32%; background: rgba(47,99,255,.19); border: 2px solid var(--hv-read); }
.hv-method-build { border-left: 4px solid var(--hv-read); border-right: 4px solid var(--hv-read); background: rgba(47,99,255,.08); }
.hv-method-build::before { left: 22%; top: 24%; width: 18%; height: 18%; border: solid var(--hv-output); border-width: 0 0 3px 3px; background: transparent; transform: rotate(45deg); }
.hv-method-build::after { content: ''; display: block; position: absolute; right: 22%; top: 24%; width: 18%; height: 18%; border: solid var(--hv-output); border-width: 3px 3px 0 0; transform: rotate(45deg); }
.hv-method-build i { display: none; }
.hv-method-verify { border: 3px solid var(--hv-output); border-radius: 50%; background: rgba(255,255,255,.05); }
.hv-method-verify i { left: 32%; top: 18%; width: 30%; height: 48%; border-width: 0 4px 4px 0; }

.hv-thesis-author { left: 0; top: 20%; width: 27%; height: 60%; }
.hv-thesis-author::before { content: ''; position: absolute; left: 0; top: 2%; width: 18px; height: 18px; border: 3px solid var(--hv-proof); border-radius: 50%; }
.hv-thesis-author::after { content: ''; position: absolute; left: -3px; top: 25%; width: 27px; height: 22px; border: 3px solid var(--hv-proof); border-radius: 50% 50% 8px 8px; background: rgba(140,123,255,.12); }
.hv-thesis-author i:nth-child(1) { right: 0; top: 8%; width: 58%; height: 67%; border: 2px solid var(--hv-output); background: rgba(255,255,255,.055); transform: rotate(-3deg); }
.hv-thesis-author i:nth-child(2) { right: 7%; top: 27%; width: 42%; height: 3px; background: var(--hv-proof); box-shadow: 0 10px 0 rgba(255,255,255,.60), 0 20px 0 rgba(255,255,255,.35); transform: rotate(-4deg); }
.hv-thesis-author i:nth-child(3) { right: -3%; bottom: 4%; width: 45%; height: 4px; background: var(--hv-output); transform: rotate(-52deg); transform-origin: right; }
.hv-codex-lattice { left: 35%; right: auto; top: 15%; width: 27%; height: 67%; gap: 5px; }
.hv-codex-lattice i:nth-child(1)::before { content: ''; position: absolute; left: 24%; top: 22%; width: 14px; height: 14px; border: 2px solid var(--hv-output); border-radius: 50%; }
.hv-codex-lattice i:nth-child(1)::after { left: 52%; top: 56%; right: auto; width: 13px; height: 3px; box-shadow: none; transform: rotate(45deg); background: var(--hv-output); }
.hv-codex-lattice i:nth-child(2)::after { inset: 19%; height: auto; background: repeating-linear-gradient(90deg, rgba(103,212,255,.65) 0 36%, transparent 36% 48%); box-shadow: inset 0 0 0 1px rgba(103,212,255,.45); }
.hv-codex-lattice i:nth-child(3)::after { left: 17%; right: 17%; top: 28%; height: 3px; background: var(--hv-read); box-shadow: 0 9px 0 var(--hv-output), 0 18px 0 rgba(103,212,255,.45); }
.hv-codex-lattice i:nth-child(4)::before { content: ''; position: absolute; left: 28%; top: 18%; width: 27%; height: 46%; border-right: 3px solid var(--hv-output); border-bottom: 3px solid var(--hv-output); transform: rotate(45deg); }
.hv-codex-lattice i:nth-child(4)::after { display: none; }
.hv-about-arrow { top: 48%; height: 3px; background: var(--hv-read); }
.hv-about-arrow::after { content: ''; position: absolute; right: -1px; top: -4px; width: 8px; height: 8px; border-top: 3px solid var(--hv-read); border-right: 3px solid var(--hv-read); transform: rotate(45deg); }
.hv-about-arrow-a { left: 27%; width: 8%; }
.hv-about-arrow-b { left: 62%; width: 7%; }
.hv-finished-site { left: 69%; right: auto; top: 20%; bottom: auto; width: 31%; height: 60%; border-width: 3px; }
.hv-finished-site::before { top: 7%; }
.hv-finished-site i:nth-child(1) { top: 21%; }
.hv-finished-site i:nth-child(2) { top: 32%; height: 37%; }
.hv-finished-site i:nth-child(3) { bottom: 8%; }

/* Separate the five Method stages at the actual mobile scale. */
.hv-method-path { z-index: 0; opacity: .43; }
.hv-method-stage { z-index: 1; }
.hv-method-idea { left: 1%; width: 22px; height: 22px; }
.hv-method-idea::before { inset: 4px; }
.hv-method-source, .hv-method-structure, .hv-method-build, .hv-method-verify { width: 17%; }
.hv-method-source { left: 20%; }
.hv-method-structure { left: 40%; }
.hv-method-build { left: 60%; }
.hv-method-verify { left: 80%; }
.breadcrumbs {
  max-width: 100%;
  margin-bottom: 1.35rem;
  color: rgba(255,255,255,.54);
  font-size: .76rem;
  font-weight: 650;
  letter-spacing: .015em;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .32rem .48rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumbs li { display: inline-flex; min-width: 0; align-items: baseline; gap: .48rem; }
.breadcrumbs li + li::before { content: "/"; color: rgba(255,255,255,.3); font-weight: 450; }
.breadcrumbs a { color: rgba(255,255,255,.78); text-decoration-color: transparent; text-underline-offset: .22em; }
.breadcrumbs a:hover { color: white; text-decoration-color: rgba(103,212,255,.7); }
.breadcrumbs a:focus-visible { color: white; outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 2px; }
.breadcrumbs [aria-current="page"] { color: rgba(255,255,255,.58); overflow-wrap: anywhere; }

.controls {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) repeat(3, minmax(150px, .7fr)) auto;
  gap: .7rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-sm);
}
.field { display: grid; gap: .35rem; }
.field label { color: var(--ink-soft); font-size: .72rem; font-weight: 800; letter-spacing: .02em; }
.field-label { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.field-label label { margin: 0; }
.field-hint { margin: 0; color: var(--muted); font-size: .7rem; line-height: 1.4; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: .65rem .72rem;
  border: 1px solid #cbd4e5;
  border-radius: .66rem;
  color: var(--ink);
  background: white;
  outline: none;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,99,255,.12); }
.controls .button { align-self: end; }
.results-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 1.2rem 0; color: var(--muted); font-size: .87rem; }
.no-results { display: none; padding: 3rem; text-align: center; border: 1px dashed #bbc6db; border-radius: var(--radius); color: var(--muted); background: white; }

.evidence-note { padding-block: 1rem; color: var(--ink-soft); font-size: .86rem; }
.atlas-mobile-bar { display: none; }
.atlas-workspace-anchor { scroll-margin-top: 5.4rem; outline: none; }
.patterns-workspace-anchor { scroll-margin-top: 5.4rem; }
.catalog-workspace-anchor { scroll-margin-top: 5.4rem; outline: none; }
.briefs-builder-anchor { scroll-margin-top: 5.4rem; outline: none; }
.glossary-workspace-anchor { scroll-margin-top: 5.4rem; outline: none; }
.catalog-workspace-anchor:focus-visible { outline: 2px solid var(--blue); outline-offset: .7rem; border-radius: .3rem; }
.briefs-builder-anchor:focus-visible { outline: 2px solid var(--blue); outline-offset: .7rem; border-radius: .3rem; }
.glossary-workspace-anchor:focus-visible { outline: 2px solid var(--blue); outline-offset: .7rem; border-radius: .75rem; }
.atlas-workspace-anchor:focus-visible { border-radius: .9rem; box-shadow: 0 0 0 3px rgba(47,99,255,.18); }
.atlas-workspace {
  display: grid;
  grid-template-columns: minmax(330px, 360px) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
}
.atlas-filters {
  position: sticky;
  top: 5.25rem;
  z-index: 25;
  display: grid;
  gap: .9rem;
  max-height: calc(100vh - 6.1rem);
  overflow: auto;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-sm);
  scrollbar-width: thin;
}
.atlas-filters .field,
.atlas-filters .facet-group,
.atlas-filters .filter-panel-actions {
  min-width: 0;
}
.filter-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding-bottom: .25rem; }
.filter-panel-head .eyebrow { margin-bottom: .25rem; }
.filter-panel-head h2 { font-size: 1.55rem; }
.filter-close {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: .7rem;
  color: var(--ink);
  background: white;
  cursor: pointer;
  font-size: 1.65rem;
  line-height: 1;
}
.facet-group { display: grid; gap: .32rem; margin: 0; padding: .78rem; border: 1px solid var(--line); border-radius: .78rem; }
.facet-group legend { padding: 0 .25rem; color: var(--ink); font-size: .74rem; font-weight: 840; }
.facet-group legend span { display: block; color: var(--muted); font-size: .64rem; font-weight: 650; }
.check-filter {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: .5rem;
  padding: .38rem .42rem;
  border-radius: .5rem;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: .75rem;
  line-height: 1.35;
}
.check-filter:hover { background: var(--surface-2); }
.check-filter input { width: 1rem; height: 1rem; margin: .08rem 0 0; accent-color: var(--blue); }
.check-filter small { min-width: 1.7rem; padding: .05rem .3rem; border-radius: 999px; color: var(--muted); background: var(--surface-2); text-align: center; font-size: .64rem; }
.filter-panel-actions { position: sticky; bottom: -1.1rem; display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: .55rem; margin: 0 -1.1rem -1.1rem; padding: .85rem 1.1rem 1.1rem; border-top: 1px solid var(--line); background: white; }
.filter-panel-actions .button { min-width: 0; padding-inline: .65rem; }
.atlas-results { min-width: 0; }
.atlas-results-toolbar {
  position: sticky;
  z-index: 24;
  top: 4.4rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .85rem;
  padding: .75rem .85rem;
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: rgba(247, 248, 252, .96);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}
.atlas-results-toolbar strong { display: block; }
.search-mode { display: block; color: var(--muted); font-size: .72rem; }
.atlas-results-summary { max-width: 620px; }
.atlas-ranking-note { display: block; max-width: 650px; margin-top: .3rem; color: var(--muted); font-size: .64rem; line-height: 1.35; }
.atlas-ranking-note strong { display: inline; color: var(--ink-soft); }
.atlas-result-actions { display: flex; align-items: flex-end; justify-content: flex-end; gap: .5rem; }
.compact-field { min-width: 190px; }
.compact-field select { min-height: 2.35rem; padding-block: .45rem; font-size: .82rem; }
.active-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .85rem; }
.filter-chip {
  min-height: 2rem;
  padding: .35rem .62rem;
  border: 1px solid rgba(47,99,255,.22);
  border-radius: 999px;
  color: #1746c4;
  background: rgba(47,99,255,.07);
  cursor: pointer;
  font-size: .72rem;
  font-weight: 740;
}
.filter-count { display: inline-grid; min-width: 1.45rem; min-height: 1.45rem; place-items: center; padding-inline: .3rem; border-radius: 999px; color: white; background: var(--blue); font-size: .7rem; }
.atlas-filter-backdrop { display: none; }

.atlas-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.platform-card { display: flex; flex-direction: column; min-height: 100%; }
.platform-card-head { position: relative; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: .7rem; }
.platform-card .vendor { color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.platform-card h3 { margin-top: .25rem; }
.platform-card .summary { flex: 1; margin: .8rem 0 1.15rem; color: var(--ink-soft); font-size: .9rem; }
.platform-card .card-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem .7rem; padding-top: .9rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .7rem; }
.compare-check { position: relative; z-index: 3; display: inline-flex; align-items: center; gap: .3rem; color: var(--blue); cursor: pointer; font-size: .7rem; font-weight: 780; }
.compare-check input { width: .95rem; height: .95rem; margin: 0; accent-color: var(--blue); }
.compare-check input:disabled + span { color: var(--muted); cursor: not-allowed; }
.match-context { position: relative; z-index: 2; margin: .75rem 0 0; padding: .72rem; border-radius: .65rem; color: var(--ink-soft) !important; background: var(--surface-2); font-size: .75rem !important; line-height: 1.45; }
mark { padding: .02em .12em; border-radius: .2em; color: inherit; background: rgba(255, 205, 77, .45); }
.platform-card[hidden], .pattern-card[hidden] { display: none !important; }

.compare-tray {
  position: fixed;
  z-index: 90;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  width: min(calc(100% - 2rem), 900px);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-inline: auto;
  padding: .85rem 1rem;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 1rem;
  color: white;
  background: rgba(7, 22, 47, .96);
  box-shadow: 0 20px 60px rgba(4, 16, 39, .28);
  backdrop-filter: blur(18px);
}
.compare-tray[hidden] { display: none; }
.compare-tray > div { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.compare-tray > div:first-child span { overflow: hidden; color: rgba(255,255,255,.65); font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.compare-dialog {
  width: min(1500px, calc(100% - 2rem));
  max-width: none;
  height: min(90vh, 980px);
  max-height: none;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 28px 100px rgba(4, 16, 39, .32);
}
.compare-dialog::backdrop { background: rgba(4, 16, 39, .72); backdrop-filter: blur(4px); }
.compare-dialog-head { position: sticky; z-index: 3; top: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; padding: 1.25rem 1.4rem; border-bottom: 1px solid var(--line); background: rgba(247,248,252,.97); backdrop-filter: blur(14px); }
.compare-dialog-head .eyebrow { margin-bottom: .35rem; }
.compare-dialog-head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.compare-dialog-head p:last-child { margin: .4rem 0 0; color: var(--muted); font-size: .84rem; }
.compare-dialog-head .filter-close { display: grid; place-items: center; }
.compare-table-wrap { height: calc(100% - 8.2rem); overflow: auto; padding: 1rem; }
.compare-table { width: 100%; min-width: 850px; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: .9rem; background: white; }
.compare-table th, .compare-table td { min-width: 240px; padding: .8rem .9rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .78rem; line-height: 1.5; }
.compare-table th:first-child { position: sticky; z-index: 1; left: 0; min-width: 180px; width: 180px; color: var(--muted); background: var(--surface-2); font-size: .7rem; letter-spacing: .03em; text-transform: uppercase; }
.compare-table thead th { position: sticky; z-index: 2; top: 0; color: var(--ink); background: var(--surface-2); font-size: .84rem; }
.compare-table thead th:first-child { z-index: 3; }
.compare-table tr > :last-child { border-right: 0; }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.compare-table a { color: var(--blue); }

.profile-header { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.profile-header-long-title { grid-template-columns: minmax(0, 1fr) minmax(320px, 360px); }
.profile-header .vendor-line { color: var(--cyan); font-size: .78rem; font-weight: 820; letter-spacing: .12em; text-transform: uppercase; }
.profile-header h1 { margin-top: .55rem; font-size: clamp(2.7rem, 6vw, 5.2rem); }
.profile-actions { display: flex; flex-wrap: wrap; gap: .65rem; justify-content: flex-end; }
.profile-meta { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; margin-top: -2.2rem; position: relative; z-index: 3; }
.meta-box { padding: 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); }
.meta-box strong { display: block; margin-top: .2rem; }
.meta-box span { color: var(--muted); font-size: .72rem; font-weight: 780; letter-spacing: .04em; text-transform: uppercase; }

.capability-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.capability-card { padding: 1.35rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.capability-card .label { display: flex; align-items: center; gap: .5rem; margin-bottom: .7rem; color: var(--blue); font-size: .74rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.capability-card p { margin: 0; color: var(--ink-soft); }
.evidence-group-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.evidence-group { border: 1px solid rgba(255,255,255,.18); border-radius: .9rem; background: rgba(255,255,255,.06); }
.evidence-group summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; color: white; cursor: pointer; font-weight: 760; }
.evidence-group summary strong { display: grid; min-width: 1.7rem; height: 1.7rem; place-items: center; border-radius: 999px; color: var(--navy); background: var(--cyan); font-size: .72rem; }
.tool-name-list { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0 1rem 1rem; }
.tool-name-list code { padding: .42rem .52rem; border: 1px solid rgba(255,255,255,.15); border-radius: .5rem; color: rgba(255,255,255,.82); background: rgba(4,16,39,.46); font-size: .7rem; overflow-wrap: anywhere; }
.connector-group-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.connector-group-grid h3 { font-size: 1.05rem; }
.catalog-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: end; gap: .75rem; padding: .9rem; border: 1px solid var(--line); border-radius: .9rem; background: rgba(255,255,255,.84); }
.catalog-controls .field { margin: 0; }
.catalog-controls > strong { align-self: center; color: var(--muted); font-size: .78rem; white-space: nowrap; }
.catalog-controls.is-dark { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06); }
.catalog-controls.is-dark label, .catalog-controls.is-dark > strong { color: rgba(255,255,255,.75); }
.catalog-group-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .8rem; }
.catalog-group { overflow: hidden; border: 1px solid var(--line); border-radius: .9rem; background: rgba(255,255,255,.82); }
.catalog-group.is-dark { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06); }
.catalog-group summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; color: var(--navy); cursor: pointer; font-weight: 760; }
.catalog-group.is-dark summary { color: white; }
.catalog-group summary > strong { display: grid; min-width: 1.7rem; height: 1.7rem; place-items: center; border-radius: 999px; color: var(--navy); background: var(--cyan); font-size: .72rem; }
.catalog-item-list { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0 1rem 1rem; }
.catalog-item { display: inline-flex; align-items: center; gap: .38rem; max-width: 100%; border: 1px solid var(--line); border-radius: .55rem; padding: .42rem .55rem; color: var(--ink); background: rgba(247,248,252,.92); font-size: .72rem; overflow-wrap: anywhere; }
.catalog-group.is-dark .catalog-item { border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.84); background: rgba(4,16,39,.46); }
.catalog-item code { padding: 0; color: inherit; background: transparent; font-size: inherit; }
.catalog-item small { color: var(--muted); font-size: .62rem; text-transform: capitalize; }
.catalog-group.is-dark .catalog-item small { color: rgba(255,255,255,.55); }
.catalog-item[hidden], .catalog-group[hidden] { display: none; }
.catalog-sources { color: var(--muted); font-size: .78rem; }
.section.dark .catalog-sources { color: rgba(255,255,255,.62); }
.section.dark .catalog-sources a { color: var(--cyan); }
.catalog-empty { margin-top: 1rem; }
.surface-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
.surface-link { display: block; padding: 1rem; border: 1px solid var(--line); border-radius: .9rem; background: white; text-decoration: none; box-shadow: var(--shadow-sm); }
.surface-link:hover { border-color: rgba(47,99,255,.35); }
.surface-link strong { display: block; }
.surface-link span { display: block; margin-top: .25rem; color: var(--muted); font-size: .75rem; }
.surface-link small { display: block; margin-top: .55rem; color: var(--blue-deep); font-weight: 700; }

.score-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .85rem 1.4rem; }
.score-row { display: grid; grid-template-columns: 150px 1fr 1.5rem; gap: .8rem; align-items: center; }
.score-row span { font-size: .8rem; font-weight: 680; }
.score-track { height: .45rem; border-radius: 1rem; background: #e5eaf4; overflow: hidden; }
.score-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.score-number { color: var(--muted); font-size: .72rem !important; text-align: right; }

.source-list { display: grid; gap: .7rem; }
.source-item { padding: 1rem; border: 1px solid var(--line); border-radius: .85rem; background: white; }
.source-item a { font-weight: 760; word-break: break-word; }
.source-item p { margin: .35rem 0 0; color: var(--muted); font-size: .78rem; }
.source-dates { display: flex; flex-wrap: wrap; gap: .55rem 1.25rem; margin: .8rem 0 0; padding-top: .7rem; border-top: 1px solid var(--line); }
.source-dates div { min-width: 150px; }
.source-dates dt { color: var(--muted); font-size: .67rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.source-dates dd { margin: .15rem 0 0; color: var(--ink-soft); font-size: .78rem; font-weight: 720; }
details.sources { border: 1px solid var(--line); border-radius: var(--radius); background: white; }
details.sources summary { cursor: pointer; padding: 1.1rem 1.25rem; font-weight: 820; }
details.sources[open] summary { border-bottom: 1px solid var(--line); }
details.sources .source-list { padding: 1rem; }

.pattern-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.pattern-card details { margin-top: .9rem; }
.pattern-card summary { color: var(--blue); cursor: pointer; font-size: .83rem; font-weight: 780; }
.pattern-details { display: grid; gap: .7rem; margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.definition { display: grid; grid-template-columns: 120px 1fr; gap: .8rem; }
.definition dt { color: var(--muted); font-size: .75rem; font-weight: 790; }
.definition dd { margin: 0; color: var(--ink-soft); font-size: .86rem; }

.glossary-controls { display: grid; grid-template-columns: minmax(280px, 1.6fr) minmax(220px, .7fr) auto; gap: 1rem; align-items: end; margin-bottom: 1.25rem; }
.glossary-controls .field { margin: 0; }
.glossary-controls .button { margin-bottom: .1rem; }
.glossary-status { margin: 0 0 1rem; color: var(--muted); }
.glossary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.glossary-entry { padding: 1.4rem; }
.glossary-entry[hidden] { display: none; }
.glossary-entry-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: .65rem; }
.glossary-entry-head h2 { font-size: 1.22rem; margin: 0; }
.glossary-entry p { margin: .5rem 0 0; }
.glossary-source { padding-top: .5rem; border-top: 1px solid var(--line); }

.composition-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.flow { display: grid; gap: .55rem; margin: 1rem 0; padding: 0; list-style: none; counter-reset: flow; }
.flow li { position: relative; padding: .75rem .8rem .75rem 2.55rem; border: 1px solid var(--line); border-radius: .75rem; color: var(--ink-soft); background: var(--surface-2); font-size: .84rem; counter-increment: flow; }
.flow li::before { content: counter(flow); position: absolute; left: .72rem; top: .65rem; width: 1.25rem; height: 1.25rem; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--blue); font-size: .65rem; font-weight: 850; }

.composer-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 1.2rem; align-items: start; }
.composer-form { display: grid; gap: 1rem; }
.brief-library { padding-bottom: 2.6rem; border-bottom: 1px solid var(--line); }
.brief-library-head { max-width: 760px; }
.brief-library-head p:last-child { margin: .65rem 0 0; color: var(--ink-soft); }
.brief-library-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-top: 1.35rem; }
.brief-library-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .5rem 2rem; }
.brief-library-card .eyebrow, .brief-library-card h3, .brief-library-card > p { grid-column: 1; }
.brief-library-card h3 { margin: .1rem 0 .3rem; }
.brief-library-card > p { max-width: 760px; margin: 0; color: var(--ink-soft); }
.brief-library-actions { grid-column: 2; grid-row: 1 / span 3; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }
.featured-example { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.featured-example > div:first-child { max-width: 760px; }
.featured-example-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: .55rem; }
.picker-control { position: relative; }
.picker-control > input[type="search"] { padding-right: 2.7rem; }
.picker-clear {
  position: absolute;
  z-index: 3;
  top: .38rem;
  right: .38rem;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: .5rem;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 1.25rem;
}
.picker-clear:hover, .picker-clear:focus-visible { color: var(--ink); background: var(--surface-2); outline: none; }
.picker-options {
  position: absolute;
  z-index: 40;
  top: calc(100% + .35rem);
  right: 0;
  left: 0;
  max-height: 320px;
  overflow: auto;
  padding: .35rem;
  border: 1px solid #b9c5da;
  border-radius: .72rem;
  background: white;
  box-shadow: 0 18px 46px rgba(4,16,39,.18);
}
.picker-options[hidden] { display: none; }
.picker-option {
  display: block;
  width: 100%;
  padding: .65rem .7rem;
  border: 0;
  border-radius: .52rem;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.picker-option:hover, .picker-option.is-active { background: var(--surface-2); }
.picker-option strong, .picker-option small { display: block; }
.picker-option strong { font-size: .82rem; }
.picker-option small { margin-top: .16rem; color: var(--muted); font-size: .68rem; }
.picker-empty { margin: 0; padding: .8rem; color: var(--muted); font-size: .76rem; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .55rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label { display: block; height: 100%; padding: .8rem; border: 1px solid #cbd4e5; border-radius: .72rem; cursor: pointer; font-size: .82rem; font-weight: 700; }
.choice input:checked + label { color: #1746c4; border-color: var(--blue); background: rgba(47,99,255,.07); box-shadow: 0 0 0 2px rgba(47,99,255,.08); }
.choice input:focus-visible + label { outline: 3px solid rgba(47,99,255,.3); outline-offset: 2px; }
.brief-output { min-height: 540px; position: sticky; top: 6rem; }
.brief-empty { display: grid; place-items: center; min-height: 470px; text-align: center; color: var(--muted); border: 1px dashed #b9c5da; border-radius: var(--radius); background: var(--surface-2); }
.brief-generated { display: none; }
.brief-generated.is-visible { display: block; }
.brief-title { margin-bottom: 1rem; }
.brief-section { padding: 1rem 0; border-top: 1px solid var(--line); }
.brief-section h4 { margin-bottom: .45rem; color: var(--blue); }
.brief-section p, .brief-section ul { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.brief-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }

.directory-table { width: 100%; border-collapse: collapse; border-spacing: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.directory-table th, .directory-table td { padding: .9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.directory-table th { color: var(--muted); background: var(--surface-2); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.directory-table td { color: var(--ink-soft); font-size: .84rem; }
.directory-table tr:last-child td { border-bottom: none; }

.timeline { position: relative; display: grid; gap: 1.2rem; padding-left: 1.7rem; }
.timeline::before { content: ""; position: absolute; left: .42rem; top: .35rem; bottom: .35rem; width: 1px; background: var(--line); }
.timeline-item { position: relative; }
.timeline-item::before { content: ""; position: absolute; left: -1.55rem; top: .32rem; width: .7rem; height: .7rem; border: 3px solid var(--paper); border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.timeline-item h3 { margin-bottom: .45rem; }
.timeline-item p { color: var(--ink-soft); }

.alpha-nav { display: flex; flex-wrap: wrap; gap: .35rem; margin: 1rem 0 1.6rem; }
.alpha-nav a { width: 2rem; height: 2rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: .5rem; background: white; text-decoration: none; font-size: .76rem; font-weight: 800; }
.alpha-group { margin-top: 2.5rem; }
.alpha-group h2 { margin-bottom: 1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); font-size: 1.7rem; }
.profile-index-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .6rem; }
.profile-index-list a { display: block; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: .7rem; background: white; text-decoration: none; font-size: .84rem; }
.profile-index-list small { display: block; color: var(--muted); }
.index-search { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .7rem; align-items: end; max-width: 760px; }
.index-search .button { align-self: end; }

.pagination { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; margin-top: 2.5rem; }
.pagination a { padding: 1rem; border: 1px solid var(--line); border-radius: .9rem; background: white; text-decoration: none; }
.pagination a:last-child { text-align: right; }
.pagination span { display: block; color: var(--muted); font-size: .72rem; }
.pagination strong { display: block; margin-top: .2rem; }

.site-footer { color: white; background: #041027; border-top: 1px solid rgba(255,255,255,.1); }
.footer-main { display: grid; grid-template-columns: 1.2fr repeat(3, .7fr); gap: 2rem; padding: 3.5rem 0 2.5rem; }
.footer-main h3 { margin-bottom: .65rem; font-size: 1.4rem; }
.footer-main h4 { margin-bottom: .65rem; color: rgba(255,255,255,.55); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; }
.footer-main p { color: rgba(255,255,255,.58); font-size: .85rem; }
.footer-links { display: grid; gap: .45rem; }
.footer-links a { color: rgba(255,255,255,.72); text-decoration: none; font-size: .84rem; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0 1.5rem; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.48); font-size: .75rem; }

.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.text-link { color: var(--blue); font-weight: 760; }
.muted { color: var(--muted); }
.text-small { font-size: .82rem; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: .6rem; }
.mt-2 { margin-top: 1.2rem; }
.mt-3 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0 !important; }

/* Claude Design v4 staging skin. Deliberately isolated to the Home route. */
body.byoui-home-v4 {
  --ink: #0b1b33;
  --ink-soft: #46536a;
  --muted: #66738a;
  --paper: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f7fa;
  --navy: #0b1b33;
  --navy-2: #0b1b33;
  --blue: #2050e0;
  --blue-2: #4d7cff;
  --cyan: #2050e0;
  --green: #0e8a5f;
  --line: #e2e8f1;
  --line-dark: #e7ebf1;
  --radius: .75rem;
  --radius-lg: .875rem;
  --shadow-sm: 0 2px 8px rgba(11, 27, 51, .04);
  --shadow-md: 0 18px 44px rgba(11, 27, 51, .18);
  color: var(--ink);
  background: #fff;
  font-family: "Instrument Sans", system-ui, sans-serif;
}

body.byoui-home-v4 h1,
body.byoui-home-v4 h2,
body.byoui-home-v4 h3,
body.byoui-home-v4 h4,
body.byoui-home-v4 .brand {
  font-family: "Schibsted Grotesk", system-ui, sans-serif;
}

body.byoui-home-v4 .eyebrow,
body.byoui-home-v4 .badge,
body.byoui-home-v4 .footer-main h4 {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}

body.byoui-home-v4 .site-header {
  color: var(--ink);
  background: rgba(255, 255, 255, .96);
  border-bottom-color: #e7ebf1;
  backdrop-filter: blur(16px);
}

body.byoui-home-v4 .header-inner { min-height: 4.375rem; }
body.byoui-home-v4 .brand { color: var(--ink); font-weight: 700; letter-spacing: 0; }
body.byoui-home-v4 .brand:hover { color: var(--ink); }
body.byoui-home-v4 .brand-mark {
  position: relative;
  width: 1.875rem;
  height: 1.875rem;
  overflow: hidden;
  border-radius: .45rem;
  color: transparent;
  background: var(--ink);
  box-shadow: none;
}
body.byoui-home-v4 .brand-mark::before,
body.byoui-home-v4 .brand-mark::after {
  content: "";
  position: absolute;
  left: .45rem;
  height: .3rem;
  border-radius: .1rem;
}
body.byoui-home-v4 .brand-mark::before { right: .45rem; bottom: .48rem; background: #fff; }
body.byoui-home-v4 .brand-mark::after { right: .32rem; bottom: .95rem; background: #4d7cff; }
body.byoui-home-v4 .site-nav .nav-parent-link,
body.byoui-home-v4 .nav-shortcut-toggle { color: var(--ink-soft); }
body.byoui-home-v4 .site-nav .nav-parent-link:hover,
body.byoui-home-v4 .site-nav .nav-parent-link[aria-current="page"],
body.byoui-home-v4 .nav-shortcut-toggle:hover { color: var(--ink); background: #f1f4fa; }
body.byoui-home-v4 .nav-toggle { color: var(--ink); border-color: #c9d2e0; }

body.byoui-home-v4 [data-byoui] h2 { font-size: 2.25rem; line-height: 1.15; letter-spacing: 0; font-weight: 600; }
body.byoui-home-v4 [data-byoui] h3 { line-height: 1.3; letter-spacing: 0; font-weight: 600; }
body.byoui-home-v4 [data-byoui] .eyebrow { color: var(--blue); font-size: .75rem; font-weight: 500; letter-spacing: .08em; }
body.byoui-home-v4 [data-byoui] a { color: var(--blue); }
body.byoui-home-v4 [data-byoui] a:hover { color: #1a43bd; }

body.byoui-home-v4 [data-byoui="hero"].page-hero {
  color: var(--ink);
  background: #fff;
}
body.byoui-home-v4 [data-byoui="hero"] .page-hero-with-preview {
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 1fr);
  gap: 3.5rem;
  min-height: 0;
  padding-block: 4.75rem 4.25rem;
}
body.byoui-home-v4 [data-byoui="hero"] h1 {
  max-width: 34rem;
  color: var(--ink);
  font-size: 3.75rem;
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: 0;
}
body.byoui-home-v4 [data-byoui="hero"] .display-accent { color: var(--blue); }
body.byoui-home-v4 [data-byoui="hero"] .lede {
  max-width: 32.5rem;
  margin-top: 1.375rem;
  color: var(--ink-soft);
  font-size: 1.094rem;
  line-height: 1.65;
}
body.byoui-home-v4 [data-byoui="hero"] .page-hero-actions { justify-content: flex-start; margin-top: 1.875rem; }
body.byoui-home-v4 [data-byoui="hero"] .button {
  min-height: 2.75rem;
  padding: .875rem 1.375rem;
  border-radius: .5625rem;
  color: #fff;
  background: var(--ink);
  font-size: .9375rem;
  font-weight: 600;
}
body.byoui-home-v4 [data-byoui="hero"] .button:hover { color: #fff; background: #1b3050; box-shadow: none; }
body.byoui-home-v4 [data-byoui="hero"] .button.ghost {
  color: var(--ink);
  background: #fff;
  border-color: #c9d2e0;
}
body.byoui-home-v4 [data-byoui="hero"] .button.ghost:hover { color: var(--ink); border-color: var(--ink); }
body.byoui-home-v4 [data-byoui="hero"] .hero-visual-home-v4 {
  width: 100%;
  aspect-ratio: 620 / 474;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body.byoui-home-v4 [data-byoui="hero"] .hero-visual-home-v4 img {
  position: static;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
body.byoui-home-v4 [data-byoui="hero"] .hero-visual-home-v4::after { display: none; }

body.byoui-home-v4 [data-byoui="stats"].section {
  padding: 0;
  background: var(--surface-2);
  border-color: #e9edf3;
}
body.byoui-home-v4 [data-byoui="stats"] .stats { gap: 0; padding-block: 2.125rem; }
body.byoui-home-v4 [data-byoui="stats"] .stat { padding: 0 2rem; border-left: 1px solid #dce3ee; }
body.byoui-home-v4 [data-byoui="stats"] .stat:first-child { padding-left: 0; border-left: 0; }
body.byoui-home-v4 [data-byoui="stats"] .stat strong { color: var(--ink); font-size: 2.375rem; font-weight: 600; letter-spacing: 0; }
body.byoui-home-v4 [data-byoui="stats"] .stat span { color: var(--muted); font-size: .844rem; }

body.byoui-home-v4 [data-byoui="film"].section {
  padding-block: 5.5rem;
  color: var(--ink);
  background: #fff;
}
body.byoui-home-v4 [data-byoui="film"] .film-copy h2 { color: var(--ink); font-size: 2.25rem; line-height: 1.15; letter-spacing: 0; }
body.byoui-home-v4 [data-byoui="film"] .lede { color: var(--ink-soft); font-size: 1.03rem; }
body.byoui-home-v4 [data-byoui="film"] video { border-radius: .875rem; box-shadow: var(--shadow-md); }
body.byoui-home-v4 [data-byoui="film"] .film-transcript { border-color: var(--line); border-radius: .75rem; background: #fff; }

body.byoui-home-v4 [data-byoui="glance"].section,
body.byoui-home-v4 [data-byoui="proof"].section,
body.byoui-home-v4 [data-byoui="systems"].section {
  padding-block: 5.5rem;
  color: var(--ink);
  background: var(--surface-2);
  border-top: 1px solid #e9edf3;
}
body.byoui-home-v4 [data-byoui="experiences"].section,
body.byoui-home-v4 [data-byoui="buildbuy"].section,
body.byoui-home-v4 [data-byoui="evidence"].section { padding-block: 5.5rem; color: var(--ink); background: #fff; }
body.byoui-home-v4 [data-byoui] .section-head { max-width: 50rem; margin-bottom: 2.75rem; }
body.byoui-home-v4 [data-byoui] .section-head .lede,
body.byoui-home-v4 [data-byoui] .prose { color: var(--ink-soft); }
body.byoui-home-v4 [data-byoui] .card {
  padding: 1.625rem 1.5rem;
  border-color: var(--line);
  border-radius: .75rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
body.byoui-home-v4 [data-byoui="glance"] .icon-chip,
body.byoui-home-v4 [data-byoui="systems"] .icon-chip {
  color: #fff;
  background: var(--ink);
  border-radius: .5625rem;
}
body.byoui-home-v4 [data-byoui="experiences"] .card { border-top: 3px solid var(--blue); box-shadow: none; }
body.byoui-home-v4 [data-byoui="buildbuy"] .quote-block {
  border-left: 3px solid var(--blue);
  border-radius: 0 .75rem .75rem 0;
  background: var(--surface-2);
  box-shadow: none;
}
body.byoui-home-v4 [data-byoui="buildbuy"] .quote-block blockquote { font-family: "Schibsted Grotesk", system-ui, sans-serif; font-weight: 500; }
body.byoui-home-v4 [data-byoui="systems"] .dark-card { color: var(--ink); background: #fff; border-color: var(--line); }
body.byoui-home-v4 [data-byoui="systems"] .dark-card p { color: var(--ink-soft); }
body.byoui-home-v4 [data-byoui="systems"] .badge.dark-badge { color: var(--ink); border-color: transparent; background: #edf1f7; }
body.byoui-home-v4 [data-byoui="systems"] .button { color: #fff; background: var(--ink); }
body.byoui-home-v4 [data-byoui="systems"] .button.ghost { color: var(--ink); background: #fff; border-color: #c9d2e0; }
body.byoui-home-v4 [data-byoui="evidence"] .card { box-shadow: 0 2px 8px rgba(11, 27, 51, .04); }
body.byoui-home-v4 [data-byoui="evidence"] .card:hover { border-color: #b9c7de; box-shadow: 0 4px 14px rgba(11, 27, 51, .06); }
body.byoui-home-v4 [data-byoui="evidence"] .card h3 a { color: var(--ink); }

body.byoui-home-v4 [data-byoui="cta"].section {
  padding-block: 5rem;
  color: #fff;
  text-align: center;
  background: var(--ink);
}
body.byoui-home-v4 [data-byoui="cta"] .split { display: block; }
body.byoui-home-v4 [data-byoui="cta"] .prose { max-width: 38rem; margin: 1rem auto 0; color: #b9c4d6; }
body.byoui-home-v4 [data-byoui="cta"] h2 { color: #fff; }
body.byoui-home-v4 [data-byoui="cta"] .hero-actions { justify-content: center; }
body.byoui-home-v4 [data-byoui="cta"] .button { color: var(--ink); background: #fff; }
body.byoui-home-v4 [data-byoui="cta"] .button.secondary { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .35); }

body.byoui-home-v4 .site-footer { color: #fff; background: var(--ink); border-top-color: rgba(255, 255, 255, .1); }
body.byoui-home-v4 .footer-main { padding-block: 3.5rem 2.5rem; }
body.byoui-home-v4 .footer-main h3 { font-size: 1.375rem; font-weight: 600; letter-spacing: 0; }
body.byoui-home-v4 .footer-main h4 { color: #7286a3; font-weight: 500; }
body.byoui-home-v4 .footer-main p,
body.byoui-home-v4 .footer-links a { color: #b9c4d6; }
body.byoui-home-v4 .footer-bottom { color: #7286a3; }

@media (max-width: 1180px) {
  body.byoui-home-v4 .site-nav { color: var(--ink); background: #fff; border-bottom-color: #e7ebf1; }
  body.byoui-home-v4 .nav-shortcut-menu { background: #f5f7fa; border-color: #e2e8f1; }
  body.byoui-home-v4 .nav-shortcut-menu a { color: var(--ink-soft); }
  body.byoui-home-v4 .nav-shortcut-menu a:hover { color: var(--ink); background: #edf1f7; }
}

@media (max-width: 820px) {
  body.byoui-home-v4 [data-byoui="hero"] .page-hero-with-preview { display: block; padding-block: 3.5rem; }
  body.byoui-home-v4 [data-byoui="hero"] h1 { max-width: 31rem; font-size: 3.375rem; }
  body.byoui-home-v4 [data-byoui="hero"] .hero-visual-home-v4 { width: min(100%, 38rem); margin: 2.25rem auto 0; }
  body.byoui-home-v4 [data-byoui="hero"] .page-hero-actions { margin-top: 1.875rem; }
  body.byoui-home-v4 [data-byoui="glance"].section,
  body.byoui-home-v4 [data-byoui="experiences"].section,
  body.byoui-home-v4 [data-byoui="proof"].section,
  body.byoui-home-v4 [data-byoui="buildbuy"].section,
  body.byoui-home-v4 [data-byoui="systems"].section,
  body.byoui-home-v4 [data-byoui="evidence"].section { padding-block: 4.5rem; }
}

@media (max-width: 620px) {
  body.byoui-home-v4 [data-byoui] h2 { font-size: 2rem; }
  body.byoui-home-v4 [data-byoui="hero"] .page-hero-with-preview { padding-block: 2.75rem; }
  body.byoui-home-v4 [data-byoui="hero"] h1 { font-size: 2.625rem; line-height: 1.08; }
  body.byoui-home-v4 [data-byoui="hero"] .lede { font-size: 1rem; line-height: 1.6; }
  body.byoui-home-v4 [data-byoui="hero"] .page-hero-actions .button { width: 100%; }
  body.byoui-home-v4 [data-byoui="stats"] .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 0; }
  body.byoui-home-v4 [data-byoui="stats"] .stat { min-height: 7.5rem; padding: 1.25rem; border-top: 1px solid #e2e8f1; border-left: 1px solid #e2e8f1; }
  body.byoui-home-v4 [data-byoui="stats"] .stat:nth-child(odd) { border-left: 0; }
  body.byoui-home-v4 [data-byoui="stats"] .stat:first-child { padding: 1.25rem; }
  body.byoui-home-v4 [data-byoui="film"].section,
  body.byoui-home-v4 [data-byoui="glance"].section,
  body.byoui-home-v4 [data-byoui="experiences"].section,
  body.byoui-home-v4 [data-byoui="proof"].section,
  body.byoui-home-v4 [data-byoui="buildbuy"].section,
  body.byoui-home-v4 [data-byoui="systems"].section,
  body.byoui-home-v4 [data-byoui="evidence"].section,
  body.byoui-home-v4 [data-byoui="cta"].section { padding-block: 3.75rem; }
  body.byoui-home-v4 [data-byoui] .card { padding: 1.35rem; }
}

@media (max-width: 1050px) {
  .site-nav a { padding-inline: .5rem; font-size: .8rem; }
  .atlas-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .controls { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .controls .button { align-self: stretch; }
  .surface-list { grid-template-columns: repeat(2, 1fr); }
  .profile-meta { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1.4fr repeat(2, .8fr); }
  .footer-main > :last-child { grid-column: 2 / -1; }
}

@media (max-width: 900px) {
  .atlas-workspace { display: block; }
  .atlas-mobile-bar {
    position: sticky;
    z-index: 45;
    top: 4.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    margin: 1rem -.2rem 0;
    padding: .65rem;
    border: 1px solid var(--line);
    border-radius: .85rem;
    background: rgba(247,248,252,.97);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(14px);
  }
  .atlas-mobile-bar strong { color: var(--muted); font-size: .8rem; }
  .atlas-filters {
    position: fixed;
    z-index: 85;
    inset: 4.4rem 0 0 auto;
    width: min(92vw, 410px);
    max-height: none;
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    box-shadow: -25px 0 70px rgba(4, 16, 39, .2);
    transform: translateX(105%);
    transition: transform .22s ease;
    visibility: hidden;
  }
  .atlas-filters.is-open { transform: translateX(0); visibility: visible; }
  .atlas-filter-backdrop {
    position: fixed;
    z-index: 80;
    inset: 0;
    display: block;
    border: 0;
    background: rgba(4, 16, 39, .62);
    cursor: default;
  }
  .atlas-filter-backdrop[hidden] { display: none; }
  .filter-close { display: grid; place-items: center; }
  .atlas-results-toolbar { position: static; align-items: flex-start; }
  .atlas-results-toolbar > div:first-child { display: none; }
  .atlas-result-actions { width: 100%; justify-content: flex-start; }
  .compact-field { margin-right: auto; }
}

@media (max-width: 820px) {
  .headline-home.headline-desktop { display: none; }
  .headline-home.headline-mobile { display: block; }
  .page-hero-with-preview:has(.headline-home) { display: block; min-height: 0; }
  .page-hero-with-preview:has(.headline-home) .hero-visual-home { width: min(100%, 500px); margin: 1.1rem auto 0; }
  .page-hero-with-preview:has(.headline-home) .page-hero-actions { margin-top: 1.15rem; }
  .nav-toggle { display: grid; place-items: center; }
  .site-nav {
    position: fixed;
    inset: 4.4rem 0 auto;
    display: none;
    max-height: calc(100vh - 4.4rem);
    overflow: auto;
    padding: .8rem 1rem 1.2rem;
    background: var(--navy);
    border-bottom: 1px solid var(--line-dark);
  }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: .8rem; font-size: .95rem; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .architecture { max-width: 610px; }
  .grid.three, .grid.four { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .profile-header { grid-template-columns: 1fr; align-items: start; }
  .profile-header h1 { font-size: clamp(2rem, 10vw, 2.3rem); overflow-wrap: anywhere; }
  .profile-actions { justify-content: flex-start; }
  .profile-meta { grid-template-columns: repeat(2, 1fr); }
  .capability-grid { grid-template-columns: minmax(0, 1fr); }
  .capability-card { min-width: 0; overflow-wrap: anywhere; }
  .composer-layout { grid-template-columns: 1fr; }
  .brief-library-card { display: block; }
  .brief-library-actions { justify-content: flex-start; margin-top: 1.1rem; }
  .brief-output { position: static; }
  .evidence-group-grid, .connector-group-grid, .catalog-group-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .footer-main > :first-child { grid-column: 1 / -1; }
  .footer-main > :last-child { grid-column: auto; }
  .profile-index-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .linkedin-card.featured { grid-template-columns: 1fr; }
  .film-layout, .field-note-source { grid-template-columns: 1fr; }
  .atlas-hero-inner { grid-template-columns: 1fr; padding-block: 3.5rem; }
  .atlas-hero-film { max-width: 760px; }
  .atlas-hero-media { width: 100%; max-width: 760px; }
  .profile-review-callout { align-items: stretch; flex-direction: column; }
  .profile-review-callout .button { width: 100%; }
}

@media (min-width: 621px) and (max-width: 900px) {
  .page-hero-with-preview:has(.hero-visual-glossary) {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "visual" "actions";
    align-items: start;
    min-height: 0;
  }

  .page-hero-with-preview:has(.hero-visual-glossary) .hero-visual-glossary {
    width: min(100%, 420px);
    justify-self: start;
  }

  .page-hero-with-preview:has(.hero-visual-glossary) .page-hero-actions {
    margin-top: 0;
  }

  .page-hero-with-preview:has(.hero-visual-methodology) {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "visual" "actions";
    align-items: start;
    min-height: 0;
  }

  .page-hero-with-preview:has(.hero-visual-methodology) .hero-visual-methodology {
    width: min(100%, 420px);
    justify-self: start;
  }

  .page-hero-with-preview:has(.hero-visual-methodology) .page-hero-actions {
    margin-top: 0;
  }
}

@media (max-width: 620px) {
  .container, .container.narrow, .container.wide { width: min(calc(100% - 1.25rem), var(--max)); }
  .section { padding-block: 3.7rem; }
  h1 { font-size: clamp(2.65rem, 13vw, 4.2rem); }
  .page-hero-with-preview {
    display: block;
    min-height: 0;
    padding-block: 2.35rem;
  }
  .page-hero-artwork-inner { padding-block: .75rem 1rem; }
  .page-hero-artwork-utility { align-items: flex-start; flex-wrap: wrap; gap: .65rem; margin-bottom: .7rem; }
  .page-hero-artwork-context { width: 100%; justify-content: space-between; }
  .page-hero-artwork-actions { width: 100%; }
  .page-hero-artwork-actions .button { width: 100%; }
  .responsive-hero-artwork { border-radius: .85rem; }
  .breadcrumbs { margin-bottom: 1.05rem; font-size: .72rem; line-height: 1.45; }
  .breadcrumbs ol { gap: .22rem .38rem; }
  .breadcrumbs li { gap: .38rem; }
  .page-hero-with-preview h1 { font-size: clamp(2.45rem,11vw,3.3rem); }
  .page-hero-with-preview .lede { max-width: 100%; font-size: .98rem; }
  .glossary-lede-line { display: inline; white-space: normal; }
  .page-hero-with-aside { display: block; }
  .thesis-hero-visual {
    width: 100%;
    height: 132px;
    margin-top: 1.45rem;
    padding: 1rem 1.1rem;
  }
  .thesis-hero-visual::before { top: 3.9rem; right: 1.15rem; bottom: auto; left: 1.1rem; width: auto; height: 1px; background: linear-gradient(90deg, var(--cyan), rgba(47,99,255,.12)); }
  .thesis-hero-mark { width: 1.55rem; height: 1.55rem; font-size: .54rem; }
  .thesis-hero-visual p { display: flex; flex-wrap: wrap; align-items: baseline; gap: .18em .28em; margin: .65rem 0 0; font-size: 1.08rem; line-height: 1.05; }
  .thesis-hero-visual p strong { font-size: 1.62em; }
  .thesis-hero-visual .thesis-hero-dash { margin: 0; }
  .thesis-hero-trace { display: none; }
  .headline-desktop { display: none; }
  .headline-mobile { display: block; }
  .headline-glossary { font-size: .82em; }
  .headline-methodology, .headline-about { font-size: .9em; }
  .hero-visual {
    width: min(100%, 340px);
    margin: 1.1rem auto 0;
    aspect-ratio: .94;
  }
  .hero-visual-patterns { width: min(92%, 318px); }
  .hero-visual-composer,
  .hero-visual-glossary,
  .hero-visual-methodology {
    width: min(92%, 318px);
    aspect-ratio: 1;
  }
  .hero-visual-composer::after,
  .hero-visual-glossary::after,
  .hero-visual-methodology::after {
    display: none;
  }
  .hero-visual-composer picture,
  .hero-visual-glossary picture,
  .hero-visual-methodology picture {
    display: block;
    width: 100%;
    height: 100%;
  }
  .hero-visual-composer img,
  .hero-visual-glossary img,
  .hero-visual-methodology img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero-inner { padding-block: 4.2rem; }
  .hero-actions .button { width: 100%; }
  .brief-library-actions .button { width: 100%; }
  .page-hero-with-preview .page-hero-actions { max-width: none; justify-content: stretch; margin-top: 1.15rem; }
  .blog-card-body { padding: 1.35rem; }
  .blog-card-body h2 { font-size: clamp(1.9rem,9vw,2.75rem); }
  .page-hero.article-hero h1 { font-size: clamp(2.75rem,13vw,4.6rem); }
  .article-copy { font-size: 1.08rem; line-height: 1.68; }
  .arch-pills { grid-template-columns: repeat(2, 1fr); }
  .grid.two, .grid.three, .grid.four, .atlas-grid, .pattern-grid, .composition-grid, .capability-grid { grid-template-columns: 1fr; }
  .controls { grid-template-columns: 1fr; }
  .atlas-filters { width: 100%; }
  .atlas-results-toolbar { padding: .65rem; }
  .atlas-result-actions { flex-wrap: wrap; }
  .atlas-result-actions .compact-field { width: 100%; margin: 0; }
  .atlas-result-actions .button { flex: 1 1 auto; }
  .compare-tray { align-items: stretch; }
  .compare-tray, .compare-tray > div { flex-wrap: wrap; }
  .compare-tray > div:last-child { justify-content: flex-end; }
  .compare-dialog { width: calc(100% - .5rem); height: calc(100vh - .5rem); border-radius: .65rem; }
  .compare-dialog-head { gap: .8rem; padding: 1rem; }
  .compare-table-wrap { height: calc(100% - 8.6rem); padding: .55rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: .85rem; }
  .profile-meta { grid-template-columns: 1fr; margin-top: -1.4rem; }
  .surface-list { grid-template-columns: 1fr; }
  .score-grid { grid-template-columns: 1fr; }
  .score-row { grid-template-columns: 118px 1fr 1.2rem; gap: .5rem; }
  .definition { grid-template-columns: 1fr; gap: .2rem; }
  .glossary-controls, .glossary-grid { grid-template-columns: 1fr; }
  .glossary-controls .button { width: 100%; }
  .choice-grid { grid-template-columns: 1fr; }
  .featured-example { align-items: stretch; flex-direction: column; }
  .featured-example-actions, .featured-example-actions .button { width: 100%; }
  .index-search { grid-template-columns: 1fr; }
  .catalog-controls { grid-template-columns: 1fr; align-items: stretch; }
  .catalog-controls .button { width: 100%; }
  .directory-table, .directory-table tbody, .directory-table tr, .directory-table td { display: block; width: 100%; }
  .directory-table thead { display: none; }
  .directory-table tr { padding: .6rem; border-bottom: 1px solid var(--line); }
  .directory-table td { border: 0; padding: .4rem .5rem; }
  .directory-table td::before { content: attr(data-label); display: block; margin-bottom: .15rem; color: var(--muted); font-size: .66rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
  .profile-index-list { grid-template-columns: 1fr; }
  .linkedin-grid { grid-template-columns: 1fr; }
  .linkedin-card.featured { grid-column: auto; }
  .linkedin-card-media, .linkedin-card-media img { min-height: 0; }
  .film-layout { gap: 1.5rem; }
  .form-grid.two, .review-choice-grid, .review-section-grid { grid-template-columns: 1fr; }
  .pagination { grid-template-columns: 1fr; }
  .pagination a:last-child { text-align: left; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-main > :first-child, .footer-main > :last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

.atlas-mobile-hero-graphic { display: none; margin: 0; }

/* Preserve the public direct-to-tool navigation on the merged hero release. */
.site-nav .nav-parent-link {
  padding: .62rem .72rem;
  border-radius: .65rem;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 670;
  white-space: nowrap;
}
.site-nav .nav-parent-link:hover,
.site-nav .nav-parent-link[aria-current="page"],
.nav-cluster.is-open .nav-parent-link { color: white; background: rgba(255,255,255,.08); }
.nav-cluster { position: relative; display: flex; align-items: center; }
.nav-cluster .nav-parent-link { padding-right: .42rem; border-radius: .65rem 0 0 .65rem; }
.nav-shortcut-toggle {
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 0 .65rem .65rem 0;
  color: rgba(255,255,255,.62);
  background: transparent;
  cursor: pointer;
}
.nav-shortcut-toggle:hover,
.nav-shortcut-toggle:focus-visible,
.nav-shortcut-toggle[aria-expanded="true"] { color: white; background: rgba(255,255,255,.08); }
.nav-shortcut-toggle svg { width: .62rem; transition: transform .16s ease; }
.nav-shortcut-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-shortcut-menu {
  position: absolute;
  z-index: 120;
  top: calc(100% + .55rem);
  left: 0;
  min-width: 15rem;
  padding: .45rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: .8rem;
  background: #10213d;
  box-shadow: 0 18px 48px rgba(0,0,0,.32);
}
.nav-shortcut-menu[hidden] { display: none; }
.nav-shortcut-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem .75rem;
  border-radius: .55rem;
  color: rgba(255,255,255,.84);
  text-decoration: none;
  font-size: .84rem;
  font-weight: 690;
  white-space: nowrap;
}
.nav-shortcut-menu a:hover,
.nav-shortcut-menu a:focus-visible { color: white; background: rgba(255,255,255,.09); }
.nav-shortcut-menu a span { color: var(--cyan); }

@media (max-width: 1500px) {
  .header-inner { gap: .75rem; }
  .brand { font-size: 1.05rem; }
  .site-nav .nav-parent-link { padding-inline: .48rem .36rem; font-size: .82rem; }
  .nav-shortcut-toggle { width: 1.35rem; }
}

@media (max-width: 1050px) {
  .site-nav .nav-parent-link { padding-inline: .5rem .3rem; font-size: .8rem; }
  .nav-shortcut-toggle { width: 1.35rem; }
}

@media (max-width: 1180px) {
  .nav-toggle { display: grid; place-items: center; }
  .site-nav {
    position: fixed;
    inset: 4.4rem 0 auto;
    display: none;
    max-height: calc(100vh - 4.4rem);
    overflow: auto;
    padding: .8rem 1rem 1.2rem;
    background: var(--navy);
    border-bottom: 1px solid var(--line-dark);
  }
  .site-nav.is-open { display: grid; }
  .site-nav > .nav-parent-link { padding: .8rem; font-size: .95rem; }
  .nav-cluster { display: grid; grid-template-columns: 1fr 2.8rem; }
  .nav-cluster .nav-parent-link { padding: .8rem; border-radius: .65rem 0 0 .65rem; font-size: .95rem; }
  .nav-shortcut-toggle { width: 2.8rem; height: 2.8rem; border-radius: 0 .65rem .65rem 0; }
  .nav-shortcut-menu {
    position: static;
    grid-column: 1 / -1;
    min-width: 0;
    margin: .15rem 0 .45rem .8rem;
    padding: .25rem 0 .25rem .7rem;
    border-width: 0 0 0 1px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .nav-shortcut-menu a { padding: .65rem .75rem; font-size: .88rem; white-space: normal; }
}

@media (max-width: 620px) {
  .atlas-hero-film { display: none; }
  .atlas-mobile-hero-graphic {
    display: block;
    width: min(92%, 340px);
    margin: 0 auto;
  }
  .atlas-mobile-hero-graphic img { display: block; width: 100%; height: auto; border-radius: 1.25rem; }
}

@media print {
  .site-header, .site-footer, .hero-actions, .profile-actions, .controls, .brief-actions, .pagination, .nav-toggle, .atlas-mobile-bar, .atlas-filters, .atlas-results-toolbar, .active-filters, .compare-tray, .compare-dialog { display: none !important; }
  body { color: #000; background: #fff; }
  .hero, .page-hero, .section.dark { color: #000; background: #fff; }
  .hero::after { display: none; }
  .hero-inner { min-height: auto; padding: 1rem 0; display: block; }
  .architecture { color: #000; border: 1px solid #bbb; box-shadow: none; }
  .section { padding: 1.5rem 0; }
  .card, .meta-box, .capability-card, .surface-link { box-shadow: none; break-inside: avoid; }
  a { color: #000; text-decoration: underline; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
code { padding: .12rem .34rem; border-radius: .35rem; color: #1746c4; background: rgba(47,99,255,.08); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }

/* V5 shared visual system. Route-specific behavior remains in the existing page DOM. */
body.byoui-v5 {
  --ink: #0b1b33;
  --ink-soft: #46536a;
  --muted: #66738a;
  --paper: #fff;
  --surface: #fff;
  --surface-2: #f5f7fa;
  --navy: #0b1b33;
  --navy-2: #0b1b33;
  --blue: #2050e0;
  --blue-2: #4d7cff;
  --cyan: #2050e0;
  --green: #0e8a5f;
  --line: #e2e8f1;
  --line-dark: #e7ebf1;
  --layout-max: 1296px;
  --layout-gutter: clamp(1.25rem, 5vw, 4.5rem);
  --radius: .75rem;
  --radius-lg: .875rem;
  --shadow-sm: 0 2px 8px rgba(11,27,51,.04);
  --shadow-md: 0 18px 44px rgba(11,27,51,.14);
  color: var(--ink);
  background: #fff;
  font-family: "Instrument Sans", system-ui, sans-serif;
}

body.byoui-v5 h1,
body.byoui-v5 h2,
body.byoui-v5 h3,
body.byoui-v5 h4,
body.byoui-v5 .brand { font-family: "Schibsted Grotesk", system-ui, sans-serif; letter-spacing: 0; }
body.byoui-v5 .eyebrow,
body.byoui-v5 .badge,
body.byoui-v5 .footer-main h4 { font-family: "IBM Plex Mono", ui-monospace, monospace; }
body.byoui-v5 h1 { font-size: clamp(2.45rem, 4.2vw, 3.75rem); line-height: 1.07; font-weight: 600; }
body.byoui-v5 h2 { font-size: clamp(1.8rem, 2.6vw, 2.25rem); line-height: 1.15; font-weight: 600; }
body.byoui-v5 h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 600; }
body.byoui-v5 .lede { color: var(--ink-soft); font-size: 1.094rem; line-height: 1.65; text-wrap: pretty; }
body.byoui-v5 .eyebrow { color: var(--blue); font-size: .75rem; font-weight: 500; letter-spacing: .08em; }
body.byoui-v5 .display-accent { color: var(--blue); }

body.byoui-v5 .site-header {
  color: var(--ink);
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid #e7ebf1;
  backdrop-filter: saturate(180%) blur(12px);
}
body.byoui-v5 .header-inner { min-height: 4.375rem; justify-content: flex-start; gap: 1.75rem; }
body.byoui-v5 .brand { gap: .65rem; color: var(--ink); font-size: 1.0625rem; font-weight: 700; }
body.byoui-v5 .brand:hover { color: var(--ink); }
body.byoui-v5 .brand img { display: block; width: 1.875rem; height: 1.875rem; }
body.byoui-v5 .site-nav { flex: 1 1 auto; gap: .25rem; }
body.byoui-v5 .site-nav .nav-parent-link {
  padding: .6rem .75rem;
  border-radius: .5rem;
  color: var(--ink-soft);
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: .906rem;
  font-weight: 500;
}
body.byoui-v5 .site-nav .nav-parent-link:hover,
body.byoui-v5 .site-nav .nav-parent-link[aria-current="page"],
body.byoui-v5 .nav-cluster.is-open .nav-parent-link { color: var(--ink); background: #f2f5f9; }
body.byoui-v5 .nav-shortcut-toggle { width: 1.6rem; color: var(--ink-soft); }
body.byoui-v5 .nav-shortcut-toggle:hover,
body.byoui-v5 .nav-shortcut-toggle:focus-visible,
body.byoui-v5 .nav-shortcut-toggle[aria-expanded="true"] { color: var(--ink); background: #f2f5f9; }
body.byoui-v5 .site-nav a.nav-primary-cta { min-height: 2.5rem; margin-left: auto; padding: .68rem 1.05rem; border-radius: .56rem; color: #fff; font-size: .875rem; font-weight: 600; }
body.byoui-v5 .site-nav a.nav-primary-cta:hover,
body.byoui-v5 .site-nav a.nav-primary-cta:focus-visible { color: #fff; }
body.byoui-v5 .nav-shortcut-menu {
  min-width: 20rem;
  padding: .625rem;
  border-color: var(--line);
  border-radius: .875rem;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 18px 44px rgba(11,27,51,.14);
}
body.byoui-v5 .nav-shortcut-menu .byoui-dd-link {
  display: grid;
  grid-template-columns: 2.125rem minmax(0, 1fr);
  justify-content: normal;
  gap: .75rem;
  align-items: start;
  padding: .72rem .75rem;
  color: var(--ink);
  text-align: left;
}
body.byoui-v5 .nav-shortcut-menu .byoui-dd-link > span:last-child { min-width: 0; text-align: left; }
body.byoui-v5 .nav-shortcut-menu .byoui-dd-link:hover { color: var(--ink); background: var(--surface-2); }
body.byoui-v5 .byoui-dd-ic { display: grid; width: 2.125rem; height: 2.125rem; flex: 0 0 auto; place-items: center; border-radius: .5rem; color: var(--blue); background: #edf2fd; font: 500 .6875rem/1 "IBM Plex Mono", monospace; }
body.byoui-v5 .byoui-dd-tt,
body.byoui-v5 .byoui-dd-ds { display: block; }
body.byoui-v5 .byoui-dd-tt { color: var(--ink); font-size: .875rem; line-height: 1.2; }
body.byoui-v5 .byoui-dd-ds { margin-top: .2rem; color: var(--muted); font-size: .775rem; font-weight: 400; line-height: 1.4; }
body.byoui-v5 .nav-toggle { margin-left: auto; color: var(--ink); border-color: #c9d2e0; }

body.byoui-v5 .page-hero,
body.byoui-v5 .atlas-hero { color: var(--ink); background: #fff; border-bottom: 1px solid var(--line); }
body.byoui-v5 .page-hero-inner { padding-block: clamp(3.5rem, 6vw, 5.5rem); }
body.byoui-v5 .page-hero .lede,
body.byoui-v5 .atlas-hero-copy .lede,
body.byoui-v5 .atlas-hero-copy .hero-help { color: var(--ink-soft); }
body.byoui-v5 .page-hero-with-preview { min-height: 0; }
body.byoui-v5 .page-hero-with-aside { grid-template-columns: minmax(0, 1fr) minmax(360px, 500px); }
body.byoui-v5 .breadcrumbs,
body.byoui-v5 .breadcrumbs a { color: var(--muted); }
body.byoui-v5 .help-tip { color: var(--blue); border-color: #c9d2e0; }
body.byoui-v5 .hero-visual { border-color: var(--line); box-shadow: none; }
body.byoui-v5 .hero-visual-v5a {
  aspect-ratio: 520 / 400;
  overflow: hidden;
  border-radius: .875rem;
  background: var(--surface-2);
}
body.byoui-v5 .hero-visual-v5a::after { display: none; }
body.byoui-v5 .hero-visual-v5a img {
  position: static;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
body.byoui-v5 .hero-visual-film {
  aspect-ratio: 16 / 9;
  background: var(--ink);
}
body.byoui-v5 .hero-visual-film::after { display: none; }
body.byoui-v5 .hero-visual-film video { display: block; width: 100%; height: 100%; object-fit: cover; }
body.byoui-v5 .section { padding-block: clamp(4rem, 6vw, 5.5rem); }
body.byoui-v5 .section.tint { background: var(--surface-2); }
body.byoui-v5 .card,
body.byoui-v5 .meta-box,
body.byoui-v5 .capability-card,
body.byoui-v5 .surface-link { border-color: var(--line); border-radius: .75rem; box-shadow: none; }
body.byoui-v5 .button { border-radius: .5625rem; background: var(--blue); font-weight: 600; }
body.byoui-v5 .button.secondary { color: var(--ink); background: #fff; border-color: #c9d2e0; }

body.byoui-v5.route-atlas .atlas-hero-inner { padding-block: 3.75rem; }
body.byoui-v5.route-atlas .atlas-hero-copy h1 { font-size: clamp(2.45rem,4.2vw,3.75rem); }
body.byoui-v5.route-atlas .atlas-hero-copy .hero-help { font-size: 1.094rem; line-height: 1.65; }
body.byoui-v5.route-atlas .atlas-hero-media { align-content: center; }
body.byoui-v5.route-atlas .film-transcript { border-color: var(--line); }
body.byoui-v5.route-atlas .film-transcript summary { color: var(--blue); }
body.byoui-v5.route-atlas .film-transcript p { color: var(--muted); }
body.byoui-v5.route-atlas .atlas-platform-search {
  display: grid;
  gap: .5rem;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: #fff;
}
body.byoui-v5.route-atlas .atlas-platform-search label {
  color: var(--ink);
  font-size: .82rem;
  font-weight: 700;
}
body.byoui-v5.route-atlas .atlas-platform-search input {
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  padding: .7rem .8rem;
  border: 1px solid #cbd4e5;
  border-radius: .5625rem;
  color: var(--ink);
  background: #fff;
  outline: none;
}
body.byoui-v5.route-atlas .atlas-platform-search input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47,99,255,.12);
}

body.byoui-v5 .profile-hero-with-art,
body.byoui-v5 .article-hero-with-art {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
body.byoui-v5 .profile-hero-copy,
body.byoui-v5 .article-hero-copy { min-width: 0; }
body.byoui-v5 .profile-hero-with-art .profile-header { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
body.byoui-v5 .profile-hero-with-art .profile-actions { justify-content: flex-start; }
body.byoui-v5 .article-hero-with-art { max-width: var(--max); padding-bottom: clamp(3.5rem, 6vw, 5.5rem); }
body.byoui-v5 .article-hero-with-art h1 { max-width: 760px; font-size: clamp(2.8rem, 5.2vw, 4.75rem); line-height: 1.02; }
body.byoui-v5 .profile-hero-with-art .hero-visual,
body.byoui-v5 .article-hero-with-art .hero-visual { grid-area: auto; }
body.byoui-v5 .article-hero-with-art .hero-visual { justify-self: end; }
body.byoui-v5.route-patterns .pattern-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; }
body.byoui-v5.route-compositions .composition-grid { gap: 1.5rem; }

body.byoui-v5 .site-footer { color: #fff; background: var(--ink); border-top-color: rgba(255,255,255,.1); }
body.byoui-v5 .footer-main { padding-block: 3.75rem 2.75rem; }
body.byoui-v5 .footer-main h3 { font-size: 1.375rem; font-weight: 600; }
body.byoui-v5 .footer-main h4 { color: #7286a3; font-weight: 500; }
body.byoui-v5 .footer-main p,
body.byoui-v5 .footer-links a { color: #b9c4d6; }
body.byoui-v5 .footer-bottom { color: #7286a3; }

@media (max-width: 1180px) {
  body.byoui-v5 .site-nav {
    inset: 4.375rem 0 auto;
    width: 100%;
    max-width: 100vw;
    color: var(--ink);
    background: #fff;
    border-bottom-color: #e7ebf1;
  }
  body.byoui-v5 .site-nav.is-open { display: grid; grid-template-columns: 1fr; }
  body.byoui-v5 .site-nav .nav-parent-link { font-size: 1rem; }
  body.byoui-v5 .nav-primary-cta { width: 100%; margin: .75rem 0 0; }
  body.byoui-v5 .nav-cluster { grid-template-columns: 1fr 2.8rem; }
  body.byoui-v5 .nav-shortcut-toggle {
    width: 2.8rem;
    height: 2.8rem;
  }
  body.byoui-v5 .nav-shortcut-menu { min-width: 0; margin-left: .75rem; border-color: var(--line); background: var(--surface-2); box-shadow: none; }
  body.byoui-v5 .nav-shortcut-menu .byoui-dd-link {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    justify-content: start;
    text-align: left;
    white-space: normal;
  }
  body.byoui-v5 .nav-shortcut-menu .byoui-dd-link > span:last-child {
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .compare-check {
    min-height: 2.5rem;
    min-width: 2.75rem;
    padding: .35rem .45rem;
    margin: -.35rem -.45rem 0 0;
  }
  .compare-check input {
    width: 1.15rem;
    height: 1.15rem;
  }
}

@media (max-width: 1024px) {
  body.byoui-v5 .page-hero-with-preview { display: flex; flex-direction: column; align-items: stretch; }
  body.byoui-v5 .page-hero-with-preview,
  body.byoui-v5 .profile-hero-with-art,
  body.byoui-v5 .article-hero-with-art,
  body.byoui-v5 .hero-visual-v5a {
    min-width: 0;
    max-width: 100%;
  }
  body.byoui-v5 .page-hero-with-preview .page-hero-copy { order: 1; }
  body.byoui-v5 .page-hero-with-preview .page-hero-actions { order: 2; }
  body.byoui-v5 .page-hero-with-preview .hero-visual { order: 3; }
  body.byoui-v5 .page-hero-with-preview .hero-visual { width: min(100%, 38rem); margin: 2.25rem auto 0; }
  body.byoui-v5 .page-hero-with-preview .page-hero-actions { justify-content: flex-start; margin-top: 1.75rem; }
  body.byoui-v5 .headline-desktop { display: none; }
  body.byoui-v5 .headline-mobile { display: block; }
  body.byoui-v5 .profile-hero-with-art,
  body.byoui-v5 .article-hero-with-art { grid-template-columns: 1fr; }
  body.byoui-v5 .profile-hero-with-art .hero-visual,
  body.byoui-v5 .article-hero-with-art .hero-visual { width: min(100%, 38rem); margin: 0 auto; }
}

@media (max-width: 900px) {
  body.byoui-v5.route-patterns .pattern-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.byoui-v5 .atlas-hero-inner { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body.byoui-v5 { --layout-gutter: 1.25rem; }
  body.byoui-v5 .container,
  body.byoui-v5 .container.narrow,
  body.byoui-v5 .container.wide { width: min(calc(100% - 2.5rem), var(--max)); }
  body.byoui-v5 h1 { font-size: 2.45rem; }
  body.byoui-v5 h2 { font-size: 1.8rem; }
  body.byoui-v5.route-post .page-hero.article-hero h1 { font-size: 2.45rem; line-height: 1.07; letter-spacing: 0; }
  body.byoui-v5 .page-hero-inner { padding-block: 3rem; }
  body.byoui-v5.route-patterns .pattern-grid { grid-template-columns: 1fr; }
  body.byoui-v5 .footer-main { grid-template-columns: 1fr; }
}
