/* =========================================
   GALIT.ORG — ACTIVIST CAMPAIGN
   Brutalist / Editorial / Protest Poster
   ========================================= */

/* Variables */
:root {
  --bg: #0d0d0d;
  --text: #f0f0f0;
  --text-dim: #888;
  --accent: #ff2200;
  --border: #333;
  --font-head: Impact, Haettenschweiler, 'Arial Narrow Bold', 'Franklin Gothic', 'Helvetica Inserat', sans-serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'Courier New', Courier, 'Lucida Console', monospace;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.2em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 4vw;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.site-id {
  font-family: var(--font-head);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.site-disclaimer {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin: 0;
}

/* Sections */
.section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--border);
}

.section-dark {
  background: var(--bg);
  min-height: auto;
  border-bottom: 1px solid var(--border);
}

.section-bg,
.section-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: grayscale(30%) contrast(1.1);
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 1;
}

/* Content */
.content {
  position: relative;
  z-index: 2;
  padding: 6vh 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
}

.js-enabled .content {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-enabled .content.visible {
  opacity: 1;
  transform: translateY(0);
}

.align-left {
  align-items: flex-start;
  text-align: left;
}

.align-right {
  align-items: flex-end;
  text-align: right;
}

.align-center {
  align-items: center;
  text-align: center;
  justify-content: center;
}

/* Typography */
h1 {
  font-family: var(--font-head);
  font-size: clamp(4rem, 14vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0;
  font-weight: 400;
  max-width: 100%;
}

h1 .line {
  display: block;
}

h2 {
  font-family: var(--font-head);
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 2rem;
  font-weight: 400;
  max-width: 20ch;
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.4;
  max-width: 40ch;
  margin-top: 2rem;
  font-weight: 400;
}

.body-text {
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  line-height: 1.7;
  max-width: 65ch;
}

.body-text p {
  margin-bottom: 1.5rem;
}

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

.body-text strong {
  color: var(--text);
  font-weight: 700;
}

/* Captions */
.caption {
  position: absolute;
  bottom: 2rem;
  left: 6vw;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  z-index: 2;
}

.section:nth-child(even) .caption {
  left: auto;
  right: 6vw;
}

/* CTA Section */
#cta {
  border-top: 4px solid var(--accent);
  padding-top: 2rem;
  padding-bottom: 0;
}

#cta .content {
  min-height: auto;
  padding-top: 4vw;
  padding-bottom: 4vw;
}

#cta h2 {
  max-width: 100%;
}

/* Email Block */
.email-block {
  border: 1px solid var(--border);
  background: #111;
  max-width: 700px;
  width: 100%;
  text-align: left;
  margin: 3rem 0;
}

.email-header {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-dim);
}

.email-header p {
  margin: 0.25rem 0;
}

.email-header strong {
  color: var(--text);
}

.email-body {
  padding: 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
}

.email-body p {
  margin-bottom: 1rem;
}

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

/* Button */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  padding: 1.2rem 2.5rem;
  font-family: var(--font-head);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  background: var(--text);
  color: var(--accent);
}

/* Footer */
#footer {
  min-height: auto;
}

#footer .content {
  min-height: auto;
  padding-top: 4vw;
  padding-bottom: 4vw;
}

.footer-disclaimer {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .site-header {
    padding: 0.75rem 4vw;
  }

  .site-disclaimer {
    font-size: 0.55rem;
  }

  .content {
    padding: 8vh 5vw;
    justify-content: center;
  }

  .align-right,
  .align-left {
    align-items: flex-start;
    text-align: left;
  }

  h1 {
    font-size: clamp(3.5rem, 16vw, 5.5rem);
  }

  h2 {
    font-size: clamp(2.5rem, 10vw, 4rem);
    max-width: 100%;
  }

  .lead {
    font-size: 1.1rem;
  }

  .caption {
    left: 5vw;
    right: auto;
  }

  .section:nth-child(even) .caption {
    left: 5vw;
    right: auto;
  }

  .email-block {
    margin: 2rem 0;
  }

  .email-header,
  .email-body {
    padding: 1rem;
  }

  .btn {
    font-size: 1rem;
    padding: 1rem 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .content {
    transition: none;
    opacity: 1;
    transform: none;
  }
}
