/* Values and composition adapted from Espressif new-home.css / new-menu.css. */
@font-face { font-family:MZHan; src:url('../font/SourceHanSansCN-Regular.woff') format('woff'); font-style:normal; font-weight:400; font-display:swap; }
@font-face { font-family:MZHan; src:url('../font/SourceHanSansCN-Bold.woff') format('woff'); font-style:normal; font-weight:700; font-display:swap; }
@font-face { font-family:MZHan; src:url('../font/SourceHanSansCN-Light.woff') format('woff'); font-style:normal; font-weight:300; font-display:swap; }
@font-face { font-family:MZTrueno; src:url('../font/TruenoRg.woff') format('woff'); font-style:normal; font-weight:400; font-display:swap; }
@font-face { font-family:MZTrueno; src:url('../font/TruenoBd.woff') format('woff'); font-style:normal; font-weight:700; font-display:swap; }
:root { --accent:#E8362D; --accent-dark:#BF2C25; --heading:#38393A; --ink:#38393A; --muted:#65676A; --line:#E5E5E5; --paper:#F6F6F6; --footer:#38393A; --max:1280px; --header-height:74px; }
body { font-family:MZHan,"Microsoft YaHei","PingFang SC",Arial,sans-serif; font-size:16px; line-height:1.8; }
html[lang="en"] body { font-family:MZTrueno,Arial,"Microsoft YaHei",sans-serif; }
.wrap { width:calc(100% - 64px); max-width:var(--max); }
.site-header,.site-header.is-solid { border-bottom:1px solid #E5E5E5; background:#FFF; box-shadow:0 1px 5px rgb(0 0 0 / 6%); }
.header-bar { gap:26px; }
.brand img { width:48px; height:48px; filter:none; }
.brand-name { color:#252525; font-family:"Microsoft YaHei",Arial,sans-serif; font-size:22px; letter-spacing:0; }
.brand-name small { color:#676767; font-size:11px; letter-spacing:1.5px; }
.site-nav ul { gap:28px; }
.site-nav a,.lang { font-size:16px; font-weight:400; }
.site-nav a::after { height:2px; }
.eyebrow { font-size:14px; letter-spacing:1.7px; color:var(--accent); }
.more { min-height:44px; min-width:156px; padding:8px 24px; border:1px solid var(--accent); border-radius:4px; background:var(--accent); font-size:16px; line-height:1.6; font-weight:400; }
.more::after { content:none; }
.more:hover { background:var(--accent-dark); border-color:var(--accent-dark); }
.more-outline { background:#FFF; color:#38393A; border-color:#38393A; }
.more-outline:hover { color:#FFF; background:#38393A; border-color:#38393A; }
.esp-theme .carousel-title { font-size:46px; font-weight:700; }
.esp-quick { position:relative; z-index:3; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:-26px; }
.esp-quick a { min-width:0; padding:24px 26px; border-radius:10px; border:1px solid #E5E5E5; background:#FFF; box-shadow:0 4px 8px rgb(0 0 0 / 9%); }
.esp-quick h2 { margin:0 0 12px; color:var(--accent); font-size:21px; line-height:1.4; }
.esp-quick p { margin:0; color:#5C5E60; font-size:16px; line-height:1.8; }
.esp-quick a:hover { border-color:var(--accent); }
.esp-section { padding:90px 0; }
.esp-heading { max-width:1050px; margin:0 auto 44px; text-align:center; }
.esp-heading h2 { margin:0 0 22px; font-size:44px; font-weight:700; line-height:1.35; color:#38393A; }
.esp-heading p { max-width:920px; margin:0 auto; font-size:18px; color:#65676A; }
.esp-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.esp-capability { position:relative; min-width:0; min-height:330px; padding:0; overflow:hidden; background:#111; color:#FFF; }
.esp-capability img { width:100%; height:330px; object-fit:cover; opacity:.78; transition:transform .35s,opacity .35s; }
.esp-capability::after { position:absolute; content:""; inset:0; background:linear-gradient(transparent 20%,rgb(0 0 0 / 88%)); }
.esp-capability > div { position:absolute; z-index:1; inset:auto 26px 26px; }
.esp-capability h3 { margin:0 0 12px; color:#FFF; font-size:24px; line-height:1.4; }
.esp-capability p { margin:0; color:#EEE; font-size:16px; line-height:1.7; }
.esp-capability:hover { color:#FFF; }
.esp-capability:hover img { transform:scale(1.04); opacity:1; }
.esp-samples { background:#F6F6F6; }
.esp-tabs { display:flex; justify-content:center; gap:52px; margin-bottom:46px; border-bottom:1px solid #DCDCDC; }
.esp-tab { padding:13px 5px 16px; min-height:52px; border:0; border-bottom:3px solid transparent; background:transparent; color:#555; font-size:18px; }
.esp-tab[aria-selected="true"] { color:var(--accent); border-color:var(--accent); }
.esp-panel { display:grid; grid-template-columns:1fr 1.1fr; align-items:center; gap:8%; }
.esp-panel[hidden] { display:none; }
.esp-panel img { width:100%; height:410px; object-fit:contain; background:#0B0B0C; }
.esp-panel h3 { margin:0 0 22px; font-size:30px; line-height:1.4; }
.esp-panel p { margin:0 0 24px; color:#5F6265; font-size:17px; }
.esp-panel .sample-size { color:var(--accent); font-family:Arial,sans-serif; font-size:25px; font-weight:700; margin-bottom:15px; }
.esp-panel .more { margin-top:12px; }
.esp-metals { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:22px; }
.esp-metals a { padding:30px 12px; border:1px solid var(--line); text-align:center; background:#FFF; border-radius:8px; }
.esp-metals strong { display:block; color:#38393A; font:700 42px/1.3 Arial,sans-serif; }
.esp-metals span { display:block; margin-top:10px; color:#666; font-size:17px; }
.esp-metals a:hover { border-color:var(--accent); }
.esp-about { background:var(--paper); }
.esp-about-grid { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:7%; }
.esp-about-image { width:100%; height:460px; object-fit:contain; background:#111; }
.esp-about-copy h2 { margin:0 0 25px; color:#38393A; font-size:36px; line-height:1.45; }
.esp-about-copy p { margin:0 0 22px; color:#606367; font-size:17px; }
.esp-about-copy .eyebrow { font-size:14px; color:var(--accent); }
.contact-band { padding:60px 0; background:#E8362D; }
.contact-band .eyebrow { color:#FFF; }
.contact-band h2 { color:#FFF; font-size:32px; font-weight:700; }
.contact-band .more { color:#38393A; background:#FFF; border-color:#FFF; }
.contact-band .more:hover { color:#FFF; background:#38393A; border-color:#38393A; }
.site-footer { padding-top:60px; background:#38393A; color:#D1D1D1; font-size:16px; }
.site-footer h2 { color:#FFF; font-size:17px; font-weight:700; }
.footer-brand > a { font-size:24px; }
.footer-grid { grid-template-columns:1.1fr .8fr .7fr 1.6fr; gap:4%; }
.footer-bottom { color:#CCC; font-size:14px; border-color:#606163; }
.floating-tools { right:14px; bottom:28px; background:#FFF; border:1px solid #E0E0E0; border-radius:25px; box-shadow:0 2px 14px rgb(0 0 0 / 10%); }
.floating-tools a,.floating-tools button { width:48px; min-height:50px; color:#38393A; }
.floating-tools a:hover,.floating-tools button:hover { background:#F3F3F3; color:var(--accent); }
.page-head { min-height:0; padding:38px 0 56px; color:#38393A; background:#F6F6F6; border-bottom:1px solid #E5E5E5; }
.page-head::before { content:none; }
.page-head .eyebrow { color:var(--accent); }
.page-head h1 { color:#38393A; margin:0 0 20px; font-size:44px; line-height:1.4; }
.crumb { color:#686B6E; margin-bottom:30px; }
.crumb a:hover { color:var(--accent); }
.page-lead { max-width:860px; color:#5A5E62; font-size:18px; }
.page-nav > .wrap { gap:52px; }
.page-nav a { min-height:64px; font-size:16px; }
.content-wrap { max-width:1200px; padding-block:58px 90px; }
.content-wrap > h2 { margin:50px 0 24px; padding-left:0; font-size:30px; }
.content-wrap > h2::before { content:none; }
.content-wrap > p,.spec th,.spec td { font-size:17px; }
.spec { border-collapse:collapse; border-radius:0; }
.spec th { background:#F5F5F5; width:190px; }
.spec th,.spec td { padding:19px 24px; }
.shots { gap:26px; }
.shots figure { border:1px solid var(--line); border-radius:6px; overflow:hidden; background:#FFF; }
.shots img { height:420px; background:#111; }
.shots figcaption { padding:20px 22px; font-size:16px; }
.content-wrap > .note { background:#F5F5F5; border-left:3px solid var(--accent); font-size:16px; }
@media(max-width:1250px) { .header-bar { gap:20px; } .site-nav ul { gap:20px; } .brand-name { font-size:21px; } }
@media(max-width:1100px) {
  :root { --header-height:74px; }
  .wrap { width:calc(100% - 48px); }
  .header-bar { gap:0 16px; }
  .site-nav ul { gap:0; }
  .site-nav a { font-size:17px; }
  .esp-section { padding-block:72px; }
  .esp-heading h2 { font-size:38px; }
  .esp-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .esp-quick a { padding:22px; }
  .esp-quick h2 { font-size:20px; }
  .esp-tabs { gap:38px; }
  .esp-panel { gap:6%; }
  .esp-panel img { height:370px; }
  .esp-panel h3 { font-size:27px; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:36px 8%; }
}
@media(max-width:760px) {
  .wrap { width:calc(100% - 40px); }
  .esp-theme .carousel-title { font-size:36px; }
  .esp-quick { grid-template-columns:1fr; gap:14px; margin-top:-16px; }
  .esp-quick a { padding:22px 24px; }
  .esp-quick h2 { font-size:21px; margin-bottom:8px; }
  .esp-section { padding-block:56px; }
  .esp-heading { margin-bottom:30px; }
  .esp-heading h2 { font-size:32px; margin-bottom:18px; }
  .esp-heading p { font-size:16px; }
  .esp-grid { grid-template-columns:1fr; gap:18px; }
  .esp-capability,.esp-capability img { min-height:320px; height:320px; }
  .esp-capability > div { inset:auto 24px 24px; }
  .esp-capability h3 { font-size:24px; }
  .esp-tabs { justify-content:space-between; gap:6px; margin-bottom:30px; }
  .esp-tab { font-size:16px; padding-inline:4px; }
  .esp-panel { grid-template-columns:1fr; gap:28px; }
  .esp-panel img { height:340px; }
  .esp-panel h3 { font-size:26px; }
  .esp-panel p { font-size:16px; }
  .esp-metals { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
  .esp-metals a { padding:22px 8px; }
  .esp-metals strong { font-size:34px; }
  .esp-metals span { font-size:16px; }
  .esp-about-grid { grid-template-columns:1fr; gap:30px; }
  .esp-about-image { height:350px; }
  .esp-about-copy h2 { font-size:30px; }
  .esp-about-copy p { font-size:16px; }
  .contact-band { padding:40px 0; }
  .contact-band h2 { font-size:27px; }
  .contact-inner { display:block; }
  .contact-inner .more { margin-top:24px; }
  .site-footer { padding-top:44px; }
  .page-head { padding:28px 0 40px; }
  .page-head h1 { font-size:32px; }
  .page-lead { font-size:16px; }
  .page-nav > .wrap { width:calc(100% - 24px); display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; }
  .page-nav a { min-height:64px; padding:9px 4px; font-size:14px; line-height:1.5; text-align:center; }
  .content-wrap { padding-block:36px 60px; }
  .content-wrap > h2 { font-size:26px; }
  .content-wrap > p { font-size:16px; }
  .spec th { width:110px; }
  .spec th,.spec td { padding:15px 14px; font-size:16px; overflow-wrap:anywhere; }
  .shots { grid-template-columns:1fr; }
  .shots img { height:auto; max-height:520px; }
  .floating-tools { right:9px; bottom:20px; }
  .floating-tools a,.floating-tools button { width:42px; min-height:44px; }
}
@media(max-width:420px) { .wrap { width:calc(100% - 32px); } .header-bar { column-gap:8px; } .brand { gap:8px; } .brand img { width:38px; height:38px; } .brand-name { font-size:20px; } .brand-name small { font-size:10px; letter-spacing:1px; } }
@media(max-width:360px) { .esp-theme .carousel-title { font-size:31px; } }
