.hero[data-astro-cid-lcdefpme] {
  position: relative;
  isolation: isolate;
  padding-block: clamp(2rem, 1rem + 4vw, 4.5rem) clamp(2rem, 1rem + 2.5vw, 3.5rem);
  overflow: hidden;
}

.hero[data-astro-cid-lcdefpme]:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(to right, var(--rule) 1px, transparent 1px),
      linear-gradient(to bottom, var(--rule) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(80% 70% at 70% 30%, #000c, #0000 75%);
  mask-image: radial-gradient(80% 70% at 70% 30%, #000c, #0000 75%);
}

.hero__grid[data-astro-cid-lcdefpme] {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}

.hero__title[data-astro-cid-lcdefpme] {
  margin: 0;
  font-size: clamp(3.4rem, 1.4rem + 8.4vw, 9rem);
  font-weight: 740;
  letter-spacing: -.03em;
  line-height: .88;
}

.kern-ai[data-astro-cid-lcdefpme] {
  letter-spacing: .025em;
  margin-right: -.025em;
}

.hero__line[data-astro-cid-lcdefpme] {
  display: block;
}

.dot[data-astro-cid-lcdefpme] {
  color: var(--accent);
}

.hero__identity[data-astro-cid-lcdefpme] {
  margin: clamp(1.4rem, 1rem + 1.5vw, 2.2rem) 0 0;
  max-width: 34rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 560;
  line-height: 1.35;
  letter-spacing: -.012em;
}

.hero__sub[data-astro-cid-lcdefpme] {
  margin: .9rem 0 0;
  max-width: 34rem;
  font-size: var(--step-0);
  color: var(--ink-2);
}

.scribble[data-astro-cid-lcdefpme] {
  position: relative;
  white-space: nowrap;
}

.scribble[data-astro-cid-lcdefpme] svg[data-astro-cid-lcdefpme] {
  position: absolute;
  left: -2%;
  bottom: -.32em;
  width: 104%;
  height: .5em;
  overflow: visible;
}

.scribble[data-astro-cid-lcdefpme] path[data-astro-cid-lcdefpme] {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.6px;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

@media (prefers-reduced-motion: no-preference) {
  .scribble[data-astro-cid-lcdefpme] path[data-astro-cid-lcdefpme] {
    stroke-dasharray: 400;
    stroke-dashoffset: 400px;
    animation: draw 1.1s .5s var(--ease-out) forwards;
  }

  @keyframes draw {
    to {
      stroke-dashoffset: 0;
    }
  }
}

.hero__actions[data-astro-cid-lcdefpme] {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 2rem;
}

.panel[data-astro-cid-lcdefpme] {
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-l);
  background: var(--card);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}

.panel__bar[data-astro-cid-lcdefpme] {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .7rem 1.1rem;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
  font-size: .75rem;
  color: var(--muted);
}

.panel__dots[data-astro-cid-lcdefpme] {
  display: inline-flex;
  gap: 5px;
}

.panel__dots[data-astro-cid-lcdefpme] i[data-astro-cid-lcdefpme] {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rule-strong);
}

.panel__dots[data-astro-cid-lcdefpme] i[data-astro-cid-lcdefpme]:first-child {
  background: var(--accent);
}

.panel[data-astro-cid-lcdefpme] {
  margin-top: .6rem;
}

@media (width <= 900px) {
  .hero__grid[data-astro-cid-lcdefpme] {
    grid-template-columns: minmax(0, 1fr);
  }

  .panel[data-astro-cid-lcdefpme] {
    display: none;
  }
}

.panel__title[data-astro-cid-lcdefpme] {
  margin: 0;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--muted);
}

.use-list[data-astro-cid-lcdefpme] {
  list-style: none;
  margin: 0;
  padding: .3rem 1.2rem .6rem;
}

.use-list[data-astro-cid-lcdefpme] li[data-astro-cid-lcdefpme] + li[data-astro-cid-lcdefpme] {
  border-top: 1px solid var(--rule);
}

.use-list[data-astro-cid-lcdefpme] a[data-astro-cid-lcdefpme] {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: .8rem;
  padding: 1rem 0;
  color: var(--ink);
  text-decoration: none;
}

.use-list__name[data-astro-cid-lcdefpme] {
  font-family: var(--font-display);
  font-weight: 720;
  font-size: 1.12rem;
  letter-spacing: -.015em;
}

.use-list__summary[data-astro-cid-lcdefpme] {
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ink-2);
}

.use-list[data-astro-cid-lcdefpme] a[data-astro-cid-lcdefpme]:hover .use-list__name[data-astro-cid-lcdefpme] {
  color: var(--accent);
}

.home-section[data-astro-cid-lcdefpme] {
  padding-block: var(--space-xl);
}

.hero[data-astro-cid-lcdefpme] + .home-section[data-astro-cid-lcdefpme] {
  padding-top: clamp(.5rem, .25rem + 1vw, 1.5rem);
}

.home-section[data-astro-cid-lcdefpme] + .home-section[data-astro-cid-lcdefpme]:not(.fleet-band) {
  border-top: 1px solid var(--rule);
}

.fleet-band[data-astro-cid-lcdefpme] + .home-section[data-astro-cid-lcdefpme] {
  border-top: 0;
}

.home-section--compact[data-astro-cid-lcdefpme] {
  padding-block: var(--space-l) var(--space-xl);
}

.selected[data-astro-cid-lcdefpme] {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, .5rem + 1.5vw, 1.75rem);
}

.work-card[data-astro-cid-lcdefpme] {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--rule-strong);
  border-top: 5px solid var(--tc, var(--accent));
  border-radius: var(--radius-l);
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .2s;
}

.work-card[data-astro-cid-lcdefpme]:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--ink);
  border-top-color: var(--tc, var(--accent));
}

.work-card__body[data-astro-cid-lcdefpme] {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding: clamp(1.2rem, 1rem + 1vw, 1.7rem);
}

.work-card__title[data-astro-cid-lcdefpme] {
  margin: 0;
  font-size: var(--step-2);
  font-weight: 730;
  letter-spacing: -.025em;
  line-height: 1.08;
}

.work-card__blurb[data-astro-cid-lcdefpme] {
  margin: 0;
  color: var(--ink-2);
  font-size: 1.08rem;
  line-height: 1.5;
}

.work-card__more[data-astro-cid-lcdefpme] {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: .95rem;
  color: var(--accent);
}

.work-card__art[data-astro-cid-lcdefpme] {
  margin-top: auto;
  aspect-ratio: var(--ar);
  max-height: 19rem;
  overflow: hidden;
  border-top: 1px solid var(--rule);
  background: var(--paper-2);
}

.work-card__art[data-astro-cid-lcdefpme] img[data-astro-cid-lcdefpme] {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card--text[data-astro-cid-lcdefpme] {
  background: var(--band);
  color: var(--band-ink);
  border-color: var(--band-rule);
}

.work-card--text[data-astro-cid-lcdefpme] .work-card__body[data-astro-cid-lcdefpme] {
  flex: 1;
}

.work-card--text[data-astro-cid-lcdefpme] .work-card__more[data-astro-cid-lcdefpme] {
  margin-top: auto;
  padding-top: 1.5rem;
}

.work-card--text[data-astro-cid-lcdefpme] .work-card__title[data-astro-cid-lcdefpme] {
  color: var(--band-ink);
}

.work-card--text[data-astro-cid-lcdefpme] .work-card__blurb[data-astro-cid-lcdefpme] {
  color: var(--band-ink);
  font-size: var(--step-1);
  line-height: 1.4;
  font-style: italic;
}

.work-card--text[data-astro-cid-lcdefpme] .work-card__more[data-astro-cid-lcdefpme] {
  color: var(--band-ink);
}

.work-card--text[data-astro-cid-lcdefpme] .work-card__more[data-astro-cid-lcdefpme] .arrow[data-astro-cid-lcdefpme] {
  color: var(--accent-bright);
}

.work-card--text[data-astro-cid-lcdefpme]:hover {
  border-color: var(--accent);
}

@media (width <= 1000px) {
  .selected[data-astro-cid-lcdefpme] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .selected[data-astro-cid-lcdefpme] > li[data-astro-cid-lcdefpme]:first-child {
    grid-column: 1 / -1;
  }
}

@media (width >= 641px) and (width <= 1000px) {
  .selected[data-astro-cid-lcdefpme] > li[data-astro-cid-lcdefpme]:first-child .work-card[data-astro-cid-lcdefpme]:not(.work-card--text) {
    flex-direction: row;
  }

  .selected[data-astro-cid-lcdefpme] > li[data-astro-cid-lcdefpme]:first-child .work-card[data-astro-cid-lcdefpme]:not(.work-card--text) .work-card__body[data-astro-cid-lcdefpme] {
    flex: 55%;
  }

  .selected[data-astro-cid-lcdefpme] > li[data-astro-cid-lcdefpme]:first-child .work-card[data-astro-cid-lcdefpme]:not(.work-card--text) .work-card__art[data-astro-cid-lcdefpme] {
    flex: 0 0 45%;
    align-self: stretch;
    min-height: 15rem;
    max-height: none;
    aspect-ratio: auto;
    margin-top: 0;
    border-top: 0;
    border-left: 1px solid var(--rule);
  }
}

@media (width <= 640px) {
  .selected[data-astro-cid-lcdefpme] {
    grid-template-columns: minmax(0, 1fr);
  }

  .work-card__art[data-astro-cid-lcdefpme] {
    max-height: 14rem;
  }
}

.fleet-band[data-astro-cid-lcdefpme] {
  background: var(--band);
  color: var(--band-ink);
  position: relative;
  isolation: isolate;
}

.fleet-band[data-astro-cid-lcdefpme]:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle, var(--band-rule) 1.2px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(#000, #0000 70%);
  mask-image: linear-gradient(#000, #0000 70%);
}

.fleet-band[data-astro-cid-lcdefpme] .section-head[data-astro-cid-lcdefpme] h2[data-astro-cid-lcdefpme] {
  color: var(--band-ink);
}

.fleet-band[data-astro-cid-lcdefpme] .section-head[data-astro-cid-lcdefpme] p[data-astro-cid-lcdefpme] {
  color: var(--band-muted);
}

.fleet-band[data-astro-cid-lcdefpme] .section-head[data-astro-cid-lcdefpme] .num[data-astro-cid-lcdefpme] {
  color: var(--accent-bright);
}

.fleet[data-astro-cid-lcdefpme] {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}

.fleet[data-astro-cid-lcdefpme] > li[data-astro-cid-lcdefpme] {
  border: 1px solid var(--band-rule);
  border-radius: var(--radius-m);
  background: color-mix(in oklab, var(--band) 94%, var(--band-ink));
  overflow: hidden;
}

.agent-tile[data-astro-cid-lcdefpme] {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  height: 100%;
  padding: 1.3rem 1.3rem 1.4rem;
  color: var(--band-ink);
  text-decoration: none;
  transition: background .25s;
}

.agent-tile[data-astro-cid-lcdefpme]:hover {
  background: color-mix(in oklab, var(--band) 88%, var(--band-ink));
}

.agent-tile[data-astro-cid-lcdefpme]:focus-visible {
  outline-offset: -3px;
}

.agent-tile__name[data-astro-cid-lcdefpme] {
  font-family: var(--font-display);
  font-weight: 740;
  font-size: var(--step-2);
  letter-spacing: -.025em;
  line-height: 1;
}

.agent-tile[data-astro-cid-lcdefpme]:hover .agent-tile__name[data-astro-cid-lcdefpme] {
  color: var(--accent-bright);
}

.agent-tile__purpose[data-astro-cid-lcdefpme] {
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--band-ink);
}

.stage[data-astro-cid-lcdefpme] {
  align-self: flex-start;
  margin-top: auto;
  padding: .16rem .55rem;
  border-radius: 999px;
  border: 1px solid var(--band-rule);
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--band-muted);
}

.stage--shakedown[data-astro-cid-lcdefpme] {
  border-color: color-mix(in oklab, var(--shakedown) 70%, transparent);
}

@media (width <= 1000px) {
  .fleet[data-astro-cid-lcdefpme] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (width <= 520px) {
  .fleet[data-astro-cid-lcdefpme] {
    grid-template-columns: minmax(0, 1fr);
    gap: .5rem;
  }

  .agent-tile[data-astro-cid-lcdefpme] {
    padding: 1rem 1.1rem 1.1rem;
    gap: .45rem;
  }

  .agent-tile__name[data-astro-cid-lcdefpme] {
    font-size: 1.35rem;
  }
}

.band-link[data-astro-cid-lcdefpme] {
  margin-top: 1.4rem;
  color: var(--band-ink);
}

.band-link[data-astro-cid-lcdefpme]:hover {
  color: var(--accent-bright);
}

.pattern-map[data-astro-cid-lcdefpme] {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.75rem, .4rem + 1.2vw, 1.5rem);
}

.pattern-tile[data-astro-cid-lcdefpme] {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  height: 100%;
  padding: .9rem 0 1rem;
  border-top: 3px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
}

.pattern-tile__name[data-astro-cid-lcdefpme] {
  font-family: var(--font-display);
  font-weight: 720;
  font-size: var(--step-1);
  letter-spacing: -.02em;
  line-height: 1.1;
}

.pattern-tile[data-astro-cid-lcdefpme]:hover .pattern-tile__name[data-astro-cid-lcdefpme] {
  color: var(--accent);
}

.pattern-tile__example[data-astro-cid-lcdefpme] {
  color: var(--ink-2);
  font-size: .98rem;
  line-height: 1.4;
}

.pattern-tile__example[data-astro-cid-lcdefpme] .mono[data-astro-cid-lcdefpme] {
  font-size: .72rem;
  color: var(--muted);
  margin-right: .2rem;
}

@media (width <= 960px) {
  .pattern-map[data-astro-cid-lcdefpme] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.recent[data-astro-cid-lcdefpme] {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, .5rem + 1.5vw, 1.75rem);
}

.recent-card[data-astro-cid-lcdefpme] {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  height: 100%;
  padding: 1.3rem 1.3rem 1.4rem;
  border-top: 3px solid var(--tc, var(--ink));
  background: linear-gradient(var(--paper-2), var(--paper-2)) 0 0 / 100% 0 no-repeat;
  color: var(--ink);
  text-decoration: none;
  transition: background-size .4s var(--ease-out);
}

.recent-card[data-astro-cid-lcdefpme]:hover {
  background-size: 100% 100%;
}

.recent-card__meta[data-astro-cid-lcdefpme] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .76rem;
  color: var(--muted);
}

.recent-card__title[data-astro-cid-lcdefpme] {
  font-family: var(--font-display);
  font-weight: 720;
  font-size: var(--step-1);
  letter-spacing: -.022em;
  line-height: 1.15;
}

.recent-card[data-astro-cid-lcdefpme]:hover .recent-card__title[data-astro-cid-lcdefpme] {
  color: var(--accent);
}

.recent-card__desc[data-astro-cid-lcdefpme] {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.recent-card__topic[data-astro-cid-lcdefpme] {
  margin-top: auto;
  padding-top: .3rem;
}

@media (width <= 960px) {
  .recent[data-astro-cid-lcdefpme] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (width <= 600px) {
  .recent[data-astro-cid-lcdefpme] {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .recent-card[data-astro-cid-lcdefpme] {
    padding-inline: 0;
  }
}
