/* ==========================================================================
   PT Valleri Evas Nusantara — site stylesheet
   One stylesheet for all six languages. Desktop and mobile layouts are both
   defined here; the mobile rules live in the @media blocks near the end.
   ========================================================================== */

:root {
  --ink: #111110;
  --ink-deep: #0a0a09;
  --ink-raise: #16170f;
  --field: #1a1a18;
  --paper: #f5f4f1;
  --lime: #c9e265;
  --lime-hi: #dcf08f;

  --gutter: 28px;
  --sp-xl: 88px;
  --sp-lg: 72px;
  --sp-md: 40px;
  --header-h: 72px;

  --font-sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

html[lang="ko"] { --font-sans: "Archivo", "Noto Sans KR", system-ui, sans-serif; --font-mono: "IBM Plex Mono", "Noto Sans KR", monospace; }
html[lang="ja"] { --font-sans: "Archivo", "Noto Sans JP", system-ui, sans-serif; --font-mono: "IBM Plex Mono", "Noto Sans JP", monospace; }
html[lang|="zh"] { --font-sans: "Archivo", "Noto Sans SC", system-ui, sans-serif; --font-mono: "IBM Plex Mono", "Noto Sans SC", monospace; }
html[lang="ar"] { --font-sans: "Noto Sans Arabic", "Archivo", system-ui, sans-serif; --font-mono: "IBM Plex Mono", "Noto Sans Arabic", monospace; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: #f2f1ed;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; }
h1, h2, h3, p, figure, ul { margin: 0; }
a { color: var(--lime); text-decoration: none; }
a:hover { color: var(--lime-hi); text-decoration: underline; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
::selection { background: var(--lime); color: var(--ink); }
::placeholder { color: #8c8a82; opacity: 1; }
[hidden] { display: none !important; }
section[id], [id="top"] { scroll-margin-top: calc(var(--header-h) + 8px); }

.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--lime); color: var(--ink); padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--ink); }

/* ---------- bands & wrap ---------- */
.wrap {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}
.band--dark {
  background: var(--ink); color: #f2f1ed;
  --fg: #f2f1ed; --muted: #b6b3ab; --dim: #7d7b73; --body: #b6b3ab;
  --eyebrow: var(--lime); --label: #7d7b73; --bg: var(--ink);
  --line: rgba(242,241,237,0.14); --line-2: rgba(242,241,237,0.16); --line-3: rgba(242,241,237,0.2);
  --tile: #191918; --tile-stripe: rgba(242,241,237,0.035);
}
.band--light {
  background: var(--paper); color: #16150f;
  --fg: #16150f; --muted: #45433c; --dim: #5c5a52; --body: #332f29;
  --eyebrow: #5c5a52; --label: #5c5a52; --bg: var(--paper);
  --line: rgba(22,21,15,0.14); --line-2: rgba(22,21,15,0.14); --line-3: rgba(22,21,15,0.16);
  --tile: #eae8e2; --tile-stripe: rgba(22,21,15,0.04);
}
.band--light a { color: inherit; }

/* ---------- language bar ---------- */
.langbar { background: var(--ink-deep); border-bottom: 1px solid rgba(242,241,237,0.08); }
.langbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.langbar__label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: #7d7b73; }
.langbar__list { display: flex; flex-wrap: wrap; gap: 2px 18px; font-family: var(--font-mono); font-size: 12px; }
.langbar__list a { color: #8f8d85; padding: 9px 0; line-height: 1.6; }
.langbar__list a:hover { color: #f2f1ed; text-decoration: none; }
.langbar__list a[aria-current="true"] { color: var(--lime); font-weight: 600; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(17,17,16,0.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(242,241,237,0.14);
  color: #f2f1ed;
}
.site-header__in { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: var(--header-h); padding-block: 10px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { display: block; height: 52px; width: auto; }
.site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px 20px; font-size: 14px; }
.site-nav a { color: #b6b3ab; padding: 6px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover { color: #f2f1ed; text-decoration: none; }
.site-nav a.is-active { color: #f2f1ed; border-bottom-color: var(--lime); }
.site-nav a.is-strong { color: #f2f1ed; font-weight: 500; }
.menu-btn {
  display: none; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 14px; margin-inline-end: -4px;
  background: transparent; color: #f2f1ed; border: 1px solid rgba(242,241,237,0.28);
  font: 500 14px/1 var(--font-sans); cursor: pointer;
}
.menu-btn__bars { display: inline-flex; flex-direction: column; gap: 4px; width: 18px; }
.menu-btn__bars i { display: block; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- type ---------- */
.eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--eyebrow); }
.label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--label); }
.label--10 { font-size: 10px; }
.mono-sm { font-family: var(--font-mono); font-size: 11px; color: var(--dim); }
.mono { font-family: var(--font-mono); }
.h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
.h2--44 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.04; }
.h2--42 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.06; }
.h2--46 { font-size: clamp(30px, 3.6vw, 46px); }
.h2--md { font-size: clamp(26px, 3vw, 38px); line-height: 1.08; }
.h2--sm { font-size: clamp(24px, 2.8vw, 34px); letter-spacing: -0.025em; line-height: 1.15; }
.h3 { font-size: 20px; font-weight: 600; line-height: 1.25; }
.h3--19 { font-size: 19px; }
.h3--21 { font-size: 21px; }
.h3--22 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.h3--lg { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; letter-spacing: -0.025em; }
.lead { font-size: 19px; line-height: 1.6; color: var(--body); max-width: 60ch; text-wrap: pretty; }
.body { font-size: 15px; line-height: 1.6; color: var(--muted); }
.body-sm { font-size: 14px; line-height: 1.58; color: var(--muted); }
.body-lg { font-size: 16px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.note { font-size: 13px; line-height: 1.6; color: var(--dim); }
.note--muted { color: var(--muted); line-height: 1.5; }
.strong-sm { font-size: 14px; font-weight: 600; }
.caption { font-size: 13px; line-height: 1.6; color: #7d7b73; max-width: 70ch; }
.is-accent { color: var(--lime) !important; }
.is-muted { color: var(--muted) !important; }
.is-dim { color: var(--dim) !important; }
.is-bright { color: #f2f1ed !important; }
.ta-end { text-align: right; }
.as-start { align-self: flex-start; }
.mt-24 { margin-top: 24px; }
.mw-24 { max-width: 24ch; } .mw-26 { max-width: 26ch; } .mw-28 { max-width: 28ch; } .mw-30 { max-width: 30ch; }
.mw-38 { max-width: 38ch; } .mw-42 { max-width: 42ch; } .mw-46 { max-width: 46ch; } .mw-50 { max-width: 50ch; } .mw-78 { max-width: 78ch; }

/* ---------- layout helpers ---------- */
.stack { display: flex; flex-direction: column; min-width: 0; }
.stack--0 { gap: 0; } .stack--4 { gap: 4px; } .stack--5 { gap: 5px; } .stack--10 { gap: 10px; } .stack--12 { gap: 12px; }
.stack--14 { gap: 14px; } .stack--18 { gap: 18px; } .stack--20 { gap: 20px; } .stack--22 { gap: 22px; } .stack--24 { gap: 24px; }
.stack--26 { gap: 26px; } .stack--28 { gap: 28px; } .stack--32 { gap: 32px; } .stack--36 { gap: 36px; } .stack--40 { gap: 40px; } .stack--44 { gap: 44px; }

.section { padding-block: var(--sp-xl); }
.section--flush-top { padding-top: 0; }
.section--ruled { border-top: 1px solid var(--line); padding-top: var(--sp-lg); }
.section--profile { padding-bottom: var(--sp-lg); }
.section--portfolio { padding-top: var(--sp-md); }
.section--contact { padding-top: 80px; }

.sidebar-layout { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 56px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.sec-head--baseline { align-items: baseline; gap: 12px 16px; }
.sec-head__aside { font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 40ch; }
.sec-head__aside.mw-42 { max-width: 42ch; } .sec-head__aside.mw-38 { max-width: 38ch; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 44px; align-items: end; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 40px; align-items: start; }
.two-col--290 { grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); }
.two-col--300 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.two-col--gap44 { gap: 44px; } .two-col--gap48 { gap: 48px; } .two-col--gap56 { gap: 56px; }
.two-col > * { min-width: 0; }
.ruled-top { padding-top: 12px; border-top: 1px solid var(--line-2); }
.ruled-top--12 { padding-top: 16px; }
.two-col.ruled-top { padding-top: 28px; }

/* ---------- hero ---------- */
.hero { padding: 84px 0 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 56px; align-items: end; }
.hero__text { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.hero__title { font-size: clamp(38px, 5.6vw, 72px); line-height: 0.99; font-weight: 700; letter-spacing: -0.035em; text-wrap: balance; }
.hero__title em { font-family: var(--font-serif); font-weight: 300; font-style: italic; letter-spacing: -0.01em; }
.hero__lead { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 52ch; text-wrap: pretty; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.keyfigures { margin-bottom: var(--sp-xl); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 50px; padding: 8px 28px; font-size: 15px; font-weight: 600; line-height: 1.25;
  border: 1px solid transparent; font-family: inherit; cursor: pointer; border-radius: 0;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--lime); color: var(--ink) !important; }
.btn--primary:hover { background: var(--lime-hi); }
.btn--ghost { border-color: rgba(242,241,237,0.28); color: #f2f1ed; font-weight: 500; }
.btn--ghost:hover { border-color: #f2f1ed; color: #f2f1ed; }
.btn--outline { min-height: 48px; padding-inline: 24px; border-color: #16150f; color: #16150f; font-weight: 500; }
.btn--outline:hover { background: #16150f; color: var(--paper) !important; }
.btn--48 { min-height: 48px; padding-inline: 24px; }
.btn--block { width: 100%; }
.text-link { align-self: flex-start; font-size: 14px; font-weight: 500; color: var(--fg); border-bottom: 1px solid rgba(22,21,15,0.3); padding-bottom: 1px; }
.text-link:hover { color: var(--fg); border-color: var(--fg); text-decoration: none; }

/* ---------- hairline cell grids ---------- */
.cells { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cells--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cells--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cell { background: var(--bg); padding: 28px 26px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cells--stats .cell { padding: 26px 24px; gap: 8px; }
.cell--track { padding: 30px 26px; gap: 14px; }
.cell--partner { padding: 30px 26px; gap: 12px; }
.cell__title { font-size: 17px; font-weight: 600; line-height: 1.3; }
.cell__foot { margin-top: auto; padding-top: 12px; }
.stat__num { font-size: 32px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.stat__num--30 { font-size: 30px; }
.stat__cap { font-size: 13px; line-height: 1.5; color: var(--muted); }
.track-list { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.track-list strong { font-weight: 600; color: var(--fg); }
.partner-names { font-size: 16px; line-height: 1.7; font-weight: 500; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 32px; }
.facts--240 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.facts--ruled { padding-top: 22px; border-top: 1px solid var(--line); }
.fact { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fact__name { font-size: 18px; font-weight: 600; }
.fact .body { color: var(--body); }

/* ---------- photos ---------- */
.photo { position: relative; display: block; width: 100%; overflow: hidden; background: var(--tile); }
.photo--hero { aspect-ratio: 5 / 4; }
.photo--card { aspect-ratio: 16 / 10; }
.photo--wide { aspect-ratio: 21 / 9; }
.photo--169 { aspect-ratio: 16 / 9; }
.photo--43 { aspect-ratio: 4 / 3; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.photo--contain, .photo.is-contain { background: #ffffff; }
.photo--contain img, .photo.is-contain img { object-fit: contain; }
/* empty slot: a quiet branded tile that shows the caption until a photo is supplied */
.photo:not(.has-img) {
  display: flex; align-items: center; justify-content: center;
  background-image: repeating-linear-gradient(135deg, transparent 0 13px, var(--tile-stripe) 13px 14px);
}
.photo:not(.has-img)::before, .photo:not(.has-img)::after {
  content: ""; position: absolute; width: 18px; height: 18px; border: 0 solid var(--lime); opacity: .9;
}
.photo:not(.has-img)::before { top: 14px; inset-inline-start: 14px; border-top-width: 2px; border-inline-start-width: 2px; }
.photo:not(.has-img)::after { bottom: 14px; inset-inline-end: 14px; border-bottom-width: 2px; border-inline-end-width: 2px; }
.photo__label { padding: 18px 44px; text-align: center; font-family: var(--font-mono); font-size: 11px; line-height: 1.6; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.photo.has-img .photo__label { display: none; }
[data-hide-empty]:not(.has-img) { display: none !important; }
.figure { display: flex; flex-direction: column; gap: 14px; }

/* ---------- cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--line); min-width: 0; }
.card__body { display: flex; flex-direction: column; gap: 12px; padding: 4px 26px 28px; }

/* ---------- key/value rows ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: 40px; }
.kv-group { display: flex; flex-direction: column; min-width: 0; }
.kv-group__title { padding-bottom: 12px; }
.kv-group__title--14 { padding-bottom: 14px; }
.kv { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.kv:last-child { border-bottom: 1px solid var(--line); }
.kv__k { font-size: 14px; color: var(--muted); }
.kv__v { font-size: 14px; font-weight: 500; text-align: right; }
.kv--lg { padding: 14px 0; }
.kv--lg .kv__k { font-size: 16px; font-weight: 500; color: var(--fg); }
.kv--lg .kv__v { font-size: 16px; font-weight: 400; }

.rows { display: flex; flex-direction: column; }
.rows > * { border-top: 1px solid var(--line-2); }
.rows > *:last-child { border-bottom: 1px solid var(--line-2); }
.def { display: flex; gap: 16px; padding: 16px 0; }
.def__k { flex: none; width: 150px; font-size: 15px; font-weight: 600; }
.def__v { font-size: 14px; line-height: 1.5; color: var(--muted); }
.step { display: flex; gap: 16px; padding: 16px 0; }
.rows--18 .step { padding: 18px 0; }
.step__n { flex: none; min-width: 18px; font-family: var(--font-mono); font-size: 11px; color: var(--lime); padding-top: 3px; }
.step__title { font-size: 15px; font-weight: 600; }
.step__title--16 { font-size: 16px; }
.tl { display: grid; grid-template-columns: minmax(0, 118px) minmax(0, 1fr); gap: 16px; padding: 16px 0; }
.tl__when { font-family: var(--font-mono); font-size: 12px; color: var(--muted); padding-top: 2px; }
.tl--key .tl__when { color: var(--lime); font-weight: 500; }
.tl__what { font-size: 15px; line-height: 1.5; color: #f2f1ed; font-weight: 600; }

/* ---------- battery swap ---------- */
.price-table { display: flex; flex-direction: column; }
.price-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-2); font-size: 15px; }
.price-row:last-child { border-bottom: 1px solid var(--line-2); }
.price-row--head { border-top: 0; padding: 0 0 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.chip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); gap: 12px; }
.chip { border: 1px solid var(--line-3); padding: 16px; font-size: 14px; line-height: 1.4; }

/* ---------- plans ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.plan { border: 1px solid var(--line-3); padding: 32px 30px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.plan--featured { border-color: var(--lime); background: var(--ink-raise); }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.plan__amount { font-size: 42px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; }
.plan__per { font-size: 15px; color: var(--muted); }
.ticks { padding-inline-start: 18px; font-size: 15px; line-height: 1.85; color: #f2f1ed; }
.bullets { padding-inline-start: 18px; font-size: 13px; line-height: 1.8; color: var(--muted); }

/* ---------- network ---------- */
.city-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 14px; padding-top: 6px; }
.city { border: 1px solid var(--line-3); padding: 16px 14px; font-size: 15px; font-weight: 600; }

/* ---------- market chart ---------- */
.chart-box { border: 1px solid var(--line-2); padding: clamp(20px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 26px; }
.chart-box__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 12px; }
.chart-box__title { font-size: 15px; font-weight: 600; }
.chart { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(8px, 2vw, 22px); height: 300px; }
.chart__col { display: flex; align-items: flex-end; height: 100%; padding-top: 34px; }
.chart__bar { position: relative; width: 100%; height: var(--h); flex-shrink: 0; background: rgba(201,226,101,0.32); border-top: 2px solid var(--lime); }
.chart__bar--peak { background: var(--lime); }
.chart__bar--last { background: rgba(201,226,101,0.55); }
.chart__val { position: absolute; bottom: 100%; left: 0; margin-bottom: 9px; font-size: 15px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.chart__bar--peak .chart__val { font-size: 16px; font-weight: 700; color: var(--lime); }
.chart__bar--last .chart__val { font-size: 16px; font-weight: 700; color: #f2f1ed; }
.chart-axis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(8px, 2vw, 22px); margin-top: -14px; padding-top: 12px; border-top: 1px solid var(--line-2); font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.sources { padding-inline-start: 18px; font-size: 14px; line-height: 1.9; color: var(--muted); columns: 2; column-gap: 40px; }
.sources li { break-inside: avoid; }

/* ---------- TEFA AUTO ---------- */
.pillar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 20px; }
.pillar { border: 1px solid var(--line-3); display: flex; flex-direction: column; min-width: 0; }
.pillar--featured { border-color: var(--lime); background: var(--ink-raise); }
.pillar__body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 14px; }
.pillar__title { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; }
.target-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 16px; }
.target { border: 1px solid var(--line-2); padding: 22px 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.target__num { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; color: var(--lime); line-height: 1.2; }
.panel { border: 1px solid var(--line-2); padding: clamp(24px, 4vw, 56px); }

/* ---------- gallery ---------- */
.gallery-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.gallery-grid > .photo { flex: 1 1 240px; width: auto; }
.gallery-wide { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px; }

/* ---------- contact ---------- */
.contact-list { display: flex; flex-direction: column; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.contact-item { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.contact-item__v { font-size: 16px; overflow-wrap: anywhere; }
a.contact-item__v { color: #f2f1ed; }
a.contact-item__v:hover { color: var(--lime-hi); }
.wa-link { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; color: #f2f1ed; font-size: 16px; }
.wa-link:hover { color: var(--lime-hi); text-decoration: none; }
.wa-link svg { flex: none; }
.form { display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--line-2); padding: 30px; min-width: 0; }
.field {
  width: 100%; min-height: 48px; padding: 0 14px; border-radius: 0;
  font-family: inherit; font-size: 16px; color: #f2f1ed;
  background: var(--field); border: 1px solid rgba(242,241,237,0.2);
  -webkit-appearance: none; appearance: none;
}
.field:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime); }
.field--area { padding: 12px 14px; resize: vertical; line-height: 1.5; min-height: 110px; }
.field--select {
  padding-inline-end: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23b6b3ab' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
[dir="rtl"] .field--select { background-position: left 14px center; }
.field--select option { background: var(--field); color: #f2f1ed; }
.form__note { font-size: 12px; line-height: 1.5; color: #7d7b73; }

/* ---------- footer ---------- */
.site-footer__in { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: center; padding-top: 26px; padding-bottom: calc(44px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(242,241,237,0.14); font-size: 13px; color: #7d7b73; }
.site-footer__langs { display: flex; flex-wrap: wrap; gap: 4px 16px; font-family: var(--font-mono); font-size: 12px; }
.site-footer__langs a { color: #8f8d85; padding: 6px 0; }
.site-footer__langs a:hover { color: #f2f1ed; text-decoration: none; }
.site-footer__langs a[aria-current="true"] { color: var(--lime); }

.to-top {
  position: fixed; z-index: 40; inset-inline-end: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: #f2f1ed; border: 1px solid rgba(242,241,237,0.28); font-size: 18px;
}
.to-top:hover { color: var(--ink); background: var(--lime); border-color: var(--lime); text-decoration: none; }

/* ==========================================================================
   Language-specific typography
   ========================================================================== */
html:is([lang="ko"], [lang="ja"], [lang|="zh"]) .hero__title { font-size: clamp(32px, 4.8vw, 62px); line-height: 1.22; letter-spacing: -0.015em; }
html:is([lang="ko"], [lang="ja"], [lang|="zh"]) .hero__title em,
html[lang="ar"] .hero__title em { font-family: inherit; font-style: normal; font-weight: 400; letter-spacing: 0; }
html:is([lang="ko"], [lang="ja"], [lang|="zh"]) :is(.h2, .h3--22, .h3--lg) { letter-spacing: -0.02em; line-height: 1.25; }
html:is([lang="ko"], [lang="ja"], [lang|="zh"]) :is(.stat__num, .plan__amount, .target__num, .pillar__title) { letter-spacing: -0.02em; }
html:is([lang="ko"], [lang="ja"], [lang|="zh"]) :is(.lead, .body, .body-lg, .hero__lead, .sec-head__aside) { line-height: 1.75; }
html:is([lang="ko"], [lang="ja"], [lang|="zh"]) :is(.body-sm, .note, .caption, .def__v, .stat__cap) { line-height: 1.7; }
html[lang="ko"] body { word-break: keep-all; }
html:is([lang="ja"], [lang|="zh"]) body { line-break: strict; }

html[lang="ar"] * { letter-spacing: 0 !important; }
html[lang="ar"] .hero__title { font-size: clamp(30px, 4.6vw, 54px); line-height: 1.4; }
html[lang="ar"] .h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.5; }
html[lang="ar"] .h2--sm { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.6; }
html[lang="ar"] :is(.h3, .cell__title, .pillar__title, .step__title) { line-height: 1.6; }
html[lang="ar"] :is(.lead, .body, .body-lg, .hero__lead, .sec-head__aside) { line-height: 1.9; }
html[lang="ar"] :is(.body-sm, .note, .caption, .def__v, .stat__cap, .chip, .partner-names) { line-height: 1.85; }
html[lang="ar"] :is(.ticks, .bullets, .sources) { line-height: 2.05; }
html[lang="ar"] :is(.eyebrow, .label, .mono-sm, .price-row--head, .photo__label) { font-size: 12px; }
html[lang="ar"] .tl { grid-template-columns: minmax(0, 140px) minmax(0, 1fr); }
/* numbers and Latin fragments keep their own direction but still sit on the right-hand side */
html[dir="rtl"] :is([dir="auto"], [dir="ltr"]) { text-align: right; }
html[dir="rtl"] :is(.kv__v, .ta-end) { text-align: left; }

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 1099px) {
  .menu-btn { display: inline-flex; }
  .js .site-nav {
    display: none; position: absolute; top: 100%; inset-inline: 0;
    flex-direction: column; flex-wrap: nowrap; gap: 0;
    padding: 4px max(var(--gutter), env(safe-area-inset-right)) 24px max(var(--gutter), env(safe-area-inset-left));
    background: var(--ink); border-bottom: 1px solid rgba(242,241,237,0.14);
    max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
    box-shadow: 0 24px 40px rgba(0,0,0,0.45);
  }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav a { padding: 15px 0; font-size: 17px; color: #f2f1ed; border-bottom: 1px solid rgba(242,241,237,0.1); }
  .js .site-nav a.is-active { border-bottom-color: rgba(242,241,237,0.1); color: var(--lime); }
  .js .site-nav a.is-strong { margin-top: 18px; border: 0; background: var(--lime); color: var(--ink); text-align: center; font-weight: 600; min-height: 50px; display: flex; align-items: center; justify-content: center; }
  .no-js .site-nav { width: 100%; justify-content: flex-start; padding-bottom: 6px; }

  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cells--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .sidebar-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cells--3 { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 56px 0 48px; gap: 40px; }
}

/* ==========================================================================
   Phone
   ========================================================================== */
@media (max-width: 640px) {
  :root { --gutter: 20px; --sp-xl: 60px; --sp-lg: 52px; --sp-md: 32px; --header-h: 62px; }

  .langbar__label { display: none; }
  .langbar__in { min-height: 44px; }
  .langbar__list { width: 100%; justify-content: space-between; gap: 0 6px; font-size: 13px; }
  .langbar__list a { padding: 12px 2px; }
  .brand img { height: 40px; }
  .site-header__in { padding-block: 8px; }

  .hero { padding: 36px 0 40px; gap: 32px; }
  .hero__text { gap: 20px; }
  .hero__title { font-size: clamp(33px, 9.6vw, 44px); line-height: 1.03; }
  .hero__lead { font-size: 16px; }
  .btn-row .btn { flex: 1 1 100%; }
  .sec-head > .btn { width: 100%; }

  .h2, .h2--44, .h2--42, .h2--46 { font-size: clamp(27px, 7.6vw, 34px); line-height: 1.1; }
  .h2--md { font-size: clamp(24px, 6.8vw, 30px); line-height: 1.14; }
  .h2--sm { font-size: 24px; }
  .lead { font-size: 17px; }
  .section--contact { padding-top: 56px; }

  .cells--4 { grid-template-columns: minmax(0, 1fr); }
  .cells--4.cells--stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell, .cell--track, .cell--partner { padding: 22px 20px; }
  .cells--stats .cell { padding: 18px 16px; }
  .stat__num, .stat__num--30 { font-size: 24px; }
  .card-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .card__body { padding: 2px 20px 24px; }
  .spec-grid { gap: 32px; }
  .facts { gap: 24px; }

  .def { flex-direction: column; gap: 4px; padding: 14px 0; }
  .def__k { width: auto; }
  .tl { grid-template-columns: minmax(0, 92px) minmax(0, 1fr); gap: 12px; }
  html[lang="ar"] .tl { grid-template-columns: minmax(0, 104px) minmax(0, 1fr); }

  .price-row { gap: 10px; font-size: 14px; }
  .chip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .chip { padding: 14px 12px; font-size: 13px; }
  .plan { padding: 26px 22px; }
  .plan__amount { font-size: 36px; }
  .pillar__body { padding: 20px 20px 24px; }

  .chart { height: 220px; gap: 8px; }
  .chart__col { padding-top: 26px; }
  .chart-axis { gap: 8px; font-size: 11px; }
  .chart__val, .chart__bar--peak .chart__val, .chart__bar--last .chart__val { font-size: 11px; margin-bottom: 6px; letter-spacing: -0.01em; }
  .sources { columns: 1; }

  .gallery-grid { gap: 10px; }
  .gallery-grid > .photo { flex-basis: 140px; }
  .gallery-wide { gap: 10px; }
  .form { padding: 20px; }
  .site-footer__in { flex-direction: column; align-items: flex-start; }
  .photo__label { padding: 16px 38px; font-size: 10px; }

  html:is([lang="ko"], [lang="ja"], [lang|="zh"]) .hero__title { font-size: clamp(29px, 8.4vw, 40px); line-height: 1.25; }
  html[lang="ar"] .hero__title { font-size: clamp(28px, 8vw, 38px); }
  html[lang="ar"] .h2, html:is([lang="ko"], [lang="ja"], [lang|="zh"]) .h2 { font-size: clamp(24px, 6.8vw, 30px); }
}

@media (max-width: 359px) {
  :root { --gutter: 16px; }
  .cells--4.cells--stats { grid-template-columns: minmax(0, 1fr); }
  .langbar__list { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media print {
  .langbar, .site-header, .to-top, .form, .menu-btn { display: none !important; }
  .band--dark { background: #fff; color: #000; --fg: #000; --muted: #333; --dim: #555; --body: #222; --eyebrow: #333; --bg: #fff; --line: #ccc; --line-2: #ccc; --line-3: #ccc; }
  .is-accent, .target__num { color: #000 !important; }
}
