/* Shared studio interface */
:root { color-scheme:light; --sky:#0066ff; --ink:#18202c; --muted:#626b77; --line:#e3e7ec; --content:1200px; --page-gutter:clamp(18px,4vw,48px); font-family:Arial,"Segoe UI",sans-serif; font-synthesis:none; text-rendering:optimizeLegibility; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:100px; }
body { min-width:280px; margin:0; background:#fff; color:var(--ink); }
img { display:block; max-width:100%; }
a { color:inherit; text-decoration:none; }
button,select { font:inherit; }
h1,h2,h3,p,figure { margin:0; }
h1,h2,h3 { letter-spacing:-.04em; font-weight:600; text-wrap:balance; }
h1 { font-size:clamp(38px,4.7vw,66px); line-height:1.05; }
h2 { font-size:clamp(30px,3.3vw,44px); line-height:1.12; }
h3 { font-size:24px; line-height:1.2; }
p { line-height:1.65; }
a,button,select { touch-action:manipulation; }
:focus-visible { outline:3px solid var(--sky); outline-offset:5px; }
.page-wrap { width:min(var(--content),calc(100% - var(--page-gutter)*2)); margin-inline:auto; }
.eyebrow { font-size:11px; font-weight:700; line-height:1.5; letter-spacing:.13em; color:var(--sky); text-transform:uppercase; margin-bottom:16px; }
.button { display:inline-flex; min-height:48px; justify-content:center; align-items:center; gap:22px; padding:14px 21px; border:1px solid var(--sky); border-radius:8px; background:var(--sky); color:#fff; font-size:13px; font-weight:600; transition:background .18s,transform .18s; }
.button:hover { background:#0058db; transform:translateY(-2px); }
.underlined-link { display:inline-flex; align-items:center; gap:18px; min-height:44px; color:var(--sky); font-size:14px; font-weight:600; }
.underlined-link:hover { text-decoration:underline; }
.section-pad { padding-block:clamp(58px,7vw,92px); }
.section-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:32px; margin-bottom:34px; }
.section-lede { max-width:420px; color:var(--muted); font-size:15px; }
.topbar { position:sticky; top:0; z-index:30; background:#ffffffed; border-bottom:1px solid var(--line); backdrop-filter:blur(16px); }
.topbar-inner { min-height:82px; display:flex; align-items:center; gap:28px; }
.brand { display:inline-flex; align-items:center; gap:15px; flex-shrink:0; }
.brand-logo { width:143px; height:auto; filter:brightness(0); }
.brand>span { padding-left:15px; border-left:1px solid var(--line); color:var(--muted); font-size:12px; }
.topnav { display:flex; align-items:center; gap:29px; margin-left:auto; }
.topnav a { display:flex; align-items:center; min-height:44px; font-size:13px; color:var(--muted); }
.topnav a:hover { color:var(--sky); }
.language-toggle { height:40px; border:1px solid var(--line); border-radius:8px; padding:0 8px; background:#fff; color:var(--ink); font-size:12px; cursor:pointer; }
.portfolio-main { min-height:60vh; }
/* Homepage: actual projects form the main visual */
.portfolio-hero { padding:clamp(38px,5vw,68px) 0 0; }
.portfolio-hero-inner { display:grid; grid-template-columns:.85fr 1.15fr; align-items:center; gap:clamp(30px,5vw,65px); }
.portfolio-hero-copy h1 { margin-bottom:23px; }
.portfolio-hero-lede { max-width:400px; font-size:17px; color:var(--muted); }
.hero-actions { display:flex; align-items:center; gap:23px; flex-wrap:wrap; margin-top:28px; }
.hero-montage { display:grid; grid-template-columns:1.1fr 1fr; grid-template-rows:190px 168px; gap:14px; }
.hero-tile { position:relative; display:block; overflow:hidden; border-radius:14px; background:#e9edf2; isolation:isolate; }
.hero-tile:first-child { grid-row:1/3; }
.hero-tile img { width:100%; height:100%; object-fit:cover; transition:filter .2s; }
.hero-tile:hover img { filter:brightness(1.07); }
.hero-tile:first-child img { object-position:24% 50%; transform:scale(2); transform-origin:0 55%; }
.hero-tile-copy { position:absolute; left:0; right:0; bottom:0; padding:32px 18px 17px; background:linear-gradient(transparent,#102033cb); color:#fff; font-size:15px; font-weight:600; }
.hero-tile-copy small { display:block; margin-top:5px; font-size:10px; font-weight:400; color:#e3e9f1; }
.audience-paths { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin-top:45px; }
.audience-path { padding:25px; border:1px solid var(--line); border-radius:12px; transition:border-color .2s,background .2s; }
.audience-path:hover { border-color:#a7caff; background:#f6f9ff; }
.audience-path .eyebrow { font-size:10px; margin-bottom:13px; }
.audience-path h3 { margin-bottom:9px; font-size:22px; }
.audience-path p { font-size:13px; color:var(--muted); }
.portfolio-projects { background:#f3f5f7; margin-top:64px; }
.portfolio-project-group+.portfolio-project-group { margin-top:62px; }
.group-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:21px; scroll-margin-top:110px; }
.group-heading h3 { font-size:25px; }
.group-heading p { max-width:420px; font-size:13px; color:var(--muted); }
.project-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.project-grid-two { grid-template-columns:repeat(2,minmax(0,1fr)); }
.project-card { display:flex; flex-direction:column; min-width:0; background:white; border:1px solid #e7ebef; border-radius:14px; overflow:hidden; transition:transform .2s,box-shadow .2s; }
.project-card:hover { transform:translateY(-4px); box-shadow:0 12px 28px #18202c0e; }
.project-image { position:relative; overflow:hidden; background:#e4e9ef; }
.project-image img { width:100%; aspect-ratio:16/10; object-fit:cover; }
.project-image.art img { object-position:24% 50%; transform:scale(1.8); transform-origin:0 53%; }
.project-image>span { position:absolute; left:18px; bottom:16px; background:#ffffffec; padding:7px 9px; border-radius:5px; color:var(--ink); font-size:9px; font-weight:700; letter-spacing:.06em; }
.project-card-copy { padding:25px; display:flex; flex:1; flex-direction:column; }
.project-card-copy h3 { margin-bottom:12px; }
.project-card-copy p { font-size:14px; color:var(--muted); margin-bottom:24px; flex:1; }
.card-link { display:flex; justify-content:space-between; align-items:center; font-size:13px; font-weight:600; color:var(--sky); }
.card-link b { font-size:18px; font-weight:400; }
.portfolio-studio { padding-block:80px; }
.studio-inner { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:start; }
.studio-inner h2 { max-width:480px; }
.studio-inner p { font-size:17px; color:var(--muted); margin-bottom:22px; }
.contact-strip { background:#edf4ff; padding-block:45px; }
.contact-inner { display:flex; justify-content:space-between; align-items:center; gap:30px; }
.contact-inner h2 { margin-bottom:12px; }
.contact-inner p { color:var(--muted); }
.portfolio-footer { background:#18202c; color:white; padding:38px 0 22px; }
.portfolio-footer .brand-logo { filter:none; }
.footer-inner { display:flex; justify-content:space-between; align-items:flex-start; gap:30px; }
.footer-inner p { margin-top:15px; font-size:13px; color:#b6bfcc; }
.footer-links { display:grid; gap:15px; font-size:13px; }
.footer-links a:hover { color:#8cbdff; }
.footer-bottom { display:flex; justify-content:space-between; gap:20px; margin-top:36px; padding-top:20px; border-top:1px solid #ffffff20; font-size:11px; color:#b6bfcc; }
/* Shared project structure, with individual game palettes */
.detail-hero { padding-block:38px 64px; }
.detail-back { display:inline-flex; align-items:center; min-height:44px; font-size:13px; color:var(--sky); margin-bottom:24px; }
.detail-inner { display:grid; grid-template-columns:.9fr 1.1fr; align-items:center; gap:65px; }
.detail-copy h1 { margin-bottom:23px; overflow-wrap:anywhere; }
.detail-lede { font-size:20px; line-height:1.55; margin-bottom:19px; }
.detail-body { font-size:15px; line-height:1.8; color:var(--muted); }
.detail-tagline { font-size:21px; font-weight:600; margin-top:25px; }
.detail-actions { display:flex; gap:14px; margin-top:26px; flex-wrap:wrap; }
.detail-visual { overflow:hidden; border-radius:16px; background:#f3f5f7; }
.detail-visual img { width:100%; height:auto; aspect-ratio:1.2; object-fit:cover; }
.detail-visual.art img { aspect-ratio:1; object-fit:contain; }
.detail-visual figcaption { font-size:11px; color:var(--muted); line-height:1.6; padding:13px 18px; }
.detail-visual figcaption:empty { display:none; }
.detail-gallery { padding-block:65px 30px; }
.detail-gallery h2 { font-size:34px; }
.gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.shot { overflow:hidden; border-radius:12px; background:#f3f5f7; }
.shot img { width:100%; height:auto; aspect-ratio:16/9; object-fit:contain; background:#e9edf2; }
.shot figcaption { display:flex; justify-content:space-between; gap:16px; padding:16px 18px; color:var(--muted); font-size:11px; }
.shot figcaption span:first-child { color:var(--sky); font-weight:700; }
.detail-bottom { padding-block:30px 55px; }
.not-found { padding-block:90px; min-height:60vh; }
.not-found h1 { margin-bottom:25px; }
.case-next { margin-top:55px; border-top:1px solid var(--line); padding-top:40px; }
.case-next h2 { font-size:28px; margin-bottom:25px; }
body[data-case="nomad-shooter"] .detail-hero { background:#182b40; color:#fff; }
body[data-case="nomad-shooter"] .detail-lede { color:#f2eee6; }
body[data-case="nomad-shooter"] .detail-body { color:#bcc9d8; }
body[data-case="nomad-shooter"] .detail-back,body[data-case="nomad-shooter"] .detail-copy .eyebrow { color:#96c2ff; }
body[data-case="nomad-shooter"] .detail-tagline { color:#f4dc9b; }
body[data-case="nomad-shooter"] .detail-visual { background:#233b52; }
body[data-case="snake-adventure"] .detail-hero { background:#eff7ec; }
body[data-case="snake-adventure"] .detail-copy .eyebrow { color:#26713e; }
body[data-case="snake-adventure"] .detail-visual { background:#d9e7d4; }
body[data-case="fop"] .detail-hero,body[data-case="nomad-history"] .detail-hero { background:#f1f6ff; }
@media(max-width:950px) {
  .portfolio-hero-inner{gap:28px}.hero-montage{grid-template-rows:170px 148px;gap:10px}.portfolio-hero-copy h1{font-size:clamp(36px,4.9vw,52px)}.portfolio-hero-lede{font-size:15px}.audience-path{padding:20px}.detail-inner{gap:35px}.detail-copy h1{font-size:48px}.studio-inner{gap:40px}.project-grid{gap:18px}.project-card-copy{padding:20px}
}
@media(max-width:740px) {
  .portfolio-hero-inner{grid-template-columns:1fr;gap:34px}.portfolio-hero-copy h1{font-size:clamp(38px,7.5vw,54px)}.portfolio-hero-lede{max-width:500px}.hero-montage{grid-template-rows:190px 160px}.audience-paths{gap:12px;margin-top:30px}.audience-path{padding:18px}.audience-path h3{font-size:20px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-inner,.detail-inner{grid-template-columns:1fr}.detail-copy{max-width:650px}.detail-visual img{aspect-ratio:16/10}.detail-visual.art{max-width:550px;justify-self:center}.studio-inner{gap:26px}.contact-inner{align-items:flex-start;flex-direction:column}.group-heading p{max-width:300px}.detail-gallery{padding-top:45px}
}
@media(max-width:620px) {
  html{scroll-padding-top:120px}.topbar-inner{gap:16px;flex-wrap:wrap;min-height:unset;padding-block:16px 6px}.brand-logo{width:124px}.brand>span{font-size:11px;padding-left:10px}.language-toggle{margin-left:auto}.topnav{order:3;width:100%;margin:0;gap:24px}.topnav a{min-height:34px;font-size:12px}.section-heading{display:block}.section-lede{margin-top:18px}.gallery{grid-template-columns:1fr}
}
@media(max-width:520px) {
  .audience-paths{grid-template-columns:1fr}.audience-path{display:grid;grid-template-columns:1fr 1.35fr;gap:7px 16px}.audience-path .eyebrow{grid-column:1/-1;margin:0}.audience-path h3{margin:0;font-size:19px}.audience-path p{font-size:12px}.hero-montage{grid-template-rows:155px 137px}.hero-tile-copy{font-size:12px;padding:30px 12px 13px}.hero-tile-copy small{font-size:8px}.hero-actions{gap:18px}.portfolio-projects{margin-top:42px}.project-grid,.project-grid-two{grid-template-columns:1fr}.group-heading{display:block}.group-heading p{margin-top:10px;max-width:none}.portfolio-project-group+.portfolio-project-group{margin-top:44px}.project-card-copy{padding:22px}.studio-inner p{font-size:15px}.portfolio-studio{padding-block:56px}.footer-inner,.footer-bottom{flex-direction:column}.footer-bottom{gap:10px}.detail-hero{padding-block:20px 40px}.detail-back{margin-bottom:19px}.detail-copy h1{font-size:43px}.detail-lede{font-size:18px}.detail-inner{gap:30px}.detail-gallery h2{font-size:29px}
}
/* Studio front page: brand first, project catalogue further down. */
body[data-case="home"] .portfolio-hero { background:var(--sky); color:white; padding:64px 0 24px; overflow:hidden; }
body[data-case="home"] .portfolio-hero-inner { grid-template-columns:1fr 1fr; gap:50px; min-height:480px; }
body[data-case="home"] .portfolio-hero-copy h1 { font-size:clamp(72px,9.2vw,126px); line-height:.88; letter-spacing:-.065em; margin:28px 0; }
.brand-dot { color:#b8dcff; }
body[data-case="home"] .portfolio-hero .eyebrow { color:#d0e5ff; font-size:10px; }
body[data-case="home"] .portfolio-hero-lede { color:#e0edff; font-size:16px; line-height:1.6; max-width:430px; }
body[data-case="home"] .portfolio-hero .button { color:#0053ce; background:white; border-color:white; }
body[data-case="home"] .portfolio-hero .button:hover { background:#e7f0ff; }
body[data-case="home"] .portfolio-hero .underlined-link { color:white; }
body[data-case="home"] .hero-montage { display:block; position:relative; height:460px; margin:12px 10px 0; }
body[data-case="home"] .hero-tile { position:absolute; border:7px solid white; border-radius:6px; box-shadow:0 18px 42px #002a7333; }
body[data-case="home"] .hero-tile:first-child { width:68%; height:400px; top:0; left:1%; transform:rotate(-5deg); }
body[data-case="home"] .hero-tile:nth-child(2) { width:65%; height:235px; bottom:0; right:-2%; transform:rotate(6deg); }
body[data-case="home"] .hero-tile:nth-child(2) img { object-position:center; }
body[data-case="home"] .hero-tile:hover { z-index:2; }
.hero-bottom { display:flex; align-items:center; justify-content:space-between; margin-top:34px; padding-top:22px; border-top:1px solid #ffffff40; }
.hero-bottom span { font-size:10px; letter-spacing:.13em; color:#d0e5ff; }
.hero-bottom a { display:grid; place-items:center; width:44px; height:44px; border:1px solid #ffffff50; border-radius:50%; font-size:22px; }
.featured-game { padding-block:110px 90px; display:grid; grid-template-columns:.65fr 1.35fr; align-items:center; gap:65px; scroll-margin-top:95px; }
.featured-copy h2 { font-size:clamp(46px,5.5vw,76px); line-height:.96; margin-bottom:24px; }
.featured-copy>p:not(.eyebrow) { font-size:16px; color:var(--muted); max-width:330px; }
.featured-copy .underlined-link { margin-top:21px; }
.featured-shot { position:relative; overflow:hidden; border-radius:8px; background:#e9edf2; }
.featured-shot img { width:100%; aspect-ratio:4/3; object-fit:cover; }
.featured-shot span { position:absolute; bottom:16px; left:18px; font-size:10px; color:white; padding:7px 10px; background:#18202cd9; border-radius:4px; }
body[data-case="home"] .portfolio-studio { padding:56px 0 70px; }
body[data-case="home"] .studio-inner { border-top:1px solid var(--line); padding-top:48px; grid-template-columns:.65fr 1.35fr; gap:65px; }
body[data-case="home"] .studio-inner p { max-width:640px; font-size:18px; }
body[data-case="home"] .portfolio-projects { margin-top:0; background:#f4f5f7; }
body[data-case="home"] .portfolio-projects .section-heading { margin-bottom:60px; }
.project-count { color:var(--muted); font-size:11px; letter-spacing:.1em; }
@media(max-width:950px) {
  body[data-case="home"] .portfolio-hero-inner{gap:30px;min-height:420px}
  body[data-case="home"] .hero-montage{height:380px;margin-inline:0}
  body[data-case="home"] .hero-tile:first-child{height:330px;width:76%}
  body[data-case="home"] .hero-tile:nth-child(2){height:190px;width:72%}
  .featured-game{gap:35px;padding-block:80px 55px}
}
@media(max-width:740px) {
  body[data-case="home"] .portfolio-hero{padding-top:38px}
  body[data-case="home"] .portfolio-hero-inner{grid-template-columns:1fr;gap:38px}
  body[data-case="home"] .portfolio-hero-copy h1{font-size:clamp(76px,15vw,110px)}
  body[data-case="home"] .hero-montage{height:360px;width:min(480px,100%);justify-self:center}
  body[data-case="home"] .hero-tile:first-child{width:65%;height:315px}
  body[data-case="home"] .hero-tile:nth-child(2){width:63%;height:190px;right:1%}
  .featured-game,body[data-case="home"] .studio-inner{grid-template-columns:1fr;gap:30px}
  .featured-copy h2{font-size:48px;line-height:1.05}
  .featured-copy>p:not(.eyebrow){max-width:530px}.featured-shot img{aspect-ratio:16/10}
  body[data-case="home"] .studio-inner p{font-size:16px}
}
@media(max-width:420px) {
  body[data-case="home"] .hero-montage{height:300px;margin-inline:10px;width:calc(100% - 20px)}
  body[data-case="home"] .hero-tile:first-child{height:265px;width:72%}
  body[data-case="home"] .hero-tile:nth-child(2){height:155px;width:70%}
  body[data-case="home"] .portfolio-hero-copy h1{font-size:clamp(66px,20vw,82px)}
  .featured-game{padding-block:60px 35px}.featured-copy h2{font-size:42px}
  .hero-bottom{margin-top:28px}.project-count{margin-top:15px;display:block}
}
/* Crocos Lab inspired: warm neutral canvas, small blue accents, projects at equal weight. */
@font-face { font-family:"Crocos Site"; src:url("../assets/fonts/crocos-regular.woff2") format("woff2"); font-weight:400; font-display:swap; }
@font-face { font-family:"Crocos Site"; src:url("../assets/fonts/crocos-xbold.woff2") format("woff2"); font-weight:700 900; font-display:swap; }
:root { --sky:#35699b; --line:#deded9; }
h1,h2,h3 { font-family:"Crocos Site",Arial,sans-serif; letter-spacing:-.025em; }
body[data-case="home"] { background:#fbfaf7; }
body[data-case="home"] .portfolio-hero { background:#f3f3ef; color:var(--ink); padding:70px 0 46px; overflow:hidden; border-bottom:1px solid #e4e3dd; }
body[data-case="home"] .portfolio-hero-inner { display:block; min-height:0; }
body[data-case="home"] .portfolio-hero-copy { max-width:760px; }
body[data-case="home"] .portfolio-hero-copy .eyebrow { color:#51799f; }
body[data-case="home"] .portfolio-hero-copy h1 { font-size:clamp(42px,5.2vw,68px); line-height:1.05; letter-spacing:-.035em; margin:0 0 20px; }
body[data-case="home"] .portfolio-hero-lede { max-width:650px; color:#535b63; font-size:18px; }
body[data-case="home"] .portfolio-hero .button { background:#35699b; border-color:#35699b; color:white; }
body[data-case="home"] .portfolio-hero .button:hover { background:#285780; }
body[data-case="home"] .portfolio-hero .underlined-link { color:#35699b; }
.hero-project-strip { display:flex; align-items:center; gap:18px; flex-wrap:wrap; margin-top:58px; padding-top:24px; border-top:1px solid #d8d9d6; color:#35404a; }
.hero-project-strip span { font-size:13px; font-weight:600; }
.hero-project-strip i { width:5px; height:5px; border-radius:50%; background:#7195b7; }
body[data-case="home"] .portfolio-projects { background:#fbfaf7; padding-top:78px; }
body[data-case="home"] .portfolio-projects .section-heading { margin-bottom:50px; }
body[data-case="home"] .portfolio-project-group+.portfolio-project-group { margin-top:54px; }
body[data-case="home"] .group-heading h3 { font-size:29px; }
.learning-info { display:grid; grid-template-columns:.8fr 1.2fr; gap:65px; padding-block:48px; border-bottom:1px solid var(--line); }
.learning-info>div:first-child>p:last-child { color:var(--muted); line-height:1.75; }
.learning-info .eyebrow { margin-bottom:13px; }
.fact-chips { align-self:center; display:flex; flex-wrap:wrap; gap:10px; padding:0; list-style:none; }
.fact-chips li { padding:11px 14px; border:1px solid var(--line); border-radius:5px; background:#faf9f6; font-size:13px; }
.training-catalog { display:grid; grid-template-columns:1fr 1fr; gap:30px; }
.training-catalog h2 { font-size:19px; margin-bottom:12px; }
.training-catalog ul { margin:0; padding:0; list-style:none; border-top:1px solid var(--line); }
.training-catalog li { padding:10px 0; border-bottom:1px solid var(--line); font-size:14px; }
.concept-note { color:var(--muted); font-size:12px; margin-top:18px; }
.location-gallery .shot img { aspect-ratio:16/9; object-fit:cover; }
.detail-visual:has(img[src*="nomad-" i]) img { aspect-ratio:1.5; object-fit:cover; }
@media(max-width:740px) {
  body[data-case="home"] .portfolio-hero { padding:48px 0 30px; }
  body[data-case="home"] .portfolio-hero-lede { font-size:16px; }
  .hero-project-strip { gap:12px; margin-top:38px; }
  .hero-project-strip span { font-size:12px; }
  .learning-info { grid-template-columns:1fr; gap:25px; padding-block:32px; }
}
@media(max-width:520px) {
  body[data-case="home"] .portfolio-hero-copy h1 { font-size:44px; }
  .training-catalog { grid-template-columns:1fr; gap:22px; }
  .hero-project-strip i { display:none; }
  .hero-project-strip span { flex:0 0 44%; }
}
@media(prefers-reduced-motion:reduce) { html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important} }

/* Portfolio homepage: the image-led case rhythm of Crocos Lab, for studio projects. */
:root { --sky:#35699b; --line:#d9d9d2; --ink:#171817; --muted:#65665f; }
body[data-case="home"] { background:#f5f4ee; }
body[data-case="home"] .topbar { background:#f5f4eef0; border-color:#e4e2d8; }
body[data-case="home"] .portfolio-hero { padding:clamp(34px,5vw,60px) 0 54px; background:#f5f4ee; color:var(--ink); border:0; }
body[data-case="home"] .portfolio-hero-inner { display:block; min-height:0; }
body[data-case="home"] .portfolio-hero .eyebrow { color:#6e7d8a; margin-bottom:22px; }
.portfolio-hero-heading { display:grid; grid-template-columns:1.1fr .7fr; gap:clamp(26px,7vw,100px); align-items:end; margin-bottom:36px; }
.portfolio-hero-heading h1 { max-width:700px; font-size:clamp(42px,5.2vw,68px); line-height:1.02; letter-spacing:-.045em; }
.portfolio-hero-heading .portfolio-hero-lede { max-width:420px; padding-bottom:6px; font-size:17px; line-height:1.65; color:#535b63; }
.home-directions { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.home-direction-card { position:relative; display:block; height:clamp(250px,31vw,390px); overflow:hidden; background:#d9ddd9; color:white; isolation:isolate; }
.home-direction-card::after { position:absolute; inset:30% 0 0; z-index:-1; background:linear-gradient(transparent,#101820d9); content:""; }
.home-direction-card img { position:absolute; inset:0; z-index:-2; width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
.home-direction-card:first-child img { object-position:center 42%; }
.home-direction-card:hover img { transform:scale(1.035); }
.direction-index { position:absolute; top:18px; left:20px; color:white; font-size:12px; letter-spacing:.12em; }
.direction-copy { position:absolute; left:24px; bottom:25px; display:grid; gap:5px; }
.direction-copy strong { font-size:clamp(26px,3vw,38px); letter-spacing:-.035em; line-height:1.1; }
.direction-copy small { font-size:14px; color:#f1f2ef; }
.direction-action { position:absolute; right:22px; bottom:25px; font-size:13px; color:white; }
body[data-case="home"] .portfolio-projects { margin:0; padding:78px 0 92px; background:#fff; }
body[data-case="home"] .portfolio-projects .section-heading { margin-bottom:32px; }
body[data-case="home"] .portfolio-projects .section-heading h2 { font-size:clamp(34px,4.2vw,52px); }
.catalog-tabs { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:28px; border-bottom:1px solid var(--line); }
.catalog-tab { position:relative; min-height:50px; padding:0 17px; border:0; background:transparent; color:#5d646b; font-size:14px; cursor:pointer; }
.catalog-tab::after { position:absolute; right:14px; bottom:-1px; left:14px; height:2px; background:transparent; content:""; }
.catalog-tab:hover,.catalog-tab.is-active { color:#1b3953; }
.catalog-tab.is-active { font-weight:700; }
.catalog-tab.is-active::after { background:#35699b; }
.catalog-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:36px 24px; }
.catalog-grid .project-card { background:transparent; border:0; border-radius:0; box-shadow:none; }
.catalog-grid .project-card:hover { transform:translateY(-3px); box-shadow:none; }
.catalog-grid .project-image { background:#e6e7e2; border-radius:3px; }
.catalog-grid .project-image img { aspect-ratio:1.48; }
.catalog-grid .project-image.art img { transform:none; object-position:center; }
.catalog-grid .project-image>span { top:14px; bottom:auto; left:14px; padding:6px 8px; border-radius:2px; background:#f5f4eef2; font-size:10px; letter-spacing:.04em; }
.catalog-grid .project-card-copy { padding:16px 1px 0; }
.catalog-grid .project-card-copy h3 { margin-bottom:9px; font-size:22px; letter-spacing:-.025em; }
.catalog-grid .project-card-copy p { min-height:0; margin-bottom:12px; font-size:14px; line-height:1.55; }
.catalog-grid .card-link { color:#35699b; }
.catalog-grid [hidden] { display:none!important; }
body[data-case="home"] .portfolio-studio { padding-block:76px; }
body[data-case="home"] .contact-strip { background:#1b2229; color:white; }
body[data-case="home"] .contact-strip p { color:#d5d9dc; }
body[data-case="home"] .contact-strip .button { background:#f5f4ee; border-color:#f5f4ee; color:#171817; }
@media(max-width:740px) {
  .portfolio-hero-heading { grid-template-columns:1fr; gap:15px; }
  .portfolio-hero-heading h1 { font-size:clamp(36px,6.5vw,48px); }
  .portfolio-hero-heading .portfolio-hero-lede { max-width:560px; font-size:16px; }
  .home-directions { grid-template-columns:1fr; gap:14px; }
  .home-direction-card { height:clamp(240px,42vw,320px); }
  .direction-copy { left:17px; bottom:18px; }
  .direction-copy strong { font-size:25px; }
  .direction-copy small { font-size:12px; }
  .direction-action { right:16px; bottom:18px; font-size:12px; }
  .catalog-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 18px; }
  .catalog-grid .project-card-copy { padding-top:13px; }
  .catalog-grid .project-card-copy h3 { font-size:20px; }
}
@media(max-width:520px) {
  body[data-case="home"] .portfolio-hero { padding:32px 0 38px; }
  .portfolio-hero-heading { margin-bottom:24px; }
  .home-directions { grid-template-columns:1fr; gap:12px; }
  .home-direction-card { height:250px; }
  .direction-action { display:none; }
  body[data-case="home"] .portfolio-projects { padding-block:55px 64px; }
  .catalog-tabs { gap:0; overflow-x:auto; flex-wrap:nowrap; }
  .catalog-tab { flex:0 0 auto; padding-inline:13px; font-size:13px; }
  .catalog-grid { grid-template-columns:1fr; gap:28px; }
  .catalog-grid .project-image img { aspect-ratio:1.55; }
}

/* Crocos Lab palette: ink black, clear yellow, and white/paper surfaces. */
:root { --sky:#171817; --accent:#ffd400; --line:#deded9; --ink:#171817; --muted:#65665f; }
:focus-visible { outline-color:#171817; box-shadow:0 0 0 3px #ffd400; }
.portfolio-topbar,body[data-case="home"] .topbar { background:#111211; border-color:#111211; }
.portfolio-topbar .brand-logo { filter:brightness(0) invert(1); }
.portfolio-topbar .brand>span { border-color:#5b5b55; color:#f5f4ee; }
.portfolio-topbar .topnav a { color:#f5f4ee; }
.portfolio-topbar .topnav a:hover { color:#ffd400; }
.portfolio-topbar .language-toggle { background:#ffd400; border-color:#ffd400; border-radius:3px; color:#111211; }
.topnav a:hover,.underlined-link:hover,.detail-back:hover { color:#171817; text-decoration-color:#ffd400; text-decoration-thickness:3px; }
.button { background:#111211; border-color:#111211; color:#fff; }
.button:hover { background:#ffd400; border-color:#ffd400; color:#111211; }
.portfolio-footer { background:#111211; }
.portfolio-footer a:hover { color:#ffd400; }
.contact-strip { background:#111211; color:#fff; }
.contact-strip p { color:#e0e0dc; }
.contact-strip .button,.detail-actions .button { background:#ffd400; border-color:#ffd400; color:#111211; }
.contact-strip .button:hover,.detail-actions .button:hover { background:#fff; border-color:#fff; color:#111211; }
body[data-case="home"] .portfolio-hero .eyebrow { color:#171817; }
body[data-case="home"] .portfolio-hero .eyebrow::before { display:inline-block; width:22px; height:5px; margin:0 10px 2px 0; background:#ffd400; content:""; }
.catalog-tab:hover,.catalog-tab.is-active { color:#111211; }
.catalog-tab.is-active::after { height:3px; background:#ffd400; }
.catalog-grid .project-image>span { background:#ffd400; color:#111211; }
.catalog-grid .card-link { color:#111211; }
.catalog-grid .project-card:hover .card-link { text-decoration:underline; text-decoration-color:#ffd400; text-decoration-thickness:3px; text-underline-offset:4px; }
body[data-case="home"] .contact-strip { background:#111211; }
body[data-case="home"] .contact-strip .button { background:#ffd400; border-color:#ffd400; color:#111211; }
body[data-case="home"] .contact-strip .button:hover { background:#fff; border-color:#fff; }
body[data-case="nomad-shooter"] .detail-hero { background:#111211; color:#fff; }
body[data-case="nomad-shooter"] .detail-lede { color:#f5f4ee; }
body[data-case="nomad-shooter"] .detail-body { color:#c9cac6; }
body[data-case="nomad-shooter"] .detail-back,body[data-case="nomad-shooter"] .detail-copy .eyebrow { color:#ffd400; }
body[data-case="nomad-shooter"] .detail-tagline { color:#ffd400; }
body[data-case="nomad-shooter"] .detail-visual { background:#23241e; }
body[data-case="fop"] .detail-hero,body[data-case="nomad-history"] .detail-hero { background:#f5f4ee; }
body[data-case="fop"] .detail-copy .eyebrow,body[data-case="nomad-history"] .detail-copy .eyebrow { color:#171817; }
body[data-case="fop"] .detail-copy .eyebrow::before,body[data-case="nomad-history"] .detail-copy .eyebrow::before { display:inline-block; width:20px; height:4px; margin:0 9px 3px 0; background:#ffd400; content:""; }
body[data-case="home"] .portfolio-hero { background:#f5f4ee; }

/* Director reference: light corporate shell, precise blue accents, real project imagery. */
:root { --sky:#0066ff; --accent:#0066ff; --line:#dce2f4; --ink:#11182c; --muted:#667085; }
:focus-visible { outline-color:#0066ff; box-shadow:0 0 0 3px #dbe2ff; }
body { color:var(--ink); background:#fff; }
.topbar,.portfolio-topbar,body[data-case="home"] .topbar { background:#ffffffed; border-color:#e7eaf2; }
.portfolio-topbar .brand-logo { filter:brightness(0); }
.portfolio-topbar .brand>span { border-color:#dce2f4; color:#11182c; }
.portfolio-topbar .topnav a { color:#252c3d; }
.portfolio-topbar .topnav a:hover { color:#0066ff; }
.portfolio-topbar .language-toggle { background:#fff; border:1px solid #b9c7ff; border-radius:7px; color:#18224a; }
.portfolio-topbar .language-toggle:focus-visible { outline:2px solid #0066ff; outline-offset:2px; }
.button { background:#0066ff; border-color:#0066ff; color:#fff; border-radius:7px; }
.button:hover { background:#1738d8; border-color:#1738d8; color:#fff; }
.topnav a:hover,.underlined-link:hover,.detail-back:hover { color:#0066ff; text-decoration-color:#0066ff; text-decoration-thickness:2px; }
body[data-case="home"] { background:#fff; }
body[data-case="home"] .portfolio-hero { background:#fff; border-bottom:1px solid #e7eaf2; }
body[data-case="home"] .portfolio-hero-copy .eyebrow { color:#53617d; }
body[data-case="home"] .portfolio-hero-copy .eyebrow::before { background:#0066ff; }
body[data-case="home"] .portfolio-hero .eyebrow::before { background:#0066ff; }
body[data-case="home"] .portfolio-hero-heading h1 { color:#11182c; }
body[data-case="home"] .portfolio-hero-heading .portfolio-hero-lede { color:#586276; }
.home-direction-card { border:1px solid #d8e0ff; border-radius:12px; box-shadow:0 12px 32px #1f3b8a0a; }
.home-direction-card::after { background:linear-gradient(transparent 42%,#09152bd9); }
.home-direction-card:hover { border-color:#8da4ff; box-shadow:0 18px 42px #0066ff1a; }
body[data-case="home"] .portfolio-projects { background:#f7f8fc; }
.catalog-tab:hover,.catalog-tab.is-active { color:#1738d8; }
.catalog-tab.is-active::after { background:#0066ff; }
.catalog-grid .project-image { border:1px solid #e2e7f3; border-radius:9px; }
.catalog-grid .project-image>span { background:#fff; color:#18224a; border:1px solid #dce2f4; border-radius:5px; }
.catalog-grid .project-card-copy h3 { color:#11182c; }
.catalog-grid .card-link { color:#0066ff; }
body[data-case="home"] .portfolio-studio { background:#fff; }
body[data-case="home"] .studio-inner { border-color:#dce2f4; }
body[data-case="home"] .contact-strip { background:#101a35; color:#fff; }
body[data-case="home"] .contact-strip .button,.contact-strip .button,.detail-actions .button { background:#0066ff; border-color:#0066ff; color:#fff; }
body[data-case="home"] .contact-strip .button:hover,.contact-strip .button:hover,.detail-actions .button:hover { background:#fff; border-color:#fff; color:#101a35; }
.portfolio-footer { background:#101a35; }
.portfolio-footer a:hover { color:#aebcff; }
body[data-case="nomad-shooter"] .detail-copy .eyebrow,body[data-case="nomad-shooter"] .detail-back,body[data-case="nomad-shooter"] .detail-tagline { color:#b9c6ff; }
body[data-case="fop"] .detail-hero,body[data-case="nomad-history"] .detail-hero { background:#f7f8fc; }
body[data-case="fop"] .detail-copy .eyebrow,body[data-case="nomad-history"] .detail-copy .eyebrow { color:#0066ff; }
body[data-case="fop"] .detail-copy .eyebrow::before,body[data-case="nomad-history"] .detail-copy .eyebrow::before { background:#0066ff; }
@media(max-width:740px) {
  .portfolio-topbar .topnav a { color:#252c3d; }
  .catalog-grid .project-image { border-radius:8px; }
}

/* ===== Style switcher (A light / B dark-blue top) ===== */
.style-toggle { display:inline-flex; margin-left:auto; margin-right:12px; padding:3px; border:1px solid #cfd9ff; border-radius:99px; background:#fff; }
.style-toggle button { width:34px; height:30px; border:0; border-radius:99px; background:transparent; color:#0066ff; font:700 12px Arial,sans-serif; cursor:pointer; }
.style-toggle button[aria-pressed="true"] { background:#0066ff; color:#fff; }
html[data-style="b"] .style-toggle { border-color:#ffffff40; background:transparent; }
html[data-style="b"] .style-toggle button { color:#dbe3ff; }
html[data-style="b"] .style-toggle button[aria-pressed="true"] { background:#fff; color:#0f1a3a; }
.topnav { margin-left:0; }
html[data-style="b"] .topbar,html[data-style="b"] .portfolio-topbar { background:#0f1a3af2; border-color:#ffffff1f; }
html[data-style="b"] .portfolio-topbar .brand-logo { filter:none; }
html[data-style="b"] .portfolio-topbar .brand>span,html[data-style="b"] .portfolio-topbar .topnav a { color:#dbe3ff; }
html[data-style="b"] .portfolio-topbar .topnav a:hover { color:#fff; }
html[data-style="b"] .portfolio-topbar .language-toggle { background:transparent; color:#fff; border-color:#ffffff59; }
html[data-style="b"] .portfolio-topbar .language-toggle option { color:#11182c; }
html[data-style="b"] body[data-case="home"] .portfolio-hero { background:#0f1a3a; border-color:#0f1a3a; }
html[data-style="b"] body[data-case="home"] .portfolio-hero .eyebrow { color:#9fb0ee; }
html[data-style="b"] body[data-case="home"] .portfolio-hero-heading h1 { color:#fff; }
html[data-style="b"] body[data-case="home"] .portfolio-hero-heading .portfolio-hero-lede { color:#c2cdf0; }
html[data-style="b"] .home-direction-card { border-color:#ffffff30; box-shadow:none; }
html[data-style="b"] body[data-case="home"] .contact-strip,html[data-style="b"] .portfolio-footer { background:#0f1a3a; }
@media(max-width:740px){ .style-toggle { margin-right:8px; } .style-toggle button { width:30px; height:28px; } }

/* ===== facts, process, request form ===== */
.facts-strip { border-bottom:1px solid #e7eaf2; background:#fff; }
.facts-inner { display:grid; grid-template-columns:repeat(3,1fr); }
.fact-item { padding:28px 24px 28px 0; display:grid; gap:4px; }
.fact-item+.fact-item { padding-left:24px; border-left:1px solid #e7eaf2; }
.fact-item strong { font:700 clamp(26px,3vw,38px)/1.1 "Crocos TT",Arial,sans-serif; color:#0066ff; letter-spacing:-.02em; }
.fact-item span { color:#586276; font-size:14px; }
.process-section { padding-block:clamp(52px,6vw,88px); background:#fff; }
.process-section h2 { margin-bottom:34px; font-size:clamp(28px,3.4vw,44px); color:#11182c; }
.process-steps { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.process-steps li { padding:24px; border:1px solid #dce2f4; border-radius:14px; transition:border-color .2s,box-shadow .2s; }
.process-steps li:hover { border-color:#0066ff; box-shadow:0 14px 32px #0066ff1a; }
.step-num { display:block; margin-bottom:22px; color:#0066ff; font-weight:700; font-size:13px; letter-spacing:.1em; }
.process-steps h3 { margin:0 0 8px; font-size:20px; color:#11182c; }
.process-steps p { margin:0; color:#586276; font-size:14px; line-height:1.6; }
body[data-case="home"] .contact-strip { background:#f4f6ff; color:#11182c; padding-block:clamp(48px,6vw,80px); }
body[data-case="home"] .contact-strip h2 { color:#11182c; }
body[data-case="home"] .contact-strip p { color:#586276; }
body[data-case="home"] .contact-inner { align-items:flex-start; gap:clamp(30px,6vw,80px); }
body[data-case="home"] .contact-inner>div:first-child { flex:1; }
.request-form { flex:1; max-width:520px; display:grid; gap:14px; padding:26px; background:#fff; border:1px solid #dce2f4; border-radius:16px; }
.request-form h3 { margin:0 0 4px; font-size:20px; color:#11182c; }
.request-form label { display:grid; gap:6px; font-size:13px; font-weight:700; color:#33405c; }
.request-form input,.request-form textarea { width:100%; padding:12px 14px; border:1px solid #cfd9ff; border-radius:8px; background:#fff; color:#11182c; font:400 15px Arial,sans-serif; }
.request-form input:focus,.request-form textarea:focus { outline:2px solid #0066ff; outline-offset:1px; }
.request-form .button { justify-self:start; border:0; cursor:pointer; }
.request-form small { color:#7b869c; font-size:12px; }
body[data-case="home"] .contact-strip .button { background:#0066ff; color:#fff; border-color:#0066ff; }
body[data-case="home"] .contact-strip .button:hover { background:#1738d8; color:#fff; }
html[data-style="b"] .facts-strip { background:#0f1a3a; border-color:#ffffff1f; }
html[data-style="b"] .fact-item+.fact-item { border-color:#ffffff1f; }
html[data-style="b"] .fact-item strong { color:#fff; }
html[data-style="b"] .fact-item span { color:#b7c3ec; }
@media(max-width:900px){ .process-steps { grid-template-columns:1fr 1fr; } body[data-case="home"] .contact-inner { flex-direction:column; } .request-form { max-width:none; width:100%; } }
@media(max-width:620px){ .facts-inner { grid-template-columns:1fr; } .fact-item,.fact-item+.fact-item { padding:16px 0; border-left:0; } .fact-item+.fact-item { border-top:1px solid #e7eaf2; } .process-steps { grid-template-columns:1fr; } }

/* ===== Style B = Crocos Lab look: near-black, paper, yellow, square corners, wide display type ===== */
html[data-style="b"] { --lab-bg:#111111; --lab-bg2:#181818; --lab-paper:#f5f4ee; --lab-y:#ffd400; --lab-line:#ffffff1f; }
html[data-style="b"] :focus-visible { outline-color:var(--lab-y); box-shadow:none; }
html[data-style="b"] .topbar,html[data-style="b"] .portfolio-topbar { background:var(--lab-bg); border-color:var(--lab-line); }
html[data-style="b"] .portfolio-topbar .topnav a { color:#d6d6d0; }
html[data-style="b"] .portfolio-topbar .topnav a:hover { color:var(--lab-y); }
html[data-style="b"] .portfolio-topbar .language-toggle { border-radius:0; border-color:#ffffff40; }
html[data-style="b"] .style-toggle { border-radius:0; border-color:#ffffff40; }
html[data-style="b"] .style-toggle button { border-radius:0; color:#d6d6d0; }
html[data-style="b"] .style-toggle button[aria-pressed="true"] { background:var(--lab-y); color:#111; }
html[data-style="b"] .button,html[data-style="b"] .button-red,html[data-style="b"] body[data-case="home"] .contact-strip .button,html[data-style="b"] .detail-actions .button { border-radius:0; background:var(--lab-y); border-color:var(--lab-y); color:#111; font-weight:700; }
html[data-style="b"] .button:hover,html[data-style="b"] body[data-case="home"] .contact-strip .button:hover { background:#fff; border-color:#fff; color:#111; box-shadow:none; transform:none; }
html[data-style="b"] .underlined-link { color:var(--lab-y); }
/* hero */
html[data-style="b"] body[data-case="home"],html[data-style="b"] body[data-case="home"] .portfolio-hero { background:var(--lab-bg); color:#fff; }
html[data-style="b"] body[data-case="home"] .portfolio-hero { border:0; }
html[data-style="b"] body[data-case="home"] .portfolio-hero .eyebrow { display:flex; align-items:center; gap:12px; color:#fff; font-size:11px; font-weight:700; letter-spacing:.14em; }
html[data-style="b"] body[data-case="home"] .portfolio-hero .eyebrow::before { width:auto; height:auto; background:none; color:#8d8d86; content:"01"; font-weight:400; }
html[data-style="b"] body[data-case="home"] .portfolio-hero-heading h1 { color:#fff; }
html[data-style="b"] body[data-case="home"] .portfolio-hero-heading .portfolio-hero-lede { color:#c9c9c2; }
html[data-style="b"] .home-direction-card { border:0; border-radius:2px; box-shadow:none; background:#222; }
html[data-style="b"] .home-direction-card::after { background:linear-gradient(transparent 45%,#111111e6); }
html[data-style="b"] .home-direction-card:hover { box-shadow:none; transform:none; }
html[data-style="b"] .direction-index { color:#fff; }
html[data-style="b"] .direction-copy strong::after { content:" →"; color:var(--lab-y); }
html[data-style="b"] .direction-copy small { color:#d6d6d0; }
/* facts */
html[data-style="b"] .facts-strip { background:var(--lab-bg); border-color:var(--lab-line); }
html[data-style="b"] .fact-item+.fact-item { border-color:var(--lab-line); }
html[data-style="b"] .fact-item strong { color:var(--lab-y); }
html[data-style="b"] .fact-item span { color:#b9b9b2; }
/* projects on paper */
html[data-style="b"] body[data-case="home"] .portfolio-projects { background:var(--lab-paper); color:#111; }
html[data-style="b"] body[data-case="home"] .portfolio-projects .eyebrow { color:#111; font-weight:700; letter-spacing:.14em; }
html[data-style="b"] body[data-case="home"] .portfolio-projects .section-heading h2 { color:#111; }
html[data-style="b"] body[data-case="home"] .portfolio-projects .section-lede { color:#5f5f58; }
html[data-style="b"] .catalog-tabs { border:0; gap:8px; }
html[data-style="b"] .catalog-tab { border:1px solid #cfcfc6; border-radius:0; background:transparent; color:#111; }
html[data-style="b"] .catalog-tab:hover { color:#111; border-color:#111; }
html[data-style="b"] .catalog-tab.is-active { background:#111; border-color:#111; color:#fff; }
html[data-style="b"] .catalog-tab.is-active::after { display:none; }
html[data-style="b"] .catalog-grid .project-card { background:transparent; border:0; border-radius:0; padding:0; box-shadow:none; }
html[data-style="b"] .catalog-grid .project-card:hover { border:0; box-shadow:none; transform:none; }
html[data-style="b"] .catalog-grid .project-image { border-radius:2px; background:#ddd; }
html[data-style="b"] .catalog-grid .project-image>span { top:12px; left:12px; padding:6px 9px; border-radius:0; background:#f5f4ee; color:#111; letter-spacing:.08em; }
html[data-style="b"] .catalog-grid .project-card-copy { padding:16px 0 0; }
html[data-style="b"] .catalog-grid .project-card-copy h3 { color:#111; }
html[data-style="b"] .catalog-grid .project-card-copy p { color:#5f5f58; }
html[data-style="b"] .catalog-grid .card-link { color:#111; border-bottom:2px solid var(--lab-y); }
/* process */
html[data-style="b"] .process-section { background:var(--lab-bg); }
html[data-style="b"] .process-section .eyebrow { color:#fff; letter-spacing:.14em; }
html[data-style="b"] .process-section h2,html[data-style="b"] .process-steps h3 { color:#fff; }
html[data-style="b"] .process-steps li { border-color:#ffffff2e; border-radius:0; background:transparent; }
html[data-style="b"] .process-steps li:hover { border-color:var(--lab-y); box-shadow:none; }
html[data-style="b"] .step-num { color:var(--lab-y); }
html[data-style="b"] .process-steps p { color:#b9b9b2; }
/* studio on paper */
html[data-style="b"] body[data-case="home"] .portfolio-studio { background:var(--lab-paper); color:#111; }
html[data-style="b"] body[data-case="home"] .portfolio-studio .eyebrow { color:#111; }
html[data-style="b"] body[data-case="home"] .portfolio-studio h2 { color:#111; }
html[data-style="b"] body[data-case="home"] .studio-inner { border-color:#d9d9d0; }
html[data-style="b"] body[data-case="home"] .studio-inner p { color:#4f4f49; }
html[data-style="b"] body[data-case="home"] .portfolio-studio .underlined-link { color:#111; border-bottom:2px solid var(--lab-y); }
/* contact + form */
html[data-style="b"] body[data-case="home"] .contact-strip { background:var(--lab-bg); color:#fff; border-top:1px solid var(--lab-line); }
html[data-style="b"] body[data-case="home"] .contact-strip h2 { color:#fff; }
html[data-style="b"] body[data-case="home"] .contact-strip p { color:#b9b9b2; }
html[data-style="b"] .request-form { background:var(--lab-bg2); border:1px solid var(--lab-line); border-radius:0; }
html[data-style="b"] .request-form h3 { color:#fff; }
html[data-style="b"] .request-form label { color:#d6d6d0; }
html[data-style="b"] .request-form input,html[data-style="b"] .request-form textarea { background:#111; border:1px solid #ffffff38; border-radius:0; color:#fff; }
html[data-style="b"] .request-form input:focus,html[data-style="b"] .request-form textarea:focus { outline:2px solid var(--lab-y); border-color:var(--lab-y); }
html[data-style="b"] .request-form small { color:#8d8d86; }
html[data-style="b"] .portfolio-footer { background:#0a0a0a; border-top:1px solid var(--lab-line); }
html[data-style="b"] .portfolio-footer a:hover { color:var(--lab-y); }
/* detail pages */
html[data-style="b"] body:not([data-case="home"]) { background:var(--lab-bg); }
html[data-style="b"] .detail-hero,html[data-style="b"] body[data-case] .detail-hero { background:var(--lab-bg); }
html[data-style="b"] .detail-copy .eyebrow,html[data-style="b"] .detail-back,html[data-style="b"] .detail-tagline { color:var(--lab-y); }
html[data-style="b"] .detail-visual { border-radius:2px; border-color:var(--lab-line); }

/* ===== services section (all styles) ===== */
.svc-section { padding-block:clamp(52px,6vw,90px); background:#f7f8fc; color:#11182c; }
.svc-head { display:flex; justify-content:space-between; align-items:end; gap:40px; flex-wrap:wrap; margin-bottom:32px; }
.svc-head h2 { margin:0; font-size:clamp(26px,3.4vw,44px); line-height:1.1; color:#11182c; }
.svc-intro { max-width:420px; margin:0; color:#586276; font-size:16px; line-height:1.65; }
.svc-grid { list-style:none; margin:0 0 28px; padding:0; display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.svc-grid li { padding:22px; border:1px solid #dce2f4; border-radius:14px; background:#fff; font-weight:700; font-size:17px; line-height:1.3; }
.svc-grid li span { display:block; margin-bottom:26px; color:#0066ff; font-size:13px; letter-spacing:.1em; }
.svc-clients { margin:0; color:#586276; font-size:15px; } .svc-clients b { color:#11182c; }
html[data-style="b"] .svc-section { background:#111; color:#fff; }
html[data-style="b"] .svc-head h2,html[data-style="b"] .svc-clients b { color:#fff; }
html[data-style="b"] .svc-head .eyebrow { color:#fff; }
html[data-style="b"] .svc-intro,html[data-style="b"] .svc-clients { color:#b9b9b2; }
html[data-style="b"] .svc-grid li { background:transparent; border:1px solid #ffffff2e; border-radius:0; color:#fff; }
html[data-style="b"] .svc-grid li span { color:#ffd400; }
@media(max-width:900px){ .svc-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:560px){ .svc-grid { grid-template-columns:1fr; } }

/* ===== polish: compact mobile header, solid C header, kicker wrap ===== */
@media(max-width:740px){
  .topbar-inner { gap:6px 10px; flex-wrap:wrap; padding-block:10px 0; min-height:0; align-items:center; }
  .brand>span { display:none; }
  .brand-logo { width:108px; }
  .brand { margin-right:auto; }
  .style-toggle { margin:0; }
  .language-toggle { height:34px; }
  .topnav { order:3; width:100%; min-height:38px; gap:20px; border-top:0; }
  .topnav a { min-height:38px; }
  html { scroll-padding-top:100px; }
}


/* ===== Style B = Crocos Lab layout: split hero, captioned image tiles, numbered tabs ===== */
.nav-cta { display:none; }
html[data-style="b"] .nav-cta { display:inline-flex; align-items:center; min-height:40px; padding:0 18px; margin-right:12px; background:#ffd400; color:#111; font:600 14px 'Geologica',Arial,sans-serif; }
html[data-style="b"] .nav-cta:hover { background:#fff; }
html[data-style="b"] .nav-cta::after { content:"↗"; margin-left:14px; }
html[data-style="b"] .style-toggle { margin-left:auto; }
html[data-style="b"] .nav-cta { margin-left:auto; } html[data-style="b"] .nav-cta+.style-toggle { margin-left:0; }
.lab-hero { background:#111; color:#fff; padding:clamp(48px,6vw,88px) 0 clamp(52px,6vw,88px); }
.lab-hero-inner { display:grid; grid-template-columns:1fr 1fr; gap:clamp(30px,5vw,80px); align-items:start; }
.lab-hero .eyebrow { display:flex; gap:12px; align-items:center; margin:0 0 30px; color:#fff; font-size:11px; font-weight:700; letter-spacing:.14em; }
.lab-hero .eyebrow span { color:#8d8d86; font-weight:400; }
.lab-hero h1 { margin:0 0 26px; max-width:11em; color:#fff; font-size:clamp(34px,4.6vw,64px); line-height:1.08; letter-spacing:-.02em; text-transform:none; }
.lab-lede { max-width:470px; margin:0 0 34px; color:#c9c9c2; font-size:17px; line-height:1.65; }
.lab-actions { display:flex; align-items:center; gap:26px; flex-wrap:wrap; }
.lab-btn { display:inline-flex; align-items:center; gap:28px; min-height:54px; padding:0 24px; background:#ffd400; color:#111; font:700 14px Arial,sans-serif; }
.lab-btn:hover { background:#fff; }
.lab-link { display:inline-flex; gap:10px; padding-bottom:8px; border-bottom:1px solid #ffffff59; color:#fff; font:600 14px 'Geologica',Arial,sans-serif; }
.lab-link:hover { border-color:#ffd400; color:#ffd400; }
.lab-tiles { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.lab-tile { display:grid; gap:12px; align-content:start; color:#fff; }
.lab-tile img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:2px; transition:transform .5s,filter .3s; }
.lab-tile:hover img { filter:brightness(1.08); }
.lab-tile strong { font:400 clamp(17px,1.7vw,22px)/1.25 Arial,sans-serif; margin-top:6px; }
.lab-tile-link { margin-top:14px; color:#ffd400; font:700 12px Arial,sans-serif; }
.lab-tile small { color:#8d8d86; font-size:11px; }
html[data-style="b"] .catalog-tabs { counter-reset:tab; }
html[data-style="b"] .catalog-tab { counter-increment:tab; display:inline-flex; align-items:center; gap:12px; min-height:54px; padding:0 20px; font-weight:700; }
html[data-style="b"] .catalog-tab::before { content:counter(tab,decimal-leading-zero); font-size:10px; font-weight:400; opacity:.6; }
html[data-style="b"] body[data-case="home"] .portfolio-projects .eyebrow::before { content:"02 "; margin-right:10px; font-weight:400; color:#8d8d86; }
@media(max-width:900px){ .lab-hero-inner { grid-template-columns:1fr; } }
@media(max-width:520px){ .lab-tiles { grid-template-columns:1fr; } html[data-style="b"] .nav-cta { display:none; } }
.lab-tile:first-child img { object-position:6% 50%; }

/* Style A hero: same split layout, director's look (white, blue, outlined rounded tiles) */
html:not([data-style="b"]) .lab-hero { background:#fff; color:#11182c; border-bottom:1px solid #e7eaf2; }
html:not([data-style="b"]) .lab-hero .eyebrow { color:#53617d; }
html:not([data-style="b"]) .lab-hero .eyebrow span { color:#0066ff; font-weight:700; }
html:not([data-style="b"]) .lab-hero h1 { color:#11182c; }
html:not([data-style="b"]) .lab-lede { color:#586276; }
html:not([data-style="b"]) .lab-btn { background:#0066ff; color:#fff; border-radius:7px; }
html:not([data-style="b"]) .lab-btn:hover { background:#1738d8; }
html:not([data-style="b"]) .lab-link { color:#0066ff; border-color:#0066ff; }
html:not([data-style="b"]) .lab-link:hover { color:#1738d8; border-color:#1738d8; }
html:not([data-style="b"]) .lab-tile { padding:10px; border:1px solid #cfd9ff; border-radius:14px; color:#11182c; transition:border-color .2s,box-shadow .2s; }
html:not([data-style="b"]) .lab-tile:hover { border-color:#0066ff; box-shadow:0 14px 34px #0066ff1f; }
html:not([data-style="b"]) .lab-tile img { border-radius:9px; }
html:not([data-style="b"]) .lab-tile strong { font-weight:700; margin:8px 4px 0; }
html:not([data-style="b"]) .lab-tile-link { margin:6px 4px 0; color:#0066ff; }
html:not([data-style="b"]) .lab-tile small { margin:0 4px 4px; color:#7b869c; }

/* ===== hero bento: one large uncropped feature + two tiles ===== */
.lab-hero-inner { grid-template-columns:5fr 7fr; align-items:center; }
.lab-hero h1 { font-size:clamp(30px,3.5vw,50px); max-width:12em; }
.lab-tiles { grid-template-columns:1fr 1fr; gap:14px; }
.lab-tile { position:relative; display:block; overflow:hidden; border-radius:12px; background:#1b1b1b; color:#fff; }
.lab-tile img { display:block; width:100%; aspect-ratio:16/10; object-fit:cover; border-radius:0; transition:transform .6s; }
.lab-tile-main { grid-column:1/-1; }
.lab-tile-main img { aspect-ratio:16/9; object-position:center; }
.lab-tile:first-child img { object-position:center; }
.lab-tile:hover img { transform:scale(1.04); filter:none; }
.lab-tile::after { position:absolute; inset:45% 0 0; background:linear-gradient(transparent,#000000cc); content:""; pointer-events:none; }
.lab-tile-cap { position:absolute; left:18px; right:56px; bottom:16px; z-index:2; display:grid; gap:3px; }
.lab-tile strong { margin:0; font:700 clamp(17px,1.8vw,24px)/1.15 Arial,sans-serif; }
.lab-tile em { font-style:normal; font-size:13px; color:#e0e0da; }
.lab-tile-go { position:absolute; right:14px; bottom:14px; z-index:2; width:34px; height:34px; display:grid; place-items:center; border-radius:9px; background:#fff; color:#111; font-size:15px; transition:background .2s,color .2s; }
.lab-tile:hover .lab-tile-go { background:#ffd400; }
html:not([data-style="b"]) .lab-tile { padding:0; border:0; border-radius:14px; box-shadow:0 14px 34px #1f3b8a1f; }
html:not([data-style="b"]) .lab-tile:hover { box-shadow:0 18px 40px #0066ff33; border:0; }
html:not([data-style="b"]) .lab-tile-go { background:#0066ff; color:#fff; }
html:not([data-style="b"]) .lab-tile:hover .lab-tile-go { background:#fff; color:#0066ff; }
html:not([data-style="b"]) .lab-tile strong { font-weight:700; margin:0; }
html[data-style="b"] .lab-tile { border-radius:2px; }
@media(max-width:900px){ .lab-hero-inner { grid-template-columns:1fr; } }
@media(max-width:520px){ .lab-tiles { grid-template-columns:1fr; } }
html:not([data-style="b"]) .lab-tile,html:not([data-style="b"]) .lab-tile strong,html:not([data-style="b"]) .lab-tile em { color:#fff; }
.lab-tile::after { inset:35% 0 0; background:linear-gradient(transparent,#000000d9); }
.detail-visual.art img[src$="snake-cover.webp"] { aspect-ratio:16/9; object-fit:cover; }
.catalog-grid .project-image img[src$="snake-cover.webp"] { object-fit:cover; background:transparent; }

/* two directions: Games and FOP -> stacked tiles */
.lab-hero-inner { grid-template-columns:1fr 1fr; }
.lab-tiles { grid-template-columns:1fr; }
.lab-tile-main,.lab-tile { grid-column:auto; }
.lab-tile img,.lab-tile-main img { aspect-ratio:16/9; }

/* ===== Nomad Shooter landing inside the site (A light / B Lab) ===== */
body[data-case="nomad-shooter"] { background:#fff; color:#11182c; }
.nl-eyebrow { display:flex; align-items:center; gap:10px; margin:0 0 22px; color:#53617d; font:700 11px/1.3 Arial,sans-serif; letter-spacing:.14em; text-transform:uppercase; }
.nl-eyebrow i { width:9px; height:9px; border-radius:50%; background:#0066ff; box-shadow:0 0 0 4px #0066ff33; }
.nl-eyebrow-s span { color:#0066ff; }
.nl-hero { background:#f7f8fc; padding:28px 0 0; border-bottom:1px solid #e7eaf2; }
.nl-hero .detail-back { display:inline-block; margin-bottom:26px; color:#0066ff; }
.nl-hero-grid { display:grid; grid-template-columns:5fr 7fr; gap:clamp(28px,4vw,64px); align-items:center; padding-bottom:clamp(32px,4vw,54px); }
.nl-hero h1 { margin:0 0 20px; font-size:clamp(32px,4vw,56px); line-height:1.06; letter-spacing:-.02em; text-transform:none; color:#11182c; }
.nl-lede { margin:0 0 30px; max-width:440px; color:#586276; font-size:18px; line-height:1.6; }
.nl-actions { display:flex; align-items:center; gap:24px; flex-wrap:wrap; }
.nl-btn { display:inline-flex; align-items:center; gap:22px; min-height:54px; padding:0 24px; border-radius:8px; background:#0066ff; color:#fff; font:700 14px Arial,sans-serif; transition:background .2s,transform .2s; }
.nl-btn:hover { background:#1738d8; transform:translateY(-2px); }
.nl-link { display:inline-flex; gap:10px; padding-bottom:6px; border-bottom:1px solid currentColor; color:#0066ff; font:600 14px 'Geologica',Arial,sans-serif; }
.nl-note { margin:26px 0 0; color:#7b869c; font-size:13px; }
.nl-art { position:relative; margin:0; overflow:hidden; border-radius:16px; box-shadow:0 18px 44px #1f3b8a24; }
.nl-art img { width:100%; aspect-ratio:16/9; object-fit:cover; }
.nl-art figcaption { position:absolute; left:0; right:0; bottom:0; display:flex; justify-content:space-between; padding:34px 18px 14px; background:linear-gradient(transparent,#000000b3); color:#fff; font:700 11px Arial,sans-serif; letter-spacing:.14em; }
.nl-ribbon { display:flex; flex-wrap:wrap; gap:10px 28px; padding:18px 0 22px; border-top:1px solid #e0e5f3; color:#33405c; font:700 12px Arial,sans-serif; letter-spacing:.12em; }
.nl-ribbon span::before { content:"●"; margin-right:10px; color:#0066ff; font-size:8px; vertical-align:2px; }
.nl-intro,.nl-gameplay,.nl-how,.nl-studio { padding-block:clamp(52px,6vw,90px); }
.nl-intro h2,.nl-head h2,.nl-how h2,.nl-studio h2,.nl-close h2 { margin:0; font-size:clamp(26px,3.4vw,44px); line-height:1.1; text-transform:none; color:#11182c; }
.nl-intro-grid { display:grid; grid-template-columns:5fr 7fr; gap:clamp(28px,5vw,80px); align-items:start; }
.nl-intro p,.nl-studio p { margin:0 0 22px; color:#3b4663; font-size:18px; line-height:1.7; }
.nl-facts { display:flex; flex-wrap:wrap; gap:8px; }
.nl-facts span { padding:9px 14px; border:1px solid #cfd9ff; border-radius:99px; color:#0066ff; font:700 11px Arial,sans-serif; letter-spacing:.1em; }
.nl-gameplay { background:#f7f8fc; }
.nl-head { display:flex; justify-content:space-between; align-items:end; gap:30px; flex-wrap:wrap; margin-bottom:30px; }
.nl-sub { max-width:360px; margin:0; color:#586276; font-size:16px; line-height:1.6; }
.nl-gallery { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.nl-shot { margin:0; overflow:hidden; border:1px solid #dce2f4; border-radius:14px; background:#fff; }
.nl-shot button { position:relative; display:block; width:100%; padding:0; border:0; background:none; cursor:zoom-in; overflow:hidden; }
.nl-shot img { width:100%; aspect-ratio:16/9; object-fit:cover; transition:transform .6s; }
.nl-shot button:hover img { transform:scale(1.04); }
.nl-expand { position:absolute; right:12px; top:12px; width:34px; height:34px; display:grid; place-items:center; border-radius:9px; background:#fff; color:#0066ff; font-size:15px; }
.nl-shot figcaption { display:flex; gap:14px; padding:14px 18px; color:#33405c; font:700 11px Arial,sans-serif; letter-spacing:.12em; }
.nl-shot figcaption span:first-child { color:#0066ff; }
.nl-galnote { margin:18px 0 0; color:#7b869c; font-size:13px; }
.nl-feats { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:34px; }
.nl-feat { position:relative; padding:26px; min-height:290px; border:1px solid #dce2f4; border-radius:16px; background:#fff; transition:border-color .2s,box-shadow .2s; }
.nl-feat:hover { border-color:#0066ff; box-shadow:0 16px 36px #0066ff1a; }
.nl-feat-no { display:block; margin-bottom:34px; color:#0066ff; font:700 11px Arial,sans-serif; letter-spacing:.14em; }
.nl-feat h3 { margin:0 0 12px; font-size:22px; line-height:1.2; color:#11182c; text-transform:none; }
.nl-feat p { margin:0; max-width:300px; color:#586276; font-size:15px; line-height:1.65; }
.nl-feat svg { position:absolute; right:22px; bottom:20px; width:64px; height:64px; fill:none; stroke:#0066ff; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; opacity:.9; }
.nl-studio { background:#f7f8fc; }
.nl-studio-grid { display:grid; grid-template-columns:4fr 8fr; gap:clamp(28px,5vw,80px); align-items:center; }
.nl-stamp { display:grid; place-items:center; aspect-ratio:1; max-width:260px; border:2px solid #0066ff; border-radius:50%; color:#0066ff; font:700 20px Arial,sans-serif; letter-spacing:.16em; text-align:center; line-height:1.4; }
.nl-stamp b { color:#11182c; }
.nl-links { display:flex; flex-wrap:wrap; gap:10px; }
.nl-links a { padding:10px 16px; border:1px solid #cfd9ff; border-radius:99px; color:#0066ff; font:600 14px 'Geologica',Arial,sans-serif; transition:background .2s,color .2s; }
.nl-links a:hover { background:#0066ff; color:#fff; }
.nl-close { padding-block:clamp(48px,6vw,80px); background:#0066ff; color:#fff; }
.nl-close h2 { color:#fff; }
.nl-close-inner { display:flex; justify-content:space-between; align-items:center; gap:30px; flex-wrap:wrap; }
.nl-close .nl-btn { background:#fff; color:#0066ff; }
.nl-close .nl-btn:hover { background:#11182c; color:#fff; }
.nl-viewer { width:min(1100px,94vw); max-height:94vh; padding:0; border:0; border-radius:14px; background:#0b0f1e; color:#fff; }
.nl-viewer::backdrop { background:#000000d9; }
.nl-viewer-bar,.nl-viewer-ctl { display:flex; justify-content:space-between; align-items:center; padding:12px 18px; font:700 12px Arial,sans-serif; letter-spacing:.12em; }
.nl-viewer-img { width:100%; max-height:76vh; object-fit:contain; background:#000; }
.nl-viewer button { min-width:44px; min-height:44px; border:1px solid #ffffff40; border-radius:10px; background:transparent; color:#fff; font-size:16px; cursor:pointer; }
.nl-viewer button:hover { background:#fff; color:#0b0f1e; }
@media(max-width:900px){ .nl-hero-grid,.nl-intro-grid,.nl-studio-grid { grid-template-columns:1fr; } .nl-feats { grid-template-columns:1fr; } .nl-stamp { max-width:160px; } }
@media(max-width:560px){ .nl-gallery { grid-template-columns:1fr; } }

/* B: Lab look */
html[data-style="b"] body[data-case="nomad-shooter"] { background:#111; color:#fff; }
html[data-style="b"] .nl-eyebrow { color:#fff; }
html[data-style="b"] .nl-eyebrow i { background:#ffd400; box-shadow:0 0 0 4px #ffd40033; }
html[data-style="b"] .nl-eyebrow-s span { color:#8d8d86; font-weight:400; }
html[data-style="b"] .nl-hero { background:#111; border-color:#ffffff1f; }
html[data-style="b"] .nl-hero .detail-back { color:#ffd400; }
html[data-style="b"] .nl-hero h1,html[data-style="b"] .nl-intro h2,html[data-style="b"] .nl-head h2,html[data-style="b"] .nl-how h2,html[data-style="b"] .nl-studio h2 { color:#fff; }
html[data-style="b"] .nl-lede,html[data-style="b"] .nl-sub,html[data-style="b"] .nl-intro p,html[data-style="b"] .nl-studio p { color:#c9c9c2; }
html[data-style="b"] .nl-note,html[data-style="b"] .nl-galnote { color:#8d8d86; }
html[data-style="b"] .nl-btn { border-radius:0; background:#ffd400; color:#111; }
html[data-style="b"] .nl-btn:hover { background:#fff; transform:none; }
html[data-style="b"] .nl-link { color:#fff; border-color:#ffffff59; }
html[data-style="b"] .nl-link:hover { color:#ffd400; border-color:#ffd400; }
html[data-style="b"] .nl-art { border-radius:2px; box-shadow:none; }
html[data-style="b"] .nl-ribbon { border-color:#ffffff1f; color:#d6d6d0; }
html[data-style="b"] .nl-ribbon span::before { color:#ffd400; }
html[data-style="b"] .nl-facts span { border-color:#ffffff33; border-radius:0; color:#fff; }
html[data-style="b"] .nl-gameplay { background:#f5f4ee; color:#111; }
html[data-style="b"] .nl-gameplay .nl-eyebrow { color:#111; }
html[data-style="b"] .nl-gameplay .nl-eyebrow-s span { color:#8d8d86; }
html[data-style="b"] .nl-gameplay .nl-head h2 { color:#111; }
html[data-style="b"] .nl-gameplay .nl-sub { color:#5f5f58; }
html[data-style="b"] .nl-shot { border:0; border-radius:2px; background:transparent; }
html[data-style="b"] .nl-shot figcaption { color:#111; padding-inline:0; }
html[data-style="b"] .nl-shot figcaption span:first-child { color:#8d8d86; }
html[data-style="b"] .nl-expand { border-radius:0; background:#ffd400; color:#111; }
html[data-style="b"] .nl-galnote { color:#5f5f58; }
html[data-style="b"] .nl-feat { border-color:#ffffff2e; border-radius:0; background:transparent; }
html[data-style="b"] .nl-feat:hover { border-color:#ffd400; box-shadow:none; }
html[data-style="b"] .nl-feat-no { color:#ffd400; }
html[data-style="b"] .nl-feat h3 { color:#fff; }
html[data-style="b"] .nl-feat p { color:#b9b9b2; }
html[data-style="b"] .nl-feat svg { stroke:#ffd400; }
html[data-style="b"] .nl-studio { background:#181818; }
html[data-style="b"] .nl-stamp { border-color:#ffd400; color:#ffd400; }
html[data-style="b"] .nl-stamp b { color:#fff; }
html[data-style="b"] .nl-links a { border-color:#ffffff40; border-radius:0; color:#fff; }
html[data-style="b"] .nl-links a:hover { background:#ffd400; border-color:#ffd400; color:#111; }
html[data-style="b"] .nl-close { background:#ffd400; color:#111; }
html[data-style="b"] .nl-close h2 { color:#111; }
html[data-style="b"] .nl-close .nl-btn { background:#111; color:#fff; }
html[data-style="b"] .nl-close .nl-btn:hover { background:#fff; color:#111; }
html[data-style="b"] .nl-viewer button { border-radius:0; }
body[data-case] .nl-hero .detail-back { color:#0066ff; font-weight:700; font-size:13px; }
html[data-style="b"] body[data-case] .nl-hero .detail-back { color:#ffd400; }

/* FOP / Nomad History landings (reuse .nl-*) */
.lp-lead { margin:14px 0 0; max-width:620px; color:#586276; font-size:17px; line-height:1.6; }
.lp-grid { grid-template-columns:repeat(3,1fr); }
.lp-g5 { grid-template-columns:repeat(6,1fr); }
.lp-g5 .nl-feat { grid-column:span 2; }
.lp-g5 .nl-feat:nth-child(n+4) { grid-column:span 3; }
@media(max-width:900px){ .lp-grid,.lp-g5 { grid-template-columns:1fr 1fr; } .lp-g5 .nl-feat,.lp-g5 .nl-feat:nth-child(n+4) { grid-column:auto; } }
@media(max-width:560px){ .lp-grid,.lp-g5 { grid-template-columns:1fr; } }
.lp-grid .nl-feat { min-height:210px; }
.lp-soon { border-style:dashed; }
.lp-steps { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin:34px 0 0; padding:0; list-style:none; counter-reset:none; }
.lp-steps li { padding:26px; border:1px solid #dce2f4; border-radius:16px; background:#fff; }
.lp-steps b { display:block; margin-bottom:26px; color:#0066ff; font:700 11px Arial,sans-serif; letter-spacing:.14em; }
.lp-steps h3 { margin:0 0 10px; font-size:21px; line-height:1.2; color:#11182c; text-transform:none; }
.lp-steps p { margin:0; color:#586276; font-size:15px; line-height:1.6; }
.lp-facts { margin-top:26px; }
.lp-cases { display:grid; grid-template-columns:repeat(auto-fit,minmax(270px,1fr)); gap:16px; margin-top:34px; }
.lp-case { display:flex; flex-direction:column; overflow:hidden; border:1px solid #dce2f4; border-radius:16px; background:#fff; color:inherit; text-decoration:none; transition:border-color .2s, box-shadow .2s; }
a.lp-case:hover { border-color:#0066ff; box-shadow:0 16px 36px #0066ff1a; }
.lp-case img { width:100%; aspect-ratio:16/9; object-fit:cover; }
.lp-case img[src*="ar-abc"] { object-fit:contain; background:#000; }
.lp-case-body { display:flex; flex-direction:column; gap:10px; padding:22px 24px 26px; flex:1; }
.lp-tag { color:#0066ff; font:700 11px Arial,sans-serif; letter-spacing:.14em; }
.lp-case h3 { margin:0; font-size:22px; line-height:1.2; color:#11182c; text-transform:none; }
.lp-case p { margin:0; color:#586276; font-size:15px; line-height:1.65; }
.lp-more { margin-top:auto; padding-top:8px; color:#0066ff; font:600 14px 'Geologica',Arial,sans-serif; }
.lp-contacts { margin:14px 0 0; font-size:15px; color:#ffffffd9; }
.lp-contacts a { color:inherit; text-decoration:underline; text-underline-offset:3px; }
.lp-sec.nl-how + .lp-sec.nl-how { padding-top:0; }
@media(max-width:900px){ .lp-steps { grid-template-columns:1fr 1fr; } }
@media(max-width:560px){ .lp-steps { grid-template-columns:1fr; } }

html[data-style="b"] body[data-case="fop"], html[data-style="b"] body[data-case="nomad-history"] { background:#111; color:#fff; }
html[data-style="b"] .lp-lead { color:#c9c9c2; }
html[data-style="b"] .lp-steps li { border-color:#ffffff2e; border-radius:0; background:transparent; }
html[data-style="b"] .lp-steps b { color:#ffd400; }
html[data-style="b"] .lp-steps h3 { color:#fff; }
html[data-style="b"] .lp-steps p { color:#b9b9b2; }
html[data-style="b"] .lp-case { border-color:#ffffff2e; border-radius:0; background:transparent; }
html[data-style="b"] a.lp-case:hover { border-color:#ffd400; box-shadow:none; }
html[data-style="b"] .lp-tag, html[data-style="b"] .lp-more { color:#ffd400; }
html[data-style="b"] .lp-case h3 { color:#fff; }
html[data-style="b"] .lp-case p { color:#b9b9b2; }
html[data-style="b"] .lp-contacts { color:#111; }

.nl-hero-copy,.nl-hero-grid > * { min-width:0; }
.nl-hero h1 { overflow-wrap:break-word; hyphens:auto; }

/* B: readable headings on remaining detail pages */
html[data-style="b"] body[data-case]:not([data-case="home"]) .detail-copy h1,
html[data-style="b"] body[data-case]:not([data-case="home"]) .detail-gallery h2,
html[data-style="b"] body[data-case]:not([data-case="home"]) .section-heading h2 { color:#fff; }
html[data-style="b"] body[data-case]:not([data-case="home"]) .detail-lede { color:#c9c9c2; }
html[data-style="b"] body[data-case]:not([data-case="home"]) .eyebrow-dark { color:var(--lab-y); }
html[data-style="b"] body[data-case]:not([data-case="home"]) .case-next > h2 { color:#fff; }

html[data-style="b"] body[data-case="mini-golf"], html[data-style="b"] body[data-case="tennis-horizon"] { background:#111; color:#fff; }

/* 2026-10-16: scoped UX audit corrections. Keep each case's existing art direction. */
html { scroll-padding-top:calc(var(--header-height, 84px) + 16px); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.skip-link { position:fixed; top:8px; left:16px; z-index:100; padding:14px 18px; background:#fff; color:#18202c; transform:translateY(-160%); }
.skip-link:focus { transform:none; }
.appearance-toggle { max-width:130px; min-height:40px; padding:8px; border:1px solid #dce2ed; border-radius:6px; background:#fff; color:#18202c; font-size:12px; }
html[data-style="b"] .appearance-toggle { border-color:#77776d; background:#111; color:#fff; border-radius:0; }
.catalog-tabs { overflow:visible; flex-wrap:wrap; }
html[data-style="b"] .catalog-tabs { flex-wrap:wrap; }
.catalog-tab { min-width:0; white-space:normal; text-align:center; }
.fx .course-access-note { color:#bdc5ce; }
.course-access-note { max-width:70ch; font-size:15px; line-height:1.65; margin:0 0 24px; }
.request-form label { display:block; margin:14px 0 6px; font-size:14px; font-weight:600; }
.request-form input,.request-form textarea,.request-form select { width:100%; max-width:100%; min-width:0; border:1px solid #8c98aa; border-radius:6px; padding:12px; font:inherit; font-size:16px; background:#fff; color:#18202c; }
.request-form textarea { resize:vertical; }
.request-form select { min-height:46px; }
.request-help { margin:16px 0 10px; font-size:15px; line-height:1.6; color:#455168; }
.request-required { font-size:13px; color:#455168; }
.request-form .field-error { display:block; margin-top:5px; color:#a01c22; font-size:14px; line-height:1.5; }
.request-form .field-error:empty { display:none; }
.request-form [aria-invalid="true"] { border:2px solid #a01c22; }
.request-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:20px; }
.request-actions .button { flex:1 1 180px; }
.request-form .request-copy { color:#2448bd; background:#fff; border-color:#2448bd; }
.request-form .request-copy:hover { color:#18224a; background:#edf1ff; }
.request-status { margin-top:14px; font-size:14px; line-height:1.6; }
.request-status:empty { display:none; }
.request-prepared[hidden] { display:none; }
html[data-style="b"] .request-help,html[data-style="b"] .request-required { color:#d7d6ce; }
html[data-style="b"] .request-form .field-error { color:#ffb5ac; }
html[data-style="b"] .request-form [aria-invalid="true"] { border-color:#ffb5ac; }
html[data-style="b"] .request-form input,html[data-style="b"] .request-form textarea,html[data-style="b"] .request-form select { background:#171717; color:#fffefa; border-radius:0; }
html[data-style="b"] .request-copy { color:#ffd400; border-color:#ffd400; background:#111; }
html[data-style="b"] .request-form .request-copy:hover { color:#111; background:#ffd400; }
html[data-style="b"] body[data-case]:not([data-case="home"]) .detail-body { color:#b8bec9; }
