/* Display corrections for the approved photo assets. */
.photos { gap:12px; align-items:start; }
.photos figure,.welfare-views figure {
  padding:7px 7px 0;
  border:1px solid #e7ded0;
  border-radius:13px;
  background:#fbf8f2;
  box-shadow:0 5px 16px #3b2e2110;
}
.photos img,.photos.pair img {
  max-height:none;
  height:auto;
  aspect-ratio:var(--photo-ratio, auto);
  border-radius:7px;
}
.photos figcaption,.welfare-views figcaption {
  padding:7px 6px 8px;
  color:var(--muted);
  line-height:1.65;
  font-size:13px;
}
.photos figure:has(img[src$="/first-cnc.webp"]) {
  width:min(100%,236px);
  justify-self:center;
}
.hero figure { border:1px solid #c390674f; }
.hero img { aspect-ratio:1560 / 1001; }
.history-family-photo { width:min(100%,660px); }
.history-family-photo img { aspect-ratio:3 / 2; }
@media (max-width:460px) {
  .photos figcaption,.welfare-views figcaption { font-size:12px; }
}

img[src$="/first-machine.webp"] { filter:brightness(1.02) contrast(0.97) saturate(0.96) url(#history-detail); }
img[src$="/ground.webp"] { filter:brightness(1.07) contrast(1.02) saturate(1.03) url(#history-detail); }
img[src$="/first-hall.webp"] { filter:brightness(1.025) contrast(1.02) saturate(1.02) url(#history-detail); }
img[src$="/second-hall.webp"] { filter:brightness(1.04) contrast(1.02) saturate(0.96) url(#history-detail); }
img[src$="/first-cnc.webp"] { filter:brightness(1.05) contrast(1.02) saturate(0.94) url(#history-detail); }
img[src$="/first-two-ton-furnace.webp"] { filter:brightness(1.025) contrast(1.035) saturate(0.96); }
img[src$="/alloy-lab.webp"] { filter:brightness(1.035) contrast(1.02) saturate(0.96); }
img[src$="/second-cnc-arrival.webp"] { filter:brightness(1.07) contrast(0.98) saturate(1.01); }
img[src$="/online-productivity-display-cables-only-v4.webp"] { filter:brightness(1.03) contrast(1.03) saturate(1); }
img[src$="/seven-ton-tilting-furnace.webp"] { filter:brightness(1.04) contrast(1.025) saturate(1); }
img[src$="/quality-audit-production-hall.webp"] { filter:brightness(1.045) contrast(1.045) saturate(0.98); }
img[src$="/quality-audit-office.webp"] { filter:brightness(1.06) contrast(1.02) saturate(0.97); }
img[src$="/association-office-purchase.webp"] { filter:brightness(1.08) contrast(0.98) saturate(1.01) url(#history-detail); }
img[src$="/machining-in-operation.webp"] { filter:brightness(1) contrast(1.025) saturate(0.98); }
img[src$="/three-generations.webp"] { filter:brightness(1.035) contrast(1.01) saturate(0.98); }

/* The trail uses the history page's existing warm neutral and copper colors. */
.chapter-list.has-history-journey { position:relative; gap:34px; }
.has-history-journey .chapter { column-gap:64px; }
.has-history-journey #today { padding-inline-end:46px; }
.history-passage { display:none; }
.has-history-journey .history-passage { display:block; height:48px; }
.history-trail {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index:1;
  overflow:visible;
  pointer-events:none;
}
.history-trail[hidden] { display:none; }
.history-trail-step { fill:#a34e26; }
.history-trail-logo circle {
  fill:var(--dark-deep);
  stroke:#db8a5b;
  stroke-width:1.5;
}
.journey-gallery.is-visible { transition:opacity .45s ease; }
.has-history-journey[data-journey-ready] .journey-gallery:not(.is-visible) { opacity:0; }
.journey-gallery.is-reached > figure { border-color:#bc7950; }
.journey-gallery.is-visible > figure { animation:history-photo-enter .42s ease-out both; }
.journey-gallery.is-visible > figure:nth-of-type(2) { animation-delay:65ms; }
.journey-gallery.is-visible > figure:nth-of-type(3) { animation-delay:115ms; }
@keyframes history-photo-enter {
  from { opacity:.45; transform:translateY(8px); }
  to { opacity:1; transform:translateY(0); }
}
@media (max-width:700px) {
  .has-history-journey .chapter,.has-history-journey #today {
    grid-template-columns:minmax(0,1fr);
    padding-inline-end:38px;
  }
  .has-history-journey .history-passage { height:42px; }
  .chapter-list.has-history-journey { gap:27px; }
}
@media (prefers-reduced-motion:reduce), print {
  .has-history-journey .history-passage { display:none; }
  .has-history-journey[data-journey-ready] .journey-gallery { opacity:1 !important; transition:none; }
  .journey-gallery.is-visible > figure { animation:none; }
}
@media (prefers-reduced-motion:reduce) {
  .history-trail-stamps { display:none; }
}
@media print {
  .history-trail { display:none; }
}


/* Reserve room for the route at both sides and across the gap between paragraphs. */
.history-page .history-process .chapter.stage { padding-inline:clamp(34px,4vw,51px); }
.has-history-journey .route-in-right .history-opening { margin-inline-start:auto; }
.has-history-journey .history-passage { height:clamp(57px,7vw,91px); }
.history-process .history-family-heading { margin-top:34px; }
.history-process .welfare-single.is-visible > figure { animation:none; }
.history-process .welfare-locator { position:absolute; inset:0; width:100%; height:100%; }
.history-process .welfare-locator rect {
  fill:#f590341e;
  stroke:#ffaf74;
  stroke-width:3;
  vector-effect:non-scaling-stroke;
}
@media (max-width:540px) {
  .history-page .history-process .chapter.stage { padding-inline:32px; }
}
@media (prefers-reduced-motion:reduce), print {
  .has-history-journey .history-passage { display:none; }
  .has-history-journey .route-in-right .history-opening { margin-inline-start:0; }
}



:root {
  --accent:#cf551c;
  --peach:#ffb075;
  --dark-deep:#08100e;
  --header-height:82px; --page:1180px;
  --hero-image:url("/history/images/staff-welfare-aerial.webp");
}
.history-page { font-family:Vazirmatn,Tahoma,sans-serif; }
.history-page .top .nav { justify-content:space-between; }
.history-page .site-nav { flex:0 1 auto; }
.history-page .hero { padding:0; background-position:center 48%; }
.history-page .hero .wrap { align-self:end; margin-inline:auto; }
.history-page .hero-content { max-width:min(100%,1100px); }
.history-page .hero .lead { max-width:650px; }
.history-page .history-stats { padding:34px 0; }
.history-page .stats { margin:0 auto; }
.history-page .stat {
  padding:15px 10px;
  border-radius:18px;
  background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(241,240,235,.94));
  box-shadow:0 10px 26px rgba(13,22,19,.06);
}
.history-page .stat strong { font-size:clamp(18px,3vw,31px); }
.history-page .history-process { padding:76px 0 92px; scroll-margin-top:var(--header-height); }
.history-process .wrap { position:relative; }
.history-process .section-title { margin-bottom:30px; }
.history-process .kicker { color:var(--peach); }
.history-process .section-title h2 { color:#fff; }
.history-process .timeline { gap:20px; }
.history-process .route {
  top:calc(var(--header-height) + 14px);
  background:linear-gradient(150deg,#17221f,#0c1512);
  border-color:rgba(255,255,255,.14);
  box-shadow:0 16px 40px rgba(0,0,0,.2);
  color:#e6eeea;
  border-radius:18px;
}
.history-process .route-items::before { background:rgba(245,138,59,.36); }
.history-process .stop { color:#dce5e0; }
.history-process .stop:hover,.history-process .stop[aria-current="step"] {
  color:#ffd2b0;
  background:rgba(207,85,28,.17);
}
.history-process .number { color:var(--peach); }
.history-process .marker {
  background:#15201c;
  border:1px solid rgba(245,138,59,.62);
  color:var(--peach);
}
.history-process .marker::before {
  content:"";
  width:7px;
  height:7px;
  background:currentColor;
  border-radius:50%;
}
.history-process .chapter.stage {
  scroll-margin-top:calc(var(--header-height) + 17px);
  padding:clamp(18px,3vw,33px);
  min-height:0;
  cursor:default;
  z-index:auto;
  backdrop-filter:none;
  border-color:rgba(255,255,255,.14);
  border-radius:22px;
  background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.028));
  box-shadow:0 16px 34px rgba(0,0,0,.15);
}
.history-process .chapter.stage::after { content:none; }
.history-process .chapter.stage:hover { transform:none; border-color:rgba(245,138,59,.30); }
.history-process .chapter .eyebrow {
  margin:0;
  color:var(--peach);
  font-size:13px;
  line-height:1.6;
}
.history-process .chapter .eyebrow::before { content:none; }
.history-chapter-number {
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  border:1px solid rgba(245,138,59,.40);
  border-radius:13px;
  background:#121d1a;
  color:#ffac70;
  box-shadow:0 0 0 5px rgba(9,17,15,.52);
}
.history-process .chapter h2 {
  margin:10px 0 12px;
  color:#fff;
  font-size:clamp(22px,2.4vw,34px);
}
.history-process .chapter-copy p:not(.eyebrow) { color:#d0dad5; }
.history-process .chapter .next { color:#ffb783; }
.history-process .photos figure,.history-process .welfare-views figure {
  background:#fffdf8;
  border-color:#f5e5d6;
  border-radius:13px;
  box-shadow:0 16px 30px rgba(0,0,0,.24);
}
.history-process .journey-gallery.is-reached > figure {
  border-color:#ffad68;
  box-shadow:0 0 0 2px rgba(245,138,59,.34),0 16px 30px rgba(0,0,0,.24);
}
.history-process .welfare-zoom {
  padding:clamp(12px,2vw,20px);
  border-color:rgba(245,138,59,.28);
  background:linear-gradient(145deg,#17221f,#0c1512);
  color:#f5f3ee;
}
.history-process .welfare-arrow { background:#202c27; color:#ffb075; }
.history-process a:focus-visible,.history-page .menu-toggle:focus-visible {
  outline:2px solid #ffb075;
}
.history-page .footer { margin:0; border:0; }
.history-page .footer .wrap { align-items:center; }
@media (max-width:890px) {
  .history-process .route { top:var(--header-height); }
  .history-process .chapter.stage { scroll-margin-top:calc(var(--header-height) + 88px); }
  .history-process .timeline { gap:12px; }
}
@media (max-width:850px) {
  :root { --header-height:72px; }
}
@media (max-width:700px) {
  .history-process .chapter.stage { padding-inline-end:40px; }
  .history-process .history-chapter-number { width:34px; height:34px; }
}
@media (max-width:540px) {
  .history-page .top .brand-copy { display:block; }
  .history-page .top .brand-copy strong { font-size:12px; }
  .history-page .top .brand-copy small { display:none; }
  .history-page .top .nav { gap:8px; }
  .history-page .hero { min-height:540px; background-position:46% center; }
  .history-page .hero h1 { font-size:clamp(33px,8.6vw,42px); }
  .history-page .history-process { padding:52px 0 62px; }
  .history-process .section-title { margin-bottom:21px; }
  .history-page .history-stats { padding:20px 0; }
  .history-page .stat { padding:11px 6px; border-radius:12px; }
}


.history-process { overflow:clip; }
.history-process .chapter.stage { padding-inline-end:49px; }
.history-process .chapter-copy { grid-column:1/-1; min-width:0; }
.history-process .chapter-copy > p:not(.eyebrow) { max-width:72ch; }
.history-process .chapter-copy > .photos {
  width:min(100%,740px);
  margin:0 auto 25px;
}
.history-process .chapter-copy > .photos:not(.pair) { width:min(100%,610px); }
.history-process .chapter-copy > .history-family-photo { width:min(100%,660px); }
.history-process .chapter-copy > .photos.pair { grid-template-columns:repeat(2,minmax(0,1fr)); }
.history-process .chapter-copy > p + .photos { margin-top:22px; }
.history-trail-step {
  fill:#ffad6e;
  filter:drop-shadow(0 0 4px rgba(245,138,59,.48));
}
.history-trail-tread {
  fill:none;
  stroke:#422617;
  stroke-width:1.15;
  stroke-linecap:round;
}
.history-trail-print {
  fill:#e18c56;
  animation:history-print-fade 11s linear forwards;
}
.history-trail-logo image { filter:invert(1); mix-blend-mode:screen; }
@keyframes history-print-fade {
  0% { opacity:.67; }
  33% { opacity:.41; }
  70% { opacity:.14; }
  100% { opacity:0; }
}
.history-process .journey-gallery.is-visible { transition:opacity 1.22s cubic-bezier(.2,.65,.35,1); }
.history-process .journey-gallery.is-visible > figure { animation-duration:1.28s; }
.history-process .journey-gallery.is-visible > figure:nth-of-type(2) { animation-delay:125ms; }
.history-process .journey-gallery.is-visible > figure:nth-of-type(3) { animation-delay:245ms; }
@media (max-width:700px) {
  .history-process .chapter.stage { padding-inline-end:38px; }
}
@media (max-width:540px) {
  .history-process .chapter-copy > .photos.pair {
    grid-template-columns:minmax(0,1fr);
    gap:13px;
  }
}
@media (prefers-reduced-motion:reduce), print {
  .history-process .journey-gallery.is-visible { transition:none; }
  .history-trail-print { animation:none; opacity:0; }
}

@media (min-width:851px) {
  .history-page .top .nav {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  }
  .history-page .top .brand { justify-self:start; }
  .history-page .top .site-nav { grid-column:2; justify-self:center; }
}

@media (min-width:851px) {
  .history-page .top .nav-actions { grid-column:3; justify-self:end; }
}
@media (min-width:851px) and (max-width:1060px) {
  .history-page .top .brand-copy { display:none; }
}
@media (max-width:620px) {
  .history-page .top .brand-copy { display:none; }
}



/* Light editorial treatment for the history chapters. */
.history-page .history-process {
  --history-paper:#f4f0e9;
  --history-ink:#222b26;
  --history-copy:#414b44;
  --history-copper:#a54520;
  --history-edge:#ded4c6;
  padding-block:clamp(33px,4.6vw,68px) clamp(54px,7vw,92px);
  color:var(--history-ink);
  background:var(--history-paper);
}
.history-process::before { content:none; }
.history-page .history-process .section-title {
  display:grid;
  align-content:center;
  isolation:isolate;
  overflow:hidden;
  max-width:none;
  min-height:clamp(145px,17vw,205px);
  margin-block-end:clamp(23px,3.2vw,38px);
  padding:clamp(23px,4.6vw,51px);
  border:1px solid #e1d8cc;
  border-radius:22px;
  background:#ebe5dc;
}
.history-process .section-title::before,
.history-process .section-title::after {
  content:"";
  position:absolute;
  pointer-events:none;
}
.history-process .section-title::before {
  z-index:-2;
  inset:-14px;
  background:url("/history/images/current-production-hall.webp") center 52%/cover no-repeat;
  filter:grayscale(1) blur(8px);
  opacity:.40;
}
.history-process .section-title::after {
  z-index:-1;
  inset:0;
  background:linear-gradient(270deg,#f4f0e9 5%,#f4f0e9ed 36%,#f4f0e964 76%,#f4f0e94d);
}
.history-process .section-title h2 { color:var(--history-ink); }
.history-process .section-title .kicker { color:var(--history-copper); }

.history-page .history-process .route {
  color:var(--history-ink);
  border-color:var(--history-edge);
  background:#fcf9f3;
  box-shadow:0 10px 28px #3a2b1d12;
}
.history-process .route-items::before { background:#c8a58e; }
.history-process .stop { color:var(--history-copy); }
.history-process .stop:hover,
.history-process .stop[aria-current="step"] {
  color:#803518;
  background:#f1e4d8;
}
.history-process .number { color:var(--history-copper); }
.history-process .marker {
  color:#8d381a;
  border-color:#c58d71;
  background:#fffaf1;
}
.history-page .history-process .chapter.stage {
  color:var(--history-ink);
  border-color:#e4dacd;
  background:linear-gradient(135deg,#fffdf8,#fcf8f1);
  box-shadow:0 14px 34px #3a2b1d0d;
}
.history-page .history-process .chapter.stage:hover { border-color:#d9c1ae; }
.history-process .chapter .eyebrow,
.history-process .chapter .next { color:var(--history-copper); }
.history-process .history-chapter-number {
  color:#fff0de;
  border-color:#875942;
  background:#2a332e;
  box-shadow:0 0 0 4px #f0e7da;
}
.history-process .chapter h2 { color:var(--history-ink); }
.history-process .chapter-copy p:not(.eyebrow) { color:var(--history-copy); }
.history-process .chapter-copy > p:not(.eyebrow),
.history-process #today .chapter-copy > p:not(.eyebrow) {
  max-inline-size:68ch;
  font-size:clamp(.94rem,1.4vw,1.06rem);
  line-height:2.14;
  text-align:justify;
  text-align-last:right;
  text-justify:auto;
  word-spacing:normal;
}
.history-process a:focus-visible { outline:2px solid var(--history-copper); outline-offset:3px; }

.history-process .photos figure,
.history-process .welfare-single figure {
  padding:clamp(6px,1.1vw,11px) clamp(6px,1.1vw,11px) 0;
  color:#493a30;
  border:1px solid #dfd0c0;
  border-radius:16px;
  background:#fffdf8;
  box-shadow:0 11px 26px #3a2b1d16;
}
.history-process .photos img { border-radius:8px; }
.history-process .photos figcaption,
.history-process .welfare-single figcaption {
  padding:8px 4px 9px;
  color:#51463c;
  font-size:.84rem;
  line-height:1.65;
}
.history-process .journey-gallery.is-reached > figure {
  border-color:#b45e37;
  box-shadow:0 0 0 2px #c56b3936,0 11px 26px #3a2b1d18;
}

.history-process .history-trail-step {
  fill:#a94e29;
  filter:drop-shadow(0 1px 1px #fffaf4);
}
.history-process .history-trail-tread { stroke:#f9e8d9; }
.history-process .history-trail-print { fill:#a75b37; }
.history-process .history-trail-logo circle {
  stroke:#b16a46;
  stroke-width:1.65;
}

.history-page .history-process .welfare-zoom {
  margin-block:23px;
  padding:clamp(11px,2vw,21px);
  color:var(--history-ink);
  border-color:#decebe;
  border-radius:18px;
  background:linear-gradient(150deg,#f7efe4,#fdf9f2);
}
.welfare-single {
  width:min(100%,730px);
  margin-inline:auto;
}
.welfare-single figure { margin:0; }
.welfare-shot {
  position:relative;
  overflow:hidden;
  isolation:isolate;
  aspect-ratio:1671 / 941;
  border-radius:8px;
  background:#d8d3cb;
}
.welfare-scene {
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  transform-origin:0 0;
  transition:transform 1.35s cubic-bezier(.23,.61,.31,1);
}
.welfare-scene > img {
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.welfare-shot[data-close="true"] .welfare-scene {
  transform:translate(var(--welfare-x,-103.625%),var(--welfare-y,-106.49%)) scale(var(--welfare-scale,4.1775));
}
.welfare-locator {
  pointer-events:none;
  transition:opacity .38s ease;
}
.welfare-shot[data-close="true"] .welfare-locator { opacity:0; }

@media (max-width:540px) {
  .history-page .history-process .section-title { border-radius:17px; }
  .history-process .chapter-copy > p:not(.eyebrow),
  .history-process #today .chapter-copy > p:not(.eyebrow) {
    font-size:.91rem;
    line-height:2.05;
  }
  .history-process .photos figcaption,
  .history-process .welfare-single figcaption { font-size:.77rem; }
}
@media (prefers-reduced-motion:reduce), print {
  .welfare-scene,.welfare-locator { transition:none; }
}
@media print {
  .welfare-shot[data-close="true"] .welfare-scene { transform:none; }
  .welfare-shot[data-close="true"] .welfare-locator { opacity:1; }
}
.display-zoom-shot { aspect-ratio:1280 / 960; }


/* Chapter headings mark the chronology within one reading surface. */
.history-process .chapter-list,
.history-process .chapter-list.has-history-journey {
  gap:clamp(32px,4.3vw,56px);
}
.history-page .history-process .chapter.stage,
.history-page .history-process .chapter.stage:hover {
  display:block;
  min-width:0;
  padding-block:0;
  padding-inline:clamp(4px,2vw,28px);
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.history-process .chapter .eyebrow {
  display:flex;
  align-items:baseline;
  gap:.55rem;
}
.history-process .history-chapter-number {
  display:inline;
  width:auto;
  height:auto;
  color:inherit;
  border:0;
  border-radius:0;
  background:none;
  box-shadow:none;
}
.history-process .history-chapter-number::after {
  content:"";
  display:inline-block;
  width:13px;
  height:1px;
  margin-inline-start:.55rem;
  vertical-align:middle;
  background:#c1a393;
}
.history-process .chapter h2 { margin-block:7px 10px; }
.history-process .chapter .history-family-heading {
  margin-block:clamp(24px,3vw,34px) 10px;
}
.history-process .chapter-copy > p:not(.eyebrow) {
  margin-block:0 12px;
}
.history-process .chapter-copy > p:last-of-type { margin-block-end:0; }
.history-process .chapter-copy > .photos,
.history-process .chapter-copy > p + .photos {
  margin-block:clamp(16px,2vw,23px);
}
.history-process .chapter-copy > .photos:last-child { margin-block-end:0; }
.history-process .chapter .next:not([href="#top"]) { display:none; }
.history-process .chapter .next[href="#top"] { margin-top:12px; }
.history-process .chapter .history-passage { display:none; }
.history-process .route-in-right .history-opening { margin-inline-start:0; }
.history-page .history-process .welfare-zoom {
  margin-block:clamp(17px,2.3vw,28px);
  padding:0;
  border:0;
  border-radius:0;
  background:none;
}
.history-process .welfare-zoom h3 { margin-block:0 10px; }
.history-process .history-trail-stamps { opacity:.8; }

@media (min-width:891px) {
  .history-page .history-process .route {
    background:transparent;
    border-color:transparent;
    box-shadow:none;
  }
}
@media (max-width:540px) {
  .history-page .history-process .chapter.stage { padding-inline:7px; }
  .history-process .chapter h2 { margin-block:5px 8px; }
}


/* RTL milestone ribbon and one centered reading column. */
.history-page .history-process { padding-block-start:clamp(17px,3vw,30px); }
.history-page .history-process .timeline { display:block; }
body.history-page .history-process .route {
  position:sticky;
  display:grid;
  grid-template-columns:max-content minmax(0,1fr);
  align-items:center;
  gap:8px;
  z-index:6;
  top:var(--header-height);
  margin-block-end:clamp(24px,4vw,42px);
  padding:8px;
  overflow:hidden;
  isolation:isolate;
  background:#292929;
  border:1px solid #bba17b66;
  border-radius:15px;
  box-shadow:0 8px 22px #0004;
  backdrop-filter:none;
}
.history-process .route-title {
  color:#4f4035;
  padding:0 5px;
  font-size:.77rem;
  white-space:nowrap;
}
.history-page .history-process .route-items {
  display:grid;
  grid-template-columns:none;
  grid-auto-flow:column;
  grid-auto-columns:minmax(106px,1fr);
  gap:11px;
  min-width:0;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  scrollbar-width:thin;
  scrollbar-color:#c8a58e transparent;
  padding:3px;
}
.history-process .route-items::before { content:none; }
.history-page .history-process .stop {
  position:relative;
  display:grid;
  grid-template-columns:max-content minmax(0,1fr);
  gap:5px;
  align-items:center;
  justify-content:normal;
  min-height:44px;
  height:auto;
  padding:5px 6px;
  border:1px solid transparent;
  border-radius:8px;
  text-align:start;
  font-size:.69rem;
  line-height:1.45;
}
.history-page .history-process .stop:not(:last-child)::after {
  content:"";
  position:absolute;
  inset-inline-end:-9px;
  inset-block-start:calc(50% - 3px);
  inline-size:5px;
  block-size:5px;
  border-inline-end:1px solid #a77c63;
  border-block-end:1px solid #a77c63;
  transform:rotate(45deg);
  pointer-events:none;
}
.history-page .history-process .stop[aria-current="step"] {
  background:#f0e3d6;
  border-color:#dcc3af;
  font-weight:700;
}
.history-page .history-process .stop:focus-visible { outline-offset:1px; }
.history-page .history-process .chapter-list {
  max-inline-size:850px;
  margin-inline:auto;
}
body.history-page .history-process .chapter.stage {
  padding-inline:0;
  scroll-margin-top:calc(var(--header-height) + 112px);
}
.history-page .history-process .chapter-copy > p:not(.eyebrow),
.history-page .history-process #today .chapter-copy > p:not(.eyebrow) {
  max-inline-size:none;
}
.history-page .history-process .chapter-copy > .photos.pair {
  width:100%;
}
@media (max-width:890px) {
  body.history-page .history-process .route { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:620px) {
  body.history-page .history-process .route {
    top:var(--header-height);
    padding:5px;
    border-radius:11px;
  }
  .history-page .history-process .route-items {
    grid-auto-columns:110px;
    gap:9px;
  }
  .history-page .history-process .stop { min-height:43px; }
  .history-page .history-process .stop:not(:last-child)::after { inset-inline-end:-8px; }
  body.history-page .history-process .chapter.stage { padding-inline:4px; }
}
@media print {
  body.history-page .history-process .route { display:none; }
}


/* Header rules from the approved offline homepage, scoped to this header. */
body.history-page .site-header { font-family:Vazirmatn,Tahoma,"Segoe UI",sans-serif; line-height:1.8;  }
body.history-page .site-header > .wrap { width:min(1180px,calc(100% - 40px)); margin:auto; }
body.history-page .site-header a { color:inherit; text-decoration:none; }
body.history-page .site-header img { display:block; max-width:100%; }
body.history-page .site-header { position: absolute; z-index: 7; inset: 0px 0px auto; color: rgb(255, 255, 255); }
body.history-page .site-header .nav { height: 94px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
body.history-page .site-header .brand { display: flex; align-items: center; gap: 14px; }
body.history-page .site-header .brand-logo { width: 58px; height: 52px; object-fit: contain; filter: drop-shadow(rgba(0, 0, 0, 0.32) 0px 5px 14px); }
body.history-page .site-header .brand small { display: block; color: rgba(255, 255, 255, 0.65); font-size: 11px; letter-spacing: 1px; }
body.history-page .site-header .links { display: flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 17px; background: linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.024)); box-shadow: rgba(255, 255, 255, 0.08) 0px 1px 0px inset, rgba(0, 0, 0, 0.16) 0px 10px 30px; backdrop-filter: blur(13px); font-size: 12px; }
body.history-page .site-header .links > a { min-height: 38px; padding: 7px 11px; border: 1px solid rgba(255, 255, 255, 0.055); border-radius: 12px; display: grid; place-items: center; position: relative; overflow: hidden; color: rgba(255, 255, 255, 0.78); white-space: nowrap; transition: color 0.3s, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.35s, border-color 0.35s, box-shadow 0.35s; }
body.history-page .site-header .links > a::before { content: ""; position: absolute; right: 50%; bottom: 4px; width: 0px; height: 2px; border-radius: 999px; background: linear-gradient(90deg, rgb(154, 53, 17), rgb(255, 209, 159), rgb(229, 109, 39)); box-shadow: rgba(255, 139, 55, 0.8) 0px 0px 8px; transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), right 0.4s; }
body.history-page .site-header .links > a::after { content: ""; position: absolute; inset: -30% auto -30% -45%; width: 22%; transform: rotate(18deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent); transition: left 0.6s; }
body.history-page .site-header .links > a:hover { color: rgb(255, 245, 235); transform: translateY(-3px); border-color: rgba(255, 169, 91, 0.48); background: linear-gradient(145deg, rgba(255, 166, 84, 0.2), rgba(172, 56, 15, 0.26)); box-shadow: rgba(125, 38, 8, 0.28) 0px 9px 22px, rgba(255, 224, 190, 0.18) 0px 1px 0px inset; }
body.history-page .site-header .links > a:hover::before { right: 20%; width: 60%; }
body.history-page .site-header .links > a:hover::after { left: 125%; }
body.history-page .site-header .nav-actions { display: flex; align-items: center; gap: 10px; }
body.history-page .site-header .portal { border: 1px solid rgba(255, 255, 255, 0.45); padding: 10px 17px; border-radius: 999px; transition: 0.25s; }
body.history-page .site-header .portal:hover { background: rgb(255, 255, 255); color: rgb(17, 17, 17); transform: translateY(-2px); }
body.history-page .site-header .lang-switch { direction: ltr; width: 48px; height: 48px; border: 1px solid rgba(255, 178, 111, 0.46); border-radius: 50%; display: grid; place-items: center; position: relative; background: rgba(8, 15, 14, 0.48); backdrop-filter: blur(10px); color: rgb(255, 193, 138); box-shadow: rgba(255, 255, 255, 0.03) 0px 0px 0px 1px inset; transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.35s, box-shadow 0.35s, border-color 0.35s; }
body.history-page .site-header .lang-switch svg { width: 23px; height: 23px; fill: none; stroke: currentcolor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1); }
body.history-page .site-header .lang-switch span { position: absolute; left: -2px; bottom: -3px; min-width: 23px; height: 17px; padding: 0px 4px; border-radius: 8px; display: grid; place-items: center; background: rgb(244, 138, 54); color: rgb(33, 16, 8); border: 2px solid rgb(17, 25, 24); font: 800 8px / 1 Arial, sans-serif; letter-spacing: 0.4px; transition: transform 0.35s, background 0.35s; }
body.history-page .site-header .lang-switch:hover { transform: translateY(-3px) rotate(-3deg); color: rgb(255, 240, 223); border-color: rgb(255, 154, 60); background: rgba(229, 109, 39, 0.2); box-shadow: rgba(229, 109, 39, 0.28) 0px 10px 28px, rgba(255, 154, 60, 0.12) 0px 0px 18px inset; }
body.history-page .site-header .lang-switch:hover svg { transform: rotate(180deg) scale(1.08); }
body.history-page .site-header .lang-switch:hover span { transform: translate(-2px, -2px) scale(1.08); background: rgb(255, 172, 94); }
body.history-page .site-header .brand { gap: 11px; }
body.history-page .site-header .brand-emblem { width: 66px; height: 66px; display: grid; place-items: center; position: relative; isolation: isolate; filter: drop-shadow(rgba(0, 0, 0, 0.34) 0px 9px 18px); }
body.history-page .site-header .brand-emblem::before { content: ""; position: absolute; inset: 0px; clip-path: polygon(25% 5%, 75% 5%, 98% 50%, 75% 95%, 25% 95%, 2% 50%); background: conic-gradient(from 15deg, rgba(255, 255, 255, 0.18), rgb(255, 154, 60), rgba(255, 255, 255, 0.12) 32%, rgba(229, 109, 39, 0.78) 48%, rgba(255, 255, 255, 0.1) 70%, rgb(255, 193, 138)); animation: 9s linear 0s infinite normal none running brandOrbit; }
body.history-page .site-header .brand-emblem::after { content: ""; position: absolute; inset: 2px; z-index: -1; clip-path: polygon(25% 5%, 75% 5%, 98% 50%, 75% 95%, 25% 95%, 2% 50%); background: radial-gradient(circle at 42% 35%, rgba(255, 154, 60, 0.18), transparent 36%), linear-gradient(145deg, rgba(22, 33, 31, 0.96), rgba(5, 9, 8, 0.98)); box-shadow: rgba(255, 255, 255, 0.043) 0px 0px 20px inset; }
body.history-page .site-header .brand-logo { position: relative; z-index: 2; width: 45px; height: 42px; transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s; }
body.history-page .site-header .brand-copy { display: grid; gap: 1px; }
body.history-page .site-header .brand-copy strong { font-size: 15px; line-height: 1.5; position: relative; padding-bottom: 3px; }
body.history-page .site-header .brand-copy strong::after { content: ""; position: absolute; right: 0px; bottom: 0px; width: 32px; height: 2px; border-radius: 999px; background: linear-gradient(90deg, rgb(255, 154, 60), transparent); transition: width 0.4s; }
body.history-page .site-header .brand-copy small { font: 600 9px / 1.5 Arial, sans-serif; letter-spacing: 1.2px; color: rgba(255, 255, 255, 0.58); }
body.history-page .site-header .brand:hover .brand-logo { transform: scale(1.09); filter: drop-shadow(rgba(255, 185, 120, 0.42) 0px 0px 8px); }
body.history-page .site-header .brand:hover .brand-emblem::before { animation-duration: 2.4s; }
body.history-page .site-header .brand:hover .brand-copy strong::after { width: 100%; }
body.history-page .site-header .brand { padding: 4px 8px 4px 10px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 17px; position: relative; overflow: hidden; background: linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.024)); box-shadow: rgba(255, 255, 255, 0.08) 0px 1px 0px inset, rgba(0, 0, 0, 0.16) 0px 10px 30px; backdrop-filter: blur(13px); transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.35s, border-color 0.35s, box-shadow 0.35s; }
body.history-page .site-header .brand > * { position: relative; z-index: 2; }
body.history-page .site-header .brand::before { content: ""; position: absolute; inset: -35% auto -35% -30%; width: 16%; transform: rotate(18deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent); transition: left 0.65s; }
body.history-page .site-header .brand:hover { transform: translateY(-3px); border-color: rgba(255, 169, 91, 0.48); background: linear-gradient(145deg, rgba(255, 166, 84, 0.15), rgba(172, 56, 15, 0.2)); box-shadow: rgba(125, 38, 8, 0.26) 0px 9px 24px, rgba(255, 224, 190, 0.18) 0px 1px 0px inset; }
body.history-page .site-header .brand:hover::before { left: 125%; }
body.history-page .site-header .brand-emblem::before, body.history-page .site-header .brand-emblem::after { display: none; }
body.history-page .site-header .brand-logo { width: 53px; height: 50px; opacity: 1; transform: rotate(0deg) scale(1); transition: transform 0.52s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s 0.08s, filter 0.4s; }
body.history-page .site-header .brand:hover .brand-logo { opacity: 0; transform: rotate(-180deg) scale(0.18); filter: drop-shadow(rgba(255, 185, 120, 0.42) 0px 0px 8px); transition-delay: 0s; }
body.history-page .site-header .diecast-schematic { position: absolute; z-index: 3; width: 64px; height: 52px; opacity: 0; transform: translateX(-1px) scale(0.62) rotate(7deg); fill: none; stroke: rgb(243, 246, 245); stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(rgba(255, 119, 36, 0.52) 0px 0px 5px); transition: opacity 0.25s 0.24s, transform 0.48s 0.22s; }
body.history-page .site-header .diecast-schematic .machine-accent { stroke: rgb(255, 154, 60); stroke-width: 1.8; }
body.history-page .site-header .diecast-schematic .melt { stroke: rgb(255, 125, 37); stroke-width: 2.2; stroke-dasharray: 28; stroke-dashoffset: 28; }
body.history-page .site-header .diecast-schematic .plunger, body.history-page .site-header .diecast-schematic .moving-die { transform: translateX(0px); }
body.history-page .site-header .brand:hover .diecast-schematic { opacity: 1; transform: translateX(-1px) scale(1.05) rotate(0deg); }
body.history-page .site-header .brand:hover .diecast-schematic .plunger { animation: 0.95s cubic-bezier(0.2, 0.8, 0.2, 1) 0.36s 1 normal both running injectPlunger; }
body.history-page .site-header .brand:hover .diecast-schematic .moving-die { animation: 0.72s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s 1 normal both running clampDie; }
body.history-page .site-header .brand:hover .diecast-schematic .melt { animation: 0.85s ease-out 0.56s 1 normal both running fillDie; }
body.history-page .site-header .portal { min-height: 48px; display: flex; align-items: center; gap: 8px; position: relative; overflow: hidden; color: rgba(255, 255, 255, 0.82); background: linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.024)); box-shadow: rgba(255, 255, 255, 0.08) 0px 1px 0px inset, rgba(0, 0, 0, 0.18) 0px 10px 28px; backdrop-filter: blur(13px); padding: 9px 14px !important; border: 1px solid rgba(255, 255, 255, 0.15) !important; border-radius: 14px !important; transition: color 0.3s, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.35s, border-color 0.35s, box-shadow 0.35s !important; }
body.history-page .site-header .portal svg, body.history-page .site-header .portal span { position: relative; z-index: 2; }
body.history-page .site-header .portal svg { width: 20px; height: 20px; fill: none; stroke: rgb(255, 193, 138); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.42s, stroke 0.3s; }
body.history-page .site-header .portal::before { content: ""; position: absolute; inset: -35% auto -35% -48%; width: 24%; transform: rotate(18deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.68), transparent); transition: left 0.62s; }
body.history-page .site-header .portal::after { content: ""; position: absolute; right: 50%; bottom: 5px; width: 0px; height: 2px; border-radius: 999px; background: linear-gradient(90deg, rgb(154, 53, 17), rgb(255, 209, 159), rgb(229, 109, 39)); box-shadow: rgba(255, 139, 55, 0.8) 0px 0px 8px; transition: width 0.4s, right 0.4s; }
body.history-page .site-header .portal:hover { color: rgb(255, 245, 235) !important; transform: translateY(-3px) !important; border-color: rgba(255, 169, 91, 0.48) !important; background: linear-gradient(145deg, rgba(255, 166, 84, 0.2), rgba(172, 56, 15, 0.26)) !important; box-shadow: rgba(125, 38, 8, 0.3) 0px 9px 24px, rgba(255, 224, 190, 0.18) 0px 1px 0px inset !important; }
body.history-page .site-header .portal:hover::before { left: 125%; }
body.history-page .site-header .portal:hover::after { right: 20%; width: 60%; }
body.history-page .site-header .portal:hover svg { stroke: rgb(255, 242, 228); transform: translateX(-3px) scale(1.08); }
body.history-page .site-header .menu-toggle { display: none; width: 46px; height: 46px; padding: 0px; border: 1px solid rgba(255, 178, 111, 0.35); border-radius: 13px; background: linear-gradient(145deg, rgba(255, 166, 84, 0.15), rgba(13, 22, 20, 0.68)); color: rgb(255, 193, 138); place-items: center; cursor: pointer; }
body.history-page .site-header .menu-toggle svg { width: 23px; height: 23px; fill: none; stroke: currentcolor; stroke-width: 1.8; stroke-linecap: round; transition: transform 0.35s; }
body.history-page .site-header .menu-toggle .menu-close { opacity: 0; transform: scale(0.45); transform-origin: center center; }
body.history-page .site-header.menu-open .menu-toggle .menu-bars { opacity: 0; }
body.history-page .site-header.menu-open .menu-toggle .menu-close { opacity: 1; transform: scale(1); }
@media (max-width: 900px) {
  body.history-page .site-header .links { display: none; }
}
@media (max-width: 600px) {
  body.history-page .site-header .nav { height: 76px; }
  body.history-page .site-header .brand div:last-child { display: none; }
  body.history-page .site-header .brand-logo { width: 48px; height: 44px; }
  body.history-page .site-header .portal { font-size: 12px; padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  body.history-page .site-header .portal { transition: none; }
}
body.history-page .site-header .diecast-icon .machine-frame { fill: currentcolor; fill-opacity: 0.1; stroke: currentcolor; stroke-width: 1.45; }
body.history-page .site-header .diecast-icon .machine-heavy { fill: currentcolor; fill-opacity: 0.28; stroke: currentcolor; stroke-width: 1.45; }
body.history-page .site-header .diecast-icon .machine-detail { fill: none; stroke: currentcolor; stroke-width: 1.15; }
body.history-page .site-header .diecast-icon .machine-wheel { fill: none; stroke: currentcolor; stroke-width: 1.35; transform-box: fill-box; transform-origin: center center; }
body.history-page .site-header .diecast-icon .moving-platen { transform: translateX(5px); transform-box: fill-box; transform-origin: center center; }
body.history-page .site-header .diecast-icon .toggle-link { transform: translateX(2px); transform-box: fill-box; transform-origin: right center; }
body.history-page .site-header .diecast-icon .shot-plunger { transform: translateX(0px); transform-box: fill-box; transform-origin: center center; }
body.history-page .site-header .diecast-icon .molten-shot { fill: none; stroke: rgb(241, 120, 44); stroke-width: 2.2; stroke-dasharray: 12; stroke-dashoffset: 12; }
body.history-page .site-header .cap:hover .diecast-icon .moving-platen, body.history-page .site-header .cap.cap-target .diecast-icon .moving-platen, body.history-page .site-header .cap.cap-source .diecast-icon .moving-platen { animation: 2.3s cubic-bezier(0.2, 0.8, 0.2, 1) 0s infinite normal none running oldClamp; }
body.history-page .site-header .cap:hover .diecast-icon .toggle-link, body.history-page .site-header .cap.cap-target .diecast-icon .toggle-link, body.history-page .site-header .cap.cap-source .diecast-icon .toggle-link { animation: 2.3s cubic-bezier(0.2, 0.8, 0.2, 1) 0s infinite normal none running oldToggle; }
body.history-page .site-header .cap:hover .diecast-icon .machine-wheel, body.history-page .site-header .cap.cap-target .diecast-icon .machine-wheel, body.history-page .site-header .cap.cap-source .diecast-icon .machine-wheel { animation: 2.3s ease-in-out 0s infinite normal none running oldWheel; }
body.history-page .site-header .cap:hover .diecast-icon .shot-plunger, body.history-page .site-header .cap.cap-target .diecast-icon .shot-plunger, body.history-page .site-header .cap.cap-source .diecast-icon .shot-plunger { animation: 2.3s cubic-bezier(0.2, 0.8, 0.2, 1) 0s infinite normal none running oldShot; }
body.history-page .site-header .cap:hover .diecast-icon .molten-shot, body.history-page .site-header .cap.cap-target .diecast-icon .molten-shot, body.history-page .site-header .cap.cap-source .diecast-icon .molten-shot { animation: 2.3s ease-in-out 0s infinite normal none running oldMetal; }
@media (max-width: 900px) {
  body.history-page .site-header .menu-toggle { display: grid; }
  body.history-page .site-header .nav { position: relative; }
  body.history-page .site-header.menu-open .links { display: grid; position: absolute; top: calc(100% + 10px); right: 0px; left: 0px; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 6px; padding: 9px; border-radius: 17px; background: rgba(9, 16, 14, 0.96); box-shadow: rgba(0, 0, 0, 0.36) 0px 20px 45px; backdrop-filter: blur(16px); }
  body.history-page .site-header.menu-open .links > a { min-height: 43px; color: rgb(245, 233, 220); border-color: rgba(255, 168, 86, 0.18); background: rgba(255, 255, 255, 0.035); }
}
@media (max-width: 600px) {
  body.history-page .site-header > .wrap { width: calc(100% - 24px); }
  body.history-page .site-header .nav { height: 74px; gap: 6px; justify-content: space-between; }
  body.history-page .site-header .brand { flex: 0 0 58px; width: 58px; height: 50px; justify-content: center; border-radius: 13px; padding: 2px !important; }
  body.history-page .site-header .brand-copy { display: none !important; }
  body.history-page .site-header .brand-emblem { width: 50px; height: 44px; }
  body.history-page .site-header .brand-logo { width: 43px; height: 39px; }
  body.history-page .site-header .diecast-schematic { width: 55px; height: 38px; }
  body.history-page .site-header .menu-toggle { width: 42px; height: 42px; flex: 0 0 42px; }
  body.history-page .site-header .nav-actions { flex: 1 1 0%; min-width: 0px; gap: 6px; justify-content: flex-start; }
  body.history-page .site-header .portal { min-height: 44px; font-size: 10.5px; line-height: 1.5; gap: 5px; white-space: nowrap; padding: 6px 8px !important; border-radius: 12px !important; }
  body.history-page .site-header .portal svg { width: 17px; height: 17px; flex: 0 0 17px; }
  body.history-page .site-header .lang-switch { width: 40px; height: 40px; flex: 0 0 40px; }
  body.history-page .site-header .lang-switch svg { width: 20px; height: 20px; }
  body.history-page .site-header.menu-open .links { top: 68px; grid-template-columns: repeat(2, minmax(0px, 1fr)); }
  body.history-page .site-header .brand:hover { transform: none; }
  body.history-page .site-header .brand:hover .brand-logo { opacity: 1; transform: none; }
  body.history-page .site-header .brand:hover .diecast-schematic { opacity: 0; }
}
body.history-page .site-header .diecast-schematic .machine-frame { fill: rgba(255, 154, 60, 0.1); stroke: rgb(243, 246, 245); stroke-width: 1.35; }
body.history-page .site-header .diecast-schematic .machine-heavy { fill: rgba(255, 154, 60, 0.24); stroke: rgb(243, 246, 245); stroke-width: 1.25; }
body.history-page .site-header .diecast-schematic .machine-detail { fill: none; stroke: rgb(243, 246, 245); stroke-width: 1.08; }
body.history-page .site-header .diecast-schematic .machine-wheel { fill: none; stroke: rgb(255, 193, 138); stroke-width: 1.3; transform-box: fill-box; transform-origin: center center; }
body.history-page .site-header .diecast-schematic .moving-platen, body.history-page .site-header .diecast-schematic .toggle-link, body.history-page .site-header .diecast-schematic .shot-plunger { transform-box: fill-box; transform-origin: center center; }
body.history-page .site-header .diecast-schematic .molten-shot { fill: none; stroke: rgb(255, 125, 37); stroke-width: 2; stroke-dasharray: 12; stroke-dashoffset: 12; }
body.history-page .site-header .brand:hover .diecast-schematic .moving-platen { animation: 2.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0s infinite normal none running oldClamp; }
body.history-page .site-header .brand:hover .diecast-schematic .toggle-link { animation: 2.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0s infinite normal none running oldToggle; }
body.history-page .site-header .brand:hover .diecast-schematic .machine-wheel { animation: 2.1s ease-in-out 0s infinite normal none running oldWheel; }
body.history-page .site-header .brand:hover .diecast-schematic .shot-plunger { animation: 2.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0s infinite normal none running oldShot; }
body.history-page .site-header .brand:hover .diecast-schematic .molten-shot { animation: 2.1s ease-in-out 0s infinite normal none running oldMetal; }
body.history-page .site-header { position: fixed; z-index: 70; background: linear-gradient(rgba(6, 12, 10, 0.94), rgba(6, 12, 10, 0.76)); border-bottom: 1px solid rgba(255, 255, 255, 0.09); backdrop-filter: blur(16px); }
body.history-page .site-header .diecast-icon .molten-shot, body.history-page .site-header .diecast-schematic .molten-shot { stroke: rgb(237, 243, 241); filter: drop-shadow(rgba(231, 242, 239, 0.78) 0px 0px 4px); }
body.history-page .site-header { isolation: isolate; box-shadow: rgba(0, 0, 0, 0.18) 0px 10px 30px; }
body.history-page .site-header::after { content: ""; position: absolute; z-index: 3; right: 0px; left: 0px; bottom: -1px; height: 2px; pointer-events: none; background: linear-gradient(90deg, transparent 0%, rgba(229, 109, 39, 0.18) 18%, rgb(255, 154, 60) 38%, rgb(255, 224, 186) 50%, rgb(255, 154, 60) 62%, rgba(229, 109, 39, 0.18) 82%, transparent 100%) 0% 0% / 220% 100%; box-shadow: rgba(255, 145, 66, 0.72) 0px 0px 7px, rgba(229, 109, 39, 0.36) 0px 0px 16px; animation: 9.2s linear 0s infinite normal none running navLightRail; }
@media (prefers-reduced-motion: reduce) {
  body.history-page .site-header::after { animation: auto ease 0s 1 normal none running none; background-position: center center; }
}
body.history-page .site-header .diecast-schematic.header-diecast-approved { width: 72px; height: 48px; --ia: #ff8f3d; --ib: #6f230b; --im: #dce5e1; --il: #fff8ef; stroke: none; fill: none; filter: drop-shadow(rgba(255, 119, 36, 0.52) 0px 0px 5px); }
body.history-page .site-header .brand:hover .header-diecast-approved .da-moving { animation: 5.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0s infinite normal none running daClampReal; }
body.history-page .site-header .brand:hover .header-diecast-approved .da-arms-open { animation: 5.8s ease-in-out 0s infinite normal none running daArmsOpen; }
body.history-page .site-header .brand:hover .header-diecast-approved .da-arms-locked { animation: 5.8s ease-in-out 0s infinite normal none running daArmsLocked; }
body.history-page .site-header .brand:hover .header-diecast-approved .da-wheel { animation: 5.8s ease-in-out 0s infinite normal none running daWheel; }
body.history-page .site-header .brand:hover .header-diecast-approved .da-ladle { animation: 5.8s ease-in-out 0s infinite normal none running daLadle; }
body.history-page .site-header .brand:hover .header-diecast-approved .da-stream { animation: 5.8s ease-in-out 0s infinite normal none running daPour; }
body.history-page .site-header .brand:hover .header-diecast-approved .da-plunger { animation: 5.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0s infinite normal none running daInject; }
body.history-page .site-header .brand:hover .header-diecast-approved .da-metal { animation: 5.8s ease-out 0s infinite normal none running daFill; }
body.history-page .site-header .brand:hover .header-diecast-approved .da-part { animation: 5.8s ease-in-out 0s infinite normal none running daPart; }
body.history-page .site-header .brand:hover .header-diecast-approved .da-pressure { animation: 5.8s ease-in-out 0s infinite normal none running daPressure; }
body.history-page .site-header .brand:hover .header-diecast-approved .da-sensor { animation: 1s ease-in-out 0s infinite alternate none running daSensor; }
body.history-page .site-header img[src="images/logo.jpg"] { mix-blend-mode: screen; filter: invert(1) drop-shadow(rgba(0, 0, 0, 0.32) 0px 5px 14px); }
body.history-page .site-header .brand:hover img[src="images/logo.jpg"] { filter: invert(1) drop-shadow(rgba(255, 185, 120, 0.42) 0px 0px 8px); }
@keyframes brandOrbit { 
  100% { transform: rotate(360deg); }
}
@keyframes injectPlunger { 
  0% { transform: translateX(0px); }
  70%, 100% { transform: translateX(8px); }
}
@keyframes clampDie { 
  0% { transform: translateX(3px); }
  65%, 100% { transform: translateX(0px); }
}
@keyframes fillDie { 
  0% { stroke-dashoffset: 28; opacity: 0.3; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes oldClamp { 
  0%, 12%, 92%, 100% { transform: translateX(5px); }
  32%, 78% { transform: translateX(0px); }
}
@keyframes oldToggle { 
  0%, 12%, 92%, 100% { transform: translateX(2px) scaleX(0.84); }
  32%, 78% { transform: translateX(0px) scaleX(1); }
}
@keyframes oldWheel { 
  0%, 15% { transform: rotate(0deg); }
  40%, 80% { transform: rotate(150deg); }
  100% { transform: rotate(0deg); }
}
@keyframes oldShot { 
  0%, 42%, 100% { transform: translateX(0px); }
  61%, 72% { transform: translateX(-9px); }
}
@keyframes oldMetal { 
  0%, 47%, 82%, 100% { stroke-dashoffset: 12; opacity: 0.15; }
  58%, 72% { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes navLightRail { 
  0% { background-position: 210% 0px; }
  100% { background-position: -210% 0px; }
}
@keyframes daClampReal { 
  0%, 14%, 91%, 100% { transform: translateX(0px); }
  27%, 79% { transform: translateX(12px); }
}
@keyframes daArmsOpen { 
  0%, 14%, 91%, 100% { opacity: 1; }
  27%, 79% { opacity: 0; }
}
@keyframes daArmsLocked { 
  0%, 14%, 91%, 100% { opacity: 0; }
  27%, 79% { opacity: 1; }
}
@keyframes daWheel { 
  0%, 12% { transform: rotate(0deg); }
  30%, 76% { transform: rotate(155deg); }
  100% { transform: rotate(0deg); }
}
@keyframes daLadle { 
  0%, 31%, 61%, 100% { transform: rotate(0deg); }
  39%, 54% { transform: rotate(28deg); }
}
@keyframes daPour { 
  0%, 37%, 58%, 100% { stroke-dashoffset: 50; opacity: 0; }
  43%, 53% { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes daInject { 
  0%, 53%, 82%, 100% { transform: translateX(0px); }
  66%, 75% { transform: translateX(-52px); }
}
@keyframes daFill { 
  0%, 58%, 81%, 100% { stroke-dashoffset: 100; opacity: 0; }
  68%, 76% { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes daPart { 
  0%, 61%, 100% { opacity: 0.18; }
  70%, 82% { opacity: 1; filter: drop-shadow(rgba(255, 143, 66, 0.75) 0px 0px 7px); }
}
@keyframes daPressure { 
  0%, 54%, 83%, 100% { opacity: 0.22; transform: scaleY(0.45); }
  63%, 76% { opacity: 0.95; transform: scaleY(1); }
}
@keyframes daSensor { 
  100% { opacity: 0.45; transform: scale(0.8); }
}
body.history-page { --header-height:95px; }
@media (max-width:600px) { body.history-page { --header-height:75px; } }


/* Only the live footsteps and logo accept input. */
.history-trail-stamps { pointer-events:none; }
.history-trail-contact {
  pointer-events:visiblePainted;
  cursor:pointer;
}
.history-trail-contact .history-trail-hit {
  fill:transparent;
  stroke:none;
  pointer-events:visible;
}
.history-trail-contact:focus-visible { outline:none; }
.history-trail-contact:is(:hover,:focus-visible) .history-trail-logo circle {
  stroke:#f9b680;
  stroke-width:2.75;
  filter:drop-shadow(0 0 5px #a85b38);
}

.history-trail-tooltip {
  --trail-tip-width:min(15rem, calc(100% - 16px));
  position:absolute;
  z-index:2;
  left:clamp(calc(var(--trail-tip-width) / 2 + 8px), var(--trail-tip-x, 50%), calc(100% - var(--trail-tip-width) / 2 - 8px));
  top:calc(var(--trail-tip-y, 0px) - 18px);
  inline-size:var(--trail-tip-width);
  box-sizing:border-box;
  padding:8px 11px;
  transform:translate(-50%, -100%);
  border:1px solid #ca8e6a;
  border-radius:9px;
  background:#fff9f0;
  box-shadow:0 6px 18px #42251426;
  color:#482b20;
  direction:rtl;
  text-align:center;
  font-size:.78rem;
  line-height:1.6;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .15s ease;
}
.chapter-list:has(> .history-trail > .history-trail-contact:is(:hover,:focus-visible)) > .history-trail-tooltip {
  opacity:1;
  visibility:visible;
}
@media (prefers-reduced-motion:reduce), print {
  .history-trail-tooltip { display:none; }
}

.trail-tip-below > .history-trail-tooltip { top:calc(var(--trail-tip-y, 0px) + 18px); transform:translateX(-50%); }


/* Graphite industrial identity shared by the complete local preview. */
html:root {
  --ink: #f2efeb;
  --muted: #c0bcb5;
  --paper: #202020;
  --card: #2b2b2b;
  --line: rgba(245, 240, 231, .17);
  --steel: #77736e;
  --silver: #e4e0d9;
  --copper: #ed7937;
  --ember: #ff974f;
  --orange: #ef823f;
  --orange2: #ff9a52;
  --accent: #ef823f;
  --peach: #ffc08c;
  --dark: #151413;
  --night: #151413;
  --dark-deep: #151413;
  --shadow: 0 24px 65px rgba(0, 0, 0, .26);
  color-scheme: dark;
}
body {
  color: var(--ink);
  background: radial-gradient(ellipse at 0 0, #444444 0, #292929 29%, #1c1c1c 76%);
  background-attachment: fixed;
}
body.support-page {
  color: var(--ink);
  background: radial-gradient(ellipse at 0 0, #444444 0, #292929 29%, #1c1c1c 76%);
  background-attachment: fixed;
}
::selection { color: #fff7f0; background: #a74e28; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline-color: #ffae70;
}
.top, .history-page .top, .support-page .top {
  background: linear-gradient(180deg, rgba(25, 24, 23, .97), rgba(21, 20, 19, .89));
  border-bottom-color: rgba(246, 241, 232, .15);
  box-shadow: 0 15px 40px rgba(0, 0, 0, .22);
}
.top .brand, .top .links, .top .navlinks, .top .portal,
.top .portal-link, .top .site-nav a {
  border-color: rgba(246, 241, 232, .19);
  background-color: rgba(255, 255, 255, .025);
}
.top .brand-copy strong, .top .brand strong { color: #f8f4ee; }
.top .brand-copy small, .top .brand small { color: #b9b4ac; }
.top .links a, .top .site-nav a, .top .portal, .top .portal-link { color: #e8e3db; }
.top .navlinks { background: transparent; border-color: transparent; }
.top .links a:hover, .top .site-nav a:hover, .top .portal:hover, .top .portal-link:hover {
  color: #fff8ef;
  border-color: #e99459;
}
.hero { background-color: #181716; }
.hero .crumb { color: #d0c9bd; }
.hero .lead, .hero p { color: #e6e0d7; }
.hero .eyebrow, .hero .factory-kicker { color: #ffad72; }
.hero::after { border-color: rgba(230, 211, 189, .22); }
.hero .btn.ghost {
  color: #f8f4ee;
  border-color: rgba(247, 239, 228, .4);
  background: rgba(255, 255, 255, .04);
}
.btn.primary, .primary { color: #21150f; }
.kicker, .support-kicker, .trust-eyebrow { color: #f08a4b; }
.section-title h2, .section-head h2, .trust-head h2,
.intro h2, .tools h2, .input-box h2, .support-title h2 { color: #f3eee7; }
.section-title p, .section-head p, .intro-copy,
.support-title p { color: #c5bfb6; }
.intro-copy strong { color: #fff6e9; }
.quote {
  color: #e8dfd1;
  background: rgba(255, 255, 255, .045);
  border-right-color: #e98143;
  box-shadow: inset 0 0 0 1px rgba(244, 232, 217, .11);
}
.diecast-page .terminology-note {
  color: #cbbfaf;
  border-color: #b0876044;
  border-right-color: #ed8949;
  background: rgba(255, 255, 255, .04);
}
.diecast-page .terminology-note strong { color: #f1e7d9; }
.market-term-note { color: #bfb4a4; }

/* The homepage keeps its video, sequential capability artwork and motion. */
.home-approved #cap, .home-approved .team-section,
.home-approved #industries { background: transparent; }
.home-approved .trust-section {
  background: radial-gradient(ellipse at 0 0, rgba(235, 226, 212, .07), transparent 65%), #252321;
}
.home-approved .hero::after { background: linear-gradient(transparent, #202020); }
.home-approved .section-head p, .home-approved .trust-head p { color: #c0bcb5; }
.home-approved .section-head h2, .home-approved .trust-head h2 { color: #f5f0e9; }
.home-approved .cap-grid .cap {
  color: #f0ece5;
  border-color: rgba(245, 235, 220, .19);
  background: linear-gradient(145deg, #353535, #222222);
  box-shadow: 0 15px 36px rgba(0, 0, 0, .14), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.home-approved .cap-grid .cap::before {
  background-image: linear-gradient(270deg, rgba(34, 33, 31, .97), rgba(34, 33, 31, .94) 43%, rgba(34, 33, 31, .75)), var(--graphite-cap-photo);
  background-size: cover;
  background-position: center, var(--cap-position, center);
  opacity: .95;
}
.home-approved .cap-engineering { --graphite-cap-photo: url("/assets/refined/catia-mold-assembly.webp"); }
.home-approved .cap-tooling { --graphite-cap-photo: url("/assets/refined/die-mold-inspection.webp"); }
.home-approved .cap-alloy { --graphite-cap-photo: url("/assets/site-images/web/novin-molten-transfer-wide.webp"); }
.home-approved .cap-diecast { --graphite-cap-photo: url("/assets/refined/die-casting-production-cell-operator-ppe-v1.webp"); }
.home-approved .cap-machining { --graphite-cap-photo: url("/assets/machining/novin-cnc-machining-cell-operator-v2.webp"); }
.home-approved .cap-quality { --graphite-cap-photo: url("/assets/alloy/arun-polyspek-aluminum-alloy-spectrometer-novin-v1.webp"); }
.home-approved .cap-grid .cap h3 { color: #f3eee7; }
.home-approved .cap-grid .cap p { color: #c4bfb7; }
.home-approved .cap-grid .cap .cap-more { color: #f9a66b; border-color: rgba(243, 159, 99, .5); }
.home-approved .cap-grid .cap .num { color: #b8b0a6; }
.home-approved .cap-grid .cap .arrow { color: #e5ded3; border-color: #93867966; }
.home-approved .cap-grid .cap:hover {
  border-color: #e79b68;
  background: linear-gradient(145deg, #484039, #221e1a);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .27), 0 0 0 1px #df9a6224;
}
.home-approved .cap-grid .cap:hover p { color: #e0d7ca; }
.home-approved .cap-grid .cap .cap-icon {
  background: linear-gradient(145deg, #f8e9d8, #d2a782);
  border-color: #e8b488;
  box-shadow: inset 0 1px 0 #fff5e7, 0 12px 27px #0003;
}
.home-approved .metric {
  background: linear-gradient(145deg, #3a3732, #201e1c);
  border-color: rgba(244, 231, 212, .3);
  box-shadow: 0 15px 30px #0003;
}
.home-approved .metric > span { color: #e2d9cc; }
.home-approved .metric b { color: #fff6ea; }
.home-approved .team-card, .support-page .team-card {
  color: #f0ebe3;
  border-color: rgba(244, 233, 218, .19);
  background: linear-gradient(140deg, #343434, #232323);
  box-shadow: 0 16px 40px #0002;
}
.home-approved .team-copy h3, .support-page .team-copy h3 { color: #f4eee5; }
.home-approved .team-copy p, .support-page .team-copy p { color: #c6bfb3; }
.home-approved .team-role, .support-page .team-role { color: #f3a46c; }
.home-approved .team-note { color: #c1b8aa; border-color: #a0927a44; }
.home-approved .team-note a { color: #ffb176; }
.home-approved .cooperation-section {
  background: radial-gradient(ellipse at 5% 45%, #a5783e20, transparent 50%), #151413;
}
.home-approved .cooperation-section .section-head p { color: #c8bfb2; }
.home-approved .station-icon { color: #f4b17a; background: #262626; border-color: #d0996b; box-shadow: 0 0 0 9px #181614; }
.home-approved .cooperation-station p { color: #c4bcb0; }
.home-approved .industry-card {
  color: #f3eee5;
  background: linear-gradient(145deg, #343434, #242424);
  border-color: #a1937f45;
  box-shadow: 0 14px 32px #0002;
}
.home-approved .industry-card:hover { border-color: #e5a16e; }
.home-approved .industry-art {
  color: #f4b17c;
  background: radial-gradient(ellipse at 50% 50%, #8c6c493a, transparent 70%), #303030;
}
.home-approved .industry-art::before { border-color: #d9c2a645; }
.home-approved .industry-card h3 { color: #f5eee4; }
.home-approved .industry-card p { color: #c7bfb2; }
.home-approved .industry-card .industry-more { color: #ffb074; }
.home-approved .industry-footer .btn {
  background: #312820;
  color: #ffc08d;
  border-color: #d3925a99;
}
.home-approved .choice { background: transparent; }
.home-approved .choice-box {
  color: #f4eee5;
  border-color: #d9b48c50;
  background: radial-gradient(ellipse at 0 0, #bd7e4030, transparent 60%), linear-gradient(140deg, #383129, #1d1a17);
  box-shadow: 0 22px 55px #0003;
}
.home-approved .choice-box p { color: #d2c4b3; }
.home-approved .choice-link { color: #ffc18e; border-color: #da9a6399; background: #362a20; }
.home-approved .badge { color: #ffb884; border-color: #cf966a66; background: #75503430; }

/* Certificates retain their unaltered document images and same-page viewer. */
.home-approved .certificates-panel {
  color: #ede6dc;
  border-color: rgba(242, 228, 207, .22);
  background: linear-gradient(145deg, #343434, #242424);
  box-shadow: 0 20px 45px #0003;
}
.home-approved .certificates-head h3 { color: #f4eee5; }
.home-approved .certificates-head a { color: #f7a96e; }
.home-approved .certificates-description { color: #c5bcaf; }
.home-approved .certificate-card {
  color: #f0e9df;
  background: #262626;
  border-color: #af9d824d;
}
.home-approved .certificate-card small { color: #bdb3a4; }
.home-approved .certificate-card:hover { background: #3b3025; border-color: #d9a275; }
.certificate-viewer { color: #f2eadf; border-color: #8d796366; background: #292929; }
.certificate-viewer__bar { color: #f2eadf; background: #292929; border-bottom-color: #78685666; }
.certificate-viewer__title { color: #f3eadf; }
.certificate-viewer__close { color: #21160e; background: #eda369; }
.quality-page .certificate-gallery h3 { color: #f3ecdf; }
.quality-page .certificate-gallery p { color: #c5bcae; }
.quality-page .certificate-strip figure { border-color: #b49a754d; background: #2d2d2d; }
.quality-page .certificate-strip figcaption { color: #d6c6ad; }

/* Capability pages use the same charcoal surfaces while their photos stay legible. */
.process-section { background-color: #181615; }
.process-section::before {
  background: linear-gradient(120deg, transparent 45%, #9b775320), repeating-linear-gradient(90deg, transparent 0 109px, #fff3 110px);
  opacity: .4;
}
.process-section .section-title p { color: #c5bbae; }
.scope { background: #262626; }
body #scope .scope-card {
  color: #f2ece2;
  border-color: rgba(240, 223, 198, .2);
  background: #2c2c2c;
  box-shadow: 0 18px 40px #0003;
}
body #scope .scope-card::before,
body #scope .scope-card[data-image-key]::before {
  filter: brightness(.24) saturate(.65);
}
body #scope .scope-card h3 { color: #f5eee3; }
body #scope .scope-card p, body #scope .scope-card li { color: #d1c8bb; }
body #scope .scope-card::after { color: rgba(244, 234, 218, .055); }
body #scope .scope-card:hover { border-color: #d7a073; }
body #scope .scope-card:hover::before { filter: brightness(.3) saturate(.8); }
.tool-panel, .capability-standard .tool-panel,
.input-box, .capability-standard .input-box {
  color: #f0e9df;
  border-color: rgba(242, 225, 201, .2);
  background: linear-gradient(145deg, #343434, #242424);
  box-shadow: 0 17px 40px #0002;
}
.tool-panel h2, .capability-standard .tool-panel h2 { color: #f3ece0; }
.tool-panel > p, .input-box p { color: #c8bdb0; }
.tool-panel .tool { border-color: #e4c5a13d; }
.tool-panel .tool:not([data-image-key]) { background-color: #212121; }
.output-panel, .capability-standard .output-panel {
  color: #f0e9dd;
  background: radial-gradient(ellipse at 15% 0, #a77f4f22, transparent 65%), linear-gradient(145deg, #302920, #181512);
  border: 1px solid #b28c5f55;
}
.output-panel .output-intro, .output-panel ol { color: #cbc0b0; }
.output-panel .deliverable { color: #e3d8c9; border-color: #baa78c33; background: #ffffff06; }
.output-panel .release-path, .output-panel .note { color: #f4c7a2; border-color: #be865b55; background: #9b622827; }
.input-list li { color: #ddd2c2; border-color: #a8967955; background: #24201b; }
.page-nav { background: #1c1c1c; }
.page-nav .page-link { color: #f3eadd; background-color: #30271f; border-color: #e2c19d4d; }
.page-nav .page-link small { color: #f4b27c; }
.page-nav .page-link strong { color: #f3eadf; }
.cta { color: #f4ebe0; background: linear-gradient(135deg, #6d452b, #34261d 65%, #1c1814); border-top: 1px solid #c39b6b55; }
.cta h2 { color: #fff1e1; }
.cta p { color: #e1cbb5; }
.cta .btn { color: #20150d; background: #efaa72; border-color: #ffd2a9; }
.loop-note { border-color: #cc9e6d77; background-color: #6a482c30; color: #e0d1bd; }
.visual-story .visual-grid::before {
  background: radial-gradient(circle at 48% 42%, #ffffff08, #aa886622 68%, #5a473522);
  box-shadow: inset 0 0 0 1px #e5ccaa22;
}
.intro .visual-story figure { border-color: #383838; background-color: #383838; }
.intro .visual-story figcaption {
  color: #1f2a26;
}

@media (max-width: 540px) {
  .intro > .visual-story figcaption {
    flex-basis: 44px;
    height: 44px;
    font-size: 11px;
    line-height: 1.35;
  }
}

/* Supporting pages inherit the same material, outlines and warm type hierarchy. */
.support-page .support-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 5% 0, #aaa18d33, transparent 70%), linear-gradient(145deg, #373737, #222222);
  border-bottom: 1px solid #d6c0a433;
}
.support-page .support-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 8%;
  top: -120px;
  width: 330px;
  aspect-ratio: 1;
  border: 1px solid rgba(235, 223, 204, .12);
  border-radius: 42px;
  transform: rotate(45deg);
  box-shadow: 0 0 0 45px #ffffff03, 0 0 0 90px #ffffff02;
}
.support-page .support-hero h1 { color: #f5eee4; }
.support-page .support-hero p, .support-page .support-hero .crumb { color: #c8bdad; }
.support-page .support-hero .crumb a:hover { color: #ffaf71; }
.support-page .support-title p { color: #c9bead; }
.support-page .support-person, .support-page .unit-card,
.support-page .industry-detail, .support-page .sample-grid figure,
.support-page .request-form, .support-page .contact-card {
  color: #f1e9dc;
  border-color: #d0b48d40;
  background: linear-gradient(145deg, #353535, #242424);
  box-shadow: 0 17px 40px #0002;
}
.support-page .support-person p, .support-page .unit-card p,
.support-page .industry-detail p, .support-page .contact-card p,
.support-page .sample-grid figcaption { color: #c8bcaa; }
.support-page .support-person h3, .support-page .unit-card h3,
.support-page .industry-detail h2, .support-page .contact-card h2 { color: #f4ecdf; }
.support-page .support-monogram, .support-page .industry-mark {
  color: #efb07b;
  border-color: #caab8555;
  background: radial-gradient(ellipse at 5% 0, #a484522c, transparent 70%), #282119;
}
.support-page .unit-number { color: #efab76; }
.support-page .support-shortcuts a { color: #eee1cf; background: #313131; border-color: #c3a67b55; }
.support-page .support-shortcuts a:hover { color: #fff1df; border-color: #efb67f; background: #463120; }
.support-page .support-shortcuts svg { color: #f2ac73; }
.support-page .industry-detail .tags span { color: #d7c5ab; background: #8b6b4033; }
.support-page .support-text-link, .support-page .contact-method { color: #f0ad74; }
.support-page .support-note { color: #e9dcc9; background: radial-gradient(ellipse at 0 0, #bd894435, transparent 65%), #211a13; border: 1px solid #b8966655; }
.support-page .support-note p { color: #ccbda7; }
.support-page .request-aside { color: #f1e5d3; border-color: #baa17c55; background: #2a2a2a; }
.support-page .request-aside p, .support-page .form-note,
.support-page .form-field span, .support-page .contact-caption { color: #c2b49e; }
.support-page .request-aside a { color: #efad75; }
.support-page .form-field input, .support-page .form-field textarea {
  color: #f1e7d7;
  border-color: #ab947055;
  background: #1d1d1d;
}
.support-page .form-field input::placeholder, .support-page .form-field textarea::placeholder { color: #8e8270; }
.support-page .form-field input::file-selector-button { color: #f0dec3; background: #474747; }
.support-page .form-result { color: #f0e7d6; border-color: #b69f6f77; background: #3b3221; }
.support-page .request-result-actions .btn { color: #20160e; background: #e5a870; }
.support-page .contact-caption a { color: #e9ab74; }

/* History remains a continuous reading surface rather than separate cards. */
.history-page .history-process {
  --history-paper: #242424;
  --history-ink: #f2eadd;
  --history-copy: #d0c5b3;
  --history-copper: #efa469;
  --history-edge: #aa96764d;
  color: #f1e7d9;
  background: radial-gradient(ellipse at 4% 0, #8f806c25, transparent 65%), #242424;
}
.history-page .history-process::before { background: none; }
.history-page .history-process .section-title { color: #f3e8d6; border-color: #bda37c44; background: #2e2e2e; }
.history-page .history-process .section-title::before { opacity: .17; }
.history-page .history-process .section-title::after { background: linear-gradient(270deg, #282828 5%, #282828ed 36%, #28282864 76%, #2828284d); }
.history-page .history-process .section-title h2 { color: #f4e9d8; }
.history-page .history-process .route { color: #eddfc8; border-color: #bba17b3d; background: #292929e8; box-shadow: 0 14px 34px #0002; }
.history-page .history-process .route-title { color: #f2e6d2; }
.history-page .history-process .stop { color: #c7b99f; }
.history-page .history-process .stop:hover, .history-page .history-process .stop[aria-current="step"] { color: #ffd2a6; background: #8e623333; }
.history-page .history-process .chapter.stage,
.history-page .history-process .chapter.stage:hover { color: #f2e8d8; background: transparent; border: 0; box-shadow: none; }
.history-page .history-process .chapter h2 { color: #f3e9d7; }
.history-page .history-process .chapter-copy p:not(.eyebrow) { color: #d0c5b3; }
.history-page .history-process .chapter .eyebrow,
.history-page .history-process .chapter .next { color: #efab73; }
.history-page .history-process .photos figure,
.history-page .history-process .welfare-single figure {
  color: #d9ccb6;
  border-color: #bc9f764d;
  background: #313131;
  box-shadow: 0 17px 37px #0003;
}
.history-page .history-process .photos figcaption,
.history-page .history-process .welfare-single figcaption { color: #cdbd9f; }
.history-page .history-process .journey-gallery.is-reached > figure { border-color: #ecad6e; box-shadow: 0 0 0 2px #dbab5f24, 0 17px 37px #0003; }
.history-page .history-process .welfare-zoom { background: transparent; border: 0; color: #eddfc7; }
.history-page .history-process .welfare-arrow { color: #f2b47c; background: #444444; }
.history-page .history-process .history-trail-step { fill: #fff0cf; filter: drop-shadow(0 1px 1px #000d) drop-shadow(0 0 4px #ffe4b577); }
.history-page .history-process .history-trail-tread { stroke: #664020; }
.history-page .history-process .history-trail-print { fill: #ffe4b5; filter: drop-shadow(0 1px 1px #0009); }
.history-page .history-process .history-trail-logo circle { stroke: #ffcf91; fill: #161616; filter: drop-shadow(0 0 3px #ffe4b544); }
.history-page .history-process .history-trail-tooltip { color: #f7e7d1; border-color: #b08b5b66; background: #333333; }
.footer, .support-footer, .home-approved footer {
  color: #c5bba9;
  background: #161616;
  border-top: 1px solid #b59a7033;
}
.footer a, .support-footer a, .home-approved .foot a { color: #eeb17b; }

@media (max-width: 850px) {
  .top.menu-open .links, .top.menu-open .site-nav {
    border-color: #bfa68055;
    background: rgba(31, 26, 21, .98);
    box-shadow: 0 20px 50px #0006;
  }
}
@media (max-width: 540px) {
  .support-page .support-hero::after { width: 220px; top: -70px; }
  .home-approved .cap-grid .cap::before { background-image: linear-gradient(270deg, #23201cf8, #23201cef 45%, #23201ccc), var(--graphite-cap-photo); }
}
@media (min-width: 891px) {
  .history-page .history-process .route { background: transparent; border-color: transparent; box-shadow: none; }
}
@media print {
  html:root { color-scheme: light; }
  body, .history-page .history-process, .support-page .support-content { background: #fff; color: #111; }
  .history-page .history-process .chapter h2, .history-page .history-process .chapter-copy p:not(.eyebrow) { color: #111; }
}


/* One explicit primary navigation and breadcrumb route across the offline site. */
body .top.unified-site-header {
  background: #191a1cf5;
  color: #fff;
  border-bottom-color: #d98a4d;
}
.top.unified-site-header .nav {
  gap: 12px;
  justify-content: space-between;
}
.top.unified-site-header .nav .unified-site-menu {
  display: flex;
  align-items: center;
  gap: 3px;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 4px;
  border: 1px solid #ffffff1f;
  border-radius: 15px;
  background: #ffffff0d;
}
.top.unified-site-header .nav .unified-site-menu > a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 8px;
  border-radius: 10px;
  color: #e5e7e4;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.6;
  white-space: nowrap;
}
.top.unified-site-header .nav .unified-site-menu > a:hover,
.top.unified-site-header .nav .unified-site-menu > a[aria-current] {
  color: #ffc38f;
  border-color: #d1884b80;
  background: #b85a202b;
}
.top.unified-site-header .nav .unified-site-menu > a:focus-visible,
.top.unified-site-header .menu-toggle:focus-visible,
.unified-breadcrumb a:focus-visible {
  outline: 2px solid #eaa167;
  outline-offset: 3px;
}
.top.unified-site-header .nav > .brand { flex-shrink: 0; }
.top.unified-site-header .brand-copy strong { font-size: 13px; white-space: nowrap; }
.top.unified-site-header .brand-copy small { font-size: 8px; letter-spacing: .9px; }
.top.unified-site-header .nav .menu-toggle { display: none; }
.top.unified-site-header .nav-actions { flex-shrink: 0; gap: 8px; }
.top.unified-site-header .portal,
.top.unified-site-header .portal-link { white-space: nowrap; font-size: 11px; }
.unified-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 9px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid #ffffff30;
  border-radius: 12px;
  background: #2a2c2fe8;
  color: #c7cbd0;
  font-size: 12px;
  line-height: 1.8;
}
.unified-breadcrumb a { color: #e0e3e7; text-decoration: none; }
.unified-breadcrumb a:hover { color: #ffc18f; }
.unified-breadcrumb [aria-current] { color: #ffc18f; }
.unified-breadcrumb .breadcrumb-separator { color: #9ca3ac; font-size: 16px; }
@media (max-width: 980px) {
  .top.unified-site-header .nav { position: static; gap: 10px; }
  .top.unified-site-header .nav .menu-toggle {
    display: grid;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    margin-inline-start: auto;
    padding: 0;
    border: 1px solid #e49b5b6b;
    border-radius: 12px;
    color: #ffc38f;
    background: #ffffff12;
    place-items: center;
    cursor: pointer;
  }
  .top.unified-site-header .nav .menu-toggle svg { width: 23px; height: 23px; }
  .top.unified-site-header .nav .unified-site-menu {
    display: none;
    position: absolute;
    z-index: 50;
    top: calc(100% - 1px);
    inset-inline: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: auto;
    max-width: none;
    max-height: calc(100dvh - 100px);
    margin: 0;
    padding: 15px;
    overflow: auto;
    border: 1px solid #ffffff38;
    border-top-color: #d3844f;
    border-radius: 0 0 18px 18px;
    background: #191a1cf7;
    box-shadow: 0 20px 35px #0005;
    backdrop-filter: blur(18px);
  }
  .top.unified-site-header.menu-open .nav .unified-site-menu {
    display: grid;
    top: calc(100% - 1px);
    inset-inline: 14px;
    border-radius: 0 0 18px 18px;
    background: #191a1cf7;
  }
  .top.unified-site-header .nav .unified-site-menu > a {
    display: flex !important;
    min-height: 44px;
    padding: 10px 8px;
    border: 1px solid #ffffff14;
    font-size: 13px;
    white-space: normal;
    text-align: center;
  }
  .top.unified-site-header.menu-open .nav .unified-site-menu > a { min-height: 44px; }
  .top.unified-site-header.menu-open .menu-bars { opacity: 0; }
  .top.unified-site-header.menu-open .menu-close { opacity: 1; transform: scale(1); }
}
@media (max-width: 700px) {
  .top.unified-site-header .brand-copy { display: none; }
  .top.unified-site-header .nav > .brand { padding: 5px 8px; }
  .top.unified-site-header .brand-emblem { width: 46px; height: 46px; }
  .top.unified-site-header .brand-logo,
  .top.unified-site-header .brand > img { width: 44px; height: 42px; object-fit: contain; }
  .top.unified-site-header .nav-actions { margin-inline-start: 0; gap: 7px; }
  .top.unified-site-header .portal,
  .top.unified-site-header .portal-link { min-height: 43px; padding: 8px 10px !important; font-size: 11px; }
  .top.unified-site-header .nav .unified-site-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .top.unified-site-header .nav .unified-site-menu > a:last-child { grid-column: 1 / -1; }
  .unified-breadcrumb { gap: 4px 7px; margin-bottom: 15px; font-size: 11px; }
}

/* Compact navigation; utility controls retain their existing styling. */
.top.unified-site-header .nav .unified-site-menu { gap: 5px; overflow: visible; }
.top.unified-site-header .nav .unified-site-menu > a { padding-inline: 13px; font-size: 12px; }
.top.unified-site-header .nav-capabilities { position: relative; min-width: 0; }
.top.unified-site-header .nav-capabilities-heading { display: flex; align-items: center; border: 1px solid transparent; border-radius: 10px; }
.top.unified-site-header .nav-capabilities-link { display: flex; align-items: center; min-height: 36px; padding: 6px 12px 6px 4px; color: #e5e7e4; font-family: inherit; font-size: 12px; font-weight: 500; line-height: 1.6; text-decoration: none; white-space: nowrap; border: 0; border-radius: 10px; }
.top.unified-site-header .nav-submenu-toggle { display: grid; place-items: center; width: 31px; min-height: 36px; padding: 0; color: #ffc38f; background: transparent; border: 0; border-radius: 8px; cursor: pointer; }
.top.unified-site-header .nav-submenu-toggle svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; transition: transform .2s ease; }
.top.unified-site-header .nav-submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.top.unified-site-header .nav-capabilities.is-active > .nav-capabilities-heading,
.top.unified-site-header .nav-capabilities.is-open > .nav-capabilities-heading { border-color: #d1884b80; background: #b85a202b; }
.top.unified-site-header .nav-capabilities.is-active .nav-capabilities-link { color: #ffc38f; }
.top.unified-site-header .nav-capabilities-link:hover, .top.unified-site-header .nav-submenu-toggle:hover { color: #fff1df; background: #ed8b4124; }
.top.unified-site-header .capabilities-submenu { position: absolute; z-index: 100; inset-inline-start: 0; top: calc(100% + 12px); width: 220px; padding: 8px; border: 1px solid #d1884b66; border-radius: 15px; background: #191a1cfc; box-shadow: 0 18px 35px #0007; backdrop-filter: blur(18px); }
.top.unified-site-header .capabilities-submenu[hidden] { display: none !important; }
.top.unified-site-header .capabilities-submenu a { position: relative; display: flex; align-items: center; min-height: 44px; margin: 2px 0; padding: 10px 13px; border: 1px solid transparent; border-radius: 9px; color: #e5e7e4; background: #ffffff04; font-size: 12px; line-height: 1.8; text-decoration: none; overflow: hidden; transition: color .2s, background .2s, border-color .2s; }
.top.unified-site-header .capabilities-submenu a:hover, .top.unified-site-header .capabilities-submenu a[aria-current] { color: #ffc38f; background: #b85a202b; border-color: #d1884b80; }
.top.unified-site-header .capabilities-submenu a::after { content: ''; position: absolute; inset: -40% auto -40% -45%; width: 22%; transform: rotate(18deg); background: linear-gradient(90deg,transparent,#ffffff4d,transparent); transition: left .55s; }
.top.unified-site-header .capabilities-submenu a:hover::after { left: 125%; }
.top.unified-site-header .nav-submenu-toggle:focus-visible, .top.unified-site-header .nav-capabilities-link:focus-visible, .top.unified-site-header .capabilities-submenu a:focus-visible { outline: 2px solid #eaa167; outline-offset: 2px; }
@media (min-width: 981px) {
  .top.unified-site-header .nav .menu-toggle { display: none; }
  .top.unified-site-header .nav .unified-site-menu { display: flex; position: static; }
}
@media (max-width: 980px) {
  .top.unified-site-header .nav .unified-site-menu,
  .top.unified-site-header.menu-open .nav .unified-site-menu { grid-template-columns: 1fr; overflow: auto; }
  .top.unified-site-header .nav .unified-site-menu > a,
  .top.unified-site-header .nav-capabilities-heading { min-height: 44px; width: 100%; text-align: start; justify-content: flex-start; }
  .top.unified-site-header .nav-capabilities-heading { border-color: #ffffff14; background: #ffffff09; }
  .top.unified-site-header .nav-capabilities-link { flex: 1; min-height: 44px; padding: 10px 8px; font-size: 13px; }
  .top.unified-site-header .nav-submenu-toggle { width: 46px; min-height: 44px; border-inline-start: 1px solid #ffffff14; }
  .top.unified-site-header .capabilities-submenu { position: static; width: auto; margin: 7px 13px 3px 0; padding: 4px; border: 0; border-inline-start: 1px solid #d1884b66; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
  .top.unified-site-header .capabilities-submenu a { min-height: 44px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .top.unified-site-header .nav-submenu-toggle svg, .top.unified-site-header .capabilities-submenu a, .top.unified-site-header .capabilities-submenu a::after { transition: none; } }
/* Transparent NIG logo normalization — 2026-11-14 */
.top.unified-site-header .brand-logo,
.top.unified-site-header .brand > img {
  background: transparent !important;
  mix-blend-mode: normal !important;
  filter: drop-shadow(0 5px 14px rgba(0, 0, 0, 0.32)) !important;
}
.top.unified-site-header .brand:hover .brand-logo,
.top.unified-site-header .brand:hover > img {
  filter: drop-shadow(0 0 8px rgba(255, 185, 120, 0.42)) !important;
}
.nc-pin-core > img,
.history-page .history-trail-logo image {
  background: transparent !important;
  mix-blend-mode: normal !important;
  filter: none !important;
}
/* Service navigation: readable, bounded and keyboard accessible. */
.top.unified-site-header .capabilities-submenu{width:min(300px,calc(100vw - 32px));max-height:calc(100dvh - 120px);overflow-y:auto;overscroll-behavior:contain}
.top.unified-site-header .capabilities-submenu a{font-size:.875rem}
@media(max-width:980px){.top.unified-site-header .capabilities-submenu{width:auto;max-height:none;overflow:visible}.top.unified-site-header .nav .unified-site-menu{max-height:calc(100dvh - 100px);overflow-y:auto}.top.unified-site-header .nav .unified-site-menu>a,.top.unified-site-header .nav-capabilities-link{font-size:.875rem}}

/* Primary articles and industries navigation: 2026-12-01. */
@media(min-width:981px) and (max-width:1180px){.top.unified-site-header .brand-copy{display:none}.top.unified-site-header .nav{gap:8px}.top.unified-site-header .nav .unified-site-menu>a{padding-inline:8px}.top.unified-site-header .nav .unified-site-menu{gap:3px}}


/* Framing changes only; the archival image files stay intact. */
body.history-page #founding .photos.pair {
  align-items:stretch;
}
body.history-page #founding .photos.pair > figure {
  display:grid;
  grid-template-rows:auto 44px;
  align-content:start;
  align-self:stretch;
}
body.history-page #founding .photos.pair img {
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  aspect-ratio:3 / 2;
  object-fit:cover;
  object-position:center top;
}
body.history-page #founding .photos.pair figcaption {
  display:grid;
  align-items:center;
  min-width:0;
  height:100%;
  padding:7px 6px 8px;
  line-height:1.65;
}
/* Trim the paper edges inside the media area, preserving all people. */
body.history-page #founding img[src$="/ground.webp"] {
  transform:scale(1.09);
  transform-origin:88% center;
  clip-path:inset(4.128441% .990826% 4.128441% 7.266055% round 8px);
}
body.history-page #founding img[src$="/first-hall.webp"] {
  transform:scale(1.09);
  clip-path:inset(4.128441% round 8px);
}
/* Keep the complete machine and lifting equipment, with less empty doorway. */
body.history-page #founding img[src$="/first-machine.webp"] {
  width:100%;
  height:auto;
  max-height:none;
  aspect-ratio:7 / 5;
  object-fit:cover;
  object-position:82% center;
  clip-path:inset(0 0 .8% round 8px);
}
/* Focus the readable screen; its original foreground occlusion is unchanged. */
body.history-page #automation img[src$="/monitor.webp"] {
  width:100%;
  height:auto;
  max-height:none;
  aspect-ratio:3 / 2;
  object-fit:cover;
  object-position:5% center;
  clip-path:inset(0 0 0 1% round 8px);
}
