/*
Theme Name: Warwick Soar
Theme URI: https://warwicksoar.com/
Author: Warwick Soar
Description: A focused personal site for Warwick Soar: creative producer, systems builder, and founder.
Version: 1.17.0
Text Domain: warwick-soar
*/

:root {
  --ink: #181a1a;
  --paper: #f4f2ed;
  --white: #ffffff;
  --muted: #666b68;
  --line: #c9cbc6;
  --red: #b7422f;
  --teal: #23736c;
  --lime: #b8d647;
  --content: 1180px;
  --reading: 760px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

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

a:hover,
a:focus-visible {
  color: var(--red);
}

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

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

button,
input,
textarea {
  font: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  clip: auto;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--ink);
  z-index: 1000;
}

.site-header {
  position: relative;
  z-index: 50;
  background: var(--ink);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.header-inner {
  width: min(calc(100% - 40px), var(--content));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  font-weight: 750;
  text-decoration: none;
  line-height: 1;
}

.mark-block {
  width: 16px;
  height: 16px;
  background: var(--red);
  box-shadow: 8px 8px 0 var(--lime);
}

.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav .current-menu-item a,
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--lime);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 4px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
}

.menu-lines {
  position: relative;
}

.menu-lines::before {
  position: absolute;
  top: -6px;
}

.menu-lines::after {
  position: absolute;
  top: 6px;
}

.hero {
  position: relative;
  min-height: calc(88svh - 76px);
  max-height: 900px;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--ink) url("assets/images/warwick-soar-workbench.webp") center center / cover no-repeat;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(18, 20, 20, 0.5);
  content: "";
}

.hero-inner {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 5rem 0 7rem;
}

.hero-copy {
  width: min(690px, 62%);
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 8ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 8vw, 7.8rem);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-role {
  margin: 2rem 0 0;
  color: var(--white);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
}

.hero-intro {
  max-width: 610px;
  margin: 1rem 0 0;
  color: #e0e2dd;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.button-light {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.button-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.65);
}

.band {
  padding: 6.5rem 0;
}

.band-white {
  background: var(--white);
}

.band-dark {
  background: var(--ink);
  color: var(--white);
}

.band-teal {
  background: var(--teal);
  color: var(--white);
}

.wrap {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.5fr);
  gap: 3rem;
  align-items: start;
  margin-bottom: 3.5rem;
}

.section-heading h2,
.page-header h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p {
  max-width: 710px;
  margin: 0;
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  line-height: 1.5;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.practice {
  min-height: 300px;
  padding: 2rem;
  border-right: 1px solid var(--line);
}

.practice:last-child {
  border-right: 0;
}

.practice-number {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
}

.practice h3 {
  margin: 3.5rem 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  font-weight: 500;
}

.practice p {
  margin: 0;
  color: var(--muted);
}

.method-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.method-step {
  min-height: 205px;
  padding: 1.4rem;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
}

.method-step:last-child {
  border-right: 0;
}

.method-step span {
  display: block;
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 800;
}

.method-step h3 {
  margin: 3rem 0 0.75rem;
  font-size: 1.12rem;
}

.method-step p {
  margin: 0;
  color: #d6dedc;
  font-size: 0.9rem;
  line-height: 1.5;
}

.method-formula {
  margin: 2.5rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
}

.method-page-track,
.method-example-flow,
.method-archive-flow {
  margin-block: 0;
  padding: 0;
  list-style: none;
}

.method-example {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.method-example-media {
  overflow: hidden;
  margin: 0;
  aspect-ratio: 4 / 3;
  background: var(--line);
}

.method-example-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.method-example-flow {
  border-bottom: 1px solid var(--line);
}

.method-example-flow li,
.method-archive-flow li {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.method-example-flow span,
.method-archive-flow span {
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.method-example-flow p,
.method-archive-flow p {
  margin: 0;
}

.method-archive-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.method-archive-flow li {
  display: block;
  min-height: 250px;
  padding: 1.5rem;
  border-top: 0;
  border-right: 1px solid var(--line);
}

.method-archive-flow li:last-child {
  border-right: 0;
}

.method-archive-flow p {
  margin-top: 3rem;
}

.text-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.86rem;
  font-weight: 800;
}

.venture-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.venture {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 2.25rem;
  background: var(--paper);
}

.venture-pulse {
  background: #151717;
  color: var(--white);
}

.venture-onenode {
  background: var(--white);
}

.venture-logo {
  display: block;
  width: auto;
  height: 66px;
  margin-bottom: 2rem;
  object-fit: contain;
  object-position: left center;
}

.venture-logo-onenode {
  max-width: 290px;
}

.venture-label {
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.venture h3 {
  margin: 2rem 0 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.25rem;
  font-weight: 500;
}

.venture-label + p {
  margin-top: 2rem;
}

.venture p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
}

.venture-pulse p {
  color: #d8ddda;
}

.venture-actions {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin-top: auto;
  padding-top: 2rem;
}

.venture-actions .text-link {
  margin-top: 0;
}

.venture-pulse .text-link {
  color: var(--white);
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 2rem;
  align-items: center;
}

.contact-band h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: 1;
}

.contact-band p {
  max-width: 650px;
  margin: 1rem 0 0;
}

.contact-section-heading h2 {
  max-width: 800px;
}

.contact-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.contact-route {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  padding: 2rem;
  background: var(--paper);
}

.contact-route-primary {
  background: var(--white);
}

.contact-route-pulse {
  background: #151717;
  color: var(--white);
}

.contact-route-onenode {
  background: var(--white);
}

.contact-route-logo {
  display: block;
  width: auto;
  height: 52px;
  margin-bottom: 1.75rem;
  object-fit: contain;
  object-position: left center;
}

.contact-route-logo-onenode {
  max-width: 240px;
}

.contact-route-pulse p {
  color: #d8ddda;
}

.contact-route-pulse .text-link {
  color: var(--white);
}

.contact-route-label {
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-route h3 {
  margin: 3.5rem 0 0.85rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.1;
}

.contact-route-label + p {
  margin-top: 3.5rem;
}

.contact-route p {
  margin: 0;
  color: var(--muted);
}

.contact-route .button,
.contact-route .text-link {
  align-self: flex-start;
  margin-top: auto;
}

.contact-route-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: auto;
}

.contact-route-actions .button,
.contact-route-actions .text-link {
  margin-top: 0;
}

.contact-note {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.5fr);
  gap: 3rem;
}

.contact-note h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: 1;
}

.contact-note p {
  max-width: 700px;
  margin: 1.25rem 0 0;
  color: #d8dbd7;
}

.about-intro .section-heading {
  margin-bottom: 2rem;
}

.about-intro-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-left: calc(33.333% + 1rem);
}

.about-intro-copy p {
  margin: 0;
}

.about-timeline {
  border-bottom: 1px solid var(--line);
}

.about-timeline article {
  display: grid;
  grid-template-columns: 160px minmax(220px, 0.8fr) minmax(300px, 1.2fr);
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}

.about-timeline span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
}

.about-timeline h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.1;
}

.about-timeline p {
  margin: 0;
}

.about-timeline a {
  font-weight: 750;
}

.about-evidence-note {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(300px, 1.1fr);
  gap: 3rem;
  align-items: start;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 3px solid var(--ink);
}

.about-evidence-note h2 {
  max-width: 620px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.05;
}

.about-evidence-note > div:last-child {
  max-width: 620px;
}

.about-evidence-note > div:last-child p {
  margin: 0;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.businesses-intro-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  margin-left: calc(33.333% + 1rem);
}

.businesses-intro-copy p {
  margin: 0;
}

.businesses-intro .section-heading h2 {
  max-width: 820px;
}

.business-profile[id] {
  scroll-margin-top: 2rem;
}

.business-profile-body {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.6fr);
  gap: 4rem;
}

.business-profile-pulse {
  background: #151717;
  color: var(--white);
}

.business-logo {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 3.5rem;
}

.business-logo-pulse {
  max-width: 390px;
}

.business-logo-onenode {
  max-width: 420px;
}

.business-profile-lead h2 {
  margin: 1rem 0 1.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  font-weight: 500;
  line-height: 0.95;
}

.business-profile-lead .eyebrow + p {
  margin-top: 1.25rem;
}

.business-profile-lead > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.business-profile-pulse .business-profile-lead > p:last-child,
.business-profile-pulse .business-capabilities p {
  color: #d8ddda;
}

.business-profile-pulse .business-capabilities,
.business-profile-pulse .business-capabilities article {
  border-color: rgba(255, 255, 255, 0.25);
}

.business-profile-pulse .business-capabilities span {
  color: var(--lime);
}

.business-capabilities {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.business-capabilities article {
  display: grid;
  grid-template-columns: 52px minmax(180px, 0.75fr) minmax(240px, 1.25fr);
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.business-capabilities article:last-child {
  border-bottom: 0;
}

.business-capabilities span {
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 800;
}

.business-capabilities h3,
.business-capabilities p {
  margin: 0;
}

.business-capabilities h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.15;
}

.business-capabilities p {
  color: var(--muted);
}

.business-proof {
  grid-column: 2;
  padding-top: 0.5rem;
}

.business-proof > p {
  max-width: 760px;
  margin: 0;
}

.business-profile-pulse .business-proof > p {
  color: #eef0ed;
}

.business-profile-pulse .button {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.business-profile-pulse .text-link {
  color: var(--white);
}

.business-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  margin-top: 2rem;
}

.business-actions .text-link {
  margin-top: 0;
}

.businesses-workbench {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.businesses-workbench::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 14, 14, 0.9) 0%, rgba(12, 14, 14, 0.08) 68%);
}

.businesses-workbench > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.businesses-workbench-copy {
  position: relative;
  z-index: 1;
  padding-block: 4.5rem;
}

.businesses-workbench-copy h2 {
  max-width: 820px;
  margin: 0.75rem 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 500;
  line-height: 0.95;
}

.businesses-workbench-copy p:last-child {
  max-width: 700px;
  margin: 0;
  color: #eef0ed;
}

.page-header {
  padding: 5.5rem 0 4rem;
  background: var(--ink);
  color: var(--white);
}

.page-header .eyebrow {
  margin-bottom: 1rem;
}

.wrap-reading {
  width: min(calc(100% - 40px), var(--reading));
  margin-inline: auto;
}

.page-deck,
.archive-description {
  max-width: 760px;
  margin: 1.5rem 0 0;
  color: #d8dbd7;
  font-size: 1.15rem;
}

.home-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 3rem 0 2.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-project {
  min-height: 320px;
  border-right: 1px solid var(--line);
}

.home-project:last-child {
  border-right: 0;
}

.home-project span,
.project-case-meta,
.post-meta {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
}

.home-project h3 {
  margin: 1.25rem 0 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.1;
}

.home-project-link {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.home-project-media {
  overflow: hidden;
  margin: 0;
  aspect-ratio: 4 / 3;
  background: var(--line);
}

.home-project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-project-media-logo {
  display: grid;
  place-items: center;
  padding: 2.5rem;
  background: #edf1f3;
}

.home-project-media-logo img {
  max-width: 86%;
  height: auto;
  object-fit: contain;
}

.home-project-media-archive {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.home-project-media-archive span {
  display: flex;
  align-items: flex-end;
  min-width: 0;
  padding: 1.2rem;
  background: var(--ink);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 750;
  line-height: 1.25;
  text-transform: uppercase;
}

.home-project-media-archive span:first-child {
  background: var(--teal);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
  text-transform: none;
}

.home-project-media-archive span:last-child {
  background: var(--lime);
  color: var(--ink);
}

.home-project-copy {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  padding: 1.6rem 1.75rem 1.8rem;
}

.home-project-copy p {
  margin: 0;
}

.home-project-cta {
  margin-top: auto;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.project-case[id] {
  scroll-margin-top: 2rem;
}

.project-ledger {
  padding-block: 5rem 7rem;
}

.project-index-label {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
  text-transform: uppercase;
}

.project-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 3rem;
}

.project-index a {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.45rem;
  min-height: 126px;
  margin: 0 -1px -1px 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: inherit;
  text-decoration: none;
}

.project-index span {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 750;
}

.project-index strong {
  align-self: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.15;
}

.project-index small {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.3;
}

.project-index a:hover,
.project-index a:focus-visible {
  background: var(--ink);
  color: var(--white);
}

.project-index a:hover small,
.project-index a:focus-visible small {
  color: #d8ddda;
}

.project-case {
  display: grid;
  grid-template-columns: 190px minmax(220px, 0.8fr) minmax(300px, 1.2fr);
  gap: 2rem;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}

.project-case:last-child {
  border-bottom: 1px solid var(--line);
}

.project-case h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.1;
}

.project-case > p {
  margin: 0;
}

.project-case-copy {
  min-width: 0;
}

.project-case-copy > p:first-child {
  margin-top: 0;
}

.project-case-copy > p:last-child {
  margin-bottom: 0;
}

.project-case-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.project-role {
  grid-column: 3;
  color: var(--muted);
  font-size: 0.92rem;
}

.project-case .text-link {
  grid-column: 3;
  justify-self: start;
}

.project-case-visual > div:nth-of-type(2) {
  min-width: 0;
}

.project-case-visual .project-role {
  margin-top: 1rem;
}

.project-gallery {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.project-gallery figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--line);
}

.project-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#efc-africa-21 .project-gallery figure {
  aspect-ratio: 800 / 533;
}

#efc-africa-21 .project-gallery img {
  object-fit: contain;
}

.project-case-media > div:nth-of-type(2) {
  min-width: 0;
}

.project-case-media .project-role {
  margin-top: 1rem;
}

.project-video-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.project-video-grid figure {
  min-width: 0;
  margin: 0;
}

.project-video-frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--ink);
}

.project-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.project-video-grid figcaption {
  display: grid;
  gap: 0.35rem;
  padding-top: 0.85rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.project-video-grid figcaption strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 500;
}

.post-list {
  padding-block: 4.5rem 7rem;
}

.post-card {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}

.post-card:last-of-type {
  border-bottom: 1px solid var(--line);
}

.post-card h2 {
  margin: 0.6rem 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
}

.post-card h2 a {
  color: var(--ink);
  text-decoration: none;
}

.navigation.pagination {
  margin-top: 2.5rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-numbers {
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
}

.page-numbers.current {
  background: var(--ink);
  color: var(--white);
}

.entry-hero {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
}

.entry-hero img {
  width: 100%;
  height: auto;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 5rem;
}

.not-found {
  min-height: 70vh;
  padding: 7rem 0;
  background: var(--paper);
}

.not-found h1 {
  max-width: 700px;
  margin: 1rem 0 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  font-weight: 500;
  line-height: 1;
}

.not-found .search-form {
  display: flex;
  gap: 0.75rem;
  margin: 2rem 0;
}

.not-found .search-field {
  min-width: 0;
  flex: 1;
  padding: 0.85rem 1rem;
  border: 1px solid var(--ink);
  font: inherit;
}

.not-found .search-submit,
.button-dark {
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font: inherit;
  font-weight: 700;
}

.page-content {
  width: min(calc(100% - 40px), var(--reading));
  margin: 0 auto;
  padding: 4.5rem 0 7rem;
}

.page-content h2 {
  margin: 3.5rem 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.1;
}

.page-content h3 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.25rem;
}

.page-content p,
.page-content ul {
  margin: 0 0 1.3rem;
}

.page-content li {
  margin-bottom: 0.5rem;
}

.page-content > p:first-child {
  font-size: 1.3rem;
  line-height: 1.55;
}

.site-footer {
  padding: 2.5rem 0;
  background: #0f1111;
  color: #c8cbc7;
}

.footer-inner {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-inner p {
  margin: 0;
  font-size: 0.82rem;
}

.footer-inner a {
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 0;
    display: none;
    padding: 2rem 20px;
    background: var(--ink);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .site-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .site-nav a {
    display: block;
    padding: 1rem 0;
    font-size: 1.15rem;
  }

  .hero {
    min-height: calc(88svh - 76px);
    align-items: flex-end;
    background-position: 62% center;
  }

  .hero::before {
    background: rgba(18, 20, 20, 0.62);
  }

  .hero-copy {
    width: 100%;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .practice-grid {
    grid-template-columns: 1fr;
  }

  .practice {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .practice:last-child {
    border-bottom: 0;
  }

  .practice h3 {
    margin-top: 2rem;
  }

  .method-track {
    grid-template-columns: 1fr;
  }

  .method-step {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  }

  .method-step:last-child {
    border-bottom: 0;
  }

  .method-step h3 {
    margin-top: 1.5rem;
  }

  .method-example,
  .method-archive-flow {
    grid-template-columns: 1fr;
  }

  .method-archive-flow li {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .method-archive-flow li:last-child {
    border-bottom: 0;
  }

  .method-archive-flow p {
    margin-top: 1rem;
  }

  .venture-grid {
    grid-template-columns: 1fr;
  }

  .contact-band {
    grid-template-columns: 1fr;
  }

  .contact-route-grid,
  .contact-note {
    grid-template-columns: 1fr;
  }

  .about-intro-copy {
    grid-template-columns: 1fr;
    margin-left: 0;
  }

  .about-evidence-note {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .businesses-intro-copy,
  .business-profile-body {
    grid-template-columns: 1fr;
  }

  .businesses-intro-copy {
    margin-left: 0;
  }

  .business-profile-body {
    gap: 2.5rem;
  }

  .business-logo {
    max-width: 360px;
    margin-bottom: 2.5rem;
  }

  .business-proof {
    grid-column: 1;
  }

  .business-capabilities article {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .business-capabilities p {
    grid-column: 2;
  }

  .businesses-workbench {
    min-height: 620px;
  }

  .about-timeline article {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-actions {
    justify-content: flex-start;
  }

  .contact-route {
    min-height: 300px;
  }

  .contact-route-actions,
  .venture-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-project-grid {
    grid-template-columns: 1fr;
  }

  .home-project {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .home-project:last-child {
    border-bottom: 0;
  }

  .home-project-copy {
    min-height: 0;
  }

  .project-case {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .project-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-role,
  .project-case .text-link {
    grid-column: 1;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

  .project-video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .header-inner,
  .hero-inner,
  .wrap,
  .footer-inner,
  .page-content {
    width: min(calc(100% - 28px), var(--content));
  }

  .hero {
    min-height: calc(88svh - 76px);
  }

  .hero-inner {
    padding: 4rem 0;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 18vw, 5.4rem);
  }

  .band {
    padding: 4.5rem 0;
  }

  .practice,
  .venture {
    padding: 1.5rem;
  }

  .businesses-page-header {
    padding-block: 4.25rem 3.5rem;
  }

  .businesses-page-header .page-deck {
    font-size: 1.05rem;
    line-height: 1.55;
  }

  .businesses-intro .section-heading {
    margin-bottom: 2rem;
  }

  .businesses-intro .section-heading h2 {
    font-size: 2.35rem;
    line-height: 1.04;
  }

  .businesses-intro-copy {
    gap: 1.5rem;
  }

  .business-logo {
    width: min(100%, 310px);
    margin-bottom: 2rem;
  }

  .business-profile-lead h2 {
    font-size: 2.8rem;
  }

  .business-capabilities article {
    gap: 0.85rem;
    padding: 1.25rem 0;
  }

  .business-capabilities h3 {
    font-size: 1.3rem;
  }

  .business-proof {
    padding-top: 0;
  }

  .business-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .business-actions .text-link {
    align-self: flex-start;
  }

  .businesses-workbench {
    min-height: 560px;
  }

  .businesses-workbench > img {
    object-position: 63% center;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .not-found h1 {
    font-size: 3rem;
  }

  .not-found .search-form {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
