:root {
  --accent: #f26a2b;
  --accent-deep: #b9481a;
  --accent-glow: #ff9d66;
  --ink: #12211b;
  --text: #2d3933;
  --muted: #5f6a64;
  --forest: #14261f;
  --night: #0c1713;
  --paper: #f4f2ec;
  --line: #12211b1f;
  --line-light: #ffffff26;
  --radius: 24px;
  --radius-sm: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --max: 1320px;
  --gutter: clamp(20px, 5vw, 72px);
  --header: 92px;
  --header-solid: 76px;
  --font: 'Manrope', 'Noto Sans Thai', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-solid); }
body { margin: 0; color: var(--text); background: var(--paper); font: 16px/1.8 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.modal-open { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
em { font-style: normal; }
button:focus-visible, a:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: #ffd6bf; color: var(--ink); }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
p { text-wrap: pretty; }
h2 { color: var(--ink); font-size: clamp(34px, 3.9vw, 56px); line-height: 1.26; letter-spacing: -.02em; }
.container { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section-space { padding-block: clamp(88px, 10vw, 144px); }
.icon { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; background: white; color: var(--ink); padding: 12px 20px; border-radius: 12px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.fx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.fx-off .fx-canvas { display: none; }
.section-kicker { margin-bottom: 18px; color: var(--accent-deep); font-size: 15px; font-weight: 600; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 600; white-space: nowrap; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.button .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.button-accent { background: var(--accent); color: var(--ink); }
.button-accent:hover { background: var(--accent-glow); }
.button-ghost { border-color: #ffffff4d; color: white; }
.button-ghost:hover { background: #ffffff14; border-color: #ffffffa6; }
.button-icon { padding: 6px 6px 6px 26px; gap: 20px; min-height: 58px; }
.button-dot { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: white; transition: transform .4s var(--ease); }
.button-icon:hover .button-dot { transform: translateY(3px); }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; color: var(--ink); font-size: 15px; font-weight: 600; transition: color .3s; }
.text-link .icon { width: 18px; height: 18px; }
.text-link:hover { color: var(--accent-deep); }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 0; background: none; border-radius: 50%; transition: background .3s; }

/* Header: transparent over the light hero, solid white once the page scrolls. */
.site-header { position: fixed; inset: 0 0 auto; z-index: 40; color: white; transition: background .45s, color .45s, box-shadow .45s; }
.site-header.is-solid, .site-header.menu-open { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 10px 30px #0c17130d; }
.nav-inner { display: flex; align-items: center; gap: 32px; height: var(--header); transition: height .45s var(--ease); }
.is-solid .nav-inner { height: var(--header-solid); }
.logo { position: relative; flex-shrink: 0; width: 92px; height: 64px; }
.logo img { position: absolute; top: 50%; left: 0; width: 92px; height: 92px; object-fit: contain; transform: translateY(-50%); transition: opacity .45s; }
.logo-dark, .is-solid .logo-light, .menu-open .logo-light { opacity: 0; }
.is-solid .logo-dark, .menu-open .logo-dark { opacity: 1; }
/* Menu items are soft pills: roomy spacing, and the current page gets a quiet tinted background instead of an underline. */
.main-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-link { display: flex; align-items: center; min-height: 42px; padding: 0 17px; border-radius: 999px; font-size: 15px; font-weight: 500; opacity: .8; white-space: nowrap; transition: opacity .3s, background .3s, color .3s; }
.nav-link:hover { opacity: 1; background: #ffffff14; }
.nav-link.active { opacity: 1; background: #ffffff24; }
.is-solid .nav-link:hover, .menu-open .nav-link:hover { background: #12211b0a; }
.is-solid .nav-link.active, .menu-open .nav-link.active { background: #12211b0f; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.search-toggle { background: #ffffff1f; }
.search-toggle:hover { background: #ffffff33; }
.is-solid .search-toggle, .menu-open .search-toggle { background: #12211b0d; }
.is-solid .search-toggle:hover, .menu-open .search-toggle:hover { background: #12211b1a; }
.nav-call { min-height: 46px; padding: 0 20px; font-size: 14px; font-variant-numeric: tabular-nums; }
.menu-toggle { display: none; }

/* Hero: Ken Burns slideshow — each photo slowly zooms and drifts, then cross-fades into the next (app.js cycles them). */
.hero { position: relative; isolation: isolate; display: flex; min-height: max(680px, 100svh); overflow: hidden; color: white; background: var(--night); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transform: var(--kb-from); transition: opacity 1.8s ease-in-out; will-change: transform, opacity; }
/* The first photo shows straight away, before app.js takes over the cycle. */
html:not(.slides-ready) .hero-slide:first-child { opacity: 1; transition: none; }
.hero-slide.is-active, .hero-slide.is-leaving { animation: kenburns 9s linear forwards; }
.hero-slide.is-active { opacity: 1; }
.hero-slide.is-solo { animation: kenburns 18s ease-in-out infinite alternate; }
/* Ken Burns moves, picked per slide with data-kb. */
.hero-slide, .hero-slide[data-kb="in"] { --kb-from: scale(1.04); --kb-to: scale(1.16) translate(-1.5%, 1%); }
.hero-slide[data-kb="out"] { --kb-from: scale(1.16) translate(1.5%, -1%); --kb-to: scale(1.04); }
.hero-slide[data-kb="left"] { --kb-from: scale(1.12) translate(3%, 0); --kb-to: scale(1.12) translate(-3%, 0); }
.hero-slide[data-kb="right"] { --kb-from: scale(1.12) translate(-3%, 0); --kb-to: scale(1.12) translate(3%, 0); }
/* Keep the headline side calm and readable. */
.hero:before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(52% 62% at 20% 54%, #0b1611c2 0%, #0b161100 74%), linear-gradient(90deg, #0b1611eb 0%, #0b1611b3 36%, #0b161152 66%, #0b161138 100%), linear-gradient(180deg, #0b161199 0%, #0b161100 24%), linear-gradient(0deg, #0c1713cc 0%, #0c171300 30%); }
.hero-inner { display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--header) + 48px); }
.hero-copy { max-width: 860px; padding-bottom: clamp(44px, 8vh, 96px); }
.hero-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 26px; color: #ffffffd9; font-size: 16px; font-weight: 500; }
.hero-kicker:before { content: ''; width: 36px; height: 2px; border-radius: 2px; background: var(--accent); }
.hero-kicker span { color: var(--accent-glow); }
.hero h1 { color: #fffdf8; font-size: clamp(44px, 5.4vw, 88px); font-weight: 600; line-height: 1.16; letter-spacing: -.025em; text-shadow: 0 2px 28px #0b1611a6; }
.hero h1 .h1-line { display: block; white-space: nowrap; }
/* Headlines follow the slides: all variants share one grid cell; the current one rises in, the old one lifts away. */
.hero-title { display: grid; }
.hero-headline { grid-area: 1 / 1; display: block; opacity: 0; transition: opacity .5s ease, transform .7s var(--ease), filter .6s ease; pointer-events: none; }
.hero-headline.is-current { opacity: 1; pointer-events: auto; transition: none; }
.hero-headline.is-leaving { opacity: 0; transform: translateY(-24px); filter: blur(8px); }
.hero h1 .h1-line > span { display: block; }
/* Every time a headline becomes current (page load and each slide change) its lines rise in again, one after the other. */
.hero-headline.is-current .h1-line > span { animation: rise-blur 1.2s var(--ease) both; }
.hero-headline.is-current .h1-line:nth-child(1) > span { animation-delay: .25s; }
.hero-headline.is-current .h1-line:nth-child(2) > span { animation-delay: .4s; }
.hero h1 em { color: var(--accent-glow); text-shadow: 0 0 46px #f26a2b66, 0 2px 28px #0b1611a6; }
/* Product titles wait for fx.js liquidtext, then swap to the real heading on its final (identical) frame. */
.liquid-wait:not(.liquid-done) { opacity: 0; }
/* Text that waits for its particles (fx.js dropword), then sharpens into place. */
.drop-wait { opacity: 0; filter: blur(10px); transition: opacity 1.1s ease, filter 1.3s var(--ease); }
.drop-wait.drop-formed { opacity: 1; filter: blur(0); }
.hero-drops { z-index: -1; }
.hero-description { max-width: 680px; margin-top: 28px; color: #ffffffe0; font-size: 18px; line-height: 1.85; text-shadow: 0 1px 16px #0b161199; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.hero-rise { animation: rise 1.1s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms + 200ms); }
.hero-categories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-light); }
.hero-categories a { position: relative; display: flex; align-items: center; gap: 16px; padding: 26px 28px 32px; border-right: 1px solid var(--line-light); font-size: 17px; }
.hero-categories a:first-child { padding-left: 0; }
.hero-categories a:last-child { border-right: 0; }
.hero-categories a:before { content: ''; position: absolute; top: -1px; left: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.hero-categories a:hover:before { transform: scaleX(1); }
.hero-category-number { color: #ffffff80; font-size: 13px; font-weight: 600; }
.hero-category-name { display: flex; flex-direction: column; line-height: 1.45; }
.hero-category-name small { color: #ffffff80; font-size: 12px; letter-spacing: .04em; }
.hero-categories .icon { margin-left: auto; color: var(--accent-glow); transition: transform .4s var(--ease); }
.hero-categories a:hover .icon { transform: translateY(4px); }

/* Since 2003: one calm section — the year is drawn once in droplets, the facts sit beside it as plain text. */
.since { position: relative; padding-block: clamp(88px, 10vw, 140px); background: radial-gradient(50% 70% at 25% 40%, #18302a 0%, transparent 100%), var(--night); color: white; }
.since-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.since-label { min-height: 24px; color: var(--accent-glow); font-size: 14px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; transition: opacity .22s, transform .22s; }
.since-label.is-thai { font-size: 16px; letter-spacing: 0; }
.since-label.is-changing { opacity: 0; transform: translateY(6px); }
.since-figure { position: relative; aspect-ratio: 2.35; margin-top: 8px; }
.since-year { display: flex; align-items: center; height: 100%; color: white; font-size: clamp(96px, 15vw, 220px); font-weight: 800; line-height: 1; letter-spacing: -.05em; }
.since-figure.fx-on .since-year { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.since-figure .fx-canvas { pointer-events: auto; }
.since-copy { display: grid; }
/* The four statements share one spot and swap in step with the droplet number. */
.since-slide { grid-area: 1 / 1; opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .8s var(--ease); pointer-events: none; }
.since-slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.since-slide h2, .since-slide h3 { color: white; font-size: clamp(32px, 3.4vw, 48px); font-weight: 500; line-height: 1.26; letter-spacing: -.02em; }
.since-slide p { margin-top: 22px; color: #ffffffad; font-size: 16px; line-height: 1.9; }
html:not(.js) .since-slide { grid-area: auto; opacity: 1; transform: none; margin-bottom: 32px; }
.since-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line-light); }
.since-stats div { position: relative; display: flex; flex-direction: column; padding: 32px 32px 0; border-left: 1px solid var(--line-light); transition: opacity .5s; }
.since-stats div:before { content: ''; position: absolute; top: -1px; left: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.since-stats div.is-active:before { transform: scaleX(1); }
.since-stats div.is-active dt { color: white; }
.since-stats div:first-child { padding-left: 0; border-left: 0; }
.since-stats .count { font-variant-numeric: tabular-nums; }
.since-stats dd { order: -1; display: flex; align-items: baseline; gap: 6px; color: white; font-size: clamp(48px, 5vw, 76px); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.since-stats sup { position: relative; top: -.1em; align-self: flex-start; color: var(--accent-glow); font-size: .45em; letter-spacing: 0; }
.since-stats small { color: #ffffffb3; font-size: 18px; font-weight: 500; letter-spacing: 0; }
.since-stats dt { margin-top: 16px; color: #ffffffad; font-size: 15px; }

/* Products: three panels; each photo carries its own air effect. */
.products { position: relative; background: var(--paper); }
.products-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; padding-block: clamp(96px, 10vw, 140px) 64px; }
.products-head-side { max-width: 420px; }
.products-head-side p { margin-bottom: 18px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.line-anchor { height: 0; }
.line { position: relative; display: flex; align-items: center; background: var(--tint); }
/* White, grey, white — product cards take the opposite tone so they stay visible. */
.line--dry, .line--heat { --tint: #ffffff; --tint-deep: #eef0ee; --card: #f3f4f2; --card-hover: #e9ebe8; }
.line--humid { --tint: #f1f2f0; --tint-deep: #e2e5e1; --card: #ffffff; --card-hover: #fbfbfa; }
/* Title effects render behind the panel content; product photos are redrawn by fx.js reveal once it paints. */
.line-fx { z-index: 0; }
.line-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 104px); align-items: center; padding-block: clamp(80px, 9vw, 128px); }
.line--flip .line-visual { order: 2; }
.line-visual { position: relative; }
.line-media { position: relative; aspect-ratio: var(--ar); max-height: 640px; margin-inline: auto; overflow: hidden; border-radius: 30px; background: var(--tint-deep); }
.line-media img { width: 100%; height: 100%; object-fit: cover; }
/* On desktop, product photos match the height of their text column for a balanced pair. */
@media (min-width: 1025px) {
  .line-inner { align-items: stretch; }
  .line-visual { display: flex; min-height: 0; }
  .line-media { flex: 1 1 0; width: 100%; height: 100%; max-height: none; aspect-ratio: auto; margin: 0; }
  .line-media > img { position: absolute; inset: 0; }
}
.line-media figcaption, .line-inset figcaption { position: absolute; left: 16px; bottom: 16px; z-index: 2; padding: 6px 13px; border-radius: 999px; background: #0c1713a6; color: white; font-size: 12px; font-weight: 600; letter-spacing: .06em; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.line-inset { position: absolute; right: -6%; bottom: -8%; width: 34%; aspect-ratio: var(--ar); overflow: hidden; border: 6px solid var(--tint); border-radius: 24px; background: var(--tint-deep); }
.line-inset img { width: 100%; height: 100%; object-fit: cover; }
.line-media.fx-painted > img, .line-inset.fx-painted > img { opacity: 0; }
.line-inset figcaption { left: 10px; bottom: 10px; padding: 4px 10px; font-size: 11px; }
.line-index { color: var(--muted); font-size: 14px; letter-spacing: .1em; }
.line-index b { color: var(--accent-deep); font-weight: 700; }
.line-title { margin-top: 14px; color: var(--ink); font-size: clamp(40px, 4.6vw, 66px); line-height: 1.18; letter-spacing: -.025em; }
.line-en { margin-top: 6px; color: var(--muted); font-size: 18px; letter-spacing: .02em; }
.line-desc { max-width: 520px; margin-top: 22px; color: var(--text); font-size: 16px; line-height: 1.9; }
.line-badges { display: flex; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.line-badges li { padding: 5px 14px; border-radius: 999px; background: var(--card); color: var(--ink); font-size: 13px; font-weight: 600; }
.line-products { display: grid; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.line-product { display: flex; align-items: center; gap: 16px; width: 100%; padding: 8px 18px 8px 8px; border: 0; border-radius: 18px; background: var(--card); text-align: left; transition: background .3s, transform .4s var(--ease); }
.line-product:hover { background: var(--card-hover); transform: translateX(6px); }
.lp-thumb { flex: none; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; overflow: hidden; border-radius: 12px; background: white; }
.lp-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.lp-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.45; }
.lp-text small { color: var(--accent-deep); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.lp-text strong { color: var(--ink); font-size: 16px; font-weight: 500; }
.lp-text em { color: var(--muted); font-size: 13px; }
.line-product > .icon { margin-left: auto; color: var(--accent-deep); transition: transform .4s var(--ease); }
.line-product:hover > .icon { transform: translate(3px, -3px); }

/* Applications: one large stage; switching areas ripples like water. */
.applications { position: relative; z-index: 1; background: var(--forest); color: #ffffffb3; }
.applications .section-kicker { color: var(--accent-glow); }
.applications h2 { color: white; }
.apps-head { margin-bottom: 56px; }
.apps-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.apps-list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-light); }
.apps-tab { position: relative; display: flex; align-items: center; gap: 18px; width: 100%; padding: 20px 4px; border: 0; border-bottom: 1px solid var(--line-light); background: none; color: #ffffffa6; font-size: 18px; text-align: left; transition: color .3s, padding .4s var(--ease); }
.apps-tab:hover { color: white; }
.apps-tab.is-active { color: white; padding-left: 14px; }
.apps-num { color: #ffffff66; font-size: 13px; font-weight: 600; transition: color .3s; }
.apps-tab.is-active .apps-num { color: var(--accent-glow); }
.apps-bar { position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--accent-glow); transform: scaleX(0); transform-origin: left; }
.apps-tab.is-active .apps-bar { transform: scaleX(1); transition: transform .5s var(--ease); }
.apps-list.is-auto .apps-tab.is-active .apps-bar { animation: fill 6.5s linear both; }
.apps-stage { position: relative; aspect-ratio: 1200 / 560; overflow: hidden; border-radius: var(--radius); background: #0c1713; cursor: pointer; }
.apps-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; }
.apps-stage img.is-active { opacity: 1; }
.apps-stage.fx-painted img { opacity: 0 !important; }
.apps-hint { position: absolute; right: 16px; bottom: 14px; padding: 5px 12px; border-radius: 999px; background: #0c171399; color: #ffffffd9; font-size: 12px; opacity: 0; transition: opacity .4s; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.apps-stage.fx-painted:hover .apps-hint { opacity: 0; }
.apps-stage.fx-painted .apps-hint { opacity: 1; }
.apps-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 40px; margin-top: 28px; }
.apps-places { grid-column: 1 / -1; color: var(--accent-glow); font-size: 14px; }
.apps-detail h3 { margin-bottom: 10px; color: white; font-size: 17px; font-weight: 600; }
.apps-why p, .apps-desc { color: #ffffffc2; font-size: 15px; line-height: 1.85; }
/* What goes wrong without humidity control. */
.apps-problems { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.apps-problems li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #ffffff12; color: #ffffffe0; font-size: 13px; }
.apps-problems .icon { width: 15px; height: 15px; color: var(--accent-glow); }
.apps-fix .button-light { margin-top: 18px; }
/* Customer logos for the selected industry, on white tiles so any logo colour reads. */
.apps-clients { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line-light); }
.apps-clients ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.apps-clients li { display: flex; align-items: center; justify-content: center; height: 64px; padding: 10px 14px; border-radius: 14px; background: #fff; }
.apps-clients img { max-width: 100%; max-height: 100%; object-fit: contain; }
.apps-clients li.is-empty { border: 1px dashed #ffffff40; background: transparent; color: #ffffff59; font-size: 12px; }
.button-light { gap: 14px; min-height: 64px; padding: 6px 20px 6px 6px; background: #ffffff12; color: white; border-color: #ffffff1f; text-align: left; white-space: normal; }
.button-light:hover { background: #ffffff1f; }
.button-light .lp-thumb { width: 52px; height: 52px; border-radius: 999px; }
.button-light span:not(.lp-thumb) { display: flex; flex-direction: column; font-size: 15px; line-height: 1.4; }
.button-light small { color: #ffffff99; font-size: 12px; font-weight: 500; }

/* Services */
.services { background: var(--paper); }
.services-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.services-media { position: relative; }
.services-media img { width: 100%; aspect-ratio: 740 / 700; object-fit: cover; border-radius: 30px; }
.hotline { position: absolute; right: -24px; bottom: 32px; display: flex; align-items: center; gap: 18px; padding: 16px 26px 16px 16px; border-radius: 999px; background: var(--ink); color: white; box-shadow: 0 24px 50px #0c171340; transition: transform .4s var(--ease); }
.hotline:hover { transform: translateY(-4px); }
.hotline-dial { position: relative; display: grid; place-items: center; width: 84px; height: 84px; }
.hotline-dial svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.dial-track { fill: none; stroke: #ffffff1f; stroke-width: 4; }
.dial-sweep { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; animation: sweep 6s var(--ease) infinite; }
.hotline-dial b { position: relative; margin-top: -10px; font-size: 30px; font-weight: 800; line-height: 1; }
.hotline-dial small { position: absolute; bottom: 20px; color: #ffffffb3; font-size: 10px; }
.hotline-copy { display: flex; flex-direction: column; line-height: 1.4; }
.hotline-copy small { color: #ffffffb3; font-size: 13px; }
.hotline-copy strong { font-size: 24px; font-weight: 600; letter-spacing: .01em; }
.services-copy h2 { margin-bottom: 20px; }
.services-lead { max-width: 520px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 40px 0 0; padding: 0; list-style: none; }
.service-list li { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 22px; background: white; transition: transform .4s var(--ease); }
.service-list li:hover { transform: translateY(-4px); }
.service-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff1e8; color: var(--accent-deep); }
.service-icon .icon { width: 24px; height: 24px; }
.service-list h3 { color: var(--ink); font-size: 18px; line-height: 1.45; }
.service-list p { margin-top: 4px; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* Events: real photos from trade shows and seminars. */
.events { background: white; }
.events-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 56px; }
.events-lead { max-width: 440px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.event-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.event:nth-child(even) { margin-top: 48px; }
.event figure { aspect-ratio: 290 / 400; overflow: hidden; border-radius: 22px; background: var(--paper); }
.event img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.9); }
.event:hover img { transform: scale(1.06); filter: saturate(1.05); }
.event div { display: flex; flex-direction: column; margin-top: 16px; line-height: 1.5; }
.event strong { color: var(--ink); font-size: 17px; font-weight: 500; }
.event span { color: var(--muted); font-size: 14px; }

/* Contact and footer: one deep closing block with air currents behind it. */
.site-footer { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: #ffffffa6; }
.site-footer > .fx-canvas { z-index: -1; opacity: .9; }
.contact { padding-block: clamp(56px, 6vw, 88px) clamp(44px, 4.5vw, 64px); border-bottom: 1px solid var(--line-light); }
.contact .section-kicker { color: var(--accent-glow); }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.contact h2 { color: white; font-size: clamp(32px, 3.6vw, 54px); line-height: 1.22; }
.contact h2 em { color: var(--accent-glow); }
.contact-lead { max-width: 520px; margin-top: 16px; color: #ffffffad; font-size: 17px; }
.contact-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.contact-phone { min-height: 58px; padding: 0 28px; font-size: 21px; }
.contact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; padding: 24px 28px; border: 1px solid var(--line-light); border-radius: 26px; background: #0c171399; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.contact-list dt { color: #ffffff80; font-size: 13px; }
.contact-list dd { margin-top: 2px; color: white; font-size: 16px; line-height: 1.6; }
.contact-list a { display: inline-flex; align-items: center; gap: 6px; transition: color .3s; }
.contact-list a:hover { color: var(--accent-glow); }
.contact-list .icon { width: 14px; height: 14px; }
.contact-address { grid-column: 1 / -1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 36px 0 28px; }
.footer-brand img { width: 84px; height: 84px; margin: -14px 0 2px -4px; object-fit: contain; }
.footer-brand p { color: white; font-size: 15px; line-height: 1.6; }
.footer-brand span { color: #ffffff73; font-size: 12px; letter-spacing: .14em; }
.site-footer h3 { margin-bottom: 12px; color: white; font-size: 15px; }
.footer-grid nav a { display: block; margin-bottom: 6px; font-size: 15px; transition: color .3s; }
.footer-grid nav a:hover { color: var(--accent-glow); }
.footer-bottom { display: flex; align-items: center; gap: 32px; padding-block: 14px; border-top: 1px solid var(--line-light); color: #ffffff80; font-size: 13px; }
.footer-bottom a:hover { color: var(--accent-glow); }
.back-top { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-left: auto; border-radius: 50%; background: #ffffff12; color: white; transition: background .3s; }
.back-top:hover { background: var(--accent); color: var(--ink) !important; }
.back-top .icon { width: 18px; height: 18px; }
/* Decorative wordmark sits behind the footer links instead of adding height. */
.footer-wordmark { position: absolute; left: 0; right: 0; bottom: -3.2vw; z-index: -1; margin: 0; color: transparent; font-size: 19vw; font-weight: 800; line-height: .9; letter-spacing: -.05em; text-align: center; white-space: nowrap; background: linear-gradient(180deg, #ffffff17, #ffffff00 80%); -webkit-background-clip: text; background-clip: text; user-select: none; pointer-events: none; }

/* Inner pages (products, applications, services, events, contact): a calm light header — breadcrumb, title on the left,
   short lead on the right — with the photo as a separate wide banner underneath (no text over the image). */
.page-hero { padding: calc(var(--header-solid) + clamp(28px, 3vw, 44px)) 0 clamp(48px, 6vw, 80px); background: var(--paper); }
.page-hero .crumbs { margin-bottom: clamp(18px, 2.4vw, 30px); }
.page-hero-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 20px clamp(32px, 5vw, 80px); align-items: end; }
.page-hero h1 { color: var(--ink); font-size: clamp(34px, 4.2vw, 60px); font-weight: 600; line-height: 1.2; letter-spacing: -.02em; animation: rise-blur 1s var(--ease) both; }
.page-hero h1 em { color: var(--accent); }
.page-hero-side { animation: rise 1s .12s var(--ease) both; }
.page-hero-lead { color: var(--muted); font-size: 17px; line-height: 1.85; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.page-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; transition: border-color .3s, background .3s; }
.page-chip:hover { border-color: var(--ink); }
.page-chip--search { border-color: var(--accent); background: var(--accent); font-weight: 600; }
.page-chip--search:hover { border-color: var(--accent-glow); background: var(--accent-glow); }
.page-chip .icon { width: 17px; height: 17px; }
.page-hero-figure { margin-top: clamp(28px, 3.6vw, 48px); aspect-ratio: 21 / 8; overflow: hidden; border-radius: 28px; background: var(--forest); animation: rise 1.1s .2s var(--ease) both; }
.page-hero-figure img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 70% 50%; animation: page-hero-drift 22s ease-in-out infinite alternate; }
@keyframes page-hero-drift { from { transform: scale(1.02); } to { transform: scale(1.1) translateX(-1.5%); } }
@media (max-width: 900px) {
  .page-hero-head { grid-template-columns: minmax(0, 1fr); }
  .page-hero-figure { aspect-ratio: 16 / 9; border-radius: 22px; }
}
.applications .apps-layout { margin-top: 0; }
.contact .section-kicker a:hover { color: white; }

/* Homepage: one card per section page. */
.explore { background: var(--paper); }
.explore-head { margin-bottom: 44px; }
.explore-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.explore-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 3 / 4; overflow: hidden; padding: 22px; border-radius: 24px; background: var(--forest); color: white; isolation: isolate; }
.explore-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.explore-card:before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #0c171314 20%, #0c1713e6 100%); }
.explore-card:hover img { transform: scale(1.06); }
.explore-copy { display: flex; flex-direction: column; gap: 6px; }
.explore-copy small { color: var(--accent-glow); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.explore-copy strong { font-size: 21px; font-weight: 600; line-height: 1.4; }
.explore-copy em { color: #ffffffb3; font-size: 14px; }
.explore-arrow { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #ffffff26; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .3s, transform .4s var(--ease); }
.explore-card:hover .explore-arrow { background: var(--accent); color: var(--ink); transform: rotate(45deg); }
.explore-arrow .icon { width: 18px; height: 18px; }

/* Contact page */
.contact-page { padding-block: clamp(56px, 7vw, 96px); background: var(--paper); }
.contact-page-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: start; }
.contact-card { display: flex; flex-direction: column; gap: 2px; padding: 20px 22px; border-radius: 20px; background: #fff; color: var(--ink); transition: transform .4s var(--ease), background .3s; }
a.contact-card:hover { transform: translateY(-3px); }
.contact-card .icon { width: 22px; height: 22px; margin-bottom: 10px; color: var(--accent-deep); }
.contact-card small { color: var(--muted); font-size: 13px; }
.contact-card strong { font-size: 19px; font-weight: 600; overflow-wrap: anywhere; }
.contact-card span { margin-top: 4px; color: var(--text); font-size: 15px; }
.contact-card .text-link { margin-top: 12px; font-size: 14px; }
.contact-card--wide { grid-column: 1 / -1; }
.contact-card--accent { background: var(--accent); }
.contact-card--accent .icon, .contact-card--accent small { color: var(--ink); }
.contact-map { min-height: 420px; overflow: hidden; border-radius: 24px; background: #e2e5e1; }
.contact-map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
.pd-use-grid a { display: block; color: inherit; }
.pd-use-grid a:hover h3 { color: var(--accent-deep); }
@media (max-width: 1024px) {
  .explore-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-page-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .explore-grid { grid-template-columns: minmax(0, 1fr); }
  .explore-card { aspect-ratio: 4 / 3; }
  .contact-cards { grid-template-columns: minmax(0, 1fr); }
}

/* Product page (product.html) */
.button-outline { border-color: var(--line); color: var(--ink); }
.button-outline:hover { border-color: var(--ink); background: #12211b08; }
.product-page { padding-top: calc(var(--header-solid) + 28px); background: var(--paper); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 14px; }
.crumbs a:hover { color: var(--accent-deep); }
.crumbs b { color: var(--ink); font-weight: 600; }
.pd-hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: 28px clamp(64px, 8vw, 104px); }
.pd-visual { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; padding: 8%; border-radius: 30px; background: #fff; }
.pd-visual img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pd-kicker { color: var(--accent-deep); font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.pd-copy h1 { margin-top: 12px; color: var(--ink); font-size: clamp(34px, 4vw, 56px); line-height: 1.2; letter-spacing: -.02em; }
.pd-en { margin-top: 6px; color: var(--muted); font-size: 18px; }
.pd-desc { max-width: 600px; margin-top: 20px; font-size: 16px; line-height: 1.9; }
.pd-features { margin: 22px 0 0; padding: 18px 0; border-block: 1px solid var(--line); list-style: none; }
.pd-features li { display: flex; align-items: flex-start; gap: 12px; margin: 6px 0; font-size: 15px; }
.pd-features .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--accent); }
.pd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.pd-section-head { margin-bottom: 36px; }
.pd-section-head h2 { font-size: clamp(30px, 3vw, 44px); }
.pd-models { padding-block: clamp(64px, 8vw, 104px); background: #fff; scroll-margin-top: var(--header-solid); }
.pd-series + .pd-series { margin-top: 56px; }
.pd-series-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pd-series-head h3 { color: var(--ink); font-size: 24px; font-weight: 700; letter-spacing: .04em; }
.pd-series-head p { color: var(--muted); font-size: 15px; }
.pd-model-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pd-model { display: flex; flex-direction: column; padding: 24px; border-radius: 22px; background: var(--paper); transition: transform .4s var(--ease); }
.pd-model:hover { transform: translateY(-4px); }
.pd-model-series { color: var(--accent-deep); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.pd-model h4 { margin-top: 4px; color: var(--ink); font-size: 26px; font-weight: 600; line-height: 1.3; }
.pd-model-text { flex: 1; margin-top: 10px; color: var(--text); font-size: 15px; line-height: 1.8; }
.pd-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 8px; margin: 18px 0 0; }
.pd-specs div { padding: 10px 12px; border-radius: 12px; background: #fff; }
.pd-specs dt { color: var(--muted); font-size: 12px; }
.pd-specs dd { color: var(--ink); font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pd-footnote { margin-top: 6px; color: var(--muted); font-size: 12px; }
.pd-specs-pending { margin-top: 18px; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); font-size: 13px; }
.pd-model-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 20px; }
.pd-model-actions .button { min-height: 44px; padding: 0 18px; font-size: 14px; }
.pd-model-actions .text-link { font-size: 14px; }
.pd-ask { max-width: 860px; padding: 32px; border-radius: 22px; background: var(--paper); }
.pd-ask p { font-size: 16px; line-height: 1.9; }
.pd-ask .contact-cta { margin-top: 20px; }
.pd-uses, .pd-related { padding-block: clamp(56px, 7vw, 88px) 0; }
.pd-related { padding-bottom: clamp(64px, 8vw, 104px); }
.pd-use-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pd-use-grid li { overflow: hidden; border-radius: 22px; background: #fff; }
.pd-use-grid img { width: 100%; height: auto; aspect-ratio: 1200 / 560; object-fit: cover; }
.pd-use-grid div { padding: 20px 22px 24px; }
.pd-use-grid h3 { color: var(--ink); font-size: 19px; }
.pd-use-grid p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.pd-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; --card: #fff; --card-hover: #fbfbfa; }
.pd-missing { padding-block: 80px; }
.pd-missing h1 { color: var(--ink); font-size: 40px; }
.pd-missing p { margin: 12px 0 24px; color: var(--muted); }
.pd-cta { padding-block: clamp(48px, 5vw, 72px); border-bottom: 1px solid var(--line-light); }
.pd-cta-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px 48px; }
.pd-cta h2 { color: white; font-size: clamp(28px, 3vw, 42px); }
.pd-cta .section-kicker { color: var(--accent-glow); }
@media (max-width: 1024px) {
  .pd-model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .pd-hero { grid-template-columns: minmax(0, 1fr); padding-top: 16px; }
  .pd-visual { max-width: 360px; width: 100%; margin-inline: auto; }
  .pd-model-grid, .pd-use-grid, .pd-related-grid { grid-template-columns: minmax(0, 1fr); }
  .pd-model { padding: 20px; }
  .pd-specs dd { font-size: 16px; }
  .pd-actions .button { flex: 1 1 auto; }
}

/* Dialogs */
.product-dialog, .search-dialog { border: 0; padding: 0; border-radius: 28px; color: var(--text); background: white; box-shadow: 0 30px 100px #0c171340; }
.product-dialog::backdrop, .search-dialog::backdrop { background: #0c1713b8; backdrop-filter: blur(8px); }
.product-dialog[open], .search-dialog[open] { animation: pop .5s var(--ease) both; }
.product-dialog { width: min(980px, calc(100% - 40px)); max-height: 90dvh; overflow: auto; }
.dialog-close { position: absolute; top: 16px; right: 16px; z-index: 2; background: var(--paper); }
.dialog-close:hover { background: #e8e5dc; }
.product-detail-grid { display: grid; grid-template-columns: .95fr 1.05fr; }
.detail-visual { display: flex; align-items: center; justify-content: center; min-height: 520px; padding: 36px; background: white; border-right: 1px solid var(--line); }
.detail-visual img { width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.detail-copy { padding: 64px 40px 40px; }
.detail-kicker { margin-bottom: 14px; color: var(--accent-deep); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.detail-copy h2 { margin-bottom: 8px; font-size: 30px; line-height: 1.45; letter-spacing: -.01em; }
.detail-subtitle { margin-bottom: 22px; color: var(--muted); font-size: 14px; }
.detail-description { color: var(--muted); font-size: 15px; line-height: 1.9; }
.detail-features { margin: 18px 0 26px; padding: 18px 0; border-block: 1px solid var(--line); list-style: none; font-size: 15px; }
.detail-features li { display: flex; align-items: flex-start; gap: 12px; margin: 8px 0; }
.detail-features .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--accent); }
.detail-copy .button { width: 100%; }
.detail-copy .detail-contact { display: block; margin-top: 14px; color: var(--muted); font-size: 14px; text-align: center; }
.search-dialog { width: min(660px, calc(100% - 32px)); max-height: 85dvh; padding: 32px; overflow: auto; }
.search-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.search-heading h2 { font-size: 28px; }
.search-heading .dialog-close { position: static; }
.search-field { display: flex; align-items: center; gap: 14px; padding: 0 18px; min-height: 56px; border-radius: var(--radius-sm); background: var(--paper); }
.search-field input { width: 100%; min-width: 0; border: 0; background: none; color: var(--ink); font-size: 16px; }
.search-field input:focus-visible { outline: none; }
.search-field:focus-within { box-shadow: 0 0 0 2px var(--accent); }
.search-count { padding: 18px 0 8px; color: var(--muted); font-size: 13px; }
.search-result { display: flex; align-items: center; gap: 16px; width: 100%; padding: 10px; border: 0; border-radius: var(--radius-sm); background: white; text-align: left; transition: background .3s; }
.search-result:hover { background: var(--paper); }
.search-result img { width: 64px; height: 64px; border-radius: 12px; object-fit: contain; mix-blend-mode: multiply; }
.search-result strong { display: block; color: var(--ink); font-size: 15px; font-weight: 500; }
.search-result small { color: var(--muted); font-size: 13px; }
.search-result > .icon { margin-left: auto; color: var(--accent); }
.search-empty { padding: 30px 0; color: var(--muted); font-size: 15px; }
.empty-reset { margin-top: 10px; padding: 0; border: 0; background: none; color: var(--accent-deep); font-size: 15px; text-decoration: underline; }
[hidden] { display: none !important; }

.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 100ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@keyframes kenburns { from { transform: var(--kb-from); } to { transform: var(--kb-to); } }
@keyframes rise-blur { from { opacity: 0; transform: translateY(40px); filter: blur(12px); } }
@keyframes rise { from { opacity: 0; transform: translateY(32px); } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.98); } }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes sweep { 0% { stroke-dashoffset: 327; } 70%, 100% { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
  }
}

@media (max-width: 1180px) {
  .main-nav { gap: 2px; }
  .nav-link { padding: 0 13px; font-size: 14px; }
  .line-inset { right: -3%; }
  .hotline { right: 16px; }
}
@media (max-width: 1024px) {
  :root { --header: 80px; }
  .menu-toggle { display: inline-flex; background: #ffffff1f; }
  .is-solid .menu-toggle, .menu-open .menu-toggle { background: #12211b0d; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 8px var(--gutter) 28px; background: #fff; box-shadow: 0 1px 0 var(--line), 0 30px 40px #0c171314; }
  .main-nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; animation: rise .5s var(--ease) both; }
  .main-nav .nav-link { min-height: 58px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 19px; opacity: 1; }
  .main-nav .nav-link, .main-nav .nav-link:hover, .main-nav .nav-link.active { padding: 0; border-radius: 0; background: none; }
  .main-nav .nav-link.active { color: var(--accent-deep); }
  .hero-categories a { font-size: 15px; padding-inline: 18px; }
  .line-inner, .services-layout, .contact-inner { grid-template-columns: minmax(0, 1fr); }
  .line-inner { padding-block: 56px 72px; }
  .line--flip .line-visual { order: 0; }
  .line-media { max-height: none; }
  .line-inset { right: 4%; }
  .apps-layout { grid-template-columns: minmax(0, 1fr); }
  .apps-panel { order: -1; }
  .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event:nth-child(even) { margin-top: 0; }
  .event:nth-child(2n) { transform: translateY(32px); }
  .events { padding-bottom: 140px; }
}
@media (max-width: 900px) {
  .products-head, .events-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .since-top { grid-template-columns: minmax(0, 1fr); }
  .apps-detail { grid-template-columns: minmax(0, 1fr); }
  .apps-clients ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .detail-visual { min-height: 0; height: 300px; border-right: 0; border-bottom: 1px solid var(--line); }
  .detail-visual img { height: 100%; width: auto; }
  .detail-copy { padding: 32px 28px; }
}
@media (max-width: 680px) {
  :root { --header: 72px; --header-solid: 66px; }
  body { font-size: 15px; }
  .logo, .logo img { width: 78px; }
  .logo img { height: 78px; }
  .nav-inner { gap: 10px; }
  .nav-actions { gap: 8px; margin-left: auto; }
  .nav-call { width: 46px; padding: 0; font-size: 0; gap: 0; }
  .nav-call .icon { width: 19px; height: 19px; }
  .hero { min-height: 100svh; }
  .hero:before { background: linear-gradient(180deg, #0b1611b3 0%, #0b161166 32%, #0b16119e 58%, #0c1713 100%); }
  .hero-inner { padding-top: calc(var(--header) + 64px); }
  .hero-copy { padding-bottom: 36px; }
  .hero-kicker { font-size: 14px; margin-bottom: 20px; }
  .hero h1 { font-size: clamp(32px, 9.2vw, 52px); line-height: 1.24; }
  .hero-description { margin-top: 18px; font-size: 15px; }
  .hero-description br { display: none; }
  .hero-actions { margin-top: 26px; gap: 10px; }
  .hero-actions .button { flex: 1 1 auto; }
  .button-icon { min-height: 54px; }
  .button-dot { width: 42px; height: 42px; }
  .hero-categories { grid-template-columns: 1fr; }
  .hero-categories a, .hero-categories a:first-child { padding: 15px 0; border-right: 0; border-bottom: 1px solid var(--line-light); font-size: 15px; }
  .hero-categories a:last-child { border-bottom: 0; padding-bottom: 22px; }
  .since-stats { grid-template-columns: minmax(0, 1fr); }
  .since-stats div, .since-stats div:first-child { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line-light); }
  .since-slide p { font-size: 15px; }
  .products-head { padding-block: 88px 44px; }
  .line-title { font-size: 38px; }
  .line-inset { width: 40%; right: 2%; bottom: -10%; border-width: 4px; border-radius: 18px; }
  .line-copy { padding-top: 24px; }
  .line-product { padding-right: 12px; gap: 12px; }
  .lp-thumb { width: 56px; height: 56px; }
  .lp-text strong { font-size: 15px; }
  .apps-tab { font-size: 16px; padding-block: 16px; }
  .apps-stage { aspect-ratio: 600 / 340; }
  .apps-hint { display: none; }
  .hotline { right: 12px; left: 12px; bottom: 12px; padding: 12px 18px 12px 12px; }
  .hotline-dial { width: 66px; height: 66px; }
  .hotline-dial b { font-size: 24px; }
  .hotline-dial small { bottom: 14px; }
  .hotline-copy strong { font-size: 20px; }
  .service-list { grid-template-columns: 1fr; }
  .service-list li { flex-direction: row; align-items: center; padding: 18px; }
  .event-grid { display: flex; gap: 14px; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .event-grid::-webkit-scrollbar { display: none; }
  .event { flex: 0 0 68%; scroll-snap-align: start; }
  .event:nth-child(2n) { transform: none; }
  .events { padding-bottom: 88px; }
  .contact-phone { font-size: 20px; }
  .contact-cta .button { flex: 1 1 auto; }
  .contact-list { grid-template-columns: 1fr 1fr; padding: 20px; gap: 14px 18px; }
  .footer-grid { gap: 24px 20px; padding: 28px 0 20px; }
  .footer-brand { display: flex; align-items: center; gap: 12px; }
  .footer-brand img { width: 64px; height: 64px; margin: -8px 0 -8px -4px; }
  .contact-list dd { font-size: 15px; }
  .footer-bottom { flex-wrap: wrap; gap: 12px 24px; }
  .product-dialog { width: calc(100% - 20px); max-height: 92dvh; border-radius: 22px; }
  .detail-visual { height: 240px; padding: 20px; }
  .detail-copy { padding: 28px 22px; }
  .detail-copy h2 { font-size: 24px; }
  .search-dialog { padding: 22px; border-radius: 22px; }
  .search-heading h2 { font-size: 24px; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: 30px; }
  .hero-actions .button { font-size: 14px; }
  .contact-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ── CMS additions: chips, cards (news / projects), articles, forms, quote popup, LINE button, cookie bar, 404 ── */
.page-chip.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.footer-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.footer-link:hover { color: #fff; }

.cards-section { padding-block: clamp(56px, 7vw, 96px); background: #fff; }
.cards-section--more { background: var(--paper); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; margin: 0; padding: 0; list-style: none; }
.post-card { display: flex; flex-direction: column; height: 100%; color: inherit; }
.post-card figure { aspect-ratio: 3 / 2; overflow: hidden; border-radius: 22px; background: var(--paper); }
.post-card--tall figure { aspect-ratio: 4 / 5; }
.post-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover img { transform: scale(1.04); }
.post-card div { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; line-height: 1.55; }
.post-card small { color: var(--accent-deep); font-size: 13px; font-weight: 600; }
.post-card strong { color: var(--ink); font-size: 19px; font-weight: 600; transition: color .3s; }
.post-card:hover strong { color: var(--accent-deep); }
.post-card span { color: var(--muted); font-size: 14px; }
.empty-note { max-width: 680px; padding: clamp(28px, 4vw, 44px); border-radius: 24px; background: var(--paper); }
.empty-note h2 { font-size: clamp(26px, 2.6vw, 36px); }
.empty-note p { margin: 12px 0 24px; color: var(--muted); }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 48px; }
.pager-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; transition: background .3s; }
a.pager-btn:hover { background: #e9e7df; }
.pager-btn.is-current { background: var(--ink); color: #fff; }
.pager-btn.is-off { opacity: .35; }
.pager-gap { align-self: center; padding: 0 4px; color: var(--muted); }

.article { padding: calc(var(--header-solid) + clamp(28px, 3vw, 44px)) 0 clamp(56px, 7vw, 96px); background: var(--paper); }
.article-head { max-width: 900px; }
.article-head .crumbs { margin-bottom: 28px; }
.article-kicker { color: var(--accent-deep); font-size: 14px; font-weight: 600; }
.article-kicker a:hover { text-decoration: underline; }
.article h1 { margin-top: 10px; color: var(--ink); font-size: clamp(32px, 3.8vw, 52px); font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 24px; }
.article-meta dt { color: var(--muted); font-size: 13px; }
.article-meta dd { color: var(--ink); font-size: 16px; font-weight: 600; }
.article-meta a { color: var(--accent-deep); }
.article-cover { margin-top: clamp(28px, 3.6vw, 44px); }
.article-cover img { width: 100%; max-height: 640px; border-radius: 28px; object-fit: cover; }
.article-cover--tall img { width: auto; max-width: 100%; max-height: 720px; margin-inline: auto; }
.article-body { max-width: 820px; margin-top: clamp(32px, 4vw, 52px); }
.article-lead { margin-bottom: 24px; color: var(--ink); font-size: 19px; line-height: 1.8; }
.prose { color: var(--text); font-size: 17px; line-height: 1.95; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.8em; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.35; }
.prose h3 { margin-top: 1.5em; color: var(--ink); font-size: 21px; font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose img { height: auto; border-radius: 18px; }
.prose blockquote { margin-inline: 0; padding: 18px 24px; border-radius: 18px; background: #fff; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 18px; }
.prose .text-link { display: inline; font-size: inherit; text-decoration: underline; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 32px 0 0; padding: 0; list-style: none; }
.gallery-grid a { display: block; overflow: hidden; border-radius: 18px; background: #fff; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-grid a:hover img { transform: scale(1.04); }
.article-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 44px; padding: 24px 28px; border-radius: 22px; background: #fff; }
.article-cta p { color: var(--ink); font-size: 19px; font-weight: 600; }
.article-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }
.article-share span { color: var(--muted); }
.article-share a { padding: 6px 16px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; transition: background .3s; }
.article-share a:hover { background: var(--accent); }
.pd-more { padding-block: clamp(56px, 7vw, 88px) 0; }
.pd-more-inner { max-width: 1000px; }

/* Forms (quote popup + /contact) */
.lead-form { position: relative; }
.lead-head h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.3; }
.lead-head .section-kicker { margin-bottom: 10px; }
.lead-intro { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.lead-intro b { color: var(--ink); font-weight: 600; }
.lead-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin-top: 26px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { color: var(--ink); font-size: 14px; font-weight: 600; }
.field b { color: var(--accent-deep); }
.field--wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 18px; border: 1px solid transparent; border-radius: 16px; background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; transition: border-color .3s, background .3s; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.7; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6a64' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background-color: #fff; }
.field input::placeholder, .field textarea::placeholder { color: #8a948f; }
.consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; color: var(--text); font-size: 14px; line-height: 1.7; cursor: pointer; }
.consent input { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); }
.consent a { color: var(--accent-deep); text-decoration: underline; }
.lead-error { margin-top: 14px; padding: 12px 16px; border-radius: 14px; background: #fdecea; color: #a1281b; font-size: 14px; }
.lead-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; }
.lead-submit.is-busy { opacity: .7; pointer-events: none; }
.lead-submit.is-busy .icon { animation: spin-nudge .8s ease-in-out infinite alternate; }
.lead-or { color: var(--muted); font-size: 14px; }
.lead-or a { color: var(--ink); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-done { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; border-radius: inherit; background: #fff; text-align: center; animation: pop .5s var(--ease) both; }
.lead-done-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: var(--ink); }
.lead-done-icon .icon { width: 34px; height: 34px; stroke-width: 2; }
.lead-done h3 { margin-top: 18px; color: var(--ink); font-size: 26px; font-weight: 600; }
.lead-done p { max-width: 380px; margin-top: 8px; color: var(--muted); }
.quote-dialog { width: min(760px, calc(100% - 32px)); max-height: 92dvh; padding: clamp(24px, 4vw, 44px); overflow: auto; border: 0; border-radius: 28px; color: var(--text); background: #fff; box-shadow: 0 30px 100px #0c171340; }
.quote-dialog::backdrop { background: #0c1713b8; backdrop-filter: blur(8px); }
.quote-dialog[open] { animation: pop .5s var(--ease) both; }
.quote-dialog .lead-head { padding-right: 48px; }
.contact-form-section { padding-block: 0 clamp(64px, 8vw, 112px); background: var(--paper); }
.lead-form--inline { max-width: 960px; padding: clamp(24px, 4vw, 52px); border-radius: 28px; background: #fff; }
.lead-form--inline .lead-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.services-cta { margin-top: 32px; }

/* Floating LINE button + cookie bar */
/* Contact button: round toggle that opens a short stack of contact shortcuts above it. */
.contact-fab { position: fixed; right: 20px; bottom: 20px; z-index: 35; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; transition: opacity .3s; }
.contact-fab-toggle { position: relative; display: grid; place-items: center; width: 60px; height: 60px; padding: 0; border: 0; border-radius: 50%; background: var(--accent); color: var(--ink); box-shadow: 0 12px 30px #f26a2b47; transition: transform .4s var(--ease), background .3s, box-shadow .3s; }
.contact-fab-toggle:hover { background: var(--accent-glow); transform: translateY(-2px); }
.contact-fab-toggle > span { position: absolute; display: grid; place-items: center; transition: opacity .25s, transform .4s var(--ease); }
.contact-fab-toggle .icon { width: 26px; height: 26px; stroke-width: 1.8; }
.fab-close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.contact-fab.is-open .contact-fab-toggle { background: var(--forest); color: #fff; box-shadow: 0 12px 30px #0c171340; }
.contact-fab.is-open .fab-open { opacity: 0; transform: rotate(90deg) scale(.6); }
.contact-fab.is-open .fab-close { opacity: 1; transform: none; }
.contact-fab-menu { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; margin: 0; padding: 0; list-style: none; visibility: hidden; pointer-events: none; transition: visibility 0s .35s; }
.contact-fab.is-open .contact-fab-menu { visibility: visible; pointer-events: auto; transition: visibility 0s; }
.contact-fab-menu li { opacity: 0; transform: translateY(14px) scale(.96); transform-origin: right center; transition: opacity .25s, transform .35s var(--ease); transition-delay: calc(var(--i) * 30ms); }
.contact-fab.is-open .contact-fab-menu li { opacity: 1; transform: none; transition-delay: calc(var(--i) * 45ms); }
.fab-item { display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 18px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font: inherit; text-align: right; cursor: pointer; box-shadow: 0 10px 28px #0c171324, 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.fab-item:hover { transform: translateX(-3px); box-shadow: 0 12px 32px #0c171333, 0 0 0 1px var(--line); }
.fab-label { display: flex; flex-direction: column; font-size: 15px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.fab-label small { color: var(--muted); font-size: 12px; font-weight: 500; }
.fab-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--forest); color: #fff; flex-shrink: 0; }
.fab-icon .icon { width: 20px; height: 20px; }
.fab-icon--phone { background: var(--accent); color: var(--ink); }
.fab-icon--line { background: #06c755; }
.fab-icon--line svg { width: 26px; height: 26px; fill: #fff; }
.fab-icon--line .fab-line-text { fill: none; stroke: #06c755; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
body.modal-open .contact-fab { opacity: 0; pointer-events: none; }
.cookie-bar { position: fixed; left: 20px; bottom: 20px; z-index: 36; display: flex; flex-direction: column; gap: 14px; width: min(420px, calc(100% - 40px)); padding: 20px 22px; border-radius: 22px; background: #fff; color: var(--text); box-shadow: 0 20px 60px #0c171326, 0 0 0 1px var(--line); font-size: 14px; line-height: 1.7; animation: rise .6s var(--ease) both; }
.cookie-bar strong { color: var(--ink); }
.cookie-bar a { color: var(--accent-deep); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-actions .button { flex: 1; min-height: 44px; padding: 0 16px; font-size: 14px; }

/* 404 */
.error-page { min-height: 70vh; padding: calc(var(--header-solid) + 64px) 0 96px; background: var(--paper); }
.error-code { color: var(--accent); font-size: clamp(96px, 16vw, 200px); font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.error-page h1 { margin-top: 12px; color: var(--ink); font-size: clamp(30px, 3.4vw, 46px); font-weight: 600; }
.error-page p { max-width: 560px; margin-top: 12px; color: var(--muted); font-size: 17px; }
.error-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

@keyframes spin-nudge { to { transform: translateX(4px); } }
@media (max-width: 1280px) {
  .nav-call span { display: none; }
  .nav-call { width: 46px; padding: 0; }
}
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lead-form--inline .lead-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .card-grid, .gallery-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lead-grid, .lead-form--inline .lead-grid { grid-template-columns: minmax(0, 1fr); }
  .quote-dialog { width: 100%; max-width: none; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; }
  .contact-fab { right: 14px; bottom: 14px; }
  body:has(#cookie-bar:not([hidden])) .contact-fab { opacity: 0; pointer-events: none; }   /* the cookie bar spans the width on phones */
  .contact-fab-toggle { width: 56px; height: 56px; }
  .cookie-bar { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 18px; }
  .article-cta { flex-direction: column; align-items: flex-start; }
}

/* ── 2026-10-16: featured brands, customer logos, industry articles, reference list ── */
.brands { background: #fff; }
.brands-head { margin-bottom: 44px; }
.brand-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.brand-panel { display: flex; flex-direction: column; overflow: hidden; border-radius: 28px; background: var(--paper); }
.brand-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--forest); }
.brand-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.brand-panel:hover .brand-media img { transform: scale(1.03); }
.brand-copy { display: flex; flex: 1; flex-direction: column; padding: clamp(24px, 3vw, 36px); }
.brand-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.brand-meta span { padding: 4px 12px; border-radius: 999px; background: #fff; color: var(--accent-deep); font-size: 13px; font-weight: 600; }
.brand-name { margin-top: 16px; color: var(--ink); font-family: 'Manrope', var(--font); font-size: clamp(34px, 3.4vw, 46px); font-weight: 800; letter-spacing: .02em; line-height: 1.1; }
.brand-name img { height: 44px; width: auto; }
.brand-tagline { margin-top: 8px; color: var(--ink); font-size: 18px; font-weight: 600; }
.brand-desc { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.brand-products { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding: 22px 0 0; list-style: none; }
.brand-products a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; transition: background .3s, color .3s; }
.brand-products a:hover { background: var(--ink); color: #fff; }
.brand-products .icon { width: 16px; height: 16px; }

.trusted { background: #fff; }
.trusted-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: 36px; }
.logo-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.logo-grid li { display: flex; align-items: center; justify-content: center; aspect-ratio: 6 / 5; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.logo-grid li a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.logo-grid img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.logo-grid li:hover img { transform: scale(1.04); }

/* Customer logos on the home page: two rows drifting slowly in opposite directions, paused on hover. Each row's list is
   doubled in the markup, so moving it by half its width loops without a jump. */
.logo-marquee { display: grid; gap: 14px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.logo-marquee-track { display: flex; gap: 14px; width: max-content; margin: 0; padding: 0; list-style: none; }
.logo-marquee-track li { display: flex; flex: none; align-items: center; justify-content: center; width: 180px; aspect-ratio: 6 / 5; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.logo-marquee-track img { width: 100%; height: 100%; object-fit: contain; }
@media (prefers-reduced-motion: no-preference) {
  .logo-marquee-track { animation: logo-marquee var(--dur, 90s) linear infinite; }
  .logo-marquee-row.is-reverse .logo-marquee-track { animation-direction: reverse; }
  .logo-marquee:hover .logo-marquee-track { animation-play-state: paused; }
}
@keyframes logo-marquee { to { transform: translateX(calc(-50% - 7px)); } }
@media (prefers-reduced-motion: reduce) {
  .logo-marquee { -webkit-mask-image: none; mask-image: none; padding-inline: 20px; }
  .logo-marquee-track { flex-wrap: wrap; justify-content: center; width: auto; }
  .logo-marquee-track li[aria-hidden] { display: none; }
}

.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; margin: 0; padding: 0; list-style: none; }
.app-grid > li { display: flex; }
.app-card { position: relative; display: flex; flex-direction: column; width: 100%; overflow: hidden; border-radius: 24px; background: var(--paper); color: inherit; transition: transform .45s var(--ease); }
.app-card:hover { transform: translateY(-4px); }
.app-card figure { aspect-ratio: 2 / 1; overflow: hidden; background: var(--forest); }
.pd-uses .app-card { background: #fff; }
.app-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.app-card:hover img { transform: scale(1.04); }
.app-card-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 22px 24px 24px; }
.app-card h3 { color: var(--ink); font-size: 21px; font-weight: 600; line-height: 1.4; transition: color .3s; }
.app-card:hover h3 { color: var(--accent-deep); }
.app-card p { color: var(--muted); font-size: 15px; line-height: 1.75; }
.app-card-meta { margin-top: auto; padding-top: 6px; color: var(--accent-deep); font-size: 13px; font-weight: 600; }
.app-card-arrow { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #ffffffd9; color: var(--ink); transition: background .3s, transform .4s var(--ease); }
.app-card:hover .app-card-arrow { background: var(--accent); transform: rotate(45deg); }
.app-card-arrow .icon { width: 18px; height: 18px; }
.cards-section--more .app-card, .app-block--white .app-card { background: var(--paper); }

.article-intro { max-width: 760px; margin-top: 16px; color: var(--text); font-size: 19px; line-height: 1.8; }
.app-places { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.app-places li { padding: 5px 14px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; }
.app-cover img { aspect-ratio: 2 / 1; height: auto; }
.app-article { padding-bottom: clamp(40px, 5vw, 64px); }
.app-section + .app-section { margin-top: 40px; }
.app-section h2 { margin-bottom: 14px; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.35; }
.app-section > p { color: var(--text); font-size: 17px; line-height: 1.95; }
.app-section .prose { margin-top: 18px; }
.app-problems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.app-problems li { display: flex; align-items: flex-start; gap: 10px; padding: 16px 18px; border-radius: 18px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.6; }
.app-problems .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.app-block { padding-block: clamp(56px, 7vw, 88px); background: var(--paper); }
.app-block--white { background: #fff; }
.app-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.app-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.app-product { position: relative; display: flex; flex-direction: column; height: 100%; padding: 18px; border-radius: 22px; background: var(--paper); color: inherit; transition: transform .4s var(--ease); }
.app-product:hover { transform: translateY(-4px); }
.app-product-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; border-radius: 16px; background: #fff; }
.app-product-img img { width: 70%; height: 90%; object-fit: contain; mix-blend-mode: multiply; }
.app-product-text { display: flex; flex-direction: column; gap: 2px; padding: 16px 6px 4px; line-height: 1.5; }
.app-product-text small { color: var(--accent-deep); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.app-product-text strong { color: var(--ink); font-size: 18px; font-weight: 600; }
.app-product-text em { color: var(--muted); font-size: 13px; }
.app-product-text > span { margin-top: 8px; color: var(--text); font-size: 14px; line-height: 1.75; }
.app-product > .icon { position: absolute; top: 28px; right: 28px; color: var(--accent); }
.ref-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ref-cards li { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 18px; background: #fff; line-height: 1.5; }
.ref-cards small { color: var(--accent-deep); font-size: 13px; font-weight: 600; }
.ref-cards strong { color: var(--ink); font-size: 16px; font-weight: 600; }
.ref-cards span { color: var(--muted); font-size: 13px; }
.app-block--white .ref-cards li, .pd-refs .ref-cards li { background: var(--paper); }
.app-cta { margin-top: 0; }
.pd-refs { padding-block: clamp(56px, 7vw, 88px) 0; }
.pd-refs .ref-cards li { background: #fff; }

.lp-desc { display: -webkit-box; margin-top: 4px; overflow: hidden; color: var(--text); font-size: 13px; line-height: 1.65; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.lp-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.lp-tags span { padding: 2px 10px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 12px; font-style: normal; }
.line--humid .lp-tags span { background: #fff; }
.products-elsewhere { padding-block: 8px clamp(48px, 6vw, 72px); color: var(--muted); font-size: 15px; }
.products-elsewhere .text-link { font-size: 15px; }

.proof { padding-block: 0 clamp(40px, 5vw, 64px); background: var(--paper); }
.proof-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.proof-stats div { padding: 20px 22px; border-radius: 20px; background: #fff; }
.proof-stats dt { color: var(--muted); font-size: 14px; }
.proof-stats dd { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; color: var(--ink); font-family: 'Manrope', var(--font); font-size: clamp(30px, 3vw, 42px); font-weight: 700; font-variant-numeric: tabular-nums; }
.proof-stats small { color: var(--muted); font-family: var(--font); font-size: 15px; font-weight: 500; }
.logo-group + .logo-group { margin-top: 40px; }
.logo-group h3 { margin-bottom: 14px; color: var(--ink); font-size: 19px; font-weight: 600; }
.logo-group h3 a { display: inline-flex; align-items: center; gap: 8px; }
.logo-group h3 a:hover { color: var(--accent-deep); }
.logo-group h3 .icon { width: 16px; height: 16px; color: var(--accent); }
.refs { background: var(--paper); scroll-margin-top: var(--header-solid); }
.refs-tools { display: flex; flex-direction: column; gap: 14px; margin-bottom: 8px; }
.refs-search { max-width: 520px; background: #fff; }
.refs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.refs-count { padding: 8px 0 14px; color: var(--muted); font-size: 14px; }
.refs-table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: 20px; background: #fff; font-size: 15px; }
.refs-table th { padding: 14px 18px; background: var(--forest); color: #fff; font-size: 14px; font-weight: 600; text-align: left; }
.refs-table td { padding: 12px 18px; border-top: 1px solid var(--line); vertical-align: top; }
.refs-table td:first-child { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.refs-table td strong { color: var(--ink); font-weight: 600; }
.refs-table td a { color: var(--accent-deep); }
.refs-table td a:hover { text-decoration: underline; }
.refs-table tr[hidden] { display: none; }
.refs-empty { padding: 32px 0; color: var(--muted); text-align: center; }

@media (max-width: 1024px) {
  .brand-panels { grid-template-columns: minmax(0, 1fr); }
  .logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .app-grid, .app-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ref-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .logo-marquee, .logo-marquee-track { gap: 10px; }
  .logo-marquee-track li { width: 128px; border-radius: 14px; }
  @keyframes logo-marquee { to { transform: translateX(calc(-50% - 5px)); } }
  .logo-grid li { border-radius: 14px; }
  .app-grid, .app-products, .app-problems { grid-template-columns: minmax(0, 1fr); }
  .ref-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ref-cards li { padding: 14px; }
  .ref-cards strong { font-size: 14px; }
  .refs-chips { flex-wrap: nowrap; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; overflow-x: auto; scrollbar-width: none; }
  .refs-chips::-webkit-scrollbar { display: none; }
  .refs-chips .page-chip { flex-shrink: 0; }
  .refs-table thead { display: none; }
  .refs-table, .refs-table tbody, .refs-table tr, .refs-table td { display: block; }
  .refs-table { background: transparent; }
  .refs-table tr { margin-bottom: 10px; padding: 14px 16px; border-radius: 16px; background: #fff; }
  .refs-table td { padding: 2px 0; border: 0; }
  .refs-table td:first-child { font-size: 13px; }
  .refs-table td:nth-child(3), .refs-table td:nth-child(4) { color: var(--muted); font-size: 14px; }
  .proof-stats div { padding: 16px; }
}

/* Language switch (TH / EN) */
.lang-switch { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: 999px; background: #ffffff1f; font-family: 'Manrope', var(--font); font-size: 13px; font-weight: 800; letter-spacing: .06em; transition: background .3s; }
.lang-switch:hover { background: #ffffff33; }
.is-solid .lang-switch, .menu-open .lang-switch { background: #12211b0d; }
.is-solid .lang-switch:hover, .menu-open .lang-switch:hover { background: #12211b1a; }
html[lang="en"] .hero h1, html[lang="en"] .page-hero h1 { letter-spacing: -.025em; }
