/*
Theme Name: Who Flocks Me
Theme URI: https://whoflocksme.com
Author: Andy Parrish
Author URI: https://andyparrish.org
Description: Self-hosted theme for Who Flocks Me — ALPR camera transparency project. Packaged from the WordPress.com version of the site so it can run on a real host with a real domain, no branding, and no free-plan restrictions.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: who-flocks-me
*/

:root {
  --color-black: #000000;
  --color-white: #ffffff;
  --color-amber: #fcb900;
  --color-orange: #ff6900;
  --color-cyan-gray: #abb8c3;
  --color-green-cyan: #00d084;
  --color-red: #cf2e2e;
  --content-width: 700px;
  --wide-width: 1100px;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: #1e1e1e;
  background: #ffffff;
}

a { color: inherit; }

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

.wrap {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-wide {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  border-bottom: 1px solid #eee;
}
.site-header .wrap-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}
.site-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  text-decoration: none;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: #1e1e1e;
}
.site-nav a.button {
  background: var(--color-black);
  color: var(--color-white);
  padding: 10px 18px;
  border-radius: 4px;
}

/* Hero */
.hero {
  background: var(--color-black);
  color: var(--color-white);
  padding: 80px 0 60px;
}
.hero .wrap-wide {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-copy {
  flex: 1 1 480px;
  text-align: center;
}
.hero-eyebrow {
  color: var(--color-amber);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  margin: 0 0 16px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  margin: 0 0 16px;
  line-height: 1.1;
}
.hero-sub {
  color: var(--color-orange);
  font-weight: 800;
  font-size: clamp(16px, 2.5vw, 24px);
  margin: 0 0 20px;
}
.hero-body {
  margin: 0 0 28px;
  color: #e4e4e4;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  border: 2px solid transparent;
}
.btn-amber {
  background: var(--color-amber);
  color: var(--color-black);
}
.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.5);
}
.btn-red {
  background: var(--color-red);
  color: var(--color-white);
}
.hero-note {
  color: var(--color-cyan-gray);
  font-size: 13px;
  margin: 0;
}
.hero-image {
  flex: 1 1 360px;
}
.hero-image img {
  border-radius: 12px;
}
.hero-image figcaption {
  text-align: center;
  font-size: 12px;
  color: var(--color-cyan-gray);
  margin-top: 10px;
}

/* Stats bar */
.stats {
  background: var(--color-black);
  color: var(--color-white);
  padding: 0 0 60px;
}
.stats .wrap-wide {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-num {
  color: var(--color-amber);
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 6px;
}
.stat-label {
  text-align: center;
  font-size: 13px;
  color: #ddd;
  margin: 0;
}
@media (max-width: 700px) {
  .stats .wrap-wide { grid-template-columns: repeat(2, 1fr); }
}

/* Generic sections */
.section {
  padding: 60px 0;
}
.section-tight { padding: 40px 0 60px; }
.section-dark {
  background: var(--color-black);
  color: var(--color-white);
}
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  color: var(--color-amber);
  margin: 0 0 12px;
}
.section-eyebrow.green { color: var(--color-green-cyan); }
.section h2 {
  font-size: 30px;
  margin: 0 0 16px;
}
.section h3 {
  font-size: 20px;
  margin: 28px 0 10px;
}
.section p { margin: 0 0 16px; }
.section ul, .section ol {
  margin: 0 0 16px;
  padding-left: 22px;
}
.section li { margin-bottom: 8px; }
.text-center { text-align: center; }
.note-muted {
  color: var(--color-cyan-gray);
  font-size: 13px;
}

/* Subscribe form */
.subscribe-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.subscribe-form input[type="email"] {
  flex: 1 1 280px;
  padding: 12px 14px;
  border-radius: 4px;
  border: none;
  font-size: 15px;
}
.subscribe-form button {
  padding: 12px 22px;
  border-radius: 4px;
  border: none;
  background: var(--color-amber);
  color: var(--color-black);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}
.subscribe-success {
  background: rgba(0,208,132,0.15);
  border: 1px solid var(--color-green-cyan);
  padding: 14px 18px;
  border-radius: 4px;
  margin: 20px 0;
}

/* Footer */
.site-footer {
  padding: 30px 0;
  text-align: center;
  font-size: 13px;
  border-top: 1px solid #eee;
}
.site-footer a { text-decoration: underline; }

/* About page */
.about-page { padding: 60px 0; }
.about-page h1 { font-size: 36px; margin-bottom: 20px; }
