.cms-cover{display:block;width:100%;height:185px;object-fit:cover;background:#eee}.article-page>.cms-cover{height:auto;max-height:550px;object-fit:contain}.cms-select{margin:0;font-size:13px;min-width:160px}.cms-select select{margin-top:4px}.cms-more{text-align:center;padding:0 6% 50px;background:#f8f7f5}.pagination{display:flex;justify-content:center;gap:10px;padding:25px 6% 60px}.pagination a{border:1px solid #ddd;padding:9px 16px}.pagination a[aria-current]{color:white;background:#e52c33}.cms-list-title{padding-bottom:0}.form-error{padding:12px;background:#fff0f0;color:#ae222c;line-height:1.8;font-size:14px}.notice{background:#fff3ef;padding:15px;border-left:3px solid #e52c33;font-size:14px;line-height:1.9}.honey{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.contact form .button{width:100%}.policy-page ul{padding-left:22px}@media(max-width:700px){.cms-cover{height:155px}.project-toolbar .button{justify-content:center}.project-toolbar .cms-select{min-width:0}.project-body p{min-height:5.4em}}
body{overflow-x:clip}
.listing-heading-actions{display:flex;flex-direction:column;align-items:flex-end;gap:14px;max-width:390px}.listing-heading-actions>p{font-size:1rem;line-height:1.9;color:var(--text-secondary,#626262);margin:0}.listing-view-all{display:inline-flex;align-items:center;gap:12px;white-space:nowrap;color:var(--red);padding:8px 0;min-height:44px}.listing-view-all span{margin-left:0}@media(max-width:700px){.listing-heading-actions{align-items:flex-start;max-width:none;margin-top:20px;gap:8px}}

/* Keep the CMS search controls together, independent of portfolio layout. */
form.project-toolbar{display:grid;grid-template-columns:minmax(220px,440px) 160px max-content;justify-content:start;align-items:end;gap:12px}
form.project-toolbar>.project-search{width:100%;max-width:none;min-width:0;box-sizing:border-box}
form.project-toolbar>.cms-select{width:160px;min-width:0;margin:0}
form.project-toolbar>.button{margin:0;white-space:nowrap}
@media(max-width:800px){form.project-toolbar{grid-template-columns:minmax(0,1fr) 160px}form.project-toolbar>.project-search{grid-column:1/-1}form.project-toolbar>.button{justify-self:start}}
@media(max-width:420px){form.project-toolbar{grid-template-columns:minmax(0,1fr) max-content}form.project-toolbar>.cms-select{width:100%}}

/* Match the visible control heights, including borders and padding. */
form.project-toolbar>.project-search,
form.project-toolbar>.cms-select select,
form.project-toolbar>.button{height:58px;box-sizing:border-box}
form.project-toolbar>.project-search input{height:100%;width:100%;box-sizing:border-box;padding:0;border:0;margin:0;line-height:1.5}
form.project-toolbar>.cms-select select{width:100%;padding:0 14px;line-height:normal}
form.project-toolbar>.button{display:inline-flex;align-items:center;justify-content:center;padding:0 22px;line-height:1.5}

/* Keep project detail links aligned at the bottom of each grid row. */
.project-grid>.project-card{display:flex;flex-direction:column;height:100%;box-sizing:border-box}
.project-grid>.project-card>.cms-cover,.project-grid>.project-card>.project-thumb{flex-shrink:0}
.project-grid>.project-card>.project-body{display:flex;flex-direction:column;flex:1;min-width:0}
.project-grid>.project-card>.project-body>.project-open{margin-top:auto;padding-top:13px;flex-shrink:0}
.project-grid>.project-card>.project-body>p{margin-bottom:18px}

/* Align article links while allowing the full title and excerpt to wrap. */
.journal-grid>.journal-card{display:flex;flex-direction:column;min-width:0}
.journal-grid>.journal-card>a{display:flex;flex-direction:column;flex:1;min-width:0}
.journal-grid>.journal-card>a>.journal-art,.journal-grid>.journal-card>a>.cms-cover{flex-shrink:0}
.journal-grid>.journal-card>a>.journal-link{margin-top:auto;padding-top:20px}

.project-search-wrap{position:relative;min-width:0;width:100%;max-width:440px}
.project-search-wrap>.project-search{width:100%;max-width:none;box-sizing:border-box;height:58px;min-width:0}
.project-search-wrap .project-search input{height:100%;width:100%;padding:0;box-sizing:border-box}
.project-suggestions{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:30;background:#fff;border:1px solid #ddd;border-radius:6px;box-shadow:0 12px 25px #0001;max-height:340px;overflow:auto}
.project-suggestions[hidden]{display:none}.project-suggestions a{display:block;padding:12px 15px;font-size:14px;border-bottom:1px solid #eee;color:inherit}.project-suggestions a:hover,.project-suggestions a:focus{background:#fff0f0;outline:2px solid #e52c33;outline-offset:-2px}.project-suggestions small{display:block;color:#777;font-size:12px;margin-top:3px}.project-suggestions p{margin:0;padding:12px 15px;font-size:13px;color:#777}
@media(max-width:800px){form.project-toolbar>.project-search-wrap{grid-column:1/-1;max-width:none}}

.software-examples{background:#f8f7f5;border-top:1px solid #eee}.software-examples-intro{max-width:800px;color:#777;line-height:1.9}.software-example-group{margin:38px 0}.software-example-group>h3{font-size:23px;margin-bottom:18px}.software-example-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;list-style:none;padding:0;margin:0}.software-example-list>li{padding:22px;background:#fff;border:1px solid #e8e4e1;border-radius:8px;min-width:0;border-top:3px solid #e52c33}.software-example-list h4{font-size:17px;line-height:1.7;margin:0 0 10px;overflow-wrap:anywhere}.software-example-list p{font-size:14px;line-height:1.9;color:#777;margin:0}.software-examples>.button{margin-top:16px}@media(max-width:1000px){.software-example-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.software-example-list{grid-template-columns:1fr}.software-example-list>li{padding:20px}.software-example-group>h3{font-size:21px}}

.software-sectors{border-top:1px solid #eee}.software-sector+.software-sector{margin-top:65px}.software-sector>.software-example-list{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:28px}.software-sector .software-example-list h3{font-size:17px;line-height:1.7;margin:0 0 10px;overflow-wrap:anywhere}.software-sectors>.scope-note{margin-top:30px}.software-sectors>.button{margin-top:16px}@media(max-width:1100px){.software-sector>.software-example-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.software-sector>.software-example-list{grid-template-columns:1fr}.software-sector+.software-sector{margin-top:45px}}

.website-section-intro{max-width:800px;color:#777;line-height:1.9}.website-service-cards{list-style:none;padding:0;margin:30px 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.website-service-cards>li{padding:26px;background:#fff;border:1px solid #e8e4e1;border-top:3px solid #e52c33;border-radius:8px;min-width:0}.website-service-cards h3,.website-steps h3{font-size:20px;line-height:1.6;margin:0 0 12px}.website-service-cards p,.website-steps p{font-size:15px;color:#777;line-height:1.9;margin:0}.website-features,.website-work{background:#f8f7f5}.website-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;padding-left:24px;margin:35px 0 0}.website-steps li{padding-left:6px}.website-steps li::marker{color:#e52c33;font-weight:700}.website-work-links{display:grid;gap:14px;margin-top:30px}.website-work-links a{padding:20px;background:white;border:1px solid #e8e4e1;display:flex;justify-content:space-between;gap:20px}.website-work-links span{color:#e52c33}.website-faq details{border-bottom:1px solid #ddd;padding:20px 0}.website-faq summary{cursor:pointer;font-size:18px;font-weight:500}.website-faq details p{max-width:900px;color:#777;line-height:1.9;font-size:16px}@media(max-width:1000px){.website-service-cards,.website-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.website-service-cards,.website-steps{grid-template-columns:1fr}.website-service-cards>li{padding:22px}.website-faq summary{font-size:16px}}

.website-hero-image{min-width:0}.website-hero-image img{display:block;width:100%;height:auto;border-radius:16px}.website-visuals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.website-visuals article{border:1px solid #e8e4e1;border-radius:12px;overflow:hidden}.website-visuals img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}.website-visuals article>div{padding:26px}.website-visuals h2{font-size:25px;line-height:1.6;margin:0 0 12px}.website-visuals p{color:#777;line-height:1.9;margin:0}.website-project-grid{margin-top:30px}@media(max-width:700px){.website-visuals{grid-template-columns:1fr}.website-visuals article>div{padding:22px}}

.application-planning{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:45px;align-items:center;background:#f8f7f5}.application-planning>img{width:100%;height:auto;border-radius:12px}.application-planning p{line-height:1.9;color:#777}.application-planning h2{font-size:32px;line-height:1.6}@media(max-width:850px){.application-planning{grid-template-columns:1fr;gap:26px}.application-planning h2{font-size:27px}}

.software-hero-image{min-width:0}.software-hero-image img{display:block;width:100%;height:auto;border-radius:16px}.software-work{background:#f8f7f5;border-top:1px solid #eee}.software-work-intro{color:#777;line-height:1.9}.software-project-grid{margin-top:30px}

.game-service-cards{list-style:none;padding:0;margin:30px 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.game-service-cards>li{padding:26px;border:1px solid #e8e4e1;border-top:3px solid #e52c33;border-radius:8px;background:#fff;min-width:0}.game-service-cards h3,.game-service-steps h3{font-size:20px;line-height:1.6;margin:0 0 12px}.game-service-cards p,.game-service-steps p{font-size:15px;color:#777;line-height:1.9;margin:0}.game-planning,.game-work{background:#f8f7f5}.game-service-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;padding-left:24px;margin:35px 0 0}.game-service-steps li::marker{color:#e52c33;font-weight:700}.game-project-grid{margin-top:30px}.game-faq details{padding:20px 0;border-bottom:1px solid #ddd}.game-faq summary{font-size:18px;cursor:pointer}.game-faq details p{font-size:16px;line-height:1.9;color:#777;max-width:900px}@media(max-width:1000px){.game-service-cards,.game-service-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.game-service-cards,.game-service-steps{grid-template-columns:1fr}.game-faq summary{font-size:16px}}

/* Article labels: wrap long Thai text without widening cards. */
.article-tags{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:24px 0}.article-tags li{min-width:0;max-width:100%}.article-tags span{display:block;padding:6px 12px;border:1px solid #f3c7cb;border-radius:999px;background:#fff4f4;color:#a51d2b;font-size:.82rem;overflow-wrap:anywhere}.journal-card .article-tags{margin:12px 0}.journal-card .article-tags span{font-size:.75rem;padding:4px 9px}

.article-content h2{font-size:clamp(1.25rem,2.5vw,1.65rem);line-height:1.5;margin:2em 0 .65em}.article-content h3{font-size:1.15rem;line-height:1.5;margin:1.6em 0 .6em}.article-content a{color:#b91c2c;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}

.local-service{background:#faf8f7}.local-service p{max-width:900px;line-height:1.95}.local-service h3{margin:1.8em 0 .6em}.local-service ul{padding-left:1.3em;line-height:2}.local-service li a{text-decoration:underline;text-underline-offset:3px}.local-service .actions{display:flex;flex-wrap:wrap;align-items:center;gap:20px;margin:28px 0}

.home-offers{background:#faf8f7}.home-offer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:28px 0}.home-offer-grid article{display:flex;flex-direction:column;border:1px solid #e6dfdc;background:white;padding:clamp(20px,3vw,40px);min-width:0}.home-offer-grid p{line-height:1.85}.home-offer-grid .button{margin-top:auto;align-self:flex-start}.offer-price{font-size:clamp(2rem,4vw,3.5rem);color:var(--red);font-weight:700;margin:12px 0}.offer-price span{font-size:1rem}@media(max-width:700px){.home-offer-grid{grid-template-columns:1fr}}
/* Homepage service choices */
.home-offers{background:radial-gradient(ellipse at 10% 10%,#fff0ee,transparent 48%),#faf9f7}.offer-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:36px}.offer-heading h2{font-size:clamp(30px,3.6vw,52px);line-height:1.35;margin:14px 0 0;letter-spacing:-1px}.offer-heading>p{color:#76716d;line-height:1.9;font-size:14px;max-width:390px}.home-offer-grid{gap:24px;align-items:stretch}.home-offer-grid article.offer-card{border-radius:22px;padding:32px;overflow:hidden;box-shadow:0 12px 36px #29140c08}.home-offer-grid .offer-website{border-color:#ecd5d2;background:#fff}.home-offer-grid .offer-software{background:#242526;color:#fff;border-color:#343536}.offer-topline{display:flex;align-items:center;justify-content:space-between;gap:12px}.offer-pill{font-size:11px;font-weight:600;padding:7px 12px;border-radius:30px;background:#fff0ed;color:#c62c32}.offer-software .offer-pill{background:#ffffff10;color:#ffc3c0}.offer-number{font-size:10px;letter-spacing:1px;color:#9b928e}.offer-card h3{font-size:clamp(26px,2.5vw,36px);line-height:1.4;margin:28px 0 12px;letter-spacing:-.6px}.home-offer-grid .offer-summary{font-size:14px;line-height:1.85;margin:0;color:#76716d}.offer-software .offer-summary{color:#c3c1be}.offer-price-line{display:flex;align-items:center;gap:20px;min-height:104px}.home-offer-grid .offer-price{display:flex;align-items:baseline;gap:10px;font-size:clamp(42px,5vw,66px);letter-spacing:-2px;line-height:1.2;margin:18px 0}.offer-price span{font-size:16px;letter-spacing:0;color:#6e625c}.offer-price-note{font-size:11px;line-height:1.8;border-left:1px solid #e4dcda;padding-left:20px;color:#8a7b74}.offer-custom-price{min-height:104px;display:flex;flex-direction:column;justify-content:center;gap:8px}.offer-custom-price strong{font-size:24px;color:#ffb6b3}.offer-custom-price>span{font-size:12px;color:#b9b7b4}.offer-visual{position:relative;height:214px;border-radius:12px;overflow:hidden;margin:8px 0 24px}.offer-browser{background:#f6f5f3;border:1px solid #eee8e5}.offer-windowbar{height:30px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;color:#a49a96;background:#faf9f8;font-size:8px;letter-spacing:1px}.offer-browser img{width:100%;height:184px;object-fit:cover;object-position:center}.offer-floating-label{position:absolute;bottom:12px;left:12px;background:#fffffff0;padding:7px 10px;border:1px solid #fff;border-radius:6px;font-size:10px;color:#5f514c}.offer-system{display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(ellipse,#87373935,transparent 75%),#1b1c1d;border:1px solid #ffffff12;gap:3px}.offer-system-node{border:1px solid #ffffff30;border-radius:8px;padding:10px 24px;background:#ffffff09;font-size:13px}.offer-system-connect{color:#e87979;font-size:18px}.offer-system-modules{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.offer-system-modules span{padding:10px 14px;background:#fff1;border:1px solid #ffbaba30;border-radius:8px;font-size:11px}.offer-system-result{font-size:11px;color:#ccc;display:flex;align-items:center;gap:8px}.offer-status-dot{width:6px;height:6px;border-radius:50%;background:#e98686;box-shadow:0 0 10px #e9868660}.offer-features{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0;margin:0 0 28px}.offer-features li{font-size:12px;line-height:1.7;display:flex;gap:8px}.offer-features li:before{content:'✓';color:#e52c33}.offer-software .offer-features li:before{color:#ffaaa6}.offer-card-bottom{margin-top:auto}.home-offer-grid .offer-card-bottom .button{display:flex;width:100%;justify-content:space-between;align-items:center;border-radius:8px;font-size:13px;padding:18px 20px}.offer-software .button{background:#fff;color:#242526}.home-offer-grid .offer-scope{font-size:10px;line-height:1.85;margin:14px 0 0;color:#8e817b}.offer-software .offer-scope{color:#a9a5a1}.offer-help{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid #e5ddda;margin-top:32px;padding-top:28px}.offer-help strong{font-size:18px}.offer-help p{font-size:12px;color:#80736d;margin:8px 0 0}.offer-help a{display:flex;gap:28px;align-items:center;white-space:nowrap;color:#c92e34;font-size:13px;font-weight:600}.offer-location{font-size:10px;color:#998b84;margin-top:24px}@media(max-width:760px){.offer-heading{display:block}.offer-heading>p{margin-top:18px}.home-offer-grid{grid-template-columns:1fr}.home-offer-grid article.offer-card{padding:24px}.offer-help{align-items:flex-start;flex-direction:column}.offer-help a{padding:12px 0}.offer-number{font-size:9px}.offer-features{gap:10px}.offer-visual{height:200px}.offer-browser img{height:170px}}@media(prefers-reduced-motion:no-preference){.offer-card{transition:transform .2s,box-shadow .2s}.offer-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px #29140c10}}
/* Keep the hero's flying cards (deck-stage z-index:5) behind the offer section. */
.home-offers{position:relative;z-index:6;isolation:isolate}
/* Flying cards stay above their service docks, but behind the offers. */
#services{position:relative;z-index:1}
.deck-stage{z-index:5}
.home-offers{position:relative;z-index:6;isolation:isolate}
/* The offers lengthen the flight path beyond the former 1500px clip margin. */
#home.hero:has(.deck-stage){position:relative;z-index:5;overflow:visible;overflow-clip-margin:0}
#home .deck-stage{z-index:5}
#services{position:relative;z-index:1}
.home-offers{position:relative;z-index:6;isolation:isolate}
/* Show the entire article artwork, including headlines and brand marks. */
.journal-card>a>.cms-cover{width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;object-position:center;background:#f8f7f5}
.article-page>.cms-cover{width:100%;height:auto;max-height:none;object-fit:contain}
