/* ================================================================
   主题 17 / lutang 炉膛焰色 —— 阳泉
   结构语言：工装导航 · 炉口圆窗首屏 · 窑门拱条产品卡 ·
            三段色温工序 · 铁轨案例排 · 矿灯点阵城市 · 检修记录手记 · 炉排页脚
   配色：炭黑 #23272B / 铁灰 #33383D / 焰橙 #E2582A / 铁锈 #8C3B24 / 灰白 #D8D4CC
   与酒泉(xingtu 深空蓝铜)区分：工业炭黑+焰橙+圆窗；与金昌(tupu 白底黄)区分
   ================================================================ */
:root {
  --coal: #23272B;
  --iron: #33383D;
  --iron-2: #3E444B;
  --ember: #E2582A;
  --ember-d: #B8431C;
  --rust: #8C3B24;
  --ash: #D8D4CC;
  --ash-2: #A8A49C;
  --ash-3: #767A80;
  --line-d: #4A5057;
  --hei: 'PingFang SC', 'Microsoft YaHei', '黑体', sans-serif;
  --mono: 'SF Mono', 'Consolas', 'Courier New', monospace;
  --wrap: 1240px;
  --gut: clamp(18px, 3.4vw, 40px);
  --sec-y: clamp(58px, 8vw, 104px);
}

html { background: var(--coal); }
body.t-lutang {
  font-family: var(--hei);
  color: var(--ash);
  background: var(--coal);
  font-size: 16px;
  line-height: 1.85;
}
.t-lutang ::selection { background: var(--ember); color: #fff; }
.t-lutang img { display: block; max-width: 100%; }
.t-lutang h1, .t-lutang h2, .t-lutang h3 { font-weight: 600; letter-spacing: .04em; color: #F1EEE8; }

/* ---------------- 工装导航 ---------------- */
.inav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(35, 39, 43, .96);
  border-bottom: 1px solid var(--line-d);
  backdrop-filter: blur(6px);
}
.inav::before {
  content: ''; display: block; height: 3px;
  background: linear-gradient(90deg, var(--rust), var(--ember) 38%, #F0A03A 62%, var(--ember) 82%, var(--rust));
}
.inav-in {
  max-width: var(--wrap); margin: 0 auto;
  display: flex; align-items: center; gap: 20px;
  padding: 0 var(--gut); height: 68px;
}
.inav-brand { display: flex; align-items: center; gap: 11px; color: var(--ash); text-decoration: none; flex: none; }
.inav-brand > svg { width: 36px; height: 36px; flex: none; }
.inav-brand span { display: flex; flex-direction: column; line-height: 1.3; white-space: nowrap; }
.inav-brand b { font-size: 15.5px; letter-spacing: .14em; }
.inav-brand i { font-style: normal; font-size: 9px; letter-spacing: .26em; color: var(--ash-3); font-family: var(--mono); }

.inav-links { display: flex; margin-left: auto; gap: 26px; }
.inav-links a {
  color: var(--ash-2); text-decoration: none; font-size: 14.5px; letter-spacing: .12em;
  position: relative; padding: 6px 0;
}
.inav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--ember); transition: width .22s;
}
.inav-links a:hover::after, .inav-links a.on::after { width: 100%; }
.inav-links a.on, .inav-links a:hover { color: #F1EEE8; }
.inav-act { display: flex; align-items: center; gap: 12px; flex: none; }
.inav-act button { background: none; border: none; cursor: pointer; color: var(--ash-2); display: inline-flex; padding: 6px; }
.inav-act button:hover { color: var(--ember); }
.inav-act .tel {
  font-family: var(--mono); font-size: 13.5px; font-weight: 700;
  color: #fff; text-decoration: none; letter-spacing: .02em;
  background: var(--ember); padding: 7px 14px; transition: background .2s;
}
.inav-act .tel:hover { background: var(--ember-d); }
.inav-burger { display: none; }

.idrawer {
  position: fixed; inset: 0; z-index: 90; background: var(--coal);
  opacity: 0; visibility: hidden; transition: opacity .28s, visibility .28s;
  display: flex; flex-direction: column; padding: 24px var(--gut); overflow-y: auto;
}
.idrawer.on { opacity: 1; visibility: visible; }
.idrawer-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line-d); }
.idrawer-top b { letter-spacing: .16em; font-size: 17px; color: #F1EEE8; }
.idrawer-top button { background: none; border: none; cursor: pointer; color: var(--ash); padding: 4px; }
.idrawer nav { display: flex; flex-direction: column; padding-top: 10px; }
.idrawer nav a {
  padding: 15px 6px; font-size: 16.5px; letter-spacing: .2em;
  color: var(--ash-2); text-decoration: none; border-bottom: 1px solid rgba(74, 80, 87, .55);
}
.idrawer nav a:hover { color: var(--ember); }
.idrawer-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: var(--ash-3); padding-top: 18px; }
.idrawer-foot a { color: var(--ember); text-decoration: none; font-family: var(--mono); }
.idrawer-foot button { align-self: flex-start; background: none; border: 1px solid var(--ember); padding: 8px 18px; cursor: pointer; font-family: var(--hei); font-size: 14px; color: var(--ash); letter-spacing: .2em; }

/* ---------------- 炉口圆窗首屏 ---------------- */
.furnace {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 62% 78% at 50% 118%, rgba(226, 88, 42, .16), transparent 60%),
    radial-gradient(ellipse 40% 46% at 84% 30%, rgba(140, 59, 36, .12), transparent 60%),
    var(--coal);
  border-bottom: 1px solid var(--line-d);
}
.furnace-in {
  position: relative; max-width: var(--wrap); margin: 0 auto;
  padding: clamp(42px, 6.6vw, 88px) var(--gut) clamp(46px, 6.8vw, 92px);
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(30px, 4.6vw, 64px); align-items: center;
}
.furnace-copy { position: relative; z-index: 2; }
.furnace-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .28em;
  color: var(--ash-3); margin-bottom: 16px;
}
.furnace-kicker::before {
  content: '陽'; width: 24px; height: 24px; display: inline-grid; place-items: center;
  background: var(--ember); color: #fff; font-size: 13px; font-weight: 700;
}
.furnace-copy h1 {
  margin: 0 0 20px; font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.42; color: #F1EEE8; text-wrap: balance;
}
.furnace-copy h1 em { font-style: normal; color: var(--ember); }
.furnace-sub { color: var(--ash-2); font-size: clamp(14.5px, 1.2vw, 16px); margin: 0 0 26px; max-width: 44em; }
.furnace-act { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.furnace-act .a1 {
  text-decoration: none; padding: 12px 26px; font-size: 15px; letter-spacing: .16em;
  background: var(--ember); color: #fff; border: 1px solid var(--ember);
  transition: background .2s;
}
.furnace-act .a1:hover { background: var(--ember-d); }
.furnace-act .a2 {
  text-decoration: none; padding: 12px 26px; font-size: 15px; letter-spacing: .16em;
  color: var(--ash); border: 1px solid var(--ash-3); transition: border-color .2s, color .2s;
}
.furnace-act .a2:hover { border-color: var(--ember); color: var(--ember); }
.furnace-facts {
  display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line-d);
  font-size: 13.5px; color: var(--ash-2);
}
.furnace-facts span { padding: 10px 20px 0 0; margin-right: 14px; display: inline-flex; align-items: baseline; gap: 7px; }
.furnace-facts b { font-family: var(--mono); font-size: 19px; color: var(--ember); font-weight: 700; }

/* 炉口圆窗：大圆图+旋转刻度环 */
.port { position: relative; display: grid; place-items: center; min-height: 380px; }
.port-ring {
  position: absolute; width: min(88%, 400px); aspect-ratio: 1; border-radius: 50%;
  border: 1px dashed var(--line-d);
  animation: port-spin 46s linear infinite;
}
@keyframes port-spin { to { transform: rotate(360deg); } }
.port-ring i {
  position: absolute; top: -5px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px;
  background: var(--ember); border-radius: 50%;
  box-shadow: 0 0 14px rgba(226, 88, 42, .8);
}
.port-glass {
  width: min(72%, 330px); aspect-ratio: 1; border-radius: 50%;
  overflow: hidden; position: relative;
  border: 10px solid var(--iron);
  box-shadow: 0 0 0 2px var(--line-d), 0 24px 60px -20px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(216, 212, 204, .14);
}
.port-glass img { width: 100%; height: 100%; object-fit: cover; }
.port-glass::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .14), transparent 44%);
  pointer-events: none;
}
.port-cap {
  position: absolute; bottom: 2%; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 10px; letter-spacing: .3em; color: var(--ash-3);
  white-space: nowrap;
}

/* ---------------- 节头 ---------------- */
.f-head { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
.f-head .l { display: flex; align-items: baseline; gap: 16px; }
.f-head .no { font-family: var(--mono); font-size: 11px; letter-spacing: .24em; color: var(--ember); border-bottom: 2px solid var(--ember); padding-bottom: 3px; }
.f-head h2 { font-size: clamp(1.4rem, 2.3vw, 1.9rem); margin: 0; }
.f-head > p { margin: 0; color: var(--ash-2); font-size: 14.5px; max-width: 30em; }
.f-head a.more { color: var(--ember); text-decoration: none; font-size: 14px; letter-spacing: .12em; border-bottom: 1px solid var(--ember); padding-bottom: 2px; }
.f-head a.more:hover { color: #F0A03A; border-color: #F0A03A; }

/* ---------------- 窑门拱条产品 ---------------- */
.door-sec { padding: var(--sec-y) 0; border-bottom: 1px solid var(--line-d); }
.doors { max-width: var(--wrap); margin: clamp(26px, 3.6vw, 44px) auto 0; padding: 0 var(--gut); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.door {
  text-decoration: none; color: var(--ash); display: flex; flex-direction: column;
  background: var(--iron); border: 1px solid var(--line-d);
  transition: transform .22s, border-color .22s;
}
.door:hover { transform: translateY(-4px); border-color: var(--ember); }
.door-fig { position: relative; aspect-ratio: 3 / 3.2; overflow: hidden; }
.door-fig::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: var(--iron);
  clip-path: ellipse(50% 50% at 50% 50%);
  transform: scale(1.14);
  opacity: 0; transition: opacity .25s;
}
.door:hover .door-fig::before { opacity: 0; }
.door-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.door:hover .door-fig img { transform: scale(1.06); }
.door-fig .arch {
  position: absolute; left: 8%; right: 8%; bottom: 0; height: 46%; z-index: 2; pointer-events: none;
  border: 2px solid var(--ember); border-bottom: none;
  border-radius: 999px 999px 0 0;
}
.door-body { padding: 12px 14px 14px; }
.door-no { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: var(--ash-3); }
.door-body h3 { margin: 5px 0 4px; font-size: 15px; }
.door-body p { margin: 0; font-size: 12.5px; color: var(--ash-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------- 三段色温工序 ---------------- */
.heat-sec { padding: var(--sec-y) 0; background: var(--iron); border-bottom: 1px solid var(--line-d); }
.heats { max-width: var(--wrap); margin: clamp(26px, 3.6vw, 44px) auto 0; padding: 0 var(--gut); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 22px); }
.heat {
  position: relative; padding: 24px 22px 22px; background: var(--coal);
  border-top: 4px solid; display: flex; flex-direction: column; min-height: 230px;
}
.heat:nth-child(1) { border-color: #7A8694; }
.heat:nth-child(2) { border-color: var(--ember); }
.heat:nth-child(3) { border-color: #F0A03A; }
.heat:nth-child(4) { border-color: #F4E3B8; }
.heat .deg {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em; color: var(--ash-3);
}
.heat h3 { margin: 0 0 10px; font-size: 18px; letter-spacing: .14em; }
.heat p { margin: 0; font-size: 13.8px; color: var(--ash-2); flex: 1; }
.heat .bar {
  margin-top: 18px; height: 6px;
  background: repeating-linear-gradient(90deg, currentColor 0 8px, transparent 8px 12px);
}
.heat:nth-child(1) .bar { color: #7A8694; }
.heat:nth-child(2) .bar { color: var(--ember); }
.heat:nth-child(3) .bar { color: #F0A03A; }
.heat:nth-child(4) .bar { color: #F4E3B8; }
.heat .en { margin-top: 10px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .26em; color: var(--ash-3); }

/* ---------------- 铁轨案例排 ---------------- */
.rail-sec { padding: var(--sec-y) 0; border-bottom: 1px solid var(--line-d); }
.rails { max-width: var(--wrap); margin: clamp(26px, 3.6vw, 44px) auto 0; padding: 0 var(--gut); position: relative; }
.rails::before, .rails::after {
  content: ''; position: absolute; left: var(--gut); right: var(--gut); height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-d) 0 26px, transparent 26px 34px);
  pointer-events: none;
}
.rails::before { top: 0; }
.rails::after { bottom: 0; }
.rails-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); padding: 22px 0; }
.rail-car {
  text-decoration: none; color: var(--ash); background: var(--iron); border: 1px solid var(--line-d);
  display: flex; flex-direction: column; transition: border-color .22s, transform .22s;
}
.rail-car:hover { border-color: var(--ember); transform: translateY(-3px); }
.rail-car .wheels { display: flex; gap: 10px; padding: 8px 14px 0; }
.rail-car .wheels i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ash-3); }
.rail-car:hover .wheels i { border-color: var(--ember); }
.rail-fig img { width: 100%; aspect-ratio: 4 / 2.8; object-fit: cover; margin-top: 10px; }
.rail-body { padding: 14px 16px 16px; }
.rail-loc { font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; color: var(--ember); }
.rail-body h3 { margin: 7px 0 6px; font-size: 16px; line-height: 1.55; }
.rail-body p { margin: 0; font-size: 13.3px; color: var(--ash-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------------- 矿灯点阵城市 ---------------- */
.lamp-sec { padding: var(--sec-y) 0; background: var(--iron); border-bottom: 1px solid var(--line-d); }
.lamps { max-width: var(--wrap); margin: clamp(26px, 3.6vw, 44px) auto 0; padding: 0 var(--gut); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.lamps a {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 22px 6px 14px; text-decoration: none; color: var(--ash-2);
  background: var(--coal); border: 1px solid var(--line-d);
  font-size: 14.5px; letter-spacing: .1em; transition: color .2s, border-color .2s;
}
.lamps a::before {
  content: ''; width: 10px; height: 10px; border-radius: 50%;
  background: var(--ash-3); transition: background .2s, box-shadow .2s;
}
.lamps a i { font-style: normal; font-family: var(--mono); font-size: 8.5px; color: var(--ash-3); letter-spacing: .12em; }
.lamps a:hover { color: #F1EEE8; border-color: var(--ash-3); }
.lamps a:hover::before { background: #F0A03A; box-shadow: 0 0 10px rgba(240, 160, 58, .7); }
.lamps a.cur { color: #F1EEE8; border-color: var(--ember); }
.lamps a.cur::before { background: var(--ember); box-shadow: 0 0 14px rgba(226, 88, 42, .9); }
.lamps a.cur i { color: var(--ember); }

/* ---------------- 检修记录手记 ---------------- */
.log-sec { padding: var(--sec-y) 0; border-bottom: 1px solid var(--line-d); }
.logs { max-width: var(--wrap); margin: clamp(26px, 3.6vw, 44px) auto 0; padding: 0 var(--gut); }
.llog {
  display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 18px; align-items: baseline;
  padding: 16px 6px; border-bottom: 1px solid var(--line-d); text-decoration: none; color: var(--ash);
  font-family: var(--mono);
}
.llog:hover { background: rgba(226, 88, 42, .06); }
.llog time { font-size: 12.5px; color: var(--ash-3); letter-spacing: .1em; }
.llog h3 { margin: 0; font-family: var(--hei); font-size: 16px; letter-spacing: .04em; color: var(--ash); font-weight: 500; }
.llog:hover h3 { color: #fff; }
.llog .st { font-size: 10.5px; letter-spacing: .2em; color: var(--ember); border: 1px solid var(--ember); padding: 2px 9px; white-space: nowrap; }

/* ---------------- 炉排页脚 ---------------- */
.furn-foot { background: var(--coal); }
.furn-foot-grate { height: 22px; background: repeating-linear-gradient(90deg, var(--iron-2) 0 18px, var(--coal) 18px 24px); border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.ff-in {
  max-width: var(--wrap); margin: 0 auto; padding: clamp(36px, 5vw, 58px) var(--gut) 26px;
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px);
}
.ff-in h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 17px; letter-spacing: .14em; }
.ff-in h3 svg { width: 32px; height: 32px; flex: none; }
.ff-in p { margin: 0 0 8px; font-size: 13.5px; color: var(--ash-2); line-height: 2.05; }
.ff-in p b { font-weight: 600; color: var(--ash); margin-right: 4px; }
.ff-in p a { color: var(--ember); text-decoration: none; font-family: var(--mono); font-size: 13px; }
.ff-in p a:hover { text-decoration: underline; }
.ff-links { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 14px; font-size: 13px; }
.ff-links a { color: var(--ash-2); text-decoration: none; padding: 3px 0; margin-right: 18px; letter-spacing: .1em; }
.ff-links a:hover { color: var(--ember); }
.ff-links button { background: none; border: none; cursor: pointer; font-family: var(--hei); font-size: 13px; color: var(--ash-2); letter-spacing: .1em; padding: 3px 0; }
.ff-links button:hover { color: var(--ember); }
.ff-right { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.ff-gauge { width: 120px; height: 8px; background: var(--iron); position: relative; }
.ff-gauge::after { content: ''; position: absolute; inset: 0; right: 22%; background: linear-gradient(90deg, var(--rust), var(--ember), #F0A03A); }
.ff-motto { font-family: var(--mono); font-size: 11px; color: var(--ash-3); letter-spacing: .4em; }
.ff-copy {
  max-width: var(--wrap); margin: 0 auto; padding: 16px var(--gut) 22px;
  border-top: 1px solid var(--line-d);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 12px; color: var(--ash-3); letter-spacing: .08em;
}

/* ---------------- 移动快捷条 ---------------- */
.mbar8 {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 70; display: none;
  background: var(--iron); color: var(--ash); border-top: 2px solid var(--ember);
}
.mbar8 a { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 0 9px; text-decoration: none; color: inherit; font-size: 10px; letter-spacing: .2em; }
.mbar8 a b { font-size: 14px; font-weight: 500; font-family: var(--mono); letter-spacing: .04em; }
.mbar8 a.hot b { color: var(--ember); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1020px) {
  .inav-links { display: none; }
  .inav-burger { display: inline-flex; background: none; border: none; cursor: pointer; color: var(--ash); padding: 6px; }
  .doors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .heats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lamps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ff-in { grid-template-columns: 1fr; }
  .ff-right { align-items: flex-start; }
}
@media (max-width: 640px) {
  body.t-lutang { font-size: 15px; }
  .inav-in { height: 60px; gap: 12px; }
  .inav-act .tel { display: none; }
  .furnace-in { grid-template-columns: 1fr; padding-top: 34px; }
  .port { min-height: 320px; }
  .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .heats { grid-template-columns: 1fr; }
  .heat { min-height: 0; }
  .rails-in { grid-template-columns: 1fr; }
  .lamps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .llog { grid-template-columns: 88px minmax(0, 1fr); }
  .llog .st { display: none; }
  .mbar8 { display: flex; }
  body.t-lutang { padding-bottom: 58px; }
  .ff-copy { flex-direction: column; gap: 4px; }
}
