:root {
  --paper: #f3efe5;
  --paper-soft: #e5e9e2;
  --paper-warm: #eadfd3;
  --ink: #1b1d1a;
  --muted: #64625b;
  --line: rgba(27, 29, 26, 0.17);
  --line-strong: rgba(27, 29, 26, 0.34);
  --accent: #28473a;
  --accent-soft: #d6e0d7;
  --terracotta: #a86149;
  --terracotta-soft: #ead7cd;
  --blue: #526d78;
  --blue-soft: #d9e2e5;
  --sand: #e6d4b5;
  --burgundy: #613f3a;
  --white: #faf7ef;
  --max: 1360px;
  --gutter: clamp(22px, 4.4vw, 72px);
  --section: clamp(96px, 12vw, 176px);
  --sans: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: var(--white); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 14px;
  left: 14px;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(100%, calc(var(--max) + (2 * var(--gutter))));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section); }

.site-header {
  position: fixed;
  z-index: 40;
  inset: 0 0 auto;
  background: color-mix(in srgb, var(--paper) 91%, transparent);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}
.brand {
  width: max-content;
  font-size: 0.98rem;
  font-weight: 760;
  letter-spacing: 0.18em;
  text-decoration: none;
}
.header-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.035em;
}
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 28px;
}
.language-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.language-nav button {
  position: relative;
  min-width: 24px;
  min-height: 24px;
  margin: 0;
  padding: 4px 0 5px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.61rem;
  font-weight: 650;
  letter-spacing: 0.055em;
  line-height: 1;
  cursor: pointer;
}
.language-nav button::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--line-strong);
}
.language-nav button:last-child::after { display: none; }
.language-nav button:hover { color: var(--ink); }
.language-nav button.is-active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.header-link {
  color: var(--accent);
  font-size: 0.73rem;
  font-weight: 620;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}
.header-link span[aria-hidden="true"] { margin-left: 7px; }

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  padding: 132px 0 30px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 16%;
  right: -4vw;
  width: min(34vw, 520px);
  height: min(45vw, 610px);
  background: var(--accent-soft);
  opacity: 0.9;
  transform: rotate(-1.5deg);
}
.hero::after {
  content: "";
  position: absolute;
  top: 25%;
  right: 9vw;
  width: min(12vw, 170px);
  height: min(28vw, 390px);
  background: var(--terracotta-soft);
  transform: rotate(2deg);
}
.hero-inner {
  position: relative;
  z-index: 1;
  min-height: calc(100svh - 162px);
  display: flex;
  flex-direction: column;
}
.hero-kicker {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 620;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.hero h1 {
  margin: clamp(44px, 7.4vh, 90px) 0 0;
  max-width: 1160px;
  font-size: clamp(4.2rem, 9vw, 9.6rem);
  line-height: 0.86;
  letter-spacing: -0.067em;
  font-weight: 520;
}
.hero h1 em {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
  color: var(--terracotta);
}
.hero-bottom {
  margin-top: auto;
  padding-top: clamp(60px, 10vh, 118px);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(56px, 10vw, 154px);
  align-items: end;
}
.hero-lede {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.25rem, 2.1vw, 2.1rem);
  line-height: 1.35;
  letter-spacing: -0.027em;
  font-weight: 430;
}
.hero-side {
  max-width: 390px;
  justify-self: end;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}
.hero-side p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}
.line-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 27px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 0.79rem;
  font-weight: 650;
  text-decoration: none;
}
.requirement-strip {
  margin-top: clamp(60px, 8vh, 98px);
  padding-inline: 18px;
  background: color-mix(in srgb, var(--sand) 52%, var(--paper));
  min-height: 68px;
  display: grid;
  grid-template-columns: 1.1fr repeat(4, 1fr);
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.71rem;
  letter-spacing: 0.035em;
}
.requirement-strip span:not(:first-child) { padding-left: 26px; border-left: 1px solid var(--line); }
.strip-label { color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.62rem; }

.section-index {
  margin: 0;
  color: var(--muted);
  font-size: 0.65rem;
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}
.editorial-head {
  display: grid;
  grid-template-columns: 0.5fr 1.25fr 0.65fr;
  gap: clamp(30px, 5vw, 82px);
  align-items: start;
  margin-bottom: clamp(70px, 9vw, 128px);
}
.editorial-head h2,
.process-head h2,
.audience-layout h2,
.rfq-title h2 {
  margin: 0;
  font-size: clamp(3.2rem, 6.5vw, 7.5rem);
  line-height: 0.91;
  letter-spacing: -0.06em;
  font-weight: 500;
}
.section-intro {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.68;
}

.capability-list { border-top: 1px solid var(--line-strong); }
.capability-row {
  min-height: 122px;
  display: grid;
  grid-template-columns: 0.18fr 0.92fr 0.8fr;
  gap: 34px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: padding-inline 180ms ease, background 180ms ease;
}
.capability-row:hover { padding-inline: 10px; background: color-mix(in srgb, var(--accent-soft) 52%, transparent); }
.cap-number { color: var(--accent); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; }
.capability-row:nth-child(2) .cap-number,
.capability-row:nth-child(5) .cap-number { color: var(--blue); }
.capability-row:nth-child(3) .cap-number,
.capability-row:nth-child(6) .cap-number { color: #945139; }
.capability-row h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 2.65rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 480;
}
.capability-row p { margin: 0; max-width: 470px; color: var(--muted); font-size: 0.83rem; line-height: 1.6; }

.process-section {
  background: var(--paper-soft);
  border-top: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 16%, transparent);
}
.process-head {
  display: grid;
  grid-template-columns: 0.5fr 1.5fr;
  gap: 48px;
  margin-bottom: clamp(74px, 10vw, 140px);
}
.process-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line-strong);
}
.process-flow li {
  min-height: 270px;
  padding: 24px 24px 0 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.process-flow li:not(:first-child) { padding-left: 24px; }
.process-flow li:last-child { border-right: 0; }
.process-flow li > span {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.process-flow li:nth-child(2) > span { background: var(--blue-soft); color: #465e69; }
.process-flow li:nth-child(3) > span { background: var(--sand); color: #675331; }
.process-flow li:nth-child(4) > span { background: var(--terracotta-soft); color: #89503d; }
.process-flow li:nth-child(5) > span { background: var(--accent); color: var(--white); }
.process-flow strong {
  display: block;
  margin-top: 94px;
  font-size: clamp(1.25rem, 1.8vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 500;
}
.process-flow p { margin: 12px 0 0; max-width: 220px; color: var(--muted); font-size: 0.78rem; line-height: 1.55; }

.audience-section {
  background: color-mix(in srgb, var(--paper-warm) 54%, var(--paper));
}
.audience-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(60px, 10vw, 156px);
  align-items: start;
}
.audience-layout h2 { margin-top: 42px; font-size: clamp(3.5rem, 6vw, 7rem); }
.audience-type { padding-top: 18px; border-top: 1px solid var(--line-strong); }
.audience-type span {
  display: block;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.5rem, 2.65vw, 3.35rem);
  line-height: 1;
  letter-spacing: -0.038em;
  font-weight: 470;
}
.audience-type span:nth-child(even) { padding-left: clamp(18px, 4vw, 64px); color: var(--accent); }
.audience-type span:nth-child(3) { color: var(--terracotta); }

.principle {
  background: var(--burgundy);
  color: var(--white);
  padding-block: clamp(110px, 14vw, 210px);
}
.section-index-light { color: rgba(247,244,237,0.7); }
.principle-inner {
  display: grid;
  grid-template-columns: 0.35fr 1.25fr 0.55fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}
.principle h2 {
  margin: 0;
  font-size: clamp(4.2rem, 8.2vw, 9.4rem);
  line-height: 0.86;
  letter-spacing: -0.066em;
  font-weight: 500;
}
.principle h2 span { color: #d9c3b3; }
.principle-copy { padding-top: 14px; }
.principle-copy p { margin: 0 0 22px; color: rgba(247,244,237,0.61); font-size: 0.87rem; line-height: 1.7; }
.principle-copy p:last-child { color: var(--white); font-weight: 560; }

.rfq-section {
  background: color-mix(in srgb, var(--accent-soft) 74%, var(--paper));
}
.rfq-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(70px, 11vw, 170px);
  align-items: start;
}
.rfq-title h2 { margin-top: 42px; font-size: clamp(3.8rem, 6.8vw, 7.8rem); }
.rfq-content {
  padding: clamp(28px, 4vw, 54px);
  background: color-mix(in srgb, var(--white) 78%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
}
.rfq-intro { max-width: 650px; margin: 0 0 54px; color: var(--muted); font-size: 1rem; line-height: 1.72; }
.rfq-fields { border-top: 1px solid var(--line-strong); }
.rfq-fields > div {
  min-height: 104px;
  display: grid;
  grid-template-columns: 52px 0.85fr 1.15fr;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.rfq-fields span { color: var(--accent); font-size: 0.63rem; font-weight: 700; letter-spacing: 0.08em; }
.rfq-fields strong { font-size: 1.08rem; letter-spacing: -0.015em; font-weight: 560; }
.rfq-fields small { color: var(--muted); font-size: 0.78rem; line-height: 1.45; }
.copy-link {
  margin-top: 32px;
  padding: 13px 16px 12px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 650;
  cursor: pointer;
}
.copy-link span { margin-left: 9px; }
.copy-status { min-height: 22px; margin: 12px 0 0; color: var(--muted); font-size: 0.74rem; }

.site-footer {
  border-top: 6px solid var(--sand);
  padding-top: 58px;
  background: color-mix(in srgb, var(--paper-warm) 40%, var(--paper));
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 40px;
  align-items: start;
}
.footer-top p { margin: 0; max-width: 360px; color: var(--muted); font-size: 0.8rem; line-height: 1.55; }
.footer-top .line-link { margin-top: 0; }
.footer-bottom {
  margin-top: 74px;
  padding-block: 22px;
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.65rem;
  line-height: 1.5;
}
.footer-bottom p { margin: 0; }

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 520ms ease, transform 520ms ease;
}
.has-reveal-motion .reveal:not(.is-visible) { opacity: 0; transform: translateY(14px); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.header-link:hover,
.line-link:hover { color: var(--terracotta); }
.copy-link:hover { background: transparent; color: var(--accent); }
.brand:focus-visible,
.language-nav button:focus-visible,
.header-link:focus-visible,
.line-link:focus-visible,
.copy-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

@media (max-width: 980px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .header-note { display: none; }
  .header-actions { gap: 20px; }
  .language-nav { gap: 8px; }
  .language-nav button { font-size: 0.58rem; }
  .hero { min-height: auto; padding-top: 140px; }
  .hero-inner { min-height: auto; }
  .hero-bottom { grid-template-columns: 1fr; gap: 56px; padding-top: 80px; }
  .hero-side { justify-self: start; }
  .requirement-strip { grid-template-columns: 1fr 1fr; }
  .requirement-strip span { min-height: 58px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
  .requirement-strip span:not(:first-child) { padding-left: 0; border-left: 0; }
  .requirement-strip span:nth-child(even) { border-left: 1px solid var(--line); padding-left: 20px; }
  .requirement-strip .strip-label { grid-column: 1 / -1; min-height: 46px; }
  .editorial-head { grid-template-columns: 0.42fr 1.58fr; }
  .section-intro { grid-column: 2; max-width: 560px; }
  .capability-row { grid-template-columns: 70px 1fr; padding-block: 24px; }
  .capability-row p { grid-column: 2; margin-top: -12px; }
  .process-flow { grid-template-columns: 1fr; }
  .process-flow li { min-height: auto; display: grid; grid-template-columns: 58px 0.7fr 1fr; gap: 22px; align-items: start; padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-flow li:not(:first-child) { padding-left: 0; }
  .process-flow strong { margin: 0; }
  .process-flow p { margin: 0; max-width: 100%; }
  .audience-layout { grid-template-columns: 1fr; gap: 74px; }
  .principle-inner { grid-template-columns: 0.32fr 1.68fr; }
  .principle-copy { grid-column: 2; max-width: 620px; }
  .rfq-layout { grid-template-columns: 1fr; gap: 78px; }
}

@media (max-width: 680px) {
  :root { --gutter: 20px; --section: 86px; }
  .site-header { position: absolute; }
  .header-inner { min-height: 70px; align-items: start; padding-top: 22px; }
  .header-actions { align-items: flex-end; flex-direction: column; gap: 10px; }
  .language-nav { order: 1; gap: 7px; }
  .language-nav button { font-size: 0.55rem; }
  .header-link { order: 2; font-size: 0.66rem; }
  .hero { padding-top: 118px; padding-bottom: 18px; }
  .hero::before { top: 15%; right: -24%; width: 72vw; height: 56vw; opacity: 0.62; }
  .hero::after { top: 22%; right: -2%; width: 26vw; height: 42vw; opacity: 0.72; }
  .hero-kicker { align-items: flex-start; flex-direction: column; gap: 9px; }
  .hero h1 { margin-top: 44px; font-size: clamp(3.55rem, 18vw, 5.7rem); line-height: 0.88; }
  .hero-bottom { padding-top: 68px; }
  .hero-lede { font-size: 1.2rem; line-height: 1.45; }
  .requirement-strip { margin-top: 66px; font-size: 0.68rem; }
  .editorial-head, .process-head { display: block; }
  .editorial-head h2, .process-head h2, .audience-layout h2, .rfq-title h2 { margin-top: 34px; font-size: 3.5rem; }
  .section-intro { margin-top: 30px; }
  .capability-row { grid-template-columns: 36px 1fr; gap: 16px; min-height: 138px; }
  .capability-row h3 { font-size: 1.55rem; }
  .capability-row p { margin-top: 0; }
  .process-head { margin-bottom: 58px; }
  .process-flow li { grid-template-columns: 36px 1fr; gap: 14px; }
  .process-flow p { grid-column: 2; margin-top: -8px; }
  .audience-type span { font-size: 2rem; }
  .principle-inner { display: block; }
  .principle h2 { margin-top: 38px; font-size: 4rem; }
  .principle-copy { margin-top: 46px; }
  .rfq-fields > div { grid-template-columns: 38px 1fr; min-height: 112px; }
  .rfq-fields small { grid-column: 2; margin-top: -20px; padding-bottom: 18px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-top .line-link { justify-self: start; }
  .footer-bottom { grid-template-columns: 1fr; margin-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .has-reveal-motion .reveal:not(.is-visible) { opacity: 1; transform: none; }
}


/* RFQ contact actions */
.rfq-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
}

.rfq-email-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  min-width: 12rem;
  padding: 0.95rem 1.1rem;
  background: var(--forest, #254438);
  color: #f7f2e8;
  text-decoration: none;
  border: 1px solid rgba(37, 68, 56, 0.18);
  transition: transform 180ms ease, background-color 180ms ease;
}

.rfq-email-link:hover {
  transform: translateY(-2px);
  background: #1d372d;
}

.rfq-email-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .rfq-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .rfq-email-link {
    width: 100%;
  }

  .footer-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }
}


/* RFQ form — native POST to Google Apps Script */
.rfq-form { border-top: 1px solid var(--line); padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.rfq-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 1.4rem; }
.rfq-form label { display: grid; gap: 0.55rem; font-size: 0.72rem; letter-spacing: 0.07em; text-transform: uppercase; }
.rfq-form .field-wide { grid-column: 1 / -1; }
.rfq-form input, .rfq-form textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(28,35,31,.35); border-radius: 0; background: rgba(255,255,255,.22); color: var(--ink); font: inherit; font-size: .98rem; letter-spacing: 0; text-transform: none; padding: .85rem .15rem; outline: none; transition: border-color 180ms ease, background-color 180ms ease; }
.rfq-form textarea { resize: vertical; min-height: 7.5rem; line-height: 1.55; }
.rfq-form input:focus, .rfq-form textarea:focus { border-color: var(--accent); background: rgba(255,255,255,.38); }
.rfq-form input::placeholder, .rfq-form textarea::placeholder { color: rgba(28,35,31,.65); }
.required-mark { color: #9d5947; }
.rfq-form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: 1.7rem; }
.rfq-submit { appearance: none; border: 0; background: var(--accent); color: #f8f4e9; min-height: 3.25rem; padding: 0 1.25rem; display: inline-flex; align-items: center; gap: 1.3rem; justify-content: space-between; font: inherit; cursor: pointer; transition: transform 180ms ease, opacity 180ms ease; }
.rfq-submit:hover { transform: translateY(-1px); }
.rfq-submit:disabled { cursor: wait; opacity: .64; transform: none; }
.rfq-privacy { max-width: 48rem; margin-top: 1.25rem; font-size: .78rem; line-height: 1.55; color: var(--muted); }
@media (max-width: 720px) { .rfq-form-grid { grid-template-columns: 1fr; } .rfq-form .field-wide { grid-column: auto; } .rfq-form-actions { align-items: stretch; } .rfq-submit { width: 100%; } }

/* Keep long translated words inside their editorial columns, including at 320px. */
h1, h2, h3, p, .audience-type span, .process-flow strong, .rfq-form label {
  overflow-wrap: anywhere;
}
.shell > *, .hero-bottom > *, .editorial-head > *, .capability-row > *,
.process-flow > *, .audience-layout > *, .principle-inner > *, .rfq-layout > * {
  min-width: 0;
}
section[id], main[id] { scroll-margin-top: 100px; }
.rfq-submit:focus-visible, .rfq-form input:focus-visible, .rfq-form textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
/* Locale art direction: one shared layout, language-specific type rhythm. */
html[lang="en"] .hero h1 { text-wrap: balance; }
html[lang="zh-CN"] {
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", system-ui, sans-serif;
}
html[lang="ru"] {
  --sans: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
html:not([lang="en"]) :is(h1, h2, h3, .audience-type span, .process-flow strong) {
  overflow-wrap: normal;
  text-wrap: balance;
}
html:not([lang="en"]) :is(.hero-kicker, .section-index, .strip-label, .rfq-form label) {
  text-transform: none;
  letter-spacing: 0.035em;
}
html[lang="zh-CN"] :is(.hero-kicker, .section-index, .strip-label, .requirement-strip, .rfq-form label) {
  letter-spacing: 0;
}
html[lang="zh-CN"] .hero h1 {
  max-width: 11em;
  font-size: clamp(3.6rem, 7.8vw, 8rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
}
html[lang="zh-CN"] .hero h1 em {
  font-family: inherit;
  font-style: normal;
  font-weight: 500;
  letter-spacing: inherit;
}
html[lang="zh-CN"] :is(.editorial-head h2, .process-head h2, .audience-layout h2, .rfq-title h2, .principle h2) {
  font-size: clamp(2.8rem, 5.4vw, 6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
html[lang="zh-CN"] :is(.capability-row h3, .process-flow strong, .audience-type span) {
  line-height: 1.3;
  letter-spacing: 0;
}
html[lang="zh-CN"] .hero-lede { max-width: 28em; line-height: 1.55; letter-spacing: 0; }
html[lang="zh-CN"] :is(.section-intro, .rfq-intro, .hero-side p, .capability-row p, .process-flow p, .principle-copy p, .rfq-privacy) { line-height: 1.8; }

html[lang="fr"] .hero h1 {
  max-width: 12.5em;
  font-size: clamp(3.4rem, 7.1vw, 7.7rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
html[lang="fr"] .hero-lede { max-width: 34em; line-height: 1.45; letter-spacing: -0.015em; }
html[lang="fr"] :is(.editorial-head h2, .process-head h2, .audience-layout h2, .rfq-title h2) {
  font-size: clamp(2.8rem, 5.3vw, 6.1rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
html[lang="fr"] .principle h2 { font-size: clamp(3.2rem, 6.4vw, 7.3rem); line-height: 1; letter-spacing: -0.045em; }
html[lang="fr"] :is(.capability-row h3, .audience-type span) { line-height: 1.12; letter-spacing: -0.02em; }

html[lang="es"] .hero h1 {
  max-width: 12em;
  font-size: clamp(3.5rem, 7.6vw, 8.2rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
}
html[lang="es"] .hero-lede { max-width: 32em; line-height: 1.43; letter-spacing: -0.018em; }
html[lang="es"] :is(.editorial-head h2, .process-head h2, .audience-layout h2, .rfq-title h2) {
  font-size: clamp(2.9rem, 5.6vw, 6.4rem);
  line-height: 1.02;
  letter-spacing: -0.038em;
}
html[lang="es"] .principle h2 { font-size: clamp(3.2rem, 6.6vw, 7.5rem); line-height: 0.98; letter-spacing: -0.045em; }
html[lang="es"] :is(.capability-row h3, .audience-type span) { line-height: 1.12; letter-spacing: -0.025em; }

html[lang="ru"] .hero h1 {
  max-width: 13em;
  font-size: clamp(3.3rem, 6.9vw, 7.6rem);
  line-height: 1.03;
  letter-spacing: -0.025em;
}
html[lang="ru"] .hero h1 em { font-family: inherit; font-style: normal; font-weight: 500; letter-spacing: inherit; }
html[lang="ru"] .hero-lede { max-width: 33em; line-height: 1.5; letter-spacing: 0; }
html[lang="ru"] :is(.editorial-head h2, .process-head h2, .audience-layout h2, .rfq-title h2, .principle h2) {
  font-size: clamp(2.7rem, 4.6vw, 5.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
html[lang="ru"] :is(.capability-row h3, .process-flow strong, .audience-type span) { line-height: 1.18; letter-spacing: -0.01em; }
html[lang="ru"] .header-note { letter-spacing: 0; }
html[lang="ru"] .rfq-form label { letter-spacing: 0; line-height: 1.5; }

/* Give localized labels comfortable spacing at narrow desktop widths. */
@media (min-width: 981px) and (max-width: 1100px) {
  html:not([lang="en"]) .header-inner { gap: 20px; }
  html:not([lang="en"]) .header-note { max-width: 18em; line-height: 1.45; }
  html:not([lang="en"]) .header-actions { gap: 18px; }
  html:not([lang="en"]) .process-flow strong { font-size: 1.12rem; line-height: 1.2; }
  html:not([lang="en"]) .rfq-form-grid { grid-template-columns: 1fr; }
  html:not([lang="en"]) .rfq-form .field-wide { grid-column: auto; }
}
@media (max-width: 680px) {
  html[lang="en"] .hero h1 { font-size: clamp(2.75rem, 16vw, 5.4rem); }
  html[lang="zh-CN"] .hero h1 { font-size: clamp(2.5rem, 15vw, 4rem); line-height: 1.12; }
  html[lang="fr"] .hero h1 { font-size: clamp(1.9rem, 10.2vw, 3rem); line-height: 1.04; }
  html[lang="es"] .hero h1 { font-size: clamp(2rem, 10.6vw, 3.2rem); line-height: 1.02; }
  html[lang="ru"] .hero h1 { font-size: clamp(1.9rem, 10.5vw, 3rem); line-height: 1.12; }
  html[lang="zh-CN"] :is(.editorial-head h2, .process-head h2, .audience-layout h2, .rfq-title h2, .principle h2) { font-size: clamp(2.1rem, 9.5vw, 3.4rem); }
  html[lang="fr"] :is(.editorial-head h2, .process-head h2, .audience-layout h2, .rfq-title h2, .principle h2) { font-size: clamp(2rem, 10.4vw, 3rem); }
  html[lang="es"] :is(.editorial-head h2, .process-head h2, .audience-layout h2, .rfq-title h2, .principle h2) { font-size: clamp(2.1rem, 10.8vw, 3.15rem); }
  html[lang="ru"] :is(.editorial-head h2, .process-head h2, .audience-layout h2, .rfq-title h2, .principle h2) { font-size: clamp(1.65rem, 8.7vw, 2.8rem); }
  html[lang="fr"] .rfq-title h2, html[lang="es"] .rfq-title h2 { font-size: clamp(1.7rem, 9.2vw, 2.8rem); }
  html:not([lang="en"]) .hero-lede { font-size: 1.2rem; }
  html:not([lang="en"]) .rfq-form label { font-size: 0.75rem; line-height: 1.45; }
}
