/* 有信 Sincerely — 聖誕特別版（christmas.html）。載入在 style.css 之後，只覆寫外觀。 */
body.xmas{--xred:#9E2230;--xred-d:#7A1824;--xgreen:#24452F;--xgreen-l:#3E6B4A;--xgold:#C9A257;--xcream:#F6EEDF;
  background:#F3EAD9 var(--noise)}
/* 雪花：兩層小圓點慢慢落下（減少動態時不動） */
.snow{position:fixed;inset:0;z-index:1;pointer-events:none;opacity:.75;
  background-image:radial-gradient(circle,rgba(255,255,255,.95) 0 2px,transparent 2.6px),radial-gradient(circle,rgba(255,255,255,.85) 0 1.4px,transparent 2px),radial-gradient(circle,rgba(201,162,87,.35) 0 1.2px,transparent 1.8px);
  background-size:180px 180px,110px 110px,240px 240px;background-position:0 0,40px 60px,90px 20px;animation:xsnow 26s linear infinite}
@keyframes xsnow{to{background-position:60px 720px,120px 500px,30px 960px}}
@media (prefers-reduced-motion:reduce){.snow{animation:none}}
.xmas .topbar{background:rgba(246,238,223,.95) var(--noise);border-bottom:2px solid transparent;border-image:repeating-linear-gradient(90deg,var(--xred) 0 18px,#F6EEDF 18px 24px,var(--xgreen) 24px 42px,#F6EEDF 42px 48px) 2}
.xmas main,.xmas .footer{position:relative;z-index:2}
.tag--xmas.is-current{background:var(--xgreen);box-shadow:inset 0 0 0 2px var(--xgold),1px 2px 5px rgba(59,47,40,.25)}

/* ---------- hero ---------- */
.xhero{padding:60px 0 110px;background:
  radial-gradient(ellipse at 78% 40%,rgba(255,250,238,.95),transparent 55%),
  linear-gradient(180deg,#EFE2CB,#F3EAD9 70%)}
.xhero::before{opacity:.6}
.xhero__garland{display:block;width:min(400px,80%);height:auto;margin:-30px auto -14px;pointer-events:none;filter:drop-shadow(0 4px 6px rgba(36,69,47,.18))}
.xhero__in{position:relative;z-index:2;display:grid;grid-template-columns:1fr 1.05fr;align-items:center;gap:40px}
.xhero__text{text-align:center}
.xhero__badge{display:inline-block;margin:0 0 6px;padding:8px 26px;font:700 18px/1 var(--serif);letter-spacing:.24em;color:#FBEFE0;background:var(--xred);
  clip-path:polygon(0 0,100% 0,94% 50%,100% 100%,0 100%,6% 50%);box-shadow:0 3px 8px rgba(122,24,36,.3)}
.xhero__badge span{color:#F2D58A;font-size:13px;vertical-align:2px}
.xhero__title{font-size:clamp(64px,8vw,112px);line-height:1.05;color:var(--xgreen);letter-spacing:.16em;margin-top:18px;padding-left:.16em;display:flex;flex-direction:column;align-items:center}
.xhero__en{display:block;font:italic 500 clamp(24px,2.6vw,36px)/1.1 "Playfair Display",serif;letter-spacing:.08em;color:var(--xgold);margin-top:6px}
.xhero__tag{font:700 clamp(24px,2.5vw,34px)/1.4 var(--serif);letter-spacing:.1em;margin:16px 0 0;color:var(--ink)}
.xhero__lead{max-width:30em;margin:14px auto 0;color:#5a4a3c;font-size:16px}
.xhero__cta{margin-top:28px}
.xhero__photo{position:relative}
.xhero__photo .xhero__main{display:block;width:100%;height:auto;border-radius:18px;box-shadow:0 18px 40px rgba(36,69,47,.25),0 0 0 8px #FBF6EC,0 0 0 9px rgba(201,162,87,.6);transform:rotate(1.2deg)}
.postmark--xmas{left:-46px;bottom:-30px;width:112px;height:112px;color:rgba(158,34,48,.6);background:rgba(251,246,236,.55);transform:rotate(-12deg)}
.postmark--xmas b{font-size:16px}

/* 紅色火漆印章按鈕 */
.wax{position:relative;display:inline-grid;place-items:center;width:150px;height:150px;text-decoration:none;color:#FBE9DA;font:700 22px/1.2 var(--serif);letter-spacing:.12em;
  background:radial-gradient(circle at 36% 30%,#C8414F 0 14%,transparent 40%),radial-gradient(circle,#A3232F 0 58%,#8A1A26 60% 66%,#A3232F 67%);
  border-radius:47% 53% 50% 50%/52% 48% 54% 46%;box-shadow:0 8px 16px rgba(122,24,36,.35),inset 0 -6px 12px rgba(60,8,14,.35),inset 0 6px 10px rgba(255,170,170,.25);transition:transform .2s}
.wax::before{content:"";position:absolute;inset:16px;border-radius:50%;border:2px solid rgba(255,214,200,.45);box-shadow:inset 0 0 0 5px rgba(122,24,36,.35)}
.wax::after{content:"";position:absolute;right:-10px;top:18px;width:30px;height:24px;background:#9A202C;border-radius:60% 40% 55% 45%;box-shadow:0 3px 5px rgba(122,24,36,.3)}
.wax span{position:relative;text-shadow:0 1px 1px rgba(60,8,14,.6)}
.wax:hover{transform:rotate(-4deg) scale(1.03)}

/* ---------- 區塊標題加冬青 ---------- */
.xh2::before,.xh2::after{content:"";display:inline-block;width:38px;height:26px;vertical-align:-3px;margin:0 12px;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 26'><path d='M19 14 C12 4 4 6 1 3 C3 9 2 13 6 15 C4 18 6 22 10 21 C12 23 16 20 19 14Z' fill='%2324452F'/><path d='M19 14 C26 4 34 6 37 3 C35 9 36 13 32 15 C34 18 32 22 28 21 C26 23 22 20 19 14Z' fill='%233E6B4A'/><circle cx='16' cy='17' r='3.4' fill='%239E2230'/><circle cx='22' cy='17' r='3.4' fill='%23B8323F'/><circle cx='19' cy='12' r='3.4' fill='%239E2230'/></svg>") center/contain no-repeat}
.xh2::after{transform:scaleX(-1)}
.xmas .chips{flex-wrap:wrap}
.xmas .chip input:checked+span{background:var(--xred);color:#FBEFE0}
.xmas .chip--xmas span{background:#E3D2B0 var(--noise);box-shadow:inset 0 0 0 2px rgba(36,69,47,.55),1px 3px 6px rgba(59,47,40,.18)}
.xmas .chip:nth-child(4) span{transform:rotate(-1deg)}
.xmas .chip:nth-child(4)::before{display:none}

/* 裝飾：冬青、莓果（CSS/SVG） */
.xdeco--holly,.xdeco--berry{display:block;width:120px;height:90px;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 90'><path d='M60 50 C40 20 14 26 4 14 C10 34 6 44 18 50 C12 60 18 72 32 70 C38 78 50 70 60 50Z' fill='%2324452F'/><path d='M60 50 C80 20 106 26 116 14 C110 34 114 44 102 50 C108 60 102 72 88 70 C82 78 70 70 60 50Z' fill='%233E6B4A'/><path d='M60 50 C40 20 14 26 4 14' stroke='%23A9C29A' stroke-width='1.2' fill='none'/><path d='M60 50 C80 20 106 26 116 14' stroke='%23A9C29A' stroke-width='1.2' fill='none'/><circle cx='52' cy='56' r='9' fill='%239E2230'/><circle cx='68' cy='56' r='9' fill='%23B8323F'/><circle cx='60' cy='42' r='9' fill='%239E2230'/><circle cx='57' cy='39' r='2.4' fill='%23F3B7B7' opacity='.7'/><circle cx='49' cy='53' r='2.4' fill='%23F3B7B7' opacity='.7'/><circle cx='65' cy='53' r='2.4' fill='%23F3B7B7' opacity='.7'/></svg>") center/contain no-repeat;mix-blend-mode:normal}
.xmas .xdeco--holly{right:-60px;top:-70px;z-index:3;transform:rotate(14deg)}
.is-desk .xdeco--holly{left:-70px;right:auto;top:auto;bottom:60px;transform:rotate(-12deg)}
.xmas .xdeco--berry{left:-110px;top:120px;width:110px;transform:rotate(-20deg)}
.xmas .xdeco--garland2{right:-40px;bottom:-60px;width:300px;opacity:.95;mix-blend-mode:normal;transform:rotate(-4deg)}

/* 方案與配色 */
.swatches__kicker{display:inline-block;margin:0 0 10px;padding:4px 14px;font:700 14px/1.4 var(--serif);letter-spacing:.16em;color:#FBEFE0;background:var(--xgreen);border-radius:3px}
.xmas .swatches__group--env .swatches__kicker{background:var(--xred)}
.xmas .polaroid input:checked~.polaroid__name b,.xmas .polaroid__name b{color:var(--xred)}
.xmas .kraft{background:#2F5A3C var(--noise)}

/* 信封：聖誕郵票＋聖誕限定郵戳 */
.env__stamp--xmas .xstamp{display:block;width:100%;height:auto;filter:drop-shadow(0 1px 3px rgba(0,0,0,.28));transform:rotate(2deg);
  -webkit-mask:radial-gradient(circle at 50% 50%,#000 2.2px,transparent 2.6px) -3px -3px/7px 7px,linear-gradient(#000,#000) 3px 3px/calc(100% - 6px) calc(100% - 6px) no-repeat;
  mask:radial-gradient(circle at 50% 50%,#000 2.2px,transparent 2.6px) -3px -3px/7px 7px,linear-gradient(#000,#000) 3px 3px/calc(100% - 6px) calc(100% - 6px) no-repeat}
.postmark--envx{color:rgba(158,34,48,.45)}
.postmark--envx b{font-size:1.25cqw;letter-spacing:.04em}
.envelope[data-env="wine"] .postmark--envx{color:rgba(244,233,214,.5)}
.xform__stamp{height:86px;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 120'><rect x='4' y='4' width='92' height='112' fill='%23FBF4E6'/><rect x='11' y='11' width='78' height='98' fill='%239E2230'/><circle cx='50' cy='62' r='26' fill='none' stroke='%23F3D98B' stroke-width='3'/><path d='M50 40 v44 M28 62 h44 M34 46 l32 32 M66 46 l-32 32' stroke='%23FBEFE0' stroke-width='3' stroke-linecap='round'/><circle cx='50' cy='62' r='5' fill='%23F3D98B'/></svg>") center/contain no-repeat;box-shadow:none;filter:drop-shadow(0 2px 4px rgba(0,0,0,.2))}

/* 寄出按鈕：紅色 */
.xmas .seal{--s:var(--xred)}
.xmas .footer{border-top:3px double rgba(158,34,48,.35);margin-top:20px;padding-top:30px;background:#F3EAD9}
.xmas .footer__xmas a{color:var(--xgreen)}

@media (max-width:1180px){ .xhero__in{gap:28px} .postmark--xmas{left:-20px} }
@media (max-width:900px){
  .xhero{padding:56px 0 70px}
  .xhero__in{grid-template-columns:1fr;gap:34px}
  .xhero__photo{max-width:520px;margin:0 auto}
  .postmark--xmas{left:-10px;bottom:-26px;width:90px;height:90px}
  .xmas .xdeco--berry,.xmas .xdeco--garland2{display:none}
  .xmas .xdeco--holly{width:84px;right:-14px;top:-56px}
}
@media (max-width:640px){
  .xhero__garland{width:78%;margin-top:-20px}
  .xhero__badge{font-size:15px;padding:7px 20px}
  .xhero__lead{font-size:15px;padding:0 6px}
  .wax{width:124px;height:124px;font-size:19px}
  .xh2::before,.xh2::after{width:26px;height:18px;margin:0 6px}
  .xmas .tag--home{display:inline-block}
  .xform__stamp{height:62px;width:54px}
  .postmark--xmas{display:none}
}

.xhero__brand{margin:10px 0 0}
.xhero__logo{display:block;width:min(240px,70%);height:auto;margin:0 auto;filter:drop-shadow(0 6px 10px rgba(36,69,47,.16))}
@media (max-width:640px){ .xhero__logo{width:min(200px,64%)} }
