body.tbk-brand{--accent:#e87524;--paper:#090f17;--dark:#111e2e;--navy:#182a42;--line:#344358;--muted:#bbc7d5;background:var(--paper);color:#f4f7fb;line-height:1.7;-webkit-font-smoothing:antialiased}.tbk-brand *{box-sizing:border-box}.tbk-brand main{min-width:0}.tbk-brand :is(.section,.platform-section,.path-finder,.selected-builds,.see-work,.contact,.about,.process){padding:clamp(48px,6vw,88px) 6%}.tbk-brand :is(.hero,.split-hero){padding:clamp(38px,5vw,72px) 6%;background:var(--paper)}.tbk-brand h1{font-size:clamp(2.6rem,5.5vw,4.7rem)!important;line-height:1.06;letter-spacing:-.045em;text-wrap:balance;margin-top:0}.tbk-brand h2{font-size:clamp(1.9rem,3.2vw,3rem);line-height:1.12;text-wrap:balance;margin:0 0 28px}.tbk-brand h3{font-size:clamp(1.25rem,2vw,1.6rem);line-height:1.25;letter-spacing:-.025em;margin-top:0}.tbk-brand p{line-height:1.75}.tbk-brand :is(.eyebrow,.service-tag){font-size:.75rem;line-height:1.5;letter-spacing:.12em;font-weight:800;color:#f6a66d}.tbk-brand :is(.hero p,.hero-bottom p){max-width:68ch}.tbk-brand :is(.hero img,.split-hero img){border-radius:10px}.tbk-brand :is(.hero-actions,.shop-hero-actions,.porsche-actions,.proof-actions,.build-actions){display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:24px}.tbk-brand :is(.button,button[type=submit]){display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:14px 22px;background:var(--accent);color:#08111c;border:1px solid var(--accent);border-radius:6px;text-decoration:none;font-size:.95rem;font-weight:800;line-height:1.35;text-align:center;letter-spacing:0}.tbk-brand :is(.button,button[type=submit]):hover{background:#f3934e;border-color:#f3934e;color:#08111c}.tbk-brand :is(.shop-secondary,.hero-actions>a:not(.button),.porsche-actions>a:not(.button),.proof-actions>a:not(.button),.build-actions>a:not(.button),.hero-bottom>a:not(.button)){display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 21px;border:1px solid #63758b;border-radius:6px;color:#f4f7fb;background:transparent;text-decoration:none;font-size:.95rem;font-weight:700;line-height:1.35}.tbk-brand a{text-underline-offset:4px}.tbk-brand :is(.service-paths,.vehicle-choices,.result-grid,.path-grid,.build-proof-grid,.work-grid){gap:24px}.tbk-brand :is(.service-paths article,.vehicle-choices article,.result-card,.path-grid article,.build-proof-grid article,.booking-card,.work-card){border:1px solid var(--line);border-radius:10px;background:#142132;padding:clamp(22px,2.5vw,32px);min-width:0;overflow-wrap:anywhere;box-shadow:0 8px 24px #00000016}.tbk-brand :is(.service-paths article,.vehicle-choices article,.result-card,.path-grid article,.booking-card)>p{color:var(--muted)}.tbk-brand :is(.service-paths article,.vehicle-choices article,.result-card,.path-grid article)>:last-child{margin-bottom:0}.tbk-brand .work-card{padding:0;overflow:hidden}.tbk-brand .work-card>:not(.work-player):not(img){margin-left:24px;margin-right:24px}.tbk-brand .service-price{font-size:2rem;font-weight:800;line-height:1.2;color:#f4f7fb}.tbk-brand :is(.project-facts,.quick-answer,.guide-note,.porsche-note,.shop-process){padding:24px;border:1px solid var(--line);border-left:3px solid var(--accent);border-radius:8px;background:#142132;color:#f4f7fb}.tbk-brand :is(.breadcrumbs,.journey-links,.shop-jump-nav){font-size:.85rem;line-height:1.6}.tbk-brand :is(.journey-links,.shop-jump-nav){background:#111c2a}.tbk-brand :is(.proof-nav,.build-nav){display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}.tbk-brand :is(.proof-nav,.build-nav)>a{display:inline-flex;align-items:center;min-height:44px;padding:9px 14px;border:1px solid var(--line);border-radius:6px;text-decoration:none;font-size:.85rem;color:#dbe6f2}.tbk-brand :is(.faq,.shop-ordering-faq,.editorial)>details{border:1px solid var(--line);border-radius:8px;background:#111c2a;padding:0;margin:12px 0}.tbk-brand :is(.faq,.shop-ordering-faq,.editorial)>details>summary{padding:20px 24px;cursor:pointer;min-height:56px;font-weight:700;line-height:1.45}.tbk-brand :is(.faq,.shop-ordering-faq,.editorial)>details>:not(summary){margin-left:24px;margin-right:24px}.tbk-brand :is(.faq,.shop-ordering-faq,.editorial)>details>:last-child{margin-bottom:24px}.tbk-brand :is(.quick-inquiry form,.contact form){padding:clamp(22px,3vw,36px);border:1px solid var(--line);border-radius:10px;background:#142132;min-width:0}.tbk-brand label{line-height:1.5}.tbk-brand input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.tbk-brand select,.tbk-brand textarea{width:100%;max-width:100%;min-height:48px;font:inherit;font-size:16px;padding:13px 14px;border-radius:6px;background:#0c1623;color:#f4f7fb;border:1px solid #63758b}.tbk-brand textarea{min-height:140px;resize:vertical}.tbk-brand table{width:100%;border-collapse:collapse;font-size:.95rem}.tbk-brand :is(th,td){padding:14px;text-align:left;border-bottom:1px solid var(--line)}.tbk-brand :is(.results-wrap,.table-wrap){overflow-x:auto}.tbk-brand footer{padding:48px 6%;gap:24px;line-height:1.6}.tbk-brand footer a{min-height:44px;align-content:center}.tbk-brand img{max-width:100%}.tbk-brand :is(.media-chart,.build-columns img){height:auto}.tbk-brand :focus-visible{outline:3px solid #ffaf73;outline-offset:4px}@media(min-width:1500px){.tbk-brand :is(.section,.hero,.split-hero,.platform-section,.path-finder,.selected-builds,.see-work,.contact,.about,.process){padding-left:max(6%,calc((100vw - 1320px)/2));padding-right:max(6%,calc((100vw - 1320px)/2))}}@media(max-width:700px){.tbk-brand :is(.section,.hero,.split-hero,.platform-section,.path-finder,.selected-builds,.see-work,.contact,.about,.process){padding-left:6%;padding-right:6%}.tbk-brand h1{font-size:clamp(2.35rem,9vw,3.5rem)!important}.tbk-brand :is(.service-paths,.vehicle-choices,.result-grid,.path-grid,.build-proof-grid,.build-columns){grid-template-columns:minmax(0,1fr)}.tbk-brand :is(.hero-actions,.shop-hero-actions,.porsche-actions,.proof-actions,.build-actions)>a{width:100%}.tbk-brand :is(.quick-inquiry form,.contact form){padding:20px}.tbk-brand :is(.faq,.shop-ordering-faq,.editorial)>details>summary{padding:18px}.tbk-brand :is(.faq,.shop-ordering-faq,.editorial)>details>:not(summary){margin-left:18px;margin-right:18px}.tbk-brand footer{flex-direction:column}}@media(prefers-reduced-motion:reduce){.tbk-brand *{scroll-behavior:auto!important}}body.tbk-brand>header .tbk-services-menu{padding:0;margin:0;border:0;background:transparent}body.tbk-brand>header .tbk-services-menu>summary{padding:0;min-height:48px}
 body.tbk-brand>footer{display:grid;grid-template-columns:140px minmax(0,1fr);align-items:start;gap:24px 48px;padding:48px 6% 28px;background:#090f17;border-top:1px solid #344358}body.tbk-brand>footer>.brand{display:inline-flex;width:104px;min-height:104px}body.tbk-brand>footer>.brand img{width:104px;height:104px;max-width:none;object-fit:contain}body.tbk-brand>footer .brand-wordmark{display:none}body.tbk-brand>footer>div{min-width:0;width:100%}body.tbk-brand>footer>div>p{font-size:1.05rem;line-height:1.6;color:#bbc7d5;margin:0 0 20px}body.tbk-brand>footer nav:not(.tbk-social-links){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 28px;margin:0;justify-content:start}body.tbk-brand>footer nav:not(.tbk-social-links)>a{display:flex!important;align-items:center;min-height:44px;padding:8px 0;font-size:.85rem;line-height:1.5;letter-spacing:0;text-decoration:none;color:#bbc7d5;overflow-wrap:anywhere}body.tbk-brand>footer nav:not(.tbk-social-links)>a:hover{color:#f6a66d;text-decoration:underline}body.tbk-brand>footer>.tbk-social-links{grid-column:1/-1;display:flex!important;border-top:1px solid #344358;padding-top:24px;margin:0;gap:12px}body.tbk-brand>footer>.tbk-social-links a{border-radius:6px;padding:10px 18px}@media(max-width:900px){body.tbk-brand>footer{grid-template-columns:104px minmax(0,1fr);gap:24px}body.tbk-brand>footer nav:not(.tbk-social-links){grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 20px}}@media(max-width:540px){body.tbk-brand>footer{grid-template-columns:minmax(0,1fr);padding-top:36px}body.tbk-brand>footer>.brand,body.tbk-brand>footer>.brand img{width:88px;height:88px;min-height:88px}body.tbk-brand>footer nav:not(.tbk-social-links){grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 18px}body.tbk-brand>footer>div>p{font-size:1rem}}
body.tbk-brand>footer .brand-wordmark{display:none!important}body.tbk-brand>footer nav button{justify-self:start;text-align:left;margin:0;padding:8px 0;min-height:44px;background:none;border:0;color:#bbc7d5;font:inherit;font-size:.85rem;line-height:1.5;cursor:pointer}
body.tbk-brand .affiliate-card{padding:28px;border:1px solid #344358;border-radius:10px;background:#142132;min-width:0}body.tbk-brand .affiliate-card h2{font-size:1.75rem}body.tbk-brand .affiliate-card p{color:#bbc7d5}body.tbk-brand .affiliate-card .button{margin:8px 0}body.tbk-brand .affiliate-card>a:not(.button){display:block;min-height:44px;padding:10px 0;color:#f6a66d}@media(max-width:600px){body.tbk-brand .affiliate-card{padding:22px}}

/* Editorial rhythm and platform reference links. */
body.tbk-brand main :is(h1,h2,h3,p,li){text-align:left;word-break:normal;hyphens:none}
body.tbk-brand main p{max-width:72ch;text-wrap:pretty}
body.tbk-brand :is(.service-paths article,.vehicle-choices article,.result-card,.path-grid article,.build-proof-grid article,.work-card){overflow-wrap:break-word}
body.tbk-brand main .section .section{padding:32px 0}
body.tbk-brand .hero-platforms{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px 16px;margin:22px 0 0}
body.tbk-brand .hero-platforms a{font-size:.85rem;line-height:1.4;letter-spacing:0;text-transform:none;min-height:32px;display:inline-flex;align-items:center;color:#c4d0dd;text-decoration:underline;text-underline-offset:4px}
body.tbk-brand .hero-platforms a:hover{color:#ffaf73}
body.tbk-brand .selected-builds .build-proof-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
body.tbk-brand .build-proof-grid article{display:flex;flex-direction:column;padding:24px}
body.tbk-brand .build-proof-grid article>p:not(.eyebrow){font-size:.96rem;line-height:1.65;color:#c4d0dd}
body.tbk-brand .build-proof-grid article>.text-link{margin-top:auto;padding-top:14px;line-height:1.5}
body.tbk-brand .build-proof-grid .eyebrow{font-size:.68rem;letter-spacing:.07em;margin-bottom:12px}
body.tbk-brand .build-proof-grid h3{font-size:1.35rem;margin-bottom:12px}
body.tbk-brand .hero-next-step{margin-top:18px;font-size:.95rem;color:#bbc7d5}
body.tbk-brand .ecu-reference-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0}
body.tbk-brand .ecu-reference-grid a{display:block;padding:20px;border:1px solid var(--line);border-radius:8px;background:#142132;text-decoration:none}
body.tbk-brand .ecu-reference-grid strong{display:block;font-size:1.1rem;color:#f4f7fb;margin-bottom:8px}
body.tbk-brand .ecu-reference-grid span{display:block;font-size:.9rem;line-height:1.5;color:#bbc7d5}
body.tbk-brand .ecu-article{max-width:880px;margin:0 auto;padding:40px 6% 56px}
body.tbk-brand .ecu-article section{padding:28px 0;border-bottom:1px solid var(--line)}
body.tbk-brand .ecu-article h2{font-size:clamp(1.5rem,2.5vw,2rem);margin-bottom:18px}
body.tbk-brand .ecu-article li{margin-bottom:12px;line-height:1.65}
body.tbk-brand .ecu-article p{margin-bottom:18px}
body.tbk-brand .ecu-guide-hero{padding-bottom:32px}
body.tbk-brand .ecu-guide-hero h1{max-width:22ch}
@media(max-width:1000px){body.tbk-brand .selected-builds .build-proof-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.tbk-brand .ecu-reference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){body.tbk-brand :is(.section,.platform-section,.path-finder,.selected-builds,.see-work,.contact,.about,.process){padding-top:40px;padding-bottom:40px}body.tbk-brand .selected-builds .build-proof-grid{grid-template-columns:minmax(0,1fr)}body.tbk-brand .ecu-reference-grid{grid-template-columns:minmax(0,1fr)}body.tbk-brand main .section .section{padding:24px 0}body.tbk-brand .ecu-article{padding-top:16px}body.tbk-brand .hero-platforms{gap:6px 16px}body.tbk-brand .hero-platforms a{min-height:36px}}

body.tbk-brand .see-work .work-card h3{margin-top:20px}body.tbk-brand .see-work .work-card>.eyebrow{margin-top:24px}body.tbk-brand .see-work .work-links{padding-bottom:18px}body.tbk-brand .see-work .work-links a{font-size:.9rem;line-height:1.5}body.tbk-brand .see-work .work-card>p{margin-bottom:12px}body.tbk-brand .see-work .work-credit{line-height:1.5}body.tbk-brand .see-work .work-grid{align-items:start}

body.ecu-knowledge :is(.breadcrumbs,.ecu-guide-hero,.ecu-article){max-width:1000px;margin-left:auto;margin-right:auto}body.ecu-knowledge .ecu-article{padding-top:8px}body.ecu-knowledge .ecu-guide-hero{padding-top:40px}body.ecu-knowledge .ecu-article section:last-child{border-bottom:0}
/* Hardware reference figures and service-page reading rhythm. */
body.ecu-knowledge .ecu-hardware{margin:28px 0 0;max-width:680px}
body.ecu-knowledge .ecu-hardware-media{background:#f5f6f7;border:1px solid #435164;border-radius:8px;overflow:hidden;display:flex;align-items:center;justify-content:center}
body.ecu-knowledge .ecu-hardware-media img{display:block;width:100%;height:290px;object-fit:contain;margin:0;border:0;border-radius:0;filter:none}
body.ecu-knowledge .ecu-hardware figcaption{font-size:.9rem;line-height:1.6;color:#c4d0dd;padding:14px 0 0;text-align:left}
body.ecu-knowledge .ecu-hardware figcaption strong,body.ecu-knowledge .ecu-hardware figcaption span{display:block;margin-bottom:5px}
body.ecu-knowledge .ecu-hardware figcaption a{display:inline-block;padding:6px 0}
body.tbk-brand .tuning-process{max-width:76ch;padding-left:1.4em}
body.tbk-brand .tuning-process li{padding-left:6px;margin-bottom:18px;line-height:1.7}
body.tbk-brand .service-readiness .service-paths{align-items:start}
@media(max-width:700px){body.ecu-knowledge .ecu-hardware-media img{height:220px}body.ecu-knowledge .ecu-hardware{margin-top:24px}}

body.ecu-knowledge .ecu-hardware-media img[src$="/ecutek-connect.jpg"]{object-fit:cover;object-position:left center}

@media(min-width:1100px){body.tbk-brand .service-readiness .service-paths,body.ford-service .service-paths{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Jaycee Focus RS build feature. */
body.tbk-brand .jaycee-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:center}
body.tbk-brand .jaycee-feature>figure{margin:0;min-width:0}
body.tbk-brand .jaycee-feature img,body.tbk-brand .jaycee-build-photo img{display:block;width:100%;height:auto;border-radius:8px}
body.tbk-brand .jaycee-feature figcaption{font-size:.85rem;line-height:1.6;color:#bbc7d5;margin-top:12px}
body.tbk-brand .jaycee-feature h3{font-size:1.55rem}
@media(max-width:800px){body.tbk-brand .jaycee-feature{grid-template-columns:minmax(0,1fr);gap:24px}}


/* Build gallery: consistent real-photo and documented-record previews. */
body.tbk-brand .build-card-visual{position:relative;display:flex;flex-direction:column;margin:0 0 20px;min-width:0;overflow:hidden;border:1px solid #344358;border-radius:7px;background:#09121e}
body.tbk-brand .build-card-visual>img,body.tbk-brand .build-card-visual>svg{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;margin:0;border:0;border-radius:0;min-width:0}
body.tbk-brand .build-card-graphic>img,body.tbk-brand .build-card-graphic>svg{object-fit:contain;background:#050b13}
body.tbk-brand .build-card-visual figcaption{box-sizing:border-box;min-height:58px;padding:10px 12px;color:#c4d0dd;font-size:.74rem;line-height:1.5;letter-spacing:0;text-align:left;background:#0c1928}
body.tbk-brand .build-card-visual svg text{fill:#f4f7fb}
body.tbk-brand .media-grid{align-items:stretch;gap:24px}
body.tbk-brand .media-grid>article{display:flex;flex-direction:column;min-width:0;padding:24px;background:#142132;color:#f4f7fb;border:1px solid #344358;border-radius:9px}
body.tbk-brand .media-grid>article>p{color:#c4d0dd;line-height:1.7}
body.tbk-brand .media-grid>article>h3{color:#f4f7fb;font-size:1.4rem;line-height:1.3;margin:0 0 14px}
body.tbk-brand .media-grid>article>a:last-child{margin-top:auto;padding-top:16px;color:#ffaf73;line-height:1.5}
body.tbk-brand .media-grid svg text{fill:#f4f7fb}
body.tbk-brand .media-grid>article>.media-chart{margin-bottom:20px}
body.tbk-brand #builds>.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
body.tbk-brand .selected-builds .build-proof-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
body.tbk-brand .build-proof-grid article{min-width:0;padding:20px}
body.tbk-brand .result-card .build-card-visual{margin-bottom:20px}
body.tbk-brand .build-example .build-photo{max-width:760px}
body.tbk-brand .build-example .build-card-visual>img{aspect-ratio:16/10}
body.tbk-brand .build-example .build-card-graphic>img{aspect-ratio:auto;max-height:560px}
body.tbk-brand #lucas-emtron>.build-card-visual{max-width:760px;margin-top:24px}
@media(min-width:1200px){body.tbk-brand .selected-builds .build-proof-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:701px){body.tbk-brand .build-proof-grid article>.eyebrow{min-height:3em;line-height:1.5}body.tbk-brand .build-proof-grid h3{min-height:2.6em;line-height:1.3}}
@media(max-width:700px){body.tbk-brand #builds>.media-grid,body.tbk-brand .selected-builds .build-proof-grid{grid-template-columns:minmax(0,1fr)}body.tbk-brand .media-grid>article{padding:20px}body.tbk-brand .build-card-visual figcaption{font-size:.76rem}}

/* Match the existing dark dyno display while keeping the original PNG untouched. */
body.tbk-brand .build-dyno-display{position:relative;isolation:isolate;aspect-ratio:16/10;background:#050b13;overflow:hidden}
body.tbk-brand .build-dyno-display>img{display:block;width:100%;height:100%;object-fit:contain;margin:0;filter:invert(1) hue-rotate(180deg) brightness(1.65)}
body.tbk-brand .build-dyno-display::after{content:"";position:absolute;inset:5% 8% 12%;background:url("/assets/brand/keith-logo.svg") center/56% auto no-repeat;opacity:.14;pointer-events:none}
@media print{body.tbk-brand .build-dyno-display>img{filter:none}body.tbk-brand .build-dyno-display::after{display:none}}


/* Source-matched project galleries; native image links work without scripts. */
body.tbk-brand .project-album{scroll-margin-top:24px}body.tbk-brand #project-galleries>.project-album{margin-top:42px;padding-top:28px;border-top:1px solid #30465b}body.tbk-brand .project-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:18px;margin:22px 0}body.tbk-brand .project-photo-grid figure{min-width:0;margin:0;overflow:hidden;background:#101b29;border:1px solid #30465b;border-radius:12px}body.tbk-brand .project-photo-grid figure>a{display:block;background:#050b13}body.tbk-brand .project-photo-grid img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}body.tbk-brand .project-photo-portrait img{aspect-ratio:4/5;object-fit:contain}body.tbk-brand .project-photo-grid figcaption{padding:12px 14px;color:#c5d2e0;font-size:.84rem;line-height:1.5;text-align:left}body.tbk-brand .project-photo-credit{max-width:72ch;color:#bcc9d8;font-size:.86rem;line-height:1.65}body.tbk-brand .project-photo-grid a:focus-visible{outline:3px solid #ffb575;outline-offset:-4px}body.tbk-brand #builds .project-gallery-jump{margin-top:auto;margin-bottom:10px}body.tbk-brand #builds .project-gallery-jump+a{margin-top:0}@media(max-width:600px){body.tbk-brand .project-photo-grid{grid-template-columns:1fr;gap:16px}body.tbk-brand .project-photo-portrait img{max-height:620px}body.tbk-brand #project-galleries>.project-album{margin-top:30px}}


/* Illustrated build stories and flagship feature. */
body.tbk-brand .flagship-feature{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center}body.tbk-brand .flagship-feature figure{margin:0}body.tbk-brand .flagship-feature img{display:block;width:100%;height:auto;border-radius:12px}body.tbk-brand .flagship-feature figcaption{color:#bcc9d8;font-size:.85rem;line-height:1.5;padding-top:10px}body.tbk-brand .build-story-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0 32px}body.tbk-brand .build-story-stats>div{padding:20px;border:1px solid #30465b;border-radius:10px;background:#101b29}body.tbk-brand .build-story-stats strong,body.tbk-brand .build-story-stats span{display:block}body.tbk-brand .build-story-stats strong{font-size:1.45rem;color:#ffad6c;line-height:1.25}body.tbk-brand .build-story-stats span{margin-top:9px;color:#c5d2e0;font-size:.9rem;line-height:1.5}body.tbk-brand .featured-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}body.tbk-brand .featured-story-grid article{min-width:0;padding:20px;background:#101b29;border:1px solid #30465b;border-radius:12px;display:flex;flex-direction:column}body.tbk-brand .featured-story-grid figure{margin:0 0 16px}body.tbk-brand .featured-story-grid img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:8px}body.tbk-brand .featured-story-grid figcaption{font-size:.8rem;color:#bcc9d8;line-height:1.5;margin-top:10px}body.tbk-brand .featured-story-grid h3{margin:0 0 12px}body.tbk-brand .featured-story-grid article>a{margin-top:auto}body.tbk-brand .build-story-table{overflow-x:auto;margin:24px 0}body.tbk-brand .build-story-table table{border-collapse:collapse;width:100%;color:#e9eef4;background:#101b29}body.tbk-brand .build-story-table th,body.tbk-brand .build-story-table td{padding:14px;text-align:left;border:1px solid #30465b;vertical-align:top}body.tbk-brand .build-story-table caption{text-align:left;color:#bcc9d8;padding:10px 0;font-size:.9rem}body.tbk-brand .source-record{max-width:850px;margin:28px auto}body.tbk-brand .record-image{display:block;position:relative;background:#050b13;border:1px solid #30465b;border-radius:10px;overflow:hidden}body.tbk-brand .record-image img{display:block;width:100%;height:auto;filter:invert(1) hue-rotate(180deg) brightness(1.65)}body.tbk-brand .record-image::after{content:"";position:absolute;inset:25% 10%;background:url("/assets/brand/keith-logo.svg") center/55% auto no-repeat;opacity:.1;pointer-events:none}body.tbk-brand .source-record figcaption{color:#bcc9d8;font-size:.88rem;line-height:1.65;padding-top:12px}body.tbk-brand .workshop-video{max-width:420px;margin:24px auto}body.tbk-brand .workshop-video video{display:block;width:100%;height:auto;max-height:640px;background:#050b13;border:1px solid #30465b;border-radius:10px}body.tbk-brand .sti-timeline article{scroll-margin-top:24px}body.tbk-brand #project-photos{scroll-margin-top:24px}@media(max-width:800px){body.tbk-brand .flagship-feature,body.tbk-brand .featured-story-grid{grid-template-columns:1fr}body.tbk-brand .flagship-feature{gap:24px}body.tbk-brand .build-story-stats{grid-template-columns:1fr}body.tbk-brand .build-story-table th,body.tbk-brand .build-story-table td{padding:10px;font-size:.9rem}}

body.tbk-brand .sti-hero>figure>img{aspect-ratio:4/3;object-fit:cover;max-height:460px}body.tbk-brand #project-photos .project-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:600px){body.tbk-brand #project-photos .project-photo-grid{grid-template-columns:1fr}}


body.tbk-brand .q60-dyno-video{display:block;width:100%;height:auto;aspect-ratio:16/9;max-height:620px;background:#050b13;border:1px solid #30465b;border-radius:12px;margin:24px 0}body.tbk-brand #infiniti-builds .flagship-feature{padding:0}body.tbk-brand #project-mary-q60-photos{scroll-margin-top:24px}

body.tbk-brand #results .featured-story-grid+p{margin-top:22px}

/* Full-page visual review: balanced routes, platform cards and follow-on spacing. */
body.tbk-brand #choose-service .path-grid>article:last-child:nth-child(7){grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 32px;align-items:start}
body.tbk-brand #choose-service .path-grid>article:last-child:nth-child(7)>h3{margin:0}
body.tbk-brand #choose-service .path-grid>article:last-child:nth-child(7)>p{grid-column:1;margin:0;max-width:65ch}
body.tbk-brand #choose-service .path-grid>article:last-child:nth-child(7)>div{grid-column:2;grid-row:1/3;display:flex;flex-wrap:wrap;align-content:start;gap:12px 24px;margin:0}
body.tbk-brand #choose-service .path-grid>article:last-child:nth-child(7)>div>a{margin:0;min-height:44px;display:inline-flex;align-items:center}
body.tbk-brand #supported-vehicles .steps{grid-template-columns:repeat(6,minmax(0,1fr));gap:24px}
body.tbk-brand #supported-vehicles .steps>article{grid-column:span 2;min-width:0;padding:24px;background:#101b29;border:1px solid #30465b;border-radius:10px;display:flex;flex-direction:column;align-items:flex-start}
body.tbk-brand #supported-vehicles .steps>article:nth-last-child(2):nth-child(3n+1),body.tbk-brand #supported-vehicles .steps>article:last-child:nth-child(3n+2){grid-column:span 3}
body.tbk-brand #supported-vehicles .steps>article>h3{margin:0 0 16px;line-height:1.3}
body.tbk-brand #supported-vehicles .steps>article>p{color:#c1cdda;line-height:1.75}
body.tbk-brand #supported-vehicles .steps>article>a:last-child{margin-top:auto;padding-top:12px}
body.tbk-brand #supported-vehicles .steps+p,body.tbk-brand .service-paths+p{margin-top:24px}
body.tbk-brand .project-facts{margin-block:28px}
body.tbk-brand .project-facts+h2{margin-top:36px}
@media(max-width:800px){body.tbk-brand #supported-vehicles .steps{grid-template-columns:repeat(2,minmax(0,1fr))}body.tbk-brand #supported-vehicles .steps>article{grid-column:span 1!important}body.tbk-brand #supported-vehicles .steps>article:last-child:nth-child(odd){grid-column:1/-1!important}}
@media(max-width:600px){body.tbk-brand #choose-service .path-grid>article:last-child:nth-child(7){grid-template-columns:minmax(0,1fr)}body.tbk-brand #choose-service .path-grid>article:last-child:nth-child(7)>div{grid-column:1;grid-row:auto}body.tbk-brand #supported-vehicles .steps{grid-template-columns:minmax(0,1fr)}body.tbk-brand #supported-vehicles .steps>article{padding:20px}}

/* Balance three-photo project galleries without changing image files or crops. */
@media(min-width:1000px){body.tbk-brand .project-photo-grid:has(>figure:nth-child(3):last-child),body.tbk-brand #project-photos .project-photo-grid:has(>figure:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}}
body.tbk-brand .project-photo-grid:has(>figure:only-child),body.tbk-brand #project-photos .project-photo-grid:has(>figure:only-child){grid-template-columns:minmax(0,720px);justify-content:center}

/* Service checkout cards: content may wrap, but actions share a baseline. */
body.tbk-brand #order-options .service-paths{align-items:stretch}
body.tbk-brand #order-options .service-paths>article{display:flex;flex-direction:column;align-items:flex-start}
body.tbk-brand #order-options .service-paths>article>h3{margin:0 0 20px;line-height:1.3}
body.tbk-brand #order-options .service-paths>article>p{margin:0 0 28px}
body.tbk-brand #order-options .service-paths>article>.button:last-child{margin-top:auto;max-width:100%;box-sizing:border-box;white-space:normal}

/* Consistent vehicle selection and build-card actions across content lengths. */
body.tbk-brand .vehicle-choices{align-items:stretch}
body.tbk-brand .vehicle-choices>article{display:flex;flex-direction:column;align-items:flex-start}
body.tbk-brand .vehicle-choices>article>h3{margin:0 0 16px}
body.tbk-brand .vehicle-choices>article>p{margin:0 0 24px}
body.tbk-brand .vehicle-choices>article>a:last-child{margin-top:auto;display:inline-flex;align-items:center;min-height:48px;padding:12px 16px;border:1px solid #63758b;border-radius:6px;color:#f4f7fb;text-decoration:none;font-weight:700;line-height:1.45;max-width:100%}
body.tbk-brand .vehicle-choices>article>a:last-child:hover{border-color:var(--accent);background:#1b2d42}
body.tbk-brand #subaru-results .result-card{display:flex;flex-direction:column}
body.tbk-brand #subaru-results .result-card>h3{min-height:0}
body.tbk-brand #subaru-results .result-card>a{margin-top:auto;padding-top:16px;line-height:1.5}
body.tbk-brand #subaru-results .result-card>a+p{margin:16px 0 0;padding-top:16px;border-top:1px solid var(--line)}
body.tbk-brand #subaru-results .result-card>a+p>a{display:inline-flex;align-items:center;min-height:48px;color:#f4f7fb;line-height:1.5}
@media(min-width:701px) and (max-width:1100px){body.tbk-brand #subaru-results .result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){body.tbk-brand .vehicle-choices>article>a:last-child{width:100%;justify-content:center}body.tbk-brand #subaru-results .result-grid{grid-template-columns:minmax(0,1fr)}}

/* Keep the three Subaru generation choices balanced instead of leaving an orphan card. */
@media(min-width:1101px){body.tbk-brand #generation .vehicle-choices{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:701px) and (max-width:1100px){body.tbk-brand #generation .vehicle-choices>article:last-child:nth-child(3){grid-column:1/-1}}

/* Homepage archive disclosure: keep additional builds accessible without a long initial scroll. */
body.tbk-brand .more-build-stories{margin:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
body.tbk-brand .more-build-stories>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:64px;padding:18px 20px;list-style:none;cursor:pointer;font-weight:700;line-height:1.5;color:var(--ink);background:#111c2a;border-radius:8px}
body.tbk-brand .more-build-stories>summary::-webkit-details-marker{display:none}
body.tbk-brand .more-build-stories>summary::after{content:"+";font-size:1.5rem;line-height:1;flex:none;color:var(--accent)}
body.tbk-brand .more-build-stories[open]>summary::after{content:"−"}
body.tbk-brand .more-build-stories>summary:hover{background:#18283b}
body.tbk-brand .more-build-stories>summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
body.tbk-brand .more-build-stories>.build-proof-grid{margin:24px 0}

/* Vehicle-specific build evidence on the FA24 service page. */
.tbk-brand :is(.fa24-build-cards,.vehicle-build-cards) article{display:flex;flex-direction:column}
.tbk-brand :is(.fa24-build-cards,.vehicle-build-cards) figure{margin:0 0 24px}
.tbk-brand :is(.fa24-build-cards,.vehicle-build-cards) img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:6px}
.tbk-brand :is(.fa24-build-cards,.vehicle-build-cards) figcaption{font-size:.8rem;color:var(--muted);margin-top:8px}
.tbk-brand :is(.fa24-build-cards,.vehicle-build-cards) article>.button{margin-top:auto}

/* One verified build with its own photograph and source context. */
.tbk-brand .vehicle-build-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,48px);align-items:center;padding:clamp(22px,3vw,36px);border:1px solid var(--line);border-radius:10px;background:#142132}
.tbk-brand .vehicle-build-feature figure{margin:0;min-width:0}
.tbk-brand .vehicle-build-feature img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:center 54%;border-radius:6px}
.tbk-brand .vehicle-build-feature figcaption{font-size:.8rem;color:var(--muted);margin-top:8px}
.tbk-brand .vehicle-build-feature>div{min-width:0}
.tbk-brand .related-build-title{margin-top:32px}
@media(max-width:700px){.tbk-brand .vehicle-build-feature{grid-template-columns:minmax(0,1fr)}.tbk-brand .vehicle-build-feature .button{width:100%}}

/* Complete ECU guide choices with aligned actions and readable mobile labels. */
.tbk-brand .ecu-guide-cards>article{display:flex;flex-direction:column;align-items:flex-start}
.tbk-brand .ecu-guide-cards>article>.button{margin-top:auto;max-width:100%;white-space:normal}
@media(max-width:700px){.tbk-brand .ecu-guide-cards>article>.button{width:100%}}

/* Static logo-first navigation: stable first paint, native menus without JavaScript. */
body.tbk-brand>header.tbk-static-header{position:relative;display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:24px;padding:12px 6%;min-height:121px}
body.tbk-brand>header.tbk-static-header>.brand img{display:block;width:96px!important;height:96px!important;max-width:none;object-fit:contain}
body.tbk-brand>header.tbk-static-header :is(a,summary):focus-visible{outline:3px solid var(--accent);outline-offset:4px}
body.tbk-brand>header.tbk-static-header>.tbk-desktop-navigation{display:flex;width:auto;align-items:center;gap:1.6rem;border:0;padding:0}
body.tbk-brand>header.tbk-static-header .tbk-native-mobile-menu{display:none}
body.tbk-brand>header.tbk-static-header details{border:0;padding:0;margin:0;background:transparent}
body.tbk-brand>header.tbk-static-header summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:.6rem;min-height:48px;font-size:.9rem;font-weight:600}
body.tbk-brand>header.tbk-static-header summary::-webkit-details-marker{display:none}
body.tbk-brand>header.tbk-static-header .tbk-services-menu{position:relative}
body.tbk-brand>header.tbk-static-header .tbk-services-panel{position:absolute;top:100%;left:0;z-index:50;min-width:260px;padding:12px;background:#132031;border:1px solid #435164;border-radius:8px;box-shadow:0 12px 40px #0008}
body.tbk-brand>header.tbk-static-header .tbk-services-panel a{display:block;padding:10px 12px;min-height:44px;text-decoration:none;font-size:.9rem;color:#f5f7fa}
body.tbk-brand>header.tbk-static-header .tbk-services-panel a:hover{background:#25354b;border-radius:4px}
@media(max-width:1000px){
body.tbk-brand>header.tbk-static-header{padding:10px 6%;min-height:97px;gap:16px}
body.tbk-brand>header.tbk-static-header>.brand img{width:76px!important;height:76px!important}
body.tbk-brand>header.tbk-static-header>.tbk-desktop-navigation{display:none}
body.tbk-brand>header.tbk-static-header .tbk-native-mobile-menu{display:block}
body.tbk-brand>header.tbk-static-header .tbk-native-mobile-menu>summary{min-width:70px;justify-content:center;padding:.65rem .8rem;border:1px solid #66758a;border-radius:6px;color:#f5f7fa}
body.tbk-brand>header.tbk-static-header .tbk-native-mobile-menu[open]>summary{background:#25354b}
body.tbk-brand>header.tbk-static-header .tbk-native-mobile-menu>nav{position:absolute;top:100%;left:6%;right:6%;width:auto;z-index:60;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:0;padding:16px;background:#132031;border:1px solid #435164;border-radius:8px;box-shadow:0 12px 40px #0008;max-height:calc(100dvh - 120px);overflow:auto}
body.tbk-brand>header.tbk-static-header .tbk-native-mobile-menu>nav>a{display:flex;align-items:center;min-height:48px;padding:10px 0;text-decoration:none}
body.tbk-brand>header.tbk-static-header .tbk-native-mobile-menu>nav>a.button{justify-content:center;padding:14px 22px;margin-top:8px;width:100%;max-width:none}
body.tbk-brand>header.tbk-static-header .tbk-services-panel{position:static;min-width:0;box-shadow:none;margin:0 0 8px}
}


/* Keep expanded mobile navigation in one scrollable column on short screens. */
@media(max-width:900px){body.tbk-brand>header.tbk-static-header .tbk-native-mobile-menu>nav>*{flex-shrink:0}}

/* Give standalone and service guide links comfortable mobile tap areas. */
@media(max-width:900px){body.tbk-brand :is(.service-paths,.vehicle-choices)>article>a:not(.button){display:inline-flex;align-items:center;min-height:44px;max-width:100%;padding-block:10px;box-sizing:border-box}}

/* Knowledge guides use their own bounded container, not viewport-based gutters. */
body.tbk-brand.ecu-knowledge :is(.breadcrumbs,.ecu-guide-hero){width:100%;max-width:1320px;margin-inline:auto;padding-inline:clamp(24px,5vw,64px);box-sizing:border-box}
body.tbk-brand.ecu-knowledge .ecu-article{width:100%;max-width:1100px;margin-inline:auto;padding-inline:clamp(24px,5vw,64px);box-sizing:border-box}
body.tbk-brand.ecu-knowledge .ecu-guide-hero h1{font-size:clamp(2.25rem,4vw,3.5rem)!important;line-height:1.12;max-width:none;margin:0;overflow-wrap:normal}
body.tbk-brand.ecu-knowledge .ecu-guide-hero .ecu-hardware-media img{width:100%;height:auto;max-height:360px;object-fit:contain}
@media(max-width:1000px){body.tbk-brand.ecu-knowledge.platform-guide .ecu-guide-hero{display:block}body.tbk-brand.ecu-knowledge.platform-guide .ecu-guide-hero>.ecu-hardware{max-width:620px;margin:28px 0 0}body.tbk-brand.ecu-knowledge .platform-cards{grid-template-columns:minmax(0,1fr)}}

/* Bounded reading sections must not inherit full-viewport desktop gutters. */
body.tbk-brand .section:is(.faq,.editorial,.shop-ordering-faq,.story-copy){padding-inline:clamp(24px,5vw,64px);box-sizing:border-box;width:100%}

/* Conditional inquiry fields must stay hidden despite label display rules. */
body.tbk-brand #tune-intake [hidden]{display:none!important}

/* Shared video-card geometry: portrait and landscape footage use one stage. */
body.tbk-brand .see-work .work-grid{align-items:stretch}
body.tbk-brand .see-work .work-card{display:grid;grid-template-rows:auto auto 1fr auto auto auto;gap:14px;padding:24px}
body.tbk-brand .see-work .work-card>:not(.work-player):not(img){margin:0}
body.tbk-brand .see-work .work-card>h3{margin:0}
body.tbk-brand .see-work .work-card>p{margin:0}
body.tbk-brand .see-work .work-card>video{display:block;width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:4/3!important;object-fit:contain;margin:0!important;background:#050b13;border-radius:8px}
body.tbk-brand .see-work .work-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0;padding:12px 0 0;border-top:1px solid var(--line)}
body.tbk-brand .see-work .work-links a{display:inline-flex;align-items:center;min-height:44px;margin:0;padding:6px 0}
@media(max-width:700px){body.tbk-brand .see-work .work-card{padding:20px;grid-template-rows:auto;gap:12px}body.tbk-brand .see-work .work-card>video{aspect-ratio:1/1!important}}

@supports(grid-template-rows:subgrid){@media(min-width:701px){body.tbk-brand .see-work .work-card{grid-row:span 6;grid-template-rows:subgrid;row-gap:14px}}}

/* ECU guide paired actions share the same brand treatment. */
body.tbk-brand.ecu-knowledge .hero-actions>a:not(.button){background:var(--accent);border-color:var(--accent);color:#08111c;font-weight:800;padding:14px 22px}
body.tbk-brand.ecu-knowledge .hero-actions>a:not(.button):hover{background:#f3934e;border-color:#f3934e;color:#08111c}

/* Branded dyno sheets: presentation only; linked originals stay unchanged. */
body.tbk-brand .dyno-sheet-display{display:block;position:relative;isolation:isolate;overflow:hidden;background:#050b13;border:1px solid #30465b;border-radius:10px}
body.tbk-brand .dyno-sheet-display>img{display:block;width:100%;height:auto;margin:0;border:0;border-radius:0;object-fit:contain;filter:invert(1) hue-rotate(180deg) brightness(1.65)}
body.tbk-brand .dyno-sheet-display::after{content:"";position:absolute;inset:8% 8% 18%;background:url("/assets/brand/keith-logo.svg") center/56% auto no-repeat;opacity:.14;pointer-events:none}
body.tbk-brand .portfolio-photo.dyno-sheet-display>img{aspect-ratio:16/10;object-fit:contain;background:#fff!important}
body.tbk-brand .dyno-sheet-display:focus-visible{outline:3px solid #ffb575;outline-offset:4px}
@media print{body.tbk-brand .dyno-sheet-display>img{filter:none}body.tbk-brand .dyno-sheet-display::after{display:none}}

/* Shared TBK dyno watermark. Keep source reports and their data untouched. */
@media screen{
body.tbk-brand :is(.dyno-sheet-display,.build-dyno-display,.record-image,.chris-chart>a:first-child)::after{content:"";background-image:url("/assets/brand/keith-logo.svg");background-repeat:no-repeat;background-position:center;background-size:56% auto;opacity:.14;pointer-events:none}
}
