/* Blackex shared additions: multi-page nav, page heroes, graphics and motion. Uses the tokens defined in each page's base styles. */

/* Nav */
.nav .wrap { position: relative; }
.nav nav a[aria-current="page"] { color: var(--ink); box-shadow: 0 1px 0 var(--brass); }
.nav nav a.m-only { display: none; }
.nav-end { display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; width: 46px; height: 46px; border: 1px solid var(--ink); background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; }
.menu-btn span { display: block; width: 20px; height: 1.5px; background: var(--ink); transition: transform .25s, opacity .25s; }
.nav.open .menu-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.open .menu-btn span:nth-child(2) { opacity: 0; }
.nav.open .menu-btn span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav.open nav { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--ink); padding: 8px clamp(16px, 4vw, 40px) 20px; font-size: 18px; }
  .nav.open nav a { padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--ink); }
  .nav.open nav a.m-only { display: block; color: var(--brass); border-bottom: 0; }
}
@media (max-width: 540px) { .nav-end .btn { display: none; } }

/* Page hero */
.phero { padding-block: clamp(48px, 8vw, 96px) clamp(40px, 6vw, 80px); border-bottom: 1px solid var(--rule); overflow: hidden; }
.phero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.phero .wrap > * { min-width: 0; }
.phero.solo .wrap { grid-template-columns: 1fr; }
.phero h1 { margin-top: 20px; font-size: clamp(40px, 6.2vw, 80px); line-height: 1; }
.phero h1 em { font-style: italic; color: var(--brass); }
.phero .lede { margin-top: 26px; max-width: 36em; font-size: 19px; color: var(--ink-soft); }
.phero .ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .phero .wrap { grid-template-columns: 1fr; } }

.more { display: inline-block; margin-top: 28px; font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--brass); border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.more::after { content: " \2192"; display: inline-block; transition: transform .25s; }
.more:hover::after { transform: translateX(5px); }
.band .more { color: var(--brass-on-ink); }

/* Pathway graphic */
.path { border: 1px solid var(--ink); background: var(--paper); }
.path-head { padding: 14px 20px; border-bottom: 1px solid var(--ink); display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.path-head h3 { font-size: 20px; }
.pstep { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 16px 20px; border-bottom: 1px dotted var(--rule); position: relative; }
.pstep:last-child { border-bottom: 0; }
.pstep .dot { width: 30px; height: 30px; border: 1px solid var(--ink); display: grid; place-items: center; font-family: var(--f-mono); font-size: 12px; background: var(--paper); position: relative; z-index: 1; }
.pstep.on .dot { background: var(--ink); color: var(--paper); }
.pstep b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 21px; line-height: 1.2; }
.pstep small { color: var(--ink-soft); font-size: 13px; }
.pstep .t { font-family: var(--f-mono); font-size: 12px; color: var(--brass); white-space: nowrap; }
.path-line { position: absolute; left: 34.5px; top: 46px; bottom: -17px; width: 1px; background: var(--brass); transform-origin: top; }
.pstep:last-child .path-line { display: none; }

/* Service cards */
.cards { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.card { background: var(--paper); padding: 28px 26px 26px; display: flex; flex-direction: column; gap: 12px; min-width: 0; transition: background .25s; }
.card:hover { background: var(--paper-2); }
.card .ico { width: 48px; height: 48px; color: var(--brass); }
.card .ico svg { width: 100%; height: 100%; display: block; overflow: visible; }
.card h3 { font-size: 27px; line-height: 1.1; }
.card .kind { font-size: 13px; color: var(--ink-soft); margin-top: -6px; }
.card p { color: var(--ink-soft); font-size: 15.5px; }
.card ul { margin: 0; padding: 0; list-style: none; font-family: var(--f-mono); font-size: 12px; letter-spacing: .03em; color: var(--ink-soft); display: grid; gap: 6px; }
.card li::before { content: "+ "; color: var(--brass); }
.card .price { margin-top: auto; padding-top: 14px; border-top: 1px dotted var(--rule); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.card .price .num { font-size: 17px; }
.card .price small { font-size: 12px; color: var(--ink-soft); }
.group-h { margin-top: 64px; display: flex; align-items: baseline; gap: 16px; }
.group-h:first-of-type { margin-top: 0; }
.group-h h2 { font-size: clamp(28px, 3.4vw, 42px); }
.group-h .label { white-space: nowrap; }

/* Waterfall */
.wf { border: 1px solid var(--ink); background: var(--paper); }
.wf-head { padding: 14px 20px; border-bottom: 1px solid var(--ink); }
.wf-head h3 { font-size: 20px; }
.wf-row { display: grid; grid-template-columns: minmax(96px, 150px) 1fr 76px; gap: 12px; align-items: center; padding: 11px 20px; border-bottom: 1px dotted var(--rule); font-size: 14px; }
.wf-row .track { height: 16px; position: relative; background: var(--paper-2); }
.wf-row .track i { position: absolute; top: 0; bottom: 0; background: var(--leak); transform-origin: left; }
.wf-row .v { text-align: right; font-family: var(--f-mono); font-variant-numeric: tabular-nums; color: var(--leak); white-space: nowrap; }
.wf-row.total { border-bottom: 0; border-top: 3px double var(--ink); font-weight: 600; padding-block: 14px; }
.wf-row.total .track i { background: var(--brass); }
.wf-row.total .v { color: var(--ink); font-size: 16px; }
.wf .foot { padding: 12px 20px; font-size: 12px; color: var(--ink-soft); border-top: 1px solid var(--rule); background: var(--paper-2); }

/* Leak blocks */
.leaks { margin-top: 48px; border-top: 1px solid var(--ink); }
.leak { display: grid; grid-template-columns: 110px 1fr 1fr; gap: 20px 40px; padding-block: 32px; border-bottom: 1px solid var(--rule); align-items: start; }
.leak > * { min-width: 0; }
.leak .n { font-family: var(--f-display); font-size: 84px; line-height: .8; color: var(--brass); }
.leak h3 { font-size: 28px; }
.leak p { margin-top: 10px; color: var(--ink-soft); font-size: 16px; }
.leak .chk { border-left: 1px solid var(--ink); padding-left: 20px; }
.leak .chk p { margin-top: 6px; font-size: 15px; }
@media (max-width: 760px) { .leak { grid-template-columns: 60px 1fr; } .leak .n { font-size: 56px; } .leak .chk { grid-column: 2; } }

/* Timeline */
.tl { margin-top: 48px; position: relative; padding-left: 0; }
.tl-line { position: absolute; left: 43px; top: 12px; bottom: 12px; width: 1px; background: var(--brass); transform-origin: top; }
.tl-item { display: grid; grid-template-columns: 88px 1fr 1.1fr; gap: 16px 36px; padding-block: 26px; align-items: start; position: relative; }
.tl-item > * { min-width: 0; }
.tl-item .letter { width: 88px; height: 88px; border: 1px solid var(--ink); background: var(--paper); display: grid; place-items: center; font-family: var(--f-display); font-size: 54px; line-height: 1; position: relative; z-index: 1; transition: background .3s, color .3s; }
.tl-item:hover .letter { background: var(--ink); color: var(--paper); }
.tl-item h3 { font-size: 30px; }
.tl-item .q { margin-top: 6px; font-style: italic; font-family: var(--f-display); color: var(--ink-soft); font-size: 19px; }
.tl-item .what { margin-top: 12px; color: var(--ink-soft); font-size: 15.5px; }
.tl-item .deliv { border: 1px solid var(--rule); padding: 18px 20px; background: var(--paper); }
.tl-item .deliv .label { display: block; margin-bottom: 6px; }
.tl-item .deliv p { font-size: 15px; color: var(--ink-soft); }
.tl-item .deliv strong { color: var(--ink); font-weight: 600; }
@media (max-width: 800px) { .tl-item { grid-template-columns: 56px 1fr; } .tl-item .letter { width: 56px; height: 56px; font-size: 34px; } .tl-line { left: 27px; } .tl-item .deliv { grid-column: 2; } }

/* Gauges */
.gauges { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; align-items: end; }
.gauge-wrap { text-align: center; }
.gauge { width: 100%; max-width: 300px; display: block; margin: 0 auto; overflow: visible; }
.gauge .bg { stroke: #34322e; }
.gauge .arc { stroke: var(--brass-on-ink); stroke-dashoffset: var(--to); }
.gauge-wrap.soft .arc { stroke: #8d7a5c; }
.gauge-num { font-family: var(--f-display); font-size: 64px; line-height: 1; margin-top: -58px; color: var(--on-ink); }
.gauge-wrap b { display: block; margin-top: 14px; font-weight: 600; color: var(--on-ink); }
.gauge-wrap span.s { font-family: var(--f-mono); font-size: 12px; color: var(--on-ink-soft); }
.gauge-note { margin-top: 28px; font-size: 13px; color: var(--on-ink-soft); }

/* Weeks */
.weeks { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.week { padding: 22px 22px 26px 0; border-bottom: 1px solid var(--rule); min-width: 0; }
.week + .week { padding-left: 22px; border-left: 1px solid var(--rule); }
.week h3 { font-size: 23px; margin: 8px 0 8px; }
.week p { font-size: 15px; color: var(--ink-soft); }
@media (max-width: 900px) { .weeks { grid-template-columns: 1fr 1fr; } .week:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 520px) { .weeks { grid-template-columns: 1fr; } .week + .week { padding-left: 0; border-left: 0; } }

/* Roadmap */
.road { margin-top: 48px; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.road-line { position: absolute; left: 0; right: 0; top: 21px; height: 1px; background: var(--brass); transform-origin: left; }
.rstep { padding-right: 20px; min-width: 0; position: relative; }
.rstep .dot { width: 43px; height: 43px; border: 1px solid var(--ink); background: var(--paper); display: grid; place-items: center; font-family: var(--f-mono); font-size: 13px; position: relative; z-index: 1; }
.rstep h3 { font-size: 23px; margin: 18px 0 8px; }
.rstep p { font-size: 15px; color: var(--ink-soft); }
@media (max-width: 900px) { .road { grid-template-columns: 1fr; gap: 26px; } .road-line { left: 21px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform-origin: top; } .rstep { display: grid; grid-template-columns: 43px 1fr; gap: 0 18px; padding-right: 0; } .rstep h3 { margin-top: 6px; } .rstep p { grid-column: 2; } }

/* Checklist and facts */
.check { margin: 40px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.check li { background: var(--paper); padding: 18px 20px 18px 52px; position: relative; font-size: 15.5px; color: var(--ink-soft); }
.check li b { display: block; color: var(--ink); font-weight: 600; }
.check li::before { content: ""; position: absolute; left: 20px; top: 22px; width: 16px; height: 9px; border-left: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass); transform: rotate(-45deg); }
.places { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; }
.places span { font-family: var(--f-mono); font-size: 13px; letter-spacing: .04em; border: 1px solid var(--rule); padding: 9px 14px; }
.packs { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--ink); }
.pack { padding: 30px 28px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pack + .pack { border-left: 1px solid var(--ink); }
.pack h3 { font-size: 30px; }
.pack .num { font-size: 20px; color: var(--brass); }
.pack p { color: var(--ink-soft); font-size: 16px; }
@media (max-width: 760px) { .packs { grid-template-columns: 1fr; } .pack + .pack { border-left: 0; border-top: 1px solid var(--ink); } }
.fineprint { margin-top: 24px; font-size: 14px; color: var(--ink-soft); max-width: 46em; }

/* CTA band */
.ctaband { background: var(--band); color: var(--on-ink); border-bottom: 0; position: relative; overflow: hidden; }
.ctaband .wrap { padding-block: clamp(56px, 8vw, 104px); display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: end; position: relative; z-index: 1; }
.ctaband h2 { font-size: clamp(34px, 5vw, 64px); line-height: 1.02; color: var(--on-ink); }
.ctaband h2 em { font-style: italic; color: var(--brass-on-ink); }
.ctaband p { margin-top: 16px; color: var(--on-ink-soft); max-width: 34em; font-size: 18px; }
.ctaband .btn { background: var(--brass-on-ink); border-color: var(--brass-on-ink); color: #0E0E10; }
.ctaband .btn:hover { background: transparent; color: var(--brass-on-ink); }
.ctaband .lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.ctaband .lines line { stroke: var(--brass-on-ink); stroke-width: 1; opacity: .35; }
@media (max-width: 760px) { .ctaband .wrap { grid-template-columns: 1fr; align-items: start; } }

.book-now { margin-top: 28px; padding: 20px; border: 1px solid var(--ink); display: grid; gap: 12px; justify-items: start; }
.book-now p { font-size: 15px; color: var(--ink-soft); }

/* Motion. Everything is visible by default; these rules apply only once the script confirms motion is welcome. */
.js [data-r] { opacity: 0; transform: translateY(20px); transition: opacity .8s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform .8s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.js [data-r].in { opacity: 1; transform: none; }
.js .path-line, .js .tl-line, .js .road-line { transform: scale(0); transition: transform 1.4s cubic-bezier(.3,.6,.2,1) .2s; }
.js .tl-line { transition-duration: 2.4s; }
.js .pstep.in .path-line, .js .tl.in .tl-line, .js .road.in .road-line { transform: none; }
.js .wf .track i { transform: scaleX(0); transition: transform 1s cubic-bezier(.2,.7,.2,1) var(--bd, 0ms); }
.js .wf.in .track i { transform: none; }
.js .scale-bar span { transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.js .scale-bar span:nth-child(2) { transition-delay: .25s; } .js .scale-bar span:nth-child(3) { transition-delay: .5s; } .js .scale-bar span:nth-child(4) { transition-delay: .75s; }
.js .scale.in .scale-bar span { transform: none; }
.js .gauge-wrap:not(.in) .arc { stroke-dashoffset: 100; }
.js .gauge .arc { transition: stroke-dashoffset 1.8s cubic-bezier(.2,.7,.2,1) .2s; }
.js .card .ico svg * { stroke-dasharray: var(--len, 200); stroke-dashoffset: var(--len, 200); transition: stroke-dashoffset 1.3s ease var(--d, 0ms); }
.js .card.in .ico svg * { stroke-dashoffset: 0; }
.js .ctaband .lines line { stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 2s ease; }
.js .ctaband.in .lines line { stroke-dashoffset: 0; }
@keyframes bx-row { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.js .ledger tbody tr { animation: bx-row .5s both; }
.js .ledger tbody tr:nth-child(2) { animation-delay: .06s; } .js .ledger tbody tr:nth-child(3) { animation-delay: .12s; } .js .ledger tbody tr:nth-child(4) { animation-delay: .18s; } .js .ledger tbody tr:nth-child(5) { animation-delay: .24s; } .js .ledger tbody tr:nth-child(6) { animation-delay: .3s; } .js .ledger tbody tr:nth-child(7) { animation-delay: .4s; }
@keyframes bx-big { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
.js .commit .big.in { animation: bx-big .9s cubic-bezier(.2,.9,.2,1.1) both; }

/* Heading rhythm for multi-line titles */
.leak h3, .week h3, .tl-item h3, .pack h3, .rstep h3, .pstep b, .svc h3, .symptom h3, .dim h3, .sector h3, .insight h3 { line-height: 1.15; }
.commit h2 { line-height: 1.1; }

/* Blog */
.bgrid { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.bcard { background: var(--paper); border: 1px solid var(--rule); padding: 28px 26px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; min-width: 0; transition: background .25s; }
.bcard:hover { background: var(--paper-2); }
.bcard h3 { font-size: 26px; line-height: 1.15; }
.bcard p { color: var(--ink-soft); font-size: 15.5px; }
.bcard:hover .more::after { transform: translateX(5px); }
.post-title { font-size: clamp(36px, 5.4vw, 68px) !important; line-height: 1.04 !important; max-width: 18em; }
.byline { margin-top: 22px; font-family: var(--f-mono); font-size: 13px; letter-spacing: .04em; color: var(--ink-soft); }
.post { max-width: 43em; margin: 0 auto; padding-block: clamp(48px, 7vw, 88px); font-size: 18.5px; line-height: 1.7; }
.post > * + * { margin-top: 1.15em; }
.post h2 { font-size: clamp(27px, 3.2vw, 36px); line-height: 1.15; margin-top: 1.9em; }
.post h2 + * { margin-top: .7em; }
.post p, .post li { color: var(--ink); }
.post ul, .post ol { padding-left: 1.3em; display: grid; gap: .55em; }
.post li::marker { color: var(--brass); font-family: var(--f-mono); font-size: .85em; }
.post strong { font-weight: 600; }
.post > p:first-child { font-family: var(--f-display); font-size: 1.45em; line-height: 1.35; font-style: italic; }
.post .tablewrap { overflow-x: auto; border: 1px solid var(--ink); }
.post table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; }
.post th { text-align: left; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--brass); padding: 12px 16px; border-bottom: 1px solid var(--ink); font-weight: 500; }
.post td { padding: 12px 16px; border-bottom: 1px dotted var(--rule); vertical-align: top; }
.post tr:last-child td { border-bottom: 0; }
.post td:not(:first-child) { font-variant-numeric: tabular-nums; }
.post .post-cta { margin-top: 2em; padding-top: 1.6em; border-top: 1px solid var(--rule); }
.post a:not(.btn) { color: var(--brass); }

/* trades band on home page */
#trades h2 em { font-style: italic; color: var(--brass-on-ink); }
#trades .ticks { margin-top: 18px; padding-left: 0; list-style: none; display: grid; gap: 8px; color: var(--on-ink); }
#trades .ticks li { position: relative; padding-left: 22px; }
#trades .ticks li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 1px; background: var(--brass-on-ink); }
#trades .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
#trades .btn { background: var(--brass-on-ink); border-color: var(--brass-on-ink); color: #0E0E10; }
#trades .btn:hover { background: transparent; color: var(--brass-on-ink); }
#trades .btn.ghost { background: transparent; color: var(--on-ink); border-color: var(--on-ink-soft); }
#trades .btn.ghost:hover { border-color: var(--brass-on-ink); color: var(--brass-on-ink); }

/* Client portal login link */
.nav-end .login { font-size: 14px; color: var(--ink-soft); text-decoration: none; white-space: nowrap; }
.nav-end .login:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1080px) { .nav-end .login { display: none; } }

/* ===== Photos (v13) ===== */
/* Usage:
   <figure class="photo"><img src="..." alt="..." loading="lazy" width="1200" height="800"></figure>
   Modifiers: .photo.tall (4:5), .photo.wide (21:9), .photo.square (1:1). Default 3:2.
   Hero with photo: put the <figure class="photo tall"> as the second child of .phero .wrap (no .solo).
   Split row: <div class="split"><div>text</div><figure class="photo">…</figure></div>  (.split.flip puts photo left)
   Full-bleed strip between sections: <section class="photo-strip"><img …></section>
   Card thumbnail: <figure class="photo thumb">…</figure> inside a card. */
.photo { position: relative; margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); border: 1px solid var(--ink); }
.photo.tall { aspect-ratio: 4 / 5; }
.photo.wide { aspect-ratio: 21 / 9; }
.photo.square { aspect-ratio: 1 / 1; }
.photo.thumb { aspect-ratio: 16 / 9; border-color: var(--rule); margin-bottom: 16px; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.03); transition: transform .8s ease, filter .6s ease; }
.photo:hover img { transform: scale(1.025); filter: saturate(.95) contrast(1.03); }
.photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 6px var(--paper); opacity: .0; }
.photo figcaption { position: absolute; left: 0; bottom: 0; background: var(--ink); color: var(--paper); font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; padding: 9px 12px; }
.band .photo { border-color: #2c2b29; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: 40px; }
.split > * { min-width: 0; }
.split.flip > .photo { order: -1; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > .photo { order: 0; } }
.photo-strip { border-bottom: 1px solid var(--rule); height: clamp(200px, 30vw, 380px); overflow: hidden; background: var(--paper-2); }
.photo-strip img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.05); }
.phero .photo { width: 100%; }
@media (max-width: 900px) { .phero .photo.tall { aspect-ratio: 3 / 2; } }
@media (prefers-reduced-motion: reduce) { .photo img { transition: none; } .photo:hover img { transform: none; } }
/* Trim helpers */
.short-list { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.short-list li { position: relative; padding-left: 22px; }
.short-list li::before { content: ""; position: absolute; left: 0; top: .75em; width: 10px; height: 1px; background: var(--brass); }

/* online booking (book.html) */
.bk-note { font-size: 15px; color: var(--ink-soft); }
.bk-day { margin-top: 26px; }
.bk-day h3 { font-size: 22px; margin-bottom: 10px; }
.bk-times { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-time { font: 500 15px var(--f-mono); padding: 11px 16px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); cursor: pointer; min-width: 104px; }
.bk-time:hover, .bk-time:focus-visible { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.bk-form { max-width: 640px; }
.bk-picked { font-size: 18px; padding: 14px 16px; border-left: 3px solid var(--brass); background: var(--paper-2); }
.bk-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bk-done { font-family: var(--f-display); font-size: 28px; line-height: 1.2; }
/* referral form (partners.html) */
.ref-ok { display: flex !important; grid-template-columns: none !important; flex-direction: row; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 14px !important; }
.ref-ok input { width: auto !important; margin-top: 4px; accent-color: var(--brass); }
/* client stories (case-studies.html) */
.cs-list { display: grid; gap: 72px; }
.cs h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; margin-top: 12px; max-width: 20em; }
.cs-metrics { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.cs-metrics div { background: var(--paper); padding: 18px 20px; }
.cs-metrics b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 34px; color: var(--brass); }
.cs-metrics span { font-size: 14px; color: var(--ink-soft); }
.cs-body { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.cs-body h3 { font-size: 20px; margin-bottom: 8px; }
.cs-body p { color: var(--ink-soft); font-size: 16px; margin-bottom: 10px; }
.cs-quote { margin: 32px 0 0; padding: 0 0 0 22px; border-left: 3px solid var(--brass); font-family: var(--f-display); font-size: 24px; line-height: 1.35; max-width: 34em; }
.cs-quote cite { display: block; margin-top: 10px; font: 500 14px var(--f-body); font-style: normal; color: var(--ink-soft); }
.cs-empty h2 { font-size: clamp(30px, 4vw, 44px); }
@media (max-width: 820px) { .cs-body { grid-template-columns: 1fr; } }

/* BOI self-check (self-check.html) */
.sc-prog { margin-top: 18px; font-family: var(--f-mono); font-size: 13px; color: var(--ink-soft); }
.sc-prog b { color: var(--ink); font-weight: 500; }
.sc-progbar { margin-top: 8px; height: 4px; background: var(--rule); max-width: 180px; }
.sc-progbar i { display: block; height: 100%; width: 0; background: var(--brass); transition: width .3s; }
@media (min-width: 801px) { .sec-side .sc-prog, .sec-side .sc-progbar { position: sticky; top: 130px; } .sec-side .sc-progbar { top: 160px; } }
.sc-form { margin-top: 40px; display: grid; gap: 36px; }
.sc-dim { border: 0; padding: 0; margin: 0 0 32px; min-width: 0; }
.sc-dim legend { font-family: var(--f-display); font-size: 26px; padding: 0; margin-bottom: 8px; }
.sc-dim legend .label { font-size: 12px; margin-right: 6px; vertical-align: middle; }
.sc-q { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px dotted var(--rule); }
.sc-q p { font-size: 16px; max-width: 34em; }
.sc-q .num { font-family: var(--f-mono); font-size: 13px; color: var(--brass); margin-right: 4px; }
.sc-opts { display: flex; gap: 6px; flex: none; }
.sc-opts label { cursor: pointer; position: relative; }
.sc-opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sc-opts b { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--rule); font: 500 15px var(--f-mono); transition: background .15s, color .15s, border-color .15s; }
.sc-opts label:hover b { border-color: var(--ink); }
.sc-opts input:checked + b { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sc-opts input:focus-visible + b { outline: 2px solid var(--brass); outline-offset: 2px; }
.sc-key { display: flex; flex-wrap: wrap; gap: 8px 24px; font-family: var(--f-mono); font-size: 12px; color: var(--ink-soft); }
.sc-rev { max-width: 520px; }
.sc-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sc-actions .btn:disabled { opacity: .45; cursor: not-allowed; }
.sc-need { font-size: 14px; color: var(--ink-soft); }
.sc-res { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.sc-banddesc { font-size: 18px; color: var(--on-ink); max-width: 34em; margin-bottom: 22px; }
.sc-bench { margin: -8px 0 20px; font-size: 15px; color: var(--on-ink-soft); }
.sc-bench b { color: var(--brass-on-ink); font-weight: 600; }
.sc-bars { display: grid; gap: 10px; }
.sc-bar { display: grid; grid-template-columns: 190px minmax(0, 1fr) 40px; gap: 14px; align-items: center; font-size: 14px; color: var(--on-ink-soft); }
.sc-bar i { height: 8px; background: #2c2b29; }
.sc-bar i b { display: block; height: 100%; background: var(--on-ink); }
.sc-bar.weak span { color: var(--on-ink); font-weight: 600; }
.sc-bar.weak i b { background: var(--leak); }
.sc-bar em { font: 500 13px var(--f-mono); font-style: normal; text-align: right; color: var(--on-ink); }
.sc-weak { margin-top: 48px; }
.sc-weak h3 { font-size: 28px; color: var(--on-ink); }
.sc-weakgrid { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #2c2b29; border: 1px solid #2c2b29; }
.sc-weakgrid > div { background: var(--band); padding: 20px; }
.sc-weakgrid h4 { font-family: var(--f-display); font-weight: 400; font-size: 21px; margin: 8px 0 6px; color: var(--on-ink); }
.sc-weakgrid p { font-size: 14px; color: var(--on-ink-soft); line-height: 1.5; }
.sc-weakgrid .sc-good, .sc-weakgrid .sc-week { margin-top: 12px; padding-top: 12px; border-top: 1px solid #2c2b29; }
.sc-weakgrid .sc-week { border-top: 0; padding-top: 0; margin-top: 8px; }
.sc-weakgrid p b { color: var(--brass-on-ink); font-weight: 600; }
.sc-leak { margin-top: 28px; font-size: 17px; color: var(--on-ink-soft); max-width: 44em; }
.sc-leak b { color: var(--on-ink); font-weight: 600; }
.sc-tools { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.sc-light { color: var(--on-ink); border-color: var(--on-ink-soft); }
.sc-light:hover { background: var(--on-ink); color: var(--band); }
.sc-small { margin-top: 22px; font-size: 14px; color: var(--ink-soft); }
@media (max-width: 1100px) { .sc-res { grid-template-columns: 1fr; } .sc-res .gauge-wrap { max-width: 300px; } }
@media (max-width: 860px) { .sc-weakgrid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .sc-q { flex-direction: column; align-items: flex-start; gap: 10px; } .sc-bar { grid-template-columns: 120px minmax(0, 1fr) 34px; font-size: 13px; } .sc-opts b { width: 46px; height: 46px; } }
@media print {
  header.nav, footer, #scSend, .sc-tools, .sc-actions, .sc-progbar { display: none !important; }
  .band { background: #fff !important; color: #111 !important; }
  .band *, .sc-banddesc, .sc-bar, .sc-bar em, .sc-weak h3, .sc-weakgrid h4, .sc-leak, .gauge-num, .gauge-wrap b { color: #111 !important; }
  .sc-weakgrid > div { background: #fff !important; } .sc-weakgrid p, .sc-weakgrid p b { color: #333 !important; } .sc-bar i { background: #e5e2db !important; } .sc-bar i b { background: #111 !important; } .sc-bar.weak i b { background: #A63A2B !important; }
  .js [data-r] { opacity: 1 !important; transform: none !important; } .js .gauge-wrap:not(.in) .arc { stroke-dashoffset: var(--to) !important; }
  .phero { padding-block: 12px; } .phero .lede { display: none; }
}

/* free tools page */
.tl-jump{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:22px}
.tl-jump a{font-weight:500;color:var(--brass);text-decoration:none;border-bottom:1px solid currentColor}
.calc .out a{color:inherit}
#runway .calc .out td:last-child,#worth .calc .out td:last-child{white-space:normal}

/* Websites page: portfolio */
.work-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; }
.work { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.work .shot { display: block; border: 1px solid var(--rule); background: var(--paper-2); overflow: hidden; aspect-ratio: 16 / 10; }
.work .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .5s; }
.work .shot:hover img { transform: scale(1.02); }
.work h3 { font-size: 28px; line-height: 1.1; }
.work p { color: var(--ink-soft); font-size: 16px; }
.work ul { margin: 0; padding: 0; list-style: none; font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.work li::before { content: "+ "; color: var(--brass); }
@media (max-width: 820px) { .work-grid { grid-template-columns: 1fr; } }
.band .sector { border-top-color: var(--on-ink-soft); }
.band .sector p, .band .sector ul, .band .fineprint { color: var(--on-ink-soft); }

/* blog header image */
.post .post-img{margin:0 0 28px}
.post .post-img img{display:block;width:100%;height:auto;border:1px solid var(--rule)}
