:root {
  color-scheme: light;
  --ink: #15191d;
  --muted: #5d6770;
  --quiet: #87919a;
  --line: #d9dee3;
  --line-strong: #b7c0c8;
  --paper: #f7f8f8;
  --panel: #ffffff;
  --accent: #17675d;
  --steel: #32445a;
  --copper: #8a5a3b;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(21, 25, 29, 0.035) 1px, transparent 1px) 0 0 / 96px 100%,
    var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 58px;
  padding: 0 40px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 248, 248, 0.94);
  backdrop-filter: blur(16px);
}

.mark {
  font-size: 15px;
  font-weight: 760;
}

nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

nav a:hover {
  color: var(--ink);
}

main {
  overflow-x: hidden;
}

.overview,
.work-band,
.systems,
.private-band {
  padding: 56px 40px;
}

.overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 72px;
  align-items: center;
  max-width: 1180px;
  min-height: calc(100svh - 58px);
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.home-cover {
  position: relative;
}

.home-cover::before {
  position: absolute;
  top: 56px;
  bottom: 56px;
  left: 40px;
  width: 1px;
  background: var(--line-strong);
  content: "";
}

.intro {
  max-width: 720px;
  padding-left: 48px;
}

.small-label {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 780;
}

.lead {
  max-width: 660px;
  margin-bottom: 0;
  color: #303842;
  font-size: 17px;
  line-height: 1.8;
}

.home-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 42px;
  color: var(--quiet);
  font-size: 12px;
  font-weight: 720;
}

.home-note span {
  position: relative;
}

.home-note span + span::before {
  position: absolute;
  top: 0.58em;
  left: -13px;
  width: 4px;
  height: 4px;
  background: var(--line-strong);
  content: "";
}

.status-panel {
  border-top: 1px solid var(--line-strong);
}

.home-directory {
  align-self: center;
  padding: 4px 0 0;
}

.status-line {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.status-line span {
  color: var(--quiet);
  font-size: 13px;
}

.status-line strong {
  min-width: 0;
  color: var(--steel);
  font-size: 14px;
  font-weight: 760;
  overflow-wrap: anywhere;
  text-align: right;
}

.status-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  margin-top: 18px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line-strong);
  color: var(--accent);
  font-size: 14px;
  font-weight: 760;
}

.status-link span:last-child {
  color: var(--quiet);
  font-size: 12px;
  text-transform: uppercase;
}

.status-link:hover {
  color: var(--ink);
}

.status-link:hover span:last-child {
  color: var(--accent);
}

.blog-head {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: 56px;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 40px 36px;
  border-bottom: 1px solid var(--line);
}

.blog-head p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.masonry-board {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 40px 72px;
  columns: 3 280px;
  column-gap: 18px;
}

.blog-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--panel);
  break-inside: avoid;
}

.blog-card.tall {
  padding-bottom: 34px;
}

.blog-card.compact {
  padding-bottom: 18px;
}

.blog-card.image-card {
  padding-top: 0;
  overflow: hidden;
}

.blog-card img {
  width: calc(100% + 40px);
  max-width: none;
  height: 180px;
  margin: 0 -20px 18px;
  object-fit: cover;
  filter: saturate(0.72) contrast(0.96);
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  color: var(--quiet);
  font-size: 12px;
  font-weight: 700;
}

.blog-card h2 {
  margin-bottom: 12px;
  font-size: 20px;
}

.blog-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.blog-card a {
  display: inline-block;
  margin-top: 20px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 760;
}

.blog-card a:hover {
  color: var(--ink);
}

.work-band,
.systems,
.private-band {
  max-width: 1180px;
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: 56px;
  margin-bottom: 26px;
  align-items: start;
}

h2 {
  margin-bottom: 0;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 760;
}

.section-head p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.work-list,
.domain-list {
  border-top: 1px solid var(--line-strong);
}

.work-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  gap: 24px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.work-item img {
  width: 72px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(0.72) contrast(0.94);
}

h3 {
  margin-bottom: 6px;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 760;
}

.work-item p,
.domain-row p,
.private-band p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.item-state {
  color: var(--copper);
  font-size: 12px;
  font-weight: 760;
  text-align: right;
}

.systems {
  border-top: 1px solid var(--line);
}

.domain-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  gap: 40px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.domain-row span {
  color: var(--steel);
  font-size: 15px;
  font-weight: 760;
  overflow-wrap: anywhere;
}

.private-band {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: 56px;
  border-top: 1px solid var(--line);
}

.private-band p {
  color: #3f4a53;
  font-size: 16px;
  line-height: 1.75;
}

@media (max-width: 820px) {
  .topbar {
    position: static;
    padding: 0 22px;
  }

  nav {
    gap: 16px;
  }

  .overview,
  .work-band,
  .systems,
  .private-band,
  .blog-head {
    padding: 38px 22px;
  }

  .overview,
  .section-head,
  .domain-row,
  .private-band,
  .blog-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .overview {
    min-height: auto;
  }

  .status-line strong {
    text-align: left;
  }

  .masonry-board {
    padding: 24px 22px 54px;
    columns: 2 240px;
  }
}

@media (max-width: 560px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 16px 18px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .overview,
  .work-band,
  .systems,
  .private-band,
  .blog-head {
    padding: 34px 18px;
  }

  .intro {
    padding-left: 48px;
  }

  .home-note {
    display: grid;
    gap: 7px;
    margin-top: 34px;
  }

  .home-note span + span::before {
    content: none;
  }

  .masonry-board {
    padding: 24px 18px 44px;
    columns: 1;
  }

  .blog-card {
    padding: 18px;
  }

  .blog-card img {
    width: calc(100% + 36px);
    margin: 0 -18px 16px;
  }

  .work-item {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
  }

  .work-item img {
    width: 56px;
  }

  .item-state {
    grid-column: 2;
    text-align: left;
  }
}
