:root {
  --ink: #1d2522;
  --muted: #5f6b66;
  --paper: #f7f4ed;
  --panel: #ffffff;
  --line: rgba(29, 37, 34, 0.12);
  --green: #1f6f61;
  --green-dark: #14483f;
  --blue: #235d7d;
  --rust: #a95535;
  --gold: #d8aa50;
  --shadow: 0 20px 50px rgba(24, 34, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", sans-serif;
  line-height: 1.65;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(247, 244, 237, 0.96);
  box-shadow: 0 10px 30px rgba(24, 34, 31, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand-logo {
  width: 54px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  background: #1f1f1f;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: -4px;
  color: currentColor;
  font-size: 0.76rem;
  opacity: 0.72;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 34px);
  font-size: 0.95rem;
}

.site-nav a {
  position: relative;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 9px 14px;
  border: 1px solid currentColor;
  border-radius: 8px;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 410px);
  align-items: end;
  gap: clamp(26px, 4vw, 58px);
  padding: 132px clamp(20px, 5vw, 72px) 64px;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(10, 20, 18, 0.84), rgba(12, 24, 26, 0.48) 52%, rgba(9, 15, 16, 0.32)),
    linear-gradient(0deg, rgba(10, 20, 18, 0.78), rgba(10, 20, 18, 0.02) 42%);
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 900px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(2.85rem, 8vw, 6.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.3vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.32;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 1.8vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
}

.primary-action {
  color: #fff;
  background: var(--rust);
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: #fff;
}

.hero-panel {
  display: grid;
  gap: 14px;
  align-self: end;
}

.hero-panel div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.metric {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1;
}

.hero-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.band,
.section,
.proof-section,
.trust,
.contact,
.site-footer {
  padding-right: clamp(20px, 5vw, 72px);
  padding-left: clamp(20px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(18px, 4vw, 60px);
  padding-top: 54px;
  padding-bottom: 54px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.section-label {
  color: var(--rust);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.intro-text {
  max-width: 1000px;
}

.intro-text p {
  max-width: 920px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.section {
  padding-top: 88px;
  padding-bottom: 88px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: 34px;
}

.section-heading.compact {
  align-items: start;
}

.section-heading p {
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 290px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 28px rgba(24, 34, 31, 0.06);
}

.card-number {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--rust);
  font-weight: 900;
}

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

.proof-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.76fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-top: 88px;
  padding-bottom: 88px;
  background: #e9eee9;
}

.proof-copy p {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.visual-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.visual-card {
  position: relative;
  min-height: 210px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.visual-card.large {
  grid-column: 1 / -1;
  min-height: 360px;
}

.visual-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.visual-card figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #fff;
  background: rgba(20, 72, 63, 0.82);
  font-size: 0.9rem;
  font-weight: 800;
}

.workflow {
  background: var(--paper);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.timeline li {
  min-height: 240px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.timeline li:last-child {
  border-right: 0;
}

.timeline span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 36px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.timeline p {
  color: var(--muted);
}

.trust {
  position: relative;
  display: grid;
  min-height: 610px;
  align-items: end;
  padding-top: 88px;
  padding-bottom: 88px;
  overflow: hidden;
  color: #fff;
}

.trust-media,
.trust-media::after {
  position: absolute;
  inset: 0;
}

.trust-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust-media::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(18, 31, 28, 0.86), rgba(18, 31, 28, 0.34)),
    linear-gradient(0deg, rgba(18, 31, 28, 0.72), rgba(18, 31, 28, 0));
}

.trust-content {
  position: relative;
  z-index: 1;
  max-width: 1060px;
}

.trust-content h2 {
  max-width: 950px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.trust-grid div {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.trust-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.audiences {
  background: #fff;
}

.audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.audience-list span {
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--green-dark);
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.45fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding-top: 88px;
  padding-bottom: 88px;
  color: #fff;
  background: var(--green-dark);
}

.contact p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-card {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.contact-card p {
  margin: 0;
}

.contact-card strong {
  font-size: 1.5rem;
}

.contact-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 8px 0 0;
}

.contact-list div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-list dt,
.contact-list dd {
  margin: 0;
}

.contact-list dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-list dd {
  color: #fff;
  font-weight: 800;
  word-break: break-word;
}

.contact-list small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 500;
}

.contact-card a,
.contact-list a {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.qr-panel {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--green-dark);
}

.qr-panel img {
  width: 136px;
  height: 136px;
}

.qr-panel span {
  font-size: 0.92rem;
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 24px;
  background: #12211e;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1040px) {
  .hero,
  .section-heading,
  .proof-section,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 128px;
  }

  .hero-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline li:nth-child(2) {
    border-right: 0;
  }

  .timeline li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(247, 244, 237, 0.98);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 12px;
  }

  .site-nav a::after {
    display: none;
  }

  .nav-cta {
    border-color: var(--line);
  }

  .menu-button {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 8px;
    color: inherit;
    background: transparent;
  }

  .menu-button span {
    width: 18px;
    height: 2px;
    background: currentColor;
  }

  .hero {
    padding: 112px 20px 34px;
  }

  h1 {
    font-size: clamp(2.65rem, 15vw, 4.1rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-panel,
  .service-grid,
  .timeline,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    padding: 14px;
  }

  .intro {
    grid-template-columns: 1fr;
  }

  .section,
  .proof-section,
  .trust,
  .contact {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .service-card,
  .timeline li {
    min-height: 0;
  }

  .timeline li,
  .timeline li:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline li:last-child {
    border-bottom: 0;
  }

  .visual-stack {
    grid-template-columns: 1fr;
  }

  .visual-card.large,
  .visual-card {
    min-height: 240px;
  }

  .site-footer {
    flex-direction: column;
  }

  .contact-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
