:root {
  --fog: #f4f6f5;
  --fog-dark: #e8ecea;
  --sage: #7c9082;
  --sage-dark: #56685c;
  --text-main: #1a1c1b;
  --text-muted: #5c6861;
  --radius: 16px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  background-color: var(--fog);
  color: var(--text-main);
  margin: 0;
  padding: 0;
}

.condensed-heading, h1, h2, h3, h4, h5, h6 {
  font-family: 'Arial Narrow', system-ui, sans-serif;
  font-stretch: condensed;
  font-weight: 700;
  margin-top: 0;
  color: var(--sage-dark);
  letter-spacing: -0.02em;
}

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

a:hover {
  color: var(--text-main);
}

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

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--fog);
  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.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
  box-shadow: 0 var(--space-1) var(--space-3) rgba(0,0,0,0.06);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-3) var(--space-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.brand-name {
  font-size: 1.5rem;
  text-transform: uppercase;
}

.desktop-nav ul {
  display: flex;
  gap: var(--space-4);
  list-style: none;
  padding: 0;
  margin: 0;
}

.desktop-nav a {
  font-weight: 500;
  font-size: 1.125rem;
}

#burger-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--sage-dark);
  padding: var(--space-1);
  display: none;
}

/* MOBILE OVERLAY */
.mobile-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--fog);
  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.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
  z-index: 2000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mobile-modal.is-open {
  display: flex;
}

#close-btn {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--sage-dark);
  padding: var(--space-1);
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.mobile-nav a {
  font-family: 'Arial Narrow', system-ui, sans-serif;
  font-stretch: condensed;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* FOOTER */
.site-footer {
  background-color: var(--fog-dark);
  padding: var(--space-5) var(--space-2) var(--space-3);
  margin-top: var(--space-5);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.footer-heading {
  font-size: 1.25rem;
  margin-bottom: var(--space-2);
  text-transform: uppercase;
}

.brand-desc {
  margin-bottom: var(--space-2);
  line-height: 1.5;
  color: var(--text-muted);
}

.tagline {
  font-weight: 600;
  color: var(--sage-dark);
}

.footer-contact ul, .footer-legal ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-1);
  color: var(--text-muted);
}

.footer-contact svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--sage);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: var(--space-3);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: row;
    justify-content: center;
    position: relative;
    padding: var(--space-2);
  }
  .desktop-nav {
    display: none;
  }
  #burger-btn {
    display: block;
    position: absolute;
    right: var(--space-2);
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
}
/* 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 --- */


.desktop-nav a[aria-current="page"],
.mobile-nav a[aria-current="page"] {
  color: var(--text-main);
  position: relative;
}

.desktop-nav a[aria-current="page"]::after,
.mobile-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: currentColor;
}

.legal-page {
  background: linear-gradient(180deg, #eef2ef 0%, #f8faf9 100%);
  color: var(--text-main);
}

.legal-page__main {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px) 16px;
}

.legal-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(86,104,92,0.18);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 18px 40px rgba(18, 24, 20, 0.08);
}

.legal-card > p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-sections {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.legal-section {
  padding: 20px;
  background: #f7faf8;
  border: 1px solid rgba(86,104,92,0.14);
  border-radius: 18px;
}

.legal-section h2 {
  margin-bottom: 10px;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

.legal-section p,
.legal-section li {
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-section ul {
  margin: 12px 0 0 18px;
}

.thanks-page {
  min-height: 100vh;
  margin: 0;
  background: radial-gradient(circle at top, rgba(45,212,191,0.18), transparent 30%), #020617;
  color: #e2e8f0;
}

.thanks-page__main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.thanks-card {
  width: min(100%, 720px);
  background: rgba(15, 23, 42, 0.94);
  border: 1px solid rgba(45, 212, 191, 0.25);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.thanks-kicker {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.26);
  color: #5eead4;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.thanks-card h1 {
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 14px;
}

.thanks-card p {
  color: #94a3b8;
  line-height: 1.7;
  margin: 0 auto 14px;
  max-width: 48ch;
}

.thanks-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.thanks-button,
.thanks-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.thanks-button {
  background: #2dd4bf;
  color: #06202a;
}

.thanks-button:hover {
  color: #03161d;
}

.thanks-link {
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: #e2e8f0;
}

.thanks-meta {
  margin-top: 18px;
  font-size: 0.95rem;
  color: #94a3b8;
}

.contact-form-grid {
  display: grid;
  gap: 16px;
}

.contact-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid #3f3f46;
  background: #09090b;
  color: #fff;
  border-radius: 18px;
  padding: 14px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.15);
}

.contact-privacy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #a1a1aa;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-privacy input {
  margin-top: 4px;
}

.contact-submit {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 14px 20px;
  background: linear-gradient(90deg, #10b981, #34d399);
  color: #04130f;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}
