/*
Bred For Labs compact site stylesheet.
Edit the :root variables below for easy style changes.
The rest of the file controls layout and components.
*/

/*
Bred For Labs — editable theme variables
Change the values in this file to restyle the whole website.
Keep colour contrast readable. After edits, open style-playground.html and a few pages to check.
*/
:root {
  /* Site colours */
  --bg: #fbfaf7;
  --paper: #ffffff;
  --ink: #24211f;
  --muted: #625b55;
  --line: #e4ded6;
  --accent: #7a3f2d;
  --accent-2: #314d43;
  --soft: #f2ebe2;
  --soft-green: #e7eee9;
  --warn: #fff4d8;

  /* Layout */
  --max: 1120px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --shadow-soft: 0 12px 30px rgba(36,33,31,0.04);
  --shadow-photo: 0 14px 34px rgba(36,33,31,.08);

  /* Typography */
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-size-base: 18px;
  --line-height-base: 1.62;
}

/* Layout and component styles */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: var(--line-height-base);
  font-size: var(--font-size-base);
}
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: #4f281d; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff;
  padding: .7rem 1rem; z-index: 999;
}
.skip-link:focus { left: 0; }
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(251,250,247,.94);
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(12px);
}
.nav-wrap {
  max-width: var(--max); margin: 0 auto; padding: .8rem 1.2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
}
.brand { font-weight: 850; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.brand small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; letter-spacing: 0; }
.nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .3rem .85rem; font-size: .92rem; }
.nav a { color: var(--muted); text-decoration: none; padding: .25rem 0; }
.nav a[aria-current="page"], .nav a:hover { color: var(--accent); text-decoration: underline; }
.hero {
  background: linear-gradient(120deg, var(--soft), var(--soft-green));
  border-bottom: 1px solid var(--line);
}
.hero-inner { max-width: var(--max); margin: 0 auto; padding: 4.8rem 1.2rem 4.3rem; }
.eyebrow { color: var(--accent-2); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.12; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); margin: .45rem 0 1rem; max-width: 920px; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.8rem); margin: 0 0 1rem; }
h3 { font-size: 1.35rem; margin: 1.6rem 0 .5rem; }
.lede { font-size: clamp(1.18rem, 2vw, 1.45rem); max-width: 830px; color: #433d38; }
main { max-width: var(--max); margin: 0 auto; padding: 2rem 1.2rem 4rem; }
section, .card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(1.25rem, 3vw, 2rem); margin: 1.25rem 0;
  box-shadow: 0 12px 30px rgba(36,33,31,0.04);
}
.plain-section { background: transparent; border: 0; box-shadow: none; padding: 1rem 0; }
.grid { display: grid; gap: 1rem; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat-card {
  background: var(--soft); border-radius: 18px; padding: 1.2rem; border: 1px solid #e6d6c9;
}
.stat-card strong { display: block; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; color: var(--accent); letter-spacing: -0.05em; }
.stat-card span { display: block; margin-top: .6rem; color: var(--muted); font-size: .97rem; }
.note, .source-note, .boundary {
  border-left: 5px solid var(--accent-2); background: var(--soft-green);
  padding: 1rem 1.1rem; border-radius: 12px; margin: 1rem 0;
}
.boundary { background: var(--warn); border-left-color: #b07914; }
blockquote {
  margin: 1.2rem 0; padding: 1rem 1.2rem; border-left: 5px solid var(--accent);
  background: #faf4ef; border-radius: 12px; font-size: 1.08rem;
}
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.button {
  display: inline-block; border-radius: 999px; padding: .8rem 1.05rem; text-decoration: none;
  background: var(--accent); color: #fff; font-weight: 750; border: 1px solid var(--accent);
}
.button.secondary { background: #fff; color: var(--accent); }
.button:hover { color: #fff; background: #5a2d20; }
.button.secondary:hover { color: #fff; background: var(--accent); }
ul, ol { padding-left: 1.25rem; }
li + li { margin-top: .35rem; }
.image-frame { margin: 1rem 0; }
.image-frame img {
  display: block; width: 100%; max-width: 100%; height: auto; border-radius: 18px;
  border: 1px solid var(--line); background: #fff;
}
.caption { color: var(--muted); font-size: .9rem; margin-top: .45rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: .7rem .55rem; }
th { background: #f5efe8; color: #3e342d; }
.kicker-list a { font-weight: 700; }
.site-footer { border-top: 1px solid var(--line); background: #f2eee8; color: var(--muted); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 2rem 1.2rem; font-size: .95rem; }
.footer-inner strong { color: var(--ink); }
@media (max-width: 820px) {
  body { font-size: 17px; }
  .nav-wrap { display: block; }
  .nav { justify-content: flex-start; margin-top: .75rem; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 3rem; }
}
@media print {
  .site-header, .site-footer, .button-row { display: none; }
  body { background: #fff; font-size: 12pt; }
  main, .hero-inner { max-width: none; padding: 0; }
  section, .card { box-shadow: none; border: 1px solid #ccc; page-break-inside: avoid; }
}


.pull-claim {
  margin: 1.4rem 0;
  padding: 1.15rem 1.3rem;
  background: linear-gradient(135deg, #fff8f1, #f3ebe2);
  border: 1px solid #ead7ca;
  border-left: 6px solid var(--accent);
  border-radius: 18px;
}
.pull-claim p { margin: .35rem 0; font-size: clamp(1.15rem, 2.4vw, 1.55rem); line-height: 1.24; letter-spacing: -0.02em; }
.opening-truth h2 { margin-bottom: 1.2rem; }
.site-url { font-weight: 800; color: var(--accent); }


/* v5 campaign-support and image styling */
.hero-image-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 1.4rem;
  align-items: center;
}
.feature-photo {
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(36,33,31,.08);
  background: #fff;
}
.photo-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.1rem 0;
}
.photo-strip.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.photo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(36,33,31,.04);
}
.photo-card img { display:block; width:100%; height: 230px; object-fit: cover; }
.photo-card .caption { padding: .7rem .85rem .9rem; margin: 0; }
.support-box {
  background: linear-gradient(135deg, #fff8f1, #edf3ef);
  border-left: 6px solid var(--accent);
}
.badge-row { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1rem 0; }
.badge {
  display:inline-block; padding: .38rem .66rem; border-radius:999px;
  background: #f6eee6; border:1px solid #ead7ca; color: var(--accent);
  font-weight: 750; font-size: .88rem;
}
.callout-quiet {
  background: #f8f4ee;
  border: 1px solid #e7dace;
  border-radius: 18px;
  padding: 1rem 1.1rem;
}
@media (max-width: 820px) {
  .hero-image-card { grid-template-columns: 1fr; }
  .photo-strip, .photo-strip.three { grid-template-columns: 1fr; }
  .photo-card img { height: auto; }
}


/* v6 ASRU interactive timeline */
.mini-card { margin: 0; }
.timeline-shell {
  background: linear-gradient(135deg, #ffffff, #fbf6ef);
  border-left: 6px solid var(--accent);
}
.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.2rem;
}
.selected-year {
  min-width: 150px;
  text-align: center;
  background: var(--accent);
  color: #fff;
  border-radius: 22px;
  padding: .65rem 1.15rem;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.025em;
  box-shadow: 0 12px 28px rgba(122,63,45,.18);
}
.slider-wrap {
  margin: 1.25rem 0 1rem;
  padding: 1rem;
  background: #f7efe7;
  border: 1px solid #ead7ca;
  border-radius: 18px;
}
.year-slider {
  width: 100%;
  accent-color: var(--accent);
  cursor: pointer;
}
.year-buttons {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: .35rem;
  margin-top: .65rem;
}
.year-buttons button {
  border: 1px solid #dec7b8;
  background: #fff;
  color: var(--muted);
  border-radius: 999px;
  padding: .42rem .35rem;
  font-weight: 760;
  cursor: pointer;
}
.year-buttons button.active,
.year-buttons button:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.year-summary {
  font-size: 1.08rem;
  color: #3f3935;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.1rem;
}
.timeline-cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.1rem;
}
.timeline-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: .9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  box-shadow: 0 10px 22px rgba(36,33,31,.04);
}
.timeline-card h3 { margin-top: .1rem; }
.card-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--soft-green);
  color: var(--accent-2);
  font-weight: 900;
  border: 1px solid #cddbd0;
}
.timeline-source {
  font-size: .9rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: .65rem;
  margin-bottom: 0;
}
@media (max-width: 820px) {
  .timeline-header { display: block; }
  .selected-year { display: inline-block; margin-top: .6rem; }
  .year-buttons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .timeline-card { grid-template-columns: 1fr; }
}


/* v7 alternatives page */
.alternatives-grid .mini-card h3 { color: var(--accent-2); }
.alternatives-grid .mini-card { background: linear-gradient(135deg, #ffffff, #fbf6ef); }
.alternatives-grid .mini-card p { margin-bottom: 0; }

/*
STYLE PRESETS
To change the whole mood, replace the :root variable values near the top with one of these sets.

Clean news / evidence desk:
:root { --background:#f6f3ee; --surface:#ffffff; --text:#1f2328; --muted:#5b6470; --accent:#8f2424; --accent-dark:#6f1919; --border:#ded8d0; --soft:#f1ece5; --font-heading: Georgia, 'Times New Roman', serif; --font-body: system-ui, -apple-system, Segoe UI, sans-serif; }

Gentle green compassion:
:root { --background:#f3f5ef; --surface:#ffffff; --text:#1f2a22; --muted:#647064; --accent:#58745d; --accent-dark:#38523d; --border:#d9dfd2; --soft:#e9eee4; --font-heading: Georgia, 'Times New Roman', serif; --font-body: system-ui, -apple-system, Segoe UI, sans-serif; }

High contrast campaign:
:root { --background:#f9f7f2; --surface:#ffffff; --text:#111111; --muted:#4d4d4d; --accent:#b32626; --accent-dark:#871919; --border:#d3d3d3; --soft:#f0ece4; --font-heading: Georgia, 'Times New Roman', serif; --font-body: Arial, sans-serif; }
*/
