/* Homepage only. Existing inner-page composition and shared components stay independent. */
.ff1296-homehero .herocopy h1{max-width:17ch}
.ff1296-homehero .lead{max-width:54ch}
.ff1296-folddeck{padding-top:48px;padding-bottom:36px}
.ff1296-folddeck .sectionhead{margin-bottom:22px}
.ff1296-service-jumps{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:28px}
.ff1296-service-jumps a{display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;border:1px solid var(--line);border-radius:999px;font-size:13px;font-weight:700;background:#fff;text-decoration:none}
.ff1296-service-jumps a:hover,.ff1296-service-jumps a:focus-visible{border-color:var(--teal);background:#e6f1f2}
.ff1296-folddeck .deck-stage{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:clamp(24px,5vw,72px);perspective:1400px}
.ff1296-folddeck .service-deck{position:relative;isolation:isolate;max-width:none;padding-bottom:0}
.ff1296-folddeck .service-deck::after{height:var(--ff1297-runway,200px)}
.ff1296-folddeck .service-sheet{--fold:0;z-index:1;top:108px;min-height:300px;padding:28px 30px;margin:0 0 72px;border-radius:28px;background:#fff;transform-origin:50% 0%;transform:perspective(1100px) rotateX(calc(var(--fold) * -7deg)) scale(calc(1 - var(--fold) * .035));box-shadow:0 18px 36px -28px rgba(11,24,32,.35);scroll-margin-top:110px}
.ff1296-folddeck .service-sheet:nth-child(2){z-index:2;top:122px;background:#e7f1f1}
.ff1296-folddeck .service-sheet:nth-child(3){z-index:3;top:136px;background:var(--ink);color:#fff;margin-bottom:0}
.ff1296-folddeck .sheetmeta{align-items:center;min-height:38px;padding-bottom:12px;font-size:12px}
.ff1296-folddeck .service-sheet h3{font-size:clamp(30px,3vw,44px);line-height:1.05;margin:20px 0 14px;max-width:16ch}
.ff1296-folddeck .service-sheet p{font-size:15px;line-height:1.6;margin:0 0 22px;max-width:48ch;color:var(--muted)}
.ff1296-folddeck .service-sheet:nth-child(3) p{color:#cad7da}
.ff1296-sheet-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.ff1296-sheet-foot strong{font-size:15px}
.ff1296-sheet-foot .textlink{font-size:13px;min-height:44px;display:inline-flex;align-items:center}
.ff1296-fold-mark{position:relative;width:38px;height:31px;perspective:150px;flex:none}
.ff1296-fold-mark i{position:absolute;inset:0;background:var(--signal);clip-path:polygon(0 100%,0 46%,100% 0,62% 62%);transform-origin:0 50%;transform:rotateY(calc(var(--fold) * -38deg));transition:transform .12s linear}
.ff1296-fold-mark i+i{inset:10px 1px -4px 13px;background:var(--teal);clip-path:polygon(0 38%,100% 0,42% 100%,0 100%);transform-origin:100% 50%;transform:rotateY(calc(var(--fold) * 46deg))}
.ff1296-folddeck .deck-preview{top:116px;margin-top:12px;max-width:none;padding:20px;border-radius:26px}
.ff1296-folddeck .projectlabel{font-size:10px;line-height:1.6}
.ff1296-folddeck .deck-picture{aspect-ratio:4/3;border-radius:16px}
.ff1296-folddeck .deck-picture img{width:100%;height:100%;padding:0;object-fit:cover;object-position:top}
.ff1296-folddeck .deck-preview p{font-size:20px;margin:16px 0 6px}
.ff1296-folddeck .deck-preview .textlink{font-size:12px;min-height:44px;display:inline-flex;align-items:center;color:#fff}
.ff1296-work{padding-top:40px;padding-bottom:40px;scroll-margin-top:100px}
.ff1296-work .sectionhead h2{max-width:20ch}
.ff1296-work .work-spotlight{gap:clamp(24px,4vw,54px);align-items:center}
.ff1296-work .work-screen{transform:perspective(1400px) rotateY(-3deg) rotateX(1deg);padding:12px}
.ff1296-work .work-screen img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:top}
.ff1296-work .work-detail h3{font-size:clamp(28px,3vw,40px);line-height:1.12}
.ff1296-work .work-index button{min-height:48px;font-size:13px}
.ff1296-work .work-detail [data-work-panel]>.btn{margin:18px 0}
.ff1296-work-more{text-align:right;margin:18px 0 0}
.ff1296-why{padding-top:36px;padding-bottom:36px}
.ff1296-why-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,6vw,90px);padding:clamp(28px,4vw,52px);border-radius:28px;background:#e7f1f1}
.ff1296-why-panel h2{font-size:clamp(32px,4vw,52px);line-height:1.05;letter-spacing:-.04em;margin:0 0 18px}
.ff1296-why-panel .eyebrow{margin:0 0 16px}
.ff1296-why-panel p{font-size:16px;line-height:1.6;max-width:44ch}
.ff1296-why-panel .textlink{min-height:44px;display:inline-flex;align-items:center}
.ff1296-why-panel dl{margin:0;display:grid;gap:20px}
.ff1296-why-panel dl>div+div{border-top:1px solid #b9ced1;padding-top:20px}
.ff1296-why-panel dt{font-size:18px;font-weight:750;line-height:1.3;margin-bottom:6px}
.ff1296-why-panel dd{margin:0;font-size:15px;color:var(--muted);line-height:1.55}
.ff1296-why-panel dd a{font-weight:650;text-decoration:underline;text-underline-offset:3px}
.ff1296-local{margin:20px 0 0;font-size:13px;line-height:1.7;color:var(--muted)}
.ff1296-local a{text-decoration:underline;text-underline-offset:3px}
@media(min-width:761px) and (max-width:1000px){.ff1296-folddeck .deck-stage{gap:24px;grid-template-columns:minmax(0,1.2fr) minmax(0,.9fr)}.ff1296-folddeck .service-sheet{padding:24px;min-height:330px}.ff1296-folddeck .service-sheet h3{font-size:33px}.ff1296-folddeck .deck-preview{padding:15px}.ff1296-folddeck .projectlabel{flex-wrap:wrap;gap:3px}}
@media(max-width:760px){
 .ff1296-homehero .herocopy h1{max-width:17ch;font-size:clamp(38px,10.3vw,62px)!important}
 .ff1296-homehero .lead{font-size:16px;line-height:1.5}
 .ff1296-homehero .actions{gap:10px}
 .ff1296-folddeck{padding-top:30px;padding-bottom:18px}
 .ff1296-folddeck .sectionhead{margin-bottom:14px}
 .ff1296-folddeck .sectionhead h2{font-size:32px}
 .ff1296-folddeck .sectionhead>p{margin-top:10px;font-size:14px}
 .ff1296-service-jumps{gap:6px;margin-bottom:20px}
 .ff1296-service-jumps a{padding:7px 10px;font-size:12px}
 .ff1296-folddeck .deck-stage{display:block}
 .ff1296-folddeck .service-sheet{top:88px;min-height:0!important;margin:0 0 28px!important;padding:20px!important;border-radius:24px;scroll-margin-top:90px}
 .ff1296-folddeck .service-sheet:nth-child(2){top:99px}
 .ff1296-folddeck .service-sheet:nth-child(3){top:110px;margin-bottom:0!important}
 .ff1296-folddeck .service-sheet h3{font-size:29px!important;max-width:16ch;margin:14px 0 12px!important}
 .ff1296-folddeck .service-sheet p{font-size:14px!important;line-height:1.5!important;margin-bottom:12px}
 .ff1296-folddeck .sheetmeta{font-size:11px;min-height:28px}
 .ff1296-fold-mark{width:30px;height:24px}
 .ff1296-sheet-foot{gap:4px 14px}
 .ff1296-sheet-foot strong{font-size:13px}
 .ff1296-sheet-foot .textlink{font-size:12px}
 .ff1296-folddeck .service-deck::after{height:38px}
 .ff1296-folddeck .deck-preview{display:none}
 .ff1296-work{padding-top:24px;padding-bottom:24px}
 .ff1296-work .sectionhead h2{font-size:32px;max-width:20ch}
 .ff1296-work .work-spotlight{gap:16px}
 .ff1296-work .work-screen{transform:none;border-radius:20px}
 .ff1296-work .work-screen img{aspect-ratio:16/10;height:auto}
 .ff1296-work .work-index{display:flex;flex-wrap:wrap;gap:6px;width:100%;margin:0;padding:0;border:0}
 .ff1296-work .work-index button{border:1px solid var(--line);padding:8px 12px;font-size:12px;min-height:44px;flex:1 1 auto;border-radius:14px;background:#fff;gap:6px;justify-content:center}
 .ff1296-work .work-index button[aria-selected=true]{background:var(--ink);color:#fff;border-color:var(--ink)}
 .ff1296-work .work-index button span,.ff1296-work .work-index button b{display:none}
 .ff1296-work .work-detail{padding:0}
 .ff1296-work .work-detail [data-work-panel]>.eyebrow{margin-bottom:8px}
 .ff1296-work .work-detail h3{font-size:28px}
 .ff1296-work .work-detail [data-work-panel]>.btn{margin:14px 0 0}
 .ff1296-work-more{text-align:left;margin-top:14px}
 .ff1296-why{padding-top:24px;padding-bottom:24px}
 .ff1296-why-panel{grid-template-columns:1fr;gap:24px;padding:24px;border-radius:24px}
 .ff1296-why-panel h2{font-size:34px}
 .ff1296-why-panel p{font-size:14px}
 .ff1296-why-panel dl{gap:14px}
 .ff1296-why-panel dl>div+div{padding-top:14px}
 .ff1296-why-panel dt{font-size:16px}
 .ff1296-why-panel dd{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.ff1296-folddeck .service-sheet{transform:none!important;position:relative!important;top:auto!important}.ff1296-fold-mark i{transform:none!important;transition:none}.ff1296-work .work-screen{transform:none;transition:none}}
@media(max-height:600px){.ff1296-folddeck .service-sheet{position:relative;top:auto}.ff1296-folddeck .deck-preview{position:relative;top:auto}}

/* Keyboard focus is revealed by scrolling the card into view, never by changing its layer. */
