.subpage-body { background: #f5f3ed; }
.subpage-header { position: sticky; top: 0; z-index: 100; min-height: 76px; padding: 12px 48px; display: flex; align-items: center; color: var(--ink); background: rgba(250,249,245,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.subpage-header .brand { flex: none; }
.subpage-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.subpage-nav a { font-size: 13px; font-weight: 700; }
.subpage-nav a:hover { color: var(--orange); }
.subpage-header .language-switcher { margin-left: 30px; color: var(--ink); border-color: rgba(23,32,29,.25); }
.subpage-main { min-height: 70vh; }
.sub-hero { padding: 96px 0 88px; color: var(--white); background: linear-gradient(125deg,#111916 0,#26342f 65%,#3f4b45 100%); }
.sub-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 90px; align-items: end; }
.sub-kicker { margin: 0 0 24px; color: var(--orange); font: 800 10px Arial; letter-spacing: .22em; }
.sub-hero h1 { margin: 0; max-width: 760px; font-family: serif; font-size: clamp(50px,6vw,86px); line-height: 1.07; letter-spacing: -.04em; }
.sub-hero-copy { margin: 0 0 8px; max-width: 560px; color: rgba(255,255,255,.67); font-size: 16px; line-height: 2; }
.sub-section { padding: 94px 0; }
.sub-section.alt { background: var(--white); }
.sub-section-head { margin-bottom: 42px; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.sub-section-head h2 { margin: 0; font-family: serif; font-size: clamp(36px,4vw,58px); letter-spacing: -.035em; }
.sub-section-head p { max-width: 520px; margin: 0; color: var(--muted); line-height: 1.9; }
.back-link { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; font-weight: 700; }
.back-link:hover { color: var(--orange); }
.content-prose { max-width: 820px; color: #4f5955; font-size: 16px; line-height: 2.1; white-space: pre-line; }
.media-frame { min-height: 360px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg,#ded9cc,#b6b0a5); }
.media-frame img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.media-placeholder { padding: 40px; display: grid; place-items: center; gap: 10px; text-align: center; color: #6c746f; }
.media-placeholder strong { color: var(--ink); font-family: serif; font-size: 28px; }

.product-detail { padding: 70px 0 100px; }
.product-detail-hero { margin-top: 38px; display: grid; grid-template-columns: .9fr 1.1fr; background: var(--white); }
.product-detail-media { min-height: 570px; padding: 58px; display: grid; place-items: center; background: #efeee9; }
.product-detail-media img { max-width: 78%; max-height: 450px; object-fit: contain; mix-blend-mode: multiply; filter: drop-shadow(0 28px 20px rgba(20,30,26,.16)); }
.product-detail-copy { padding: 70px 64px; display: flex; flex-direction: column; justify-content: center; }
.product-series { color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.product-detail-copy h1 { margin: 16px 0 14px; font-family: serif; font-size: clamp(42px,5vw,68px); line-height: 1.13; }
.product-code-large { margin: 0 0 34px; color: var(--muted); font-size: 12px; }
.product-fact { padding: 22px 0; border-top: 1px solid var(--line); }
.product-fact small { display: block; margin-bottom: 8px; color: var(--muted); }
.product-fact strong { font-size: 15px; line-height: 1.8; }
.product-detail-copy .button { margin-top: 26px; align-self: flex-start; }
.detail-story { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; }
.detail-story h2 { margin: 0; font-family: serif; font-size: clamp(38px,4vw,58px); }
.detail-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.detail-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #e6e3db; }

.solution-switcher { display: flex; gap: 10px; margin-bottom: 34px; overflow-x: auto; }
.solution-switcher a { flex: none; padding: 13px 18px; border: 1px solid var(--line); font-size: 12px; font-weight: 800; }
.solution-switcher a.active, .solution-switcher a:hover { color: var(--white); border-color: var(--ink); background: var(--ink); }
.solution-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.solution-copy h2 { margin: 0 0 20px; font-family: serif; font-size: clamp(42px,5vw,66px); }
.solution-copy .lead { color: var(--ink); font-size: 19px; line-height: 1.8; }
.solution-copy .content-prose { font-size: 15px; }
.solution-steps { margin: 30px 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.solution-steps li { padding: 17px 0; display: grid; grid-template-columns: 42px 1fr; border-bottom: 1px solid var(--line); font-size: 14px; }
.solution-steps span { color: var(--orange); font: 700 10px Arial; }

.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.feature-card { min-height: 220px; padding: 34px; background: var(--white); border-top: 3px solid var(--orange); }
.feature-card small { color: var(--orange); font: 800 10px Arial; }
.feature-card h3 { margin: 35px 0 13px; font-size: 21px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.factory-gallery { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }

.catalog-toolbar { margin-bottom: 32px; display: flex; gap: 9px; overflow-x: auto; }
.catalog-filter { flex: none; padding: 12px 18px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; }
.catalog-filter.active, .catalog-filter:hover { color: var(--white); border-color: var(--ink); background: var(--ink); }
.catalog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.catalog-card { min-width: 0; padding: 26px; display: grid; grid-template-rows: 240px auto; background: var(--white); transition: transform .25s, box-shadow .25s; }
.catalog-card:hover { transform: translateY(-4px); box-shadow: 0 20px 45px rgba(20,30,26,.1); }
.catalog-card-media { display: grid; place-items: center; background: #f0efea; }
.catalog-card-media img { max-width: 72%; max-height: 200px; object-fit: contain; mix-blend-mode: multiply; }
.catalog-card-copy { padding-top: 23px; }
.catalog-card-copy small { color: var(--orange); font-size: 10px; font-weight: 800; }
.catalog-card-copy h2 { margin: 10px 0; font-size: 20px; line-height: 1.45; }
.catalog-card-copy p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.catalog-card-copy span { display: inline-block; margin-top: 18px; font-size: 12px; font-weight: 800; }

.video-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.video-card { padding: 0; text-align: left; border: 0; background: var(--white); cursor: pointer; }
.video-card-visual { aspect-ratio: 16/10; position: relative; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg,#d4cec0,#898b84); }
.video-card-visual img { width: 100%; height: 100%; object-fit: cover; }
.video-card-play { position: absolute; width: 56px; height: 56px; display: grid; place-items: center; padding-left: 4px; color: var(--white); background: var(--orange); border-radius: 50%; }
.video-card-copy { padding: 24px; }
.video-card-copy small { color: var(--orange); font-size: 10px; font-weight: 800; }
.video-card-copy h2 { margin: 9px 0; font-size: 19px; line-height: 1.5; }
.video-card-copy p { margin: 0; color: var(--muted); font-size: 12px; }
.sub-video-modal { position: fixed; z-index: 400; inset: 0; display: none; place-items: center; padding: 20px; background: rgba(10,15,13,.86); }
.sub-video-modal.open { display: grid; }
.sub-video-dialog { position: relative; width: min(960px,100%); padding: 30px; background: var(--white); }
.sub-video-dialog > button { position: absolute; right: 11px; top: 4px; z-index: 2; border: 0; background: transparent; font-size: 32px; cursor: pointer; }
.sub-video-stage { aspect-ratio: 16/9; display: grid; place-items: center; color: var(--white); background: var(--ink); }
.sub-video-stage video, .sub-video-stage iframe { width: 100%; height: 100%; max-height: 72vh; display: block; border: 0; background: #000; object-fit: contain; }
.sub-video-dialog h2 { margin: 20px 0 5px; font-size: 24px; }
.sub-video-dialog p { color: var(--muted); font-size: 13px; }

.subpage-footer { padding: 36px 0; color: rgba(255,255,255,.65); background: #111815; }
.subpage-footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.subpage-footer p { margin: 0; font-size: 11px; }
.subpage-footer a { color: var(--white); font-size: 12px; }
.empty-state { padding: 70px 25px; text-align: center; color: var(--muted); background: var(--white); }

@media (max-width: 900px) {
  .subpage-header { padding-inline: 22px; }
  .subpage-header .brand-name { display: none; }
  .subpage-nav { gap: 16px; overflow-x: auto; }
  .subpage-nav a:nth-child(-n+2) { display: none; }
  .subpage-header .language-switcher { margin-left: 14px; }
  .sub-hero { padding: 70px 0; }
  .sub-hero-grid, .product-detail-hero, .detail-story, .solution-layout { grid-template-columns: 1fr; gap: 36px; }
  .sub-section { padding: 65px 0; }
  .product-detail-media { min-height: 390px; padding: 35px; }
  .product-detail-copy { padding: 45px 28px; }
  .feature-grid, .catalog-grid, .video-grid { grid-template-columns: repeat(2,1fr); }
  .detail-gallery { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  :root { --wrap: min(100% - 36px,1240px); }
  .subpage-header { min-height: 70px; }
  .subpage-nav a { display: none !important; }
  .subpage-header .language-switcher { margin-left: auto; }
  .sub-hero h1 { font-size: 46px; }
  .sub-section-head { align-items: start; flex-direction: column; }
  .feature-grid, .catalog-grid, .video-grid, .factory-gallery { grid-template-columns: 1fr; }
  .catalog-card { grid-template-rows: 220px auto; }
  .subpage-footer .wrap { align-items: flex-start; flex-direction: column; }
}
