/* Homepage-only layouts: trust, steps, pricing, reviews and website list. */
.trust-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; } }
.trust-copy .section-head { margin-bottom: 20px; }
.trust-media { display: grid; gap: 14px; }
.trust-founder { margin: 0; font-weight: 600; max-width: 72ch; }
.trust-photo { width: 100%; max-width: 360px; height: auto; border: 3px solid var(--ink); box-shadow: var(--shadow); }
.fix-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.fix-list li { padding-left: 28px; position: relative; }
.fix-list li::before { content: "✓"; content: "✓" / ""; position: absolute; left: 0; color: var(--orange-text); font-weight: 900; }
.fix-list strong { display: block; }
.proof-list { list-style: none; margin: 0; padding: 20px 0 0; display: grid; gap: 18px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 3px solid var(--ink); }
.proof-list li, .proof-list a { display: grid; gap: 2px; align-content: start; text-decoration: none; }
.proof-list strong { font: 900 1.5rem/1 var(--display); text-transform: uppercase; }
.proof-list span { font-size: 0.88rem; color: var(--muted); }
.proof-list a:hover strong { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; }

.process-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .process-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; } }
.steps-time { margin-top: 20px; font-weight: 700; }
.steps-cta { margin: 12px 0 0; max-width: 46ch; }
.steps-time + .btn-row, .steps-cta + .btn-row { margin-top: 20px; gap: 20px; }

.pricing-head { display: grid; gap: 14px; align-content: start; }
.pricing-head .lead { color: var(--paper); }
.buy-card p { margin: 0; }
.buy-note { font-size: 0.9rem; color: var(--muted-on-ink); }
.buy-card .text-link { justify-self: start; color: var(--paper); }
.payback { display: grid; gap: 10px; margin-top: 8px; padding: 22px; background: #1c1b19; border-left: 4px solid var(--orange); }
.payback label { font-weight: 700; }
.payback output { color: var(--paper); font-weight: 900; }
.payback select { padding: 10px 12px; border: 2px solid var(--paper); background: var(--ink); color: var(--paper); font: inherit; }
.payback input[type="range"] { width: 100%; accent-color: var(--orange); margin-bottom: 6px; }
.payback-result { margin: 8px 0 0; padding-top: 14px; border-top: 2px solid var(--rule-on-ink); }
.payback-result strong { display: block; font: 900 clamp(1.9rem, 1.6rem + 1.4vw, 2.6rem)/1 var(--display); color: var(--paper); text-transform: uppercase; }
.payback-note { margin: 0; font-size: 0.82rem; color: var(--muted-on-ink); }
#buy .buy-grid { align-items: start; }


.serve-grid { display: grid; gap: 28px; margin-bottom: 40px; }
@media (min-width: 900px) { .serve-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; } }
.serve-grid .h3 { margin: 0 0 12px; }
.serve-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.serve-list li { position: relative; padding-left: 28px; }
.serve-list li::before { position: absolute; left: 0; font-weight: 900; }
.serve-problems li::before { content: "✕"; content: "✕" / ""; color: var(--muted); }
.serve-outcomes li::before { content: "✓"; content: "✓" / ""; color: var(--orange-text); }
.sector-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .sector-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .sector-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sector-tiles a, .sector-tiles span { display: grid; place-items: center; min-height: 72px; padding: 14px; border: 3px solid var(--ink); background: var(--paper); font-weight: 800; text-align: center; text-decoration: none; }
.sector-tiles a { box-shadow: var(--shadow); }
.sector-tiles a:hover { background: var(--orange); }


.reviews-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: 32px; }
.reviews-head .h2 { margin: 0; }
.review-score { display: inline-flex; align-items: baseline; gap: 10px; padding: 10px 16px; border: 3px solid var(--ink); background: var(--orange); box-shadow: var(--shadow); font-weight: 700; text-decoration: none; }
.review-score strong { font: 900 1.6rem/1 var(--display); text-transform: uppercase; }
.reviews-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 700px) { .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .reviews-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.review { height: 100%; margin: 0; display: grid; grid-template-rows: 1fr auto; gap: 16px; padding: 22px; border: 3px solid var(--ink); background: var(--paper); box-shadow: var(--shadow); }
.review blockquote { align-self: center; margin: 0; padding-left: 14px; border-left: 4px solid var(--orange); }
.review blockquote p { margin: 0; font-weight: 600; font-size: 1.05rem; line-height: 1.45; }
.review figcaption { display: grid; gap: 2px; font-size: 0.88rem; color: var(--muted); }
.review figcaption strong { color: var(--ink); font-size: 0.95rem; }

.work-grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.work { flex: 0 0 100%; display: grid; gap: 4px; align-content: start; }
@media (min-width: 600px) { .work { flex-basis: calc((100% - 24px) / 2); } }
@media (min-width: 1100px) { .work { flex-basis: calc((100% - 72px) / 4); } .work-grid-3 .work { flex-basis: calc((100% - 48px) / 3); } .work-grid-2 .work { flex-basis: calc((100% - 24px) / 2); } }
.work-shot { display: grid; place-items: center; aspect-ratio: 16 / 11; margin-bottom: 10px; overflow: hidden; border: 3px solid var(--paper); background: var(--paper); }
.work-frame { display: block; align-self: start; width: 100%; height: 100%; overflow: hidden; }
.work-bar { display: flex; gap: 5px; padding: 7px 10px; border-bottom: 2px solid var(--ink); background: var(--paper); }
.work-bar i { width: 8px; height: 8px; border: 2px solid var(--ink); border-radius: 50%; }
.work-frame img { display: block; width: 100%; height: auto; }
.work-shot.is-mobile { background: var(--paper-3); }
.is-mobile .work-frame { align-self: center; width: auto; height: 86%; aspect-ratio: 1 / 2; border: 4px solid var(--ink); border-radius: 18px; background: var(--ink); }
.is-mobile .work-frame img { height: 100%; object-fit: cover; object-position: top; border-radius: 13px; }
.work-cta { display: grid; gap: 20px 48px; align-items: center; margin-top: 48px; padding-top: 32px; border-top: 2px solid var(--rule-on-ink); }
@media (min-width: 900px) { .work-cta { grid-template-columns: minmax(0, 1fr) auto; } }
.work-cta-copy { display: grid; gap: 10px; max-width: 760px; }
.work-cta h3 { margin: 0; font: 800 clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem)/1.25 var(--sans); color: var(--paper); }
.work-cta p { margin: 0; color: var(--muted-on-ink); line-height: 1.55; }
.work-cta p:last-child { color: var(--paper); font-weight: 600; }
.work-cta .btn { justify-self: start; }
.work-cta .btn { border-color: var(--paper); box-shadow: 4px 4px 0 var(--paper); }
.work-name { margin: 0; font: 800 1.05rem/1.25 var(--sans); color: var(--paper); }
.work-meta { margin: 0; font-size: 0.9rem; color: var(--muted-on-ink); }
.work-name a { color: inherit; text-decoration: none; }
.work-name a:hover { text-decoration: underline; text-decoration-color: var(--orange); }
.work-case { margin: 4px 0 0; font-size: 0.9rem; font-weight: 700; }
.work-case a { color: var(--paper); text-decoration-color: var(--orange); text-decoration-thickness: 2px; }

.fix-grid { margin: 0; }
@media (min-width: 900px) { .fix-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 48px; } }
.need-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .need-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .need-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.need { display: grid; gap: 8px; align-content: start; padding: 22px; border: 3px solid var(--ink); background: var(--paper); box-shadow: var(--shadow); }
.need .h3, .need p { margin: 0; }
@media (min-width: 1100px) { .specialisms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.need[id] { scroll-margin-top: 110px; }

.section-link { margin-top: 24px; }

/* Case studies */
.case-hero h1 { font-size: clamp(2.4rem, 1.5rem + 3.2vw, 4.4rem); }
.crumb { margin: 0 0 12px; font-weight: 700; font-size: 0.95rem; }
.crumb a { text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.case-shot { aspect-ratio: auto; margin: 0; border: 3px solid var(--ink); box-shadow: var(--shadow); }
.case-facts { display: grid; gap: 0; margin: 0; max-width: 820px; }
.case-facts div { display: grid; gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .case-facts div { grid-template-columns: 160px minmax(0, 1fr); } }
.case-facts dt { font-weight: 800; }
.case-facts dd { margin: 0; }
.case-prose { max-width: 720px; }
.case-prose p { margin: 0 0 16px; }
.case-plan { margin-bottom: 20px; }
@media (min-width: 1100px) { .case-plan { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.case-plan ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.case-note { margin: 0; font-weight: 700; }
.case-review { max-width: 820px; height: auto; }
.case-review blockquote p { margin: 0 0 12px; }
.case-review blockquote p:last-child { margin: 0; }
.case-evidence { max-width: 1000px; margin: 0; }
.case-evidence img { display: block; width: 100%; height: auto; border: 3px solid var(--ink); box-shadow: var(--shadow); background: #fff; }
.case-evidence figcaption { margin-top: 14px; font-size: 0.9rem; color: var(--muted); }
.case-evidence-link { display: block; position: relative; cursor: zoom-in; }
.case-evidence-link::after { content: "+"; content: "+" / ""; position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 44px; height: 44px; border: 3px solid var(--ink); background: var(--orange); font: 900 1.6rem/1 var(--sans); box-shadow: 3px 3px 0 var(--ink); }
.case-evidence-link:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.case-zoom { display: block; margin-top: 4px; }

/* Lightbox */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; overflow: hidden; }
.lightbox::backdrop { background: rgb(15 14 13 / 0.88); }
.lightbox:modal, .lightbox::backdrop { overscroll-behavior: contain; }
.lightbox-body { box-sizing: border-box; width: 100%; height: 100%; padding: 76px 16px 32px; overflow: auto; overscroll-behavior: contain; scroll-axis-lock: none; }
.lightbox-body:focus-visible { outline: 3px solid var(--orange); outline-offset: -6px; }
.lightbox-body img { display: block; width: min(1400px, 100%); height: auto; margin: 0 auto; border: 3px solid var(--ink); background: #fff; box-shadow: 0 10px 40px rgb(0 0 0 / 0.4); cursor: default; }
@media (max-width: 699px) { .lightbox-body img { width: 900px; max-width: none; margin: 0; } .case-evidence-link::after { width: 36px; height: 36px; font-size: 1.3rem; right: 8px; bottom: 8px; } }
.lightbox-close { position: fixed; top: 14px; right: 14px; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border: 3px solid var(--paper); background: var(--ink); color: var(--paper); font: 700 2rem/1 var(--sans); cursor: pointer; }
.lightbox-close:hover { background: var(--orange); color: var(--ink); border-color: var(--ink); }
.lightbox-close:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.case-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; max-width: 1000px; margin-top: 32px; padding: 20px 24px; border: 3px solid var(--ink); background: var(--orange); box-shadow: var(--shadow); }
.case-cta p { flex: 1 1 320px; margin: 0; font-weight: 600; }
.case-cta strong { display: block; font-size: 1.2rem; }
.case-cta .btn { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: 4px 4px 0 var(--paper); }
@media (min-width: 1100px) { .case-plan-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
