/* FluxCB — palette and type from the brand concept board */
:root {
  --graphite: #2B2B2B;
  --ivory: #F6EBD7;
  --steel: #7A8288;
  --teal: #2F8F8A;
  --copper: #B65E3C;
  --blue: #2E5E9A;
  --line: rgba(43, 43, 43, .14);
  --display: "Saira", "Arial Narrow", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --radius: 10px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 var(--body); color: var(--graphite); background: var(--ivory); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-style: italic; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-style: italic; font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; font: 600 1rem var(--body); padding: .78em 1.25em; border-radius: 8px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--copper); color: #fff; }
.btn-primary:hover { background: var(--graphite); }
.btn-ghost { border-color: currentColor; color: var(--blue); background: transparent; }
.btn-ghost:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.on-dark .btn-ghost { color: #fff; }
.on-dark .btn-ghost:hover { background: #fff; border-color: #fff; color: var(--graphite); }
.btn-light { background: #fff; color: var(--graphite); }
.btn-light:hover { background: var(--ivory); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }
.arrow::after { content: "→"; }

/* Header */
.site-header { background: var(--ivory); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { text-decoration: none; display: block; }
.brand-mark { height: 46px; width: auto; max-width: none; }
.brand-sub { display: block; font: 600 .56rem var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--graphite); margin: 2px 0 0 28px; }
.brand-sub i { color: var(--copper); font-style: normal; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) { color: var(--graphite); text-decoration: none; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current] { border-bottom-color: var(--copper); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--graphite); margin: 5px 0; }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ivory); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 14px; justify-content: center; }
}

/* Blueprint dark surfaces */
.on-dark { color: #fff; background-color: var(--blue);
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(var(--blue), var(--blue));
  background-size: 32px 32px, 32px 32px, 100% 100%; }
.on-dark a:not(.btn) { color: #fff; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center; padding: 72px 0 64px; }
.hero p.lead { font-size: 1.18rem; max-width: 34em; color: #fff; }
.hero-art { width: 100%; height: auto; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; padding: 48px 0 36px; } .hero-art { max-width: 520px; margin-inline: auto; } }
.page-hero .wrap { padding: 56px 0 48px; }
.page-hero p { max-width: 44em; font-size: 1.12rem; color: #fff; margin: 0; }
.eyebrow { font: 600 .78rem var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--graphite); margin-bottom: 1em; display: block; }
.eyebrow::before { content: "// "; }
.on-dark .eyebrow { color: var(--ivory); }

/* Sections */
.section { padding: 64px 0; }
.section.tint { background: #fff; }
.section-head { max-width: 46em; margin-bottom: 32px; }
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } .section { padding: 48px 0; } }

.icon { width: 40px; height: 40px; max-width: none; stroke: var(--teal); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.on-dark .icon, .path-card .icon { stroke: #fff; }

/* Outcome strip */
.outcomes { background: #fff; border-bottom: 1px solid var(--line); }
.outcomes .grid { padding: 26px 0; gap: 0; }
.outcome { display: flex; gap: 14px; align-items: center; padding: 8px 22px; border-left: 1px solid var(--line); }
.outcome:first-child { border-left: 0; padding-left: 0; }
.outcome b { font: 700 1.05rem var(--display); display: block; }
.outcome span { font-size: .9rem; color: var(--graphite); }
@media (max-width: 900px) { .outcome { border-left: 0; padding: 12px 0; } }

/* Path cards */
.path-card { border-radius: var(--radius); padding: 34px 32px; color: #fff; position: relative; overflow: hidden; text-decoration: none; display: block;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(var(--graphite), var(--graphite));
  background-size: 28px 28px, 28px 28px, 100% 100%; }
.path-card.people { background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(var(--blue), var(--blue)); }
.path-card .kicker { font: 600 .75rem var(--body); letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.path-card h3 { font-size: 2rem; font-style: italic; font-weight: 800; margin: .2em 0 .35em; display: flex; align-items: center; gap: 12px; }
.path-card p { max-width: 26em; color: #fff; }
.path-card .btn { margin-top: 6px; }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card .icon { margin-bottom: 14px; }
.card p:last-child { margin-bottom: 0; }
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { padding-left: 1.7em; position: relative; margin-bottom: .55em; }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: .9em; height: .5em; border-left: 2.5px solid var(--copper); border-bottom: 2.5px solid var(--copper); transform: rotate(-45deg); }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 18px 0 0; }
.steps li::before { content: counter(step, decimal-leading-zero); font: 700 .85rem var(--display); color: #fff; background: var(--blue); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 14px; position: relative; z-index: 1; }
.steps li::after { content: ""; position: absolute; top: 18px; left: 38px; right: 0; border-top: 2px dashed var(--copper); }
.steps li:last-child::after { display: none; }
.steps b { font: 700 1.1rem var(--display); display: block; }
.steps span { font-size: .93rem; color: var(--graphite); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 20px; } .steps li { padding-left: 54px; } .steps li::before { position: absolute; left: 0; top: 0; } .steps li::after { top: 38px; left: 18px; right: auto; bottom: -20px; border-top: 0; border-left: 2px dashed var(--copper); } }

/* Split solution blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 24px; } }
.tag { display: inline-block; font: 600 .75rem var(--body); letter-spacing: .14em; text-transform: uppercase; background: #fff; border: 1.5px solid var(--teal); color: var(--graphite); padding: 4px 10px; border-radius: 99px; margin-bottom: 12px; }
.note { font-size: .9rem; color: var(--graphite); border-left: 3px solid var(--copper); padding: 2px 0 2px 14px; }

/* Motto band */
.motto { text-align: center; padding: 64px 0; }
.motto .big { font: italic 400 clamp(2.2rem, 5vw, 3.4rem)/1.1 var(--serif); margin: 0; }
.motto .sub { letter-spacing: .4em; text-transform: uppercase; font-size: .9rem; margin: .8em 0 1.2em; }
.motto p.line { max-width: 36em; margin: 0 auto; font-style: italic; color: #fff; }

/* CTA band */
.cta-band { background: var(--graphite); color: #fff; padding: 52px 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cta-band h2 { margin: 0 0 .2em; }
.cta-band p { margin: 0; color: #fff; }

/* Story */
.story { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.story-text p { max-width: 40em; }
.story-text .pull { font: italic 700 1.5rem/1.25 var(--display); border-left: 4px solid var(--copper); padding-left: 16px; margin: 1.4em 0; }
.photo { background: #fff; padding: 10px 10px 12px; border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0,0,0,.12); transform: rotate(-1.5deg); margin: 0 0 28px; }
.photo figcaption { font-size: .82rem; color: var(--graphite); padding-top: 8px; text-align: center; }
.value { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.value b { font: italic 700 1.15rem var(--display); display: block; }
.value span { font-size: .95rem; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }

/* Form */
.form-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 44px; align-items: start; }
@media (max-width: 860px) { .form-grid { grid-template-columns: 1fr; } }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { form .row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: .92rem; margin: 0 0 16px; }
label small { font-weight: 400; color: var(--graphite); }
input, select, textarea { display: block; width: 100%; margin-top: 6px; font: 400 1rem var(--body); padding: .7em .8em; border: 1.5px solid var(--steel); border-radius: 8px; background: #fff; color: var(--graphite); }
textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .86rem; color: var(--graphite); }
.form-status { font-weight: 600; margin-top: 12px; }

/* Footer */
.site-footer { border-top: 5px solid var(--teal); background: var(--graphite); color: #fff; padding: 48px 0 24px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer a { display: block; color: #fff; text-decoration: none; padding: 3px 0; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand { font: italic 800 1.6rem var(--display); color: #fff; margin: 0; }
.footer-tag { margin: 0 0 .6em; }
.footer-motto em { font-family: var(--serif); }
.footer-h { font: 600 .75rem var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--ivory); margin-bottom: .6em; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 28px; padding-top: 18px; font-size: .82rem; color: #fff; }
.footer-legal p { margin: 0; }

.prose { max-width: 46em; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }

/* Nav dropdowns */
.has-sub { position: relative; }
.caret { display: inline-block; width: .45em; height: .45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 4px; }
.submenu { display: none; position: absolute; top: 100%; left: -14px; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 28px rgba(0,0,0,.14); padding: 8px; z-index: 60; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu { display: block; }
.site-nav .submenu a:not(.btn) { display: block; padding: 9px 12px; border: 0; border-radius: 6px; font-weight: 500; }
.site-nav .submenu a:not(.btn):hover { background: var(--ivory); }
.submenu small { display: block; font-size: .8rem; color: var(--graphite); font-weight: 400; }
@media (max-width: 960px) {
  .submenu { display: block; position: static; border: 0; box-shadow: none; background: transparent; padding: 0 0 0 16px; min-width: 0; }
  .site-nav .submenu a:not(.btn) { padding: 10px 0; border-bottom: 1px solid var(--line); border-radius: 0; font-size: .95rem; }
  .submenu small { display: inline; margin-left: 6px; }
  .caret { display: none; }
}
.hero p.lead-2 { max-width: 36em; color: #fff; }
.partner-name { font: italic 800 1.9rem var(--display); margin: 0 0 .3em; color: var(--blue); }
.partner a { font-weight: 600; }
[id] { scroll-margin-top: 96px; }
@media (min-width: 961px) { .has-sub { display: flex; } .has-sub > a { display: inline-flex; align-items: center; } .caret { transform: rotate(45deg) translate(-1px, -1px); margin-left: 8px; } }

/* Focus outline that stays visible on dark surfaces */
.on-dark :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible, .path-card :focus-visible { outline-color: #fff; }

/* Hero additions */
.hero-grid { padding-bottom: 44px; }
.pick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; font-size: .95rem; }
.pick span { color: #fff; margin-right: 2px; }
.pick a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border: 1px solid rgba(255,255,255,.45); border-radius: 99px; text-decoration: none; font-weight: 500; background: rgba(255,255,255,.06); }
.pick a:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.pick .icon { width: 22px; height: 22px; }
.partner-strip { background: var(--graphite); }
.partner-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 34px; padding: 14px 0; font-size: .92rem; }
.partner-strip span { font: 600 .72rem var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--ivory); }
.partner-strip a { text-decoration: none; color: #fff; }
.partner-strip a:hover { text-decoration: underline; }
.partner-strip b { font: italic 800 1.25rem var(--display); color: #fff; margin-right: 6px; }
@media (prefers-reduced-motion: no-preference) { .lane { animation: lane 2.4s linear infinite; } }
@keyframes lane { to { stroke-dashoffset: -64; } }

/* Problem tabs */
.tablist { display: inline-flex; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 99px; margin-bottom: 24px; }
.tablist button { font: 600 .98rem var(--body); padding: .6em 1.2em; border: 0; border-radius: 99px; background: transparent; color: var(--graphite); cursor: pointer; }
.tablist button[aria-selected="true"] { background: var(--blue); color: #fff; }
.js [data-tabs] .panel[hidden] { display: none; }
.panel + .panel { margin-top: 28px; }
.js .panel + .panel { margin-top: 0; }
.pains { margin-bottom: 24px; }
.pain { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--copper); border-radius: var(--radius); padding: 20px; }
.pain b { font: 700 1.1rem var(--display); display: block; margin-bottom: .35em; }
.pain p { margin: 0; font-size: .97rem; }

/* Path cards with bullets */
.path-card p { margin-bottom: .8em; }
.checks.light li::before { border-color: var(--ivory); }
.checks.light { color: #fff; }
.path-card .btn-row { margin-top: 1em; }
.path-card .btn-ghost { color: #fff; }
.path-card .btn-ghost:hover { background: #fff; border-color: #fff; color: var(--graphite); }

/* Steps deliverables */
.steps em { display: block; font-style: normal; font-size: .86rem; font-weight: 600; color: var(--blue); margin-top: 8px; padding-right: 6px; }

/* Founder band */
.founder { padding: 72px 0; }
.founder-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.founder .photo { margin: 0; color: var(--graphite); }
.founder .big { font: italic 400 clamp(2.2rem, 5vw, 3.2rem)/1.1 var(--serif); margin: 0; }
.founder .sub { letter-spacing: .4em; text-transform: uppercase; font-size: .88rem; margin: .7em 0 1.4em; }
.founder blockquote { margin: 0 0 1.2em; padding-left: 20px; border-left: 3px solid var(--ivory); }
.founder blockquote p { font-size: 1.2rem; line-height: 1.55; margin: 0 0 .5em; }
.founder blockquote footer { font-size: .92rem; color: #fff; }
.founder .line { font-style: italic; color: #fff; max-width: 34em; }
@media (max-width: 860px) { .founder-grid { grid-template-columns: 1fr; gap: 32px; } .founder .photo { max-width: 420px; } .founder { padding: 52px 0; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 8px; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font: 700 1.12rem var(--display); padding: 18px 40px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 400 1.6rem var(--body); color: var(--copper); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; max-width: 40em; }

/* Closing band buttons */
.cta-band .btn-row { margin-top: 0; }

/* Cards lift */
.card, .pain { transition: transform .18s ease, box-shadow .18s ease; }
.card:hover, .pain:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,.09); }
.path-card { box-shadow: 0 10px 30px rgba(43,43,43,.18); }

/* Reveal on scroll (only when JS is running and motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* Hero photo (from the mockup), fading into the blueprint teal */
.hero-main { position: relative; }
.hero-photo { position: absolute; top: 0; right: 0; height: 100%; width: 56%; max-width: none; object-fit: cover; object-position: 38% 60%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 42%); mask-image: linear-gradient(90deg, transparent 0, #000 42%); }
.hero-grid { position: relative; grid-template-columns: 1.1fr .9fr; min-height: 540px; }
.hero h1 { text-shadow: 0 2px 18px rgba(43,43,43,.55); }
@media (max-width: 860px) {
  .hero-photo { position: static; width: 100%; height: 240px; -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 30%); mask-image: linear-gradient(0deg, transparent 0, #000 30%); order: 2; }
  .hero-main { display: flex; flex-direction: column-reverse; }
  .hero-grid { min-height: 0; grid-template-columns: 1fr; padding-bottom: 12px; }
  .hero-spacer { display: none; }
}
/* Product card imagery (from the mockup) */
.path-card > * { position: relative; z-index: 1; }
.path-card::after { content: ""; position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; width: 46%; background: url(/assets/card-port.jpg) center/cover; opacity: .9;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 75%); mask-image: linear-gradient(90deg, transparent 0, #000 75%); }
.path-card.people::after { background-image: url(/assets/card-bus.jpg); background-position: left center; }
.path-card p, .path-card ul { max-width: 62%; }
@media (max-width: 640px) { .path-card::after { display: none; } .path-card p, .path-card ul { max-width: none; } }

/* ---------- Inner pages (same system as the home page) ---------- */
.page-hero { position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; padding: 64px 0 56px; }
.page-hero h1 { max-width: 15em; text-shadow: 0 2px 18px rgba(43,43,43,.55); }
.page-hero::after { content: ""; position: absolute; right: max(calc((100vw - 1140px) / 2 - 30px), 0px); bottom: -46px; width: 470px; height: 352px; background: url(/assets/blueprint-road.svg) no-repeat center / contain; opacity: .5; }
.page-hero.photo::after { right: 0; bottom: 0; top: 0; width: 52%; height: auto; opacity: 1; background: url(/assets/hero-road.jpg) 38% 62% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 48%); mask-image: linear-gradient(90deg, transparent 0, #000 48%); }
.page-hero p { max-width: 36em; }
.page-hero .pick { margin-top: 22px; }
@media (max-width: 960px) { .page-hero::after { opacity: .16; right: -120px; } .page-hero.photo::after { opacity: .3; width: 100%; -webkit-mask-image: none; mask-image: none; } }

/* Solution banner + list panel */
.panel-stack .path-card { border-radius: var(--radius) var(--radius) 0 0; padding: 24px 28px; }
.panel-stack .path-card h3 { margin-bottom: 0; }
.panel-stack .card { border-radius: 0 0 var(--radius) var(--radius); border-top: 0; }
.fit { list-style: none; margin: 0 0 1.2em; padding: 14px 18px; background: #fff; border-left: 4px solid var(--teal); border-radius: 0 8px 8px 0; }
.tint .fit { background: var(--ivory); }
.fit b { display: block; font: 700 1rem var(--display); margin-bottom: 2px; }

/* Offer cards (ways to start) */
.offer { display: flex; flex-direction: column; }
.offer .num { font: 800 .8rem var(--display); letter-spacing: .18em; color: var(--graphite); margin-bottom: 10px; }
.offer p { flex: 1; }
.offer a { font-weight: 600; }

/* Responsibility flow */
.flow { display: grid; grid-template-columns: 1fr auto 1.15fr auto 1fr; gap: 14px; align-items: stretch; }
.flow .node { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.flow .node.main { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 10px 30px rgba(43,43,43,.2); }
.flow .node small { font: 600 .72rem var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--graphite); display: block; margin-bottom: 8px; }
.flow .node.main small { color: var(--ivory); }
.flow .node b { font: italic 800 1.5rem var(--display); display: block; margin-bottom: 6px; }
.flow .node p { margin: 0; font-size: .96rem; }
.flow .link { align-self: center; color: var(--copper); font-size: 1.7rem; line-height: 1; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr; } .flow .link { transform: rotate(90deg); justify-self: center; } }

/* About */
.story aside { position: sticky; top: 100px; }
@media (max-width: 860px) { .story aside { position: static; } }
.principles { background: var(--blue); color: #fff; border-radius: var(--radius); padding: 24px; }
.principles .big { font: italic 400 2rem/1.1 var(--serif); margin: 0; }
.principles .sub { letter-spacing: .34em; text-transform: uppercase; font-size: .78rem; margin: .6em 0 1.2em; }
.principles dl { margin: 0; }
.principles dt { font: 600 .7rem var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--ivory); margin-top: 12px; }
.principles dd { margin: 2px 0 0; }
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.values-grid .card { padding: 22px 18px; }
.values-grid h3 { font-style: italic; font-size: 1.12rem; }
.values-grid p { font-size: .93rem; }
@media (max-width: 1000px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }
.story-text > p:first-child { font: italic 700 1.45rem/1.3 var(--display); color: var(--blue); }

/* Contact */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.form-card h2 { font-size: 1.5rem; }
.next { list-style: none; counter-reset: n; margin: 0 0 1.2em; padding: 0; }
.next li { counter-increment: n; position: relative; padding: 0 0 16px 46px; }
.next li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; font: 700 .9rem var(--display); display: grid; place-items: center; }
.next b { display: block; font: 700 1.02rem var(--display); }
.next span { font-size: .94rem; color: var(--graphite); }
.side-stack > * + * { margin-top: 20px; }

/* The mockup photos are small; keep them near their real size so they stay sharp */
@media (min-width: 861px) { .hero-photo { width: min(54%, 660px); } }
.path-card::after { width: 38%; }
.panel .btn-row { margin-top: 0; }

/* Tablet fixes */
.btn { white-space: nowrap; }
@media (max-width: 1120px) and (min-width: 961px) { .site-nav { gap: 18px; } .nav-cta { padding: .7em 1em; font-size: .95rem; } .brand-mark { height: 40px; } }
@media (max-width: 900px) { #paths .g2 { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .btn { white-space: normal; } }

/* Palette lock: only the six docx colours (plus white). */
.eyebrow::before { color: var(--copper); }
.on-dark .eyebrow, .on-dark .eyebrow::before { color: var(--ivory); }
.path-card:not(.people) { box-shadow: inset 0 5px 0 var(--teal), 0 10px 30px rgba(43,43,43,.18); }

/* ---------- Bento section (tiles of different sizes) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile { background: var(--ivory); border: 1px solid var(--line); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(43,43,43,.12); }
.tile .icon { margin-bottom: 14px; }
.tile p:last-child { margin-bottom: 0; }
.t-lead { grid-column: span 2; grid-row: span 2; background-color: var(--blue); color: #fff; border-color: var(--blue); padding: 36px; justify-content: center;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 28px 28px; }
.t-lead .eyebrow, .t-lead .eyebrow::before { color: var(--ivory); }
.t-lead h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.t-lead p { font-size: 1.08rem; }
.t-team { grid-column: span 2; background: var(--graphite); color: #fff; border-color: var(--graphite); }
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: auto; padding-top: 14px; font: 600 .95rem var(--body); }
.chain span { border: 1.5px solid #fff; border-radius: 99px; padding: 6px 14px; }
.chain span.on { background: var(--copper); border-color: var(--copper); }
.chain i { font-style: normal; color: var(--ivory); }
.t-principle { background: #fff; border-top: 5px solid var(--teal); }
.t-principle .serif { font: italic 400 1.9rem/1.1 var(--serif); margin: 0 0 .4em; }
.t-partners { grid-column: span 3; background: #fff; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.duo > div + div { border-left: 1px solid var(--line); padding-left: 28px; }
.duo a { font-weight: 600; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, 1fr); } .t-lead, .t-team, .t-partners { grid-column: span 2; } .t-lead { grid-row: auto; } .t-principle { grid-column: span 2; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .t-lead, .t-team, .t-partners, .t-principle { grid-column: auto; } .duo { grid-template-columns: 1fr; } .duo > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 20px; } }

/* ---------- Motion ---------- */
.site-header { transition: box-shadow .2s ease; }
.site-header.scrolled { box-shadow: 0 6px 20px rgba(43,43,43,.12); }
.arrow::after { display: inline-block; transition: transform .16s ease; }
.arrow:hover::after { transform: translateX(4px); }
.btn { transition: background .15s, color .15s, border-color .15s, transform .12s; }
.btn:active { transform: translateY(1px); }
@media (prefers-reduced-motion: no-preference) {
  /* hero entrance */
  .hero-grid > div > * { animation: rise .6s ease both; }
  .hero-grid > div > *:nth-child(2) { animation-delay: .08s; }
  .hero-grid > div > *:nth-child(3) { animation-delay: .16s; }
  .hero-grid > div > *:nth-child(4) { animation-delay: .24s; }
  .hero-grid > div > *:nth-child(5) { animation-delay: .32s; }
  .hero-grid > div > *:nth-child(6) { animation-delay: .4s; }
  .hero-photo { animation: settle 1.4s ease-out both; }
  .page-hero .wrap > * { animation: rise .55s ease both; }
  .page-hero .wrap > *:nth-child(2) { animation-delay: .07s; }
  .page-hero .wrap > *:nth-child(3) { animation-delay: .14s; }
  .page-hero .wrap > *:nth-child(4) { animation-delay: .21s; }
  /* staggered cards and tiles */
  .js .grid > .reveal:nth-child(2), .js .bento > .reveal:nth-child(2), .js .values-grid > .reveal:nth-child(2) { transition-delay: .08s; }
  .js .grid > .reveal:nth-child(3), .js .bento > .reveal:nth-child(3), .js .values-grid > .reveal:nth-child(3) { transition-delay: .16s; }
  .js .grid > .reveal:nth-child(4), .js .bento > .reveal:nth-child(4), .js .values-grid > .reveal:nth-child(4) { transition-delay: .24s; }
  .js .grid > .reveal:nth-child(5), .js .bento > .reveal:nth-child(5), .js .values-grid > .reveal:nth-child(5) { transition-delay: .32s; }
  .js .grid > .reveal:nth-child(6), .js .bento > .reveal:nth-child(6) { transition-delay: .4s; }
  /* steps arrive one by one, the dashed line draws across */
  .js .steps.reveal li { opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; }
  .js .steps.reveal.in li { opacity: 1; transform: none; }
  .js .steps.reveal.in li:nth-child(2) { transition-delay: .15s; }
  .js .steps.reveal.in li:nth-child(3) { transition-delay: .3s; }
  .js .steps.reveal.in li:nth-child(4) { transition-delay: .45s; }
  .js .steps.reveal.in li:nth-child(5) { transition-delay: .6s; }
  .js .steps.reveal li::after { transform: scaleX(0); transform-origin: left; transition: transform .5s ease .25s; }
  .js .steps.reveal.in li::after { transform: scaleX(1); }
  /* tab panels fade in when switched */
  .js [data-tabs] .panel:not([hidden]) { animation: rise .35s ease both; }
  /* photo frames straighten slightly on hover */
  .photo { transition: transform .25s ease; }
  .photo:hover { transform: rotate(0deg) scale(1.02); }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
@media (max-width: 860px) { .js .steps.reveal li::after { transform: none; } }

/* Full-size stock photos: no need to hold them small any more */
@media (min-width: 861px) { .hero-photo { width: 58%; object-position: 50% 45%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%); mask-image: linear-gradient(90deg, transparent 0, #000 38%); } }
@media (max-width: 860px) { .hero-photo { height: 260px; object-position: 50% 40%; } }
.path-card::after { width: 44%; background-position: center; }
.path-card.people::after { background-position: center; }
.path-card::after { width: 36%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60%); mask-image: linear-gradient(90deg, transparent 0, #000 60%); }

/* Longer line under the logo: keep it on one line */
.brand-sub { white-space: nowrap; letter-spacing: .16em; }
@media (max-width: 1180px) { .brand-sub { font-size: .5rem; letter-spacing: .1em; margin-left: 24px; } }
@media (max-width: 400px) { .brand-sub { font-size: .46rem; letter-spacing: .08em; } }
@media (max-width: 375px) { .brand-sub { white-space: normal; max-width: 230px; } }
/* With the longer logo line the full menu no longer fits below ~1100px: switch to the hamburger menu earlier */
@media (max-width: 1200px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ivory); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 14px; justify-content: center; }
  .has-sub { display: block; }
  .has-sub > a { display: block; }
  .submenu { display: block; position: static; border: 0; box-shadow: none; background: transparent; padding: 0 0 0 16px; min-width: 0; }
  .site-nav .submenu a:not(.btn) { padding: 10px 0; border-bottom: 1px solid var(--line); border-radius: 0; font-size: .95rem; }
  .submenu small { display: inline; margin-left: 6px; }
  .caret { display: none; }
}

/* Step numbers: outlined at first, each circle fills as its step arrives */
@media (prefers-reduced-motion: no-preference) {
  .js .steps.reveal li::before { background: #fff; color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); transform: scale(.88); transition: background .45s ease, color .45s ease, transform .45s ease; }
  .js .steps.reveal.in li::before { background: var(--blue); color: #fff; transform: none; transition-delay: .3s; }
  .js .steps.reveal.in li:nth-child(2)::before { transition-delay: .55s; }
  .js .steps.reveal.in li:nth-child(3)::before { transition-delay: .8s; }
  .js .steps.reveal.in li:nth-child(4)::before { transition-delay: 1.05s; }
  .js .steps.reveal.in li:nth-child(5)::before { transition-delay: 1.3s; }
}

/* Scroll-linked header art (replaces the static background drawing when JS is running) */
.page-hero.has-live-art::after { display: none; }
.hero-art-live { position: absolute; right: max(calc((100vw - 1140px) / 2 - 30px), 0px); bottom: -46px; width: 470px; height: 352px; max-width: none; opacity: .5; pointer-events: none; overflow: hidden; }
@media (max-width: 960px) { .hero-art-live { opacity: .16; right: -120px; } }
.hero-main { overflow: hidden; }

/* Icons draw themselves in when their card scrolls into view */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal .icon * { stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.1s ease .25s; }
  .js .reveal.in .icon * { stroke-dashoffset: 0; }
}

/* ---------- Card layouts: photo-on-top product cards, step cards with a deliverable strip, consequence lines ---------- */

/* 1. Product cards: photo on top, text below (no text over the photo) */
#paths .path-card { background: #fff; color: var(--graphite); padding: 0 0 30px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(43,43,43,.10); }
#paths .path-card::after { display: none; }
#paths .path-card::before { content: ""; display: block; height: 240px; background: url(/assets/card-port-wide.jpg) center / cover no-repeat; margin-bottom: 26px; }
#paths .path-card.people::before { background-image: url(/assets/card-bus-wide.jpg); }
#paths .path-card > * { margin-left: 30px; margin-right: 30px; }
#paths .path-card .kicker { position: absolute; top: 16px; left: 16px; margin: 0; background: var(--graphite); color: #fff; opacity: 1; padding: 6px 12px; border-radius: 6px; font-size: .7rem; }
#paths .path-card.people .kicker { background: var(--blue); }
#paths .path-card h3 { color: var(--graphite); }
#paths .path-card .icon { stroke: var(--teal); }
#paths .path-card p, #paths .path-card ul { max-width: none; color: var(--graphite); }
#paths .path-card .checks.light { color: var(--graphite); }
#paths .path-card .checks.light li::before { border-color: var(--copper); }
#paths .path-card .btn-light { background: var(--copper); color: #fff; }
#paths .path-card .btn-light:hover { background: var(--graphite); }
#paths .path-card.people .btn-light { background: var(--blue); }
#paths .path-card.people .btn-light:hover { background: var(--graphite); }
#paths .path-card .btn-ghost { color: var(--graphite); border-color: var(--steel); }
#paths .path-card .btn-ghost:hover { background: var(--graphite); border-color: var(--graphite); color: #fff; }
#paths .path-card :focus-visible { outline-color: var(--blue); }
@media (max-width: 640px) { #paths .path-card::before { height: 180px; } #paths .path-card > * { margin-left: 22px; margin-right: 22px; } }

/* 2. The five steps as cards, each with a "Deliverable" strip at the bottom */
@media (min-width: 861px) {
  .steps { gap: 14px; align-items: stretch; }
  .steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px 0; display: flex; flex-direction: column; overflow: hidden; }
  .steps li::after { display: none !important; }
  .steps li::before { border-radius: 8px; margin-bottom: 16px; }
  .steps li:last-child::before { background: var(--copper) !important; color: #fff !important; box-shadow: none !important; }
  .steps li span { padding-bottom: 18px; }
  .steps li em { margin: auto -18px 0; padding: 12px 18px 14px; background: var(--ivory); border-top: 1px solid var(--line); color: var(--graphite); font-size: .86rem; }
  .steps li em::before { content: "Deliverable"; display: block; font: 700 .68rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 3px; }
}

/* 3. Consequence line under each problem */
.pain { display: flex; flex-direction: column; }
.pain p { flex: 1; }
.risk { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font: 600 .86rem var(--body); color: var(--graphite); }
.risk::before { content: "!"; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--copper); color: #fff; font: 700 .75rem/18px var(--body); text-align: center; }

/* =====================================================================
   Stitch concept layer: upright grotesque headings, light hero with a
   framed photo, hairline cards, card accordions, light footer.
   Colours stay within the six docx colours (plus white).
   ===================================================================== */
:root { --display: "Hanken Grotesk", "Inter", system-ui, sans-serif; --serif: "Hanken Grotesk", "Inter", system-ui, sans-serif; --radius: 8px;
  --shadow-card: 0 2px 4px rgba(43,43,43,.02), 0 8px 24px rgba(43,43,43,.06); --shadow-hover: 0 4px 12px rgba(43,43,43,.05), 0 16px 36px rgba(43,43,43,.10); }
h1, h2, h3, b, p, .big, .serif, .pull, .partner-name, .footer-brand { font-style: normal; }
h1, h2 { font-weight: 700; letter-spacing: -.025em; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); line-height: 1.12; }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.5rem); line-height: 1.18; }
h3 { font-weight: 600; letter-spacing: -.01em; }
.eyebrow { font: 700 .72rem var(--display); letter-spacing: .14em; }
.btn { border-radius: 6px; font-family: var(--display); letter-spacing: .01em; }
.card, .pain, .tile, .form-card, .flow .node, .steps li, .path-card, .fit { border-radius: 8px; }
.card, .pain, .tile, .form-card { box-shadow: var(--shadow-card); }
.card:hover, .pain:hover, .tile:hover { box-shadow: var(--shadow-hover); }
.site-header { background: rgba(246,235,215,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.partner-name, .path-card h3, .flow .node b, .values-grid h3, .founder .big, .motto .big, .principles .big, .t-principle .serif, .story-text .pull, .story-text > p:first-child { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; }
.photo { transform: none; border-radius: 6px; }

/* ---- Hero: light canvas, framed photo card ---- */
.hero-light { background: var(--ivory); color: var(--graphite); }
.hero-light .hero-main { background-image: linear-gradient(rgba(43,43,43,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(43,43,43,.045) 1px, transparent 1px); background-size: 48px 48px; overflow: visible; display: block; }
.hero-light .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; min-height: 0; padding: 64px 0 76px; align-items: center; }
.hero-light h1 { text-shadow: none; }
.hero-light p.lead { color: var(--graphite); font-size: 1.2rem; }
.hero-light p.lead-2 { color: var(--graphite); font-size: .98rem; max-width: 40em; }
.hero-light .eyebrow { display: inline-flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 7px 12px; margin-bottom: 1.4em; color: var(--graphite); }
.hero-light .btn-ghost { background: #fff; border-color: var(--line); color: var(--graphite); box-shadow: var(--shadow-card); }
.hero-light .btn-ghost:hover { background: var(--graphite); border-color: var(--graphite); color: #fff; }
.hero-light .btn-primary { box-shadow: var(--shadow-card); }
.hero-light .pick span { color: var(--graphite); }
.hero-light .pick a { background: #fff; border: 1px solid var(--line); color: var(--graphite); font-family: var(--display); font-weight: 600; box-shadow: var(--shadow-card); }
.hero-light .pick a:hover { background: var(--graphite); border-color: var(--graphite); color: #fff; }
.hero-light .pick a:first-of-type .icon { stroke: var(--copper); }
.hero-light .pick a:last-of-type .icon { stroke: var(--blue); }
.hero-light .pick a:hover .icon { stroke: #fff; }
.hero-light :focus-visible { outline-color: var(--blue); }
.hero-card { position: relative; margin: 0; border-radius: 10px; background: var(--graphite); box-shadow: 0 20px 48px rgba(43,43,43,.26); }
.hero-card img { display: block; width: 100%; height: 400px; object-fit: cover; object-position: 50% 45%; border-radius: 10px; }
.hero-card figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; background: #fff; border-radius: 8px; padding: 14px 16px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-card); }
.cap-icon { flex: none; width: 40px; height: 40px; border-radius: 6px; background: var(--blue); display: grid; place-items: center; }
.cap-icon .icon { width: 22px; height: 22px; stroke: #fff; margin: 0; }
.cap-text { font-size: .9rem; line-height: 1.4; color: var(--graphite); }
.cap-text b { display: block; font: 700 .76rem var(--display); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2px; }
.hero-tag { position: absolute; top: -14px; right: -14px; display: inline-flex; align-items: center; gap: 7px; background: var(--graphite); color: #fff; font: 600 .8rem var(--display); padding: 9px 13px; border-radius: 6px; box-shadow: var(--shadow-card); }
.hero-tag .icon { width: 16px; height: 16px; stroke: var(--ivory); margin: 0; }
@media (prefers-reduced-motion: no-preference) { .hero-card { animation: rise .7s ease .2s both; } }
@media (max-width: 860px) {
  .hero-light .hero-grid { grid-template-columns: 1fr; gap: 36px; padding: 40px 0 48px; }
  .hero-card img { height: 280px; }
  .hero-tag { right: 10px; }
}

/* ---- Partner band ---- */
.partner-strip { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partner-strip .wrap { justify-content: space-between; padding: 18px 0; }
.partner-strip span { color: var(--graphite); font-family: var(--display); letter-spacing: .14em; }
.partner-list { display: flex; flex-wrap: wrap; gap: 10px 44px; }
.partner-strip a { color: var(--graphite); display: inline-flex; align-items: baseline; font-size: .88rem; }
.partner-strip b { color: var(--graphite); font: 700 1.2rem var(--display); letter-spacing: -.01em; margin-right: 7px; }
.mono { align-self: center; flex: none; width: 24px; height: 24px; border-radius: 4px; background: var(--graphite); color: #fff; font: 700 .72rem/24px var(--display); text-align: center; font-style: normal; margin-right: 10px; }
.mono-blue { background: var(--blue); }

/* ---- Outcomes as four cards with tinted icon squares ---- */
.outcomes { background: var(--ivory); border: 0; }
.outcomes .grid { gap: 18px; padding: 36px 0 4px; }
.outcome, .outcome:first-child { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px; box-shadow: var(--shadow-card); }
.outcome .icon { width: 44px; height: 44px; padding: 9px; border-radius: 6px; background: var(--ivory); }
.outcome b { font-weight: 600; }
.outcome span { color: var(--graphite); }

/* ---- Problems: heading left, segmented control right ---- */
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 30px; }
.head-row .section-head { margin-bottom: 0; }
.head-row .section-head p:last-child { margin-bottom: 0; }
.head-row .tablist { flex: none; margin-bottom: 0; }
@media (max-width: 860px) { .head-row { flex-direction: column; align-items: flex-start; } }
.tablist { background: var(--ivory); border-radius: 8px; padding: 4px; }
.tablist button { border-radius: 6px; font-family: var(--display); }
.tablist button[aria-selected="true"] { background: #fff; color: var(--graphite); box-shadow: var(--shadow-card); }
.section:not(.tint) .tablist { background: #fff; }
.section:not(.tint) .tablist button[aria-selected="true"] { background: var(--graphite); color: #fff; }
.pain { border-top: 1px solid var(--line); }

/* ---- Tiles ---- */
.tile { background: #fff; border-radius: 8px; }
.t-lead { background-color: var(--blue); }
.t-team { background: var(--graphite); }
.chain span { border-radius: 4px; }
.steps li::before { font-family: var(--display); }

/* ---- Founder band: quote in its own box, solid white button ---- */
.founder blockquote { background: rgba(43,43,43,.28); border: 1px solid rgba(255,255,255,.14); border-radius: 8px; padding: 24px 26px; }
.founder blockquote p { font-style: italic; }
.founder .sub { font-family: var(--display); font-weight: 600; letter-spacing: .14em; }
.founder .btn-ghost { background: #fff; border-color: #fff; color: var(--graphite); }
.founder .btn-ghost:hover { background: var(--ivory); border-color: var(--ivory); color: var(--graphite); }
.principles .sub { font-family: var(--display); font-weight: 600; letter-spacing: .14em; }

/* ---- FAQ as cards ---- */
.faq details, .faq details:first-child { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 0 22px; margin-bottom: 14px; box-shadow: var(--shadow-card); }
.faq summary { font: 600 1.1rem var(--display); padding: 20px 40px 20px 0; }
.faq details p { background: var(--ivory); border-radius: 6px; padding: 14px 16px; margin-bottom: 22px; font-size: .96rem; }

/* ---- Closing band: second button in blue ---- */
.cta-band .btn-row .btn + .btn { background: var(--blue); }
.cta-band .btn-row .btn + .btn:hover { background: #fff; color: var(--graphite); }

/* ---- Light footer ---- */
.site-footer { background: #fff; color: var(--graphite); border-top: 1px solid var(--line); padding-top: 56px; }
.site-footer a, .site-footer a:hover { color: var(--graphite); }
.site-footer :focus-visible { outline-color: var(--blue); }
.footer-brand { color: var(--graphite); font: 700 1.5rem var(--display); letter-spacing: -.02em; margin-bottom: 12px; }
.footer-h { color: var(--graphite); font: 700 1.05rem var(--display); letter-spacing: 0; text-transform: none; margin-bottom: .8em; }
.ethos { background: var(--ivory); border-radius: 8px; padding: 14px 16px; max-width: 320px; }
.ethos p { margin: 0; }
.footer-tag { font: 600 1rem var(--display); }
.footer-motto { font-style: italic; }
.footer-legal { border-top: 1px solid var(--line); color: var(--graphite); }
.founder .big, .motto .big, .principles .big, .t-principle .serif, .path-card h3, .partner-name, .flow .node b, .values-grid h3, .story-text .pull, .story-text > p:first-child, .footer-brand { font-style: normal; }
.hero-light .eyebrow::before { margin-right: 6px; }
@media (max-width: 860px) { .hero-card img { height: 340px; object-position: 50% 30%; } }

/* ---- Design QA fixes ---- */
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
.page-hero h1 { max-width: 13em; }
.wrap.prose { max-width: none; }
.wrap.prose > * { max-width: 46em; }
.note, .form-note { max-width: 62ch; }
@media (max-width: 860px) {
  .site-footer a { padding: 11px 0; }
  .partner-strip a { padding: 10px 0; }
  .offer a, .partner a, .duo a, .tile > a { display: inline-block; padding: 11px 0; }
  .tablist button { min-height: 44px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .ethos { max-width: none; }
  .pick a { min-height: 44px; }
}

/* ---- Inner page headers: same light style as the home hero, with the truck drawing in a framed blue card ---- */
.page-hero.hero-light { background-color: var(--ivory); background-image: linear-gradient(rgba(43,43,43,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(43,43,43,.045) 1px, transparent 1px); background-size: 48px 48px; border-bottom: 1px solid var(--line); overflow: visible; }
.page-hero.hero-light .wrap { min-height: 380px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 48px 0; }
.page-hero.hero-light p { color: var(--graphite); font-size: 1.15rem; }
.page-hero.hero-light .eyebrow { margin-bottom: 1.2em; }
.page-hero.hero-light .btn-row { margin-top: 1.2em; }
/* the card */
.page-hero.hero-light::before { content: ""; position: absolute; top: 50%; right: max(calc((100vw - 1140px) / 2), 20px); width: 420px; height: 300px; transform: translateY(-50%); border-radius: 10px; background-color: var(--blue);
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 28px 28px; box-shadow: 0 20px 48px rgba(43,43,43,.24); }
.page-hero.hero-light::after, .page-hero.hero-light .hero-art-live { top: 50%; bottom: auto; right: max(calc((100vw - 1140px) / 2), 20px); width: 420px; height: 300px; transform: translateY(-50%); opacity: 1; border-radius: 10px; overflow: hidden; }
.page-hero.hero-light::after { background-size: cover; background-position: center bottom; }
.page-hero.hero-light.has-live-art::after { display: none; }
@media (min-width: 961px) { .page-hero.hero-light .wrap > * { max-width: min(36em, calc(100% - 470px)); } .page-hero.hero-light h1 { max-width: min(13em, calc(100% - 470px)); } }
@media (max-width: 960px) {
  .page-hero.hero-light::before, .page-hero.hero-light::after, .page-hero.hero-light .hero-art-live { display: none; }
  .page-hero.hero-light .wrap { min-height: 0; padding: 40px 0 44px; }
}

/* =====================================================================
   V2 pages: image hero, capability cards, stats, chevron flow, architecture
   ===================================================================== */
.page-hero.hero-image { background: var(--graphite) url(/assets/hero-services-wide.jpg) 70% 50% / cover no-repeat; color: #fff; overflow: hidden; }
.page-hero.hero-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(43,43,43,.82) 0, rgba(43,43,43,.62) 42%, rgba(43,43,43,.12) 78%); }
.page-hero.hero-image::after, .page-hero.hero-image .hero-art-live { display: none; }
.page-hero.hero-image .wrap { min-height: 420px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 56px 0; }
.page-hero.hero-image h1 { max-width: 14em; text-shadow: 0 2px 18px rgba(43,43,43,.6); }
.page-hero.hero-image p { color: #fff; font-size: 1.15rem; max-width: 34em; text-shadow: 0 1px 10px rgba(43,43,43,.6); }
.page-hero.hero-image .eyebrow, .page-hero.hero-image .eyebrow::before { color: var(--ivory); }
.page-hero.hero-image .btn-ghost { color: #fff; border-color: #fff; background: rgba(43,43,43,.35); }
.page-hero.hero-image .btn-ghost:hover { background: #fff; color: var(--graphite); }
.page-hero.hero-image :focus-visible { outline-color: #fff; }
@media (max-width: 860px) { .page-hero.hero-image::before { background: rgba(43,43,43,.68); } .page-hero.hero-image .wrap { min-height: 0; padding: 44px 0; } }

.cap { display: flex; flex-direction: column; }
.cap-ic { width: 52px; height: 52px; border-radius: 8px; background: var(--ivory); display: grid; place-items: center; margin-bottom: 16px; }
.tint .cap-ic { background: var(--ivory); }
.cap-ic .icon { width: 30px; height: 30px; margin: 0; }
.cap h3 { font-size: 1.12rem; }
.cap p { font-size: .96rem; }
.more-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 18px; font-weight: 600; font-size: .95rem; }

.outcome-layout { display: grid; grid-template-columns: 1fr 280px; gap: 28px; align-items: center; }
.stat { background: var(--blue); color: #fff; border-radius: 8px; padding: 26px 22px; box-shadow: var(--shadow-card); background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 28px 28px; }
.stat b { display: block; font: 700 clamp(2rem, 3.2vw, 2.9rem)/1 var(--display); letter-spacing: -.03em; color: var(--ivory); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 10px; font: 600 1.02rem var(--display); }
.checks.plus { margin: 0; }
.checks.plus li { background: var(--ivory); border-radius: 8px; padding: 12px 14px 12px 2.6em; font-weight: 600; margin-bottom: 10px; }
.checks.plus li::before { left: 14px; top: 1.15em; }
.disclaimer { font-size: .88rem; font-style: italic; margin: 22px 0 0; max-width: 70ch; border-left: 3px solid var(--copper); padding-left: 12px; }
@media (max-width: 1000px) { .outcome-layout { grid-template-columns: 1fr; } .stats { grid-template-columns: repeat(2, 1fr); } }

.chevrons { list-style: none; counter-reset: c; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.chevrons li { counter-increment: c; position: relative; background: var(--blue); color: #fff; padding: 24px 36px 24px 44px; display: flex; gap: 14px; align-items: flex-start; clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 0 100%, 26px 50%); margin-left: -14px; min-height: 150px; }
.chevrons li:first-child { clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 0 100%); margin-left: 0; padding-left: 24px; border-radius: 8px 0 0 8px; }
.chevrons li:nth-child(2) { background: var(--graphite); }
.chevrons li:nth-child(4) { background: var(--copper); }
.chevrons .icon { stroke: #fff; width: 34px; height: 34px; margin: 2px 0 0; }
.chevrons b { display: block; font: 700 1.15rem var(--display); letter-spacing: .04em; text-transform: uppercase; }
.chevrons b::before { content: counter(c, decimal-leading-zero) "  "; color: var(--ivory); }
.chevrons span { display: block; font-size: .92rem; margin-top: 6px; }
@media (max-width: 1000px) { .chevrons { grid-template-columns: 1fr; gap: 10px; } .chevrons li, .chevrons li:first-child { clip-path: none; margin-left: 0; padding: 20px; border-radius: 8px; min-height: 0; } }
.complement { font: 600 1.1rem var(--display); text-align: center; margin: 34px auto 0; max-width: 60ch; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.complement + .btn-row { justify-content: center; }

.arch-layout { display: grid; grid-template-columns: .8fr 1.5fr; gap: 44px; align-items: start; }
@media (max-width: 1000px) { .arch-layout { grid-template-columns: 1fr; } }
.cap-list { display: grid; gap: 12px; }
.cap-row { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px; box-shadow: var(--shadow-card); }
.cap-row .icon { width: 30px; height: 30px; margin-top: 2px; }
.cap-row b { display: block; font: 600 1.02rem var(--display); }
.cap-row span { font-size: .92rem; }
.arch { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px; box-shadow: var(--shadow-card); }
.arch-row { display: grid; gap: 8px; }
.arch-top { grid-template-columns: repeat(5, 1fr); }
.arch-mid { grid-template-columns: repeat(4, 1fr); }
.arch-bot { grid-template-columns: repeat(6, 1fr); }
.chip { background: var(--ivory); border-radius: 6px; padding: 10px 8px; text-align: center; font-size: .8rem; line-height: 1.3; }
.chip .icon { width: 22px; height: 22px; margin: 0 auto 6px; }
.chip b { display: block; font: 600 .82rem var(--display); }
.chip small { display: block; font-size: .72rem; }
.arch-arrows { text-align: center; font-size: 1.3rem; line-height: 1; padding: 8px 0; color: var(--blue); }
.arch-core { display: grid; grid-template-columns: 140px 1fr; gap: 12px; border: 2px solid var(--blue); border-radius: 8px; padding: 12px; }
.arch-flux { display: flex; flex-direction: column; justify-content: center; text-align: center; }
.arch-flux b { font: 700 1.3rem var(--display); letter-spacing: -.02em; }
.arch-flux span { font: 600 .82rem var(--display); margin-top: 4px; }
.arch-stack { display: grid; gap: 8px; }
.arch-products { display: grid; grid-template-columns: 1fr 1fr; background: var(--blue); color: #fff; border-radius: 6px; }
.arch-products span { padding: 12px 14px; font-size: .82rem; }
.arch-products span + span { border-left: 1px solid rgba(255,255,255,.4); }
.arch-products b { display: block; font: 700 1.1rem var(--display); }
.arch-agents { background: var(--graphite); color: #fff; border-radius: 6px; padding: 9px 14px; font-size: .85rem; text-align: center; }
.arch-mid .chip { border: 1px solid var(--line); background: #fff; }
.arch-systems { background: var(--ivory); border-radius: 8px; padding: 12px; }
.arch-systems p { margin: 0 0 8px; font-size: .9rem; }
.arch-systems .chip { background: #fff; }
@media (max-width: 640px) { .arch-top, .arch-bot { grid-template-columns: repeat(2, 1fr); } .arch-mid { grid-template-columns: repeat(2, 1fr); } .arch-core { grid-template-columns: 1fr; } .arch-top .chip:last-child { grid-column: 1 / -1; } }
.submenu small { white-space: nowrap; }
.stat b { white-space: nowrap; font-size: clamp(1.7rem, 2.5vw, 2.4rem); }
.outcome-layout { grid-template-columns: 1fr 250px; }
@media (max-width: 1000px) { .outcome-layout { grid-template-columns: 1fr; } }
.submenu { min-width: 290px; }
.submenu-right { left: auto; right: -14px; min-width: 220px; }
@media (max-width: 1420px) and (min-width: 1201px) { .site-nav { gap: 16px; } .site-nav a:not(.btn) { font-size: .95rem; } .nav-cta { padding: .65em .9em; font-size: .9rem; } }
@media (max-width: 1420px) and (min-width: 1201px) { .site-nav { gap: 14px; } .caret { margin-left: 5px; } .brand-sub { font-size: .5rem; letter-spacing: .1em; } }

/* Agent detail pages */
.cap .more { margin-top: auto; padding-top: 12px; font-weight: 600; font-size: .92rem; }
.cap p { margin-bottom: .6em; }
.pending { background: #fff; border: 1.5px dashed var(--steel); border-radius: 8px; padding: 20px 22px; }
.pending b { display: block; font: 600 1.05rem var(--display); margin-bottom: 6px; }
.pending p { margin: 0; font-size: .96rem; }
.agent-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.agent-nav a { text-decoration: none; color: var(--graphite); display: block; }
.agent-nav a:last-child { text-align: right; }
.agent-nav a:nth-child(2) { text-align: center; }
.agent-nav small { display: block; font-size: .82rem; margin-bottom: 4px; }
.agent-nav b { font: 600 1.1rem var(--display); color: var(--blue); }
@media (max-width: 700px) { .agent-nav { grid-template-columns: 1fr; } .agent-nav a, .agent-nav a:last-child, .agent-nav a:nth-child(2) { text-align: left; } }
.stats:has(> :only-child), .stats:has(> :nth-child(2):last-child) { grid-template-columns: repeat(auto-fit, minmax(200px, 280px)); }

/* Partner logos (official files) */
.plogo { display: block; height: 34px; width: auto; max-width: none; }
.plogo-m { height: 22px; }
.plogo-inv { filter: brightness(0) invert(1); }
.partner-strip a { align-items: center; gap: 12px; }
.partner-strip .plogo { height: 30px; } .partner-strip .plogo-m { height: 19px; }
.partner-name .plogo { height: 42px; } .partner-name .plogo-m { height: 26px; margin: 8px 0; }
.h-logo { margin: .3em 0 .5em !important; }
.h-logo .plogo { height: 46px; } .h-logo .plogo-m { height: 28px; margin: 9px 0; }
.panel-stack .h-logo { margin-bottom: 0 !important; }
.h-logo { margin: 0 !important; padding: .3em 0 .5em; }
#paths .path-card .h-logo { margin: 0 30px !important; }
@media (max-width: 640px) { #paths .path-card .h-logo { margin: 0 22px !important; } }
.partner-strip a span { font: 400 .88rem var(--body); letter-spacing: 0; text-transform: none; color: var(--graphite); }
