@charset "UTF-8";
/* homepage first-run layout — Modernist: flush left, 2px rules, 0 radius */
/* the rail beside the red statement panel takes the block colour */
.fr {
  text-align: left;
  font-family: var(--body);
}

.fr a {
  color: var(--primary);
}

.fr a:hover {
  color: var(--text);
}

.fr-label {
  display: block;
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  color: var(--dark-gray);
}

.fr-kicker {
  margin: 0;
  font-family: var(--heading);
  font-weight: var(--bold);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  opacity: 0.85;
}

.fr-display {
  margin: 12px 0 14px;
  max-width: 16ch;
  font-family: var(--heading);
  font-weight: var(--bold);
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  line-height: 1.03;
  letter-spacing: -0.015em;
  text-align: left;
  text-transform: none;
}

.fr-lede {
  margin: 0;
  max-width: 58ch;
  font-size: 1.15rem;
  line-height: 1.5;
  text-align: left;
  opacity: 0.92;
}

.fr-h6 {
  margin: 0;
  padding: 0;
  border: none;
  font-family: var(--heading);
  font-weight: var(--bold);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* — buttons — */
.fr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--rounded);
  font-family: var(--heading);
  font-weight: var(--bold);
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.fr-btn-primary {
  background: var(--primary);
  color: var(--background) !important;
}

.fr-btn-primary:hover {
  background: var(--primary-hover);
  color: var(--background) !important;
}

.fr-btn-secondary {
  border-color: var(--divider);
  color: var(--text) !important;
}

.fr-btn-secondary:hover {
  background: rgba(32, 30, 29, 0.07);
}

.fr-btn-ghost {
  padding: 6px 4px;
  color: var(--primary-deep) !important;
}

.fr-btn-ghost:hover {
  background: rgba(236, 48, 19, 0.1);
}

/* on the accent field: ground fill */
.fr-btn-block {
  width: 100%;
}

/* — hero: red on the left panel only, warm rail on the right — */
.fr-hero {
  display: grid;
  /* an empty first column carries the page indent, so the hero text lands on the
     same measure as every section below. a padding on the panel itself cannot do
     this: its percentage would resolve against the 1fr column, not the page.
     the red panel then takes two thirds of the measure — the same width as the
     Current work list below it — and the rail runs out to the right edge. */
  --edge: max(40px, calc((100% - 1200px) / 2));
  grid-template-columns: var(--edge) minmax(0, calc((100% - 2 * var(--edge)) * 2 / 3)) minmax(0, 1fr);
  background: var(--primary);
  color: var(--background);
}

.fr-hero-main {
  grid-column: 2;
  padding: 40px 40px 36px 0;
}

.fr-hero-main a {
  color: var(--background);
}

.fr-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.fr-hero-mark {
  height: 84px;
  width: auto;
  flex-shrink: 0;
  margin-top: -6px;
}

.fr-rail {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  padding: 24px 32px 20px;
  background: var(--panel);
  color: var(--panel-ink);
  color: var(--background);
}

.fr-rail .fr-label {
  color: var(--panel-ink);
  opacity: 0.8;
}

.fr-rail a {
  color: var(--panel-ink);
}

.fr-rail-row {
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(42, 27, 6, 0.3);
}
.fr-rail-row + .fr-rail-row {
  padding-top: 12px;
}

.fr-value {
  display: block;
  font-size: 15px;
}

/* the composite strip that closes the rail: 6x2 tiles, greyscale, blended 55%
   into the rail colour, 900x256 for a 449x128 slot. its tiles come from
   images/team/* and images/pages/*, plus asciifly.png and bai.png which live in
   images/unused/ — they are baked into the mosaic, not shown anywhere directly. */
.fr-mosaic {
  display: block;
  width: 100%;
  height: auto;
  margin-top: auto;
}

/* — project index — */
.fr-work {
  display: grid;
  /* two thirds of the measure, so the list ends where the hero's red panel does */
  grid-template-columns: 66.6667% minmax(0, 1fr);
  gap: 48px;
  /* held at a tenth more than the tallest project panel (Mosquitos & TEs, 529px),
     so the section stops resizing as projects are selected. min-height rather
     than height: narrow windows reflow the text and must still be free to grow. */
  min-height: 582px;
}

.fr-work-list {
  display: flex;
  flex-direction: column;
}

/* the list sits at the bottom; the simulation takes the room above it */
.fr-work-body {
  margin-top: auto;
}

.fr-sim {
  display: block;
  width: 100%;
  /* a fixed band, not flex: 1. the script sets the canvas's width/height
     attributes from its measured box, and a canvas's attributes are also its
     intrinsic size — so letting flex derive the height from that box makes the
     two chase each other and the panel settles wherever the loop stops. */
  flex: 0 0 auto;
  height: 210px;
}

.fr-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--divider);
}

.fr-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 16px;
  width: 100%;
  padding: 13px 12px;
  border: none;
  border-bottom: 1px solid var(--divider);
  border-left: 6px solid transparent;
  border-radius: 0;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background var(--transition);
}

.fr-row:hover {
  background: rgba(32, 30, 29, 0.04);
}

.fr-row[aria-selected=true] {
  border-left-color: var(--primary);
  background: var(--highlight);
}

.fr-row[aria-selected=true] .fr-row-title {
  color: var(--primary-deep);
}

.fr-row-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fr-row-title {
  font-family: var(--heading);
  font-weight: var(--bold);
  font-size: 21px;
  line-height: 1.15;
}

.fr-row-organism {
  font-size: 13px;
  color: var(--dark-gray);
}

.fr-figure {
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 4/3;
  background: var(--background);
}
.fr-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fr-figure[data-fit=contain] img {
  object-fit: contain;
}

.fr-panel-question {
  margin: 8px 0 0;
  font-family: var(--heading);
  font-weight: var(--bold);
  font-size: 20px;
  line-height: 1.2;
  text-align: left;
}

.fr-panel-text {
  margin: 12px 0;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}

/* — recent publications — */
.fr-recent-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 2.4fr) minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--divider);
}

.fr-recent-figure {
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--background-alt);
}
.fr-recent-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fr-recent-year {
  font-family: var(--heading);
  font-weight: var(--bold);
  font-size: 15px;
}

/* — index switch — */
.fr-seg {
  display: inline-flex;
  flex-wrap: wrap;
  border: 1px solid var(--divider);
  border-radius: 0;
  overflow: hidden;
}

.fr-seg-opt {
  padding: 7px 16px;
  border: none;
  border-right: 1px solid var(--divider);
  background: none;
  font-family: var(--heading);
  font-weight: var(--bold);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.fr-seg-opt:last-child {
  border-right: none;
}
.fr-seg-opt:hover {
  background: rgba(32, 30, 29, 0.07);
}
.fr-seg-opt[aria-selected=true] {
  background: var(--text);
  color: var(--background);
}

.fr-index-name {
  font-family: var(--heading);
  font-weight: var(--bold);
  font-size: 16px;
  text-decoration: none;
}

.fr-index-role {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-deep);
}

/* — closing band — */
.fr-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 2px solid var(--divider);
}

.fr-plate {
  margin: 0;
  border-right: 2px solid var(--divider);
}
.fr-plate:last-child {
  border-right: none;
}
.fr-plate figcaption {
  padding: 10px 16px;
}

/* — responsive — */
@media (max-width: 900px) {
  .fr-hero,
  .fr-work {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .fr-work {
    gap: 32px;
  }
  .fr-hero-main {
    grid-column: auto;
    padding: 44px 40px;
  }
  .fr-sim {
    height: 150px;
  }
  .fr-rail {
    grid-column: auto;
  }
  .fr-recent-row {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
  }
  .fr-recent-row > *:nth-child(n+3) {
    grid-column: 2;
  }
  .fr-band {
    grid-template-columns: repeat(2, 1fr);
  }
  .fr-plate {
    border-right: none;
    border-bottom: 2px solid var(--divider);
  }
}

/*# sourceMappingURL=first-run.css.map */