:root {
      --green: #2B3D31;
      --green-soft: #1a2621;
      --sage: #606b66;
      --gold: #d1b280;
      --paper: #faf8f5;
      --paper-deep: #f2efe9;
      --line: #e2ddd5;
      --container: 1500px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      background: var(--paper);
      color: var(--green-soft);
      font-family: "Anek Bangla", Arial, sans-serif;
      font-size: 17px;
      line-height: 1.45;
    }

    body.menu-open {
      overflow: hidden;
    }

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

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

    button {
      font: inherit;
    }

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

    h1,
    h2,
    h3 {
      font-family: "Prata", Georgia, serif;
      font-weight: 500;
    }

    .container {
      width: 100%;
      max-width: var(--container);
      margin: 0 auto;
      padding: 0 60px;
    }

    .nav {
      background: #2B3D31;
      border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    }

    .nav__inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 80px;
      gap: 28px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      width: 169px;
      height: 40px;
    }

    .brand img {
      display: block;
      width: 100%;
      height: 100%;
    }

    .nav__links {
      display: flex;
      align-items: center;
      gap: 32px;
      color: #fff;
      font-size: 16px;
      font-weight: 500;
      letter-spacing: 0.5px;
      white-space: nowrap;
    }

    .menu-toggle {
      display: none;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      border: 0;
      border-radius: 4px;
      background: rgba(255, 255, 255, 0.08);
      cursor: pointer;
      padding: 8px;
    }

    .menu-toggle img {
      width: 18px;
      height: 18px;
    }

    .mobile-menu {
      position: fixed;
      inset: 0;
      z-index: 50;
      pointer-events: none;
    }

    .mobile-menu__backdrop {
      position: absolute;
      inset: 0;
      border: 0;
      background: rgba(43, 61, 49, 0.42);
      opacity: 0;
      padding: 0;
      transition: opacity 240ms ease;
    }

    .mobile-menu__panel {
      position: absolute;
      top: 0;
      right: 0;
      display: flex;
      width: min(100%, 420px);
      height: 100%;
      min-height: 100vh;
      flex-direction: column;
      background: #2B3D31;
      color: var(--paper);
      transform: translateX(100%);
      transition: transform 280ms ease;
    }

    .mobile-menu.is-open {
      pointer-events: auto;
    }

    .mobile-menu.is-open .mobile-menu__backdrop {
      opacity: 1;
    }

    .mobile-menu.is-open .mobile-menu__panel {
      transform: translateX(0);
    }

    .mobile-menu__header {
      display: flex;
      height: 64px;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      padding: 0 20px;
    }

    .mobile-logo {
      display: inline-flex;
      width: 101px;
      height: 24px;
    }

    .mobile-logo img {
      display: block;
      width: 100%;
      height: 100%;
    }

    .menu-close {
      display: inline-grid;
      place-items: center;
      width: 36px;
      height: 36px;
      border: 0;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.08);
      cursor: pointer;
      padding: 8px;
    }

    .menu-close img {
      width: 18px;
      height: 18px;
    }

    .mobile-menu__content {
      display: flex;
      flex: 1;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
      min-height: 0;
      overflow-y: auto;
      padding: 40px 24px 32px;
    }

    .mobile-menu__links {
      display: grid;
      justify-items: center;
      gap: 24px;
      width: 100%;
    }

    .mobile-menu__links a {
      color: var(--paper);
      font-family: "Prata", Georgia, serif;
      font-size: 28px;
      line-height: 1.1;
      text-align: center;
    }

    .mobile-menu__links a.is-active {
      display: grid;
      justify-items: center;
      gap: 6px;
      color: var(--gold);
    }

    .mobile-menu__links a.is-active::after {
      content: "";
      width: 24px;
      height: 2px;
      border-radius: 2px;
      background: var(--gold);
    }

    .mobile-menu__separator {
      width: 120px;
      height: 2px;
    }

    .mobile-menu__contact {
      display: grid;
      justify-items: center;
      gap: 10px;
      width: 100%;
      text-align: center;
    }

    .mobile-menu__contact a {
      color: var(--gold);
      font-size: 16px;
      font-weight: 500;
      letter-spacing: 0.5px;
    }

    .mobile-menu__contact p {
      color: rgba(250, 248, 245, 0.8);
      font-size: 16px;
    }

    .mobile-menu__socials {
      display: flex;
      justify-content: center;
      gap: 16px;
    }

    .mobile-menu__socials a {
      display: inline-grid;
      place-items: center;
      width: 40px;
      height: 40px;
      border: 1px solid var(--gold);
      border-radius: 50%;
    }

    .mobile-menu__socials img {
      width: 18px;
      height: 18px;
    }

    .mobile-menu__cta {
      display: inline-flex;
      justify-content: center;
      width: 100%;
      min-height: 52px;
      align-items: center;
      border-radius: 4px;
      background: var(--gold);
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
      color: var(--green);
      font-size: 16px;
      font-weight: 600;
      letter-spacing: 1px;
      padding: 16px 18px;
      text-align: center;
      text-transform: uppercase;
    }

    .archive-hero {
      border-bottom: 1px solid var(--line);
      background: var(--paper-deep);
      padding: 88px 0 64px;
    }

    .eyebrow {
      color: var(--sage);
      font-size: 16px;
      font-weight: 600;
      letter-spacing: 2.5px;
      text-transform: uppercase;
    }

    .archive-hero h1 {
      margin-top: 20px;
      color: var(--green);
      font-size: 52px;
      line-height: 1.05;
    }

    .archive-hero p:last-child {
      max-width: 980px;
      margin-top: 18px;
      font-size: 18px;
      line-height: 1.5;
    }

    .filters {
      padding: 32px 0;
    }

    .filters__list {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .filter-pill {
      display: inline-flex;
      align-items: center;
      min-height: 42px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: var(--paper);
      color: var(--green-soft);
      cursor: pointer;
      font-size: 16px;
      font-weight: 500;
      padding: 10px 20px;
    }

    .filter-pill.is-active {
      border-color: var(--green);
      background: var(--green);
      color: #fff;
    }

    .notes {
      padding: 16px 0 64px;
    }

    .notes__grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 40px 32px;
    }

    .note-card {
      display: flex;
      min-width: 0;
      overflow: hidden;
      flex-direction: column;
      border: 1px solid var(--line);
      border-radius: 6px;
      background: var(--paper);
      box-shadow: 0 4px 12px rgba(43, 61, 49, 0.03);
    }

    .note-card[hidden] {
      display: none;
    }

    .note-card__image {
      width: 100%;
      height: 220px;
      object-fit: cover;
    }

    .note-card__content {
      display: grid;
      gap: 16px;
      padding: 24px;
    }

    .note-card__source {
      display: inline-flex;
      width: fit-content;
      min-height: 30px;
      align-items: center;
      border: 1px solid var(--gold);
      border-radius: 999px;
      background: rgba(209, 178, 128, 0.1);
      color: var(--gold);
      font-size: 16px;
      font-weight: 600;
      letter-spacing: 1px;
      line-height: 1;
      padding: 6px 12px;
      text-transform: uppercase;
    }

    .note-card__title {
      color: var(--green);
      font-size: 22px;
      line-height: 1.3;
      padding-bottom: 12px;
    }

    .note-card__copy {
      display: -webkit-box;
      overflow: hidden;
      color: var(--green-soft);
      font-size: 16px;
      line-height: 1.5;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .note-card__line {
      width: 100%;
      height: 2px;
    }

    .note-card__meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      color: var(--sage);
      font-size: 16px;
    }

    .note-card__author {
      color: var(--gold);
      font-weight: 600;
      text-align: right;
    }

    .pagination {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 32px 0 96px;
    }

    .pagination a,
    .pagination span {
      display: inline-flex;
      min-height: 42px;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--line);
      border-radius: 4px;
      color: var(--green-soft);
      font-size: 16px;
      font-weight: 600;
      padding: 10px 16px;
    }

    .pagination .is-current {
      border-color: var(--gold);
      background: var(--gold);
      color: var(--green);
    }

    .footer {
      background: var(--green);
      border-top: 1px solid rgba(209, 178, 128, 0.2);
      color: var(--paper);
      padding: 64px 0 32px;
    }

    .footer__columns {
      display: grid;
      grid-template-columns: minmax(260px, 1fr) max-content minmax(280px, max-content);
      column-gap: clamp(40px, 5vw, 72px);
      row-gap: 48px;
    }

    .footer__column {
      display: grid;
      align-content: start;
      gap: 16px;
      min-width: 0;
    }

    .footer__column:nth-child(n + 2) {
      justify-self: end;
    }

    .footer__logo {
      width: 152px;
      height: 36px;
    }

    .footer__heading {
      color: var(--gold);
      font-size: 16px;
      font-weight: 600;
      letter-spacing: 1px;
      text-transform: uppercase;
    }

    .footer__copy,
    .footer__links,
    .footer__contact {
      color: rgba(250, 248, 245, 0.92);
      font-size: 16px;
    }

    .footer__copy {
      line-height: 1.6;
    }

    .footer__links,
    .footer__contact {
      display: grid;
      gap: 12px;
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .footer__links a,
    .footer__contact a,
    .footer__legal a {
      transition: color 160ms ease;
    }

    .footer__links a:hover,
    .footer__contact a:hover,
    .footer__legal a:hover {
      color: var(--gold);
    }

    .footer__socials {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .footer__social {
      display: inline-grid;
      place-items: center;
      width: 36px;
      height: 36px;
      border: 1px solid rgba(209, 178, 128, 0.2);
      border-radius: 50%;
    }

    .footer__social img {
      width: 18px;
      height: 18px;
    }

    .footer__divider {
      width: 100%;
      height: 1px;
      margin: 40px 0 32px;
      background: rgba(209, 178, 128, 0.2);
    }

    .footer__bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      color: rgba(250, 248, 245, 0.92);
      font-size: 16px;
    }

    .footer__legal {
      display: flex;
      align-items: center;
      gap: 16px;
      color: var(--gold);
    }

    @media (max-width: 1024px) {
      .container {
        padding: 0 48px;
      }

      .nav .container {
        padding: 0 20px;
      }

      .nav__inner {
        min-height: 64px;
      }

      .brand {
        width: 118px;
        height: 28px;
      }

      .brand>img {
        display: block;
      }

      .nav__links {
        display: none;
      }

      .menu-toggle {
        display: inline-flex;
      }

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

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

      .footer__column:nth-child(n + 2) {
        justify-self: start;
      }

      .footer__column:first-child {
        grid-column: 1 / -1;
      }
    }

    @media (max-width: 760px) {
      .container {
        padding: 0 24px;
      }

      .archive-hero {
        padding: 64px 0 52px;
      }

      .archive-hero h1 {
        font-size: 42px;
      }

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

      .pagination {
        flex-wrap: wrap;
        padding-bottom: 72px;
      }

      .footer {
        padding: 56px 0 32px;
      }

      .footer__columns {
        grid-template-columns: 1fr;
        gap: 32px;
      }

      .footer__bottom,
      .footer__legal {
        align-items: flex-start;
        flex-direction: column;
      }
    }
