:root {
  --bg: #f6f5f1;
  --paper: #fffdf8;
  --ink: #20201d;
  --muted: #6d6a61;
  --line: #dedbd2;
  --accent: #2f6f56;
  --accent-soft: #dfeadf;
  --shadow: 0 24px 80px rgba(44, 41, 34, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.32) 1px, transparent 1px),
    var(--bg);
  background-size: 28px 28px;
  color: var(--ink);
  font-family:
    Geist,
    "Helvetica Neue",
    Arial,
    sans-serif;
  letter-spacing: 0;
}

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

.shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100dvh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.76);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.brand {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
}

.brandMark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: grid;
  gap: 5px;
}

.nav a {
  padding: 9px 10px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 14px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav a:hover {
  background: var(--accent-soft);
  color: var(--ink);
}

.nav a:active,
.primaryAction:active,
.linkTile:active,
.projectRow:active {
  transform: translateY(1px);
}

.sidebarNote {
  margin-top: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
}

.sidebarNote p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.statusDot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
}

.workspace {
  width: min(1180px, 100%);
  padding: 34px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.03;
  letter-spacing: 0;
}

.primaryAction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  transition: transform 180ms ease, background 180ms ease;
}

.primaryAction:hover {
  background: #34342f;
}

.heroGrid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.8fr);
  gap: 16px;
  margin-bottom: 38px;
}

.panel,
.linkTile,
.projectRow,
.logList {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: var(--shadow);
}

.panel {
  padding: 24px;
}

.panelHeader {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 44px;
  color: var(--muted);
  font-size: 13px;
}

.introPanel p {
  max-width: 62ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.focusPanel {
  display: flex;
  flex-direction: column;
}

.tagList {
  display: flex;
  flex-wrap: wrap;
  align-content: end;
  gap: 8px;
  min-height: 150px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.tagList li {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbfaf5;
  color: var(--muted);
  font-size: 13px;
}

.section {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.sectionTitle h2 {
  font-size: 22px;
  line-height: 1.1;
}

.linkGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.linkTile {
  min-height: 92px;
  padding: 17px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.linkTile:hover,
.projectRow:hover {
  border-color: #bdb8aa;
  background: #fffefb;
}

.linkTile span {
  font-weight: 700;
}

.linkTile small {
  color: var(--muted);
  font-size: 12px;
}

.projectList {
  display: grid;
  gap: 10px;
}

.projectRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.projectRow strong,
.projectRow small {
  display: block;
}

.projectRow strong {
  margin-bottom: 6px;
  font-size: 17px;
}

.projectRow small {
  max-width: 66ch;
  color: var(--muted);
  line-height: 1.45;
}

.projectRow em {
  flex: 0 0 auto;
  padding: 7px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.splitSection {
  align-items: start;
}

.logList {
  display: grid;
  box-shadow: none;
}

.logItem {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
}

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

.logItem time {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.logItem h3 {
  margin-bottom: 7px;
  font-size: 16px;
}

.logItem p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer a {
  color: var(--ink);
}

@media (max-width: 900px) {
  .shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .nav {
    grid-template-columns: repeat(4, 1fr);
  }

  .sidebarNote {
    display: none;
  }

  .workspace {
    padding: 22px;
  }

  .heroGrid,
  .section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .topbar,
  .footer,
  .projectRow {
    align-items: stretch;
    flex-direction: column;
  }

  .nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .linkGrid {
    grid-template-columns: 1fr;
  }

  .logItem {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
