@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Serif+SC:wght@400;500;600&display=swap');

:root{--ink:#17212a;--deep:#101b24;--paper:#f5f2eb;--warm:#e8e3d8;--gold:#d8c6a7;--muted:#697177;--line:#d8d5ce}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans','Microsoft YaHei',sans-serif}
body.menu-open{overflow:hidden}
a{color:inherit;text-decoration:none}
button{font:inherit}
img{display:block;max-width:100%}
h1,h2,h3,p,figure{margin-top:0}
h1,h2,h3{font-family:'Noto Serif SC',Georgia,serif;font-weight:400}
.page-gutter{padding-left:clamp(24px,5.2vw,92px);padding-right:clamp(24px,5.2vw,92px)}
.site-header{height:82px;position:absolute;z-index:20;top:0;left:0;right:0;display:flex;align-items:center;padding:0 clamp(24px,5.2vw,92px);color:#fff;border-bottom:1px solid rgba(255,255,255,.28)}
.brand{display:flex;align-items:center;gap:12px;flex:none}
.brand-mark{display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(255,255,255,.8);font-family:'Noto Serif SC',serif;font-size:19px}
.brand-words{display:flex;flex-direction:column;line-height:1}
.brand-words strong{font-size:20px;letter-spacing:.24em;font-weight:600}
.brand-words small{font-size:8px;letter-spacing:.31em;margin-top:5px}
.desktop-nav{display:flex;gap:clamp(17px,2.05vw,32px);align-items:center;margin:auto;font-size:12px;letter-spacing:.07em;white-space:nowrap}
.desktop-nav a,.header-contact,.language-switch{transition:opacity .2s}
.desktop-nav a:hover,.header-contact:hover,.language-switch:hover{opacity:.65}
.header-actions{display:flex;align-items:center;gap:17px;font-size:12px;white-space:nowrap}
.language-switch{border-left:1px solid rgba(255,255,255,.5);padding-left:17px;letter-spacing:.08em}
.header-contact{border:1px solid rgba(255,255,255,.65);padding:10px 13px;letter-spacing:.05em}
.header-contact span{margin-left:13px}
.menu-toggle,.mobile-nav{display:none}
.hero{height:min(900px,100svh);min-height:690px;position:relative;background:#1b2932;color:#fff;overflow:hidden}
.hero-image{position:absolute;inset:0;background:url('./assets/hero-editorial.webp') center/cover no-repeat}
.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(9,19,27,.66),rgba(9,19,27,.29) 44%,rgba(9,19,27,.03)),linear-gradient(0deg,rgba(9,19,27,.32),transparent 45%)}
.hero-content{position:absolute;left:0;right:0;top:49%;transform:translateY(-37%);max-width:1100px}
.eyebrow,.section-kicker{font-size:11px;letter-spacing:.22em;font-weight:600}
.eyebrow{color:var(--gold);margin-bottom:28px}
.hero h1{font-size:clamp(58px,6.8vw,104px);line-height:1.22;letter-spacing:.025em;margin-bottom:30px}
.hero h1 em{font-style:normal;color:#e5d7bd}
.hero-copy{font-size:15px;line-height:2;letter-spacing:.05em;color:#e6e7e5;margin-bottom:34px}
.text-link{display:inline-flex;align-items:center;justify-content:space-between;gap:42px;border-bottom:1px solid currentColor;padding-bottom:11px;font-size:13px;letter-spacing:.08em}
.hero-bottom{position:absolute;left:0;right:0;bottom:28px;display:flex;justify-content:space-between;font-size:10px;letter-spacing:.2em;color:rgba(255,255,255,.72)}
.section-kicker{display:flex;align-items:center;gap:15px;color:#8f8271}
.rule{width:31px;height:1px;background:currentColor}
.section-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,350px);align-items:end;gap:50px;margin-bottom:53px}
.section-heading h2,.material h2,.about h2,.contact h2{font-size:clamp(43px,4.65vw,70px);line-height:1.35;letter-spacing:.02em;margin:29px 0 0}
.section-heading>p{font-size:15px;line-height:2;color:var(--muted);margin-bottom:5px}
.products{padding-top:116px;padding-bottom:104px}
.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.product-card{min-width:0;padding-bottom:12px}
.product-photo{height:clamp(270px,29vw,465px);overflow:hidden;background:#d9d4cb}
.product-photo img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
.product-card:hover .product-photo img{transform:scale(1.035)}
.product-card:nth-child(2) img{object-position:center}
.product-topline{display:flex;justify-content:space-between;color:#8b847a;font-size:10px;letter-spacing:.14em;margin:20px 0 12px}
.product-topline span:last-child{font-size:16px;line-height:.7}
.product-card h3{font-size:31px;margin-bottom:12px}
.product-card p{font-size:13px;line-height:1.85;color:var(--muted);min-height:49px;margin-bottom:19px}
.product-items{display:flex;flex-wrap:wrap;list-style:none;padding:17px 0 0;margin:0;border-top:1px solid var(--line);gap:8px}
.product-items li{font-size:11px;letter-spacing:.04em;color:#555f64;padding:7px 11px;background:#eae7e0}
.image-caption{font-size:11px;color:#8c8d88;text-align:right;margin:28px 0 0}
.material{position:relative;min-height:700px;background:#0c1b25;color:#fff;overflow:hidden}
.material-image{position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,27,39,.1),rgba(10,27,39,.8) 56%,#0c1b25),url('./assets/material-macro.webp') center/cover no-repeat}
.material-inner{position:relative;min-height:700px;display:flex;align-items:center;justify-content:flex-end}
.material-copy{width:min(525px,46%);padding:80px 0}
.material .section-kicker{color:var(--gold)}
.material h2{font-size:clamp(42px,3.9vw,59px);margin-bottom:28px}
.material-copy>p{font-size:15px;line-height:2.08;letter-spacing:.025em;color:#c7d0d1}
.material-tags{display:flex;flex-wrap:wrap;gap:8px;margin:30px 0 42px}
.material-tags span{border:1px solid rgba(255,255,255,.37);font-size:11px;letter-spacing:.1em;padding:10px 13px}
.material-copy .material-note{font-size:11px;line-height:1.7;color:#a6afb3}
.partners{padding-top:112px;padding-bottom:115px;background:#eae6dd}
.partner-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.partner-card{min-height:235px;border:1px solid #cac8c2;background:#f2f0ea;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px}
.partner-card strong{font-family:'Noto Serif SC',serif;font-size:clamp(29px,3.2vw,48px);font-weight:500;letter-spacing:.1em}
.partner-card span{font-size:11px;letter-spacing:.3em;color:#777c7c}
.about{display:grid;grid-template-columns:43% 52%;column-gap:5%;row-gap:75px;padding-top:115px;padding-bottom:105px;align-items:center}
.about-copy h2{margin-bottom:30px}
.about-copy p{max-width:550px;font-size:15px;line-height:2.08;color:var(--muted);margin-bottom:18px}
.about-photo{height:560px;overflow:hidden;position:relative;margin:0}
.about-photo img{width:100%;height:100%;object-fit:cover;filter:saturate(.65)}
.about-photo figcaption{position:absolute;left:19px;bottom:19px;padding:8px 11px;background:rgba(13,27,36,.82);color:#fff;font-size:11px;letter-spacing:.05em}
.stats{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line)}
.stats>div{display:flex;flex-direction:column;gap:10px;border-left:1px solid var(--line);padding:28px 0 0 24px}
.stats>div:first-child{border-left:0;padding-left:0}
.stats strong{font-size:clamp(28px,3.15vw,47px);font-weight:400;letter-spacing:-.04em}
.stats small{font-size:13px;letter-spacing:0;margin-left:8px}
.stats span{font-size:12px;line-height:1.55;letter-spacing:.04em;color:#777d7f}
.video-section{background:#e8e4dc;padding-top:108px;padding-bottom:105px}
.video-frame{height:clamp(360px,44vw,690px);position:relative;background:linear-gradient(90deg,rgba(10,22,31,.62),rgba(10,22,31,.22)),url('./assets/material-macro.webp') center/cover no-repeat;color:#fff;display:flex;align-items:center;justify-content:center}
.video-frame-inner{display:flex;flex-direction:column;align-items:center;gap:19px}
.play-symbol{width:82px;height:82px;border:1px solid rgba(255,255,255,.72);border-radius:50%;display:grid;place-items:center;font-size:36px;padding-left:5px;color:rgba(255,255,255,.85)}
.video-status{font-family:'Noto Serif SC',serif;font-size:clamp(20px,2vw,30px);letter-spacing:.06em}
.video-frame-label{position:absolute;bottom:24px;left:26px;font-size:10px;letter-spacing:.25em;color:rgba(255,255,255,.75)}
.contact{background:#d4d0c6;padding-top:110px;padding-bottom:105px}
.contact h2{margin-top:32px}
.contact-bottom{display:flex;align-items:end;justify-content:space-between;gap:50px;border-top:1px solid #aaa9a4;padding-top:34px;margin-top:75px}
.contact-bottom p{font-size:15px;line-height:1.8;color:#5f6668}
.contact-phone{font-size:clamp(29px,3.8vw,55px);letter-spacing:-.035em}
.contact-phone span{font-size:.5em;vertical-align:top;margin-left:10px}
.contact address{font-size:13px;font-style:normal;line-height:2;text-align:right;color:#5d6467}
.contact address small{font-size:10px;letter-spacing:.13em}
.site-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;background:var(--ink);color:#dedbd4;padding-top:28px;padding-bottom:28px;font-size:11px;letter-spacing:.06em}
.footer-brand{font-family:'Noto Serif SC',serif;font-size:19px;white-space:nowrap}
.footer-brand span{font-family:'DM Sans',sans-serif;font-size:9px;letter-spacing:.18em;margin-left:10px}
.site-footer>a:last-child{padding-bottom:4px;border-bottom:1px solid #aaa;white-space:nowrap}
body.lang-en .hero h1{font-size:clamp(54px,6vw,88px);line-height:1.23;letter-spacing:-.01em}
body.lang-en h2,body.lang-en h3{font-family:Georgia,'Noto Serif SC',serif}
body.lang-en .section-heading h2,body.lang-en .about h2,body.lang-en .contact h2{font-size:clamp(40px,4.4vw,65px);line-height:1.19}
body.lang-en .material h2{font-size:clamp(39px,3.6vw,56px);line-height:1.18}
body.lang-en .product-card h3{font-size:32px}
body.lang-en .partner-card strong{font-family:'Noto Serif SC',serif}
a:focus-visible,button:focus-visible{outline:2px solid var(--gold);outline-offset:5px}

@media(max-width:1130px){.desktop-nav{gap:16px;font-size:11px}.header-actions{gap:11px}.header-contact{display:none}.language-switch{border-left:0}.product-card p{min-height:72px}}
@media(max-width:800px){
  .site-header{height:68px}
  .desktop-nav,.header-actions{display:none}
  .menu-toggle{display:flex;position:absolute;right:24px;top:15px;z-index:25;width:38px;height:38px;border:0;background:none;align-items:center;justify-content:center;flex-direction:column;gap:6px;cursor:pointer}
  .menu-toggle span{display:block;width:25px;height:2px;background:#fff;transition:transform .2s}
  .menu-open .menu-toggle span:first-child{transform:translateY(4px) rotate(45deg)}
  .menu-open .menu-toggle span:last-child{transform:translateY(-4px) rotate(-45deg)}
  .mobile-nav{display:none;position:absolute;top:68px;left:0;right:0;height:calc(100svh - 68px);background:#101b24;padding:32px 24px;flex-direction:column;gap:22px;overflow:auto;font-size:20px;letter-spacing:.05em}
  .menu-open .mobile-nav{display:flex}
  .mobile-nav .mobile-lang{margin-top:13px;padding-top:22px;border-top:1px solid rgba(255,255,255,.2);font-size:15px;color:var(--gold)}
  .hero{height:100svh;min-height:640px}
  .hero-image{background-position:62% center}
  .hero-shade{background:linear-gradient(90deg,rgba(8,19,28,.78),rgba(8,19,28,.25))}
  .hero-content{top:50%;transform:translateY(-30%)}
  .hero h1{font-size:clamp(48px,9vw,69px)}
  .hero-copy{font-size:13px}
  .hero-bottom span:last-child{display:none}
  .section-heading{grid-template-columns:1fr;gap:20px;margin-bottom:36px}
  .section-heading h2,.material h2,.about h2,.contact h2{font-size:42px}
  .section-heading>p{font-size:13px}
  .products,.partners,.about,.video-section,.contact{padding-top:78px;padding-bottom:78px}
  .product-grid{grid-template-columns:1fr;gap:44px}
  .product-photo{height:clamp(320px,68vw,530px)}
  .product-card p{min-height:0}
  .material,.material-inner{min-height:690px}
  .material-image{background:linear-gradient(0deg,#0c1b25,rgba(10,27,39,.77) 52%,rgba(10,27,39,.12)),url('./assets/material-macro.webp') 36% center/cover no-repeat}
  .material-inner{align-items:end}
  .material-copy{width:100%;padding:250px 0 65px}
  .material-copy>p{font-size:13px}
  .partner-grid{grid-template-columns:1fr;gap:12px}
  .partner-card{min-height:175px}
  .about{grid-template-columns:1fr;row-gap:38px}
  .about-photo{height:370px}
  .stats{grid-column:1}
  .video-frame{height:420px}
  .contact-bottom{flex-direction:column;align-items:start;margin-top:58px}
  .contact-bottom p{font-size:13px}
  .contact address{text-align:left}
  .site-footer{flex-wrap:wrap;align-items:start}
  .site-footer>span{width:100%;order:3}
  body.lang-en .hero h1{font-size:clamp(47px,8.1vw,64px)}
  body.lang-en .section-heading h2,body.lang-en .about h2,body.lang-en .contact h2,body.lang-en .material h2{font-size:40px}
}
@media(max-width:480px){.hero h1{font-size:47px}.stats{grid-template-columns:1fr;gap:0}.stats>div{padding:18px 0;border-left:0;border-bottom:1px solid var(--line)}.stats strong{font-size:35px}.product-photo{height:330px}.contact-phone{font-size:31px}.video-frame{height:340px}body.lang-en .hero h1{font-size:46px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.product-photo img,.menu-toggle span{transition:none}}

/* The supplied artwork is used directly: two display windows reveal its
   emblem and original wordmark without redrawing or recoloring either. */
.site-header{background:#fff;color:var(--ink);border-bottom:1px solid #e8e4dc}
.brand,.footer-brand{display:flex;align-items:center;gap:8px;width:174px;height:50px;flex:none;overflow:hidden}
.brand-symbol,.brand-lettering{display:block;position:relative;flex:none;overflow:hidden;background-image:url('./assets/yidengyi-logo-original.png');background-repeat:no-repeat;background-color:#fff}
.brand-symbol{width:42px;height:45px;background-size:80px 80px;background-position:-19px -8px}
.brand-lettering{width:112px;height:45px;background-size:185px 185px;background-position:-37px -123px}
.header-contact{border-color:#a8a29a}
.language-switch{border-color:#a8a29a}
.site-footer{background:#fff;color:var(--ink);border-top:1px solid #e6e2da}
.site-footer>a:last-child{border-color:#9a9389}
@media(max-width:800px){.menu-toggle span{background:var(--ink)}.menu-open .mobile-nav{color:#fff}}
