:root {
  --ink: #1e2528;
  --muted: #627075;
  --paper: #f7f5ef;
  --surface: #ffffff;
  --line: #d9dedb;
  --accent: #1f7a6d;
  --accent-dark: #15574e;
  --sun: #d89b43;
  --rose: #c86558;
  --shadow: 0 24px 60px rgba(30, 37, 40, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  line-height: 1.6;
}

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

.site-header {
  align-items: center;
  background: rgba(247, 245, 239, 0.92);
  border-bottom: 1px solid rgba(217, 222, 219, 0.85);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 16px clamp(20px, 5vw, 72px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
}

.brand-mark {
  align-items: center;
  background: var(--accent);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.nav-links {
  display: flex;
  gap: clamp(14px, 3vw, 28px);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  color: #2f393c;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
  min-height: 660px;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(13, 22, 24, 0.2), rgba(13, 22, 24, 0.02)),
    url("./site-images/hero-omni-assistant.png")
      center / cover;
}

.hero-content {
  align-self: center;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 72px);
}

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

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

h1 {
  font-size: clamp(2.5rem, 6vw, 5.6rem);
  line-height: 1.04;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.14;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.hero-copy,
.section-heading p,
.profile-copy p,
.contact-section p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button,
.contact-form button {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
}

.button.primary,
.contact-form button {
  background: var(--accent);
  color: #fff;
}

.button.primary:hover,
.contact-form button:hover {
  background: var(--accent-dark);
}

.button.secondary {
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.intro-band {
  background: var(--ink);
  color: #fff;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 28px clamp(20px, 5vw, 72px);
}

.intro-band div {
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px clamp(12px, 3vw, 32px);
}

.intro-band div:last-child {
  border-right: 0;
}

.intro-band strong {
  color: #fff;
  display: block;
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  line-height: 1.1;
}

.intro-band span {
  color: rgba(255, 255, 255, 0.74);
  display: block;
  margin-top: 6px;
}

.section {
  padding: clamp(64px, 10vw, 118px) clamp(20px, 5vw, 72px);
}

.two-column {
  display: grid;
  gap: clamp(36px, 6vw, 86px);
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
}

.section-heading {
  max-width: 560px;
}

.section-heading.compact {
  margin: 0 auto 34px;
  max-width: 760px;
  text-align: center;
}

.showcase-section {
  background: #101a1d;
  color: #fff;
  overflow: hidden;
}

.showcase-section .eyebrow {
  color: #8fd6ca;
}

.showcase-section .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.showcase-image {
  background: #0d1618;
  border: 1px solid rgba(143, 214, 202, 0.24);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
  display: block;
  margin: 0 auto;
  max-width: min(100%, 1040px);
  width: 100%;
}

.service-list {
  display: grid;
  gap: 18px;
}

.service-card,
.work-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(30, 37, 40, 0.06);
  padding: clamp(22px, 4vw, 34px);
}

.service-card span {
  color: var(--rose);
  display: inline-block;
  font-weight: 900;
  margin-bottom: 18px;
}

.service-card p,
.work-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.profile-section {
  align-items: stretch;
  background: #eef3f0;
  display: grid;
  gap: clamp(28px, 6vw, 72px);
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
}

.profile-card {
  align-items: end;
  background:
    radial-gradient(circle at top, rgba(216, 155, 67, 0.22), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #dce8e2 100%);
  border-radius: 8px;
  display: grid;
  min-height: 420px;
  overflow: hidden;
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow);
}

.profile-avatar {
  align-self: center;
  border-radius: 18px;
  display: block;
  justify-self: center;
  max-width: min(100%, 420px);
  width: 100%;
}

.profile-badge {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(217, 222, 219, 0.9);
  border-radius: 8px;
  bottom: 28px;
  box-shadow: 0 12px 30px rgba(30, 37, 40, 0.08);
  left: 28px;
  max-width: 240px;
  padding: 14px 16px;
  position: absolute;
}

.profile-badge strong,
.profile-badge span {
  display: block;
}

.profile-badge strong {
  font-size: 1rem;
}

.profile-badge span {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 4px;
}

.profile-copy {
  align-self: center;
}

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

.check-list li {
  align-items: center;
  display: flex;
  gap: 12px;
}

.check-list li::before {
  background: var(--sun);
  border-radius: 50%;
  content: "";
  display: inline-block;
  height: 10px;
  width: 10px;
}

.work-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.work-card {
  min-height: 0;
}

.work-image {
  aspect-ratio: 3 / 2;
  background: #0d1618;
  border: 1px solid rgba(31, 122, 109, 0.22);
  border-radius: 6px;
  display: block;
  margin-bottom: 20px;
  object-fit: cover;
  width: 100%;
}

.work-card:nth-child(2) {
  border-top: 6px solid var(--sun);
}

.work-card:nth-child(3) {
  border-top: 6px solid var(--rose);
}

.work-card:nth-child(4) {
  border-top: 6px solid #9abfcd;
}

.work-card:first-child {
  border-top: 6px solid var(--accent);
}

.process-section {
  background: var(--surface);
}

.timeline {
  counter-reset: step;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline li {
  border-left: 4px solid var(--accent);
  background: var(--paper);
  border-radius: 8px;
  min-height: 190px;
  padding: 24px;
}

.timeline strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 10px;
}

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

.contact-section {
  align-items: start;
  background: var(--ink);
  color: #fff;
  display: grid;
  gap: clamp(32px, 6vw, 76px);
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 72px);
}

.contact-section .eyebrow {
  color: #8fd6ca;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-form {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--ink);
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
}

.contact-form label {
  display: grid;
  font-weight: 800;
  gap: 8px;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 800;
  min-height: 24px;
}

.site-footer {
  align-items: center;
  background: #151a1c;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 72px);
}

@media (max-width: 900px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .hero,
  .two-column,
  .profile-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 320px;
    order: 2;
  }

  .profile-card {
    min-height: auto;
  }

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

  .intro-band div:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 580px) {
  .nav-links {
    flex-wrap: wrap;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .profile-card {
    padding: 18px;
  }

  .profile-badge {
    bottom: 18px;
    left: 18px;
    max-width: calc(100% - 36px);
  }

  .intro-band,
  .work-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .intro-band div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    border-right: 0;
  }

  .intro-band div:last-child {
    border-bottom: 0;
  }
}
