/* =========================================================
   Việt Mỹ — Interior & Construction
   Light luxury palette · ivory / stone / champagne bronze
   ========================================================= */
:root {
  --bg: #F6F2EA;
  --paper: #FFFDF9;
  --sand: #EEE7DB;
  --stone: #D8CDBC;
  --ink: #1B1A17;
  --ink-2: #3A3630;
  --muted: #776E62;
  --gold: #A6814C;
  --gold-2: #C7A673;
  --gold-dark: #8A6A3B;
  --line: rgba(27, 26, 23, .12);
  --line-strong: rgba(27, 26, 23, .22);
  --night: #171613;
  --night-2: #211F1B;

  /* accent palette — muted, architectural */
  --c-terra: #BD303B;
  --c-green: #14804A;
  --c-blue: #246BB1;
  --c-gold: #A6814C;
  --on-ink: #FFFDF9;
  --on-gold: #FFFFFF;
  --header-bg: rgba(248, 245, 238, .9);
  --lm-scrolled-g: #C7A673;
  --logo-text: #323232;
  --logo-sub: #4A4843;
  --infra-1: #0E2833;
  --infra-2: #12384A;

  --f-serif: "Noto Serif Display", "Didot", "Bodoni 72", Georgia, serif;
  --f-display: var(--f-serif);
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 4.6vw, 64px);
  --maxw: 1360px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

/* ---------- Dark theme ---------- */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #121110;
  --paper: #181715;
  --sand: #1F1D1A;
  --stone: #423B33;
  --ink: #EFE9DF;
  --ink-2: #D3CBBF;
  --muted: #A1988B;
  --gold: #C3A06A;
  --gold-2: #D7BC8A;
  --gold-dark: #D2B07A;
  --line: rgba(239, 233, 223, .12);
  --line-strong: rgba(239, 233, 223, .26);
  --night: #0B0B0A;
  --c-terra: #F0828A;
  --c-green: #6DCCA0;
  --c-blue: #7FB9EF;
  --c-gold: #D7BC8A;
  --on-ink: #121110;
  --on-gold: #14130F;
  --header-bg: rgba(20, 19, 17, .86);
  --lm-scrolled-g: #A6814C;
  --logo-text: #FFFFFF;
  --logo-sub: rgba(255,255,255,.78);
  --infra-1: #0A1D25;
  --infra-2: #0D2B37;
}
html:lang(zh-CN) {
  --f-display: "Noto Serif SC", "Noto Serif Display", "Songti SC", serif;
  --f-body: "Manrope", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; font-variant-numeric: lining-nums; }
body {
  margin: 0;
  background: var(--bg);
  transition: background-color .5s var(--ease), color .5s var(--ease);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
figure { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold-2); color: var(--ink); }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 3px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 22px;
}
.eyebrow::before { content: none; }
.eyebrow--light { color: var(--gold-2); }
.hero .eyebrow { margin-bottom: 18px; }
html:lang(zh-CN) .eyebrow { letter-spacing: .3em; font-size: 13px; }

.h2 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(31px, 3.7vw, 54px);
  line-height: 1.16;
  letter-spacing: -.012em;
  color: var(--ink);
}
.h2, .hero__title, .modal__title, .commit__title, .svc h3, .pcard__title { text-wrap: balance; }
.lead, .hero__lead, .leader__quote, .section-head__aside { text-wrap: pretty; }
.h2 em, .hero__title em, .leader__quote em { font-style: italic; color: var(--gold); font-weight: 300; }
html:lang(zh-CN) .h2 { font-weight: 600; letter-spacing: .02em; line-height: 1.3; font-size: clamp(28px, 3.3vw, 48px); }
html:lang(zh-CN) .h2 em, html:lang(zh-CN) .hero__title em { font-style: normal; }

.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.7; color: var(--ink-2); font-weight: 300; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 30px;
  font-size: 12.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: 0;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  white-space: nowrap;
}
html:lang(zh-CN) .btn { letter-spacing: .12em; font-size: 14px; }
.btn--gold { background: var(--gold); color: var(--on-gold); }
.btn--gold:hover { background: var(--gold-dark); }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: #1B1A17; border-color: #fff; }
.btn--line { border-color: var(--line-strong); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); background: var(--ink); color: var(--on-ink); }
.btn--block { width: 100%; }
.text-btn { font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.text-btn:hover { color: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 34px;
  font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
  padding-bottom: 6px; border-bottom: 1px solid var(--line-strong);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.link-arrow svg { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.link-arrow:hover { color: var(--gold-dark); border-color: var(--gold); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: #fff;
  transition: background-color .45s var(--ease), color .45s var(--ease), height .45s var(--ease), box-shadow .45s var(--ease);
}
.header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255,255,255,.16); transition: background .45s var(--ease); }
.header.is-scrolled {
  --header-h: 72px;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  backdrop-filter: saturate(140%) blur(16px);
  color: var(--ink);
}
.header.is-scrolled::after { background: var(--line); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { --lm-t: #FFFFFF; --lm-s: rgba(255,255,255,.82); display: inline-flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand__mark { width: 88px; height: 34px; flex-shrink: 0; }
.brand__mark path { transform-box: fill-box; transform-origin: 50% 50%; transform: scale(.955); }
.lg-g { fill: #009136; }
.lg-r { fill: #D62730; }
.lg-t { fill: var(--lm-t); transition: fill .45s var(--ease); }
.header.is-scrolled .brand, .is-menu-open .header .brand { --lm-t: var(--logo-text); --lm-s: var(--logo-sub); }
.brand--light { --lm-t: #FFFFFF; --lm-s: rgba(255,255,255,.78); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { display: block; width: 150px; height: 22px; }
.brand__sub { margin-top: 6px; font-size: 7.6px; font-weight: 600; letter-spacing: .215em; text-transform: uppercase; color: var(--lm-s); white-space: nowrap; transition: color .45s var(--ease); }

.theme-btn { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; opacity: .9; transition: background-color .3s, opacity .3s; }
.theme-btn:hover { opacity: 1; background: rgba(128, 128, 128, .16); }
.theme-btn .ico { grid-area: 1 / 1; width: 20px; height: 20px; transition: transform .6s var(--ease-out), opacity .35s var(--ease); }
.ico--sun { opacity: 0; transform: rotate(-90deg) scale(.5); }
:root[data-theme="dark"] .ico--sun { opacity: 1; transform: none; }
:root[data-theme="dark"] .ico--moon { opacity: 0; transform: rotate(90deg) scale(.5); }

.nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); }
.nav > a {
  position: relative; font-size: 14px; font-weight: 400; letter-spacing: .02em; padding: 6px 0;
  opacity: .92; transition: opacity .3s;
}
.nav > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-2);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav > a:hover, .nav > a.is-current { opacity: 1; }
.nav > a:hover::after, .nav > a.is-current::after { transform: scaleX(1); transform-origin: left; }
.header.is-scrolled .nav > a::after { background: var(--gold); }
.nav__mobile-extra { display: none; }

.header__tools { display: flex; align-items: center; gap: 16px; }
.flag { display: inline-block; width: 20px; height: 15px; flex-shrink: 0; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.lang-dd { position: relative; }
.lang-dd__btn {
  display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 2px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .12em; opacity: .92; transition: opacity .3s;
}
.lang-dd__btn:hover, .lang-dd__btn[aria-expanded="true"] { opacity: 1; }
.lang-dd__btn .chev { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .35s var(--ease); }
.lang-dd__btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.lang-dd__menu {
  position: absolute; top: calc(100% + 10px); right: -10px; min-width: 210px; padding: 8px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line);
  box-shadow: 0 24px 60px -20px rgba(27,26,23,.3);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.lang-dd.is-open .lang-dd__menu { opacity: 1; visibility: visible; transform: none; }
.lang-dd__menu button {
  width: 100%; display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 12px;
  padding: 11px 12px; font-size: 14px; text-align: left; letter-spacing: 0; transition: background-color .25s;
}
.lang-dd__menu button:hover, .lang-dd__menu button:focus-visible { background: var(--bg); outline: none; }
.lang-dd__menu small { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; color: var(--muted); }
.lang-dd__menu button[aria-checked="true"] { color: var(--gold-dark); font-weight: 600; }
.lang-dd__menu button[aria-checked="true"] small { color: var(--gold); }
.lang { display: inline-flex; align-items: center; gap: 2px; }
.lang button {
  position: relative; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500; letter-spacing: .1em; padding: 6px 9px; opacity: .6;
  transition: opacity .3s;
}
.lang button[aria-pressed="true"] { opacity: 1; }
.lang button[aria-pressed="true"]::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 0; height: 1px; background: currentColor; }
.lang button:hover { opacity: 1; }
.lang button + button::before { content: ""; position: absolute; left: -1px; top: 50%; width: 1px; height: 10px; margin-top: -5px; background: currentColor; opacity: .3; }

.header__phone {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px;
  border: 1px solid rgba(255,255,255,.45); font-size: 14px; font-weight: 500; letter-spacing: .04em;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.header__phone svg { width: 17px; height: 17px; }
.header__phone:hover { background: #fff; color: #1B1A17; border-color: #fff; }
.header.is-scrolled .header__phone { border-color: var(--gold); color: var(--ink); }
.header.is-scrolled .header__phone:hover { background: var(--gold); color: var(--on-gold); }

.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.4px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; color: #fff; overflow: hidden; background: var(--night); }
.hero__media, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1.6s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 9s linear; }
.hero__slide.is-active img { transform: scale(1); }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,11,9,.55) 0%, rgba(12,11,9,0) 20%),
    radial-gradient(110% 80% at 12% 78%, rgba(12,11,9,.72) 0%, rgba(12,11,9,.38) 42%, rgba(12,11,9,0) 72%),
    linear-gradient(90deg, rgba(12,11,9,.45) 0%, rgba(12,11,9,.12) 45%, rgba(12,11,9,0) 65%),
    linear-gradient(0deg, rgba(12,11,9,.7) 0%, rgba(12,11,9,.2) 34%, rgba(12,11,9,0) 58%);
}
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-top: var(--header-h); padding-bottom: 150px; }
.hero__title {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(34px, 4.3vw, 64px); line-height: 1.12; letter-spacing: -.015em;
}
.hero__title { color: #FFFDF8; text-shadow: 0 2px 30px rgba(0,0,0,.35), 0 1px 2px rgba(0,0,0,.25); }
.hero__title em { color: #EBCF97; font-weight: 400; text-shadow: 0 2px 26px rgba(0,0,0,.5), 0 1px 2px rgba(0,0,0,.35); }
.hero__lead, .hero .eyebrow { text-shadow: 0 1px 14px rgba(0,0,0,.45); }
.hero .eyebrow { color: #E2C48E; }
html:lang(zh-CN) .hero__title { font-weight: 600; line-height: 1.3; letter-spacing: .03em; font-size: clamp(32px, 4vw, 58px); }
.hero__lead { margin-top: 20px; max-width: 480px; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.75; font-weight: 300; color: rgba(255,255,255,.88); }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 34px; gap: 24px; }
.hero__tabs { display: grid; grid-template-columns: repeat(6, minmax(90px, 150px)); gap: 18px; }
.hero__tab { position: relative; display: flex; align-items: baseline; gap: 10px; white-space: nowrap; padding: 16px 0 0; text-align: left; font-size: 13px; letter-spacing: .06em; color: rgba(255,255,255,.62); transition: color .3s; }
.hero__tab:hover, .hero__tab.is-active { color: #fff; }
.hero__num { font-family: var(--f-serif); font-size: 14px; letter-spacing: .08em; }
.hero__tab i { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: rgba(255,255,255,.3); overflow: hidden; }
.hero__tab i::after { content: ""; position: absolute; inset: 0; background: var(--gold-2); transform: scaleX(0); transform-origin: left; }
.hero__tab.is-active i::after { animation: heroProgress var(--hero-dur, 6.5s) linear forwards; }
.hero.is-paused .hero__tab.is-active i::after { animation-play-state: paused; }
@keyframes heroProgress { to { transform: scaleX(1); } }
.hero__scroll { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.hero__scroll i { position: relative; width: 1px; height: 48px; background: rgba(255,255,255,.3); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: #fff; animation: scrollCue 2.2s var(--ease) infinite; }
@keyframes scrollCue { to { top: 100%; } }

/* Hero intro animation */
.js .hero__content > * { opacity: 0; transform: translateY(28px); }
.js .is-ready .hero__content > * { opacity: 1; transform: none; transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out); }
.js .is-ready .hero__content > *:nth-child(2) { transition-delay: .12s; }
.js .is-ready .hero__content > *:nth-child(3) { transition-delay: .26s; }
.js .is-ready .hero__content > *:nth-child(4) { transition-delay: .38s; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--paper); padding: 26px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee span { font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: clamp(21px, 2vw, 28px); color: var(--ink-2); padding: 0 28px; white-space: nowrap; }
html:lang(zh-CN) .marquee span { font-style: normal; font-size: clamp(20px, 2vw, 28px); }
.marquee b { color: var(--gold); font-size: 13px; font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(96px, 11vw, 168px); }
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 40px 64px; margin-bottom: clamp(48px, 6vw, 84px); }
.section-head__aside { max-width: 460px; justify-self: end; font-size: 16.5px; line-height: 1.75; }
.section-head--light .h2 { color: #F5F0E7; }
.section-head--light .section-head__aside { color: rgba(245,240,231,.7); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- About ---------- */
.about { background: var(--bg); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 120px); align-items: center; }
.about__text .lead { margin-top: 34px; }
.about__text .muted { margin-top: 20px; font-size: 16px; max-width: 560px; }
.about__visual { position: relative; padding: 0 0 72px 64px; }
.about__main { aspect-ratio: 4 / 5; overflow: hidden; }
.about__main img { width: 100%; height: 100%; object-fit: cover; }
.about__inset { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 10px solid var(--bg); overflow: hidden; }
.about__inset img { width: 100%; height: 100%; object-fit: cover; }
.about__tag {
  position: absolute; right: -6px; top: 40px; writing-mode: vertical-rl; transform: rotate(180deg) translateX(-100%);
  font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--muted);
}

.stats { margin-top: clamp(72px, 9vw, 128px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 36px 28px 0 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: 28px; }
.stat:last-child { border-right: 0; }
.stat { --c: var(--c-gold); }
.stat:nth-child(1) { --c: var(--c-terra); } .stat:nth-child(2) { --c: var(--c-green); } .stat:nth-child(3) { --c: var(--c-blue); }
.stat::before { content: ""; display: block; width: 28px; height: 2px; margin-bottom: 24px; background: var(--c); }
.stat dt { font-family: var(--f-serif); font-size: clamp(42px, 4vw, 58px); line-height: 1; color: var(--c); font-weight: 300; }
.stat dd { margin: 16px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); max-width: 230px; }

/* ---------- Services ---------- */
.services { background: var(--paper); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 28px); }
.svc { --c: var(--c-gold); }
.svc--blue { --c: var(--c-blue); } .svc--terra { --c: var(--c-terra); } .svc--green { --c: var(--c-green); } .svc--gold { --c: var(--c-gold); }
.svc__link {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--bg); border: 1px solid var(--line);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .4s var(--ease);
}
.svc__link:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c) 40%, var(--line)); box-shadow: 0 34px 60px -38px rgba(0, 0, 0, .45); }
.svc__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease-out); }
.svc__link:hover .svc__media img { transform: scale(1.06); }
.svc__badge {
  position: relative; z-index: 1; align-self: flex-start; margin: -30px 0 0 28px;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c); color: #fff; box-shadow: 0 0 0 6px var(--bg);
  transition: transform .6s var(--ease-out);
}
:root[data-theme="dark"] .svc__badge { color: #121110; }
.svc__link:hover .svc__badge { transform: rotate(-8deg) scale(1.04); }
.svc__badge .ico { width: 28px; height: 28px; }
.svc__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 22px 30px 30px; }
.svc__num { position: absolute; top: -18px; right: 30px; font-family: var(--f-serif); font-size: 15px; color: var(--muted); }
.svc h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(22px, 1.75vw, 26px); line-height: 1.28; color: var(--ink); }
html:lang(zh-CN) .svc h3 { font-size: 22px; font-weight: 600; }
.svc p { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.svc__more { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--c); }
.svc__more .ico { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.svc__link:hover .svc__more .ico { transform: translate(3px, -3px); }

/* ---------- Sectors ---------- */
.sectors { background: var(--bg); }
.sectors__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.sector-list { counter-reset: s; border-top: 1px solid var(--line); }
.sector { border-bottom: 1px solid var(--line); }
.sector__btn { width: 100%; display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; padding: 22px 0; text-align: left; }
.sector__idx { font-family: var(--f-serif); font-size: 16px; color: var(--muted); transition: color .3s; }
.sector__name { font-family: var(--f-display); font-weight: 300; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.18; color: var(--ink-2); transition: color .4s var(--ease), transform .5s var(--ease); }
html:lang(zh-CN) .sector__name { font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; }
.sector__arrow { width: 26px; height: 26px; color: var(--gold); opacity: 0; transform: translateX(-12px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.sector.is-active .sector__name, .sector__btn:hover .sector__name { color: var(--ink); transform: translateX(8px); }
.sector.is-active .sector__name { font-style: italic; }
html:lang(zh-CN) .sector.is-active .sector__name { font-style: normal; color: var(--gold-dark); }
.sector.is-active .sector__idx { color: var(--gold); }
.sector.is-active .sector__arrow, .sector__btn:hover .sector__arrow { opacity: 1; transform: none; }
.sector__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.sector__body > * { min-height: 0; overflow: hidden; }
.sector__body img { display: none; }
.sector__body p { padding-left: 64px; color: var(--muted); font-size: 15.5px; }
.sector.is-active .sector__body { grid-template-rows: 1fr; }
.sector.is-active .sector__body p { padding-bottom: 24px; }

.sector-stage { position: sticky; top: 110px; }
.sector-stage__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.sector-stage__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .9s var(--ease), transform 1.6s var(--ease-out); }
.sector-stage__frame img.is-active { opacity: 1; transform: scale(1); }
.sector-stage__caption { margin-top: 18px; font-size: 14.5px; color: var(--muted); padding-left: 16px; border-left: 1px solid var(--gold); min-height: 1.7em; }

/* ---------- Projects ---------- */
.projects { background: var(--paper); }
.section-head--projects { grid-template-columns: auto 1fr; }
.filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.chip {
  height: 42px; padding: 0 20px; border: 1px solid var(--line-strong); font-size: 13.5px; letter-spacing: .02em; color: var(--ink-2);
  transition: all .35s var(--ease);
}
.chip { display: inline-flex; align-items: center; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 10px; background: var(--d); flex-shrink: 0; }
.dot--residential { --d: var(--c-terra); } .dot--commercial { --d: var(--c-gold); } .dot--public { --d: var(--c-green); } .dot--infra { --d: var(--c-blue); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }

.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.pcard { position: relative; grid-column: span 6; height: clamp(340px, 38vw, 560px); overflow: hidden; background: var(--sand); color: #fff; text-align: left; isolation: isolate; }
.pcard.w-7 { grid-column: span 7; }
.pcard.w-5 { grid-column: span 5; }
.pcard.w-4 { grid-column: span 4; height: clamp(300px, 30vw, 460px); }
.pcard.w-12 { grid-column: span 12; }
.pcard.w-6 { grid-column: span 6; }
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); z-index: -2; }
.pcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,13,11,.82) 0%, rgba(14,13,11,.45) 30%, rgba(14,13,11,0) 62%); transition: opacity .5s; }
.pcard:hover img, .pcard:focus-visible img { transform: scale(1.05); }
.pcard__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(22px, 2.4vw, 36px); display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.pcard { --cc: #E6CC9E; }
.pcard[data-cat="residential"] { --cc: #EBA588; } .pcard[data-cat="public"] { --cc: #9ED3B5; } .pcard[data-cat="infra"] { --cc: #A3CBEB; }
.pcard__cat { display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--cc); margin-bottom: 10px; }
.pcard__cat::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cc); }
.pcard__title { display: block; text-shadow: 0 1px 18px rgba(0,0,0,.25); font-family: var(--f-display); font-size: clamp(22px, 2vw, 30px); line-height: 1.2; font-weight: 400; }
html:lang(zh-CN) .pcard__title { font-weight: 600; font-size: clamp(22px, 2vw, 30px); }
.pcard__loc { display: block; margin-top: 8px; font-size: 13.5px; color: rgba(255,255,255,.78); }
.pcard__plus { flex-shrink: 0; width: 50px; height: 50px; border: 1px solid rgba(255,255,255,.5); display: grid; place-items: center; transition: background .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease); }
.pcard__plus svg { width: 18px; height: 18px; }
.pcard:hover .pcard__plus { background: var(--gold); border-color: var(--gold); transform: rotate(90deg); }
.pcard.is-hidden { display: none; }
.projects__more { margin-top: clamp(36px, 4vw, 56px); display: flex; justify-content: center; }
.projects__more .btn { gap: 12px; }
.projects__count { font-family: var(--f-serif); letter-spacing: .04em; color: var(--gold); text-transform: none; font-size: 15px; }
.pcard.is-entering { animation: cardIn .8s var(--ease-out) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px); } }

/* ---------- Infrastructure ---------- */
.infra { background: linear-gradient(180deg, var(--infra-1) 0%, var(--infra-2) 100%); color: #F5F0E7; position: relative; overflow: hidden; }
.infra::before { content: ""; position: absolute; inset: 0; background: radial-gradient(1100px 620px at 88% 0%, rgba(120, 180, 220, .16), transparent 62%), radial-gradient(900px 520px at 0% 100%, rgba(166, 129, 76, .12), transparent 60%); pointer-events: none; }
.infra .container { position: relative; }
.infra__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(40px, 5vw, 88px); align-items: start; }
.infra__hero { position: relative; }
.infra__hero img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.infra__hero figcaption, .infra__strip figcaption { margin-top: 14px; font-size: 13.5px; color: rgba(245,240,231,.68); letter-spacing: .02em; }
.infra__hero figcaption { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.infra__tag { display: inline-block; padding: 4px 11px; border: 1px solid rgba(163, 203, 235, .5); border-radius: 99px; color: #A3CBEB; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.infra__list { border-top: 1px solid rgba(245,240,231,.16); }
.infra__list li { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 26px 0; border-bottom: 1px solid rgba(245,240,231,.14); }
.infra__list li > span { font-family: var(--f-serif); font-size: 17px; color: #A3CBEB; padding-top: 4px; }
.infra__list h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(20px, 1.6vw, 24px); line-height: 1.25; color: #F5F0E7; }
html:lang(zh-CN) .infra__list h3 { font-size: 21px; font-weight: 600; }
.infra__list p { margin-top: 8px; font-size: 15px; color: rgba(245,240,231,.66); line-height: 1.7; }
.infra__strip { margin-top: clamp(56px, 6vw, 88px); display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.2vw, 32px); }
.infra__strip figure { overflow: hidden; }
.infra__strip img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.infra__strip figure:hover img { transform: scale(1.04); }

/* ---------- Process ---------- */
.process { background: var(--bg); }
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border-top: 1px solid var(--line); counter-reset: step; }
.step { --c: var(--c-gold); position: relative; padding: 40px 24px 8px 0; }
.step:nth-child(4n+1) { --c: var(--c-blue); } .step:nth-child(4n+2) { --c: var(--c-terra); } .step:nth-child(4n+3) { --c: var(--c-gold); } .step:nth-child(4n) { --c: var(--c-green); }
.step + .step { padding-left: 24px; border-left: 1px solid var(--line); }
.step::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.step + .step::before { left: -4px; }
.step__n { display: block; font-family: var(--f-serif); font-weight: 300; font-size: 40px; line-height: 1; color: var(--stone); margin-bottom: 24px; transition: color .4s; }
.step:hover .step__n { color: var(--c); }
.step h3 { font-family: var(--f-display); font-weight: 400; font-size: 19px; line-height: 1.25; color: var(--ink); }
html:lang(zh-CN) .step h3 { font-size: 19px; font-weight: 600; }
.step p { margin-top: 12px; font-size: 14.5px; color: var(--muted); line-height: 1.7; }

.commit { margin-top: clamp(72px, 8vw, 120px); background: var(--paper); border: 1px solid var(--line); padding: clamp(32px, 4vw, 64px); display: grid; grid-template-columns: 280px 1fr; gap: 40px; }
.commit__title { font-family: var(--f-display); font-weight: 300; font-size: clamp(27px, 2.4vw, 36px); line-height: 1.15; }
html:lang(zh-CN) .commit__title { font-weight: 600; font-size: 30px; }
.commit__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.commit h4 { font-size: 15px; font-weight: 600; letter-spacing: .04em; color: var(--ink); padding-top: 18px; border-top: 2px solid var(--c, var(--gold)); }
.commit__grid > div:nth-child(1) { --c: var(--c-blue); } .commit__grid > div:nth-child(2) { --c: var(--c-terra); } .commit__grid > div:nth-child(3) { --c: var(--c-gold); } .commit__grid > div:nth-child(4) { --c: var(--c-green); }
.commit p { margin-top: 10px; font-size: 14.5px; color: var(--muted); line-height: 1.7; }

/* ---------- Leader ---------- */
.leader { background: var(--sand); overflow: hidden; }
.leader__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(48px, 7vw, 120px); align-items: center; }
.leader__portrait { position: relative; max-width: 500px; }
.leader__portrait::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 1px solid var(--gold); z-index: 0; }
.leader__portrait img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #d9d7d3; }
.leader__mark { display: block; width: 52px; height: 40px; fill: var(--gold-2); margin-bottom: 26px; }
.leader__quote { margin: 0; font-family: var(--f-display); font-size: clamp(23px, 2.3vw, 35px); line-height: 1.45; color: var(--ink); font-weight: 300; }
html:lang(zh-CN) .leader__quote { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.7; }
.leader__sign { margin-top: 44px; display: flex; flex-direction: column; gap: 6px; padding-left: 20px; border-left: 1px solid var(--gold); }
.leader__name { font-family: var(--f-serif); font-style: italic; font-weight: 300; font-size: 27px; line-height: 1.1; color: var(--ink); }
.leader__role { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.journey { margin-top: clamp(56px, 7vw, 96px); }
.journey__label { display: flex; align-items: center; gap: 18px; margin: 0 0 22px; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.journey__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.2vw, 18px); }
.journey__item { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 5; background: #d9d7d3; }
.journey__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.journey__item:hover img { transform: scale(1.05); }
.journey__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 12px 11px; font-size: 12px; line-height: 1.35; color: #fff; background: linear-gradient(0deg, rgba(10,10,9,.72) 0%, rgba(10,10,9,0) 100%); }
@media (max-width: 1024px) { .journey__row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .journey__row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px; } .journey__item { flex: 0 0 62%; scroll-snap-align: start; } }

/* ---------- People ---------- */
.people { background: var(--bg); }
.people__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(170px, 16.5vw, 250px); grid-auto-flow: dense; gap: clamp(12px, 1.4vw, 20px); }
.ppl { position: relative; overflow: hidden; background: var(--sand); }
.ppl img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.ppl:hover img { transform: scale(1.04); }
.ppl figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 18px 15px; font-size: 13px; line-height: 1.45; color: #fff; background: linear-gradient(0deg, rgba(10,10,9,.74) 0%, rgba(10,10,9,0) 100%); }
.ppl--xl { grid-column: span 2; grid-row: span 2; }
.ppl--tall { grid-row: span 2; }
.ppl--wide { grid-column: span 2; }
.ppl--full { grid-column: 1 / -1; }

/* ---------- Contact ---------- */
.footer__since { margin: 22px 0 0; font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); }
/* ecosystem */
.eco { background: var(--sand); --lm-t: var(--logo-text); }
.eco__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.eco__item { display: flex; align-items: center; justify-content: center; padding: clamp(28px, 3.4vw, 48px) clamp(20px, 3vw, 44px); background: var(--paper); transition: background .45s var(--ease); }
.eco__item:hover { background: var(--bg); }
.eco__logo { display: block; width: 100%; max-width: 270px; height: auto; transition: transform .6s var(--ease-out); }
.eco__item:hover .eco__logo { transform: translateY(-3px); }
.eco__item--self { background: var(--bg); box-shadow: inset 0 -2px 0 var(--gold); }
@media (max-width: 720px) { .eco__grid { grid-template-columns: repeat(2, 1fr); } .eco__item:last-child { grid-column: span 2; } .eco__logo { max-width: 190px; } }
.contact { background: var(--paper); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(48px, 7vw, 120px); align-items: start; }
.contact__info .muted { margin-top: 24px; max-width: 460px; font-size: 16.5px; }
.contact__hotline { display: block; margin-top: 48px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact__label { display: block; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-dark); }
.contact__big { display: block; margin-top: 6px; font-family: var(--f-serif); font-weight: 300; font-size: clamp(36px, 3.8vw, 56px); line-height: 1.05; color: var(--ink); transition: color .3s; }
.contact__hotline:hover .contact__big { color: var(--gold); }
.contact__list { margin: 0; }
.contact__list > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.contact__list dt { color: var(--muted); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding-top: 2px; }
.contact__list dd { margin: 0; color: var(--ink); }
.contact__list dd a { display: inline-flex; align-items: center; gap: 10px; }
.app-ico { width: 22px; height: 22px; flex-shrink: 0; border-radius: 6px; }
.btn .app-ico { width: 20px; height: 20px; margin-right: 10px; border-radius: 5px; }
.contact__list a:hover { color: var(--gold-dark); }

.contact__card { background: var(--bg); border: 1px solid var(--line); padding: clamp(28px, 3.6vw, 56px); }
.form { display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; }
html:lang(zh-CN) .field label { letter-spacing: .08em; font-size: 13px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; padding: 10px 0 12px;
  transition: border-color .3s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 104px; line-height: 1.6; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--gold); }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; margin-top: -7px; border-right: 1px solid var(--ink-2); border-bottom: 1px solid var(--ink-2); transform: rotate(45deg); pointer-events: none; }
.select select { padding-right: 28px; cursor: pointer; }
.field__err { display: none; font-size: 12.5px; color: #A2412F; }
.field.is-invalid input { border-bottom-color: #A2412F; }
.field.is-invalid .field__err { display: block; }
.form .btn { margin-top: 10px; }
.form__note { font-size: 13px; color: var(--muted); text-align: center; }

.sent { text-align: center; padding: 24px 0; }
.sent:focus { outline: none; }
.sent__icon { width: 64px; height: 64px; margin: 0 auto 24px; fill: none; stroke: var(--gold); stroke-width: 1.2; }
.sent h3 { font-family: var(--f-display); font-weight: 300; font-size: 32px; }
.sent .muted { margin: 12px auto 0; max-width: 380px; }
.sent__actions { margin: 32px 0 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: rgba(245,240,231,.72); padding-top: clamp(72px, 8vw, 112px); }
.brand--light { color: #F5F0E7; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 72px; }
.footer__company { margin-top: 28px; color: #F5F0E7; font-size: 15px; }
.footer__desc { margin-top: 8px; font-size: 14.5px; max-width: 360px; line-height: 1.75; }
.footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; }
.footer__col h3 { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); font-weight: 500; margin-bottom: 8px; }
.footer__col a { transition: color .3s; width: fit-content; }
.footer__col a:hover { color: #fff; }
.lang--footer { margin-top: 10px; margin-left: -9px; color: #F5F0E7; flex-wrap: wrap; }
.lang--footer .flag { width: 18px; height: 13.5px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 28px; padding-right: calc(var(--gutter) + 72px); border-top: 1px solid rgba(245,240,231,.12); font-size: 13px; }
.footer__top-link:hover { color: #fff; }

/* ---------- FAB ---------- */
.fab { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 90; display: flex; flex-direction: column; gap: 10px; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab__btn { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(27,26,23,.18); transition: transform .3s var(--ease); }
.fab__btn:hover { transform: translateY(-3px); }
.fab__btn--zalo { background: transparent; border-radius: 15px; overflow: hidden; }
.fab__btn--zalo img { width: 100%; height: 100%; display: block; }
.fab__btn--call { background: var(--gold); color: var(--on-gold); position: relative; }
.fab__btn--call svg { width: 22px; height: 22px; }
.fab__btn--call::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--gold); animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- Modal ---------- */
.modal { width: min(1280px, calc(100vw - 48px)); max-width: none; height: min(820px, calc(100vh - 48px)); max-height: none; padding: 0; border: 0; background: var(--paper); color: var(--ink); overflow: hidden; }
.modal::backdrop { background: rgba(18,17,14,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[open] { animation: modalIn .6s var(--ease-out); }
.modal[open]::backdrop { animation: fadeIn .5s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.985); } }
@keyframes fadeIn { from { opacity: 0; } }
.modal__inner { position: relative; display: grid; grid-template-columns: 1.65fr 1fr; height: 100%; }
.modal__gallery { position: relative; background: var(--night); overflow: hidden; min-height: 0; }
.modal__slides { position: absolute; inset: 0; }
.modal__slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--ease); }
.modal__slides img.is-active { opacity: 1; }
.modal__nav { position: absolute; top: 50%; margin-top: -26px; width: 52px; height: 52px; display: grid; place-items: center; color: #fff; background: rgba(18,17,14,.35); border: 1px solid rgba(255,255,255,.35); transition: background .3s; }
.modal__nav:hover { background: var(--gold); border-color: var(--gold); }
.modal__nav svg { width: 22px; height: 22px; }
.modal__nav--prev { left: 20px; }
.modal__nav--next { right: 20px; }
.modal__count { position: absolute; left: 24px; bottom: 20px; color: #fff; font-family: var(--f-serif); font-size: 15px; letter-spacing: .1em; }
.modal__info { padding: clamp(36px, 4vw, 64px) clamp(28px, 3.4vw, 52px); overflow-y: auto; display: flex; flex-direction: column; }
.modal__title { font-family: var(--f-display); font-weight: 300; font-size: clamp(28px, 2.5vw, 38px); line-height: 1.18; }
html:lang(zh-CN) .modal__title { font-weight: 600; font-size: 32px; }
.modal__desc { margin-top: 22px; color: var(--ink-2); font-size: 16px; line-height: 1.75; font-weight: 300; }
.modal__meta { margin: 30px 0 36px; border-top: 1px solid var(--line); }
.modal__meta > div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.modal__meta dt { color: var(--muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding-top: 2px; }
.modal__meta dd { margin: 0; }
.modal__info .btn { margin-top: auto; align-self: flex-start; }
.modal__close { position: absolute; top: 16px; right: 16px; z-index: 3; width: 46px; height: 46px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); transition: background .3s, color .3s; }
.modal__close:hover { background: var(--ink); color: var(--on-ink); }
.modal__close svg { width: 20px; height: 20px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .header__phone span { display: none; }
  .header__phone { padding: 0; width: 44px; justify-content: center; }
  .nav { gap: 20px; }
  .nav > a { font-size: 13.5px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step:nth-child(4) { border-left: 0; padding-left: 0; }
  .step:nth-child(4)::before { left: 0; }
  .step:nth-child(n+4) { margin-top: 32px; border-top: 1px solid var(--line); }
  .commit { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px;
    padding: 96px var(--gutter) 40px;
    background: var(--bg); color: var(--ink);
    opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
  }
  .nav > a { font-family: var(--f-display); font-weight: 300; font-size: clamp(28px, 5.2vw, 38px); line-height: 1.25; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  html:lang(zh-CN) .nav > a { font-size: 28px; }
  .nav > a::after { display: none; }
  .nav__mobile-extra { display: block; margin-top: 28px; opacity: 0; transition: opacity .5s var(--ease) .3s; }
  .is-menu-open .nav { opacity: 1; visibility: visible; }
  .is-menu-open .nav > a { opacity: 1; transform: none; }
  .is-menu-open .nav > a:nth-child(2) { transition-delay: .04s; }
  .is-menu-open .nav > a:nth-child(3) { transition-delay: .08s; }
  .is-menu-open .nav > a:nth-child(4) { transition-delay: .12s; }
  .is-menu-open .nav > a:nth-child(5) { transition-delay: .16s; }
  .is-menu-open .nav > a:nth-child(6) { transition-delay: .2s; }
  .is-menu-open .nav > a:nth-child(7) { transition-delay: .24s; }
  .is-menu-open .nav__mobile-extra { opacity: 1; }
  .is-menu-open .header { color: var(--ink); background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .is-menu-open .header::after { background: var(--line); }
  .is-menu-open .header__phone { border-color: var(--gold); }

  .section-head, .section-head--projects { grid-template-columns: 1fr; align-items: start; }
  .section-head__aside { justify-self: start; }
  .filters { justify-content: flex-start; }
  .about__grid, .sectors__grid, .infra__grid, .leader__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__visual { max-width: 640px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n+3) { margin-top: 0; padding-top: 32px; border-top: 1px solid var(--line); }
  .stat { padding-bottom: 32px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .sector-stage { display: none; }
  .sector__body img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin: 4px 0 16px; }
  .sector__body p { padding-left: 0; }
  .leader__portrait { max-width: 420px; margin-right: 28px; }
  .people__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(150px, 30vw, 260px); }
  .infra__strip { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .modal__inner { grid-template-columns: 1fr; grid-template-rows: 46% 1fr; }
}

@media (max-width: 360px) {
  .brand__sub { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .header__tools { gap: 4px; }
  .theme-btn { width: 38px; height: 38px; }
  .header__phone { display: none; }
  .brand__mark { width: 75px; height: 29px; }
  .brand__name { width: 129px; height: 19px; }
  .brand__sub { font-size: 6.5px; margin-top: 5px; }
  .hero { min-height: 600px; }
  .hero__shade { background: linear-gradient(0deg, rgba(12,11,9,.88) 0%, rgba(12,11,9,.62) 52%, rgba(12,11,9,.22) 78%, rgba(12,11,9,.45) 100%); }
  .eyebrow { letter-spacing: .18em; font-size: 11px; gap: 10px; }
  .hero__content { padding-bottom: 150px; justify-content: flex-end; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__bar { flex-direction: column; align-items: stretch; padding-bottom: 26px; }
  .hero__tabs { grid-template-columns: repeat(6, 1fr); gap: 8px; }
  .hero__label { display: none; }
  .hero__tab { font-size: 12px; flex-direction: column; gap: 2px; }
  .hero__scroll { display: none; }
  .about__visual { padding: 0 0 56px 36px; }
  .about__tag { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat, .stat + .stat { padding-left: 0; padding-right: 16px; }
  .stat:nth-child(2), .stat:nth-child(4) { padding-left: 16px; }
  .svc-grid { grid-template-columns: 1fr; }
  .sector__btn { grid-template-columns: 40px 1fr auto; padding: 18px 0; }
  .project-grid { grid-template-columns: 1fr; }
  .pcard, .pcard.w-4, .pcard.w-5, .pcard.w-6, .pcard.w-7, .pcard.w-12 { grid-column: 1 / -1; height: auto; aspect-ratio: 4 / 5; }
  .steps { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line); }
  .step, .step + .step { padding: 0 0 36px 28px; border-left: 0; margin-top: 0 !important; border-top: 0 !important; }
  .step::before, .step + .step::before, .step:nth-child(4)::before { left: -4px; top: 10px; }
  .step__n { font-size: 34px; margin-bottom: 12px; }
  .commit__grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .field-row { grid-template-columns: 1fr; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
  .contact__list > div { grid-template-columns: 96px 1fr; }
  .people__grid { grid-auto-rows: 42vw; gap: 10px; }
  .ppl figcaption { padding: 36px 12px 10px; font-size: 12px; }
  .infra__strip { grid-template-columns: 1fr; gap: 28px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: span 2; }
  .footer__col:last-child { grid-column: span 2; }
  .modal { width: 100vw; height: 100dvh; max-height: 100dvh; }
  .modal__inner { grid-template-rows: 40% 1fr; }
  .modal__nav { width: 44px; height: 44px; margin-top: -22px; }
  .modal__nav--prev { left: 12px; } .modal__nav--next { right: 12px; }
  .modal__close { top: 12px; right: 12px; }
  .fab__btn { width: 50px; height: 50px; }
}

@media (max-width: 420px) {
  .brand { gap: 10px; }
  .brand__mark { width: 65px; height: 25px; }
  .brand__name { width: 115px; height: 17px; }
  .brand__sub { font-size: 5.8px; margin-top: 4px; }
  .commit__grid { grid-template-columns: 1fr; }
  .infra__strip { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .hero__content > * { opacity: 1; transform: none; }
}
/* Brand accents: colour carries the service hierarchy. */
.hero__title { font-size: clamp(36px, 4.6vw, 66px); max-width: 1000px; line-height: 1.18; }
.hero__title em { font-size: .78em; }
.about__text .eyebrow, .about__text .link-arrow { color: var(--c-green); }
.about__mission { padding-left: 20px; border-left: 3px solid var(--c-green); }
.services .eyebrow, .people .eyebrow { color: var(--c-terra); }
.process .eyebrow, .contact .eyebrow { color: var(--c-blue); }
.svc__link { border-top: 3px solid var(--c); }
.svc__body { background: color-mix(in srgb, var(--c) 5%, var(--bg)); }
.marquee b:nth-of-type(3n+1) { color: var(--c-green); }
.marquee b:nth-of-type(3n+2) { color: var(--c-terra); }
.marquee b:nth-of-type(3n) { color: var(--c-blue); }
.footer__company { text-transform: uppercase; letter-spacing: .03em; }
.footer__brand { border-top: 3px solid #14804A; padding-top: 22px; }
.footer__col:nth-child(2) h3 { color: #F0828A; }
.footer__col:nth-child(3) h3 { color: #6DCCA0; }
.footer__col:nth-child(4) h3 { color: #7FB9EF; }
.mechanized { margin-top: clamp(48px, 6vw, 80px); }
.mechanized__head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; margin-bottom: 28px; }
.mechanized__head h3 { margin: 0; font-family: var(--f-display); font-size: clamp(28px, 3vw, 40px); line-height: 1.3; font-weight: 400; }
.mechanized__head p { margin: 0; color: rgba(245,240,231,.8); font-size: 15px; }
.mechanized__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mechanized__card { --service-accent: #6DCCA0; background: rgba(255,255,255,.05); border-top: 3px solid var(--service-accent); }
.mechanized__card--water { --service-accent: #7FB9EF; }
.mechanized__card--machine { --service-accent: #F0828A; }
.mechanized__card figure { position: relative; }
.mechanized__card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.mechanized__card figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 12px 8px; color: #fff; background: linear-gradient(transparent, rgba(10,20,25,.8)); font-size: 11px; }
.mechanized__body { padding: 24px; }
.mechanized__body h4 { margin: 0 0 12px; font-size: 20px; line-height: 1.4; color: var(--service-accent); font-weight: 600; }
.mechanized__body p { margin: 0; font-size: 14px; color: rgba(245,240,231,.8); }
.image-credits { margin-top: 22px; font-size: 11px; color: rgba(245,240,231,.72); }
.image-credits a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .mechanized__grid { grid-template-columns: 1fr; } .mechanized__card { display: grid; grid-template-columns: 1fr 1fr; } .mechanized__card img { height: 100%; } }
@media (max-width: 560px) { .mechanized__head, .mechanized__card { grid-template-columns: 1fr; gap: 16px; } .hero__title { font-size: clamp(29px, 7.3vw, 40px); } .mechanized__body { padding: 22px; } }
.mechanized__duo { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.mechanized__duo img { height: 100%; min-height: 200px; aspect-ratio: 3 / 4; }
.image-credits summary { cursor: pointer; }
.about .h2 { font-size: clamp(34px, 3.2vw, 48px); }
.company-identity { margin: 28px 0 24px; }
.company-identity p { margin: 0 0 8px; font-size: 13px; line-height: 1.7; font-weight: 650; letter-spacing: .06em; }
.company-identity p:first-child { color: var(--c-green); }
.company-identity p:last-child { color: var(--muted); font-size: 12px; }
.btn--gold { background: var(--gold-dark); color: #FFFDF9; }
.sector__idx, .sector.is-active .sector__idx, .projects__count { color: var(--gold-dark); }
.sector__body p { color: var(--ink-2); }
:root[data-theme="dark"] .btn--gold { color: #14130F; }
/* Curated people gallery: aligned portraits, paired landscapes, a separate panoramic album. */
.people__grid--curated { grid-template-columns: repeat(6,minmax(0,1fr)); grid-auto-rows: auto; grid-auto-flow: row; gap: 30px 24px; }
.people__grid--curated .ppl { grid-column: span 3; grid-row: auto; background: transparent; overflow: visible; }
.people__grid--curated .ppl--portrait { grid-column: span 2; }
.people__grid--curated .ppl img { height: auto; aspect-ratio: 3/2; object-fit: cover; }
.people__grid--curated .ppl--portrait img { aspect-ratio: 2/3; object-position: 50% 40%; }
.people__grid--curated .ppl figcaption { position: static; padding: 14px 0 0; color: var(--muted); background: none; font-size: 12px; }
.people__grid--curated .ppl:hover img { transform: none; }
.people-film { margin-top: 48px; }
.people-film__head { display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px; }
.people-film__head p { font-size:12px;color:var(--c-green);font-weight:600; }
.people-film__head>div { display:flex;gap:10px; }
.people-film__head button { width:40px;height:40px;border:1px solid var(--line);font-size:20px; }
.people-film__head button:hover { background:var(--sand); }
.people-film__track { display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin; }
.people-film__track .ppl { flex:0 0 100%;scroll-snap-align:start;background:transparent; }
.people-film__track img { width:100%;height:auto;aspect-ratio:auto;object-fit:contain; }
.people-film__track figcaption { position:static;color:var(--muted);background:none;padding:14px 0 16px; }
.people-film__track .ppl:hover img { transform:none; }
.leader__profile { margin-top:28px;color:var(--c-green); }
@media(max-width:700px){.people__grid--curated { grid-template-columns:1fr 1fr;gap:24px 16px; }.people__grid--curated .ppl { grid-column:span 2; }.people__grid--curated .ppl--portrait { grid-column:span 1; }.people__grid--curated .ppl--portrait:first-child { grid-column:span 2; }.people__grid--curated .ppl--portrait:first-child img { aspect-ratio:3/4; }.people-film__head { align-items:flex-start; }.people-film__head p { max-width:230px; }.people-film__head>div { flex-shrink:0; }.people-film__track img { min-height:160px;object-fit:contain; }}
.people-portraits { display:grid;grid-template-columns:1.095fr .591fr .8fr;gap:24px;margin-bottom:30px;align-items:start; }
.people-portraits .ppl { background:transparent;overflow:visible; }
.people-portraits img { width:100%;height:auto;object-fit:contain; }
.people-portraits .ppl figcaption { position:static;background:none;color:var(--muted);padding:14px 0 0;font-size:12px; }
.people-portraits .ppl:hover img { transform:none; }
.people__grid--curated .ppl:nth-child(-n+2) img { aspect-ratio:16/9;object-fit:contain;background:var(--sand); }
@media(max-width:700px){.people-portraits { grid-template-columns:1fr 1fr;gap:24px 16px; }.people-portraits .ppl:first-child { grid-column:1/-1; }.people-portraits .ppl:not(:first-child) img { aspect-ratio:2/3;object-fit:cover; }.people__grid--curated .ppl:nth-child(-n+2) img { aspect-ratio:auto; }}

/* ---------- Style filters & region badge ---------- */
.filters--style { justify-content: flex-start; align-items: center; margin: -28px 0 clamp(28px, 3vw, 40px); }
.filters__label { white-space: nowrap; flex-shrink: 0; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-right: 10px; }
.chip--rg img { width: 20px; height: 15px; margin-right: 9px; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.pcard__rg { position: absolute; top: clamp(16px, 1.8vw, 24px); left: clamp(16px, 1.8vw, 24px); display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; font-size: 12px; letter-spacing: .04em; color: #fff; background: rgba(14,13,11,.42); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.22); }
.pcard .pcard__rg img { position: static; inset: auto; z-index: auto; width: 18px; height: 13px; object-fit: cover; transform: none; }

/* ---------- Global atlas ---------- */
.atlas { background: var(--bg); overflow: hidden; }
.atlas__tabs { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-strong); margin-bottom: clamp(32px, 4vw, 56px); }
.atlas__tab { position: relative; display: flex; align-items: center; gap: 12px; padding: 22px 6px 20px 0; background: none; border: 0; text-align: left; font-size: 15px; color: var(--muted); transition: color .35s var(--ease); }
.atlas__tab::before { content: ""; position: absolute; left: 0; right: 14px; top: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.atlas__tab img { width: 22px; height: 16px; object-fit: cover; box-shadow: 0 0 0 1px var(--line); filter: grayscale(.6); transition: filter .35s; }
.atlas__tab-no { font-size: 11px; letter-spacing: .14em; color: var(--gold); font-weight: 600; }
.atlas__tab:hover, .atlas__tab.is-active { color: var(--ink); }
.atlas__tab:hover img, .atlas__tab.is-active img { filter: none; }
.atlas__tab.is-active::before { transform: scaleX(1); }
.atlas__panel { display: grid; grid-template-columns: 1.18fr 1fr; gap: clamp(32px, 4.4vw, 72px); align-items: start; }
.atlas__media { display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: 1fr 1fr; gap: clamp(10px, 1.2vw, 16px); height: clamp(520px, 48vw, 720px); }
.atlas__media figure { position: relative; overflow: hidden; margin: 0; background: var(--sand); }
.atlas__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.atlas__media figure:hover img { transform: scale(1.04); }
.atlas__main { grid-row: span 2; }
.atlas__media figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 18px 15px; color: #fff; font-size: 13px; line-height: 1.45; background: linear-gradient(0deg, rgba(10,10,9,.72), rgba(10,10,9,0)); display: flex; flex-direction: column; gap: 4px; }
.atlas__kind { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: #E2C48E; font-weight: 600; }
.atlas__coord { position: absolute; top: 16px; left: 16px; padding: 6px 10px; font-size: 11px; letter-spacing: .12em; color: #fff; background: rgba(14,13,11,.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-variant-numeric: tabular-nums; }
.atlas__cities { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 18px; }
.atlas__cities img { width: 26px; height: 19px; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.atlas__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 3vw, 44px); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 20px; text-wrap: balance; }
html:lang(zh-CN) .atlas__title { font-weight: 600; }
.atlas__text { color: var(--muted); font-size: 16px; line-height: 1.8; margin: 0 0 28px; text-wrap: pretty; }
.atlas__label { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); margin: 0 0 12px; }
.atlas__dna { list-style: none; padding: 0; margin: 0 0 30px; counter-reset: dna; border-top: 1px solid var(--line); }
.atlas__dna li { counter-increment: dna; display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.atlas__dna li::before { content: "0" counter(dna); font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--gold); padding-top: 4px; }
.atlas__projects { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 26px; }
.atlas__proj { display: flex; align-items: center; gap: 12px; padding: 8px; background: var(--paper); border: 1px solid var(--line); text-align: left; transition: border-color .3s var(--ease), transform .4s var(--ease-out); }
.atlas__proj:hover { border-color: var(--gold); transform: translateY(-2px); }
.atlas__proj img { width: 64px; height: 64px; object-fit: cover; flex-shrink: 0; }
.atlas__proj b { display: block; font-weight: 600; font-size: 14px; line-height: 1.3; }
.atlas__proj small { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.atlas__all { background: none; border-width: 0 0 1px; padding-left: 0; padding-right: 0; font: inherit; cursor: pointer; }
.atlas__stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line-strong); }
.atlas__stats div { padding: 26px 20px 0 0; display: flex; align-items: baseline; gap: 16px; }
.atlas__stats b { font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; color: var(--gold); }
.atlas__stats span { font-size: 14px; color: var(--muted); max-width: 150px; line-height: 1.45; }
.atlas__panel.is-switching .atlas__media figure, .atlas__panel.is-switching .atlas__info > * { animation: atlasIn .8s var(--ease-out) both; }
.atlas__panel.is-switching .atlas__sub { animation-delay: .08s; }
.atlas__panel.is-switching .atlas__sub + .atlas__sub { animation-delay: .16s; }
@keyframes atlasIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 1024px) {
  .atlas__panel { grid-template-columns: 1fr; }
  .atlas__media { height: clamp(440px, 80vw, 640px); }
}
@media (max-width: 720px) {
  .filters--style { margin-top: -12px; flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .filters--style .chip { flex-shrink: 0; }
  .atlas__tabs { display: flex; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .atlas__tab { flex: 0 0 auto; padding-right: 22px; }
  .atlas__media { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; height: auto; }
  .atlas__main { grid-row: auto; grid-column: span 2; aspect-ratio: 4/5; }
  .atlas__sub { aspect-ratio: 1; }
  .atlas__projects { grid-template-columns: 1fr; }
  .atlas__stats { grid-template-columns: 1fr; }
  .atlas__stats div { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .atlas__stats span { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .atlas__panel.is-switching * { animation: none !important; } }

/* ---------- Showreel ---------- */
.reel { position: relative; background: var(--night); color: #F5F0E7; padding-block: clamp(72px, 8vw, 128px); overflow: hidden; isolation: isolate; }
.reel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 75% 50%, rgba(166,129,76,.16), transparent 70%); }
.reel__grid { display: grid; grid-template-columns: minmax(0, .58fr) minmax(0, 1.9fr); gap: clamp(28px, 3.6vw, 64px); align-items: center; }
.reel .container { max-width: 1520px; }
.reel__title { color: #F5F0E7; margin: 0 0 22px; font-size: clamp(32px, 2.9vw, 46px); }
.reel__lead { color: rgba(245,240,231,.68); font-size: 16px; line-height: 1.8; margin: 0; max-width: 440px; text-wrap: pretty; }
.reel__frame { position: relative; aspect-ratio: 16 / 9; background: #0B0B0A; box-shadow: 0 40px 90px -40px rgba(0,0,0,.8); }
.reel__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel__ring { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border: 1px solid rgba(230,205,160,.55); border-radius: 50%; pointer-events: none; animation: reelRing 3.2s var(--ease-out) infinite; }
@keyframes reelRing { 0% { transform: scale(.4); opacity: 0; } 30% { opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
@media (max-width: 1024px) { .reel__grid { grid-template-columns: 1fr; } .reel__lead { max-width: 620px; } }
@media (max-width: 720px) {
  .reel__frame { aspect-ratio: 9 / 16; max-height: 90svh; margin-inline: calc(var(--gutter) * -1); width: calc(100% + var(--gutter) * 2); }
  }
@media (prefers-reduced-motion: reduce) { .reel__ring { animation: none; opacity: 0; } }
