:root {
  color-scheme: light;
  --paper: #f7f6f2;
  --white: #fffefa;
  --ink: #191b1c;
  --muted: #575b5c;
  --line: #dedcd6;
  --orange: #ff7540;
  --signal: #a63817;
  --sans: "Arial", "Helvetica Neue", sans-serif;
  --mono: "Consolas", "Liberation Mono", monospace;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
p, h1, h2, h3 { margin: 0; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid #1e8ae3; outline-offset: 4px; }
#contact-heading:focus, #main:focus { outline: none; }
.wrap { width: min(100% - 112px, 1250px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 4; inset-block-start: 8px; inset-inline-start: 8px; padding: 12px; background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.load-status { padding-block: 24px; line-height: 1.6; }

.site-header { background: var(--white); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-inner { min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 900; font-size: 22px; letter-spacing: -.055em; white-space: nowrap; }
.site-header nav, .header-actions { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
.site-header nav a { padding-block: 10px; font-weight: 600; font-size: 14px; }
.site-header nav a:hover, .back-top:hover { color: var(--signal); }
.header-actions { gap: 18px; }
.language { display: flex; align-items: center; gap: 6px; }
.language svg { flex-shrink: 0; }
.language select { min-width: 0; border: 0; background: none; color: var(--ink); font-size: 13px; padding: 7px 2px; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 50px; padding: 12px 19px; border-radius: 3px; border: 1px solid transparent; font-size: 14px; font-weight: 700; line-height: 1.2; transition: background-color .15s, border-color .15s, color .15s; }
.button-dark { background: var(--ink); color: var(--white); min-height: 41px; }
.button-dark:hover { background: #414548; }
.button-accent { background: var(--orange); color: #191919; }
.button-accent:hover { background: #ff946a; }
.button-outline { border-color: #9b9b99; color: var(--white); background: #15171930; }
.button-outline:hover { background: #ffffff22; border-color: var(--white); }
.arrow { font-size: 20px; font-weight: 400; line-height: 1; }

.hero {
  position: relative;
  isolation: isolate;
  background: #151719;
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(90deg, #121415 1%, #121415ec 20%, #121415a8 43%, #12141524 65%, #12141500 86%), url("hero.jpg");
  background-size: cover;
  background-position: center, center 52%;
}
[dir="rtl"] .hero::before, [dir="rtl"] .arrow { transform: scaleX(-1); }
.hero-inner { display: flex; align-items: center; min-height: clamp(500px, 45vw, 650px); padding-block: 76px; }
.hero-copy { min-width: 0; max-width: 690px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--signal); font: 700 12px/1.45 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; flex: 0 0 18px; height: 2px; background: currentColor; }
.hero .eyebrow, .contact .eyebrow { color: var(--orange); }
.hero h1 { margin-top: 23px; font-size: clamp(50px, 6.2vw, 91px); font-weight: 800; letter-spacing: -.072em; line-height: .99; }
.hero h1 span { display: block; }
.hero h1 span:last-child { color: var(--orange); }
.hero-description { max-width: 440px; margin-top: 25px; color: #e3e2df; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
:lang(ar) .hero h1, :lang(th) .hero h1 { font-size: clamp(42px, 5.3vw, 78px); }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3,
:lang(th) h1, :lang(th) h2, :lang(th) h3 { letter-spacing: normal; line-height: 1.18; }
:lang(ar) .eyebrow, :lang(th) .eyebrow { font-family: var(--sans); letter-spacing: normal; }

.section { padding-block: clamp(60px, 6.3vw, 100px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px 44px; margin: 12px 0 32px; }
h2 { font-size: clamp(38px, 5vw, 70px); line-height: 1.02; letter-spacing: -.067em; }
.section-head p { max-width: 360px; color: var(--muted); line-height: 1.55; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product { min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 3px; }
.product a { display: flex; flex-direction: column; height: 100%; }
.product img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #f0e9e1; border-radius: 2px 2px 0 0; }
.product-content { display: flex; flex: 1; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 20px; border-top: 1px solid var(--line); }
.product h3, .steps h3 { font-size: 21px; line-height: 1.15; letter-spacing: -.033em; }
.product p, .steps p { margin-top: 8px; color: var(--muted); line-height: 1.5; font-size: 14px; }
.product-arrow { display: grid; place-items: center; flex: 0 0 33px; height: 33px; border: 1px solid var(--line); border-radius: 2px; transition: background-color .15s, border-color .15s; }
.product a:hover .product-arrow, .product a:focus-visible .product-arrow { background: var(--orange); border-color: var(--orange); }

.sourcing { border-block: 1px solid var(--line); background: #eceae4; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; border-top: 1px solid #c7c4bc; padding-block-start: 18px; padding-inline-end: 12px; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 19px; color: var(--signal); font: 700 15px/1 var(--mono); }
.steps p { max-width: 310px; font-size: 15px; }

.contact { background: #191b1c; color: var(--white); }
.contact-inner { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 90px); }
.contact h2 { margin-top: 15px; }
.contact-description { margin-top: 19px; max-width: 400px; color: #d1d0cd; line-height: 1.55; }
.contact-email { display: inline-block; margin-top: 20px; color: var(--orange); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.quote-form { display: grid; gap: 16px; align-content: start; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.quote-form label { display: grid; gap: 7px; min-width: 0; font-size: 14px; font-weight: 700; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; min-width: 0; padding: 12px; border: 1px solid #636665; border-radius: 3px; color: var(--white); background: #26292a; color-scheme: dark; font-weight: 400; }
.quote-form input, .quote-form select { min-height: 47px; }
.quote-form textarea { resize: vertical; }
.quote-form ::placeholder { color: #b9b9b5; }
.form-note, #quote-status { color: #d1d0cd; font-size: 13px; line-height: 1.45; }
.quote-form button { justify-self: start; }
.site-footer { border-top: 1px solid var(--line); background: var(--white); }
.footer-inner { min-height: 84px; }
.footer-inner .brand { font-size: 19px; }
.footer-inner p { color: var(--muted); font-size: 13px; }
.back-top { font-size: 13px; font-weight: 700; white-space: nowrap; }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .site-header nav { gap: 17px; }
  .header-actions { gap: 12px; }
  .product-content { padding: 15px; }
}

@media (max-width: 780px) {
  .header-quote { display: none; }
  .hero::before { background-position: center, 62% center; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 10px; padding-top: 10px; }
  .header-actions { order: 1; justify-self: end; max-width: 100%; }
  .language { min-width: 0; }
  .site-header nav { order: 2; grid-column: 1 / -1; justify-content: space-between; gap: 10px; min-height: 42px; }
  .site-header nav a { font-size: 13px; }
  .brand { font-size: 20px; }
  .hero::before {
    background-image: linear-gradient(90deg, #121415ed, #1214159e 74%, #12141574), url("hero.jpg");
    background-position: center, 64% center;
  }
  .hero-inner { min-height: 480px; padding-block: 56px; }
  .hero h1 { font-size: clamp(36px, 10.4vw, 59px); }
  :lang(ar) .hero h1, :lang(th) .hero h1 { font-size: clamp(32px, 8.8vw, 51px); }
  .hero-description { max-width: 360px; }
  .section-head { display: block; margin-bottom: 24px; }
  .section-head p { margin-top: 12px; }
  .product-grid { gap: 12px; }
  .product h3 { font-size: 17px; overflow-wrap: anywhere; }
  .product p { font-size: 13px; }
  .product-content { flex-direction: column; padding: 12px; }
  .product-arrow { flex: 0 0 30px; width: 30px; height: 30px; margin-top: auto; align-self: flex-end; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .steps li::before { margin-bottom: 10px; }
  .form-row { grid-template-columns: 1fr; gap: 16px; }
  .footer-inner { flex-wrap: wrap; justify-content: space-between; padding-block: 18px; gap: 12px; }
  .footer-inner p { order: 2; width: 100%; }
}

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