/* Corthal website (multi-page, live since 2026-11-30). Loaded after styles.css, the original site's base.
   Same brand: logo blue, Newsreader headings, Hanken Grotesk body, hairlines, square corners, no cards or shadows.
   Here: the menu button for phones, inner-page headers, breadcrumbs, link lists, long-form text, the footer
   columns, the inquiry form and booking calendar. Some draft-only rules (draft bar, process versions B and C)
   are still here, unused; prune them in a later pass. */

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

/* Draft bar (removed by build.py --launch) */
.draft-bar { background: #FFF4D6; color: #4A3A00; font-size: 13px; border-bottom: 1px solid #E8D48A; }
.draft-bar .container { padding-block: 7px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.draft-bar a { color: inherit; }
.draft-bar .ab { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; }
.draft-bar button { font: inherit; font-weight: 600; border: 1px solid #B9A24A; background: transparent; color: inherit; padding: 2px 9px; cursor: pointer; }
.draft-bar .ab-next { margin-left: 18px; }
.draft-bar button[aria-pressed="true"] { background: #4A3A00; color: #FFF4D6; border-color: #4A3A00; }
[data-ab]:not(.ab-on) { display: none; }

/* Header: five links and the button; a menu button under 900px */
.site-nav { gap: clamp(16px, 2.4vw, 32px); }
.nav-toggle { display: none; font: 500 15px var(--sans); color: var(--blue); background: transparent; border: 1px solid var(--blue); padding: 8px 14px; cursor: pointer; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .site-nav.is-open { display: flex; }
  .site-nav .nav-link, .site-nav .nav-link:not(.nav-cta) { display: block; font-size: 17px; padding-block: 14px; border-bottom: 1px solid var(--line); white-space: normal; }
  .site-nav .nav-cta { margin-top: 16px; text-align: center; border: 1px solid var(--blue); padding: 13px 18px; }
  .site-header { position: sticky; }
}

/* Breadcrumbs */
.crumbs { border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.crumbs .container { padding-block: 12px; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.crumbs a { color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; }
.crumbs a:hover { color: var(--blue); border-bottom-color: var(--blue); }
.crumbs [aria-current] { color: var(--ink); }
.crumb-sep { color: var(--line); }

/* Inner-page header: white, left-aligned, the same type as the home hero */
.page-head { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 20ch; font-size: clamp(34px, 4.6vw, 56px); }
.page-head .lede { max-width: 62ch; margin-bottom: 32px; }
.page-head .label { margin-bottom: 20px; }
.head-actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.text-link { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link:hover { color: var(--blue-deep); }
.hero .head-actions .text-link { color: var(--on-blue); }
.hero .trust { margin: 28px 0 0; font-size: 15px; color: var(--on-blue-muted); max-width: 60ch; }

/* Sections on inner pages are a little tighter than the home page's */
.section-tight { padding-block: clamp(56px, 8vw, 96px); }
.section-rule { border-top: 1px solid var(--line); }
.section h2 + .intro, .section-tight h2 + .intro { margin-top: calc(-1 * clamp(12px, 3vw, 32px)); }
h2.h2-small { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: clamp(24px, 3.5vw, 36px); }

/* Long-form text (service pages, articles) */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose li { font-size: clamp(17px, 1.5vw, 18px); line-height: 1.7; }
.prose p { margin-bottom: 0; text-wrap: pretty; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin: 1.8em 0 0; }
.prose h3 { font-size: 22px; margin: 1.6em 0 0; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 0.5em; }
.prose strong { font-weight: 600; }
.prose .answer { font-size: clamp(19px, 2vw, 22px); line-height: 1.55; color: var(--ink); font-family: var(--serif); }
.prose blockquote { margin-inline: 0; padding-left: 20px; border-left: 2px solid var(--blue); font-family: var(--serif); font-size: 21px; line-height: 1.5; }
.note { font-size: 15px; color: var(--muted); }

/* Two columns: text beside a ruled list */
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* Ruled lists: a rule above each item, a short blue lead-in, like the tags on the live site */
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.rules > li { border-top: 1px solid var(--line); padding-block: 20px; position: relative; }
.rules > li::before { content: ""; position: absolute; top: -1px; left: 0; width: 32px; height: 1px; background: var(--blue); }
.rules h3 { font-size: 21px; margin-bottom: 6px; }
.rules p { margin: 0; color: var(--muted); }
.rules-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 5vw, 72px); }
.rules-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); }
@media (max-width: 860px) { .rules-2, .rules-3 { grid-template-columns: minmax(0, 1fr); } }

/* Link blocks: a whole ruled item that links to a page */
.links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); }
.links-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.links > li { border-top: 1px solid var(--ink); }
.links a { display: block; padding: 22px 0 30px; text-decoration: none; color: var(--ink); }
.links h3 { font-size: 23px; margin-bottom: 8px; transition: color 0.2s ease; }
.links p { margin: 0 0 14px; color: var(--muted); }
.links .more { font-size: 15px; font-weight: 500; color: var(--blue); }
.links a:hover h3 { color: var(--blue); }
@media (max-width: 860px) { .links, .links-2 { grid-template-columns: minmax(0, 1fr); } }

/* Numbered principles (the controlled rollout) */
.principles { list-style: none; counter-reset: p; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.principles > li { counter-increment: p; border-top: 1px solid var(--ink); padding-top: 18px; }
.principles > li::before { content: counter(p); font-family: var(--serif); font-size: 20px; color: var(--blue); display: block; margin-bottom: 10px; }
.principles h3 { font-size: 22px; margin-bottom: 8px; }
.principles p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .principles { grid-template-columns: minmax(0, 1fr); } }

/* The home page's steps link to their pages */
.steps h3 a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
.steps h3 a:hover { color: var(--blue); border-bottom-color: var(--blue); }

/* Blue bands: the case study keeps the live style; .band is the plain closing call to action */
.case .text-link { color: var(--on-blue); display: inline-block; margin-top: 28px; }
.band { background: var(--blue); color: var(--on-blue); padding-block: clamp(64px, 9vw, 112px); position: relative; isolation: isolate; overflow: hidden; }
.band h2 { color: var(--on-blue); margin-bottom: 16px; max-width: 22ch; }
.band p { color: #DCE2F5; max-width: 56ch; margin: 0 0 32px; font-size: clamp(18px, 1.8vw, 20px); }
.band .button { background: var(--paper); color: var(--blue); }
.band .button:hover { background: var(--tint); }
.band .head-actions .text-link { color: var(--on-blue); }
.band .small { font-size: 15px; color: var(--on-blue-muted); margin: 24px 0 0; }
.band .small a { color: var(--on-blue); }

/* Facts table (the "at a glance" block answer engines like) */
.facts { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); margin: 0; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.facts th { width: 34%; padding-right: 20px; font-weight: 600; color: var(--ink); }
.facts td { color: var(--muted); }
@media (max-width: 560px) { .facts th, .facts td { display: block; width: 100%; } .facts th { border-bottom: 0; padding-bottom: 2px; } .facts td { padding-top: 0; } }

/* Articles */
.post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.post-list > li { border-bottom: 1px solid var(--line); }
.post-list a { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 6px 28px; padding-block: 26px; text-decoration: none; color: var(--ink); }
.post-list time, .post-meta { font-size: 14px; color: var(--muted); letter-spacing: 0.02em; }
.post-list h3 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 8px; }
.post-list a:hover h3 { color: var(--blue); }
.post-list p { margin: 0; color: var(--muted); max-width: 62ch; }
@media (max-width: 640px) { .post-list a { grid-template-columns: minmax(0, 1fr); } }
.byline { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; color: var(--muted); margin: 0; }
.byline a { color: var(--ink); }
.article-foot { margin-top: clamp(40px, 6vw, 64px); padding-top: 24px; border-top: 1px solid var(--line); max-width: 68ch; }
.article-foot p { margin: 0 0 10px; color: var(--muted); font-size: 16px; }

/* Inquiry form and demo calendar */
.form-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .form-wrap { grid-template-columns: minmax(0, 1fr); } }
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 15px; font-weight: 600; color: var(--ink); padding: 0; }
.field .hint { font-size: 14px; color: var(--muted); font-weight: 400; }
.field input, .field textarea, .field select { font: inherit; font-size: 17px; color: var(--ink); background: var(--paper); border: 1px solid #AEB5C5; border-radius: 0; padding: 13px 14px; width: 100%; }
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 560px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.form .button { border: 0; cursor: pointer; font-family: var(--sans); justify-self: start; }
.form-note { font-size: 14px; color: var(--muted); margin: 0; max-width: 56ch; }
.demo-tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #4A3A00; background: #FFF4D6; border: 1px solid #E8D48A; padding: 3px 8px; margin-bottom: 16px; }
/* Contact steps scroll into view below the sticky header */
#step-ask, #step-cal, #step-done { scroll-margin-top: 96px; }
.cal-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
.cal-day, .cal-time { font: inherit; background: var(--paper); border: 1px solid #AEB5C5; color: var(--ink); cursor: pointer; padding: 10px 6px; text-align: center; }
.cal-day small { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.cal-day b { font: 500 22px var(--serif); }
.cal-times { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cal-time { padding: 12px 6px; font-size: 16px; font-variant-numeric: tabular-nums; }
.cal-day:hover, .cal-time:hover { border-color: var(--blue); color: var(--blue); }
.cal-day[aria-pressed="true"], .cal-time[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.cal-day[aria-pressed="true"] small { color: var(--on-blue-muted); }
@media (max-width: 560px) { .cal-times { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.picked { border: 1px solid var(--ink); padding: 18px 20px; margin: 22px 0; }
.picked b { font: 500 22px/1.3 var(--serif); display: block; }
.side h3 { font-size: 22px; margin-bottom: 12px; }
.side .rules > li { padding-block: 16px; }
.side a { overflow-wrap: anywhere; }
[hidden] { display: none !important; }

/* Footer: link columns above the live footer row */
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px clamp(20px, 4vw, 56px); margin-top: 36px; }
.footer-head { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #DCE2F5; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a, .footer-text a { color: #A9B0C2; text-decoration: none; border-bottom: 1px solid transparent; }
.footer-col a:hover, .footer-text a:hover { color: var(--on-blue); border-bottom-color: var(--on-blue); }
@media (max-width: 860px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .footer-cols { grid-template-columns: minmax(0, 1fr); } }

/* Small helpers */
.kicker { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.35; max-width: 34ch; margin: 0; text-wrap: balance; }
.mt-0, .prose > :first-child { margin-top: 0 !important; }
.stack-lg > * + * { margin-top: clamp(40px, 6vw, 72px); }
.center-narrow { max-width: 860px; }
.people-wide .person p:last-child { max-width: 46ch; }


/* =====================================================================
   Second pass (2026-11-30, from the website meeting). design.md has the why.
   Wide layout, the home hero, draft placeholders, Insights. The home page's
   sections were redone in the third pass (below).
   ===================================================================== */

/* Wide: nearly full screen, like the founders' reference. Text keeps its own measure. */
:root { --gutter: clamp(20px, 5vw, 96px); }
.container { max-width: 1680px; }
h2 { font-size: clamp(32px, 3.6vw, 52px); }

/* Links underline from the left; buttons fill. No arrows after link text. */
.text-link { border-bottom: 0; padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size 0.3s ease, color 0.2s ease; }
.text-link:hover { background-size: 0% 1px; background-position: 100% 100%; }
.button { transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; border: 1px solid transparent; }
.button-ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.button-ghost:hover { background: var(--blue); color: var(--on-blue); }
.hero .button-ghost { background: transparent; color: var(--on-blue); border-color: rgba(255,255,255,0.7); }
.hero .button-ghost:hover { background: var(--paper); color: var(--blue); border-color: var(--paper); }

/* Home hero: tall, left-aligned, eyebrow + headline + two buttons */
.hero-home { min-height: min(80vh, 800px); display: flex; align-items: center; padding-block: clamp(80px, 10vw, 136px); }
.hero-home .hero-content { width: 100%; }
.hero-home h1 { font-size: clamp(40px, 5vw, 74px); line-height: 1.04; letter-spacing: -0.02em; max-width: 17ch; margin-bottom: clamp(28px, 3.4vw, 44px); text-wrap: balance; }
.hero-home .label { margin-bottom: clamp(20px, 2.4vw, 28px); }
.hero .head-actions { gap: 14px; }
.hero-city { padding-block: clamp(72px, 10vw, 136px); }
.hero-city h1 { font-size: clamp(38px, 5.6vw, 76px); max-width: 16ch; margin-bottom: 24px; }
.hero-city .lede { margin-top: 0; }
.hero-plain .hero-media { background: var(--blue-deep); }
/* Inside-page photo hero (Industries first, 2026-12-02): shorter than the home hero, same blue wash */
/* One height for every inside-page hero (Angus, 2026-12-02): about 500 px on desktop, the text in the middle */
.hero-page { padding-block: clamp(40px, 4vw, 56px); min-height: clamp(440px, 35vw, 500px); display: flex; align-items: center; }
.hero-page .hero-content { width: 100%; }
.hero-page .lede:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .hero-page { min-height: 480px; } }
.hero-page h1 { max-width: 20ch; font-size: clamp(34px, 4.6vw, 56px); }
.hero-page .lede { max-width: 62ch; margin-bottom: 32px; }
.hero-page .label { margin-bottom: 20px; }
.hero-industries .hero-media { background-image: url("assets/hero-industries.jpg"); background-position: center 40%; }
.hero-services .hero-media { background-image: url("assets/hero-services.jpg"); background-position: center 55%; }
@media (max-width: 640px) { .hero-services .hero-media { background-image: url("assets/hero-services-1200.jpg"); background-position: 62% center; } }
.hero-case .hero-media { background-image: url("assets/hero-case-study.jpg"); background-position: center 35%; }
@media (max-width: 640px) { .hero-case .hero-media { background-image: url("assets/hero-case-study-1200.jpg"); background-position: 70% center; } }
.hero-about .hero-media { background-image: url("assets/hero-kingston.jpg"); background-position: center 40%; }
@media (max-width: 640px) { .hero-about .hero-media { background-image: url("assets/hero-kingston-1200.jpg"); background-position: 65% center; } }
/* Case study page: the results band is light under the blue photo hero, so the page opens with one blue block (Angus, 2026-12-02).
   The home page's blue results band is unchanged. */
.case-light { background: var(--tint); color: var(--ink); padding-block: clamp(56px, 6.5vw, 80px); }
.case-light .case-pattern { display: none; }
.case-light h2 { color: var(--ink); }
.case-light .stats { margin-top: clamp(32px, 4vw, 48px); }
.case-light .stats div { border-top-color: var(--ink); }
.case-light .stats dd { color: var(--blue); }
.case-light .stats dt, .case-light .source { color: var(--muted); }
/* Industries, "The signs we look for" (Angus, 2026-12-02): label, heading and intro stacked on the left, the six signs numbered in a 3 by 2 grid */
.signs-top { max-width: 62ch; margin-bottom: clamp(32px, 4vw, 48px); }
.signs-top h2 { margin-bottom: 12px; }
.signs-top .intro, .section-tight .signs-top h2 + .intro { margin: 0; }
.rules-signs { counter-reset: sign; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); }
.rules-signs > li { counter-increment: sign; padding-block: 18px 22px; }
.rules-signs > li::before { width: 32px; }
.rules-signs > li::after { content: counter(sign, decimal-leading-zero); position: absolute; top: 18px; left: 0; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; color: var(--blue); }
.rules-signs p { margin-top: 28px; color: var(--ink); font-size: 17px; line-height: 1.5; }
@media (max-width: 860px) { .rules-signs { grid-template-columns: minmax(0, 1fr); } .rules-signs p { margin-top: 24px; } }
/* Cards with a photo on top (Industries, 2026-12-02): photo, then the card's text; no rule above */
.links-photo > li { border-top: 0; }
.links-photo a { padding-top: 0; }
.card-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 22px; transition: opacity 0.2s ease; }
.links-photo a:hover .card-photo { opacity: 0.88; }
@media (max-width: 640px) { .hero-industries .hero-media { background-image: url("assets/hero-industries-1200.jpg"); background-position: 74% center; } }

/* Shared section head and two-column leads */
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px clamp(32px, 5vw, 96px); align-items: end; margin-bottom: clamp(36px, 4.5vw, 56px); }
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head .intro { margin: 0; }
.section-short { padding-block: clamp(56px, 7vw, 96px); }
.statement { font-family: var(--serif); font-size: clamp(22px, 2.3vw, 32px); line-height: 1.38; color: var(--ink); margin: 0; max-width: 40ch; text-wrap: pretty; }
.statement-sm { font-size: clamp(20px, 1.9vw, 26px); }
@media (max-width: 900px) { .section-head { grid-template-columns: minmax(0, 1fr); } }

/* =====================================================================
   Third pass (2026-11-30, second website meeting): the home page in four
   short sections. design.md has the why.
   ===================================================================== */
.page-home .section-home { padding-block: clamp(64px, 8vw, 112px); }
.page-home h2 { font-size: clamp(30px, 3.2vw, 46px); }

/* What we do: the claim and the reason on the left, four linked points (2 x 2) on the right */
.wwd { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 120px); align-items: start; }
.wwd h2 { max-width: 18ch; margin-bottom: clamp(20px, 2.4vw, 28px); }
.wwd .statement { font-size: clamp(20px, 1.8vw, 25px); max-width: 34ch; color: var(--muted); }
.wwd-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 3.5vw, 64px); }
.wwd-grid > li { border-top: 1px solid var(--line); position: relative; }
.wwd-grid > li::before { content: ""; position: absolute; top: -1px; left: 0; width: 32px; height: 1px; background: var(--blue); transition: width 0.35s ease; }
.wwd-grid > li:hover::before, .wwd-grid > li:focus-within::before { width: 100%; }
.wwd-grid a { display: block; height: 100%; padding: 22px 36px 30px 0; color: inherit; text-decoration: none; position: relative; }
.wwd-grid a::after { content: ""; position: absolute; right: 6px; top: 30px; width: 9px; height: 9px; border-top: 1.5px solid var(--blue); border-right: 1.5px solid var(--blue); transform: rotate(45deg); transition: transform 0.25s ease; }
.wwd-grid a:hover::after { transform: translateX(4px) rotate(45deg); }
.wwd-grid h3 { font-size: clamp(20px, 1.6vw, 23px); margin-bottom: 8px; transition: color 0.2s ease; }
.wwd-grid a:hover h3 { color: var(--blue); }
.wwd-grid p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; max-width: 40ch; }
@media (max-width: 900px) { .wwd { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (max-width: 600px) { .wwd-grid { grid-template-columns: minmax(0, 1fr); } }

/* What AI can do: heading left, the case-study button right */
.cando-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(32px, 5vw, 96px); align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.cando-head h2 { margin-bottom: 14px; }
.cando-head .intro, .cando-head h2 + .intro { margin: 0; max-width: 52ch; }
.cando-case { justify-self: end; display: grid; gap: 12px; justify-items: start; max-width: 340px; }
.cando-case p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
@media (max-width: 900px) { .cando-head { grid-template-columns: minmax(0, 1fr); } .cando-case { justify-self: start; } }

/* The industries: one open at a time.
   B "stack" (the default, and always on phones): rows that open downward.
   A "row" (wide screens): columns side by side; the open one widens. */
.ind { border-top: 1px solid var(--ink); }
.ind-item { border-bottom: 1px solid var(--line); }
.ind-head { margin: 0; font-size: inherit; line-height: inherit; }
.ind-head button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; background: transparent; border: 0; padding: 18px 0; cursor: pointer; text-align: left;
  font: 500 clamp(19px, 1.7vw, 23px)/1.25 var(--serif); color: var(--ink); transition: color 0.2s ease; }
.ind-head button:hover, .ind-item.is-open .ind-head button { color: var(--blue); }
.ind-head button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.ind-icon { position: relative; flex: 0 0 auto; width: 14px; height: 14px; }
.ind-icon::before, .ind-icon::after { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1.5px; margin-top: -0.75px; background: currentColor; transition: transform 0.25s ease; }
.ind-icon::after { transform: rotate(90deg); }
.ind-item.is-open .ind-icon::after { transform: rotate(0deg); }
.ind-body { padding: 0 0 28px; }
.ind-body.is-entering { animation: ind-in 0.35s ease both; }
@keyframes ind-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ind-line { font: 400 clamp(21px, 1.9vw, 27px)/1.3 var(--serif); color: var(--ink); margin: 0 0 18px; max-width: 30ch; }
.swap-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 36px); font-size: 13px; font-weight: 600; color: var(--muted); padding-bottom: 8px; }
.swap-head span + span { color: var(--blue); padding-left: 18px; }
.swap { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.swap > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px clamp(16px, 2.4vw, 36px); padding-block: 12px; border-bottom: 1px solid var(--line); }
.swap p { margin: 0; font-size: 16px; line-height: 1.5; }
.swap .was { color: var(--muted); }
.swap .now { color: var(--ink); padding-left: 18px; position: relative; }
.swap .now::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 8px; height: 1.5px; background: var(--blue); }
.ind-foot { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; justify-content: space-between; margin: 18px 0 0; font-size: 15px; }
.ind-foot .proof { color: var(--ink); font-weight: 500; }
@media (min-width: 900px) {
  .ind[data-layout="stack"] .ind-body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 0 clamp(32px, 5vw, 96px); }
  .ind[data-layout="stack"] .ind-body[hidden] { display: none; }
  .ind[data-layout="stack"] .ind-line { grid-row: span 3; }
  .ind[data-layout="stack"] .swap-head, .ind[data-layout="stack"] .swap, .ind[data-layout="stack"] .ind-foot { grid-column: 2; }
}
@media (max-width: 640px) {
  .swap-head { display: none; }
  .swap > li { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1280px) {
  .ind[data-layout="row"] { display: flex; min-height: 400px; border-bottom: 1px solid var(--line); }
  .ind[data-layout="row"] .ind-item { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; overflow: hidden; border-bottom: 0; border-left: 1px solid var(--line);
    transition: flex-grow 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.2s ease; }
  .ind[data-layout="row"] .ind-item:first-child { border-left: 0; }
  .ind[data-layout="row"] .ind-item.is-open { flex-grow: 4; background: var(--paper); }
  .ind[data-layout="row"] .ind-item:not(.is-open):hover { background: rgba(10, 42, 138, 0.05); }
  .ind[data-layout="row"] .ind-item:not(.is-open) .ind-head { flex: 1 1 auto; display: flex; }
  .ind[data-layout="row"] .ind-head button { flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 22px 16px; font-size: 18px; }
  .ind[data-layout="row"] .ind-item.is-open .ind-head button { cursor: default; padding-bottom: 6px; font-size: 15px; font-family: var(--sans); font-weight: 600; }
  .ind[data-layout="row"] .ind-item.is-open .ind-icon { display: none; }
  .ind[data-layout="row"] .ind-item:not(.is-open) .ind-icon { margin-top: 24px; }
  .ind[data-layout="row"] .ind-body { min-width: 500px; padding: 0 clamp(24px, 2.4vw, 40px) 28px 16px; }
  .ind[data-layout="row"] .ind-body.is-entering { animation-delay: 0.15s; }
  .ind[data-layout="row"] .ind-line { font-size: clamp(26px, 2.2vw, 32px); margin-bottom: 24px; }
}

/* Closing band: who we are, then the line and the inquiry */
.band-close { padding-block: clamp(64px, 8vw, 112px); }
.band-close h2 { margin-bottom: 14px; }
.band-close .text-link { color: var(--on-blue); }
.close-who { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(40px, 6vw, 120px); align-items: start; }
.close-lead p { margin: 0 0 20px; max-width: 34ch; }
.close-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px clamp(24px, 3.5vw, 56px); }
.close-person { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: start; }
.is-draft .close-person .photo.draft-only { display: grid; }
.close-person .photo { width: 120px; max-width: none; margin: 0; background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.4); }
.close-person .photo span { color: var(--on-blue); font-size: 34px; }
.close-person .photo small { color: var(--on-blue-muted); font-size: 11px; }
.close-person h3 { color: var(--on-blue); font-size: 22px; margin: 0 0 2px; }
.close-person .role { font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--on-blue-muted); margin: 0 0 10px; }
.close-person p { font-size: 15px; line-height: 1.55; margin: 0 0 10px; max-width: 44ch; }
.close-person a { color: var(--on-blue); font-size: 15px; overflow-wrap: anywhere; }
.close-cta { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px clamp(40px, 6vw, 120px); align-items: end; margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid rgba(255, 255, 255, 0.28); }
.band-close .close-line { font: 400 clamp(24px, 2.6vw, 36px)/1.3 var(--serif); color: var(--on-blue); margin: 0; max-width: 32ch; text-wrap: pretty; }
.close-actions .small { margin-top: 18px; }
.band-close .button-ghost { background: transparent; color: var(--on-blue); border-color: rgba(255, 255, 255, 0.7); }
.band-close .button-ghost:hover { background: var(--paper); color: var(--blue); border-color: var(--paper); }
@media (max-width: 1100px) { .close-who, .close-cta { grid-template-columns: minmax(0, 1fr); } }
/* Wide screens: the two photos meet in the middle, Davis's words to the left of his, Angus's to the right of his */
@media (min-width: 701px) {
  .close-people { gap: 32px 20px; }
  .close-person:first-child { grid-template-columns: minmax(0, 1fr) 120px; text-align: right; }
  .close-person:first-child .photo { order: 2; }
  .close-person:first-child p { margin-left: auto; }
}
@media (max-width: 700px) { .close-people { grid-template-columns: minmax(0, 1fr); } .close-person { grid-template-columns: 88px minmax(0, 1fr); } .close-person .photo { width: 88px; } }

@media (prefers-reduced-motion: reduce) {
  .text-link, .wwd-grid > li::before, .wwd-grid a::after, .ind-icon::before, .ind-icon::after, .ind[data-layout="row"] .ind-item { transition: none !important; }
  .ind-body.is-entering { animation: none; }
}

/* Draft-only notes and placeholders (hidden when build.py --launch drops the is-draft class) */
.draft-only { display: none; }
.is-draft .draft-only { display: block; }
.draft-note { margin-top: 12px; font-size: 13px; color: #4A3A00; background: #FFF4D6; border: 1px solid #E8D48A; padding: 6px 9px; }

/* Photos: a real one is img.photo; div.photo.draft-only is the dashed placeholder */
.photo { aspect-ratio: 4 / 5; max-width: 260px; background: var(--tint); border: 1px dashed #AEB5C5; margin-bottom: 22px; position: relative; }
.is-draft .photo.draft-only { display: grid; place-items: center; align-content: center; gap: 6px; }
.photo span { font: 500 44px var(--serif); color: var(--blue); }
.photo small { font-size: 12px; color: var(--muted); }
img.photo { display: block; height: auto; object-fit: cover; border: 0; background: none; }

/* Our process: space under the heading */
.section-how h2 { margin-bottom: clamp(36px, 4.5vw, 56px); }

/* Insights: a lead article, then the rest in two columns; articles get an "on this page" side column */
.post-lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); border-top: 1px solid var(--ink); padding-top: clamp(28px, 3vw, 40px); margin-bottom: clamp(48px, 6vw, 80px); }
.post-lead a { color: inherit; text-decoration: none; }
.post-lead h2 { font-size: clamp(30px, 3.4vw, 48px); margin: 12px 0 20px; max-width: 22ch; transition: color 0.2s ease; }
.post-lead a:hover h2 { color: var(--blue); }
.post-lead .dek { font-family: var(--serif); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; color: var(--muted); margin: 0; max-width: 46ch; }
.post-lead-side { align-self: end; }
.post-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 96px); }
.post-grid > li { border-top: 1px solid var(--ink); }
.post-grid a { display: block; padding: 24px 0 40px; color: inherit; text-decoration: none; }
.post-grid h3 { font-size: clamp(22px, 2vw, 28px); margin: 10px 0 12px; transition: color 0.2s ease; }
.post-grid a:hover h3 { color: var(--blue); }
.post-grid p { margin: 0; color: var(--muted); max-width: 52ch; }
.author { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.author b { color: var(--ink); font-weight: 600; }
.avatar { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: var(--on-blue); display: grid; place-items: center; font: 500 14px var(--sans); letter-spacing: 0.02em; }
@media (max-width: 760px) { .post-lead, .post-grid { grid-template-columns: minmax(0, 1fr); } }

.page-article .page-head h1 { max-width: 24ch; font-size: clamp(34px, 4.4vw, 60px); }
.page-article .byline { margin-top: 8px; }
.article-grid { display: grid; grid-template-columns: minmax(180px, 3fr) minmax(0, 9fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.article-aside { position: sticky; top: 104px; font-size: 14px; }
.article-aside .aside-head { font-weight: 600; color: var(--ink); margin: 0 0 10px; }
.article-aside ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.article-aside a { display: block; color: var(--muted); text-decoration: none; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; line-height: 1.3; }
.article-aside a:hover { color: var(--ink); }
.article-aside a[aria-current] { color: var(--ink); border-left-color: var(--blue); }
.article-aside .author { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .article-grid { grid-template-columns: minmax(0, 1fr); } .article-aside { position: static; } .article-aside ol { display: none; } .article-aside .aside-head { display: none; } .article-aside .author { margin-top: 0; padding-top: 0; border-top: 0; } }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.post-grid .author { margin-top: 20px; }
.post-meta { margin: 0; }
.section-head .intro, .section-head h2 + .intro { margin-top: 0; }

/* =====================================================================
   Fourth pass (2026-11-30, third website meeting). design.md has the why.
   What we do's line and links, the case study under the industries, and
   Our process in three versions (A/B cards, C the timeline).
   ===================================================================== */
.button-sm { padding: 11px 20px; font-size: 15px; }

/* The case study: under the industries, its line beside the button */
.cando-case { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; justify-self: auto; max-width: none; margin-top: clamp(28px, 3.5vw, 44px); }
.cando-case p { margin: 0; font: 400 clamp(19px, 1.6vw, 23px)/1.35 var(--serif); color: var(--ink); max-width: 46ch; }

/* Our process A and B: numbered cards. Hover (or focus, or a click) opens one; it widens and shows
   the live site's description and its link. One open at a time; the row's height is fixed, so
   opening a card never moves the page. Phones: a list that opens on tap. */
.pcards-row { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; }
.pcard { flex: 1 1 0; min-width: 0; position: relative; overflow: hidden; display: flex; flex-direction: column;
  min-height: 340px; padding: 26px 24px 26px; background: var(--paper); border: 1px solid var(--line);
  transition: flex-grow 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.25s ease, background-color 0.25s ease; }
.pcards[data-variant="a"] .pcard { min-height: 410px; }
.pcard::before { content: ""; position: absolute; top: -1px; left: -1px; width: 32px; height: 2px; background: var(--blue); transition: width 0.45s ease; }
.pcard.is-open { flex-grow: 4; border-color: var(--blue); }
.pcard.is-open::before { width: calc(100% + 2px); }
.pcards.has-open .pcard:not(.is-open):hover { background: var(--tint); }
.pcard-head { margin: 0; font-size: inherit; line-height: inherit; }
.pcard-head button { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; width: 100%; padding: 0; background: transparent; border: 0; text-align: left; cursor: pointer; color: var(--ink); font: inherit; }
.pcard-head button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.pcard-num { font: 400 44px/1 var(--serif); color: var(--blue); }
.pcard-title { font: 500 clamp(20px, 1.6vw, 24px)/1.2 var(--serif); transition: color 0.2s ease; }
.pcard.is-open .pcard-title, .pcard-head button:hover .pcard-title { color: var(--blue); }
.pcard-short { margin: 14px 0 0; font-size: 16px; line-height: 1.5; color: var(--muted); max-width: 32ch; transition: opacity 0.2s ease; }
.pcards.has-open .pcard:not(.is-open) .pcard-short { opacity: 0; visibility: hidden; }
.pcard-body { display: none; margin-top: 18px; }
.pcard.is-open .pcard-body { display: flex; flex-direction: column; flex: 1 1 auto; min-width: min(380px, 100%); }
.pcard.is-open .pcard-short { display: none; }
.pcard-body > p { margin: 0 0 20px; font-size: 17px; line-height: 1.6; color: var(--ink); max-width: 48ch; }
.pcard-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 4px; }
.pcard .tags { margin: -4px 0 22px; gap: 8px 18px; }
.pcard .tags li { font-size: 14px; padding-top: 8px; }
@media (prefers-reduced-motion: no-preference) {
  .pcard.is-open .pcard-body { animation: ind-in 0.35s 0.14s ease both; }
}
/* Step 5: dashed, with its "When it fits" tag on the number's line */
.pcard-five { border-style: dashed; border-color: rgba(10, 42, 138, 0.45); }
.pcard-five .pcard-head button { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; }
.pcard-five .pcard-title { flex-basis: 100%; }
/* B: Custom builds as a wide card under the four */
.pcard-wide { margin-top: 12px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(32px, 5vw, 96px); align-items: start;
  padding: 26px 24px 28px; border: 1px dashed rgba(10, 42, 138, 0.45); position: relative; }
.pcard-wide::before { content: ""; position: absolute; top: -1px; left: -1px; width: 32px; height: 2px; background: var(--blue); }
.pcard-num-row { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.pcard-wide h3 { font-size: clamp(20px, 1.6vw, 24px); margin: 0 0 10px; }
.pcard-wide-lead > p:not(.pcard-num-row) { margin: 0 0 20px; font-size: 17px; line-height: 1.6; max-width: 46ch; }
.pcard-wide .tags { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px clamp(20px, 2.5vw, 40px); align-self: center; }
@media (max-width: 900px) {
  .pcards-row { flex-direction: column; gap: 0; border-top: 1px solid var(--ink); }
  .pcard, .pcards[data-variant="a"] .pcard, .pcard.is-open { flex: none; min-height: 0; padding: 18px 0 20px; border: 0; border-bottom: 1px solid var(--line); background: transparent; }
  .pcard::before, .pcard-wide::before { display: none; }
  .pcard.is-open { border-color: var(--line); }
  .pcard-five { border-style: solid; }
  .pcard-head button { flex-direction: row; align-items: baseline; gap: 14px; }
  .pcard-num { font-size: 28px; min-width: 22px; }
  .pcard-five .pcard-title { flex-basis: auto; }
  .pcards.has-open .pcard:not(.is-open) .pcard-short { opacity: 1; visibility: visible; }
  .pcard-short { margin-top: 6px; padding-left: 36px; }
  .pcard-body { padding-left: 36px; }
  .pcard.is-open .pcard-body { min-width: 0; }
  .pcard-wide { grid-template-columns: minmax(0, 1fr); margin-top: 24px; padding: 20px; }
}
@media (max-width: 520px) { .pcard-wide .tags { grid-template-columns: minmax(0, 1fr); } }

/* Our process A: each card has its own photo of the founders under the hero's blue overlay, white text
   (images 2026-12-01: brand/media/README.md#our-process-card-images-2026-12-01-angus). Switching stays
   smooth: the photo is a fixed size (fills the open card and the 410px height, so it never zooms while
   cards widen), its position animates, and the two overlays cross-fade (closed: dark at the top, on the
   card's ::after; open: dark on the left, on the heading button's ::before, which positions against the
   card). On desktop the cards are exactly 410px tall and the opening text is laid out at full width from
   the first frame, so the row never grows into the next section. Custom builds: solid like the others. */
.pcards[data-variant="a"] .pcard { isolation: isolate; color: var(--on-blue); border: 1px solid rgba(10, 42, 138, 0.6);
  background: var(--blue) var(--pimg) 50% center / max(100%, 615px, min(46vw, 760px)) auto no-repeat;
  transition: flex-grow 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), background-position 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.25s ease; }
.pcards[data-variant="a"] .pcard:nth-child(1) { --pimg: url("assets/process-1-assessment.jpg?v=5"); background-position: 68% center; }
.pcards[data-variant="a"] .pcard:nth-child(2) { --pimg: url("assets/process-2-plan.jpg"); }
.pcards[data-variant="a"] .pcard:nth-child(3) { --pimg: url("assets/process-3-setup-and-training.jpg?v=2"); background-position: 60% center; }
.pcards[data-variant="a"] .pcard:nth-child(4) { --pimg: url("assets/process-4-ongoing-support.jpg?v=6"); background-position: 68% center; }
.pcards[data-variant="a"] .pcard:nth-child(5) { --pimg: url("assets/process-5-custom-builds.jpg?v=5"); }
.pcards[data-variant="a"] .pcard.is-open:nth-child(n) { background-position: 50% center; border-color: var(--blue-deep); }
.pcards[data-variant="a"] .pcard.is-open:nth-child(1) { background-position: 20% center; }
.pcards[data-variant="a"] .pcard::before { background: var(--on-blue); z-index: 1; }
.pcards[data-variant="a"] .pcard::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 30, 102, 0.92) 0%, rgba(10, 42, 138, 0.80) 45%, rgba(10, 42, 138, 0.55) 100%);
  transition: opacity 0.45s ease; }
.pcards[data-variant="a"] .pcard.is-open::after { opacity: 0; }
.pcards[data-variant="a"] .pcard-head button::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 30, 102, 0.94) 0%, rgba(10, 42, 138, 0.82) 45%, rgba(10, 42, 138, 0.40) 100%);
  opacity: 0; transition: opacity 0.45s ease; }
.pcards[data-variant="a"] .pcard.is-open .pcard-head button::before { opacity: 1; }
.pcards[data-variant="a"] .pcard-head button, .pcards[data-variant="a"] .pcard-num,
.pcards[data-variant="a"] .pcard-title, .pcards[data-variant="a"] .pcard.is-open .pcard-title,
.pcards[data-variant="a"] .pcard-head button:hover .pcard-title,
.pcards[data-variant="a"] .pcard-body > p, .pcards[data-variant="a"] .pcard .tags li { color: var(--on-blue); }
.pcards[data-variant="a"] .pcard .step-tag { color: var(--on-blue); border-color: rgba(255, 255, 255, 0.6); }
.pcards[data-variant="a"] .pcard .button-ghost { color: var(--on-blue); border-color: rgba(255, 255, 255, 0.75); background: transparent; }
.pcards[data-variant="a"] .pcard .button-ghost:hover { background: var(--on-blue); color: var(--blue); }
.pcards[data-variant="a"].has-open .pcard:not(.is-open):hover { background-color: var(--blue); }
@media (min-width: 901px) {
  .pcards[data-variant="a"] .pcard { height: 410px; }
  .pcards[data-variant="a"] .pcard.is-open .pcard-body { min-width: min(380px, 30vw); }
}
@media (max-width: 900px) {
  .pcards[data-variant="a"] .pcard, .pcards[data-variant="a"] .pcard.is-open { padding: 18px 16px 20px; border: 0; margin-bottom: 8px; background-size: cover; }
}

/* Our process C: the timeline. Steps 1-4 on a solid line, each showing its full description on hover
   (in the same space, so nothing moves). Step 5 sits narrower at the end of a dashed segment; opening
   it draws the dotted line out, down and back under the steps to Custom builds, as the page opens. */
.ptl { position: relative; }
.ptl-svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.ptl-svg path { fill: none; stroke-width: 1; }
.ptl-solid { stroke: var(--line); }
.ptl-dash, .ptl-drop { stroke: rgba(10, 42, 138, 0.55); stroke-dasharray: 4 6; }
.ptl-steps { --gap-x: clamp(28px, 4vw, 44px); list-style: none; margin: 0; padding: 0; position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 0.62fr); gap: 0 var(--gap-x); }
.ptl-step { display: grid; align-content: start; gap: 12px; min-width: 0; }
.ptl-step .step-num { font: 400 44px/1 var(--serif); color: var(--blue); height: 48px; }
.ptl-dot { display: block; width: 11px; height: 11px; background: var(--blue); margin-block: 4px 18px; position: relative; z-index: 1;
  box-shadow: 0 0 0 6px var(--paper); transition: transform 0.25s ease, background-color 0.3s ease; }
.ptl-step:hover .ptl-dot, .ptl-step:focus-within .ptl-dot { transform: scale(1.35); }
.ptl-step h3 { margin: 0; font-size: clamp(20px, 1.6vw, 23px); }
.ptl-step h3 a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); transition: color 0.2s ease, border-color 0.2s ease; }
.ptl-step h3 a:hover { color: var(--blue); border-bottom-color: var(--blue); }
.ptl-text { display: grid; }
.ptl-short, .ptl-long { grid-area: 1 / 1; margin: 0; font-size: 16px; line-height: 1.55; transition: opacity 0.25s ease, visibility 0.25s; }
.ptl-short { color: var(--muted); }
.ptl-long { color: var(--ink); opacity: 0; visibility: hidden; }
@media (hover: hover) and (min-width: 901px) {
  .ptl-step:hover .ptl-short, .ptl-step:focus-within .ptl-short { opacity: 0; visibility: hidden; }
  .ptl-step:hover .ptl-long, .ptl-step:focus-within .ptl-long { opacity: 1; visibility: visible; }
}
/* Step 5 */
.ptl-five .ptl-dot { background: var(--paper); border: 1px solid var(--blue); }
.ptl.is-open .ptl-five .ptl-dot { background: var(--blue); }
.ptl-five .step-num-tagged { display: flex; align-items: baseline; gap: 10px; }
.ptl-open { display: inline-flex; align-items: center; gap: 12px; padding: 0 0 2px; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  font: inherit; color: inherit; text-align: left; cursor: pointer; transition: color 0.2s ease, border-color 0.2s ease; }
.ptl-open:hover, .ptl.is-open .ptl-open { color: var(--blue); border-bottom-color: var(--blue); }
.ptl-open:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.ptl-chev { width: 8px; height: 8px; border-right: 1.5px solid var(--blue); border-bottom: 1.5px solid var(--blue); transform: translateY(-2px) rotate(45deg); transition: transform 0.3s ease; flex: 0 0 auto; }
.ptl.is-open .ptl-chev { transform: translateY(2px) rotate(-135deg); }
.ptl-short-five { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
/* The panel: open without script; with it, closed until step 5 is opened */
.ptl-panel { display: grid; grid-template-rows: 1fr; position: relative; z-index: 1; }
.ptl.ptl-js .ptl-panel { grid-template-rows: 0fr; transition: grid-template-rows 0.55s cubic-bezier(0.3, 0.6, 0.2, 1); }
.ptl.ptl-js.is-open .ptl-panel { grid-template-rows: 1fr; }
.ptl-panel-inner { min-height: 0; overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 clamp(32px, 5vw, 96px); align-items: start; padding-top: 64px; }
.ptl-panel-inner > .ptl-dot-end { grid-column: 1 / -1; background: var(--paper); border: 1px solid var(--blue); }
.ptl.is-reached .ptl-dot-end { background: var(--blue); }
.ptl-panel-lead h3 { font-size: clamp(20px, 1.6vw, 23px); margin: 0 0 10px; }
.ptl-panel-lead p { margin: 0 0 20px; font-size: 17px; line-height: 1.6; max-width: 46ch; }
.ptl-panel .tags { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px clamp(20px, 2.5vw, 40px); padding-top: 6px; }
.ptl.ptl-js .ptl-panel-lead, .ptl.ptl-js .ptl-panel .tags { opacity: 0; transform: translateY(8px); transition: opacity 0.35s ease, transform 0.35s ease; }
.ptl.ptl-js.is-open .ptl-panel-lead, .ptl.ptl-js.is-open .ptl-panel .tags { opacity: 1; transform: none; transition-delay: 0.45s; }
.ptl.ptl-js.is-open .ptl-panel .tags { transition-delay: 0.55s; }
.ptl-panel-inner { padding-bottom: 4px; }
@media (max-width: 900px) {
  .ptl-svg { display: none; }
  .ptl-steps { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-left: 36px; }
  .ptl-step { position: relative; gap: 8px; }
  .ptl-step > .ptl-dot { position: absolute; left: -36px; top: 10px; margin: 0; }
  .ptl-step .step-num { font-size: 30px; height: auto; }
  .ptl-step:not(:last-child)::before { content: ""; position: absolute; top: 18px; left: -31px; width: 1px; height: calc(100% + 32px); background: var(--line); }
  .ptl-step:nth-child(4)::before { background: repeating-linear-gradient(180deg, rgba(10, 42, 138, 0.5) 0 4px, transparent 4px 10px); }
  .ptl-long { display: none; }
  .ptl-panel { padding-left: 36px; }
  .ptl-panel-inner { grid-template-columns: minmax(0, 1fr); padding-top: 24px; gap: 18px; }
  .ptl-panel-inner > .ptl-dot-end { display: none; }
  .ptl-panel .tags { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .pcard, .pcard::before, .ptl-dot, .ptl-short, .ptl-long, .ptl-chev, .ptl.ptl-js .ptl-panel,
  .ptl.ptl-js .ptl-panel-lead, .ptl.ptl-js .ptl-panel .tags { transition: none !important; }
}

/* =====================================================================
   Final pass (2026-11-30, fourth website meeting): the launch version.
   ===================================================================== */
/* What AI can do: each industry's link sits on the right */
.ind-foot { justify-content: flex-end; }
/* The case study: its line, with a text link underneath */
.cando-case { display: grid; gap: 10px; justify-items: start; }
.cando-case .text-link { font-size: 16px; }
/* Who we are: photo then words for each founder, left to right; each photo in a thin white frame;
   the email sits at the bottom of each bio so the two line up */
.close-person { align-items: stretch; }
.close-person img.photo { align-self: start; border: 3px solid #fff; box-sizing: border-box; }
.close-person > div { display: flex; flex-direction: column; }
.close-person > div > a { margin-top: auto; align-self: flex-start; }
@media (min-width: 701px) {
  .close-people { gap: 32px clamp(24px, 3.5vw, 56px); }
  .close-person:first-child { grid-template-columns: 120px minmax(0, 1fr); text-align: left; }
  .close-person:first-child .photo { order: 0; }
  .close-person:first-child p { margin-left: 0; }
}
/* Footer: bigger LinkedIn and Instagram links, with their icons */
.footer-links a { font-size: 16px; gap: 10px; }
.footer-links .footer-icon { width: 22px; height: 22px; }
/* Link cards: each card's blue link sits at the bottom, so links in a row line up */
.links > li { display: flex; }
.links a { display: flex; flex-direction: column; flex: 1 1 auto; }
.links .more { margin-top: auto; }
/* About: At a glance fills the width */
.facts-wide th { width: 24%; }
.people-wide .person img.photo { width: 100%; max-width: 220px; }
/* Contact page (live 11-30): honeypot, errors, week-by-week dates, the email block like the old site's */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0 0 16px; padding: 12px 14px; border-left: 3px solid #B42318; background: #FEF3F2; color: #7A271A; font-size: 15px; }
.cal-week { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 14px; }
.cal-range { font: 500 18px/1.3 var(--serif); color: var(--ink); text-align: center; }
.cal-nav { font: 400 26px/1 var(--serif); width: 44px; height: 44px; background: var(--paper); border: 1px solid #AEB5C5; color: var(--ink); cursor: pointer; }
.cal-nav:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.cal-nav:disabled { opacity: 0.35; cursor: default; }
.cal-day:disabled { opacity: 0.4; cursor: default; }
.cal-day:disabled:hover { border-color: #AEB5C5; color: var(--ink); }
.cal-times .cal-empty { grid-column: 1 / -1; margin: 0; font-size: 15px; color: var(--muted); }
.cal-days .cal-empty { grid-column: 1 / -1; margin: 0; font-size: 15px; color: var(--muted); }
.link-button { background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; font: inherit; color: var(--blue); padding: 0; }
.side .contact-line { margin: 0 0 18px; font-size: 18px; }
.side .contact-or { margin: 0 0 12px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.contact-founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.contact-founders .contact-name { margin: 0 0 4px; color: var(--muted); }
.contact-founders > div + div { border-left: 1px solid var(--line); padding-left: 24px; }
.contact-founders a { font-size: 15px; }
.side-next { margin-top: 40px; }
.next-steps { margin: 0; padding-left: 1.2em; color: var(--muted); }
.next-steps li { margin-bottom: 8px; }
.side .note { margin-top: 24px; }
@media (max-width: 420px) { .contact-founders { grid-template-columns: minmax(0, 1fr); } .contact-founders > div + div { border-left: 0; padding-left: 0; } }
.people-wide .person { display: flex; flex-direction: column; }
.people-wide .person > p:last-child { margin-top: auto; }
