/* Shared site header — matches React Navbar for standalone HTML case studies */
.site-header {
  background: #f4f1ea;
  border-bottom: none;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 200;
}

.site-nav {
  max-width: 1920px;
  margin: 0 auto;
  min-height: 80px;
  padding: 0 clamp(20px, 2.2vw, 34px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-sizing: border-box;
  color: #9e9e9e;
  font-family: "Cousine", ui-monospace, monospace;
}

.site-nav .brand {
  display: inline-flex;
  align-items: flex-end;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.site-nav .brand__dee {
  font-family: "Cousine", ui-monospace, monospace;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #9e9e9e;
  white-space: nowrap;
  display: inline-block;
  padding-bottom: 1px;
}

.site-nav .brand__lotus {
  width: 36px;
  height: 36px;
  object-fit: contain;
  object-position: bottom center;
  flex-shrink: 0;
  display: block;
  align-self: flex-end;
}

.site-nav .brand__role {
  font-family: "Cousine", ui-monospace, monospace;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #9e9e9e;
  margin-left: 0;
  line-height: 1;
  display: inline-block;
  padding-bottom: 1px;
  white-space: nowrap;
}

.site-nav .nav-list {
  display: none;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav .nav-link {
  font-family: "Cousine", ui-monospace, monospace;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #c9c9c9;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.is-active {
  color: #9e9e9e;
}

@media (min-width: 900px) {
  .site-nav .nav-list {
    display: flex;
  }
}

@media (max-width: 899px) {
  .site-nav {
    min-height: 64px;
    padding: 0 16px;
  }

  .site-nav .brand__role {
    display: none;
  }

  .site-nav .brand__dee {
    font-size: 16px;
  }

  .site-nav .brand__lotus {
    width: 30px;
    height: 30px;
  }
}

/* Shared site footer — matches React Footer for standalone HTML case studies */
footer.site-footer {
  background-color: #eeebe5;
  color: #9e9e9e;
  font-family: "Cousine", ui-monospace, monospace;
  padding: 0;
  text-align: left;
}

footer.site-footer .site-footer__inner {
  max-width: 1920px;
  margin: 0 auto;
  min-height: 88px;
  padding: 28px clamp(20px, 2.2vw, 34px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-sizing: border-box;
}

footer.site-footer .site-footer__credit {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: #9e9e9e;
  white-space: nowrap;
}

footer.site-footer .site-footer__heart {
  display: inline-block;
  width: 16px;
  height: 13px;
  object-fit: contain;
  flex-shrink: 0;
  transform: translateY(1px);
}

footer.site-footer .site-footer__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

footer.site-footer .site-footer__links a {
  color: #9e9e9e;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  transition: color 0.2s ease;
}

footer.site-footer .site-footer__links a:hover,
footer.site-footer .site-footer__links a:focus-visible {
  color: #737373;
}

@media (max-width: 899px) {
  footer.site-footer .site-footer__inner {
    min-height: 0;
    padding: 22px 16px;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
  }

  footer.site-footer .site-footer__credit,
  footer.site-footer .site-footer__links a {
    font-size: 14px;
  }

  footer.site-footer .site-footer__links {
    gap: 22px;
    flex-wrap: wrap;
    justify-content: center;
  }
}
