/* rubnex.co · tokens from RubNex Brand Kit v1.0. Balance: White 55 · Forest 25 · Cream/Leaf/Charcoal 10. No gold or yellow. */
:root {
  --forest: #134B42; --leaf: #2F7D62; --char: #33393C; --white: #FFFFFF;
  --deep: #0B2F29; --cream: #F6EFDD; --grey: #8A9194;
  --line: #E3E6E4; --mist: #F3F5F4; --ink2: #5B6366; --mint: #9CCBB8;
  --en: 'Plus Jakarta Sans', 'Anuphan', system-ui, sans-serif;
  --th: 'Anuphan', 'Plus Jakarta Sans', system-ui, sans-serif;
  --body: var(--th);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
html[lang="en"] { --body: var(--en); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--char); font-family: var(--body); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.01em; }
html[lang="en"] h1, html[lang="en"] h2 { font-weight: 800; letter-spacing: -0.035em; }
html[lang="en"] h3 { font-weight: 700; letter-spacing: -0.01em; }
.nowrap { white-space: nowrap; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--forest); color: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 1; }

.i { width: 22px; height: 22px; flex: none; }
.i.brand { width: 20px; height: 20px; }

h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.18; color: var(--deep); }
html[lang="en"] h2 { line-height: 1.04; }
.display { font-size: clamp(48px, 7.4vw, 96px); line-height: 1.02; }
.lede { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.6; color: var(--ink2); margin-top: 18px; max-width: 30em; }
.fine { font-size: 13px; color: var(--grey); margin-top: 14px; }
.sec { padding: clamp(88px, 11vw, 150px) 0; position: relative; overflow: hidden; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; background: var(--forest); color: var(--white); text-decoration: none; font-weight: 600; font-size: 16px; transition: background .2s, transform .2s var(--ease); }
.btn:hover { background: var(--leaf); transform: translateY(-1px); }
.btn .i { width: 19px; height: 19px; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-quiet { background: transparent; color: var(--forest); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-quiet:hover { background: var(--mist); box-shadow: inset 0 0 0 1.5px #cfd6d3; }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--leaf); font-weight: 600; text-decoration: none; }
.link .i { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link:hover .i { transform: translateX(3px); }

/* nav: always white, full-colour logo */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.5) blur(12px); transition: box-shadow .3s; }
.nav.solid { box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand svg { height: 34px; width: auto; display: block; }
.links { display: flex; align-items: center; gap: 30px; }
.links a:not(.btn) { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--char); }
.links a:not(.btn):hover { color: var(--leaf); }
.links .lang { font-family: var(--en); font-size: 13px !important; font-weight: 600; color: var(--ink2) !important; }
.links .lang:lang(th) { font-family: var(--th); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; margin-right: -10px; }
.menu-btn span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--forest); border-radius: 2px; transition: transform .25s, top .25s; }
.menu-btn span:nth-child(1) { top: 17px; } .menu-btn span:nth-child(2) { top: 25px; }
.nav.open .menu-btn span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav.open .menu-btn span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* supergraphic: one per layout, tone-on-tone, cropped by an edge */
.sg { position: absolute; pointer-events: none; z-index: 0; }
.sg svg { width: 100%; height: 100%; display: block; }
.sg-hero { right: -14%; top: -6%; width: min(62vw, 760px); height: 118%; }
.sg-bot { left: -8%; top: -30%; width: min(50vw, 600px); height: 170%; opacity: .1; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 132px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--leaf); margin-bottom: 22px; }
.tag .i { width: 17px; height: 17px; }
html[lang="en"] .tag { font-family: var(--en); }
.hero h1 { font-size: clamp(46px, 6.6vw, 88px); line-height: 1.1; color: var(--deep); }
html[lang="en"] .hero h1 { line-height: 1; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.night { margin: 0; background: var(--deep); border-radius: 22px; padding: 22px 22px 16px; box-shadow: 0 30px 60px -30px rgba(11,47,41,.55); }
.field { width: 100%; height: auto; display: block; }
.field .rows line { stroke: rgba(255,255,255,.05); stroke-width: 26; stroke-linecap: round; }
.field .canopy { fill: var(--forest); stroke: rgba(156,203,184,.2); stroke-width: 1; transition: fill .6s; }
.field .trunk { fill: var(--deep); stroke: rgba(255,255,255,.22); stroke-width: 1; }
.field .tap { fill: var(--white); opacity: 0; transition: opacity .5s; }
.field .tree.done .canopy { fill: var(--leaf); }
.field .tree.done .tap { opacity: 1; }
.field .trail { fill: none; stroke: rgba(156,203,184,.45); stroke-width: 1.5; stroke-dasharray: 3 5; }
.field .bot path { fill: var(--white); }
.field .bot circle { fill: var(--deep); }
.night figcaption { display: flex; align-items: center; gap: 18px; margin-top: 12px; font-size: 13px; color: rgba(255,255,255,.6); }
.night-tag { font-family: var(--en); font-weight: 700; color: var(--white); letter-spacing: .02em; }
.dot-done { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; vertical-align: -1px; background: radial-gradient(circle, #fff 0 28%, var(--leaf) 34%); }
.clock { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.clock .i { width: 15px; height: 15px; }
.clock b { font-family: var(--en); font-weight: 600; color: var(--white); font-variant-numeric: tabular-nums; }

.stats { list-style: none; margin: clamp(56px, 7vw, 96px) 0 0; padding: 30px 0 34px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stats li { display: flex; gap: 16px; align-items: flex-start; }
.stats .i { width: 26px; height: 26px; color: var(--leaf); margin-top: 6px; }
.stats b { display: block; font-size: clamp(28px, 3vw, 38px); line-height: 1.15; color: var(--forest); font-weight: 600; }
html[lang="en"] .stats b { font-family: var(--en); font-weight: 800; letter-spacing: -0.03em; }
.stats span { font-size: 15px; color: var(--ink2); }

/* ---------- problem ---------- */
.problem { background: var(--mist); }
.problem-grid { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.problem-photo { margin: 0; }
.problem-photo img { border-radius: 18px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.problem-photo figcaption, .map-wrap figcaption { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--grey); margin-top: 12px; }
.problem-photo figcaption .i, .map-wrap figcaption .i { width: 15px; height: 15px; }
.pains { list-style: none; padding: 0; margin: 48px 0 0; }
.pains li { display: flex; gap: 20px; padding: 26px 0; border-top: 1px solid #dde3e0; }
.pains li:last-child { border-bottom: 1px solid #dde3e0; }
.pains .i { width: 30px; height: 30px; color: var(--leaf); margin-top: 2px; }
.pains h3 { font-size: 21px; color: var(--deep); line-height: 1.35; }
.pains p { color: var(--ink2); margin-top: 2px; }

/* ---------- concept ---------- */
.concept-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.concept .display { color: var(--deep); }
.lede.dark { color: var(--ink2); }
.points { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 18px; }
.points li { display: flex; align-items: center; gap: 14px; font-size: 18px; font-weight: 500; color: var(--deep); }
.points .i { width: 26px; height: 26px; color: var(--leaf); }
.cmp-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 3vw, 32px); }
.cmp-pair figure { margin: 0; }
.trunk { width: 100%; height: auto; display: block; border-radius: 14px; box-shadow: 0 24px 44px -26px rgba(11,47,41,.6); }
.trunk .ridge { stroke: #1d120b; stroke-opacity: .55; stroke-width: 3; transform: translateY(-1.5px); }
.trunk .cut { stroke: #fbfaf5; stroke-width: 2.6; stroke-linecap: round; filter: drop-shadow(0 1px 0 rgba(0,0,0,.25)); }
.trunk .drip { stroke: #fbfaf5; stroke-width: 2.4; stroke-linecap: round; fill: none; }
.trunk polygon, .trunk line { transition: all .55s var(--ease); }
.trunk .hole { opacity: 0; transition: opacity .45s; }
.trunk .hole.on { opacity: 1; }
.trunk .bead { fill: #fbfaf5; }
.trunk .bead-drip { stroke: #fbfaf5; stroke-width: 1.6; stroke-linecap: round; }
.cmp-pair figcaption { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-weight: 600; color: var(--ink2); }
.cmp-pair figcaption.ours { color: var(--forest); }
.cmp-pair figcaption .i { width: 19px; height: 19px; color: var(--grey); }
.cmp-pair figcaption.ours .i { color: var(--leaf); }
.cmp-ctrl { display: flex; align-items: center; gap: 18px; margin-top: 26px; }
.cmp-ctrl output { min-width: 64px; text-align: right; font-weight: 600; color: var(--forest); font-variant-numeric: tabular-nums; }
.concept .fine { text-align: center; }
input[type=range] { -webkit-appearance: none; appearance: none; flex: 1; height: 44px; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(var(--leaf), var(--leaf)) 0 / var(--p, 33%) 100% no-repeat, var(--line); }
input[type=range]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line); }
input[type=range]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--leaf); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: var(--white); border: 2px solid var(--leaf); box-shadow: 0 2px 8px rgba(11,47,41,.2); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 2px solid var(--leaf); }

/* ---------- RubBOT ---------- */
.bot { background: var(--forest); color: var(--white); }
.bot h2 { color: var(--white); }
.bot-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,.75); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(156,203,184,.55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(156,203,184,0); } }
.crew { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(20px, 4vw, 56px); margin-top: 64px; }
.crew-side { display: flex; flex-direction: column; gap: 6px; }
.crew-side.after { align-items: flex-start; }
.crew-tag { font-size: 14px; font-weight: 600; color: var(--mint); }
.before .crew-tag { color: rgba(255,255,255,.55); }
.crew-n { font-family: var(--en); font-weight: 800; letter-spacing: -0.04em; font-size: clamp(64px, 8vw, 104px); line-height: 1; margin: 4px 0 18px; }
.before .crew-n { color: rgba(255,255,255,.38); }
.after .crew-n { color: var(--white); }
.crew-ic { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
.ci { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(156,203,184,.45); color: var(--mint); }
.ci .i { width: 22px; height: 22px; }
.before .ci { opacity: .5; }
.ci.op { background: var(--white); color: var(--forest); box-shadow: none; }
.ci.rb svg path { fill: none; stroke: var(--mint); stroke-width: 1.6; }
.ci.rb svg circle { fill: var(--mint); }
.plus { font-family: var(--en); font-size: 22px; font-weight: 600; color: var(--mint); margin: 0 2px; }
.crew-side b { font-size: 20px; font-weight: 600; }
.after .crew-side b, .after b { color: var(--white); }
.before b { color: rgba(255,255,255,.75); }
.crew-side > span { font-size: 15px; color: rgba(255,255,255,.62); }
.crew-arrow { position: relative; width: 120px; height: 56px; display: grid; place-items: center; }
.crew-arrow::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: repeating-linear-gradient(90deg, rgba(156,203,184,.55) 0 6px, transparent 6px 12px); }
.crew-arrow span { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); box-shadow: inset 0 0 0 1px rgba(156,203,184,.45); color: var(--mint); }
.crew-unit { display: flex; align-items: center; gap: 6px; margin-top: 48px; font-size: 13px; color: rgba(255,255,255,.55); }
.crew-unit .i { width: 15px; height: 15px; }

/* ---------- field gallery ---------- */
.field-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 40px; margin-bottom: 40px; }
.field-head .lede { margin-top: 0; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 15vw, 210px); grid-auto-flow: dense; gap: 10px; }
.ph { margin: 0; position: relative; border-radius: 12px; overflow: hidden; background: var(--mist); }
.ph.c2 { grid-column: span 2; } .ph.r2 { grid-row: span 2; }
.ph button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.ph button:focus-visible { outline: 2px solid var(--leaf); outline-offset: -2px; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.ph:hover img { transform: scale(1.035); }
.ph figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 11px; font-size: 13px; color: var(--white); background: linear-gradient(transparent, rgba(11,47,41,.75)); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; pointer-events: none; }
.ph:hover figcaption, .ph:focus-within figcaption { opacity: 1; transform: none; }
@media (hover: none) { .ph figcaption { opacity: 1; transform: none; } }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8,22,19,.94); color: var(--white); }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 80vh; width: auto; height: auto; border-radius: 10px; }
.lightbox p { font-size: 15px; color: rgba(255,255,255,.8); }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: var(--white); display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-close { top: 18px; right: 18px; } .lb-prev { left: 18px; top: 50%; translate: 0 -50%; } .lb-next { right: 18px; top: 50%; translate: 0 -50%; }

/* ---------- progress ---------- */
.progress { background: var(--mist); }
.progress-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.tl { list-style: none; padding: 0; margin: 44px 0 0; position: relative; }
.tl::before { content: ''; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: #dbe2df; }
.tl li { position: relative; padding: 0 0 26px 40px; }
.tl li:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--mist); border: 2px solid #b9c3bf; }
.tl li.done .tl-dot { background: var(--leaf); border-color: var(--leaf); }
.tl li.now .tl-dot { background: var(--white); border-color: var(--leaf); box-shadow: 0 0 0 5px rgba(47,125,98,.15); }
.tl small { display: block; font-size: 13px; color: var(--grey); }
.tl li.now small { color: var(--leaf); font-weight: 600; }
.tl b { font-size: 19px; font-weight: 600; color: var(--deep); }
.tl li.next b { color: var(--ink2); font-weight: 500; }
.map-wrap { margin: 0; display: flex; flex-direction: column; align-items: center; }
.map { width: min(100%, 420px); height: auto; }
.map .land { fill: var(--white); stroke: #cdd6d2; stroke-width: 1.4; stroke-linejoin: round; }
.map .pin path { fill: var(--forest); }
.map .pin.home path { fill: var(--leaf); }
.map .pin .core { fill: var(--white); }
.map .pin text { font-family: var(--body); font-size: 19px; font-weight: 500; fill: var(--char); }
.map .pulse { fill: var(--leaf); transform-box: fill-box; transform-origin: center; animation: pulse 2.6s infinite; }
@keyframes pulse { 0% { opacity: .35; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.5); } }

/* 12-month plan */
.plan { margin-top: clamp(56px, 7vw, 88px); padding-top: 32px; border-top: 1px solid #dbe2df; }
.plan h3 { font-size: 20px; color: var(--deep); }
.plan ol { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.plan li { position: relative; background: var(--white); border-radius: 14px; padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.plan .q { font-family: var(--en); font-size: 13px; font-weight: 700; color: var(--leaf); letter-spacing: .04em; }
.plan li .i { width: 26px; height: 26px; color: var(--forest); }
.plan b { font-size: 17px; font-weight: 600; color: var(--deep); line-height: 1.45; }

.seeking { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 16px 18px 16px 20px; border-radius: 14px; background: var(--forest); color: var(--white); }
.seeking .i { width: 24px; height: 24px; color: var(--mint); }
.seeking p { font-weight: 600; font-size: 17px; }
.seeking .btn { margin-left: auto; background: var(--white); color: var(--forest); }
.seeking .btn:hover { background: var(--cream); }

/* ---------- team ---------- */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: clamp(24px, 4vw, 56px); margin-top: 48px; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; background: var(--mist); }
.person div { margin-top: 18px; }
.role { font-size: 14px; font-weight: 600; color: var(--leaf); }
.person h3 { font-size: 22px; color: var(--deep); margin-top: 2px; }
.person h3 span { font-weight: 400; color: var(--grey); font-size: 17px; }
.bio { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.bio li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink2); font-size: 15px; line-height: 1.5; }
.bio .i { width: 18px; height: 18px; color: var(--leaf); margin-top: 2px; }
.hiring { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); }
.hiring > p { font-weight: 600; color: var(--deep); }
.hiring ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.hiring li { display: inline-flex; align-items: center; gap: 9px; color: var(--char); }
.hiring li .i { color: var(--leaf); }
.hiring .link { margin-left: auto; }

/* ---------- contact ---------- */
.contact { background: var(--forest); color: var(--white); }
.contact .display { color: var(--white); }
.contact .lede { color: rgba(255,255,255,.75); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.follow-label { margin-top: 48px; font-size: 14px; color: var(--mint); font-weight: 600; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.soc { display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 16px 0 14px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 500; font-family: var(--en); }
.soc.on-dark { color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); transition: background .2s; }
.soc.on-dark:hover { background: rgba(255,255,255,.1); }
.soc .i { width: 18px; height: 18px; }
.crows { border-top: 1px solid rgba(255,255,255,.16); }
.crow { display: flex; align-items: center; gap: 18px; padding: 20px 4px; border-bottom: 1px solid rgba(255,255,255,.16); text-decoration: none; transition: padding .25s var(--ease), background .25s; }
.crow:hover { padding-left: 12px; }
.cic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--white); flex: none; }
.ctx { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.ctx small { font-size: 13px; color: var(--mint); }
.ctx b { font-size: 19px; font-weight: 600; font-family: var(--en); overflow-wrap: anywhere; }
.ctx em { font-style: normal; font-size: 13px; color: rgba(255,255,255,.55); margin-top: 2px; }
.crow .go { margin-left: auto; width: 20px; height: 20px; color: rgba(255,255,255,.5); transition: color .2s, transform .2s var(--ease); }
.crow:hover .go { color: var(--white); transform: translate(2px, -2px); }

/* ---------- footer ---------- */
.foot { background: var(--deep); color: var(--white); padding: 72px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: 40px; }
.foot-logo svg { height: 38px; width: auto; display: block; }
.tagline { margin-top: 18px; color: rgba(255,255,255,.8); font-weight: 300; }
.formerly { margin-top: 8px; font-size: 13px; color: rgba(255,255,255,.5); }
.foot-h { font-size: 13px; font-weight: 600; color: var(--mint); margin-bottom: 10px; letter-spacing: .04em; }
.foot a { color: rgba(255,255,255,.86); text-decoration: none; }
.foot a:hover { color: var(--white); text-decoration: underline; }
.foot p + p { margin-top: 4px; }
.foot-soc { display: flex; gap: 10px; }
.foot-soc a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); transition: background .2s; }
.foot-soc a:hover { background: rgba(255,255,255,.16); }
.foot-soc .i { width: 18px; height: 18px; }
.foot-base { display: flex; justify-content: space-between; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(255,255,255,.5); }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero { padding-top: 112px; }
  .hero-grid, .problem-grid, .concept-grid, .progress-grid, .contact-grid { grid-template-columns: 1fr; }
  .problem-photo { max-width: 520px; }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .plan ol { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .links { position: fixed; inset: 72px 0 auto; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 4px var(--gutter) 24px; box-shadow: 0 16px 24px rgba(11,47,41,.1); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .25s var(--ease); }
  .nav.open .links { opacity: 1; visibility: visible; transform: none; }
  .links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .links .btn { margin-top: 16px; justify-content: center; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand svg { height: 28px; }
  .stats { grid-template-columns: 1fr; gap: 18px; }
  .actions .btn { flex: 1 1 auto; justify-content: center; }
  .night { padding: 14px 14px 12px; border-radius: 18px; }
  .crew { grid-template-columns: 1fr; gap: 28px; margin-top: 44px; }
  .crew-arrow { width: 56px; height: 72px; }
  .crew-arrow::before { left: 50%; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: repeating-linear-gradient(180deg, rgba(156,203,184,.55) 0 6px, transparent 6px 12px); }
  .crew-arrow span { transform: rotate(90deg); width: 48px; height: 48px; }
  .crew-n { margin-bottom: 12px; }
  .ci { width: 40px; height: 40px; } .ci .i { width: 19px; height: 19px; }
  .crew-ic { gap: 7px; margin-bottom: 14px; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .ph.c2 { grid-column: span 2; }
  .people { grid-template-columns: 1fr; gap: 28px; }
  .person { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: start; }
  .person img { border-radius: 14px; }
  .person div { margin-top: 0; }
  .person h3 { font-size: 18px; } .person h3 span { display: block; font-size: 14px; }
  .bio li { font-size: 13.5px; gap: 7px; } .bio .i { width: 15px; height: 15px; }
  .hiring .link { margin-left: 0; }
  .plan ol { grid-template-columns: 1fr; gap: 10px; }
  .plan li { flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; }
  .plan b { font-size: 16px; }
  .seeking { flex-wrap: wrap; padding: 16px; }
  .seeking p { flex: 1 1 200px; font-size: 16px; }
  .seeking .btn { margin-left: 0; width: 100%; justify-content: center; }
  .foot-grid { grid-template-columns: 1fr; }
  .map .pin text { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
html[lang="th"] .concept .display { white-space: nowrap; }
.concept .display { font-size: clamp(48px, 6.6vw, 88px); }
