/* ==================================================================
   01｜基礎版面、共用元素與網站導覽列
================================================================== */

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color:#383836;
  font-family: var(--font-body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
li,
dd,
a,
span {
  overflow-wrap: break-word;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 76px;
  padding: 0 clamp(20px, 4vw, 64px);
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(255, 250, 240, 0.93);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.header-logo {
  display: block;
  width: 150px;
  height: auto;
  max-width: none;
}

.header-logo {
  display: block;
  width: 180px;
  height: auto;
  max-width: none;
}

.brand-mark {
  display: inline-block;
  padding: 5px 9px;
  color: white;
  background: var(--ink);
  border-radius: 9px 9px 2px 9px;
  letter-spacing: -1px;
  transform: rotate(-2deg);
}
.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
  font-size: 14px;
  font-weight: 700;
}
.desktop-nav a {
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}
.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.nav-cta:hover {
  transform: translateY(-2px);
  background: var(--red);
}


.mobile-social-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}


.mobile-social-link {
  display: flex;
  align-items: center;
  gap: 10px;
}


.mobile-nav {
  display: none;
  margin-left: auto;
  position: relative;
}
.mobile-nav summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
}
.mobile-nav summary::-webkit-details-marker {
  display: none;
}
.mobile-nav > div {
  position: absolute;
  right: 0;
  top: 48px;
  width: 210px;
  display: grid;
  padding: 12px;
  background: white;
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 7px 7px 0 var(--ink);
}
.mobile-nav a {
  padding: 11px 10px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}

/* ================================================================
   Facebook＋官網圖示｜單獨放大
================================================================ */

/* Facebook f */
.facebook-link .facebook-icon {
  font-size: 2em;
}

/* 官網 ◎ */
.website-link .globe-icon {
  font-size: 3em;
}