/* ─────────────────────────────────────────────
   Fighting For Sidewalk — style.css
   ───────────────────────────────────────────── */

/* Reset & base
   ───────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1A1A1A;
  background: #F8F7F5;
  -webkit-font-smoothing: antialiased;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Layout
   ───────────────────────────────────────────── */
.inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

/* Navigation
   ───────────────────────────────────────────── */
.site-nav {
  height: 190px;
  background: #F8F7F5;
  border-bottom: 0.5px solid #E0DFDD;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  height: 168px;
  width: auto;
  display: block;
}

.nav-btn {
  background: #1A1A1A;
  color: #F8F7F5;
  border: none;
  padding: 10px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.nav-btn:hover {
  background: #2A2A2A;
}

/* Hero
   ───────────────────────────────────────────── */
.hero {
  background: #1A1A1A;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero .inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-watermark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  height: 340px;
  width: auto;
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
}

.eyebrow {
  font-size: 22px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888;
  margin: 0 0 1rem;
}

.hero-headline {
  font-size: 52px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #F8F7F5;
  margin: 0 0 1.5rem;
  max-width: 700px;
}

.hero-sub {
  font-size: 17px;
  color: #888;
  line-height: 1.65;
  max-width: 520px;
  margin: 0 0 1rem;
}

.hero-teaser {
  font-size: 18px;
  color: #FFFFFF;
  margin: 0 0 1.5rem;
  font-style: italic;
}

.hero-tagline {
  font-size: 15px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #555;
  margin: 0 0 2.25rem;
}

.hero-btn {
  background: #F8F7F5;
  color: #1A1A1A;
  border: none;
  padding: 14px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.15s ease;
}

.hero-btn:hover {
  background: #EEEEED;
}

/* Sections
   ───────────────────────────────────────────── */
.section {
  padding: 4rem 0;
}

.section .inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section-light {
  background: #F8F7F5;
}

.section-dark {
  background: #1A1A1A;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888;
  margin: 0 0 2rem;
}

/* Work grid
   ───────────────────────────────────────────── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.work-item {
  padding: 1.5rem;
  background: #EEEEED;
  border-radius: 2px;
}

.work-item-label {
  font-size: 15px;
  font-weight: 500;
  color: #1A1A1A;
  margin: 0 0 0.5rem;
  letter-spacing: 0.04em;
}

.work-item-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.65;
  margin: 0;
}

/* Approach
   ───────────────────────────────────────────── */
.approach-body {
  max-width: 680px;
}

.approach-p {
  font-size: 15px;
  color: #C8C7C5;
  line-height: 1.85;
  margin: 0 0 1.25rem;
}

.approach-p:last-child {
  margin-bottom: 0;
}

/* CTA band
   ───────────────────────────────────────────── */
.cta-band {
  background: #F8F7F5;
  padding: 6rem 0;
}

.cta-band .inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-headline {
  font-size: 38px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #1A1A1A;
  margin: 0 0 0.75rem;
}

.cta-sub {
  font-size: 16px;
  color: #888;
  margin: 0 0 2.25rem;
}

.cta-btn {
  background: #1A1A1A;
  color: #F8F7F5;
  border: none;
  padding: 14px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.15s ease;
}

.cta-btn:hover {
  background: #2A2A2A;
}

/* Footer
   ───────────────────────────────────────────── */
.site-footer {
  background: #1A1A1A;
  padding: 2.5rem 0;
}

.site-footer .inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
  width: 100%;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-logo {
  height: 68px;
  width: auto;
  display: block;
}

.footer-name {
  font-size: 14px;
  font-weight: 500;
  color: #F8F7F5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.footer-tagline {
  font-size: 12px;
  color: #FFFFFF;
  letter-spacing: 0.06em;
  font-style: italic;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 12px;
  color: #888;
  text-decoration: none;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: #F8F7F5;
}

.footer-divider {
  border: none;
  border-top: 0.5px solid #2A2A2A;
  margin: 0 0 1.25rem;
  width: 100%;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
}

.footer-copy {
  font-size: 12px;
  color: #888;
}

.footer-cookie {
  font-size: 12px;
  color: #888;
  max-width: 420px;
}

/* Modal
   ───────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

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

.modal {
  background: #F8F7F5;
  width: 100%;
  max-width: 480px;
  padding: 2rem;
  border-radius: 2px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #888;
  line-height: 1;
  padding: 4px;
  transition: color 0.15s ease;
}

.modal-close:hover {
  color: #1A1A1A;
}

.modal-title {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 0.25rem;
  color: #1A1A1A;
}

.modal-sub {
  font-size: 14px;
  color: #888;
  margin: 0 0 1.75rem;
}

/* Form
   ───────────────────────────────────────────── */
.form-row {
  margin-bottom: 1.1rem;
}

.form-row label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 6px;
}

.form-row-check label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 15px;
  color: #2D6A4F;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.5;
  margin-bottom: 0;
}

.form-row-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
  accent-color: #1A1A1A;
}

.form-row label .optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  background: #fff;
  border: 0.5px solid #C8C7C5;
  border-radius: 2px;
  padding: 9px 12px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #1A1A1A;
  resize: none;
  outline: none;
  transition: border-color 0.15s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: #1A1A1A;
}

.form-row input.has-error,
.form-row textarea.has-error {
  border-color: #CC3333;
}

.field-error {
  font-size: 12px;
  color: #CC3333;
  margin-top: 4px;
}

.char-count {
  font-size: 11px;
  color: #AAA;
  text-align: right;
  margin-top: 4px;
}

/* Turnstile container */
.turnstile-wrap {
  margin-bottom: 1.25rem;
}

.submit-btn {
  width: 100%;
  background: #1A1A1A;
  color: #F8F7F5;
  border: none;
  padding: 13px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.15s ease;
}

.submit-btn:hover {
  background: #2A2A2A;
}

.submit-btn:disabled {
  background: #888;
  cursor: not-allowed;
}

.privacy-note {
  font-size: 11px;
  color: #AAA;
  text-align: center;
  margin-top: 0.75rem;
}

.privacy-note a {
  color: #888;
}

/* Form success state */
.form-success {
  padding: 2rem 0;
  text-align: center;
}

.form-success-title {
  font-size: 18px;
  font-weight: 500;
  color: #1A1A1A;
  margin: 0 0 0.5rem;
}

.form-success-body {
  font-size: 14px;
  color: #888;
  margin: 0;
}

/* Form global error */
.form-status-error {
  background: #FFF0F0;
  border: 0.5px solid #FFCCCC;
  border-radius: 2px;
  padding: 10px 12px;
  font-size: 13px;
  color: #CC3333;
  margin-bottom: 1rem;
}

/* Legal pages
   ───────────────────────────────────────────── */
.legal-main {
  padding: 4rem 0;
}

.legal-main .inner {
  display: block;
  max-width: 720px;
}

.legal-main h1 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1A1A1A;
  margin: 0 0 0.5rem;
}

.legal-meta {
  font-size: 13px;
  color: #888;
  margin: 0 0 3rem;
}

.legal-main h2 {
  font-size: 16px;
  font-weight: 500;
  color: #1A1A1A;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 2.5rem 0 0.75rem;
}

.legal-main h2:first-of-type {
  margin-top: 0;
}

.legal-main p {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin: 0 0 1rem;
}

.legal-main ul {
  margin: 0 0 1rem 1.25rem;
}

.legal-main li {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 0.4rem;
}

.legal-main a {
  color: #1A1A1A;
}

.legal-main hr {
  border: none;
  border-top: 0.5px solid #E0DFDD;
  margin: 2.5rem 0;
}

.legal-intro {
  font-size: 16px !important;
  color: #1A1A1A !important;
  font-weight: 400;
  margin-bottom: 2.5rem !important;
}

/* Responsive
   ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .inner {
    padding: 0 1.25rem;
  }

  .site-nav {
    height: 160px;
  }

  .nav-logo {
    height: 144px;
  }

  .hero {
    padding: 4rem 0;
  }

  .hero-headline {
    font-size: 34px;
  }

  .hero-watermark {
    height: 200px;
    opacity: 0.04;
  }

  .section {
    padding: 3rem 0;
  }

  .work-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .cta-band {
    padding: 4rem 0;
  }

  .cta-headline {
    font-size: 28px;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .footer-cookie {
    max-width: 100%;
  }

  .legal-main h1 {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 28px;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .modal {
    padding: 1.5rem;
  }
}
