/* Twelve Point Bold — static site styles */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --green: #005a3c;
  --text: #121212;
  --sidebar: 380px;
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: Archivo, "Helvetica Neue", sans-serif;
  font-size: 18px;
  font-weight: 400;
}

a { color: inherit; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: #fff; color: #000; padding: 8px 12px;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Sidebar / header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar);
  padding: 80px 50px 144px;
  background: var(--green);
  color: #fff;
  overflow-y: auto;
}

.site-title {
  margin: 0;
  font-family: "Times New Roman", Times, serif;
  font-size: 21.6px;
  font-weight: 400;
  line-height: 27px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.site-title a { text-decoration: none; }

.site-description {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.25;
}

.main-menu {
  list-style: none;
  margin: 60px 0 0;
  padding: 0;
}
.main-menu li { margin: 15px 0 12px; line-height: 1.25; }
.main-menu a { text-decoration: none; }
.main-menu a:hover,
.main-menu a[aria-current="page"] { text-decoration: underline; text-underline-offset: 3px; }

.social-menu {
  position: absolute;
  left: 0; bottom: 0;
  padding: 50px;
}
.social-menu ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 10px;
}
.social-menu a {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background 0.15s;
}
.social-menu a:hover { background: rgba(255, 255, 255, 0.25); }
.social-menu svg { width: 18px; height: 18px; fill: currentColor; }

.nav-toggle { display: none; }

.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Content ---------- */
.site-content { margin-left: var(--sidebar); padding: 0 50px; }

.entry-header, .entry-content {
  max-width: 560px;
  margin: 0 auto;
}
.entry-header { padding-top: 80px; margin-bottom: 60px; }
.entry-header.hidden { margin-bottom: 0; }
.entry-header.hidden h1 {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}

.entry-title {
  margin: 0;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.45px;
}

.entry-content p { margin: 0 0 25px; line-height: 1.6; }
.entry-content h3 { margin: 40px 0 25px; font-size: 28px; font-weight: 600; line-height: 1.2; }
.entry-content h4 { margin: 40px 0 30px; font-size: 24px; font-weight: 600; line-height: 1.2; }
.entry-content > :first-child { margin-top: 0; }
.entry-content ul { margin: 0 0 30px 40px; padding: 0; }
.entry-content li { margin-top: 15px; line-height: 1.5; }
.entry-content a {
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.entry-content a:hover { border-bottom-width: 2px; }
.entry-content h4 a { border-bottom: none; }
.entry-content h4 a:hover { text-decoration: underline; }
.align-right { text-align: right; }

.site-footer {
  max-width: 800px;
  margin: 100px auto 0;
  padding: 25px 0 80px;
  border-top: 1px solid rgba(0, 0, 4, 0.125);
  font-size: 16px;
}
.site-footer p { margin: 0; }
.site-footer a { text-decoration: none; }

/* ---------- Tablet / mobile: top bar + toggle menu ---------- */
@media (max-width: 1000px) {
  .site-header {
    position: relative;
    width: auto;
    padding: 30px 60px;
    overflow: visible;
  }
  .site-description { margin-top: 10px; }
  .nav-toggle {
    display: block;
    position: absolute;
    top: 36px; right: 60px;
    width: 44px; height: 44px;
    padding: 0; border: 0;
    background: none; cursor: pointer;
  }
  .nav-toggle .bar {
    position: absolute; left: 9px;
    width: 26px; height: 2px;
    background: #fff;
    transition: transform 0.2s, top 0.2s;
  }
  .nav-toggle .bar:nth-child(1) { top: 17px; }
  .nav-toggle .bar:nth-child(2) { top: 25px; }
  .menu-open .nav-toggle .bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
  .menu-open .nav-toggle .bar:nth-child(2) { top: 21px; transform: rotate(-45deg); }

  .menu-wrapper { display: none; }
  .menu-open .menu-wrapper { display: block; padding-top: 10px; }
  .main-menu { margin-top: 20px; }
  .social-menu { position: static; padding: 20px 0 0; }

  .site-content { margin-left: 0; padding: 0 60px; }
  .site-footer { margin-top: 80px; }
}

@media (max-width: 620px) {
  .site-header { padding: 25px 20px; }
  .nav-toggle { right: 12px; }
  .site-content { padding: 0 20px; }
  .entry-header { padding-top: 50px; margin-bottom: 40px; }
  .entry-title { font-size: 30px; }
  .entry-content ul { margin-left: 24px; }
}
