/* Standalone English edition: typography and spacing for international readers. */
@font-face {
  font-family: 'Inter';
  src: url('fonts/InterVariable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/InterVariable-Italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --font-heading: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --serif-en: var(--font-heading);
  --serif-cn: var(--font-heading);
  --sans-cn: var(--font-body);
  --mono: var(--font-body);
}
body { letter-spacing: 0; font-weight: 400; font-size: 17px; font-optical-sizing: auto; font-kerning: normal; }
h1, h2, h3, h4 { text-wrap: balance; font-weight: 600; letter-spacing: -.015em; }
p { text-wrap: pretty; }
#nav, #nav.scrolled { min-height: 84px; }
#nav .company-logo, footer .company-logo {
  display: inline-flex; align-items: center; gap: 12px;
  position: relative; overflow: visible; width: auto; max-width: 100%; aspect-ratio: auto;
  color: var(--ink); text-decoration: none;
}
.brand-emblem { display: block; position: relative; width: 80px; height: 56px; overflow: hidden; flex: 0 0 80px; }
#nav .company-logo .brand-emblem img, footer .company-logo .brand-emblem img {
  position: absolute; width: 326px; max-width: none; height: auto; left: -14px; top: -7px; mix-blend-mode: multiply;
}
.brand-wordmark { font: 700 26px/1.05 var(--font-heading); letter-spacing: .035em; display: block; }
.brand-wordmark small { display: block; margin-top: 7px; font: 500 9px/1.4 var(--sans-cn); letter-spacing: .13em; }
.nav-links { gap: clamp(13px, 1.65vw, 25px); }
.nav-links a { font-size: 15px; letter-spacing: 0; font-weight: 500; }
.nav-links .nav-cta { font-size: 15px !important; }
.hero-headline { font-size: clamp(46px,4.4vw,64px); font-weight: 500; line-height: 1.08; letter-spacing: -.025em; }
.hero-eyebrow { font-size: 12px; letter-spacing: .07em; max-width: 35em; }
.hero-desc { font-size: 18px; line-height: 1.65; }
.hero-desc strong { font-size: 16px; }
.hero-location { font-size: 12px; letter-spacing: 0; }
.hero-visual-cap .big { font-size: clamp(25px,2.5vw,35px); line-height: 1.15; }
.hero-visual-cap .row { gap: 24px; }
.hero-visual-cap .row .l { font-size: 11px; max-width: 100px; line-height: 1.5; }
.hero-visual-cap .row .n { font-size: 38px; }
.hero-visual-top { letter-spacing: .04em; }
.stats-title { font-size: clamp(30px,3vw,44px); }
.stat-value { font-size: clamp(37px,4.1vw,59px); white-space: nowrap; }
.stat-value .suffix { font-size: 17px; letter-spacing: 0; margin-left: 4px; }
.stat-label { font-size: 13px; line-height: 1.6; }
.about-title, .subsec-title, .clients .clients-title { font-size: clamp(32px,3.2vw,46px); font-weight: 500; line-height: 1.15; }
.prod-title { font-size: clamp(34px,3.4vw,48px); font-weight: 500; line-height: 1.15; }
.prod-name, .prod-card.large .prod-name { font-size: 25px; font-weight: 600; line-height: 1.2; }
.prod-tag { line-height: 1.65; font-size: 13px; }
.ph-title { font-size: clamp(42px,4.4vw,62px); font-weight: 500; line-height: 1.12; letter-spacing: -.02em; }
.hero-headline em, .ph-title em, .prod-title em, .about-title em, .subsec-title em,
.clients-title em, .contact-title em, .ph-sec-title em, .stats-title em,
.cap-card-title em, .ph-cta h2 em { font-style: normal; font-weight: inherit; }
.ph-sub { max-width: 760px; line-height: 1.8; font-weight: 400; }
.article-body p, .ph-cta p { font-weight: 400; }
.ph-sec-title { line-height: 1.15; }
.cap-card-title, .cert-name { line-height: 1.2; }
.cap-card-desc, .cert-desc, .process-desc, .ph-item-desc, .pl-card-desc, .case-card2-desc { line-height: 1.75; }
.case-name, .case-card2-name, .ph-item-name { font-size: 24px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.pl-card-name { font-size: 32px; line-height: 1.2; }
.ph-item-tag, .case-card2-tag { letter-spacing: .04em; font-size: 11px; }
.te-title { font-size: 26px; line-height: 1.25; }
.te-desc { line-height: 1.8; }
.te-tag { letter-spacing: .03em; }
.history-details summary { display: flex; flex-wrap: wrap; gap: 5px 20px; align-items: center; }
.history-details summary span { float: none; margin-left: 0; font-family: var(--sans-cn); }
.roadmap-item h4 { line-height: 1.3; font-size: 19px; }
.roadmap-item p { line-height: 1.8; }
.ind-name { line-height: 1.15; }
.gi-text-title { font-size: 29px; line-height: 1.15; }
.gi-tag { font-size: 12px; line-height: 1.45; }
.gi-text-meta { gap: 12px; font-size: 11px; }
.article-featured-title, .news-hero-title { line-height: 1.2; }
.contact-title { font-size: clamp(34px,3.4vw,48px); font-weight: 500; line-height: 1.15; }
.inquiry-panel > h3 { font-size: 31px; line-height: 1.1; }
.contact-hours { font-size: 13px; }
.contact-stamp { white-space: normal; }
.ph-cta h2 { line-height: 1.15; }
.ip-filter { white-space: normal; }
.ip-row-name { line-height: 1.5; }
.ip-id { overflow-wrap: anywhere; }
.footer-col h4 { letter-spacing: .05em; }
.footer-brand p, .footer-contact p, .footer-col a { font-size: 13px; }
.footer-col a { overflow-wrap: normal; }
.footer-contact .contact-emails a { overflow-wrap: anywhere; }
.footer-bottom { font-size: 11px; gap: 8px 20px; }
footer .brand-wordmark { letter-spacing: .035em; }
/* White letterboxing preserves the complete tool without the old navy side strips. */
.case-visual, .case-visual.v2, .case-visual.v3, .case-visual.v4, .case-visual.v5 { background: #fff; }
/* Keep English labels compact and use upright, legible numbers. */
.case-num, .case-footer, .case-card2-date, .case-card2-link, .pl-card-link,
.ph-sec-label, .ph-eyebrow, .section-label, .prod-label, .subsec-label,
.article-featured-link, .news-hero-link, .footer-col h4 { letter-spacing: .06em; font-weight: 500; }
.case-tag, .case-card2-tag { letter-spacing: .02em; font-size: 12px; font-weight: 500; }
.te-year, .stat-value, .ip-metric-val, .ip-sum-n, .cd-year, .case-filter .count,
.case-card2-no, .hero-stamp .year, .hero-stamp .year em { font-style: normal; font-variant-numeric: lining-nums; letter-spacing: -.04em; }
.te-year { font-size: 46px; font-weight: 500; }
.ph-sec-title { font-weight: 500; font-size: clamp(32px,3.2vw,46px); letter-spacing: -.015em; }
.about-text, .subsec-intro, .cap-subtitle, .cap-card-desc, .case-desc, .case-card2-desc,
.ph-lead, .ph-sec-intro, .ph-item-desc, .pl-card-desc, .ph-feat-p, .process-desc,
.contact-desc, .article-featured-excerpt, .news-hero-excerpt, .te-desc, .cert-desc {
  font-size: 17px; line-height: 1.7; font-weight: 400;
}
@media (max-width: 1100px) and (min-width: 969px) {
  #nav, #nav.scrolled { padding-left: 25px; padding-right: 25px; }
  .nav-links { gap: 13px; }
  .brand-wordmark small { max-width: 115px; font-size: 8px; }
}
@media (max-width: 968px) {
  #nav, #nav.scrolled { min-height: 76px; }
  .hero-headline { font-size: clamp(44px,6.5vw,60px); }
  .hero-visual-cap .big { font-size: 32px; }
  .hero-visual-cap .row .l { max-width: none; }
  .hero-visual-cap .row .n { font-size: 40px; }
  .nav-links a { font-size: 17px; }
  .nav-links .nav-cta { font-size: 17px !important; }
  .nav-drawer-foot { line-height: 1.8; }
}
@media (max-width: 560px) {
  #nav .company-logo { gap: 9px; }
  .brand-wordmark { font-size: 25px; }
  .brand-wordmark small { font-size: 8px; }
  .hero-headline { font-size: clamp(38px,10vw,48px); line-height: 1.12; }
  .hero-eyebrow { font-size: 11px; letter-spacing: .04em; }
  .hero-visual-cap { left: 20px; right: 20px; }
  .hero-visual-cap .big { font-size: 26px; }
  .hero-visual-cap .row { gap: 16px; }
  .hero-visual-cap .row .l { font-size: 10px; }
  .hero-visual-cap .row .n { font-size: 34px; }
  .hero-visual-top { left: 20px; right: 20px; font-size: 10px; }
  .stats-header { gap: 16px; align-items: flex-start; }
  .stat-value { font-size: clamp(36px,9.5vw,49px); }
  .stat-value .suffix { font-size: 15px; }
  .stat-label { font-size: 12px; }
  .about-title, .subsec-title, .clients .clients-title { font-size: 34px; }
  .ph-title { font-size: clamp(36px,10vw,46px); }
  .ph-sub { font-size: 16px; }
  .ph-breadcrumb { letter-spacing: 0; font-size: 11px; flex-wrap: wrap; }
  .ph-hero-meta { gap: 20px; }
  .ph-hero-meta .l { font-size: 12px; }
  .te-title { font-size: 25px; }
  .te-year { font-size: 36px; }
  .te-tag { font-size: 10px; }
  .te-desc { font-size: 15px; }
  .case-filters { flex-wrap: wrap; }
  .case-filter { padding: 10px 12px; font-size: 12px; }
  .gi-text-title { font-size: 25px; }
  .contact-title { font-size: 36px; }
  .inquiry-panel > h3 { font-size: 29px; }
  .form-submit, .draft-actions a, .draft-actions button { font-size: 14px; white-space: normal; }
  .ph-cta h2 { font-size: 35px; }
  .ip-metric-val { font-size: 40px; }
  .contact-list .contact-phone { font-size: 26px; }
}
/* Preserve a clear emblem edge and readable captions on every factory photograph. */
.brand-emblem { width: 77px; flex-basis: 77px; }
.hero-visual::after { z-index: 2; pointer-events: none; background: linear-gradient(180deg,rgba(10,23,48,.24) 0%,rgba(10,23,48,.04) 35%,rgba(10,23,48,.78) 100%); }
.hero-visual-top { color: #fff; }
.ip-name { font: 500 16px/1.6 var(--sans-cn); }
.ip-card-t { font: 600 17px/1.4 var(--sans-cn); }
/* The English factory caption is stacked so it remains legible on small screens. */
.about-visual .visual-tag { display: block; left: 26px; right: 26px; bottom: 26px; }
.about-visual .visual-tag .big { font-size: clamp(43px,4.2vw,60px); line-height: 1; color: #fff; }
.about-visual .visual-tag .big strong { font: 600 11px/1.5 var(--sans-cn); letter-spacing: .09em; text-transform: uppercase; color: #e0edff; margin-bottom: 12px; }
.about-visual .visual-tag .small { color: #e0edff; text-align: left; margin-top: 18px; line-height: 1.6; letter-spacing: .08em; }
.about-visual::before { z-index: 1; background: linear-gradient(180deg,transparent 30%,rgba(10,23,48,.76)); pointer-events: none; }

/* Photograph frames follow the subject, rather than fixed pixel heights. */
.prod-photo, .case-visual { aspect-ratio: 8 / 5; }
.pl-card-img, .ph-item-img, .case-card2-img {
  height: auto;
  min-height: 0;
  aspect-ratio: 3 / 2;
  background: #fff;
}
.pl-card-img img, .ph-item-img img, .case-card2-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pl-card-img img[src*="factory-"], .case-card2-img img[src*="factory-"] { object-fit: cover; }

/* Separate the factory photograph from its caption so neither crowds the other. */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-self: center;
  min-height: 0;
  margin: 0;
  background: #fff;
}
.hero-visual::after, .hero-visual-corners, .hero-visual-scan { display: none; }
.hero-visual-top {
  position: static;
  order: -1;
  padding: 14px 20px;
  align-items: center;
  gap: 16px;
  color: var(--ink-mute);
  font-size: 11px;
  letter-spacing: .04em;
}
.hero-visual-top .tag { flex-shrink: 0; letter-spacing: .04em; }
.hero-slides { position: relative; inset: auto; width: 100%; aspect-ratio: 14 / 9; }
.hero-slide, .hero-slide.active { object-fit: cover; transform: none; animation: none; filter: none; }
.hero-visual-cap { position: static; padding: 22px 24px 0; color: var(--ink); }
.hero-visual-cap .big { font-size: 23px; font-weight: 500; line-height: 1.3; margin-bottom: 18px; }
.hero-visual-cap .big em { color: var(--accent); }
.hero-visual-cap .row { margin-top: 0; padding-top: 18px; border-color: var(--line-soft); gap: 24px; }
.hero-visual-cap .row > div { flex: 1; min-width: 0; }
.hero-visual-cap .row .n { font-size: 30px; font-weight: 500; letter-spacing: -.02em; }
.hero-visual-cap .row .l { max-width: none; color: var(--ink-mute); font-size: 12px; letter-spacing: 0; line-height: 1.4; }
.hero-controls { position: static; padding: 12px 24px 14px; }
.hero-dot::after { background: #bdc9db; }
.hero-dot.active::after { background: var(--accent); }
.hero-pause { color: var(--ink-soft); border-color: #c5cfdd; background: transparent; }
.hero-dot:focus-visible, .hero-pause:focus-visible { outline-color: var(--accent); }

/* Factory gallery: readable landscape photographs, never thin cropped strips. */
.gallery-grid { grid-template-columns: repeat(3,minmax(0,1fr)); grid-auto-rows: auto; gap: 24px; }
.gallery-item { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
.gallery-item img { object-fit: cover; }
.gallery-item.gi-text { min-height: 0; padding: 26px; }
.gi-text-title { font-size: 25px; line-height: 1.2; }
.gi-text-title em { font-style: normal; }
.gi-text-meta { line-height: 1.4; }

.news-hero-img, .article-featured-visual { min-height: 0; aspect-ratio: 3 / 2; align-self: start; }
.ph-showcase {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(0,1fr);
  align-items: center;
  height: auto;
  max-width: 1344px;
  margin: 0 auto 72px;
  background: var(--bg-deep);
}
.ph-showcase::before { display: none; }
.ph-showcase img { display: block; width: 100%; height: auto; object-fit: contain; filter: none; }
.ph-showcase-cap { position: static; inset: auto; width: auto; max-width: none; margin: 0; padding: 36px; }
.ph-showcase-cap h3 { color: var(--ink); font-size: 29px; line-height: 1.2; }
.ph-showcase-cap p { color: var(--ink-soft); font-weight: 400; line-height: 1.7; }
@media (max-width: 1100px) {
  .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ph-showcase-cap { padding: 28px; }
  .ph-showcase-cap h3 { font-size: 26px; }
}
@media (max-width: 680px) {
  .gallery-grid { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .gallery-item.gi-text { aspect-ratio: auto; min-height: 220px; }
  .ph-showcase { grid-template-columns: minmax(0,1fr); margin-bottom: 48px; }
  .ph-showcase-cap { padding: 26px 24px; }
}
@media (max-width: 560px) {
  .hero-visual-top { padding: 12px 16px; font-size: 10px; }
  .hero-visual-cap { padding: 20px 20px 0; }
  .hero-visual-cap .big { font-size: 21px; }
  .hero-visual-cap .row { gap: 16px; }
  .hero-visual-cap .row .n { font-size: 28px; }
  .hero-visual-cap .row .l { font-size: 11px; }
  .hero-controls { padding: 10px 20px 12px; }
}

/* Five capabilities fill both rows: three above, two wider cards below. */
#capabilities .cap-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
#capabilities .cap-card {
  grid-column: span 2;
  min-width: 0;
  border-right: 1px solid var(--line-soft);
}
#capabilities .cap-card:nth-child(n+4) { grid-column: span 3; }
#capabilities .cap-card:nth-child(3),
#capabilities .cap-card:last-child { border-right: 0; }
@media (max-width: 968px) {
  #capabilities .cap-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #capabilities .cap-card:nth-child(n) {
    grid-column: auto;
    border-right: 1px solid var(--line-soft);
  }
  #capabilities .cap-card:nth-child(2n),
  #capabilities .cap-card:last-child { border-right: 0; }
  #capabilities .cap-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  #capabilities .cap-grid { grid-template-columns: minmax(0,1fr); }
  #capabilities .cap-card:nth-child(n) {
    grid-column: 1 / -1;
    border-right: 0;
  }
}
