/* ============================================================
   MAXX Technologies — shared stylesheet
   Design language: approved concept (dark industrial, black + amber)
   Latin: Archivo / Archivo Black · Khmer: Kantumruy Pro
   Motion: transform/opacity only, 150–300ms micro, reduced-motion safe
   ============================================================ */
:root {
  --ink: #141416; --ink-2: #1a1a1d; --paper: #FAFAF8; --grey: #6d6d72; --line: #e4e4e0;
  --amber: #F5A623; --amber-deep: #d8891a;
  --ease: cubic-bezier(.22,.61,.36,1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Archivo", "Helvetica Neue", sans-serif;
  background: var(--paper); color: var(--ink); line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
a { color: inherit; }
a, button, .card, .tr3 { cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, .display { font-family: "Archivo Black", "Archivo", sans-serif; }
h1 { font-size: clamp(38px, 4.3vw, 58px); line-height: 1.06; text-wrap: balance; letter-spacing: -0.015em; }
h1 em { font-style: normal; color: var(--amber); }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; margin: 12px 0 18px; text-wrap: balance; letter-spacing: -0.01em; }
html[lang="km"] h1, html[lang="km"] h2 { letter-spacing: 0; }

/* Khmer typography overrides */
html[lang="km"] body { font-family: "Kantumruy Pro", "Archivo", "Noto Sans Khmer", sans-serif; }
html[lang="km"] h1, html[lang="km"] h2, html[lang="km"] h3 {
  font-family: "Kantumruy Pro", "Archivo Black", sans-serif; font-weight: 700;
}
html[lang="km"] h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.3; }
html[lang="km"] h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.35; }

/* ---------- industrial texture + glow for dark sections ---------- */
.dark, .hero, .phero, .ctaband {
  position: relative; isolation: isolate;
}
.dark::before, .hero::before, .phero::before, .ctaband::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.013) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.013) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 30%, transparent 75%);
}
.dark::after, .hero::after, .phero::after, .ctaband::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 55% 42% at 70% 24%, rgba(245,166,35,.055), transparent 68%);
}

/* ---------- nav (centered-logo, two-tier) ---------- */
nav.site { position: sticky; top: 0; z-index: 50; background: rgba(18,18,20,.99); color: #fff; border-bottom: 1px solid rgba(255,255,255,.07); }
.topbar { border-bottom: 1px solid rgba(255,255,255,.055); }
nav.site .wrap { max-width: 1780px; padding: 0 clamp(32px, 3.5vw, 64px); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 34px; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: #77777d; font-weight: 600; }
html[lang="km"] .topbar .wrap { letter-spacing: .06em; font-size: 11.5px; }
.topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar a { color: #a8a8ae; text-decoration: none; letter-spacing: .16em; transition: color .2s; }
html[lang="km"] .topbar a { letter-spacing: .04em; }
.topbar a:hover { color: var(--amber); }
.navgrid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 84px; gap: clamp(32px, 4vw, 80px); }
.ngroup { display: flex; align-items: center; }
.ngroup.left { justify-self: stretch; justify-content: space-between; }
.ngroup.right { justify-self: stretch; justify-content: space-between; }
.brand { text-decoration: none; color: #fff; display: flex; align-items: center; justify-self: center; }
/* real MAXX logo lockup — wordmark image + spaced-caps sub-line (per their spec sheet) */
.brand-lockup { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.navgrid .brand-lockup { align-items: center; }
.brand-lockup img.brand-logo { height: 20px; width: auto; display: block; }
.navgrid .brand-lockup img.brand-logo { height: 25px; }
.brand-lockup small { font-family: "Archivo", sans-serif; font-size: 8px; letter-spacing: 2.8px; font-weight: 600; color: #bbb; text-transform: uppercase; line-height: 1; }
.navgrid .brand-lockup small { font-size: 8.5px; letter-spacing: 5.2px; margin-right: -5.2px; color: #c9c9ce; }
nav.site a.nl { position: relative; color: #d3d3d8; text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; padding: 8px 2px; transition: color .2s var(--ease); white-space: nowrap; }
html[lang="km"] nav.site a.nl { text-transform: none; letter-spacing: .01em; font-size: 14px; font-weight: 500; }
nav.site a.nl::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--amber); transition: right .25s var(--ease); }
nav.site a.nl:hover, nav.site a.nl.on { color: #fff; }
nav.site a.nl:hover::after, nav.site a.nl.on::after { right: 0; }
nav.site .cta { background: var(--amber); color: var(--ink); padding: 12px 24px; border-radius: 6px; font-weight: 700; text-decoration: none; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
html[lang="km"] nav.site .cta { text-transform: none; letter-spacing: .01em; font-size: 13.5px; }
nav.site .cta:hover { background: #ffb63a; box-shadow: 0 6px 22px rgba(245,166,35,.35); transform: translateY(-1px); }
.lang { color: #a8a8ae; text-decoration: none; white-space: nowrap; letter-spacing: .16em; transition: color .2s; }
.lang:hover { color: var(--amber); }

/* machines dropdown */
.dd { position: relative; }
.dd > a.nl { display: inline-flex; align-items: center; gap: 6px; }
.dd > a.nl .car { width: 10px; height: 10px; opacity: .7; transition: transform .2s var(--ease); }
.dd:hover > a.nl .car { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 16px); left: -18px; background: #1b1b1e; border: 1px solid #2c2c30; border-radius: 10px; padding: 8px; min-width: 236px; box-shadow: 0 24px 60px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .22s var(--ease), transform .22s var(--ease); }
.dd-menu::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.dd:hover .dd-menu, .dd.open .dd-menu, .dd:focus-within .dd-menu { opacity: 1; transform: none; pointer-events: auto; }
.dd-menu a { display: block; padding: 10px 14px; border-radius: 8px; color: #ddd; text-decoration: none; font-size: 14px; transition: background .18s, color .18s; }
.dd-menu a:hover { background: #26262a; color: var(--amber); }
.dd-menu a span { display: block; font-size: 11.5px; color: #8a8a90; }

/* hamburger */
.burger { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 10px; }
.burger span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; transition: transform .25s var(--ease), opacity .2s; }
.burger.x span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.x span:nth-child(2) { opacity: 0; }
.burger.x span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mnav { display: none; background: #151517; border-top: 1px solid #2c2c30; }
.mnav a { display: block; padding: 15px 32px; color: #ddd; text-decoration: none; font-size: 15px; border-bottom: 1px solid #222226; }
.mnav a.sub { padding-left: 52px; font-size: 14px; color: #aaa; }
.mnav.open { display: block; }

/* ---------- hero (home) ---------- */
.hero { background: #0d0d0f; color: #fff; overflow: hidden; }
.hero .wrap { display: flex; align-items: center; gap: 56px; padding-top: 112px; padding-bottom: 124px; }
.hero-txt { flex: 1.18; }
.kick { color: var(--amber); font-weight: 700; letter-spacing: .22em; font-size: 12px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; }
.kick::before { content: ""; width: 26px; height: 2px; background: var(--amber); }
html[lang="km"] .kick { letter-spacing: .1em; }
.hero h1 { margin: 18px 0 22px; }
.hero p { color: #b9b9bd; font-size: 18px; max-width: 46ch; }
.hero-ctas { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

/* entrance animation (on load, CSS-only) */
@keyframes riseIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.ent { opacity: 0; animation: riseIn .7s var(--ease) forwards; }
.ent.e2 { animation-delay: .12s; } .ent.e3 { animation-delay: .24s; }
.ent.e4 { animation-delay: .36s; } .ent.e5 { animation-delay: .48s; }

.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 4px; font-weight: 700; text-decoration: none; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s, color .2s; }
html[lang="km"] .btn { text-transform: none; letter-spacing: .01em; font-size: 15px; }
.btn svg { width: 16px; height: 16px; transition: transform .22s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn.solid { background: var(--amber); color: var(--ink); }
.btn.solid:hover { background: #ffb63a; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(245,166,35,.25); }
.btn.ghost { border: 0; color: #d3d3d8; padding-left: 6px; padding-right: 6px; background: none; }
.btn.ghost svg { display: none; }
.btn.ghost::after { content: "→"; font-family: "Archivo", sans-serif; transition: transform .22s var(--ease); }
.btn.ghost:hover { color: var(--amber); transform: none; }
.btn.ghost:hover::after { transform: translateX(4px); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(20,20,22,.3); }

.hero-img { flex: 0.88; position: relative; display: flex; justify-content: center; }
.hero-img::before { content: ""; position: absolute; inset: -8% -10%; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 52% 46% at 50% 48%, rgba(245,166,35,.09), transparent 70%); }
.hero-img img.machine { position: relative; z-index: 1; width: 100%; max-width: min(28vw, 420px); display: block;
  filter: drop-shadow(0 36px 48px rgba(0,0,0,.5)); }

/* hairline stat row (replaces the old white chip) */
.statrow { display: flex; margin-top: 46px; }
.statrow > div { padding: 2px 32px; border-left: 1px solid #222226; }
.statrow > div:first-child { padding-left: 0; border-left: 0; }
.statrow b { display: block; font-family: "Archivo Black", sans-serif; font-size: 24px; color: #fff; line-height: 1.2; }
html[lang="km"] .statrow b { font-family: "Archivo Black", "Kantumruy Pro", sans-serif; }
.statrow span { display: block; margin-top: 3px; font-size: 12.5px; color: #8a8a90; letter-spacing: .04em; }

/* ---------- page hero (inner pages) ---------- */
.phero { background: #0d0d0f; color: #fff; overflow: hidden; }
.phero .wrap { padding-top: 84px; padding-bottom: 84px; position: relative; z-index: 1; }
/* oversized outlined fleet number, editorial accent */
.phero .bignum { position: absolute; right: -1.5%; bottom: -7%; z-index: 0; pointer-events: none; user-select: none;
  font-family: "Archivo Black", sans-serif; font-size: clamp(180px, 26vw, 360px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.065); }
.phero.split .wrap { display: flex; align-items: center; gap: 48px; }
.phero.split .txt { flex: 1.15; }
.phero.split .pic { flex: 0.85; position: relative; }
.phero.split .pic .frame { border-radius: 8px; overflow: hidden; box-shadow: 0 26px 64px rgba(0,0,0,.4); }
.phero.split .pic img { transition: transform 1.2s var(--ease); }
.phero.split .pic:hover img { transform: scale(1.03); }
/* frameless cutout variant (transparent machine renders on the dark stage) */
.phero.split .pic.blend { display: flex; justify-content: center; }
.phero.split .pic.blend::before { content: ""; position: absolute; inset: -8% -10%; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 52% 46% at 50% 48%, rgba(245,166,35,.08), transparent 70%); }
.phero.split .pic.blend img { position: relative; z-index: 1; width: 100%; max-width: min(26vw, 390px); display: block;
  filter: drop-shadow(0 36px 48px rgba(0,0,0,.5)); }
.phero h1 { font-size: clamp(36px, 4.6vw, 56px); margin: 16px 0 18px; }
html[lang="km"] .phero h1 { font-size: clamp(30px, 4vw, 48px); }
.phero p.lead { color: #b9b9bd; font-size: 18px; max-width: 52ch; }
.crumb { font-size: 13px; color: #77777d; margin-bottom: 20px; }
.crumb a { color: #9a9aa0; text-decoration: none; transition: color .2s; }
.crumb a:hover { color: var(--amber); }

/* placeholder tile (hot meals photo pending) */
.ph-tile { border-radius: 10px; background: #1a1a1c; border: 1px dashed #333; display: grid; place-items: center; min-height: 400px; color: #555; font-family: "Archivo Black", sans-serif; font-size: 24px; letter-spacing: .06em; text-align: center; line-height: 1.6; }
.ph-tile small { display: block; font-family: "Archivo", sans-serif; font-size: 12px; font-weight: 500; color: #48484d; letter-spacing: .12em; text-transform: uppercase; margin-top: 6px; }
html[lang="km"] .ph-tile small { font-family: "Kantumruy Pro", sans-serif; letter-spacing: .04em; }

/* ---------- marquee strip (hairline ticker) ---------- */
.strip { background: #0d0d0f; color: #6f6f76; font-weight: 600; overflow: hidden; padding: 17px 0; font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; border-top: 1px solid #1e1e22; border-bottom: 1px solid #1e1e22; }
html[lang="km"] .strip { letter-spacing: .08em; font-size: 12.5px; }
.strip .track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.strip .track > span { white-space: nowrap; padding-right: 12px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { padding: 120px 0; }
/* Apple-restraint: decorative elements retired */
.bignum { display: none; }
.strip { display: none; }
.sec-kick { color: var(--amber-deep); font-weight: 700; letter-spacing: .2em; font-size: 12px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; }
.sec-kick::before { content: ""; width: 26px; height: 2px; background: currentColor; }
html[lang="km"] .sec-kick { letter-spacing: .08em; }
.sec-sub { color: var(--grey); font-size: 16.5px; max-width: 62ch; }
.dark { background: var(--ink); color: #fff; }
.dark h2 { color: #fff; }
.dark .sec-kick { color: var(--amber); }
.dark .sec-sub { color: #a8a8ae; }

/* ---------- cards (fleet) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(20,20,22,.1); border-color: #d9d0bc; }
.card .ph { height: 360px; background: #f1f1ee; display: grid; place-items: center; overflow: hidden; }
.card .ph img { height: 100%; width: 100%; object-fit: contain; object-position: center bottom; padding: 30px 30px 0; transition: transform .8s var(--ease); }
.card:hover .ph img { transform: scale(1.03); }
.card .ph.dark-ph { background: #1a1a1c; color: #555; font-family: "Archivo Black", sans-serif; font-size: 22px; }
.card .bd { padding: 26px 28px 30px; }
.card h3 { font-size: 20px; margin-bottom: 6px; }
.card p { color: var(--grey); font-size: 14.5px; }
.card .tagrow { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.card .tag { font-size: 11.5px; font-weight: 600; border: 1px solid #d8d8d4; color: #55555a; border-radius: 20px; padding: 3px 12px; }
.card .more { margin-top: 16px; font-weight: 700; font-size: 14px; color: var(--amber-deep); display: inline-flex; align-items: center; gap: 8px; }
.card .more svg { width: 15px; height: 15px; transition: transform .22s var(--ease); }
.card:hover .more svg { transform: translateX(5px); }

/* spec line on dark heroes — quiet dot-separated text, no pills */
.tagrow.hero-tags { margin-top: 26px; display: flex; gap: 0; flex-wrap: wrap; align-items: baseline; }
.tagrow.hero-tags .tag { font-size: 13px; font-weight: 600; border: 0; color: #8f8f96; border-radius: 0; padding: 0; letter-spacing: .02em; }
.tagrow.hero-tags .tag:not(:first-child)::before { content: "·"; margin: 0 14px; color: #45454b; }

/* ---------- service tiles ---------- */
.svgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.svgrid.two { grid-template-columns: repeat(2, 1fr); }
a.sv, a.ft, a.tr3 { display: block; color: inherit; text-decoration: none; }
.sv { border: 1px solid #2c2c30; border-radius: 10px; padding: 28px 26px; background: rgba(255,255,255,.015); transition: transform .3s var(--ease), border-color .3s, background .3s; }
.sv:hover { transform: translateY(-5px); border-color: rgba(245,166,35,.5); background: rgba(245,166,35,.04); }
.sv .n { font-family: "Archivo Black", sans-serif; color: var(--amber); font-size: 30px; }
.sv b { display: block; margin: 10px 0 6px; font-size: 16.5px; }
.sv p { color: #a8a8ae; font-size: 14px; }
.light .sv { border-color: var(--line); background: #fff; }
.light .sv:hover { border-color: #d9c9a4; background: #fff; box-shadow: 0 18px 44px rgba(20,20,22,.1); }
.light .sv p { color: var(--grey); }

/* ---------- feature grid (machine pages, light) ---------- */
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.ft { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 28px 26px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.ft:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(20,20,22,.1); border-color: #d9c9a4; }
.ft .ic { width: 46px; height: 46px; border-radius: 8px; background: var(--ink); color: var(--amber); display: grid; place-items: center; }
.ft .ic svg { width: 22px; height: 22px; }
.ft b { display: block; margin: 15px 0 6px; font-size: 16.5px; }
.ft p { color: var(--grey); font-size: 14px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.steps.five { grid-template-columns: repeat(5, 1fr); }
.step { position: relative; border-left: 3px solid rgba(245,166,35,.5); padding: 4px 0 4px 20px; transition: border-color .3s; }
.step:hover { border-color: var(--amber); }
.step .sn { font-family: "Archivo Black", sans-serif; font-size: 13px; color: var(--amber-deep); letter-spacing: .12em; }
.dark .step .sn { color: var(--amber); }
.step b { display: block; font-size: 16.5px; margin: 6px 0 4px; }
.step p { color: var(--grey); font-size: 14px; }
.dark .step p { color: #a8a8ae; }

/* ---------- official spec table ---------- */
.spectable-wrap { margin-top: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow-x: auto; }
table.spectable { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spectable th, .spectable td { text-align: left; padding: 13px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spectable tr:last-child th, .spectable tr:last-child td { border-bottom: 0; }
.spectable th { width: 30%; min-width: 170px; font-weight: 700; color: #46464b; background: #f4f4f1; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; font-family: "Archivo", sans-serif; }
html[lang="km"] .spectable th { font-family: "Kantumruy Pro", sans-serif; letter-spacing: .02em; }
.spectable td { color: #333; }
.spec-foot { margin-top: 14px; color: var(--grey); font-size: 13.5px; }

/* ---------- spec note ---------- */
.specnote { margin-top: 48px; border: 1.5px dashed #c9c9c4; border-radius: 10px; padding: 24px 28px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.specnote .badge { background: var(--ink); color: var(--amber); font-family: "Archivo Black", sans-serif; font-size: 12px; letter-spacing: .14em; padding: 8px 14px; border-radius: 8px; text-transform: uppercase; }
html[lang="km"] .specnote .badge { font-family: "Kantumruy Pro", sans-serif; font-weight: 700; letter-spacing: .04em; }
.specnote p { color: var(--grey); font-size: 14.5px; flex: 1; min-width: 260px; }

/* ---------- partner ---------- */
.partner .flex { display: flex; gap: 48px; align-items: center; margin-top: 26px; }
.partner .txt { flex: 1; }
.partner .imgs { flex: 1; display: flex; gap: 16px; align-items: stretch; }
.partner .imgs .frame { flex: 1; min-width: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 16px 44px rgba(20,20,22,.16); }
.partner .imgs img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.partner .imgs .frame:hover img { transform: scale(1.04); }
.partner .maologo { height: 44px; width: auto; margin: 18px 0 10px; }
/* frameless machine cutout inside a light partner band */
.partner .imgs img.cut { width: 58%; margin: 0 auto; display: block; filter: drop-shadow(0 26px 36px rgba(20,20,22,.25)); }
.quotebox { border-left: 4px solid var(--amber); padding: 6px 0 6px 20px; margin-top: 18px; color: var(--grey); font-size: 16.5px; font-style: italic; }
html[lang="km"] .quotebox { font-style: normal; }
.dark .quotebox { color: #b9b9bd; }
.partner ul, ul.dash { margin: 18px 0 0 18px; color: #333; font-size: 15px; }
.partner li, ul.dash li { margin-bottom: 8px; }
.dark ul.dash { color: #b9b9bd; }

/* brand trio */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.tr3 { border: 1.5px solid var(--ink); border-radius: 10px; padding: 26px; background: #fff; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.tr3:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(20,20,22,.12); }
.tr3 b { font-family: "Archivo Black", sans-serif; font-size: 17px; display: block; }
.tr3 span { display: block; margin-top: 8px; color: var(--grey); font-size: 14px; }
.dark .tr3 { background: rgba(255,255,255,.015); border-color: #2c2c30; color: #fff; }
.dark .tr3:hover { border-color: rgba(245,166,35,.5); box-shadow: none; }
.dark .tr3 span { color: #a8a8ae; }

/* ---------- CTA band ---------- */
.ctaband { background: var(--ink); color: #fff; text-align: center; }
.ctaband .phone { font-family: "Archivo Black", sans-serif; font-size: clamp(30px, 3.6vw, 46px); color: var(--amber); letter-spacing: 1px; margin: 10px 0 6px; }
.ctaband .phone a { color: inherit; text-decoration: none; }
.ctaband p { color: #a8a8ae; }
.ctaband .btn { margin-top: 26px; }
.ctaband.deep { background: #111114; }

/* ---------- contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; margin-top: 44px; align-items: start; }
.cinfo .row { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cinfo .ic { width: 46px; height: 46px; flex: none; border-radius: 8px; background: var(--ink); color: var(--amber); display: grid; place-items: center; }
.cinfo .ic svg { width: 21px; height: 21px; }
.cinfo b { display: block; font-size: 16px; }
.cinfo p, .cinfo a.val { color: var(--grey); font-size: 14.5px; text-decoration: none; }
.cinfo a.val { transition: color .2s; }
.cinfo a.val:hover { color: var(--amber-deep); }
.cinfo .big { font-family: "Archivo Black", sans-serif; font-size: 26px; color: var(--ink); letter-spacing: .5px; text-decoration: none; transition: color .2s; }
.cinfo .big:hover { color: var(--amber-deep); }

form.inq { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 34px; box-shadow: 0 24px 64px rgba(20,20,22,.07); }
form.inq h3 { font-size: 20px; margin-bottom: 4px; }
form.inq .hint { color: var(--grey); font-size: 13.5px; margin-bottom: 22px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { margin-bottom: 14px; }
.fld label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #55555a; margin-bottom: 6px; }
html[lang="km"] .fld label { letter-spacing: .02em; }
.fld input, .fld select, .fld textarea {
  width: 100%; border: 1.5px solid #d8d8d4; border-radius: 8px; padding: 12px 14px;
  font-family: inherit; font-size: 15px; background: var(--paper); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245,166,35,.18); }
form.inq button { width: 100%; border: 0; cursor: pointer; font-family: inherit; margin-top: 6px; justify-content: center; }
.form-ok { display: none; margin-top: 14px; background: #f9f1dd; border: 1px solid var(--amber); border-radius: 8px; padding: 12px 16px; font-size: 14px; }
.form-ok.show { display: block; }

/* ---------- prev/next machine nav ---------- */
.mnext { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mnext a { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 22px 26px; text-decoration: none; color: var(--ink); transition: border-color .25s, transform .25s var(--ease), box-shadow .25s var(--ease); }
.mnext a:hover { border-color: var(--amber); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(20,20,22,.1); }
.mnext .dir { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-deep); }
html[lang="km"] .mnext .dir { letter-spacing: .04em; }
.mnext b { display: block; font-family: "Archivo Black", sans-serif; font-size: 19px; margin-top: 6px; }
html[lang="km"] .mnext b { font-family: "Kantumruy Pro", sans-serif; font-weight: 700; }

/* ---------- footer ---------- */
footer.site { background: #0c0c0e; color: #77777d; padding: 72px 0 30px; font-size: 13.5px; border-top: 1px solid #1d1d21; }
.fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 52px; }
.fgrid .flogo { color: #fff; margin-bottom: 12px; }
.fgrid p { max-width: 34ch; }
.fgrid b { color: #c9c9ce; display: block; margin-bottom: 12px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
html[lang="km"] .fgrid b { letter-spacing: .03em; }
.fgrid a { display: block; color: #9a9aa0; text-decoration: none; margin-bottom: 8px; transition: color .2s; }
.fgrid a:hover { color: var(--amber); }
.fbot { border-top: 1px solid #1d1d21; padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fbot a { color: #9a9aa0; text-decoration: none; transition: color .2s; }
.fbot a:hover { color: var(--amber); }

/* ---------- reveal (scroll-sweep, webview-safe: no IntersectionObserver gate) ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; }
.rv.d3 { transition-delay: .24s; } .rv.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .rv, .ent { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .strip .track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .ngroup { display: none; }
  .navgrid { grid-template-columns: 44px 1fr 44px; height: 68px; gap: 0; }
  .navgrid .brand { grid-column: 2; }
  .navgrid .brand-lockup img.brand-logo { height: 21px; }
  .burger { display: block; grid-column: 3; justify-self: end; margin: 0; }
  .topbar .wrap { letter-spacing: .12em; }
  .topbar .wrap > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 12px; }
  .hero .wrap, .partner .flex, .phero.split .wrap { flex-direction: column; align-items: flex-start; }
  .phero.split .pic, .hero-img { width: 100%; }
  .cards, .svgrid, .svgrid.two, .feat, .steps, .steps.five, .trio { grid-template-columns: 1fr; }
  .contact-grid, .fgrid, .mnext, .frow { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .hero .wrap { padding-top: 60px; padding-bottom: 64px; }
  .stat-chip { left: 12px; bottom: 12px; }
}
