/* Our Technologies — Figma 229:16982 (1440 × 4591) */

/* ---- banner hero: the Figma banner has its text baked into the image.
   ≥900px: show the image as designed, real text kept for screen readers/SEO.
   <900px: image becomes a cropped background (right side, no baked text) and the real text is shown. ---- */
.banner-hero { position: relative; background: #120a1e; color: #fff; isolation: isolate; overflow: hidden; }
.banner-hero__img { width: 100%; height: auto; aspect-ratio: 1440 / 638; object-fit: cover; }
.banner-hero__text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.banner-hero__eyebrow { font: 500 15px/1.3 var(--font-th); text-transform: uppercase; margin: 0 0 8px; }
.banner-hero__title { font: 700 clamp(30px, 8vw, 44px)/1.05 var(--font-en); text-transform: uppercase; }
.banner-hero__title > span { display: block; }
.banner-hero__title .accent { color: #c8232c; }
.banner-hero__lead { font: 300 16px/1.5 var(--font-th); margin: 14px 0 0; max-width: 34em; }
@media (max-width: 899px) {
  .banner-hero { min-height: 100vw; display: flex; align-items: flex-end; }
  .banner-hero__img { position: absolute; inset: 0; z-index: -2; height: 100%; aspect-ratio: auto; object-position: 100% 50%; }
  .banner-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,4,20,.05) 0%, rgba(10,4,20,.55) 45%, rgba(10,4,20,.92) 100%); }
  .banner-hero__text { position: relative !important; width: 100%; height: auto; overflow: visible; clip: auto; white-space: normal; padding-top: 56px; padding-bottom: 36px; }
}

/* ---- shared bits ---- */
.tech-kicker { font: 700 15px/1.4 var(--font-th); letter-spacing: .32em; margin: 0 0 6px; }
.tech-kicker--purple { color: var(--purple); }
.tech-kicker--red { color: var(--red); }
.tech-purple { color: var(--purple); }
.tech-rule { width: 78px; height: 3px; background: var(--red-dark); border: 0; margin: 18px 0 20px; }
.tech-rule--light { background: var(--bg); }
.accent { color: var(--red); }

/* ---- In the laboratory ---- */
.tech-lab { background: #000; color: #fff; padding: 58px 0 63px; }
.tech-lab__grid { display: grid; grid-template-columns: 491fr 733fr; gap: 36px; align-items: start; }
.tech-lab__title { font: 700 clamp(34px, 3.5vw, 50px)/1.3 var(--font-en); margin-bottom: 10px; }
.tech-lab__text { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.42; }
.tech-lab__media { aspect-ratio: 733 / 412; background: linear-gradient(90deg, #00289a 0%, #2f8ad1 55%, #5ce6fd 100%); margin-top: 6px; }

/* ---- Cold plasma technology ---- */
.tech-intro { padding: 62px 0 58px; }
.tech-intro__grid { display: grid; grid-template-columns: 454fr 760fr; gap: 45px; align-items: start; }
.tech-intro__img { width: 100%; aspect-ratio: 454 / 623; object-fit: cover; object-position: 47% 50%; }
.tech-intro__title { font: 600 clamp(36px, 4.2vw, 60px)/.98 var(--font-en); margin: -6px 0 22px; }
.tech-intro__title .tech-purple { display: block; }
.tech-intro__text p { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; margin-bottom: 10px; }

/* ---- Our key innovation ---- */
.tech-key { background: #000; color: #fff; padding: 24px 0 60px; }
.tech-key__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 40px; flex-wrap: wrap; margin-bottom: 18px; }
.tech-key__title { font: 700 clamp(34px, 3.5vw, 50px)/1.25 var(--font-en); }
.tech-key__desc { max-width: 518px; text-align: right; color: var(--bg); font-size: clamp(16px, 1.4vw, 20px); line-height: 1.5; margin: 0 0 6px; }
.key-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 13px; }
.key-card { background: #000; border: 1px solid #636363; display: flex; flex-direction: column; min-height: 351px; }
.key-card__img { width: 100%; aspect-ratio: 241 / 145; object-fit: cover; }
.key-card__img--dbd { object-position: 50% 0; }
.key-card__body { padding: 6px 9px 10px; }
.key-card h3 { font: 700 20px/1.3 var(--font-en); margin-bottom: 6px; }
.key-card p { font-size: 15px; line-height: 1.53; color: var(--bg); }

/* ---- What makes our technology difference ---- */
.tech-diff { padding: 50px 0 54px; }
.tech-diff__grid { display: grid; grid-template-columns: 1fr 596px; gap: 40px 60px; align-items: start; }
.tech-diff__title { font: 600 clamp(32px, 3.5vw, 50px)/1.3 var(--font-en); }
.tech-diff__text { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; max-width: 480px; }
.diff-list { list-style: none; margin: 0; padding: 0; }
.diff-list li { display: grid; grid-template-columns: 52px 159px 1fr; align-items: center; gap: 16px; padding: 13px 0 12px 15px; border-bottom: 1px solid var(--line); }
.diff-list img { width: 52px; height: 52px; object-fit: contain; }
.diff-list h3 { font: 700 20px/1.3 var(--font-en); text-align: center; margin-left: -20px; }
.diff-list p { font-size: clamp(16px, 1.4vw, 20px); line-height: 1.5; }

/* ---- Technology for multiple industries ---- */
.tech-ind { color: #fff; background: linear-gradient(90deg, #5e0606 0%, #121212 41.346%, #1c0a41 97.596%); padding: 46px 0 54px; }
.tech-ind__grid { display: grid; grid-template-columns: 1fr 698px; gap: 40px; }
.tech-ind__intro { display: flex; flex-direction: column; align-items: flex-start; }
.tech-ind__title { font: 600 clamp(32px, 3.5vw, 50px)/1.3 var(--font-en); }
.tech-ind__text { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; max-width: 414px; color: var(--bg); }
.tech-ind__btn { margin-top: auto; min-width: 240px; }
.ind-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 16px; }
.ind-card { position: relative; grid-column: span 2; aspect-ratio: 341 / 188; overflow: hidden; border: 1px solid #636363; }
.ind-card:last-child { grid-column: 2 / span 2; }
.ind-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ind-card .ind-card__img--zoom { transform: scale(1.3); }
.ind-card:hover img { transform: scale(1.05); }
.ind-card:hover .ind-card__img--zoom { transform: scale(1.35); }
.ind-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, #000 100%); }
.ind-card div { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 9px; color: var(--bg); }
.ind-card h3 { font: 400 20px/1.25 var(--font-th); }
.ind-card p { font-size: 15px; line-height: 1.4; }

/* ---- Turn innovation to your advantage ---- */
.tech-adv { padding: 35px 0 33px; }
.tech-adv__grid { display: grid; grid-template-columns: 632fr 587fr; gap: 45px; align-items: center; }
.tech-adv__img { width: 100%; aspect-ratio: 632 / 426; object-fit: cover; object-position: 100% 50%; }
.tech-adv__eyebrow { font: 400 20px/1.3 var(--font-en); margin: 0; }
.tech-adv .tech-rule { margin: 8px 0 14px; }
.tech-adv__title { font: 600 clamp(32px, 3.5vw, 50px)/1.3 var(--font-en); margin-bottom: 18px; }
.tech-adv__text { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; margin-bottom: 40px; }
.tech-adv .btn { min-width: 230px; }

@media (max-width: 1100px) {
  .key-grid { grid-template-columns: repeat(3, 1fr); }
  .tech-diff__grid, .tech-ind__grid { grid-template-columns: 1fr; }
  .tech-ind__btn { margin-top: 24px; }
}
@media (max-width: 900px) {
  .tech-lab__grid, .tech-intro__grid, .tech-adv__grid { grid-template-columns: 1fr; }
  .tech-intro__img { aspect-ratio: 4 / 3; max-height: 420px; }
  .tech-key__desc { text-align: left; }
  .key-grid { grid-template-columns: repeat(2, 1fr); }
  .key-card { min-height: 0; }
}
@media (max-width: 600px) {
  .tech-lab, .tech-intro, .tech-key, .tech-diff, .tech-ind, .tech-adv { padding-top: 40px; padding-bottom: 44px; }
  .key-grid { grid-template-columns: 1fr; }
  .tech-kicker { letter-spacing: .18em; }
  .diff-list li { grid-template-columns: 44px 1fr; gap: 4px 14px; padding-left: 0; }
  .diff-list img { width: 44px; height: 44px; grid-row: span 2; }
  .diff-list h3 { text-align: left; margin-left: 0; }
  .ind-cards { grid-template-columns: 1fr; }
  .ind-card, .ind-card:last-child { grid-column: auto; }
  .tech-ind__btn, .tech-adv .btn { width: 100%; }
}

/* ---- English page (html[lang="en"]): the banner's baked lead text is Thai, so the real text is shown at every
   width. <900px already uses the phone treatment above; >=900px the image stays full-bleed and a solid left-hand
   panel (fading out to the right) hides the baked text behind the real headline. Thai pages are unaffected. ---- */
@media (min-width: 900px) {
  html[lang="en"] .banner-hero { display: flex; align-items: center; min-height: clamp(440px, 44.3vw, 720px); }
  html[lang="en"] .banner-hero__img { position: absolute; inset: 0; z-index: -2; height: 100%; aspect-ratio: auto; object-position: 100% 50%; }
  html[lang="en"] .banner-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(12,6,24) 0%, rgb(12,6,24) 57%, rgba(12,6,24,.85) 64%, rgba(12,6,24,0) 80%); }
  html[lang="en"] .banner-hero__text { position: relative !important; width: 100%; height: auto; overflow: visible; clip: auto; white-space: normal; padding-top: 72px; padding-bottom: 72px; }
  html[lang="en"] .banner-hero__text > * { max-width: min(600px, 52vw); }
  html[lang="en"] .banner-hero__text > .banner-hero__title { max-width: 780px; }
  html[lang="en"] .banner-hero__eyebrow { font-size: 16px; margin-bottom: 14px; }
  html[lang="en"] .banner-hero__title { font-size: clamp(38px, 4vw, 58px); }
  html[lang="en"] .banner-hero__lead { font-size: clamp(17px, 1.4vw, 20px); margin-top: 20px; }
}
