/* Adapted from design/site-reference/styles.css, the selected Stompstart mockup. */
@font-face {
  font-family: Archivo;
  src: url("/assets/archivo-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: oklch(98.5% 0.002 90);
  --ink: oklch(24% 0.004 100);
  --muted: oklch(47% 0.008 95);
  --line: oklch(88% 0.005 95);
  --soft: oklch(95.5% 0.004 100);
  --orange: oklch(71% 0.2 44);
  --orange-hover: oklch(75% 0.18 49);
  --focus: oklch(41% 0.13 43);
  --page-width: 1248px;
  --gutter: clamp(20px, 4.5vw, 72px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: Archivo, Arial, sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
img,
svg {
  display: block;
}
img {
  max-width: 100%;
  height: auto;
}
::selection {
  background: var(--orange);
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 5px;
}
.shell {
  width: min(var(--page-width), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}
.icon {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  z-index: 10;
}
.skip-link:focus {
  top: 12px;
}
.accent-dot {
  color: var(--orange);
}

.site-header {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  padding: 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.brand span {
  font-size: 1.85rem;
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 1;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-size: 0.9rem;
  position: relative;
  padding: 12px 0;
}
.main-nav a[aria-current="page"]:after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--orange);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 5px;
  border: 1px solid transparent;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  transition:
    background 160ms var(--ease),
    border-color 160ms var(--ease),
    transform 160ms var(--ease);
}
.button-primary {
  background: var(--orange);
}
.button-quiet {
  border-color: var(--line);
  background: var(--paper);
}
.header-submit {
  min-height: 42px;
  padding: 10px 15px;
  font-size: 0.82rem;
  gap: 12px;
}
.button:active {
  transform: translateY(1px);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 7px;
  text-decoration-thickness: 2px;
  padding: 6px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  padding-block: 76px 80px;
}
h1 {
  font-size: clamp(3.1rem, 1.4rem + 4.7vw, 5.85rem);
  line-height: 1.015;
  letter-spacing: -0.058em;
}
.hero h1 > span {
  display: block;
}
.hero-description {
  margin-top: 27px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 52ch;
}
.hero .button {
  margin-top: 27px;
}
.hero-emblem {
  width: clamp(170px, 25vw, 340px);
  padding-top: 20px;
}
.hero-emblem img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}
.discovery {
  padding-bottom: 68px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}
.section-heading h2 {
  font-size: clamp(2rem, 2.7vw, 2.6rem);
}
.result-count {
  font-size: 0.8rem;
  color: var(--muted);
}
.startup {
  border-bottom: 1px solid var(--line);
}
.startup-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 160px 24px;
  gap: 24px;
  align-items: center;
  min-height: 112px;
  padding: 22px 8px 22px 0;
  transition: background 140ms var(--ease);
}
.product-mark,
.profile-mark {
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--ink);
  font-weight: 750;
  border-radius: 13px;
}
.product-mark {
  width: 58px;
  height: 58px;
  font-size: 1.55rem;
}
.startup-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.startup-copy strong {
  font-size: 1.38rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 650;
}
.startup-copy > span {
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--muted);
}
.category {
  font-size: 0.8rem;
  color: var(--muted);
  justify-self: start;
}
.startup-row > .icon {
  transition: transform 160ms var(--ease);
}
.list-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}
.list-footer p {
  font-size: 0.8rem;
  color: var(--muted);
}
.empty-state {
  padding: 64px 24px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.empty-state h3 {
  font-size: 1.7rem;
}
.empty-state p {
  color: var(--muted);
  margin: 12px 0 24px;
}

.archive-band {
  background: var(--soft);
  padding-block: 58px;
}
.archive-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px 72px;
  align-items: center;
}
.archive-content h2 {
  font-size: clamp(2.1rem, 3.6vw, 3.45rem);
  letter-spacing: -0.048em;
  line-height: 1.08;
}
.archive-copy p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 39ch;
  line-height: 1.65;
}
.archive-copy .text-link {
  margin-top: 18px;
}
.archive-explanation {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding: 20px 0 8px;
  border-top: 1px solid var(--line);
}
.archive-explanation p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}
.archive-explanation strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 6px;
}
.about {
  padding-block: 70px 76px;
}
.about-body {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 72px;
}
.about h2 {
  font-size: clamp(2.2rem, 3.1vw, 2.9rem);
}
.about-body p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 44ch;
  line-height: 1.75;
}
.about-body p + p {
  margin-top: 16px;
}
.contribute {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-block: 36px 68px;
}
.contribute h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
}
.contribute p {
  max-width: 58ch;
  margin-top: 16px;
  color: var(--muted);
}
.contribute .button {
  flex: none;
}
.page-intro {
  padding-block: 76px 64px;
}
.page-intro h1 {
  font-size: clamp(2.7rem, 5.5vw, 5rem);
  max-width: 16ch;
}
.page-intro p {
  margin-top: 24px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 58ch;
}
.unavailable {
  min-height: 55vh;
}
.priority-form {
  margin-top: 32px;
}
.priority-form label {
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
}
.priority-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.priority-controls input {
  width: min(100%, 220px);
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
.priority-controls button {
  cursor: pointer;
}

.profile {
  padding-block: 44px 80px;
}
.back-link {
  color: var(--muted);
  font-size: 0.85rem;
}
.back-link a {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 5px;
}
.profile-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding-block: 66px 56px;
  border-bottom: 1px solid var(--line);
}
.profile-hero h1 {
  margin-top: 8px;
}
.profile-kind {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}
.profile-tagline {
  margin-top: 16px;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--muted);
  max-width: 50ch;
}
.archive-context {
  max-width: 54ch;
  margin-top: 22px;
  padding-left: 14px;
  border-left: 3px solid var(--orange);
  color: var(--muted);
  line-height: 1.6;
}
.profile-hero .button {
  margin-top: 26px;
}
.profile-mark {
  flex: none;
  width: clamp(128px, 18vw, 220px);
  height: clamp(128px, 18vw, 220px);
  font-size: clamp(4rem, 8vw, 7rem);
}
.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(250px, 1fr);
  gap: clamp(40px, 7vw, 100px);
  padding-top: 58px;
}
.profile-grid section + section {
  margin-top: 60px;
}
.profile-grid h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.3rem);
}
.profile-description {
  margin-top: 22px;
  color: var(--muted);
  line-height: 1.8;
  white-space: pre-line;
  max-width: 68ch;
  overflow-wrap: anywhere;
}
.profile-facts {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.profile-facts dl {
  margin: 0;
}
.profile-facts dl > div {
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}
.profile-facts dt {
  font-size: 0.75rem;
  color: var(--muted);
}
.profile-facts dd {
  margin: 4px 0 0;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}
.profile-facts h3 {
  font-size: 1.2rem;
  margin-top: 34px;
}
.profile-facts ul {
  padding-left: 20px;
  margin-top: 14px;
  font-size: 0.9rem;
}
.source-item + .source-item {
  margin-top: 8px;
}
.contributor-credit {
  margin-top: 32px;
  padding-top: 2px;
  border-top: 1px solid var(--line);
}
.contributor-credit p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.65;
}
.profile-facts a,
.timeline a {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 4px;
}
.record-note {
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}
.provenance {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}
.provenance summary {
  cursor: pointer;
  font-weight: 650;
}
.provenance code {
  font-size: 0.7rem;
  overflow-wrap: anywhere;
}
.provenance p {
  margin-top: 16px;
}
.timeline {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  border-top: 1px solid var(--line);
}
.timeline li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}
.timeline time,
.timeline small {
  color: var(--muted);
  font-size: 0.78rem;
}
.timeline strong {
  display: block;
}
.timeline p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 6px;
  line-height: 1.65;
}
.timeline small {
  display: block;
  margin-top: 8px;
}
.timeline-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 32px 40px;
  border-top: 1px solid var(--line);
}
.brand-footer img {
  width: 32px;
  height: 32px;
}
.brand-footer span {
  font-size: 1.35rem;
}
.site-footer > p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-right: auto;
}
.site-footer nav {
  display: flex;
  gap: 24px;
  font-size: 0.78rem;
}
.site-footer nav a {
  padding-block: 10px;
}

@media (hover: hover) {
  .button-primary:hover {
    background: var(--orange-hover);
  }
  .main-nav a:hover,
  .site-footer a:hover {
    color: var(--focus);
  }
  .button-quiet:hover {
    background: var(--soft);
    border-color: var(--ink);
  }
  .startup-row:hover {
    background: var(--soft);
  }
  .startup-row:hover > .icon {
    transform: translateX(4px);
  }
  .text-link:hover {
    text-decoration-color: var(--ink);
  }
}
@media (max-width: 1050px) {
  .main-nav {
    gap: 20px;
  }
  .header-submit {
    font-size: 0.75rem;
    padding-inline: 12px;
    gap: 6px;
  }
  .hero {
    gap: 24px;
  }
  .hero-emblem {
    width: 235px;
  }
  .hero-description {
    max-width: 42ch;
  }
  .startup-row {
    grid-template-columns: 56px minmax(0, 1fr) 126px 22px;
    gap: 20px;
  }
  .product-mark {
    width: 50px;
    height: 50px;
  }
  .archive-content,
  .about-body {
    column-gap: 40px;
  }
}
@media (max-width: 760px) {
  .site-header {
    column-gap: 16px;
    row-gap: 8px;
    padding-block: 16px 8px;
  }
  .brand span {
    font-size: 1.5rem;
  }
  .brand img {
    width: 40px;
    height: 40px;
  }
  .main-nav {
    order: 3;
    flex-basis: 100%;
    gap: 28px;
  }
  .main-nav a {
    font-size: 0.84rem;
  }
  .header-submit {
    font-size: 0.75rem;
    min-height: 40px;
  }
  .contribute {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }
  .hero {
    padding-block: 44px 52px;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) 130px;
  }
  h1 {
    font-size: clamp(2.65rem, 6.6vw, 3.8rem);
    letter-spacing: -0.052em;
  }
  .hero-description {
    font-size: 0.98rem;
    max-width: 40ch;
    margin-top: 20px;
  }
  .hero-emblem {
    width: 130px;
    align-self: start;
    margin-top: 40px;
    padding: 0;
  }
  .hero .button {
    margin-top: 22px;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }
  .section-heading h2 {
    font-size: 2rem;
  }
  .startup-row {
    grid-template-columns: 46px minmax(0, 1fr) 20px;
    gap: 16px;
    padding-block: 22px;
    min-height: 115px;
  }
  .product-mark {
    width: 42px;
    height: 42px;
    grid-row: 1 / 3;
    align-self: start;
    margin-top: 2px;
    font-size: 1.2rem;
  }
  .startup-copy {
    grid-column: 2;
    gap: 5px;
  }
  .startup-copy strong {
    font-size: 1.18rem;
  }
  .startup-copy > span {
    font-size: 0.875rem;
    line-height: 1.5;
  }
  .category {
    grid-column: 2;
    font-size: 0.7rem;
    margin-top: -8px;
  }
  .startup-row > .icon {
    grid-column: 3;
    grid-row: 1 / 3;
    width: 19px;
    height: 19px;
  }
  .discovery {
    padding-bottom: 44px;
  }
  .archive-band {
    padding-block: 38px;
  }
  .archive-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .archive-content h2 {
    font-size: 2.3rem;
  }
  .archive-copy p {
    max-width: 50ch;
    font-size: 0.95rem;
  }
  .archive-explanation {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about {
    padding-block: 44px;
  }
  .about-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about h2 {
    font-size: 2.25rem;
  }
  .about-body p {
    max-width: 55ch;
    font-size: 0.95rem;
  }
  .profile-hero {
    padding-block: 44px;
  }
  .profile-mark {
    width: 120px;
    height: 120px;
    font-size: 4rem;
  }
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 38px;
  }
  .site-footer {
    flex-wrap: wrap;
    gap: 12px 24px;
  }
  .site-footer > p {
    margin-left: auto;
    margin-right: 0;
  }
  .site-footer nav {
    flex-basis: 100%;
    flex-wrap: wrap;
  }
}
@media (max-width: 450px) {
  .hero {
    display: block;
  }
  .hero-emblem {
    display: none;
  }
  h1 {
    font-size: clamp(2.7rem, 10.5vw, 3.15rem);
    max-width: 11.4ch;
  }
  .hero-description {
    max-width: 32ch;
  }
  .brand {
    gap: 4px;
  }
  .brand span {
    font-size: 1.35rem;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .header-submit {
    font-size: 0.7rem;
    min-height: 38px;
    padding: 9px;
  }
  .profile-mark {
    display: none;
  }
  .archive-content h2 {
    font-size: 2rem;
  }
  .timeline li {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  .button,
  .startup-row,
  .startup-row > .icon {
    transition: none;
  }
}
