/* Hallmark · redesign: full · theme: brand · Leyoung industrial equipment catalog · custom composition · desktop only. */
/* Critique: actual equipment leads; open procurement configuration; video frames and thematic link rows replace nested cards. */
/* Brand and source technical facts override generic palette, typography and word-budget heuristics; review evidence lives in OpenSpec. */
:root {
  --bg: #f3f5f7;
  --surface: #fff;
  --text: #18294d;
  --secondary: #526077;
  --primary: #18294d;
  --hover: #243d68;
  --soft: #e9eff6;
  --hero: #fff;
  --ghost: #edf1f5;
  --border: #d5dde7;
  --line: #d5dde7;
  --dark: #18294d;
  --error: #b52b3b;
  --radius: 8px;
  --brand-sun: #ffc847;
  --brand-sun-hover: #f2b82e;
  --brand-sky: #65bfdc;
  --brand-cream: #fff9ed;
  --inverse: var(--surface);
  --inverse-muted: #c7c6d4;
  --error-surface: #fff0f2;
  --dialog-backdrop: rgb(33 35 48 / 72%);
  --media-error: #9c2433;
  --media-shade: #18294dee;
  --media-clear: #18294d00;
  --media-hover: #ffc84733;
  --media-spinner: #ffc84744;
  --media-shadow: #0003;
  --preview-border: #ffffff40;
  --preview-surface: #ffffff0a;
  --preview-hover: #ffffff20;
  --preview-hover-border: #ffffff80;
  --font-body: 'Manrope Variable', sans-serif;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --gutter: clamp(32px, 5vw, 72px);
}

/* Type and shared layout */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; margin: 0; min-width: 1120px; background: var(--surface); color: var(--text); font: 400 16px/26px var(--font-body); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
a { color: var(--primary); text-decoration: none; transition: color 100ms; }
a:hover { color: var(--hover); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
button:disabled, [aria-disabled=true] { opacity: .5; cursor: not-allowed; }
h1, h2, h3, h4, h5, p, figure { margin: 0; }
h1 { overflow-wrap: break-word; min-width: 0; font-size: 48px; line-height: 56px; font-weight: 700; letter-spacing: -1.2px; }
h2 { font-size: 32px; line-height: 40px; font-weight: 700; letter-spacing: -.6px; }
h3 { font-size: 24px; line-height: 32px; font-weight: 700; }
h4, h5 { font-size: 20px; line-height: 28px; font-weight: 700; }
p { font-size: 16px; line-height: 26px; }
img { max-width: 100%; display: block; }
small, .eyebrow, figcaption { font-size: 12px; line-height: 18px; font-weight: 500; color: var(--secondary); }
.muted { color: var(--secondary); }
.lead { font-size: 18px; line-height: 28px; }
.container { width: calc(100% - var(--gutter) * 2); max-width: 1296px; margin-inline: auto; }
.home-section { padding-block: var(--space-8); }
.home-section h2 { font-size: 40px; line-height: 48px; letter-spacing: -.8px; }
.home-section .section-title.between { gap: 32px; }
.home-section .section-title.between > .stack { flex: 0 1 904px; }
.home-section .section-title.between > .button { width: 240px; }
.layout, .media-section { background: var(--bg); }
.stack { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.row { display: flex; gap: 24px; }
.between { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.section-title { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.stack > .section-title { margin-bottom:0; }
.section-title.between { flex-direction: row; }
.section-title .stack { gap: 12px; }
.section-title > .button { flex: none; }
.content-column { max-width: 880px; }
.prose { overflow-wrap: anywhere; }
.prose p + p { margin-top: 16px; }
.pill, .media-topic { color: var(--primary); }
.pill { font-size: 16px; line-height: 26px; }
.media-topic { font-size: 12px; line-height: 18px; font-weight: 500; }
.divider { border: 0; border-top: 1px solid var(--border); margin: 0; }
[hidden] { display: none !important; }

/* Global navigation and marketing actions */
header { height: 80px; padding-inline: max(var(--gutter), calc((100% - 1296px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--surface); }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-size: 24px; line-height: 32px; font-weight: 700; white-space: nowrap; }
.brand:hover { color: var(--text); }
.brand img { width: 32px; height: 32px; object-fit: contain; }
header .brand { flex: none; }
header nav { flex: 1; min-width: 0; }
header nav ul { justify-content: center; display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; margin: 0; }
header nav a { display: flex; align-items: center; justify-content: center; height: 40px; padding-inline: 8px; border-radius: 0; border-bottom: 2px solid transparent; color: var(--secondary); font-size: 16px; line-height: 24px; font-weight: 600; white-space: nowrap; transition: background-color 100ms, color 100ms; }
header nav a:hover { color: var(--primary); border-bottom-color: var(--border); }
header nav a[aria-current=page] { border-bottom-color: var(--brand-sun); color: var(--primary); }
header > .button { width: 176px; min-width: 176px; flex: none; background: var(--brand-sun); color: var(--text); }
header > .button:hover { background: var(--brand-sun-hover); color: var(--text); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 14px 24px; border: 0; border-radius: var(--radius); background: var(--ghost); color: var(--text); font-size: 14px; line-height: 20px; font-weight: 600; text-align: center; text-decoration: none; transition: background-color 100ms, color 100ms, transform 250ms; }
.button:hover { background: var(--soft); color: var(--text); }
.button:active { transform: scale(.97); }
.button.primary { background: var(--primary); color: var(--inverse); }
.button.primary:hover { background: var(--hover); color: var(--inverse); }
.button[aria-busy=true] { cursor: progress; }
.actions { display: flex; gap: 12px; align-items: center; }
.actions .button { min-width: 208px; }

/* Homepage: original composition retained; only compact spacing is refined. */
.hero, .home-hero { background: var(--hero); padding-block: var(--space-8); }
.hero .container, .home-hero .container { display: grid; grid-template-columns: minmax(0,608fr) minmax(0,640fr); gap: 32px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 20px; }
.hero-copy h1 { font-size: 56px; line-height: 64px; font-weight: 700; letter-spacing: -1.2px; }
.hero-copy .lead { max-width: 510px; }
.home-hero .hero-copy > a { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--secondary); }
.home-hero .hero-copy > a:hover { color: var(--primary); }
.home-hero .actions .button:nth-child(2) { width: 224px; }
.hero-copy .actions .button { min-width: 208px; }
.exhibit, .equipment-showcase { padding: 24px; display: flex; flex-direction: column; gap: 16px; background: var(--surface); border-radius: var(--radius); min-width: 0; }
.equipment-showcase { min-height: 512px; }
.equipment-showcase > .between { min-height: 24px; font-size: 12px; line-height: 18px; color: var(--secondary); }
.equipment-stage { display: grid; place-items: center; height: 300px; padding: 8px; background: var(--hero); border-radius: var(--radius); }
.equipment-stage img { width: 100%; height: 284px; object-fit: contain; }
.exhibit > img { width: 100%; height: 300px; object-fit: contain; background: var(--hero); border-radius: var(--radius); }
.equipment-description { display: flex; flex-direction: column; gap: 4px; min-height: 60px; color: var(--text); }
.equipment-description small { font-size: 14px; line-height: 20px; font-weight: 600; }
.equipment-tabs { display: flex; gap: 4px; height: 48px; padding: 4px; background: var(--bg); border-radius: var(--radius); }
.equipment-tabs button { flex: 1; border: 0; border-radius: var(--radius); background: transparent; color: var(--secondary); font-size: 14px; line-height: 20px; font-weight: 600; transition: background-color 100ms, color 100ms, transform 250ms; }
.equipment-tabs button:hover { background: var(--soft); color: var(--primary); }
.equipment-tabs button[aria-selected=true], .equipment-tabs button[aria-pressed=true] { background: var(--primary); color: var(--inverse); }
.equipment-tabs button:active { transform: scale(.97); }
.processes { display: flex; gap: 24px; }
.route-band, .journeys { background: var(--surface); padding-block: 20px; }
.journeys { min-height: 104px; }
.journeys .container { gap: 48px; }
.dark-card { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 64px; padding: 0; border: 0; background: transparent; color: var(--text); text-align: left; }
.dark-card p { color: var(--secondary); }
.dark-card:hover .card-title { color: var(--primary); }
.knowledge-links { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 48px; }
.knowledge-links > a { display: flex; flex-direction: column; gap: 12px; min-height: 124px; color: var(--text); }
.knowledge-links p { color: var(--secondary); }
.knowledge-links a:hover h3, .knowledge-links a:hover .card-title { color: var(--primary); }

/* Cards and editorial media placement, outside the media-ui component */
.card { border: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface); color: var(--text); }
.card-link { display: block; color: inherit; }
.card-link:hover, a.card:hover { color: inherit; }
.card-link:hover .card-title, a.card:hover .card-title { color: var(--primary); }
.card-media { width: 100%; height: 252px; object-fit: contain; border-radius: var(--radius); background: var(--surface); }
.card-media.photo { object-fit: cover; }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.card p { color: var(--secondary); }
.card-body > .button { align-self: flex-start; margin-top: 4px; }
.feature-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px 24px; align-items: start; }
.feature-cards > .card { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.feature-cards .card-body { padding: 0; }
.home-section .card-media { height: 212px; }
.home-section .card:has(> .card-link) .card-link { padding: 24px; }
.home-section .card:has(> .card-link) .card-body { padding: 16px 0 0; }
.media-cover { position: relative; background: var(--bg); aspect-ratio: 16 / 9; overflow: hidden; border-radius: 0; }
.media-cover img { width: 100%; height: 100%; object-fit: contain; }
.play-symbol { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: var(--inverse); }
.duration { position: absolute; right: 12px; bottom: 12px; padding: 2px 8px; border-radius: var(--radius); background: var(--dark); color: var(--inverse); font-size: 12px; line-height: 18px; }
.media-card { padding: 0 0 16px; border-radius:0; background:transparent;  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.media-card .media-cover { width: 100%; }
.media-runtime { margin-left:8px; color:var(--secondary); }
.media-original { color: var(--primary); font-size: 14px; line-height: 20px; font-weight: 600; }
.media-card .card-body { padding: 16px 0 8px; gap: 8px; }
.technology-split { display: grid; grid-template-columns: minmax(0,636fr) minmax(0,612fr); gap: 32px; align-items: center; }
.media-feature-section { background: var(--surface); }
.media-feature { display: flex; flex-direction: column; gap: 24px; }
.media-feature-header { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; align-items: center; }
.media-feature [data-media-play] span { width: 84px; height: 84px; font-size: 24px; line-height: 32px; }
.home-motion-section, .home-project-section { padding-block:40px; }
.home-motion { display: grid; grid-template-columns: minmax(0,752fr) minmax(0,520fr); gap: 24px; align-items: start; }
.motion-feature { padding: 16px; background: var(--bg); border-radius: var(--radius); display: flex; flex-direction: column; gap: 16px; }
.motion-feature .between { gap: 16px; }
.motion-feature .stack { gap: 4px; }
.motion-feature .button { min-width: 140px; }
.motion-list { display: flex; flex-direction: column; gap: 24px; }
.motion-item { display: grid; grid-template-columns: minmax(0,208fr) minmax(0,260fr); gap: 20px; min-height: 188px; padding: 16px; border: 0; border-radius: var(--radius); background: var(--bg); color: var(--text); text-align: left; align-items: center; }
.motion-item > img { width: 100%; height: 156px; object-fit: contain; border-radius: var(--radius); }
.motion-item .stack { gap: 12px; }
.motion-item small { font-size: 12px; }

.equipment-entry { background:transparent; border-radius:0;  }
.equipment-entry .card-media { height:240px; background:transparent; border-radius:0; }
.equipment-entry .card-link { display:flex; flex-direction:column; height:100%; }
.equipment-entry .card-body { padding:16px 0 20px; gap:8px; }
.equipment-entry .media-topic { margin-top:0; padding-top:4px; }
.catalog-models { font-size:14px; line-height:22px; }
.section.layout:has(.equipment-entry), .section.layout:has([data-video-filter]) { background:var(--surface); }

/* Page families and preserved source content */
.page-intro { background: var(--hero); padding: var(--space-8) 0 0; }
.page-intro.plain { background: var(--surface); }
.page-intro .container { display: flex; flex-direction: column; gap: 12px; }
.page-intro p { color: var(--secondary); max-width: 1040px; }
.breadcrumb { display: flex; gap: 12px; color: var(--secondary); font-size: 14px; line-height: 20px; font-weight: 600; }
.breadcrumb a { color: inherit; }
.subnav { background: var(--surface); padding-block: 8px; }
.subnav .container { display: flex; gap: 8px; flex-wrap: wrap; }
.subnav a { padding: 10px 16px; border-radius: var(--radius); background: var(--ghost); color: var(--text); font-size: 14px; line-height: 20px; font-weight: 600; }
.subnav a:hover { background: var(--ghost); color: var(--primary); }
.subnav a[aria-current=page] { background: var(--primary); color: var(--inverse); }
.case-layout { display: grid; grid-template-columns: minmax(0,620fr) minmax(0,612fr); gap: 32px; align-items: center; }
.case-layout > img { width: 100%; max-height: 400px; height: auto; object-fit: contain; border-radius: var(--radius); }
.home-section .case-layout { grid-template-columns: minmax(0,664fr) minmax(0,568fr); }
.home-section .case-layout > img { height: 374px; }
.home-section .case-layout .button { width: 248px; }
.home-section .case-layout .lead { max-width: 548px; }
.partnership { background: var(--dark); color: var(--inverse); }
.partnership .container.grid.two { grid-template-columns: minmax(0,712fr) minmax(0,520fr); gap: 64px; }
.partnership .muted, .partnership p { color: var(--inverse-muted); }
.home-section.partnership .grid.two > .stack { min-height: 240px; }
.home-section.partnership .grid.two > .stack .lead { max-width: 600px; }
.home-section.partnership .panel .button { width: 232px; }
.partnership .stack { gap: 20px; }
.partnership .panel { background: transparent; padding: 0; color: var(--inverse); min-height: 240px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.panel { padding: 24px; background: var(--surface); border-radius: var(--radius); color: var(--text); }
.panel.stack { gap: 16px; }
.source-image { width: 100%; height: auto; max-height: 540px; object-fit: contain; border-radius: var(--radius); }
.source-section .container, .content-block { min-width: 0; }
.content-block { display: flex; flex-direction: column; gap: 24px; }
.gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.gallery img { width: 100%; height: 260px; object-fit: contain; border-radius: var(--radius); }
.product-hero { display: grid; grid-template-columns: minmax(0,640fr) minmax(0,592fr); gap: 64px; align-items: start; }
.product-hero > img, .product-hero > button { width: 100%; height: 400px; object-fit: contain; border-radius: var(--radius); }
.product-hero .stack { gap: 24px; }
.product-hero .button { min-width: 300px; }
.editorial { width: min(864px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.editorial img { width: 100%; height: auto; max-height: 540px; object-fit: contain; border-radius: var(--radius); }
.case-editorial { margin-inline-start: max(var(--gutter), calc((100% - 1296px)/2)); margin-inline-end: 0; gap: 32px; }
.case-editorial > img:first-child { height: 486px; }
.case-editorial.prose > p { color: var(--secondary); margin-top: 0; }
.editorial-project-gallery img { width: 100%; height: 240px; max-height: 240px; object-fit: contain; }
.watch-layout { display: grid; grid-template-columns: minmax(0,936fr) minmax(0,312fr); gap: 32px; align-items: start; }
.watch-layout aside { align-items: stretch; }
.technical-media { display: flex; gap: 16px; align-items: center; }
.technical-media img { width: calc((100% - 16px)/2); height: 280px; max-height: 280px; object-fit: contain; border-radius: var(--radius); }
.technical-media img:only-child { width: 100%; }
.spec-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px 8px; }
.spec-option { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 9px 16px; background: var(--surface); color: var(--text); border-radius: var(--radius); font-size: 14px; line-height: 22px; }
.technical-card-image { width: 100%; height: 260px; object-fit: contain; border-radius: var(--radius); }
.component-grid, .feature-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 24px; }
.component-grid img { width: 100%; height: 150px; object-fit: contain; }
.feature-grid > span { color: var(--secondary); font-size: 14px; line-height: 22px; }
.tech-intro .lead { font-size: 16px; line-height: 26px; }
.tech-intro { display: grid; grid-template-columns: minmax(0,360fr) minmax(0,888fr); gap: 32px; align-items: start; }
.robot-hero { align-items: center; }
.robot-photo { width: 100%; height: 360px; object-fit: contain; border-radius: var(--radius); }
.robot-hero figcaption { margin-top: 8px; }
.robot-hero button { align-self: flex-start; }
.configuration-panel { min-height: 280px; display: flex; flex-direction: column; justify-content: center; gap: 24px; background: var(--hero); }
.requirement-matrix { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.requirement-matrix span { padding: 12px 16px; background: var(--surface); border-radius: var(--radius); font-size: 14px; line-height: 22px; }

/* Company and technology sections follow their individual Figma surfaces. */
.company-overview .case-layout, .regional-overview .case-layout { grid-template-columns: minmax(0,600fr) minmax(0,648fr); gap: 32px; align-items: start; }
.company-overview .case-layout > img, .regional-overview .case-layout > img { height: 360px; max-height: 360px; }
.company-overview .case-layout > .stack, .regional-overview .case-layout > .stack { gap: 16px; }
.company-overview .prose, .regional-overview .prose { color: var(--secondary); }
.company-milestones, .brand-video { background: var(--surface); }
.company-milestones > .container { gap: 32px; }
.company-milestones .grid { row-gap: 32px; align-items: start; }
.company-milestones .card-body { gap: 8px; }
.technology-laser .technology-split > .stack,
.technology-head .technology-split > .stack,
.technology-system .technology-split > .stack { gap: 16px; }
.technology-laser .stack > h5 { font-size: 14px; line-height: 20px; font-weight: 600; }
.technology-head { background: var(--bg); }
.technology-system { background: var(--surface); }
.technology-head .stack > .lead,
.technology-system .stack > .lead { font-size: 20px; line-height: 28px; font-weight: 700; color: var(--text); }
.technology-head .prose p + p,
.technology-system .prose p + p { margin-top: 0; }
.technology-components > .container { gap: 32px; }
.technology-components .feature-grid { margin-top: -20px; }
.technology-components .feature-grid > span { font-weight: 600; line-height: 20px; }

/* Data tables, collection filters and explicit empty states */
.table-wrap { overflow: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 14px; line-height: 22px; }
th, td { padding: 16px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: left; font-weight: 400; vertical-align: top; }
th { background: var(--bg); }
td { background: var(--surface); }
#parameters > .container { gap: 24px; }
tr:last-child td, tr:last-child th { border-bottom: 0; }
tr > :last-child { border-right: 0; }
.filters { display: flex; gap: 24px; align-items: center; }
.filter-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-tags button { min-height: 40px; padding: 10px 16px; border: 0; border-radius: var(--radius); background: transparent; color: var(--secondary); font-size: 14px; line-height: 20px; font-weight: 600; transition: color 100ms, background-color 100ms, transform 150ms; }
.filter-tags button:hover { background: var(--soft); color: var(--primary); }
.filter-tags button[aria-pressed=true] { background: var(--primary); color: var(--inverse); }
.filter-tags button:active { transform: scale(.97); }
.empty-state { padding: 48px 24px; background: var(--surface); border-radius: var(--radius); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.steps { display: flex; gap: 24px; counter-reset: step; }
.step { flex: 1; min-width: 0; }
.step::before { counter-increment: step; content: counter(step,decimal-leading-zero); display: block; color: var(--primary); margin-bottom: 16px; font-size: 14px; line-height: 20px; font-weight: 500; }
main .section .step .card-title { font-size: 14px; line-height: 20px; font-weight: 500; }
.step p { margin-top: 8px; }
.page-index { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.page-index a { padding: 12px 16px; border-radius: var(--radius); background: var(--surface); }
.image-error, .missing-source-image { padding: 32px; color: var(--error); background: var(--bg); border-radius: var(--radius); }

/* Shared enquiry invitation and thematic footer index */
.cta { padding-block: 48px; min-height: 182px; background: var(--hero); }
.cta .container { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cta .stack { gap: 8px; }
.cta .actions .button { width: 240px; }
.home-cta { padding-block: 72px; }
.home-cta h2 { font-size: 40px; line-height: 48px; letter-spacing: -.8px; }
.home-cta .stack { flex: 0 1 752px; min-height: 88px; }
.home-cta .container > .button { width: 232px; flex: none; }
footer { border-top:1px solid var(--border); padding: 32px max(var(--gutter), calc((100% - 1296px)/2)); background: var(--surface); }
footer .top { display:grid; gap:16px; }
footer .top > :first-child { display:flex; flex-direction:row; flex-wrap:wrap; align-items:center; gap:16px 32px; }
footer .top > :first-child > p { flex:1; }
.footer-links { display:grid; }
.footer-links > .stack { display:flex; flex-direction:row; flex-wrap:wrap; align-items:baseline; gap:12px 24px; padding-block:8px;  }
.footer-links > .stack > h2 { width:88px; flex:none; }
footer .stack { gap: 12px; }
footer .footer-links h2, footer .footer-links h3 { font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: normal; }
footer a:not(.brand) { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--secondary); }
footer a:hover { color: var(--primary); }
footer .legal { margin-top: 24px; color: var(--secondary); font-size: 12px; line-height: 18px; font-weight: 500; }

/* Enquiry forms and native dialogs; success requires an API receipt. */
[data-enquiry-controls] { margin: 0; padding: 0; border: 0; min-width: 0; }
.form-layout { display: grid; grid-template-columns: minmax(0,592fr) minmax(0,640fr); gap: 40px; align-items: start; }
.form-section { background:var(--surface); }
.form-layout > .panel { padding:0; border:0; border-radius:0; }
.form-layout > .stack { gap: 16px; }
.inline-form-heading { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.inline-form-heading h2, main .section .inline-form-heading h2 { font-size: 24px; line-height: 32px; letter-spacing: 0; }
.inline-form-heading p { color: var(--secondary); }
dialog { width: 640px; max-width: 640px; max-height: calc(100vh - 64px); padding: 32px; margin: auto; border: 0; border-radius: var(--radius); background: var(--surface); color: var(--text); overflow: auto; }
dialog::backdrop { background: var(--dialog-backdrop); }
.modal-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.modal-heading h2 { font-size: 24px; line-height: 32px; letter-spacing: 0; }
.close { display: inline-flex; align-items: center; justify-content: center; flex: none; min-width: 40px; height: 40px; padding: 8px; border: 0; border-radius: var(--radius); background: transparent; color: var(--secondary); font-size: 14px; line-height: 20px; transition: background-color 100ms, transform 250ms; }
.close svg { width: 20px; height: 20px; }
.close:hover { background: var(--ghost); color: var(--text); }
.close:active { transform: scale(.97); }
.modal-intro { margin-block: 24px; color: var(--secondary); }
.selected-equipment { margin-bottom: 24px; color: var(--secondary); }
.form-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 16px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; line-height: 20px; font-weight: 600; }
.required { color: var(--text); margin-left: 2px; }
input:not([type=checkbox]):not([type=range]):not([type=hidden]), textarea, select { width: 100%; padding: 12px 16px; border: 1px solid transparent; border-radius: var(--radius); background: var(--bg); color: var(--text); font-size: 16px; line-height: 24px; transition: border-color 100ms, background-color 100ms; }
input:not([type=checkbox]):not([type=range]):not([type=hidden]), select { height: 48px; }
textarea { display: block; height: 96px; min-height: 52px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--secondary); opacity: 1; }
input:not([type=checkbox]):not([type=range]):not([type=hidden]):hover, textarea:hover, select:hover { border-color: var(--border); }
input:not([type=range]):focus-visible, textarea:focus-visible, select:focus-visible { border-color: var(--primary); outline: 2px solid var(--primary); outline-offset: 2px; }
/* 无效态必须压过输入基态及悬停；内边距补偿新增边框，保持已确认的文本与控件几何。 */
input:not([type=checkbox]):not([type=range]):not([type=hidden])[aria-invalid=true], textarea[aria-invalid=true], select[aria-invalid=true] { border-color: var(--error); border-width: 2px; padding: 11px 15px; }
.error-message { color: var(--error); font-size: 12px; line-height: 18px; }
.consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; color: var(--secondary); font-size: 12px; line-height: 18px; }
.consent input { appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border: 1px solid transparent; border-radius: 6px; background: var(--ghost); cursor: pointer; }
.consent input:hover { border-color: var(--primary); }
.consent input:checked { background: var(--primary); }
.consent input:checked::after { content: ''; display: block; width: 6px; height: 10px; border: 2px solid var(--inverse); border-top: 0; border-left: 0; transform: translate(6px,2px) rotate(45deg); }
.form-footer { display: flex; justify-content: flex-end; gap: 12px; margin-top: 28px; }
.form-footer .button { min-width: 144px; }
.form-footer .button.primary { min-width: 208px; }
.form-status { margin-top: 16px; padding: 12px 16px; background: var(--soft); border-radius: var(--radius); color: var(--text); }
.form-status[data-state=error] { background: var(--error-surface); color: var(--error); }

/* Narrow desktop only. Keep source imagery and the same page composition. */
@media (max-width: 1279px) {
  header { gap: 16px; }
  header .brand { width: auto; font-size: 22px; }
  header nav a { padding-inline: 8px; }
  header > .button { width: 144px; min-width: 144px; }
  .hero-copy h1 { font-size: 56px; line-height: 64px; }
  .hero-copy .actions .button { min-width: 184px; padding-inline: 16px; }
  .cta .actions .button { width: 208px; }
  .motion-item { gap: 16px; }
  .motion-item .card-title { font-size: 18px; line-height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Source-copy sections retain the approved muted text and paragraph rhythm. */
.source-gallery .container, .regional-questions .container { gap: 32px; }
.source-gallery p, .regional-questions p { color: var(--secondary); }

.watch-layout > article, .watch-layout > aside { gap: 16px; }
.watch-layout > article h2 { font-size: 24px; line-height: 32px; }

.source-article { gap: 16px; width: min(960px, calc(100% - var(--gutter) * 2)); }
.source-article.prose > p { margin: 0; color: var(--text); }
.listing-pages { display: flex; gap: 8px; justify-content: center; }
.listing-pages .button { min-width: 48px; }
.listing-pages [aria-current=page] { color: var(--inverse); background: var(--primary); }

/* Content hierarchy follows source groups; secondary detail is disclosed on request. */
main .section h2 { font-size: 32px; line-height: 40px; letter-spacing: -.5px; }
.section { padding-block: 32px; }
.section .container.stack { gap: 24px; }
.process-routes { display: grid; gap: 24px; }
.process-route { display: grid; grid-template-columns: 320px minmax(0,1fr); gap: 32px; align-items: center; }
.process-route > img { width: 320px; height: 176px; object-fit: contain; border-radius: var(--radius); }
.process-route .stack { align-items: flex-start; gap: 16px; }
.process-route h2 { font-size: 24px; line-height: 32px; }
.service-list { margin: 0; display: grid; gap: 16px; }
.service-list > div { display: grid; grid-template-columns: 288px minmax(0,1fr); gap: 24px; }
.service-list dt { font-size: 16px; line-height: 26px; font-weight: 600; }
.service-list dd { margin: 0; color: var(--secondary); }
.reading-width { max-width: 960px; }
.content-disclosure {  padding-block: 16px; }
.content-disclosure summary { display: flex; justify-content: space-between; gap: 24px; cursor: pointer; list-style: none; font-size: 20px; line-height: 28px; font-weight: 600; }
.content-disclosure summary::-webkit-details-marker { display: none; }
.content-disclosure summary::after { content: '+'; color: var(--primary); flex: none; }
.content-disclosure[open] > summary::after { content: '−'; }
.content-disclosure summary:hover { color: var(--primary); }
.content-disclosure summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 6px; border-radius: 4px; }
.disclosure-body { padding-top: 16px; display: grid; gap: 16px; color: var(--secondary); }
.disclosures .disclosure-body > p { max-width: 1000px; }
.detail-images { display: grid; grid-template-columns: repeat(auto-fit,minmax(320px,1fr)); gap: 24px; }
.detail-images img { width: 100%; height: 280px; object-fit: contain; border-radius: var(--radius); }
.workpiece-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.workpiece-grid img { width: 100%; height: 234px; object-fit: contain; border-radius: var(--radius); background: var(--surface); cursor: zoom-in; }
.spec-confirmation { max-width: 1000px; color: var(--secondary); }
.milestones { margin: 0; padding-left: 24px; display: grid; gap: 16px; }
.milestones strong { color: var(--text); }
.record-link { color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }
.source-article > h2 { margin-top: 0; font-size: 32px; line-height: 40px; letter-spacing: -.6px; color: var(--text); }
.source-article > img { width: 100%; max-height: 560px; object-fit: contain; border-radius: var(--radius); }
.pdp-illustrated-feature { display: flex; flex-direction: column; gap: 16px; padding: 20px; }
.pdp-illustrated-feature > img { width: 100%; height: 240px; object-fit: contain; border-radius: var(--radius); }
.pdp-illustrated-feature > h3 { font-size: 20px; line-height: 28px; }
.pdp-illustrated-feature > p { color: var(--text); }
[data-listing] .card-media.photo { object-fit: contain; }
.project-video { padding-top: 0; }
.project-video .ly-video { max-width: 960px; margin-inline: auto; }
.source-gallery .gallery img { height: 280px; }
.source-edition > h3 { font-size: 20px; line-height: 28px; }
.source-edition-link { display: inline-block; text-decoration: underline; margin-top: 12px; }
.form-layout textarea { height: 112px; }
.filter-tags { flex-wrap: wrap; }

/* Original industry photographs stay visible alongside the processing routes. */
.application-examples figure { margin:0; display:grid; gap:12px; align-content:start; }
.application-examples figcaption { font-size:20px; line-height:28px; font-weight:700; }

/* Source-restored company figures and configuration illustrations. */
.company-figures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0}
.company-figures>div{display:flex;flex-direction:column-reverse;gap:8px}
.company-figures dt{font-size:12px;line-height:18px;color:var(--secondary)}
.company-figures dd{font-variant-numeric:tabular-nums;margin:0;font-size:32px;line-height:40px;font-weight:700;color:var(--text)}
.company-team .gallery img{height:280px;object-fit:contain}
.robot-configuration-card .source-image{width:100%;height:234px;object-fit:contain;border-radius:var(--radius)}
.robot-configuration-card .card-title{font-size:20px;line-height:28px}

/* 标题级别由文档结构决定，展示尺寸仍消费已确认的卡片/图文标题角色。 */
.card-title, main .section .card-title { font-size:20px; line-height:28px; font-weight:700; letter-spacing:normal; }
.source-external-video .source-video-heading { font-size:24px; line-height:32px; letter-spacing:normal; }

/* Company background is ordinary content, without disclosure controls. */
.company-background-block { padding: 0; }
.company-background-block > h3 { font-size: 20px; line-height: 28px; font-weight: 600; }
.company-background-body { padding-top: 16px; display: grid; gap: 16px; color: var(--secondary); }

/* Technology V6: aligned source imagery and a stable reading column. */
.technology-structure-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px; align-items:start; }
.technology-structure .card { display:flex; flex-direction:column; gap:20px; overflow:visible; background:transparent; }
.technology-structure .technical-card-image { height:256px; max-height:256px; }
.technology-structure .card-body { padding:0; gap:12px; }
main .section.technology-structure h2 { font-size:24px; line-height:32px; letter-spacing:normal; }
.technology-structure .card-body p { font-size:16px; line-height:26px; text-wrap:pretty; }
.section.technology-config { padding-block:0; background:var(--surface); }
.technology-detail { display:grid; grid-template-columns:minmax(0,416fr) minmax(0,832fr); gap:32px; align-items:start; padding-block:32px;  }
.technology-copy { display:flex; flex-direction:column; gap:16px; min-width:0; }
main .section.technology-config h2 { font-size:28px; line-height:36px; letter-spacing:-.6px; text-wrap:balance; }
.technology-copy p { font-size:16px; line-height:26px; text-wrap:pretty; }
.technology-copy .technology-description { color:var(--secondary); }
.technology-head .technology-lead,.technology-system .technology-lead { font-size:18px; line-height:26px; font-weight:500; }
.technology-config .technical-media { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; align-items:start; min-width:0; }
.technology-config .technical-media img { display:block; width:100%; height:280px; max-height:none; object-fit:contain; border:1px solid var(--border); border-radius:var(--radius); }
.technology-config .technical-media:has(> img:only-child) { grid-template-columns:minmax(0,1fr); }
.technology-config .technical-media img:only-child { height:320px; }
.technology-power-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; list-style:none; padding:0; margin:0; }
.technology-power-list li { display:flex; align-items:center; justify-content:center; min-height:36px; padding:8px; border-radius:4px; background:var(--ghost); color:var(--secondary); font-size:13px; line-height:20px; font-weight:500; font-variant-numeric:tabular-nums; white-space:nowrap; }

/* Continuous page intro and navigation use one compact entry gap. */
.page-intro + .section, .subnav + .section { padding-top: 24px; }

/* Factory copy and original-aspect photographs form one compact content group. */
.factory-gallery .container.stack { gap:16px; }
.factory-copy { display:grid; gap:8px; }
.factory-gallery .gallery { display:block; column-count:3; column-gap:16px; }
.factory-gallery .gallery img { display:block; width:100%; height:auto; margin:0 0 16px; break-inside:avoid; }

/* Video watch V6: centred cinema and a contextual contact band. */
.section.watch-section { padding-top:var(--space-6); padding-bottom:var(--space-8); }
.watch-layout { width:min(1120px,calc(100% - var(--gutter)*2)); }
.watch-layout { display:flex; flex-direction:column; gap:32px; }
.watch-layout > article { width:100%; gap:16px; }
.watch-layout > .watch-contact { display:grid; grid-template-columns:minmax(0,1fr) 192px; gap:32px; align-items:center; width:100%; padding:24px; border-radius:var(--radius); background:var(--bg); }
.watch-contact-copy { display:flex; flex-direction:column; gap:8px; min-width:0; }
main .section.watch-section .watch-contact-title { font-size:20px; line-height:28px; letter-spacing:normal; }
.watch-contact-copy p { font-size:16px; line-height:26px; }
.watch-contact > .button { width:192px; min-height:48px; text-align:center; justify-content:center; }

/* One owner for each boundary: outer sections own gutters; copy owns paragraph rhythm. */
.source-gallery .container.stack { gap:16px; }
.gallery-copy { display:grid; gap:12px; }
.source-gallery .gallery, .company-team .gallery { display:block; column-count:3; column-gap:16px; }
.source-gallery .gallery img, .company-team .gallery img { width:100%; height:auto; max-height:none; margin:0 0 16px; break-inside:avoid; }
.stack > .source-edition-link, .media-feature > .source-edition-link { margin-top:0; }
/* Continuous technical/product sections share the preceding section's bottom spacing. */
.pdp-section + .pdp-section, .pdp-purchase + .pdp-section { padding-top:0; }
.technology-config + .technology-config .technology-detail, .technology-structure + .technology-config .technology-detail { padding-top:0; }

.service-section .container.stack { gap:16px; }
.service-section + .service-section { padding-top:0; }
.technology-config .technical-media img, .technology-config .technical-media img:only-child { height:auto; max-height:320px; }

main .section .process-route h2 { font-size:24px; line-height:32px; }
.company-team .container.stack { gap:16px; }
.factory-gallery { padding-bottom:var(--space-8); }

/* A single owner per boundary: 32px continuous content, 48px across surface changes. */
main .section + .section:where(:not(.technology-config)) { padding-top:var(--space-4); }
main .section:where(:not(.layout,.media-section)) + .section:where(:not(.layout,.media-section,.technology-config)),
main .section:where(.layout,.media-section) + .section:where(.layout,.media-section) { padding-top:0; }
.source-article > :not(h2) + h2 { margin-top:var(--space-4); }
