:root {
  color-scheme: light;
  --bg: #fafaf7;
  --surface: #f1efe8;
  --surface-strong: #e7e2d8;
  --text: #151512;
  --muted: #68645c;
  --subtle: #8b867b;
  --line: rgba(21, 21, 18, 0.14);
  --line-strong: rgba(21, 21, 18, 0.28);
  --accent: #1f6b66;
  --accent-quiet: rgba(31, 107, 102, 0.12);
  --warn: #865b2d;
  --shadowless: transparent;
  --max: 1184px;
  --serif: Charter, "Iowan Old Style", "Source Serif Pro", Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, ui-monospace, monospace;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e0e10;
  --surface: #171718;
  --surface-strong: #212123;
  --text: #f3f0e8;
  --muted: #bbb5aa;
  --subtle: #8e887f;
  --line: rgba(243, 240, 232, 0.14);
  --line-strong: rgba(243, 240, 232, 0.28);
  --accent: #72b9ad;
  --accent-quiet: rgba(114, 185, 173, 0.13);
  --warn: #d0a15e;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  transform: translateY(-200%);
  border: 1px solid var(--line-strong);
  background: var(--bg);
  padding: 8px 12px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(16px);
}

.header-inner,
.footer-inner,
main {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.brand-lockup {
  display: inline-flex;
  align-items: baseline;
  min-width: 0;
  gap: 8px;
  white-space: nowrap;
}

.brand-word {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}

.brand-separator,
.brand-tagline {
  color: var(--muted);
  font-family: var(--serif);
}

.brand-tagline {
  font-style: italic;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a,
.submit-link,
.text-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover,
.nav-links a[aria-current],
.submit-link:hover,
.text-button:hover {
  background: var(--surface);
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 8px;
}

.icon-button {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.icon-button:hover {
  border-color: var(--line-strong);
  background: var(--surface);
}

main {
  min-height: 68vh;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 48px;
  align-items: end;
  min-height: calc(100vh - 160px);
  padding: 96px 0 64px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.row-kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
.footer-brand {
  font-family: var(--serif);
}

h1 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: 104px;
  font-weight: 500;
  line-height: 0.96;
}

h2 {
  margin-bottom: 14px;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.08;
}

h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
}

.hero-subtitle,
.dek {
  max-width: 760px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.hero-subtitle {
  margin-bottom: 40px;
  font-size: 24px;
}

.hero-search {
  max-width: 640px;
}

.hero-search label,
.search-form label,
.editorial-form label > span,
.filter-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.4;
  text-transform: uppercase;
}

.search-box {
  min-height: 48px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  padding: 0 14px;
}

.search-box-large {
  min-height: 64px;
  grid-template-columns: 24px minmax(0, 1fr) 48px;
  padding-right: 8px;
}

.search-box:focus-within {
  border-color: var(--accent);
}

.search-box input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.search-box button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: var(--bg);
  cursor: pointer;
}

.hero-panel {
  border-top: 1px solid var(--line-strong);
  padding-top: 24px;
}

.hero-rule {
  position: relative;
  width: 100%;
  height: 8px;
  margin-bottom: 32px;
  background: var(--line-strong);
}

.hero-rule::before,
.hero-rule::after {
  position: absolute;
  top: 0;
  bottom: 0;
  content: "";
}

.hero-rule::before {
  left: 0;
  width: 28%;
  background: var(--accent);
}

.hero-rule::after {
  left: 28%;
  width: 4%;
  background: var(--bg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.stat {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg);
  padding: 18px;
}

.stat-value {
  font-family: var(--mono);
  font-size: 28px;
  line-height: 1;
}

.stat-label {
  color: var(--muted);
  font-size: 14px;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  border: 1px solid var(--line);
  background: var(--line);
}

.logo-box {
  height: 84px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--bg);
  padding: 16px;
  filter: grayscale(100%);
}

:root[data-theme="dark"] .logo-box {
  filter: grayscale(1) brightness(1.35);
}

.logo-box span {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--text);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1;
  text-align: center;
}

.logo-box-large {
  width: 144px;
  height: 112px;
  flex: 0 0 144px;
}

.band {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.band-tight {
  padding-top: 24px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 32px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -8px;
}

.section-heading h2 {
  max-width: 720px;
  margin: 0;
}

.icon-link,
.button-link,
.primary-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
}

.icon-link {
  color: var(--accent);
}

.button-link,
.primary-button {
  border: 1px solid var(--text);
  background: var(--text);
  color: var(--bg);
  padding: 0 16px;
}

.button-link:hover,
.primary-button:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.sector-tile {
  min-height: 248px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px;
}

.sector-tile:hover,
.company-row:hover,
.sector-row:hover {
  background: var(--surface);
}

.sector-tile span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
}

.sector-tile p,
.company-row p,
.sector-row p {
  margin-bottom: 0;
  color: var(--muted);
}

.row-list {
  border-top: 1px solid var(--line);
}

.company-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
  gap: 24px;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.company-row-main {
  min-width: 0;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
}

.company-row .logo-box {
  height: 96px;
}

.row-title-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.row-title-line h3 {
  margin-bottom: 0;
}

.chip-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag,
.dual-badge {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
}

a.tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.dual-badge {
  border-color: color-mix(in srgb, var(--warn) 48%, transparent);
  background: color-mix(in srgb, var(--warn) 12%, transparent);
  color: var(--warn);
}

.company-row-meta {
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  gap: 8px;
  border-left: 1px solid var(--line);
  padding: 20px 0 20px 24px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.sector-row-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 32px;
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.sector-row-side {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.sector-row-side span {
  max-width: 280px;
}

.editorial-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.editorial-strip p {
  margin: 0;
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1.08;
}

.page-intro {
  padding: 80px 0 48px;
  border-bottom: 1px solid var(--line);
}

.page-intro h1 {
  max-width: 980px;
  font-size: 88px;
}

.intro-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  max-width: 560px;
  margin-top: 32px;
  border: 1px solid var(--line);
  background: var(--line);
}

.intro-meta .stat {
  min-width: 180px;
  min-height: 96px;
}

.essay-block {
  max-width: 840px;
  padding: 48px 0;
}

.essay-block p,
.profile-body p,
.why-block p {
  color: var(--text);
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.5;
}

.essay-block p + p {
  margin-top: 24px;
}

.directory-controls {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1.25fr);
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.filter-grid label,
.editorial-form label {
  min-width: 0;
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
}

select,
input {
  min-height: 48px;
  padding: 0 12px;
}

textarea {
  min-height: 144px;
  resize: vertical;
  padding: 12px;
}

select:focus,
input:focus,
textarea:focus {
  border-color: var(--accent);
  outline: 0;
}

.control-summary {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.control-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: end;
  gap: 10px;
}

.view-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(88px, 1fr));
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2px;
}

.view-toggle button {
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
}

.view-toggle button[aria-pressed="true"] {
  background: var(--text);
  color: var(--bg);
}

.text-button {
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.atlas-shell {
  border-top: 1px solid var(--line);
}

.atlas-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.atlas-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.35;
}

.atlas-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--bg);
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  text-align: left;
  text-transform: uppercase;
}

.atlas-table th,
.atlas-table td {
  border-bottom: 1px solid var(--line);
  padding: 9px 10px;
  vertical-align: top;
}

.atlas-table tbody tr:hover {
  background: var(--surface);
}

.atlas-table tbody tr.is-strategic {
  background: color-mix(in srgb, var(--warn) 7%, transparent);
}

.atlas-table tbody tr.is-strategic:hover {
  background: color-mix(in srgb, var(--warn) 12%, transparent);
}

.atlas-index,
.atlas-year {
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 12px;
  white-space: nowrap;
}

.atlas-company {
  min-width: 210px;
}

.atlas-company a {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.atlas-company strong {
  font-size: 14px;
}

.mini-badge {
  min-height: 18px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--warn) 16%, transparent);
  color: var(--warn);
  padding: 0 6px;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1;
}

.atlas-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 170px;
}

.atlas-tag {
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  padding: 0 7px;
  font-size: 11px;
  white-space: nowrap;
}

.atlas-founders {
  min-width: 220px;
  color: var(--muted);
}

.atlas-known {
  min-width: 280px;
  color: var(--muted);
}

.atlas-note {
  display: none;
  margin: 12px 0 0;
  color: var(--subtle);
  font-size: 13px;
}

.empty-state,
.not-found {
  padding: 80px 0;
}

.empty-state h3,
.not-found h1 {
  max-width: 720px;
}

.profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: end;
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--line);
}

.profile-title {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.profile-title h1 {
  margin-bottom: 16px;
}

.profile-title p:not(.eyebrow) {
  max-width: 700px;
  color: var(--muted);
  font-size: 22px;
}

.profile-meta {
  border-top: 1px solid var(--line-strong);
  padding-top: 16px;
}

.profile-meta dl {
  margin: 0;
}

.profile-meta div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.profile-meta dt,
.profile-sidebar h2 {
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
}

.profile-meta dd {
  margin: 0;
  text-align: right;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 320px);
  gap: 80px;
  padding: 56px 0 72px;
  border-bottom: 1px solid var(--line);
}

.profile-body section {
  padding-bottom: 40px;
}

.profile-body h2 {
  margin-bottom: 16px;
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  text-transform: uppercase;
}

.why-block {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  margin: 16px 0 40px;
  padding: 32px 0 40px;
}

.why-block p {
  margin: 0;
  color: var(--text);
  font-size: 28px;
  line-height: 1.45;
}

.text-list {
  margin: 0;
  padding-left: 20px;
}

.text-list li + li {
  margin-top: 10px;
}

.discretion-note {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: var(--muted) !important;
  font-family: var(--sans) !important;
  font-size: 14px !important;
}

.profile-sidebar {
  align-self: start;
  border-top: 1px solid var(--line-strong);
}

.profile-sidebar section {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.profile-sidebar p {
  margin-bottom: 0;
  color: var(--muted);
}

.link-stack {
  display: grid;
  gap: 8px;
}

.link-stack a {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
}

.link-stack a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 48px 0 80px;
  border: 1px solid var(--line);
  background: var(--line);
}

.criteria-grid article {
  min-height: 280px;
  background: var(--bg);
  padding: 32px;
}

.criteria-grid h2,
.principles-list h2 {
  font-size: 28px;
}

.criteria-grid p,
.criteria-grid li,
.principles-list p {
  color: var(--muted);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 72px;
}

.essay-block-plain {
  padding-top: 56px;
}

.principles-list {
  align-self: start;
  border-top: 1px solid var(--line-strong);
  margin-top: 56px;
}

.principles-list h2 {
  margin: 24px 0 8px;
}

.principles-list p {
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
  padding-bottom: 24px;
}

.form-shell {
  max-width: 780px;
  padding: 48px 0 88px;
}

.form-shell-narrow {
  max-width: 560px;
}

.editorial-form {
  display: grid;
  gap: 20px;
}

.check-line {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.check-line input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.check-line span {
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 14px;
  text-transform: none;
}

.primary-button {
  min-height: 52px;
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.form-result {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: var(--accent);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
}

.footer-inner p {
  max-width: 520px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: start;
  justify-content: end;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner a:hover {
  color: var(--accent);
}

@media (max-width: 980px) {
  h1 {
    font-size: 72px;
  }

  h2,
  .editorial-strip p {
    font-size: 40px;
  }

  .page-intro h1 {
    font-size: 64px;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nav-links {
    grid-column: 1 / -1;
    order: 3;
    justify-content: start;
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .hero,
  .profile-hero,
  .profile-layout,
  .about-layout,
  .directory-controls {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 64px;
  }

  .filter-grid,
  .sector-grid,
  .criteria-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-layout {
    gap: 32px;
  }

  .profile-sidebar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--line);
    background: var(--line);
  }

  .profile-sidebar section {
    border: 0;
    background: var(--bg);
    padding: 20px;
  }
}

@media (max-width: 720px) {
  .header-inner,
  .footer-inner,
  main {
    width: min(100% - 24px, var(--max));
  }

  .brand-lockup {
    align-items: baseline;
    flex-direction: row;
    gap: 6px;
    white-space: normal;
  }

  .brand-separator {
    display: none;
  }

  .brand-tagline {
    display: none;
  }

  .submit-link {
    display: none;
  }

  h1 {
    font-size: 52px;
    line-height: 1;
  }

  h2,
  .editorial-strip p {
    font-size: 34px;
  }

  .page-intro h1 {
    font-size: 46px;
  }

  .hero-subtitle,
  .dek,
  .profile-title p:not(.eyebrow) {
    font-size: 18px;
  }

  .section-heading,
  .editorial-strip,
  .footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .control-summary {
    align-items: stretch;
    flex-direction: column;
  }

  .section-heading .eyebrow {
    margin-bottom: -12px;
  }

  .sector-grid,
  .criteria-grid,
  .filter-grid,
  .stats-grid,
  .logo-wall,
  .profile-sidebar {
    grid-template-columns: 1fr;
  }

  .company-row {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 18px 0;
  }

  .company-row-main {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 16px;
    padding: 0;
  }

  .company-row .logo-box {
    width: 92px;
    height: 72px;
    padding: 10px;
  }

  .company-row .logo-box span {
    font-size: 16px;
  }

  .company-row-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-left: 0;
    padding: 16px 0 0;
  }

  .control-actions {
    width: 100%;
    justify-content: stretch;
  }

  .view-toggle {
    flex: 1 1 190px;
  }

  .text-button {
    flex: 1 1 140px;
  }

  .atlas-scroll {
    margin-right: -12px;
    padding-right: 12px;
  }

  .atlas-table {
    min-width: 1040px;
  }

  .atlas-note {
    display: block;
  }

  .sector-row-link {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sector-row-side {
    align-items: flex-start;
  }

  .profile-title {
    flex-direction: column;
  }

  .logo-box-large {
    width: 100%;
  }

  .why-block p,
  .essay-block p,
  .profile-body p {
    font-size: 21px;
  }

  .footer-inner nav {
    justify-content: start;
  }
}

@media (max-width: 420px) {
  .nav-links a {
    padding: 0 10px;
  }

  h1,
  .page-intro h1 {
    font-size: 38px;
  }

  .hero {
    padding-top: 48px;
    gap: 32px;
  }

  .page-intro {
    padding: 56px 0 36px;
  }

  .band {
    padding: 48px 0;
  }

  .band-tight {
    padding-top: 16px;
  }

  .search-box-large {
    grid-template-columns: 24px minmax(0, 1fr);
    padding-right: 14px;
  }

  .search-box-large button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .company-row-main {
    grid-template-columns: 1fr;
  }

  .company-row .logo-box {
    width: 100%;
    height: 64px;
  }

  .company-row-meta {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
