/* ============================================================
   The Old Piggeries — contemporary editorial
   ============================================================ */

:root {
  --bg:        oklch(0.985 0.004 95);
  --bg-soft:   oklch(0.965 0.006 95);
  --bg-mute:   oklch(0.93 0.008 95);
  --ink:       oklch(0.18 0.018 270);
  --ink-soft:  oklch(0.40 0.014 270);
  --ink-mute:  oklch(0.58 0.010 270);
  --line:      oklch(0.88 0.010 95);
  --line-soft: oklch(0.93 0.008 95);

  --accent:        oklch(0.50 0.16 25);     /* warm clay / alert */
  --accent-soft:   oklch(0.93 0.04 30);
  --won:           oklch(0.45 0.09 150);    /* muted forest */
  --won-soft:      oklch(0.94 0.03 150);

  --display: "DM Sans", -apple-system, "Helvetica Neue", Helvetica, sans-serif;
  --display-weight: 500;
  --display-tracking: -0.025em;
  --sans:    "DM Sans", -apple-system, "Helvetica Neue", Helvetica, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --em-family: "Instrument Serif", Georgia, serif;
  --em-style:  italic;
  --em-weight: 400;

  --col: 1180px;
  --pad: clamp(20px, 4vw, 40px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }

::selection { background: var(--accent); color: var(--bg); }

/* ============= Layout shells ============= */

.wrap {
  max-width: var(--col);
  padding: 0 var(--pad);
  margin: 0 auto;
}

.section { padding: 120px 0; }
.section.tight { padding: 64px 0; }

/* ============= Sticky bar ============= */

.bar {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}
.bar-title {
  font-family: var(--display);
  font-size: 22px;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1;
}
.bar-title b { font-style: normal; font-weight: 400; }
.bar-nav {
  display: flex; gap: 28px;
  font-size: 14px;
  color: var(--ink-soft);
}
.bar-nav a {
  text-decoration: none;
  position: relative;
  transition: color 120ms ease;
}
.bar-nav a:hover { color: var(--accent); }
@media (max-width: 880px) {
  .bar-nav { display: none; }
}

/* ============= Hero ============= */

.hero { padding: 80px 0 60px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 80px;
  align-items: end;
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 12px;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 999px;
  background: color-mix(in oklab, var(--accent) 6%, transparent);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 32px;
}
.kicker .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 18%, transparent);
}

h1.display {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(48px, 7.4vw, 104px);
  line-height: 0.97;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  text-wrap: balance;
  color: var(--ink);
}
h1.display em { font-style: italic; color: var(--ink-soft); }

.lede {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 42ch;
  margin: 0;
  text-wrap: pretty;
}

/* Won-card */
.won-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-soft);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.won-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--won);
}
.won-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px;
  color: var(--won);
  margin-bottom: 16px;
  font-weight: 500;
}
.won-eyebrow svg { width: 16px; height: 16px; }

.won-headline {
  font-family: var(--display);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
}
.won-quote {
  font-family: var(--display);
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 24px;
  border-left: 2px solid var(--won);
  padding-left: 14px;
}
.won-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.won-meta dt { color: var(--ink-mute); margin-bottom: 2px; }
.won-meta dd { margin: 0; color: var(--ink); font-weight: 500; }

/* ============= Quick facts ============= */

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.fact {
  padding: 28px 32px 28px 0;
  position: relative;
}
.fact + .fact { padding-left: 32px; }
.fact + .fact::before {
  content: ""; position: absolute; left: 0; top: 10px; bottom: 10px;
  width: 1px; background: var(--line);
}
.fact-label {
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 8px;
}
.fact-value {
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.fact-sub {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 4px;
  line-height: 1.4;
}
@media (max-width: 920px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3), .fact:nth-child(4) {
    border-top: 1px solid var(--line);
    margin-top: 0;
    padding-top: 28px;
  }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { padding-left: 0; border-top: 1px solid var(--line); padding-top: 28px; }
  .fact + .fact::before { display: none; }
}

/* ============= Property strip ============= */

.property-strip {
  margin: 56px 0 0;
}
.property-shots {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 14px;
}
.property-shots img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  display: block;
  filter: saturate(0.92);
}
.property-strip figcaption {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.01em;
  font-style: italic;
}
@media (max-width: 720px) {
  .property-shots { grid-template-columns: 1fr; }
}

/* ============= Section header ============= */

.eyebrow {
  display: inline-block;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 500;
}
.eyebrow.muted { color: var(--ink-mute); }
.eyebrow.won { color: var(--won); }

h2.title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  max-width: 22ch;
  text-wrap: balance;
}
h2.title em { font-style: italic; color: var(--ink-soft); }

.deck {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 56px;
  text-wrap: pretty;
}

.prose p {
  font-size: 17px;
  line-height: 1.65;
  max-width: 60ch;
  margin: 0 0 18px;
  color: var(--ink);
}
.prose p.lede { font-size: 20px; line-height: 1.55; color: var(--ink); }

/* ============= Timeline ============= */

.timeline {
  display: grid;
  gap: 0;
  max-width: 940px;
}
.tl-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  transition: background 200ms ease;
}
.tl-row:first-child { border-top: 1px solid var(--ink); }
.tl-row:last-child { border-bottom: 1px solid var(--ink); }
.tl-row:hover { background: color-mix(in oklab, var(--bg-soft) 60%, transparent); }

.tl-when {
  padding-top: 4px;
}
.tl-when .day {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.01em;
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}
.tl-when .time {
  font-size: 13px;
  color: var(--ink-mute);
  display: block;
}

.tl-body h4 {
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  line-height: 1.2;
  color: var(--ink);
}
.tl-body p {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 10px;
  max-width: 60ch;
}

.flag {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 6px;
  padding: 4px 10px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
}
.flag.won-flag { background: var(--won-soft); color: var(--won); }

@media (max-width: 720px) {
  .tl-row { grid-template-columns: 1fr; gap: 12px; }
}

/* ============= Findings ============= */

.findings {
  display: grid;
  gap: 36px;
}
.finding {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-left: 0;
  position: relative;
}
.finding-q {
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.25;
  font-style: italic;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
  text-wrap: pretty;
  max-width: 32ch;
}
.finding-q::before {
  content: "“";
  font-style: normal;
  color: var(--won);
  margin-right: 4px;
}
.finding-q::after {
  content: "”";
  font-style: normal;
  color: var(--won);
  margin-left: 2px;
}
.finding-cite {
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.01em;
}

.findings-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 80px;
}
@media (max-width: 760px) {
  .findings-list { grid-template-columns: 1fr; gap: 40px; }
}

/* ============= Accounts ============= */

.accounts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.acct {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
}
.acct.ours { background: var(--bg-soft); }
.acct.theirs { background: var(--bg); }

.acct-head {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 12px;
}
.acct-head .pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 500;
}
.acct.ours .pill { background: var(--accent-soft); color: var(--accent); }
.acct.theirs .pill { background: var(--bg-mute); color: var(--ink-soft); }

.acct h3 {
  font-family: var(--display);
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
  line-height: 1.15;
  color: var(--ink);
}
.acct ul { padding: 0; margin: 0; list-style: none; }
.acct li {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
}
.acct li:first-child { border-top: none; padding-top: 0; }
.acct li strong { color: var(--ink); font-weight: 500; }
.acct li em { color: var(--ink); font-style: italic; }
.acct .source {
  margin-top: auto;
  padding-top: 18px;
  font-size: 12.5px;
  color: var(--ink-mute);
  border-top: 1px solid var(--line);
}

@media (max-width: 760px) {
  .accounts { grid-template-columns: 1fr; }
}

/* ============= Evidence ============= */

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.ev-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ev-shot {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  aspect-ratio: 9 / 19;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  transition: transform 200ms ease, box-shadow 200ms ease;
  cursor: zoom-in;
}
.ev-shot:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px color-mix(in oklab, var(--ink) 25%, transparent);
}
.ev-shot img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
}
.ev-num {
  font-size: 13px;
  color: var(--ink-mute);
  display: flex; align-items: center; gap: 10px;
}
.ev-num .pip {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ink-mute);
}
.ev-caption {
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink);
  margin: 0;
}

@media (max-width: 880px) { .evidence-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .evidence-grid { grid-template-columns: 1fr; gap: 32px; } }

.lightbox {
  position: fixed; inset: 0;
  background: rgba(15, 14, 20, 0.92);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  cursor: zoom-out;
  animation: lb 200ms ease-out;
}
.lightbox img {
  max-width: 100%; max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
@keyframes lb { from { opacity: 0; } to { opacity: 1; } }

/* ============= Quoted email ============= */

.email {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-soft);
  overflow: hidden;
  margin: 32px 0 0;
  max-width: 780px;
}
.email-head {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 16px 24px;
  font-size: 13px;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 4px 16px;
}
.email-head dt { color: var(--ink-mute); }
.email-head dd { margin: 0; color: var(--ink); }
.email-body {
  padding: 28px;
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
}
.email-body p { margin: 0 0 16px; }
.email-body p:last-child { margin-bottom: 0; }
.email-body mark {
  background: color-mix(in oklab, var(--accent) 18%, transparent);
  color: var(--ink);
  padding: 1px 4px;
  border-radius: 3px;
}
.email-body .post {
  font-family: var(--sans);
  font-style: normal;
  font-size: 15px;
  color: var(--ink-mute);
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}

/* ============= Refusals ============= */

.refusals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.refusal {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-soft);
  transition: transform 200ms ease, border-color 200ms ease;
}
.refusal:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}
.refusal-num {
  font-family: var(--display);
  font-style: italic;
  color: var(--accent);
  font-size: 28px;
  line-height: 1;
  margin-bottom: 18px;
}
.refusal h4 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  line-height: 1.2;
  color: var(--ink);
}
.refusal p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

@media (max-width: 760px) { .refusals { grid-template-columns: 1fr; } }

/* ============= Rights ============= */

.rights {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}
.rights-aside {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  position: sticky;
  top: 88px;
}
.rights-aside h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  font-style: italic;
  margin: 0 0 18px;
  color: var(--ink);
}
.rights-aside ul {
  list-style: none;
  padding: 0; margin: 0;
}
.rights-aside li {
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
}
.rights-aside li:first-child { border-top: none; padding-top: 0; }
.rights-aside li::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  margin-top: 9px;
}

@media (max-width: 880px) {
  .rights { grid-template-columns: 1fr; gap: 32px; }
  .rights-aside { position: static; }
}

/* ============= Advice ============= */

.advice-list { display: grid; gap: 28px; }
.advice-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 32px;
  padding: 28px 32px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  align-items: start;
  transition: transform 200ms ease, border-color 200ms ease;
}
.advice-row:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}
.advice-n {
  font-family: var(--display);
  font-style: italic;
  font-size: 44px;
  line-height: 1;
  color: var(--accent);
}
.advice-body h4 {
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  line-height: 1.2;
  color: var(--ink);
}
.advice-body p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  max-width: 64ch;
}
@media (max-width: 560px) {
  .advice-row { grid-template-columns: 1fr; padding: 24px; gap: 8px; }
  .advice-n { font-size: 32px; }
}

/* ============= Contact (lite — single email) ============= */

.contact-lite {
  max-width: 64ch;
}
.contact-lite p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.contact-email-row {
  margin: 32px 0 28px;
  padding: 22px 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}
.contact-email-label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
a.contact-email {
  font-family: var(--mono);
  font-size: 19px;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in oklab, var(--accent) 40%, transparent);
  padding-bottom: 1px;
  word-break: break-all;
}
a.contact-email:hover {
  border-bottom-color: var(--accent);
}
.contact-email-aside {
  flex: 1 1 100%;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-mute);
  font-style: italic;
}
.contact-note {
  font-size: 13.5px;
  color: var(--ink-mute);
  margin: 0;
}

/* legacy form styles kept below for back-compat with any cached views */
.contact {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-intro h2 { margin-bottom: 24px; }
.contact-intro p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 0 16px;
}
.contact-meta {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  font-size: 13.5px;
  color: var(--ink-mute);
}
.contact-meta dt { font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.contact-meta dd { margin: 0; }

form.contact-form {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  display: grid;
  gap: 18px;
}
.field { display: grid; gap: 8px; }
.field label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}
.field label span.opt {
  font-weight: 400;
  color: var(--ink-mute);
  margin-left: 6px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 12%, transparent);
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.field-check {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.field-check input { width: 16px; height: 16px; margin-top: 3px; flex: none; }

button.submit {
  background: var(--ink);
  color: var(--bg);
  border: none;
  border-radius: 999px;
  padding: 16px 24px;
  font: inherit;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
button.submit:hover { background: var(--accent); }
button.submit:active { transform: scale(0.98); }
button.submit:disabled { opacity: 0.6; cursor: not-allowed; }
button.submit svg { width: 14px; height: 14px; }

.form-foot {
  font-size: 12.5px;
  color: var(--ink-mute);
  line-height: 1.5;
  text-align: center;
  margin-top: 4px;
}

.form-success {
  background: var(--won-soft);
  border: 1px solid color-mix(in oklab, var(--won) 30%, transparent);
  color: var(--won);
  padding: 32px;
  border-radius: 20px;
  text-align: center;
}
.form-success h3 {
  font-family: var(--display);
  font-size: 28px;
  font-style: italic;
  font-weight: 400;
  margin: 0 0 8px;
  color: var(--ink);
}
.form-success p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
}
.form-success svg { width: 28px; height: 28px; margin-bottom: 14px; }

@media (max-width: 880px) { .contact { grid-template-columns: 1fr; gap: 40px; } }

/* ============= Footer ============= */

footer.foot {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 80px 0 56px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}
.foot h5 {
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-mute);
  margin: 0 0 14px;
  font-weight: 500;
}
.foot p { margin: 0 0 12px; max-width: 52ch; color: var(--ink-soft); }
.foot a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); }
.foot a:hover { text-decoration-color: var(--accent); }
.foot-list { list-style: none; padding: 0; margin: 0; }
.foot-list li { padding: 6px 0; font-size: 14px; color: var(--ink-soft); }

.foot-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-mute);
}

@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ============= Utility ============= */

.note {
  font-size: 13.5px;
  color: var(--ink-mute);
  line-height: 1.55;
  padding-top: 24px;
  margin-top: 32px;
  border-top: 1px solid var(--line-soft);
  max-width: 64ch;
}

/* ============= Type-system overrides (tweakable) =============
   Single source of truth for headline weight + italic accent.
   Per-element font-family / font-size / letter-spacing rules above
   still apply; these only set weight + override <em> styling so the
   editorial italic accents can swap between serif and sans. */

h1.display,
h2.title,
.won-headline,
.fact-value,
.tl-when .day,
.tl-body h4,
.finding-q,
.acct h3,
.refusal h4,
.rights-aside h3,
.advice-body h4,
.form-success h3,
.bar-title {
  font-weight: var(--display-weight);
}

h1.display em,
h2.title em,
.won-headline em,
.tl-body h4 em,
.finding-q em,
.acct h3 em,
.refusal h4 em,
.rights-aside h3 em,
.advice-body h4 em,
.form-success h3 em,
.bar-title em,
.email-body em,
.ev-caption em,
.lede em,
.hero em {
  font-family: var(--em-family);
  font-style:  var(--em-style);
  font-weight: var(--em-weight);
}

/* DM Sans needs a tiny optical bump when used as display because the
   cap-height runs slightly smaller than Instrument Serif at the same
   px size — handled via font-feature-settings, not size. */
h1.display, h2.title, .won-headline, .fact-value, .tl-body h4,
.finding-q, .acct h3, .refusal h4, .advice-body h4, .bar-title {
  font-feature-settings: "ss01", "ss03", "cv11";
}
