/* Project I For One — main stylesheet (light/cream) */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Epilogue:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg:       #faf8f3;
  --surface:  #f2efe8;
  --surface2: #e8e5dc;
  --border:   #dedad0;
  --border2:  #ccc8bc;
  --text:     #1a1814;
  --muted:    #6a6660;
  --dim:      #b0ada6;
  --red:      #c9392a;
  --red-bg:   rgba(201,57,42,.07);
  --red-bdr:  rgba(201,57,42,.28);
  --gold:     #9a7a28;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Epilogue', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
  --radius:   3px;
  --max:      1100px;
  --t:        0.18s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t); }
hr { border: none; border-top: 1px solid var(--border); margin: 28px 0; }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.2;
}

.skip {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip:focus {
  left: 16px; top: 16px; width: auto; height: auto;
  padding: 10px 14px; background: var(--bg);
  border: 1px solid var(--border2); border-radius: var(--radius); z-index: 9999;
}

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* ── HEADER ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,248,243,.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.nav-wrap {
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px; height: 76px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; gap: 0; }
.logo-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.45;
  line-height: 1.2;
}
.logo-name {
  font-weight: 900;
  font-size: 1.85rem;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 0.95;
}
.logo-dot { color: var(--red); font-size: 2.1rem; }
.logo-sub { display: none; }

.nav { display: flex; align-items: center; gap: 0; list-style: none; }
.nav a {
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); padding: 8px 11px; transition: color var(--t);
}
.nav a:hover { color: var(--text); }
.nav .nav-donate {
  margin-left: 8px; background: var(--red); color: #fff;
  padding: 8px 16px; border-radius: var(--radius); font-weight: 500;
}
.nav .nav-donate:hover { background: #b02f22; color: #fff; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--muted); transition: all var(--t); }

/* ── HERO ── */
.hero { padding: 80px 0 64px; border-bottom: 1px solid var(--border); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.66rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem;
}
.kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.h1 {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 6.5vw, 6.5rem);
  line-height: 0.9; letter-spacing: 0.02em;
  color: var(--text); margin-bottom: 1.5rem; max-width: 18ch;
}
.lede { font-size: 1.05rem; line-height: 1.8; color: var(--muted); max-width: 62ch; margin-bottom: 2rem; }
.lede strong { color: var(--text); font-weight: 600; }

/* ── BUTTONS ── */
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--border2); background: transparent;
  color: var(--muted); border-radius: var(--radius); transition: all var(--t); cursor: pointer;
}
.btn:hover { border-color: var(--text); color: var(--text); }
.btn-primary { background: var(--red); border-color: var(--red); color: #fff; font-weight: 500; }
.btn-primary:hover { background: #b02f22; border-color: #b02f22; color: #fff; }
.btn-danger { background: var(--red-bg); border-color: var(--red-bdr); color: var(--red); }
.btn-danger:hover { background: rgba(201,57,42,.14); }
.btn-ghost { background: var(--surface); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface2); border-color: var(--border2); color: var(--text); }

/* ── PILL ── */
.pill {
  display: inline-flex; gap: 8px; align-items: center;
  padding: 6px 12px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); color: var(--muted);
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; margin-top: 16px;
}
.pill strong { color: var(--text); }

/* ── SECTIONS ── */
.section { padding: 52px 0; }
.section-label {
  display: block; font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 0.95; letter-spacing: 0.02em; color: var(--text); margin-bottom: 0.75rem;
}
.section-lede { font-size: 0.95rem; color: var(--muted); line-height: 1.8; max-width: 72ch; }
.panel { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ── GRID ── */
.grid { display: grid; gap: 16px; margin-top: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ── CARDS ── */
.card {
  background: #fff; border: 1px solid var(--border); padding: 26px; position: relative;
  transition: border-color var(--t);
}
.card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--border); transition: background var(--t);
}
.card:hover { border-color: var(--border2); }
.card:hover::before { background: var(--red); }
.card h3 {
  font-family: var(--font-display); font-size: 1.7rem;
  letter-spacing: 0.02em; color: var(--text); margin-bottom: 10px; line-height: 1;
}
.card p { font-size: 0.88rem; color: var(--muted); line-height: 1.75; }
.card .cta-row { margin-top: 18px; }

.service-card { display: flex; flex-direction: column; }
.service-card-body { padding: 26px 26px 0; flex: 1; }
.service-card-body h3 {
  font-family: var(--font-display); font-size: 1.7rem;
  letter-spacing: 0.02em; color: var(--text); margin-bottom: 10px; line-height: 1;
}
.service-card-body p { font-size: 0.88rem; color: var(--muted); line-height: 1.75; }
.service-card-actions {
  padding: 16px 26px 26px; display: flex; gap: 10px;
  flex-wrap: wrap; min-height: 60px; margin-top: auto;
}
.service-card.card::before { display: none; }

/* ── CALLOUT ── */
.callout {
  border: 1px solid var(--red-bdr); border-left: 3px solid var(--red);
  background: var(--red-bg); padding: 18px 20px; border-radius: var(--radius); margin-top: 24px;
}
.callout strong { display: block; margin-bottom: 6px; font-weight: 600; }
.callout .muted { font-size: 0.88rem; }
.stance-emphasis { margin-top: 10px; font-family: var(--font-display); font-size: 2rem; letter-spacing: 0.03em; color: var(--text); line-height: 1; }

/* ── LIST ── */
.list { list-style: none; margin-top: 14px; }
.list li { position: relative; padding-left: 16px; color: var(--muted); font-size: 0.88rem; line-height: 1.8; margin-bottom: 6px; }
.list li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.list li strong { color: var(--text); font-weight: 600; }

/* ── TWO-COL ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }

/* ── NEWSLETTER ── */
.newsletter { padding: 52px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.newsletter-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: start; }
.newsletter-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.newsletter-form input {
  padding: 10px 14px; border: 1px solid var(--border2); background: #fff;
  color: var(--text); font-family: var(--font-body); font-size: 0.9rem;
  border-radius: var(--radius); outline: none; transition: border-color var(--t);
}
.newsletter-form input:focus { border-color: var(--red); }
.newsletter-form input::placeholder { color: var(--dim); }
.newsletter-form button {
  padding: 10px 18px; background: var(--red); border: 1px solid var(--red);
  color: #fff; font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500;
  border-radius: var(--radius); cursor: pointer; transition: background var(--t);
}
.newsletter-form button:hover { background: #b02f22; }
.newsletter-note { grid-column: 1 / -1; }

/* ── FOOTER — dark on light site for contrast ── */
.site-footer { border-top: 1px solid var(--border); background: var(--text); padding: 36px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr; gap: 32px; padding-bottom: 28px; }
.footer-brand { font-family: var(--font-display); font-size: 2rem; letter-spacing: 0.04em; color: #faf8f3; line-height: 1; margin-bottom: 8px; }
.footer-address { font-size: 0.82rem; color: rgba(250,248,243,.4); line-height: 1.8; }
.footer-title { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: #c9392a; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.85rem; color: rgba(250,248,243,.45); transition: color var(--t); }
.footer-links a:hover { color: #faf8f3; }
.footer-contact-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.08); flex-wrap: wrap;
}
.contact-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em;
  color: rgba(250,248,243,.4); border: 1px solid rgba(255,255,255,.1);
  padding: 9px 14px; border-radius: var(--radius);
  background: rgba(255,255,255,.04); transition: all var(--t);
}
.contact-link:hover { border-color: rgba(255,255,255,.2); color: #faf8f3; }
.ico { width: 16px; height: 16px; flex-shrink: 0; opacity: 0.6; }
.footer-bottom { padding: 16px 0 24px; border-top: 1px solid rgba(255,255,255,.08); font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.06em; color: rgba(250,248,243,.22); }

/* ── TRIBUTE ── */
.tribute {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 28px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tribute-dates {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--dim);
  line-height: 1;
  padding-top: 4px;
}

.tribute-body p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.85;
  max-width: 68ch;
}
.tribute-body p + p { margin-top: 1.1rem; }

.tribute-quote {
  margin-top: 32px;
  padding: 24px 28px;
  border-left: 3px solid var(--red);
  background: var(--red-bg);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--text);
  font-weight: 400;
}

@media (max-width: 680px) {
  .tribute { grid-template-columns: 1fr; gap: 16px; }
}

/* ── UTILS ── */
.muted { color: var(--muted); }
.small { font-size: 0.82rem; line-height: 1.6; }
.sr-only { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-contact-row { flex-direction: column; align-items: stretch; }
  .contact-link { justify-content: center; }
}
@media (max-width: 680px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    background: rgba(250,248,243,.98); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: flex-start; padding: 1.25rem 1.5rem; gap: 0;
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; width: 100%; }
  .nav .nav-donate { margin-left: 0; margin-top: 8px; }
  .newsletter-form { grid-template-columns: 1fr; }
  .h1 { font-size: clamp(3rem, 10vw, 4.5rem); }
}
