/* =========================================================
   ARSOCIA — global stylesheet
   ========================================================= */
:root{
  --ink:#0d0f14;
  --ink-2:#1a1d24;
  --paper:#ffffff;
  --soft:#f6f5f1;
  --line:#e6e4de;
  --steel:#6b7280;
  --steel-2:#9a9a92;
  --accent:#002060;
  --accent-deep:#001438;
  --accent-soft:#e4e8f2;
  --gold:#c9a86b;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'IBM Plex Sans','IBM Plex Sans Thai',system-ui,-apple-system,sans-serif;
  color:var(--ink);
  background:var(--paper);
  line-height:1.55;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:none;background:none}

/* hidden off-screen until keyboard-focused, so keyboard/screen-reader users can
   jump past the repeated 8-item nav on every page (WCAG 2.4.1 Bypass Blocks) */
.skip-link{
  position:absolute;top:0;left:12px;transform:translateY(-120%);
  background:var(--accent);color:#fff;
  padding:12px 20px;font-size:14px;font-weight:600;
  border-radius:0 0 6px 6px;z-index:200;
  transition:transform .2s;
}
.skip-link:focus{transform:translateY(0)}

.serif{font-family:'IBM Plex Sans','IBM Plex Sans Thai',system-ui,-apple-system,sans-serif}
.mono{font-family:'JetBrains Mono',ui-monospace,monospace;letter-spacing:.02em}

/* ========== Announcement (floating card in banner) ========== */
.announce{
  position:absolute;
  top:28px; right:6vw;
  z-index:20;
  max-width:400px;
  background:var(--accent);
  color:#fff;
  font-size:13px;
  line-height:1.7;
  padding:18px 42px 18px 20px;
  border-radius:6px;
  display:flex;
  align-items:flex-start;
  gap:12px;
  box-shadow:0 16px 40px rgba(0,0,0,.35);
}
.announce .bell{font-size:15px;margin-top:1px;flex-shrink:0}
.announce p{margin:0;color:#fff}
.announce a{color:#fff;border-bottom:1px solid rgba(255,255,255,.5);padding-bottom:1px;display:inline-block;margin-top:8px;font-weight:600}
.announce a:hover{border-color:#fff}
.announce .close{position:absolute;right:14px;top:14px;color:rgba(255,255,255,.75);font-size:18px;line-height:1}
.announce .close:hover{color:#fff}
@media(max-width:720px){
  /* position:relative, not static - the close button is position:absolute and needs
     .announce as its positioning anchor (otherwise it escapes to .hero and floats
     alone in the corner), and z-index is ignored entirely on static elements, which
     was dropping the whole card behind the hero background/overlay layers */
  /* top:28px/right:6vw from the base rule were meant for position:absolute on desktop -
     position:relative still honors those offsets (unlike static), so without resetting
     them here the card gets shifted up and to the left of its normal margin box */
  .announce{position:relative;top:auto;right:auto;max-width:none;margin:16px;box-shadow:none}
}

/* ========== Navigation ========== */
.nav{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  max-width:1400px;margin:0 auto;
  padding:18px 32px;
  display:flex;align-items:center;justify-content:space-between;gap:32px;
}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;letter-spacing:.14em;font-size:15px}
.brand-logo{height:44px;width:auto;display:block}
.nav-links{display:flex;gap:2px;list-style:none;align-items:center}
.nav-links a{
  padding:10px 14px;font-size:14px;color:#333;
  position:relative;font-weight:500;
  transition:color .2s;
}
.nav-links a:hover{color:var(--accent)}
.nav-links a.active{color:var(--accent)}
.nav-links a.active::after{
  content:"";position:absolute;left:14px;right:14px;bottom:2px;
  height:2px;background:var(--accent);
}
.nav-right{display:flex;align-items:center;gap:16px}
.lang-switch{
  border:1px solid var(--line);border-radius:20px;
  padding:6px 14px;font-size:12px;font-weight:600;letter-spacing:.06em;
  display:flex;gap:6px;align-items:center;
}
.lang-switch:hover{border-color:var(--ink)}
/* ตัวเลือกภาษาแต่ละอัน (TH / EN / JA) */
.lang-switch .globe-icon{flex:none}
.lang-opt{
  background:none;border:0;padding:0;cursor:pointer;
  font:inherit;letter-spacing:inherit;color:var(--steel);
  transition:color .2s;
}
.lang-opt:hover{color:var(--ink)}
.lang-opt.active{color:var(--accent)}
.lang-switch .lang-sep{color:var(--line);user-select:none}
.lang-switch.is-busy{opacity:.5;pointer-events:none}
.nav-toggle{display:none;font-size:24px}

/* ========== Layout containers ========== */
.wrap{max-width:1400px;margin:0 auto;padding:0 32px}
.narrow{max-width:1100px;margin:0 auto;padding:0 32px}
section{padding:96px 0}
.eyebrow{
  font-size:11px;letter-spacing:.24em;text-transform:uppercase;
  color:var(--accent);font-weight:600;
  display:inline-flex;align-items:center;gap:12px;
}
.eyebrow::before{content:"";width:32px;height:1px;background:var(--accent)}
h1,h2,h3{font-family:'IBM Plex Sans','IBM Plex Sans Thai',sans-serif;font-weight:400;line-height:1.1;letter-spacing:-.01em}
h1{font-size:clamp(48px,7vw,96px)}
h2{font-size:clamp(36px,4.5vw,60px);margin-bottom:24px}
h3{font-size:clamp(22px,2vw,28px)}
p{color:#444}

/* ========== Buttons ========== */
.btn{
  display:inline-flex;align-items:center;gap:10px;
  padding:14px 26px;font-size:14px;font-weight:600;letter-spacing:.04em;
  border-radius:0;transition:all .25s;cursor:pointer;
}
.btn-primary{background:var(--accent);color:#fff}
.btn-primary:hover{background:var(--accent-deep);transform:translateY(-2px)}
.btn-outline{border:1px solid var(--ink);color:var(--ink)}
.btn-outline:hover{background:var(--ink);color:#fff}
.btn-ghost{color:var(--ink);border-bottom:1px solid var(--ink);padding:6px 0;border-radius:0}
.btn-ghost:hover{color:var(--accent);border-color:var(--accent)}
.arrow-r::after{content:"→";transition:transform .2s}
.arrow-r:hover::after{transform:translateX(4px)}

/* ========== HERO ========== */
.hero{position:relative;height:calc(100vh - 90px);min-height:640px;overflow:hidden;background:#000}
.hero-slide{
  position:absolute;inset:0;
  background-size:cover;background-position:center;
  opacity:0;transition:opacity 1.2s ease;
}
.hero-slide.active{opacity:1}
.hero-slide::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(120deg,rgba(0,0,0,.7) 0%,rgba(0,0,0,.35) 55%,rgba(0,0,0,.15) 100%);
}
.hero-content{
  position:absolute;left:0;right:0;bottom:0;top:0;
  z-index:2;color:#fff;
  padding:0 6vw 8vw;
  display:flex;flex-direction:column;justify-content:flex-end;
}
.hero-eyebrow{
  font-size:12px;letter-spacing:.32em;text-transform:uppercase;
  opacity:.85;margin-bottom:24px;
  display:flex;align-items:center;gap:14px;
}
.hero-eyebrow::before{content:"";width:40px;height:1px;background:var(--accent)}
/* was the bare h1{font-size:clamp(48px,7vw,96px)} default - too big on wide
   desktop screens where 7vw hits the 96px ceiling, so give the hero its own
   smaller clamp instead of relying on the sitewide h1 size */
.hero h1{color:#fff;max-width:14ch;margin-bottom:32px;font-size:clamp(38px,5vw,72px)}
.hero h1 em{color:var(--accent);font-style:normal}
.hero-sub{font-size:18px;max-width:44ch;opacity:.9;margin-bottom:40px;color:#fff}
/* ไทย/ญี่ปุ่นกินพื้นที่มากกว่าอังกฤษ ถ้าใช้ขนาดเดียวกันหัวเรื่องจะล้นออกนอก hero แล้วโดนตัดหัว
   (hero สูงคงที่ calc(100vh - 90px) + overflow:hidden) จึงลดขนาดเฉพาะสองภาษานี้ */
html[lang="th"] .hero h1,
html[lang="ja"] .hero h1{font-size:clamp(28px,3.6vw,50px);max-width:18ch;line-height:1.25}
html[lang="th"] .hero-sub,
html[lang="ja"] .hero-sub{font-size:17px}
.hero-cta{display:flex;gap:16px;flex-wrap:wrap}
.hero-cta .btn-primary{background:#fff;color:var(--ink)}
.hero-cta .btn-primary:hover{background:var(--accent);color:#fff}
.hero-cta .btn-outline{border-color:#fff;color:#fff}
.hero-cta .btn-outline:hover{background:#fff;color:var(--ink)}
/* slide indicators */
.hero-controls{
  position:absolute;bottom:32px;right:6vw;z-index:3;
  display:flex;align-items:center;gap:16px;
}
.hero-dots{display:flex;gap:10px}
.hero-dots button{
  width:36px;height:2px;background:rgba(255,255,255,.35);
  transition:background .3s;
}
.hero-dots button.active{background:#fff}
/* auto-advancing slideshow needs a real pause control, not just the jump-to-slide
   dots (WCAG 2.2.2 Pause, Stop, Hide) */
.hero-pause{
  width:26px;height:26px;border-radius:50%;flex-shrink:0;
  border:1px solid rgba(255,255,255,.5);color:#fff;
  display:grid;place-items:center;font-size:10px;
  background:rgba(0,0,0,.2);transition:all .2s;
}
.hero-pause:hover{border-color:#fff;background:rgba(0,0,0,.4)}
.hero-meta{
  position:absolute;left:6vw;bottom:32px;z-index:3;color:#fff;
  font-size:12px;letter-spacing:.24em;opacity:.8;text-transform:uppercase;
}

/* ========== Highlight projects (marquee-carousel) ========== */
.marquee{overflow:hidden;position:relative;padding:24px 0;background:var(--soft)}
.marquee-track{
  display:flex;gap:24px;
  animation:scroll 42s linear infinite;
  width:max-content;
}
/* :focus-within (not just :hover) - hover alone leaves keyboard and touch users
   with no way to pause the auto-scroll (WCAG 2.2.2 Pause, Stop, Hide) */
.marquee:hover .marquee-track,.marquee:focus-within .marquee-track{animation-play-state:paused}
.marquee-item{
  width:400px;height:260px;flex-shrink:0;
  background-size:cover;background-position:center;
  position:relative;overflow:hidden;
}
.marquee-item span{
  position:absolute;bottom:16px;left:16px;color:#fff;
  font-size:13px;font-weight:600;letter-spacing:.08em;
  text-shadow:0 2px 8px rgba(0,0,0,.6);
}
@keyframes scroll{
  to{transform:translateX(calc(-50% - 12px))}
}

/* ========== Services teaser grid ========== */
.split{display:grid;grid-template-columns:1fr 1.4fr;gap:80px;align-items:start}
@media(max-width:900px){.split{grid-template-columns:1fr;gap:40px}}

.svc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}
@media(max-width:900px){.svc-grid{grid-template-columns:1fr}}
.svc-card{
  background:var(--paper);padding:40px 32px;
  transition:background .25s;cursor:pointer;
  display:flex;flex-direction:column;gap:20px;
  min-height:320px;
}
.svc-card:hover{background:var(--accent);color:#fff}
.svc-card:hover .svc-num,.svc-card:hover p,.svc-card:hover .go,.svc-card:hover h2{color:#fff}
/* the bullet list has an inline color:#555 (services.html) which beats any plain class rule, needs !important */
.svc-card:hover ul,.svc-card:hover li{color:#fff !important}
.svc-num{font-family:'IBM Plex Sans','IBM Plex Sans Thai',sans-serif;font-size:14px;color:var(--steel);letter-spacing:.12em}
/* these were h3 - promoted to h2 to fix an h1->h3 heading-level skip (this is the
   first heading-level content on the page); font-size restated at the old h3 size
   since the sitewide h2{} rule is much larger and this is a compact card title */
.svc-card h2{margin-top:auto;color:var(--accent);font-size:clamp(22px,2vw,28px);margin-bottom:0}
.svc-card .go{margin-top:16px;font-size:13px;letter-spacing:.12em;text-transform:uppercase;font-weight:600;color:var(--accent)}

/* ========== Stats strip ========== */
.stats{
  display:grid;grid-template-columns:repeat(4,1fr);
  background:var(--accent);color:#fff;
}
@media(max-width:900px){.stats{grid-template-columns:repeat(2,1fr)}}
.stat{padding:56px 32px;border-right:1px solid rgba(255,255,255,.15);text-align:center}
.stat:last-child{border-right:none}
.stat-n{font-family:'IBM Plex Sans','IBM Plex Sans Thai',sans-serif;font-size:56px;line-height:1;font-weight:400}
.stat-n em{color:#fff;font-style:normal}
.stat-l{font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:rgba(255,255,255,.7);margin-top:14px}

/* ========== News cards ========== */
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}
@media(max-width:900px){.news-grid{grid-template-columns:1fr}}
.news-card{background:#fff;transition:transform .25s}
.news-card:hover{transform:translateY(-6px)}
.news-thumb{aspect-ratio:16/10;background-size:cover;background-position:center;background-color:#eee}
.news-body{padding:24px 4px}
.news-date{font-size:12px;color:var(--steel);letter-spacing:.14em;text-transform:uppercase}
.news-title{font-family:'IBM Plex Sans','IBM Plex Sans Thai',sans-serif;font-size:22px;line-height:1.25;margin:12px 0 12px;color:var(--ink)}
.news-excerpt{font-size:14px;color:#555}

/* ========== Footer ========== */
footer{background:#fff;border-top:1px solid var(--line);padding:24px 0}
.foot-mini{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.foot-mini-logo{height:32px;width:auto;display:block}
.foot-mini-link{font-size:12px;color:var(--steel);letter-spacing:.02em}
.foot-mini-link:hover{color:var(--accent)}
.foot-mini-copy{font-size:12px;color:var(--steel);margin-left:auto}
@media(max-width:560px){
  .foot-mini{gap:12px}
  .foot-mini-copy{margin-left:0;width:100%}
}

/* ========== Photo hero (subpages, styled like Sustainability) ========== */
/* Fixed height (not min-height) so every subpage hero is exactly the same size -
   660px is sized for Careers' lead text, the longest of the bunch (~4 lines);
   overflow:hidden is just a safety clamp in case a translation runs longer still */
.photo-hero{
  position:relative;
  height:660px;
  overflow:hidden;
  padding:120px 0;color:#fff;
  display:flex;align-items:center;
  background-size:cover;background-position:center;
}
.photo-hero > .wrap{width:100%}
.photo-hero h1{color:#fff;max-width:20ch}
.photo-hero .eyebrow{color:#fff}
.photo-hero .eyebrow::before{background:#fff}
.cta-dark .eyebrow{color:#fff}
.cta-dark .eyebrow::before{background:#fff}
.cta-dark .btn-primary{background:#fff;color:var(--accent)}
.cta-dark .btn-primary:hover{background:var(--accent-deep);color:#fff}
.photo-hero .lead{color:#e6e6e6;font-size:18px;max-width:56ch;margin-top:24px}

/* ========== Global network grid (Home + About) ========== */
.network-grid{display:grid;gap:1px;background:var(--line);border:1px solid var(--line)}
.network-grid-top{grid-template-columns:repeat(4,1fr);margin-top:40px}
.network-grid-bottom{grid-template-columns:repeat(3,1fr);margin-top:-1px}
@media(max-width:900px){.network-grid-top{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.network-grid-top,.network-grid-bottom{grid-template-columns:1fr}}
.network-item{background:var(--paper);padding:28px 24px;display:flex;flex-direction:column;gap:8px}
.network-item .region{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--steel)}
.network-item strong{font-family:'IBM Plex Sans','IBM Plex Sans Thai',sans-serif;font-weight:500;font-size:18px}
.network-item.featured{background:var(--accent);color:#fff}
.network-item.featured .region{color:rgba(255,255,255,.7)}

/* ========== Fact highlights (Home - illustrated stat cards) ========== */
.fact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:56px}
@media(max-width:900px){.fact-grid{grid-template-columns:1fr;max-width:420px;margin-inline:auto}}
.fact-item{
  background:var(--paper);
  border:1px solid var(--line);
  padding:48px 32px;
  display:flex;flex-direction:column;align-items:center;text-align:center;
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.fact-item:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 48px rgba(0,32,96,.1);
  border-color:transparent;
}

/* ========== Contact / Careers CTA banner (Home) ========== */
.cta-split{display:grid;grid-template-columns:1fr 1fr}
@media(max-width:800px){.cta-split{grid-template-columns:1fr}}
.cta-panel{
  min-height:560px;
  display:flex;align-items:center;
  padding:60px 6vw;
  background-size:cover;background-position:center;
}
/* the two panels stack on mobile - 560px x2 makes this section over 1100px tall,
   dwarfing the actual content, so shrink each panel once they're no longer side by side */
@media(max-width:800px){.cta-panel{min-height:400px;padding:48px 24px}}
.cta-inner{max-width:440px}
.cta-contact .eyebrow{color:#fff}
.cta-contact .eyebrow::before{background:#fff}
.cta-contact h2{color:#fff}
/* text-shadow as a contrast safety margin - this sits over a photo with only a
   semi-transparent dark overlay, so contrast against bright patches of the photo
   can't be guaranteed by color alone */
.cta-contact p{color:rgba(255,255,255,.85);text-shadow:0 1px 3px rgba(0,0,0,.6)}
.cta-phone{
  display:inline-block;margin-top:24px;
  font-family:'IBM Plex Sans','IBM Plex Sans Thai',sans-serif;font-size:22px;color:#fff;
  border-bottom:2px solid rgba(255,255,255,.5);padding-bottom:2px;
}
.cta-phone:hover{border-color:#fff}
.cta-careers{background:var(--accent);color:#fff}
.cta-careers p{color:rgba(255,255,255,.85)}
.cta-careers .btn-ghost{color:#fff;border-color:rgba(255,255,255,.6)}
.cta-careers .btn-ghost:hover{color:#fff;border-color:#fff}
.fact-icon{margin-bottom:24px}
.fact-num{font-family:'IBM Plex Sans','IBM Plex Sans Thai',sans-serif;font-size:48px;font-weight:400;color:var(--accent);line-height:1}
.fact-underline{width:32px;height:2px;background:var(--gold);margin:16px 0}
.fact-label{font-size:13px;letter-spacing:.08em;color:var(--steel);text-transform:uppercase}

.org-tree{display:flex;flex-direction:column;align-items:center;gap:0;padding:40px 0}
.org-node{
  width:160px;height:160px;border-radius:50%;
  background:#fff;border:3px solid var(--accent);
  display:grid;place-items:center;text-align:center;
  padding:20px;font-size:12px;font-weight:600;color:var(--ink);
  line-height:1.3;position:relative;
}
.org-line{width:2px;height:44px;background:var(--accent);opacity:.5}
.org-row{display:flex;gap:60px;position:relative}
.org-row::before{content:"";position:absolute;top:-22px;left:80px;right:80px;height:2px;background:var(--accent);opacity:.5}
/* short vertical stub from the horizontal branch line down to each of the 3 child nodes -
   without this the outer left/right nodes look disconnected, only the horizontal bar shows */
.org-row > div{position:relative}
.org-row > div::before{content:"";position:absolute;top:-22px;left:50%;width:2px;height:22px;background:var(--accent);opacity:.5;transform:translateX(-50%)}

/* ========== Timeline ========== */
.timeline{position:relative;padding:60px 0 20px}
/* .timeline sits outside .wrap so it has no side inset of its own -
   without this the tl-photo images run flush to the section edge
   (most visible on mobile once .tl-card goes full-width) */
.tl-items{position:relative;display:flex;flex-direction:column;max-width:920px;margin:0 auto;padding:0 32px;box-sizing:border-box}
.tl-items::before{content:"";position:absolute;top:0;bottom:0;left:50%;width:2px;background:var(--line);transform:translateX(-50%)}
.tl-item{position:relative;display:flex;padding:32px 0}
.tl-item:nth-child(odd){justify-content:flex-start}
.tl-item:nth-child(even){justify-content:flex-end}
/* 56px, not 48px - the "YEAR ...." badge is ~100px wide (bold text + padding),
   so it needs more than 48px clearance on each side of the center line or it
   overlaps into the card next to it */
.tl-card{width:calc(50% - 56px)}
.tl-card-group{width:100%;display:flex;gap:96px}
.tl-card-group .tl-card{width:auto;flex:1}
.tl-photo{
  aspect-ratio:4/3;background-size:cover;background-position:center;background-color:#ddd;
}
.tl-name{font-family:'IBM Plex Sans','IBM Plex Sans Thai',sans-serif;font-size:15px;margin-top:12px;font-weight:500}
.tl-marker{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2;
}
.tl-year{
  background:var(--accent);color:#fff;padding:8px 16px;font-size:13px;font-weight:700;letter-spacing:.08em;
  clip-path:polygon(0 0,calc(100% - 10px) 0,100% 50%,calc(100% - 10px) 100%,0 100%,10px 50%);
  white-space:nowrap;
}
/* was max-width:700px - everything else on this page (.split, .svc-grid, .wrap padding)
   drops to its mobile layout at 900/960px, so 700-900px was a no-man's-land where the
   timeline still tried to run its 2-column desktop layout (including the 96px card-group
   gap) inside the already-narrowed .wrap - that's what was overflowing. Matching the
   same breakpoint as the rest of the page removes that gap entirely. */
@media(max-width:900px){
  .tl-items{padding:0 20px}
  .tl-items::before{display:none}
  .tl-item,.tl-item:nth-child(odd),.tl-item:nth-child(even){display:block;justify-content:flex-start;padding:20px 0}
  .tl-card{width:100%}
  .tl-card-group{width:100%;flex-direction:column;gap:20px}
  .tl-marker{position:static;transform:none;display:inline-block;margin-bottom:12px}
}

/* ========== Projects filter & grid ========== */
.filter-bar{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:48px;padding-bottom:32px;border-bottom:1px solid var(--line)}
.filter-btn{padding:10px 20px;border:1px solid var(--line);font-size:13px;font-weight:600;letter-spacing:.06em;transition:all .2s}
.filter-btn:hover{border-color:var(--ink)}
.filter-btn.active{background:var(--accent);color:#fff;border-color:var(--accent)}
.proj-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}
@media(max-width:900px){.proj-grid{grid-template-columns:1fr}}
.proj-card{position:relative;overflow:hidden;aspect-ratio:4/3;cursor:pointer}
.proj-card img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.proj-card:hover img{transform:scale(1.06)}
.proj-card::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.75) 0%,transparent 55%)}
.proj-info{position:absolute;bottom:0;left:0;right:0;padding:24px;color:#fff;z-index:2}
.proj-info .type{font-size:11px;letter-spacing:.2em;text-transform:uppercase;opacity:.85}
.proj-info .name{font-family:'IBM Plex Sans','IBM Plex Sans Thai',sans-serif;font-size:22px;margin-top:6px}

/* ========== Sustainability ========== */
.sus-hero{
  position:relative;
  height:660px;
  overflow:hidden;
  padding:120px 0;color:#fff;
  display:flex;align-items:center;
  background:linear-gradient(rgba(0,0,0,.35),rgba(0,0,0,.35)),
             url('https://images.unsplash.com/photo-1628953535333-a64a918181c0?w=1800&q=80') center/cover;
}
.sus-hero > .wrap{width:100%}
.sus-hero h1{color:#fff;max-width:20ch}
.sus-pillars{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);margin-top:60px}
@media(max-width:900px){.sus-pillars{grid-template-columns:1fr}}
.pillar{background:#fff;padding:48px 32px}
.pillar .icon{color:var(--accent);margin-bottom:24px}
.pillar h3{margin-bottom:16px}
.goal-row{display:grid;grid-template-columns:120px 1fr;gap:32px;padding:32px 0;border-top:1px solid var(--line)}
.goal-row:last-child{border-bottom:1px solid var(--line)}
.goal-year{font-family:'IBM Plex Sans','IBM Plex Sans Thai',sans-serif;font-size:36px;color:var(--accent)}

/* ========== News page ========== */
.news-hero-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:32px;margin-bottom:64px}
@media(max-width:900px){.news-hero-grid{grid-template-columns:1fr}}
.news-feature{position:relative;aspect-ratio:16/10;overflow:hidden}
.news-feature img{width:100%;height:100%;object-fit:cover}
.news-feature::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.75),transparent 60%)}
.news-feature .meta{position:absolute;bottom:0;left:0;right:0;padding:32px;color:#fff;z-index:2}
/* was h2 - demoted to h3 to match the "All News" grid cards below, which use
   h3 for the same kind of content (an article preview title); the page's only
   true h2 is the "All News" section label itself */
.news-feature h3{font-size:34px;color:#fff;margin-bottom:8px;font-weight:400}
.news-side{display:flex;flex-direction:column;gap:24px}
.news-mini{display:grid;grid-template-columns:120px 1fr;gap:16px;padding-bottom:24px;border-bottom:1px solid var(--line)}
.news-mini .thumb{aspect-ratio:1;background:#eee;background-size:cover;background-position:center}
/* was h4 - see .news-feature h3 comment above */
.news-mini .info h3{font-family:'IBM Plex Sans','IBM Plex Sans Thai',sans-serif;font-size:16px;line-height:1.3;margin-top:6px;font-weight:700}

/* ========== Careers ========== */
.video-wrap{position:relative;aspect-ratio:16/9;background:var(--ink);overflow:hidden;margin-bottom:60px}
.video-wrap img{width:100%;height:100%;object-fit:cover;opacity:.7}
.play-btn{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:100px;height:100px;border-radius:50%;background:rgba(255,255,255,.95);color:var(--accent);display:grid;place-items:center;font-size:32px;transition:transform .25s}
.play-btn:hover{transform:translate(-50%,-50%) scale(1.08)}
.video-cap{position:absolute;bottom:24px;left:32px;color:#fff;font-size:14px;letter-spacing:.1em;z-index:2}

.jobs{display:flex;flex-direction:column;gap:12px;margin-bottom:32px}
/* .job is a <button> (was a plain, mouse-only-clickable <div>) - width/text-align
   reset since a bare button shrink-wraps and center-aligns its content by default */
.job{
  width:100%;text-align:left;
  background:var(--accent);border:1px solid var(--accent);color:#fff;padding:24px 28px;
  display:flex;justify-content:space-between;align-items:flex-start;gap:20px;
  cursor:pointer;transition:all .25s;
}
/* flex-start (not center) - with align-items:center, a long title that wraps to
   2-3 lines on narrow screens left the plus circle floating mid-paragraph instead
   of sitting next to the title. min-width:0 lets the title actually shrink/wrap
   inside the flex row instead of pushing the circle out of the card. */
.job > div{flex:1;min-width:0}
.job .plus{flex-shrink:0;margin-top:2px}
.job:hover{border-color:var(--accent-deep);background:var(--accent-deep)}
.job-title{font-family:'IBM Plex Sans','IBM Plex Sans Thai',sans-serif;color:#fff;font-size:20px;font-weight:500}
.job-meta{font-size:13px;color:rgba(255,255,255,.7);margin-top:4px;letter-spacing:.06em}
.job .plus{width:32px;height:32px;border:1px solid #fff;border-radius:50%;display:grid;place-items:center;font-size:20px;color:#fff;transition:all .25s}
.job:hover .plus{background:#fff;border-color:#fff;color:var(--accent)}

.form-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;margin-top:24px}
@media(max-width:900px){.form-grid{grid-template-columns:1fr}}
.form-grid .full{grid-column:1/-1}
.form-grid input,.form-grid textarea,.form-grid select{
  width:100%;border:none;border-bottom:1px solid var(--line);
  padding:9px 4px;font:inherit;background:transparent;color:var(--ink);
  transition:border-color .2s;
}
/* outline was suppressed entirely, leaving only a 1px bottom-border color change as
   the focus indicator - too thin/partial to be reliably noticed (WCAG 2.4.7) */
.form-grid input:focus,.form-grid textarea:focus,.form-grid select:focus{border-color:var(--accent);outline:2px solid var(--accent);outline-offset:3px}
.form-grid textarea{min-height:72px;resize:vertical}
.form-grid label{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--steel);display:block;margin-bottom:4px;font-weight:600}
.captcha{padding:12px 18px;border:1px solid var(--line);display:inline-flex;align-items:center;gap:14px;font-size:14px}
.captcha .box{width:22px;height:22px;border:1.5px solid var(--steel)}

/* Modern file upload control */
.form-grid input[type="file"]{
  border:1px dashed var(--line);border-radius:8px;
  padding:10px 14px;background:var(--soft);cursor:pointer;
}
.form-grid input[type="file"]::file-selector-button{
  border:none;border-radius:6px;
  padding:8px 16px;margin-right:14px;
  background:var(--accent);color:#fff;
  font:inherit;font-weight:600;font-size:13px;
  cursor:pointer;transition:background .2s;
}
.form-grid input[type="file"]::file-selector-button:hover{background:var(--ink)}

/* ========== Careers apply section (photo background) ========== */
.apply-hero .eyebrow{color:#fff}
.apply-hero .eyebrow::before{background:#fff}
.apply-hero p{color:rgba(255,255,255,.85);text-shadow:0 1px 3px rgba(0,0,0,.6)}

/* ========== Contact page ========== */
.contact-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:60px}
@media(max-width:900px){.contact-grid{grid-template-columns:1fr}}
.contact-info{padding:0}
.contact-block{padding:28px 0;border-bottom:1px solid var(--line)}
.contact-block:first-child{padding-top:0}
.contact-label{font-size:11px;letter-spacing:.24em;text-transform:uppercase;color:var(--accent);font-weight:600;margin-bottom:10px}
.contact-value{font-family:'IBM Plex Sans','IBM Plex Sans Thai',sans-serif;font-size:22px;color:var(--ink)}
.contact-value a:hover{color:var(--accent)}
.map-box{aspect-ratio:4/3;background:var(--soft);border:1px solid var(--line);position:relative;overflow:hidden}
.map-box iframe{width:100%;height:100%;border:0;filter:grayscale(.4)}

.contact-form-card{background:var(--accent);color:#fff;padding:40px}
.contact-form-card p{color:rgba(255,255,255,.8)}
.contact-form-card .form-grid label{color:rgba(255,255,255,.8)}
.contact-form-card .form-grid input,.contact-form-card .form-grid textarea{color:#fff;border-bottom-color:rgba(255,255,255,.3)}
.contact-form-card .form-grid input:focus,.contact-form-card .form-grid textarea:focus{border-color:#fff;outline:2px solid #fff;outline-offset:3px}
.contact-form-card .btn-primary{background:#fff;color:var(--accent)}
.contact-form-card .btn-primary:hover{background:var(--ink);color:#fff}

/* ========== Mobile ========== */
@media(max-width:960px){
  .nav-inner{padding:14px 20px}
  .nav-links{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;padding:8px 0;border-bottom:1px solid var(--line);max-height:calc(100vh - 72px);overflow-y:auto;counter-reset:navitem}
  .nav-links.open{display:flex}
  .nav-links li{width:100%;border-bottom:1px solid var(--line);counter-increment:navitem}
  .nav-links li:last-child{border-bottom:none}
  .nav-links a{display:flex;align-items:center;gap:14px;padding:18px 20px;font-size:17px;width:100%;text-align:left;transition:background .2s,color .2s}
  /* editorial numbered-list treatment (matches the 01/02/03 numbering used on
     .svc-card elsewhere on the site) instead of the old plain centered links */
  /* var(--steel-2) #9a9a92 on white is only ~2.8:1 - fails WCAG AA (needs 4.5:1
     for normal text); var(--steel) is the same muted tone but passes at ~5:1 */
  .nav-links a::before{content:counter(navitem,decimal-leading-zero);font-size:12px;font-weight:600;letter-spacing:.08em;color:var(--steel)}
  .nav-links a.active::before{color:var(--accent)}
  .nav-links a:hover,.nav-links a:active{background:var(--soft)}
  .nav-links a.active{background:var(--accent-soft);font-weight:600}
  /* the desktop .nav-links a.active::after rule draws an absolute-positioned
     underline bar - reset every box property it sets (same selector specificity,
     later in source wins) and repurpose ::after as a trailing arrow instead */
  .nav-links a::after{content:"→";margin-left:auto;color:var(--accent);font-size:15px;opacity:0;transform:translateX(-6px);transition:opacity .2s,transform .2s}
  .nav-links a.active::after{content:"→";position:static;left:auto;right:auto;bottom:auto;height:auto;background:none;margin-left:auto;color:var(--accent);font-size:15px;opacity:1;transform:none}
  .nav-links a:hover::after{opacity:1;transform:none}
  .nav-toggle{display:block}
  section{padding:64px 0}
  .wrap,.narrow{padding:0 20px}
  h1{font-size:44px}
  .hero{min-height:560px}
  .hero-content{padding:0 20px 96px}
  /* shrink hero text/buttons so more of the background photo shows through on mobile -
     the html[lang="th"/"ja"] .hero h1/.hero-sub rules outrank a plain .hero h1 rule
     (higher specificity), so they're repeated here to actually win at this breakpoint */
  .hero-eyebrow{font-size:11px;margin-bottom:16px}
  .hero h1,
  html[lang="th"] .hero h1,
  html[lang="ja"] .hero h1{font-size:30px;max-width:none;line-height:1.2;margin-bottom:16px}
  .hero-sub,
  html[lang="th"] .hero-sub,
  html[lang="ja"] .hero-sub{font-size:14px;margin-bottom:24px}
  .hero-cta .btn{padding:10px 18px;font-size:13px}
  /* the two CTA buttons (Contact Us / View Our Projects) are ~336px combined,
     right at the wrap threshold on a 375px phone - once wrapped to 2 rows they
     were landing right on top of hero-meta below them, so drop that decorative
     label on mobile instead of trying to keep chasing the collision */
  .hero-meta{display:none}
  /* min-height (not height) on mobile - narrower viewports wrap the longer lead
     paragraphs (Careers, About) to noticeably more lines than desktop, and a strict
     height + overflow:hidden would silently clip that text instead of growing */
  .photo-hero,.sus-hero{padding:64px 0;height:auto;min-height:560px}
  /* the 560px min-height above is sized for the longest lead text on the site
     (Careers/About) - Sustainability's lead is much shorter, so flex align-items:center
     was padding out the leftover space, making the hero's effective top/bottom gap
     far bigger than the other sections' plain 64px padding. Drop it here so the hero
     sizes to its own content + padding, matching every other section on this page. */
  .sus-hero{min-height:0}

  /* Inline style="grid-template-columns:..." on these elements (about/sustainability/contact
     pages) has higher specificity than a plain class rule, so it survives past this breakpoint
     unless forced back to one column here. */
  .split,.svc-grid,.form-grid{grid-template-columns:1fr !important}

  /* Keep the 3 children side-by-side like desktop (not stacked in one column) so the
     "one parent branching into 3 siblings" structure still reads clearly - just shrink
     the row's own circles enough for 3 to fit across a phone screen. The solo parent
     circles (KAJIMA CORPORATION / KAPH) are unaffected, still 132px from the rule below. */
  .org-row{gap:10px}
  .org-row::before{left:50px;right:50px}
  .org-row > div::before{top:-22px;height:22px}
  .org-row .org-node{width:100px;height:100px;padding:8px;font-size:9px}
  .org-node{width:132px;height:132px;padding:14px;font-size:11px}

  .marquee-item{width:280px;height:190px}

  .captcha{flex-wrap:wrap;row-gap:8px}

  .goal-row{grid-template-columns:80px 1fr;gap:20px}
}

@media(max-width:480px){
  .stats{grid-template-columns:1fr}
  .stat{border-right:none;border-bottom:1px solid rgba(255,255,255,.15)}
  .stat:last-child{border-bottom:none}
}
