/* Xinpu Drying - site styles
   Tokens -> base -> layout -> components -> pages -> responsive -> print */

/* 1. Tokens */
:root {
  --navy-950: #071a33;
  --navy-900: #0b2545;
  --navy-800: #12345f;
  --navy-700: #1a4379;
  --blue-700: #2e61b3;
  --blue-600: #3b74cc;
  --blue-100: #e6eefb;
  --blue-50: #f2f6fd;
  --green-700: #55701a;
  --green-500: #93b137;
  --green-300: #b9cf6e;
  --green-100: #eff4df;
  --ink: #14202e;
  --ink-2: #2c3a4b;
  --steel: #55637a;
  --line: #dfe5ee;
  --line-2: #c9d3e0;
  --mist: #f4f6f9;
  --paper: #ffffff;
  --font-display: 'Spectral', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --container: 1240px;
  --radius: 2px;
  --shadow: 0 14px 34px rgba(11, 37, 69, .12);
  --header-h: 76px;
}

@font-face { font-family: 'Spectral'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/spectral-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Spectral'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/spectral-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2'); }

/* 2. Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--green-500); outline-offset: 3px; }
::selection { background: var(--blue-100); }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; padding: 12px 18px; background: var(--navy-900); color: #fff; }
.skip-link:focus { left: 12px; top: 12px; }

/* 3. Typography helpers */
h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 3.3vw, 44px); letter-spacing: -.01em; line-height: 1.12; }
h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 2.5vw, 36px); letter-spacing: -.005em; line-height: 1.18; }
h3 { font-family: var(--font-body); font-weight: 600; font-size: 19px; line-height: 1.35; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--green-700); margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--green-500); flex: none; }
.lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--ink-2); }
.muted { color: var(--steel); font-size: 14px; }
.icon { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 18px; height: 18px; }
.flip { transform: scaleX(-1); }

/* 4. Layout */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--mist { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--navy { background: var(--navy-900) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M48 0H0v48' fill='none' stroke='%23ffffff' stroke-opacity='.05'/%3E%3C/svg%3E"); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .eyebrow { color: var(--green-300); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.section-head-text { max-width: 760px; }
.section-lead { margin-top: 16px; font-size: 17px; color: var(--steel); max-width: 68ch; }
.section-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--blue-700); text-decoration: none; white-space: nowrap; padding-bottom: 4px; border-bottom: 1px solid currentColor; }
.section-link:hover { color: var(--navy-800); }
.sub-head { margin: 56px 0 24px; font-size: 15px; font-family: var(--font-mono); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack { display: grid; gap: 24px; }

/* 5. Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; transition: background-color .18s, color .18s, border-color .18s; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--blue-700); color: #fff; border-color: var(--blue-700); }
.btn-primary:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.btn-outline { background: transparent; color: var(--blue-700); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--blue-700); color: var(--navy-800); background: var(--blue-50); }
.btn-light { background: #fff; color: var(--navy-900); border-color: #fff; }
.btn-light:hover { background: var(--green-100); border-color: var(--green-100); color: var(--navy-900); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.text-link { font-weight: 600; }

/* 6. Header */
.site-header { position: sticky; top: 0; z-index: 200; background: var(--navy-900); border-bottom: 1px solid rgba(255, 255, 255, .08); transition: background-color .25s; }
.site-header.header--overlay { position: absolute; left: 0; right: 0; background: linear-gradient(to bottom, rgba(7, 26, 51, .82), rgba(7, 26, 51, 0)); border-bottom-color: transparent; }
.site-header.is-scrolled { position: fixed; background: rgba(11, 37, 69, .97); backdrop-filter: blur(6px); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; height: var(--header-h); padding: 0 14px; color: rgba(255, 255, 255, .92); font-size: 15px; font-weight: 500; text-decoration: none; }
.nav-link:hover, .nav-item.is-active > .nav-link { color: #fff; }
.nav-item.is-active > .nav-link { box-shadow: inset 0 -3px 0 var(--green-500); }
.sub-toggle { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .7); cursor: pointer; display: none; }
.sub-menu { position: absolute; left: 0; top: 100%; min-width: 280px; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--green-500); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.sub-menu a { display: block; padding: 10px 12px; color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.sub-menu a:hover { background: var(--blue-50); color: var(--blue-700); }
.nav-item.has-children:hover .sub-menu, .nav-item.has-children:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.header-actions { display: flex; align-items: center; gap: 16px; flex: none; }
.header-phone { color: #fff; font-family: var(--font-mono); font-size: 14px; text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--green-300); }
.nav-extra { display: none; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; padding: 10px; border: 1px solid rgba(255, 255, 255, .35); border-radius: var(--radius); background: none; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; height: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 7. Hero */
.hero { position: relative; background: var(--navy-950); overflow: hidden; }
.hero-slides { position: relative; height: clamp(440px, 74vh, 700px); }
.hero-slide { position: absolute; inset: 0; opacity: 0; animation: hero-cycle 18s infinite; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
@keyframes hero-cycle { 0%, 30% { opacity: 1; } 33.34%, 100% { opacity: 0; } }
.hero-bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 72px 0 22px; background: linear-gradient(to top, rgba(7, 26, 51, .9), rgba(7, 26, 51, 0)); color: #fff; }
.hero-bar-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.hero-captions { position: relative; flex: 1; min-height: 76px; max-width: 720px; }
.hero-caption { position: absolute; left: 0; bottom: 0; opacity: 0; animation: hero-cycle 18s infinite; }
.hero-caption:nth-child(2) { animation-delay: 6s; }
.hero-caption:nth-child(3) { animation-delay: 12s; }
.hero-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2vw, 28px); line-height: 1.2; }
.hero-text { margin-top: 6px; font-size: 15px; color: rgba(255, 255, 255, .82); max-width: 60ch; }
.hero-controls { display: flex; align-items: center; gap: 12px; flex: none; }
.hero-counter { font-family: var(--font-mono); font-size: 14px; letter-spacing: .08em; margin-right: 8px; }
.hero-sep { margin: 0 6px; opacity: .5; }
.hero-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .4); border-radius: var(--radius); background: rgba(7, 26, 51, .35); color: #fff; cursor: pointer; }
.hero-btn:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.hero-dots { display: flex; gap: 8px; margin-left: 8px; }
.hero-dot { width: 26px; height: 3px; padding: 0; border: 0; background: rgba(255, 255, 255, .35); cursor: pointer; }
.hero-dot.is-active { background: var(--green-500); }
html.js .hero-slide, html.js .hero-caption { animation: none; transition: opacity .7s ease; }
html.js .hero-slide.is-active, html.js .hero-caption.is-active { opacity: 1; }

/* 8. Intro band */
.intro-band { background: var(--navy-900) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M48 0H0v48' fill='none' stroke='%23ffffff' stroke-opacity='.05'/%3E%3C/svg%3E"); color: #fff; padding: 72px 0; border-bottom: 3px solid var(--green-500); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.intro-band h1 { color: #fff; }
.intro-band .eyebrow { color: var(--green-300); }
.intro-band .lead { color: rgba(255, 255, 255, .82); margin-top: 18px; }
.stats { display: grid; gap: 1px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .14); }
.stats--intro { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat { background: var(--navy-900); padding: 22px 24px; }
.stat-value { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.05; color: #fff; }
.stat-unit { font-family: var(--font-mono); font-size: 13px; font-weight: 500; margin-left: 6px; color: var(--green-300); letter-spacing: .04em; }
.stat-label { margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, .75); line-height: 1.4; }
.stats--about { grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--line); border: 1px solid var(--line); margin: 40px 0 56px; }
.stats--about .stat { background: var(--mist); }
.stats--about .stat-value { color: var(--navy-900); }
.stats--about .stat-unit { color: var(--green-700); }
.stats--about .stat-label { color: var(--steel); }

/* 9. Page head & breadcrumb */
.page-head { background: var(--navy-900) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M48 0H0v48' fill='none' stroke='%23ffffff' stroke-opacity='.05'/%3E%3C/svg%3E"); color: #fff; padding: 56px 0 64px; border-bottom: 3px solid var(--green-500); }
.page-head h1 { color: #fff; max-width: 22ch; }
.page-head .lead { color: rgba(255, 255, 255, .82); margin-top: 18px; max-width: 72ch; }
.page-head .eyebrow { color: var(--green-300); }
.page-head--compact { padding: 28px 0 32px; }
.page-head--article h1 { max-width: 26ch; }
.breadcrumb { margin-bottom: 22px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: rgba(255, 255, 255, .65); }
.breadcrumb li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.breadcrumb a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--green-300); }

/* 10. Cards */
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s, transform .2s; }
.card:hover { border-color: var(--blue-700); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); border-bottom: 1px solid var(--line); }
.card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.card:hover .card-img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.card-kicker { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--green-700); margin-bottom: 10px; }
.card-title { font-size: 19px; line-height: 1.35; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--blue-700); }
.card-text { margin-top: 10px; font-size: 15px; color: var(--steel); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-link { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--blue-700); }
.card-meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--steel); margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 10px; }
.card-cat { color: var(--green-700); }
.news-card .card-media { aspect-ratio: 16 / 10; }
.industry-card { flex-direction: row; }
.industry-card .card-media { width: 46%; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); flex: none; }
.industry-card .card-body { justify-content: center; }
.category-card .card-title { font-size: 20px; }

/* 11. About (home) */
.about-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.about-text p { margin-top: 18px; color: var(--ink-2); }
.about-text .btn { margin-top: 28px; }
.check-list { list-style: none; margin-top: 24px; display: grid; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--ink-2); }
.check-list .icon { color: var(--green-700); margin-top: 3px; }
.check-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.about-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.about-figure { margin: 0; border: 1px solid var(--line); overflow: hidden; }
.about-figure:first-child { grid-column: 1 / -1; }
.about-figure img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.about-figure:first-child img { aspect-ratio: 16 / 9; }
.media-note { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 12px; color: var(--steel); letter-spacing: .02em; }

/* 12. Advantages & process */
.advantage { padding: 28px 24px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .03); }
.advantage-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; color: var(--green-300); border: 1px solid rgba(185, 207, 110, .5); margin-bottom: 20px; }
.advantage h3 { font-size: 18px; margin-bottom: 10px; }
.advantage p { font-size: 15px; color: rgba(255, 255, 255, .78); }
.process { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
.process-step { position: relative; padding: 28px 20px 0 0; }
.process-step::before { content: ''; position: absolute; left: 0; top: -1px; width: 100%; height: 3px; background: transparent; }
.process-step:first-child::before { background: var(--green-500); }
.process-num { font-family: var(--font-mono); font-size: 30px; font-weight: 500; color: var(--blue-700); line-height: 1; margin-bottom: 14px; }
.process-step h3 { font-size: 16px; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--steel); }

/* 13. Sub navigation, panels, timelines */
.subnav { margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; }
.subnav a { display: inline-block; padding: 12px 16px; font-size: 15px; font-weight: 500; color: var(--steel); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.subnav a:hover { color: var(--blue-700); }
.subnav a[aria-current] { color: var(--navy-900); border-bottom-color: var(--green-500); }
.panel { padding: 28px 32px; border: 1px solid var(--line); background: #fff; }
.panel h2, .panel h3 { margin-bottom: 12px; }
.panel p { color: var(--ink-2); }
.panel-meta { margin-top: 14px; font-size: 14px; color: var(--steel); }
.philosophy { list-style: none; display: grid; gap: 10px; }
.philosophy li { padding-left: 22px; position: relative; color: var(--ink-2); }
.philosophy li::before { content: ''; position: absolute; left: 0; top: .75em; width: 10px; height: 2px; background: var(--green-500); }
.prose-block { max-width: 78ch; margin-bottom: 48px; }
.prose-block h2 { margin-bottom: 18px; }
.prose-block p { margin-bottom: 16px; color: var(--ink-2); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gallery-tile { margin: 0; border: 1px solid var(--line); overflow: hidden; background: #fff; }
.gallery-tile img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.gallery-tile:hover img { transform: scale(1.04); }
.honor-group { margin-bottom: 56px; }
.honor-group h2 { margin-bottom: 24px; }
.honor-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.honor-card { margin: 0; display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; }
.honor-card a { display: block; background: var(--mist); }
.honor-card img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: contain; padding: 12px; }
.honor-card figcaption { padding: 16px 18px 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--steel); display: grid; gap: 6px; }
.honor-card strong { color: var(--ink); font-size: 14px; }
.note { margin-top: 8px; padding: 18px 22px; border-left: 3px solid var(--green-500); background: var(--mist); font-size: 14px; color: var(--ink-2); max-width: 90ch; }
.timeline { list-style: none; position: relative; padding-left: 32px; border-left: 1px solid var(--line-2); max-width: 820px; }
.timeline-item { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 24px; padding: 0 0 40px; }
.timeline-item::before { content: ''; position: absolute; left: -37px; top: 8px; width: 9px; height: 9px; background: var(--green-500); border-radius: 50%; }
.timeline-year { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--navy-900); line-height: 1; }
.timeline-item p { color: var(--ink-2); }
.milestone-list { list-style: none; border-top: 1px solid var(--line-2); margin-bottom: 28px; }
.milestone-list li { display: grid; grid-template-columns: 130px 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.milestone-list time { font-family: var(--font-mono); font-size: 13px; color: var(--steel); padding-top: 3px; }
.milestone-list a { color: var(--ink); font-weight: 500; text-decoration: none; }
.milestone-list a:hover { color: var(--blue-700); text-decoration: underline; }

/* 14. Index lists */
.index-groups { display: grid; gap: 40px; }
.index-group h3 { font-size: 20px; margin-bottom: 12px; }
.index-group h3 a { color: var(--ink); text-decoration: none; }
.index-group h3 a:hover { color: var(--blue-700); }
.index-list { list-style: none; border-top: 1px solid var(--line-2); }
.index-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.index-list a { font-weight: 600; color: var(--ink); text-decoration: none; }
.index-list a:hover { color: var(--blue-700); }
.index-list span { color: var(--steel); }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.pill-list a { display: inline-block; padding: 10px 18px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; }
.pill-list a:hover { border-color: var(--blue-700); color: var(--blue-700); }
.bto { margin-top: 56px; }
.bto > p { margin: 0 0 24px; color: var(--ink-2); max-width: 70ch; }
.bto .btn { margin-top: 24px; }
.tabs { margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.tabs ul { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; }
.tabs a { display: inline-block; padding: 12px 18px; font-size: 15px; font-weight: 500; color: var(--steel); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--blue-700); }
.tabs a[aria-current] { color: var(--navy-900); border-bottom-color: var(--green-500); }

/* 15. Product detail */
.product-top-section { padding-top: 56px; }
.product-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.gallery-main { border: 1px solid var(--line); background: var(--mist); aspect-ratio: 4 / 3; overflow: hidden; }
.gallery-main img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.gallery-thumb { width: 88px; height: 66px; padding: 0; border: 1px solid var(--line); background: #fff; cursor: pointer; overflow: hidden; }
.gallery-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.is-active, .gallery-thumb:hover { border-color: var(--blue-700); box-shadow: inset 0 0 0 1px var(--blue-700); }
.product-info h1 { font-size: clamp(28px, 2.8vw, 38px); }
.product-summary { margin-top: 18px; font-size: 16px; color: var(--ink-2); }
.spec-list { margin: 24px 0 0; border-top: 1px solid var(--line); }
.spec-list > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec-list dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); padding-top: 3px; }
.spec-list dd { margin: 0; color: var(--ink-2); }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.product-contact { margin-top: 16px; font-size: 14px; color: var(--steel); }
.product-body { padding-top: 24px; }
.prose { max-width: 920px; font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.prose h2 { font-size: 27px; margin: 44px 0 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 0; list-style: none; }
.prose ol { counter-reset: prose-ol; }
.prose ol li { counter-increment: prose-ol; }
.prose ol li::before { content: counter(prose-ol) '.'; font-family: var(--font-mono); color: var(--green-700); }
.prose li { position: relative; padding-left: 24px; margin-bottom: 10px; }
.prose li::before { content: ''; position: absolute; left: 0; top: .82em; width: 10px; height: 2px; background: var(--green-500); }
.prose li p { margin: 0; }
.prose strong { color: var(--ink); }
.prose img { display: block; max-width: 100%; height: auto; margin: 24px auto; border: 1px solid var(--line); }
.prose a { word-break: break-word; }
.table-scroll { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; background: #fff; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose thead th, .prose tr:first-child td { background: var(--mist); font-weight: 600; color: var(--ink); }
.prose td p, .prose th p { margin: 0; }

/* 16. Solutions */
.industry-block { padding: 48px 0; border-top: 1px solid var(--line); }
.industry-block:first-child { padding-top: 0; border-top: 0; }
.industry-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; margin-bottom: 32px; }
.industry-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line); }
.industry-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.industry-intro h2 { margin-bottom: 14px; }
.industry-intro h2 a { color: var(--ink); text-decoration: none; }
.industry-intro h2 a:hover { color: var(--blue-700); }
.industry-intro p { color: var(--ink-2); margin-bottom: 18px; max-width: 64ch; }
.project-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 56px; align-items: start; }
.project-hero, .article-hero { margin: 0 0 28px; border: 1px solid var(--line); }
.project-hero img, .article-hero img { display: block; width: 100%; height: auto; }
.project-summary { font-size: 18px; color: var(--ink); margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.project-side, .article-side { position: sticky; top: calc(var(--header-h) + 24px); }
.side-card { padding: 26px 24px; border: 1px solid var(--line); background: var(--mist); }
.side-card h2 { font-size: 20px; margin-bottom: 14px; }
.side-card p { font-size: 15px; color: var(--ink-2); margin-bottom: 18px; }
.side-card .spec-list { margin: 0 0 22px; }
.side-note { display: flex; align-items: center; gap: 8px; justify-content: center; margin: 14px 0 0; font-family: var(--font-mono); font-size: 14px; color: var(--steel); }

/* 17. Article */
.article-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 56px; align-items: start; padding-top: 56px; }
.article .prose { max-width: none; }

/* 18. Service & contact */
.service-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.service-grid h2 { margin-bottom: 18px; }
.service-grid p { margin-bottom: 16px; color: var(--ink-2); }
.service-grid .check-list { margin-top: 0; padding: 26px 28px; border: 1px solid var(--line); background: #fff; }
.section--mist .service-grid .check-list { background: #fff; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.faq-intro h3 { margin: 36px 0 0; font-size: 17px; }
.faq-intro .btn { margin-top: 28px; }
.faq-list { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line); background: transparent; }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 17px; color: var(--ink); display: flex; justify-content: space-between; gap: 20px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-family: var(--font-mono); font-weight: 400; font-size: 22px; color: var(--blue-700); line-height: 1; }
.faq-item[open] summary::after { content: '-'; }
.faq-answer { padding: 0 0 22px; color: var(--ink-2); max-width: 72ch; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.contact-card { position: relative; padding: 22px 24px 22px 72px; border: 1px solid var(--line); background: #fff; }
.contact-card h2 { font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: .02em; margin-bottom: 6px; }
.contact-card p { font-size: 15px; color: var(--ink-2); }
.contact-card a { font-weight: 500; }
.contact-icon { position: absolute; left: 24px; top: 24px; color: var(--blue-700); }
.plain-list { list-style: none; display: grid; gap: 4px; font-size: 15px; }
.contact-card--qr { padding: 22px 24px; display: flex; align-items: center; gap: 20px; }
.contact-card--qr img { width: 112px; height: 112px; }
.contact-form { padding: 36px 40px; border: 1px solid var(--line); background: var(--mist); }
.contact-form h2 { margin-bottom: 10px; }
.form-note { font-size: 14px; color: var(--steel); margin-bottom: 24px; }
.inquiry-form { display: grid; gap: 18px; }
.field-row { display: grid; gap: 6px; }
.field-row label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field-row input, .field-row textarea { width: 100%; padding: 12px 14px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); }
.field-row input:focus, .field-row textarea:focus { border-color: var(--blue-700); outline: 2px solid var(--blue-100); outline-offset: 0; }
.field-row textarea { resize: vertical; min-height: 130px; }
.inquiry-form .btn { justify-self: start; }
.form-status:empty { display: none; }
.form-status { padding: 14px 16px; border-left: 3px solid var(--green-500); background: #fff; font-size: 14px; color: var(--ink-2); }

/* 19. CTA band */
.cta-band { background: var(--blue-700); color: #fff; padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-text h2 { color: #fff; }
.cta-text p { margin-top: 12px; color: rgba(255, 255, 255, .85); max-width: 62ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* 20. Footer */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .78); padding: 72px 0 32px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 3fr) repeat(2, minmax(0, 1.6fr)) minmax(0, 2.6fr) minmax(0, 1.4fr); gap: 40px; }
.footer-brand img { height: 44px; width: auto; }
.footer-brand p { margin: 18px 0; line-height: 1.6; }
.footer-certs { list-style: none; display: grid; gap: 6px; font-size: 13px; color: rgba(255, 255, 255, .62); }
.footer-col h2 { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--green-300); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-col a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: grid; gap: 2px; }
.contact-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.footer-social .social-list { gap: 12px; }
.footer-social .social-link { display: inline-flex; align-items: center; gap: 8px; }
.footer-social .social-icon { width: 14px; height: 14px; opacity: .55; transition: opacity .2s, transform .2s; }
.footer-social .social-link:hover .social-icon { opacity: 1; transform: translate(2px, -2px); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .6); }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.footer-links a:hover { color: #fff; }

/* 21. Responsive */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-phone { display: none; }
  .gallery-grid, .honor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats--about { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header-actions { display: none; }
  .site-header.header--overlay { position: absolute; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; display: block; margin: 0; padding: 8px 24px 24px; background: var(--navy-900); border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 3px solid var(--green-500); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  html.js .site-nav { display: none; }
  html.js .site-nav.is-open { display: block; }
  .nav-list { display: block; }
  .nav-item { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-link { height: auto; padding: 14px 0; width: calc(100% - 44px); }
  .nav-item.is-active > .nav-link { box-shadow: none; color: var(--green-300); }
  .sub-toggle { display: inline-flex; align-items: center; justify-content: center; right: 0; top: 10px; transform: none; width: 40px; height: 40px; }
  .sub-toggle::before { content: '+'; font-family: var(--font-mono); font-size: 22px; }
  .sub-toggle[aria-expanded="true"]::before { content: '-'; }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; display: block; min-width: 0; padding: 0 0 12px 12px; background: none; border: 0; box-shadow: none; }
  html.js .sub-menu { display: none; }
  html.js .sub-toggle[aria-expanded="true"] + .sub-menu { display: block; }
  .sub-menu a { color: rgba(255, 255, 255, .78); padding: 9px 0; }
  .sub-menu a:hover { background: none; color: #fff; }
  .nav-extra { display: grid; gap: 12px; padding-top: 20px; }
  .nav-phone { display: flex; align-items: center; gap: 8px; color: #fff; font-family: var(--font-mono); text-decoration: none; }
  .lang-switch { color: rgba(255, 255, 255, .8); }
  .intro-grid, .about-grid, .product-top, .project-layout, .article-layout, .service-grid, .faq-layout, .contact-grid, .industry-head { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .project-side, .article-side { position: static; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .section { padding: 72px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 36px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industry-card { flex-direction: column; }
  .industry-card .card-media { width: 100%; aspect-ratio: 16 / 10; border-right: 0; border-bottom: 1px solid var(--line); }
  .index-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .grid { gap: 16px; }
  .grid-2, .grid-3, .grid-4, .process, .gallery-grid, .honor-grid, .check-list--2, .stats--about { grid-template-columns: minmax(0, 1fr); }
  .hero-slides { height: auto; aspect-ratio: 2 / 1; min-height: 0; margin-top: var(--header-h); }
  .hero-slide img { object-fit: cover; }
  .hero-bar { position: static; padding: 18px 0 20px; background: var(--navy-950); }
  .hero-bar-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-captions { min-height: 0; position: static; }
  .hero-caption { position: static; display: none; }
  .hero-caption.is-active { display: block; }
  html.js .hero-caption { opacity: 1; }
  html.js .hero-caption:not(.is-active) { display: none; }
  .hero-text { display: none; }
  .intro-band { padding: 48px 0; }
  .stats--intro { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-head { padding: 40px 0 44px; }
  .contact-form { padding: 26px 20px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .timeline-item { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .milestone-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .contact-card { padding: 20px 20px 20px 64px; }
}

/* 22. Motion & print */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide, .hero-caption { animation: none !important; }
  .hero-slide:not(:first-child), .hero-caption:not(:first-child) { display: none; }
  .card, .card-img, .btn { transition: none; }
}
@media print {
  .site-header, .site-footer, .cta-band, .hero-controls, .subnav, .tabs { display: none; }
  body { color: #000; }
  a { color: #000; }
}
