:root {
  --text-color: #111111;
  --muted-color: #666666;
  --border-color: #d9d9d9;
  --page-width: 900px;
  --content-width: 760px;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: var(--text-color);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: var(--text-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  padding: 48px 24px 20px;
  text-align: center;
}

.mobile-header,
.mobile-menu-overlay {
  display: none;
}

.site-title a {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 22px;
  flex-wrap: wrap;
  font-size: 15px;
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-main {
  padding: 24px;
}

.home-hero {
  display: flex;
  justify-content: center;
}

.home-hero img {
  display: block;
  width: 100%;
  max-width: var(--page-width);
  height: auto;
}

.page-content {
  max-width: var(--content-width);
  margin: 0 auto;
}

.page-content h1 {
  margin: 0 0 28px;
  font-size: 30px;
  font-weight: 400;
  text-align: center;
}

.content-body p {
  margin: 0 0 18px;
}

.project-list {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  border-top: 1px solid var(--border-color);
}

.project-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
}

.project-list a {
  display: inline-block;
  font-size: 20px;
}

.site-footer {
  padding: 48px 24px 56px;
  text-align: center;
  font-size: 13px;
  color: var(--muted-color);
}

.site-footer p {
  margin: 6px 0;
}

.site-footer a {
  color: inherit;
}

.site-footer span {
  margin: 0 8px;
}

@media (max-width: 768px) {
  .desktop-header {
    display: none;
  }

  .mobile-header {
    display: block;
    position: sticky;
    top: 0;
    z-index: 20;
    background: #ffffff;
    padding: 18px 20px 14px;
  }

  .mobile-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .mobile-site-title a,
  .mobile-menu-title a {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.01em;
  }

  .mobile-menu-toggle,
  .mobile-menu-close {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--text-color);
    padding: 0;
    cursor: pointer;
  }

  .mobile-menu-toggle {
    width: 32px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--text-color);
  }

  .mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: #ffffff;
    padding: 18px 20px 28px;
    flex-direction: column;
    justify-content: space-between;
  }

  body.menu-open .mobile-menu-overlay {
    display: flex;
  }

  .mobile-menu-overlay__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
  }

  .mobile-menu-close {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 26px;
    line-height: 1;
  }

  .mobile-menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    padding-top: 52px;
    flex: 1;
  }

  .mobile-menu-link {
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(28px, 7vw, 42px);
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.1;
    text-transform: uppercase;
  }

  .mobile-menu-link[aria-current="page"] {
    text-decoration: underline;
    text-underline-offset: 6px;
  }

  .mobile-menu-footer {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted-color);
    text-align: left;
  }

  .mobile-menu-footer p {
    margin: 6px 0;
  }

  .mobile-menu-footer a {
    color: inherit;
  }

  .mobile-menu-footer span {
    margin: 0 6px;
  }

  .site-main {
    padding: 12px 20px 20px;
  }

  .home-hero {
    padding-top: 12px;
  }

  .home-hero img {
    max-width: 100%;
  }

  .page-content h1 {
    font-size: 26px;
  }
}
