* { box-sizing: border-box; }

:root {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17191d;
  background: #f5f4f0;
  line-height: 1.5;
}

body { margin: 0; }

a { color: inherit; }

.shell {
  width: min(1080px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-header {
  background: #111318;
  color: white;
  border-bottom: 1px solid #2b2f36;
}

.site-header .shell {
  min-height: 54px;
  display: flex;
  align-items: center;
}

.brand {
  font-weight: 800;
  text-decoration: none;
  letter-spacing: .02em;
}

main { padding: 1.25rem 0 1.5rem; }

.hero {
  padding: .5rem 0 1.25rem;
  max-width: 900px;
}

.eyebrow {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .11em;
  margin: 0 0 .75rem;
}

h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.25rem);
  line-height: .95;
  letter-spacing: -.055em;
  margin: 0 0 .65rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  letter-spacing: -.03em;
  margin: 0 0 .5rem;
}

h3 {
  font-size: 1.15rem;
  margin: .45rem 0;
}

.lede {
  font-size: 1rem;
  max-width: 760px;
  margin-bottom: 0;
}

.portfolio {
  border-top: 2px solid #17191d;
  padding-top: 1rem;
}

.section-heading { margin-bottom: .65rem; }

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.app-card {
  background: white;
  border: 1px solid #d8d7d2;
  border-radius: 12px;
  padding: .85rem;
  min-height: 180px;
  display: flex;
  flex-direction: column;
}

.app-card p {
  flex: 1;
  margin-top: .35rem;
  margin-bottom: .65rem;
}

.status {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  padding: .25rem .45rem;
  border-radius: 999px;
}

.status-live {
  background: #e2f5e8;
  color: #1f6a37;
}

.status-planned {
  background: #eceef1;
  color: #505761;
}

.button {
  display: inline-block;
  text-decoration: none;
  font-weight: 750;
  border-radius: 6px;
  padding: .55rem .75rem;
  background: #17191d;
  color: white;
  align-self: flex-start;
}

.planned {
  font-size: .9rem;
  color: #68707a;
  font-weight: 700;
}

.principle {
  margin-top: 1rem;
  max-width: none;
  border-left: 5px solid #17191d;
  padding: .55rem 0 .55rem 1rem;
}

.principle .eyebrow {
  margin-bottom: .2rem;
}

.principle h2 {
  display: inline;
  margin-right: .75rem;
  font-size: 1.35rem;
}

.principle p:last-child {
  display: inline;
  margin: 0;
  font-size: .92rem;
}

.site-footer {
  border-top: 1px solid #d8d7d2;
  background: white;
}

.site-footer .shell {
  padding: .65rem 0;
  font-size: .82rem;
}

@media (max-height: 900px) and (min-width: 761px) {
  .site-header .shell { min-height: 48px; }
  main { padding-top: .75rem; padding-bottom: .75rem; }
  .hero { padding-bottom: 1rem; }
  h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); }
  .app-card { min-height: 165px; }
  .principle { margin-top: .75rem; }
  .site-footer .shell { padding: .45rem 0; }
}

@media (max-width: 760px) {
  main { padding-top: 2rem; }
  .hero { padding-bottom: 3rem; }
  .app-grid { grid-template-columns: 1fr; }

  .principle h2,
  .principle p:last-child {
    display: block;
  }

  .principle h2 {
    margin-right: 0;
    margin-bottom: .5rem;
  }
}
