:root {
  --spacing-base: 6px;
  --bg-color: #f8faf9;
  --text-slate: #0f172a;
  --slate-light: #1e293b;
  --emerald: #047857;
  --emerald-hover: #064e3b;
  --radius: 2px;
  --font-body:
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Georgia", "Times New Roman", serif;
}
* {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.02'/%3E%3C/svg%3E");
  color: var(--text-slate);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.brand-name,
.footer-logo {
  font-family: var(--font-serif);
  font-weight: 400;
  margin: 0;
}

a {
  text-decoration: none;
  color: var(--text-slate);
  transition: color 0.2s ease;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-header {
  border-bottom: 1px solid var(--slate-light);
  background-color: var(--bg-color);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(var(--spacing-base) * 3) calc(var(--spacing-base) * 4);
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing-base) * 2);
  color: var(--emerald);
}

.brand svg {
  width: 24px;
  height: 24px;
}

.brand-name {
  font-size: 1.5rem;
  color: var(--text-slate);
}

.desktop-nav .nav-list {
  display: flex;
  gap: calc(var(--spacing-base) * 6);
}

.desktop-nav a {
  font-size: 1rem;
  padding-bottom: calc(var(--spacing-base) * 0.5);
  border-bottom: 1px solid transparent;
}

.desktop-nav a:hover {
  color: var(--emerald);
  border-bottom: 1px solid var(--emerald);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--text-slate);
  border-radius: var(--radius);
  color: var(--text-slate);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--spacing-base));
  transition: all 0.2s ease;
}

.btn-outline:hover {
  border-color: var(--emerald);
  color: var(--emerald);
}

.burger-menu svg,
.close-menu svg {
  width: 24px;
  height: 24px;
}

.burger-menu {
  display: none;
}

.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background-color: var(--bg-color);
  border-left: 1px solid var(--slate-light);
  z-index: 1000;
  transition: right 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
}

.mobile-nav-panel.open {
  right: 0;
}

.panel-header {
  display: flex;
  justify-content: flex-end;
  padding: calc(var(--spacing-base) * 3) calc(var(--spacing-base) * 4);
  border-bottom: 1px solid var(--slate-light);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
}

.mobile-nav-list a {
  display: block;
  padding: calc(var(--spacing-base) * 3) calc(var(--spacing-base) * 4);
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  font-size: 1.125rem;
}

.mobile-nav-list a:hover {
  color: var(--emerald);
  background-color: rgba(4, 120, 87, 0.05);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.5);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  transition:
    opacity 0.3s ease-in-out,
    visibility 0.3s ease-in-out;
}

.overlay.open {
  opacity: 1;
  visibility: visible;
}

.site-footer {
  border-top: 1px solid var(--slate-light);
  background-color: var(--bg-color);
  padding: calc(var(--spacing-base) * 8) calc(var(--spacing-base) * 4);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: calc(var(--spacing-base) * 6);
  align-items: start;
}

.footer-logo {
  font-size: 1.25rem;
  margin-bottom: calc(var(--spacing-base) * 2);
}

.tagline {
  margin: 0;
  font-size: 0.875rem;
  color: var(--slate-light);
}

.outline-link {
  display: inline-block;
  padding-bottom: calc(var(--spacing-base) * 0.5);
  border-bottom: 1px solid var(--slate-light);
}

.outline-link:hover {
  color: var(--emerald);
  border-bottom-color: var(--emerald);
}

.legal-list {
  display: flex;
  gap: calc(var(--spacing-base) * 4);
  justify-content: flex-end;
}

.footer-contact {
  text-align: center;
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .burger-menu {
    display: flex;
  }
  .footer-container {
    grid-template-columns: 1fr;
    text-align: left;
    gap: calc(var(--spacing-base) * 6);
  }
  .footer-contact {
    text-align: left;
  }
  .legal-list {
    justify-content: flex-start;
    flex-direction: column;
    gap: calc(var(--spacing-base) * 2);
  }
}
/* footer extras */
.footer__extras {
  margin-top: 16px;
}
.footer__extrasInner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer__social {
  display: flex;
  gap: 10px;
  align-items: center;
}
.footer-social {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  text-decoration: none;
}
.footer-social__icon {
  display: block;
}
.footer__poemWrap {
  max-width: 520px;
}
.footer-poem {
  opacity: 0.9;
  font-size: 0.95em;
  line-height: 1.35;
}
/* --- injected by logo step --- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-logo {
  width: 28px;
  height: 28px;
  display: inline-block;
  flex: 0 0 auto;
}
.brand-logo * {
  vector-effect: non-scaling-stroke;
}
/* --- /injected by logo step --- */
