:root {
  --ink: #18272c;
  --muted: #465256;
  --gray: #5c5c5c;
  --line: #a6acae;
  --paper: #ffffff;
  --wash: #f4f8fd;
  --wash-2: #f8f8f8;
  --blue: #1a68d9;
  --blue-soft: #e8f0fb;
  --teal: #03d5b2;
  --orange: #f14c21;
  --brand-orange: #f29700;
  --orange-edge: #fd7968;
  --purple: #6153ff;
  --footer: #262626;
  --dark: #18272c;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(24, 39, 44, 0.08);
  --max: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans TC", "Poppins", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: #fff;
  box-shadow: 0 8px 8px rgba(24, 39, 44, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.logo img {
  height: 32px;
  width: auto;
}

.nav {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  font-weight: 500;
}

.nav a:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--muted);
  color: #fff;
  display: grid;
  place-items: center;
}

.icon-btn svg {
  width: 22px;
  height: 22px;
}

.icon-btn:hover {
  background: var(--teal);
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--muted);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.6rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange-edge);
}

.btn-ghost {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}

.btn-outline {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}

.hero {
  position: relative;
  padding: 9.5rem 0 4.5rem;
  text-align: center;
  overflow: hidden;
  background-color: #f7efe6;
  background-image: 
    linear-gradient(to bottom, rgba(255, 255, 255, 0.35) 0%, rgba(247, 239, 230, 0.05) 45%, rgba(255, 255, 255, 0.85) 100%),
    url("assets/brand/hero-bg.png");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  min-height: 75vh;
  display: flex;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  padding: 0 1rem;
}

.hero h1 {
  font-family: "Noto Sans TC", "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 14px rgba(255, 255, 255, 0.85);
}

.hero h1 span {
  display: inline-block;
  color: var(--brand-orange);
  font-size: 1.4em;
  line-height: 1;
  text-shadow: 0 2px 16px rgba(255, 255, 255, 0.9);
}

.hero .lead {
  max-width: 36rem;
  margin: 0 auto 1.8rem;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 500;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.9);
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-top: 2.8rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.metric {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 1.1rem 0.8rem;
  box-shadow: 0 8px 24px rgba(24, 39, 44, 0.05);
}

.metric b {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 1.6rem;
  color: var(--brand-orange);
  letter-spacing: -0.04em;
}

.metric span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.band {
  background: var(--wash);
  padding: 1rem 0;
  overflow: hidden;
}

.marquee {
  display: flex;
  width: max-content;
  animation: slide 32s linear infinite;
}

.marquee-track {
  display: flex;
  gap: 1.4rem;
  padding-right: 1.4rem;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.95rem 0.45rem 0.55rem;
  white-space: nowrap;
}

.brand-pill img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.brand-pill b {
  font-size: 0.92rem;
  color: var(--ink);
}

@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

section {
  padding: 5rem 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin-bottom: 0;
}

.title-logo {
  width: auto;
  height: 52px;
  object-fit: contain;
}

.kicker {
  width: 100%;
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

h2 em {
  font-style: normal;
  color: var(--brand-orange);
}

.sub {
  color: var(--muted);
  max-width: 40rem;
  margin-bottom: 2rem;
}

#belief {
  position: relative;
  background-color: #f7efe6;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.4) 42%, rgba(255, 255, 255, 0) 75%),
    url("assets/brand/belief-leverage.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: 6.5rem 0;
}

#belief .wrap {
  position: relative;
  z-index: 2;
}

.belief-grid {
  display: block;
  max-width: 560px;
}

.belief-copy {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  padding: 0;
}

.belief-quote {
  margin: 0 0 1.4rem;
  padding: 0;
  border: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.95rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.85);
}

.belief-body {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.7;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.85);
}

.belief-body p + p {
  margin-top: 0.9rem;
}

#pain .goals {
  grid-template-columns: repeat(3, 1fr);
}



.goals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.goal {
  background: #fff;
  border: 1px solid #dce3f3;
  border-radius: 16px;
  padding: 1.3rem;
}

.hex-badge {
  display: grid;
  place-items: center;
  width: 72px;
  aspect-ratio: 2 / 1.732;
  margin-bottom: 0.7rem;
  background: var(--brand-orange);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.goal strong {
  display: block;
  margin-bottom: 0.35rem;
}

.goal span {
  color: var(--muted);
  font-size: 0.92rem;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.tab {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 0.85rem 1.2rem;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tab.is-on,
.tab:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.panel {
  display: none;
  position: relative;
  border-radius: 28px;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: 3.5rem 2.5rem;
  min-height: 440px;
  box-shadow: 0 16px 40px rgba(24, 39, 44, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.panel.is-on {
  display: flex;
  align-items: center;
  animation: fadeIn 0.35s ease;
}

#svc-ppc {
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.82) 48%, rgba(255, 255, 255, 0.15) 100%),
    url("assets/services/ppc.png");
}

#svc-social {
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.82) 48%, rgba(255, 255, 255, 0.15) 100%),
    url("assets/services/social.png");
}

#svc-prod {
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.82) 48%, rgba(255, 255, 255, 0.15) 100%),
    url("assets/services/prod.png");
}

#svc-shop {
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.82) 48%, rgba(255, 255, 255, 0.15) 100%),
    url("assets/services/shop.png");
}

#svc-edm {
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.82) 48%, rgba(255, 255, 255, 0.15) 100%),
    url("assets/services/edm.png");
}

.panel-copy {
  max-width: 540px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: 2.2rem;
  box-shadow: 0 8px 24px rgba(24, 39, 44, 0.05);
}

.panel h3 {
  font-size: 2rem;
  margin-bottom: 0.7rem;
}

.panel p {
  color: var(--muted);
  margin-bottom: 1rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
}

.chips span {
  background: rgba(24, 39, 44, 0.06);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.88rem;
}

.combos {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.combo {
  background: var(--wash);
  border-radius: 16px;
  padding: 1.2rem 1.3rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.method {
  background: var(--wash-2);
}

.step {
  border: 1px solid #e6eaef;
  border-radius: 16px;
  padding: 1.3rem;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.about {
  background: var(--wash);
}

.person {
  background: #edefef;
  border-radius: 32px;
  padding: 1.6rem;
  position: sticky;
  top: 96px;
}

.portrait {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 20px;
}

.person h3 {
  margin: 0.8rem 0 0.2rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 1.3rem;
}

.badges span {
  background: rgba(24, 39, 44, 0.06);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  font-size: 0.85rem;
}

.history-title {
  margin: 0.4rem 0 1rem;
  font-size: 1.15rem;
}

.history-now {
  position: relative;
  margin-bottom: 0.5rem;
  padding-left: 4.55rem;
}

.history-now .now-badge {
  display: inline-block;
  transform: translateX(-50%);
  background: var(--brand-orange);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.history {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0 0 0 6.3rem;
  position: relative;
}

.history::before {
  content: "";
  position: absolute;
  left: 4.55rem;
  top: 0;
  bottom: 0.4rem;
  width: 3px;
  background: var(--ink);
  border-radius: 2px;
}

.history li {
  position: relative;
  margin-bottom: 1.15rem;
}

.history time {
  position: absolute;
  left: -8.6rem;
  top: 0.85rem;
  width: 5.4rem;
  text-align: right;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.2;
}

.history li::before {
  content: "";
  position: absolute;
  left: -2.25rem;
  top: 1.1rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--ink);
  z-index: 1;
}

.history li:first-child::before {
  background: var(--brand-orange);
  border-color: var(--ink);
}

.history-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #fff;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  border: 1px solid #e6eaef;
}

.history-card img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.history-card strong {
  display: block;
}

.history-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1.8rem;
  align-items: stretch;
}

.case,
.quote-card {
  background: #fff;
  color: var(--ink);
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 2.2rem;
  box-shadow: 0 10px 30px rgba(24, 39, 44, 0.04);
  display: flex;
  flex-direction: column;
}

.case p,
.quote-card p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
  margin: 0.8rem 0 1.2rem;
}

.case-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.case-logos {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.case-logos img {
  height: 46px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  background: var(--wash);
  border: 1px solid #eef2f6;
  border-radius: 10px;
  padding: 0.35rem 0.65rem;
}

.quote-icon {
  color: var(--brand-orange);
  opacity: 0.35;
}

.quote-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.6rem 0 0.8rem;
}

.quote-tags span {
  background: var(--wash);
  color: var(--muted);
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 500;
}

.stat {
  font-family: "Poppins", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0.4rem 0 0.2rem;
}

.stat .stat-label {
  font-size: 1.1rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0;
  margin-right: 0.35rem;
}

.stat .stat-arrow {
  color: var(--brand-orange);
  margin: 0 0.15rem;
}

.quote-by {
  font-weight: 700;
  color: var(--ink) !important;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto !important;
  margin-bottom: 0.8rem !important;
  font-size: 0.95rem;
}

.quote-by::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 3px;
  background: var(--brand-orange);
  border-radius: 2px;
}

.quote-highlight {
  background: var(--wash);
  border-left: 3px solid var(--brand-orange);
  border-radius: 0 12px 12px 0;
  padding: 0.85rem 1rem;
  margin-top: 1rem;
}

.quote-highlight blockquote {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  font-style: italic;
  line-height: 1.45;
}

.case-frames {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 1rem 0 1.2rem;
}

.case-frames img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid #eef2f6;
}

.case .btn {
  align-self: flex-start;
  min-height: 44px;
  padding: 0 1.2rem;
  font-size: 0.95rem;
}

.client-heading {
  margin: 2.4rem 0 1rem;
}

.clients-honeycomb {
  width: 100%;
  max-width: 820px;
  margin: 0 auto 1.6rem;
  display: block;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.8rem;
}

.client-grid a {
  display: flex;
  width: 100%;
  height: 100%;
}

.client-grid a:hover img,
.client-grid a:focus-visible img {
  border-color: var(--brand-orange);
  transform: translateY(-2px);
}

.client-grid img {
  width: 100%;
  height: 80px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #eef1f4;
  border-radius: 12px;
  padding: 0.4rem 0.55rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact-card {
  color: var(--muted);
}

.contact-card .sub {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.contact-cta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--wash);
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 2.2rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-info-item .info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: var(--brand-orange);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-info-item .info-icon svg {
  stroke: var(--brand-orange);
}

.contact-info-item strong {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
}

.contact-info-item span,
.contact-info-item a {
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
}

.contact-info-item a:hover {
  color: var(--orange);
}

.site-footer {
  background: var(--footer);
  color: #fff;
  text-align: center;
  padding: 2.4rem 1rem;
}

.site-footer a {
  color: #fff;
}

@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem 1.2rem 1.4rem;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .header-actions {
    margin-left: auto;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .metrics {
    display: none;
  }

  .history-title,
  .history-now,
  .history {
    display: none;
  }

  .goals,
  #pain .goals,
  .steps,
  .combos,
  .panel,
  .belief-grid,
  .about-grid,
  .contact-grid,
  .case-frames {
    grid-template-columns: 1fr;
  }

  .client-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }

  .belief-copy {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.8rem;
    box-shadow: 0 8px 24px rgba(24, 39, 44, 0.06);
  }

  .person {
    position: static;
  }

  .header-actions .btn {
    display: none;
  }
}
