html {
  background: #f8fafc;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0) 28rem),
    #f8fafc;
  color: #111827;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

a:hover {
  color: #0f766e;
}

.site-header {
  background: #111827;
  color: white;
}

.site-header a:hover {
  color: white;
}

.eyebrow {
  color: #0f766e;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-header .eyebrow {
  color: #8dd7cf;
}

.hero-identity {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.hero-identity img {
  width: 5rem;
  height: 5rem;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 0 4px rgba(255, 255, 255, 0.04);
}

.hero-identity p {
  color: white;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.1;
}

.hero-identity span {
  display: block;
  margin-top: 0.5rem;
  color: rgb(203 213 225);
  font-size: 0.95rem;
  font-weight: 500;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  min-height: 2.75rem;
  padding: 0 1.05rem;
}

.button-primary svg,
.button-secondary svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}

.button-primary {
  background: #f8fafc;
  color: #111827;
}

.button-primary:hover {
  background: white;
  color: #111827;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: white;
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.46);
  color: white;
}

.section-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 900px) {
  .section-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 4rem;
    margin-bottom: 5rem;
  }

  .section-grid--centered {
    align-items: center;
  }
}

.section-title {
  margin-top: 1rem;
  max-width: 34rem;
  color: #111827;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.12;
  text-wrap: balance;
}

.hero-title {
  text-wrap: balance;
}

.plain-card {
  border-top: 3px solid #111827;
  background: rgba(255, 255, 255, 0.52);
  padding: 1.25rem 0 0;
}

.plain-card h3 {
  color: #111827;
  font-size: 1rem;
  font-weight: 800;
}

.plain-card p {
  margin-top: 0.65rem;
  color: #5f6b7a;
  font-size: 0.95rem;
  line-height: 1.7;
}

.timeline {
  position: relative;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  grid-template-areas:
    "marker time"
    "marker body";
  column-gap: 1.25rem;
  row-gap: 0.15rem;
  padding: 1.1rem 0;
  align-items: start;
}

.timeline-item > .timeline-marker { grid-area: marker; }
.timeline-item > time { grid-area: time; }
.timeline-item > .timeline-body { grid-area: body; }

.timeline-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(1.5rem - 0.5px);
  top: 4.1rem;
  bottom: -1.1rem;
  width: 1px;
  background: #d9dee7;
}

@media (min-width: 640px) {
  .timeline-item {
    grid-template-columns: 6.5rem 3rem minmax(0, 1fr);
    grid-template-areas: "time marker body";
    row-gap: 0;
  }

  .timeline-item:not(:last-child)::after {
    left: calc(6.5rem + 1.25rem + 1.5rem - 0.5px);
  }
}

.timeline-item time {
  color: #5f6b7a;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 640px) {
  .timeline-item time {
    align-self: center;
    text-align: right;
  }
}

.timeline-marker {
  position: relative;
  z-index: 1;
}

.timeline-marker img {
  width: 3rem;
  height: 3rem;
  border-radius: 0.55rem;
  object-fit: cover;
}

.timeline-item.current .timeline-marker img {
  background: #14233c;
  padding: 0.55rem;
  box-shadow: 0 0 0 2px #f8fafc, 0 0 0 3.5px rgba(15, 118, 110, 0.85);
}

.timeline-body {
  min-width: 0;
}

.timeline-body h3 {
  color: #111827;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  transition: color 160ms ease;
}

.timeline-body p {
  margin-top: 0.25rem;
  color: #5f6b7a;
  font-size: 0.93rem;
}

.timeline-item:hover .timeline-body h3 {
  color: #0f766e;
}

.item-heading {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

@media (min-width: 640px) {
  .item-heading {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }
}

.item-heading h3 {
  color: #111827;
  font-weight: 800;
}

.item-heading span,
.timeline-item p {
  color: #5f6b7a;
  font-size: 0.93rem;
}

.section-block {
  margin-bottom: 5rem;
}

.section-block-head {
  margin-bottom: 2.5rem;
}

.section-block-head .section-title {
  max-width: 40rem;
}

.project-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.project-card {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  border: 1px solid #d9dee7;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.58);
  padding: 1.15rem;
  transition: border-color 160ms ease, transform 160ms ease;
}

.project-card:hover {
  border-color: #9fb0bd;
  transform: translateY(-1px);
}

.project-card img {
  width: 3rem;
  height: 3rem;
  border-radius: 0.55rem;
  object-fit: cover;
}

.project-card h3 {
  margin-top: 0.15rem;
  color: #111827;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
}

.project-card p {
  margin-top: 0.25rem;
  color: #5f6b7a;
  font-size: 0.9rem;
  line-height: 1.5;
}

.project-kicker {
  color: #5f6b7a;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-arrow {
  color: #5f6b7a;
  font-size: 1.1rem;
  transition: color 160ms ease, transform 160ms ease;
}

.project-card:hover .project-arrow {
  color: #0f766e;
  transform: translateX(3px);
}

.post-list {
  display: grid;
  border-top: 1px solid #d9dee7;
}

.post-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "date arrow"
    "title arrow";
  align-items: center;
  column-gap: 1.25rem;
  row-gap: 0.35rem;
  border-bottom: 1px solid #d9dee7;
  padding: 1.1rem 0;
}

.post-row > time { grid-area: date; }
.post-row > h2,
.post-row > h3 { grid-area: title; }
.post-row > .project-arrow { grid-area: arrow; }

@media (min-width: 640px) {
  .post-row {
    grid-template-columns: 8rem minmax(0, 1fr) auto;
    grid-template-areas: "date title arrow";
    column-gap: 1.5rem;
    row-gap: 0;
  }
}

.post-row time {
  color: #5f6b7a;
  font-size: 0.88rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.post-row h2,
.post-row h3 {
  color: #111827;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  transition: color 160ms ease;
}

.post-row:hover h3 {
  color: #0f766e;
}

.post-row:hover .project-arrow {
  color: #0f766e;
  transform: translateX(3px);
}

.post-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  width: fit-content;
  color: #0f766e;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
}

.post-more .project-arrow {
  font-size: 1rem;
  line-height: 1;
}

.post-more:hover {
  color: #0f766e;
}

.post-more:hover .project-arrow {
  color: #0f766e;
  transform: translateX(3px);
}

.article-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.article-card {
  display: flex;
  min-height: 18rem;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #d9dee7;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.62);
  padding: 1.35rem;
}

.article-card:hover {
  border-color: #9fb0bd;
  transform: translateY(-1px);
}

@media (min-width: 760px) {
  .article-card-featured {
    grid-column: span 2;
    min-height: 21rem;
    padding: 1.7rem;
  }
}

.article-card time {
  color: #0f766e;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-card h2 {
  margin-top: 1.1rem;
  max-width: 44rem;
  color: #111827;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.15;
}

@media (min-width: 760px) {
  .article-card-featured h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.06;
  }
}

.article-card p {
  margin-top: 1rem;
  max-width: 42rem;
  color: #5f6b7a;
  line-height: 1.7;
}

.article-card > span {
  margin-top: 2rem;
  color: #0f766e;
  font-size: 0.9rem;
  font-weight: 800;
}

.text-link {
  margin-top: 1.25rem;
  width: fit-content;
  color: #0f766e;
  font-weight: 800;
}

.tag {
  border: 1px solid #d9dee7;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: #344054;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
}

.prose {
  color: #344054;
  font-size: 1.05rem;
  line-height: 1.82;
}

.prose h2 {
  margin-top: 2.6rem;
  margin-bottom: 0.8rem;
  color: #111827;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.25;
}

.prose h3 {
  margin-top: 2rem;
  margin-bottom: 0.7rem;
  color: #111827;
  font-size: 1.25rem;
  font-weight: 800;
}

.prose p,
.prose ul,
.prose ol,
.prose pre,
.prose blockquote {
  margin-bottom: 1.35rem;
}

.prose a {
  color: #0f766e;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.prose ul,
.prose ol {
  padding-left: 1.45rem;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose blockquote {
  border-left: 3px solid #0f766e;
  color: #5f6b7a;
  padding-left: 1rem;
}

.prose code {
  border: 1px solid #d9dee7;
  border-radius: 0.3rem;
  background: rgba(255, 255, 255, 0.72);
  color: #111827;
  font-size: 0.9em;
  padding: 0.08rem 0.32rem;
}

.prose pre {
  overflow-x: auto;
  border: 1px solid #d9dee7;
  border-radius: 0.5rem;
  background: #111827;
  color: #f8fafc;
  padding: 1rem;
}

.prose pre code {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
}

.prose img {
  border-radius: 0.5rem;
  margin: 2rem 0;
}
