:root {
  --ink: #0B0E12;
  --ink-soft: #141920;
  --paper: #FAFAF8;
  --paper-2: #F1EFE9;
  --line: rgba(11, 14, 18, 0.11);
  --line-dk: rgba(255, 255, 255, 0.13);
  --muted: #6B6862;
  --muted-dk: rgba(255, 255, 255, 0.56);
  --accent: #D2411F;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 0.68, 0.16, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.025em; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- header ---------- */

.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  padding: 18px 0;
  color: #fff;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.hdr.is-stuck {
  padding: 12px 0;
  background: rgba(11, 14, 18, 0.94);
  border-bottom-color: var(--line-dk);
  backdrop-filter: blur(12px);
}

.hdr-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 26px; height: 26px; color: var(--accent); flex: none; }

.brand-txt {
  font-size: 17px;
  letter-spacing: 0.14em;
  font-weight: 500;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.brand-txt em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.12em;
  opacity: 0.5;
  font-weight: 400;
}

.nav { display: flex; gap: 30px; font-size: 13.5px; }
.nav a {
  color: rgba(255, 255, 255, 0.76);
  transition: color 0.25s var(--ease);
  position: relative;
}
.nav a:hover { color: #fff; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -5px;
  height: 1px;
  background: var(--accent);
  transition: right 0.35s var(--ease);
}
.nav a:hover::after { right: 0; }

.hdr-r { display: flex; align-items: center; gap: 22px; }

/* ---------- language switcher ---------- */

.langs { position: relative; }

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 9px 0 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.lang-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.05);
}
.lang-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.lang-globe { width: 13px; height: 13px; opacity: 0.62; flex: none; }
.lang-caret {
  width: 9px;
  height: 6px;
  opacity: 0.6;
  flex: none;
  transition: transform 0.28s var(--ease);
}
.langs.is-open .lang-caret { transform: rotate(180deg); }
.langs.is-open .lang-btn {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 90;
  min-width: 196px;
  margin: 0;
  padding: 5px;
  list-style: none;
  background: rgba(14, 18, 23, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 3px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s;
}
.langs.is-open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-menu li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 11px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.lang-menu li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2px;
  height: 0;
  background: var(--accent);
  transform: translateY(-50%);
  transition: height 0.24s var(--ease);
}
.lang-menu li:hover,
.lang-menu li:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  outline: none;
}
.lang-menu li.is-on { color: #fff; }
.lang-menu li.is-on::before { height: 15px; }
.lm-label { letter-spacing: 0.01em; }
.lm-code {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  opacity: 0.42;
  flex: none;
}
.lang-menu li.is-on .lm-code { color: var(--accent); opacity: 1; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.28s var(--ease), border-color 0.28s var(--ease), transform 0.28s var(--ease);
}
.btn:hover { background: #B93517; border-color: #B93517; transform: translateY(-1px); }

.btn-sm { padding: 9px 18px; font-size: 12.5px; }

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.5); }

.btn-full { width: 100%; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: 148px 0 0;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 20%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 20%, #000 20%, transparent 78%);
  pointer-events: none;
}

.hero-in {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.82fr;
  gap: 72px;
  align-items: center;
  padding-bottom: 96px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  flex: none;
}
.hero .eyebrow, .sec-dark .eyebrow, .cta .eyebrow { color: var(--muted-dk); }

.hero h1 {
  margin: 26px 0 24px;
  font-size: clamp(2.55rem, 5vw, 4.35rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 15ch;
}

.lede {
  font-size: 16.5px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.66);
  max-width: 52ch;
}

.hero-cta { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }

.hero-fig {
  margin: 0;
  position: relative;
  padding: 0 6px 42px;
}
.hero-fig::before {
  content: "";
  position: absolute;
  inset: -10% -8% 0;
  background: radial-gradient(circle at 56% 46%, rgba(210, 65, 31, 0.2), transparent 62%);
  filter: blur(28px);
  pointer-events: none;
}
.hero-fig img {
  position: relative;
  z-index: 1;
  width: 108%;
  max-width: none;
  margin-left: -4%;
  height: auto;
  filter: drop-shadow(0 32px 46px rgba(0, 0, 0, 0.66)) saturate(1.03) contrast(1.02);
}
.hero-fig figcaption {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.chip {
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 2px;
  color: #fff;
  letter-spacing: 0.1em;
}

/* ---------- spec strip ---------- */

.spec-strip {
  position: relative;
  border-top: 1px solid var(--line-dk);
  background: rgba(255, 255, 255, 0.02);
}
.spec-in {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 34px 32px;
}
.spec { display: flex; flex-direction: column; gap: 6px; }
.spec b {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.spec b i {
  font-style: normal;
  font-size: 0.55em;
  margin-left: 2px;
  color: var(--accent);
}
.spec span {
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.44);
}

/* ---------- ticker ---------- */

.ticker {
  background: var(--ink);
  border-top: 1px solid var(--line-dk);
  border-bottom: 1px solid var(--line-dk);
  overflow: hidden;
  padding: 13px 0;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: slide 46s linear infinite;
}
.ticker-track span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
  white-space: nowrap;
  padding-right: 40px;
}
@keyframes slide {
  to { transform: translateX(-50%); }
}

/* ---------- credentials ---------- */

.creds { background: var(--paper); border-bottom: 1px solid var(--line); }
.creds-in {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 22px 32px;
}
.creds-in span {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding: 4px 26px;
  border-left: 1px solid var(--line);
}
.creds-in span:first-child { padding-left: 0; border-left: 0; }

/* ---------- sections ---------- */

.sec { padding: 116px 0; }

.sec-hd { max-width: 760px; margin-bottom: 64px; }
.sec-hd h2 {
  margin: 22px 0 0;
  font-size: clamp(1.9rem, 3.3vw, 2.85rem);
  line-height: 1.14;
}
.sec-sub {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.72;
  color: var(--muted);
  max-width: 62ch;
}

.sec-dark { background: var(--ink); color: #fff; }
.sec-dark .sec-sub { color: var(--muted-dk); }

/* ---------- products ---------- */

.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.prod {
  padding: 38px 34px 44px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  position: relative;
  transition: background 0.35s var(--ease);
}
.prod:nth-child(3n) { border-right: 0; }
.prod::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.5s var(--ease);
}
.prod:hover { background: rgba(11, 14, 18, 0.022); }
.prod:hover::before { width: 100%; }

.prod-no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.prod h3 { margin: 18px 0 10px; font-size: 20px; letter-spacing: -0.02em; }
.prod-series {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 14px;
}
.prod p:last-child { font-size: 14.5px; line-height: 1.7; color: #43413C; }

.prod-wide { grid-column: 1 / -1; border-right: 0; }
.prod-wide p:last-child { max-width: 64ch; }

/* ---------- capabilities ---------- */

.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 36px;
}
.cap { border-top: 1px solid var(--line-dk); padding-top: 22px; }
.cap-no {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.cap h3 { margin: 14px 0 12px; font-size: 18px; letter-spacing: -0.02em; }
.cap p { font-size: 14px; line-height: 1.72; color: var(--muted-dk); }

/* ---------- facility ---------- */

.facility { background: var(--paper); padding: 8px 0 96px; }
.fac-in {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
.fac-in figure { margin: 0; }
.fac-in img {
  width: 100%;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 18px 40px rgba(11, 14, 18, 0.12);
}
.fac-in figcaption {
  margin-top: 13px;
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
.fac-txt h3 {
  margin: 20px 0 16px;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.22;
}
.fac-txt > p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.72;
  color: var(--muted);
}
.fac-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.fac-list li {
  font-size: 13.5px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  padding-left: 18px;
}
.fac-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 19px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- industries ---------- */

.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.ind {
  padding: 32px 30px 36px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.ind:nth-child(3n) { border-right: 0; }
.ind h3 { font-size: 17px; margin-bottom: 8px; }
.ind p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ---------- gallery ---------- */

.gallery { background: var(--paper-2); padding: 84px 0; }
.gal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gal-grid figure {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(11, 14, 18, 0.07);
  border-radius: 3px;
  padding: 30px 26px 0;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.gal-grid figure:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(11, 14, 18, 0.09);
}
.gal-grid img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(11, 14, 18, 0.13));
  transition: transform 0.7s var(--ease);
}
.gal-grid figure:hover img { transform: scale(1.03); }
.gal-grid figcaption {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 22px;
  padding: 16px 0 20px;
  border-top: 1px solid rgba(11, 14, 18, 0.08);
}
.gal-grid figcaption b { font-size: 13.5px; font-weight: 500; }
.gal-grid figcaption span { font-size: 12px; color: var(--muted); letter-spacing: 0.02em; }

/* ---------- projects ---------- */

.proj-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.proj-list li {
  display: grid;
  grid-template-columns: 54px minmax(200px, 0.9fr) 1.4fr;
  gap: 24px;
  align-items: baseline;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.35s var(--ease), background 0.35s var(--ease);
}
.proj-list li:hover { padding-left: 14px; background: rgba(11, 14, 18, 0.022); }
.proj-country {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.proj-client { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.proj-scope { font-size: 13.5px; color: var(--muted); }

/* ---------- cta ---------- */

.cta {
  background: var(--ink);
  color: #fff;
  padding: 108px 0;
  border-top: 1px solid var(--line-dk);
}
.cta-in {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: start;
}
.cta h2 {
  margin: 22px 0 0;
  font-size: clamp(1.85rem, 3.1vw, 2.7rem);
  line-height: 1.16;
}
.cta .sec-sub { color: var(--muted-dk); margin-top: 20px; }

.contact-list {
  margin: 40px 0 0;
  display: grid;
  gap: 16px;
  border-top: 1px solid var(--line-dk);
  padding-top: 28px;
}
.contact-list div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: baseline;
}
.contact-list dt {
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.contact-list dd { margin: 0; font-size: 14.5px; line-height: 1.6; }
.contact-list a { border-bottom: 1px solid rgba(255, 255, 255, 0.22); transition: border-color 0.25s var(--ease); }
.contact-list a:hover { border-color: var(--accent); }

.cta-form { display: grid; gap: 18px; }
.fld { display: flex; flex-direction: column; gap: 7px; }
.fld label {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}
.fld input,
.fld textarea {
  font-family: inherit;
  font-size: 14.5px;
  color: #fff;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  padding: 8px 0;
  border-radius: 0;
  transition: border-color 0.3s var(--ease);
  resize: vertical;
}
.fld input:focus,
.fld textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.fld textarea::placeholder { color: rgba(255, 255, 255, 0.26); }
.form-note { font-size: 11.5px; color: rgba(255, 255, 255, 0.36); line-height: 1.6; }

/* ---------- footer ---------- */

.ftr { background: #080A0D; color: rgba(255, 255, 255, 0.6); padding: 64px 0 28px; }
.ftr-in { display: flex; justify-content: space-between; gap: 64px; flex-wrap: wrap; }
.ftr-brand p { margin-top: 16px; font-size: 13px; line-height: 1.7; color: rgba(255, 255, 255, 0.4); }
.ftr-cols { display: flex; gap: 72px; }
.ftr-cols h4 {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 14px;
}
.ftr-cols a {
  display: block;
  font-size: 13.5px;
  padding: 4px 0;
  transition: color 0.25s var(--ease);
}
.ftr-cols a:hover { color: #fff; }
.ftr-bot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.3);
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */

@media (max-width: 1040px) {
  .hero-in { grid-template-columns: 1fr; gap: 48px; }
  .hero-fig { max-width: 460px; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-in { grid-template-columns: 1fr; gap: 56px; }
  .nav { display: none; }
}

@media (max-width: 820px) {
  .sec { padding: 84px 0; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .prod:nth-child(3n) { border-right: 1px solid var(--line); }
  .prod:nth-child(2n) { border-right: 0; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .ind:nth-child(3n) { border-right: 1px solid var(--line); }
  .ind:nth-child(2n) { border-right: 0; }
  .gal-grid { grid-template-columns: 1fr 1fr; }
  .fac-in { grid-template-columns: 1fr; gap: 36px; }
  .spec-in { grid-template-columns: repeat(2, 1fr); gap: 26px 1px; }
  .proj-list li { grid-template-columns: 42px 1fr; gap: 6px 14px; }
  .proj-scope { grid-column: 2; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .hero { padding-top: 120px; }
  .hero-in { padding-bottom: 64px; }
  .hero h1 { font-size: 2.1rem; }
  .prod-grid { grid-template-columns: 1fr; }
  .prod { border-right: 0 !important; }
  .ind-grid { grid-template-columns: 1fr; }
  .ind { border-right: 0 !important; }
  .gal-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .hdr-r .btn { display: none; }
  .creds-in span { padding: 4px 14px; }
  .creds-in span:first-child { padding-left: 0; }
}

/* ---------- i18n layout guards ----------
   German and Russian run 30-40% longer than English. These rules keep the
   layout intact without touching each language individually. */

.nav { flex-wrap: wrap; }
.contact-list div { grid-template-columns: minmax(92px, auto) 1fr; }
.contact-list dt { max-width: 150px; }
.spec span { line-height: 1.5; overflow-wrap: break-word; }
.hero-cta { flex-wrap: wrap; }
.btn { max-width: 100%; text-align: center; line-height: 1.35; }
.creds-in span { line-height: 1.5; }

@media (max-width: 1280px) {
  .nav { gap: 22px; }
  .hdr-r { gap: 16px; }
  .hdr-r .btn { padding: 9px 14px; font-size: 12px; }
}

@media (max-width: 1120px) {
  .nav { display: none; }
}

@media (max-width: 560px) {
  .lang-menu { min-width: 178px; right: -4px; }
  .lang-btn { padding: 0 8px; font-size: 11.5px; }
  .lang-globe { display: none; }
}

/* ---------- CJK typography ----------
   Chinese glyphs are full-width, so the Latin display size and negative
   tracking leave a single orphan character on the last line. Scale the
   Chinese headline down so the claim holds on one line at desktop widths.
   Apply the same idea to every CJK-script language we may add later. */

html[lang^="zh"] .hero h1 {
  font-size: clamp(1.85rem, 3.6vw, 3.25rem);
  letter-spacing: 0.005em;
  line-height: 1.2;
  text-wrap: balance;
}
html[lang^="zh"] .sec-hd h2,
html[lang^="zh"] .cta h2,
html[lang^="zh"] .fac-txt h3 {
  letter-spacing: 0;
  text-wrap: balance;
}
html[lang^="zh"] body { letter-spacing: 0; }
html[lang^="zh"] .hero h1,
html[lang^="zh"] .sec-hd h2 { word-break: keep-all; }

/* Balance headline line breaks so long languages do not end on an orphan word. */
.hero h1,
.sec-hd h2,
.cta h2,
.fac-txt h3 { text-wrap: balance; }
