:root { --text-caption-size: 0.75rem; }

*{box-sizing:border-box}body{margin:0;font-family:Inter,'Noto Sans TC',system-ui,sans-serif;background:#F5F8FB;color:#061522;overflow-x:hidden}body.lock{overflow:hidden}button{cursor:pointer}.nav-glass{background:rgba(248,251,253,.9);backdrop-filter:blur(18px)}.slash{clip-path:polygon(0 0,100% 0,94% 100%,0 100%)}.section-ribbon{clip-path:polygon(0 4%,100% 0,100% 96%,0 100%)}.hero-title span{background:linear-gradient(90deg,#061522,#0A78B8 46%,#061522);-webkit-background-clip:text;color:transparent}
.hero-carousel{position:relative;width:100%;height:100%;background:#fff;overflow:hidden}.hero-carousel img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;animation:fade 16.8s infinite}.hero-carousel img:nth-child(1){animation-delay:0s}.hero-carousel img:nth-child(2){animation-delay:4.2s}.hero-carousel img:nth-child(3){animation-delay:8.4s}.hero-carousel img:nth-child(4){animation-delay:12.6s}@keyframes fade{0%{opacity:0}5%{opacity:1}25%{opacity:1}30%{opacity:0}100%{opacity:0}}
.float-slow{animation:float 7s ease-in-out infinite}.float-slower{animation:float 9s ease-in-out infinite reverse}@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-16px)}}.orbital{animation:spin 20s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.card{position:relative;overflow:hidden;background:#fff;border:1px solid rgba(6,21,34,.12);box-shadow:0 22px 58px rgba(6,21,34,.055);transition:.25s}.card:hover{transform:translateY(-8px);border-color:rgba(10,120,184,.36);box-shadow:14px 14px 0 rgba(6,21,34,.055),0 28px 70px rgba(6,21,34,.085)}.label{color:#0A78B8;font-size:12px;font-weight:900;letter-spacing:.22em;text-transform:uppercase}.num{display:grid;place-items:center;width:48px;height:48px;border:1px solid rgba(10,120,184,.36);background:#F5F8FB;color:#0A78B8;font-size:13px;font-weight:900}.card:hover .num{background:#0A78B8;color:#fff}.card-title{font-weight:900;letter-spacing:-.045em}.card-text{color:rgba(6,21,34,.58);line-height:2}
.filter-btn{color:rgba(255,255,255,.72)}.filter-desc{color:rgba(255,255,255,.42)}.filter-btn.active,.filter-btn:hover{background:#fff!important;color:#061522!important;border-color:#fff!important}.filter-btn.active .filter-desc,.filter-btn:hover .filter-desc{color:rgba(6,21,34,.48)!important}.service-row{transition:.25s}.service-row:hover{transform:translateX(12px);background:#fff;color:#061522;box-shadow:16px 16px 0 rgba(132,223,255,.1),0 28px 80px rgba(0,0,0,.14)}.service-row:hover .service-copy{color:rgba(6,21,34,.62)}.service-row:hover .service-number{color:#061522;transform:scale(1.08)}.case-card img{transition:.8s}.case-card:hover img{transform:scale(1.08)}
.drawer{transform:translateX(104%);transition:transform .35s cubic-bezier(.2,.8,.2,1)}.drawer.open{transform:translateX(0)}.overlay{opacity:0;pointer-events:none;transition:.25s}.overlay.open{opacity:1;pointer-events:auto}.mobile-panel{background:rgba(255,255,255,.96);backdrop-filter:blur(18px);border-top:1px solid rgba(6,21,34,.1)}
.drawer-service-picker{border:1px solid rgba(6,21,34,.12);background:#fff;padding:18px;box-shadow:10px 10px 0 rgba(6,21,34,.04)}.drawer-service-picker-label{display:flex;justify-content:space-between;margin-bottom:12px;color:rgba(6,21,34,.56);font-size:var(--text-caption-size);font-weight:900;letter-spacing:.18em;text-transform:uppercase}.drawer-service-select{position:relative}.drawer-service-select-button{width:100%;min-height:50px;display:flex;align-items:center;justify-content:space-between;border:1px solid rgba(6,21,34,.12);background:#F5F8FB;padding:0 14px 0 16px;font-weight:800}.drawer-service-select.open .drawer-service-select-button{border-color:#0A78B8;background:#fff;box-shadow:0 0 0 3px rgba(10,120,184,.08)}.drawer-service-select-icon{width:14px;height:14px;transition:.22s}.drawer-service-select.open .drawer-service-select-icon{transform:rotate(180deg)}.drawer-service-select-menu{position:absolute;z-index:150;left:0;right:0;top:calc(100% + 8px);display:none;max-height:280px;overflow:auto;border:1px solid rgba(6,21,34,.12);background:#fff;padding:8px;box-shadow:14px 14px 0 rgba(6,21,34,.055),0 28px 70px rgba(6,21,34,.10)}.drawer-service-select.open .drawer-service-select-menu{display:grid;gap:4px}.drawer-service-option{min-height:46px;width:100%;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;background:#fff;color:rgba(6,21,34,.72);font-weight:800;text-align:left}.drawer-service-option:hover{background:#F5F8FB;color:#0A78B8}.drawer-service-option.selected{color:rgba(6,21,34,.32);pointer-events:none}.drawer-service-option.selected:after{content:'已加入';font-size:var(--text-caption-size);font-weight:900}.drawer-service-selected-list{margin-top:14px;display:grid;gap:10px}.drawer-selected-service{display:grid;grid-template-columns:1fr auto;align-items:center;gap:14px;border:1px solid rgba(6,21,34,.12);background:#F5F8FB;padding:14px}.drawer-selected-service small{display:block;margin-bottom:4px;color:#0A78B8;font-size:var(--text-caption-size);font-weight:900;letter-spacing:.18em;text-transform:uppercase}.drawer-selected-service strong{display:block;font-size:14px}.drawer-selected-remove{height:36px;border:1px solid rgba(6,21,34,.12);background:#fff;color:rgba(6,21,34,.56);font-size:12px;font-weight:900}.drawer-field{display:grid;gap:8px;font-size:14px;font-weight:900}.drawer-control,.drawer-select{width:100%;border:1px solid rgba(6,21,34,.12);background:#fff;color:#061522;outline:none}.drawer-control:focus,.drawer-select:focus{border-color:#0A78B8;box-shadow:0 0 0 3px rgba(10,120,184,.1)}.drawer-select-wrap{position:relative}.drawer-select{appearance:none;height:48px;padding:0 46px 0 16px;font-weight:700}.drawer-select-wrap svg{position:absolute;right:16px;top:50%;width:14px;height:14px;transform:translateY(-50%);pointer-events:none}
.footer-link{display:inline-flex;color:rgba(6,21,34,.58);font-weight:800;font-size:14px;transition:.2s}.footer-link:hover{color:#0A78B8;transform:translateX(4px)}
@media(max-width:768px){.slash,.section-ribbon{clip-path:none}.hero-float{position:relative!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;width:100%!important;margin-top:1rem}}@media(max-width:640px){.drawer-two-col{grid-template-columns:1fr!important}}

.service-row{transition:background .25s ease,color .25s ease,box-shadow .25s ease,border-color .25s ease!important;transform:none!important}.service-row:hover{transform:none!important;background:#fff;color:#061522}.service-row:hover .service-number{transform:none!important;color:#061522}.service-number{transform:none!important}
.sharp-arrow{font-weight:900}.section-subtitle{max-width:720px;margin-left:auto;text-align:right}@media(max-width:1024px){.section-subtitle{max-width:none;margin-left:0;text-align:left}}@media(max-width:768px){.hero-stage{min-height:auto!important;display:grid;gap:16px;margin-top:28px}.hero-frame{position:relative!important;left:auto!important;top:auto!important;width:100%!important;height:clamp(300px,72vw,430px)!important;clip-path:none!important}.hero-float{position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;width:100%!important;margin-top:0!important;animation:none!important;transform:none!important}.float-slow,.float-slower{animation:none!important}}

/* =========================
   Radius update: cards / content blocks
   ========================= */
:root {
  --linkflow-radius-card: 4px;
}

.card,
.service-row,
.case-card,
article.group,
#drawer,
#drawer .border,
#drawer .drawer-control,
#drawer .drawer-select,
#drawer .select-menu,
#drawer .select-option,
#drawer .drawer-selected-service,
#drawer .bg-mist,
#drawer .bg-white,
.hero-frame,
.hero-float,
footer .border,
section .border,
[class*="shadow-soft"] {
  border-radius: var(--linkflow-radius-card) !important;
}

.num,
.service-number,
.orbital,
.sharp-arrow,
svg,
header .grid.h-11.w-11,
footer .grid.h-12.w-12,
.h-2.w-2,
.h-4.w-4 {
  border-radius: 0 !important;
}


/* =========================
   Drawer form spacing refinement
   ========================= */
#drawer form {
  display: grid;
  gap: 24px !important;
}

#drawer form label {
  display: grid;
  gap: 11px !important;
}

#drawer form label > span:first-child,
#drawer form label > span:not(.drawer-select-wrap) {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.45;
  color: rgba(6,21,34,.68);
}

#drawer .drawer-control,
#drawer .drawer-select {
  min-height: 50px;
  border-color: rgba(6,21,34,.14);
  background: #fff;
}

#drawer input.drawer-control {
  height: 50px;
}

#drawer textarea.drawer-control {
  min-height: 136px;
  padding-top: 14px;
  line-height: 1.8;
}

#drawer .drawer-two {
  gap: 20px !important;
  align-items: start;
  margin-top: 2px;
}

#drawer .drawer-select-wrap {
  display: block;
  width: 100%;
}

#drawer .drawer-select {
  height: 50px;
  font-size: 14px;
  font-weight: 800;
  color: rgba(6,21,34,.82);
}

#drawer .drawer-control::placeholder {
  color: rgba(6,21,34,.34);
  font-weight: 700;
}

#drawer .border-t.border-ink\/10.p-7 {
  padding-top: 22px;
}


/* =========================
   Insight article wide popup
   ========================= */
.insight-popup-layer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  padding: clamp(16px, 3vw, 40px);
  background: rgba(2,11,20,.62);
  backdrop-filter: blur(16px);
}

.insight-popup-layer.open {
  display: grid;
  place-items: center;
}

.insight-popup-panel {
  width: min(1180px, calc(100vw - 32px));
  max-height: min(88vh, 860px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  background: #F5F8FB;
  color: #061522;
  border-radius: 4px;
  box-shadow: 0 40px 120px rgba(0,0,0,.34);
}

.insight-popup-grid {
  display: grid;
  grid-template-columns: .42fr .58fr;
  max-height: min(88vh, 860px);
}

.insight-popup-aside {
  display: flex;
  min-height: 620px;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(6,21,34,.10);
  background: #061522;
  color: white;
  padding: clamp(28px, 4vw, 52px);
}

.insight-popup-body {
  overflow-y: auto;
  padding: clamp(28px, 4vw, 52px);
}

.insight-popup-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #84DFFF;
  font-size:var(--text-caption-size);
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.insight-popup-kicker::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
}

.insight-popup-title {
  margin-top: 28px;
  font-size: clamp(2.35rem, 4vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.065em;
  font-weight: 900;
}

.insight-popup-summary {
  margin-top: 28px;
  max-width: 520px;
  color: rgba(255,255,255,.68);
  line-height: 1.9;
}

.insight-popup-meta {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border: 1px solid rgba(255,255,255,.16);
}

.insight-popup-meta div {
  padding: 16px;
  border-right: 1px solid rgba(255,255,255,.16);
}

.insight-popup-meta div:last-child {
  border-right: 0;
}

.insight-popup-meta small {
  display: block;
  color: rgba(255,255,255,.38);
  font-size:var(--text-caption-size);
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.insight-popup-meta strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 13px;
}

.insight-popup-close {
  display: grid;
  height: 48px;
  width: 48px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: white;
  font-size: 26px;
  line-height: 1;
  transition: .2s ease;
}

.insight-popup-close:hover {
  background: #84DFFF;
  color: #061522;
}

.insight-popup-section {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 28px;
  border-bottom: 1px solid rgba(6,21,34,.10);
  padding: 30px 0;
}

.insight-popup-section:first-child {
  padding-top: 0;
}

.insight-popup-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.insight-popup-section-label {
  color: #0A78B8;
  font-size:var(--text-caption-size);
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.insight-popup-section h4 {
  font-size: 26px;
  line-height: 1.14;
  letter-spacing: -.04em;
  font-weight: 900;
}

.insight-popup-section p {
  margin-top: 12px;
  color: rgba(6,21,34,.62);
  line-height: 1.9;
}

.insight-popup-list {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.insight-popup-list li {
  list-style: none;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  color: rgba(6,21,34,.66);
  line-height: 1.75;
}

.insight-popup-list li::before {
  content: "";
  margin-top: 11px;
  height: 1px;
  width: 24px;
  background: #0A78B8;
}

.insight-card-clickable {
  cursor: pointer;
}

.insight-card-clickable:focus-visible {
  outline: 3px solid rgba(10,120,184,.35);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .insight-popup-layer {
    padding: 0;
  }

  .insight-popup-panel {
    width: 100vw;
    height: 100vh;
    max-height: none;
    border-radius: 0;
  }

  .insight-popup-grid {
    display: block;
    max-height: 100vh;
    overflow-y: auto;
  }

  .insight-popup-aside {
    min-height: auto;
    gap: 36px;
    border-right: 0;
  }

  .insight-popup-body {
    overflow: visible;
  }

  .insight-popup-section {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}


/* =========================
   Menu smooth movement / active state
   ========================= */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

.nav-link-motion {
  position: relative;
  display: inline-flex;
  align-items: center;
  transition: color .25s ease, transform .25s ease;
}

.nav-link-motion::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: #0A78B8;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}

.nav-link-motion:hover,
.nav-link-motion.active {
  color: #0A78B8 !important;
  transform: translateY(-2px);
}

.nav-link-motion:hover::after,
.nav-link-motion.active::after {
  transform: scaleX(1);
}

#mobileMenu a {
  transition: color .25s ease, transform .25s ease, background-color .25s ease;
}

#mobileMenu a:hover {
  color: #0A78B8;
  transform: translateX(6px);
  background: rgba(10,120,184,.04);
}


/* =========================
   LinkFlow custom color fallback
   Keeps custom Tailwind token colors working in split deployment.
   ========================= */
.shadow-soft{box-shadow:0 30px 90px rgba(6,21,34,.12)!important}
.bg-cyanline{background-color:rgb(132 223 255)!important}
.bg-deep{background-color:rgb(2 11 20)!important}
.bg-ink{background-color:rgb(6 21 34)!important}
.bg-ink\/10{background-color:rgb(6 21 34 / 0.1)!important}
.bg-ink\/55{background-color:rgb(6 21 34 / 0.55)!important}
.bg-mist{background-color:rgb(245 248 251)!important}
.bg-signal{background-color:rgb(10 120 184)!important}
.bg-white{background-color:rgb(255 255 255)!important}
.bg-white\/10{background-color:rgb(255 255 255 / 0.1)!important}
.bg-white\/70{background-color:rgb(255 255 255 / 0.7)!important}
.bg-white\/\[\.035\]{background-color:rgb(255 255 255 / 0.035)!important}
.border-ink\/10{border-color:rgb(6 21 34 / 0.1)!important}
.border-ink\/15{border-color:rgb(6 21 34 / 0.15)!important}
.border-ink\/20{border-color:rgb(6 21 34 / 0.2)!important}
.border-signal{border-color:rgb(10 120 184)!important}
.border-white{border-color:rgb(255 255 255)!important}
.border-white\/15{border-color:rgb(255 255 255 / 0.15)!important}
.border-white\/20{border-color:rgb(255 255 255 / 0.2)!important}
.from-ink{--tw-gradient-from:rgb(6 21 34) var(--tw-gradient-from-position)!important;--tw-gradient-to:rgb(255 255 255 / 0) var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)!important}
.from-signal\/25{--tw-gradient-from:rgb(10 120 184 / 0.25) var(--tw-gradient-from-position)!important;--tw-gradient-to:rgb(255 255 255 / 0) var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)!important}
.from-white{--tw-gradient-from:rgb(255 255 255) var(--tw-gradient-from-position)!important;--tw-gradient-to:rgb(255 255 255 / 0) var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)!important}
.group:hover .group-hover\:border-white\/10{border-color:rgb(255 255 255 / 0.1)!important}
.group:hover .group-hover\:border-white\/15{border-color:rgb(255 255 255 / 0.15)!important}
.group:hover .group-hover\:text-cyanline{color:rgb(132 223 255)!important}
.group:hover .group-hover\:text-white\/45{color:rgb(255 255 255 / 0.45)!important}
.group:hover .group-hover\:text-white\/50{color:rgb(255 255 255 / 0.5)!important}
.group:hover .group-hover\:text-white\/64{color:rgb(255 255 255 / 0.64)!important}
.hover\:bg-ink:hover{background-color:rgb(6 21 34)!important}
.hover\:bg-signal:hover{background-color:rgb(10 120 184)!important}
.hover\:text-signal:hover{color:rgb(10 120 184)!important}
.hover\:text-white:hover{color:rgb(255 255 255)!important}
.text-cyanline{color:rgb(132 223 255)!important}
.text-ink{color:rgb(6 21 34)!important}
.text-ink\/38{color:rgb(6 21 34 / 0.38)!important}
.text-ink\/40{color:rgb(6 21 34 / 0.4)!important}
.text-ink\/45{color:rgb(6 21 34 / 0.45)!important}
.text-ink\/55{color:rgb(6 21 34 / 0.55)!important}
.text-ink\/58{color:rgb(6 21 34 / 0.58)!important}
.text-ink\/60{color:rgb(6 21 34 / 0.6)!important}
.text-ink\/62{color:rgb(6 21 34 / 0.62)!important}
.text-ink\/70{color:rgb(6 21 34 / 0.7)!important}
.text-signal{color:rgb(10 120 184)!important}
.text-white{color:rgb(255 255 255)!important}
.text-white\/50{color:rgb(255 255 255 / 0.5)!important}
.text-white\/58{color:rgb(255 255 255 / 0.58)!important}
.text-white\/62{color:rgb(255 255 255 / 0.62)!important}
.text-white\/68{color:rgb(255 255 255 / 0.68)!important}
.text-white\/70{color:rgb(255 255 255 / 0.7)!important}
.via-ink\/55{--tw-gradient-to:rgb(255 255 255 / 0) var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-from),rgb(6 21 34 / 0.55) var(--tw-gradient-via-position),var(--tw-gradient-to)!important}
.via-mist{--tw-gradient-to:rgb(255 255 255 / 0) var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-from),rgb(245 248 251) var(--tw-gradient-via-position),var(--tw-gradient-to)!important}

/* =========================
   Typography weight reduction
   =========================
   Requested: reduce bold weights by about 300.
   900 -> 600
   800 -> 500
   700 -> 400
   600 -> 300
   500 -> 300
*/
.font-black {
  font-weight: 600 !important;
}

.font-extrabold {
  font-weight: 500 !important;
}

.font-bold {
  font-weight: 400 !important;
}

.font-semibold {
  font-weight: 300 !important;
}

.font-medium {
  font-weight: 300 !important;
}

/* Inline CSS / custom components that use explicit font-weight */
.label,
.insight-popup-kicker,
.insight-popup-section-label,
.nav-link-motion,
.footer-link,
.select-option,
.drawer-selected-service strong,
#drawer form label > span:first-child,
#drawer form label > span:not(.drawer-select-wrap) {
  font-weight: 500 !important;
}

.insight-popup-title,
.insight-popup-section h4 {
  font-weight: 600 !important;
}

.insight-popup-meta strong,
#drawer .drawer-select {
  font-weight: 500 !important;
}


/* =========================
   Large title extra weight reduction
   =========================
   Requested: reduce large display headings by another 100.
   Current large heading weight is reduced to 600; this sets display titles to 500.
*/
.hero-title,
.hero-title span,
section h2,
footer h2,
.insight-popup-title {
  font-weight: 500 !important;
}


/* =========================
   Medium title extra weight reduction
   =========================
   Requested: reduce titles like 「產品體驗設計」 by another 100.
   Medium/card headings are now set to 500.
*/
.card h3,
.service-row h3,
.case-card h3,
article.group h3,
#insights h3,
#cases h3,
#system h3,
#process h3,
#capability h3,
.drawer h3,
#drawer h3 {
  font-weight: 500 !important;
}



/* =========================
   Capability hover correction
   =========================
   Normal hover behavior:
   - background becomes white
   - all text becomes dark/readable
*/
#capability .filter-btn:hover,
#capability .filter-btn.active {
  background-color: #fff !important;
  color: #061522 !important;
  border-color: #fff !important;
}

#capability .filter-btn:hover *,
#capability .filter-btn.active * {
  color: #061522 !important;
}

#capability .filter-btn:hover .filter-desc,
#capability .filter-btn.active .filter-desc {
  color: rgba(6,21,34,.58) !important;
}

#capability .service-row:hover {
  background-color: #fff !important;
  color: #061522 !important;
  border-color: rgba(255,255,255,.35) !important;
}

#capability .service-row:hover *,
#capability .service-row:hover h3,
#capability .service-row:hover .service-number {
  color: #061522 !important;
}

#capability .service-row:hover .service-copy,
#capability .service-row:hover p {
  color: rgba(6,21,34,.62) !important;
}

#capability .service-row:hover .add-service {
  color: #0A78B8 !important;
}

#capability .service-row:hover [class*="border-white"] {
  border-color: rgba(6,21,34,.10) !important;
}


/* =========================
   Drawer font weight reduction
   =========================
   Requested: reduce bold text inside 建立需求 drawer by 200.
*/
#drawer .font-black,
#drawer .font-extrabold,
#drawer .font-bold,
#drawer strong,
#drawer h3,
#drawer button,
#drawer label,
#drawer .select-option,
#drawer .drawer-selected-service strong {
  font-weight: 300 !important;
}

#drawer .text-2xl,
#drawer h3 {
  font-weight: 400 !important;
}

#drawer .text-xs,
#drawer form label > span:first-child,
#drawer form label > span:not(.drawer-select-wrap) {
  font-weight: 300 !important;
}

#drawer .drawer-select,
#drawer .drawer-control,
#drawer .drawer-control::placeholder {
  font-weight: 300 !important;
}


/* =========================
   Hero CTA font weight reduction
   =========================
   Requested: reduce 「預約服務設計諮詢」 and 「查看設計服務」 by 100.
*/
.hero-title + p + div button,
.hero-title + p + div a,
section:first-of-type .open-drawer,
section:first-of-type a[href="#capability"] {
  font-weight: 300 !important;
}


/* =========================
   Drawer custom select dropdowns
   =========================
   Make timeline / budget dropdowns match the Service Picker dropdown style.
*/
#drawer .custom-select {
  position: relative;
  width: 100%;
}

#drawer .custom-select-button {
  display: flex;
  min-height: 50px;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(6,21,34,.14);
  background: #fff;
  padding: 0 16px;
  color: rgba(6,21,34,.82);
  font-size: 14px;
  font-weight: 300;
  text-align: left;
  outline: none;
  border-radius: 4px;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

#drawer .custom-select-button:hover,
#drawer .custom-select.open .custom-select-button {
  border-color: #0A78B8;
  box-shadow: 0 0 0 3px rgba(10,120,184,.08);
}

#drawer .custom-select-icon {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  color: rgba(6,21,34,.62);
  transition: transform .2s ease;
}

#drawer .custom-select.open .custom-select-icon {
  transform: rotate(180deg);
}

#drawer .custom-select-menu {
  position: absolute;
  z-index: 45;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: none;
  max-height: 260px;
  overflow: auto;
  border: 1px solid rgba(6,21,34,.12);
  background: #fff;
  padding: 8px;
  border-radius: 4px;
  box-shadow: 12px 12px 0 rgba(6,21,34,.055), 0 24px 60px rgba(6,21,34,.10);
}

#drawer .custom-select.open .custom-select-menu {
  display: grid;
}

#drawer .custom-select-option {
  min-height: 46px;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: rgba(6,21,34,.72);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.45;
  text-align: left;
  border-radius: 4px;
  transition: background-color .18s ease, color .18s ease;
}

#drawer .custom-select-option:hover,
#drawer .custom-select-option.selected {
  background: #F5F8FB;
  color: #0A78B8;
}


/* =========================
   Drawer font weight +100
   =========================
   Requested: increase text weight inside 建立需求 drawer by 100.
*/
#drawer .font-black,
#drawer .font-extrabold,
#drawer .font-bold,
#drawer strong,
#drawer button,
#drawer label,
#drawer .select-option,
#drawer .custom-select-button,
#drawer .custom-select-option,
#drawer .drawer-selected-service strong {
  font-weight: 400 !important;
}

#drawer h3,
#drawer .text-2xl {
  font-weight: 500 !important;
}

#drawer .text-xs,
#drawer form label > span:first-child,
#drawer form label > span:not(.drawer-select-wrap) {
  font-weight: 400 !important;
}

#drawer .drawer-select,
#drawer .drawer-control,
#drawer .drawer-control::placeholder,
#drawer .custom-select-button,
#drawer .custom-select-option {
  font-weight: 400 !important;
}


/* =========================
   Capability filter inactive border fix
   =========================
   Inactive service category options should match each other.
   Only hover / active state gets the white background treatment.
*/
#capability .filter-btn:not(:hover):not(.active) {
  background: transparent !important;
  border-color: rgba(255,255,255,.14) !important;
  box-shadow: none !important;
  color: rgba(255,255,255,.72) !important;
}

#capability .filter-btn:not(:hover):not(.active) span:first-child {
  color: rgba(255,255,255,.72) !important;
}

#capability .filter-btn:not(:hover):not(.active) .filter-desc {
  color: rgba(255,255,255,.42) !important;
}

#capability .filter-btn:not(:hover):not(.active)::before,
#capability .filter-btn:not(:hover):not(.active)::after {
  border-color: rgba(255,255,255,.14) !important;
  background: transparent !important;
}

/* =========================
   LinkFlow extracted styles
   ========================= */

.orbital,
  .hero-float .orbital {
    animation: none !important;
    transform: none !important;
  }

/* =========================
   LinkFlow extracted styles
   ========================= */

article.group:hover,
  .group.hover-dark:hover { color: #fff !important; }
  article.group:hover h1,
  article.group:hover h2,
  article.group:hover h3,
  article.group:hover h4,
  article.group:hover strong,
  article.group:hover .group-title { color: #fff !important; }
  article.group:hover p,
  article.group:hover small,
  article.group:hover .group-copy,
  article.group:hover [class*="text-ink/"],
  article.group:hover [class*="text-white/"] { color: rgba(255,255,255,.68) !important; }
  article.group:hover .text-signal,
  article.group:hover [class*="text-signal"],
  article.group:hover .label,
  article.group:hover [class*="tracking-[.22em]"] { color: #84DFFF !important; }
  article.group:hover [class*="border-ink/"] { border-color: rgba(255,255,255,.14) !important; }
  article.group:hover .bg-mist,
  article.group:hover [class*="bg-mist"] { background-color: rgba(255,255,255,.06) !important; }
  .service-row:hover h3,
  .service-row:hover .service-number { color: #061522 !important; }
  .service-row:hover .service-copy,
  .service-row:hover p { color: rgba(6,21,34,.62) !important; }
  .service-row:hover .add-service { color: #0A78B8 !important; }

html { scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-carousel img { animation: none; }
  .hero-carousel img:first-child { opacity: 1; }
  .float-slow, .float-slower { animation: none; }
  .drawer, .overlay { transition: none; }
}
#drawer { height: 100dvh; }
#drawer .drawer-select { appearance: auto; padding-inline: 1rem; }
#mobileMenu { max-height: calc(100dvh - 5rem); overflow-y: auto; }
html[lang="en"] .drawer-service-option.selected::after { content: 'Added'; }

.footer-details {
  margin-top: clamp(4.5rem, 7vw, 6rem);
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
  gap: clamp(2.75rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1fr);
}

.footer-details > div {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (min-width: 640px) {
  .footer-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .footer-details { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, .8fr)) minmax(0, 1fr); }
}

.site-header-actions .open-drawer,
.hero-actions > :is(button, a),
.footer-cta .open-drawer,
#submitInquiry {
  height: auto;
  padding-block: .65rem;
  line-height: 1.4;
  text-align: center;
}

.site-header-actions .open-drawer { min-height: 2.75rem; }
.hero-actions > :is(button, a),
.footer-cta .open-drawer,
#submitInquiry { min-height: 3.5rem; }

.site-header-actions > :is(#langToggle, #mobileToggle),
.drawer-service-select-icon,
#insightPopupClose { flex-shrink: 0; }

html[lang="en"] .site-desktop-nav {
  gap: clamp(.75rem, 1.8vw, 1.75rem);
  white-space: nowrap;
}

html[lang="en"] .site-header-actions .open-drawer { white-space: nowrap; }
html[lang="en"] .hero-actions { flex-wrap: wrap; }
html[lang="en"] :is(main, #drawer, #insightPopup) { overflow-wrap: anywhere; }
html[lang="en"] .hero-stats > div { min-width: 0; }
html[lang="en"] #drawer .drawer-service-select-button {
  gap: .75rem;
  padding-block: .65rem;
  text-align: left;
}
html[lang="en"] #drawer .drawer-selected-remove {
  height: auto;
  min-height: 2.25rem;
  padding-inline: .5rem;
}

@media (max-width: 639px) {
  html[lang="en"] .site-header-bar { gap: .75rem; }
  html[lang="en"] .site-brand { min-width: 0; }
  html[lang="en"] .site-brand .h-11 { flex-shrink: 0; }
  html[lang="en"] .site-brand .uppercase { letter-spacing: .08em; }
  html[lang="en"] .site-header-actions { gap: .5rem; }
  html[lang="en"] .site-header-actions .open-drawer { padding-inline: .625rem; }
  html[lang="en"] .hero-stats > div { padding-inline: .625rem; }
  html[lang="en"] #drawer .drawer-service-picker-label { gap: .75rem; }
}

@media (min-width: 768px) {
  html[lang="en"] .service-row {
    margin-left: 0;
    grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  }
  html[lang="en"] .service-row > :is(:nth-child(1), :nth-child(2), .add-service) {
    grid-row: 1;
    padding: 1rem;
  }
  html[lang="en"] .service-row > :nth-child(3) {
    grid-column: 1 / -1;
    grid-row: 2;
    border-width: 1px 0 0;
    padding: 1rem;
  }
  html[lang="en"] .add-service { white-space: nowrap; }
}

@media (max-width: 389px) {
  header .site-header-bar {
    gap: .5rem;
    padding-inline: .75rem;
  }

  header .site-brand {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: .25rem .375rem;
  }

  header .site-brand > div:nth-child(2) { display: contents; }
  header .site-brand .h-11 {
    width: 2rem;
    height: 2rem;
  }

  header .site-brand .text-sm { letter-spacing: .06em; }
  header .site-header-bar .site-brand .uppercase {
    grid-column: 1 / -1;
    margin-top: 0;
    letter-spacing: .04em;
  }
}
