@font-face { font-family: "Space Grotesk"; font-weight: 500; font-display: swap; src: url(/fonts/space-grotesk-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Space Grotesk"; font-weight: 600; font-display: swap; src: url(/fonts/space-grotesk-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }

:root {
  --ground: #f2f2ef;
  --surface: #ffffff;
  --ink: #15171a;
  --text-2: #33373d;
  --muted: #5e636b;
  --faint: #8a8f96;
  --line: #dadbd6;
  --line-strong: #c9cbc5;
  --dark-line: #4a4f56;
  --on-dark: #c9cbc5;
  --accent: #f0b400;
  --accent-text: #8a6100;
  --cjk: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC";
  --f-display: "Space Grotesk", var(--cjk), system-ui, sans-serif;
  --f-body: "IBM Plex Sans", var(--cjk), system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, var(--cjk), monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--ground); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.6; }
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 88px; padding-bottom: 88px; }
.section-tight { padding-top: 24px; padding-bottom: 72px; }
.mono { font-family: var(--f-mono); font-size: 13px; letter-spacing: .04em; }
.muted { color: var(--muted); }
.empty { color: var(--muted); padding: 24px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.placeholder { display: block; width: 100%; aspect-ratio: 1; background: repeating-linear-gradient(135deg, #e6e7e3 0 12px, #eceeea 12px 24px); }

.eyebrow { font-family: var(--f-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.eyebrow.accent { color: var(--accent); }
.h-hero { max-width: 900px; font-size: clamp(40px, 7vw, 88px); line-height: 1.02; letter-spacing: -.02em; }
.h-section { font-size: clamp(30px, 4vw, 48px); line-height: 1.1; letter-spacing: -.01em; }
.h-cta { font-size: clamp(32px, 5vw, 60px); line-height: 1.05; letter-spacing: -.01em; }
.h-product { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.01em; }
.h-sub { font-size: 28px; margin-bottom: 16px; }
.h-label { font-family: var(--f-mono); font-weight: 500; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 40px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.lead { font-size: 18px; line-height: 1.55; color: #4a4f56; margin-top: 18px; }
.more { display: inline-block; padding: 10px 0; font-size: 15px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 28px; text-decoration: none; font-size: 15px; font-weight: 500; }
.btn.primary { background: var(--accent); color: var(--ink); }
.btn.primary:hover { background: #ffc61a; color: var(--ink); }
.btn.outline-light { border: 1px solid rgba(255,255,255,.7); color: #fff; font-weight: 400; }
.btn.outline-light:hover { background: rgba(255,255,255,.1); color: #fff; }

/* header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 40px; padding-top: 10px; padding-bottom: 10px; }
.brand { font-family: var(--f-display); font-weight: 600; font-size: 22px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 8px 0; }
.brand-logo { height: 40px; width: auto; max-width: 220px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; flex-wrap: wrap; gap: 0 28px; flex: 1 1 auto; font-size: 15px; }
.main-nav a { color: var(--muted); text-decoration: none; padding: 12px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current] { color: var(--ink); border-bottom-color: var(--accent); }
.lang-switch { display: flex; align-items: center; gap: 2px; font-family: var(--f-mono); font-size: 13px; }
.lang-switch span { color: #b8bab4; }
.lang-switch a { color: var(--faint); text-decoration: none; padding: 12px 6px; }
.lang-switch a:hover, .lang-switch a[aria-current] { color: var(--ink); }

/* hero */
.hero { position: relative; min-height: 640px; display: flex; align-items: flex-end; background: var(--ink); overflow: hidden; color: #fff; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero-body { position: relative; padding-top: 120px; padding-bottom: 72px; }
.hero-lead { margin-top: 28px; max-width: 560px; font-size: 18px; line-height: 1.55; color: #e6e7e3; }

/* section heads */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: 40px; }

/* project tiles */
.showcase { display: flex; flex-wrap: wrap; gap: 24px; }
.showcase-side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.showcase-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 40px 24px; }
.showcase + .showcase-row { margin-top: 40px; }
.tile { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.tile:hover { color: var(--ink); }
.tile img, .tile .placeholder { width: 100%; object-fit: cover; transition: opacity .2s; }
.tile:hover img { opacity: .88; }
.tile-lg { flex: 999 1 560px; }
.tile-lg img, .tile-lg .placeholder { aspect-ratio: 4 / 3; }
.tile-md img, .tile-md .placeholder { aspect-ratio: 3 / 2; }
.tile-wide img, .tile-wide .placeholder { aspect-ratio: 16 / 9; }
.tile-caption { display: flex; flex-direction: column; gap: 4px; }
.tile-lg .tile-caption { flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; align-items: baseline; }
.tile-title { font-family: var(--f-display); font-weight: 500; font-size: 18px; line-height: 1.3; }
.tile-lg .tile-title { font-size: 22px; }

/* selling points */
.usps { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line-strong); }
.usp { flex: 1 1 280px; padding: 32px 32px 0 0; }
.usp-num { color: var(--accent-text); margin-bottom: 16px; }
.usp h3 { font-size: 22px; margin-bottom: 10px; }
.usp p:last-child { color: #4a4f56; }

/* product / category cards */
.band-white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 40px 24px; }
.pcard { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.pcard:hover { color: var(--ink); }
.pcard img, .pcard .placeholder { width: 100%; aspect-ratio: 1; object-fit: cover; background: #eceeea; margin-bottom: 4px; transition: opacity .2s; }
.pcard:hover img { opacity: .88; }
.pcard-title { font-family: var(--f-display); font-weight: 500; font-size: 17px; line-height: 1.3; }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 40px; padding-top: 88px; padding-bottom: 88px; }
.cta-text { flex: 1 1 420px; }
.cta-text p:last-child { margin-top: 20px; max-width: 520px; font-size: 18px; color: var(--on-dark); }
.contact-buttons { flex: 0 1 380px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cbtn { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 0 22px; border: 1px solid var(--dark-line); color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.cbtn:hover { border-color: #fff; color: #fff; }
.cbtn.primary { background: var(--accent); border-color: var(--accent); color: var(--ink); font-weight: 500; }
.cbtn.primary:hover { background: #ffc61a; color: var(--ink); }
.contact-buttons.compact { flex: none; flex-direction: row; flex-wrap: wrap; }
.contact-buttons.compact .cbtn { min-height: 48px; flex: 1 1 auto; }

/* category tabs */
.tabs-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 28px; overflow-x: auto; white-space: nowrap; font-size: 14px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { color: var(--muted); text-decoration: none; padding: 16px 0 14px; border-bottom: 2px solid transparent; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current] { color: var(--ink); border-bottom-color: var(--ink); }

.search { display: flex; flex: 0 1 360px; min-width: 0; }
.search input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-right: 0; background: var(--surface); font: inherit; font-size: 15px; color: var(--ink); border-radius: 0; }
.search button { height: 44px; padding: 0 18px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font: inherit; font-size: 14px; cursor: pointer; border-radius: 0; }

/* product detail */
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 32px; }
.crumbs a { color: var(--muted); }
.detail { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.gallery { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.gallery-main, .gallery .placeholder { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--surface); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; background: none; cursor: pointer; }
.gallery-thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.gallery-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.detail-info { flex: 1 1 400px; min-width: 0; }
.model { margin-bottom: 14px; letter-spacing: .08em; }
.specs { margin: 0; font-size: 15px; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.docs { list-style: none; margin: 0; padding: 0; }
.docs a { display: flex; align-items: center; gap: 16px; min-height: 56px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.doc-tag { flex: none; font-family: var(--f-mono); font-size: 11px; line-height: 1; padding: 4px 6px; border: 1px solid var(--ink); }
.doc-text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.doc-size { flex: none; font-size: 12px; }
.ask { margin-top: 40px; padding: 28px; background: var(--ink); color: #fff; display: flex; flex-direction: column; gap: 14px; }
.ask-title { font-family: var(--f-display); font-size: 22px; font-weight: 500; }
.ask-text { color: var(--on-dark); }
.prose { max-width: 760px; margin-top: 64px; }
.prose p { font-size: 17px; line-height: 1.7; color: var(--text-2); margin-bottom: 16px; }
article .prose { margin-top: 24px; }
.related { margin-top: 88px; }
.related .h-section { font-size: 28px; }

/* case detail */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 24px; margin-top: 48px; }
.photo-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.photo-grid .photo-first { grid-column: 1 / -1; }
.photo-grid .photo-first img { aspect-ratio: 16 / 9; }

.contact-details { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.contact-details .specs { flex: 1 1 360px; }
.contact-details .prose { flex: 1 1 420px; margin-top: 0; }

/* footer */
.site-footer { background: var(--ink); color: #9a9ea5; border-top: 1px solid #2c2f34; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; padding-top: 32px; padding-bottom: 40px; font-size: 14px; line-height: 1.6; }
.footer-name { color: #fff; font-weight: 500; }
.site-footer a { color: #9a9ea5; }
.site-footer a:hover { color: #fff; }

@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .hero { min-height: 560px; }
  .hero-body { padding-top: 96px; padding-bottom: 48px; }
  .header-row { column-gap: 20px; }
  .brand { font-size: 19px; }
  .brand-logo { height: 32px; max-width: 160px; }
  .main-nav { order: 3; flex-basis: 100%; gap: 0 22px; }
  .main-nav a { padding: 8px 0 10px; }
  .lang-switch { margin-left: auto; }
  .cta-row { padding-top: 56px; padding-bottom: 56px; }
  .contact-buttons { flex-basis: 100%; }
  .search { flex-basis: 100%; }
  .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .gallery-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ask { padding: 22px; }
}

/* lightbox */
.gallery-main-link { display: block; cursor: zoom-in; }
.photo-grid a { display: block; cursor: zoom-in; }
.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 13, 15, .96); color: #fff; overflow: hidden; }
.lb::backdrop { background: rgba(12, 13, 15, .96); }
.lb[open] { display: flex; align-items: center; justify-content: center; }
.lb-img { max-width: calc(100vw - 160px); max-height: calc(100dvh - 120px); object-fit: contain; user-select: none; }
.lb-count { position: absolute; top: 22px; left: 24px; color: #9a9ea5; }
.lb-btn { position: absolute; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border: 1px solid #4a4f56; background: rgba(21, 23, 26, .6); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; padding: 0; }
.lb-btn:hover { border-color: #fff; }
.lb-close { top: 12px; right: 12px; font-size: 26px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb.single .lb-prev, .lb.single .lb-next { display: none; }
@media (max-width: 640px) {
  .lb-img { max-width: 100vw; max-height: calc(100dvh - 140px); }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
  .lb-prev { left: calc(50% - 56px); }
  .lb-next { right: calc(50% - 56px); }
}
