/* colinpitchfork.co.uk — documentary editorial
   Palette: paper #f4f1ea / ink #16181d / oxblood #7d1f1f / archive grey #6b675e */

:root {
  --paper: #f4f1ea;
  --paper-deep: #ebe6db;
  --ink: #16181d;
  --ink-soft: #3a3d44;
  --oxblood: #7d1f1f;
  --oxblood-dark: #5e1717;
  --grey: #6b675e;
  --rule: #d8d2c4;
  --max: 72rem;
  --measure: 44rem;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Archivo", "Helvetica Neue", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* subtle paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.03 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: var(--oxblood); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--oxblood-dark); }

/* ---------- header ---------- */
.site-header {
  border-bottom: 3px double var(--ink);
  background: var(--paper);
  position: relative;
  z-index: 10;
}
.masthead {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 1.1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}
.masthead .brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.masthead .brand span { color: var(--oxblood); }
.masthead .tagline {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--grey);
}
.site-nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.75rem;
  border-top: 1px solid var(--rule);
}
.site-nav a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.7rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--oxblood); }
.site-nav a[aria-current="page"] {
  color: var(--oxblood);
  border-bottom-color: var(--oxblood);
}

/* ---------- hero ---------- */
.hero {
  background: var(--ink);
  color: var(--paper);
  padding: 4.5rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(125,31,31,0.28), transparent 65%);
  pointer-events: none;
}
.hero-inner { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; }
.kicker {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #cfa9a9;
  border: 1px solid rgba(207,169,169,0.4);
  padding: 0.35rem 0.8rem;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 20ch;
}
.hero .lede {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #cac5ba;
}
.hero .lede strong { color: var(--paper); font-weight: 600; }

/* case file strip */
.case-strip {
  background: var(--oxblood);
  color: #f2e2e2;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.case-strip .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.55rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 2.5rem;
}
.case-strip strong { color: #fff; font-weight: 600; }

/* ---------- layout ---------- */
main { position: relative; z-index: 5; }
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}
.section + .section { border-top: 1px solid var(--rule); }
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
  gap: 2.5rem 4rem;
}
@media (max-width: 47rem) {
  .section-grid { grid-template-columns: 1fr; }
}
.section-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--oxblood);
  font-weight: 600;
}
.section-label::after {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  background: var(--oxblood);
  margin-top: 0.9rem;
}
.prose { max-width: var(--measure); }
.prose h2, .prose h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1.2rem; }
.prose h3 { font-size: 1.25rem; margin: 2.2rem 0 0.8rem; }
.prose p + p { margin-top: 1.1rem; }
.prose ul, .prose ol { margin: 1.1rem 0 1.1rem 1.4rem; }
.prose li + li { margin-top: 0.4rem; }
.drop::first-letter {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.4em;
  float: left;
  line-height: 0.82;
  padding: 0.08em 0.12em 0 0;
  color: var(--oxblood);
}

/* pull quote */
.pull {
  border-left: 3px solid var(--oxblood);
  padding: 0.4rem 0 0.4rem 1.4rem;
  margin: 2rem 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.45;
  font-style: italic;
  color: var(--ink-soft);
}
.pull cite {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--grey);
}

/* fact box */
.factbox {
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ink);
  padding: 1.5rem 1.6rem;
  margin: 2rem 0;
  font-size: 0.95rem;
}
.factbox h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.9rem !important;
}
.factbox dl { display: grid; grid-template-columns: auto 1fr; gap: 0.45rem 1.2rem; }
.factbox dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grey);
  padding-top: 0.15rem;
}
.factbox dd { margin: 0; }

/* ---------- timeline ---------- */
.timeline { list-style: none; margin: 2.5rem 0 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0.42rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: var(--rule);
}
.timeline li {
  position: relative;
  padding: 0 0 2.4rem 2.4rem;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--oxblood);
}
.timeline li.milestone::before { background: var(--oxblood); }
.timeline time {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--oxblood);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.timeline h3, .timeline strong.tl-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}
.timeline p { max-width: 38rem; font-size: 0.98rem; color: var(--ink-soft); }

/* ---------- card grid (related pages) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.card {
  display: block;
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  padding: 1.5rem 1.5rem 1.4rem;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--oxblood);
  box-shadow: 0 10px 24px rgba(22, 24, 29, 0.12);
}
.card .card-kicker {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--oxblood);
  font-weight: 600;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0.5rem 0 0.5rem;
}
.card p { font-size: 0.92rem; color: var(--ink-soft); }
.card .card-more {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--oxblood);
  font-weight: 600;
}

/* ---------- FAQ ---------- */
.faq details {
  border-top: 1px solid var(--rule);
  padding: 0;
}
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1.1rem 2rem 1.1rem 0;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--oxblood);
  font-weight: 400;
}
.faq details[open] summary::after { content: "\2212"; }
.faq .faq-body { padding: 0 0 1.3rem; max-width: var(--measure); color: var(--ink-soft); }

/* ---------- breadcrumbs ---------- */
.crumbs {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.5rem 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey);
}
.crumbs a { color: var(--grey); }
.crumbs span[aria-current] { color: var(--oxblood); }

/* ---------- page header (inner pages) ---------- */
.page-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem 3.25rem;
}
.page-head h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 22ch;
}
.page-head .lede {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: #a9a49a;
  margin-top: 4rem;
  font-size: 0.9rem;
}
.site-footer .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 2rem 3rem;
}
.site-footer h4 {
  font-family: var(--font-display);
  color: var(--paper);
  font-size: 1rem;
  margin-bottom: 0.8rem;
}
.site-footer a { color: #d4cfc4; }
.site-footer ul { list-style: none; }
.site-footer li + li { margin-top: 0.45rem; }
.site-footer .legal {
  border-top: 1px solid #2c2f36;
  padding: 1.2rem 1.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: #7c786f;
}
.site-footer .legal .inner-legal { max-width: var(--max); margin: 0 auto; }

/* ---------- utilities ---------- */
.reveal { animation: rise 0.7s ease both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- footer signup (Brevo) ---------- */
.signup { border-bottom: 1px solid #2c2f36; }
.signup-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.75rem 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 1.5rem 3rem;
  align-items: center;
}
@media (max-width: 47rem) { .signup-inner { grid-template-columns: 1fr; } }
.signup-copy h4 {
  font-family: var(--font-display);
  color: var(--paper);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}
.signup-copy p { font-size: 0.92rem; color: #a9a49a; max-width: 26rem; }
.signup-form { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.signup-form input[type="text"]:not(.su-hp),
.signup-form input[type="email"] {
  flex: 1 1 11rem;
  background: #232630;
  border: 1px solid #3a3d44;
  color: var(--paper);
  padding: 0.75rem 0.95rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: 0;
}
.signup-form input:focus { outline: 2px solid var(--oxblood); outline-offset: 1px; }
.signup-form input::placeholder { color: #7c786f; }
.signup-form button {
  flex: 0 0 auto;
  background: var(--oxblood);
  color: #fff;
  border: 0;
  padding: 0.75rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: background 0.15s ease;
}
.signup-form button:hover { background: var(--oxblood-dark); }
.signup-form button:disabled { opacity: 0.6; cursor: default; }
.su-hp { position: absolute; left: -5000px; width: 1px; height: 1px; }
.su-msg { flex-basis: 100%; font-size: 0.85rem; color: #cac5ba; margin: 0.2rem 0 0; min-height: 1.2em; }
