/* ===================================================
   SAVE THE CAPS — styles.css
   Brand: Navy #1a2340 | Sky Blue #7ab3d4 | Baby Blue #7ab3d4 | White #f0f6ff
   =================================================== */

/* ---------- CSS CUSTOM PROPERTIES ---------- */
:root {
  --navy:      #1a2340;
  --navy-deep: #111827;
  --sky:       #7ab3d4;
  --sky-dark:  #5a9cbf;
  --offwhite:  #f0f6ff;
  --card-bg:   #202d4a;
  --border:    rgba(122, 179, 212, 0.25);

  --font-display: 'Inter', sans-serif;
  --font-heading: 'Inter', sans-serif;
  --font-body:    'Inter', sans-serif;

  --container: 1200px;
  --section-pad: clamp(4rem, 8vw, 7rem);
  --radius: 4px;
  --transition: 0.3s ease;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--navy-deep);
  color: var(--offwhite);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }
input, button { font-family: inherit; font-size: inherit; }

/* ---------- UTILITIES ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

.fraktur        { font-family: var(--font-display); }
.accent-sky    { color: var(--sky); }
.accent-sky     { color: var(--sky); }

/* ---------- FADE-IN ANIMATION (IntersectionObserver) ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger children when parent has data-stagger */
[data-stagger] .fade-in:nth-child(2) { transition-delay: 0.12s; }
[data-stagger] .fade-in:nth-child(3) { transition-delay: 0.24s; }
[data-stagger] .fade-in:nth-child(4) { transition-delay: 0.36s; }

/* ---------- NAV ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
.site-nav.scrolled {
  background: rgba(17, 24, 39, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.25rem, 5vw, 3rem);
  max-width: var(--container);
  margin: 0 auto;
}
.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-brand-icon {
  height: 32px;
  width: 32px;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links li a {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--offwhite);
  transition: color var(--transition);
}
.nav-links li a:hover { color: var(--sky); }
.nav-links .nav-cta {
  background: var(--sky);
  color: var(--navy);
  padding: 0.35rem 1rem;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.nav-links .nav-cta:hover {
  background: var(--offwhite);
  color: var(--navy);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--offwhite);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-mobile {
  display: none;
  padding: 1rem clamp(1.25rem, 5vw, 3rem) 1.5rem;
}
.nav-mobile ul { display: flex; flex-direction: column; gap: 1rem; }
.nav-mobile ul li a {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--offwhite);
}
.site-nav.mobile-open .nav-mobile { display: block; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), transform 0.15s ease, box-shadow var(--transition);
  text-align: center;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--sky);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(122,179,212,0.35);
}
.btn-primary:hover {
  background: var(--offwhite);
  color: var(--navy);
  box-shadow: 0 6px 28px rgba(240,246,255,0.3);
}

.btn-download {
  background: transparent;
  color: var(--sky);
  border: 1.5px solid var(--sky);
  font-size: 0.95rem;
  padding: 0.55rem 1.25rem;
  width: 100%;
}
.btn-download:hover {
  background: var(--sky);
  color: var(--navy);
}

.btn-hero { font-size: 1.25rem; padding: 0.9rem 2.5rem; margin-top: 2rem; }
.btn-submit { width: 100%; font-size: 1.2rem; padding: 0.85rem; margin-top: 0.5rem; }

/* ---------- SECTION COMMON ---------- */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--offwhite);
  text-transform: uppercase;
}
.title-rule {
  width: 60px;
  height: 3px;
  background: var(--sky);
  margin: 1rem auto 0;
}
.section-intro {
  max-width: 680px;
  margin: 1.5rem auto 0;
  font-size: 1.1rem;
  color: rgba(240, 246, 255, 0.8);
  text-align: center;
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(122,179,212,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(122,179,212,0.06) 0%, transparent 60%);
}

.hero-bg-texture {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,0.018) 0px,
      rgba(255,255,255,0.018) 1px,
      transparent 1px,
      transparent 8px
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 2rem clamp(1.25rem, 5vw, 3rem);
  max-width: 1200px;
}

.hero-crest {
  width: clamp(600px, 96vw, 840px);
  height: auto;
  filter: drop-shadow(0 8px 40px rgba(122,179,212,0.22));
  animation: crestFloat 6s ease-in-out infinite;
}
@keyframes crestFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.hero-headline {
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-top: 0.5rem;
}
.hero-headline .accent-sky {
  color: var(--sky);
  text-shadow: 0 2px 20px rgba(122,179,212,0.3);
}
.hero-headline .hero-sub-word {
  font-size: 0.75em;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--offwhite);
  display: block;
}

.hero-body {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  max-width: 600px;
  color: rgba(240, 246, 255, 0.8);
  line-height: 1.7;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}
.hero-scroll-hint span {
  display: block;
  width: 2px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--sky));
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* ---------- STATEMENT / PRESS RELEASE ---------- */
.statement {
  background: var(--navy-deep);
  position: relative;
}
.statement::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sky), transparent);
}

.statement-block {
  max-width: 740px;
  margin: 0 auto;
}

.statement-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  color: var(--offwhite);
  line-height: 1.05;
  margin-top: 0.5rem;
}

.statement-rule {
  margin: 1.25rem 0 2rem;
}

.statement-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: rgba(240, 246, 255, 0.85);
  line-height: 1.78;
  margin-bottom: 2.5rem;
}

.statement-body strong {
  color: var(--offwhite);
  font-style: italic;
}

.btn-outline-sky {
  background: transparent;
  color: var(--sky);
  border: 1.5px solid var(--sky);
  font-size: 1rem;
  letter-spacing: 0.15em;
}
.btn-outline-sky:hover {
  background: var(--sky);
  color: var(--navy);
}

.statement-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: var(--section-pad) 0;
}

.press-tiers {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.press-tier {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.press-tier:first-child { padding-top: 0; }
.press-tier:last-child { border-bottom: none; padding-bottom: 0; }

.press-tier-label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--offwhite);
  display: inline-block;
  border: 1.5px solid rgba(240, 246, 255, 0.35);
  padding: 0.2rem 0.65rem;
  margin-bottom: 0.9rem;
}

.press-tier-rule {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-bottom: 1.1rem;
}

.press-tier p {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  color: rgba(240, 246, 255, 0.82);
  line-height: 1.78;
}

.press-tier p strong { color: var(--sky); }

/* ---------- SITUATION ---------- */
.situation {
  background: var(--navy-deep);
}
.situation::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sky), transparent);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--sky);
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  border-color: rgba(122,179,212,0.5);
}
.card-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: rgba(122, 179, 212, 0.15);
  line-height: 1;
  margin-bottom: 0.75rem;
  user-select: none;
}
.card-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  color: var(--offwhite);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.card-body {
  font-size: 1rem;
  color: rgba(240, 246, 255, 0.75);
  line-height: 1.7;
}

/* ---------- ACTION TIERS ---------- */
.action {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.action::after {
  content: '#SaveTheCaps';
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8rem);
  color: rgba(122, 179, 212, 0.04);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.action-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.action-tier {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  border-left: 3px solid var(--sky);
  background: rgba(255,255,255,0.03);
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: background var(--transition);
}
.action-tier:hover { background: rgba(255,255,255,0.06); }

.tier-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.tier-label {
  font-family: var(--font-heading);
  font-size: 2rem;
  letter-spacing: 0.08em;
  color: var(--sky);
  line-height: 1;
}
.tier-body {
  font-size: 1.05rem;
  color: rgba(240, 246, 255, 0.8);
  line-height: 1.7;
}
.tier-body strong { color: var(--sky); font-weight: 700; }

/* ---------- ASSETS ---------- */
.assets {
  background: var(--navy-deep);
}
.assets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.assets-grid--single {
  grid-template-columns: minmax(0, 480px);
  justify-content: center;
}

.asset-tile {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
  transition: transform var(--transition), box-shadow var(--transition);
}
.asset-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
.asset-icon {
  width: 52px;
  height: 52px;
  opacity: 0.9;
}
.asset-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: var(--offwhite);
  line-height: 1.2;
}
.asset-desc {
  font-size: 0.9rem;
  flex: 1;
}

/* ---------- PETITION ---------- */
.petition {
  background: var(--navy);
  position: relative;
}
.petition::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sky), transparent);
}

.petition-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.petition-form-wrap {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
}

.petition-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.required { color: var(--sky); }
.optional {
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.8rem;
}
.form-group input[type="text"],
.form-group input[type="email"] {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  color: var(--offwhite);
  padding: 0.7rem 1rem;
  font-size: 1rem;
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
}
.form-group input:focus {
  outline: none;
  border-color: var(--sky);
  background: rgba(122, 179, 212, 0.06);
}

.form-group--checkbox { flex-direction: row; align-items: flex-start; gap: 0; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: rgba(240,246,255,0.7);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.checkbox-label input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--sky);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form-message {
  font-size: 0.95rem;
  text-align: center;
  min-height: 1.5em;
  border-radius: var(--radius);
  padding: 0.5rem;
  transition: opacity var(--transition);
}

.signature-counter {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.counter-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--sky);
  line-height: 1;
}
.counter-label {
  font-size: 1.1rem;
  color: rgba(240, 246, 255, 0.7);
}

.signature-wall { }
.wall-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.wall-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 360px;
  overflow-y: auto;
  scroll-behavior: smooth;
  overflow-anchor: none;
  padding-right: 0.5rem;
}
.wall-list::-webkit-scrollbar { width: 4px; }
.wall-list::-webkit-scrollbar-track { background: transparent; }
.wall-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.wall-entry {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: rgba(240, 246, 255, 0.75);
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  animation: entrySlide 0.4s ease;
}
@keyframes entrySlide {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}
.wall-entry::before {
  content: '✦';
  color: var(--sky);
  font-size: 0.65rem;
  flex-shrink: 0;
}
.wall-entry .entry-city {
  color: var(--sky);
  font-size: 0.85rem;
}

/* ---------- SHARE PROMPT ---------- */
.share-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  margin-top: 0.25rem;
}
.share-prompt-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240, 246, 255, 0.5);
}
.share-buttons {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-share {
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius);
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
  display: inline-block;
}
.btn-share--twitter {
  background: rgba(29, 161, 242, 0.12);
  color: #74c0fc;
  border: 1px solid rgba(29, 161, 242, 0.3);
}
.btn-share--twitter:hover {
  background: #1d9bf0;
  color: #fff;
  border-color: #1d9bf0;
}
.btn-share--whatsapp {
  background: rgba(37, 211, 102, 0.1);
  color: #57d97a;
  border: 1px solid rgba(37, 211, 102, 0.3);
}
.btn-share--whatsapp:hover {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}
.btn-share--copy {
  background: rgba(255,255,255,0.05);
  color: rgba(240, 246, 255, 0.7);
  border: 1px solid rgba(255,255,255,0.12);
}
.btn-share--copy:hover {
  background: rgba(255,255,255,0.1);
  color: var(--offwhite);
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #0d111d;
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-logo { width: 50px; }
.footer-logo img { width: 100%; height: auto; display: block; }
.footer-tagline {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-style: italic;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--offwhite);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--sky); }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
}
.footer-legal p {
  font-size: 0.8rem;
  text-align: center;
  line-height: 1.6;
}

/* ===================================================
   RESPONSIVE
   =================================================== */

/* Tablet */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .cards-grid       { grid-template-columns: 1fr; }
  .action-tiers     { grid-template-columns: 1fr; }
  .assets-grid      { grid-template-columns: repeat(2, 1fr); }
  .petition-layout  { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 560px) {
  .assets-grid   { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .footer-inner  { flex-direction: column; align-items: flex-start; }
  .footer-links  { flex-direction: column; gap: 0.75rem; }

  .hero-crest { width: 170px; }
}

/* Print */
@media print {
  .site-nav, .hero-scroll-hint { display: none; }
  body { background: white; color: black; }
}
