
  :root{
    --paper:#f3ece0;       /* 牛皮紙米白 */
    --paper-2:#ece2d2;     /* 較深紙色 */
    --ink:#2a2520;         /* 墨黑 */
    --ink-soft:#4f463c;    /* 柔墨 */
    --clay:#9c3b28;        /* 磚紅 */
    --clay-deep:#83301f;
    --ochre:#b8842f;       /* 土黃 */
    --ochre-deep:#8a6320;
    --line:#cdbfa7;        /* 紙上鉛筆線 */
    --cream-edge:#fbf7ee;
    --hand-clay:%239c3b28; /* SVG 用磚紅 */
    --hand-ochre:%23b8842f;/* SVG 用土黃 */
    --stat-bg:#2a2520;     /* 數據條底色 */
    --stat-quote:#e9ddc8;
    --stat-big:#f0e3cb;
    --stat-lab:#c9b896;
    --ft-bg:#2a2520;
  }

  /* ===== 深色主題：墨夜窯燒版（深炭 + 暖磚紅 + 銅金）===== */
  [data-bs-theme="dark"]{
    --paper:#1d1916;       /* 深炭紙 */
    --paper-2:#26211c;     /* 較淺炭 */
    --ink:#efe6d4;         /* 反白墨（淺暖白） */
    --ink-soft:#c4b59b;    /* 柔暖灰 */
    --clay:#d96a4f;        /* 亮磚紅 */
    --clay-deep:#c2553c;
    --ochre:#dba94a;       /* 亮銅金 */
    --ochre-deep:#caa044;
    --line:#41382e;        /* 暗紙線 */
    --cream-edge:#272117;  /* 沖印底改深 */
    --hand-clay:%23d96a4f;
    --hand-ochre:%23dba94a;
    --stat-bg:#120f0c;     /* 數據條更深 */
    --stat-quote:#e9ddc8;
    --stat-big:#f0e3cb;
    --stat-lab:#bfa988;
    --ft-bg:#120f0c;
    --bs-body-color:#efe6d4;
  }

  *{ -webkit-font-smoothing:antialiased; }

  body{
    font-family:"Noto Serif TC", serif;
    color:var(--ink);
    background-color:var(--paper);
    background-image:
      repeating-linear-gradient(45deg, rgba(120,95,60,.022) 0 2px, transparent 2px 7px),
      repeating-linear-gradient(-45deg, rgba(120,95,60,.018) 0 2px, transparent 2px 9px),
      radial-gradient(circle at 50% 0%, rgba(255,253,247,.6), transparent 60%);
    line-height:1.85;
    letter-spacing:.01em;
    transition:background-color .35s ease, color .35s ease;
  }
  [data-bs-theme="dark"] body{
    background-image:
      repeating-linear-gradient(45deg, rgba(220,180,120,.03) 0 2px, transparent 2px 7px),
      repeating-linear-gradient(-45deg, rgba(220,180,120,.025) 0 2px, transparent 2px 9px),
      radial-gradient(circle at 50% 0%, rgba(70,55,35,.5), transparent 60%);
  }

  .serif{ font-family:"Noto Serif TC", serif; }
  .clay{ color:var(--clay); }
  .ochre{ color:var(--ochre-deep); }

  /* ---- 手繪元素（SVG 描邊色用變數，深淺主題自動換色）---- */
  .hand-underline{ position:relative; display:inline-block; }
  .hand-underline::after{
    content:"";
    position:absolute; left:-4px; right:-4px; bottom:-.16em; height:.5em;
    background:no-repeat center/100% 100%;
    background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='14' viewBox='0 0 200 14'><path d='M2 9 C40 3, 70 12, 110 6 S 180 4, 198 8' fill='none' stroke='%239c3b28' stroke-width='2.4' stroke-linecap='round'/></svg>");
    opacity:.85;
  }
  [data-bs-theme="dark"] .hand-underline::after{
    background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='14' viewBox='0 0 200 14'><path d='M2 9 C40 3, 70 12, 110 6 S 180 4, 198 8' fill='none' stroke='%23d96a4f' stroke-width='2.4' stroke-linecap='round'/></svg>");
  }
  .hand-circle{ position:relative; display:inline-block; padding:0 .15em; }
  .hand-circle::before{
    content:"";
    position:absolute; inset:-.28em -.45em -.34em -.45em;
    background:no-repeat center/100% 100%;
    background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='66' viewBox='0 0 160 66'><path d='M80 4 C124 2, 156 16, 154 33 C152 52, 110 64, 74 63 C30 62, 6 48, 7 31 C8 14, 44 5, 92 6' fill='none' stroke='%23b8842f' stroke-width='2.4' stroke-linecap='round'/></svg>");
    opacity:.9; pointer-events:none;
  }
  [data-bs-theme="dark"] .hand-circle::before{
    background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='66' viewBox='0 0 160 66'><path d='M80 4 C124 2, 156 16, 154 33 C152 52, 110 64, 74 63 C30 62, 6 48, 7 31 C8 14, 44 5, 92 6' fill='none' stroke='%23dba94a' stroke-width='2.4' stroke-linecap='round'/></svg>");
  }

  /* 印章感小標籤 */
  .stamp{
    display:inline-flex; align-items:center; gap:.4rem;
    font-size:.72rem; letter-spacing:.32em; font-weight:600;
    color:var(--clay);
    border:1.5px solid var(--clay);
    padding:.28rem .7rem .26rem .85rem;
    border-radius:2px;
    transform:rotate(-1.4deg);
    background:rgba(156,59,40,.04);
  }
  [data-bs-theme="dark"] .stamp{ background:rgba(217,106,79,.08); }
  .stamp .dot{ width:5px;height:5px;border-radius:50%;background:var(--clay); }

  /* 編號圓圈 */
  .num{
    flex:0 0 auto;
    width:2.6rem; height:2.6rem; border-radius:50%;
    border:1.6px solid var(--ink);
    display:grid; place-items:center;
    font-weight:700; font-size:1.05rem;
    color:var(--ink);
  }
  .num.clay-num{ border-color:var(--clay); color:var(--clay); }

  /* 沖印照片邊框 */
  .photo-print{
    background:var(--cream-edge);
    padding:14px 14px 46px 14px;
    box-shadow:0 14px 30px -16px rgba(0,0,0,.5), 0 2px 0 rgba(0,0,0,.04);
    border:1px solid rgba(42,37,32,.08);
  }
  [data-bs-theme="dark"] .photo-print{ border-color:rgba(220,180,120,.12); box-shadow:0 14px 34px -16px rgba(0,0,0,.8); }
  .photo-print img{ width:100%; display:block; }
  .photo-print .caption{
    margin-top:.6rem; text-align:center;
    font-size:.86rem; color:var(--ink-soft); letter-spacing:.06em;
  }
  .photo-print.tilt{ transform:rotate(-1.6deg); }
  .photo-print.tilt-r{ transform:rotate(1.4deg); }

  /* 導覽列 */
  .navbar-craft{
    background:color-mix(in srgb, var(--paper) 92%, transparent);
    backdrop-filter:saturate(120%) blur(3px);
    border-bottom:1px solid var(--line);
  }
  .navbar-craft .brand-logo{ height:42px; width:auto; display:block; }
  .navbar-craft .logo-light{ display:block; }
  .navbar-craft .logo-dark{ display:none; }
  [data-bs-theme="dark"] .navbar-craft .logo-light{ display:none; }
  [data-bs-theme="dark"] .navbar-craft .logo-dark{ display:block; }
  .navbar-craft .brand-mark{ font-weight:900; font-size:1.2rem; letter-spacing:.04em; color:var(--clay); }
  .navbar-craft .brand-mark small{ font-weight:500; font-size:.66rem; letter-spacing:.3em; color:var(--ink-soft); display:block; margin-top:-2px; }
  .navbar-craft .nav-link{ color:var(--ink-soft); font-weight:500; letter-spacing:.06em; }
  .navbar-craft .nav-link:hover,.navbar-craft .nav-link:focus{ color:var(--clay); }
  .navbar-craft .nav-link.active[aria-current]{ color:var(--clay); position:relative; }
  .navbar-craft .nav-link.active[aria-current]::after{
    content:""; position:absolute; left:.9rem; right:.9rem; bottom:.15rem; height:.4em;
    background:no-repeat center/100% 100%;
    background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='10' viewBox='0 0 100 10'><path d='M2 6 C25 2, 45 9, 65 4 S 95 4, 98 6' fill='none' stroke='%239c3b28' stroke-width='2.2' stroke-linecap='round'/></svg>");
  }
  [data-bs-theme="dark"] .navbar-craft .nav-link.active[aria-current]::after{
    background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='10' viewBox='0 0 100 10'><path d='M2 6 C25 2, 45 9, 65 4 S 95 4, 98 6' fill='none' stroke='%23d96a4f' stroke-width='2.2' stroke-linecap='round'/></svg>");
  }

  /* 主題切換鈕（墨線方框） */
  .theme-btn{
    background:transparent; color:var(--ink);
    border:1.5px solid var(--line); border-radius:2px;
    width:2.5rem; height:2.5rem; line-height:1;
    display:inline-grid; place-items:center; font-size:1.1rem;
    transition:.2s; cursor:pointer;
  }
  .theme-btn:hover{ border-color:var(--clay); color:var(--clay); }
  .theme-btn .ic-sun{ display:none; }
  .theme-btn .ic-moon{ display:inline; }
  [data-bs-theme="dark"] .theme-btn .ic-sun{ display:inline; }
  [data-bs-theme="dark"] .theme-btn .ic-moon{ display:none; }

  .btn-clay{
    background:var(--clay); color:#fbf7ee;
    border:1.5px solid var(--clay); border-radius:2px;
    font-weight:600; letter-spacing:.08em; padding:.55rem 1.3rem;
  }
  .btn-clay:hover{ background:var(--clay-deep); color:#fff; border-color:var(--clay-deep); }
  .btn-outline-ink{
    background:transparent; color:var(--ink);
    border:1.5px solid var(--ink); border-radius:2px;
    font-weight:600; letter-spacing:.08em; padding:.55rem 1.3rem;
  }
  .btn-outline-ink:hover{ background:var(--ink); color:var(--paper); }

  /* hero */
  .hero{ padding:4.5rem 0 4rem; }
  .hero h1{ font-weight:900; line-height:1.28; font-size:clamp(2.1rem,5vw,3.5rem); letter-spacing:.02em; }
  .hero .lead-zh{ color:var(--ink-soft); font-size:1.06rem; max-width:30rem; }
  .hero .sig{ font-size:.95rem; color:var(--ink-soft); letter-spacing:.04em; border-top:1px solid var(--line); padding-top:1rem; margin-top:1.6rem; }
  .hero .sig b{ color:var(--ink); font-weight:700; }

  /* 章節 */
  .sec{ padding:4.5rem 0; }
  .sec-head .stamp{ margin-bottom:1rem; }
  .sec-head h2{ font-weight:800; font-size:clamp(1.7rem,3.6vw,2.5rem); letter-spacing:.03em; }
  .sec-head p{ color:var(--ink-soft); max-width:42rem; }

  .rule{ border:0; border-top:1px solid var(--line); }
  .dot-rule{ display:flex; align-items:center; gap:.6rem; color:var(--ochre-deep); }
  .dot-rule::before,.dot-rule::after{ content:""; flex:1; height:1px; background:var(--line); }

  .craft-step{ display:flex; gap:1.2rem; padding:1.6rem 0; border-bottom:1px dashed var(--line); }
  .craft-step:last-child{ border-bottom:0; }
  .craft-step h3{ font-weight:700; font-size:1.25rem; margin-bottom:.35rem; }
  .craft-step p{ color:var(--ink-soft); margin-bottom:0; }

  .prod-card{
    background:var(--cream-edge);
    border:1px solid rgba(42,37,32,.1);
    border-radius:3px; height:100%;
    box-shadow:0 10px 26px -20px rgba(0,0,0,.6);
  }
  [data-bs-theme="dark"] .prod-card{ border-color:rgba(220,180,120,.12); }
  .prod-card .ph{ height:200px; overflow:hidden; border-bottom:1px solid rgba(42,37,32,.1); }
  [data-bs-theme="dark"] .prod-card .ph{ border-bottom-color:rgba(220,180,120,.12); }
  .prod-card .ph img{ width:100%; height:100%; object-fit:cover; filter:saturate(.96) contrast(1.02); }
  .prod-card .bd{ padding:1.4rem 1.45rem 1.6rem; }
  .prod-card .kicker{ font-size:.72rem; letter-spacing:.3em; color:var(--clay); font-weight:600; }
  .prod-card h3{ font-weight:700; font-size:1.22rem; margin:.4rem 0 .55rem; }
  .prod-card ul{ list-style:none; padding:0; margin:0; color:var(--ink-soft); font-size:.95rem; }
  .prod-card ul li{ position:relative; padding-left:1.2rem; margin-bottom:.25rem; }
  .prod-card ul li::before{ content:"／"; position:absolute; left:0; color:var(--ochre); }

  /* 數據條 */
  .stat-band{ background:var(--stat-bg); color:var(--paper); }
  .stat-band .quote{ font-size:1.15rem; line-height:2; color:var(--stat-quote); border-left:2px solid var(--ochre); padding-left:1.2rem; }
  .stat-band .num-big{ font-weight:900; font-size:clamp(2rem,4vw,2.9rem); color:var(--stat-big); letter-spacing:.02em; line-height:1.1; }
  .stat-band .num-lab{ color:var(--stat-lab); font-size:.9rem; letter-spacing:.04em; }
  .stat-band .stat-item{ border-top:1px solid rgba(240,227,203,.18); padding:1.1rem 0; }
  .stat-band .stamp{ border-color:var(--ochre); color:var(--ochre); background:transparent; }
  .stat-band .stamp .dot{ background:var(--ochre); }

  /* 資訊服務清單 */
  .svc-list .svc{ display:flex; gap:1rem; align-items:flex-start; padding:1.1rem 0; border-bottom:1px dashed var(--line); }
  .svc .ic{ color:var(--clay); font-size:1.3rem; flex:0 0 auto; margin-top:.15rem; }
  .svc b{ font-weight:700; }
  .svc span{ color:var(--ink-soft); }

  /* panel */
  .panel{
    background:var(--cream-edge); border:1px solid rgba(42,37,32,.12);
    border-radius:3px; padding:1.7rem 1.6rem;
    box-shadow:0 10px 26px -22px rgba(0,0,0,.6);
  }
  [data-bs-theme="dark"] .panel{ border-color:rgba(220,180,120,.12); }
  .panel h3{ font-weight:700; font-size:1.18rem; margin-bottom:1rem; }
  .price-row{ display:flex; justify-content:space-between; align-items:baseline; padding:.55rem 0; border-bottom:1px dotted var(--line); }
  .price-row:last-child{ border-bottom:0; }
  .price-row .amt{ font-weight:700; color:var(--clay); }
  .sla-row{ display:flex; gap:.8rem; align-items:baseline; padding:.5rem 0; }
  .sla-row .t{ color:var(--ochre-deep); font-weight:700; min-width:5.5rem; }

  .pull-quote{ font-size:clamp(1.4rem,3vw,2rem); font-weight:600; line-height:1.8; color:var(--ink); }
  .pull-quote .clay{ color:var(--clay); }

  .cta{ background:var(--paper-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }

  /* footer */
  footer.ft{ background:var(--ft-bg); color:#d9cdb8; }
  footer.ft a{ color:#ecdfc6; text-decoration:none; }
  footer.ft a:hover{ color:#fff; text-decoration:underline; }
  footer.ft .brand{ font-weight:900; font-size:1.3rem; color:#f3e8d2; letter-spacing:.04em; }
  footer.ft .seal{
    display:inline-grid; place-items:center; width:74px;height:74px;
    border:2px solid var(--ochre); color:var(--ochre);
    border-radius:6px; transform:rotate(-3deg); text-align:center;
    font-size:.62rem; letter-spacing:.18em; line-height:1.5; font-weight:600;
  }
  footer.ft .contact-line{ font-size:1.02rem; }
  footer.ft .contact-line i{ color:var(--ochre); width:1.4rem; }

  .edge-note{ font-size:.78rem; letter-spacing:.22em; color:var(--ink-soft); }

  /* 表單 */
  .craft-input{
    background:var(--cream-edge); border:1.5px solid var(--line); border-radius:2px;
    color:var(--ink); padding:.6rem .9rem; width:100%;
    font-family:"Noto Serif TC",serif;
  }
  .craft-input:focus{ outline:none; border-color:var(--clay); box-shadow:0 0 0 .15rem rgba(156,59,40,.12); }
  .craft-label{ font-weight:600; letter-spacing:.06em; margin-bottom:.35rem; display:block; }
  .form-note{ font-size:.8rem; color:var(--ink-soft); }

  @media (max-width:575.98px){
    .photo-print.tilt,.photo-print.tilt-r{ transform:none; }
    .stamp{ transform:none; }
  }
