:root {
  --ink: #171b1d;
  --ink-soft: #2d3336;
  --paper: #f4f6f4;
  --surface: #ffffff;
  --line: #d8ddda;
  --muted: #687177;
  --denim: #496e82;
  --denim-deep: #2f5367;
  --signal: #d85b3f;
  --signal-dark: #b9462e;
  --max-width: 1240px;
  --header-height: 76px;
  --radius: 6px;
  --shadow: 0 18px 55px rgba(20, 25, 27, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

button,
select {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  font-weight: 650;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 44px;
  max-width: 840px;
}

h3 {
  font-size: 20px;
}

svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.7;
}

.page-shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--surface);
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--signal);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 750;
  text-transform: uppercase;
}

.lead-copy {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto minmax(230px, 1fr);
  align-items: center;
  width: 100%;
  height: var(--header-height);
  padding: 0 max(24px, calc((100vw - var(--max-width)) / 2));
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.inner-page .site-header {
  color: #fff;
  background: rgba(23, 27, 29, 0.97);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 7px 30px rgba(8, 11, 12, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  justify-self: start;
  min-width: 0;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  color: #fff;
  background: var(--signal);
  font-size: 19px;
  line-height: 1;
}

.brand-name {
  white-space: nowrap;
  font-size: 17px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  justify-self: center;
}

.desktop-nav a,
.footer-links a {
  position: relative;
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 4px;
  color: inherit;
  background: transparent;
  border: 0;
  font-size: 12px;
  font-weight: 650;
}

.language-toggle span:not([aria-hidden="true"]) {
  opacity: 0.55;
}

.language-toggle [data-language-en].is-active,
.language-toggle [data-language-zh].is-active,
.language-toggle [data-language-ru].is-active {
  opacity: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  transition: background 170ms ease, border-color 170ms ease, color 170ms ease, transform 170ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-small {
  min-height: 40px;
  padding: 10px 15px;
  color: var(--ink);
  background: #fff;
  font-size: 13px;
}

.button-primary {
  color: #fff;
  background: var(--signal);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--signal-dark);
}

.button-secondary {
  color: #fff;
  background: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--ink-soft);
}

.button-ghost {
  color: #fff;
  background: rgba(0, 0, 0, 0.18);
  border-color: rgba(255, 255, 255, 0.58);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(0, 0, 0, 0.38);
  border-color: #fff;
}

.button-light {
  color: var(--ink);
  background: #fff;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 3px;
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 620px;
  height: 86svh;
  max-height: 850px;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center center;
}

.hero-scrim {
  background: rgba(12, 16, 18, 0.48);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 74px;
}

.hero-eyebrow {
  color: #f7b3a4;
}

.hero h1 {
  margin-bottom: 18px;
  font-size: 66px;
  max-width: 980px;
}

.hero-lead {
  max-width: 670px;
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.45;
}

.hero-note {
  max-width: 640px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
}

.hero-proof svg {
  width: 18px;
  height: 18px;
  color: #f7b3a4;
}

.facts-band {
  color: #fff;
  background: var(--denim-deep);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact {
  display: flex;
  flex-direction: column;
  min-height: 112px;
  justify-content: center;
  padding: 24px 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.fact:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.fact span {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.fact strong {
  font-size: 19px;
  line-height: 1.2;
}

.section {
  padding: 112px 0;
}

.section-intro {
  margin-bottom: 56px;
}

.split-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.65fr);
  align-items: end;
  gap: 72px;
}

.split-intro p:last-child {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 17px;
}

.compact-intro {
  max-width: 900px;
}

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

.capability-item {
  min-height: 245px;
  padding: 34px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capability-item > svg {
  width: 28px;
  height: 28px;
  margin-bottom: 42px;
  color: var(--signal);
}

.capability-item h3 {
  margin-bottom: 12px;
}

.capability-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.section-categories {
  color: #fff;
  background: var(--ink);
}

.section-categories .eyebrow {
  color: #f7b3a4;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(3, 310px);
  gap: 12px;
}

.category-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #303638;
  border-radius: var(--radius);
}

.category-card-large {
  grid-column: span 2;
  grid-row: span 2;
}

.category-card-wide {
  grid-column: span 2;
}

.category-card img {
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 500ms ease;
}

.category-card:hover img {
  transform: scale(1.025);
}

.category-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 48px 22px 20px;
  background: rgba(17, 20, 22, 0.78);
}

.category-caption h3 {
  margin-bottom: 6px;
}

.category-caption p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.section-why {
  background: #fff;
}

.why-layout,
.qc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 86px;
}

.why-media,
.qc-media {
  position: relative;
}

.why-media img,
.qc-media img {
  height: 690px;
  object-fit: cover;
  border-radius: var(--radius);
}

.media-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  min-width: 184px;
  padding: 18px;
  color: #fff;
  background: var(--denim-deep);
  box-shadow: var(--shadow);
}

.media-note span {
  margin-bottom: 4px;
  font-size: 11px;
  opacity: 0.75;
}

.media-note strong {
  font-size: 21px;
}

.why-content h2,
.qc-content h2 {
  margin-bottom: 26px;
}

.founder-note {
  margin: 24px 0 0;
  padding-left: 20px;
  color: var(--ink);
  border-left: 3px solid var(--signal);
  font-size: 16px;
  line-height: 1.7;
}

.why-list {
  margin-top: 38px;
  border-top: 1px solid var(--line);
}

.why-list article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.why-list article > span {
  color: var(--signal);
  font-size: 12px;
  font-weight: 700;
}

.why-list h3 {
  margin-bottom: 6px;
  font-size: 17px;
}

.why-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.section-service-model {
  color: #fff;
  background: var(--denim-deep);
}

.section-service-model .eyebrow {
  color: #f7b3a4;
}

.section-service-model .split-intro > p {
  color: rgba(255, 255, 255, 0.7);
}

.service-model-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 54px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.service-model-grid article {
  min-height: 280px;
  padding: 42px;
  background: var(--denim-deep);
}

.service-code {
  display: block;
  margin-bottom: 44px;
  color: #f7b3a4;
  font-size: 13px;
  font-weight: 800;
}

.service-model-grid h3 {
  margin-bottom: 14px;
  font-size: 25px;
}

.service-model-grid p {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.section-process {
  background: var(--paper);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.process-list li {
  min-height: 280px;
  padding: 25px 24px 24px 0;
  border-right: 1px solid var(--line);
}

.process-list li + li {
  padding-left: 24px;
}

.process-list li:last-child {
  border-right: 0;
}

.process-number {
  display: block;
  margin-bottom: 72px;
  color: var(--signal);
  font-size: 12px;
  font-weight: 750;
}

.process-list h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.process-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.section-qc {
  color: #fff;
  background: var(--denim-deep);
}

.section-qc .eyebrow {
  color: #f7b3a4;
}

.section-qc .lead-copy {
  color: rgba(255, 255, 255, 0.72);
}

.qc-media img {
  height: 600px;
}

.check-list {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.check-list svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: #f7b3a4;
}

.section-terms,
.terms-band {
  padding: 88px 0;
  background: #fff;
}

.terms-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 74px;
}

.terms-copy h2 {
  font-size: 37px;
}

.terms-heading {
  margin-bottom: 42px;
}

.terms-heading h2 {
  max-width: 900px;
}

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

.term,
.terms-grid > div {
  min-height: 150px;
  padding: 20px 28px;
  border-right: 1px solid var(--line);
}

.term strong,
.terms-grid > div strong {
  display: block;
  margin-bottom: 13px;
  color: var(--denim-deep);
  font-size: 38px;
  line-height: 1;
}

.term span,
.terms-grid > div span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.terms-grid > div small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.section-materials {
  padding-top: 28px;
  background: #fff;
}

.materials-grid,
.materials-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.materials-media {
  overflow: hidden;
  border-radius: var(--radius);
}

.materials-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.materials-grid img,
.materials-layout img {
  height: 500px;
  object-fit: cover;
}

.materials-grid figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 18px 20px;
  color: #fff;
  background: rgba(17, 20, 22, 0.8);
  font-size: 14px;
  font-weight: 650;
}

.section-samples {
  background: var(--paper);
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}

.section-heading-row > div:first-child {
  max-width: 820px;
}

.section-heading-row h2 {
  margin-bottom: 18px;
}

.section-heading-row p:last-child {
  max-width: 670px;
  margin-bottom: 0;
  color: var(--muted);
}

.featured-sample-grid,
.featured-samples,
.sample-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 14px;
}

.samples-intro-side p {
  margin-bottom: 20px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--denim-deep);
  font-size: 14px;
  font-weight: 750;
}

.text-link svg {
  width: 17px;
  height: 17px;
}

.sample-card {
  min-width: 0;
}

.style-card {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.sample-image-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #e5e8e5;
  border: 0;
  border-radius: var(--radius);
  aspect-ratio: 2 / 3;
}

.sample-image-button img {
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.sample-image-button:hover img,
.sample-image-button:focus-visible img {
  transform: scale(1.02);
}

.sample-image-button::after {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: rgba(23, 27, 29, 0.86);
  border-radius: 3px;
  content: "+";
  font-size: 22px;
  line-height: 1;
}

.sample-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 2px 9px;
}

.sample-meta h3 {
  margin-bottom: 0;
  font-size: 16px;
}

.sample-meta span {
  color: var(--muted);
  font-size: 13px;
}

.colorway-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  gap: 18px;
  padding-inline: 2px;
}

.selected-color-label {
  color: var(--muted);
  font-size: 13px;
}

.colorway-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.colorway-button {
  position: relative;
  width: 27px;
  height: 27px;
  padding: 0;
  background: var(--swatch-color);
  border: 1px solid rgba(23, 27, 29, 0.24);
  border-radius: 50%;
}

.colorway-button::after {
  position: absolute;
  inset: -5px;
  border: 1px solid transparent;
  border-radius: 50%;
  content: "";
}

.colorway-button:hover::after,
.colorway-button:focus-visible::after,
.colorway-button.is-active::after {
  border-color: var(--ink);
}

.colorway-white {
  --swatch-color: #f4f2eb;
}

.colorway-black {
  --swatch-color: #191c1d;
}

.colorway-coffee {
  --swatch-color: #9a795b;
}

.section-contact {
  scroll-margin-top: calc(var(--header-height) + 12px);
  color: #fff;
  background: var(--ink);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 86px;
  align-items: start;
}

.contact-copy h2 {
  margin-bottom: 22px;
}

.contact-copy > p:not(.eyebrow):not(.contact-response):not(.response-time) {
  max-width: 510px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

.contact-response,
.response-time {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 26px 0 40px;
  color: #f7b3a4;
  font-size: 13px;
}

.contact-list,
.contact-details {
  display: grid;
  gap: 0;
  margin: 0;
}

.contact-details > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-details > div:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-details dt {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
}

.contact-details dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 700;
}

.contact-details a {
  color: inherit;
}

/* AI inquiry assistant */
.chat-widget {
  position: fixed;
  right: 22px;
  bottom: 80px;
  z-index: 96;
}

.chat-launcher {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 17px;
  color: #fff;
  background: var(--denim-deep);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  box-shadow: 0 14px 36px rgba(17, 27, 32, 0.24);
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.chat-launcher:hover {
  background: #244756;
  transform: translateY(-2px);
}

.chat-launcher[hidden] {
  display: none;
}

.chat-launcher svg {
  width: 19px;
  height: 19px;
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-rows: auto minmax(180px, 1fr) auto auto auto;
  width: min(390px, calc(100vw - 32px));
  height: min(590px, calc(100vh - 112px));
  height: min(590px, calc(100dvh - 112px));
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfd6d3;
  border-radius: 6px;
  box-shadow: 0 24px 70px rgba(10, 18, 21, 0.28);
}

.chat-panel[hidden] {
  display: none;
}

.chat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  color: #fff;
  background: var(--ink);
}

.chat-kicker {
  margin: 0 0 3px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.chat-header h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
}

.chat-status > span:first-child {
  width: 7px;
  height: 7px;
  background: #4fc28b;
  border-radius: 50%;
}

.chat-close {
  flex: 0 0 auto;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.chat-messages {
  min-height: 0;
  padding: 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #f4f6f4;
}

.chat-message {
  display: flex;
  margin-bottom: 12px;
}

.chat-message.is-user {
  justify-content: flex-end;
}

.chat-bubble {
  max-width: 84%;
  padding: 11px 13px;
  color: #3f484c;
  background: #fff;
  border: 1px solid #d9dfdc;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.chat-message.is-user .chat-bubble {
  color: #fff;
  background: var(--denim-deep);
  border-color: var(--denim-deep);
}

.chat-message.is-error .chat-bubble {
  color: #7d3527;
  background: #fff4f1;
  border-color: #efc7bd;
}

.chat-typing .chat-bubble {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 52px;
  min-height: 38px;
}

.chat-typing i {
  width: 5px;
  height: 5px;
  background: #829095;
  border-radius: 50%;
  animation: chat-pulse 900ms infinite alternate;
}

.chat-typing i:nth-child(2) { animation-delay: 150ms; }
.chat-typing i:nth-child(3) { animation-delay: 300ms; }

@keyframes chat-pulse {
  to { opacity: 0.25; transform: translateY(-2px); }
}

.chat-quick-replies {
  display: flex;
  gap: 7px;
  padding: 12px 14px;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  background: #fff;
}

.chat-quick-replies button {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 10px;
  color: var(--denim-deep);
  background: #edf3f5;
  border: 1px solid #cbd9de;
  border-radius: 5px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.chat-quick-replies button:hover {
  background: #e1ecef;
}

.chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 8px;
  padding: 12px 14px 8px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.chat-form input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #bfc8c5;
  border-radius: 5px;
  font: inherit;
  font-size: 13px;
}

.chat-form input:focus {
  outline: 2px solid rgba(73, 110, 130, 0.24);
  border-color: var(--denim);
}

.chat-send {
  display: grid;
  place-items: center;
  min-width: 42px;
  min-height: 42px;
  color: #fff;
  background: var(--signal);
  border: 0;
  border-radius: 5px;
  cursor: pointer;
}

.chat-send:disabled,
.chat-form input:disabled,
.chat-quick-replies button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.chat-send svg {
  width: 17px;
  height: 17px;
}

.chat-disclaimer {
  margin: 0;
  padding: 0 14px 10px;
  color: #7c8588;
  background: #fff;
  font-size: 9px;
  line-height: 1.4;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  color: #fff;
  background: #16785b;
  box-shadow: 0 10px 28px rgba(17, 31, 27, 0.22);
  font-size: 13px;
  font-weight: 800;
  transition: background-color 180ms ease, transform 180ms ease;
}

.whatsapp-float:hover {
  color: #fff;
  background: #11664c;
  transform: translateY(-2px);
}

.whatsapp-float svg {
  width: 19px;
  height: 19px;
}

.contact-list a,
.contact-list div {
  display: grid;
  grid-template-columns: 24px 92px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-list > :last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-list svg {
  color: #f7b3a4;
}

.contact-list span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
}

.contact-list strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
}

.inquiry-form {
  padding: 38px;
  color: var(--ink);
  background: #fff;
  border-radius: var(--radius);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 16px;
}

.form-grid label {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.form-grid label > span {
  font-size: 12px;
  font-weight: 750;
}

.form-full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 13px;
  color: var(--ink);
  background: #f7f8f7;
  border: 1px solid #cfd5d1;
  border-radius: 3px;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

input,
select {
  min-height: 47px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--denim);
  box-shadow: 0 0 0 3px rgba(73, 110, 130, 0.14);
}

.form-submit {
  margin-top: 22px;
}

.form-status {
  min-height: 22px;
  margin: 13px 0 0;
  color: var(--denim-deep);
  font-size: 13px;
}

.form-status.is-success {
  color: #177154;
}

.form-status.is-error {
  color: #b42318;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.68;
}

.site-footer {
  padding: 56px 0 28px;
  color: #fff;
  background: #0e1112;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-inner > div:first-child p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 26px;
  padding-top: 9px;
}

/* Legal pages */
.legal-page {
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
}

.legal-header {
  position: static;
  grid-template-columns: 1fr auto;
  color: #fff;
  background: var(--ink);
}

.legal-main {
  padding: 96px 0 110px;
}

.legal-content {
  max-width: 820px;
}

.legal-content .eyebrow {
  margin-bottom: 18px;
}

.legal-content h1 {
  margin-bottom: 18px;
  font-size: 58px;
}

.legal-updated {
  margin-bottom: 54px;
  color: var(--muted);
}

.legal-content h2 {
  margin: 38px 0 12px;
  font-size: 24px;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  line-height: 1.75;
}

.legal-content ul {
  padding-left: 20px;
}

.copyright {
  grid-column: 1 / -1;
  margin: 28px 0 0;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.42);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
}

/* Samples page */
.samples-hero {
  padding: 152px 0 68px;
  color: #fff;
  background: var(--denim-deep);
}

.samples-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: 70px;
  align-items: end;
}

.samples-hero h1 {
  margin-bottom: 22px;
  font-size: 62px;
  max-width: 780px;
}

.samples-hero .eyebrow {
  color: #f7b3a4;
}

.samples-hero p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
}

.samples-hero-facts {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.samples-hero-facts div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.samples-hero-facts span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.samples-hero-facts strong {
  font-size: 14px;
}

.sample-gallery-section {
  padding: 64px 0 112px;
}

.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.gallery-guide {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.gallery-guide svg {
  width: 18px;
  height: 18px;
  color: var(--signal);
}

.filter-group {
  display: inline-flex;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.filter-button {
  min-height: 42px;
  padding: 10px 18px;
  white-space: nowrap;
  color: var(--muted);
  background: #fff;
  border: 0;
  border-right: 1px solid var(--line);
  font-size: 13px;
  font-weight: 650;
}

.filter-button:last-child {
  border-right: 0;
}

.filter-button.is-active {
  color: #fff;
  background: var(--ink);
}

.sample-count {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.gallery-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  margin-top: 90px;
  padding: 42px;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius);
}

.gallery-cta h2 {
  margin-bottom: 12px;
  font-size: 32px;
}

.gallery-cta p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.65);
}

.sample-modal {
  width: min(100% - 32px, 980px);
  max-height: calc(100svh - 32px);
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.sample-modal::backdrop {
  background: rgba(8, 10, 11, 0.82);
}

.modal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
  max-height: calc(100svh - 32px);
}

.modal-media {
  min-height: 0;
  background: #e6e9e6;
}

.modal-media img {
  height: 100%;
  max-height: calc(100svh - 32px);
  object-fit: contain;
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--ink);
}

.modal-content h2 {
  margin-bottom: 9px;
  font-size: 30px;
}

.modal-content p {
  margin-bottom: 25px;
  color: var(--muted);
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .header-actions {
    grid-column: 2;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .mobile-nav {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    visibility: hidden;
    padding: 14px 24px 22px;
    background: rgba(23, 27, 29, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 170ms ease, transform 170ms ease, visibility 170ms ease;
  }

  .mobile-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-nav a {
    padding: 13px 0;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
    font-size: 15px;
    font-weight: 600;
  }

  .mobile-nav a:last-child {
    border-bottom: 0;
  }

  .process-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-list li:nth-child(3) {
    border-right: 0;
  }

  .process-list li:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

  .contact-layout {
    gap: 48px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 68px;
  }

  h2 {
    font-size: 36px;
  }

  .page-shell {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .site-header {
    padding-inline: 16px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    height: 82svh;
    min-height: 590px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero-content {
    padding-bottom: 48px;
  }

  .hero-lead {
    font-size: 20px;
  }

  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fact:nth-child(2) {
    border-right: 1px solid rgba(255, 255, 255, 0.18);
  }

  .fact:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .section {
    padding: 88px 0;
  }

  .split-intro,
  .why-layout,
  .qc-layout,
  .terms-layout,
  .contact-layout,
  .samples-hero-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-model-grid {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 520px repeat(3, 300px);
  }

  .category-card-large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .category-card-wide {
    grid-column: span 1;
  }

  .why-media img,
  .qc-media img {
    height: 560px;
  }

  .why-content,
  .qc-content {
    max-width: 680px;
  }

  .terms-grid {
    border-top: 1px solid var(--line);
  }

  .materials-grid img {
    height: 420px;
  }

  .featured-sample-grid,
  .featured-samples,
  .sample-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading-row {
    align-items: start;
    flex-direction: column;
  }

  .inquiry-form {
    padding: 30px;
  }

  .samples-hero {
    padding-top: 128px;
  }

  .samples-hero h1 {
    font-size: 50px;
  }
}

@media (max-width: 600px) {
  h2 {
    font-size: 30px;
  }

  .brand-name {
    font-size: 15px;
  }

  .site-header .brand-name-descriptor {
    display: none;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
    font-size: 17px;
  }

  .header-actions {
    gap: 7px;
  }

  .language-toggle {
    font-size: 11px;
  }

  .icon-button {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 640px;
    height: 88svh;
    max-height: 760px;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-scrim {
    background: rgba(12, 16, 18, 0.56);
  }

  .hero-content {
    padding-bottom: 34px;
  }

  .hero h1 {
    margin-bottom: 14px;
    font-size: 46px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-note {
    margin-bottom: 21px;
    font-size: 13px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-proof {
    align-items: flex-start;
    margin-top: 18px;
  }

  .fact {
    min-height: 98px;
    padding: 18px 14px;
  }

  .fact strong {
    font-size: 16px;
  }

  .section {
    padding: 72px 0;
  }

  .section-intro {
    margin-bottom: 36px;
  }

  .split-intro {
    gap: 24px;
  }

  .capability-grid,
  .category-grid,
  .service-model-grid,
  .featured-sample-grid,
  .featured-samples,
  .sample-grid,
  .materials-grid,
  .materials-layout,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .service-model-grid article {
    min-height: auto;
    padding: 30px;
  }

  .service-code {
    margin-bottom: 28px;
  }

  .legal-main {
    padding: 64px 0 80px;
  }

  .legal-content h1 {
    font-size: 40px;
  }

  .capability-item {
    min-height: auto;
    padding: 26px;
  }

  .capability-item > svg {
    margin-bottom: 28px;
  }

  .category-grid {
    grid-template-rows: repeat(7, 410px);
  }

  .category-card-large,
  .category-card-wide {
    grid-column: span 1;
  }

  .why-media img,
  .qc-media img,
  .materials-grid img,
  .materials-layout img {
    height: 430px;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li,
  .process-list li + li {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 14px;
    min-height: 0;
    padding: 24px 0;
    border-right: 0;
    border-top: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-list li:nth-child(n + 4) {
    border-top: 0;
  }

  .process-number {
    margin-bottom: 0;
  }

  .terms-grid {
    grid-template-columns: 1fr;
    border-left: 0;
  }

  .term,
  .terms-grid > div {
    display: grid;
    grid-template-columns: 128px 1fr;
    align-items: center;
    min-height: 0;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .term strong,
  .terms-grid > div strong {
    margin-bottom: 0;
    font-size: 31px;
  }

  .terms-grid > div small {
    grid-column: 2;
  }

  .section-materials {
    padding-top: 10px;
  }

  .inquiry-form {
    padding: 22px 18px;
  }

  .form-full {
    grid-column: auto;
  }

  .contact-list a,
  .contact-list div {
    grid-template-columns: 22px 75px minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 16px 22px;
  }

  .copyright {
    grid-column: auto;
  }

  .samples-hero {
    padding: 112px 0 52px;
  }

  .samples-hero h1 {
    font-size: 40px;
  }

  .samples-hero p:last-child {
    font-size: 16px;
  }

  .gallery-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-group {
    width: 100%;
  }

  .filter-button {
    flex: 1 0 auto;
  }

  .sample-gallery-section {
    padding-top: 40px;
  }

  .gallery-cta {
    grid-template-columns: 1fr;
    margin-top: 64px;
    padding: 28px 22px;
  }

  .gallery-cta h2 {
    font-size: 27px;
  }

  .modal-layout {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .modal-media {
    height: 66svh;
  }

  .modal-media img {
    max-height: 66svh;
  }

  .modal-content {
    min-height: 220px;
    padding: 28px 22px 22px;
  }
}

html[lang="ru"] .hero h1 {
  max-width: 920px;
  font-size: 54px;
}

html[lang="ru"] .hero-lead {
  max-width: 760px;
  font-size: 21px;
}

@media (max-width: 820px) {
  html[lang="ru"] .hero {
    min-height: 690px;
  }

  html[lang="ru"] .hero h1 {
    font-size: 44px;
  }

  html[lang="ru"] .hero-lead {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  html[lang="ru"] .hero {
    min-height: 720px;
  }

  html[lang="ru"] .hero h1 {
    font-size: 36px;
  }

  html[lang="ru"] .legal-content h1 {
    font-size: 29px;
  }
}

@media (max-width: 520px) {
  .chat-widget {
    right: 14px;
    bottom: calc(max(14px, env(safe-area-inset-bottom)) + 56px);
  }

  .chat-launcher {
    min-height: 42px;
    padding: 0 13px;
  }

  .chat-panel {
    position: fixed;
    right: 10px;
    bottom: calc(max(14px, env(safe-area-inset-bottom)) + 54px);
    left: 10px;
    width: auto;
    height: min(650px, calc(100dvh - 78px));
  }

  .chat-header {
    padding: 16px;
  }

  .chat-messages {
    padding: 14px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    min-height: 42px;
    padding: 0 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
