:root {
  color-scheme: light;
  --ink: #292b29;
  --muted: #777c75;
  --paper: #f6f5f0;
  --card: #fffefa;
  --line: #e8e6dd;
  --green: #58725d;
  --green-light: #e9eee8;
  --shadow: 0 12px 32px rgb(38 42 35 / 5%);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgb(255 254 250 / 94%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.topbar-inner {
  max-width: 1080px;
  min-height: 68px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  letter-spacing: -.03em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--green);
  color: white;
  font-size: 18px;
}

.session {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8d9c9;
  color: #604e3d;
  font-weight: 700;
}

main {
  max-width: 1080px;
  margin: 38px auto;
  padding: 0 24px;
}

.intro {
  margin-bottom: 26px;
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font: 500 clamp(30px, 5vw, 42px)/1.15 Georgia, serif;
  letter-spacing: -.04em;
}

.subtitle {
  max-width: 600px;
  margin: 12px 0 0;
  color: var(--muted);
}

.layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.profile {
  padding: 22px;
}

.profile-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.profile-heading .avatar {
  width: 46px;
  height: 46px;
  font-size: 16px;
}

.profile-name {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.profile-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0 0;
  color: var(--green);
  font-size: 13px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6b9a6e;
}

.profile-note {
  margin: 0 0 19px;
  color: var(--muted);
  font-size: 14px;
}

.tabs-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

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

.tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #555b54;
  font-size: 14px;
  transition: background .2s, color .2s;
}

.tab:hover {
  background: #f3f2ec;
}

.tab.active {
  background: var(--green-light);
  color: #3e5b43;
  font-weight: 650;
}

.tab-count {
  color: #858980;
  font-size: 12px;
}

.feed-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 2px 0 14px;
}

.feed-heading h2 {
  margin: 0;
  font: 500 25px/1.2 Georgia, serif;
}

.feed-heading span {
  color: var(--muted);
  font-size: 13px;
}

.news-list {
  display: grid;
  gap: 14px;
}

.news-item {
  padding: 22px 24px;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
}

.category {
  padding: 3px 9px;
  border-radius: 999px;
  background: #f2eee6;
  color: #79694f;
  font-size: 12px;
  font-weight: 650;
}

.news-item h3 {
  margin: 0;
  font: 500 22px/1.3 Georgia, serif;
  letter-spacing: -.02em;
}

.news-item p {
  margin: 9px 0 14px;
  color: #5e625c;
}

.news-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.read-more {
  color: var(--green);
  font-weight: 650;
}

.read-more:hover {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .topbar-inner {
    padding: 0 16px;
  }

  main {
    margin: 27px auto;
    padding: 0 16px;
  }

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

  .profile {
    padding: 18px;
  }

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

  .tab {
    font-size: 13px;
  }

  .news-item {
    padding: 19px;
  }
}

@media (max-width: 420px) {
  .session span {
    display: none;
  }

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

  .feed-heading {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }
}
