:root {
  color-scheme: light;
  --paper: #fff;
  --wash: #f2f3f5;
  --ink: #14191f;
  --muted: #525c66;
  --line: #dce0e5;
  --red: #ad2335;
  --red-hover: #901a2a;
  --dark: #14191f;
  --edge: clamp(20px, 5vw, 78px);
  --width: 1312px;
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #b73548; outline-offset: 4px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.12; }
[id] { scroll-margin-top: 96px; }
.shell { width: min(calc(100% - 2 * var(--edge)), var(--width)); margin-inline: auto; }
.section { padding-block: clamp(58px, 7vw, 111px); }
.skip-link { position: absolute; top: 12px; left: var(--edge); z-index: 5; padding: 8px 16px; background: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 3; border-top: 3px solid var(--red); border-bottom: 1px solid #11182019; background: #fff; }
.header-inner { min-height: 77px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(19px, 4vw, 62px); }
.brand { display: inline-flex; align-items: center; gap: 13px; white-space: nowrap; }
.brand img { width: 104px; height: auto; }
.brand > span { padding-left: 13px; border-left: 1px solid var(--line); font-size: 15px; font-weight: 700; }
.site-nav { justify-self: end; display: flex; align-items: stretch; gap: clamp(20px, 2.6vw, 44px); }
.site-nav a { padding-block: 25px; white-space: nowrap; font-size: 14px; font-weight: 700; }
.site-nav a:hover, .language-button:hover { color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.language-button { display: flex; align-items: center; gap: 6px; min-height: 40px; padding: 5px 9px; border: 0; background: transparent; color: #35404a; font-weight: 700; font-size: 13px; white-space: nowrap; }
.language-button [aria-hidden] { font-size: 20px; font-weight: 400; }
.menu-toggle { display: none; align-content: center; gap: 5px; width: 38px; height: 42px; border: 0; background: none; }
.menu-toggle span { display: block; width: 21px; height: 2px; background: var(--ink); }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(500px, 47vw, 680px); overflow: hidden; background: #171d23; color: white; }
.hero-photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% 53%; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#10161cf2 0%,#111820d7 31%,#12182066 60%,#10161c05 100%), linear-gradient(0deg,#10161c85,transparent 27%); }
.hero-inner { padding-block: 77px 90px; }
.eyebrow { color: var(--red); font-size: 11px; line-height: 1.55; font-weight: 800; letter-spacing: .15em; }
.hero-eyebrow { display: flex; align-items: center; gap: 12px; color: #f2f3f5; }
.hero-eyebrow span { width: 36px; height: 3px; background: #e34a5b; }
.hero h1 { margin-top: 25px; max-width: 930px; font-size: clamp(42px, 5.35vw, 84px); font-weight: 800; letter-spacing: -.045em; line-height: 1.07; text-wrap: balance; }
.hero h1 span { display: block; }
:lang(en) .hero h1 { font-size: clamp(40px, 5.1vw, 78px); }
.hero-description { max-width: 490px; margin-top: 23px; color: #edf0f4; font-size: clamp(15px, 1.45vw, 20px); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 15px; min-height: 48px; padding: 10px 18px; border: 1px solid transparent; font-size: 14px; font-weight: 700; line-height: 1.25; }
.button-red { background: var(--red); color: #fff; }
.button-red:hover { background: var(--red-hover); }
.button-outline { border-color: #ffffff9e; color: #fff; }
.button-outline:hover { background: #ffffff20; }
.hero-caption { position: absolute; right: var(--edge); bottom: 17px; color: #fff; font-size: 11px; letter-spacing: .06em; }

.product-index { border-bottom: 1px solid var(--line); background: white; }
.index-inner { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-inline-start: 1px solid var(--line); }
.index-inner a { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 9px; align-items: center; min-height: 67px; padding: 12px clamp(9px, 1.4vw, 22px); border-inline-end: 1px solid var(--line); }
.index-inner strong { font-size: 13px; line-height: 1.35; }
.index-inner span { color: var(--red); font-size: 11px; font-weight: 800; }
.index-inner a:hover { color: var(--red); background: #f6f6f7; }

.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 30px; margin-bottom: clamp(22px, 3vw, 40px); }
h2 { margin-top: 10px; font-size: clamp(34px, 4vw, 58px); font-weight: 800; letter-spacing: -.038em; }
.section-heading > p { max-width: 400px; justify-self: end; padding-bottom: 3px; color: var(--muted); font-size: clamp(14px, 1.36vw, 17px); }
.turning-feature { display: grid; grid-template-columns: 1.05fr .95fr; border: 1px solid var(--line); background: white; }
.machine-figure { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--line); }
.machine-visual { display: grid; flex: 1; place-items: center; min-height: 345px; padding: clamp(20px,3vw,43px); }
.machine-visual img { width: 100%; max-width: 570px; height: min(31vw, 395px); min-height: 275px; object-fit: contain; }
.machine-figure figcaption { padding: 10px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; background: #fafafa; }
.turning-details { display: grid; align-content: center; gap: 22px; padding: clamp(25px, 3.1vw, 55px); }
.turning-details article + article { padding-top: 22px; border-top: 1px solid var(--line); }
.turning-details h3 { margin-block: 5px 8px; font-size: clamp(22px, 2.2vw, 33px); letter-spacing: -.022em; }
.turning-details article > p:not(.eyebrow, .model-list) { color: var(--muted); font-size: 15px; }
.model-list { margin-top: 10px; font-size: 13px; font-weight: 700; color: #333d47; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; width: fit-content; padding-bottom: 4px; border-bottom: 1px solid #b52d41; color: #942032; font-size: 14px; font-weight: 700; }
.text-link:hover { color: #67101f; }

.solutions-section { background: var(--wash); }
.solution-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.solution-card { display: flex; flex-direction: column; min-width: 0; background: white; border: 1px solid var(--line); }
.solution-image { aspect-ratio: 1672/941; background-color: #262b33; background-image: url("assets/process-applications.jpg"); background-size: 200% 200%; background-repeat: no-repeat; }
.press-image { background-position: left top; }
.laser-image { background-position: right top; }
.vision-image { background-position: left bottom; }
.integration-image { background-position: right bottom; }
.solution-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 11px; padding: clamp(17px, 2vw, 25px); }
.solution-copy h3 { font-size: clamp(18px, 1.65vw, 24px); letter-spacing: -.025em; }
.solution-copy > p:not(.eyebrow) { margin-bottom: 4px; color: var(--muted); font-size: 14px; }
.solution-copy .text-link { margin-top: auto; }
.image-note { margin-top: 13px; color: var(--muted); font-size: 12px; }

.about-section { background: var(--dark); color: white; }
.about-grid { display: grid; grid-template-columns: 1fr .92fr; gap: clamp(33px, 8vw, 132px); align-items: start; }
.about-section .eyebrow { color: #f48a96; }
.about-body { max-width: 520px; margin-top: 17px; color: #d6dce3; font-size: clamp(15px, 1.4vw, 19px); line-height: 1.75; }
.process article { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 15px 0; border-top: 1px solid #ffffff36; }
.process article:last-child { border-bottom: 1px solid #ffffff36; }
.process article > span { color: #f48a96; font-size: 13px; font-weight: 700; }
.process h3 { margin-bottom: 6px; font-size: 18px; }
.process p { color: #d6dce3; font-size: 14px; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 6.4vw, 102px); align-items: start; }
.contact-info > p:not(.eyebrow) { max-width: 410px; margin-top: 15px; color: var(--muted); font-size: 16px; }
.contact-info dl { display: grid; gap: 15px; margin-top: 26px; }
.contact-info dl > div { padding: 13px 0 0; border-top: 1px solid var(--line); }
.contact-info dt { color: var(--muted); font-size: 12px; font-weight: 700; }
.contact-info dd { margin-top: 3px; overflow-wrap: anywhere; }
.contact-info dd a { color: var(--red); font-size: clamp(17px, 2vw, 23px); font-weight: 800; }
.contact-info dd a:hover { text-decoration: underline; }
.enquiry-form { display: grid; gap: 14px; padding: clamp(19px, 3vw, 37px); border-top: 3px solid var(--red); background: var(--wash); }
.enquiry-form h3 { margin-bottom: 3px; font-size: 23px; }
.enquiry-form label { display: grid; min-width: 0; gap: 4px; color: #26303a; font-size: 13px; font-weight: 700; }
.form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.enquiry-form :is(input,select,textarea), dialog textarea { width: 100%; min-width: 0; min-height: 42px; padding: 8px 9px; border: 1px solid #b8c0c9; border-radius: 0; background: white; color: var(--ink); }
.enquiry-form textarea, dialog textarea { resize: vertical; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.copy-button { padding: 9px 14px; color: #333d47; border: 1px solid #aeb6bf; background: white; font-size: 14px; font-weight: 700; }
.copy-button:hover { background: #e7e9ed; }
.form-note { color: var(--muted); font-size: 12px; }

.site-footer { border-top: 3px solid var(--red); background: #161b22; color: #d5dae1; }
.footer-inner, .footer-inner > div { display: flex; align-items: center; gap: 15px; }
.footer-inner { justify-content: space-between; min-height: 79px; padding-block: 14px; font-size: 12px; }
.footer-inner strong { color: #fff; font-size: 14px; letter-spacing: .08em; }
.site-footer button { padding: 0; border: 0; background: none; color: inherit; }
.site-footer :is(button,a):hover { color: white; text-decoration: underline; }
dialog { width: min(calc(100% - 32px),520px); padding: 24px; border: 1px solid var(--line); color: var(--ink); }
dialog::backdrop { background: #111820ab; }
dialog h2 { margin-top: 0; font-size: 28px; }
dialog p, dialog textarea { margin-block: 12px; }
.toast { position: fixed; z-index: 5; right: var(--edge); bottom: 20px; max-width: min(440px,calc(100% - 2 * var(--edge))); padding: 12px 18px; background: var(--dark); color: white; box-shadow: 0 4px 15px #0003; }

@media (max-width: 1060px) {
  .solution-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .brand > span { display: none; }
}
@media (max-width: 740px) {
  [id] { scroll-margin-top: 74px; }
  .header-inner { grid-template-columns: 1fr auto; min-height: 59px; gap: 10px; }
  .brand img { width: 96px; }
  .brand > span { display: inline; padding-left: 10px; font-size: 13px; }
  .menu-toggle { display: grid; justify-items: center; }
  .site-nav { display: none; position: absolute; inset: 100% 0 auto; padding-inline: var(--edge); border-bottom: 1px solid var(--line); background: white; box-shadow: 0 5px 9px #0001; }
  .site-nav.is-open { display: grid; gap: 0; }
  .site-nav a { padding-block: 13px; }
  .site-nav a + a { border-top: 1px solid var(--line); }
  .hero { min-height: clamp(472px, 88vw, 600px); }
  .hero-photo { object-position: 66% 51%; }
  .hero::after { background: linear-gradient(90deg,#111820ec,#111820b3 63%,#11182078),linear-gradient(0deg,#10161c60,transparent 37%); }
  .hero-inner { padding-block: 56px 73px; }
  .hero h1 { margin-top: 20px; }
  .hero-description { margin-top: 16px; }
  .hero-actions { margin-top: 25px; }
  .hero-caption { bottom: 12px; }
  .index-inner { grid-template-columns: repeat(3,minmax(0,1fr)); border-left: 0; }
  .index-inner a { min-height: 54px; border-right: 0; border-bottom: 1px solid var(--line); }
  .index-inner strong { font-size: 12px; }
  .section-heading, .turning-feature, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 18px; }
  .section-heading > p { justify-self: start; }
  .machine-figure { border-right: 0; }
  .machine-visual { min-height: 0; }
  .machine-visual img { height: auto; min-height: 0; max-height: 335px; }
  .turning-feature { gap: 0; }
  .about-grid, .contact-grid { gap: 31px; }
  .footer-inner { flex-wrap: wrap; justify-content: flex-start; gap: 8px 25px; }
}
@media (max-width: 490px) {
  .brand { gap: 7px; }
  .brand img { width: 82px; }
  .brand > span { font-size: 12px; }
  .header-actions { gap: 2px; }
  .hero h1 { font-size: clamp(34px, 9vw, 43px); }
  :lang(en) .hero h1 { font-size: clamp(34px, 8.6vw, 43px); }
  .product-index .index-inner { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .solution-grid, .form-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
