:root {
  --paper: #f4efe4;
  --paper-deep: #ece3d0;
  --ink: #171717;
  --soft-ink: #4d4d4d;
  --muted: #726a60;
  --rule: #1f1f1f;
  --rule-soft: rgba(23, 23, 23, 0.18);
  --accent: #8a1f11;
  --lane-one: #a44c32;
  --lane-two: #355f3b;
  --lane-three: #234663;
  --lane-four: #8a5b11;
  --success: #355f3b;
  --warning: #8a5b11;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), transparent 240px),
    repeating-linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.012),
      rgba(0, 0, 0, 0.012) 1px,
      transparent 1px,
      transparent 34px
    ),
    var(--paper);
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, serif;
  line-height: 1.6;
  padding: 1rem;
}

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

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

img {
  display: block;
  max-width: 100%;
}

.page {
  max-width: 1320px;
  margin: 0 auto;
  background: rgba(255, 252, 247, 0.92);
  border: 1px solid var(--rule-soft);
  box-shadow: 0 24px 60px rgba(30, 25, 19, 0.08);
}

.page.page-archive {
  max-width: 980px;
}

.utility,
.utility-links,
.masthead-mark,
.brand,
.section-kicker,
.story-kicker,
.story-meta,
.detail-label,
.metric-label,
.insight-pill,
.insight-meta-row,
.insight-eyebrow,
.stage-chip,
.insight-filter,
.footer,
.archive-row span,
.board-stat span,
.lane-kicker,
.metric-label,
.site-note,
label,
.lab-message,
.lab-run-status,
.lab-run-meta,
.lab-chip {
  font-family: "Libre Franklin", "Helvetica Neue", sans-serif;
}

.utility {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1.4rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soft-ink);
}

.utility-links,
.footer-links,
.home-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1rem;
  align-items: center;
}

.masthead {
  padding: 1.7rem 1.4rem 1.25rem;
  text-align: center;
  border-bottom: 0.75rem double var(--rule);
}

.masthead-mark,
.brand {
  display: inline-block;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.masthead h1 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 5.1rem);
  line-height: 0.93;
  letter-spacing: 0.05em;
}

.masthead p,
.masthead-deck {
  max-width: 820px;
  margin: 0.8rem auto 0;
  font-size: 1.04rem;
  color: var(--soft-ink);
}

.page-home .masthead p {
  max-width: 900px;
}

.page-home .masthead h1 {
  font-size: clamp(3.45rem, 7vw, 5.85rem);
}

.home-link-row {
  justify-content: center;
  margin-top: 1rem;
}

.home-link-row a,
.insight-link-row a,
.lab-home-note a {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--rule);
  background: rgba(255, 252, 247, 0.84);
  padding: 0.52rem 0.8rem;
  font-family: "Libre Franklin", "Helvetica Neue", sans-serif;
  font-size: 0.69rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

main {
  padding: 1.25rem 1.25rem 1.8rem;
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 1.35rem;
}

.metric,
.editorial-lead,
.spotlight-card,
.board-scorecard,
.lane-band,
.insight-table-shell,
.story-card,
.analysis-card,
.insight-card,
.insight-hero-note,
.repo-shelf-card,
.lab-home-card,
.lab-panel,
.lab-detail-card,
.detail,
.intro-note {
  border: 1px solid var(--rule-soft);
  background: linear-gradient(180deg, rgba(236, 227, 208, 0.86), rgba(255, 252, 247, 0.93));
}

.metric {
  padding: 0.75rem 0.95rem;
  text-align: center;
}

.metric-value {
  display: block;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 1.95rem;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.metric-value.metric-value-text {
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.metric-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

.insight-shell,
.section-shell,
.section-block,
.lab-section {
  margin-top: 1.45rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--rule);
}

.section-header,
.section-intro {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}

.priority-section {
  border-top: 0.75rem double var(--rule);
  padding-top: 1.1rem;
}

.priority-section .section-intro h2 {
  font-size: clamp(2.25rem, 4vw, 3.15rem);
}

.section-header h2,
.section-intro h2,
.story-title,
.story-headline,
.editorial-lead h2,
.spotlight-card h3,
.lane-band h3,
.repo-shelf-card h3,
.insight-card h3,
.lab-home-card h3,
.lab-panel h2,
.lab-detail-card h3,
.analysis-card h3 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  line-height: 1;
}

.section-header h2,
.section-intro h2 {
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-header p,
.section-intro p {
  max-width: 58ch;
  color: var(--soft-ink);
  font-size: 0.96rem;
}

.eyebrow,
.insight-eyebrow,
.section-kicker {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.story-kicker,
.insight-meta-row,
.section-kicker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.story-kicker,
.section-kicker {
  margin-bottom: 0.5rem;
}

.story-kicker span:first-child,
.section-kicker span:first-child {
  color: var(--accent);
  font-weight: 700;
}

.story-card,
.analysis-card,
.insight-card,
.lab-home-card {
  padding: 1rem 1.05rem 1.1rem;
}

.story-headline,
.story-title {
  font-size: clamp(1.35rem, 2vw, 1.95rem);
  line-height: 1.08;
  margin-bottom: 0.55rem;
}

.story-summary,
.analysis-note,
.insight-card-copy,
.insight-muted,
.editorial-lead p,
.spotlight-card p,
.lane-band p,
.lab-home-note,
.lab-program,
.intro-copy p,
.intro-note p,
.lab-panel p,
.lab-detail-card p,
.archive-row a + span {
  color: var(--soft-ink);
}

.story-summary,
.analysis-note,
.insight-card-copy,
.insight-muted {
  font-size: 0.98rem;
}

.story-summary,
.analysis-note,
.insight-card-copy {
  margin-bottom: 0.8rem;
}

.analysis-note strong,
.story-summary strong {
  color: var(--ink);
}

.story-media {
  margin: 0 0 0.9rem;
}

.story-media img {
  width: 100%;
  background: var(--paper-deep);
  border: 1px solid var(--rule-soft);
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}

.story-media.landscape img,
.story-media.lead img {
  aspect-ratio: 16 / 10;
}

.story-media.portrait img {
  aspect-ratio: 8.5 / 11;
}

.media-caption {
  margin-top: 0.35rem;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: auto;
}

.story-meta strong,
.board-stat strong,
.lane-band-stat strong {
  color: var(--ink);
}

.repeat-flag {
  color: var(--accent);
  font-weight: 700;
}

.tag-row,
.insight-pill-row,
.lab-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag-row,
.insight-pill-row {
  margin-top: 0.75rem;
}

.tag,
.insight-pill,
.lane-signal-pill,
.lab-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--rule-soft);
  background: rgba(255, 255, 255, 0.62);
  padding: 0.2rem 0.45rem;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--soft-ink);
}

.story-notes,
.detail ul,
.lab-list {
  padding-left: 1rem;
}

.story-notes li,
.detail li,
.lab-list li {
  color: var(--soft-ink);
  margin-bottom: 0.35rem;
}

.home-summary-strip {
  margin-bottom: 1.5rem;
}

.board-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 1.25rem;
  align-items: start;
}

.editorial-lead,
.spotlight-card,
.board-scorecard,
.lane-band,
.insight-table-shell {
  padding: 1rem 1.05rem 1.15rem;
}

.editorial-lead h2 {
  font-size: clamp(2.5rem, 4vw, 3.85rem);
  margin-bottom: 0.9rem;
}

.lead-divider {
  border-top: 1px solid var(--rule-soft);
  padding-top: 0.9rem;
  margin-top: 0.9rem;
}

.board-sidebar,
.insight-side-stack {
  display: grid;
  gap: 1rem;
}

.spotlight-card h3,
.lane-band h3,
.lab-home-card h3 {
  font-size: 1.9rem;
  margin-bottom: 0.55rem;
}

.insight-meta-row {
  margin: 0.75rem 0;
}

.stage-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.14rem 0.45rem;
  border: 1px solid var(--rule-soft);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.62);
}

.stage-funded {
  color: var(--success);
  border-color: rgba(53, 95, 59, 0.28);
}

.stage-scaling {
  color: var(--lane-three);
  border-color: rgba(35, 70, 99, 0.28);
}

.stage-launched {
  color: var(--warning);
  border-color: rgba(138, 91, 17, 0.28);
}

.stage-building {
  color: var(--accent);
  border-color: rgba(138, 31, 17, 0.28);
}

.board-scorecard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.board-stat {
  border-top: 1px solid var(--rule-soft);
  padding-top: 0.7rem;
}

.board-stat strong {
  display: block;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.board-stat span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-section-grid,
.intro-grid,
.lab-shell,
.insight-hero,
.insight-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 1.25rem;
  align-items: start;
}

.stack-grid,
.lane-board-list,
.lab-run-list,
.lab-stage-grid,
.lane-strip-list {
  display: grid;
  gap: 0.85rem;
}

.mini-story {
  padding: 0.95rem 1rem 1.05rem;
  border: 1px solid var(--rule-soft);
  background: rgba(255, 252, 247, 0.88);
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.1rem;
}

.analysis-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.1rem;
  margin-bottom: 1rem;
}

.insight-summary {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 0.98;
  margin-bottom: 0.75rem;
}

.insight-home-panel {
  min-width: 0;
}

.insight-link-row {
  margin-top: 0.8rem;
}

.lane-strip {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.58rem 0.7rem;
  border: 1px solid var(--rule-soft);
  background: rgba(255, 255, 255, 0.6);
}

.lane-strip strong {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 1.2rem;
  line-height: 1;
}

.lane-strip span {
  font-family: "Libre Franklin", "Helvetica Neue", sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.insight-mini-grid,
.insight-repo-grid,
.story-grid,
.lab-detail-grid,
.lab-form-grid,
.lab-home-form-grid {
  display: grid;
  gap: 1rem 1.1rem;
}

.insight-mini-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
}

.insight-repo-grid,
.story-grid,
.lab-detail-grid,
.lab-form-grid,
.lab-home-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 0.6rem;
}

.detail {
  padding: 0.8rem 0.85rem;
  min-width: 0;
}

.detail-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.detail p,
.detail li,
.archive-row a,
.lab-program {
  font-size: 0.94rem;
}

.feed-stream {
  display: grid;
  gap: 1rem;
}

.insight-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.insight-filter {
  appearance: none;
  border: 1px solid var(--rule-soft);
  background: rgba(255, 255, 255, 0.8);
  padding: 0.52rem 0.75rem;
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--soft-ink);
  cursor: pointer;
}

.insight-filter.is-active {
  border-color: var(--rule);
  background: var(--ink);
  color: #f8f2e6;
}

.insight-hero-note strong {
  display: block;
  margin-bottom: 0.45rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.repo-shelf {
  display: grid;
  perspective: 1600px;
  min-height: 320px;
  margin-bottom: 1.1rem;
}

.repo-shelf-card {
  grid-area: 1 / 1;
  width: min(100%, 360px);
  justify-self: center;
  padding: 1rem 1.05rem 1.1rem;
  box-shadow: 0 22px 40px rgba(30, 25, 19, 0.08);
  transform-style: preserve-3d;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.repo-shelf-card.depth-1 {
  transform: translate3d(-78px, 28px, -110px) rotateY(18deg) rotateX(4deg);
}

.repo-shelf-card.depth-2 {
  transform: translate3d(0, 0, 0) rotateY(-2deg) rotateX(1deg);
  z-index: 2;
}

.repo-shelf-card.depth-3 {
  transform: translate3d(78px, 26px, -120px) rotateY(-18deg) rotateX(4deg);
}

.repo-shelf-card:hover {
  box-shadow: 0 28px 52px rgba(30, 25, 19, 0.12);
  transform: translate3d(0, -4px, 20px) rotateY(0deg) rotateX(0deg);
  z-index: 3;
}

.insight-hero h2 {
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  line-height: 0.96;
  margin-bottom: 0.8rem;
}

.lane-board-section {
  margin-bottom: 1.25rem;
}

.lane-band {
  position: relative;
  overflow: hidden;
}

.lane-band::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: var(--lane-color, var(--accent));
}

.lane-band:nth-child(1) {
  --lane-color: var(--lane-one);
}

.lane-band:nth-child(2) {
  --lane-color: var(--lane-two);
}

.lane-band:nth-child(3) {
  --lane-color: var(--lane-three);
}

.lane-band:nth-child(4) {
  --lane-color: var(--lane-four);
}

.lane-band-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
  margin-left: 0.4rem;
  margin-bottom: 0.6rem;
}

.lane-kicker {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.lane-band-stat {
  text-align: right;
  min-width: 88px;
}

.lane-band-stat strong {
  display: block;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.lane-band-stat span {
  display: block;
  font-family: "Libre Franklin", "Helvetica Neue", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.lane-meter {
  height: 8px;
  background: rgba(21, 21, 21, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin: 0.9rem 0 0.75rem 0.4rem;
}

.lane-meter-bar {
  height: 100%;
  width: var(--meter-width, 40%);
  background: var(--lane-color, var(--accent));
  border-radius: 999px;
}

.lane-signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-left: 0.4rem;
}

.insight-table-shell {
  overflow: auto;
}

.insight-table {
  width: 100%;
  border-collapse: collapse;
}

.insight-table th,
.insight-table td {
  padding: 0.78rem 0.45rem;
  text-align: left;
  border-top: 1px solid var(--rule-soft);
  vertical-align: top;
}

.insight-table th {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.insight-table td {
  font-size: 0.95rem;
}

.archive-list {
  border-top: 1px solid var(--rule);
}

.archive-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule-soft);
}

.archive-row span {
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.15rem;
}

.archive-row a {
  font-size: 1.28rem;
  line-height: 1.18;
  font-weight: 700;
}

.intro-copy h2,
.lab-panel h2,
.lab-detail-card h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.65rem;
}

.intro-note,
.lab-panel,
.lab-detail-card {
  padding: 1rem 1.05rem 1.15rem;
}

label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

textarea,
select,
input {
  width: 100%;
  border: 1px solid var(--rule-soft);
  background: rgba(255, 255, 255, 0.72);
  padding: 0.78rem 0.82rem;
  font: inherit;
  color: var(--ink);
}

textarea {
  min-height: 164px;
  resize: vertical;
}

.lab-form,
.lab-home-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.lab-actions,
.lab-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.lab-button {
  appearance: none;
  border: 1px solid var(--rule);
  background: var(--ink);
  color: #f8f2e6;
  padding: 0.8rem 1.05rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: "Libre Franklin", "Helvetica Neue", sans-serif;
  font-size: 0.74rem;
}

.lab-message {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.lab-message[data-tone="success"] {
  color: var(--success);
}

.lab-message[data-tone="warn"] {
  color: var(--warning);
}

.lab-message[data-tone="error"] {
  color: var(--accent);
}

.lab-run-card {
  width: 100%;
  text-align: left;
  padding: 0.9rem 0.95rem;
  border: 1px solid var(--rule-soft);
  background: linear-gradient(180deg, rgba(236, 227, 208, 0.84), rgba(255, 252, 247, 0.92));
  cursor: pointer;
}

.lab-run-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: var(--ink);
}

.lab-run-status,
.lab-run-meta {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.lab-run-status {
  margin-bottom: 0.45rem;
  color: var(--accent);
  font-weight: 700;
}

.status-completed {
  color: var(--success);
}

.status-failed {
  color: var(--accent);
}

.status-running {
  color: var(--warning);
}

.lab-detail-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: "Libre Franklin", "Helvetica Neue", sans-serif;
}

.insight-empty,
.empty,
.lab-empty {
  padding: 1rem 0;
  color: var(--muted);
  font-style: italic;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .repo-shelf-card,
  .repo-shelf-card:hover {
    transition: none;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .section-grid,
  .insight-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .board-hero,
  .hero-section-grid,
  .intro-grid,
  .lab-shell,
  .insight-hero,
  .insight-home-grid,
  .analysis-grid,
  .section-grid,
  .insight-mini-grid,
  .insight-repo-grid,
  .story-grid,
  .lab-detail-grid,
  .lab-form-grid,
  .lab-home-form-grid,
  .detail-grid,
  .summary-strip,
  .board-scorecard {
    grid-template-columns: minmax(0, 1fr);
  }

  .repo-shelf {
    min-height: auto;
  }
}

@media (max-width: 820px) {
  body {
    padding: 0;
  }

  .page {
    border-left: 0;
    border-right: 0;
  }

  .utility,
  .utility-links,
  .footer,
  .footer-links,
  .section-header,
  .section-intro,
  .lab-actions,
  .lab-action-row,
  .home-link-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .masthead,
  .utility,
  .footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  main {
    padding: 1rem 1rem 1.45rem;
  }

  .archive-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .lane-band-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .lane-band-stat {
    text-align: left;
  }

  .repo-shelf-card,
  .repo-shelf-card.depth-1,
  .repo-shelf-card.depth-2,
  .repo-shelf-card.depth-3,
  .repo-shelf-card:hover {
    transform: none;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .home-link-row a,
  .insight-link-row a,
  .lab-home-note a,
  .lab-button {
    width: 100%;
    justify-content: center;
  }
}