/* Ministry of Detail - draft site. Colours and type follow the current
   WordPress site (Twenty Twenty theme with the MofD palette). */
:root {
  --ink: #000000;
  --muted: #3d3d3d;
  --accent: #e21249;
  --green: #246e34;
  --mint: #8ceca1;
  --mint-pale: #e8ffed;
  --paper: #ffffff;
  --rule: #cfe9d6;
  --max: 1120px;
  --text: 680px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper); padding: 8px 12px;
}
.skip-link:focus { left: 8px; top: 8px; z-index: 10; }

/* Header */
.site-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.site-header .logo img { height: 64px; width: auto; }
.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px 22px;
}
.site-nav a { font-size: 16px; text-underline-offset: 3px; }
.site-nav a[aria-current="page"] { color: var(--ink); text-decoration: none; font-weight: 600; }

/* Page title band (white, centred, like the live site) */
.page-title {
  text-align: center;
  padding: 40px 16px 56px;
}
.page-title h1 {
  margin: 0 auto;
  max-width: 900px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.page-title .kicker {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

/* Mint content area */
main { background: var(--mint-pale); }
.section { padding: 64px 16px; }
.section + .section { border-top: 1px solid var(--rule); }
.inner { max-width: var(--max); margin: 0 auto; }
.prose { max-width: var(--text); margin: 0 auto; }

h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}
h3 {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
p { margin: 0 0 18px; }
.lead {
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.hero-line {
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.045em;
  margin: 0 0 32px;
}

ul.ticks { padding-left: 1.1em; margin: 0 0 18px; }
ul.ticks li { margin-bottom: 8px; }

/* Buttons (Twenty Twenty style) */
.button {
  display: inline-block;
  background: var(--accent);
  color: var(--paper);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 28px;
  border-radius: 0;
}
.button:hover { background: var(--ink); color: var(--paper); }
.button.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.button.ghost:hover { background: var(--ink); color: var(--paper); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Cards */
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.card {
  background: var(--paper);
  border-top: 6px solid var(--ink);
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
}
.card .tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}
.card p { font-size: 16px; color: var(--muted); }
.card .more { margin-top: auto; font-weight: 600; font-size: 16px; }
.card.accent { border-top-color: var(--accent); }
.card.green { border-top-color: var(--green); }
.card.mint { border-top-color: var(--mint); }

/* Two columns */
.split {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.wide-left { grid-template-columns: 3fr 2fr; }
}

/* Fact list */
.facts { background: var(--paper); padding: 26px; }
.facts dl { margin: 0; }
.facts dt {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--green);
}
.facts dd { margin: 2px 0 16px; font-size: 16px; }
.facts dd:last-child { margin-bottom: 0; }

/* Big call-out band */
.band { background: var(--ink); color: var(--paper); }
.band h2 { color: var(--paper); }
.band p { color: #e6e6e6; }
.band a:not(.button) { color: var(--mint); }

/* People */
.person { background: var(--paper); padding: 32px 28px; }
.person .role { color: var(--green); font-weight: 600; margin-bottom: 16px; }
.monogram {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  font-weight: 800; font-size: 26px; letter-spacing: -0.03em;
  margin-bottom: 20px;
}

/* Draft markers - delete before going live */
.todo {
  background: #fff3a8;
  outline: 1px dashed #b39500;
  padding: 0 4px;
}
.todo-block {
  background: #fff3a8;
  border: 1px dashed #b39500;
  padding: 14px 16px;
  font-size: 15px;
  margin: 0 0 18px;
}

/* Footer */
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 16px 48px;
  font-size: 15px;
  color: var(--muted);
}
.site-footer .row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px;
  margin-bottom: 20px;
}
.site-footer strong { color: var(--ink); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer .legal { font-size: 13px; line-height: 1.5; }

/* Linked cards */
.page-title { background: var(--paper); }
a.card, a.person { text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
a.card:hover, a.person:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(36, 110, 52, .14); }
.card .more { color: var(--accent); }
.center { text-align: center; }

@media (max-width: 600px) {
  body { font-size: 17px; }
  .site-header { padding: 18px 16px; gap: 14px; }
  .site-header .logo img { height: 48px; }
  .site-nav ul { gap: 4px 16px; }
  .site-nav a { font-size: 15px; }
  .section { padding: 48px 16px; }
}

.kicker-inline {
  display: block;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 10px;
}

.role { color: var(--green); font-weight: 600; margin-bottom: 16px; }

.grid.five { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.grid.five .card { padding: 24px 20px 22px; }
