:root{--yellow:#f6bd00;--charcoal:#1d242a;--navy:#0e2a3e;--ink:#10253a;--muted:#607080;--paper:#fff;--soft:#f5f7f8;--radius:8px;--max:1360px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,"Noto Sans Thai",sans-serif;color:var(--ink);background:white}a{text-decoration:none;color:inherit}.nav{height:78px;display:flex;align-items:center;gap:36px;padding:0 max(24px,calc((100vw - var(--max))/2));position:sticky;top:0;background:#fffffff5;backdrop-filter:blur(12px);z-index:30;border-bottom:1px solid #e8ecef}.brand img{width:104px;height:70px;object-fit:contain}.nav nav{display:flex;gap:38px;margin:auto;font-size:14px;font-weight:700}.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--yellow);color:#111;padding:14px 22px;border-radius:6px;font-weight:800;font-size:14px}.btn.small{padding:11px 18px}.btn.ghost{background:transparent;color:white;border:1px solid #ffffff80}.btn.outline{background:white;border:1px solid var(--yellow)}.menu{display:none;border:0;background:none;font-size:24px}.hero{height:470px;position:relative;overflow:hidden;background:#203746}.hero-bg{position:absolute;inset:0;background:linear-gradient(90deg,#0d2638e8 0%,#0d2638a8 38%,transparent 70%),url('assets/machines/IMG_7863.JPG') center 52%/cover no-repeat}.hero-copy{position:relative;max-width:var(--max);margin:auto;padding:70px 24px;color:white}.eyebrow{font-size:13px;letter-spacing:.05em;font-weight:900;color:var(--yellow)}h1{font-size:clamp(38px,4vw,62px);line-height:1.03;margin:10px 0 18px;letter-spacing:-.04em}h1 em,h2 em{font-style:normal;color:var(--yellow)}.hero p{max-width:560px;line-height:1.7;color:#eef3f5}.actions{display:flex;gap:14px;margin-top:25px}.stats{background:#102738;color:white;display:grid;grid-template-columns:repeat(4,1fr);padding:25px max(24px,calc((100vw - var(--max))/2))}.stats div{display:flex;gap:10px;align-items:center;padding:5px 28px;border-right:1px solid #ffffff25}.stats div:last-child{border:0}.stats b{font-size:30px;color:var(--yellow)}.stats span{font-size:13px}.section{max-width:var(--max);margin:auto;padding:70px 24px}.section-head{display:flex;justify-content:space-between;gap:50px;align-items:flex-end;margin-bottom:34px}.section-head h2,.section h2{font-size:clamp(30px,3vw,44px);line-height:1.06;margin:6px 0 0;letter-spacing:-.03em}.section-head>p{max-width:520px;color:var(--muted);line-height:1.65}.services{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}.service{border:1px solid #e4e8eb;border-radius:var(--radius);overflow:hidden;background:white;box-shadow:0 8px 24px #0b1e2c0b}.service img{width:100%;height:150px;object-fit:cover}.service .body{padding:18px}.service h3{font-size:17px;margin:0 0 9px;line-height:1.2}.service p{font-size:13px;line-height:1.55;color:var(--muted);margin:0}.projects-section{background:linear-gradient(135deg,#102738,#152f42);padding:70px max(24px,calc((100vw - var(--max))/2));color:white}.light p{color:#c8d2d9}.filters{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:22px}.filters button{border:1px solid #ffffff25;background:#ffffff08;color:white;padding:9px 16px;border-radius:5px;cursor:pointer}.filters button.active{background:var(--yellow);color:#111;border-color:var(--yellow)}.project-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.project-card{background:#102535;border:1px solid #ffffff18;border-radius:var(--radius);overflow:hidden;cursor:pointer;transition:.2s}.project-card:hover{transform:translateY(-3px);border-color:var(--yellow)}.project-card img{width:100%;height:185px;object-fit:cover}.project-card .body{padding:15px}.project-card h3{margin:0 0 7px;font-size:16px}.project-card p{margin:4px 0;color:#cbd6dc;font-size:12px}.tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}.tag{font-size:10px;border:1px solid #ffffff25;padding:4px 7px;border-radius:99px}.equipment{display:grid;grid-template-columns:1fr 1.6fr;gap:50px;align-items:center}.equipment-copy p{color:var(--muted);line-height:1.65}.equipment-feature{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px}.equipment-feature img{width:100%;height:170px;object-fit:cover;border-radius:6px}.equipment-feature img:first-child{grid-row:span 2;height:350px}.clients{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:26px max(24px,calc((100vw - var(--max))/2));background:#f5f7f8;color:#66727b}.clients span{color:var(--ink)}.clients span b{font-size:11px;color:var(--yellow)}.clients strong{font-size:16px}.about{display:grid;grid-template-columns:1.4fr .6fr;gap:50px;align-items:center}.about p{line-height:1.8;color:var(--muted)}.about-card{background:var(--charcoal);color:white;border-left:7px solid var(--yellow);padding:45px}.about-card b{font-size:34px;display:block}.about-card span{color:#cfd6da}footer{background:#17232b;color:white;display:grid;grid-template-columns:120px 1.3fr 1fr .6fr;gap:35px;padding:38px max(24px,calc((100vw - var(--max))/2));align-items:center}footer img{width:100px}footer p{font-size:13px;line-height:1.7;color:#cbd4d9}footer>strong{font-size:24px}.modal{position:fixed;inset:0;background:#07131bcc;z-index:50;display:none;overflow:auto;padding:30px}.modal.open{display:block}.modal-panel{max-width:1180px;margin:auto;background:white;border-radius:10px;position:relative;overflow:hidden}.close{position:absolute;right:16px;top:12px;z-index:3;width:40px;height:40px;border:0;border-radius:50%;font-size:27px;background:white;cursor:pointer}.detail-hero{display:grid;grid-template-columns:1.3fr 1fr;gap:35px;padding:55px 45px 35px}.detail-main{width:100%;height:430px;object-fit:cover;border-radius:7px}.detail-info h2{font-size:38px;margin:8px 0}.detail-info>p{color:var(--muted)}.facts{margin-top:20px;border:1px solid #e2e6e8;border-radius:7px}.fact{display:grid;grid-template-columns:140px 1fr;padding:11px 14px;border-bottom:1px solid #e8ebed;font-size:13px}.fact:last-child{border:0}.thumbs{display:flex;gap:8px;padding:0 45px 35px;overflow:auto}.thumbs img{width:130px;height:82px;object-fit:cover;border-radius:5px;cursor:pointer}.overview{background:#132b3b;color:white;padding:35px 45px}.overview p{line-height:1.8;color:#d4dde2}.related{padding:35px 45px}.related-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.related-card img{width:100%;height:110px;object-fit:cover;border-radius:5px}.related-card b{font-size:13px}.related-card{cursor:pointer}
@media(max-width:1050px){.nav nav{gap:18px}.services{grid-template-columns:repeat(3,1fr)}.project-grid{grid-template-columns:repeat(2,1fr)}.clients strong:nth-of-type(n+4){display:none}.detail-hero{grid-template-columns:1fr}.equipment{grid-template-columns:1fr}.hero{height:440px}}
@media(max-width:720px){.nav{height:66px;padding:0 18px}.brand img{width:80px;height:58px}.nav nav,.nav>.btn{display:none}.menu{display:block;margin-left:auto}.nav.open nav{display:flex;position:absolute;top:66px;left:0;right:0;background:white;flex-direction:column;padding:24px;gap:20px;border-bottom:1px solid #ddd}.hero{height:520px}.hero-bg{background:linear-gradient(90deg,#0d2638e8,#0d2638a8),url('assets/machines/IMG_7863.JPG') center/cover}.hero-copy{padding:60px 20px}.hero h1{font-size:42px}.stats{grid-template-columns:repeat(2,1fr);padding:15px}.stats div{padding:15px;border-bottom:1px solid #ffffff20}.section,.projects-section{padding:50px 18px}.section-head{display:block}.services{grid-template-columns:repeat(2,1fr)}.service img{height:120px}.project-grid{grid-template-columns:1fr}.project-card img{height:230px}.equipment-feature{grid-template-columns:1fr 1fr}.equipment-feature img:first-child{grid-column:span 2;height:240px}.equipment-feature img{height:130px}.clients{overflow:auto;justify-content:flex-start}.clients strong{display:block!important;white-space:nowrap}.about{grid-template-columns:1fr}footer{grid-template-columns:1fr 1fr}footer>strong{display:none}.modal{padding:0}.modal-panel{border-radius:0;min-height:100vh}.detail-hero{padding:55px 18px 25px;gap:20px}.detail-main{height:260px}.detail-info h2{font-size:30px}.thumbs{padding:0 18px 25px}.overview,.related{padding:28px 18px}.related-grid{grid-template-columns:repeat(2,1fr)}.fact{grid-template-columns:105px 1fr}}
@media(max-width:430px){.services{grid-template-columns:1fr}.hero h1{font-size:36px}.actions{flex-direction:column;align-items:flex-start}.stats b{font-size:23px}.stats span{font-size:11px}.project-card img{height:210px}footer{grid-template-columns:1fr}.detail-main{height:220px}}

/* V2 refinements */
.nav{height:94px;gap:42px}.brand img{width:128px;height:84px}.nav nav{font-size:16px;gap:44px}.btn.small{font-size:15px;padding:13px 21px}
.hero{height:560px}.hero-copy{padding-top:78px}.hero-copy>p{max-width:780px;font-size:17px;line-height:1.85}.stats b{font-size:27px}.stats div:nth-child(3) b{font-size:20px}
.section-head{align-items:flex-start}.section-head>p{display:none}
.services{display:flex;gap:22px;overflow-x:auto;padding:4px 2px 22px;scroll-snap-type:x mandatory;scrollbar-width:thin}.service{flex:0 0 310px;scroll-snap-align:start}.service img{height:210px}.service .body{padding:23px}.service h3{font-size:21px}.service p{font-size:15px;line-height:1.7}
.project-card h3{font-size:20px;line-height:1.25}.project-card p{font-size:14px;line-height:1.5}.tag{font-size:12px;padding:5px 9px}.project-card .body{padding:18px}.project-card img{height:205px}
.detail-info h2{font-size:46px}.detail-info>p{font-size:17px}.fact{grid-template-columns:155px 1fr;font-size:16px;padding:15px 17px}.fact b{font-size:15px}.fact span{line-height:1.55}.overview{display:none}.related h2{font-size:32px}.related-card b{font-size:15px;display:block;margin-top:7px}
.equipment-copy p{font-size:16px}.btn.outline{cursor:pointer}.equipment-modal-head{padding:50px 50px 22px}.equipment-modal-head h2{font-size:44px;margin:7px 0}.equipment-modal-head p{color:var(--muted)}.equipment-panel{max-width:1380px}.all-equipment{padding:10px 50px 55px;display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.all-equipment img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:7px;background:#eef1f2}
.clients{display:block;padding-top:42px;padding-bottom:42px;text-align:center}.client-heading h3{font-size:28px;margin:6px 0 25px;color:var(--ink)}.client-logos{display:flex;gap:28px;align-items:center;overflow-x:auto;padding:8px 4px 18px;justify-content:center}.client-logos img{width:145px;height:74px;object-fit:contain;flex:0 0 auto;background:white;border-radius:8px;padding:8px}.many-more{margin:12px 0 0;color:var(--muted);font-size:15px}
.about p{font-size:17px;line-height:1.95;max-width:850px}
footer{background:#101e28;grid-template-columns:1.35fr 1fr auto;gap:70px;padding-top:62px;padding-bottom:62px}footer .footer-intro h2{font-size:42px;margin:8px 0 14px}footer .footer-intro p{font-size:15px;max-width:540px}footer .footer-contact b{font-size:16px}.footer-btn{align-self:center;white-space:nowrap;padding:16px 26px}
@media(max-width:1050px){.nav{height:84px}.brand img{width:112px}.nav nav{font-size:15px;gap:22px}.service{flex-basis:300px}.all-equipment{grid-template-columns:repeat(3,1fr)}.client-logos{justify-content:flex-start}footer{grid-template-columns:1fr 1fr;gap:35px}.footer-btn{justify-self:start}}
@media(max-width:720px){.nav{height:74px}.brand img{width:96px;height:66px}.nav.open nav{top:74px}.hero{height:650px}.hero-copy>p{font-size:15px;line-height:1.75}.service{flex-basis:82vw}.service img{height:210px}.project-card h3{font-size:21px}.project-card p{font-size:14px}.detail-info h2{font-size:34px}.fact{font-size:14px;grid-template-columns:110px 1fr}.equipment-modal-head{padding:55px 18px 18px}.equipment-modal-head h2{font-size:34px}.all-equipment{padding:5px 18px 35px;grid-template-columns:repeat(2,1fr);gap:8px}.client-logos img{width:125px;height:68px}footer{grid-template-columns:1fr;padding:48px 22px}.footer-intro h2{font-size:36px}}
@media(max-width:430px){.hero{height:720px}.all-equipment{grid-template-columns:1fr 1fr}.service{flex-basis:88vw}}


/* V3 refinements */
.services-section{padding:70px 0;overflow:hidden}.services-heading{max-width:var(--max);margin:0 auto 30px;padding:0 24px}.service-title{display:block;font-size:clamp(30px,3vw,44px);line-height:1.06;letter-spacing:-.03em}.service-subtitle{font-size:15px!important;font-weight:700;line-height:1.45;margin:9px 0 0;color:var(--muted);letter-spacing:0!important}.service-subtitle em{font-style:normal;color:var(--yellow)}.services-slider{position:relative;width:100%}.services{gap:22px;padding:4px 52px 24px;scroll-padding-left:52px;scrollbar-width:auto;scrollbar-color:var(--yellow) #e8ecef}.services::-webkit-scrollbar{height:10px}.services::-webkit-scrollbar-track{background:#e8ecef}.services::-webkit-scrollbar-thumb{background:var(--yellow);border-radius:99px}.service{flex:0 0 min(390px,78vw)}.service img{height:250px}.service-arrow{position:absolute;z-index:4;top:42%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;border:1px solid #d9dee2;background:#fffffff2;color:var(--ink);font-size:34px;line-height:1;box-shadow:0 8px 24px #10253a22;cursor:pointer}.service-arrow.left{left:12px}.service-arrow.right{right:12px}.service-arrow:hover{background:var(--yellow)}
.client-logos{gap:44px}.client-logos img{width:290px;height:148px;background:transparent;border-radius:0;padding:0;border:0}.many-more{font-size:17px;margin-top:20px}
footer{grid-template-columns:1.2fr 1fr;gap:90px}.footer-contact b{font-size:22px!important}.footer-contact p{font-size:18px!important;line-height:1.85!important}.footer-intro p{font-size:17px!important}.footer-btn{display:none}
@media(max-width:1050px){.client-logos img{width:230px;height:118px}.services{padding-left:28px;padding-right:28px;scroll-padding-left:28px}.service-arrow.left{left:7px}.service-arrow.right{right:7px}}
@media(max-width:720px){.services-section{padding:50px 0}.services-heading{padding:0 18px}.service-title{font-size:34px}.service-subtitle{font-size:14px!important}.services{padding-left:18px;padding-right:18px;scroll-padding-left:18px}.service{flex-basis:86vw}.service-arrow{width:42px;height:42px;font-size:30px}.client-logos img{width:200px;height:105px}footer{gap:30px}.footer-contact b{font-size:20px!important}.footer-contact p{font-size:16px!important}}

/* V4 design refinements — desktop preserved, mobile made more compact */
.service-title{color:var(--charcoal)!important}
.equipment-copy h2 br{display:block}
.client-logos{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:26px 34px;align-items:center;justify-items:center;overflow:visible;padding:8px 0 12px}
.client-logos img{width:100%;max-width:180px;height:82px;object-fit:contain;background:transparent;border:0;padding:0}

@media(max-width:1050px){
  .client-logos{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 28px}
  .client-logos img{max-width:165px;height:76px}
}

@media(max-width:720px){
  /* Services: shorter cards, clear swipe affordance, next card peeks in */
  .services-section{padding:38px 0 42px}
  .services-heading{margin-bottom:20px}
  .service-title{font-size:30px}
  .service-subtitle{font-size:13px!important;margin-top:6px}
  .services{gap:14px;padding:2px 18px 14px;scroll-padding-left:18px;scrollbar-width:thin}
  .services::-webkit-scrollbar{height:5px}
  .service{flex:0 0 76vw;border-radius:7px}
  .service img{height:160px}
  .service .body{padding:16px 17px 18px}
  .service h3{font-size:18px;margin-bottom:6px}
  .service p{font-size:13px;line-height:1.5}
  .service-arrow{display:none}

  /* Projects: keep portfolio useful without each card occupying a full screen */
  .projects-section{padding-top:42px;padding-bottom:46px}
  .projects-section .section-head{margin-bottom:18px}
  .projects-section .section-head h2{font-size:31px}
  .filters{flex-wrap:nowrap;overflow-x:auto;gap:7px;margin:0 -18px 18px;padding:0 18px 7px;scrollbar-width:none}
  .filters::-webkit-scrollbar{display:none}
  .filters button{flex:0 0 auto;white-space:nowrap;padding:8px 13px;font-size:12px}
  .project-grid{gap:13px}
  .project-card img{height:155px;aspect-ratio:16/9}
  .project-card .body{padding:13px 15px 15px}
  .project-card h3{font-size:18px;margin-bottom:5px}
  .project-card p{font-size:12px;margin:3px 0}
  .tags{margin-top:7px}
  .tag{font-size:9px;padding:3px 6px}

  /* All partner logos visible at once; no horizontal slider */
  .clients{overflow:visible;padding-top:34px;padding-bottom:34px}
  .client-heading h3{font-size:24px;margin-bottom:20px}
  .client-logos{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 16px;padding:0}
  .client-logos img{width:100%;max-width:125px;height:58px}
  .many-more{font-size:13px;margin-top:18px}
}

@media(max-width:430px){
  .service{flex-basis:78vw}
  .service img{height:150px}
  .project-card img{height:145px}
  .client-logos{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 12px}
  .client-logos img{max-width:108px;height:52px}
}

/* V5 — PHONE ONLY (<=600px). Desktop/tablet intentionally unchanged. */
@media(max-width:600px){
  /* Services: narrower cards at the same V4 height; arrows remain visible */
  .services{gap:12px;padding-left:16px;padding-right:16px;scroll-padding-left:16px}
  .service{flex:0 0 68vw}
  .service img{height:160px}
  .service-arrow{display:block;top:48%;width:40px;height:40px;font-size:29px;background:#fffffff2}
  .service-arrow.left{left:8px}.service-arrow.right{right:8px}

  /* Portfolio: two compact project cards per row on phones */
  .project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .project-card{min-width:0}
  .project-card img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
  .project-card .body{padding:10px 10px 11px}
  .project-card h3{font-size:14px;line-height:1.22;margin:0 0 5px}
  .project-card p{font-size:10px;line-height:1.35;margin:2px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .project-card .tags{margin-top:6px;gap:3px}
  .project-card .tag{font-size:8px;padding:3px 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
  .project-card .tag:nth-child(n+2){display:none}

  /* Project Detail: reduce vertical whitespace while preserving readable type */
  .modal{padding:0}
  .detail-hero{display:block;padding:46px 12px 12px}
  .detail-main{height:auto;aspect-ratio:16/9;object-fit:cover;margin-bottom:14px}
  .detail-info .eyebrow{font-size:11px}
  .detail-info h2{font-size:30px;line-height:1.08;margin:5px 0 8px}
  .detail-info>p{font-size:14px;line-height:1.35;margin:0 0 8px}
  .detail-info>.tags{margin:0 0 10px}
  .detail-info>.tags .tag{font-size:11px;padding:4px 7px}
  .facts{margin-top:8px}
  .fact{grid-template-columns:92px minmax(0,1fr);gap:8px;padding:8px 10px;font-size:13px;line-height:1.35}
  .fact b{font-size:13px;line-height:1.25}
  .fact span{line-height:1.35;overflow-wrap:anywhere}
  .thumbs{padding:0 12px 12px;gap:6px}
  .thumbs img{width:92px;height:58px}
  .related{padding:18px 12px 24px}
  .related h2{font-size:25px;margin:0 0 12px}
  .related-grid{gap:8px}
  .related-card img{height:auto;aspect-ratio:4/3}
  .related-card b{font-size:11px;line-height:1.25;margin-top:4px}
}

/* V6: icon services and a two-row (one-row on phones) project carousel. */
.service{min-height:268px;display:flex;flex-direction:column;border-top:4px solid var(--yellow);background:linear-gradient(160deg,#fff 64%,#faf9f3)}
.service-icon{width:68px;height:68px;margin:24px 0 0 23px;display:grid;place-items:center;border-radius:16px;background:#fff4c5;color:var(--charcoal)}
.service-icon svg{width:39px;height:39px}
.service .body{padding:18px 23px 24px}
.service-label{display:block;color:#7b6a38;font-size:12px;font-weight:800;letter-spacing:.015em;line-height:1.35;margin-bottom:7px}
.service h3{font-size:21px;margin-bottom:11px}
.service p{font-size:14px;line-height:1.65}
.project-carousel{overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
.project-carousel::-webkit-scrollbar{display:none}
.project-track{display:flex}
.project-slide{flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always}
.project-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.project-card{min-width:0;height:100%}
.project-card:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}
.project-controls{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:23px}
.project-arrow{width:40px;height:40px;border-radius:50%;border:1px solid #ffffff70;background:#ffffff12;color:white;font-size:28px;line-height:1;cursor:pointer}
.project-arrow:hover:not(:disabled){background:var(--yellow);color:#111;border-color:var(--yellow)}
.project-arrow:disabled{opacity:.35;cursor:default}
.project-dots{display:flex;gap:8px;align-items:center;max-width:min(60vw,520px);overflow-x:auto;scrollbar-width:none}
.project-dots::-webkit-scrollbar{display:none}
.project-dots button{flex:0 0 8px;width:8px;height:8px;padding:0;border:0;border-radius:99px;background:#ffffff65;cursor:pointer}
.project-dots button.active{width:22px;flex-basis:22px;background:var(--yellow)}
@media(max-width:1050px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
  .hero{height:auto;min-height:0}
  .hero-copy{padding:36px 20px 22px}
  .hero h1{margin:9px 0 15px}
  .hero p{margin:0;line-height:1.65}
  .actions{margin-top:20px;gap:10px}
  .service{min-height:254px}
  .service-icon{width:55px;height:55px;margin:19px 0 0 17px;border-radius:13px}
  .service-icon svg{width:33px;height:33px}
  .service .body{padding:13px 17px 18px}
  .service-label{font-size:11px;margin-bottom:5px}
  .service h3{font-size:18px;margin-bottom:8px}
  .service p{font-size:13px;line-height:1.5}
  .project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .project-controls{margin-top:17px}
}

/* V7: show all six services together, following the approved 3 × 2 mockup. */
.services-section{position:relative;padding:54px 24px 58px;background:#fff;overflow:hidden}
.services-art{position:absolute;top:0;right:0;width:49%;height:272px;background:linear-gradient(0deg,#ffffffaa,transparent 42%),url('assets/machines/IMG_7863.JPG') center 48%/cover no-repeat;clip-path:polygon(0 0,100% 0,100% 100%,21% 100%)}
.services-heading{position:relative;z-index:1;max-width:var(--max);min-height:167px;margin:0 auto 21px;padding:5px 0 0}
.services-heading:before{content:"";display:block;width:61px;height:4px;background:var(--yellow);margin:0 0 17px}
.service-title{font-size:clamp(38px,4.3vw,62px);font-weight:900;line-height:1.05;margin:0;color:var(--charcoal);letter-spacing:-.04em}
.service-title em{font-style:normal;color:var(--yellow)}
.service-subtitle{font-size:17px!important;font-weight:700;line-height:1.5;margin:11px 0 0;color:var(--muted)}
.services{position:relative;z-index:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;max-width:var(--max);margin:auto;padding:0;overflow:visible;scroll-snap-type:none}
.service{min-width:0;min-height:255px;display:block;border:1px solid #e1e6e9;border-radius:9px;background:#fff;box-shadow:0 8px 26px #10253a0b;scroll-snap-align:none}
.service-icon{width:76px;height:76px;margin:23px 0 0 26px;border-radius:50%;background:#fff5df;color:var(--ink)}
.service-icon svg{width:44px;height:44px}
.service .body{padding:19px 26px 25px}
.service h3{font-size:21px;line-height:1.3;margin:0 0 12px}
.service p{font-size:17px;line-height:1.5;color:#566577}

/* Larger, evenly spaced partner logos without the empty final row on laptops. */
.clients{padding-top:31px;padding-bottom:27px}
.client-heading h3{margin:5px 0 15px}
.client-logos{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px 16px;max-width:1120px;margin:auto;padding:0}
.client-logos img{width:100%;max-width:225px;height:97px;object-fit:contain}
.many-more{margin-top:12px}

/* Project navigation sits at the left and right of the cards. */
.project-carousel-shell{position:relative;padding:0 52px}
.project-arrow{position:absolute;z-index:2;top:50%;transform:translateY(-50%);width:43px;height:43px}
.project-arrow.left{left:0}
.project-arrow.right{right:0}
.project-dots{justify-content:center;margin:18px auto 0}

@media(max-width:1050px){
  .services-art{width:44%;height:235px}
  .services-heading{min-height:145px}
  .services{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .service{min-height:240px}
  .service p{font-size:16px}
  .client-logos{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px 12px;max-width:850px}
  .client-logos img{max-width:205px;height:92px}
}
@media(max-width:720px){
  .services-section{padding:37px 18px 43px}
  .services-art{display:none}
  .services-heading{min-height:0;margin-bottom:22px;padding:0}
  .services-heading:before{margin-bottom:13px}
  .service-title{font-size:clamp(34px,7vw,46px)}
  .service-subtitle{font-size:15px!important;margin-top:8px}
  .services{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .service{min-height:245px}
  .service-icon{width:59px;height:59px;margin:18px 0 0 19px}
  .service-icon svg{width:35px;height:35px}
  .service .body{padding:14px 19px 22px}
  .service h3{font-size:19px;margin-bottom:9px}
  .service p{font-size:15px;line-height:1.48}
  .clients{padding:27px 18px 24px}
  .client-heading h3{margin-bottom:12px}
  .client-logos{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 12px}
  .client-logos img{max-width:185px;height:82px}
  .many-more{margin-top:10px}
  .project-carousel-shell{padding:0 37px}
  .project-arrow{width:34px;height:34px;font-size:25px}
}
@media(max-width:600px){
  .services{grid-template-columns:1fr;gap:11px}
  .service{min-height:0;display:grid;grid-template-columns:74px minmax(0,1fr);align-items:center;padding:17px 15px}
  .service-icon{width:54px;height:54px;margin:0}
  .service-icon svg{width:33px;height:33px}
  .service .body{padding:0}
  .service h3{font-size:18px;margin-bottom:6px}
  .service p{font-size:15px;line-height:1.45}
  .client-logos{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px 4px}
  .client-logos img{max-width:none;height:75px;transform:scale(1.12)}
  .project-carousel-shell{padding:0 27px}
  .project-arrow.left{left:-6px}
  .project-arrow.right{right:-6px}
}

/* V8: compact service cards with short, scannable work lists. */
#services{scroll-margin-top:94px}
.services-section{padding-top:36px;padding-bottom:39px}
.services-art{height:190px}
.services-heading{min-height:0;margin-bottom:17px;padding:0}
.services-heading:before{margin-bottom:10px}
.service-title{font-size:clamp(34px,3.8vw,54px)}
.service-subtitle{font-size:15px!important;margin-top:7px}
.services{gap:13px}
.service{min-height:0;padding:18px 21px 19px}
.service-head{display:flex;align-items:center;gap:14px;min-height:55px}
.service-icon{flex:0 0 52px;width:52px;height:52px;margin:0}
.service-icon svg{width:31px;height:31px}
.service h3{font-size:19px;line-height:1.26;margin:0}
.service-points{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 10px;margin:13px 0 0;padding:0;list-style:none;color:#566577;font-size:16px;line-height:1.35}
.service-points li{display:flex;align-items:baseline;gap:7px;min-width:0}
.service-points li:before{content:"•";flex:0 0 auto;color:var(--yellow);font-weight:900}
@media(max-width:1050px){
  .service{min-height:0}
  .service-points{font-size:15px}
}
@media(max-width:720px){
  #services{scroll-margin-top:74px}
  .services-section{padding-top:30px;padding-bottom:34px}
  .services-heading{margin-bottom:15px}
  .services{gap:10px}
  .service{min-height:0;padding:16px 17px}
  .service-head{gap:10px}
  .service-icon{flex-basis:46px;width:46px;height:46px}
  .service-icon svg{width:28px;height:28px}
  .service h3{font-size:18px}
  .service-points{font-size:14px;gap:5px 7px;margin-top:11px}
}
@media(max-width:600px){
  .service{display:block;padding:15px 16px}
  .service-head{min-height:45px}
  .service-points{grid-template-columns:repeat(2,minmax(0,1fr));font-size:15px;gap:4px 9px;margin-top:9px}
}

/* V9: three compact service columns on phones; tap to reveal the work list. */
.service-subtitle-mobile,.service-short-title,.service-expand-icon,.service-toggle{display:none}
@media(max-width:600px){
  .services-section{padding:24px 16px 25px}
  .services-heading{margin-bottom:13px}
  .services-heading:before{width:45px;height:3px;margin-bottom:9px}
  .service-title{font-size:34px}
  .service-subtitle{margin-top:5px;font-size:13px!important}
  .service-subtitle-desktop,.service-full-title{display:none}
  .service-subtitle-mobile,.service-short-title{display:inline}
  .services{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .service{position:relative;min-width:0;min-height:98px;padding:9px 5px 16px;text-align:center}
  .service-head{min-height:0;display:flex;flex-direction:column;gap:5px;align-items:center}
  .service-icon{flex:0 0 33px;width:33px;height:33px}
  .service-icon svg{width:21px;height:21px}
  .service h3{font-size:13px;line-height:1.17;overflow-wrap:anywhere}
  .service-points{display:none}
  .service-expand-icon{display:block;position:absolute;right:8px;bottom:2px;font-size:16px;line-height:1;color:#8b96a0}
  .service-toggle{display:block;position:absolute;z-index:2;inset:0;width:100%;height:100%;border:0;background:transparent;cursor:pointer}
  .service-toggle:focus-visible{outline:3px solid var(--yellow);outline-offset:2px;border-radius:9px}
  .service.is-open{grid-column:1/-1;min-height:0;padding:14px 16px 17px;text-align:left;border-color:var(--yellow)}
  .service.is-open .service-head{flex-direction:row;gap:12px;justify-content:flex-start}
  .service.is-open .service-icon{flex-basis:40px;width:40px;height:40px}
  .service.is-open .service-icon svg{width:25px;height:25px}
  .service.is-open h3{font-size:17px}
  .service.is-open .service-full-title{display:inline}
  .service.is-open .service-short-title{display:none}
  .service.is-open .service-points{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));font-size:14px;gap:5px 8px;margin-top:11px}
  .service.is-open .service-expand-icon{font-size:19px;bottom:5px}
}

/* V10: compact photographic service grid, using the site's original type system. */
.services-section{padding:31px 24px 30px;background:#fff;overflow:visible}
.services-section .services-heading{max-width:var(--max);min-height:0;margin:0 auto 18px;padding:0}
.services-section .services-heading:before{display:none}
.services-section .service-title{font-size:clamp(34px,3.8vw,52px);line-height:1.06;letter-spacing:-.04em;color:var(--charcoal)!important}
.services-section .service-subtitle{margin:7px 0 0;font-size:15px!important;line-height:1.4;color:var(--muted)}
.services-section .service-subtitle em{font-style:normal;color:#d29b00}
.services-section .services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:var(--max);margin:auto;padding:0;overflow:visible;scroll-snap-type:none}
.services-section .service{position:relative;display:block;flex:none;min-width:0;min-height:0;height:164px;padding:0;overflow:hidden;text-align:left;border:1px solid #e1e6e9;border-radius:7px;background:#edf1f2;box-shadow:0 5px 16px #10253a0b}
.services-section .service img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;opacity:.92;filter:saturate(.85) contrast(1.04)}
.services-section .service:after{content:"";position:absolute;z-index:1;inset:0;background:linear-gradient(180deg,transparent 10%,#ffffff08 30%,#ffffffb8 65%,#fffffff2 100%)}
.services-section .service-content{position:absolute;z-index:2;left:15px;right:12px;bottom:10px}
.services-section .service h3{margin:0 0 5px;font-size:18px;line-height:1.25;font-weight:800;color:var(--ink);overflow-wrap:normal}
.services-section .service p{margin:0;font-size:13px;line-height:1.33;font-weight:600;color:#52657a;overflow-wrap:normal}
@media(max-width:720px){
  .services-section{padding:25px 17px 24px}
  .services-section .services-heading{margin-bottom:14px}
  .services-section .service-title{font-size:34px}
  .services-section .service-subtitle{font-size:13px!important;margin-top:5px}
  .services-section .services{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .services-section .service{height:136px;padding:0;text-align:left}
  .services-section .service-content{left:10px;right:8px;bottom:8px}
  .services-section .service h3{font-size:14px;line-height:1.18;margin:0 0 5px;overflow-wrap:normal}
  .services-section .service p{font-size:11px;line-height:1.22}
}
@media(max-width:370px){
  .services-section{padding-left:13px;padding-right:13px}
  .services-section .services{gap:7px}
  .services-section .service{height:142px}
  .services-section .service h3{font-size:13px}
  .services-section .service p{font-size:10.5px}
}
.footer-contact .contact-email { display: block; }

@media (max-width: 600px) {
  .footer-contact .phone-divider { display: none; }
  .footer-contact .second-phone { display: block; }

  footer#contact {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 48px 24px;
    align-items: start;
  }

  footer#contact .footer-contact {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}
