.ford-project ::selection { background: var(--green); color: var(--ink); }
.ford-project { isolation: isolate; }
.ford-project::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #241f21e6, #241f2180), url("ford-blueoval-sunset.webp?v=6ccca7c8b541e366") center 48% / cover no-repeat var(--dark);
}
.ford-project main, .ford-project .foot { position: relative; z-index: 1; }
.effect-trace, .effect-sources { background: var(--paper); }
.effect-hero {
  padding: 36px 0 64px;
  color: var(--paper);
}
.effect-back { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 40px; font-size: .875rem; text-decoration: none; }
.effect-back:hover { text-decoration: underline; text-underline-offset: .25em; }
.effect-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.effect-heading { display: grid; grid-template-columns: 1.5fr 1fr; align-items: end; gap: 24px 56px; margin-bottom: 32px; }
.effect-heading h1 { margin: 0; max-width: none; font-size: clamp(3.5rem, 6vw, 5.25rem); line-height: .96; }
.effect-project p { margin: 0 0 4px; }
.effect-project p:first-child { font: 700 clamp(1.5rem, 2.5vw, 2rem)/1.1 "Barlow Condensed", sans-serif; }
.effect-project p:nth-child(2) { font-size: .875rem; }
.effect-project p:last-child { max-width: 40ch; margin-top: 12px; }
.effect-summary { margin: 0 0 17px; color: var(--green); font: 700 .75rem/1.5 "Roboto Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.impact-board {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  --line: #f0efed40;
  background: #241f213d;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  color: var(--paper);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}
.impact-board figure { margin: 0; padding: clamp(24px, 3vw, 40px); min-width: 0; }
.impact-board h2 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 24px; }
.impact-number { font-size: clamp(4rem, 7vw, 6rem); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.impact-label { max-width: 14ch; font: 700 1.125rem/1.25 Arial, sans-serif; letter-spacing: 0; }
.impact-percent { font-size: .72em; }
.material-impact { border-right: 1px solid var(--line); }
.mass-grid { display: grid; grid-template-columns: repeat(18, minmax(0, 1fr)); gap: 5px; }
.mass-block { aspect-ratio: 1; background: var(--green); }
.mass-block--other { background: var(--amber); }
.material-key { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0 16px; }
.material-key dt { font-size: .875rem; }
.material-key dd { margin: 5px 0 0; font: 700 2.25rem/1 "Barlow Condensed", sans-serif; }
.material-key dd span { font: 400 1rem/1 Arial, sans-serif; }
.material-swatch { display: inline-block; width: 10px; height: 10px; margin-right: 5px; }
.material-swatch--wood { background: var(--green); }
.material-swatch--other { background: var(--amber); }
.chart-note { max-width: 65ch; margin: 16px 0 0; font-size: .75rem; line-height: 1.5; }
.cost-row-label { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 8px; font-size: .875rem; }
.cost-row-label strong { font-variant-numeric: tabular-nums; }
.cost-bar { display: flex; height: 28px; margin-bottom: 18px; }
.cost-bar--baseline span { width: 100%; background: var(--paper); }
.cost-spent { flex: 0 0 62%; background: var(--green); }
.cost-saved { display: grid; place-items: center; flex: 0 0 38%; background: radial-gradient(#f0efed66 .8px, transparent 1px) 0 0 / 5px 5px; font-size: .75rem; font-weight: 700; border: 1px solid var(--paper); }
.client-savings { display: flex; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; margin-top: 24px; }
.client-savings strong { font: 700 clamp(2.8rem, 4vw, 3.75rem)/1 "Barlow Condensed", sans-serif; letter-spacing: -.02em; }
.client-savings span { font-weight: 700; }
.impact-source { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 16px clamp(24px, 3vw, 40px); border-top: 1px solid var(--line); font-size: .75rem; }
.impact-source a { text-underline-offset: .2em; }
.effect-context { background: #e7e2de; }
.effect-context-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); }
.effect-context h2 { font-size: clamp(2.6rem, 4.5vw, 4.25rem); max-width: 17ch; }
.effect-context p { max-width: 65ch; }
.effect-changes article { padding-bottom: 24px; }
.effect-changes article + article { padding-top: 24px; border-top: 1px solid var(--line); }
.effect-changes h3 { font-size: clamp(1.8rem, 2.7vw, 2.4rem); margin-bottom: 12px; }
.effect-changes p { margin: 0; }
.effect-trace-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 56px; align-items: start; margin-bottom: 32px; }
.effect-trace-intro h2 { max-width: 16ch; margin-bottom: 0; font-size: clamp(2.6rem, 4.5vw, 4.25rem); }
.effect-trace-intro p { max-width: 48ch; }
.effect-flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.effect-flow li { position: relative; background: var(--dot-grid); padding: clamp(24px, 2.5vw, 32px); clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); }
.effect-step { display: block; font: 700 .75rem/1.5 "Roboto Mono", monospace; margin-bottom: 20px; text-transform: uppercase; }
.effect-flow h3 { font-size: clamp(1.8rem, 2.5vw, 2.4rem); }
.effect-flow p { margin-bottom: 0; }
.effect-quote-section { background: #e7e2de; }
.effect-quote { margin: 0; display: grid; grid-template-columns: minmax(220px, .85fr) minmax(0, 2fr); gap: 28px 64px; align-items: center; }
.effect-quote blockquote { margin: 0; max-width: 32ch; font: 600 clamp(2rem, 3.5vw, 3.25rem)/1.12 "Barlow Condensed", sans-serif; letter-spacing: -.02em; }
.effect-quote figcaption { grid-column: 2; display: grid; gap: 4px; font-size: .875rem; }
.effect-quote figcaption a { margin-top: 16px; text-underline-offset: .25em; }
.effect-sources { padding-block: 40px; }
.effect-sources h2 { font: 700 1rem/1.4 Arial, sans-serif; letter-spacing: 0; margin-bottom: 12px; }
.effect-sources p { max-width: 100ch; font-size: .8125rem; }
.effect-sources ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .8125rem; }
.effect-sources a { text-underline-offset: .25em; }
@media (max-width: 950px) {
  .effect-heading { grid-template-columns: 1.2fr 1fr; gap: 32px; }
  .impact-board { grid-template-columns: 1fr 1fr; }
  .impact-label { max-width: none; }
  .impact-board h2 { display: grid; gap: 12px; }
  .mass-grid { grid-template-columns: repeat(9, minmax(0, 1fr)); }
  .material-key { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 650px) {
  .effect-hero {
    padding-block: 24px 40px;
  }
  .effect-back { margin-bottom: 32px; }
  .effect-heading { grid-template-columns: 1fr; gap: 24px; }
  .effect-heading h1 { font-size: clamp(3.4rem, 13vw, 4.75rem); }
  .effect-project p:last-child { max-width: 40ch; }
  .impact-board { grid-template-columns: 1fr; }
  .impact-board h2 { display: flex; gap: 12px; align-items: end; }
  .impact-number { font-size: clamp(4rem, 19vw, 5.25rem); }
  .impact-label { max-width: 12ch; font-size: 1rem; }
  .mass-grid { grid-template-columns: repeat(15, minmax(0, 1fr)); gap: 4px; }
  .material-key { grid-template-columns: 1fr 1fr; gap: 18px; }
  .material-key dt { min-height: 2.8em; font-size: .8125rem; }
  .material-impact { border-right: 0; border-bottom: 1px solid var(--line); }
  .impact-source { gap: 8px; }
  .effect-context-grid, .effect-trace-intro, .effect-flow, .effect-quote { grid-template-columns: 1fr; }
  .effect-trace-intro { gap: 24px; margin-bottom: 24px; }
  .effect-flow { gap: 20px; }
  .effect-close .button { max-width: 100%; }
}
@media print {
  .ford-project::before { display: none; }
  .effect-hero { background: var(--dark); }
  .top, .foot, .effect-back, .effect-close { display: none; }
  .effect-hero { padding-block: 24px; }
  .impact-board, .effect-flow li { clip-path: none; }
  .impact-board, .effect-flow, .effect-quote { break-inside: avoid; }
  .ford-project { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}

.effect-quote-portrait { grid-row: 1 / 3; width: 80%; height: auto; aspect-ratio: 1; object-fit: cover; clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px); }
@media (max-width: 650px) {
  .effect-quote-portrait { grid-row: auto; max-width: 288px; }
  .effect-quote figcaption { grid-column: 1; }
}
