*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-height:100vh;background-color:#100f0c;background-image:linear-gradient(180deg,rgba(10,9,7,.74),rgba(16,15,12,.88)),url("img/bg.jpg");background-position:center top;background-size:cover;background-repeat:no-repeat;background-attachment:fixed;color:#f4ead3;font:16px/1.55 "Microsoft YaHei",Arial,sans-serif;overflow-wrap:anywhere}
a{color:#edca77}
a:focus-visible{outline:3px solid #f2c45a;outline-offset:3px}
.wrap{width:min(100% - 32px,1080px);margin-inline:auto}
.site-header{background-color:#090a08;background-image:linear-gradient(90deg,rgba(0,0,0,.76),rgba(0,0,0,.62)),url("img/bg.jpg");background-position:center 22%;background-size:cover;border-bottom:1px solid #8b6b35;box-shadow:0 8px 24px #0008}
.header-inner{min-height:112px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:block;width:min(100%,440px);height:96px;overflow:hidden;flex:none}
.brand img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 45%;mix-blend-mode:screen}
.header-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px;padding-block:12px}
.contact-links{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px 10px;color:#f5d891;font-size:14px;font-weight:700}
.contact-links span{color:#d9bd80}
.contact-links a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:5px 11px;border:1px solid #93753c;border-radius:999px;background:rgba(18,15,8,.8);color:#ffde8d;text-decoration:none}
.contact-links a:hover,.contact-links a:focus-visible{background:#57401c;color:#fff}
.home-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:6px 16px;border:1px solid #84652c;border-radius:999px;background:#21180b;color:#f5d891;text-decoration:none;font-size:14px;font-weight:700;white-space:nowrap}
.home-link:hover,.home-link:focus-visible{background:#503b18;color:#fff}
.intro{padding:34px 0 22px}
.eyebrow{margin:0;color:#ddae4f;font-size:14px;font-weight:700}
h1{margin:4px 0 10px;color:#f5d891;font-size:clamp(28px,5vw,40px)}
.intro>p:last-child{max-width:720px;margin:0;color:#d3c9b7}
.case-nav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}
.case-nav a{display:inline-flex;align-items:center;min-height:44px;padding:6px 13px;border:1px solid #705b34;border-radius:5px;background:#282219;text-decoration:none;font-weight:700}
.case-nav a:hover,.case-nav a:focus-visible{background:#594526;color:#fff}
.case-list{display:grid;gap:22px}
.case-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,340px);gap:24px;scroll-margin-top:18px;min-width:0;padding:24px;border:1px solid #69532d;border-radius:10px;background:linear-gradient(145deg,#241d15,#1a1712);box-shadow:0 8px 24px #0005}
.case-card:target{border-color:#e0b653;box-shadow:0 0 0 2px #b17e2e}
.case-copy{min-width:0}
.case-number{margin:0;color:#bdad88;font-size:12px;font-weight:700;letter-spacing:.07em}
h2{margin:4px 0 4px;color:#f5d891;font-size:26px}
.case-type{margin:0 0 15px;color:#eee2c8}
.case-tags{display:flex;flex-wrap:wrap;gap:7px;list-style:none;margin:0 0 14px;padding:0}
.case-tags li{padding:4px 9px;border-radius:20px;background:#44341e;color:#f3d589;font-size:13px}
.case-note{margin:0 0 17px;color:#e3d8c6}
.case-links h3{margin:0 0 8px;color:#ebc775;font-size:16px}
.case-links small{margin-left:5px;color:#bdb2a0;font-size:12px;font-weight:400}
.case-links ul{display:flex;flex-wrap:wrap;gap:7px 15px;margin:0;padding:0;list-style:none}
.case-links a{display:inline-flex;min-height:40px;align-items:center;text-decoration:underline;text-underline-offset:3px}
.case-visual{position:relative;width:100%;min-width:0;max-width:420px;margin:0;align-self:start;overflow:hidden;border:1px solid #67542c;border-radius:7px;background:#15130f}
.case-product-image{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;background-color:#15130f;background-image:linear-gradient(180deg,rgba(8,8,7,.58),rgba(9,8,8,.74)),url("img/bg.jpg");background-position:center;background-size:cover}
.case-visual-watermark{position:absolute;inset:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:8px;padding:8px;pointer-events:none;color:#f4d686}
.case-visual-brand,.case-visual-contacts{display:flex;align-items:center;min-width:0}
.case-visual-brand{gap:3px;max-width:100%;padding:2px 8px 2px 3px;border:1px solid #a4854d80;border-radius:5px;background:#070605ab;box-shadow:0 2px 12px #0008;font-size:14px;font-weight:700;line-height:1.1;white-space:nowrap;text-shadow:0 1px 3px #000}
.case-visual-brand img{display:block;width:27px;height:27px;object-fit:contain;flex:none}
.case-visual-brand small{font-size:10px;letter-spacing:.03em}
.case-visual-contacts{gap:3px;max-width:100%;padding:3px 5px;border:1px solid #a4854d80;border-radius:5px;background:#070605b8;box-shadow:0 2px 12px #0008;font-size:12px;font-weight:700}
.case-visual-contacts img{display:block;width:20px;height:20px;object-fit:contain;flex:none}
.case-visual-contacts a{display:inline-flex;align-items:center;min-height:32px;padding:3px 5px;border-radius:4px;color:#ffdd84;text-decoration:underline;text-underline-offset:2px;pointer-events:auto}
.case-visual-contacts a:hover,.case-visual-contacts a:focus-visible{background:#533b18;color:#fff}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.breadcrumbs{display:flex;flex-wrap:wrap;gap:8px;padding-top:22px;color:#cbbd9f;font-size:14px}
.breadcrumbs a{text-decoration:underline;text-underline-offset:3px}
.detail-intro{max-width:740px;padding:20px 0 22px}
.detail-intro p:last-child{margin:8px 0 0;color:#d3c9b7}
.detail-list .case-card h1{font-size:clamp(26px,5vw,38px)}
.case-permalink{margin:16px 0 0;font-weight:700}
.case-permalink a{text-decoration:underline;text-underline-offset:4px}
.case-card-detail{display:block;padding:0;overflow:hidden;background:linear-gradient(145deg,#241d15,#1a1712)}
.case-detail-sheet{padding:30px 32px;background:#fff;color:#292520}
.sheet-kicker{margin:0 0 8px;color:#836638;font-size:13px;font-weight:700;letter-spacing:.06em}
.case-detail-sheet h1{margin:0 0 20px;color:#292520;font-size:clamp(28px,5vw,38px)}
.sheet-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 32px}
.sheet-section{min-width:0;padding-top:11px;border-top:1px solid #ddd6cb}
.sheet-section h2,.sheet-section .case-links h3{margin:0 0 7px;color:#72521f;font-size:16px;font-weight:700}
.sheet-section .case-type,.sheet-section .case-note{margin:0;color:#292520}
.sheet-section .case-tags{margin:0}
.sheet-section .case-tags li{background:#eee6d7;color:#6a4b1a}
.sheet-section .case-links a,.sheet-contact a{color:#694611;font-weight:700}
.sheet-contact p{margin:0}
.case-gallery{padding:24px 32px 32px}
.case-gallery h2{margin:0 0 14px;color:#f5d891;font-size:20px}
.case-gallery .case-visual{max-width:628px;margin-inline:auto}
.end-note a{display:inline-block;margin-left:8px}
.end-note{margin:24px 0 40px;color:#bdb2a0;font-size:13px}
@media(max-width:720px){.case-card{grid-template-columns:1fr;padding:17px;gap:15px}.intro{padding-top:24px}}
@media(max-width:720px){.header-inner{flex-direction:column;justify-content:center;gap:0;padding-block:8px 12px}.header-actions{align-items:center;padding-block:0;gap:9px}.contact-links{justify-content:center}}
@media(max-width:600px){body{background-attachment:scroll;background-size:auto 100vh;background-repeat:repeat-y}.brand{width:min(100%,360px);height:78px}.home-link{min-height:40px}}
@media(max-width:390px){.wrap{width:calc(100% - 24px)}.brand{width:min(100%,320px);height:70px}.home-link{font-size:13px}.contact-links{font-size:12px;gap:5px}.contact-links a{padding-inline:9px}.case-nav{gap:6px}.case-nav a{font-size:13px;padding-inline:9px}.case-card{padding:14px}h2{font-size:22px}}
@media(max-width:720px){.case-card-detail{padding:0}.case-detail-sheet{padding:22px 20px}.case-gallery{padding:20px}.sheet-grid{grid-template-columns:1fr;gap:15px}}
@media(max-width:390px){.case-detail-sheet{padding:18px 16px}.case-gallery{padding:16px}}

/* The seven generated details use the saved /4003 page's visual structure. */
body.legacy-detail{background:#000 url("img/bg.jpg") center top no-repeat;color:#363535;font:15px/1.7 "Microsoft YaHei",Arial,sans-serif}
.legacy-detail-frame{width:min(100%,1014px);margin:0 auto;background:transparent;box-shadow:none}
.legacy-detail-header{height:147px;background:transparent;color:#111}
.legacy-header-line{height:105px;display:flex;align-items:center;justify-content:center;padding:4px 12px}
.legacy-detail-brand{display:block;width:min(100%,520px);height:101px}
.legacy-detail-brand img{display:block;width:100%;height:100%;object-fit:contain}
.legacy-project-nav{height:40px;display:flex;align-items:stretch;background:url("img/menu.png") left top no-repeat;color:#111}
.legacy-project-nav a{display:flex;align-items:center;justify-content:center;width:97px;padding:0;color:#111;text-decoration:none;font-size:16px;font-weight:400;white-space:nowrap}
.legacy-project-nav a:hover,.legacy-project-nav a:focus-visible{color:#6e6e6e;background:url("img/but_hov.png") center 7px no-repeat}
.legacy-project-nav .legacy-nav-home{width:62px;background:url("img/but_home.png") left top no-repeat}
.legacy-project-nav .legacy-nav-home:hover,.legacy-project-nav .legacy-nav-home:focus-visible{background:url("img/but_home.png") left top no-repeat;filter:brightness(1.25)}
.legacy-project-nav img{display:none}
.legacy-detail-banner{height:auto;margin-bottom:7px;overflow:hidden}
.legacy-detail-banner img{display:block;width:100%;height:auto;aspect-ratio:1014/109;object-fit:cover}
.legacy-cont-top,.legacy-cont-bottom{height:10px;width:100%;background-repeat:no-repeat;background-position:left center;background-size:100% 10px}
.legacy-cont-top{background:url("img/cont_top.png") left center/100% 10px no-repeat}
.legacy-cont-bottom{background:url("img/cont_bot.png") left center/100% 10px no-repeat}
.legacy-detail-main{padding:7px 0 10px;background:#dfdddd}
.legacy-detail .breadcrumbs{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.legacy-detail-panel{margin:0 17px;background:transparent;border:0;box-shadow:none}
.legacy-detail .case-card-detail{border:0;border-radius:0;box-shadow:none;background:transparent}
.legacy-detail .case-detail-sheet{display:grid;grid-template-columns:110px minmax(0,1fr);gap:0;width:calc(100% - 17px);min-height:240px;padding:0;background:#fff;border-radius:15px;color:#363535}
.legacy-gold-heading{padding:20px 20px 0 20px;align-self:start}
.legacy-gold-heading img{display:block;width:70px;height:160px;object-fit:contain}
.legacy-detail .sheet-grid{display:block;max-width:765px;padding:18px 0 16px;min-width:0;font-size:15px;font-weight:600;line-height:30px}
.legacy-detail .case-detail-sheet h1{margin:0;color:#2f4f4f;font-size:15px;font-weight:600;line-height:30px}
.legacy-detail .sheet-fact{display:block;margin:0;color:#2f4f4f;font-size:15px;font-weight:600;line-height:30px}
.legacy-detail .sheet-fact strong,.legacy-detail .sheet-fact .case-links h3{display:inline;margin:0;color:#2f4f4f;font-size:15px;font-weight:600}
.legacy-detail .sheet-fact .case-type,.legacy-detail .sheet-fact .case-note{display:inline;margin:0;color:#2f4f4f}
.legacy-detail .sheet-fact .case-tags{display:inline;margin:0;list-style:none}
.legacy-detail .sheet-fact .case-tags li{display:inline;padding:0;background:none;color:#2f4f4f;font-size:15px}
.legacy-detail .sheet-fact .case-tags li+li:before{content:'、'}
.legacy-detail .sheet-fact .case-links{display:block}
.legacy-detail .sheet-fact .case-links ul{display:inline;list-style:none}
.legacy-detail .sheet-fact .case-links li{display:inline;margin-right:10px}
.legacy-detail .sheet-fact .case-links a,.legacy-detail .sheet-contact a{display:inline;min-height:0;color:#286ba9;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}
.legacy-detail .sheet-fact .case-links a{white-space:nowrap}
.legacy-detail .sheet-fact .case-links a span{white-space:nowrap}
.legacy-detail .sheet-contact nav{display:inline}
.legacy-detail .case-gallery{padding:0 17px 20px;background:transparent}
.legacy-detail .case-gallery h2{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.legacy-detail .legacy-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;align-items:start}
.legacy-detail .case-gallery .case-visual{width:312px;max-width:100%;margin:15px 0 10px;border-radius:0;border:0;background:#15130f}
.legacy-detail .case-gallery .case-product-image{aspect-ratio:auto;height:auto}
.legacy-detail .case-gallery-intro{margin:10px 0 2px;padding:0 5px;color:#34302c;font-size:15px;line-height:1.7}
.legacy-detail .case-gallery-crop{width:312px;max-width:100%;margin:15px 0 10px;background:#15130f}
.legacy-detail .case-gallery-crop svg{display:block;width:100%;height:auto;aspect-ratio:310/220;background:#15130f}
.legacy-detail .case-gallery-crop figcaption{min-height:42px;padding:8px 10px;color:#f4ead3;font-size:14px;line-height:1.5;text-align:center}
.legacy-detail .case-detail-watermark{inset:auto 5px 5px auto;display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;gap:2px;padding:0;max-width:calc(100% - 10px);opacity:.88}
.legacy-detail .case-detail-watermark .case-visual-brand{padding:1px 5px 1px 2px;border:0;border-radius:2px;background:#050505b8;box-shadow:none;font-size:11px}
.legacy-detail .case-detail-watermark .case-visual-brand img{width:17px;height:17px}
.legacy-detail .case-detail-watermark .case-visual-brand small{font-size:8px}
.legacy-detail .case-detail-watermark .case-visual-contacts{gap:1px;padding:0 2px;border:0;border-radius:2px;background:#050505b8;box-shadow:none;font-size:9px}
.legacy-detail .case-detail-watermark .case-visual-contacts img{width:13px;height:13px}
.legacy-detail .case-detail-watermark .case-visual-contacts a{min-height:24px;padding:1px 2px}
.legacy-detail .end-note{margin:0;padding:8px 17px;color:#555;font-size:14px}
.legacy-detail .end-note a{margin:0;color:#286ba9}
@media(max-width:768px){
  body.legacy-detail{background:#000 url("img/bg.jpg") center top no-repeat;background-size:auto}
  .legacy-cont-top{background:#ccc}
  .legacy-cont-bottom{display:none}
  .legacy-detail-header{height:auto}
  .legacy-header-line{height:78px;padding:0 8px}
  .legacy-detail-brand{width:min(100%,310px);height:78px}
  .legacy-project-nav{height:74px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:transparent}
  .legacy-project-nav .legacy-nav-home{display:none}
  .legacy-project-nav a{width:auto;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:2px;padding:3px 1px;color:#fff;font-size:12px;font-weight:400;white-space:normal;text-align:center}
  .legacy-project-nav a:hover,.legacy-project-nav a:focus-visible{background:#ffffff26;color:#fff}
  .legacy-project-nav img{display:block;width:34px;height:34px;object-fit:contain}
  .legacy-detail-main{padding:0 0 10px;background:#dfdddd}
  .legacy-detail-panel{margin:0 8px}
  .legacy-detail .case-detail-sheet{display:block;width:100%;min-height:0;padding:0;background:transparent;border-radius:0}
  .legacy-gold-heading{height:60px;padding:0;background:url("../images/hztj.png") center center no-repeat;background-size:auto 60px}
  .legacy-gold-heading img{display:none}
  .legacy-detail .sheet-grid{padding:12px 15px;background:#fff;border-radius:15px}
  .legacy-detail .case-gallery{padding:8px 8px 16px}
  .legacy-detail .legacy-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .legacy-detail .case-gallery .case-visual{grid-column:1/-1;width:min(100% - 8px,312px);margin:8px auto}
  .legacy-detail .case-gallery-crop{width:calc(100% - 8px);margin:8px 4px}
}
@media(max-width:390px){.legacy-project-nav a{font-size:11px}.legacy-project-nav img{width:32px;height:32px}.legacy-detail .sheet-grid{padding:12px}.legacy-detail .case-gallery{padding:8px 5px 14px}}
@media(max-width:480px){.legacy-detail .legacy-gallery-grid{grid-template-columns:1fr}.legacy-detail .case-gallery-crop{width:min(100% - 8px,312px);margin:8px auto}}
