
  :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;
    --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;
    --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); }

  .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); }

  .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); }

  .page-banner{ position:relative; overflow:hidden; background:var(--stat-bg); color:var(--paper); }
  .page-banner .bg{ position:absolute; inset:0; opacity:.32; }
  .page-banner .bg img{ width:100%; height:100%; object-fit:cover; filter:saturate(.85); }
  .page-banner .inner{ position:relative; padding:4rem 0 3.4rem; }
  .page-banner h1{ font-weight:900; font-size:clamp(2rem,4.6vw,3.1rem); letter-spacing:.03em; }
  .page-banner .crumb{ font-size:.82rem; letter-spacing:.18em; color:#d9c9a8; }
  .page-banner .crumb a{ color:#d9c9a8; text-decoration:none; } .page-banner .crumb a:hover{ color:#fff; }
  .page-banner .stamp{ border-color:var(--ochre); color:var(--ochre); background:transparent; }
  .page-banner .stamp .dot{ background:var(--ochre); }

  .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); }

  /* 案例文字塊 */
  .case-meta{ display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:.9rem; }
  .case-meta .chip{ font-size:.74rem; letter-spacing:.12em; color:var(--ochre-deep); border:1px solid var(--line); border-radius:2px; padding:.18rem .6rem; background:var(--cream-edge); }
  .case-no{ font-size:.72rem; letter-spacing:.3em; color:var(--clay); font-weight:600; }
  .case-body h3{ font-weight:800; font-size:clamp(1.4rem,2.6vw,1.85rem); margin:.3rem 0 .7rem; }
  .case-body .loc{ color:var(--ochre-deep); font-weight:700; letter-spacing:.04em; }
  .case-body p{ color:var(--ink-soft); }
  .case-body ul{ list-style:none; padding:0; margin:.6rem 0 0; color:var(--ink-soft); }
  .case-body ul li{ position:relative; padding-left:1.4rem; margin-bottom:.3rem; }
  .case-body ul li::before{ content:"\2713"; position:absolute; left:0; color:var(--clay); font-weight:700; }

  .stat-band{ background:var(--stat-bg); color:var(--paper); }
  .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); }
  .stat-band .quote{ font-size:1.15rem; line-height:2; color:var(--stat-quote); border-left:2px solid var(--ochre); padding-left:1.2rem; }

  .cta{ background:var(--paper-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
  .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); }

  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); }

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