/* Consistent controls and legible theme surfaces. */
html[data-theme] :is(.button,button){background:var(--jf-accent);color:var(--jf-on-accent);border:1px solid var(--jf-accent);}
html[data-theme] :is(.button,button:not(.balloon),a.download){box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 20px;border-radius:8px;font-family:Arial,Helvetica,sans-serif;font-size:14px;font-weight:700;line-height:1.4;text-align:center;vertical-align:middle;white-space:normal;text-decoration:none;}
html[data-theme] :is(.hero-actions,.actions,.booking-submit,.home-slider-actions){align-items:center;gap:12px;}
html[data-theme] .button.primary,html[data-theme] .button.primary:is(:link,:visited,:hover,:focus-visible,:active){background:var(--jf-accent);color:var(--jf-on-accent);-webkit-text-fill-color:var(--jf-on-accent);border:1px solid var(--jf-accent);text-shadow:none;}
html[data-theme] .button:is(.ghost,.outline,.light,.dark){background:var(--jf-surface);color:var(--jf-text);border:1px solid var(--jf-border);}
html[data-theme] :is(.home-game-card,.game){display:flex;flex-direction:column;}
html[data-theme] .home-game-card>div{display:flex;flex:1;flex-direction:column;align-items:flex-start;}
html[data-theme] :is(.home-game-card>div,.game)>.button{margin-top:auto;align-self:flex-start;}
html[data-theme] .immersive-home .home-feature :is(.button.ghost,.home-promo-tabs button,.home-slider-actions button){background:#102b3a;color:#f1f6fb;border:1px solid #648095;}
html[data-theme] .immersive-home .home-feature .button.primary{background:#a7e8d5;color:#102b30;border-color:#a7e8d5;}
html[data-theme] .immersive-home .home-feature .home-promo-tabs button[aria-pressed=true]{background:#a7e8d5;color:#102b30;border-color:#a7e8d5;}
html[data-theme] .immersive-home .home-feature :is(.home-microcopy,.home-slide-copy,.home-eyebrow,.home-feature-label){color:#d0dfeb;}
html[data-theme] .immersive-home .home-feature :is(h1,h2,.home-feature-product){color:#f1f6fb;}
html[data-theme] .immersive-home .home-feature .home-portrait-caption{background:#102b3a;color:#f1f6fb;border-color:#648095;}
html[data-theme] .immersive-home .home-feature .home-portrait-caption :is(p,span,small){color:#d0dfeb;}
html[data-theme] .immersive-home .home-feature .hero-actions .button{min-height:48px;padding:12px 20px;transform:none;}
html[data-theme] .immersive-home .home-slider-actions button{min-width:48px;min-height:48px;padding:12px;}
html[data-theme] .home-rail-controls button{width:48px;min-width:48px;height:48px;padding:12px;background:var(--jf-surface);color:var(--jf-text);border:1px solid var(--jf-border);}
html[data-theme] button:disabled{opacity:.5;cursor:default;}
.service-showcase{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:24px;margin-top:24px;align-items:start;}
html[data-theme] .service-menu{display:grid;gap:8px;}
html[data-theme] .service-menu button{justify-content:flex-start;text-align:left;padding:14px 16px;min-height:64px;width:100%;background:var(--jf-surface);color:var(--jf-text);border:1px solid var(--jf-border);border-radius:8px;}
.service-menu button span{font:600 12px/1.4 monospace;opacity:.8;}
html[data-theme] .service-menu button[aria-pressed=true]{background:var(--jf-accent);color:var(--jf-on-accent);border-color:var(--jf-accent);}
html[data-theme] .immersive-home .home-service-track.service-grid{display:block;overflow:visible;margin:0;padding:0;min-width:0;scroll-snap-type:none;}
html[data-theme] .immersive-home .home-service-track .service-card{display:flex;min-height:568px;box-sizing:border-box;margin:0;padding:36px;transform:none;background:var(--jf-surface);color:var(--jf-text);border:1px solid var(--jf-border);border-top:3px solid var(--jf-accent);}
html[data-theme] .immersive-home .home-service-track .service-card[hidden]{display:none!important;}
html[data-theme] .immersive-home .home-service-track .service-card h3{font-size:clamp(1.75rem,3vw,2.5rem);line-height:1.15;max-width:24ch;}
html[data-theme] .immersive-home .home-service-track .service-card :is(p,li,.fit){color:var(--jf-secondary);font-size:15px;line-height:1.7;}
html[data-theme] .immersive-home .home-service-track .service-card .card-label{color:var(--jf-accent);font-size:12px;}
html[data-theme] .immersive-home .home-service-track .service-card .service-action{background:var(--jf-accent);color:var(--jf-on-accent);border:1px solid var(--jf-accent);align-self:flex-start;margin-top:24px;min-height:48px;padding:12px 20px;font-size:14px;}
.service-picker{display:none;}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;}
@media(max-width:760px){.service-showcase{grid-template-columns:minmax(0,1fr);margin-top:16px;gap:16px;}.service-menu{display:none!important;}.service-picker{display:grid;gap:8px;margin-top:20px;color:var(--jf-secondary);font-size:14px;}.service-picker select{width:100%;min-width:0;min-height:48px;padding:12px;border:1px solid var(--jf-border);border-radius:8px;background:var(--jf-surface);color:var(--jf-text);font:600 15px/1.4 Arial,sans-serif;}html[data-theme] .immersive-home .home-service-track .service-card{padding:24px;min-height:0;}html[data-theme] .hero-actions .button{width:100%;}html[data-theme] .home-promo-tabs{gap:8px;flex-wrap:wrap;}html[data-theme] .home-promo-tabs button{flex:1;min-width:88px;}html[data-theme] .home-feature-controls{align-items:stretch;}.home-slider-actions{flex-wrap:wrap;justify-content:flex-start;}}

html[data-theme] :is(button,.button){transition:box-shadow .18s,border-color .18s;}

html[data-theme]:not([data-jf-site]) body.immersive-home :is(button,.button){min-height:48px;}
html[data-theme] body.immersive-home .service-showcase .service-menu>button{height:72px;min-height:72px;}
html[data-theme] body.immersive-home .service-showcase .service-card{min-height:632px;}
@media(max-width:760px){html[data-theme] body.immersive-home .service-showcase .service-card{min-height:0;}}

.portfolio-projects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:32px 0 48px;}
.portfolio-project{display:flex;flex-direction:column;align-items:flex-start;padding:28px;min-width:0;background:var(--jf-surface);color:var(--jf-text);border:1px solid var(--jf-border);border-radius:16px;}
.portfolio-project h3{font-size:1.5rem;line-height:1.2;letter-spacing:-.025em;margin:12px 0;}
.portfolio-project p{font-size:15px;line-height:1.7;color:var(--jf-secondary);}
.portfolio-project .card-label{font-size:11px;color:var(--jf-accent);}
.portfolio-project .project-focus{font-size:12px;border-top:1px solid var(--jf-border);padding-top:16px;margin-bottom:24px;}
.portfolio-project .button{margin-top:auto;}
.portfolio-consulting-heading{padding-top:32px;border-top:1px solid var(--jf-border);}
.portfolio-consulting-heading h3{font-size:clamp(1.6rem,3vw,2.3rem);line-height:1.2;margin:12px 0;}
.portfolio-consulting-heading>p:last-child{color:var(--jf-secondary);}
@media(max-width:900px){.portfolio-projects{grid-template-columns:1fr;gap:16px;}.portfolio-project{padding:24px;}.portfolio-project .button{margin-top:12px;}}
