/* Page-sized finishes for the Jin'gang material study. These backgrounds are
   shared by the specimen sheet and the website. Images stay in media/. */
:root {
  --jg-copper-finish:
    radial-gradient(ellipse at 72% 38%, #ae5a36a3, transparent 65%),
    linear-gradient(112deg, #301911 8%, #6e3523 52%, #50261a);
  --jg-brushed-steel:
    linear-gradient(105deg, #f5efe5c9, #fff9eddb 53%, #daccbbbf),
    repeating-linear-gradient(0deg,#74584238 0 1px,transparent 1px 4px),
    linear-gradient(150deg,#d7c7b4,#fdf9f0 47%,#ddc9b2);
  --jg-drafting-plate:
    linear-gradient(110deg,#faeddbf4 18%,#f7ebdce8 62%,#ecd1b7d0),
    url(media/flange-print.svg) right -78px top -102px / 440px no-repeat,
    repeating-linear-gradient(0deg,#a26d4233 0 1px,transparent 1px 24px),
    repeating-linear-gradient(90deg,#a26d4233 0 1px,transparent 1px 24px),
    #f3e1cc;
  --jg-dark-enamel:
    linear-gradient(110deg,#281e1bef 4%,#3c2b25ec 55%,#593427b8),
    url(media/plate-print.svg) right top / 158px, #402c26;
  --jg-archive-stock:
    radial-gradient(ellipse at 85% 0%,#e8ceb288,transparent 62%),
    linear-gradient(105deg,#faf5e9dd 24%,#f8efe5cc),
    radial-gradient(#8f614a63 .6px,transparent .85px) 50% 0 / 7px 7px,
    #f7ede0;
  --jg-photo-lacquer:
    linear-gradient(102deg,#211510f7 10%,#37241bed 48%,#3c21147a 100%),
    url(media/factory.webp) center 54% / cover, #342117;
  --jg-section-edge: #94705456;
}

.material-copper { background: var(--jg-copper-finish); color: #fff5e7; }
.material-steel { background: var(--jg-brushed-steel); }
.material-draft { background: var(--jg-drafting-plate); }
.material-enamel { background: var(--jg-dark-enamel); color: #fff5e7; }
.material-archive { background: var(--jg-archive-stock); }
.material-lacquer { background: var(--jg-photo-lacquer); color: #fff5e7; }

.editorial main > .company-intro {
  background: var(--jg-copper-finish);
  color: #fff4e8;
}
.editorial .company-intro::before {
  opacity: .32;
  mask-image: linear-gradient(90deg,transparent 21%,#000b 67%,#000);
}
.editorial .company-intro::after {
  opacity: .18;
  background-size: clamp(92px,11vw,168px);
  mask-image: linear-gradient(108deg,#000,transparent 28% 79%,#000);
}
.editorial .company-intro .show-frame {
  padding: 6px;
  background: linear-gradient(135deg,#ffddbbbd,#dca27c64 46%,#ffdebe9f);
  box-shadow: inset 0 1px #ffe4c5af,0 16px 34px -16px #1e0a06a3;
}
.editorial .company-intro .front-facts {
  color: #fff3e5;
  background: linear-gradient(105deg,#fff0d61f,#fce7cc0f);
  border: 1px solid #ffe3bc66;
  box-shadow: inset 0 1px #fff5,0 12px 32px -22px #20100b;
}
.editorial .front-facts dl > div { border-color: #ffe2bf44; }
.editorial .front-facts dt, .editorial .front-facts dd { color: inherit; }

.editorial main > #company {
  background: var(--jg-brushed-steel);
  border-top: 1px solid #f8e1c5;
}
.editorial #company .company-heading {
  border-color: var(--jg-section-edge);
}
.editorial #company .plant-print {
  border: 1px solid #96644772;
  border-bottom: 3px solid #9b5b3a;
  box-shadow: 0 14px 28px -22px #3c2114ba;
}
.editorial main > #products {
  background: var(--jg-drafting-plate);
  border-top: 1px solid var(--jg-section-edge);
}
.editorial #products .product-heading {
  border-bottom: 1px solid var(--jg-section-edge);
}
.editorial #products .product-picker {
  border-color: #9f71554d;
  background: linear-gradient(150deg,#fffaf3f5,#f1decaec), url(media/plate-print.svg) center / 107px;
}
.editorial #products #specimen {
  background: linear-gradient(138deg,#fffcf5,#f5e6d4);
}
.editorial #products .product-photo {
  background: linear-gradient(140deg,#fff9f1ee,#ecd9c5ea), var(--jg-brushed-steel);
}
.editorial #products .picker-window::before {
  background: linear-gradient(150deg,#fff8edea,#f0d8bedf),url(media/plate-print.svg) right / 120px;
}

.editorial #custom {
  padding-block: clamp(40px,6vw,86px);
  color: #fff3e4;
  background: var(--jg-dark-enamel);
  border-block: 1px solid #7d513da8;
}
.editorial #custom > .wrap::before { opacity: .17; }
.editorial #custom .application-list { gap: 0 clamp(16px,3.4vw,45px); }
.editorial #custom .application-list > div {
  padding: 13px 0 18px;
  border: 0;
  border-top: 1px solid #edc2a655;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.editorial #custom .application-list a { color: #fff3e4; }
.editorial #custom .application-list a:hover { background: #ffecd21b; }
.editorial #custom .application-list a span { color: #fac49c; }
.editorial #custom .application-list dd { color: #e5c8b5; }
body.editorial #custom > .wrap > a.control.control {
  color: #fff2e5;
  background: #fff2e51a;
  box-shadow: inset 0 0 0 1px #ffdab76e;
}
body.editorial #custom > .wrap > a.control.control:hover { background: #fff2e530; }

.editorial #proof, body.manual-paper {
  background: var(--jg-archive-stock);
}
.editorial #proof .section-heading {
  border-color: #80543c69;
}
.editorial #proof .credential-shelf {
  background: linear-gradient(145deg,#debd9991,#fcf1e0b5);
  box-shadow: inset 0 1px #fff9,0 16px 30px -24px #59331b8c;
}
.editorial #proof .credential-shelf img {
  background: linear-gradient(135deg,#f4e8d8,#e5d1b8);
}
.editorial #proof .proof-record, .manual-paper .reader nav, .manual-paper .viewer {
  background: linear-gradient(125deg,#fffaf1ef,#f4e5d1dc), var(--jg-archive-stock);
  border-color: #a87b5b75;
}
.editorial footer#contact {
  background: var(--jg-photo-lacquer);
}
.editorial #contact .closing__cta {
  backdrop-filter: blur(8px);
  background: linear-gradient(115deg,#3b2219a6,#5b37254a);
  border-color: #f2cea358;
}
.editorial #contact .dial, .manual-paper .dial {
  background: linear-gradient(100deg,#fdf3e6ee,#f2dfc9eb),var(--jg-brushed-steel);
}

@media (max-width:700px) {
  .editorial #custom .application-list > div { padding-block: 5px 13px; }
  .editorial #contact .closing__cta { backdrop-filter: none; background: #321f16ab; }
  .editorial .company-intro::after { opacity: .12; }
}

/* Footer: warm metal edging around the two ways to contact the factory. */
.editorial footer#contact {
  background: radial-gradient(ellipse at 88% 20%,#c0794947,transparent 57%),
    linear-gradient(112deg,#221510f9 4%,#36231ced 55%,#3b2316a8),
    url(media/factory.webp) center 53% / cover, #342117;
}
.editorial #contact .closing__cta {
  padding: clamp(20px,3.6vw,48px);
  border: 1px solid #e9be875c;
  border-radius: 16px;
  background: linear-gradient(125deg,#291a14b8,#65402a40);
  box-shadow: inset 0 1px #fff0d52a,0 18px 40px -24px #100804c9;
}
.editorial #contact .contact-grid {
  margin: 0;
  gap: clamp(22px,5vw,75px);
  align-items: center;
  grid-template-columns: minmax(0,1fr) minmax(210px,250px);
}
.editorial #contact h2 { margin: 0 0 12px; color: #fff3e6; }
.editorial #contact .contact-intro { color: #ecd2bb; }
.editorial #contact .contact-phone {
  display: grid;
  justify-items: start;
  gap: 4px;
  margin-block: clamp(15px,2.3vw,28px) 14px;
}
.editorial #contact .contact-phone > span { color: #f0cda4; font-size: .9rem; }
.editorial #contact .large-phone {
  margin: 0;
  color: #fff2dc;
  font-size: clamp(2rem,4.9vw,4.6rem);
  letter-spacing: -.045em;
  text-wrap: nowrap;
  text-decoration-color: #db9e65;
  text-underline-offset: 5px;
}
.editorial #contact .contact-details {
  display: grid;
  gap: 7px;
  padding-top: 9px;
  border-top: 1px solid #d6a47255;
  color: #f2ddc7;
}
.editorial #contact .contact-details .office { margin: 0; }
.editorial #contact .wechat {
  display: grid;
  justify-items: center;
  gap: 14px;
  box-sizing: border-box;
  width: 100%;
  padding: clamp(14px,2vw,23px);
  text-align: center;
  color: #fff1dc;
  border: 1px solid #d5a365;
  border-radius: 13px;
  background: linear-gradient(143deg,#50321fe8,#332117ed 70%,#6a462bda),
    url(media/plate-print.svg) right top / 82px #392216;
  box-shadow: inset 0 0 0 4px #26170f87,inset 0 0 0 5px #cc995948,
    inset 0 1px #ffe3ab66,0 12px 24px -16px #180a05;
}
.editorial #contact .wechat h3 {
  margin: 0;
  font-size: 1.26rem;
  font-weight: 650;
  color: #ffe7bd;
}
.editorial #contact .wechat p { margin: 2px 0 0; color: #ebd4bb; font-size: .86rem; }
.editorial #contact .wechat-code {
  display: block;
  max-width: 100%;
  padding: 4px;
  border: 1px solid #f2ca8e;
  border-radius: 7px;
  background: #ac7946;
  box-shadow: 0 3px 12px #130a076e;
  transition: translate .18s ease, box-shadow .18s ease;
}
.editorial #contact .wechat-code:hover { translate: 0 -2px; box-shadow: 0 5px 16px #130a0799; }
.editorial #contact .wechat-code:focus-visible { outline-color: #ffdfab; }
.editorial #contact .wechat img {
  display: block;
  width: 152px;
  max-width: 100%;
  height: auto;
  margin: 0;
  border-radius: 3px;
}
.editorial #contact .footer-line {
  margin-top: clamp(20px,3vw,38px);
  border-color: #e8c08e54;
  color: #eed3bb;
}
@media (max-width:760px) {
  .editorial #contact .contact-grid { grid-template-columns: minmax(0,1fr); }
  .editorial #contact .closing__cta { backdrop-filter: none; }
  .editorial #contact .contact-details .office > span { flex-basis: 100%; }
  .editorial #contact .contact-details .office a { padding-inline: 12px; font-size: .86rem; }
  .editorial #contact .wechat {
    grid-template-columns: minmax(0,1fr) minmax(0,132px);
    text-align: left;
    align-items: center;
    justify-items: start;
  }
  .editorial #contact .wechat img { width: 122px; }
}
@media (max-width:355px) {
  .editorial #contact .wechat { grid-template-columns: minmax(0,1fr) minmax(0,108px); gap: 8px; }
  .editorial #contact .wechat h3 { font-size: 1.05rem; }
}
@media (prefers-reduced-motion:reduce) {
  .editorial #contact .wechat-code { transition: none; }
}

/* The case and its label read as one unit on all screens. */
.editorial #contact .wechat { gap: 8px; }
.editorial #contact .wechat p { margin-top: 0; }

body.editorial #contact .dial,
body.manual-paper .dial {
  color: #fff1dc;
  border-top: 1px solid #d2a46f;
  background: linear-gradient(100deg,#2a1c17fa,#503123f2 60%,#301e17f7),
    url(media/plate-print.svg) right center / 80px #36241b;
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px #f9d09f42,0 -4px 20px #2e170f29;
}
body:is(.editorial,.manual-paper) .dial > .wrap {
  width: var(--content-width, min(1160px,calc(100% - 36px)));
}
.dial-identity { display: flex; align-items: center; min-width: 0; gap: clamp(6px,1.4vw,14px); }
.dial-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  color: #f5d2a1;
  border: 1px solid #d4a46b8c;
  border-radius: 9px;
  background: linear-gradient(145deg,#9b654340,#ffdfaf0c);
}
.dial-text { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1px clamp(6px,1.4vw,14px); }
.dial-text > span { color: #eac59e; font-size: .78rem; white-space: nowrap; }
.dial-text strong { color: #fff4e4; font-size: clamp(.98rem,1.5vw,1.18rem); line-height: 1.2; }
body.editorial #contact .dial a.control.control,
body.manual-paper .dial a.control.control {
  gap: 6px;
  padding-inline: clamp(10px,1.5vw,17px);
  color: #331b12;
  border: 1px solid #edbf88;
  border-radius: 8px;
  background: linear-gradient(155deg,#ffe5bb 4%,#e8b67e 75%,#d7a46e);
  box-shadow: inset 0 1px #fff0d4,inset 0 0 0 3px #fff1de24,0 4px 9px #180b0696;
  font-weight: 700;
}
body:is(.editorial,.manual-paper) .dial a.control.control:hover {
  background: linear-gradient(155deg,#fff0d7,#efbf88);
}
body:is(.editorial,.manual-paper) .dial a.control.control:focus-visible {
  outline-color: #fce0b3;
}

.editorial #products {
  --jg-drafting-plate:
    linear-gradient(105deg,#faeddbed 12%,#f7ebdcd9 61%,#ecd1b7b0),
    url(media/flange-print.svg) right -52px top -90px / 455px no-repeat,
    repeating-linear-gradient(0deg,#94613a45 0 1px,transparent 1px 24px),
    repeating-linear-gradient(90deg,#94613a45 0 1px,transparent 1px 24px),
    #f3e1cc;
}
.editorial #products .family { box-shadow: inset 0 1px #fff9,0 7px 16px -13px #5a2a0c; }
.editorial #products .family::before {
  background: linear-gradient(140deg,#fffaf1,#efd4b6);
  box-shadow: inset 0 0 0 1px #b77f55a6,inset 0 1px #fff;
}
.editorial #products .family button[aria-pressed=false]:hover { background: #fff9ef8f; }
.editorial #products .picker-step {
  border-color: #b287655e;
  background: linear-gradient(#fff9ed,#f0d9bc);
}
.editorial #products .picker-step:hover:not(:disabled) { background: #fff5e4; }
.editorial #specimen .model-sizes summary {
  background: linear-gradient(105deg,#fffcf5ef,#f2e0c9d9),
    url(media/plate-print.svg) right center / 74px;
  box-shadow: inset 0 1px #fff;
}
.editorial #specimen .model-sizes summary:hover { background: #fff2dd; }
.editorial #specimen .model-sizes summary::after {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid #b3835c80;
  border-radius: 50%;
  color: #784929;
  background: #fff4e3;
}
body.editorial #model-doc.control.control {
  background: linear-gradient(145deg,#fffdf5,#f5e4ce);
  border: 1px solid #b8876159;
}
body.editorial #model-doc.control.control:hover { background: #fff4e3; }

.editorial #proof .manual-index a {
  border: 1px solid #b58a6763;
  border-radius: 8px;
  background: linear-gradient(112deg,#fffaf1e8,#efdac2db),
    url(media/plate-print.svg) right center / 83px;
  box-shadow: inset 0 1px #fff,0 3px 9px -8px #542c18a6;
}
.editorial #proof .manual-index a:hover {
  border-color: #a76f47;
  background: #fff6e8;
}
.editorial #proof .manual-index a > span:last-child {
  padding: 3px 7px;
  border: 1px solid #b48a6359;
  border-radius: 6px;
  background: #fff6e9;
  font-size: .77rem;
  white-space: nowrap;
}
body.manual-paper .reader nav a {
  border: 1px solid #ba906261;
  border-radius: 7px;
  background: linear-gradient(115deg,#fff8ed,#f6e6d2);
}
body.manual-paper .reader nav a[aria-current] {
  border-color: #ab744d;
  background: linear-gradient(110deg,#fff8ed,#ebcda8);
  box-shadow: inset 3px 0 #9f5933, 0 4px 11px -9px #6e391f;
}
body.manual-paper .reader nav a:hover { background: #fff5e2; }

@media (max-width:760px) {
  .editorial #contact .wechat {
    grid-template-columns: auto minmax(0,132px);
    justify-content: center;
    column-gap: 10px;
  }
}
@media (max-width:355px) {
  .editorial #contact .wechat { grid-template-columns: auto minmax(0,108px); gap: 8px; }
  .dial-mark { width: 28px; height: 30px; }
}
EOF
git status --short | head -16