/* ================================================================
   主题 24 / hukou 壶口水幕 —— 临汾
   结构语言：浪线导航 · 跌水三层首屏（垂直递进+金色水线） ·
            漩涡浪条产品（交替底色） · 水位管工序（四管四色水位） ·
            河湾案例 · 渡口牌城市 · 漂流记手记 · 泥浪页脚
   配色：浊金 #B08A2E / 泥褐 #6B5136 / 滩白 #F3EFE7 / 深渊 #43351F
   与朔州(muta 标尺工序)区分：竖直水位管；与大同(shiku 砂岩)区分
   ================================================================ */
:root {
  --gold: #B08A2E;
  --gold-d: #8A6C22;
  --mud: #6B5136;
  --mud-d: #523E28;
  --deep: #43351F;
  --shore: #F3EFE7;
  --shore-2: #EAE4D6;
  --paper: #F6F3EC;
  --ink: #382F20;
  --ink-2: #6F6450;
  --ink-3: #A59A83;
  --line: #D4CBBA;
  --song: 'Songti SC', 'SimSun', '宋体', serif;
  --kai: 'Kaiti SC', 'KaiTi', '楷体', serif;
  --mono: 'SF Mono', 'Consolas', monospace;
  --wrap: 1240px;
  --gut: clamp(18px, 3.4vw, 40px);
  --sec-y: clamp(58px, 8vw, 104px);
}

html { background: var(--paper); }
body.t-hukou {
  font-family: var(--song);
  color: var(--ink);
  background: var(--paper);
  font-size: 16.5px;
  line-height: 1.8;
}
.t-hukou ::selection { background: var(--gold); color: #fff; }
.t-hukou img { display: block; max-width: 100%; }
.t-hukou h1, .t-hukou h2, .t-hukou h3 { font-weight: 600; letter-spacing: .06em; }

/* ---------------- 浪线导航 ---------------- */
.hna {
  position: sticky; top: 0; z-index: 60;
  background: var(--deep);
}
.hna-in {
  max-width: var(--wrap); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gut); height: 66px; position: relative;
}
.hna-brand { display: flex; align-items: center; gap: 11px; color: var(--shore); text-decoration: none; flex: none; }
.hna-brand > svg { width: 36px; height: 36px; flex: none; }
.hna-brand span { display: flex; flex-direction: column; line-height: 1.3; white-space: nowrap; }
.hna-brand b { font-size: 15.5px; letter-spacing: .14em; }
.hna-brand i { font-style: normal; font-size: 9px; letter-spacing: .26em; color: rgba(243, 239, 231, .5); font-family: var(--mono); }
.hna-links { display: flex; align-items: stretch; height: 66px; }
.hna-links a {
  display: inline-flex; align-items: center; padding: 0 15px;
  color: rgba(243, 239, 231, .8); text-decoration: none;
  font-size: 14.5px; letter-spacing: .14em; position: relative;
}
.hna-links a:hover, .hna-links a.on { color: var(--shore); }
.hna-links a.on::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 12px; height: 4px;
  background: radial-gradient(circle 2px at 6px 50%, var(--gold) 98%, transparent),
              radial-gradient(circle 2px at 16px 50%, var(--gold) 98%, transparent),
              radial-gradient(circle 2px at 26px 50%, var(--gold) 98%, transparent);
  background-size: 12px 4px;
}
.hna-act { display: flex; align-items: center; gap: 12px; flex: none; }
.hna-act button { background: none; border: none; cursor: pointer; color: rgba(243, 239, 231, .8); display: inline-flex; padding: 6px; }
.hna-act button:hover { color: var(--shore); }
.hna-act .tel {
  font-family: var(--mono); font-size: 13.5px; font-weight: 700; white-space: nowrap;
  color: #fff; text-decoration: none;
  background: var(--gold); padding: 7px 13px;
}
.hna-act .tel:hover { background: var(--gold-d); }
.hna-burger { display: none; }

.hdrawer {
  position: fixed; inset: 0; z-index: 90; background: var(--deep);
  opacity: 0; visibility: hidden; transition: opacity .28s, visibility .28s;
  display: flex; flex-direction: column; padding: 24px var(--gut); overflow-y: auto;
}
.hdrawer.on { opacity: 1; visibility: visible; }
.hdrawer-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid rgba(243, 239, 231, .2); }
.hdrawer-top b { letter-spacing: .16em; font-size: 17px; color: var(--shore); }
.hdrawer-top button { background: none; border: none; cursor: pointer; color: var(--shore); padding: 4px; }
.hdrawer nav { display: flex; flex-direction: column; padding-top: 10px; }
.hdrawer nav a {
  padding: 15px 6px; font-size: 16.5px; letter-spacing: .2em;
  color: rgba(243, 239, 231, .85); text-decoration: none;
  border-bottom: 1px solid rgba(243, 239, 231, .1);
}
.hdrawer nav a:hover { color: var(--shore); }
.hdrawer-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: rgba(243, 239, 231, .6); padding-top: 18px; }
.hdrawer-foot a { color: var(--gold); text-decoration: none; font-family: var(--mono); }
.hdrawer-foot button { align-self: flex-start; background: none; border: 1px solid var(--gold); padding: 8px 18px; cursor: pointer; font-family: var(--song); font-size: 14px; color: var(--shore); letter-spacing: .2em; }

/* ---------------- 跌水三层首屏 ---------------- */
.falls {
  position: relative; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(176, 138, 46, .08), transparent 42%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}
.falls-in {
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(36px, 5.4vw, 74px) var(--gut) clamp(40px, 5.6vw, 78px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(26px, 4.2vw, 56px); align-items: center;
}
.falls-copy { position: relative; z-index: 2; }
.falls-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .28em;
  color: var(--ink-3); margin-bottom: 16px;
}
.falls-kicker::before {
  content: '临'; width: 24px; height: 24px; display: inline-grid; place-items: center;
  background: var(--mud); color: #fff; font-family: var(--kai); font-size: 13px;
  border-radius: 50%;
}
.falls-copy h1 {
  margin: 0 0 20px; font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.42; color: var(--mud-d); text-wrap: balance;
}
.falls-copy h1 em { font-style: normal; color: var(--gold-d); }
.falls-sub { color: var(--ink-2); font-size: clamp(14.5px, 1.2vw, 16px); margin: 0 0 26px; max-width: 44em; }
.falls-act { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.falls-act .a1 {
  text-decoration: none; padding: 12px 26px; font-size: 15px; letter-spacing: .18em;
  background: var(--deep); color: var(--shore); transition: background .2s;
}
.falls-act .a1:hover { background: var(--gold); }
.falls-act .a2 {
  text-decoration: none; padding: 12px 26px; font-size: 15px; letter-spacing: .18em;
  color: var(--ink); border: 1px solid var(--ink-2); transition: border-color .2s, color .2s;
}
.falls-act .a2:hover { border-color: var(--gold); color: var(--gold-d); }
.falls-facts {
  display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--ink-2);
}
.falls-facts span { padding: 10px 20px 0 0; margin-right: 14px; display: inline-flex; align-items: baseline; gap: 7px; }
.falls-facts b { font-family: var(--mono); font-size: 19px; color: var(--gold-d); font-weight: 700; }

/* 跌水三层 */
.drop { display: flex; flex-direction: column; gap: 14px; }
.ledge { position: relative; background: var(--deep); }
.ledge img { width: 100%; height: clamp(88px, 10.5vw, 128px); object-fit: cover; opacity: .87; }
.ledge .ll {
  position: absolute; left: 14px; top: 10px;
  font-family: var(--kai); font-size: 11px; letter-spacing: .26em;
  color: var(--shore); background: rgba(67, 53, 31, .62); padding: 2px 10px;
}
.ledge::before {
  content: ''; position: absolute; left: -14px; top: -6px; bottom: -6px; width: 8px;
  background: linear-gradient(180deg, var(--gold), var(--gold-d));
}
.ledge:nth-child(2) { margin-left: 6%; }
.ledge:nth-child(2)::before { left: calc(-14px - 6%); }
.ledge:nth-child(3) { margin-left: 12%; }
.ledge:nth-child(3)::before { left: calc(-14px - 12%); }
.drop .foam {
  height: 10px; margin: 2px 6% 0;
  background: radial-gradient(circle 3px at 8px 5px, var(--gold) 98%, transparent),
              radial-gradient(circle 2px at 26px 5px, var(--ink-3) 98%, transparent);
  background-size: 34px 10px;
  opacity: .8;
}

/* ---------------- 节头 ---------------- */
.m-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; }
.m-head .l { display: flex; align-items: baseline; gap: 16px; }
.m-head .no { font-family: var(--mono); font-size: 11px; letter-spacing: .24em; color: var(--gold-d); border-bottom: 2px solid var(--gold); padding-bottom: 3px; }
.m-head h2 { font-size: clamp(1.4rem, 2.3vw, 1.9rem); margin: 0; }
.m-head > p { margin: 0; color: var(--ink-2); font-size: 14.5px; max-width: 30em; }
.m-head a.more { color: var(--mud-d); text-decoration: none; font-size: 14px; letter-spacing: .12em; border-bottom: 1px solid var(--mud); padding-bottom: 2px; }
.m-head a.more:hover { color: var(--gold-d); border-color: var(--gold); }

/* ---------------- 漩涡浪条产品 ---------------- */
.rapid-sec { padding: var(--sec-y) 0; border-bottom: 1px solid var(--line); }
.rapids { max-width: var(--wrap); margin: clamp(26px, 3.6vw, 44px) auto 0; padding: 0 var(--gut); display: flex; flex-direction: column; gap: 10px; }
.rapid {
  display: grid; grid-template-columns: 46px minmax(0, 1fr) 180px; gap: clamp(12px, 2vw, 24px); align-items: center;
  padding: 13px 18px; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line);
  transition: border-color .2s;
}
.rapid:nth-child(odd) { background: var(--shore); }
.rapid:nth-child(even) { background: var(--paper); }
.rapid:hover { border-color: var(--gold); }
.rapid .vortex {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid var(--gold);
  border-top-color: var(--mud);
  flex: none;
}
.rapid .nm { min-width: 0; }
.rapid .nm b { display: block; font-size: 16.5px; letter-spacing: .1em; color: var(--mud-d); font-weight: 600; }
.rapid:hover .nm b { color: var(--gold-d); }
.rapid .nm i { display: block; font-style: normal; font-size: 12.5px; color: var(--ink-2); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rapid .thumb { height: clamp(54px, 6vw, 76px); overflow: hidden; background: var(--deep); }
.rapid .thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .25s; }
.rapid:hover .thumb img { opacity: 1; }

/* ---------------- 水位管工序 ---------------- */
.gauge-sec { padding: var(--sec-y) 0; background: var(--deep); color: var(--shore); }
.gauge-sec .m-head h2 { color: var(--shore); }
.gauge-sec .m-head .no { color: var(--gold); border-color: var(--gold); }
.gauge-sec .m-head > p { color: rgba(243, 239, 231, .7); }
.gauges {
  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, 1.8vw, 22px);
  align-items: end;
}
.gauge .tube {
  position: relative; height: 110px;
  border: 1px solid rgba(243, 239, 231, .35); border-bottom-width: 3px;
  background: repeating-linear-gradient(0deg, transparent 0 12px, rgba(243, 239, 231, .14) 12px 13px);
  display: flex; align-items: flex-end;
}
.gauge .water { width: 100%; display: block; }
.gauge:nth-child(1) .water { height: 44%; background: var(--mud); }
.gauge:nth-child(2) .water { height: 60%; background: var(--gold-d); }
.gauge:nth-child(3) .water { height: 78%; background: var(--gold); }
.gauge:nth-child(4) .water { height: 92%; background: #C9A854; }
.gauge .gn { font-family: var(--mono); font-size: 10.5px; letter-spacing: .22em; color: rgba(243, 239, 231, .55); }
.gauge h3 { margin: 7px 0 8px; font-size: 17px; letter-spacing: .12em; color: var(--shore); }
.gauge p { margin: 0; font-size: 13.6px; color: rgba(243, 239, 231, .72); line-height: 1.8; }
.gauge .tube { margin-bottom: 14px; }

/* ---------------- 河湾案例 ---------------- */
.bay-sec { padding: var(--sec-y) 0; border-bottom: 1px solid var(--line); }
.bays { max-width: var(--wrap); margin: clamp(26px, 3.6vw, 44px) auto 0; padding: 0 var(--gut); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.bay { text-decoration: none; color: var(--ink); background: var(--shore); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.bay:hover { border-color: var(--gold); transform: translateY(-3px); }
.bay .fig { position: relative; overflow: hidden; }
.bay .fig img { width: 100%; aspect-ratio: 4 / 2.5; object-fit: cover; }
.bay .fig::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: linear-gradient(90deg, var(--gold), var(--gold-d) 50%, var(--mud));
}
.bay .body { padding: 15px 18px 17px; display: flex; flex-direction: column; flex: 1; }
.bay .loc { font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; color: var(--gold-d); }
.bay h3 { margin: 7px 0 7px; font-size: 16.5px; line-height: 1.55; }
.bay:hover h3 { color: var(--mud-d); }
.bay p { margin: 0 0 10px; font-size: 13.3px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bay .go { margin-top: auto; font-size: 13px; color: var(--mud-d); letter-spacing: .14em; }
.bay:hover .go { color: var(--gold-d); }

/* ---------------- 渡口牌城市 ---------------- */
.ferry-sec { padding: var(--sec-y) 0; background: var(--shore-2); border-bottom: 1px solid var(--line); }
.ferrys { max-width: var(--wrap); margin: clamp(30px, 4vw, 50px) auto 0; padding: 0 var(--gut); display: flex; flex-wrap: wrap; gap: 26px 20px; }
.ferry { position: relative; }
.ferry::before {
  content: ''; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 1px; height: 14px; background: var(--ink-3);
}
.ferry::after {
  content: ''; position: absolute; top: -3px; left: 50%; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
}
.ferry a {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  min-width: 84px; padding: 12px 16px 13px; text-decoration: none;
  background: var(--paper); border: 1px solid var(--line);
  border-top: 4px solid var(--mud);
  color: var(--ink); font-size: 15px; letter-spacing: .12em;
  transition: color .2s, border-color .2s;
}
.ferry a i { font-style: normal; font-family: var(--mono); font-size: 9.5px; color: var(--ink-3); letter-spacing: .08em; }
.ferry a:hover { border-color: var(--gold); color: var(--mud-d); }
.ferry a.cur { background: var(--deep); border-color: var(--deep); border-top-color: var(--gold); color: var(--shore); }
.ferry a.cur i { color: rgba(243, 239, 231, .6); }

/* ---------------- 漂流记手记 ---------------- */
.drift-sec { padding: var(--sec-y) 0; border-bottom: 1px solid var(--line); }
.drifts { 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(14px, 2vw, 26px); }
.drift {
  text-decoration: none; color: var(--ink); background: var(--shore);
  border: 1px solid var(--line); border-left: 5px solid var(--gold);
  padding: 18px 16px 15px; display: flex; flex-direction: column; gap: 9px;
  transition: transform .2s;
}
.drift:hover { transform: translateY(-3px); }
.drift .n { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: var(--gold-d); }
.drift h3 { margin: 0; font-size: 15px; line-height: 1.65; font-weight: 500; letter-spacing: .04em; }
.drift:hover h3 { color: var(--mud-d); }
.drift time { font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-top: auto; padding-top: 8px; }

/* ---------------- 泥浪页脚 ---------------- */
.hfoot { background: var(--deep); color: var(--shore); }
.hfoot-waves {
  height: 18px;
  background:
    radial-gradient(circle 7px at 10px 18px, var(--mud) 98%, transparent),
    radial-gradient(circle 5px at 28px 18px, var(--gold-d) 98%, transparent);
  background-size: 44px 18px;
  border-top: 2px solid var(--gold);
}
.hfoot-in {
  max-width: var(--wrap); margin: 0 auto; padding: clamp(34px, 4.6vw, 54px) var(--gut) 26px;
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px);
}
.hfoot h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 17px; letter-spacing: .14em; }
.hfoot h3 svg { width: 32px; height: 32px; flex: none; }
.hfoot p { margin: 0 0 8px; font-size: 13.5px; color: rgba(243, 239, 231, .75); line-height: 2.05; }
.hfoot p b { font-weight: 600; color: var(--shore); margin-right: 4px; }
.hfoot p a { color: #D4B566; text-decoration: none; font-family: var(--mono); font-size: 13px; }
.hfoot p a:hover { text-decoration: underline; }
.hfoot-links { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 14px; font-size: 13px; }
.hfoot-links a { color: rgba(243, 239, 231, .72); text-decoration: none; padding: 3px 0; margin-right: 18px; letter-spacing: .1em; }
.hfoot-links a:hover { color: var(--shore); }
.hfoot-links button { background: none; border: none; cursor: pointer; font-family: var(--song); font-size: 13px; color: rgba(243, 239, 231, .72); letter-spacing: .1em; padding: 3px 0; }
.hfoot-links button:hover { color: var(--shore); }
.hfoot-right { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.hfoot-motto { font-family: var(--kai); font-size: 15px; color: rgba(243, 239, 231, .55); letter-spacing: .5em; writing-mode: vertical-rl; height: 126px; }
.hfoot-copy {
  max-width: var(--wrap); margin: 0 auto; padding: 16px var(--gut) 22px;
  border-top: 1px solid rgba(243, 239, 231, .18);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 12px; color: rgba(243, 239, 231, .5); letter-spacing: .08em;
}

/* ---------------- 移动快捷条 ---------------- */
.mbarB {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 70; display: none;
  background: var(--mud-d); color: var(--shore); border-top: 2px solid var(--gold);
}
.mbarB 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; }
.mbarB a b { font-size: 14px; font-weight: 500; font-family: var(--mono); letter-spacing: .04em; }
.mbarB a.hot b { color: #D4B566; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1020px) {
  .hna-links { display: none; }
  .hna-burger { display: inline-flex; background: none; border: none; cursor: pointer; color: var(--shore); padding: 6px; }
  .falls-in { grid-template-columns: 1fr; }
  .rapid { grid-template-columns: 46px minmax(0, 1fr); }
  .rapid .thumb { display: none; }
  .gauges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gauge .tube { height: 84px; }
  .bays { grid-template-columns: 1fr; }
  .drifts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hfoot-in { grid-template-columns: 1fr; }
  .hfoot-right { align-items: flex-start; }
  .hfoot-motto { height: auto; writing-mode: horizontal-tb; }
}
@media (max-width: 640px) {
  body.t-hukou { font-size: 15.5px; }
  .hna-in { height: 60px; gap: 12px; }
  .hna-act .tel { display: none; }
  .falls-in { padding-top: 30px; }
  .ledge { margin-left: 0 !important; }
  .ledge::before { left: -10px !important; }
  .drop .foam { margin-left: 0; }
  .rapid { grid-template-columns: 1fr; gap: 8px; }
  .rapid .vortex { display: none; }
  .gauges { grid-template-columns: 1fr; }
  .drifts { grid-template-columns: 1fr; }
  .mbarB { display: flex; }
  body.t-hukou { padding-bottom: 58px; }
  .hfoot-copy { flex-direction: column; gap: 4px; }
}
