/* Techway homepage: narrative growth extension / respects Creative Gallery design tokens */
.tw-revamp-industries{background:#f6e9d9;padding:108px 0 112px}
.tw-revamp-industries .section-top h2 span{color:var(--accent)}
.tw-revamp-industry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:44px}
.tw-revamp-industry-card{background:#fff;border:1px solid var(--line);border-radius:4px;overflow:hidden;box-shadow:0 18px 55px rgba(39,30,23,.045);transition:transform .3s ease,box-shadow .3s ease}
.tw-revamp-industry-card:hover,.tw-revamp-industry-card:focus-within{transform:translateY(-7px);box-shadow:0 25px 50px rgba(39,30,23,.13)}
.tw-revamp-industry-link{display:block;height:100%}
.tw-revamp-industry-image{height:240px;position:relative;overflow:hidden;background:#f6e9d9}
.tw-revamp-industry-photo{width:100%;height:100%;display:block;object-fit:cover;transition:transform .7s ease}
.tw-revamp-industry-card:hover .tw-revamp-industry-photo{transform:scale(1.055)}
.tw-revamp-industry-index{position:absolute;top:18px;left:18px;background:rgba(14,34,63,.81);color:white;border:1px solid rgba(255,255,255,.3);border-radius:25px;padding:7px 12px;font-size:10px;font-weight:800;letter-spacing:.11em}
.tw-revamp-industry-body{padding:26px 27px 29px;display:flex;flex-direction:column;align-items:start;min-height:255px}
.tw-revamp-industry-tag{font-size:10px;text-transform:uppercase;letter-spacing:.09em;font-weight:800;color:#de503d}
.tw-revamp-industry-body h3{font-size:clamp(23px,2.3vw,30px);margin:10px 0;letter-spacing:-.045em}
.tw-revamp-industry-body p{font-size:14px;line-height:1.7;color:var(--muted)}
.tw-revamp-industry-cta{margin-top:auto;padding-top:20px;font-size:13px;font-weight:800;color:var(--accent)}
.tw-revamp-industry-cta span{margin-left:14px}
.tw-revamp-all-industries{margin-top:28px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;font-size:14px;color:var(--muted)}
.tw-revamp-all-industries .arrow-link{color:var(--accent)}
.tw-revamp-flow{padding:105px 0;background:#d1e8dd}
.tw-revamp-flow-layout{display:grid;grid-template-columns:1fr 1.02fr;gap:66px;align-items:center}
.tw-revamp-flow h2{font-size:clamp(40px,4.4vw,64px);margin:23px 0 24px}
.tw-revamp-flow .lead{font-size:17px}
.tw-revamp-flow-cta{margin-top:25px;color:var(--accent)}
.tw-revamp-diagram{padding:27px;border-radius:5px;background:#fff;box-shadow:0 28px 75px rgba(39,30,23,.09);border:1px solid rgba(29,30,29,.22)}
.tw-revamp-diagram-header{display:flex;align-items:center;gap:6px;border-bottom:1px solid rgba(29,30,29,.15);padding-bottom:20px;color:#6a7892;font-size:10px;font-weight:800;letter-spacing:.12em}
.tw-revamp-diagram-header span{margin-right:auto}
.tw-revamp-diagram-header i{height:8px;width:8px;border-radius:50%;background:#f3cb77}
.tw-revamp-nodes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:27px 0}
.tw-revamp-node{position:relative;min-height:106px;border:1px solid rgba(29,30,29,.18);background:#fff8ed;border-radius:3px;display:flex;flex-direction:column;justify-content:center;gap:8px;padding:20px 22px;font-weight:850}
.tw-revamp-node small{position:absolute;top:12px;right:13px;color:#79736b;font-size:11px}
.tw-revamp-node-icon{color:#ea513a;font-size:23px;line-height:1}
.tw-revamp-flow-result{padding:13px;border-radius:3px;background:#d9eedc;color:#285347;font-size:12px;font-weight:800;display:flex;align-items:center;gap:10px;line-height:1.5}
.tw-revamp-status-dot{width:8px;height:8px;flex-shrink:0;border-radius:50%;background:#338c65}
.tw-revamp-insights{padding:108px 0 112px;background:#fff}
.tw-revamp-article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:46px}
.tw-revamp-article{border-radius:4px;border:1px solid rgba(29,30,29,.18);background:#fff8ed;transition:border-color .2s,transform .2s}
.tw-revamp-article:hover{border-color:#fa523e;transform:translateY(-4px)}
.tw-revamp-article>a{padding:26px;display:flex;height:100%;min-height:275px;flex-direction:column}
.tw-revamp-article-top{font-size:11px;font-weight:850;letter-spacing:.11em;color:#de503d;display:flex;justify-content:space-between}
.tw-revamp-article h3{margin:25px 0 13px;font-size:22px;letter-spacing:-.04em;line-height:1.22}
.tw-revamp-article p{font-size:13px;line-height:1.6;color:var(--muted)}
.tw-revamp-article-read{font-size:13px;font-weight:800;margin-top:auto;padding-top:18px;color:var(--accent)}
.tw-revamp-article-more{display:flex;justify-content:end;margin-top:25px}
.tw-revamp-faq{display:grid;grid-template-columns:.75fr 1.25fr;gap:80px;border-top:1px solid rgba(29,30,29,.2);margin-top:90px;padding-top:85px}
.tw-revamp-faq h2{font-size:clamp(36px,4vw,56px);margin:21px 0}
.tw-revamp-faq .lead{font-size:16px}
.tw-revamp-faq-list{border-top:1px solid rgba(29,30,29,.18)}
.tw-revamp-faq-list details{border-bottom:1px solid rgba(29,30,29,.18);padding:17px 0}
.tw-revamp-faq-list summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:18px;font-weight:750;line-height:1.5;font-size:16px}
.tw-revamp-faq-list summary::-webkit-details-marker{display:none}
.tw-revamp-faq-list summary span{width:31px;height:31px;display:grid;place-items:center;flex-shrink:0;border:1px solid #f1aa96;border-radius:50%;font-size:22px;font-weight:400;color:var(--accent)}
.tw-revamp-faq-list details[open] summary span{transform:rotate(45deg)}
.tw-revamp-faq-list details p{font-size:14px;line-height:1.7;color:var(--muted);padding:12px 44px 0 0}
.tw-revamp-service-footnote{max-width:var(--max);padding:0 32px;margin:15px auto 0;color:var(--muted);font-size:14px}
.tw-revamp-hero-promise{font-size:11px!important;letter-spacing:.11em!important;font-weight:850!important;text-transform:uppercase;color:var(--accent)}
.tw-revamp-hero-title{letter-spacing:-.065em!important;font-size:clamp(43px,5vw,72px)!important;line-height:1.08!important}
.tw-revamp-hero-title i{color:var(--accent);font-style:normal}
.tw-revamp-hero-sub{display:block;margin-top:20px;font-size:14px;font-weight:750;color:#de503d}
.tw-revamp-inline-link{margin-left:12px}
@media(max-width:950px){.tw-revamp-industry-grid,.tw-revamp-article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tw-revamp-flow-layout,.tw-revamp-faq{grid-template-columns:1fr;gap:35px}.tw-revamp-faq{margin-top:65px;padding-top:55px}}
@media(max-width:640px){.tw-revamp-industries,.tw-revamp-flow,.tw-revamp-insights{padding:72px 0}.tw-revamp-industry-grid,.tw-revamp-article-grid{grid-template-columns:1fr;gap:16px}.tw-revamp-industry-image{height:220px}.tw-revamp-industry-body{min-height:0}.tw-revamp-industry-body p{margin-bottom:5px}.tw-revamp-diagram{padding:16px}.tw-revamp-nodes{gap:8px}.tw-revamp-node{padding:14px;min-height:90px;font-size:13px}.tw-revamp-article>a{min-height:200px}.tw-revamp-faq{gap:23px}.tw-revamp-hero-title{font-size:clamp(44px,11vw,65px)!important}.tw-revamp-all-industries{align-items:start}}
@media(prefers-reduced-motion:reduce){.tw-revamp-industry-card,.tw-revamp-industry-photo,.tw-revamp-article{transition:none!important}}


/* Match Techway Creative Gallery: warm editorial palette, sharp geometry and coral accents. */
.tw-revamp-industry-card,.tw-revamp-article,.tw-revamp-diagram{border:1px solid var(--line)}
.tw-revamp-industry-card:nth-child(2){background:#fff3d1}
.tw-revamp-industry-card:nth-child(3){background:#e5efe4}
.tw-revamp-industries .section-top h2 span,.tw-revamp-article-read,.tw-revamp-flow-cta,.tw-revamp-all-industries .arrow-link{color:#e6513c}


/* Homepage hero revision: eliminate excess top space on wide screens. */
@media(min-width:1001px){
.techway-dynamic-hero .gallery-heading>.eyebrow{padding-bottom:8px}
.techway-dynamic-hero .gallery-headline{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:start;gap:42px;padding:8px 0 38px}
.techway-dynamic-hero .gallery-side{padding-left:5px;padding-bottom:0}
.techway-dynamic-hero .tw-revamp-hero-title{font-size:clamp(44px,5.35vw,83px)!important;line-height:1.02!important}
.techway-dynamic-hero .business-motion{height:144px;margin-bottom:7px;transform:scale(.83);transform-origin:top left}
.techway-dynamic-hero .gallery-side .lead{font-size:16px;line-height:1.52;margin-bottom:17px}
.techway-dynamic-hero .tw-hero-service-label{margin-bottom:11px}
}
@media(min-width:701px) and (max-width:1000px){
.techway-dynamic-hero .gallery-heading>.eyebrow{padding-bottom:8px}
.techway-dynamic-hero .gallery-headline{grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);align-items:start;gap:22px;padding:8px 0 34px}
.techway-dynamic-hero .gallery-side{padding-left:0}
.techway-dynamic-hero .tw-revamp-hero-title{font-size:clamp(41px,5.5vw,65px)!important;line-height:1.05!important}
.techway-dynamic-hero .business-motion{height:141px;margin-bottom:10px;transform:scale(.8);transform-origin:top left}
.techway-dynamic-hero .gallery-side .lead{font-size:15px;line-height:1.5;margin-bottom:15px}
}
@media(max-width:700px){
.techway-dynamic-hero .gallery-heading>.eyebrow{padding-bottom:8px}
.techway-dynamic-hero .gallery-headline{padding-top:8px;padding-bottom:30px;gap:18px}
.techway-dynamic-hero .gallery-side .lead{margin-bottom:16px}
}
/* Editorial photo tiles: real work contexts, original Techway Creative Gallery identity. */
.techway-dynamic-hero .tw-photo-mosaic{height:350px}
.techway-dynamic-hero .tw-photo-tile{color:#fff;position:relative;overflow:hidden;isolation:isolate;background:#1d2529;padding:22px 27px 27px}
.techway-dynamic-hero .tw-photo-tile .tw-home-tile-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block;z-index:0;transition:transform .65s ease,filter .65s ease;filter:saturate(.8)}
.techway-dynamic-hero .tw-photo-tile:hover .tw-home-tile-photo{transform:scale(1.045);filter:saturate(1)}
.techway-dynamic-hero .tw-photo-tile::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(17,25,32,.7) 0%,rgba(17,25,32,.07) 45%,rgba(17,25,32,.92) 100%)}
.techway-dynamic-hero .tw-photo-tile.tile-one::before{background:linear-gradient(180deg,rgba(24,31,30,.65),rgba(48,40,25,.09) 38%,rgba(27,28,24,.92) 100%)}
.techway-dynamic-hero .tw-photo-tile.tile-two::before{background:linear-gradient(180deg,rgba(107,41,31,.68),rgba(184,69,51,.23) 48%,rgba(66,30,31,.94) 100%)}
.techway-dynamic-hero .tw-photo-tile.tile-three::before{background:linear-gradient(180deg,rgba(10,25,30,.68),rgba(17,32,31,.17) 42%,rgba(8,19,27,.96) 100%)}
.techway-dynamic-hero .tw-photo-tile .tile-label,.techway-dynamic-hero .tw-photo-tile strong{position:relative;z-index:2;color:#fff}
.techway-dynamic-hero .tw-photo-tile .tile-label{font-size:11px;letter-spacing:.13em;text-shadow:0 1px 8px rgba(0,0,0,.32)}
.techway-dynamic-hero .tw-photo-tile strong{font-size:clamp(34px,3.2vw,55px);letter-spacing:-.065em;line-height:.98;text-shadow:0 2px 12px rgba(0,0,0,.2)}
.techway-dynamic-hero .tw-tile-chip{position:absolute;z-index:2;top:64px;left:27px;border:1px solid rgba(255,255,255,.48);background:rgba(19,26,29,.5);color:#fff;padding:8px 10px;font-size:9px;font-weight:800;letter-spacing:.09em;backdrop-filter:blur(7px)}
@media(max-width:700px){
.techway-dynamic-hero .tw-photo-mosaic{height:auto}
.techway-dynamic-hero .tw-photo-tile{min-height:250px;padding:18px}
.techway-dynamic-hero .tw-photo-tile .tile-label{font-size:10px;letter-spacing:.07em}
.techway-dynamic-hero .tw-photo-tile strong{font-size:clamp(25px,6vw,35px)}
.techway-dynamic-hero .tw-tile-chip{top:57px;left:18px;font-size:8px;letter-spacing:.03em}
}
@media(prefers-reduced-motion:reduce){
.techway-dynamic-hero .tw-home-tile-photo{transition:none!important}
}
