:root {
  --bg:#090c10;
  --bg-elev:#11151c;
  --line:#1e2733;
  --blue:#4aa3ff;
  --blue-dim:#1c3f61;
  --text:#e8ecf1;
  --text-dim:#8d97a6;
  --amber:#ffb454;
  --maxw:920px;
  box-sizing:border-box
}
*,*:before,*:after {
  box-sizing:inherit
}
html {
  scroll-behavior:smooth
}
body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font:16px/1.6 Inter,system-ui,sans-serif
}
h1,h2,h3,.brandmark,.eyebrow,.status,.chip,.button {
  font-family:'Chakra Petch',system-ui,sans-serif
}
a {
  color:var(--blue);
  text-decoration:none
}
a:hover {
  text-decoration:underline
}
:focus-visible {
  outline:2px solid var(--blue);
  outline-offset:3px
}
header {
  position:sticky;
  top:0;
  z-index:2;
  background:rgba(9,12,16,.9);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line)
}
nav,.wrap {
  max-width:var(--maxw);
  margin:auto;
  padding-left:24px;
  padding-right:24px
}
nav {
  min-height:63px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px
}
.brandmark {
  font-weight:700;
  color:var(--text)
}
.dot,.eyebrow {
  color:var(--blue)
}
.navlinks {
  display:flex;
  gap:24px;
  font-size:.92rem
}
.navlinks a {
  color:var(--text-dim)
}
.navlinks a[aria-current=page],.navlinks a:hover {
  color:var(--text);
  text-decoration:none
}
.masthead {
  padding:76px 24px 56px;
  border-bottom:1px solid var(--line);
  background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);
  background-size:42px 42px
}
.masthead>* {
  max-width:var(--maxw);
  margin-left:auto;
  margin-right:auto
}
.eyebrow {
  font-size:.8rem;
  font-weight:600;
  letter-spacing:.08em
}
.masthead h1 {
  font-size:clamp(2rem,5vw,3.4rem);
  line-height:1.1;
  margin:.25em 0
}
.lede,.muted {
  color:var(--text-dim);
  max-width:65ch
}
.button {
  display:inline-block;
  padding:10px 16px;
  border:1px solid var(--blue-dim);
  border-radius:6px;
  color:var(--text);
  font-weight:600;
  margin:8px 10px 0 0
}
.button.primary {
  background:var(--blue);
  border-color:var(--blue);
  color:#04101c
}
.button:hover {
  text-decoration:none;
  border-color:var(--blue)
}
main {
  padding:56px 0
}
.section {
  margin-bottom:54px
}
.section h2 {
  font-size:1.55rem;
  margin:0 0 12px
}
.cards {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:16px
}
.card,.doc-slot {
  background:var(--bg-elev);
  border:1px solid var(--line);
  border-radius:10px;
  padding:20px
}
.card h2,.card h3 {
  margin-top:0
}
.meta {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:14px 0
}
.chip {
  font-size:.78rem;
  color:var(--blue);
  border:1px solid var(--blue-dim);
  padding:3px 8px;
  border-radius:5px
}
.status {
  font-size:.75rem;
  color:var(--amber)
}
.project-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 230px;
  gap:34px
}
.project-section {
  padding:22px 0;
  border-bottom:1px solid var(--line)
}
.project-section h2 {
  margin-top:0
}
.aside {
  height:max-content;
  position:sticky;
  top:82px
}
.aside h2 {
  font-size:1rem
}
.doc-slot {
  border-style:dashed;
  color:var(--text-dim);
  margin-top:18px
}
footer {
  border-top:1px solid var(--line);
  padding:28px 24px;
  color:var(--text-dim);
  font-size:.85rem
}
@media(max-width:680px) {
  nav {
    align-items:flex-start;
    padding-top:14px;
    padding-bottom:14px
  }
  .navlinks {
    gap:14px
  }
  .project-layout {
    grid-template-columns:1fr
  }
  .aside {
    position:static
  }
  .masthead {
    padding-top:54px
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
}

/* Project cards: keep actions aligned across each grid row. */
.cards > .card {
  display: flex;
  flex-direction: column;
}

.cards > .card > .button {
  align-self: flex-start;
  margin-top: auto;
}

/* Shared image brandmark used by every page header. */
.brandmark-image {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  line-height: 0;
}

.brandmark-image img {
  display: block;
  width: clamp(152px, 21vw, 230px);
  max-height: 72px;
  object-fit: contain;
  mix-blend-mode: screen;
}

.brandmark-image:hover {
  text-decoration: none;
}

@media (max-width: 680px) {
  nav {
    align-items: center;
    padding: 10px 16px;
  }

  .brandmark-image img {
    width: clamp(126px, 38vw, 170px);
    max-height: 56px;
  }
}
